195 lines
376 KiB
JavaScript
195 lines
376 KiB
JavaScript
var Ry=i=>{throw TypeError(i)};var jy=(i,c,r)=>c.has(i)||Ry("Cannot "+r);var pt=(i,c,r)=>(jy(i,c,"read from private field"),r?r.call(i):c.get(i)),Dy=(i,c,r)=>c.has(i)?Ry("Cannot add the same private member more than once"):c instanceof WeakSet?c.add(i):c.set(i,r),Is=(i,c,r,o)=>(jy(i,c,"write to private field"),o?o.call(i,r):c.set(i,r),r);function Nx(i,c){for(var r=0;r<c.length;r++){const o=c[r];if(typeof o!="string"&&!Array.isArray(o)){for(const f in o)if(f!=="default"&&!(f in i)){const m=Object.getOwnPropertyDescriptor(o,f);m&&Object.defineProperty(i,f,m.get?m:{enumerable:!0,get:()=>o[f]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))o(f);new MutationObserver(f=>{for(const m of f)if(m.type==="childList")for(const v of m.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&o(v)}).observe(document,{childList:!0,subtree:!0});function r(f){const m={};return f.integrity&&(m.integrity=f.integrity),f.referrerPolicy&&(m.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?m.credentials="include":f.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function o(f){if(f.ep)return;f.ep=!0;const m=r(f);fetch(f.href,m)}})();function pg(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Fs={exports:{}},ii={};/**
|
||
* @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 My;function Cx(){if(My)return ii;My=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function r(o,f,m){var v=null;if(m!==void 0&&(v=""+m),f.key!==void 0&&(v=""+f.key),"key"in f){m={};for(var p in f)p!=="key"&&(m[p]=f[p])}else m=f;return f=m.ref,{$$typeof:i,type:o,key:v,ref:f!==void 0?f:null,props:m}}return ii.Fragment=c,ii.jsx=r,ii.jsxs=r,ii}var Uy;function Tx(){return Uy||(Uy=1,Fs.exports=Cx()),Fs.exports}var d=Tx(),$s={exports:{}},ve={};/**
|
||
* @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 Hy;function _x(){if(Hy)return ve;Hy=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),T=Symbol.for("react.view_transition"),B=Symbol.iterator;function D(S){return S===null||typeof S!="object"?null:(S=B&&S[B]||S["@@iterator"],typeof S=="function"?S:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,Z={};function Q(S,z,J){this.props=S,this.context=z,this.refs=Z,this.updater=J||M}Q.prototype.isReactComponent={},Q.prototype.setState=function(S,z){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,z,"setState")},Q.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function V(){}V.prototype=Q.prototype;function P(S,z,J){this.props=S,this.context=z,this.refs=Z,this.updater=J||M}var F=P.prototype=new V;F.constructor=P,H(F,Q.prototype),F.isPureReactComponent=!0;var G=Array.isArray;function U(){}var k={H:null,A:null,T:null,S:null},ce=Object.prototype.hasOwnProperty;function xe(S,z,J){var I=J.ref;return{$$typeof:i,type:S,key:z,ref:I!==void 0?I:null,props:J}}function he(S,z){return xe(S.type,z,S.props)}function se(S){return typeof S=="object"&&S!==null&&S.$$typeof===i}function je(S){var z={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(J){return z[J]})}var ze=/\/+/g;function ye(S,z){return typeof S=="object"&&S!==null&&S.key!=null?je(""+S.key):z.toString(36)}function K(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(U,U):(S.status="pending",S.then(function(z){S.status==="pending"&&(S.status="fulfilled",S.value=z)},function(z){S.status==="pending"&&(S.status="rejected",S.reason=z)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function W(S,z,J,I,de){var te=typeof S;(te==="undefined"||te==="boolean")&&(S=null);var Se=!1;if(S===null)Se=!0;else switch(te){case"bigint":case"string":case"number":Se=!0;break;case"object":switch(S.$$typeof){case i:case c:Se=!0;break;case N:return Se=S._init,W(Se(S._payload),z,J,I,de)}}if(Se)return de=de(S),Se=I===""?"."+ye(S,0):I,G(de)?(J="",Se!=null&&(J=Se.replace(ze,"$&/")+"/"),W(de,z,J,"",function(Mt){return Mt})):de!=null&&(se(de)&&(de=he(de,J+(de.key==null||S&&S.key===de.key?"":(""+de.key).replace(ze,"$&/")+"/")+Se)),z.push(de)),1;Se=0;var ae=I===""?".":I+":";if(G(S))for(var fe=0;fe<S.length;fe++)I=S[fe],te=ae+ye(I,fe),Se+=W(I,z,J,te,de);else if(fe=D(S),typeof fe=="function")for(S=fe.call(S),fe=0;!(I=S.next()).done;)I=I.value,te=ae+ye(I,fe++),Se+=W(I,z,J,te,de);else if(te==="object"){if(typeof S.then=="function")return W(K(S),z,J,I,de);throw z=String(S),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return Se}function ie(S,z,J){if(S==null)return S;var I=[],de=0;return W(S,I,"","",function(te){return z.call(J,te,de++)}),I}function ge(S){if(S._status===-1){var z=S._result,J=z();J.then(function(I){(S._status===0||S._status===-1)&&(S._status=1,S._result=I,J.status===void 0&&(J.status="fulfilled",J.value=I))},function(I){(S._status===0||S._status===-1)&&(S._status=2,S._result=I,J.status===void 0&&(J.status="rejected",J.reason=I))}),S._status===-1&&(S._status=0,S._result=J)}if(S._status===1)return S._result.default;throw S._result}var q=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)};function Ce(S){var z=k.T,J={};J.types=z!==null?z.types:null,k.T=J;try{var I=S(),de=k.S;de!==null&&de(J,I),typeof I=="object"&&I!==null&&typeof I.then=="function"&&I.then(U,q)}catch(te){q(te)}finally{z!==null&&J.types!==null&&(z.types=J.types),k.T=z}}function X(S){var z=k.T;if(z!==null){var J=z.types;J===null?z.types=[S]:J.indexOf(S)===-1&&J.push(S)}else Ce(X.bind(null,S))}var re={map:ie,forEach:function(S,z,J){ie(S,function(){z.apply(this,arguments)},J)},count:function(S){var z=0;return ie(S,function(){z++}),z},toArray:function(S){return ie(S,function(z){return z})||[]},only:function(S){if(!se(S))throw Error("React.Children.only expected to receive a single React element child.");return S}};return ve.Activity=y,ve.Children=re,ve.Component=Q,ve.Fragment=r,ve.Profiler=f,ve.PureComponent=P,ve.StrictMode=o,ve.Suspense=E,ve.ViewTransition=T,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,ve.__COMPILER_RUNTIME={__proto__:null,c:function(S){return k.H.useMemoCache(S)}},ve.addTransitionType=X,ve.cache=function(S){return function(){return S.apply(null,arguments)}},ve.cacheSignal=function(){return null},ve.cloneElement=function(S,z,J){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var I=H({},S.props),de=S.key;if(z!=null)for(te in z.key!==void 0&&(de=""+z.key),z)!ce.call(z,te)||te==="key"||te==="__self"||te==="__source"||te==="ref"&&z.ref===void 0||(I[te]=z[te]);var te=arguments.length-2;if(te===1)I.children=J;else if(1<te){for(var Se=Array(te),ae=0;ae<te;ae++)Se[ae]=arguments[ae+2];I.children=Se}return xe(S.type,de,I)},ve.createContext=function(S){return S={$$typeof:v,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:m,_context:S},S},ve.createElement=function(S,z,J){var I,de={},te=null;if(z!=null)for(I in z.key!==void 0&&(te=""+z.key),z)ce.call(z,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(de[I]=z[I]);var Se=arguments.length-2;if(Se===1)de.children=J;else if(1<Se){for(var ae=Array(Se),fe=0;fe<Se;fe++)ae[fe]=arguments[fe+2];de.children=ae}if(S&&S.defaultProps)for(I in Se=S.defaultProps,Se)de[I]===void 0&&(de[I]=Se[I]);return xe(S,te,de)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(S){return{$$typeof:p,render:S}},ve.isValidElement=se,ve.lazy=function(S){return{$$typeof:N,_payload:{_status:-1,_result:S},_init:ge}},ve.memo=function(S,z){return{$$typeof:b,type:S,compare:z===void 0?null:z}},ve.startTransition=Ce,ve.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},ve.use=function(S){return k.H.use(S)},ve.useActionState=function(S,z,J){return k.H.useActionState(S,z,J)},ve.useCallback=function(S,z){return k.H.useCallback(S,z)},ve.useContext=function(S){return k.H.useContext(S)},ve.useDebugValue=function(){},ve.useDeferredValue=function(S,z){return k.H.useDeferredValue(S,z)},ve.useEffect=function(S,z){return k.H.useEffect(S,z)},ve.useEffectEvent=function(S){return k.H.useEffectEvent(S)},ve.useId=function(){return k.H.useId()},ve.useImperativeHandle=function(S,z,J){return k.H.useImperativeHandle(S,z,J)},ve.useInsertionEffect=function(S,z){return k.H.useInsertionEffect(S,z)},ve.useLayoutEffect=function(S,z){return k.H.useLayoutEffect(S,z)},ve.useMemo=function(S,z){return k.H.useMemo(S,z)},ve.useOptimistic=function(S,z){return k.H.useOptimistic(S,z)},ve.useReducer=function(S,z,J){return k.H.useReducer(S,z,J)},ve.useRef=function(S){return k.H.useRef(S)},ve.useState=function(S){return k.H.useState(S)},ve.useSyncExternalStore=function(S,z,J){return k.H.useSyncExternalStore(S,z,J)},ve.useTransition=function(){return k.H.useTransition()},ve.version="19.3.1",ve}var By;function zf(){return By||(By=1,$s.exports=_x()),$s.exports}var g=zf();const si=pg(g),ra=Nx({__proto__:null,default:si},[g]);var Ps={exports:{}},ci={},Ws={exports:{}},ef={};/**
|
||
* @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 ky;function wx(){return ky||(ky=1,(function(i){function c(K,W){var ie=K.length;K.push(W);e:for(;0<ie;){var ge=ie-1>>>1,q=K[ge];if(0<f(q,W))K[ge]=W,K[ie]=q,ie=ge;else break e}}function r(K){return K.length===0?null:K[0]}function o(K){if(K.length===0)return null;var W=K[0],ie=K.pop();if(ie!==W){K[0]=ie;e:for(var ge=0,q=K.length,Ce=q>>>1;ge<Ce;){var X=2*(ge+1)-1,re=K[X],S=X+1,z=K[S];if(0>f(re,ie))S<q&&0>f(z,re)?(K[ge]=z,K[S]=ie,ge=S):(K[ge]=re,K[X]=ie,ge=X);else if(S<q&&0>f(z,ie))K[ge]=z,K[S]=ie,ge=S;else break e}}return W}function f(K,W){var ie=K.sortIndex-W.sortIndex;return ie!==0?ie:K.id-W.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var v=Date,p=v.now();i.unstable_now=function(){return v.now()-p}}var E=[],b=[],N=1,y=null,T=3,B=!1,D=!1,M=!1,H=!1,Z=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function P(K){for(var W=r(b);W!==null;){if(W.callback===null)o(b);else if(W.startTime<=K)o(b),W.sortIndex=W.expirationTime,c(E,W);else break;W=r(b)}}function F(K){if(M=!1,P(K),!D)if(r(E)!==null)D=!0,G||(G=!0,se());else{var W=r(b);W!==null&&ye(F,W.startTime-K)}}var G=!1,U=-1,k=5,ce=-1;function xe(){return H?!0:!(i.unstable_now()-ce<k)}function he(){if(H=!1,G){var K=i.unstable_now();ce=K;var W=!0;try{e:{D=!1,M&&(M=!1,Q(U),U=-1),B=!0;var ie=T;try{t:{for(P(K),y=r(E);y!==null&&!(y.expirationTime>K&&xe());){var ge=y.callback;if(typeof ge=="function"){y.callback=null,T=y.priorityLevel;var q=ge(y.expirationTime<=K);if(K=i.unstable_now(),typeof q=="function"){y.callback=q,P(K),W=!0;break t}y===r(E)&&o(E),P(K)}else o(E);y=r(E)}if(y!==null)W=!0;else{var Ce=r(b);Ce!==null&&ye(F,Ce.startTime-K),W=!1}}break e}finally{y=null,T=ie,B=!1}W=void 0}}finally{W?se():G=!1}}}var se;if(typeof V=="function")se=function(){V(he)};else if(typeof MessageChannel<"u"){var je=new MessageChannel,ze=je.port2;je.port1.onmessage=he,se=function(){ze.postMessage(null)}}else se=function(){Z(he,0)};function ye(K,W){U=Z(function(){K(i.unstable_now())},W)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(K){K.callback=null},i.unstable_forceFrameRate=function(K){0>K||125<K?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<K?Math.floor(1e3/K):5},i.unstable_getCurrentPriorityLevel=function(){return T},i.unstable_next=function(K){switch(T){case 1:case 2:case 3:var W=3;break;default:W=T}var ie=T;T=W;try{return K()}finally{T=ie}},i.unstable_requestPaint=function(){H=!0},i.unstable_runWithPriority=function(K,W){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var ie=T;T=K;try{return W()}finally{T=ie}},i.unstable_scheduleCallback=function(K,W,ie){var ge=i.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?ge+ie:ge):ie=ge,K){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=ie+q,K={id:N++,callback:W,priorityLevel:K,startTime:ie,expirationTime:q,sortIndex:-1},ie>ge?(K.sortIndex=ie,c(b,K),r(E)===null&&K===r(b)&&(M?(Q(U),U=-1):M=!0,ye(F,ie-ge))):(K.sortIndex=q,c(E,K),D||B||(D=!0,G||(G=!0,se()))),K},i.unstable_shouldYield=xe,i.unstable_wrapCallback=function(K){var W=T;return function(){var ie=T;T=W;try{return K.apply(this,arguments)}finally{T=ie}}}})(ef)),ef}var Ly;function Ox(){return Ly||(Ly=1,Ws.exports=wx()),Ws.exports}var tf={exports:{}},bt={};/**
|
||
* @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 Gy;function Ax(){if(Gy)return bt;Gy=1;var i=zf();function c(N){var y="https://react.dev/errors/"+N;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var T=2;T<arguments.length;T++)y+="&args[]="+encodeURIComponent(arguments[T])}return"Minified React error #"+N+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var o={d:{f:r,r:function(){throw Error(c(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},f=Symbol.for("react.portal"),m=Symbol.for("react.recoverable"),v=Symbol.for("react.optimistic_key");function p(N,y,T){var B=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:B==null?null:B===v?v:""+B,children:N,containerInfo:y,implementation:T}}var E=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function b(N,y){if(N==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return bt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,bt.browser=function(N){return{$$typeof:m,_reason:N}},bt.createPortal=function(N,y){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(c(299));return p(N,y,null,T)},bt.flushSync=function(N){var y=E.T,T=o.p;try{if(E.T=null,o.p=2,N)return N()}finally{E.T=y,o.p=T,o.d.f()}},bt.preconnect=function(N,y){typeof N=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,o.d.C(N,y))},bt.prefetchDNS=function(N){typeof N=="string"&&o.d.D(N)},bt.preinit=function(N,y){if(typeof N=="string"&&y&&typeof y.as=="string"){var T=y.as,B=b(T,y.crossOrigin),D=typeof y.integrity=="string"?y.integrity:void 0,M=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;T==="style"?o.d.S(N,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:B,integrity:D,fetchPriority:M}):T==="script"&&o.d.X(N,{crossOrigin:B,integrity:D,fetchPriority:M,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},bt.preinitModule=function(N,y){if(typeof N=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var T=b(y.as,y.crossOrigin);o.d.M(N,{crossOrigin:T,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0})}}else y==null&&o.d.M(N)},bt.preload=function(N,y){if(typeof N=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var T=y.as,B=b(T,y.crossOrigin);o.d.L(N,T,{crossOrigin:B,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},bt.preloadModule=function(N,y){if(typeof N=="string")if(y){var T=b(y.as,y.crossOrigin);o.d.m(N,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:T,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0})}else o.d.m(N)},bt.requestFormReset=function(N){o.d.r(N)},bt.unstable_batchedUpdates=function(N,y){return N(y)},bt.useFormState=function(N,y,T){return E.H.useFormState(N,y,T)},bt.useFormStatus=function(){return E.H.useHostTransitionStatus()},bt.version="19.3.1",bt}var Yy;function bg(){if(Yy)return tf.exports;Yy=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(c){console.error(c)}}return i(),tf.exports=Ax(),tf.exports}/**
|
||
* @license React
|
||
* react-dom-client.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var qy;function zx(){if(qy)return ci;qy=1;var i=Ox(),c=zf(),r=bg();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function m(e){for(var t=e,l=t;l&&!l.alternate;)t=l,(t.flags&4098)!==0&&(e=t.return),l=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function v(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function E(e){if(m(e)!==e)throw Error(o(188))}function b(e){var t=e.alternate;if(!t){if(t=m(e),t===null)throw Error(o(188));return t!==e?null:e}for(var l=e,n=t;;){var a=l.return;if(a===null)break;var u=a.alternate;if(u===null){if(n=a.return,n!==null){l=n;continue}break}if(a.child===u.child){for(u=a.child;u;){if(u===l)return E(a),e;if(u===n)return E(a),t;u=u.sibling}throw Error(o(188))}if(l.return!==n.return)l=a,n=u;else{for(var s=!1,h=a.child;h;){if(h===l){s=!0,l=a,n=u;break}if(h===n){s=!0,n=a,l=u;break}h=h.sibling}if(!s){for(h=u.child;h;){if(h===l){s=!0,l=u,n=a;break}if(h===n){s=!0,n=u,l=a;break}h=h.sibling}if(!s)throw Error(o(189))}}if(l.alternate!==n)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?e:t}function N(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=N(e),t!==null)return t;e=e.sibling}return null}function y(e,t,l,n,a,u){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&l(e,n,a,u)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&y(e.child,t,l,n,a,u))return!0;e=e.sibling}return!1}function T(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function B(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function D(e){var t=[null,null],l=T(e);return l===null||M(t,e,l.child,{foundSelf:!1}),t}function M(e,t,l,n){for(;l!==null;){if(l===t)n.foundSelf=!0;else if(l.tag===5||l.tag===27||l.tag===6){if(n.foundSelf)return e[1]=l,!0;e[0]=l}else if((l.tag!==22||l.memoizedState===null)&&M(e,t,l.child,n))return!0;l=l.sibling}return!1}function H(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(o(559))}}var Z=null,Q=null;function V(e,t,l){return e===l?!0:e===t?(Z=e,!0):!1}function P(e,t,l){return e===l?(Q=e,!1):e===t?(Q!==null&&(Z=e),!0):!1}function F(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function G(e,t,l){for(var n=0,a=e;a;a=l(a))n++;a=0;for(var u=t;u;u=l(u))a++;for(;0<n-a;)e=l(e),n--;for(;0<a-n;)t=l(t),a--;for(;n--;){if(e===t||t!==null&&e===t.alternate)return e;e=l(e),t=l(t)}return null}var U=Object.assign,k=Symbol.for("react.element"),ce=Symbol.for("react.transitional.element"),xe=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),se=Symbol.for("react.strict_mode"),je=Symbol.for("react.profiler"),ze=Symbol.for("react.consumer"),ye=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),ge=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),Ce=Symbol.for("react.activity"),X=Symbol.for("react.legacy_hidden"),re=Symbol.for("react.memo_cache_sentinel"),S=Symbol.for("react.view_transition"),z=Symbol.for("react.recoverable"),J=Symbol.iterator;function I(e){return e===null||typeof e!="object"?null:(e=J&&e[J]||e["@@iterator"],typeof e=="function"?e:null)}var de=Symbol.for("react.client.reference");function te(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===de?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case he:return"Fragment";case je:return"Profiler";case se:return"StrictMode";case W:return"Suspense";case ie:return"SuspenseList";case Ce:return"Activity";case S:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case xe:return"Portal";case ye:return e.displayName||"Context";case ze:return(e._context.displayName||"Context")+".Consumer";case K:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ge:return t=e.displayName||null,t!==null?t:te(e.type)||"Memo";case q:t=e._payload,e=e._init;try{return te(e(t))}catch{}}return null}var Se=Array.isArray,ae=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fe=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Mt={pending:!1,data:null,method:null,action:null},Il=[],da=-1;function hl(e){return{current:e}}function ft(e){0>da||(e.current=Il[da],Il[da]=null,da--)}function Ge(e,t){da++,Il[da]=e.current,e.current=t}var vl=hl(null),du=hl(null),Fl=hl(null),vi=hl(null);function yi(e,t){switch(Ge(Fl,t),Ge(du,e),Ge(vl,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Gv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Gv(t),e=Yv(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}ft(vl),Ge(vl,e)}function ma(){ft(vl),ft(du),ft(Fl)}function hr(e){var t=e.memoizedState;t!==null&&(eu._currentValue=t.memoizedState,Ge(vi,e)),t=vl.current;var l=Yv(t,e.type);t!==l&&(Ge(du,e),Ge(vl,l))}function gi(e){du.current===e&&(ft(vl),ft(du)),vi.current===e&&(ft(vi),eu._currentValue=Mt)}var vr,cd;function $l(e){if(vr===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);vr=t&&t[1]||"",cd=-1<l.stack.indexOf(`
|
||
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||
`+vr+e+cd}var yr=!1;function gr(e,t){if(!e||yr)return"";yr=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch($){var _=$}Reflect.construct(e,[],Y)}else{try{Y.call()}catch($){_=$}Y=!1;try{var R=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),Y=!0,new e}finally{Y&&(R!==void 0?Object.defineProperty(e.prototype,"props",R):delete e.prototype.props)}}}else{try{throw Error()}catch($){_=$}(Y=e())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch($){if($&&_&&typeof $.stack=="string")return[$.stack,_.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=n.DetermineComponentFrameRoot(),s=u[0],h=u[1];if(s&&h){var x=s.split(`
|
||
`),O=h.split(`
|
||
`);for(a=n=0;n<x.length&&!x[n].includes("DetermineComponentFrameRoot");)n++;for(;a<O.length&&!O[a].includes("DetermineComponentFrameRoot");)a++;if(n===x.length||a===O.length)for(n=x.length-1,a=O.length-1;1<=n&&0<=a&&x[n]!==O[a];)a--;for(;1<=n&&0<=a;n--,a--)if(x[n]!==O[a]){if(n!==1||a!==1)do if(n--,a--,0>a||x[n]!==O[a]){var j=`
|
||
`+x[n].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),j}while(1<=n&&0<=a);break}}}finally{yr=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?$l(l):""}function w0(e,t){switch(e.tag){case 26:case 27:case 5:return $l(e.type);case 16:return $l("Lazy");case 13:return e.child!==t&&t!==null?$l("Suspense Fallback"):$l("Suspense");case 19:return $l("SuspenseList");case 0:case 15:return gr(e.type,!1);case 11:return gr(e.type.render,!1);case 1:return gr(e.type,!0);case 31:return $l("Activity");case 30:return $l("ViewTransition");default:return""}}function rd(e){try{var t="",l=null;do t+=w0(e,l),l=e,e=e.return;while(e);return t}catch(n){return`
|
||
Error generating stack: `+n.message+`
|
||
`+n.stack}}var pr=Object.prototype.hasOwnProperty,br=i.unstable_scheduleCallback,xr=i.unstable_cancelCallback,O0=i.unstable_shouldYield,A0=i.unstable_requestPaint,Ut=i.unstable_now,z0=i.unstable_getCurrentPriorityLevel,od=i.unstable_ImmediatePriority,sd=i.unstable_UserBlockingPriority,pi=i.unstable_NormalPriority,R0=i.unstable_LowPriority,fd=i.unstable_IdlePriority,j0=i.log,D0=i.unstable_setDisableYieldValue,mu=null,Ht=null;function Pl(e){if(typeof j0=="function"&&D0(e),Ht&&typeof Ht.setStrictMode=="function")try{Ht.setStrictMode(mu,e)}catch{}}var Bt=Math.clz32?Math.clz32:H0,M0=Math.log,U0=Math.LN2;function H0(e){return e>>>=0,e===0?32:31-(M0(e)/U0|0)|0}var bi=256,xi=262144,Si=4194304;function Mn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ei(e,t,l){var n=e.pendingLanes;if(n===0)return 0;var a=0,u=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var h=n&134217727;return h!==0?(n=h&~u,n!==0?a=Mn(n):(s&=h,s!==0?a=Mn(s):l||(l=h&~e,l!==0&&(a=Mn(l))))):(h=n&~u,h!==0?a=Mn(h):s!==0?a=Mn(s):l||(l=n&~e,l!==0&&(a=Mn(l)))),a===0?0:t!==0&&t!==a&&(t&u)===0&&(u=a&-a,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:a}function hu(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function dd(e,t){(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var n=31-Bt(l),a=1<<n;t|=e[n],l&=~a}return t}function B0(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function md(){var e=Si;return Si<<=1,(Si&62914560)===0&&(Si=4194304),e}function Sr(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function vu(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function k0(e,t,l,n,a,u){var s=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var h=e.entanglements,x=e.expirationTimes,O=e.hiddenUpdates;for(l=s&~l;0<l;){var j=31-Bt(l),Y=1<<j;h[j]=0,x[j]=-1;var _=O[j];if(_!==null)for(O[j]=null,j=0;j<_.length;j++){var R=_[j];R!==null&&(R.lane&=-536870913)}l&=~Y}n!==0&&hd(e,n,0),u!==0&&a===0&&e.tag!==0&&(e.suspendedLanes|=u&~(s&~t))}function hd(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-Bt(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|l&261930}function vd(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var n=31-Bt(l),a=1<<n;a&t|e[n]&t&&(e[n]|=t),l&=~a}}function yd(e,t){var l=t&-t;return l=(l&42)!==0?1:Er(l),(l&(e.suspendedLanes|t))!==0?0:l}function Er(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Nr(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function gd(){var e=fe.p;return e!==0?e:(e=window.event,e===void 0?32:Cy(e.type))}function pd(e,t){var l=fe.p;try{return fe.p=e,t()}finally{fe.p=l}}var zl=Math.random().toString(36).slice(2),dt="__reactFiber$"+zl,_t="__reactProps$"+zl,ha="__reactContainer$"+zl,bd="__reactEvents$"+zl,L0="__reactListeners$"+zl,G0="__reactHandles$"+zl,xd="__reactResources$"+zl,yu="__reactMarker$"+zl,Ni="__reactLoad$"+zl;function Ci(e){delete e[dt],delete e[_t],delete e[L0],delete e[G0]}function Un(e){var t;if(t=e[dt])return t;for(var l=e.parentNode;l;){if(t=l[ha]||l[dt]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=ay(e);e!==null;){if(l=e[dt])return l;e=ay(e)}return t}e=l,l=e.parentNode}return null}function va(e){if(e=e[dt]||e[ha]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function gu(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function ya(e){var t=e[xd];return t||(t=e[xd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ut(e){e[yu]=!0}function Sd(e){e[Ni]=void 0}var Ed=new Set,Nd={};function Hn(e,t){ga(e,t),ga(e+"Capture",t)}function ga(e,t){for(Nd[e]=t,e=0;e<t.length;e++)Ed.add(t[e])}var Y0=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]*$"),Cd={},Td={};function q0(e){return pr.call(Td,e)?!0:pr.call(Cd,e)?!1:Y0.test(e)?Td[e]=!0:(Cd[e]=!0,!1)}var Re=!1;function _d(){var e=Re;return Re=!1,e}function Ti(e,t,l){if(q0(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,l)}}function _i(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,l)}}function Rl(e,t,l,n){if(n===null)e.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,n)}}function kt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function wd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function V0(e,t,l){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(s){l=""+s,u.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(s){l=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Cr(e){if(!e._valueTracker){var t=wd(e)?"checked":"value";e._valueTracker=V0(e,t,""+e[t])}}function Od(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),n="";return e&&(n=wd(e)?e.checked?"true":"false":e.value),e=n,e!==l?(t.setValue(e),!0):!1}var X0=/[\n"\\]/g;function Jt(e){return e.replace(X0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Tr(e,t,l,n,a,u,s,h){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+kt(t)):e.value!==""+kt(t)&&(e.value=""+kt(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?s==="number"&&e.value==t?_r(e,kt(e.value)):_r(e,kt(t)):l!=null?_r(e,kt(l)):n!=null&&e.removeAttribute("value"),a==null&&u!=null&&(e.defaultChecked=!!u),a!=null&&(e.checked=a&&typeof a!="function"&&typeof a!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.name=""+kt(h):e.removeAttribute("name")}function Ad(e,t,l,n,a,u,s,h){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Cr(e);return}l=l!=null?""+kt(l):"",t=t!=null?""+kt(t):l,h||t===e.value||(e.value=t),e.defaultValue=t}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=h?e.checked:!!n,e.defaultChecked=!!n,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),Cr(e)}function _r(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function pa(e,t,l,n){if(e=e.options,t){t={};for(var a=0;a<l.length;a++)t["$"+l[a]]=!0;for(l=0;l<e.length;l++)a=t.hasOwnProperty("$"+e[l].value),e[l].selected!==a&&(e[l].selected=a),a&&n&&(e[l].defaultSelected=!0)}else{for(l=""+kt(l),t=null,a=0;a<e.length;a++){if(e[a].value===l){e[a].selected=!0,n&&(e[a].defaultSelected=!0);return}t!==null||e[a].disabled||(t=e[a])}t!==null&&(t.selected=!0)}}function zd(e,t,l){if(t!=null&&(t=""+kt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+kt(l):""}function Rd(e,t,l,n){if(t==null){if(n!=null){if(l!=null)throw Error(o(92));if(Se(n)){if(1<n.length)throw Error(o(93));n=n[0]}l=n}l==null&&(l=""),t=l}l=kt(t),e.defaultValue=l,n=e.textContent,n===l&&n!==""&&n!==null&&(e.value=n),Cr(e)}function ba(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var Q0=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 jd(e,t,l){var n=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,l):typeof l!="number"||l===0||Q0.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function Dd(e,t,l){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="",Re=!0);for(var a in t)n=t[a],t.hasOwnProperty(a)&&l[a]!==n&&(jd(e,a,n),Re=!0)}else for(var u in t)t.hasOwnProperty(u)&&jd(e,u,t[u])}function wr(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Z0=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"]]),K0=/^[\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 wi(e){return K0.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function yl(){}var Or=null;function Ar(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xa=null,Sa=null;function Md(e){var t=va(e);if(t&&(e=t.stateNode)){var l=e[_t]||null;e:switch(e=t.stateNode,t.type){case"input":if(Tr(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Jt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var n=l[t];if(n!==e&&n.form===e.form){var a=n[_t]||null;if(!a)throw Error(o(90));Tr(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<l.length;t++)n=l[t],n.form===e.form&&Od(n)}break e;case"textarea":zd(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&pa(e,!!l.multiple,t,!1)}}}var zr=!1;function Ud(e,t,l){if(zr)return e(t,l);zr=!0;try{var n=e(t);return n}finally{if(zr=!1,(xa!==null||Sa!==null)&&(wc(),xa&&(t=xa,e=Sa,Sa=xa=null,Md(t),e)))for(t=0;t<e.length;t++)Md(e[t])}}function pu(e,t){var l=e.stateNode;if(l===null)return null;var n=l[_t]||null;if(n===null)return null;l=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(o(231,t,typeof l));return l}var jl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Rr=!1;if(jl)try{var bu={};Object.defineProperty(bu,"passive",{get:function(){Rr=!0}}),window.addEventListener("test",bu,bu),window.removeEventListener("test",bu,bu)}catch{Rr=!1}var Wl=null,jr=null,Oi=null;function Hd(){if(Oi)return Oi;var e,t=jr,l=t.length,n,a="value"in Wl?Wl.value:Wl.textContent,u=a.length;for(e=0;e<l&&t[e]===a[e];e++);var s=l-e;for(n=1;n<=s&&t[l-n]===a[u-n];n++);return Oi=a.slice(e,1<n?1-n:void 0)}function Ai(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function zi(){return!0}function Bd(){return!1}function Et(e){function t(l,n,a,u,s){this._reactName=l,this._targetInst=a,this.type=n,this.nativeEvent=u,this.target=s,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(l=e[h],this[h]=l?l(u):u[h]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?zi:Bd,this.isPropagationStopped=Bd,this}return U(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=zi)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=zi)},persist:function(){},isPersistent:zi}),t}var en={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ri=Et(en),xu=U({},en,{view:0,detail:0}),J0=Et(xu),Dr,Mr,Su,ji=U({},xu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Hr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Su&&(Su&&e.type==="mousemove"?(Dr=e.screenX-Su.screenX,Mr=e.screenY-Su.screenY):Mr=Dr=0,Su=e),Dr)},movementY:function(e){return"movementY"in e?e.movementY:Mr}}),kd=Et(ji),I0=U({},ji,{dataTransfer:0}),F0=Et(I0),$0=U({},xu,{relatedTarget:0}),Ur=Et($0),P0=U({},en,{animationName:0,elapsedTime:0,pseudoElement:0}),W0=Et(P0),eb=U({},en,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tb=Et(eb),lb=U({},en,{data:0}),Ld=Et(lb),nb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ab={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"},ub={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ib(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ub[e])?!!t[e]:!1}function Hr(){return ib}var cb=U({},xu,{key:function(e){if(e.key){var t=nb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ai(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ab[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Hr,charCode:function(e){return e.type==="keypress"?Ai(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ai(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),rb=Et(cb),ob=U({},ji,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gd=Et(ob),sb=U({},en,{submitter:0}),fb=Et(sb),db=U({},xu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Hr}),mb=Et(db),hb=U({},en,{propertyName:0,elapsedTime:0,pseudoElement:0}),vb=Et(hb),yb=U({},ji,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),gb=Et(yb),pb=U({},en,{newState:0,oldState:0,source:0}),bb=Et(pb),xb=[9,13,27,32],Br=jl&&"CompositionEvent"in window,Eu=null;jl&&"documentMode"in document&&(Eu=document.documentMode);var Sb=jl&&"TextEvent"in window&&!Eu,Yd=jl&&(!Br||Eu&&8<Eu&&11>=Eu),qd=" ",Vd=!1;function Xd(e,t){switch(e){case"keyup":return xb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ea=!1;function Eb(e,t){switch(e){case"compositionend":return Qd(t);case"keypress":return t.which!==32?null:(Vd=!0,qd);case"textInput":return e=t.data,e===qd&&Vd?null:e;default:return null}}function Nb(e,t){if(Ea)return e==="compositionend"||!Br&&Xd(e,t)?(e=Hd(),Oi=jr=Wl=null,Ea=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Yd&&t.locale!=="ko"?null:t.data;default:return null}}var Cb={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 Zd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Cb[e.type]:t==="textarea"}function Kd(e,t,l,n){xa?Sa?Sa.push(n):Sa=[n]:xa=n,t=Dc(t,"onChange"),0<t.length&&(l=new Ri("onChange","change",null,l,n),e.push({event:l,listeners:t}))}var Nu=null,Cu=null;function Tb(e){Mv(e,0)}function Di(e){var t=gu(e);if(Od(t))return e}function Jd(e,t){if(e==="change")return t}var Id=!1;if(jl){var kr;if(jl){var Lr="oninput"in document;if(!Lr){var Fd=document.createElement("div");Fd.setAttribute("oninput","return;"),Lr=typeof Fd.oninput=="function"}kr=Lr}else kr=!1;Id=kr&&(!document.documentMode||9<document.documentMode)}function $d(){Nu&&(Nu.detachEvent("onpropertychange",Pd),Cu=Nu=null)}function Pd(e){if(e.propertyName==="value"&&Di(Cu)){var t=[];Kd(t,Cu,e,Ar(e)),Ud(Tb,t)}}function _b(e,t,l){e==="focusin"?($d(),Nu=t,Cu=l,Nu.attachEvent("onpropertychange",Pd)):e==="focusout"&&$d()}function wb(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Di(Cu)}function Ob(e,t){if(e==="click")return Di(t)}function Ab(e,t){if(e==="input"||e==="change")return Di(t)}function zb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Lt=typeof Object.is=="function"?Object.is:zb;function Tu(e,t){if(Lt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),n=Object.keys(t);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var a=l[n];if(!pr.call(t,a)||!Lt(e[a],t[a]))return!1}return!0}function Gr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Wd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function em(e,t){var l=Wd(e);e=0;for(var n;l;){if(l.nodeType===3){if(n=e+l.textContent.length,e<=t&&n>=t)return{node:l,offset:t-e};e=n}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Wd(l)}}function tm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Gr(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Gr(e.document)}return t}function Yr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Rb=jl&&"documentMode"in document&&11>=document.documentMode,Na=null,qr=null,_u=null,Vr=!1;function nm(e,t,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Vr||Na==null||Na!==Gr(n)||(n=Na,"selectionStart"in n&&Yr(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),_u&&Tu(_u,n)||(_u=n,n=Dc(qr,"onSelect"),0<n.length&&(t=new Ri("onSelect","select",null,t,l),e.push({event:t,listeners:n}),t.target=Na)))}function Bn(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Ca={animationend:Bn("Animation","AnimationEnd"),animationiteration:Bn("Animation","AnimationIteration"),animationstart:Bn("Animation","AnimationStart"),transitionrun:Bn("Transition","TransitionRun"),transitionstart:Bn("Transition","TransitionStart"),transitioncancel:Bn("Transition","TransitionCancel"),transitionend:Bn("Transition","TransitionEnd")},Xr={},am={};jl&&(am=document.createElement("div").style,"AnimationEvent"in window||(delete Ca.animationend.animation,delete Ca.animationiteration.animation,delete Ca.animationstart.animation),"TransitionEvent"in window||delete Ca.transitionend.transition);function kn(e){if(Xr[e])return Xr[e];if(!Ca[e])return e;var t=Ca[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in am)return Xr[e]=t[l];return e}var um=kn("animationend"),im=kn("animationiteration"),cm=kn("animationstart"),jb=kn("transitionrun"),Db=kn("transitionstart"),Mb=kn("transitioncancel"),rm=kn("transitionend"),om=new Map,Qr="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(" ");Qr.push("scrollEnd");function rl(e,t){om.set(e,t),Hn(t,[e])}var Ub=0;function Dl(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=dl.identifierPrefix;var l=Ub++;return e="_"+e+"t_"+l.toString(32)+"_",t.autoName=e}function sm(e){if(e==null||typeof e=="string")return e;var t=null,l=Xa;if(l!==null)for(var n=0;n<l.length;n++){var a=e[l[n]];if(a!=null){if(a==="none")return"none";t=t==null?a:t+(" "+a)}}return t??e.default}function Ml(e,t){return e=sm(e),t=sm(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var Mi=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},It=[],Ta=0,Zr=0;function Ui(){for(var e=Ta,t=Zr=Ta=0;t<e;){var l=It[t];It[t++]=null;var n=It[t];It[t++]=null;var a=It[t];It[t++]=null;var u=It[t];if(It[t++]=null,n!==null&&a!==null){var s=n.pending;s===null?a.next=a:(a.next=s.next,s.next=a),n.pending=a}u!==0&&fm(l,a,u)}}function Hi(e,t,l,n){It[Ta++]=e,It[Ta++]=t,It[Ta++]=l,It[Ta++]=n,Zr|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function Kr(e,t,l,n){return Hi(e,t,l,n),Bi(e)}function Ln(e,t){return Hi(e,null,null,t),Bi(e)}function fm(e,t,l){e.lanes|=l;var n=e.alternate;n!==null&&(n.lanes|=l);for(var a=!1,u=e.return;u!==null;)u.childLanes|=l,n=u.alternate,n!==null&&(n.childLanes|=l),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(a=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,a&&t!==null&&(a=31-Bt(l),e=u.hiddenUpdates,n=e[a],n===null?e[a]=[t]:n.push(t),t.lane=l|536870912),u):null}function Bi(e){if(50<Ju)throw Ju=0,_c=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var _a={};function Hb(e,t,l,n){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wt(e,t,l,n){return new Hb(e,t,l,n)}function Jr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ul(e,t){var l=e.alternate;return l===null?(l=wt(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&1206910976,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function dm(e,t){e.flags&=1206910978;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ki(e,t,l,n,a,u){var s=0;if(n=e,typeof n=="function")Jr(n)&&(s=1);else if(typeof n=="string")s=sx(e,l,vl.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(n){case Ce:return e=wt(31,l,t,a),e.elementType=Ce,e.lanes=u,e;case he:return Gn(l.children,a,u,t);case se:s=8,a|=24;break;case je:return e=wt(12,l,t,a|2),e.elementType=je,e.lanes=u,e;case W:return e=wt(13,l,t,a),e.elementType=W,e.lanes=u,e;case ie:return e=wt(19,l,t,a),e.elementType=ie,e.lanes=u,e;case X:case S:return e=a|32,e=wt(30,l,t,e),e.elementType=S,e.lanes=u,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case ye:s=10;break e;case ze:s=9;break e;case K:s=11;break e;case ge:s=14;break e;case q:s=16,n=null;break e}s=29,l=Error(o(130,e===null?"null":typeof e,"")),n=null}return t=wt(s,l,t,a),t.elementType=e,t.type=n,t.lanes=u,t}function Gn(e,t,l,n){return e=wt(7,e,n,t),e.lanes=l,e}function Ir(e,t,l){return e=wt(6,e,null,t),e.lanes=l,e}function mm(e){var t=wt(18,null,null,0);return t.stateNode=e,t}function Fr(e,t,l){return t=wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var hm=new WeakMap;function Ft(e,t){if(typeof e=="object"&&e!==null){var l=hm.get(e);return l!==void 0?l:(t={value:e,source:t,stack:rd(t)},hm.set(e,t),t)}return{value:e,source:t,stack:rd(t)}}var wa=[],Oa=0,Li=null,wu=0,$t=[],Pt=0,tn=null,gl=1,pl="";function Hl(e,t){wa[Oa++]=wu,wa[Oa++]=Li,Li=e,wu=t}function vm(e,t,l){$t[Pt++]=gl,$t[Pt++]=pl,$t[Pt++]=tn,tn=e;var n=gl;e=pl;var a=32-Bt(n)-1;n&=~(1<<a),l+=1;var u=32-Bt(t)+a;if(30<u){var s=a-a%5;u=(n&(1<<s)-1).toString(32),n>>=s,a-=s,gl=1<<32-Bt(t)+a|l<<a|n,pl=u+e}else gl=1<<u|l<<a|n,pl=e}function Gi(e){e.return!==null&&(Hl(e,1),vm(e,1,0))}function $r(e){for(;e===Li;)Li=wa[--Oa],wa[Oa]=null,wu=wa[--Oa],wa[Oa]=null;for(;e===tn;)tn=$t[--Pt],$t[Pt]=null,pl=$t[--Pt],$t[Pt]=null,gl=$t[--Pt],$t[Pt]=null}function ym(e,t){$t[Pt++]=gl,$t[Pt++]=pl,$t[Pt++]=tn,gl=t.id,pl=t.overflow,tn=e}var it=null,Ye=null,Ee=!1,ln=null,Wt=!1,Pr=Error(o(519));function nn(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ou(Ft(t,e)),Pr}function gm(e){var t=e.stateNode,l=e.type,n=e.memoizedProps;switch(t[dt]=e,t[_t]=n,l){case"dialog":_e("cancel",t),_e("close",t);break;case"iframe":case"object":case"embed":_e("load",t);break;case"video":case"audio":for(l=0;l<Fu.length;l++)_e(Fu[l],t);break;case"source":_e("error",t);break;case"img":case"image":case"link":_e("error",t),_e("load",t);break;case"details":_e("toggle",t);break;case"input":_e("invalid",t),Ad(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":_e("invalid",t);break;case"textarea":_e("invalid",t),Rd(t,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||n.suppressHydrationWarning===!0||kv(t.textContent,l)?(n.popover!=null&&(_e("beforetoggle",t),_e("toggle",t)),n.onScroll!=null&&_e("scroll",t),n.onScrollEnd!=null&&_e("scrollend",t),n.onClick!=null&&(t.onclick=yl),t=!0):t=!1,t||nn(e,!0)}function Yi(e){for(it=e.return;it;)switch(it.tag){case 5:case 31:case 13:Wt=!1;return;case 27:case 3:Wt=!0;return;default:it=it.return}}function Aa(e){if(e!==it)return!1;if(!Ee)return Yi(e),Ee=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||As(e.type,e.memoizedProps)),l=!l),l&&Ye&&nn(e),Yi(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ye=ny(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ye=ny(e)}else t===27?(t=Ye,xn(e.type)?(e=ks,ks=null,Ye=e):Ye=t):Ye=it?tl(e.stateNode.nextSibling):null;return!0}function Yn(){Ye=it=null,Ee=!1}function Wr(){var e=ln;return e!==null&&(zt===null?zt=e:zt.push.apply(zt,e),ln=null),e}function Ou(e){ln===null?ln=[e]:ln.push(e)}var eo=hl(null),qn=null,Bl=null;function an(e,t,l){Ge(eo,t._currentValue),t._currentValue=l}function kl(e){e._currentValue=eo.current,ft(eo)}function qi(e,t,l){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===l)break;e=e.return}}function to(e,t,l,n){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var u=a.dependencies;if(u!==null){var s=a.child;u=u.firstContext;e:for(;u!==null;){var h=u;u=a;for(var x=0;x<t.length;x++)if(h.context===t[x]){u.lanes|=l,h=u.alternate,h!==null&&(h.lanes|=l),qi(u.return,l,e),n||(s=null);break e}u=h.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(o(341));s.lanes|=l,u=s.alternate,u!==null&&(u.lanes|=l),qi(s,l,e),s=null}else a.tag===13&&a.memoizedState!==null&&a.memoizedState.dehydrated===null?(a.lanes|=l,s=a.alternate,s!==null&&(s.lanes|=l),qi(a.return,l,e),s=a.child,s=s!==null?s.sibling:null):s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Vn(e,t,l,n){e=null;for(var a=t,u=!1;a!==null;){if(!u){if((a.flags&524288)!==0)u=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(o(387));if(s=s.memoizedProps,s!==null){var h=a.type;Lt(a.pendingProps.value,s.value)||(e!==null?e.push(h):e=[h])}}else if(a===vi.current){if(s=a.alternate,s===null)throw Error(o(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e!==null?e.push(eu):e=[eu])}a=a.return}return e!==null&&to(t,e,l,n),t.flags|=262144,e!==null}function Vi(e){for(e=e.firstContext;e!==null;){if(!Lt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Xn(e){qn=e,Bl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function mt(e){return pm(qn,e)}function Xi(e,t){return qn===null&&Xn(e),pm(e,t)}function pm(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},Bl===null){if(e===null)throw Error(o(308));Bl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Bl=Bl.next=t;return l}var Bb=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},kb=i.unstable_scheduleCallback,Lb=i.unstable_NormalPriority,$e={$$typeof:ye,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function lo(){return{controller:new Bb,data:new Map,refCount:0}}function Au(e){e.refCount--,e.refCount===0&&kb(Lb,function(){e.controller.abort()})}function bm(e,t){if((e.pendingLanes&4194048)!==0){var l=e.transitionTypes;for(l===null&&(l=e.transitionTypes=[]),e=0;e<t.length;e++){var n=t[e];l.indexOf(n)===-1&&l.push(n)}}}var zu=null;function Gb(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var Ru=null,no=0,Qn=0,za=null;function Yb(e,t){if(Ru===null){var l=Ru=[];no=0,Qn=xs(),za={status:"pending",value:void 0,then:function(n){l.push(n)}}}return no++,t.then(xm,xm),t}function xm(){if(--no===0&&(zu=null,Ru!==null)){za!==null&&(za.status="fulfilled");var e=Ru;Ru=null,Qn=0,za=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function qb(e,t){var l=[],n={status:"pending",value:null,reason:null,then:function(a){l.push(a)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var a=0;a<l.length;a++)(0,l[a])(t)},function(a){for(n.status="rejected",n.reason=a,a=0;a<l.length;a++)(0,l[a])(void 0)}),n}var Sm=ae.S;ae.S=function(e,t){if(mv=Ut(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Yb(e,t),zu!==null)for(var l=Ja;l!==null;)bm(l,zu),l=l.next;if(l=e.types,l!==null){for(var n=Ja;n!==null;)bm(n,l),n=n.next;if(Qn!==0){n=zu,n===null&&(n=zu=[]);for(var a=0;a<l.length;a++){var u=l[a];n.indexOf(u)===-1&&n.push(u)}}}Sm!==null&&Sm(e,t)};var Zn=hl(null);function ao(){var e=Zn.current;return e!==null?e:Le.pooledCache}function Qi(e,t){t===null?Ge(Zn,Zn.current):Ge(Zn,t.pool)}function Em(){var e=ao();return e===null?null:{parent:$e._currentValue,pool:e}}var Ra=Error(o(460)),uo=Error(o(474)),Zi=Error(o(542)),Ki={then:function(){}};function Nm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Cm(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(yl,yl),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,_m(e),e===void 0&&!("reason"in t)?Error(o(600)):e;default:if(typeof t.status=="string")t.then(yl,yl);else{if(e=Le,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var a=t;a.status="fulfilled",a.value=n}},function(n){if(t.status==="pending"){var a=t;a.status="rejected",a.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,_m(e),e}throw Jn=t,Ra}}function Kn(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Jn=l,Ra):l}}var Jn=null;function Tm(){if(Jn===null)throw Error(o(459));var e=Jn;return Jn=null,e}function _m(e){if(e===Ra||e===Zi)throw Error(o(483))}var ja=null,ju=0;function Ji(e){var t=ju;return ju+=1,ja===null&&(ja=[]),Cm(ja,e,t)}function un(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ii(e,t){throw t.$$typeof===k?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function wm(e){function t(w,C){if(e){var A=w.deletions;A===null?(w.deletions=[C],w.flags|=16):A.push(C)}}function l(w,C){if(!e)return null;for(;C!==null;)t(w,C),C=C.sibling;return null}function n(w){for(var C=new Map;w!==null;)w.key===null?C.set(w.index,w):C.set(w.key,w),w=w.sibling;return C}function a(w,C){return w=Ul(w,C),w.index=0,w.sibling=null,w}function u(w,C,A){return w.index=A,e?(A=w.alternate,A!==null?(A=A.index,A<C?(w.flags|=2,C):A):(w.flags|=134217730,C)):(w.flags|=1048576,C)}function s(w){return e&&w.alternate===null&&(w.flags|=134217730),w}function h(w,C,A,L){return C===null||C.tag!==6?(C=Ir(A,w.mode,L),C.return=w,C):(C=a(C,A),C.return=w,C)}function x(w,C,A,L){var ee=A.type;return ee===he?(w=j(w,C,A.props.children,L,A.key),un(w,A),w):C!==null&&(C.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===q&&Kn(ee)===C.type)?(C=a(C,A.props),un(C,A),C.return=w,C):(C=ki(A.type,A.key,A.props,null,w.mode,L),un(C,A),C.return=w,C)}function O(w,C,A,L){return C===null||C.tag!==4||C.stateNode.containerInfo!==A.containerInfo||C.stateNode.implementation!==A.implementation?(C=Fr(A,w.mode,L),C.return=w,C):(C=a(C,A.children||[]),C.return=w,C)}function j(w,C,A,L,ee){return C===null||C.tag!==7?(C=Gn(A,w.mode,L,ee),C.return=w,C):(C=a(C,A),C.return=w,C)}function Y(w,C,A){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Ir(""+C,w.mode,A),C.return=w,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case ce:return A=ki(C.type,C.key,C.props,null,w.mode,A),un(A,C),A.return=w,A;case xe:return C=Fr(C,w.mode,A),C.return=w,C;case q:return C=Kn(C),Y(w,C,A)}if(Se(C)||I(C))return C=Gn(C,w.mode,A,null),C.return=w,C;if(typeof C.then=="function")return Y(w,Ji(C),A);if(C.$$typeof===ye)return Y(w,Xi(w,C),A);Ii(w,C)}return null}function _(w,C,A,L){var ee=C!==null?C.key:null;if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return ee!==null?null:h(w,C,""+A,L);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case ce:return A.key===ee?x(w,C,A,L):null;case xe:return A.key===ee?O(w,C,A,L):null;case q:return A=Kn(A),_(w,C,A,L)}if(Se(A)||I(A))return ee!==null?null:j(w,C,A,L,null);if(typeof A.then=="function")return _(w,C,Ji(A),L);if(A.$$typeof===ye)return _(w,C,Xi(w,A),L);Ii(w,A)}return null}function R(w,C,A,L,ee){if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return w=w.get(A)||null,h(C,w,""+L,ee);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case ce:return w=w.get(L.key===null?A:L.key)||null,x(C,w,L,ee);case xe:return w=w.get(L.key===null?A:L.key)||null,O(C,w,L,ee);case q:return L=Kn(L),R(w,C,A,L,ee)}if(Se(L)||I(L))return w=w.get(A)||null,j(C,w,L,ee,null);if(typeof L.then=="function")return R(w,C,A,Ji(L),ee);if(L.$$typeof===ye)return R(w,C,A,Xi(C,L),ee);Ii(C,L)}return null}function $(w,C,A,L){for(var ee=null,Oe=null,oe=C,me=C=0,et=null;oe!==null&&me<A.length;me++){oe.index>me?(et=oe,oe=null):et=oe.sibling;var Ae=_(w,oe,A[me],L);if(Ae===null){oe===null&&(oe=et);break}e&&oe&&Ae.alternate===null&&t(w,oe),C=u(Ae,C,me),Oe===null?ee=Ae:Oe.sibling=Ae,Oe=Ae,oe=et}if(me===A.length)return l(w,oe),Ee&&Hl(w,me),ee;if(oe===null){for(;me<A.length;me++)oe=Y(w,A[me],L),oe!==null&&(C=u(oe,C,me),Oe===null?ee=oe:Oe.sibling=oe,Oe=oe);return Ee&&Hl(w,me),ee}for(oe=n(oe);me<A.length;me++)et=R(oe,w,me,A[me],L),et!==null&&(e&&(Ae=et.alternate,Ae!==null&&oe.delete(Ae.key===null?me:Ae.key)),C=u(et,C,me),Oe===null?ee=et:Oe.sibling=et,Oe=et);return e&&oe.forEach(function(Tn){return t(w,Tn)}),Ee&&Hl(w,me),ee}function ue(w,C,A,L){if(A==null)throw Error(o(151));for(var ee=null,Oe=null,oe=C,me=C=0,et=null,Ae=A.next();oe!==null&&!Ae.done;me++,Ae=A.next()){oe.index>me?(et=oe,oe=null):et=oe.sibling;var Tn=_(w,oe,Ae.value,L);if(Tn===null){oe===null&&(oe=et);break}e&&oe&&Tn.alternate===null&&t(w,oe),C=u(Tn,C,me),Oe===null?ee=Tn:Oe.sibling=Tn,Oe=Tn,oe=et}if(Ae.done)return l(w,oe),Ee&&Hl(w,me),ee;if(oe===null){for(;!Ae.done;me++,Ae=A.next())Ae=Y(w,Ae.value,L),Ae!==null&&(C=u(Ae,C,me),Oe===null?ee=Ae:Oe.sibling=Ae,Oe=Ae);return Ee&&Hl(w,me),ee}for(oe=n(oe);!Ae.done;me++,Ae=A.next())Ae=R(oe,w,me,Ae.value,L),Ae!==null&&(e&&(et=Ae.alternate,et!==null&&oe.delete(et.key===null?me:et.key)),C=u(Ae,C,me),Oe===null?ee=Ae:Oe.sibling=Ae,Oe=Ae);return e&&oe.forEach(function(Ex){return t(w,Ex)}),Ee&&Hl(w,me),ee}function be(w,C,A,L){if(typeof A=="object"&&A!==null&&A.type===he&&A.key===null&&A.props.ref===void 0&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case ce:e:{for(var ee=A.key;C!==null;){if(C.key===ee){if(ee=A.type,ee===he){if(C.tag===7){l(w,C.sibling),L=a(C,A.props.children),un(L,A),L.return=w,w=L;break e}}else if(C.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===q&&Kn(ee)===C.type){l(w,C.sibling),L=a(C,A.props),un(L,A),L.return=w,w=L;break e}l(w,C);break}else t(w,C);C=C.sibling}A.type===he?(L=Gn(A.props.children,w.mode,L,A.key),un(L,A),L.return=w,w=L):(L=ki(A.type,A.key,A.props,null,w.mode,L),un(L,A),L.return=w,w=L)}return s(w);case xe:e:{for(ee=A.key;C!==null;){if(C.key===ee)if(C.tag===4&&C.stateNode.containerInfo===A.containerInfo&&C.stateNode.implementation===A.implementation){l(w,C.sibling),L=a(C,A.children||[]),L.return=w,w=L;break e}else{l(w,C);break}else t(w,C);C=C.sibling}L=Fr(A,w.mode,L),L.return=w,w=L}return s(w);case q:return A=Kn(A),be(w,C,A,L)}if(Se(A))return $(w,C,A,L);if(I(A)){if(ee=I(A),typeof ee!="function")throw Error(o(150));return A=ee.call(A),ue(w,C,A,L)}if(typeof A.then=="function")return be(w,C,Ji(A),L);if(A.$$typeof===ye)return be(w,C,Xi(w,A),L);Ii(w,A)}return typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint"?(A=""+A,C!==null&&C.tag===6?(l(w,C.sibling),L=a(C,A),L.return=w,w=L):(l(w,C),L=Ir(A,w.mode,L),L.return=w,w=L),s(w)):l(w,C)}return function(w,C,A,L){try{ju=0;var ee=be(w,C,A,L);return ja=null,ee}catch(oe){if(oe===Ra||oe===Zi)throw oe;var Oe=wt(29,oe,null,w.mode);return Oe.lanes=L,Oe.return=w,Oe}finally{}}}var In=wm(!0),Om=wm(!1),cn=!1;function io(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function co(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function rn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function on(e,t,l){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(De&2)!==0){var a=n.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),n.pending=t,t=Bi(e),fm(e,null,l),t}return Hi(e,n,t,l),Bi(e)}function Du(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,l|=n,t.lanes=l,vd(e,l)}}function ro(e,t){var l=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var a=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var s={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?a=u=s:u=u.next=s,l=l.next}while(l!==null);u===null?a=u=t:u=u.next=t}else a=u=t;l={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:u,shared:n.shared,callbacks:n.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var oo=!1;function Mu(){if(oo){var e=za;if(e!==null)throw e}}function Uu(e,t,l,n){oo=!1;var a=e.updateQueue;cn=!1;var u=a.firstBaseUpdate,s=a.lastBaseUpdate,h=a.shared.pending;if(h!==null){a.shared.pending=null;var x=h,O=x.next;x.next=null,s===null?u=O:s.next=O,s=x;var j=e.alternate;j!==null&&(j=j.updateQueue,h=j.lastBaseUpdate,h!==s&&(h===null?j.firstBaseUpdate=O:h.next=O,j.lastBaseUpdate=x))}if(u!==null){var Y=a.baseState;s=0,j=O=x=null,h=u;do{var _=h.lane&-536870913,R=_!==h.lane;if(R?(we&_)===_:(n&_)===_){_!==0&&_===Qn&&(oo=!0),j!==null&&(j=j.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{var $=e,ue=h;_=t;var be=l;switch(ue.tag){case 1:if($=ue.payload,typeof $=="function"){Y=$.call(be,Y,_);break e}Y=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=ue.payload,_=typeof $=="function"?$.call(be,Y,_):$,_==null)break e;Y=U({},Y,_);break e;case 2:cn=!0}}_=h.callback,_!==null&&(e.flags|=64,R&&(e.flags|=8192),R=a.callbacks,R===null?a.callbacks=[_]:R.push(_))}else R={lane:_,tag:h.tag,payload:h.payload,callback:h.callback,next:null},j===null?(O=j=R,x=Y):j=j.next=R,s|=_;if(h=h.next,h===null){if(h=a.shared.pending,h===null)break;R=h,h=R.next,R.next=null,a.lastBaseUpdate=R,a.shared.pending=null}}while(!0);j===null&&(x=Y),a.baseState=x,a.firstBaseUpdate=O,a.lastBaseUpdate=j,u===null&&(a.shared.lanes=0),yn|=s,e.lanes=s,e.memoizedState=Y}}function Am(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function zm(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Am(l[e],t)}var sn=hl(null),Fi=hl(0);function Rm(e,t){e=Vl,Ge(Fi,e),Ge(sn,t),Vl=e|t.baseLanes}function so(){Ge(Fi,Vl),Ge(sn,sn.current)}function fo(){Vl=Fi.current,ft(sn),ft(Fi)}var ht=hl(null),St=null;function fn(e){var t=e.alternate;Ge(vt,vt.current&1),Ge(ht,e),St===null&&(t===null||sn.current!==null||t.memoizedState!==null)&&(St=e)}function mo(e){Ge(vt,vt.current),Ge(ht,e),St===null&&(St=e)}function jm(e){e.tag===22?(Ge(vt,vt.current),Ge(ht,e),St===null&&(St=e)):dn()}function dn(){Ge(vt,vt.current),Ge(ht,ht.current)}function Gt(e){ft(ht),St===e&&(St=null),ft(vt)}var vt=hl(0);function Hu(e,t){Ge(ht,ht.current),Ge(vt,t)}function ho(e){ft(vt),ft(ht),St===e&&(St=null)}function $i(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Hs(l)||Bs(l)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ll=0,pe=null,ke=null,Pe=null,Pi=!1,Da=!1,Fn=!1,Wi=0,Bu=0,Ma=null,Vb=0;function Ke(){throw Error(o(321))}function vo(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!Lt(e[l],t[l]))return!1;return!0}function yo(e,t,l,n,a,u){return Ll=u,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ae.H=e===null||e.memoizedState===null?vh:yh,Fn=!1,u=l(n,a),Fn=!1,Da&&(u=Mm(t,l,n,a)),Dm(e),u}function Dm(e){ae.H=ic;var t=ke!==null&&ke.next!==null;if(Ll=0,Pe=ke=pe=null,Pi=!1,Bu=0,Ma=null,t)throw Error(o(300));e===null||We||(e=e.dependencies,e!==null&&Vi(e)&&(We=!0))}function Mm(e,t,l,n){pe=e;var a=0;do{if(Da&&(Ma=null),Bu=0,Da=!1,25<=a)throw Error(o(301));if(a+=1,Pe=ke=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}ae.H=$b,u=t(l,n)}while(Da);return u}function Xb(){var e=ae.H,t=e.useState()[0];return t=typeof t.then=="function"?ku(t):t,e=e.useState()[0],(ke!==null?ke.memoizedState:null)!==e&&(pe.flags|=1024),t}function go(){var e=Wi!==0;return Wi=0,e}function po(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function bo(e){if(Pi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Pi=!1}Ll=0,Pe=ke=pe=null,Da=!1,Bu=Wi=0,Ma=null}function Nt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?pe.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function Ie(){if(ke===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=ke.next;var t=Pe===null?pe.memoizedState:Pe.next;if(t!==null)Pe=t,ke=e;else{if(e===null)throw pe.alternate===null?Error(o(467)):Error(o(310));ke=e,e={memoizedState:ke.memoizedState,baseState:ke.baseState,baseQueue:ke.baseQueue,queue:ke.queue,next:null},Pe===null?pe.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function ec(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ku(e){var t=Bu;return Bu+=1,Ma===null&&(Ma=[]),e=Cm(Ma,e,t),t=pe,(Pe===null?t.memoizedState:Pe.next)===null&&(t=t.alternate,ae.H=t===null||t.memoizedState===null?vh:yh),e}function tc(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ku(e);if(e.$$typeof===z)return;if(e.$$typeof===ye)return mt(e)}throw Error(o(438,String(e)))}function xo(e){var t=null,l=pe.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var n=pe.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(a){return a.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=ec(),pe.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),n=0;n<e;n++)l[n]=re;return t.index++,l}function Gl(e,t){return typeof t=="function"?t(e):t}function lc(e){var t=Ie();return So(t,ke,e)}function So(e,t,l){var n=e.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=l;var a=e.baseQueue,u=n.pending;if(u!==null){if(a!==null){var s=a.next;a.next=u.next,u.next=s}t.baseQueue=a=u,n.pending=null}if(u=e.baseState,a===null)e.memoizedState=u;else{t=a.next;var h=s=null,x=null,O=t,j=!1;do{var Y=O.lane&-536870913;if(Y!==O.lane?(we&Y)===Y:(Ll&Y)===Y){var _=O.revertLane;if(_===0)x!==null&&(x=x.next={lane:0,revertLane:0,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),Y===Qn&&(j=!0);else if((Ll&_)===_){O=O.next,_===Qn&&(j=!0);continue}else Y={lane:0,revertLane:O.revertLane,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},x===null?(h=x=Y,s=u):x=x.next=Y,pe.lanes|=_,yn|=_;Y=O.action,Fn&&l(u,Y),u=O.hasEagerState?O.eagerState:l(u,Y)}else _={lane:Y,revertLane:O.revertLane,gesture:O.gesture,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},x===null?(h=x=_,s=u):x=x.next=_,pe.lanes|=Y,yn|=Y;O=O.next}while(O!==null&&O!==t);if(x===null?s=u:x.next=h,!Lt(u,e.memoizedState)&&(We=!0,j&&(l=za,l!==null)))throw l;e.memoizedState=u,e.baseState=s,e.baseQueue=x,n.lastRenderedState=u}return a===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function Eo(e){var t=Ie(),l=t.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=e;var n=l.dispatch,a=l.pending,u=t.memoizedState;if(a!==null){l.pending=null;var s=a=a.next;do u=e(u,s.action),s=s.next;while(s!==a);Lt(u,t.memoizedState)||(We=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),l.lastRenderedState=u}return[u,n]}function Um(e,t,l){var n=pe,a=Ie(),u=Ee;if(u){if(l===void 0)throw Error(o(407));l=l()}else l=t();var s=!Lt((ke||a).memoizedState,l);if(s&&(a.memoizedState=l,We=!0),a=a.queue,To(km.bind(null,n,a,e),[e]),e=a.getSnapshot!==t||s||Pe!==null&&(Pe.memoizedState.tag&1)!==0,Ua(e?9:8,{destroy:void 0},Bm.bind(null,n,a,l,t),null),e){if(n.flags|=2048,Le===null)throw Error(o(349));u||(Ll&127)!==0||Hm(n,t,l)}return l}function Hm(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=pe.updateQueue,t===null?(t=ec(),pe.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Bm(e,t,l,n){t.value=l,t.getSnapshot=n,Lm(t)&&Gm(e)}function km(e,t,l){return l(function(){Lm(t)&&Gm(e)})}function Lm(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!Lt(e,l)}catch{return!0}}function Gm(e){var t=Ln(e,2);t!==null&&Rt(t,e,2)}function No(e){var t=Nt();if(typeof e=="function"){var l=e;if(e=l(),Fn){Pl(!0);try{l()}finally{Pl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gl,lastRenderedState:e},t}function Ym(e,t,l,n){return e.baseState=l,So(e,ke,typeof n=="function"?n:Gl)}function Qb(e,t,l,n,a){if(uc(e))throw Error(o(485));if(e=t.action,e!==null){var u={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){u.listeners.push(s)}};ae.T!==null?l(!0):u.isTransition=!1,n(u),l=t.pending,l===null?(u.next=t.pending=u,qm(t,u)):(u.next=l.next,t.pending=l.next=u)}}function qm(e,t){var l=t.action,n=t.payload,a=e.state;if(t.isTransition){var u=ae.T,s={};s.types=u!==null?u.types:null,ae.T=s;try{var h=l(a,n),x=ae.S;x!==null&&x(s,h),Vm(e,t,h)}catch(O){Co(e,t,O)}finally{u!==null&&s.types!==null&&(u.types=s.types),ae.T=u}}else try{u=l(a,n),Vm(e,t,u)}catch(O){Co(e,t,O)}}function Vm(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){Xm(e,t,n)},function(n){return Co(e,t,n)}):Xm(e,t,l)}function Xm(e,t,l){t.status="fulfilled",t.value=l,Qm(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,qm(e,l)))}function Co(e,t,l){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=l,Qm(t),t=t.next;while(t!==n)}e.action=null}function Qm(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Zm(e,t){return t}function Km(e,t){if(Ee){var l=Le.formState;if(l!==null){e:{var n=pe;if(Ee){if(Ye){t:{for(var a=Ye,u=Wt;a.nodeType!==8;){if(!u){a=null;break t}if(a=tl(a.nextSibling),a===null){a=null;break t}}u=a.data,a=u==="F!"||u==="F"?a:null}if(a){Ye=tl(a.nextSibling),n=a.data==="F!";break e}}nn(n)}n=!1}n&&(t=l[0])}}return l=Nt(),l.memoizedState=l.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zm,lastRenderedState:t},l.queue=n,l=dh.bind(null,pe,n),n.dispatch=l,n=No(!1),u=zo.bind(null,pe,!1,n.queue),n=Nt(),a={state:t,dispatch:null,action:e,pending:null},n.queue=a,l=Qb.bind(null,pe,a,u,l),a.dispatch=l,n.memoizedState=e,[t,l,!1]}function Jm(e){var t=Ie();return Im(t,ke,e)}function Im(e,t,l){if(t=So(e,t,Zm)[0],e=lc(Gl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=ku(t)}catch(s){throw s===Ra?Zi:s}else n=t;t=Ie();var a=t.queue,u=a.dispatch;return l!==t.memoizedState&&(pe.flags|=2048,Ua(9,{destroy:void 0},Zb.bind(null,a,l),null)),[n,u,e]}function Zb(e,t){e.action=t}function Fm(e){var t=Ie(),l=ke;if(l!==null)return Im(t,l,e);Ie(),t=t.memoizedState,l=Ie();var n=l.queue.dispatch;return l.memoizedState=e,[t,n,!1]}function Ua(e,t,l,n){return e={tag:e,create:l,deps:n,inst:t,next:null},t=pe.updateQueue,t===null&&(t=ec(),pe.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(n=l.next,l.next=e,e.next=n,t.lastEffect=e),e}function $m(){return Ie().memoizedState}function nc(e,t,l,n){var a=Nt();pe.flags|=e,a.memoizedState=Ua(1|t,{destroy:void 0},l,n===void 0?null:n)}function ac(e,t,l,n){var a=Ie();n=n===void 0?null:n;var u=a.memoizedState.inst;ke!==null&&n!==null&&vo(n,ke.memoizedState.deps)?a.memoizedState=Ua(t,u,l,n):(pe.flags|=e,a.memoizedState=Ua(1|t,u,l,n))}function Pm(e,t){nc(8390656,8,e,t)}function To(e,t){ac(2048,8,e,t)}function Kb(e){pe.flags|=4;var t=pe.updateQueue;if(t===null)t=ec(),pe.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Wm(e){var t=Ie().memoizedState;return Kb({ref:t,nextImpl:e}),function(){if((De&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function eh(e,t){return ac(4,2,e,t)}function th(e,t){return ac(4,4,e,t)}function lh(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function nh(e,t,l){l=l!=null?l.concat([e]):null,ac(4,4,lh.bind(null,t,e),l)}function _o(){}function ah(e,t){var l=Ie();t=t===void 0?null:t;var n=l.memoizedState;return t!==null&&vo(t,n[1])?n[0]:(l.memoizedState=[e,t],e)}function uh(e,t){var l=Ie();t=t===void 0?null:t;var n=l.memoizedState;if(t!==null&&vo(t,n[1]))return n[0];if(n=e(),Fn){Pl(!0);try{e()}finally{Pl(!1)}}return l.memoizedState=[n,t],n}function wo(e,t,l){return l===void 0||(Ll&1073741824)!==0&&(we&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=vv(),pe.lanes|=e,yn|=e,l)}function ih(e,t,l,n){return Lt(l,t)?l:sn.current!==null?(e=wo(e,l,n),Lt(e,t)||(We=!0),e):(Ll&106)===0||(Ll&1073741824)!==0&&(we&261930)===0?(We=!0,e.memoizedState=l):(e=vv(),pe.lanes|=e,yn|=e,t)}function ch(e,t,l,n,a){var u=fe.p;fe.p=u!==0&&8>u?u:8;var s=ae.T,h={};h.types=s!==null?s.types:null,ae.T=h,zo(e,!1,t,l);try{var x=a(),O=ae.S;if(O!==null&&O(h,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var j=qb(x,n);Lu(e,t,j,Xt(e))}else Lu(e,t,n,Xt(e))}catch(Y){Lu(e,t,{then:function(){},status:"rejected",reason:Y},Xt())}finally{fe.p=u,s!==null&&h.types!==null&&(s.types=h.types),ae.T=s}}function Jb(){}function Oo(e,t,l,n){if(e.tag!==5)throw Error(o(476));var a=rh(e).queue;ch(e,a,t,Mt,l===null?Jb:function(){return oh(e),l(n)})}function rh(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Mt,baseState:Mt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gl,lastRenderedState:Mt},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function oh(e){var t=rh(e);t.next===null&&(t=e.alternate.memoizedState),Lu(e,t.next.queue,{},Xt())}function Ao(){return mt(eu)}function sh(){return Ie().memoizedState}function fh(){return Ie().memoizedState}function Ib(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Xt();e=rn(l);var n=on(t,e,l);n!==null&&(Rt(n,t,l),Du(n,t,l)),t={cache:lo()},e.payload=t;return}t=t.return}}function Fb(e,t,l){var n=Xt();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},uc(e)?mh(t,l):(l=Kr(e,t,l,n),l!==null&&(Rt(l,e,n),hh(l,t,n)))}function dh(e,t,l){var n=Xt();Lu(e,t,l,n)}function Lu(e,t,l,n){var a={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(uc(e))mh(t,a);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var s=t.lastRenderedState,h=u(s,l);if(a.hasEagerState=!0,a.eagerState=h,Lt(h,s))return Hi(e,t,a,0),Le===null&&Ui(),!1}catch{}finally{}if(l=Kr(e,t,a,n),l!==null)return Rt(l,e,n),hh(l,t,n),!0}return!1}function zo(e,t,l,n){if(n={lane:2,revertLane:xs(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},uc(e)){if(t)throw Error(o(479))}else t=Kr(e,l,n,2),t!==null&&Rt(t,e,2)}function uc(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function mh(e,t){Da=Pi=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function hh(e,t,l){if((l&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,l|=n,t.lanes=l,vd(e,l)}}var ic={readContext:mt,use:tc,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useLayoutEffect:Ke,useInsertionEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useSyncExternalStore:Ke,useId:Ke,useHostTransitionStatus:Ke,useFormState:Ke,useActionState:Ke,useOptimistic:Ke,useMemoCache:Ke,useCacheRefresh:Ke,useEffectEvent:Ke},vh={readContext:mt,use:tc,useCallback:function(e,t){return Nt().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:Pm,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,nc(4194308,4,lh.bind(null,t,e),l)},useLayoutEffect:function(e,t){return nc(4194308,4,e,t)},useInsertionEffect:function(e,t){nc(4,2,e,t)},useMemo:function(e,t){var l=Nt();t=t===void 0?null:t;var n=e();if(Fn){Pl(!0);try{e()}finally{Pl(!1)}}return l.memoizedState=[n,t],n},useReducer:function(e,t,l){var n=Nt();if(l!==void 0){var a=l(t);if(Fn){Pl(!0);try{l(t)}finally{Pl(!1)}}}else a=t;return n.memoizedState=n.baseState=a,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},n.queue=e,e=e.dispatch=Fb.bind(null,pe,e),[n.memoizedState,e]},useRef:function(e){var t=Nt();return e={current:e},t.memoizedState=e},useState:function(e){e=No(e);var t=e.queue,l=dh.bind(null,pe,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:_o,useDeferredValue:function(e,t){var l=Nt();return wo(l,e,t)},useTransition:function(){var e=No(!1);return e=ch.bind(null,pe,e.queue,!0,!1),Nt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var n=pe,a=Nt();if(Ee){if(l===void 0)throw Error(o(407));l=l()}else{if(l=t(),Le===null)throw Error(o(349));(we&127)!==0||Hm(n,t,l)}a.memoizedState=l;var u={value:l,getSnapshot:t};return a.queue=u,Pm(km.bind(null,n,u,e),[e]),n.flags|=2048,Ua(9,{destroy:void 0},Bm.bind(null,n,u,l,t),null),l},useId:function(){var e=Nt(),t=Le.identifierPrefix;if(Ee){var l=pl,n=gl;l=(n&~(1<<32-Bt(n)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Wi++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=Vb++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Ao,useFormState:Km,useActionState:Km,useOptimistic:function(e){var t=Nt();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=zo.bind(null,pe,!0,l),l.dispatch=t,[e,t]},useMemoCache:xo,useCacheRefresh:function(){return Nt().memoizedState=Ib.bind(null,pe)},useEffectEvent:function(e){var t=Nt(),l={impl:e};return t.memoizedState=l,function(){if((De&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}},yh={readContext:mt,use:tc,useCallback:ah,useContext:mt,useEffect:To,useImperativeHandle:nh,useInsertionEffect:eh,useLayoutEffect:th,useMemo:uh,useReducer:lc,useRef:$m,useState:function(){return lc(Gl)},useDebugValue:_o,useDeferredValue:function(e,t){var l=Ie();return ih(l,ke.memoizedState,e,t)},useTransition:function(){var e=lc(Gl)[0],t=Ie().memoizedState;return[typeof e=="boolean"?e:ku(e),t]},useSyncExternalStore:Um,useId:sh,useHostTransitionStatus:Ao,useFormState:Jm,useActionState:Jm,useOptimistic:function(e,t){var l=Ie();return Ym(l,ke,e,t)},useMemoCache:xo,useCacheRefresh:fh,useEffectEvent:Wm},$b={readContext:mt,use:tc,useCallback:ah,useContext:mt,useEffect:To,useImperativeHandle:nh,useInsertionEffect:eh,useLayoutEffect:th,useMemo:uh,useReducer:Eo,useRef:$m,useState:function(){return Eo(Gl)},useDebugValue:_o,useDeferredValue:function(e,t){var l=Ie();return ke===null?wo(l,e,t):ih(l,ke.memoizedState,e,t)},useTransition:function(){var e=Eo(Gl)[0],t=Ie().memoizedState;return[typeof e=="boolean"?e:ku(e),t]},useSyncExternalStore:Um,useId:sh,useHostTransitionStatus:Ao,useFormState:Fm,useActionState:Fm,useOptimistic:function(e,t){var l=Ie();return ke!==null?Ym(l,ke,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:xo,useCacheRefresh:fh,useEffectEvent:Wm};function Ro(e,t,l,n){t=e.memoizedState,l=l(n,t),l=l==null?t:U({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var jo={enqueueSetState:function(e,t,l){e=e._reactInternals;var n=Xt(),a=rn(n);a.payload=t,l!=null&&(a.callback=l),t=on(e,a,n),t!==null&&(Rt(t,e,n),Du(t,e,n))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var n=Xt(),a=rn(n);a.tag=1,a.payload=t,l!=null&&(a.callback=l),t=on(e,a,n),t!==null&&(Rt(t,e,n),Du(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Xt(),n=rn(l);n.tag=2,t!=null&&(n.callback=t),t=on(e,n,l),t!==null&&(Rt(t,e,l),Du(t,e,l))}};function gh(e,t,l,n,a,u,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,u,s):t.prototype&&t.prototype.isPureReactComponent?!Tu(l,n)||!Tu(a,u):!0}function ph(e,t,l,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,n),t.state!==e&&jo.enqueueReplaceState(t,t.state,null)}function $n(e,t){var l=t;if("ref"in t){l={};for(var n in t)n!=="ref"&&(l[n]=t[n])}if(e=e.defaultProps){l===t&&(l=U({},l));for(var a in e)l[a]===void 0&&(l[a]=e[a])}return l}function bh(e){Mi(e)}function xh(e){console.error(e)}function Sh(e){Mi(e)}function cc(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Eh(e,t,l){try{var n=e.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function Do(e,t,l){return l=rn(l),l.tag=3,l.payload={element:null},l.callback=function(){cc(e,t)},l}function Nh(e){return e=rn(e),e.tag=3,e}function Ch(e,t,l,n){var a=l.type.getDerivedStateFromError;if(typeof a=="function"){var u=n.value;e.payload=function(){return a(u)},e.callback=function(){Eh(t,l,n)}}var s=l.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){Eh(t,l,n),typeof a!="function"&&(gn===null?gn=new Set([this]):gn.add(this));var h=n.stack;this.componentDidCatch(n.value,{componentStack:h!==null?h:""})})}function Pb(e,t,l,n,a){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=l.alternate,t!==null&&Vn(t,l,a,!0),l=ht.current,l!==null){switch(l.tag){case 31:case 13:case 19:return St===null?Oc():l.alternate===null&&Je===0&&(Je=3),l.flags&=-257,l.flags|=65536,l.lanes=a,n===Ki?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([n]):t.add(n),gs(e,n,a)),!1;case 22:return l.flags|=65536,n===Ki?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([n]):l.add(n)),gs(e,n,a)),!1}throw Error(o(435,l.tag))}return gs(e,n,a),Oc(),!1}if(Ee)return t=ht.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=a,n!==Pr&&(e=Error(o(422),{cause:n}),Ou(Ft(e,l)))):(n!==Pr&&(t=Error(o(423),{cause:n}),Ou(Ft(t,l))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,n=Ft(n,l),a=Do(e.stateNode,n,a),ro(e,a),Je!==4&&(Je=2)),!1;var u=Error(o(520),{cause:n});if(u=Ft(u,l),Ku===null?Ku=[u]:Ku.push(u),Je!==4&&(Je=2),t===null)return!0;n=Ft(n,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=a&-a,l.lanes|=e,e=Do(l.stateNode,n,e),ro(l,e),!1;case 1:if(t=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(gn===null||!gn.has(u))))return l.flags|=65536,a&=-a,l.lanes|=a,a=Nh(a),Ch(a,e,l,n),ro(l,a),!1;break;case 22:if(l.memoizedState!==null)return l.flags|=65536,!1}l=l.return}while(l!==null);return!1}var Mo=Error(o(461)),We=!1;function lt(e,t,l,n){t.child=e===null?Om(t,null,l,n):In(t,e.child,l,n)}function Th(e,t,l,n,a){l=l.render;var u=t.ref;if("ref"in n){var s={};for(var h in n)h!=="ref"&&(s[h]=n[h])}else s=n;return Xn(t),n=yo(e,t,l,s,u,a),h=go(),e!==null&&!We?(po(e,t,a),Yl(e,t,a)):(Ee&&h&&Gi(t),t.flags|=1,lt(e,t,n,a),t.child)}function _h(e,t,l,n,a){if(e===null){var u=l.type;return typeof u=="function"&&!Jr(u)&&u.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=u,wh(e,t,u,n,a)):(e=ki(l.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!qo(e,a)){var s=u.memoizedProps;if(l=l.compare,l=l!==null?l:Tu,l(s,n)&&e.ref===t.ref)return Yl(e,t,a)}return t.flags|=1,e=Ul(u,n),e.ref=t.ref,e.return=t,t.child=e}function wh(e,t,l,n,a){if(e!==null){var u=e.memoizedProps;if(Tu(u,n)&&e.ref===t.ref)if(We=!1,t.pendingProps=n=u,qo(e,a))(e.flags&131072)!==0&&(We=!0);else return t.lanes=e.lanes,Yl(e,t,a)}return Uo(e,t,l,n,a)}function Oh(e,t,l,n){var a=n.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,e!==null){for(n=t.child=e.child,a=0;n!==null;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~u}else n=0,t.child=null;return Ah(e,t,u,l,n)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Qi(t,u!==null?u.cachePool:null),u!==null?Rm(t,u):so(),jm(t);else return n=t.lanes=536870912,Ah(e,t,u!==null?u.baseLanes|l:l,l,n)}else u!==null?(Qi(t,u.cachePool),Rm(t,u),dn(),t.memoizedState=null):(e!==null&&Qi(t,null),so(),dn());return lt(e,t,a,l),t.child}function Gu(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Ah(e,t,l,n,a){var u=ao();return u=u===null?null:{parent:$e._currentValue,pool:u},t.memoizedState={baseLanes:l,cachePool:u},e!==null&&Qi(t,null),so(),jm(t),e!==null&&Vn(e,t,n,!0),t.childLanes=a,null}function rc(e,t){return t=oc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function zh(e,t,l){return In(t,e.child,null,l),e=rc(t,t.pendingProps),e.flags|=2,Gt(t),t.memoizedState=null,e}function Wb(e,t,l){var n=t.pendingProps,a=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Ee){if(n.mode==="hidden")return e=rc(t,n),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Gu(null,e);if(mo(t),(e=Ye)?(e=ly(e,Wt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:tn!==null?{id:gl,overflow:pl}:null,retryLane:536870912,hydrationErrors:null},l=mm(e),l.return=t,t.child=l,it=t,Ye=null)):e=null,e===null)throw nn(t);return t.lanes=536870912,null}return rc(t,n)}var u=e.memoizedState;if(u!==null){var s=u.dehydrated;if(mo(t),a)if(t.flags&256)t.flags&=-257,t=zh(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(We||Vn(e,t,l,!1),a=(l&e.childLanes)!==0,We||a){if(sn.current===null){if(n=Le,n!==null&&(s=yd(n,l),s!==0&&s!==u.retryLane))throw u.retryLane=s,Ln(e,s),Rt(n,e,s),Mo;Oc()}t=zh(e,t,l)}else e=u.treeContext,Ye=tl(s.nextSibling),it=t,Ee=!0,ln=null,Wt=!1,e!==null&&ym(t,e),t=rc(t,n),t.flags|=134221824;return t}return e=Ul(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Ha(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(o(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Uo(e,t,l,n,a){return Xn(t),l=yo(e,t,l,n,void 0,a),n=go(),e!==null&&!We?(po(e,t,a),Yl(e,t,a)):(Ee&&n&&Gi(t),t.flags|=1,lt(e,t,l,a),t.child)}function Rh(e,t,l,n,a,u){return Xn(t),t.updateQueue=null,l=Mm(t,n,l,a),Dm(e),n=go(),e!==null&&!We?(po(e,t,u),Yl(e,t,u)):(Ee&&n&&Gi(t),t.flags|=1,lt(e,t,l,u),t.child)}function jh(e,t,l,n,a){if(Xn(t),t.stateNode===null){var u=_a,s=l.contextType;typeof s=="object"&&s!==null&&(u=mt(s)),u=new l(n,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=jo,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=n,u.state=t.memoizedState,u.refs={},io(t),s=l.contextType,u.context=typeof s=="object"&&s!==null?mt(s):_a,u.state=t.memoizedState,s=l.getDerivedStateFromProps,typeof s=="function"&&(Ro(t,l,s,n),u.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(s=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),s!==u.state&&jo.enqueueReplaceState(u,u.state,null),Uu(t,n,u,a),Mu(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){u=t.stateNode;var h=t.memoizedProps,x=$n(l,h);u.props=x;var O=u.context,j=l.contextType;s=_a,typeof j=="object"&&j!==null&&(s=mt(j));var Y=l.getDerivedStateFromProps;j=typeof Y=="function"||typeof u.getSnapshotBeforeUpdate=="function",h=t.pendingProps!==h,j||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h||O!==s)&&ph(t,u,n,s),cn=!1;var _=t.memoizedState;u.state=_,Uu(t,n,u,a),Mu(),O=t.memoizedState,h||_!==O||cn?(typeof Y=="function"&&(Ro(t,l,Y,n),O=t.memoizedState),(x=cn||gh(t,l,x,n,_,O,s))?(j||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=O),u.props=n,u.state=O,u.context=s,n=x):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{u=t.stateNode,co(e,t),s=t.memoizedProps,j=$n(l,s),u.props=j,Y=t.pendingProps,_=u.context,O=l.contextType,x=_a,typeof O=="object"&&O!==null&&(x=mt(O)),h=l.getDerivedStateFromProps,(O=typeof h=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(s!==Y||_!==x)&&ph(t,u,n,x),cn=!1,_=t.memoizedState,u.state=_,Uu(t,n,u,a),Mu();var R=t.memoizedState;s!==Y||_!==R||cn||e!==null&&e.dependencies!==null&&Vi(e.dependencies)?(typeof h=="function"&&(Ro(t,l,h,n),R=t.memoizedState),(j=cn||gh(t,l,j,n,_,R,x)||e!==null&&e.dependencies!==null&&Vi(e.dependencies))?(O||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(n,R,x),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(n,R,x)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||s===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=R),u.props=n,u.state=R,u.context=x,n=j):(typeof u.componentDidUpdate!="function"||s===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),n=!1)}return u=n,Ha(e,t),n=(t.flags&128)!==0,u||n?(u=t.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&n?(t.child=In(t,e.child,null,a),t.child=In(t,null,l,a)):lt(e,t,l,a),t.memoizedState=u.state,e=t.child):e=Yl(e,t,a),e}function Dh(e,t,l,n){return Yn(),t.flags|=256,lt(e,t,l,n),t.child}var Ho={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Bo(e){return{baseLanes:e,cachePool:Em()}}function ko(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Vt),e}function Mh(e,t,l){var n=t.pendingProps,a=!1,u=(t.flags&128)!==0,s;if((s=u)||(s=e!==null&&e.memoizedState===null?!1:(vt.current&2)!==0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ee){if(a?fn(t):dn(),(e=Ye)?(e=ly(e,Wt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:tn!==null?{id:gl,overflow:pl}:null,retryLane:536870912,hydrationErrors:null},l=mm(e),l.return=t,t.child=l,it=t,Ye=null)):e=null,e===null)throw nn(t);return Bs(e)?t.lanes=32:t.lanes=536870912,null}return u=n.children,n=n.fallback,a?(dn(),a=t.mode,u=oc({mode:"hidden",children:u},a),n=Gn(n,a,l,null),u.return=t,n.return=t,u.sibling=n,t.child=u,n=t.child,n.memoizedState=Bo(l),n.childLanes=ko(e,s,l),t.memoizedState=Ho,Gu(null,n)):(fn(t),Lo(t,u))}var h=e.memoizedState;if(h!==null){var x=h.dehydrated;if(x!==null)return e1(e,t,u,s,n,x,h,l)}return a?(dn(),a=n.fallback,u=t.mode,h=e.child,x=h.sibling,n=Ul(h,{mode:"hidden",children:n.children}),n.subtreeFlags=h.subtreeFlags&1206910976,x!==null?a=Ul(x,a):(a=Gn(a,u,l,null),a.flags|=2),a.return=t,n.return=t,n.sibling=a,t.child=n,Gu(null,n),n=t.child,a=e.child.memoizedState,a===null?a=Bo(l):(u=a.cachePool,u!==null?(h=$e._currentValue,u=u.parent!==h?{parent:h,pool:h}:u):u=Em(),a={baseLanes:a.baseLanes|l,cachePool:u}),n.memoizedState=a,n.childLanes=ko(e,s,l),t.memoizedState=Ho,Gu(e.child,n)):(fn(t),l=e.child,e=l.sibling,l=Ul(l,{mode:"visible",children:n.children}),l.return=t,l.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=l,t.memoizedState=null,l)}function Lo(e,t){return t=oc({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function oc(e,t){return e=wt(22,e,null,t),e.lanes=0,e}function sc(e,t,l){return In(t,e.child,null,l),e=Lo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function e1(e,t,l,n,a,u,s,h){if(l)return t.flags&256?(fn(t),t.flags&=-257,sc(e,t,h)):t.memoizedState!==null?(dn(),t.child=e.child,t.flags|=128,null):(dn(),u=a.fallback,s=t.mode,a=oc({mode:"visible",children:a.children},s),u=Gn(u,s,h,null),u.flags|=2,a.return=t,u.return=t,a.sibling=u,t.child=a,In(t,e.child,null,h),a=t.child,a.memoizedState=Bo(h),a.childLanes=ko(e,n,h),t.memoizedState=Ho,Gu(null,a));if(fn(t),Bs(u)){if(n=u.nextSibling&&u.nextSibling.dataset,n)var x=n.dgst;return n=x,n!==""&&(a=Error(o(419)),a.stack="",a.digest=n,Ou({value:a,source:null,stack:null})),sc(e,t,h)}if(We||Vn(e,t,h,!1),n=(h&e.childLanes)!==0,We||n){if(sn.current!==null)return sc(e,t,h);if(n=Le,n!==null&&(a=yd(n,h),a!==0&&a!==s.retryLane))throw s.retryLane=a,Ln(e,a),Rt(n,e,a),Mo;return Hs(u)||Oc(),sc(e,t,h)}return Hs(u)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,Ye=tl(u.nextSibling),it=t,Ee=!0,ln=null,Wt=!1,e!==null&&ym(t,e),t=Lo(t,a.children),t.flags|=134221824,t)}function Uh(e,t,l){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),qi(e.return,t,l)}function Hh(e){for(var t=null;e!==null;){var l=e.alternate;l!==null&&$i(l)===null&&(t=e),e=e.sibling}return t}function fc(e,t,l,n,a,u){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:a,treeForkCount:u}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=l,s.tailMode=a,s.treeForkCount=u)}function Go(e){var t=e.child;for(e.child=null;t!==null;){var l=t.sibling;t.sibling=e.child,e.child=t,t=l}}function Yo(e,t,l){var n=t.pendingProps,a=n.revealOrder,u=n.tail;n=n.children;var s=vt.current;if(t.flags&128)return Hu(t,s),null;var h=(s&2)!==0;if(h?(s=s&1|2,t.flags|=128):s&=1,Hu(t,s),a==="backwards"&&e!==null?(Go(e),lt(e,t,n,l),Go(e)):lt(e,t,n,l),n=Ee?wu:0,!h&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Uh(e,l,t);else if(e.tag===19)Uh(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"backwards":l=Hh(t.child),l===null?(a=t.child,t.child=null):(a=l.sibling,l.sibling=null,Go(t)),fc(t,!0,a,null,u,n);break;case"unstable_legacy-backwards":for(l=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&$i(e)===null){t.child=a;break}e=a.sibling,a.sibling=l,l=a,a=e}fc(t,!0,l,null,u,n);break;case"together":fc(t,!1,null,null,void 0,n);break;case"independent":t.memoizedState=null;break;default:l=Hh(t.child),l===null?(a=t.child,t.child=null):(a=l.sibling,l.sibling=null),fc(t,!1,a,l,u,n)}return t.child}function Bh(e,t,l){var n=t.pendingProps;return an(t,t.type,n.value),lt(e,t,n.children,l),t.child}function Yl(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),yn|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Vn(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,l=Ul(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=Ul(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function qo(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Vi(e)))}function t1(e,t,l){switch(t.tag){case 3:yi(t,t.stateNode.containerInfo),an(t,$e,e.memoizedState.cache),Yn();break;case 27:case 5:hr(t);break;case 4:yi(t,t.stateNode.containerInfo);break;case 10:an(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,mo(t),null;break;case 13:var n=t.memoizedState;if(n!==null){if(n.dehydrated!==null)return fn(t),t.flags|=128,null;n=Vn(e,t,l,!1);var a=t.child.childLanes;return n||(l&a)!==0?Mh(e,t,l):(fn(t),e=Yl(e,t,l),e!==null?e.sibling:null)}fn(t);break;case 19:if(t.flags&128)return Yo(e,t,l);if(a=(e.flags&128)!==0,n=(l&t.childLanes)!==0,n||(Vn(e,t,l,!1),n=(l&t.childLanes)!==0),a){if(n)return Yo(e,t,l);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Hu(t,vt.current),n)break;return null;case 22:return t.lanes=0,Oh(e,t,l,t.pendingProps);case 24:an(t,$e,e.memoizedState.cache)}return Yl(e,t,l)}function kh(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)We=!0;else{if(!qo(e,l)&&(t.flags&128)===0)return We=!1,t1(e,t,l);We=(e.flags&131072)!==0}else We=!1,Ee&&(t.flags&1048576)!==0&&vm(t,wu,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=Kn(t.elementType),t.type=e,typeof e=="function")Jr(e)?(n=$n(e,n),t.tag=1,t=jh(null,t,e,n,l)):(t.tag=0,t=Uo(null,t,e,n,l));else{if(e!=null){var a=e.$$typeof;if(a===K){t.tag=11,t=Th(null,t,e,n,l);break e}else if(a===ge){t.tag=14,t=_h(null,t,e,n,l);break e}else if(a===ye){t.tag=10,t.type=e,t=Bh(null,t,l);break e}}throw t=te(e)||e,Error(o(306,t,""))}}return t;case 0:return Uo(e,t,t.type,t.pendingProps,l);case 1:return n=t.type,a=$n(n,t.pendingProps),jh(e,t,n,a,l);case 3:e:{if(yi(t,t.stateNode.containerInfo),e===null)throw Error(o(387));n=t.pendingProps;var u=t.memoizedState;a=u.element,co(e,t),Uu(t,n,null,l);var s=t.memoizedState;if(n=s.cache,an(t,$e,n),n!==u.cache&&to(t,[$e],l,!0),Mu(),n=s.element,u.isDehydrated)if(u={element:n,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Dh(e,t,n,l);break e}else if(n!==a){a=Ft(Error(o(424)),t),Ou(a),t=Dh(e,t,n,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ye=tl(e.firstChild),it=t,Ee=!0,ln=null,Wt=!0,l=Om(t,null,n,l),t.child=l;l;)l.flags=l.flags&-3|134221824,l=l.sibling}else{if(Yn(),n===a){t=Yl(e,t,l);break e}lt(e,t,n,l)}t=t.child}return t;case 26:return Ha(e,t),e===null?(l=oy(t.type,null,t.pendingProps,null))?t.memoizedState=l:Ee||(t.stateNode=qv(t.type,t.pendingProps,Fl.current,t)):t.memoizedState=oy(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return hr(t),e===null&&Ee&&(n=t.stateNode=uy(t.type,t.pendingProps,Fl.current),it=t,Wt=!0,a=Ye,xn(t.type)?(ks=a,Ye=tl(n.firstChild)):Ye=a),lt(e,t,t.pendingProps.children,l),Ha(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ee&&((a=n=Ye)&&(n=I1(n,t.type,t.pendingProps,Wt),n!==null?(t.stateNode=n,it=t,Ye=tl(n.firstChild),Wt=!1,a=!0):a=!1),a||nn(t)),hr(t),a=t.type,u=t.pendingProps,s=e!==null?e.memoizedProps:null,n=u.children,As(a,u)?n=null:s!==null&&As(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=yo(e,t,Xb,null,null,l),eu._currentValue=a),Ha(e,t),lt(e,t,n,l),t.child;case 6:return e===null&&Ee&&((e=l=Ye)&&(l=F1(l,t.pendingProps,Wt),l!==null?(t.stateNode=l,it=t,Ye=null,e=!0):e=!1),e||nn(t)),null;case 13:return Mh(e,t,l);case 4:return yi(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=In(t,null,n,l):lt(e,t,n,l),t.child;case 11:return Th(e,t,t.type,t.pendingProps,l);case 7:return n=t.pendingProps,Ha(e,t),lt(e,t,n,l),t.child;case 8:return lt(e,t,t.pendingProps.children,l),t.child;case 12:return lt(e,t,t.pendingProps.children,l),t.child;case 10:return Bh(e,t,l);case 9:return a=t.type._context,n=t.pendingProps.children,Xn(t),a=mt(a),n=n(a),t.flags|=1,lt(e,t,n,l),t.child;case 14:return _h(e,t,t.type,t.pendingProps,l);case 15:return wh(e,t,t.type,t.pendingProps,l);case 19:return Yo(e,t,l);case 31:return Wb(e,t,l);case 22:return Oh(e,t,l,t.pendingProps);case 24:return Xn(t),n=mt($e),e===null?(a=ao(),a===null&&(a=Le,u=lo(),a.pooledCache=u,u.refCount++,u!==null&&(a.pooledCacheLanes|=l),a=u),t.memoizedState={parent:n,cache:a},io(t),an(t,$e,a)):((e.lanes&l)!==0&&(co(e,t),Uu(t,null,null,l),Mu()),a=e.memoizedState,u=t.memoizedState,a.parent!==n?(a={parent:n,cache:n},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),an(t,$e,n)):(n=u.cache,an(t,$e,n),n!==a.cache&&to(t,[$e],l,!0))),lt(e,t,t.pendingProps.children,l),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),n=t.pendingProps,n.name!=null&&n.name!=="auto"?t.flags|=e===null?18882560:18874368:Ee&&Gi(t),e!==null&&e.memoizedProps.name!==n.name?t.flags|=4194816:Ha(e,t),lt(e,t,n.children,l),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function ql(e){e.flags|=4}function Vo(e,t,l,n,a){var u;if((u=(e.mode&32)!==0)&&(u=l===null?my(t,n):my(t,n)&&(n.src!==l.src||n.srcSet!==l.srcSet)),u){if(e.flags|=16777216,(a&335544128)===a)if(e.stateNode.complete)e.flags|=8192;else if(bv())e.flags|=8192;else throw Jn=Ki,uo}else e.flags&=-16777217}function Lh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!hy(t))if(bv())e.flags|=8192;else throw Jn=Ki,uo}function dc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?md():536870912,e.lanes|=t,Ya|=t)}function Yu(e,t){if(!Ee)switch(e.tailMode){case"visible":break;case"collapsed":for(var l=e.tail,n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null;break;default:for(t=e.tail,l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null}}function qe(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,n=0;if(t)for(var a=e.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags&1206910976,n|=a.flags&1206910976,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=l,t}function l1(e,t,l){var n=t.pendingProps;switch($r(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qe(t),null;case 1:return qe(t),null;case 3:return l=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),kl($e),ma(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Aa(t)?ql(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Wr())),qe(t),null;case 26:var a=t.type,u=t.memoizedState;return e===null?(ql(t),u!==null?(qe(t),Lh(t,u)):(qe(t),Vo(t,a,null,n,l))):u?u!==e.memoizedState?(ql(t),qe(t),Lh(t,u)):(qe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&ql(t),qe(t),Vo(t,a,e,n,l)),null;case 27:if(gi(t),l=Fl.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&ql(t);else{if(!n){if(t.stateNode===null)throw Error(o(166));return qe(t),t.subtreeFlags&=-33554433,null}e=vl.current,Aa(t)?gm(t):(e=uy(a,n,l),t.stateNode=e,ql(t))}return qe(t),t.subtreeFlags&=-33554433,null;case 5:if(gi(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&ql(t);else{if(!n){if(t.stateNode===null)throw Error(o(166));return qe(t),t.subtreeFlags&=-33554433,null}if(u=vl.current,Aa(t))gm(t);else{var s=Pu(Fl.current);switch(u){case 1:u=s.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:u=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":u=s.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":u=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":u=s.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof n.is=="string"?s.createElement("select",{is:n.is}):s.createElement("select"),n.multiple?u.multiple=!0:n.size&&(u.size=n.size);break;default:u=typeof n.is=="string"?s.createElement(a,{is:n.is}):s.createElement(a)}}u[dt]=t,u[_t]=n;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)u.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=u;e:switch(gt(u,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&ql(t)}}return qe(t),t.subtreeFlags&=-33554433,Vo(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&ql(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(o(166));if(e=Fl.current,Aa(t)){if(e=t.stateNode,l=t.memoizedProps,n=null,a=it,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}e[dt]=t,e=!!(e.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||kv(e.nodeValue,l)),e||nn(t,!0)}else e=Pu(e).createTextNode(n),e[dt]=t,t.stateNode=e}return qe(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(n=Aa(t),l!==null){if(e===null){if(!n)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[dt]=t}else Yn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),e=!1}else l=Wr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Gt(t),t):(Gt(t),null);if((t.flags&128)!==0)throw Error(o(558))}return qe(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Aa(t),n!==null&&n.dehydrated!==null){if(e===null){if(!a)throw Error(o(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(o(317));a[dt]=t}else Yn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),a=!1}else a=Wr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Gt(t),t):(Gt(t),null)}return Gt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=n!==null,e=e!==null&&e.memoizedState!==null,l&&(n=t.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool),u=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),u!==a&&(n.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),dc(t,t.updateQueue),qe(t),null);case 4:return ma(),e===null&&Cs(t.stateNode.containerInfo),t.flags|=67108864,qe(t),null;case 10:return kl(t.type),qe(t),null;case 19:if(ho(t),n=t.memoizedState,n===null)return qe(t),null;if(a=(t.flags&128)!==0,u=n.rendering,u===null)if(a)Yu(n,!1);else{if(Je!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=$i(e),u!==null){for(t.flags|=128,Yu(n,!1),e=u.updateQueue,t.updateQueue=e,dc(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)dm(l,e),l=l.sibling;return Hu(t,vt.current&1|2),Ee&&Hl(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&Ut()>Cc&&(t.flags|=128,a=!0,Yu(n,!1),t.lanes=4194304)}else{if(!a)if(e=$i(u),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,dc(t,e),Yu(n,!0),n.tail===null&&n.tailMode!=="collapsed"&&n.tailMode!=="visible"&&!u.alternate&&!Ee)return qe(t),null}else 2*Ut()-n.renderingStartTime>Cc&&l!==536870912&&(t.flags|=128,a=!0,Yu(n,!1),t.lanes=4194304);n.isBackwards?(u.sibling=t.child,t.child=u):(e=n.last,e!==null?e.sibling=u:t.child=u,n.last=u)}if(n.tail!==null){e=n.tail;e:{for(l=e;l!==null;){if(l.alternate!==null){l=!1;break e}l=l.sibling}l=!0}return n.rendering=e,n.tail=e.sibling,n.renderingStartTime=Ut(),e.sibling=null,u=vt.current,u=a?u&1|2:u&1,n.tailMode==="visible"||n.tailMode==="collapsed"||!l||Ee?Hu(t,u):(l=u,Ge(ht,t),Ge(vt,l),St===null&&(St=t)),Ee&&Hl(t,n.treeForkCount),e}return qe(t),null;case 22:case 23:return Gt(t),fo(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(l&536870912)!==0&&(t.flags&128)===0&&(qe(t),t.subtreeFlags&6&&(t.flags|=8192)):qe(t),l=t.updateQueue,l!==null&&dc(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==l&&(t.flags|=2048),e!==null&&ft(Zn),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),kl($e),qe(t),null;case 25:return null;case 30:return t.flags|=33554432,qe(t),null}throw Error(o(156,t.tag))}function n1(e,t){switch($r(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return kl($e),ma(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return gi(t),null;case 31:if(t.memoizedState!==null){if(Gt(t),t.alternate===null)throw Error(o(340));Yn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Gt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Yn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ho(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return ma(),null;case 10:return kl(t.type),null;case 22:case 23:return Gt(t),fo(),e!==null&&ft(Zn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return kl($e),null;case 25:return null;default:return null}}function Gh(e,t){switch($r(t),t.tag){case 3:kl($e),ma();break;case 26:case 27:case 5:gi(t);break;case 4:ma();break;case 31:t.memoizedState!==null&&Gt(t);break;case 13:Gt(t);break;case 19:ho(t);break;case 10:kl(t.type);break;case 22:case 23:Gt(t),fo(),e!==null&&ft(Zn);break;case 24:kl($e)}}function qu(e,t){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var a=n.next;l=a;do{if((l.tag&e)===e){n=void 0;var u=l.create,s=l.inst;n=u(),s.destroy=n}l=l.next}while(l!==a)}}catch(h){He(t,t.return,h)}}function mn(e,t,l){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var u=a.next;n=u;do{if((n.tag&e)===e){var s=n.inst,h=s.destroy;if(h!==void 0){s.destroy=void 0,a=t;var x=l,O=h;try{O()}catch(j){He(a,x,j)}}}n=n.next}while(n!==u)}}catch(j){He(t,t.return,j)}}function Yh(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{zm(t,l)}catch(n){He(e,e.return,n)}}}function qh(e,t,l){l.props=$n(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(n){He(e,t,n)}}function bl(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:var a=e.stateNode,u=Dl(e.memoizedProps,a);(a.ref===null||a.ref.name!==u)&&(a.ref=Iv(u)),n=a.ref;break;case 7:if(e.stateNode===null){var s=new Qt(e);y(e.child,!1,K1,s,void 0,void 0),e.stateNode=s}n=e.stateNode;break;default:n=e.stateNode}typeof l=="function"?e.refCleanup=l(n):l.current=n}}catch(h){He(e,t,h)}}function yt(e,t){var l=e.ref,n=e.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(a){He(e,t,a)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(a){He(e,t,a)}else l.current=null}function mc(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var l=0;l<t.length;l++)ty(e.stateNode,t[l])}function Vh(e){for(var t=e.return;t!==null&&(Qo(t)&&ty(e.stateNode,t.stateNode),!Xo(t));)t=t.return}function Vu(e){for(var t=e.return;t!==null&&(Qo(t)&&J1(e.stateNode,t.stateNode),!Xo(t));)t=t.return}function Xo(e){return e.tag===5||e.tag===3||e.tag===27}function Qo(e){return e&&e.tag===7&&e.stateNode!==null}function Zo(e){var t=e.type,l=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break e;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(a){He(e,e.return,a)}}function Ko(e,t,l){try{var n=e.stateNode;A1(n,e.type,l,t),n[_t]=t}catch(a){He(e,e.return,a)}}function Xh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&xn(e.type)||e.tag===4}function Jo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&xn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Io(e,t,l,n){var a=e.tag;if(a===5||a===6)a=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(a,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(a),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=yl)),mc(e,n),Re=!0;else if(a!==4&&(a===27&&(mc(e,n),n=null,xn(e.type)&&(l=e.stateNode,t=null)),e=e.child,e!==null))for(Io(e,t,l,n),e=e.sibling;e!==null;)Io(e,t,l,n),e=e.sibling}function hc(e,t,l,n){var a=e.tag;if(a===5||a===6)a=e.stateNode,t?l.insertBefore(a,t):l.appendChild(a),mc(e,n),Re=!0;else if(a!==4&&(a===27&&(mc(e,n),n=null,xn(e.type)&&(l=e.stateNode)),e=e.child,e!==null))for(hc(e,t,l,n),e=e.sibling;e!==null;)hc(e,t,l,n),e=e.sibling}function Qh(e){var t=e.stateNode,l=e.memoizedProps;try{for(var n=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);gt(t,n,l),t[dt]=e,t[_t]=l}catch(u){He(e,e.return,u)}}var vc=!1,Yt=null;function Zh(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(vc=!0)}var xl=null;function Kh(){var e=xl;return xl=null,e}var Ot=0;function Ba(e,t,l,n,a){return Ot=0,Jh(e.child,t,l,n,a)}function Jh(e,t,l,n,a){for(var u=!1;e!==null;){if(e.tag===5){var s=e.stateNode;if(n!==null){var h=js(s);n.push(h),h.view&&(u=!0)}else u||js(s).view&&(u=!0);vc=!0,Kv(s,Ot===0?t:t+"_"+Ot,l),Ot++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&a||Jh(e.child,t,l,n,a)&&(u=!0));e=e.sibling}return u}function Sl(e,t){for(;e!==null;)e.tag===5?Jv(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||Sl(e.child,t)),e=e.sibling}function yc(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(yc(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(o(544));var l=t.name;t=Ml(t.default,t.share),t!=="none"&&(Ba(e,l,t,null,!1)||Sl(e.child,!1))}e=e.sibling}}function Fo(e,t){if(e.tag===30){var l=e.stateNode,n=e.memoizedProps,a=Dl(n,l),u=Ml(n.default,l.paired?n.share:n.enter);u!=="none"?Ba(e,a,u,null,!1)?(yc(e),l.paired||t||Qa(e,n.onEnter)):Sl(e.child,!1):yc(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Fo(e,t),e=e.sibling;else yc(e)}function $o(e){if(Yt!==null&&Yt.size!==0){var t=Yt;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var l=e.memoizedProps,n=l.name;if(n!=null&&n!=="auto"){var a=t.get(n);if(a!==void 0){var u=Ml(l.default,l.share);if(u!=="none"&&(Ba(e,n,u,null,!1)?(u=e.stateNode,a.paired=u,u.paired=a,Qa(e,l.onShare)):Sl(e.child,!1)),t.delete(n),t.size===0)break}}}$o(e)}e=e.sibling}}}function Po(e){if(e.tag===30){var t=e.memoizedProps,l=Dl(t,e.stateNode),n=Yt!==null?Yt.get(l):void 0,a=Ml(t.default,n!==void 0?t.share:t.exit);a!=="none"&&(Ba(e,l,a,null,!1)?n!==void 0?(a=e.stateNode,n.paired=a,a.paired=n,Yt.delete(l),Qa(e,t.onShare)):Qa(e,t.onExit):Sl(e.child,!1)),Yt!==null&&$o(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Po(e),e=e.sibling;else Yt!==null&&$o(e)}function Ih(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,l=Dl(t,e.stateNode);t=Ml(t.default,t.update),e.flags&=-5,t!=="none"&&Ba(e,l,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&Ih(e);e=e.sibling}}function Wo(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,Sl(e.child,!1))}Wo(e)}e=e.sibling}}function gc(e){if(e.tag===30)e.stateNode.paired=null,Sl(e.child,!1),Wo(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)gc(e),e=e.sibling;else Wo(e)}function Fh(e){for(e=e.child;e!==null;)e.tag===30?Sl(e.child,!1):(e.subtreeFlags&33554432)!==0&&Fh(e),e=e.sibling}function es(e,t,l,n,a,u,s){for(var h=!1;t!==null;){if(t.tag===5){var x=t.stateNode;if(u!==null&&Ot<u.length){var O=u[Ot],j=js(x);(O.view||j.view)&&(h=!0);var Y;if(Y=(e.flags&4)===0)if(j.clip)Y=!0;else{Y=O.rect;var _=j.rect;Y=Y.y!==_.y||Y.x!==_.x||Y.height!==_.height||Y.width!==_.width}Y&&(e.flags|=4),j.abs?j=!O.abs:(O=O.rect,j=j.rect,j=O.height!==j.height||O.width!==j.width),j&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&Kv(x,Ot===0?l:l+"_"+Ot,a),h&&(e.flags&4)!==0||(xl===null&&(xl=[]),xl.push(x,Ot===0?n:n+"_"+Ot,t.memoizedProps)),Ot++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&s?e.flags|=t.flags&32:es(e,t.child,l,n,a,u,s)&&(h=!0));t=t.sibling}return h}function $h(e,t){for(e=e.child;e!==null;){if(e.tag===30){var l=e.memoizedProps,n=e.stateNode,a=Dl(l,n),u=Ml(l.default,l.update),s;s=e.memoizedState,e.memoizedState=null,n=e;var h=e.child;Ot=0,a=es(n,h,a,a,u,s,!1),(e.flags&4)!==0&&a&&Qa(e,l.onUpdate)}else(e.subtreeFlags&33554432)!==0&&$h(e);e=e.sibling}}var ct=!1,Me=!1,El=!1,ts=!1,Ph=typeof WeakSet=="function"?WeakSet:Set,rt=null,Nl=!1,Xu=!1,pc=!1,ls=!1;function a1(e,t,l){if(e=e.containerInfo,ws=tu,e=lm(e),Yr(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var u=a.anchorOffset,s=a.focusNode;a=a.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var h=0,x=-1,O=-1,j=0,Y=0,_=e,R=null;t:for(;;){for(var $;_!==n||u!==0&&_.nodeType!==3||(x=h+u),_!==s||a!==0&&_.nodeType!==3||(O=h+a),_.nodeType===3&&(h+=_.nodeValue.length),($=_.firstChild)!==null;)R=_,_=$;for(;;){if(_===e)break t;if(R===n&&++j===u&&(x=h),R===s&&++Y===a&&(O=h),($=_.nextSibling)!==null)break;_=R,R=_.parentNode}_=$}n=x===-1||O===-1?null:{start:x,end:O}}else n=null}n=n||{start:0,end:0}}else n=null;for(Os={focusedElem:e,selectionRange:n},tu=!1,l=(l&335544064)===l,rt=t,t=l?9270:1024;rt!==null;){if(e=rt,l&&(n=e.deletions,n!==null))for(u=0;u<n.length;u++)l&&Po(n[u]);if(e.alternate===null&&(e.flags&2)!==0)l&&Zh(e),bc(l);else{if(e.tag===22){if(n=e.alternate,e.memoizedState!==null){n!==null&&n.memoizedState===null&&l&&Po(n),bc(l);continue}else if(n!==null&&n.memoizedState!==null){l&&Zh(e),bc(l);continue}}n=e.child,(e.subtreeFlags&t)!==0&&n!==null?(n.return=e,rt=n):(l&&Ih(e),bc(l))}}Yt=null}function bc(e){for(;rt!==null;){var t=rt,l=e,n=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((a&1024)!==0&&n!==null){l=void 0,a=n.memoizedProps,n=n.memoizedState;var u=t.stateNode;try{var s=$n(t.type,a);l=u.getSnapshotBeforeUpdate(s,n),u.__reactInternalSnapshotBeforeUpdate=l}catch(h){He(t,t.return,h)}}break;case 3:if((a&1024)!==0){if(n=t.stateNode.containerInfo,l=n.nodeType,l===9)Us(n);else if(l===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Us(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:l&&n!==null&&(l=Dl(n.memoizedProps,n.stateNode),a=t.memoizedProps,a=Ml(a.default,a.update),a!=="none"&&Ba(n,l,a,n.memoizedState=[],!0));break;default:if((a&1024)!==0)throw Error(o(163))}if(n=t.sibling,n!==null){n.return=t.return,rt=n;break}rt=t.return}}function Wh(e,t,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:Cl(e,l),n&4&&qu(5,l);break;case 1:if(Cl(e,l),n&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(s){He(l,l.return,s)}else{var a=$n(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){He(l,l.return,s)}}n&64&&Yh(l),n&512&&bl(l,l.return);break;case 3:if(Cl(e,l),n&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{zm(e,t)}catch(s){He(l,l.return,s)}}break;case 27:t===null&&n&4&&Qh(l);case 26:case 5:Cl(e,l),t===null&&n&4&&Zo(l),n&512&&bl(l,l.return);break;case 12:Cl(e,l);break;case 31:Cl(e,l),n&4&&nv(e,l);break;case 13:Cl(e,l),n&4&&av(e,l),n&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=y1.bind(null,l),$1(e,l))));break;case 22:if(n=l.memoizedState!==null||ct,!n){var u=t!==null&&t.memoizedState!==null||Me;t=ct,a=Me,ct=n,(Me=u)&&!a?(n=2,(l.subtreeFlags&8772)!==0&&(n|=1),fl(e,l,n)):Cl(e,l),ct=t,Me=a}break;case 30:Cl(e,l),n&512&&bl(l,l.return);break;case 7:n&512&&bl(l,l.return);default:Cl(e,l)}}function ns(e,t){for(e=e.child;e!==null;)ev(e,t),e=e.sibling}function ev(e,t){switch(e.tag){case 5:case 26:try{var l=e.stateNode;if(t){var n=l.style;typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}else{var a=e.stateNode,u=e.memoizedProps.style,s=u!=null&&u.hasOwnProperty("display")?u.display:null;a.style.display=s==null||typeof s=="boolean"?"":(""+s).trim()}}catch(x){He(e,e.return,x)}as(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,Re=!0}catch(x){He(e,e.return,x)}break;case 18:try{var h=e.stateNode;t?Zv(h,!0):Zv(e.stateNode,!1)}catch(x){He(e,e.return,x)}break;case 22:case 23:e.memoizedState===null&&ns(e,t);break;default:ns(e,t)}}function as(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var l=e,n=t;switch(l.tag){case 4:ev(l,n);break e;case 22:l.memoizedState===null&&as(l,n);break e;default:as(l,n)}}e=e.sibling}}function tv(e){var t=e.alternate;t!==null&&(e.alternate=null,tv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ci(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ve=null,At=!1;function ol(e,t,l){for(l=l.child;l!==null;)lv(e,t,l),l=l.sibling}function lv(e,t,l){if(Ht&&typeof Ht.onCommitFiberUnmount=="function")try{Ht.onCommitFiberUnmount(mu,l)}catch{}switch(l.tag){case 26:Me||yt(l,t),ol(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&!Me&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Me||yt(l,t),Vu(l);var n=Ve,a=At;xn(l.type)&&(Ve=l.stateNode,At=!1),ol(e,t,l),iy(l.stateNode,l.type,l.memoizedProps),Ve=n,At=a;break;case 5:Me||yt(l,t),Vu(l);case 6:if(l.tag===6&&Vu(l),n=Ve,a=At,Ve=null,ol(e,t,l),Ve=n,At=a,Ve!==null)if(At)try{(Ve.nodeType===9?Ve.body:Ve.nodeName==="HTML"?Ve.ownerDocument.body:Ve).removeChild(l.stateNode),Re=!0}catch(u){He(l,t,u)}else try{Ve.removeChild(l.stateNode),Re=!0}catch(u){He(l,t,u)}break;case 18:Ve!==null&&(At?(e=Ve,Qv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),lu(e)):Qv(Ve,l.stateNode));break;case 4:n=Ve,a=At,Ve=l.stateNode.containerInfo,At=!0,ol(e,t,l),Ve=n,At=a;break;case 0:case 11:case 14:case 15:mn(2,l,t),Me||mn(4,l,t),ol(e,t,l);break;case 1:Me||(yt(l,t),n=l.stateNode,typeof n.componentWillUnmount=="function"&&qh(l,t,n)),ol(e,t,l);break;case 21:ol(e,t,l);break;case 22:Me=(n=Me)||l.memoizedState!==null,ol(e,t,l),Me=n;break;case 30:yt(l,t),ol(e,t,l);break;case 7:Me||yt(l,t),ol(e,t,l);break;default:ol(e,t,l)}}function nv(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{lu(e)}catch(l){He(t,t.return,l)}}}function av(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{lu(e)}catch(l){He(t,t.return,l)}}function u1(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Ph),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Ph),t;default:throw Error(o(435,e.tag))}}function xc(e,t){var l=u1(e);t.forEach(function(n){if(!l.has(n)){l.add(n);var a=g1.bind(null,e,n);n.then(a,a)}})}function Ct(e,t,l){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var u=n[a],s=e,h=t,x=h;e:for(;x!==null;){switch(x.tag){case 27:if(xn(x.type)){Ve=x.stateNode,At=!1;break e}break;case 5:Ve=x.stateNode,At=!1;break e;case 3:case 4:Ve=x.stateNode.containerInfo,At=!0;break e}x=x.return}if(Ve===null)throw Error(o(160));lv(s,h,u),Ve=null,At=!1,s=u.alternate,s!==null&&(s.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)uv(t,e,l),t=t.sibling}var sl=null;function uv(e,t,l){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(a&4&&(n=e.updateQueue,n=n!==null?n.events:null,n!==null))for(var u=0;u<n.length;u++){var s=n[u];s.ref.impl=s.nextImpl}Ct(t,e,l),Tt(e),a&4&&(mn(3,e,e.return),qu(3,e),mn(5,e,e.return));break;case 1:Ct(t,e,l),Tt(e),a&512&&(Me||n===null||yt(n,n.return)),a&64&&ct&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?t:l.concat(t))));break;case 26:if(u=sl,Ct(t,e,l),Tt(e),a&512&&(Me||n===null||yt(n,n.return)),a&4)if(a=n!==null?n.memoizedState:null,l=e.memoizedState,n===null)if(l===null)if(e.stateNode===null)if(ct)e.stateNode=qv(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,l=e.memoizedProps,a=u.ownerDocument||u;t:switch(t){case"title":n=a.getElementsByTagName("title")[0],(!n||n[yu]||n[dt]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=a.createElement(t),a.head.insertBefore(n,a.querySelector("head > title"))),gt(n,t,l),n[dt]=e,ut(n),t=n;break e;case"link":if(u=dy("link","href",a).get(t+(l.href||""))){for(s=0;s<u.length;s++)if(n=u[s],n.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&n.getAttribute("rel")===(l.rel==null?null:l.rel)&&n.getAttribute("title")===(l.title==null?null:l.title)&&n.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){u.splice(s,1);break t}}n=a.createElement(t),gt(n,t,l),a.head.appendChild(n);break;case"meta":if(u=dy("meta","content",a).get(t+(l.content||""))){for(s=0;s<u.length;s++)if(n=u[s],n.getAttribute("content")===(l.content==null?null:""+l.content)&&n.getAttribute("name")===(l.name==null?null:l.name)&&n.getAttribute("property")===(l.property==null?null:l.property)&&n.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&n.getAttribute("charset")===(l.charSet==null?null:l.charSet)){u.splice(s,1);break t}}n=a.createElement(t),gt(n,t,l),a.head.appendChild(n);break;default:throw Error(o(468,t))}n[dt]=e,ut(n),t=n}e.stateNode=t}else ct||qs(u,e.type,e.stateNode);else e.stateNode=fy(u,l,e.memoizedProps);else a!==l?(a===null?(t=n.stateNode,t===null||Me||t.parentNode.removeChild(t)):a.count--,l===null?ct||qs(u,e.type,e.stateNode):fy(u,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Ko(e,e.memoizedProps,n.memoizedProps);break;case 27:Ct(t,e,l),Tt(e),a&512&&(Me||n===null||yt(n,n.return)),n!==null&&a&4&&Ko(e,e.memoizedProps,n.memoizedProps);break;case 5:if(u=El,El=!1,Ct(t,e,l),El=u,Tt(e),a&512&&(Me||n===null||yt(n,n.return)),e.flags&32){t=e.stateNode;try{ba(t,""),Re=!0}catch(j){He(e,e.return,j)}}a&4&&e.stateNode!=null&&(t=e.memoizedProps,Ko(e,t,n!==null?n.memoizedProps:t)),a&1024&&(ts=!0);break;case 6:if(Ct(t,e,l),Tt(e),a&4){if(e.stateNode===null)throw Error(o(162));t=e.memoizedProps,l=e.stateNode;try{l.nodeValue=t,Re=!0}catch(j){He(e,e.return,j)}}break;case 3:if(Re=!1,Uc=null,u=sl,sl=Wu(t.containerInfo),Ct(t,e,l),sl=u,Tt(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{lu(t.containerInfo)}catch(j){He(e,e.return,j)}ts&&(ts=!1,iv(e)),Re=!1;break;case 4:a=El,El=ct,n=_d(),u=sl,sl=Wu(e.stateNode.containerInfo),Ct(t,e,l),Tt(e),sl=u,Re&&Xu&&(pc=!0),Re=n,El=a;break;case 12:Ct(t,e,l),Tt(e);break;case 31:Ct(t,e,l),Tt(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,xc(e,t)));break;case 13:Ct(t,e,l),Tt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Nc=Ut()),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,xc(e,t)));break;case 22:u=e.memoizedState!==null,s=n!==null&&n.memoizedState!==null;var h=ct,x=Me,O=El;ct=h||u,El=O||u,Me=x||s,Ct(t,e,l),Me=x,El=O,ct=h,Tt(e),a&8192&&(t=e.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,!u||n===null||s||ct||Me||(t=s||Me,l=ct,n=Me,ct=u||ct,Me=t,hn(e,2),ct=l,Me=n),!u&&El||ns(e,u)),a&4&&(t=e.updateQueue,t!==null&&(l=t.retryQueue,l!==null&&(t.retryQueue=null,xc(e,l))));break;case 19:Ct(t,e,l),Tt(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,xc(e,t)));break;case 30:a&512&&(Me||n===null||yt(n,n.return)),a=_d(),u=Xu,s=(l&335544064)===l,h=e.memoizedProps,Xu=s&&Ml(h.default,h.update)!=="none",Ct(t,e,l),Tt(e),s&&n!==null&&Re&&(e.flags|=4),Xu=u,Re=a;break;case 21:break;case 7:a&512&&(Me||n===null||yt(n,n.return)),n&&n.stateNode!==null&&(n.stateNode._fragmentFiber=e);default:Ct(t,e,l),Tt(e)}}function Tt(e){var t=e.flags;if(t&2){try{for(var l,n=e.return;n!==null;){if(Xh(n)){l=n;break}n=n.return}n=null;for(var a=e.return;a!==null;){if(Qo(a)){var u=a.stateNode;n===null?n=[u]:n.push(u)}if(Xo(a))break;a=a.return}var s=n;if(l==null)throw Error(o(160));switch(l.tag){case 27:var h=l.stateNode,x=Jo(e);hc(e,x,h,s);break;case 5:var O=l.stateNode;l.flags&32&&(ba(O,""),l.flags&=-33);var j=Jo(e);hc(e,j,O,s);break;case 3:case 4:var Y=l.stateNode.containerInfo,_=Jo(e);Io(e,_,Y,s);break;default:throw Error(o(161))}}catch(R){He(e,e.return,R)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function iv(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;iv(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,tu=!0,t.reset(),tu=!1),e=e.sibling}}function ka(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)cv(t,e),t=t.sibling;else $h(t)}function cv(e,t){var l=e.alternate;if(l===null)Fo(e,!1);else switch(e.tag){case 3:if(ls=Nl=!1,Kh(),ka(t,e),!Nl&&!pc){if(e=xl,e!==null)for(var n=0;n<e.length;n+=3){l=e[n];var a=e[n+1];Jv(l,e[n+2]),l=l.ownerDocument.documentElement,l!==null&&l.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+a+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),ls=!0}xl=null;break;case 5:ka(t,e);break;case 4:n=Nl,Nl=!1,ka(t,e),Nl&&(pc=!0),Nl=n;break;case 22:e.memoizedState===null&&(l.memoizedState!==null?Fo(e,!1):ka(t,e));break;case 30:n=Nl,a=Kh(),Nl=!1,ka(t,e),Nl&&(e.flags|=4);var u=e.memoizedProps,s=e.stateNode;t=Dl(u,s),s=Dl(l.memoizedProps,s);var h=Ml(u.default,u.update);h==="none"?t=!1:(u=l.memoizedState,l.memoizedState=null,l=e.child,Ot=0,t=es(e,l,t,s,h,u,!0),Ot!==(u===null?0:u.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(Qa(e,e.memoizedProps.onUpdate),xl=a):a!==null&&(a.push.apply(a,xl),xl=a),Nl=(e.flags&32)!==0?!0:n;break;default:ka(t,e)}}function Cl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Wh(e,t.alternate,t),t=t.sibling}function hn(e,t){for(e=e.child;e!==null;){var l=e,n=t;switch(l.tag){case 0:case 11:case 14:case 15:mn(4,l,l.return),hn(l,n);break;case 1:yt(l,l.return);var a=l.stateNode;typeof a.componentWillUnmount=="function"&&qh(l,l.return,a),hn(l,n);break;case 27:(n&2)!==0&&iy(l.stateNode,l.type,l.memoizedProps);case 5:yt(l,l.return),l.tag!==5&&l.tag!==27||Vu(l),hn(l,n);break;case 6:Vu(l);break;case 26:yt(l,l.return),a=l.stateNode,l.memoizedState!==null||a===null||Me||a.parentNode.removeChild(a),hn(l,n);break;case 22:l.memoizedState===null&&hn(l,n);break;case 30:yt(l,l.return),hn(l,n);break;case 7:yt(l,l.return);default:hn(l,n)}e=e.sibling}}function fl(e,t,l){for(l=(t.subtreeFlags&8772)!==0?l:l&-2,t=t.child;t!==null;){var n=t.alternate,a=e,u=t,s=u.flags,h=(l&1)!==0;switch(u.tag){case 0:case 11:case 15:fl(a,u,l),qu(4,u);break;case 1:if(fl(a,u,l),n=u,a=n.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(j){He(n,n.return,j)}if(n=u,a=n.updateQueue,a!==null){var x=n.stateNode;try{var O=a.shared.hiddenCallbacks;if(O!==null)for(a.shared.hiddenCallbacks=null,a=0;a<O.length;a++)Am(O[a],x)}catch(j){He(n,n.return,j)}}h&&s&64&&Yh(u),bl(u,u.return);break;case 27:(l&2)!==0&&Qh(u);case 5:u.tag!==5&&u.tag!==27||Vh(u),fl(a,u,l),h&&n===null&&s&4&&Zo(u),bl(u,u.return);break;case 6:Vh(u);break;case 26:x=u.stateNode,u.memoizedState!==null||x===null||ct||qs(Wu(x.ownerDocument),u.type,x),fl(a,u,l),h&&n===null&&s&4&&Zo(u),bl(u,u.return);break;case 12:fl(a,u,l);break;case 31:fl(a,u,l),h&&s&4&&nv(a,u);break;case 13:fl(a,u,l),h&&s&4&&av(a,u);break;case 22:u.memoizedState===null&&fl(a,u,l),bl(u,u.return);break;case 30:fl(a,u,l),bl(u,u.return);break;case 7:bl(u,u.return);default:fl(a,u,l)}t=t.sibling}}function us(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&Au(l))}function is(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Au(e))}function el(e,t,l,n){var a=(l&335544064)===l;if(t.subtreeFlags&(a?10262:10256))for(t=t.child;t!==null;)rv(e,t,l,n),t=t.sibling;else a&&Fh(t)}function rv(e,t,l,n){var a=(l&335544064)===l;a&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&gc(t);var u=t.flags;switch(t.tag){case 0:case 11:case 15:el(e,t,l,n),u&2048&&qu(9,t);break;case 1:el(e,t,l,n);break;case 3:el(e,t,l,n),a&&ls&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),u&2048&&(u=null,t.alternate!==null&&(u=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==u&&(t.refCount++,u!=null&&Au(u)));break;case 12:if(u&2048){el(e,t,l,n),u=t.stateNode;try{var s=t.memoizedProps,h=s.id,x=s.onPostCommit;typeof x=="function"&&x(h,t.alternate===null?"mount":"update",u.passiveEffectDuration,-0)}catch(O){He(t,t.return,O)}}else el(e,t,l,n);break;case 31:el(e,t,l,n);break;case 13:el(e,t,l,n);break;case 23:break;case 22:s=t.stateNode,h=t.alternate,t.memoizedState!==null?(a&&h!==null&&h.memoizedState===null&&gc(h),s._visibility&2?el(e,t,l,n):Qu(e,t)):(a&&h!==null&&h.memoizedState!==null&&gc(t),s._visibility&2?el(e,t,l,n):(s._visibility|=2,La(e,t,l,n,(t.subtreeFlags&10256)!==0||!1))),u&2048&&us(h,t);break;case 24:el(e,t,l,n),u&2048&&is(t.alternate,t);break;case 30:a&&(u=t.alternate,u!==null&&(Sl(u.child,!0),Sl(t.child,!0))),el(e,t,l,n);break;default:el(e,t,l,n)}}function La(e,t,l,n,a){for(a=a&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,s=t,h=l,x=n,O=s.flags;switch(s.tag){case 0:case 11:case 15:La(u,s,h,x,a),qu(8,s);break;case 23:break;case 22:var j=s.stateNode;s.memoizedState!==null?j._visibility&2?La(u,s,h,x,a):Qu(u,s):(j._visibility|=2,La(u,s,h,x,a)),a&&O&2048&&us(s.alternate,s);break;case 24:La(u,s,h,x,a),a&&O&2048&&is(s.alternate,s);break;default:La(u,s,h,x,a)}t=t.sibling}}function Qu(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,n=t,a=n.flags;switch(n.tag){case 22:Qu(l,n),a&2048&&us(n.alternate,n);break;case 24:Qu(l,n),a&2048&&is(n.alternate,n);break;default:Qu(l,n)}t=t.sibling}}var Pn=8192;function Wn(e,t,l){if(e.subtreeFlags&Pn)for(e=e.child;e!==null;)ov(e,t,l),e=e.sibling}function ov(e,t,l){switch(e.tag){case 26:Wn(e,t,l),e.flags&Pn&&(e.memoizedState!==null?fx(l,sl,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&yy(l,e)));break;case 5:Wn(e,t,l),e.flags&Pn&&(e=e.stateNode,(t&335544128)===t&&yy(l,e));break;case 3:case 4:var n=sl;sl=Wu(e.stateNode.containerInfo),Wn(e,t,l),sl=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Pn,Pn=16777216,Wn(e,t,l),Pn=n):Wn(e,t,l));break;case 30:if((e.flags&Pn)!==0&&(n=e.memoizedProps.name,n!=null&&n!=="auto")){var a=e.stateNode;a.paired=null,Yt===null&&(Yt=new Map),Yt.set(n,a)}Wn(e,t,l);break;default:Wn(e,t,l)}}function sv(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Zu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var n=t[l];rt=n,dv(n,e)}sv(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)fv(e),e=e.sibling}function fv(e){switch(e.tag){case 0:case 11:case 15:Zu(e),e.flags&2048&&mn(9,e,e.return);break;case 3:Zu(e);break;case 12:Zu(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Sc(e)):Zu(e);break;default:Zu(e)}}function Sc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var n=t[l];rt=n,dv(n,e)}sv(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:mn(8,t,t.return),Sc(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,Sc(t));break;default:Sc(t)}e=e.sibling}}function dv(e,t){for(;rt!==null;){var l=rt;switch(l.tag){case 0:case 11:case 15:mn(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Au(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,rt=n;else e:for(l=e;rt!==null;){n=rt;var a=n.sibling,u=n.return;if(tv(n),n===l){rt=null;break e}if(a!==null){a.return=u,rt=a;break e}rt=u}}}var i1={getCacheForType:function(e){var t=mt($e),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return mt($e).controller.signal}},c1=typeof WeakMap=="function"?WeakMap:Map,De=0,Le=null,Te=null,we=0,Ue=0,qt=null,vn=!1,Ga=!1,cs=!1,Vl=0,Je=0,yn=0,ea=0,Ec=0,Vt=0,Ya=0,Ku=null,zt=null,rs=!1,Nc=0,mv=0,Cc=1/0,Tc=null,gn=null,Qe=0,dl=null,ta=null,Tl=0,os=0,ss=null,hv=null,qa=null,Va=null,Xa=null,Ju=0,_c=null;function Xt(){return(De&2)!==0&&we!==0?we&-we:ae.T!==null?xs():gd()}function vv(){if(Vt===0)if((we&536870912)===0||Ee){var e=xi;xi<<=1,(xi&3932160)===0&&(xi=262144),Vt=e}else Vt=536870912;return e=ht.current,e!==null&&(e.flags|=32),Vt}function Qa(e,t){if(t!=null){var l=e.stateNode,n=l.ref;n===null&&(n=l.ref=Iv(Dl(e.memoizedProps,l))),Va===null&&(Va=[]),Va.push(t.bind(null,n))}}function Rt(e,t,l){(e===Le&&(Ue===2||Ue===9)||e.cancelPendingCommit!==null)&&(Za(e,0),pn(e,we,Vt,!1)),vu(e,l),((De&2)===0||e!==Le)&&(e===Le&&((De&2)===0&&(ea|=l),Je===4&&pn(e,we,Vt,!1)),_l(e))}function yv(e,t,l){if((De&6)!==0)throw Error(o(327));var n=!l&&(t&127)===0&&(t&e.expiredLanes)===0||hu(e,t),a=n?s1(e,t):ds(e,t,!0),u=n;do{if(a===0){Ga&&!n&&pn(e,t,0,!1);break}else{if(l=e.current.alternate,u&&!r1(l)){a=ds(e,t,!1),u=!1;continue}if(a===2){if(u=t,e.errorRecoveryDisabledLanes&u)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var h=e;a=Ku;var x=h.current.memoizedState.isDehydrated;if(x&&(Za(h,s).flags|=256),s=ds(h,s,!1),s!==2&&s!==6){if(cs&&!x){h.errorRecoveryDisabledLanes|=u,ea|=u,a=4;break e}u=zt,zt=a,u!==null&&(zt===null?zt=u:zt.push.apply(zt,u))}a=s}if(u=!1,a!==2)continue}}if(a===1){Za(e,0),pn(e,t,0,!0);break}e:{switch(n=e,u=a,u){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:pn(n,t,Vt,!vn);break e;case 2:zt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(a=Nc+300-Ut(),10<a)){if(pn(n,t,Vt,!vn),Ei(n,0,!0)!==0)break e;Tl=t,n.timeoutHandle=Rs(gv.bind(null,n,l,zt,Tc,rs,t,Vt,ea,Ya,vn,u,"Throttled",-0,0),a);break e}gv(n,l,zt,Tc,rs,t,Vt,ea,Ya,vn,u,null,-0,0)}}break}while(!0);_l(e)}function gv(e,t,l,n,a,u,s,h,x,O,j,Y,_,R){e.timeoutHandle=-1;var $=t.subtreeFlags,ue=(u&335544064)===u;if(Y=null,(ue||$&8192||($&16785408)===16785408)&&(Y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:yl},Yt=null,ov(t,u,Y),ue&&($=Y,ue=e.containerInfo,ue=(ue.nodeType===9?ue:ue.ownerDocument).__reactViewTransition,ue!=null&&($.count++,$.waitingForViewTransition=!0,$=li.bind($),ue.finished.then($,$))),$=(u&62914560)===u?Nc-Ut():(u&4194048)===u?mv-Ut():0,$=dx(Y,$),$!==null)){Tl=u,e.cancelPendingCommit=$(Tv.bind(null,e,t,u,l,n,a,s,h,x,O,j,Y,null,_,R)),pn(e,u,s,!O);return}Tv(e,t,u,l,n,a,s,h,x,O,j,Y)}function r1(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var n=0;n<l.length;n++){var a=l[n],u=a.getSnapshot;a=a.value;try{if(!Lt(u(),a))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function pn(e,t,l,n){t=dd(e,t),t&=~Ec,t&=~ea,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var a=t;0<a;){var u=31-Bt(a),s=1<<u;n[u]=-1,a&=~s}l!==0&&hd(e,l,t)}function wc(){return(De&6)===0?(Iu(0),!1):!0}function fs(){if(Te!==null){if(Ue===0)var e=Te.return;else e=Te,Bl=qn=null,bo(e),ja=null,ju=0,e=Te;for(;e!==null;)Gh(e.alternate,e),e=e.return;Te=null}}function Za(e,t){var l=e.timeoutHandle;return l!==-1&&(e.timeoutHandle=-1,j1(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Tl=0,fs(),Le=e,Te=l=Ul(e.current,null),we=t,Ue=0,qt=null,vn=!1,Ga=hu(e,t),cs=!1,Ya=Vt=Ec=ea=yn=Je=0,zt=Ku=null,rs=!1,Vl=dd(e,t),Ui(),l}function pv(e,t){pe=null,ae.H=ic,t===Ra||t===Zi?(t=Tm(),Ue=3):t===uo?(t=Tm(),Ue=4):Ue=t===Mo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,qt=t,Te===null&&(Je=1,cc(e,Ft(t,e.current)))}function bv(){var e=ht.current;return e===null?!0:(we&4194048)===we?St===null:(we&62914560)===we||(we&536870912)!==0?e===St:!1}function xv(){var e=ae.H;return ae.H=ic,e===null?ic:e}function Sv(){var e=ae.A;return ae.A=i1,e}function Oc(){Je=4,vn||(we&4194048)!==we&&ht.current!==null||(Ga=!0),(yn&134217727)===0&&(ea&134217727)===0||Le===null||pn(Le,we,Vt,!1)}function ds(e,t,l){var n=De;De|=2;var a=xv(),u=Sv();(Le!==e||we!==t)&&(Tc=null,Za(e,t)),t=!1;var s=Je;e:do try{if(Ue!==0&&Te!==null){var h=Te,x=qt;switch(Ue){case 8:fs(),s=6;break e;case 3:case 2:case 9:case 6:ht.current===null&&(t=!0);var O=Ue;if(Ue=0,qt=null,Ka(e,h,x,O),l&&Ga){s=0;break e}break;default:O=Ue,Ue=0,qt=null,Ka(e,h,x,O)}}o1(),s=Je;break}catch(j){pv(e,j)}while(!0);return t&&e.shellSuspendCounter++,Bl=qn=null,De=n,ae.H=a,ae.A=u,Te===null&&(Le=null,we=0,Ui()),s}function o1(){for(;Te!==null;)Ev(Te)}function s1(e,t){var l=De;De|=2;var n=xv(),a=Sv();Le!==e||we!==t?(Tc=null,Cc=Ut()+500,Za(e,t)):Ga=hu(e,t);e:do try{if(Ue!==0&&Te!==null){t=Te;var u=qt;t:switch(Ue){case 1:Ue=0,qt=null,Ka(e,t,u,1);break;case 2:case 9:if(Nm(u)){Ue=0,qt=null,Nv(t);break}t=function(){Ue!==2&&Ue!==9||Le!==e||(Ue=7),_l(e)},u.then(t,t);break e;case 3:Ue=7;break e;case 4:Ue=5;break e;case 7:Nm(u)?(Ue=0,qt=null,Nv(t)):(Ue=0,qt=null,Ka(e,t,u,7));break;case 5:var s=null;switch(Te.tag){case 26:s=Te.memoizedState;case 5:case 27:var h=Te;if(s?hy(s):h.stateNode.complete){Ue=0,qt=null;var x=h.sibling;if(x!==null)Te=x;else{var O=h.return;O!==null?(Te=O,Ac(O)):Te=null}break t}}Ue=0,qt=null,Ka(e,t,u,5);break;case 6:Ue=0,qt=null,Ka(e,t,u,6);break;case 8:fs(),Je=6;break e;default:throw Error(o(462))}}f1();break}catch(j){pv(e,j)}while(!0);return Bl=qn=null,ae.H=n,ae.A=a,De=l,Te!==null?0:(Le=null,we=0,Ui(),Je)}function f1(){for(;Te!==null&&!O0();)Ev(Te)}function Ev(e){var t=kh(e.alternate,e,Vl);e.memoizedProps=e.pendingProps,t===null?Ac(e):Te=t}function Nv(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Rh(l,t,t.pendingProps,t.type,void 0,we);break;case 11:t=Rh(l,t,t.pendingProps,t.type.render,t.ref,we);break;case 5:bo(t);var n=t;n===it&&(Ee?(Yi(n),n.tag===5&&n.stateNode!=null&&(Ye=n.stateNode)):(Yi(n),Ee=!0));default:Gh(l,t),t=Te=dm(t,Vl),t=kh(l,t,Vl)}e.memoizedProps=e.pendingProps,t===null?Ac(e):Te=t}function Ka(e,t,l,n){Bl=qn=null,bo(t),ja=null,ju=0;var a=t.return;try{if(Pb(e,a,t,l,we)){Je=1,cc(e,Ft(l,e.current)),Te=null;return}}catch(u){if(a!==null)throw Te=a,u;Je=1,cc(e,Ft(l,e.current)),Te=null;return}t.flags&32768?(Ee||n===1?e=!0:Ga||(we&536870912)!==0?e=!1:(vn=e=!0,(n===2||n===9||n===3||n===6)&&(n=ht.current,n!==null&&n.tag===13&&(n.flags|=16384))),Cv(t,e)):Ac(t)}function Ac(e){var t=e;do{if((t.flags&32768)!==0){Cv(t,vn);return}e=t.return;var l=l1(t.alternate,t,Vl);if(l!==null){Te=l;return}if(t=t.sibling,t!==null){Te=t;return}Te=t=e}while(t!==null);Je===0&&(Je=5)}function Cv(e,t){do{var l=n1(e.alternate,e);if(l!==null){l.flags&=32767,Te=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){Te=e;return}Te=e=l}while(e!==null);Je=6,Te=null}function Tv(e,t,l,n,a,u,s,h,x,O,j,Y){e.cancelPendingCommit=null;do zc();while(Qe!==0);if((De&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));e===Le&&(Te=Le=null,we=0),ta=t,dl=e,Tl=l,ss=a,hv=n,d1(e,t,l,s,h,x,Y)}}function d1(e,t,l,n,a,u,s){var h=t.lanes|t.childLanes;if(os=h,h|=Zr,k0(e,l,h,n,a,u),Va=null,(l&335544064)===l?(Xa=Gb(e),n=10262):(Xa=null,n=10256),(t.subtreeFlags&n)!==0||(t.flags&n)!==0?(e.callbackNode=null,e.callbackPriority=0,p1(pi,function(){return ys(),null})):(e.callbackNode=null,e.callbackPriority=0),vc=!1,n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=ae.T,ae.T=null,a=fe.p,fe.p=2,u=De,De|=4;try{a1(e,t,l)}finally{De=u,fe.p=a,ae.T=n}}Qe=1,vc?qa=k1(s,e.containerInfo,Xa,ms,hs,h1,vs,ys,m1):(ms(),hs(),vs())}function m1(e){if(Qe!==0){var t=dl.onRecoverableError;t(e,{componentStack:null})}}function h1(){Qe===3&&(Qe=0,cv(ta,dl),Qe=4)}function ms(){if(Qe===1){Qe=0;var e=dl,t=ta,l=Tl,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=ae.T,ae.T=null;var a=fe.p;fe.p=2;var u=De;De|=4;try{Xu=pc=!1,uv(t,e,l),l=Os;var s=lm(e.containerInfo),h=l.focusedElem,x=l.selectionRange;if(s!==h&&h&&h.ownerDocument&&tm(h.ownerDocument.documentElement,h)){if(x!==null&&Yr(h)){var O=x.start,j=x.end;if(j===void 0&&(j=O),"selectionStart"in h)h.selectionStart=O,h.selectionEnd=Math.min(j,h.value.length);else{var Y=h.ownerDocument||document,_=Y&&Y.defaultView||window;if(_.getSelection){var R=_.getSelection(),$=h.textContent.length,ue=Math.min(x.start,$),be=x.end===void 0?ue:Math.min(x.end,$);!R.extend&&ue>be&&(s=be,be=ue,ue=s);var w=em(h,ue),C=em(h,be);if(w&&C&&(R.rangeCount!==1||R.anchorNode!==w.node||R.anchorOffset!==w.offset||R.focusNode!==C.node||R.focusOffset!==C.offset)){var A=Y.createRange();A.setStart(w.node,w.offset),R.removeAllRanges(),ue>be?(R.addRange(A),R.extend(C.node,C.offset)):(A.setEnd(C.node,C.offset),R.addRange(A))}}}}for(Y=[],R=h;R=R.parentNode;)R.nodeType===1&&Y.push({element:R,left:R.scrollLeft,top:R.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<Y.length;h++){var L=Y[h];L.element.scrollLeft=L.left,L.element.scrollTop=L.top}}tu=!!ws,Os=ws=null}finally{De=u,fe.p=a,ae.T=n}}e.current=t,Qe=2}}function hs(){if(Qe===2){Qe=0;var e=dl,t=ta,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=ae.T,ae.T=null;var n=fe.p;fe.p=2;var a=De;De|=4;try{Wh(e,t.alternate,t)}finally{De=a,fe.p=n,ae.T=l}}Qe=3}}function vs(){if(Qe===4||Qe===3){Qe=0;var e=qa;qa=null,A0();var t=dl,l=ta,n=Tl,a=hv,u=(n&335544064)===n?10262:10256;if((l.subtreeFlags&u)!==0||(l.flags&u)!==0?Qe=5:(Qe=0,ta=dl=null,_v(t,t.pendingLanes)),u=t.pendingLanes,u===0&&(gn=null),Nr(n),l=l.stateNode,Ht&&typeof Ht.onCommitFiberRoot=="function")try{Ht.onCommitFiberRoot(mu,l,void 0,(l.current.flags&128)===128)}catch{}if(a!==null){l=ae.T,u=fe.p,fe.p=2,ae.T=null;try{for(var s=t.onRecoverableError,h=0;h<a.length;h++){var x=a[h];s(x.value,{componentStack:x.stack})}}finally{ae.T=l,fe.p=u}}if(a=Va,s=Xa,Xa=null,a!==null&&(Va=null,s===null&&(s=[]),e!==null))for(x=0;x<a.length;x++)l=(0,a[x])(s),l!==void 0&&e.finished.finally(l);(Tl&3)!==0&&zc(),_l(t),u=t.pendingLanes,(n&261930)!==0&&(u&42)!==0?t===_c?Ju++:(Ju=0,_c=t):(Ju=0,_c=null),Iu(0)}}function _v(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Au(t)))}function zc(){return qa!==null&&(qa.skipTransition(),qa=null),ms(),hs(),vs(),ys()}function ys(){if(Qe!==5)return!1;var e=dl,t=os;os=0;var l=Nr(Tl),n=ae.T,a=fe.p;try{fe.p=32>l?32:l,ae.T=null,l=ss,ss=null;var u=dl,s=Tl;if(Qe=0,ta=dl=null,Tl=0,(De&6)!==0)throw Error(o(331));var h=De;if(De|=4,fv(u.current),rv(u,u.current,s,l),De=h,Iu(0,!1),Ht&&typeof Ht.onPostCommitFiberRoot=="function")try{Ht.onPostCommitFiberRoot(mu,u)}catch{}return!0}finally{fe.p=a,ae.T=n,_v(e,t)}}function wv(e,t,l){t=Ft(l,t),t=Do(e.stateNode,t,2),e=on(e,t,2),e!==null&&(vu(e,2),_l(e))}function He(e,t,l){if(e.tag===3)wv(e,e,l);else for(;t!==null;){if(t.tag===3){wv(t,e,l);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(gn===null||!gn.has(n))){e=Ft(l,e),l=Nh(2),n=on(t,l,2),n!==null&&(Ch(l,n,t,e),vu(n,2),_l(n));break}}t=t.return}}function gs(e,t,l){var n=e.pingCache;if(n===null){n=e.pingCache=new c1;var a=new Set;n.set(t,a)}else a=n.get(t),a===void 0&&(a=new Set,n.set(t,a));a.has(l)||(cs=!0,a.add(l),e=v1.bind(null,e,t,l),t.then(e,e))}function v1(e,t,l){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Le===e&&(we&l)===l&&((Je===4||Je===3&&(we&62914560)===we&&300>Ut()-Nc)&&(De&2)===0?Za(e,0):Ec|=l,Ya===we&&(Ya=0)),_l(e)}function Ov(e,t){t===0&&(t=md()),e=Ln(e,t),e!==null&&(vu(e,t),_l(e))}function y1(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Ov(e,l)}function g1(e,t){var l=0;switch(e.tag){case 31:case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(l=a.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(o(314))}n!==null&&n.delete(t),Ov(e,l)}function p1(e,t){return br(e,t)}var Ja=null,Ia=null,ps=!1,Rc=!1,bs=!1,bn=0;function _l(e){e!==Ia&&e.next===null&&(Ia===null?Ja=Ia=e:Ia=Ia.next=e),Rc=!0,ps||(ps=!0,x1())}function Iu(e,t){if(!bs&&Rc){bs=!0;do for(var l=!1,n=Ja;n!==null;){if(e!==0){var a=n.pendingLanes;if(a===0)var u=0;else{var s=n.suspendedLanes,h=n.pingedLanes;u=(1<<31-Bt(42|e)+1)-1,u&=a&~(s&~h),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,jv(n,u))}else u=we,u=Ei(n,n===Le?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(u&3)===0||hu(n,u)||(l=!0,jv(n,u));n=n.next}while(l);bs=!1}}function b1(){Av()}function Av(){Rc=ps=!1;var e=0;bn!==0&&R1()&&(e=bn);for(var t=Ut(),l=null,n=Ja;n!==null;){var a=n.next,u=zv(n,t);u===0?(n.next=null,l===null?Ja=a:l.next=a,a===null&&(Ia=l)):(l=n,(e!==0||(u&3)!==0)&&(Rc=!0)),n=a}Qe!==0&&Qe!==5||Iu(e),bn!==0&&(bn=0)}function zv(e,t){for(var l=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var s=31-Bt(u),h=1<<s,x=a[s];x===-1?((h&l)===0||(h&n)!==0)&&(a[s]=B0(h,t)):x<=t&&(e.expiredLanes|=h),u&=~h}if(t=Le,l=we,l=Ei(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,l===0||e===t&&(Ue===2||Ue===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&xr(n),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||hu(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(n!==null&&xr(n),Nr(l)){case 2:case 8:l=sd;break;case 32:l=pi;break;case 268435456:l=fd;break;default:l=pi}return n=Rv.bind(null,e),l=br(l,n),e.callbackPriority=t,e.callbackNode=l,t}return n!==null&&n!==null&&xr(n),e.callbackPriority=2,e.callbackNode=null,2}function Rv(e,t){if(Qe!==0&&Qe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(zc()&&e.callbackNode!==l)return null;var n=we;return n=Ei(e,e===Le?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(yv(e,n,t),zv(e,Ut()),e.callbackNode!=null&&e.callbackNode===l?Rv.bind(null,e):null)}function jv(e,t){if(zc())return null;yv(e,t,!0)}function x1(){D1(function(){(De&6)!==0?br(od,b1):Av()})}function xs(){if(bn===0){var e=Qn;e===0&&(e=bi,bi<<=1,(bi&261888)===0&&(bi=256)),bn=e}return bn}function Dv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:wi(e)}function S1(e,t,l,n,a){if(t==="submit"&&l&&l.stateNode===a){var u=Dv((a[_t]||null).action),s=n.submitter;s&&(t=(t=s[_t]||null)?Dv(t.formAction):s.getAttribute("formAction"),t!==null&&(u=t,s=null));var h=new Ri("action","action",null,n,a);e.push({event:h,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(bn!==0){var x=new FormData(a,s);Oo(l,{pending:!0,data:x,method:a.method,action:u},null,x)}}else typeof u=="function"&&(h.preventDefault(),x=new FormData(a,s),Oo(l,{pending:!0,data:x,method:a.method,action:u},u,x))},currentTarget:a}]})}}for(var Ss=0;Ss<Qr.length;Ss++){var Es=Qr[Ss],E1=Es.toLowerCase(),N1=Es[0].toUpperCase()+Es.slice(1);rl(E1,"on"+N1)}rl(um,"onAnimationEnd"),rl(im,"onAnimationIteration"),rl(cm,"onAnimationStart"),rl("dblclick","onDoubleClick"),rl("focusin","onFocus"),rl("focusout","onBlur"),rl(jb,"onTransitionRun"),rl(Db,"onTransitionStart"),rl(Mb,"onTransitionCancel"),rl(rm,"onTransitionEnd"),ga("onMouseEnter",["mouseout","mouseover"]),ga("onMouseLeave",["mouseout","mouseover"]),ga("onPointerEnter",["pointerout","pointerover"]),ga("onPointerLeave",["pointerout","pointerover"]),Hn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Hn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Hn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Hn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Hn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Hn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fu="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(" "),C1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Fu));function Mv(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var n=e[l],a=n.event;n=n.listeners;e:{var u=void 0;if(t)for(var s=n.length-1;0<=s;s--){var h=n[s],x=h.instance,O=h.currentTarget;if(h=h.listener,x!==u&&a.isPropagationStopped())break e;u=h,a.currentTarget=O;try{u(a)}catch(j){Mi(j)}a.currentTarget=null,u=x}else for(s=0;s<n.length;s++){if(h=n[s],x=h.instance,O=h.currentTarget,h=h.listener,x!==u&&a.isPropagationStopped())break e;u=h,a.currentTarget=O;try{u(a)}catch(j){Mi(j)}a.currentTarget=null,u=x}}}}function _e(e,t){var l=t[bd];l===void 0&&(l=t[bd]=new Set);var n=e+"__bubble";l.has(n)||(Uv(t,e,2,!1),l.add(n))}function Ns(e,t,l){var n=0;t&&(n|=4),Uv(l,e,n,t)}var jc="_reactListening"+Math.random().toString(36).slice(2);function Cs(e){if(!e[jc]){e[jc]=!0,Ed.forEach(function(l){l!=="selectionchange"&&(C1.has(l)||Ns(l,!1,e),Ns(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[jc]||(t[jc]=!0,Ns("selectionchange",!1,t))}}function Uv(e,t,l,n){switch(Cy(t)){case 2:var a=yx;break;case 8:a=gx;break;default:a=Xs}l=a.bind(null,t,l,e),a=void 0,!Rr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(a=!0),n?a!==void 0?e.addEventListener(t,l,{capture:!0,passive:a}):e.addEventListener(t,l,!0):a!==void 0?e.addEventListener(t,l,{passive:a}):e.addEventListener(t,l,!1)}function Ts(e,t,l,n,a){var u=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var s=n.tag;if(s===3||s===4){var h=n.stateNode.containerInfo;if(h===a)break;if(s===4)for(s=n.return;s!==null;){var x=s.tag;if((x===3||x===4)&&s.stateNode.containerInfo===a)return;s=s.return}for(;h!==null;){if(s=Un(h),s===null)return;if(x=s.tag,x===5||x===6||x===26||x===27){n=u=s;continue e}h=h.parentNode}}n=n.return}Ud(function(){var O=u,j=Ar(l),Y=[];e:{var _=om.get(e);if(_!==void 0){var R=Ri,$=e;switch(e){case"keypress":if(Ai(l)===0)break e;case"keydown":case"keyup":R=rb;break;case"focusin":$="focus",R=Ur;break;case"focusout":$="blur",R=Ur;break;case"beforeblur":case"afterblur":R=Ur;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":R=kd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=F0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=mb;break;case um:case im:case cm:R=W0;break;case rm:R=vb;break;case"scroll":case"scrollend":R=J0;break;case"wheel":R=gb;break;case"copy":case"cut":case"paste":R=tb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=Gd;break;case"submit":R=fb;break;case"toggle":case"beforetoggle":R=bb}var ue=(t&4)!==0,be=!ue&&(e==="scroll"||e==="scrollend"),w=ue?_!==null?_+"Capture":null:_;ue=[];for(var C=O,A;C!==null;){var L=C;if(A=L.stateNode,L=L.tag,L!==5&&L!==26&&L!==27||A===null||w===null||(L=pu(C,w),L!=null&&ue.push($u(C,L,A))),be)break;C=C.return}0<ue.length&&(_=new R(_,$,null,l,j),Y.push({event:_,listeners:ue}))}}if((t&7)===0){e:{if(R=e==="mouseover"||e==="pointerover",_=e==="mouseout"||e==="pointerout",R&&l!==Or&&($=l.relatedTarget||l.fromElement)&&(Un($)||$[ha]))break e;(_||R)&&($=j.window===j?j:(R=j.ownerDocument)?R.defaultView||R.parentWindow:window,_?(R=l.relatedTarget||l.toElement,_=O,R=R?Un(R):null,R!==null&&(be=m(R),ue=R.tag,R!==be||ue!==5&&ue!==27&&ue!==6)&&(R=null)):(_=null,R=O),_!==R&&(ue=kd,L="onMouseLeave",w="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(ue=Gd,L="onPointerLeave",w="onPointerEnter",C="pointer"),be=_==null?$:gu(_),A=R==null?$:gu(R),$=new ue(L,C+"leave",_,l,j),$.target=be,$.relatedTarget=A,L=null,Un(j)===O&&(ue=new ue(w,C+"enter",R,l,j),ue.target=A,ue.relatedTarget=be,L=ue),be=L,ue=_&&R?G(_,R,T1):null,_!==null&&Hv(Y,$,_,ue,!1),R!==null&&be!==null&&Hv(Y,be,R,ue,!0)))}e:{if(_=O?gu(O):window,R=_.nodeName&&_.nodeName.toLowerCase(),R==="select"||R==="input"&&_.type==="file")var ee=Jd;else if(Zd(_))if(Id)ee=Ab;else{ee=wb;var Oe=_b}else R=_.nodeName,!R||R.toLowerCase()!=="input"||_.type!=="checkbox"&&_.type!=="radio"?O&&wr(O.elementType)&&(ee=Jd):ee=Ob;if(ee&&(ee=ee(e,O))){Kd(Y,ee,l,j);break e}Oe&&Oe(e,_,O)}switch(Oe=O?gu(O):window,e){case"focusin":(Zd(Oe)||Oe.contentEditable==="true")&&(Na=Oe,qr=O,_u=null);break;case"focusout":_u=qr=Na=null;break;case"mousedown":Vr=!0;break;case"contextmenu":case"mouseup":case"dragend":Vr=!1,nm(Y,l,j);break;case"selectionchange":if(Rb)break;case"keydown":case"keyup":nm(Y,l,j)}var oe;if(Br)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else Ea?Xd(e,l)&&(me="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(me="onCompositionStart");me&&(Yd&&l.locale!=="ko"&&(Ea||me!=="onCompositionStart"?me==="onCompositionEnd"&&Ea&&(oe=Hd()):(Wl=j,jr="value"in Wl?Wl.value:Wl.textContent,Ea=!0)),Oe=Dc(O,me),0<Oe.length&&(me=new Ld(me,e,null,l,j),Y.push({event:me,listeners:Oe}),oe?me.data=oe:(oe=Qd(l),oe!==null&&(me.data=oe)))),(oe=Sb?Eb(e,l):Nb(e,l))&&(me=Dc(O,"onBeforeInput"),0<me.length&&(Oe=new Ld("onBeforeInput","beforeinput",null,l,j),Y.push({event:Oe,listeners:me}),Oe.data=oe)),S1(Y,e,O,l,j)}Mv(Y,t)})}function $u(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Dc(e,t){for(var l=t+"Capture",n=[];e!==null;){var a=e,u=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||u===null||(a=pu(e,l),a!=null&&n.unshift($u(e,a,u)),a=pu(e,t),a!=null&&n.push($u(e,a,u))),e.tag===3)return n;e=e.return}return[]}function T1(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Hv(e,t,l,n,a){for(var u=t._reactName,s=[];l!==null&&l!==n;){var h=l,x=h.alternate,O=h.stateNode;if(h=h.tag,x!==null&&x===n)break;h!==5&&h!==26&&h!==27||O===null||(x=O,a?(O=pu(l,u),O!=null&&s.unshift($u(l,O,x))):a||(O=pu(l,u),O!=null&&s.push($u(l,O,x)))),l=l.return}s.length!==0&&e.push({event:t,listeners:s})}var _1=/\r\n?/g,w1=/\u0000|\uFFFD/g;function Bv(e){return(typeof e=="string"?e:""+e).replace(_1,`
|
||
`).replace(w1,"")}function kv(e,t){return t=Bv(t),Bv(e)===t}function Be(e,t,l,n,a,u){switch(l){case"children":if(typeof n=="string")t==="body"||t==="textarea"&&n===""||ba(e,n);else if(typeof n=="number"||typeof n=="bigint")t!=="body"&&ba(e,""+n);else return;break;case"className":_i(e,"class",n);break;case"tabIndex":_i(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":_i(e,l,n);break;case"style":Dd(e,n,u);return;case"data":if(t!=="object"){_i(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=wi(n),e.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(t!=="input"&&Be(e,t,"name",a.name,a,null),Be(e,t,"formEncType",a.formEncType,a,null),Be(e,t,"formMethod",a.formMethod,a,null),Be(e,t,"formTarget",a.formTarget,a,null)):(Be(e,t,"encType",a.encType,a,null),Be(e,t,"method",a.method,a,null),Be(e,t,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=wi(n),e.setAttribute(l,n);break;case"onClick":n!=null&&(e.onclick=yl);return;case"onScroll":n!=null&&_e("scroll",e);return;case"onScrollEnd":n!=null&&_e("scrollend",e);return;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(o(60));(u!=null?u.__html:void 0)!==l&&(e.innerHTML=l)}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}l=wi(n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,n):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":n===!0?e.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,n):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(l,n):e.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(l):e.setAttribute(l,n);break;case"popover":_e("beforetoggle",e),_e("toggle",e),Ti(e,"popover",n);break;case"xlinkActuate":Rl(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":Rl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":Rl(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":Rl(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":Rl(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":Rl(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":Rl(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":Rl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":Rl(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":Ti(e,"is",n);break;case"innerText":case"textContent":return;default:if(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")l=Z0.get(l)||l,Ti(e,l,n);else return}Re=!0}function _s(e,t,l,n,a,u){switch(l){case"style":Dd(e,n,u);return;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(o(60));(u!=null?u.__html:void 0)!==l&&(e.innerHTML=l)}}break;case"children":if(typeof n=="string")ba(e,n);else if(typeof n=="number"||typeof n=="bigint")ba(e,""+n);else return;break;case"onScroll":n!=null&&_e("scroll",e);return;case"onScrollEnd":n!=null&&_e("scrollend",e);return;case"onClick":n!=null&&(e.onclick=yl);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!Nd.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(a=l.endsWith("Capture"),u=l.slice(2,a?l.length-7:void 0),t=e[_t]||null,t=t!=null?t[l]:null,typeof t=="function"&&e.removeEventListener(u,t,a),typeof n=="function")){typeof t!="function"&&t!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(u,n,a);break e}Re=!0,l in e?e[l]=n:n===!0?e.setAttribute(l,""):Ti(e,l,n)}return}Re=!0}function gt(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_e("error",e),_e("load",e);var n=!1,a=!1,u;for(u in l)if(l.hasOwnProperty(u)){var s=l[u];if(s!=null)switch(u){case"src":n=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Be(e,t,u,s,l,null)}}a&&Be(e,t,"srcSet",l.srcSet,l,null),n&&Be(e,t,"src",l.src,l,null);return;case"input":_e("invalid",e);var h=u=s=a=null,x=null,O=null;for(n in l)if(l.hasOwnProperty(n)){var j=l[n];if(j!=null)switch(n){case"name":a=j;break;case"type":s=j;break;case"checked":x=j;break;case"defaultChecked":O=j;break;case"value":u=j;break;case"defaultValue":h=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(o(137,t));break;default:Be(e,t,n,j,l,null)}}Ad(e,u,h,x,O,s,a,!1);return;case"select":_e("invalid",e),n=s=u=null;for(a in l)if(l.hasOwnProperty(a)&&(h=l[a],h!=null))switch(a){case"value":u=h;break;case"defaultValue":s=h;break;case"multiple":n=h;default:Be(e,t,a,h,l,null)}t=u,l=s,e.multiple=!!n,t!=null?pa(e,!!n,t,!1):l!=null&&pa(e,!!n,l,!0);return;case"textarea":_e("invalid",e),u=a=n=null;for(s in l)if(l.hasOwnProperty(s)&&(h=l[s],h!=null))switch(s){case"value":n=h;break;case"defaultValue":a=h;break;case"children":u=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(o(91));break;default:Be(e,t,s,h,l,null)}Rd(e,n,a,u);return;case"option":for(x in l)if(l.hasOwnProperty(x)&&(n=l[x],n!=null))switch(x){case"selected":e.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:Be(e,t,x,n,l,null)}return;case"dialog":_e("beforetoggle",e),_e("toggle",e),_e("cancel",e),_e("close",e);break;case"iframe":case"object":_e("load",e);break;case"video":case"audio":for(n=0;n<Fu.length;n++)_e(Fu[n],e);break;case"image":_e("error",e),_e("load",e);break;case"details":_e("toggle",e);break;case"embed":case"source":case"link":_e("error",e),_e("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(O in l)if(l.hasOwnProperty(O)&&(n=l[O],n!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Be(e,t,O,n,l,null)}return;default:if(wr(t)){for(j in l)l.hasOwnProperty(j)&&(n=l[j],n!==void 0&&_s(e,t,j,n,l,void 0));return}}for(h in l)l.hasOwnProperty(h)&&(n=l[h],n!=null&&Be(e,t,h,n,l,null))}var O1={};function A1(e,t,l,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,u=null,s=null,h=null,x=null,O=null,j=null;for(R in l){var Y=l[R];if(l.hasOwnProperty(R)&&Y!=null)switch(R){case"checked":break;case"value":break;case"defaultValue":x=Y;default:n.hasOwnProperty(R)||Be(e,t,R,null,n,Y)}}for(var _ in n){var R=n[_];if(Y=l[_],n.hasOwnProperty(_)&&(R!=null||Y!=null))switch(_){case"type":R!==Y&&(Re=!0),u=R;break;case"name":R!==Y&&(Re=!0),a=R;break;case"checked":R!==Y&&(Re=!0),O=R;break;case"defaultChecked":R!==Y&&(Re=!0),j=R;break;case"value":R!==Y&&(Re=!0),s=R;break;case"defaultValue":R!==Y&&(Re=!0),h=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(o(137,t));break;default:R!==Y&&Be(e,t,_,R,n,Y)}}Tr(e,s,h,x,O,j,u,a);return;case"select":R=s=h=_=null;for(u in l)if(x=l[u],l.hasOwnProperty(u)&&x!=null)switch(u){case"value":break;case"multiple":R=x;default:n.hasOwnProperty(u)||Be(e,t,u,null,n,x)}for(a in n)if(u=n[a],x=l[a],n.hasOwnProperty(a)&&(u!=null||x!=null))switch(a){case"value":u!==x&&(Re=!0),_=u;break;case"defaultValue":u!==x&&(Re=!0),h=u;break;case"multiple":u!==x&&(Re=!0),s=u;default:u!==x&&Be(e,t,a,u,n,x)}t=h,l=s,n=R,_!=null?pa(e,!!l,_,!1):!!n!=!!l&&(t!=null?pa(e,!!l,t,!0):pa(e,!!l,l?[]:"",!1));return;case"textarea":R=_=null;for(h in l)if(a=l[h],l.hasOwnProperty(h)&&a!=null&&!n.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:Be(e,t,h,null,n,a)}for(s in n)if(a=n[s],u=l[s],n.hasOwnProperty(s)&&(a!=null||u!=null))switch(s){case"value":a!==u&&(Re=!0),_=a;break;case"defaultValue":a!==u&&(Re=!0),R=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(o(91));break;default:a!==u&&Be(e,t,s,a,n,u)}zd(e,_,R);return;case"option":for(var $ in l)if(_=l[$],l.hasOwnProperty($)&&_!=null&&!n.hasOwnProperty($))switch($){case"selected":e.selected=!1;break;default:Be(e,t,$,null,n,_)}for(x in n)if(_=n[x],R=l[x],n.hasOwnProperty(x)&&_!==R&&(_!=null||R!=null))switch(x){case"selected":_!==R&&(Re=!0),e.selected=_&&typeof _!="function"&&typeof _!="symbol";break;default:Be(e,t,x,_,n,R)}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 ue in l)_=l[ue],l.hasOwnProperty(ue)&&_!=null&&!n.hasOwnProperty(ue)&&Be(e,t,ue,null,n,_);for(O in n)if(_=n[O],R=l[O],n.hasOwnProperty(O)&&_!==R&&(_!=null||R!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(o(137,t));break;default:Be(e,t,O,_,n,R)}return;default:if(wr(t)){for(var be in l)_=l[be],l.hasOwnProperty(be)&&_!==void 0&&!n.hasOwnProperty(be)&&_s(e,t,be,void 0,n,_);for(j in n)_=n[j],R=l[j],!n.hasOwnProperty(j)||_===R||_===void 0&&R===void 0||_s(e,t,j,_,n,R);return}}for(var w in l)_=l[w],l.hasOwnProperty(w)&&_!=null&&!n.hasOwnProperty(w)&&Be(e,t,w,null,n,_);for(Y in n)_=n[Y],R=l[Y],!n.hasOwnProperty(Y)||_===R||_==null&&R==null||Be(e,t,Y,_,n,R)}function Lv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function z1(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var a=l[n],u=a.transferSize,s=a.initiatorType,h=a.duration;if(u&&h&&Lv(s)){for(s=0,h=a.responseEnd,n+=1;n<l.length;n++){var x=l[n],O=x.startTime;if(O>h)break;var j=x.transferSize,Y=x.initiatorType;j&&Lv(Y)&&(x=x.responseEnd,s+=j*(x<h?1:(h-O)/(x-O)))}if(--n,t+=8*(u+s)/(a.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var ws=null,Os=null;function Pu(e){return e.nodeType===9?e:e.ownerDocument}function Gv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Yv(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function qv(e,t,l,n){return l=Pu(l).createElement(e),l[dt]=n,l[_t]=t,gt(l,e,t),ut(l),l}function As(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var zs=null;function R1(){var e=window.event;return e&&e.type==="popstate"?e===zs?!1:(zs=e,!0):(zs=null,!1)}var Rs=typeof setTimeout=="function"?setTimeout:void 0,j1=typeof clearTimeout=="function"?clearTimeout:void 0,Vv=typeof Promise=="function"?Promise:void 0,Xv=typeof requestAnimationFrame=="function"?requestAnimationFrame:Rs,D1=typeof queueMicrotask=="function"?queueMicrotask:typeof Vv<"u"?function(e){return Vv.resolve(null).then(e).catch(M1)}:Rs;function M1(e){setTimeout(function(){throw e})}function xn(e){return e==="head"}function Qv(e,t){var l=t,n=0;do{var a=l.nextSibling;if(e.removeChild(l),a&&a.nodeType===8)if(l=a.data,l==="/$"||l==="/&"){if(n===0){e.removeChild(a),lu(t);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")Ls(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,Ls(l);for(var u=l.firstChild;u;){var s=u.nextSibling,h=u.nodeName;u[yu]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=s}}else l==="body"&&Ls(e.ownerDocument.body);l=a}while(l);lu(t)}function Zv(e,t){var l=e;e=0;do{var n=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=n}while(l)}function Kv(e,t,l){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,l!=null&&(e.style.viewTransitionClass=l),l=getComputedStyle(e),l.display==="inline"){if(t=e.getClientRects(),t.length===1)var n=1;else for(var a=n=0;a<t.length;a++){var u=t[a];0<u.width&&0<u.height&&n++}n===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+l.paddingTop,e.marginBottom="-"+l.paddingBottom)}}function Jv(e,t){e=e.style,t=t.style;var l=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=l==null||typeof l=="boolean"?"":(""+l).trim(),l=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=l==null||typeof l=="boolean"?"":(""+l).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(l=t.display,e.display=l==null||typeof l=="boolean"?"":l,l=t.margin,l!=null?e.margin=l:(l=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=l==null||typeof l=="boolean"?"":l,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function U1(e,t,l){return l=l.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=l.innerHeight&&e.left<=l.innerWidth}}function js(e){var t=e.getBoundingClientRect(),l=getComputedStyle(e);return U1(t,l,e)}function H1(e){return e.documentElement.clientHeight}function B1(e){this.addEventListener("load",e),this.addEventListener("error",e)}function k1(e,t,l,n,a,u,s,h,x){var O=t.nodeType===9?t:t.ownerDocument;try{var j=O.startViewTransition({update:function(){var _=O.defaultView,R=_.navigation&&_.navigation.transition,$=O.fonts.status;n();var ue=[];if($==="loaded"&&(H1(O),O.fonts.status==="loading"&&ue.push(O.fonts.ready)),$=ue.length,e!==null)for(var be=e.suspenseyImages,w=0,C=0;C<be.length;C++){var A=be[C];if(!A.complete){var L=A.getBoundingClientRect();if(0<L.bottom&&0<L.right&&L.top<_.innerHeight&&L.left<_.innerWidth){if(w+=vy(A),w>Hc){ue.length=$;break}A=new Promise(B1.bind(A)),ue.push(A)}}}if(0<ue.length)return _=Promise.race([Promise.all(ue),new Promise(function(ee){return setTimeout(ee,500)})]).then(a,a),(R?Promise.allSettled([R.finished,_]):_).then(u,u);if(a(),R)return R.finished.then(u,u);u()},types:l});O.__reactViewTransition=j;var Y=[];return j.ready.then(function(){for(var _=O.documentElement.getAnimations({subtree:!0}),R=0;R<_.length;R++){var $=_[R],ue=$.effect,be=ue.pseudoElement;if(be!=null&&be.startsWith("::view-transition")){Y.push($),$=ue.getKeyframes();for(var w=be=void 0,C=!0,A=0;A<$.length;A++){var L=$[A],ee=L.width;if(be===void 0)be=ee;else if(be!==ee){C=!1;break}if(ee=L.height,w===void 0)w=ee;else if(w!==ee){C=!1;break}delete L.width,delete L.height,L.transform==="none"&&delete L.transform}C&&be!==void 0&&w!==void 0&&(ue.setKeyframes($),C=getComputedStyle(ue.target,ue.pseudoElement),C.width!==be||C.height!==w)&&(C=$[0],C.width=be,C.height=w,C=$[$.length-1],C.width=be,C.height=w,ue.setKeyframes($))}}s()},function(_){O.__reactViewTransition===j&&(O.__reactViewTransition=null);try{if(typeof _=="object"&&_!==null)switch(_.name){case"InvalidStateError":(_.message==="View transition was skipped because document visibility state is hidden."||_.message==="Skipping view transition because document visibility state has become hidden."||_.message==="Skipping view transition because viewport size changed."||_.message==="Transition was aborted because of invalid state")&&(_=null)}_!==null&&x(_)}finally{n(),a(),s()}}),j.finished.finally(function(){for(var _=0;_<Y.length;_++)Y[_].cancel();O.__reactViewTransition===j&&(O.__reactViewTransition=null),h()}),j}catch{return n(),a(),s(),null}}function la(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}la.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:U({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},la.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,l=e.getAnimations({subtree:!0}),n=[],a=0;a<l.length;a++){var u=l[a].effect;u!==null&&u.target===e&&u.pseudoElement===t&&n.push(l[a])}return n},la.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Iv(e){return{name:e,group:new la("group",e),imagePair:new la("image-pair",e),old:new la("old",e),new:new la("new",e)}}function Qt(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}Qt.prototype.addEventListener=function(e,t,l){var n=null,a=null;if(!(l!=null&&typeof l!="boolean"&&(n=l.signal||null,n!==null&&n.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var u=this._eventListeners;if($v(u,e,t,l)===-1){var s=this,h=t;l!=null&&typeof l!="boolean"&&l.once===!0&&(h=function(x){s.removeEventListener(e,t,l),typeof t=="function"?t.call(this,x):t.handleEvent(x)}),n!==null&&(a=s.removeEventListener.bind(s,e,t,l),n.addEventListener("abort",a,{once:!0}),a=n.removeEventListener.bind(n,"abort",a)),n=Fa(l),u.push({type:e,listener:t,optionsOrUseCapture:l,attachedListener:h,cleanup:a}),y(this._fragmentFiber.child,!1,L1,e,h,n)}this._eventListeners=u}};function L1(e,t,l,n){return H(e).addEventListener(t,l,n),!1}Qt.prototype.removeEventListener=function(e,t,l){var n=this._eventListeners;if(n!==null&&(t=$v(n,e,t,l),t!==-1)){var a=n[t];l=a.attachedListener;var u=a.cleanup;a=Fa(a.optionsOrUseCapture),y(this._fragmentFiber.child,!1,G1,e,l,a),n.splice(t,1),u!==null&&u()}};function G1(e,t,l,n){return H(e).removeEventListener(t,l,n),!1}function Fa(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function Fv(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function $v(e,t,l,n){if(e.length===0)return-1;n=Fv(n);for(var a=0;a<e.length;a++){var u=e[a];if(u.type===t&&u.listener===l&&Fv(u.optionsOrUseCapture)===n)return a}return-1}Qt.prototype.dispatchEvent=function(e){var t=T(this._fragmentFiber);if(t===null)return!0;t=H(t);var l=this._eventListeners;if(l!==null&&0<l.length||!e.bubbles){var n=t.nodeType===9?t.createComment(""):document.createTextNode("");if(l)for(var a=0;a<l.length;a++){var u=l[a];n.addEventListener(u.type,u.attachedListener,Fa(u.optionsOrUseCapture))}if(t.appendChild(n),e=n.dispatchEvent(e),l)for(a=0;a<l.length;a++)u=l[a],n.removeEventListener(u.type,u.attachedListener,Fa(u.optionsOrUseCapture));return t.removeChild(n),e}return t.dispatchEvent(e)},Qt.prototype.focus=function(e){y(this._fragmentFiber.child,!0,Pv,e,void 0,void 0)};function Pv(e,t){return e.tag===6?!1:(e=H(e),P1(e,t))}Qt.prototype.focusLast=function(e){var t=[];y(this._fragmentFiber.child,!0,Ds,t,void 0,void 0);for(var l=t.length-1;0<=l&&!Pv(t[l],e);l--);};function Ds(e,t){return t.push(e),!1}Qt.prototype.blur=function(){var e=T(this._fragmentFiber);e!==null&&(e=H(e),e=Pu(e).activeElement,e!==null&&y(this._fragmentFiber.child,!1,Y1,e,void 0,void 0))};function Y1(e,t){return e.tag===6?!1:(e=H(e),e===t||e.contains(t)?(t.blur(),!0):!1)}Qt.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),y(this._fragmentFiber.child,!1,q1,e,void 0,void 0)};function q1(e,t){return e.tag===6||(e=H(e),t.observe(e)),!1}Qt.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),y(this._fragmentFiber.child,!1,V1,e,void 0,void 0);for(var l=t=0;l<ml.length;l++){var n=ml[l];n.fragmentInstance===this&&n.observer===e?e.unobserve(n.instance):ml[t++]=n}ml.length=t}};function V1(e,t){return e.tag===6||(e=H(e),t.unobserve(e)),!1}var ml=[],Ms=!1;function X1(e,t,l){ml.push({fragmentInstance:e,observer:t,instance:l}),Ms||(Ms=!0,W1(function(){Ms=!1;var n=ml;ml=[];for(var a=0;a<n.length;a++){var u=n[a];u.observer.unobserve(u.instance)}}))}Qt.prototype.getClientRects=function(){var e=[];return y(this._fragmentFiber.child,!1,Q1,e,void 0,void 0),e};function Q1(e,t){if(e.tag===6){e=e.stateNode;var l=e.ownerDocument.createRange();l.selectNodeContents(e),t.push.apply(t,l.getClientRects())}else e=H(e),t.push.apply(t,e.getClientRects());return!1}Qt.prototype.getRootNode=function(e){var t=T(this._fragmentFiber);return t===null?this:H(t).getRootNode(e)},Qt.prototype.compareDocumentPosition=function(e){var t=T(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var l=[];y(this._fragmentFiber.child,!1,Ds,l,void 0,void 0);var n=H(t);if(l.length===0){if(l=n,B(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(l=t)}t=this._fragmentFiber;var a=n=l.compareDocumentPosition(e);return l===e?a=Node.DOCUMENT_POSITION_CONTAINS:n&Node.DOCUMENT_POSITION_CONTAINED_BY&&(l=D(t)[1],l===null?a=Node.DOCUMENT_POSITION_PRECEDING:(e=H(l).compareDocumentPosition(e),a=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),a|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=H(l[0]),a=H(l[l.length-1]);var u=B(this._fragmentFiber)?t.parentElement:n;if(u==null)return Node.DOCUMENT_POSITION_DISCONNECTED;n=u.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,u=u.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY;var s=t.compareDocumentPosition(e),h=a.compareDocumentPosition(e),x=s&Node.DOCUMENT_POSITION_CONTAINED_BY||h&Node.DOCUMENT_POSITION_CONTAINED_BY;return h=n&&u&&s&Node.DOCUMENT_POSITION_FOLLOWING&&h&Node.DOCUMENT_POSITION_PRECEDING,t=n&&t===e||u&&a===e||x||h?Node.DOCUMENT_POSITION_CONTAINED_BY:!n&&t===e||!u&&a===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:s,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Z1(t,this._fragmentFiber,l[0],l[l.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Z1(e,t,l,n,a){var u=Un(a);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(l=!!u)e:{for(;u!==null;){if(u.tag===7&&(u===t||u.alternate===t)){l=!0;break e}u=u.return}l=!1}return l}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(u===null)return u=a.ownerDocument,a===u||a===u.documentElement||a===u.body;e:{for(u=t,t=T(t);u!==null;){if(!(u.tag!==5&&u.tag!==3&&u.tag!==27||u!==t&&u.alternate!==t)){u=!0;break e}u=u.return}u=!1}return u}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!u)&&!(t=u===l)&&(t=G(l,u,F),t===null?t=!1:(y(t,!0,V,u,l),u=Z,Z=null,t=u!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!u)&&!(t=u===n)&&(t=G(n,u,F),t===null?t=!1:(y(t,!0,P,u,n),u=Z,Q=Z=null,t=u!==null)),t):!1}function Wv(e,t){var l=e.ownerDocument.createRange();l.selectNodeContents(e),e=l.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}Qt.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(o(566));var t=[];y(this._fragmentFiber.child,!1,Ds,t,void 0,void 0);var l=e!==!1;if(t.length===0){var n=D(this._fragmentFiber);if(n=l?n[1]||n[0]||T(this._fragmentFiber):n[0]||n[1],n===null)return;if(n.tag===6){e=H(n),Wv(e,l);return}if(n=H(n),n.nodeType!==9){if(n.nodeType===11){l="host"in n?n.host:null,l!==null&&l.scrollIntoView(e);return}n.scrollIntoView(e)}}for(n=l?t.length-1:0;n!==(l?-1:t.length);){var a=t[n];a.tag===6?(a=H(a),Wv(a,l)):H(a).scrollIntoView(e),n+=l?-1:1}};function K1(e,t){return e=H(e),ey(e,t),!1}function ey(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function ty(e,t){var l=t._eventListeners;if(l!==null)for(var n=0;n<l.length;n++){var a=l[n];e.addEventListener(a.type,a.attachedListener,Fa(a.optionsOrUseCapture))}e.nodeType!==3&&(l=t._observers,l!==null&&l.forEach(function(u){for(var s=0,h=0;h<ml.length;h++){var x=ml[h];(x.fragmentInstance!==t||x.observer!==u||x.instance!==e)&&(ml[s++]=x)}ml.length=s,u.observe(e)}),ey(e,t))}function J1(e,t){var l=t._eventListeners;if(l!==null)for(var n=0;n<l.length;n++){var a=l[n];e.removeEventListener(a.type,a.attachedListener,Fa(a.optionsOrUseCapture))}e.nodeType!==3&&(l=t._observers,l!==null&&l.forEach(function(u){typeof u.rootMargin=="string"?X1(t,u,e):u.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function Us(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Us(l),Ci(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function I1(e,t,l,n){for(;e.nodeType===1;){var a=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[yu])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==a.rel||e.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||e.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||e.getAttribute("title")!==(a.title==null?null:a.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(a.src==null?null:a.src)||e.getAttribute("type")!==(a.type==null?null:a.type)||e.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=a.name==null?null:""+a.name;if(a.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=tl(e.nextSibling),e===null)break}return null}function F1(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=tl(e.nextSibling),e===null))return null;return e}function ly(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=tl(e.nextSibling),e===null))return null;return e}function Hs(e){return e.data==="$?"||e.data==="$~"}function Bs(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function $1(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var n=function(){t(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function tl(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var ks=null;function ny(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return tl(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function ay(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function P1(e,t){function l(){n=!0}if(e.ownerDocument.activeElement===e)return!0;var n=!1;try{e.ownerDocument.addEventListener("focus",l,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",l,!0)}return n}function W1(e){Xv(function(){Xv(function(t){return e(t)})})}function uy(e,t,l){switch(t=Pu(l),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function iy(e,t,l){for(var n in l){var a=l[n];l.hasOwnProperty(n)&&a!=null&&Be(e,t,n,null,O1,a)}l.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===yl&&(e.onclick=null),Ci(e)}function Ls(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ci(e)}var ll=new Map,cy=new Set;function Wu(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var Xl=fe.d;fe.d={f:ex,r:tx,D:lx,C:nx,L:ax,m:ux,X:cx,S:ix,M:rx};function ex(){var e=Xl.f(),t=wc();return e||t}function tx(e){var t=va(e);t!==null&&t.tag===5&&t.type==="form"?oh(t):Xl.r(e)}var $a=typeof document>"u"?null:document;function ry(e,t,l){var n=$a;if(n&&typeof t=="string"&&t){var a=Jt(t);a='link[rel="'+e+'"][href="'+a+'"]',typeof l=="string"&&(a+='[crossorigin="'+l+'"]'),cy.has(a)||(cy.add(a),e={rel:e,crossOrigin:l,href:t},n.querySelector(a)===null&&(t=n.createElement("link"),gt(t,"link",e),ut(t),n.head.appendChild(t)))}}function lx(e){Xl.D(e),ry("dns-prefetch",e,null)}function nx(e,t){Xl.C(e,t),ry("preconnect",e,t)}function ax(e,t,l){Xl.L(e,t,l);var n=$a;if(n&&e&&t){var a='link[rel="preload"][as="'+Jt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(a+='[imagesrcset="'+Jt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(a+='[imagesizes="'+Jt(l.imageSizes)+'"]')):a+='[href="'+Jt(e)+'"]';var u=a;switch(t){case"style":u=Pa(e);break;case"script":u=Wa(e)}if(!(ll.has(u)||(e=U({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),ll.set(u,e),n.querySelector(a)!==null||t==="style"&&n.querySelector(ei(u))||t==="script"&&n.querySelector(ti(u))))){var s=n.createElement("link");gt(s,"link",e),t==="style"&&(s[Ni]=!0,s.onload=s.onerror=function(){Sd(s)}),ut(s),n.head.appendChild(s)}}}function ux(e,t){Xl.m(e,t);var l=$a;if(l&&e){var n=t&&typeof t.as=="string"?t.as:"script",a='link[rel="modulepreload"][as="'+Jt(n)+'"][href="'+Jt(e)+'"]',u=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Wa(e)}if(!ll.has(u)&&(e=U({rel:"modulepreload",href:e},t),ll.set(u,e),l.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(ti(u)))return}n=l.createElement("link"),gt(n,"link",e),ut(n),l.head.appendChild(n)}}}function ix(e,t,l){Xl.S(e,t,l);var n=$a;if(n&&e){var a=ya(n).hoistableStyles,u=Pa(e);t=t||"default";var s=a.get(u);if(!s){var h={loading:0,preload:null};if(s=n.querySelector(ei(u)))h.loading=5;else{e=U({rel:"stylesheet",href:e,"data-precedence":t},l),(l=ll.get(u))&&Gs(e,l);var x=s=n.createElement("link");ut(x),gt(x,"link",e),x._p=new Promise(function(O,j){x.onload=O,x.onerror=j}),x.addEventListener("load",function(){h.loading|=1}),x.addEventListener("error",function(){h.loading|=2}),h.loading|=4,Mc(s,t,n)}s={type:"stylesheet",instance:s,count:1,state:h},a.set(u,s)}}}function cx(e,t){Xl.X(e,t);var l=$a;if(l&&e){var n=ya(l).hoistableScripts,a=Wa(e),u=n.get(a);u||(u=l.querySelector(ti(a)),u||(e=U({src:e,async:!0},t),(t=ll.get(a))&&Ys(e,t),u=l.createElement("script"),ut(u),gt(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function rx(e,t){Xl.M(e,t);var l=$a;if(l&&e){var n=ya(l).hoistableScripts,a=Wa(e),u=n.get(a);u||(u=l.querySelector(ti(a)),u||(e=U({src:e,async:!0,type:"module"},t),(t=ll.get(a))&&Ys(e,t),u=l.createElement("script"),ut(u),gt(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function oy(e,t,l,n){var a=(a=Fl.current)?Wu(a):null;if(!a)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(l=Pa(l.href),t=ya(a).hoistableStyles,n=t.get(l),n||(n={type:"style",instance:null,count:0,state:null},t.set(l,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Pa(l.href);var u=ya(a).hoistableStyles,s=u.get(e);if(s||(a=a.ownerDocument||a,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,s),(u=a.querySelector(ei(e)))?u._p||(s.instance=u,s.state.loading=5):(u=ll.get(e),u||(u={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},ll.set(e,u)),ox(a,e,u,s.state))),t&&n===null)throw Error(o(528,""));return s}if(t&&n!==null)throw Error(o(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(l=Wa(l),t=ya(a).hoistableScripts,n=t.get(l),n||(n={type:"script",instance:null,count:0,state:null},t.set(l,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Pa(e){return'href="'+Jt(e)+'"'}function ei(e){return'link[rel="stylesheet"]['+e+"]"}function sy(e){return U({},e,{"data-precedence":e.precedence,precedence:null})}function ox(e,t,l,n){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[Ni]!==!0){n.loading=1;return}}else t=e.createElement("link"),t[Ni]=!0,t.onload=t.onerror=Sd.bind(null,t),gt(t,"link",l),ut(t),e.head.appendChild(t);n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2})}function Wa(e){return'[src="'+Jt(e)+'"]'}function ti(e){return"script[async]"+e}function fy(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+Jt(l.href)+'"]');if(n)return t.instance=n,ut(n),n;var a=U({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),ut(n),gt(n,"style",a),Mc(n,l.precedence,e),t.instance=n;case"stylesheet":a=Pa(l.href);var u=e.querySelector(ei(a));if(u)return t.state.loading|=4,t.instance=u,ut(u),u;n=sy(l),(a=ll.get(a))&&Gs(n,a),u=(e.ownerDocument||e).createElement("link"),ut(u);var s=u;return s._p=new Promise(function(h,x){s.onload=h,s.onerror=x}),gt(u,"link",n),t.state.loading|=4,Mc(u,l.precedence,e),t.instance=u;case"script":return u=Wa(l.src),(a=e.querySelector(ti(u)))?(t.instance=a,ut(a),a):(n=l,(a=ll.get(u))&&(n=U({},l),Ys(n,a)),e=e.ownerDocument||e,a=e.createElement("script"),ut(a),gt(a,"link",n),e.head.appendChild(a),t.instance=a);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,Mc(n,l.precedence,e));return t.instance}function Mc(e,t,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,u=a,s=0;s<n.length;s++){var h=n[s];if(h.dataset.precedence===t)u=h;else if(u!==a)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Gs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Ys(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Uc=null;function dy(e,t,l){if(Uc===null){var n=new Map,a=Uc=new Map;a.set(l,n)}else a=Uc,n=a.get(l),n||(n=new Map,a.set(l,n));if(n.has(e))return n;for(n.set(e,null),l=l.getElementsByTagName(e),a=0;a<l.length;a++){var u=l[a];if(!(u[yu]||u[dt]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var s=u.getAttribute(t)||"";s=e+s;var h=n.get(s);h?h.push(u):n.set(s,[u])}}return n}function qs(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function sx(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function my(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function hy(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function vy(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function yy(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=vy(t),e.suspenseyImages.push(t)),e=mx.bind(e),t.decode().then(e,e))}function fx(e,t,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var a=Pa(n.href),u=t.querySelector(ei(a));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=li.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=u,ut(u);return}u=t.ownerDocument||t,n=sy(n),(a=ll.get(a))&&Gs(n,a),u=u.createElement("link"),ut(u);var s=u;s._p=new Promise(function(h,x){s.onload=h,s.onerror=x}),gt(u,"link",n),l.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=li.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Hc=0;function dx(e,t){return e.stylesheets&&e.count===0&&kc(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var n=setTimeout(function(){if(e.stylesheets&&kc(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&Hc===0&&(Hc=62500*z1());var a=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&kc(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>Hc?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function gy(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)kc(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function li(){this.count--,gy(this)}function mx(){this.imgCount--,gy(this)}var Bc=null;function kc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Bc=new Map,t.forEach(hx,e),Bc=null,li.call(e))}function hx(e,t){if(!(t.state.loading&4)){var l=Bc.get(e);if(l)var n=l.get(null);else{l=new Map,Bc.set(e,l);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<a.length;u++){var s=a[u];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(l.set(s.dataset.precedence,s),n=s)}n&&l.set(null,n)}a=t.instance,s=a.getAttribute("data-precedence"),u=l.get(s)||n,u===n&&l.set(null,a),l.set(s,a),this.count++,n=li.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),u?u.parentNode.insertBefore(a,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(a,e.firstChild)),t.state.loading|=4}}var eu={$$typeof:ye,Provider:null,Consumer:null,_currentValue:Mt,_currentValue2:Mt,_threadCount:0};function vx(e,t,l,n,a,u,s,h,x){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Sr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Sr(0),this.hiddenUpdates=Sr(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=u,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.transitionTypes=null,this.incompleteTransitions=new Map}function py(e,t,l,n,a,u,s,h,x,O,j,Y){return e=new vx(e,t,l,s,x,O,j,Y,h),t=1,u===!0&&(t|=24),u=wt(3,null,null,t),e.current=u,u.stateNode=e,t=lo(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:n,isDehydrated:l,cache:t},io(u),e}function by(e){return e?(e=_a,e):_a}function xy(e,t,l,n,a,u){a=by(a),n.context===null?n.context=a:n.pendingContext=a,n=rn(t),n.payload={element:l},u=u===void 0?null:u,u!==null&&(n.callback=u),l=on(e,n,t),l!==null&&(Rt(l,e,t),Du(l,e,t))}function Sy(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Vs(e,t){Sy(e,t),(e=e.alternate)&&Sy(e,t)}function Ey(e){if(e.tag===13||e.tag===31){var t=Ln(e,67108864);t!==null&&Rt(t,e,67108864),Vs(e,67108864)}}function Ny(e){if(e.tag===13||e.tag===31){var t=Xt();t=Er(t);var l=Ln(e,t);l!==null&&Rt(l,e,t),Vs(e,t)}}var tu=!0;function yx(e,t,l,n){var a=ae.T;ae.T=null;var u=fe.p;try{fe.p=2,Xs(e,t,l,n)}finally{fe.p=u,ae.T=a}}function gx(e,t,l,n){var a=ae.T;ae.T=null;var u=fe.p;try{fe.p=8,Xs(e,t,l,n)}finally{fe.p=u,ae.T=a}}function Xs(e,t,l,n){if(tu){var a=Qs(n);if(a===null)Ts(e,t,n,Lc,l),Ty(e,n);else if(bx(a,e,t,l,n))n.stopPropagation();else if(Ty(e,n),t&4&&-1<px.indexOf(e)){for(;a!==null;){var u=va(a);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var s=Mn(u.pendingLanes);if(s!==0){var h=u;for(h.pendingLanes|=2,h.entangledLanes|=2;s;){var x=1<<31-Bt(s);h.entanglements[1]|=x,s&=~x}_l(u),(De&6)===0&&(Cc=Ut()+500,Iu(0))}}break;case 31:case 13:h=Ln(u,2),h!==null&&Rt(h,u,2),wc(),Vs(u,2)}if(u=Qs(n),u===null&&Ts(e,t,n,Lc,l),u===a)break;a=u}a!==null&&n.stopPropagation()}else Ts(e,t,n,null,l)}}function Qs(e){return e=Ar(e),Zs(e)}var Lc=null;function Zs(e){if(Lc=null,e=Un(e),e!==null){var t=m(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=v(t),e!==null)return e;e=null}else if(l===31){if(e=p(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Lc=e,null}function Cy(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(z0()){case od:return 2;case sd:return 8;case pi:case R0:return 32;case fd:return 268435456;default:return 32}default:return 32}}var Ks=!1,Sn=null,En=null,Nn=null,ni=new Map,ai=new Map,Cn=[],px="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 Ty(e,t){switch(e){case"focusin":case"focusout":Sn=null;break;case"dragenter":case"dragleave":En=null;break;case"mouseover":case"mouseout":Nn=null;break;case"pointerover":case"pointerout":ni.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ai.delete(t.pointerId)}}function ui(e,t,l,n,a,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:l,eventSystemFlags:n,nativeEvent:u,targetContainers:[a]},t!==null&&(t=va(t),t!==null&&Ey(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,a!==null&&t.indexOf(a)===-1&&t.push(a),e)}function bx(e,t,l,n,a){switch(t){case"focusin":return Sn=ui(Sn,e,t,l,n,a),!0;case"dragenter":return En=ui(En,e,t,l,n,a),!0;case"mouseover":return Nn=ui(Nn,e,t,l,n,a),!0;case"pointerover":var u=a.pointerId;return ni.set(u,ui(ni.get(u)||null,e,t,l,n,a)),!0;case"gotpointercapture":return u=a.pointerId,ai.set(u,ui(ai.get(u)||null,e,t,l,n,a)),!0}return!1}function _y(e){var t=Un(e.target);if(t!==null){var l=m(t);if(l!==null){if(t=l.tag,t===13){if(t=v(l),t!==null){e.blockedOn=t,pd(e.priority,function(){Ny(l)});return}}else if(t===31){if(t=p(l),t!==null){e.blockedOn=t,pd(e.priority,function(){Ny(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Gc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Qs(e.nativeEvent);if(l===null){l=e.nativeEvent;var n=new l.constructor(l.type,l);Or=n,l.target.dispatchEvent(n),Or=null}else return t=va(l),t!==null&&Ey(t),e.blockedOn=l,!1;t.shift()}return!0}function wy(e,t,l){Gc(e)&&l.delete(t)}function xx(){Ks=!1,Sn!==null&&Gc(Sn)&&(Sn=null),En!==null&&Gc(En)&&(En=null),Nn!==null&&Gc(Nn)&&(Nn=null),ni.forEach(wy),ai.forEach(wy)}function Yc(e,t){e.blockedOn===t&&(e.blockedOn=null,Ks||(Ks=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,xx)))}var qc=null;function Oy(e){qc!==e&&(qc=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){qc===e&&(qc=null);for(var t=0;t<e.length;t+=3){var l=e[t],n=e[t+1],a=e[t+2];if(typeof n!="function"){if(Zs(n||l)===null)continue;break}var u=va(l);u!==null&&(e.splice(t,3),t-=3,Oo(u,{pending:!0,data:a,method:l.method,action:n},n,a))}}))}function lu(e){function t(x){return Yc(x,e)}Sn!==null&&Yc(Sn,e),En!==null&&Yc(En,e),Nn!==null&&Yc(Nn,e),ni.forEach(t),ai.forEach(t);for(var l=0;l<Cn.length;l++){var n=Cn[l];n.blockedOn===e&&(n.blockedOn=null)}for(;0<Cn.length&&(l=Cn[0],l.blockedOn===null);)_y(l),l.blockedOn===null&&Cn.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var a=l[n],u=l[n+1],s=a[_t]||null;if(typeof u=="function")s||Oy(l);else if(s){var h=null;if(u&&u.hasAttribute("formAction")){if(a=u,s=u[_t]||null)h=s.formAction;else if(Zs(a)!==null)continue}else h=s.action;typeof h=="function"?l[n+1]=h:(l.splice(n,3),n-=3),Oy(l)}}}function Ay(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(s){return a=s})},focusReset:"manual",scroll:"manual"})}function t(){a!==null&&(a(),a=null),n||setTimeout(l,20)}function l(){if(!n&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),a!==null&&(a(),a=null)}}}function Js(e){this._internalRoot=e}Vc.prototype.render=Js.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var l=t.current,n=Xt();xy(l,n,e,t,null,null)},Vc.prototype.unmount=Js.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;xy(e.current,2,null,e,null,null),wc(),t[ha]=null}};function Vc(e){this._internalRoot=e}Vc.prototype.unstable_scheduleHydration=function(e){if(e){var t=gd();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Cn.length&&t!==0&&t<Cn[l].priority;l++);Cn.splice(l,0,e),l===0&&_y(e)}};var zy=c.version;if(zy!=="19.3.1")throw Error(o(527,zy,"19.3.1"));fe.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=b(t),e=e!==null?N(e):null,e=e===null?null:e.stateNode,e};var Sx={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:ae,reconcilerVersion:"19.3.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Xc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xc.isDisabled&&Xc.supportsFiber)try{mu=Xc.inject(Sx),Ht=Xc}catch{}}return ci.createRoot=function(e,t){if(!f(e))throw Error(o(299));var l=!1,n="",a=bh,u=xh,s=Sh;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(a=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=py(e,1,!1,null,null,l,n,null,a,u,s,Ay),e[ha]=t.current,Cs(e),new Js(t)},ci.hydrateRoot=function(e,t,l){if(!f(e))throw Error(o(299));var n=!1,a="",u=bh,s=xh,h=Sh,x=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(s=l.onCaughtError),l.onRecoverableError!==void 0&&(h=l.onRecoverableError),l.formState!==void 0&&(x=l.formState)),t=py(e,1,!0,t,l??null,n,a,x,u,s,h,Ay),t.context=by(null),l=t.current,n=Xt(),n=Er(n),a=rn(n),a.callback=null,on(l,a,n),l=n,t.current.lanes=l,vu(t,l),_l(t),e[ha]=t.current,Cs(e),new Vc(t)},ci.version="19.3.1",ci}var Vy;function Rx(){if(Vy)return Ps.exports;Vy=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(c){console.error(c)}}return i(),Ps.exports=zx(),Ps.exports}var jx=Rx();const Dx=pg(jx),Xy=i=>{let c;const r=new Set,o=(b,N)=>{const y=typeof b=="function"?b(c):b;if(!Object.is(y,c)){const T=c;c=N??(typeof y!="object"||y===null)?y:Object.assign({},c,y),r.forEach(B=>B(c,T))}},f=()=>c,p={setState:o,getState:f,getInitialState:()=>E,subscribe:b=>(r.add(b),()=>r.delete(b))},E=c=i(o,f,p);return p},Mx=(i=>i?Xy(i):Xy),Ux=i=>i;function Hx(i,c=Ux){const r=si.useSyncExternalStore(i.subscribe,si.useCallback(()=>c(i.getState()),[i,c]),()=>c(i.getInitialState()));return si.useDebugValue(r),r}const Qy=i=>{const c=Mx(i),r=o=>Hx(c,o);return Object.assign(r,c),r},Bx=(i=>i?Qy(i):Qy),kx=()=>typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,xg=i=>{const c=i==="system"?kx():i==="dark",r=c?"catppuccin":"zinc-light";return typeof document<"u"&&document.documentElement.setAttribute("data-theme",r),c?"dark":"light"},Qc=localStorage.getItem("hl_theme_v2"),Sg=Qc==="light"||Qc==="dark"||Qc==="system"?Qc:"system",Lx=xg(Sg),Gx=localStorage.getItem("hl_route_mode")||"auto",Yx=localStorage.getItem("hl_layout_preset")||"homepage-3col",qx=typeof window<"u"&&window.location.pathname.startsWith("/storybook")?"storybook":"dashboard",jn=Bx((i,c)=>({theme:Sg,resolvedTheme:Lx,routeMode:Gx,layoutPreset:Yx,viewMode:qx,showAgyModal:!1,showCmdPalette:!1,toast:"",actionLoading:!1,telemetry:{mini:{chip:"Apple M6 (12核)",ip:"192.168.31.164",tailscale_ip:"100.108.205.40",cpu_pct:6.5,load_1m:.85,mem_used_gb:11.8,mem_total_gb:24,mem_pct:49.2,disk_used_gb:59.9,disk_total_gb:460.4,disk_pct:13,uptime:"运行中",agy_tmux:!0},nas:{ip:"192.168.31.185",online:!0,mounted:!0,total_tb:19.94,used_tb:3.36,free_tb:16.58,pct:16.8,latest_backup:"11-06 23:17"},network:{home_wan_ip:"124.90.142.21",ai_policy:"Ai平台 → 狮城节点",sg_node:"233boy-sea",sg_egress_ip:"104.43.105.243",sg_delay_ms:68},services:{agy:!0,vaultwarden:!0,nas:!0,clash:!0,router:!0,uptime:!0}},setTheme:r=>{localStorage.setItem("hl_theme_v2",r);const o=xg(r);i({theme:r,resolvedTheme:o})},toggleTheme:()=>{const{resolvedTheme:r,setTheme:o}=c();o(r==="dark"?"light":"dark")},setRouteMode:r=>{localStorage.setItem("hl_route_mode",r),i({routeMode:r})},setLayoutPreset:r=>{localStorage.setItem("hl_layout_preset",r),i({layoutPreset:r})},setViewMode:r=>{if(typeof window<"u"){const o=r==="storybook"?"/storybook":"/";window.history.pushState({},"",o)}i({viewMode:r})},setShowAgyModal:r=>i({showAgyModal:r}),setShowCmdPalette:r=>i({showCmdPalette:r}),showToast:r=>{i({toast:r}),setTimeout(()=>{c().toast===r&&i({toast:""})},3e3)},fetchTelemetry:async()=>{try{const r=await fetch("/api/telemetry");if(r.ok){const o=await r.json();i({telemetry:o})}}catch{}},triggerAction:async(r,o)=>{const{showToast:f,fetchTelemetry:m}=c();i({actionLoading:!0}),f(o);try{const p=await(await fetch(`/api/action/${r}`,{method:"POST"})).json();f(p.message||"操作已完成"),await m()}catch{f("请求失败,请稍后重试")}finally{i({actionLoading:!1})}},copyCmd:async(r,o)=>{const{showToast:f}=c();try{await navigator.clipboard.writeText(r),f(`已复制「${o}」: ${r}`)}catch{f(r)}},getEffectiveMode:()=>{const{routeMode:r}=c();if(r!=="auto")return r;const o=window.location.hostname;return o.startsWith("192.168.")||o.startsWith("100.")||o==="localhost"?"lan":o.includes(".home.961504.xyz")||window.location.port==="10443"?"home10443":"edge443"}}));typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",()=>{const i=jn.getState();i.theme==="system"&&i.setTheme("system")});/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Vx=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Eg=(...i)=>i.filter((c,r,o)=>!!c&&c.trim()!==""&&o.indexOf(c)===r).join(" ").trim();/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/var Xx={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.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Qx=g.forwardRef(({color:i="currentColor",size:c=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:f="",children:m,iconNode:v,...p},E)=>g.createElement("svg",{ref:E,...Xx,width:c,height:c,stroke:i,strokeWidth:o?Number(r)*24/Number(c):r,className:Eg("lucide",f),...p},[...v.map(([b,N])=>g.createElement(b,N)),...Array.isArray(m)?m:[m]]));/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const xt=(i,c)=>{const r=g.forwardRef(({className:o,...f},m)=>g.createElement(Qx,{ref:m,iconNode:c,className:Eg(`lucide-${Vx(i)}`,o),...f}));return r.displayName=`${i}`,r};/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Zx=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Ng=xt("BookOpen",Zx);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Kx=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Jx=xt("Check",Kx);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Ix=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Fx=xt("EyeOff",Ix);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const $x=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Px=xt("Eye",$x);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Wx=[["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"}]],Zy=xt("KeyRound",Wx);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const eS=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],tS=xt("Layers",eS);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const lS=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],nS=xt("LayoutGrid",lS);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const aS=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],uS=xt("Lock",aS);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const iS=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],cS=xt("Moon",iS);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const rS=[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]],oS=xt("Palette",rS);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const sS=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]],fS=xt("PanelsTopLeft",sS);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const dS=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],Rf=xt("Search",dS);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const mS=[["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"}]],hS=xt("ShieldCheck",mS);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const vS=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],yS=xt("Sparkles",vS);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const gS=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],pS=xt("Sun",gS);/**
|
||
* @license lucide-react v0.475.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=[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]],jf=xt("Terminal",bS);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const xS=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],SS=xt("User",xS);var ES=Object.defineProperty,Df=(i,c)=>ES(i,"name",{value:c,configurable:!0});function vf(i,c){if(typeof i=="function")return i(c);i!=null&&(i.current=c)}Df(vf,"setRef");function ua(...i){return c=>{let r=!1;const o=i.map(f=>{const m=vf(f,c);return!r&&typeof m=="function"&&(r=!0),m});if(r)return()=>{for(let f=0;f<o.length;f++){const m=o[f];typeof m=="function"?m():vf(i[f],null)}}}}Df(ua,"composeRefs");function Dt(...i){return g.useCallback(ua(...i),i)}Df(Dt,"useComposedRefs");var NS=Object.defineProperty,Kt=(i,c)=>NS(i,"name",{value:c,configurable:!0});function An(i){const c=g.forwardRef((r,o)=>{let{children:f,...m}=r,v=null,p=!1;const E=[];f=Ag(f),g.Children.forEach(f,T=>{var B;if(wg(T)){p=!0;const D=T;let M="child"in D.props?D.props.child:D.props.children;for(;Mf(M)&&typeof ar=="function";)M=ar(M._payload);v=_S(D,M),E.push((B=v==null?void 0:v.props)==null?void 0:B.children)}else E.push(T)}),v?v=g.cloneElement(v,void 0,E):!p&&g.Children.count(f)===1&&g.isValidElement(f)&&(v=f);const b=v?_g(v):void 0,N=Dt(o,b);if(!v){if(f||f===0)throw new Error(p?AS(i):OS(i));return f}const y=Tg(m,v.props??{});return v.type!==g.Fragment&&(y.ref=o?N:b),g.cloneElement(v,y)});return c.displayName=`${i}.Slot`,c}Kt(An,"createSlot");var CS=An("Slot"),Cg=Symbol.for("radix.slottable");function TS(i){const c=Kt(r=>"child"in r?r.children(r.child):r.children,"Slottable");return c.displayName=`${i}.Slottable`,c.__radixId=Cg,c}Kt(TS,"createSlottable");var _S=Kt((i,c)=>"child"in i.props?g.isValidElement(c)?g.cloneElement(c,void 0,i.props.children(c.props.children)):null:g.isValidElement(c)?c:null,"getSlottableElementFromSlottable");function Tg(i,c){const r={...c};for(const o in c){const f=i[o],m=c[o];/^on[A-Z]/.test(o)?f&&m?r[o]=(...p)=>{const E=m(...p);return f(...p),E}:f&&(r[o]=f):o==="style"?r[o]={...f,...m}:o==="className"?r[o]=[f,m].filter(Boolean).join(" "):o==="aria-describedby"&&(r[o]=zg(m,f))}return{...i,...r}}Kt(Tg,"mergeProps");function _g(i){var o,f;let c=(o=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:o.get,r=c&&"isReactWarning"in c&&c.isReactWarning;return r?i.ref:(c=(f=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:f.get,r=c&&"isReactWarning"in c&&c.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}Kt(_g,"getElementRef");function wg(i){return g.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===Cg}Kt(wg,"isSlottable");var wS=Symbol.for("react.lazy");function Mf(i){return i!=null&&typeof i=="object"&&"$$typeof"in i&&i.$$typeof===wS&&"_payload"in i&&Og(i._payload)}Kt(Mf,"isLazyComponent");function Og(i){return typeof i=="object"&&i!==null&&"then"in i}Kt(Og,"isPromiseLike");function Ag(i){let c=i;for(;Mf(c)&&typeof ar=="function";)c=ar(c._payload);return c}Kt(Ag,"useUnwrappedLazy");function zg(...i){const c=new Set;for(const r of i)if(typeof r=="string")for(const o of String(r).trim().split(/\s+/))o&&c.add(o);return c.size>0?Array.from(c).join(" "):void 0}Kt(zg,"concatAriaDescribedby");var OS=Kt(i=>`${i} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),AS=Kt(i=>`${i} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),ar=ra[" use ".trim().toString()];function Rg(i){var c,r,o="";if(typeof i=="string"||typeof i=="number")o+=i;else if(typeof i=="object")if(Array.isArray(i)){var f=i.length;for(c=0;c<f;c++)i[c]&&(r=Rg(i[c]))&&(o&&(o+=" "),o+=r)}else for(r in i)i[r]&&(o&&(o+=" "),o+=r);return o}function jg(){for(var i,c,r=0,o="",f=arguments.length;r<f;r++)(i=arguments[r])&&(c=Rg(i))&&(o&&(o+=" "),o+=c);return o}const Ky=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,Jy=jg,Dg=(i,c)=>r=>{var o;if((c==null?void 0:c.variants)==null)return Jy(i,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:f,defaultVariants:m}=c,v=Object.keys(f).map(b=>{const N=r==null?void 0:r[b],y=m==null?void 0:m[b];if(N===null)return null;const T=Ky(N)||Ky(y);return f[b][T]}),p=r&&Object.entries(r).reduce((b,N)=>{let[y,T]=N;return T===void 0||(b[y]=T),b},{}),E=c==null||(o=c.compoundVariants)===null||o===void 0?void 0:o.reduce((b,N)=>{let{class:y,className:T,...B}=N;return Object.entries(B).every(D=>{let[M,H]=D;return Array.isArray(H)?H.includes({...m,...p}[M]):{...m,...p}[M]===H})?[...b,y,T]:b},[]);return Jy(i,v,E,r==null?void 0:r.class,r==null?void 0:r.className)},zS=(i,c)=>{const r=new Array(i.length+c.length);for(let o=0;o<i.length;o++)r[o]=i[o];for(let o=0;o<c.length;o++)r[i.length+o]=c[o];return r},RS=(i,c)=>({classGroupId:i,validator:c}),Mg=(i=new Map,c=null,r)=>({nextPart:i,validators:c,classGroupId:r}),ur="-",Iy=[],jS="arbitrary..",DS=i=>{const c=US(i),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=i;return{getClassGroupId:v=>{if(v.startsWith("[")&&v.endsWith("]"))return MS(v);const p=v.split(ur),E=p[0]===""&&p.length>1?1:0;return Ug(p,E,c)},getConflictingClassGroupIds:(v,p)=>{if(p){const E=o[v],b=r[v];return E?b?zS(b,E):E:b||Iy}return r[v]||Iy}}},Ug=(i,c,r)=>{if(i.length-c===0)return r.classGroupId;const f=i[c],m=r.nextPart.get(f);if(m){const b=Ug(i,c+1,m);if(b)return b}const v=r.validators;if(v===null)return;const p=c===0?i.join(ur):i.slice(c).join(ur),E=v.length;for(let b=0;b<E;b++){const N=v[b];if(N.validator(p))return N.classGroupId}},MS=i=>i.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const c=i.slice(1,-1),r=c.indexOf(":"),o=c.slice(0,r);return o?jS+o:void 0})(),US=i=>{const{theme:c,classGroups:r}=i;return HS(r,c)},HS=(i,c)=>{const r=Mg();for(const o in i){const f=i[o];Uf(f,r,o,c)}return r},Uf=(i,c,r,o)=>{const f=i.length;for(let m=0;m<f;m++){const v=i[m];BS(v,c,r,o)}},BS=(i,c,r,o)=>{if(typeof i=="string"){kS(i,c,r);return}if(typeof i=="function"){LS(i,c,r,o);return}GS(i,c,r,o)},kS=(i,c,r)=>{const o=i===""?c:Hg(c,i);o.classGroupId=r},LS=(i,c,r,o)=>{if(YS(i)){Uf(i(o),c,r,o);return}c.validators===null&&(c.validators=[]),c.validators.push(RS(r,i))},GS=(i,c,r,o)=>{const f=Object.entries(i),m=f.length;for(let v=0;v<m;v++){const[p,E]=f[v];Uf(E,Hg(c,p),r,o)}},Hg=(i,c)=>{let r=i;const o=c.split(ur),f=o.length;for(let m=0;m<f;m++){const v=o[m];let p=r.nextPart.get(v);p||(p=Mg(),r.nextPart.set(v,p)),r=p}return r},YS=i=>"isThemeGetter"in i&&i.isThemeGetter===!0,qS=i=>{if(i<1)return{get:()=>{},set:()=>{}};let c=0,r=Object.create(null),o=Object.create(null);const f=(m,v)=>{r[m]=v,c++,c>i&&(c=0,o=r,r=Object.create(null))};return{get(m){let v=r[m];if(v!==void 0)return v;if((v=o[m])!==void 0)return f(m,v),v},set(m,v){m in r?r[m]=v:f(m,v)}}},yf="!",Fy=":",VS=[],$y=(i,c,r,o,f)=>({modifiers:i,hasImportantModifier:c,baseClassName:r,maybePostfixModifierPosition:o,isExternal:f}),XS=i=>{const{prefix:c,experimentalParseClassName:r}=i;let o=f=>{const m=[];let v=0,p=0,E=0,b;const N=f.length;for(let M=0;M<N;M++){const H=f[M];if(v===0&&p===0){if(H===Fy){m.push(f.slice(E,M)),E=M+1;continue}if(H==="/"){b=M;continue}}H==="["?v++:H==="]"?v--:H==="("?p++:H===")"&&p--}const y=m.length===0?f:f.slice(E);let T=y,B=!1;y.endsWith(yf)?(T=y.slice(0,-1),B=!0):y.startsWith(yf)&&(T=y.slice(1),B=!0);const D=b&&b>E?b-E:void 0;return $y(m,B,T,D)};if(c){const f=c+Fy,m=o;o=v=>v.startsWith(f)?m(v.slice(f.length)):$y(VS,!1,v,void 0,!0)}if(r){const f=o;o=m=>r({className:m,parseClassName:f})}return o},QS=i=>{const c=new Map;return i.orderSensitiveModifiers.forEach((r,o)=>{c.set(r,1e6+o)}),r=>{const o=[];let f=[];for(let m=0;m<r.length;m++){const v=r[m],p=v[0]==="[",E=c.has(v);p||E?(f.length>0&&(f.sort(),o.push(...f),f=[]),o.push(v)):f.push(v)}return f.length>0&&(f.sort(),o.push(...f)),o}},ZS=i=>({cache:qS(i.cacheSize),parseClassName:XS(i),sortModifiers:QS(i),postfixLookupClassGroupIds:KS(i),...DS(i)}),KS=i=>{const c=Object.create(null),r=i.postfixLookupClassGroups;if(r)for(let o=0;o<r.length;o++)c[r[o]]=!0;return c},JS=/\s+/,IS=(i,c)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:f,sortModifiers:m,postfixLookupClassGroupIds:v}=c,p=[],E=i.trim().split(JS);let b="";for(let N=E.length-1;N>=0;N-=1){const y=E[N],{isExternal:T,modifiers:B,hasImportantModifier:D,baseClassName:M,maybePostfixModifierPosition:H}=r(y);if(T){b=y+(b.length>0?" "+b:b);continue}let Z=!!H,Q;if(Z){const U=M.substring(0,H);Q=o(U);const k=Q&&v[Q]?o(M):void 0;k&&k!==Q&&(Q=k,Z=!1)}else Q=o(M);if(!Q){if(!Z){b=y+(b.length>0?" "+b:b);continue}if(Q=o(M),!Q){b=y+(b.length>0?" "+b:b);continue}Z=!1}const V=B.length===0?"":B.length===1?B[0]:m(B).join(":"),P=D?V+yf:V,F=P+Q;if(p.indexOf(F)>-1)continue;p.push(F);const G=f(Q,Z);for(let U=0;U<G.length;++U){const k=G[U];p.push(P+k)}b=y+(b.length>0?" "+b:b)}return b},FS=(...i)=>{let c=0,r,o,f="";for(;c<i.length;)(r=i[c++])&&(o=Bg(r))&&(f&&(f+=" "),f+=o);return f},Bg=i=>{if(typeof i=="string")return i;let c,r="";for(let o=0;o<i.length;o++)i[o]&&(c=Bg(i[o]))&&(r&&(r+=" "),r+=c);return r},$S=(i,...c)=>{let r,o,f,m;const v=E=>{const b=c.reduce((N,y)=>y(N),i());return r=ZS(b),o=r.cache.get,f=r.cache.set,m=p,p(E)},p=E=>{const b=o(E);if(b)return b;const N=IS(E,r);return f(E,N),N};return m=v,(...E)=>m(FS(...E))},PS=[],nt=i=>{const c=r=>r[i]||PS;return c.isThemeGetter=!0,c.themeKey=i,c},kg=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Lg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,WS=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,e2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,t2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,l2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,n2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,a2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_n=i=>WS.test(i),Ne=i=>!!i&&!Number.isNaN(Number(i)),wl=i=>!!i&&Number.isInteger(Number(i)),lf=i=>i.endsWith("%")&&Ne(i.slice(0,-1)),Ql=i=>e2.test(i),Gg=()=>!0,u2=i=>t2.test(i)&&!l2.test(i),Hf=()=>!1,i2=i=>n2.test(i),c2=i=>a2.test(i),r2=i=>!le(i)&&!ne(i),o2=i=>i.startsWith("@container")&&(i[10]==="/"&&i[11]!==void 0||i[11]==="s"&&i[16]!==void 0&&i.startsWith("-size/",10)||i[11]==="n"&&i[18]!==void 0&&i.startsWith("-normal/",10)),s2=i=>Dn(i,Vg,Hf),le=i=>kg.test(i),na=i=>Dn(i,Xg,u2),Py=i=>Dn(i,p2,Ne),f2=i=>Dn(i,Zg,Gg),d2=i=>Dn(i,Qg,Hf),Wy=i=>Dn(i,Yg,Hf),m2=i=>Dn(i,qg,c2),Zc=i=>Dn(i,Kg,i2),ne=i=>Lg.test(i),ri=i=>oa(i,Xg),h2=i=>oa(i,Qg),eg=i=>oa(i,Yg),v2=i=>oa(i,Vg),y2=i=>oa(i,qg),Kc=i=>oa(i,Kg,!0),g2=i=>oa(i,Zg,!0),Dn=(i,c,r)=>{const o=kg.exec(i);return o?o[1]?c(o[1]):r(o[2]):!1},oa=(i,c,r=!1)=>{const o=Lg.exec(i);return o?o[1]?c(o[1]):r:!1},Yg=i=>i==="position"||i==="percentage",qg=i=>i==="image"||i==="url",Vg=i=>i==="length"||i==="size"||i==="bg-size",Xg=i=>i==="length",p2=i=>i==="number",Qg=i=>i==="family-name",Zg=i=>i==="number"||i==="weight",Kg=i=>i==="shadow",b2=()=>{const i=nt("color"),c=nt("font"),r=nt("text"),o=nt("font-weight"),f=nt("tracking"),m=nt("leading"),v=nt("breakpoint"),p=nt("container"),E=nt("spacing"),b=nt("radius"),N=nt("shadow"),y=nt("inset-shadow"),T=nt("text-shadow"),B=nt("drop-shadow"),D=nt("blur"),M=nt("perspective"),H=nt("aspect"),Z=nt("ease"),Q=nt("animate"),V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...P(),ne,le],G=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto","contain","none"],k=()=>[ne,le,E],ce=()=>[_n,"full","auto",...k()],xe=()=>[wl,"none","subgrid",ne,le],he=()=>["auto",{span:["full",wl,ne,le]},wl,ne,le],se=()=>[wl,"auto",ne,le],je=()=>["auto","min","max","fr",ne,le],ze=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ye=()=>["start","end","center","stretch","center-safe","end-safe"],K=()=>["auto",...k()],W=()=>[_n,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],ie=()=>[p,_n,"screen","full","dvw","lvw","svw","min","max","fit",...k()],ge=()=>[_n,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],q=()=>[i,ne,le],Ce=()=>[...P(),eg,Wy,{position:[ne,le]}],X=()=>["no-repeat",{repeat:["","x","y","space","round"]}],re=()=>["auto","cover","contain",v2,s2,{size:[ne,le]}],S=()=>[lf,ri,na],z=()=>["","none","full",b,ne,le],J=()=>["",Ne,ri,na],I=()=>["solid","dashed","dotted","double"],de=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>[Ne,lf,eg,Wy],Se=()=>["","none",D,ne,le],ae=()=>["none",Ne,ne,le],fe=()=>["none",Ne,ne,le],Mt=()=>[Ne,ne,le],Il=()=>[_n,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ql],breakpoint:[Ql],color:[Gg],container:[Ql],"drop-shadow":[Ql],ease:["in","out","in-out"],font:[r2],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ql],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ql],shadow:[Ql],spacing:["px",Ne],text:[Ql],"text-shadow":[Ql],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_n,le,ne,H]}],container:["container"],"container-type":[{"@container":["","normal","size",ne,le]}],"container-named":[o2],columns:[{columns:[Ne,"auto",le,ne,p]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:F()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ce()}],"inset-x":[{"inset-x":ce()}],"inset-y":[{"inset-y":ce()}],start:[{"inset-s":ce(),start:ce()}],end:[{"inset-e":ce(),end:ce()}],"inset-bs":[{"inset-bs":ce()}],"inset-be":[{"inset-be":ce()}],top:[{top:ce()}],right:[{right:ce()}],bottom:[{bottom:ce()}],left:[{left:ce()}],visibility:["visible","invisible","collapse"],z:[{z:[wl,"auto",ne,le]}],basis:[{basis:[_n,"full","auto",p,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ne,_n,"auto","initial","none",le]}],grow:[{grow:["",Ne,ne,le]}],shrink:[{shrink:["",Ne,ne,le]}],order:[{order:[wl,"first","last","none",ne,le]}],"grid-cols":[{"grid-cols":xe()}],"col-start-end":[{col:he()}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":xe()}],"row-start-end":[{row:he()}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":je()}],"auto-rows":[{"auto-rows":je()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...ze(),"normal"]}],"justify-items":[{"justify-items":[...ye(),"normal"]}],"justify-self":[{"justify-self":["auto",...ye()]}],"align-content":[{content:["normal",...ze()]}],"align-items":[{items:[...ye(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ye(),{baseline:["","last"]}]}],"place-content":[{"place-content":ze()}],"place-items":[{"place-items":[...ye(),"baseline"]}],"place-self":[{"place-self":["auto",...ye()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:K()}],mx:[{mx:K()}],my:[{my:K()}],ms:[{ms:K()}],me:[{me:K()}],mbs:[{mbs:K()}],mbe:[{mbe:K()}],mt:[{mt:K()}],mr:[{mr:K()}],mb:[{mb:K()}],ml:[{ml:K()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:W()}],"inline-size":[{inline:["auto",...ie()]}],"min-inline-size":[{"min-inline":["auto",...ie()]}],"max-inline-size":[{"max-inline":["none",...ie()]}],"block-size":[{block:["auto",...ge()]}],"min-block-size":[{"min-block":["auto",...ge()]}],"max-block-size":[{"max-block":["none",...ge()]}],w:[{w:[p,"screen",...W()]}],"min-w":[{"min-w":[p,"screen","none",...W()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[v]},...W()]}],h:[{h:["screen","lh",...W()]}],"min-h":[{"min-h":["screen","lh","none",...W()]}],"max-h":[{"max-h":["screen","lh","none",...W()]}],"font-size":[{text:["base",r,ri,na]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,g2,f2]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",lf,le]}],"font-family":[{font:[h2,d2,c]}],"font-features":[{"font-features":[le]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[f,ne,le]}],"line-clamp":[{"line-clamp":[Ne,"none",ne,Py]}],leading:[{leading:["none",m,...k()]}],"list-image":[{"list-image":["none",ne,le]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,le]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:q()}],"text-color":[{text:q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...I(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ne,"from-font","auto",ne,na]}],"text-decoration-color":[{decoration:q()}],"underline-offset":[{"underline-offset":[Ne,"auto",ne,le]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"tab-size":[{tab:[wl,ne,le]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,le]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ne,le]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ce()}],"bg-repeat":[{bg:X()}],"bg-size":[{bg:re()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},wl,ne,le],radial:["",ne,le],conic:["",wl,ne,le]},y2,m2]}],"bg-color":[{bg:q()}],"gradient-from-pos":[{from:S()}],"gradient-via-pos":[{via:S()}],"gradient-to-pos":[{to:S()}],"gradient-from":[{from:q()}],"gradient-via":[{via:q()}],"gradient-to":[{to:q()}],rounded:[{rounded:z()}],"rounded-s":[{"rounded-s":z()}],"rounded-e":[{"rounded-e":z()}],"rounded-t":[{"rounded-t":z()}],"rounded-r":[{"rounded-r":z()}],"rounded-b":[{"rounded-b":z()}],"rounded-l":[{"rounded-l":z()}],"rounded-ss":[{"rounded-ss":z()}],"rounded-se":[{"rounded-se":z()}],"rounded-ee":[{"rounded-ee":z()}],"rounded-es":[{"rounded-es":z()}],"rounded-tl":[{"rounded-tl":z()}],"rounded-tr":[{"rounded-tr":z()}],"rounded-br":[{"rounded-br":z()}],"rounded-bl":[{"rounded-bl":z()}],"border-w":[{border:J()}],"border-w-x":[{"border-x":J()}],"border-w-y":[{"border-y":J()}],"border-w-s":[{"border-s":J()}],"border-w-e":[{"border-e":J()}],"border-w-bs":[{"border-bs":J()}],"border-w-be":[{"border-be":J()}],"border-w-t":[{"border-t":J()}],"border-w-r":[{"border-r":J()}],"border-w-b":[{"border-b":J()}],"border-w-l":[{"border-l":J()}],"divide-x":[{"divide-x":J()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":J()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...I(),"hidden","none"]}],"divide-style":[{divide:[...I(),"hidden","none"]}],"border-color":[{border:q()}],"border-color-x":[{"border-x":q()}],"border-color-y":[{"border-y":q()}],"border-color-s":[{"border-s":q()}],"border-color-e":[{"border-e":q()}],"border-color-bs":[{"border-bs":q()}],"border-color-be":[{"border-be":q()}],"border-color-t":[{"border-t":q()}],"border-color-r":[{"border-r":q()}],"border-color-b":[{"border-b":q()}],"border-color-l":[{"border-l":q()}],"divide-color":[{divide:q()}],"outline-style":[{outline:[...I(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ne,ne,le]}],"outline-w":[{outline:["",Ne,ri,na]}],"outline-color":[{outline:q()}],shadow:[{shadow:["","inner","none",N,Kc,Zc]}],"shadow-color":[{shadow:q()}],"inset-shadow":[{"inset-shadow":["none",y,Kc,Zc]}],"inset-shadow-color":[{"inset-shadow":q()}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:q()}],"ring-offset-w":[{"ring-offset":[Ne,na]}],"ring-offset-color":[{"ring-offset":q()}],"inset-ring-w":[{"inset-ring":J()}],"inset-ring-color":[{"inset-ring":q()}],"text-shadow":[{"text-shadow":["none",T,Kc,Zc]}],"text-shadow-color":[{"text-shadow":q()}],opacity:[{opacity:[Ne,ne,le]}],"mix-blend":[{"mix-blend":[...de(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":de()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ne]}],"mask-image-linear-from-pos":[{"mask-linear-from":te()}],"mask-image-linear-to-pos":[{"mask-linear-to":te()}],"mask-image-linear-from-color":[{"mask-linear-from":q()}],"mask-image-linear-to-color":[{"mask-linear-to":q()}],"mask-image-t-from-pos":[{"mask-t-from":te()}],"mask-image-t-to-pos":[{"mask-t-to":te()}],"mask-image-t-from-color":[{"mask-t-from":q()}],"mask-image-t-to-color":[{"mask-t-to":q()}],"mask-image-r-from-pos":[{"mask-r-from":te()}],"mask-image-r-to-pos":[{"mask-r-to":te()}],"mask-image-r-from-color":[{"mask-r-from":q()}],"mask-image-r-to-color":[{"mask-r-to":q()}],"mask-image-b-from-pos":[{"mask-b-from":te()}],"mask-image-b-to-pos":[{"mask-b-to":te()}],"mask-image-b-from-color":[{"mask-b-from":q()}],"mask-image-b-to-color":[{"mask-b-to":q()}],"mask-image-l-from-pos":[{"mask-l-from":te()}],"mask-image-l-to-pos":[{"mask-l-to":te()}],"mask-image-l-from-color":[{"mask-l-from":q()}],"mask-image-l-to-color":[{"mask-l-to":q()}],"mask-image-x-from-pos":[{"mask-x-from":te()}],"mask-image-x-to-pos":[{"mask-x-to":te()}],"mask-image-x-from-color":[{"mask-x-from":q()}],"mask-image-x-to-color":[{"mask-x-to":q()}],"mask-image-y-from-pos":[{"mask-y-from":te()}],"mask-image-y-to-pos":[{"mask-y-to":te()}],"mask-image-y-from-color":[{"mask-y-from":q()}],"mask-image-y-to-color":[{"mask-y-to":q()}],"mask-image-radial":[{"mask-radial":[ne,le]}],"mask-image-radial-from-pos":[{"mask-radial-from":te()}],"mask-image-radial-to-pos":[{"mask-radial-to":te()}],"mask-image-radial-from-color":[{"mask-radial-from":q()}],"mask-image-radial-to-color":[{"mask-radial-to":q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":P()}],"mask-image-conic-pos":[{"mask-conic":[Ne]}],"mask-image-conic-from-pos":[{"mask-conic-from":te()}],"mask-image-conic-to-pos":[{"mask-conic-to":te()}],"mask-image-conic-from-color":[{"mask-conic-from":q()}],"mask-image-conic-to-color":[{"mask-conic-to":q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ce()}],"mask-repeat":[{mask:X()}],"mask-size":[{mask:re()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,le]}],filter:[{filter:["","none",ne,le]}],blur:[{blur:Se()}],brightness:[{brightness:[Ne,ne,le]}],contrast:[{contrast:[Ne,ne,le]}],"drop-shadow":[{"drop-shadow":["","none",B,Kc,Zc]}],"drop-shadow-color":[{"drop-shadow":q()}],grayscale:[{grayscale:["",Ne,ne,le]}],"hue-rotate":[{"hue-rotate":[Ne,ne,le]}],invert:[{invert:["",Ne,ne,le]}],saturate:[{saturate:[Ne,ne,le]}],sepia:[{sepia:["",Ne,ne,le]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,le]}],"backdrop-blur":[{"backdrop-blur":Se()}],"backdrop-brightness":[{"backdrop-brightness":[Ne,ne,le]}],"backdrop-contrast":[{"backdrop-contrast":[Ne,ne,le]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ne,ne,le]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ne,ne,le]}],"backdrop-invert":[{"backdrop-invert":["",Ne,ne,le]}],"backdrop-opacity":[{"backdrop-opacity":[Ne,ne,le]}],"backdrop-saturate":[{"backdrop-saturate":[Ne,ne,le]}],"backdrop-sepia":[{"backdrop-sepia":["",Ne,ne,le]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,le]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ne,"initial",ne,le]}],ease:[{ease:["linear","initial",Z,ne,le]}],delay:[{delay:[Ne,ne,le]}],animate:[{animate:["none",Q,ne,le]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[M,ne,le]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:ae()}],"rotate-x":[{"rotate-x":ae()}],"rotate-y":[{"rotate-y":ae()}],"rotate-z":[{"rotate-z":ae()}],scale:[{scale:fe()}],"scale-x":[{"scale-x":fe()}],"scale-y":[{"scale-y":fe()}],"scale-z":[{"scale-z":fe()}],"scale-3d":["scale-3d"],skew:[{skew:Mt()}],"skew-x":[{"skew-x":Mt()}],"skew-y":[{"skew-y":Mt()}],transform:[{transform:[ne,le,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Il()}],"translate-x":[{"translate-x":Il()}],"translate-y":[{"translate-y":Il()}],"translate-z":[{"translate-z":Il()}],"translate-none":["translate-none"],zoom:[{zoom:[wl,ne,le]}],accent:[{accent:q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ne,le]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":q()}],"scrollbar-track-color":[{"scrollbar-track":q()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ne,le]}],fill:[{fill:["none",...q()]}],"stroke-w":[{stroke:[Ne,ri,na,Py]}],stroke:[{stroke:["none",...q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["start","end","right","left"],"inset-y":["inset-bs","inset-be","top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["ps","pe","pr","pl"],py:["pbs","pbe","pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["ms","me","mr","ml"],my:["mbs","mbe","mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-s","border-w-e","border-w-r","border-w-l"],"border-w-y":["border-w-bs","border-w-be","border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-s","border-color-e","border-color-r","border-color-l"],"border-color-y":["border-color-bs","border-color-be","border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-ms","scroll-me","scroll-mr","scroll-ml"],"scroll-my":["scroll-mbs","scroll-mbe","scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-ps","scroll-pe","scroll-pr","scroll-pl"],"scroll-py":["scroll-pbs","scroll-pbe","scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},x2=$S(b2);function Xe(...i){return x2(jg(i))}const S2=Dg("inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-lg text-xs font-medium transition-all cursor-pointer select-none disabled:pointer-events-none disabled:opacity-50 shrink-0",{variants:{variant:{default:"hl-btn-primary shadow-xs",outline:"hl-btn-outline",secondary:"hl-muted border hl-border hover:opacity-90",ghost:"hover:bg-[var(--bg-muted)]",accent:"border border-[var(--accent)] bg-[var(--accent-soft)] text-[var(--accent)] font-semibold hover:opacity-90"},size:{default:"h-8 px-3 py-1.5",sm:"h-7 px-2.5 text-[11px] rounded-md",lg:"h-9 px-4 text-xs",icon:"h-8 w-8 p-0"}},defaultVariants:{variant:"default",size:"default"}}),jt=g.forwardRef(({className:i,variant:c,size:r,asChild:o=!1,...f},m)=>{const v=o?CS:"button";return d.jsx(v,{className:Xe(S2({variant:c,size:r,className:i})),ref:m,...f})});jt.displayName="Button";var E2=Object.defineProperty,su=(i,c)=>E2(i,"name",{value:c,configurable:!0}),Jg=!!(typeof window<"u"&&window.document&&window.document.createElement);function st(i,c,{checkForDefaultPrevented:r=!0}={}){return su(function(f){if(i==null||i(f),r===!1||!f||!f.defaultPrevented)return c==null?void 0:c(f)},"handleEvent")}su(st,"composeEventHandlers");function N2(i){var c;if(!Jg)throw new Error("Cannot access window outside of the DOM");return((c=i==null?void 0:i.ownerDocument)==null?void 0:c.defaultView)??window}su(N2,"getOwnerWindow");function gf(i){if(!Jg)throw new Error("Cannot access document outside of the DOM");return(i==null?void 0:i.ownerDocument)??document}su(gf,"getOwnerDocument");function Ig(i,c=!1){const{activeElement:r}=gf(i);if(!(r!=null&&r.nodeName))return null;if(Fg(r)&&r.contentDocument)return Ig(r.contentDocument.body,c);if(c){const o=r.getAttribute("aria-activedescendant");if(o){const f=gf(r).getElementById(o);if(f)return f}}return r}su(Ig,"getActiveElement");function Fg(i){return i.tagName==="IFRAME"}su(Fg,"isFrame");var C2=Object.defineProperty,nl=(i,c)=>C2(i,"name",{value:c,configurable:!0});function T2(i,c){const r=g.createContext(c);r.displayName=i+"Context";const o=nl(m=>{const{children:v,...p}=m,E=g.useMemo(()=>p,Object.values(p));return d.jsx(r.Provider,{value:E,children:v})},"Provider");o.displayName=i+"Provider";function f(m,v={}){const{optional:p=!1}=v,E=g.useContext(r);if(E)return E;if(c!==void 0)return c;if(!p)throw new Error(`\`${m}\` must be used within \`${i}\``)}return nl(f,"useContext"),[o,f]}nl(T2,"createContext");function sa(i,c=[]){let r=[];function o(m,v){const p=g.createContext(v);p.displayName=m+"Context";const E=r.length;r=[...r,v];const b=nl(y=>{var Z;const{scope:T,children:B,...D}=y,M=((Z=T==null?void 0:T[i])==null?void 0:Z[E])||p,H=g.useMemo(()=>D,Object.values(D));return d.jsx(M.Provider,{value:H,children:B})},"Provider");b.displayName=m+"Provider";function N(y,T,B={}){var Z;const{optional:D=!1}=B,M=((Z=T==null?void 0:T[i])==null?void 0:Z[E])||p,H=g.useContext(M);if(H)return H;if(v!==void 0)return v;if(!D)throw new Error(`\`${y}\` must be used within \`${m}\``)}return nl(N,"useContext"),[b,N]}nl(o,"createContext");const f=nl(()=>{const m=r.map(v=>g.createContext(v));return nl(function(p){const E=(p==null?void 0:p[i])||m;return g.useMemo(()=>({[`__scope${i}`]:{...p,[i]:E}}),[p,E])},"useScope")},"createScope");return f.scopeName=i,[o,$g(f,...c)]}nl(sa,"createContextScope");function $g(...i){const c=i[0];if(i.length===1)return c;const r=nl(()=>{const o=i.map(f=>({useScope:f(),scopeName:f.scopeName}));return nl(function(m){const v=o.reduce((p,{useScope:E,scopeName:b})=>{const y=E(m)[`__scope${b}`];return{...p,...y}},{});return g.useMemo(()=>({[`__scope${c.scopeName}`]:v}),[v])},"useComposedScopes")},"createScope");return r.scopeName=c.scopeName,r}nl($g,"composeContextScopes");var ul=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},_2=Object.defineProperty,at=(i,c)=>_2(i,"name",{value:c,configurable:!0});function Pg(i){const c=i+"CollectionProvider",[r,o]=sa(c),[f,m]=r(c,{collectionRef:{current:null},itemMap:new Map}),v=at(M=>{const{scope:H,children:Z}=M,Q=g.useRef(null),V=g.useRef(new Map).current;return d.jsx(f,{scope:H,itemMap:V,collectionRef:Q,children:Z})},"CollectionProvider");v.displayName=c;const p=i+"CollectionSlot",E=An(p),b=g.forwardRef((M,H)=>{const{scope:Z,children:Q}=M,V=m(p,Z),P=Dt(H,V.collectionRef);return d.jsx(E,{ref:P,children:Q})});b.displayName=p;const N=i+"CollectionItemSlot",y="data-radix-collection-item",T=An(N),B=g.forwardRef((M,H)=>{const{scope:Z,children:Q,...V}=M,P=g.useRef(null),F=Dt(H,P),G=m(N,Z);return g.useEffect(()=>(G.itemMap.set(P,{ref:P,...V}),()=>void G.itemMap.delete(P))),d.jsx(T,{[y]:"",ref:F,children:Q})});B.displayName=N;function D(M){const H=m(i+"CollectionConsumer",M);return g.useCallback(()=>{const Q=H.collectionRef.current;if(!Q)return[];const V=Array.from(Q.querySelectorAll(`[${y}]`));return Array.from(H.itemMap.values()).sort((G,U)=>V.indexOf(G.ref.current)-V.indexOf(U.ref.current))},[H.collectionRef,H.itemMap])}return at(D,"useCollection"),[{Provider:v,Slot:b,ItemSlot:B},D,o]}at(Pg,"createCollection");var tg=new WeakMap,Fe,Zt,Jc=(Zt=class extends Map{constructor(r){super(r);Dy(this,Fe);Is(this,Fe,[...super.keys()]),tg.set(this,!0)}set(r,o){return tg.get(this)&&!this.has(r)&&pt(this,Fe).push(r),super.set(r,o),this}insert(r,o,f){const m=this.has(o),v=m?this.size:this.size+1,p=Bf(r),E=p>=0?Math.min(p,v-1):Math.max(v+p,0);if(m?pt(this,Fe).indexOf(o)===E:E===this.size)return this.set(o,f),this;const b=pt(this,Fe).filter(y=>y!==o);b.splice(E,0,o);const N=b.map(y=>[y,y===o?f:this.get(y)]);this.clear();for(const[y,T]of N)this.set(y,T);return this}with(r,o,f){const m=new Zt(this);return m.insert(r,o,f),m}before(r){const o=pt(this,Fe).indexOf(r)-1;if(!(o<0))return this.entryAt(o)}setBefore(r,o,f){const m=pt(this,Fe).indexOf(r);if(m===-1)return this;const v=pt(this,Fe).indexOf(o),p=v!==-1&&v<m?m-1:m;return this.insert(p,o,f)}after(r){let o=pt(this,Fe).indexOf(r);if(o=o===-1||o===this.size-1?-1:o+1,o!==-1)return this.entryAt(o)}setAfter(r,o,f){const m=pt(this,Fe).indexOf(r);if(m===-1)return this;const v=pt(this,Fe).indexOf(o),p=v!==-1&&v<=m?m:m+1;return this.insert(p,o,f)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return Is(this,Fe,[]),super.clear()}delete(r){const o=super.delete(r);return o&&pt(this,Fe).splice(pt(this,Fe).indexOf(r),1),o}deleteAt(r){const o=this.keyAt(r);return o!==void 0?this.delete(o):!1}at(r){const o=er(pt(this,Fe),r);if(o!==void 0)return this.get(o)}entryAt(r){const o=er(pt(this,Fe),r);if(o!==void 0)return[o,this.get(o)]}indexOf(r){return pt(this,Fe).indexOf(r)}keyAt(r){return er(pt(this,Fe),r)}from(r,o){const f=this.indexOf(r);if(f===-1)return;let m=f+o;return m<0&&(m=0),m>=this.size&&(m=this.size-1),this.at(m)}keyFrom(r,o){const f=this.indexOf(r);if(f===-1)return;let m=f+o;return m<0&&(m=0),m>=this.size&&(m=this.size-1),this.keyAt(m)}find(r,o){let f=0;for(const m of this){if(Reflect.apply(r,o,[m,f,this]))return m;f++}}findIndex(r,o){let f=0;for(const m of this){if(Reflect.apply(r,o,[m,f,this]))return f;f++}return-1}filter(r,o){const f=[];let m=0;for(const v of this)Reflect.apply(r,o,[v,m,this])&&f.push(v),m++;return new Zt(f)}map(r,o){const f=[];let m=0;for(const v of this)f.push([v[0],Reflect.apply(r,o,[v,m,this])]),m++;return new Zt(f)}reduce(...r){const[o,f]=r,m=r.length>1;if(!m&&this.size===0)throw new TypeError("Reduce of empty OrderedDict with no initial value");let v=0,p=f;for(const E of this)v===0&&!m?p=E:p=Reflect.apply(o,this,[p,E,v,this]),v++;return p}reduceRight(...r){const[o,f]=r,m=r.length>1;if(!m&&this.size===0)throw new TypeError("Reduce of empty OrderedDict with no initial value");let v=f;for(let p=this.size-1;p>=0;p--){const E=this.entryAt(p);p===this.size-1&&!m?v=E:v=Reflect.apply(o,this,[v,E,p,this])}return v}sort(r){if(typeof r!="function")throw new TypeError("OrderedDict.sort requires a compare function");const o=[...this.entries()].sort(r);this.clear();for(const[f,m]of o)this.set(f,m);return this}toSorted(r){if(typeof r!="function")throw new TypeError("OrderedDict.toSorted requires a compare function");const o=[...this.entries()].sort(r);return new Zt(o)}toReversed(){const r=new Zt;for(let o=this.size-1;o>=0;o--){const f=this.keyAt(o),m=this.get(f);r.set(f,m)}return r}toSpliced(...r){const o=[...this.entries()];return o.splice(...r),new Zt(o)}slice(r,o){const f=new Zt;for(const m of pt(this,Fe).slice(r,o))f.set(m,this.get(m));return f}every(r,o){let f=0;for(const m of this){if(!Reflect.apply(r,o,[m,f,this]))return!1;f++}return!0}some(r,o){let f=0;for(const m of this){if(Reflect.apply(r,o,[m,f,this]))return!0;f++}return!1}},Fe=new WeakMap,at(Zt,"OrderedDict"),Zt);function er(i,c){if("at"in Array.prototype)return Array.prototype.at.call(i,c);const r=Wg(i,c);return r===-1?void 0:i[r]}at(er,"at");function Wg(i,c){const r=i.length,o=Bf(c),f=o>=0?o:r+o;return f<0||f>=r?-1:f}at(Wg,"toSafeIndex");function Bf(i){return i!==i||i===0?0:Math.trunc(i)}at(Bf,"toSafeInteger");function w2(i){const c=i+"CollectionProvider",[r,o]=sa(c),[f,m]=r(c);f.displayName=i+"CollectionStableContextProvider";const[v,p]=r(c);v.displayName=i+"CollectionStatefulContextProvider";const E=at(({state:G,...U})=>G?d.jsx(N,{...U,state:G}):d.jsx(b,{...U}),"CollectionProvider");E.displayName=c;const b=at(G=>{const U=Q();return d.jsx(N,{...G,state:U})},"CollectionInit");b.displayName=i+"CollectionInit";const N=at(G=>{const{scope:U,children:k,state:ce}=G,xe=g.useRef(null),[he,se]=g.useState(null),je=Dt(xe,se),[ze,ye]=ce,K=g.useRef(new Jc),W=g.useCallback(()=>{const ie=K.current;return lp(ie)||ie.sort(tr),ie},[]);return g.useEffect(()=>{if(!he)return;const ie=np(()=>{ye(ge=>{const q=ge.toSorted(tr);return q.some(([X],re)=>ge.keyAt(re)!==X)?q:ge})});return ie.observe(he,{childList:!0,subtree:!0}),()=>{ie.disconnect()}},[he,ye]),d.jsx(f,{scope:U,collectionElementRef:je,collectionElementRefObject:xe,getCollection:W,setCollection:ye,registryRef:K,children:d.jsx(v,{scope:U,collectionElement:he,collection:ze,children:k})})},"CollectionProviderImpl");N.displayName=i+"CollectionProviderImpl";const y=i+"CollectionSlot",T=An(y),B=g.forwardRef((G,U)=>{const{scope:k,children:ce}=G,xe=m(y,k),he=Dt(U,xe.collectionElementRef);return d.jsx(T,{ref:he,children:ce})});B.displayName=y;const D=i+"CollectionItemSlot",M="data-radix-collection-item",H=An(D),Z=g.forwardRef((G,U)=>{const{scope:k,children:ce,...xe}=G,he=g.useRef(null),se=m(D,k),{setCollection:je,registryRef:ze}=se,ye=g.useRef(xe);ep(ye.current,xe)||(ye.current=xe);const K=ye.current,W=g.useCallback(q=>{const Ce=ze.current;q?Ce.set(q,{...ye.current,element:q}):he.current&&Ce.delete(he.current)},[ze]),ie=Dt(U,W,he);ul(()=>{const q=he.current,Ce=ze.current;q&&Ce.has(q)&&Ce.set(q,{...K,element:q})},[K,ze]);const ge=g.useRef(null);return g.useEffect(()=>{const q=he.current,Ce=ge.current;((Ce==null?void 0:Ce.element)??null)===q&&(!q||(Ce==null?void 0:Ce.itemData)===K)||(ge.current=q?{element:q,itemData:K}:null,je(X=>{const re=new Jc(X);return Ce&&Ce.element!==q&&re.delete(Ce.element),q&&re.set(q,{...K,element:q}),re.sort(tr)}))}),g.useEffect(()=>()=>{const q=ge.current;ge.current=null,q&&je(Ce=>{if(!Ce.has(q.element))return Ce;const X=new Jc(Ce);return X.delete(q.element),X})},[je]),d.jsx(H,{[M]:"",ref:ie,children:ce})});Z.displayName=D;function Q(){return g.useState(new Jc)}at(Q,"useInitCollection");function V(G){const{collection:U}=p(i+"CollectionConsumer",G);return U}at(V,"useCollection");function P(G){const{getCollection:U}=m(i+"CollectionConsumer",G);return U}return at(P,"useGetCollection"),[{Provider:E,Slot:B,ItemSlot:Z},{createCollectionScope:o,useCollection:V,useGetCollection:P,useInitCollection:Q}]}at(w2,"createCollection");function ep(i,c){if(i===c)return!0;if(typeof i!="object"||typeof c!="object"||i==null||c==null)return!1;const r=Object.keys(i),o=Object.keys(c);if(r.length!==o.length)return!1;for(const f of r)if(!Object.prototype.hasOwnProperty.call(c,f)||i[f]!==c[f])return!1;return!0}at(ep,"shallowEqual");function tp(i,c){return!!(c.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_PRECEDING)}at(tp,"isElementPreceding");function lp(i){let c;for(const r of i.keys()){if(c){const o=c.compareDocumentPosition(r);if(!(o&Node.DOCUMENT_POSITION_DISCONNECTED)&&o&Node.DOCUMENT_POSITION_PRECEDING)return!1}c=r}return!0}at(lp,"isInDocumentOrder");function tr(i,c){return!i[1].element||!c[1].element?0:tp(i[1].element,c[1].element)?-1:1}at(tr,"sortByDocumentPosition");function np(i){return new MutationObserver(r=>{for(const o of r)if(o.type==="childList"){i();return}})}at(np,"getChildListObserver");var O2=Object.defineProperty,A2=(i,c)=>O2(i,"name",{value:c,configurable:!0}),z2=ra[" useId ".trim().toString()]||(()=>{}),R2=0;function al(i){const[c,r]=g.useState(z2());return ul(()=>{i||r(o=>o??String(R2++))},[i]),i||(c?`radix-${c}`:"")}A2(al,"useId");var ap=bg(),j2=Object.defineProperty,D2=(i,c)=>j2(i,"name",{value:c,configurable:!0}),M2=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ze=M2.reduce((i,c)=>{const r=An(`Primitive.${c}`),o=g.forwardRef((f,m)=>{const{asChild:v,...p}=f,E=v?r:c;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(E,{...p,ref:m})});return o.displayName=`Primitive.${c}`,{...i,[c]:o}},{});function up(i,c){i&&ap.flushSync(()=>i.dispatchEvent(c))}D2(up,"dispatchDiscreteCustomEvent");var U2=Object.defineProperty,H2=(i,c)=>U2(i,"name",{value:c,configurable:!0}),lg=ra[" useInsertionEffect ".trim().toString()];function ia(i){const c=g.useRef(i);return typeof lg=="function"?lg(()=>{c.current=i}):ul(()=>{c.current=i}),g.useMemo(()=>((...r)=>{var o;return(o=c.current)==null?void 0:o.call(c,...r)}),[])}H2(ia,"useCallbackRef");var B2=Object.defineProperty,k2=(i,c)=>B2(i,"name",{value:c,configurable:!0}),ng=ra[" useEffectEvent ".trim().toString()],ag=ra[" useInsertionEffect ".trim().toString()];function ip(i){if(typeof ng=="function")return ng(i);const c=g.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof ag=="function"?ag(()=>{c.current=i}):ul(()=>{c.current=i}),g.useMemo(()=>((...r)=>{var o;return(o=c.current)==null?void 0:o.call(c,...r)}),[])}k2(ip,"useEffectEvent");var L2=Object.defineProperty,di=(i,c)=>L2(i,"name",{value:c,configurable:!0}),G2=ra[" useInsertionEffect ".trim().toString()]||ul;function mi({prop:i,defaultProp:c,onChange:r=di(()=>{},"onChange"),caller:o}){const[f,m,v]=cp({defaultProp:c,onChange:r}),p=i!==void 0,E=p?i:f,b=g.useCallback(N=>{var y;if(p){const T=rp(N)?N(i):N;T!==i&&((y=v.current)==null||y.call(v,T))}else m(N)},[p,i,m,v]);return[E,b]}di(mi,"useControllableState");function cp({defaultProp:i,onChange:c}){const[r,o]=g.useState(i),f=g.useRef(r),m=g.useRef(c);return G2(()=>{m.current=c},[c]),g.useEffect(()=>{var v;f.current!==r&&((v=m.current)==null||v.call(m,r),f.current=r)},[r,f]),[r,o,m]}di(cp,"useUncontrolledState");function rp(i){return typeof i=="function"}di(rp,"isFunction");var ug=Symbol("RADIX:SYNC_STATE");function Y2(i,c,r,o){const{prop:f,defaultProp:m,onChange:v,caller:p}=c,E=f!==void 0,b=ip(v),N=[{...r,state:m}];o&&N.push(o);const[y,T]=g.useReducer((H,Z)=>{if(Z.type===ug)return{...H,state:Z.state};const Q=i(H,Z);return E&&!Object.is(Q.state,H.state)&&b(Q.state),Q},...N),B=y.state,D=g.useRef(B);g.useEffect(()=>{D.current!==B&&(D.current=B,E||b(B))},[B,D,E]);const M=g.useMemo(()=>f!==void 0?{...y,state:f}:y,[y,f]);return g.useEffect(()=>{E&&!Object.is(f,y.state)&&T({type:ug,state:f})},[f,y.state,E]),[M,T]}di(Y2,"useControllableStateReducer");var q2=Object.defineProperty,V2=(i,c)=>q2(i,"name",{value:c,configurable:!0}),X2={LTR:"ltr"},Q2=g.createContext(void 0);function kf(i){const c=g.useContext(Q2);return i||c||X2.LTR}V2(kf,"useDirection");var Z2=Object.defineProperty,Lf=(i,c)=>Z2(i,"name",{value:c,configurable:!0}),nf=!1;function op(){const[i,c]=g.useState(nf);return g.useEffect(()=>{nf||(nf=!0,c(!0))},[]),i}Lf(op,"useIsHydrated");var sp=ra[" useSyncExternalStore ".trim().toString()];function fp(){return()=>{}}Lf(fp,"subscribe");function dp(){return sp(fp,()=>!0,()=>!1)}Lf(dp,"useIsHydratedModern");var K2=typeof sp=="function"?dp:op,J2=Object.defineProperty,fa=(i,c)=>J2(i,"name",{value:c,configurable:!0}),af="rovingFocusGroup.onEntryFocus",I2={bubbles:!1,cancelable:!0},sr="RovingFocusGroup",[pf,mp,F2]=Pg(sr),[$2,hp]=sa(sr,[F2]),ig={Vertical:"vertical",Horizontal:"horizontal"},P2={RTL:"rtl"},[W2,eE]=$2(sr),tE=g.forwardRef(fa(function(c,r){return d.jsx(pf.Provider,{scope:c.__scopeRovingFocusGroup,children:d.jsx(pf.Slot,{scope:c.__scopeRovingFocusGroup,children:d.jsx(lE,{...c,ref:r})})})},"RovingFocusGroup")),lE=g.forwardRef(fa(function(c,r){const{__scopeRovingFocusGroup:o,orientation:f,loop:m=!1,dir:v,currentTabStopId:p,defaultCurrentTabStopId:E,onCurrentTabStopIdChange:b,onEntryFocus:N,preventScrollOnEntryFocus:y=!1,...T}=c,B=g.useRef(null),D=Dt(r,B),M=kf(v),[H,Z]=mi({prop:p,defaultProp:E??null,onChange:b,caller:sr}),[Q,V]=g.useState(!1),P=ia(N),F=mp(o),G=g.useRef(!1),[U,k]=g.useState(0);return g.useEffect(()=>{const ce=B.current;if(ce)return ce.addEventListener(af,P),()=>ce.removeEventListener(af,P)},[P]),d.jsx(W2,{scope:o,orientation:f,dir:M,loop:m,currentTabStopId:H,onItemFocus:g.useCallback(ce=>Z(ce),[Z]),onItemShiftTab:g.useCallback(()=>V(!0),[]),onFocusableItemAdd:g.useCallback(()=>k(ce=>ce+1),[]),onFocusableItemRemove:g.useCallback(()=>k(ce=>ce-1),[]),children:d.jsx(Ze.div,{tabIndex:Q||U===0?-1:0,"data-orientation":f,...T,ref:D,style:{outline:"none",...c.style},onMouseDown:st(c.onMouseDown,()=>{G.current=!0}),onFocus:st(c.onFocus,ce=>{const xe=!G.current;if(ce.target===ce.currentTarget&&xe&&!Q){const he=new CustomEvent(af,I2);if(ce.currentTarget.dispatchEvent(he),!he.defaultPrevented){const se=F().filter(W=>W.focusable),je=se.find(W=>W.active),ze=se.find(W=>W.id===H),K=[je,ze,...se].filter(Boolean).map(W=>W.ref.current);Gf(K,y)}}G.current=!1}),onBlur:st(c.onBlur,()=>V(!1))})})},"RovingFocusGroupImpl")),nE="RovingFocusGroupItem",aE=g.forwardRef(fa(function(c,r){const{__scopeRovingFocusGroup:o,focusable:f=!0,active:m=!1,tabStopId:v,children:p,...E}=c,b=al(),N=v||b,y=eE(nE,o),T=y.currentTabStopId===N,B=mp(o),{onFocusableItemAdd:D,onFocusableItemRemove:M,currentTabStopId:H}=y,Z=K2();return ul(()=>{if(!(!Z||!f))return D(),()=>M()},[Z,f,D,M]),g.useEffect(()=>{if(!(Z||!f))return D(),()=>M()},[Z,f,D,M]),d.jsx(pf.ItemSlot,{scope:o,id:N,focusable:f,active:m,children:d.jsx(Ze.span,{tabIndex:T?0:-1,"data-orientation":y.orientation,...E,ref:r,onMouseDown:st(c.onMouseDown,Q=>{f?y.onItemFocus(N):Q.preventDefault()}),onFocus:st(c.onFocus,()=>y.onItemFocus(N)),onKeyDown:st(c.onKeyDown,Q=>{if(Q.key==="Tab"&&Q.shiftKey){y.onItemShiftTab();return}if(Q.target!==Q.currentTarget)return;const V=yp(Q,y.orientation,y.dir);if(V!==void 0){if(Q.metaKey||Q.ctrlKey||Q.altKey||Q.shiftKey)return;Q.preventDefault();let F=B().filter(G=>G.focusable).map(G=>G.ref.current);if(V==="last")F.reverse();else if(V==="prev"||V==="next"){V==="prev"&&F.reverse();const G=F.indexOf(Q.currentTarget);F=y.loop?gp(F,G+1):F.slice(G+1)}setTimeout(()=>Gf(F))}}),children:typeof p=="function"?p({isCurrentTabStop:T,hasTabStop:H!=null}):p})})},"RovingFocusGroupItem")),uE={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function vp(i,c){return c!==P2.RTL?i:i==="ArrowLeft"?"ArrowRight":i==="ArrowRight"?"ArrowLeft":i}fa(vp,"getDirectionAwareKey");function yp(i,c,r){const o=vp(i.key,r);if(!(c===ig.Vertical&&["ArrowLeft","ArrowRight"].includes(o))&&!(c===ig.Horizontal&&["ArrowUp","ArrowDown"].includes(o)))return uE[o]}fa(yp,"getFocusIntent");function Gf(i,c=!1){const r=document.activeElement;for(const o of i)if(o===r||(o.focus({preventScroll:c}),document.activeElement!==r))return}fa(Gf,"focusFirst");function gp(i,c){return i.map((r,o)=>i[(c+o)%i.length])}fa(gp,"wrapArray");var iE=Object.defineProperty,Kl=(i,c)=>iE(i,"name",{value:c,configurable:!0});function pp(i,c){return g.useReducer((r,o)=>c[r][o]??r,i)}Kl(pp,"useStateMachine");var fr=Kl(i=>{const{present:c,children:r}=i,o=bp(c),f=typeof r=="function"?r({present:o.isPresent}):g.Children.only(r),m=xp(o.ref,Sp(f));return typeof r=="function"||o.isPresent?g.cloneElement(f,{ref:m}):null},"Presence");function bp(i){const[c,r]=g.useState(),o=g.useRef(null),f=g.useRef(i),m=g.useRef("none"),v=g.useRef(void 0),p=i?"mounted":"unmounted",[E,b]=pp(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{E==="mounted"?(m.current=v.current??iu(o.current),v.current=void 0):m.current="none"},[E]),ul(()=>{const N=o.current,y=f.current;if(y!==i){const B=m.current,D=iu(N);i?(v.current=D,b("MOUNT")):D==="none"||(N==null?void 0:N.display)==="none"?b("UNMOUNT"):b(y&&B!==D?"ANIMATION_OUT":"UNMOUNT"),f.current=i}},[i,b]),ul(()=>{if(c){let N;const y=c.ownerDocument.defaultView??window,T=Kl(D=>{const H=iu(o.current).includes(CSS.escape(D.animationName));if(D.target===c&&H&&(b("ANIMATION_END"),!f.current)){const Z=c.style.animationFillMode;c.style.animationFillMode="forwards",N=y.setTimeout(()=>{c.style.animationFillMode==="forwards"&&(c.style.animationFillMode=Z)})}},"handleAnimationEnd"),B=Kl(D=>{D.target===c&&(m.current=iu(o.current))},"handleAnimationStart");return c.addEventListener("animationstart",B),c.addEventListener("animationcancel",T),c.addEventListener("animationend",T),()=>{y.clearTimeout(N),c.removeEventListener("animationstart",B),c.removeEventListener("animationcancel",T),c.removeEventListener("animationend",T)}}else b("ANIMATION_END")},[c,b]),{isPresent:["mounted","unmountSuspended"].includes(E),ref:g.useCallback(N=>{if(N){const y=getComputedStyle(N);o.current=y,v.current=iu(y)}else o.current=null;r(N)},[])}}Kl(bp,"usePresence");function bf(i,c){if(typeof i=="function")return i(c);i!=null&&(i.current=c)}Kl(bf,"setRef");function xp(...i){const c=g.useRef(i);return c.current=i,g.useCallback(r=>{const o=c.current;let f=!1;const m=o.map(v=>{const p=bf(v,r);return!f&&typeof p=="function"&&(f=!0),p});if(f)return()=>{for(let v=0;v<m.length;v++){const p=m[v];typeof p=="function"?p():bf(o[v],null)}}},[])}Kl(xp,"useStableComposedRefs");function iu(i){return(i==null?void 0:i.animationName)||"none"}Kl(iu,"getAnimationName");function Sp(i){var o,f;let c=(o=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:o.get,r=c&&"isReactWarning"in c&&c.isReactWarning;return r?i.ref:(c=(f=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:f.get,r=c&&"isReactWarning"in c&&c.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}Kl(Sp,"getElementRef");var cE=Object.defineProperty,fu=(i,c)=>cE(i,"name",{value:c,configurable:!0}),Ep={Automatic:"automatic",Manual:"manual"},Yf="Tabs",[rE,bC]=sa(Yf,[hp]),Np=hp(),[oE,qf]=rE(Yf),sE=g.forwardRef(fu(function(c,r){const{__scopeTabs:o,value:f,onValueChange:m,defaultValue:v,orientation:p="horizontal",dir:E,activationMode:b=Ep.Automatic,...N}=c,y=kf(E),[T,B]=mi({prop:f,onChange:m,defaultProp:v??"",caller:Yf});return d.jsx(oE,{scope:o,baseId:al(),value:T,onValueChange:B,orientation:p,dir:y,activationMode:b,children:d.jsx(Ze.div,{dir:y,"data-orientation":p,...N,ref:r})})},"Tabs")),fE="TabsList",Cp=g.forwardRef(fu(function(c,r){const{__scopeTabs:o,loop:f=!0,...m}=c,v=qf(fE,o),p=Np(o);return d.jsx(tE,{asChild:!0,...p,orientation:v.orientation,dir:v.dir,loop:f,children:d.jsx(Ze.div,{role:"tablist","aria-orientation":v.orientation,...m,ref:r})})},"TabsList")),dE="TabsTrigger",Tp=g.forwardRef(fu(function(c,r){const{__scopeTabs:o,value:f,disabled:m=!1,...v}=c,p=qf(dE,o),E=Np(o),b=Vf(p.baseId,f),N=Xf(p.baseId,f),y=f===p.value;return d.jsx(aE,{asChild:!0,...E,focusable:!m,active:y,children:d.jsx(Ze.button,{type:"button",role:"tab","aria-selected":y,"aria-controls":N,"data-state":y?"active":"inactive","data-disabled":m?"":void 0,disabled:m,id:b,...v,ref:r,onMouseDown:st(c.onMouseDown,T=>{!m&&T.button===0&&T.ctrlKey===!1?(T.currentTarget.focus(),p.onValueChange(f)):T.preventDefault()}),onKeyDown:st(c.onKeyDown,T=>{m||T.target!==T.currentTarget||[" ","Enter"].includes(T.key)&&p.onValueChange(f)}),onFocus:st(c.onFocus,()=>{const T=p.activationMode!==Ep.Manual;!y&&!m&&T&&p.onValueChange(f)})})})},"TabsTrigger")),mE="TabsContent",_p=g.forwardRef(fu(function(c,r){const{__scopeTabs:o,value:f,forceMount:m,children:v,...p}=c,E=qf(mE,o),b=Vf(E.baseId,f),N=Xf(E.baseId,f),y=f===E.value,T=g.useRef(y);return g.useEffect(()=>{const B=requestAnimationFrame(()=>T.current=!1);return()=>cancelAnimationFrame(B)},[]),d.jsx(fr,{present:m||y,children:({present:B})=>d.jsx(Ze.div,{"data-state":y?"active":"inactive","data-orientation":E.orientation,role:"tabpanel","aria-labelledby":b,hidden:!B,id:N,tabIndex:0,...p,ref:r,style:{...c.style,animationDuration:T.current?"0s":void 0},children:B&&v})})},"TabsContent"));function Vf(i,c){return`${i}-trigger-${c}`}fu(Vf,"makeTriggerId");function Xf(i,c){return`${i}-content-${c}`}fu(Xf,"makeContentId");const xf=sE,ir=g.forwardRef(({className:i,...c},r)=>d.jsx(Cp,{ref:r,className:Xe("inline-flex items-center justify-center rounded-lg hl-muted p-1 border hl-border text-[var(--text-muted)]",i),...c}));ir.displayName=Cp.displayName;const aa=g.forwardRef(({className:i,...c},r)=>d.jsx(Tp,{ref:r,className:Xe("inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-md px-2.5 py-1 text-xs font-medium transition-all cursor-pointer select-none disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-[var(--bg-card)] data-[state=active]:text-[var(--text-main)] data-[state=active]:shadow-xs",i),...c}));aa.displayName=Tp.displayName;const hE=g.forwardRef(({className:i,...c},r)=>d.jsx(_p,{ref:r,className:Xe("mt-2 outline-none",i),...c}));hE.displayName=_p.displayName;const vE=[{id:"auto",label:"智能路由"},{id:"edge443",label:"443 免端口"},{id:"home10443",label:"10443 家宽"},{id:"lan",label:"LAN 局域网"}],yE=()=>{const{theme:i,resolvedTheme:c,routeMode:r,viewMode:o,telemetry:f,setTheme:m,toggleTheme:v,setRouteMode:p,setViewMode:E,setShowAgyModal:b,setShowCmdPalette:N}=jn();return d.jsxs(d.Fragment,{children:[d.jsx("header",{className:"border-b hl-border sticky top-0 z-30 backdrop-blur-md",style:{backgroundColor:"color-mix(in srgb, var(--bg-card) 88%, transparent)"},children:d.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-14 flex items-center justify-between gap-4",children:[d.jsxs("div",{className:"flex items-center gap-4 shrink-0",children:[d.jsxs("div",{onClick:()=>E("dashboard"),className:"flex items-center gap-2.5 cursor-pointer",children:[d.jsx("img",{src:"https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/apple.png",alt:"Mac mini",className:"w-6 h-6 rounded"}),d.jsx("span",{className:"font-semibold text-sm tracking-tight",children:"HomeLab"}),d.jsx("span",{className:"w-2 h-2 rounded-full",style:{backgroundColor:"var(--success)"},title:"全屋 4 节点在线"})]}),d.jsx("div",{className:"h-4 w-[1px] hl-muted"}),d.jsx(xf,{value:o,onValueChange:y=>E(y),children:d.jsxs(ir,{children:[d.jsxs(aa,{value:"dashboard",children:[d.jsx(nS,{className:"w-3.5 h-3.5"}),d.jsx("span",{children:"中控台"})]}),d.jsxs(aa,{value:"storybook",children:[d.jsx(Ng,{className:"w-3.5 h-3.5"}),d.jsx("span",{children:"Storybook 设计规范"})]})]})})]}),d.jsxs("div",{className:"flex items-center gap-2.5 shrink-0 ml-auto",children:[d.jsxs(jt,{variant:"outline",onClick:()=>N(!0),className:"gap-3",title:"按 Cmd+K 唤起全局命令面板",children:[d.jsxs("span",{className:"flex items-center gap-1.5",style:{color:"var(--text-muted)"},children:[d.jsx(Rf,{className:"w-3.5 h-3.5"}),d.jsx("span",{className:"hidden sm:inline",children:"搜索服务或指令..."})]}),d.jsx("kbd",{className:"px-1.5 py-0.5 text-[10px] font-mono-num rounded hl-muted",style:{color:"var(--text-muted)"},children:"⌘K"})]}),d.jsxs(jt,{onClick:()=>b(!0),children:[d.jsx(jf,{className:"w-3.5 h-3.5"}),d.jsx("span",{children:"AGY 终端"})]}),d.jsxs("div",{className:"flex items-center p-0.5 rounded-lg hl-muted border hl-border text-xs",children:[d.jsx("button",{onClick:v,className:"px-2.5 py-1 rounded-md font-medium transition-all flex items-center gap-1.5 cursor-pointer",style:{backgroundColor:"var(--bg-card)",color:"var(--text-main)",boxShadow:"0 1px 2px rgba(0,0,0,0.08)"},title:"点击切换深色 / 浅色主题(默认跟随系统)",children:c==="dark"?d.jsxs(d.Fragment,{children:[d.jsx(cS,{className:"w-3.5 h-3.5"}),d.jsx("span",{children:"深色"})]}):d.jsxs(d.Fragment,{children:[d.jsx(pS,{className:"w-3.5 h-3.5"}),d.jsx("span",{children:"浅色"})]})}),i!=="system"&&d.jsx("button",{onClick:()=>m("system"),className:"px-2 py-1 rounded-md text-[11px] transition-all cursor-pointer",style:{color:"var(--text-muted)"},title:"恢复跟随设备系统深浅色自动切换",children:"自动"})]})]})]})}),o==="dashboard"&&d.jsx("div",{className:"border-b hl-border",style:{backgroundColor:"var(--bg-card)"},children:d.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-2.5 flex flex-wrap items-center justify-between gap-3",children:[d.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-xs font-mono-num",children:[d.jsxs("div",{className:"hl-pill px-2.5 py-1 flex items-center gap-2",children:[d.jsx("span",{style:{color:"var(--text-muted)"},children:"M6 CPU"}),d.jsx("div",{className:"w-12 h-1.5 rounded-full hl-muted overflow-hidden",children:d.jsx("div",{className:"h-full hl-bar-fill",style:{width:`${Math.max(5,f.mini.cpu_pct)}%`}})}),d.jsxs("span",{className:"font-medium",children:[f.mini.cpu_pct,"%"]})]}),d.jsxs("div",{className:"hl-pill px-2.5 py-1 flex items-center gap-2",children:[d.jsx("span",{style:{color:"var(--text-muted)"},children:"RAM"}),d.jsx("div",{className:"w-12 h-1.5 rounded-full hl-muted overflow-hidden",children:d.jsx("div",{className:"h-full hl-bar-fill",style:{width:`${Math.max(5,f.mini.mem_pct)}%`}})}),d.jsxs("span",{className:"font-medium",children:[f.mini.mem_used_gb,"G"]})]}),d.jsxs("div",{className:"hl-pill px-2.5 py-1 flex items-center gap-2",children:[d.jsx("span",{style:{color:"var(--text-muted)"},children:"NAS 余量"}),d.jsx("div",{className:"w-12 h-1.5 rounded-full hl-muted overflow-hidden",children:d.jsx("div",{className:"h-full hl-bar-fill-green",style:{width:`${Math.max(5,f.nas.pct)}%`}})}),d.jsxs("span",{className:"font-medium",style:{color:"var(--success)"},children:[f.nas.free_tb," TB"]})]}),d.jsxs("div",{className:"hl-pill px-2.5 py-1 flex items-center gap-1.5",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full",style:{backgroundColor:"var(--success)"}}),d.jsx("span",{style:{color:"var(--text-muted)"},children:"SG 专线"}),d.jsx("span",{className:"font-medium",children:f.network.sg_delay_ms>0?`${f.network.sg_delay_ms}ms`:"直连"})]})]}),d.jsx(xf,{value:r,onValueChange:y=>p(y),className:"ml-auto",children:d.jsx(ir,{children:vE.map(y=>d.jsx(aa,{value:y.id,children:y.label},y.id))})})]})})]})},wp=({card:i})=>{const{getEffectiveMode:c,setShowAgyModal:r,triggerAction:o}=jn(),f=c(),m=f==="lan"?i.lanUrl:f==="home10443"?i.homeUrl:i.edgeUrl,v=f==="lan"?"LAN 直连":f==="home10443"?"10443":"443 免端口";return d.jsxs("a",{href:m,target:"_blank",rel:"noopener noreferrer",className:"hl-card hl-card-interactive flex flex-col justify-between overflow-hidden group cursor-pointer",children:[d.jsxs("div",{className:"p-4 sm:p-5 space-y-3",children:[d.jsxs("div",{className:"flex items-start justify-between gap-3",children:[d.jsxs("div",{className:"flex items-center gap-3.5 min-w-0",children:[d.jsx("div",{className:"w-10 h-10 rounded-xl hl-muted border hl-border p-1.5 flex items-center justify-center shrink-0",children:d.jsx("img",{src:i.iconUrl,alt:i.title,className:"w-full h-full object-contain"})}),d.jsxs("div",{className:"min-w-0",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("h3",{className:"text-sm font-semibold truncate group-hover:underline",children:i.title}),d.jsx("span",{className:"w-2 h-2 rounded-full shrink-0",style:{backgroundColor:i.online!==!1?"var(--success)":"#ef4444"}})]}),d.jsx("p",{className:"text-[11px] font-mono-num truncate mt-0.5",style:{color:"var(--text-muted)"},children:i.subtitle})]})]}),i.actionType==="drawer"?d.jsx("button",{onClick:p=>{p.preventDefault(),r(!0)},className:"px-2 py-1 rounded-md text-[11px] font-medium shrink-0 transition-opacity hover:opacity-80 cursor-pointer",style:{backgroundColor:"var(--accent-soft)",color:"var(--accent)"},children:"页内终端"}):i.actionType==="backup"?d.jsx("button",{onClick:p=>{p.preventDefault(),o("backup_nas","正在打包备份至极空间 Z4...")},className:"px-2 py-1 rounded-md text-[11px] font-medium shrink-0 transition-opacity hover:opacity-80 cursor-pointer",style:{backgroundColor:"var(--success-soft)",color:"var(--success)"},children:"立即备份"}):d.jsx("span",{className:"text-xs font-mono-num px-2 py-0.5 rounded hl-muted shrink-0",style:{color:"var(--text-muted)"},children:v})]}),d.jsx("p",{className:"text-xs leading-relaxed line-clamp-2",style:{color:"var(--text-muted)"},children:i.desc})]}),d.jsx("div",{className:"hl-widget-footer grid grid-cols-3 divide-x hl-border text-center",children:i.stats.map((p,E)=>d.jsxs("div",{className:"py-2.5 px-2 flex flex-col items-center justify-center",children:[d.jsx("span",{className:"text-[10px] uppercase tracking-wider truncate max-w-full",style:{color:"var(--text-subtle)"},children:p.label}),d.jsx("span",{className:"text-xs font-semibold font-mono-num mt-0.5 truncate max-w-full",style:{color:p.highlight?"var(--success)":"var(--text-main)"},children:p.value})]},E))})]})},gE=[{label:"SSH 连接 Mac mini",cmd:"ssh mini"},{label:"终端接力 AGY 会话",cmd:'ssh mini -t "tmux attach -t agy"'},{label:"SSH 连接新加坡 Azure",cmd:"ssh azure"},{label:"SSH 连接小米主路由",cmd:"ssh root@192.168.31.1"}],Op=()=>{const{copyCmd:i,triggerAction:c}=jn();return d.jsxs("section",{className:"space-y-3 pt-1",children:[d.jsxs("div",{className:"flex items-center justify-between px-0.5",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("h2",{className:"text-xs font-semibold uppercase tracking-wider",style:{color:"var(--text-muted)"},children:"终端快捷指令与备用直连书签"}),d.jsx("span",{className:"text-[11px] font-mono-num",style:{color:"var(--text-subtle)"},children:"· 点击指令即复制"})]}),d.jsxs("div",{className:"flex items-center gap-3 text-xs",children:[d.jsx("button",{onClick:()=>c("refresh_ddns","正在同步 Cloudflare DDNS..."),className:"hover:underline font-medium cursor-pointer",style:{color:"var(--accent)"},children:"刷新 DDNS 解析"}),d.jsx("button",{onClick:()=>c("mount_nas","正在巡检极空间 20TB SMB 挂载..."),className:"hover:underline font-medium cursor-pointer",style:{color:"var(--accent)"},children:"巡检极空间挂载"})]})]}),d.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3",children:gE.map(r=>d.jsxs("button",{onClick:()=>i(r.cmd,r.label),className:"hl-card hl-card-interactive px-4 py-3 text-left flex items-center justify-between gap-2 cursor-pointer",children:[d.jsxs("div",{className:"min-w-0",children:[d.jsx("div",{className:"text-xs font-semibold",children:r.label}),d.jsx("div",{className:"text-[11px] font-mono-num truncate mt-0.5",style:{color:"var(--accent)"},children:r.cmd})]}),d.jsx("span",{className:"text-[10px] font-mono-num px-1.5 py-0.5 rounded hl-muted shrink-0",style:{color:"var(--text-muted)"},children:"COPY"})]},r.cmd))})]})},pE=Dg("inline-flex items-center gap-1 rounded-md px-2 py-0.5 text-[11px] font-mono-num font-medium transition-colors shrink-0",{variants:{variant:{default:"bg-[var(--primary)] text-[var(--primary-fg)]",secondary:"hl-muted text-[var(--text-muted)] border hl-border",outline:"border hl-border text-[var(--text-muted)] bg-[var(--bg-card)]",accent:"bg-[var(--accent-soft)] text-[var(--accent)] font-semibold",success:"bg-[var(--success-soft)] text-[var(--success)] font-semibold"}},defaultVariants:{variant:"secondary"}});function wn({className:i,variant:c,...r}){return d.jsx("div",{className:Xe(pE({variant:c}),i),...r})}var cg=1,bE=.9,xE=.8,SE=.17,uf=.1,cf=.999,EE=.9999,NE=.99,CE=/[\\\/_+.#"@\[\(\{&]/,TE=/[\\\/_+.#"@\[\(\{&]/g,_E=/[\s-]/,Ap=/[\s-]/g;function Sf(i,c,r,o,f,m,v){if(m===c.length)return f===i.length?cg:NE;var p=`${f},${m}`;if(v[p]!==void 0)return v[p];for(var E=o.charAt(m),b=r.indexOf(E,f),N=0,y,T,B,D;b>=0;)y=Sf(i,c,r,o,b+1,m+1,v),y>N&&(b===f?y*=cg:CE.test(i.charAt(b-1))?(y*=xE,B=i.slice(f,b-1).match(TE),B&&f>0&&(y*=Math.pow(cf,B.length))):_E.test(i.charAt(b-1))?(y*=bE,D=i.slice(f,b-1).match(Ap),D&&f>0&&(y*=Math.pow(cf,D.length))):(y*=SE,f>0&&(y*=Math.pow(cf,b-f))),i.charAt(b)!==c.charAt(m)&&(y*=EE)),(y<uf&&r.charAt(b-1)===o.charAt(m+1)||o.charAt(m+1)===o.charAt(m)&&r.charAt(b-1)!==o.charAt(m))&&(T=Sf(i,c,r,o,b+1,m+2,v),T*uf>y&&(y=T*uf)),y>N&&(N=y),b=r.indexOf(E,b+1);return v[p]=N,N}function rg(i){return i.toLowerCase().replace(Ap," ")}function wE(i,c,r){return i=r&&r.length>0?`${i+" "+r.join(" ")}`:i,Sf(i,c,rg(i),rg(c),0,0,{})}var OE=Object.defineProperty,ot=(i,c)=>OE(i,"name",{value:c,configurable:!0}),Ef="dismissableLayer.update",AE="dismissableLayer.pointerDownOutside",zE="dismissableLayer.focusOutside",og,zp=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),RE=g.forwardRef(ot(function(c,r){const{disableOutsidePointerEvents:o=!1,deferPointerDownOutside:f=!1,onEscapeKeyDown:m,onPointerDownOutside:v,onFocusOutside:p,onInteractOutside:E,onDismiss:b,...N}=c,y=g.useContext(zp),[T,B]=g.useState(null),D=(T==null?void 0:T.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,M]=g.useState({}),H=Dt(r,B),Z=Array.from(y.layers),[Q]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),V=Q?Z.indexOf(Q):-1,P=T?Z.indexOf(T):-1,F=y.layersWithOutsidePointerEventsDisabled.size>0,G=P>=V,U=g.useRef(!1),k=jp(se=>{v==null||v(se),E==null||E(se),se.defaultPrevented||b==null||b()},{ownerDocument:D,deferPointerDownOutside:f,isDeferredPointerDownOutsideRef:U,dismissableSurfaces:y.dismissableSurfaces,shouldHandlePointerDownOutside:g.useCallback(se=>{if(!(se instanceof Node))return!1;const je=[...y.branches].some(ze=>ze.contains(se));return G&&!je},[y.branches,G])}),ce=Dp(se=>{if(f&&U.current)return;const je=se.target;[...y.branches].some(ye=>ye.contains(je))||(p==null||p(se),E==null||E(se),se.defaultPrevented||b==null||b())},D),xe=T?P===Z.length-1:!1,he=ia(se=>{se.key==="Escape"&&(m==null||m(se),!se.defaultPrevented&&b&&(se.preventDefault(),b()))});return g.useEffect(()=>{if(xe)return D.addEventListener("keydown",he,{capture:!0}),()=>D.removeEventListener("keydown",he,{capture:!0})},[D,xe,he]),g.useEffect(()=>{if(T)return o&&(y.layersWithOutsidePointerEventsDisabled.size===0&&(og=D.body.style.pointerEvents,D.body.style.pointerEvents="none"),y.layersWithOutsidePointerEventsDisabled.add(T)),y.layers.add(T),Nf(),()=>{o&&(y.layersWithOutsidePointerEventsDisabled.delete(T),y.layersWithOutsidePointerEventsDisabled.size===0&&(D.body.style.pointerEvents=og))}},[T,D,o,y]),g.useEffect(()=>()=>{T&&(y.layers.delete(T),y.layersWithOutsidePointerEventsDisabled.delete(T),Nf())},[T,y]),g.useEffect(()=>{const se=ot(()=>M({}),"handleUpdate");return document.addEventListener(Ef,se),()=>document.removeEventListener(Ef,se)},[]),d.jsx(Ze.div,{...N,ref:H,style:{pointerEvents:F?G?"auto":"none":void 0,...c.style},onFocusCapture:st(c.onFocusCapture,ce.onFocusCapture),onBlurCapture:st(c.onBlurCapture,ce.onBlurCapture),onPointerDownCapture:st(c.onPointerDownCapture,k.onPointerDownCapture)})},"DismissableLayer"));function Rp(){const i=g.useContext(zp),[c,r]=g.useState(null);return g.useEffect(()=>{if(c)return i.dismissableSurfaces.add(c),()=>{i.dismissableSurfaces.delete(c)}},[c,i.dismissableSurfaces]),r}ot(Rp,"useDismissableLayerSurface");var jE=ot(()=>!0,"IS_TRUE");function jp(i,c){const{ownerDocument:r=globalThis==null?void 0:globalThis.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:f,dismissableSurfaces:m,shouldHandlePointerDownOutside:v=jE}=c,p=ia(i),E=g.useRef(!1),b=g.useRef(!1),N=g.useRef(new Map),y=g.useRef(()=>{});return g.useEffect(()=>{function T(){b.current=!1,f.current=!1,N.current.clear()}ot(T,"resetOutsideInteraction");function B(){return Array.from(N.current.values()).some(Boolean)}ot(B,"isOutsideInteractionIntercepted");function D(V){if(!b.current)return;const P=V.target;P instanceof Node&&[...m].some(G=>G.contains(P))||N.current.set(V.type,!0),V.type==="click"&&window.setTimeout(()=>{b.current&&y.current()},0)}ot(D,"handleInteractionCapture");function M(V){b.current&&N.current.set(V.type,!1)}ot(M,"handleInteractionBubble");const H=ot(V=>{if(V.target&&!E.current){let P=function(){r.removeEventListener("click",y.current);const G=B();T(),G||Qf(AE,p,F,{discrete:!0})};if(ot(P,"handleAndDispatchPointerDownOutsideEvent"),!v(V.target)){r.removeEventListener("click",y.current),T(),E.current=!1;return}const F={originalEvent:V};b.current=!0,f.current=o&&V.button===0,N.current.clear(),!o||V.button!==0?P():(r.removeEventListener("click",y.current),y.current=P,r.addEventListener("click",y.current,{once:!0}))}else r.removeEventListener("click",y.current),T();E.current=!1},"handlePointerDown"),Z=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const V of Z)r.addEventListener(V,D,!0),r.addEventListener(V,M);const Q=window.setTimeout(()=>{r.addEventListener("pointerdown",H)},0);return()=>{window.clearTimeout(Q),r.removeEventListener("pointerdown",H),r.removeEventListener("click",y.current);for(const V of Z)r.removeEventListener(V,D,!0),r.removeEventListener(V,M)}},[r,p,o,f,m,v]),{onPointerDownCapture:ot(()=>E.current=!0,"onPointerDownCapture")}}ot(jp,"usePointerDownOutside");function Dp(i,c=globalThis==null?void 0:globalThis.document){const r=ia(i),o=g.useRef(!1);return g.useEffect(()=>{const f=ot(m=>{m.target&&!o.current&&Qf(zE,r,{originalEvent:m},{discrete:!1})},"handleFocus");return c.addEventListener("focusin",f),()=>c.removeEventListener("focusin",f)},[c,r]),{onFocusCapture:ot(()=>o.current=!0,"onFocusCapture"),onBlurCapture:ot(()=>o.current=!1,"onBlurCapture")}}ot(Dp,"useFocusOutside");function Nf(){const i=new CustomEvent(Ef);document.dispatchEvent(i)}ot(Nf,"dispatchUpdate");function Qf(i,c,r,{discrete:o}){const f=r.originalEvent.target,m=new CustomEvent(i,{bubbles:!1,cancelable:!0,detail:r});c&&f.addEventListener(i,c,{once:!0}),o?up(f,m):f.dispatchEvent(m)}ot(Qf,"handleAndDispatchCustomEvent");var DE=Object.defineProperty,tt=(i,c)=>DE(i,"name",{value:c,configurable:!0}),rf="focusScope.autoFocusOnMount",of="focusScope.autoFocusOnUnmount",sg={bubbles:!1,cancelable:!0},ME=g.forwardRef(tt(function(c,r){const{loop:o=!1,trapped:f=!1,branches:m,onMountAutoFocus:v,onUnmountAutoFocus:p,...E}=c,[b,N]=g.useState(null),y=ia(v),T=ia(p),B=g.useRef(null),D=Dt(r,N),M=g.useRef(m);g.useEffect(()=>{M.current=m});const H=g.useCallback(V=>{var P;return V?b!=null&&b.contains(V)?!0:!!((P=M.current)!=null&&P.some(F=>F.contains(V))):!1},[b]),Z=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(f){let V=function(U){if(Z.paused||!b)return;const k=U.target;H(k)?B.current=k:Zl(B.current,{select:!0})},P=function(U){if(Z.paused||!b)return;const k=U.relatedTarget;k!==null&&(H(k)||Zl(B.current,{select:!0}))},F=function(U){if(document.activeElement===document.body)for(const ce of U)ce.removedNodes.length>0&&Zl(b)};tt(V,"handleFocusIn"),tt(P,"handleFocusOut"),tt(F,"handleMutations"),document.addEventListener("focusin",V),document.addEventListener("focusout",P);const G=new MutationObserver(F);return b&&G.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",V),document.removeEventListener("focusout",P),G.disconnect()}}},[f,b,Z.paused,H]),g.useEffect(()=>{if(b){fg.add(Z);const V=document.activeElement;if(!b.contains(V)){const F=new CustomEvent(rf,sg);b.addEventListener(rf,y),b.dispatchEvent(F),F.defaultPrevented||(Bp(qp(Zf(b)),{select:!0}),document.activeElement===V&&Zl(b))}return()=>{b.removeEventListener(rf,y);const F=b.ownerDocument,G=CustomEvent;setTimeout(()=>{const U=new G(of,sg);b.addEventListener(of,T),b.dispatchEvent(U),U.defaultPrevented||Zl(V??F.body,{select:!0}),b.removeEventListener(of,T),fg.remove(Z)},0)}}},[b,y,T,Z]);const Q=g.useCallback(V=>{if(!o&&!f||Z.paused)return;const P=V.key==="Tab"&&!V.altKey&&!V.ctrlKey&&!V.metaKey,F=document.activeElement;if(P&&F){const G=V.currentTarget,[U,k]=kp(G);U&&k?!V.shiftKey&&F===k?(V.preventDefault(),o&&Zl(U,{select:!0})):V.shiftKey&&F===U&&(V.preventDefault(),o&&Zl(k,{select:!0})):F===G&&V.preventDefault()}},[o,f,Z.paused]);return d.jsx(Ze.div,{tabIndex:-1,...E,ref:D,onKeyDown:Q})},"FocusScope")),Mp=g.createContext(null);function Up({registry:i,children:c}){return i?d.jsx(Mp.Provider,{value:i,children:c}):c}tt(Up,"FocusScopeBranchProvider");function Hp(){const[i,c]=g.useState([]),r=g.useMemo(()=>({add:tt(o=>c(f=>f.includes(o)?f:[...f,o]),"add"),remove:tt(o=>c(f=>f.filter(m=>m!==o)),"remove")}),[]);return{nodes:i,registry:r}}tt(Hp,"useFocusScopeBranchRegistry");function UE(i){const c=g.useContext(Mp);g.useEffect(()=>{if(!(!i||!c))return c.add(i),()=>c.remove(i)},[i,c])}tt(UE,"useFocusScopeBranch");function Bp(i,{select:c=!1}={}){const r=document.activeElement;for(const o of i)if(Zl(o,{select:c}),document.activeElement!==r)return}tt(Bp,"focusFirst");function kp(i){const c=Zf(i),r=Cf(c,i),o=Cf(c.reverse(),i);return[r,o]}tt(kp,"getTabbableEdges");function Zf(i){const c=[],o=i.ownerDocument.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,{acceptNode:tt(f=>{const m=f.tagName==="INPUT"&&f.type==="hidden";return f.disabled||f.hidden||m?NodeFilter.FILTER_SKIP:f.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;o.nextNode();)c.push(o.currentNode);return c}tt(Zf,"getTabbableCandidates");function Cf(i,c){const r=typeof c.checkVisibility=="function"&&c.checkVisibility({checkVisibilityCSS:!0});for(const o of i)if(!(r?!o.checkVisibility({checkVisibilityCSS:!0}):Lp(o,{upTo:c})))return o}tt(Cf,"findVisible");function Lp(i,{upTo:c}){if(getComputedStyle(i).visibility==="hidden")return!0;for(;i;){if(c!==void 0&&i===c)return!1;if(getComputedStyle(i).display==="none")return!0;i=i.parentElement}return!1}tt(Lp,"isHidden");function Gp(i){return i.tagName==="INPUT"&&typeof i.select=="function"}tt(Gp,"isSelectableInput");function Zl(i,{select:c=!1}={}){if(i&&i.focus){const o=(i.ownerDocument??document).activeElement;i.focus({preventScroll:!0}),i!==o&&Gp(i)&&c&&i.select()}}tt(Zl,"focus");var fg=Yp();function Yp(){let i=[];return{add(c){const r=i[0];c!==r&&(r==null||r.pause()),i=Tf(i,c),i.unshift(c)},remove(c){var r;i=Tf(i,c),(r=i[0])==null||r.resume()}}}tt(Yp,"createFocusScopesStack");function Tf(i,c){const r=[...i],o=r.indexOf(c);return o!==-1&&r.splice(o,1),r}tt(Tf,"arrayRemove");function qp(i){return i.filter(c=>c.tagName!=="A")}tt(qp,"removeLinks");var HE=Object.defineProperty,BE=(i,c)=>HE(i,"name",{value:c,configurable:!0}),kE=g.forwardRef(BE(function(c,r){var E;const{container:o,...f}=c,[m,v]=g.useState(!1);ul(()=>v(!0),[]);const p=o||m&&((E=globalThis==null?void 0:globalThis.document)==null?void 0:E.body);return p?ap.createPortal(d.jsx(Ze.div,{...f,ref:r}),p):null},"Portal")),LE=Object.defineProperty,Kf=(i,c)=>LE(i,"name",{value:c,configurable:!0}),Ic=0,Ol=null;function GE(i){return Jf(),i.children}Kf(GE,"FocusGuards");function Jf(){g.useEffect(()=>{Ol||(Ol={start:_f(),end:_f()});const{start:i,end:c}=Ol;return document.body.firstElementChild!==i&&document.body.insertAdjacentElement("afterbegin",i),document.body.lastElementChild!==c&&document.body.insertAdjacentElement("beforeend",c),Ic++,()=>{Ic===1&&(Ol==null||Ol.start.remove(),Ol==null||Ol.end.remove(),Ol=null),Ic=Math.max(0,Ic-1)}},[])}Kf(Jf,"useFocusGuards");function _f(){const i=document.createElement("span");return i.setAttribute("data-radix-focus-guard",""),i.tabIndex=0,i.style.outline="none",i.style.opacity="0",i.style.position="fixed",i.style.pointerEvents="none",i}Kf(_f,"createFocusGuard");var Al=function(){return Al=Object.assign||function(c){for(var r,o=1,f=arguments.length;o<f;o++){r=arguments[o];for(var m in r)Object.prototype.hasOwnProperty.call(r,m)&&(c[m]=r[m])}return c},Al.apply(this,arguments)};function Vp(i,c){var r={};for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&c.indexOf(o)<0&&(r[o]=i[o]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,o=Object.getOwnPropertySymbols(i);f<o.length;f++)c.indexOf(o[f])<0&&Object.prototype.propertyIsEnumerable.call(i,o[f])&&(r[o[f]]=i[o[f]]);return r}function YE(i,c,r){if(r||arguments.length===2)for(var o=0,f=c.length,m;o<f;o++)(m||!(o in c))&&(m||(m=Array.prototype.slice.call(c,0,o)),m[o]=c[o]);return i.concat(m||Array.prototype.slice.call(c))}var lr="right-scroll-bar-position",nr="width-before-scroll-bar",qE="with-scroll-bars-hidden",VE="--removed-body-scroll-bar-size";function sf(i,c){return typeof i=="function"?i(c):i&&(i.current=c),i}function XE(i,c){var r=g.useState(function(){return{value:i,callback:c,facade:{get current(){return r.value},set current(o){var f=r.value;f!==o&&(r.value=o,r.callback(o,f))}}}})[0];return r.callback=c,r.facade}var QE=typeof window<"u"?g.useLayoutEffect:g.useEffect,dg=new WeakMap;function ZE(i,c){var r=XE(null,function(o){return i.forEach(function(f){return sf(f,o)})});return QE(function(){var o=dg.get(r);if(o){var f=new Set(o),m=new Set(i),v=r.current;f.forEach(function(p){m.has(p)||sf(p,null)}),m.forEach(function(p){f.has(p)||sf(p,v)})}dg.set(r,i)},[i]),r}function KE(i){return i}function JE(i,c){c===void 0&&(c=KE);var r=[],o=!1,f={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:i},useMedium:function(m){var v=c(m,o);return r.push(v),function(){r=r.filter(function(p){return p!==v})}},assignSyncMedium:function(m){for(o=!0;r.length;){var v=r;r=[],v.forEach(m)}r={push:function(p){return m(p)},filter:function(){return r}}},assignMedium:function(m){o=!0;var v=[];if(r.length){var p=r;r=[],p.forEach(m),v=r}var E=function(){var N=v;v=[],N.forEach(m)},b=function(){return Promise.resolve().then(E)};b(),r={push:function(N){v.push(N),b()},filter:function(N){return v=v.filter(N),r}}}};return f}function IE(i){i===void 0&&(i={});var c=JE(null);return c.options=Al({async:!0,ssr:!1},i),c}var Xp=function(i){var c=i.sideCar,r=Vp(i,["sideCar"]);if(!c)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=c.read();if(!o)throw new Error("Sidecar medium not found");return g.createElement(o,Al({},r))};Xp.isSideCarExport=!0;function FE(i,c){return i.useMedium(c),Xp}var Qp=IE(),ff=function(){},dr=g.forwardRef(function(i,c){var r=g.useRef(null),o=g.useState({onScrollCapture:ff,onWheelCapture:ff,onTouchMoveCapture:ff}),f=o[0],m=o[1],v=i.forwardProps,p=i.children,E=i.className,b=i.removeScrollBar,N=i.enabled,y=i.shards,T=i.sideCar,B=i.noRelative,D=i.noIsolation,M=i.inert,H=i.allowPinchZoom,Z=i.as,Q=Z===void 0?"div":Z,V=i.gapMode,P=Vp(i,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),F=T,G=ZE([r,c]),U=Al(Al({},P),f);return g.createElement(g.Fragment,null,N&&g.createElement(F,{sideCar:Qp,removeScrollBar:b,shards:y,noRelative:B,noIsolation:D,inert:M,setCallbacks:m,allowPinchZoom:!!H,lockRef:r,gapMode:V}),v?g.cloneElement(g.Children.only(p),Al(Al({},U),{ref:G})):g.createElement(Q,Al({},U,{className:E,ref:G}),p))});dr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};dr.classNames={fullWidth:nr,zeroRight:lr};var $E=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function PE(){if(!document)return null;var i=document.createElement("style");i.type="text/css";var c=$E();return c&&i.setAttribute("nonce",c),i}function WE(i,c){i.styleSheet?i.styleSheet.cssText=c:i.appendChild(document.createTextNode(c))}function eN(i){var c=document.head||document.getElementsByTagName("head")[0];c.appendChild(i)}var tN=function(){var i=0,c=null;return{add:function(r){i==0&&(c=PE())&&(WE(c,r),eN(c)),i++},remove:function(){i--,!i&&c&&(c.parentNode&&c.parentNode.removeChild(c),c=null)}}},lN=function(){var i=tN();return function(c,r){g.useEffect(function(){return i.add(c),function(){i.remove()}},[c&&r])}},Zp=function(){var i=lN(),c=function(r){var o=r.styles,f=r.dynamic;return i(o,f),null};return c},nN={left:0,top:0,right:0,gap:0},df=function(i){return parseInt(i||"",10)||0},aN=function(i){var c=window.getComputedStyle(document.body),r=c[i==="padding"?"paddingLeft":"marginLeft"],o=c[i==="padding"?"paddingTop":"marginTop"],f=c[i==="padding"?"paddingRight":"marginRight"];return[df(r),df(o),df(f)]},uN=function(i){if(i===void 0&&(i="margin"),typeof window>"u")return nN;var c=aN(i),r=document.documentElement.clientWidth,o=window.innerWidth;return{left:c[0],top:c[1],right:c[2],gap:Math.max(0,o-r+c[2]-c[0])}},iN=Zp(),ou="data-scroll-locked",cN=function(i,c,r,o){var f=i.left,m=i.top,v=i.right,p=i.gap;return r===void 0&&(r="margin"),`
|
||
.`.concat(qE,` {
|
||
overflow: hidden `).concat(o,`;
|
||
padding-right: `).concat(p,"px ").concat(o,`;
|
||
}
|
||
body[`).concat(ou,`] {
|
||
overflow: hidden `).concat(o,`;
|
||
overscroll-behavior: contain;
|
||
`).concat([c&&"position: relative ".concat(o,";"),r==="margin"&&`
|
||
padding-left: `.concat(f,`px;
|
||
padding-top: `).concat(m,`px;
|
||
padding-right: `).concat(v,`px;
|
||
margin-left:0;
|
||
margin-top:0;
|
||
margin-right: `).concat(p,"px ").concat(o,`;
|
||
`),r==="padding"&&"padding-right: ".concat(p,"px ").concat(o,";")].filter(Boolean).join(""),`
|
||
}
|
||
|
||
.`).concat(lr,` {
|
||
right: `).concat(p,"px ").concat(o,`;
|
||
}
|
||
|
||
.`).concat(nr,` {
|
||
margin-right: `).concat(p,"px ").concat(o,`;
|
||
}
|
||
|
||
.`).concat(lr," .").concat(lr,` {
|
||
right: 0 `).concat(o,`;
|
||
}
|
||
|
||
.`).concat(nr," .").concat(nr,` {
|
||
margin-right: 0 `).concat(o,`;
|
||
}
|
||
|
||
body[`).concat(ou,`] {
|
||
`).concat(VE,": ").concat(p,`px;
|
||
}
|
||
`)},mg=function(){var i=parseInt(document.body.getAttribute(ou)||"0",10);return isFinite(i)?i:0},rN=function(){g.useEffect(function(){return document.body.setAttribute(ou,(mg()+1).toString()),function(){var i=mg()-1;i<=0?document.body.removeAttribute(ou):document.body.setAttribute(ou,i.toString())}},[])},oN=function(i){var c=i.noRelative,r=i.noImportant,o=i.gapMode,f=o===void 0?"margin":o;rN();var m=g.useMemo(function(){return uN(f)},[f]);return g.createElement(iN,{styles:cN(m,!c,f,r?"":"!important")})},wf=!1;if(typeof window<"u")try{var Fc=Object.defineProperty({},"passive",{get:function(){return wf=!0,!0}});window.addEventListener("test",Fc,Fc),window.removeEventListener("test",Fc,Fc)}catch{wf=!1}var nu=wf?{passive:!1}:!1,sN=function(i){return i.tagName==="TEXTAREA"},Kp=function(i,c){if(!(i instanceof Element))return!1;var r=window.getComputedStyle(i);return r[c]!=="hidden"&&!(r.overflowY===r.overflowX&&!sN(i)&&r[c]==="visible")},fN=function(i){return Kp(i,"overflowY")},dN=function(i){return Kp(i,"overflowX")},hg=function(i,c){var r=c.ownerDocument,o=c;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var f=Jp(i,o);if(f){var m=Ip(i,o),v=m[1],p=m[2];if(v>p)return!0}o=o.parentNode}while(o&&o!==r.body);return!1},mN=function(i){var c=i.scrollTop,r=i.scrollHeight,o=i.clientHeight;return[c,r,o]},hN=function(i){var c=i.scrollLeft,r=i.scrollWidth,o=i.clientWidth;return[c,r,o]},Jp=function(i,c){return i==="v"?fN(c):dN(c)},Ip=function(i,c){return i==="v"?mN(c):hN(c)},vN=function(i,c){return i==="h"&&c==="rtl"?-1:1},yN=function(i,c,r,o,f){var m=vN(i,window.getComputedStyle(c).direction),v=m*o,p=r.target,E=c.contains(p),b=!1,N=v>0,y=0,T=0;do{if(!p)break;var B=Ip(i,p),D=B[0],M=B[1],H=B[2],Z=M-H-m*D;(D||Z)&&Jp(i,p)&&(y+=Z,T+=D);var Q=p.parentNode;p=Q&&Q.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Q.host:Q}while(!E&&p!==document.body||E&&(c.contains(p)||c===p));return(N&&Math.abs(y)<1||!N&&Math.abs(T)<1)&&(b=!0),b},$c=function(i){return"changedTouches"in i?[i.changedTouches[0].clientX,i.changedTouches[0].clientY]:[0,0]},vg=function(i){return[i.deltaX,i.deltaY]},yg=function(i){return i&&"current"in i?i.current:i},gN=function(i,c){return i[0]===c[0]&&i[1]===c[1]},pN=function(i){return`
|
||
.block-interactivity-`.concat(i,` {pointer-events: none;}
|
||
.allow-interactivity-`).concat(i,` {pointer-events: all;}
|
||
`)},bN=0,au=[];function xN(i){var c=g.useRef([]),r=g.useRef([0,0]),o=g.useRef(),f=g.useState(bN++)[0],m=g.useState(Zp)[0],v=g.useRef(i);g.useEffect(function(){v.current=i},[i]),g.useEffect(function(){if(i.inert){document.body.classList.add("block-interactivity-".concat(f));var M=YE([i.lockRef.current],(i.shards||[]).map(yg),!0).filter(Boolean);return M.forEach(function(H){return H.classList.add("allow-interactivity-".concat(f))}),function(){document.body.classList.remove("block-interactivity-".concat(f)),M.forEach(function(H){return H.classList.remove("allow-interactivity-".concat(f))})}}},[i.inert,i.lockRef.current,i.shards]);var p=g.useCallback(function(M,H){if("touches"in M&&M.touches.length===2||M.type==="wheel"&&M.ctrlKey)return!v.current.allowPinchZoom;var Z=$c(M),Q=r.current,V="deltaX"in M?M.deltaX:Q[0]-Z[0],P="deltaY"in M?M.deltaY:Q[1]-Z[1],F,G=M.target,U=Math.abs(V)>Math.abs(P)?"h":"v";if("touches"in M&&U==="h"&&G.type==="range")return!1;var k=window.getSelection(),ce=k&&k.anchorNode,xe=ce?ce===G||ce.contains(G):!1;if(xe)return!1;var he=hg(U,G);if(!he)return!0;if(he?F=U:(F=U==="v"?"h":"v",he=hg(U,G)),!he)return!1;if(!o.current&&"changedTouches"in M&&(V||P)&&(o.current=F),!F)return!0;var se=o.current||F;return yN(se,H,M,se==="h"?V:P)},[]),E=g.useCallback(function(M){var H=M;if(!(!au.length||au[au.length-1]!==m)){var Z="deltaY"in H?vg(H):$c(H),Q=c.current.filter(function(F){return F.name===H.type&&(F.target===H.target||H.target===F.shadowParent)&&gN(F.delta,Z)})[0];if(Q&&Q.should){H.cancelable&&H.preventDefault();return}if(!Q){var V=(v.current.shards||[]).map(yg).filter(Boolean).filter(function(F){return F.contains(H.target)}),P=V.length>0?p(H,V[0]):!v.current.noIsolation;P&&H.cancelable&&H.preventDefault()}}},[]),b=g.useCallback(function(M,H,Z,Q){var V={name:M,delta:H,target:Z,should:Q,shadowParent:SN(Z)};c.current.push(V),setTimeout(function(){c.current=c.current.filter(function(P){return P!==V})},1)},[]),N=g.useCallback(function(M){r.current=$c(M),o.current=void 0},[]),y=g.useCallback(function(M){b(M.type,vg(M),M.target,p(M,i.lockRef.current))},[]),T=g.useCallback(function(M){b(M.type,$c(M),M.target,p(M,i.lockRef.current))},[]);g.useEffect(function(){return au.push(m),i.setCallbacks({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:T}),document.addEventListener("wheel",E,nu),document.addEventListener("touchmove",E,nu),document.addEventListener("touchstart",N,nu),function(){au=au.filter(function(M){return M!==m}),document.removeEventListener("wheel",E,nu),document.removeEventListener("touchmove",E,nu),document.removeEventListener("touchstart",N,nu)}},[]);var B=i.removeScrollBar,D=i.inert;return g.createElement(g.Fragment,null,D?g.createElement(m,{styles:pN(f)}):null,B?g.createElement(oN,{noRelative:i.noRelative,gapMode:i.gapMode}):null)}function SN(i){for(var c=null;i!==null;)i instanceof ShadowRoot&&(c=i.host,i=i.host),i=i.parentNode;return c}const EN=FE(Qp,xN);var Fp=g.forwardRef(function(i,c){return g.createElement(dr,Al({},i,{ref:c,sideCar:EN}))});Fp.classNames=dr.classNames;var NN=function(i){if(typeof document>"u")return null;var c=Array.isArray(i)?i[0]:i;return c.ownerDocument.body},uu=new WeakMap,Pc=new WeakMap,Wc={},mf=0,$p=function(i){return i&&(i.host||$p(i.parentNode))},CN=function(i,c){return c.map(function(r){if(i.contains(r))return r;var o=$p(r);return o&&i.contains(o)?o:(console.error("aria-hidden",r,"in not contained inside",i,". Doing nothing"),null)}).filter(function(r){return!!r})},TN=function(i,c,r,o){var f=CN(c,Array.isArray(i)?i:[i]);Wc[r]||(Wc[r]=new WeakMap);var m=Wc[r],v=[],p=new Set,E=new Set(f),b=function(y){!y||p.has(y)||(p.add(y),b(y.parentNode))};f.forEach(b);var N=function(y){!y||E.has(y)||Array.prototype.forEach.call(y.children,function(T){if(p.has(T))N(T);else try{var B=T.getAttribute(o),D=B!==null&&B!=="false",M=(uu.get(T)||0)+1,H=(m.get(T)||0)+1;uu.set(T,M),m.set(T,H),v.push(T),M===1&&D&&Pc.set(T,!0),H===1&&T.setAttribute(r,"true"),D||T.setAttribute(o,"true")}catch(Z){console.error("aria-hidden: cannot operate on ",T,Z)}})};return N(c),p.clear(),mf++,function(){v.forEach(function(y){var T=uu.get(y)-1,B=m.get(y)-1;uu.set(y,T),m.set(y,B),T||(Pc.has(y)||y.removeAttribute(o),Pc.delete(y)),B||y.removeAttribute(r)}),mf--,mf||(uu=new WeakMap,uu=new WeakMap,Pc=new WeakMap,Wc={})}},_N=function(i,c,r){r===void 0&&(r="data-aria-hidden");var o=Array.from(Array.isArray(i)?i:[i]),f=NN(i);return f?(o.push.apply(o,Array.from(f.querySelectorAll("[aria-live], script"))),TN(o,f,r,"aria-hidden")):function(){return null}},wN=Object.defineProperty,il=(i,c)=>wN(i,"name",{value:c,configurable:!0}),If="Dialog",[Pp,xC]=sa(If),[ON,Jl]=Pp(If),Wp=il(i=>{const{__scopeDialog:c,children:r,open:o,defaultOpen:f,onOpenChange:m,modal:v=!0}=i,p=g.useRef(null),E=g.useRef(null),{nodes:b,registry:N}=Hp(),[y,T]=mi({prop:o,defaultProp:f??!1,onChange:m,caller:If}),[B,D]=g.useState(0),[M,H]=g.useState(0);return d.jsx(ON,{scope:c,triggerRef:p,contentRef:E,contentId:al(),titleId:al(),descriptionId:al(),titlePresent:B>0,descriptionPresent:M>0,setTitleCount:D,setDescriptionCount:H,open:y,onOpenChange:T,onOpenToggle:g.useCallback(()=>T(Z=>!Z),[T]),modal:v,branchNodes:b,branchRegistry:N,children:r})},"Dialog"),e0="DialogPortal",[AN,t0]=Pp(e0,{forceMount:void 0}),l0=il(i=>{const{__scopeDialog:c,forceMount:r,children:o,container:f}=i,m=Jl(e0,c);return d.jsx(AN,{scope:c,forceMount:r,children:g.Children.map(o,v=>d.jsx(fr,{present:r||m.open,children:d.jsx(kE,{asChild:!0,container:f,children:v})}))})},"DialogPortal"),Of="DialogOverlay",Ff=g.forwardRef(il(function(c,r){const o=t0(Of,c.__scopeDialog),{forceMount:f=o.forceMount,...m}=c,v=Jl(Of,c.__scopeDialog);return v.modal?d.jsx(fr,{present:f||v.open,children:d.jsx(RN,{...m,ref:r})}):null},"DialogOverlay")),zN=An("DialogOverlay.RemoveScroll"),RN=g.forwardRef(il(function(c,r){const{__scopeDialog:o,...f}=c,m=Jl(Of,o),v=Rp(),p=Dt(r,v);return d.jsx(Fp,{as:zN,allowPinchZoom:!0,shards:g.useMemo(()=>[m.contentRef,...m.branchNodes.map(E=>({current:E}))],[m.contentRef,m.branchNodes]),children:d.jsx(Ze.div,{"data-state":Pf(m.open),...f,ref:p,style:{pointerEvents:"auto",...f.style}})})},"DialogOverlayImpl")),fi="DialogContent",$f=g.forwardRef(il(function(c,r){const o=t0(fi,c.__scopeDialog),{forceMount:f=o.forceMount,...m}=c,v=Jl(fi,c.__scopeDialog);return d.jsx(fr,{present:f||v.open,children:v.modal?d.jsx(jN,{...m,ref:r}):d.jsx(DN,{...m,ref:r})})},"DialogContent")),jN=g.forwardRef(il(function(c,r){const o=Jl(fi,c.__scopeDialog),f=g.useRef(null),m=Dt(r,o.contentRef,f);return g.useEffect(()=>{const v=f.current;if(v)return _N(v)},[]),d.jsx(n0,{...c,ref:m,trapFocus:o.open,disableOutsidePointerEvents:o.open,onCloseAutoFocus:st(c.onCloseAutoFocus,v=>{var p;v.preventDefault(),(p=o.triggerRef.current)==null||p.focus()}),onPointerDownOutside:st(c.onPointerDownOutside,v=>{const p=v.detail.originalEvent,E=p.button===0&&p.ctrlKey===!0;(p.button===2||E)&&v.preventDefault()}),onFocusOutside:st(c.onFocusOutside,v=>v.preventDefault())})},"DialogContentModal")),DN=g.forwardRef(il(function(c,r){const o=Jl(fi,c.__scopeDialog),f=g.useRef(!1),m=g.useRef(!1);return d.jsx(n0,{...c,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:v=>{var p,E;(p=c.onCloseAutoFocus)==null||p.call(c,v),v.defaultPrevented||(f.current||(E=o.triggerRef.current)==null||E.focus(),v.preventDefault()),f.current=!1,m.current=!1},onInteractOutside:v=>{var b,N;(b=c.onInteractOutside)==null||b.call(c,v),v.defaultPrevented||(f.current=!0,v.detail.originalEvent.type==="pointerdown"&&(m.current=!0));const p=v.target;((N=o.triggerRef.current)==null?void 0:N.contains(p))&&v.preventDefault(),v.detail.originalEvent.type==="focusin"&&m.current&&v.preventDefault()}})},"DialogContentNonModal")),n0=g.forwardRef(il(function(c,r){const{__scopeDialog:o,trapFocus:f,onOpenAutoFocus:m,onCloseAutoFocus:v,"aria-describedby":p,children:E,...b}=c,N=Jl(fi,o);return Jf(),d.jsx(Up,{registry:N.branchRegistry,children:d.jsx(ME,{asChild:!0,loop:!0,trapped:f,branches:N.branchNodes,onMountAutoFocus:m,onUnmountAutoFocus:v,children:d.jsx(RE,{role:"dialog",id:N.contentId,"aria-labelledby":N.titlePresent?N.titleId:void 0,"aria-describedby":N.descriptionPresent?i0(p,N.descriptionId):p,"data-state":Pf(N.open),...b,ref:r,deferPointerDownOutside:!0,onDismiss:()=>N.onOpenChange(!1),children:E})})})},"DialogContentImpl")),a0=g.forwardRef(il(function(c,r){const{__scopeDialog:o,...f}=c,m=Jl("DialogTitle",o),{setTitleCount:v}=m;return ul(()=>(v(p=>p+1),()=>v(p=>p-1)),[v]),d.jsx(Ze.h2,{id:m.titleId,...f,ref:r})},"DialogTitle")),u0=g.forwardRef(il(function(c,r){const{__scopeDialog:o,...f}=c,m=Jl("DialogDescription",o),{setDescriptionCount:v}=m;return ul(()=>(v(p=>p+1),()=>v(p=>p-1)),[v]),d.jsx(Ze.p,{id:m.descriptionId,...f,ref:r})},"DialogDescription"));function i0(...i){const c=new Set;for(const r of i)if(typeof r=="string")for(const o of String(r).trim().split(/\s+/))o&&c.add(o);return c.size>0?Array.from(c).join(" "):void 0}il(i0,"concatAriaDescribedby");function Pf(i){return i?"open":"closed"}il(Pf,"getState");var oi='[cmdk-group=""]',hf='[cmdk-group-items=""]',MN='[cmdk-group-heading=""]',c0='[cmdk-item=""]',gg=`${c0}:not([aria-disabled="true"])`,Af="cmdk-item-select",cu="data-value",UN=(i,c,r)=>wE(i,c,r),r0=g.createContext(void 0),hi=()=>g.useContext(r0),o0=g.createContext(void 0),Wf=()=>g.useContext(o0),s0=g.createContext(void 0),f0=g.forwardRef((i,c)=>{let r=ru(()=>{var X,re;return{search:"",value:(re=(X=i.value)!=null?X:i.defaultValue)!=null?re:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),o=ru(()=>new Set),f=ru(()=>new Map),m=ru(()=>new Map),v=ru(()=>new Set),p=d0(i),{label:E,children:b,value:N,onValueChange:y,filter:T,shouldFilter:B,loop:D,disablePointerSelection:M=!1,vimBindings:H=!0,...Z}=i,Q=al(),V=al(),P=al(),F=g.useRef(null),G=ZN();ca(()=>{if(N!==void 0){let X=N.trim();r.current.value=X,U.emit()}},[N]),ca(()=>{G(6,je)},[]);let U=g.useMemo(()=>({subscribe:X=>(v.current.add(X),()=>v.current.delete(X)),snapshot:()=>r.current,setState:(X,re,S)=>{var z,J,I,de;if(!Object.is(r.current[X],re)){if(r.current[X]=re,X==="search")se(),xe(),G(1,he);else if(X==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let te=document.getElementById(P);te?te.focus():(z=document.getElementById(Q))==null||z.focus()}if(G(7,()=>{var te;r.current.selectedItemId=(te=ze())==null?void 0:te.id,U.emit()}),S||G(5,je),((J=p.current)==null?void 0:J.value)!==void 0){let te=re??"";(de=(I=p.current).onValueChange)==null||de.call(I,te);return}}U.emit()}},emit:()=>{v.current.forEach(X=>X())}}),[]),k=g.useMemo(()=>({value:(X,re,S)=>{var z;re!==((z=m.current.get(X))==null?void 0:z.value)&&(m.current.set(X,{value:re,keywords:S}),r.current.filtered.items.set(X,ce(re,S)),G(2,()=>{xe(),U.emit()}))},item:(X,re)=>(o.current.add(X),re&&(f.current.has(re)?f.current.get(re).add(X):f.current.set(re,new Set([X]))),G(3,()=>{se(),xe(),r.current.value||he(),U.emit()}),()=>{m.current.delete(X),o.current.delete(X),r.current.filtered.items.delete(X);let S=ze();G(4,()=>{se(),(S==null?void 0:S.getAttribute("id"))===X&&he(),U.emit()})}),group:X=>(f.current.has(X)||f.current.set(X,new Set),()=>{m.current.delete(X),f.current.delete(X)}),filter:()=>p.current.shouldFilter,label:E||i["aria-label"],getDisablePointerSelection:()=>p.current.disablePointerSelection,listId:Q,inputId:P,labelId:V,listInnerRef:F}),[]);function ce(X,re){var S,z;let J=(z=(S=p.current)==null?void 0:S.filter)!=null?z:UN;return X?J(X,r.current.search,re):0}function xe(){if(!r.current.search||p.current.shouldFilter===!1)return;let X=r.current.filtered.items,re=[];r.current.filtered.groups.forEach(z=>{let J=f.current.get(z),I=0;J.forEach(de=>{let te=X.get(de);I=Math.max(te,I)}),re.push([z,I])});let S=F.current;ye().sort((z,J)=>{var I,de;let te=z.getAttribute("id"),Se=J.getAttribute("id");return((I=X.get(Se))!=null?I:0)-((de=X.get(te))!=null?de:0)}).forEach(z=>{let J=z.closest(hf);J?J.appendChild(z.parentElement===J?z:z.closest(`${hf} > *`)):S.appendChild(z.parentElement===S?z:z.closest(`${hf} > *`))}),re.sort((z,J)=>J[1]-z[1]).forEach(z=>{var J;let I=(J=F.current)==null?void 0:J.querySelector(`${oi}[${cu}="${encodeURIComponent(z[0])}"]`);I==null||I.parentElement.appendChild(I)})}function he(){let X=ye().find(S=>S.getAttribute("aria-disabled")!=="true"),re=X==null?void 0:X.getAttribute(cu);U.setState("value",re||void 0)}function se(){var X,re,S,z;if(!r.current.search||p.current.shouldFilter===!1){r.current.filtered.count=o.current.size;return}r.current.filtered.groups=new Set;let J=0;for(let I of o.current){let de=(re=(X=m.current.get(I))==null?void 0:X.value)!=null?re:"",te=(z=(S=m.current.get(I))==null?void 0:S.keywords)!=null?z:[],Se=ce(de,te);r.current.filtered.items.set(I,Se),Se>0&&J++}for(let[I,de]of f.current)for(let te of de)if(r.current.filtered.items.get(te)>0){r.current.filtered.groups.add(I);break}r.current.filtered.count=J}function je(){var X,re,S;let z=ze();z&&(((X=z.parentElement)==null?void 0:X.firstChild)===z&&((S=(re=z.closest(oi))==null?void 0:re.querySelector(MN))==null||S.scrollIntoView({block:"nearest"})),z.scrollIntoView({block:"nearest"}))}function ze(){var X;return(X=F.current)==null?void 0:X.querySelector(`${c0}[aria-selected="true"]`)}function ye(){var X;return Array.from(((X=F.current)==null?void 0:X.querySelectorAll(gg))||[])}function K(X){let re=ye()[X];re&&U.setState("value",re.getAttribute(cu))}function W(X){var re;let S=ze(),z=ye(),J=z.findIndex(de=>de===S),I=z[J+X];(re=p.current)!=null&&re.loop&&(I=J+X<0?z[z.length-1]:J+X===z.length?z[0]:z[J+X]),I&&U.setState("value",I.getAttribute(cu))}function ie(X){let re=ze(),S=re==null?void 0:re.closest(oi),z;for(;S&&!z;)S=X>0?XN(S,oi):QN(S,oi),z=S==null?void 0:S.querySelector(gg);z?U.setState("value",z.getAttribute(cu)):W(X)}let ge=()=>K(ye().length-1),q=X=>{X.preventDefault(),X.metaKey?ge():X.altKey?ie(1):W(1)},Ce=X=>{X.preventDefault(),X.metaKey?K(0):X.altKey?ie(-1):W(-1)};return g.createElement(Ze.div,{ref:c,tabIndex:-1,...Z,"cmdk-root":"",onKeyDown:X=>{var re;(re=Z.onKeyDown)==null||re.call(Z,X);let S=X.nativeEvent.isComposing||X.keyCode===229;if(!(X.defaultPrevented||S))switch(X.key){case"n":case"j":{H&&X.ctrlKey&&q(X);break}case"ArrowDown":{q(X);break}case"p":case"k":{H&&X.ctrlKey&&Ce(X);break}case"ArrowUp":{Ce(X);break}case"Home":{X.preventDefault(),K(0);break}case"End":{X.preventDefault(),ge();break}case"Enter":{X.preventDefault();let z=ze();if(z){let J=new Event(Af);z.dispatchEvent(J)}}}}},g.createElement("label",{"cmdk-label":"",htmlFor:k.inputId,id:k.labelId,style:JN},E),mr(i,X=>g.createElement(o0.Provider,{value:U},g.createElement(r0.Provider,{value:k},X))))}),HN=g.forwardRef((i,c)=>{var r,o;let f=al(),m=g.useRef(null),v=g.useContext(s0),p=hi(),E=d0(i),b=(o=(r=E.current)==null?void 0:r.forceMount)!=null?o:v==null?void 0:v.forceMount;ca(()=>{if(!b)return p.item(f,v==null?void 0:v.id)},[b]);let N=m0(f,m,[i.value,i.children,m],i.keywords),y=Wf(),T=zn(G=>G.value&&G.value===N.current),B=zn(G=>b||p.filter()===!1?!0:G.search?G.filtered.items.get(f)>0:!0);g.useEffect(()=>{let G=m.current;if(!(!G||i.disabled))return G.addEventListener(Af,D),()=>G.removeEventListener(Af,D)},[B,i.onSelect,i.disabled]);function D(){var G,U;M(),(U=(G=E.current).onSelect)==null||U.call(G,N.current)}function M(){y.setState("value",N.current,!0)}if(!B)return null;let{disabled:H,value:Z,onSelect:Q,forceMount:V,keywords:P,...F}=i;return g.createElement(Ze.div,{ref:ua(m,c),...F,id:f,"cmdk-item":"",role:"option","aria-disabled":!!H,"aria-selected":!!T,"data-disabled":!!H,"data-selected":!!T,onPointerMove:H||p.getDisablePointerSelection()?void 0:M,onClick:H?void 0:D},i.children)}),BN=g.forwardRef((i,c)=>{let{heading:r,children:o,forceMount:f,...m}=i,v=al(),p=g.useRef(null),E=g.useRef(null),b=al(),N=hi(),y=zn(B=>f||N.filter()===!1?!0:B.search?B.filtered.groups.has(v):!0);ca(()=>N.group(v),[]),m0(v,p,[i.value,i.heading,E]);let T=g.useMemo(()=>({id:v,forceMount:f}),[f]);return g.createElement(Ze.div,{ref:ua(p,c),...m,"cmdk-group":"",role:"presentation",hidden:y?void 0:!0},r&&g.createElement("div",{ref:E,"cmdk-group-heading":"","aria-hidden":!0,id:b},r),mr(i,B=>g.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?b:void 0},g.createElement(s0.Provider,{value:T},B))))}),kN=g.forwardRef((i,c)=>{let{alwaysRender:r,...o}=i,f=g.useRef(null),m=zn(v=>!v.search);return!r&&!m?null:g.createElement(Ze.div,{ref:ua(f,c),...o,"cmdk-separator":"",role:"separator"})}),LN=g.forwardRef((i,c)=>{let{onValueChange:r,...o}=i,f=i.value!=null,m=Wf(),v=zn(b=>b.search),p=zn(b=>b.selectedItemId),E=hi();return g.useEffect(()=>{i.value!=null&&m.setState("search",i.value)},[i.value]),g.createElement(Ze.input,{ref:c,...o,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":E.listId,"aria-labelledby":E.labelId,"aria-activedescendant":p,id:E.inputId,type:"text",value:f?i.value:v,onChange:b=>{f||m.setState("search",b.target.value),r==null||r(b.target.value)}})}),GN=g.forwardRef((i,c)=>{let{children:r,label:o="Suggestions",...f}=i,m=g.useRef(null),v=g.useRef(null),p=zn(b=>b.selectedItemId),E=hi();return g.useEffect(()=>{if(v.current&&m.current){let b=v.current,N=m.current,y,T=new ResizeObserver(()=>{y=requestAnimationFrame(()=>{let B=b.offsetHeight;N.style.setProperty("--cmdk-list-height",B.toFixed(1)+"px")})});return T.observe(b),()=>{cancelAnimationFrame(y),T.unobserve(b)}}},[]),g.createElement(Ze.div,{ref:ua(m,c),...f,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":p,"aria-label":o,id:E.listId},mr(i,b=>g.createElement("div",{ref:ua(v,E.listInnerRef),"cmdk-list-sizer":""},b)))}),YN=g.forwardRef((i,c)=>{let{open:r,onOpenChange:o,overlayClassName:f,contentClassName:m,container:v,...p}=i;return g.createElement(Wp,{open:r,onOpenChange:o},g.createElement(l0,{container:v},g.createElement(Ff,{"cmdk-overlay":"",className:f}),g.createElement($f,{"aria-label":i.label,"cmdk-dialog":"",className:m},g.createElement(f0,{ref:c,...p}))))}),qN=g.forwardRef((i,c)=>zn(r=>r.filtered.count===0)?g.createElement(Ze.div,{ref:c,...i,"cmdk-empty":"",role:"presentation"}):null),VN=g.forwardRef((i,c)=>{let{progress:r,children:o,label:f="Loading...",...m}=i;return g.createElement(Ze.div,{ref:c,...m,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":f},mr(i,v=>g.createElement("div",{"aria-hidden":!0},v)))}),cl=Object.assign(f0,{List:GN,Item:HN,Input:LN,Group:BN,Separator:kN,Dialog:YN,Empty:qN,Loading:VN});function XN(i,c){let r=i.nextElementSibling;for(;r;){if(r.matches(c))return r;r=r.nextElementSibling}}function QN(i,c){let r=i.previousElementSibling;for(;r;){if(r.matches(c))return r;r=r.previousElementSibling}}function d0(i){let c=g.useRef(i);return ca(()=>{c.current=i}),c}var ca=typeof window>"u"?g.useEffect:g.useLayoutEffect;function ru(i){let c=g.useRef();return c.current===void 0&&(c.current=i()),c}function zn(i){let c=Wf(),r=()=>i(c.snapshot());return g.useSyncExternalStore(c.subscribe,r,r)}function m0(i,c,r,o=[]){let f=g.useRef(),m=hi();return ca(()=>{var v;let p=(()=>{var b;for(let N of r){if(typeof N=="string")return N.trim();if(typeof N=="object"&&"current"in N)return N.current?(b=N.current.textContent)==null?void 0:b.trim():f.current}})(),E=o.map(b=>b.trim());m.value(i,p,E),(v=c.current)==null||v.setAttribute(cu,p),f.current=p}),f}var ZN=()=>{let[i,c]=g.useState(),r=ru(()=>new Map);return ca(()=>{r.current.forEach(o=>o()),r.current=new Map},[i]),(o,f)=>{r.current.set(o,f),c({})}};function KN(i){let c=i.type;return typeof c=="function"?c(i.props):"render"in c?c.render(i.props):i}function mr({asChild:i,children:c},r){return i&&g.isValidElement(c)?g.cloneElement(KN(c),{ref:c.ref},r(c.props.children)):r(c)}var JN={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const h0=Wp,IN=l0,v0=g.forwardRef(({className:i,...c},r)=>d.jsx(Ff,{ref:r,className:Xe("fixed inset-0 z-50 bg-black/70 backdrop-blur-sm transition-opacity",i),...c}));v0.displayName=Ff.displayName;const ed=g.forwardRef(({className:i,children:c,...r},o)=>d.jsxs(IN,{children:[d.jsx(v0,{}),d.jsx($f,{ref:o,className:Xe("fixed left-[50%] top-[50%] z-50 w-full max-w-lg translate-x-[-50%] translate-y-[-50%] hl-card shadow-2xl duration-200 outline-none",i),...r,children:c})]}));ed.displayName=$f.displayName;const td=g.forwardRef(({className:i,...c},r)=>d.jsx(a0,{ref:r,className:Xe("text-sm font-bold leading-none tracking-tight",i),...c}));td.displayName=a0.displayName;const ld=g.forwardRef(({className:i,...c},r)=>d.jsx(u0,{ref:r,className:Xe("text-xs text-[var(--text-muted)]",i),...c}));ld.displayName=u0.displayName;const y0=g.forwardRef(({className:i,...c},r)=>d.jsx(cl,{ref:r,className:Xe("flex h-full w-full flex-col overflow-hidden rounded-xl bg-[var(--bg-card)] text-[var(--text-main)]",i),...c}));y0.displayName=cl.displayName;const FN=({children:i,...c})=>d.jsx(h0,{...c,children:d.jsxs(ed,{className:"max-w-xl overflow-hidden p-0 shadow-2xl top-[22%] translate-y-0",children:[d.jsx(td,{className:"sr-only",children:"全局命令与服务搜索面板"}),d.jsx(ld,{className:"sr-only",children:"使用键盘上下方向键选择服务或操作,回车立即执行"}),d.jsx(y0,{children:i})]})}),g0=g.forwardRef(({className:i,...c},r)=>d.jsxs("div",{className:"flex items-center border-b hl-border px-4 py-3 gap-3","cmdk-input-wrapper":"",children:[d.jsx(Rf,{className:"h-4 w-4 shrink-0 text-[var(--text-muted)]"}),d.jsx(cl.Input,{ref:r,className:Xe("flex w-full bg-transparent text-sm outline-none placeholder:text-[var(--text-subtle)] disabled:cursor-not-allowed disabled:opacity-50",i),...c}),d.jsx("kbd",{className:"px-1.5 py-0.5 text-[10px] font-mono-num rounded hl-muted text-[var(--text-muted)] shrink-0",children:"ESC"})]}));g0.displayName=cl.Input.displayName;const p0=g.forwardRef(({className:i,...c},r)=>d.jsx(cl.List,{ref:r,className:Xe("max-h-80 overflow-y-auto overflow-x-hidden p-2",i),...c}));p0.displayName=cl.List.displayName;const b0=g.forwardRef((i,c)=>d.jsx(cl.Empty,{ref:c,className:"py-6 text-center text-xs text-[var(--text-muted)]",...i}));b0.displayName=cl.Empty.displayName;const x0=g.forwardRef(({className:i,...c},r)=>d.jsx(cl.Group,{ref:r,className:Xe("overflow-hidden p-1 text-[var(--text-main)] [&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-[10px] [&_[cmdk-group-heading]]:font-semibold [&_[cmdk-group-heading]]:uppercase [&_[cmdk-group-heading]]:tracking-wider [&_[cmdk-group-heading]]:text-[var(--text-subtle)]",i),...c}));x0.displayName=cl.Group.displayName;const S0=g.forwardRef(({className:i,...c},r)=>d.jsx(cl.Item,{ref:r,className:Xe("relative flex cursor-pointer select-none items-center justify-between rounded-lg px-3 py-2 text-xs outline-none transition-colors data-[selected=true]:bg-[var(--bg-muted)] data-[selected=true]:text-[var(--text-main)] data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",i),...c}));S0.displayName=cl.Item.displayName;const $N=()=>{const{showCmdPalette:i,setShowCmdPalette:c,setShowAgyModal:r,setTheme:o,triggerAction:f,copyCmd:m,getEffectiveMode:v}=jn(),p=g.useMemo(()=>{const E=v(),b=(N,y,T)=>E==="lan"?T:E==="home10443"?y:N;return[{id:"open-agy-drawer",title:"在页内唤起 AGY 云端终端",hint:"tmux attach -t agy",type:"终端",run:()=>r(!0)},{id:"open-agy",title:"新窗口打开 AGY 云端工作台",hint:"https://agy.961504.xyz",type:"跳转",run:()=>window.open(b("https://agy.961504.xyz","https://agy.home.961504.xyz:10443","http://192.168.31.164:7681"),"_blank")},{id:"open-z4",title:"打开 极空间 Z4 私有云 (20TB)",hint:"192.168.31.185:5055",type:"跳转",run:()=>window.open(b("https://z4.home.961504.xyz:10443","https://z4.home.961504.xyz:10443","http://192.168.31.185:5055"),"_blank")},{id:"open-vw",title:"打开 Vaultwarden 密码保险箱",hint:"https://vw.961504.xyz",type:"跳转",run:()=>window.open(b("https://vw.961504.xyz","https://vw.home.961504.xyz:10443","http://192.168.31.164:8222"),"_blank")},{id:"open-clash",title:"打开 Mihomo 路由分流面板",hint:"192.168.31.1:9999",type:"跳转",run:()=>window.open(b("https://clash.home.961504.xyz:10443/ui/","https://clash.home.961504.xyz:10443/ui/","http://192.168.31.1:9999/ui/"),"_blank")},{id:"act-backup",title:"立即打包备份核心数据至极空间 Z4",hint:"backup-to-nas.sh",type:"运维",run:()=>f("backup_nas","正在打包备份至极空间 Z4...")},{id:"act-ddns",title:"立即刷新 Cloudflare DDNS 解析",hint:"cloudflare-ddns.sh",type:"运维",run:()=>f("refresh_ddns","正在同步 Cloudflare DDNS...")},{id:"ssh-mini",title:"复制 SSH 连接 Mac mini 指令",hint:"ssh mini",type:"SSH",run:()=>m("ssh mini","SSH Mac mini")},{id:"ssh-agy",title:"复制 终端接力 AGY 会话指令",hint:'ssh mini -t "tmux attach -t agy"',type:"SSH",run:()=>m('ssh mini -t "tmux attach -t agy"',"接力 AGY")},{id:"theme-system",title:"主题模式: 跟随设备系统深浅色自动切换",hint:"system",type:"主题",run:()=>o("system")},{id:"theme-light",title:"切换主题: 浅色纯净 (Light)",hint:"light",type:"主题",run:()=>o("light")},{id:"theme-dark",title:"切换主题: 深色极客 (Dark)",hint:"dark",type:"主题",run:()=>o("dark")}]},[v,r,o,f,m]);return d.jsxs(FN,{open:i,onOpenChange:c,children:[d.jsx(g0,{placeholder:"输入服务名称、SSH 指令、路由模式或主题..."}),d.jsxs(p0,{children:[d.jsx(b0,{children:"未找到匹配的指令或服务"}),d.jsx(x0,{heading:"快速操作与服务直达 (cmdk + Radix Dialog)",children:p.map(E=>d.jsxs(S0,{value:`${E.title} ${E.hint} ${E.type}`,onSelect:()=>{c(!1),E.run()},children:[d.jsxs("div",{className:"flex items-center gap-2.5",children:[d.jsx("span",{className:"font-medium",children:E.title}),d.jsx("span",{className:"font-mono-num text-[11px] text-[var(--text-muted)]",children:E.hint})]}),d.jsx(wn,{variant:"secondary",children:E.type})]},E.id))})]})]})},On=g.forwardRef(({className:i,...c},r)=>d.jsx("div",{ref:r,className:Xe("hl-card",i),...c}));On.displayName="Card";const PN=g.forwardRef(({className:i,...c},r)=>d.jsx("div",{ref:r,className:Xe("flex flex-col space-y-1.5 p-5",i),...c}));PN.displayName="CardHeader";const WN=g.forwardRef(({className:i,...c},r)=>d.jsx("h3",{ref:r,className:Xe("text-sm font-bold leading-none tracking-tight",i),...c}));WN.displayName="CardTitle";const eC=g.forwardRef(({className:i,...c},r)=>d.jsx("p",{ref:r,className:Xe("text-xs text-[var(--text-muted)]",i),...c}));eC.displayName="CardDescription";const tC=g.forwardRef(({className:i,...c},r)=>d.jsx("div",{ref:r,className:Xe("p-5 pt-0",i),...c}));tC.displayName="CardContent";const lC=g.forwardRef(({className:i,...c},r)=>d.jsx("div",{ref:r,className:Xe("flex items-center p-5 pt-0",i),...c}));lC.displayName="CardFooter";const E0=g.forwardRef(({className:i,type:c,...r},o)=>d.jsx("input",{type:c,className:Xe("hl-input",i),ref:o,...r}));E0.displayName="Input";const cr=g.forwardRef(({className:i,...c},r)=>d.jsx("div",{ref:r,className:Xe("hl-input-group",i),...c}));cr.displayName="InputGroup";var nC=Object.defineProperty,aC=(i,c)=>nC(i,"name",{value:c,configurable:!0});function N0(i){const[c,r]=g.useState(void 0);return ul(()=>{if(i){r({width:i.offsetWidth,height:i.offsetHeight});let o=0;const f=new ResizeObserver(m=>{if(!Array.isArray(m)||!m.length)return;const v=m[0];window.cancelAnimationFrame(o),o=window.requestAnimationFrame(()=>{let p,E;if("borderBoxSize"in v){const b=v.borderBoxSize,N=Array.isArray(b)?b[0]:b;p=N.inlineSize,E=N.blockSize}else p=i.offsetWidth,E=i.offsetHeight;r({width:p,height:E})})});return f.observe(i,{box:"border-box"}),()=>{window.cancelAnimationFrame(o),f.unobserve(i)}}else r(void 0)},[i]),c}aC(N0,"useSize");var uC=Object.defineProperty,Rn=(i,c)=>uC(i,"name",{value:c,configurable:!0}),nd="Switch",[iC,SC]=sa(nd),[cC,ad]=iC(nd);function C0(i){const{__scopeSwitch:c,checked:r,children:o,defaultChecked:f,disabled:m,form:v,name:p,onCheckedChange:E,required:b,value:N="on",internal_do_not_use_render:y}=i,[T,B]=mi({prop:r,defaultProp:f??!1,onChange:E,caller:nd}),[D,M]=g.useState(null),[H,Z]=g.useState(null),[Q,V]=g.useState(null),P=D?!!v||!!D.closest("form"):!0,F={checked:T,setChecked:B,disabled:m,control:D,setControl:M,name:p,form:v,value:N,userClick:Q,onUserClick:V,required:b,defaultChecked:f,isFormControl:P,bubbleInput:H,setBubbleInput:Z};return d.jsx(cC,{scope:c,...F,children:_0(y)?y(F):o})}Rn(C0,"SwitchProvider");var rC="SwitchTrigger",oC=g.forwardRef(Rn(function({__scopeSwitch:c,onClick:r,...o},f){const{control:m,form:v,value:p,disabled:E,checked:b,required:N,setControl:y,setChecked:T,onUserClick:B,isFormControl:D,bubbleInput:M}=ad(rC,c),H=Dt(f,y),Z=g.useRef(b);return g.useEffect(()=>{const Q=v?m==null?void 0:m.ownerDocument.getElementById(v):m==null?void 0:m.form;if(Q instanceof HTMLFormElement){const V=Rn(()=>T(Z.current),"reset");return Q.addEventListener("reset",V),()=>Q.removeEventListener("reset",V)}},[m,v,T]),d.jsx(Ze.button,{type:"button",role:"switch","aria-checked":b,"aria-required":N,"data-state":ud(b),"data-disabled":E?"":void 0,disabled:E,value:p,...o,ref:H,onClick:st(r,Q=>{const V=Q.isPropagationStopped();B({requestedChecked:!b,hasConsumerStoppedPropagation:V}),T(P=>!P),M&&D&&(V||Q.stopPropagation())})})},"SwitchTrigger")),T0=g.forwardRef(Rn(function(c,r){const{__scopeSwitch:o,name:f,checked:m,defaultChecked:v,required:p,disabled:E,value:b,onCheckedChange:N,form:y,...T}=c;return d.jsx(C0,{__scopeSwitch:o,checked:m,defaultChecked:v,disabled:E,required:p,onCheckedChange:N,name:f,form:y,value:b,internal_do_not_use_render:({isFormControl:B})=>d.jsxs(d.Fragment,{children:[d.jsx(oC,{...T,ref:r,__scopeSwitch:o}),B&&d.jsx(mC,{__scopeSwitch:o})]})})},"Switch")),sC="SwitchThumb",fC=g.forwardRef(Rn(function(c,r){const{__scopeSwitch:o,...f}=c,m=ad(sC,o);return d.jsx(Ze.span,{"data-state":ud(m.checked),"data-disabled":m.disabled?"":void 0,...f,ref:r})},"SwitchThumb")),dC="SwitchBubbleInput",mC=g.forwardRef(Rn(function({__scopeSwitch:c,onClick:r,...o},f){const{control:m,userClick:v,checked:p,defaultChecked:E,required:b,disabled:N,name:y,value:T,form:B,bubbleInput:D,setBubbleInput:M}=ad(dC,c),H=Dt(f,M),Z=N0(m),Q=g.useRef(!1),V=g.useRef(p),P=g.useRef(v),F=g.useRef(null);g.useEffect(()=>{const U=D;if(!U)return;const k=window.HTMLInputElement.prototype,xe=Object.getOwnPropertyDescriptor(k,"checked").set;if(!xe)return;const he=V.current!==p;V.current=p;const se=v!==null&&v!==P.current;if(P.current=v,se)F.current=he?null:v,he&&xe.call(U,p),U.dispatchEvent(new Event("click",{bubbles:!v.hasConsumerStoppedPropagation}));else if(he){const je=F.current;F.current=null;const ze=(je==null?void 0:je.requestedChecked)===p;Q.current=!0,xe.call(U,p),U.dispatchEvent(new Event("click",{bubbles:!(ze&&je.hasConsumerStoppedPropagation)})),Q.current=!1}},[D,p,v]);const G=g.useRef(p);return d.jsx(Ze.input,{type:"checkbox","aria-hidden":!0,defaultChecked:E??G.current,required:b,disabled:N,name:y,value:T,form:B,...o,tabIndex:-1,ref:H,onClick:st(r,U=>{Q.current&&U.stopPropagation()}),style:{...o.style,...Z,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function _0(i){return typeof i=="function"}Rn(_0,"isFunction");function ud(i){return i?"checked":"unchecked"}Rn(ud,"getState");const rr=g.forwardRef(({className:i,...c},r)=>d.jsx(T0,{className:Xe("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border transition-colors disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-[var(--accent)] data-[state=checked]:border-[var(--accent)] data-[state=unchecked]:bg-[var(--bg-muted)] data-[state=unchecked]:border-[var(--border-color)]",i),...c,ref:r,children:d.jsx(fC,{className:Xe("pointer-events-none block h-3.5 w-3.5 rounded-full bg-white shadow-sm transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0.5")})}));rr.displayName=T0.displayName;const id=({targetUrl:i="https://agy.961504.xyz",onSuccess:c,onCancel:r,embedded:o=!1})=>{const[f,m]=g.useState("ixvii0iv"),[v,p]=g.useState(""),[E,b]=g.useState(!1),[N,y]=g.useState(!0),[T,B]=g.useState(!1),[D,M]=g.useState(null),H=async Z=>{if(Z.preventDefault(),!f.trim()||!v){M("请输入用户名与访问密钥");return}B(!0),M(null);try{const Q=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({username:f.trim(),password:v,remember:N})}),V=await Q.json();Q.ok&&V.ok?c==null||c():M(V.message||"认证未通过,请检查密码")}catch{M("网络请求异常,请稍后重试")}finally{B(!1)}};return d.jsxs(On,{className:`w-full max-w-md p-6 space-y-5 ${o?"":"shadow-2xl"}`,children:[d.jsx("div",{className:"flex items-start justify-between gap-3 border-b hl-border pb-4",children:d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center border hl-border shrink-0",style:{backgroundColor:"var(--accent-soft)",color:"var(--accent)"},children:d.jsx(hS,{className:"w-5 h-5"})}),d.jsxs("div",{children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("h3",{className:"text-sm font-bold tracking-tight",children:"HomeLab 统一安全通行证"}),d.jsx(wn,{variant:"success",children:"SSO 2.0"})]}),d.jsx("p",{className:"text-xs font-mono-num mt-0.5 truncate max-w-[260px]",style:{color:"var(--text-muted)"},children:i})]})]})}),d.jsxs("form",{onSubmit:H,className:"space-y-4",children:[d.jsxs("div",{className:"space-y-1.5",children:[d.jsx("label",{className:"block text-xs font-semibold",style:{color:"var(--text-muted)"},children:"管理员账号 (Username)"}),d.jsxs(cr,{children:[d.jsx(SS,{className:"w-4 h-4 shrink-0",style:{color:"var(--text-subtle)"}}),d.jsx("input",{type:"text",autoComplete:"username",value:f,onChange:Z=>m(Z.target.value),placeholder:"输入管理员账号 (如 ixvii0iv)",className:"font-mono-num"})]})]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsx("label",{className:"block text-xs font-semibold",style:{color:"var(--text-muted)"},children:"访问通行密钥 (Access Key)"}),d.jsx("span",{className:"text-[10px] font-mono-num",style:{color:"var(--text-subtle)"},children:"与 Mac mini 密码一致"})]}),d.jsxs(cr,{children:[d.jsx(uS,{className:"w-4 h-4 shrink-0",style:{color:"var(--text-subtle)"}}),d.jsx("input",{type:E?"text":"password",autoComplete:"current-password",autoFocus:!0,value:v,onChange:Z=>p(Z.target.value),placeholder:"输入访问密钥...",className:"font-mono-num"}),d.jsx("button",{type:"button",onClick:()=>b(!E),className:"p-1 rounded hover:opacity-80 cursor-pointer",style:{color:"var(--text-muted)"},title:E?"隐藏密码":"显示密码",children:E?d.jsx(Fx,{className:"w-3.5 h-3.5"}):d.jsx(Px,{className:"w-3.5 h-3.5"})})]})]}),d.jsxs("div",{className:"flex items-center justify-between pt-1",children:[d.jsx("span",{className:"text-xs select-none",style:{color:"var(--text-muted)"},children:"在此设备保持 30 天免密通行 (*.961504.xyz)"}),d.jsx(rr,{checked:N,onCheckedChange:y})]}),D&&d.jsx("div",{className:"px-3 py-2 rounded-lg text-xs font-medium border",style:{backgroundColor:"rgba(239, 68, 68, 0.1)",borderColor:"rgba(239, 68, 68, 0.3)",color:"#ef4444"},children:D}),d.jsxs("div",{className:"flex items-center justify-end gap-2.5 pt-2",children:[r&&d.jsx(jt,{type:"button",variant:"outline",onClick:r,children:"取消"}),d.jsxs(jt,{type:"submit",disabled:T,className:"px-4",children:[d.jsx(jf,{className:"w-3.5 h-3.5"}),d.jsx("span",{children:T?"正在验证签名...":"解锁并进入工作台"})]})]})]})]})},hC=()=>{const{showAgyModal:i,setShowAgyModal:c,getEffectiveMode:r}=jn(),[o,f]=g.useState(!1),[m,v]=g.useState(!1),p=r(),E=p==="lan"?"http://192.168.31.164:7681":p==="home10443"?"https://agy.home.961504.xyz:10443":"https://agy.961504.xyz";return g.useEffect(()=>{if(i){if(p==="lan"){v(!0),f(!0);return}f(!1),fetch("/api/auth/status",{credentials:"include"}).then(b=>b.json()).then(b=>{v(!!b.authenticated),f(!0)}).catch(()=>{v(!1),f(!0)})}},[i,p]),d.jsx(h0,{open:i,onOpenChange:c,children:d.jsxs(ed,{className:"w-[95vw] max-w-6xl h-[88vh] flex flex-col overflow-hidden p-0",children:[d.jsx(td,{className:"sr-only",children:"AGY 云端工作台"}),d.jsx(ld,{className:"sr-only",children:"M6 Mac mini 上的 24 小时 tmux 常驻 AI 编程终端"}),d.jsxs("div",{className:"px-4 py-2.5 border-b hl-border flex items-center justify-between hl-muted shrink-0",children:[d.jsxs("div",{className:"flex items-center gap-2.5",children:[d.jsx("img",{src:"https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/google-gemini.png",alt:"AGY",className:"w-4 h-4"}),d.jsx("span",{className:"text-xs font-mono-num font-medium",children:"AGY 云端工作台 · tmux 持久会话 (关窗不断连)"})]}),d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx(jt,{variant:"outline",size:"sm",asChild:!0,children:d.jsx("a",{href:E,target:"_blank",rel:"noopener noreferrer",className:"font-mono-num",children:"新标签页全屏 ↗"})}),d.jsx(jt,{size:"sm",onClick:()=>c(!1),children:"收起终端"})]})]}),o?m?d.jsx("iframe",{src:E,title:"AGY Cloud Workbench",className:"w-full flex-1 bg-black border-0"}):d.jsx("div",{className:"flex-1 flex items-center justify-center p-4",style:{backgroundColor:"var(--bg-page)"},children:d.jsx(id,{targetUrl:E,onSuccess:()=>v(!0),onCancel:()=>c(!1)})}):d.jsx("div",{className:"flex-1 flex items-center justify-center text-xs font-mono-num",style:{color:"var(--text-muted)"},children:"正在校验 HomeLab SSO 通行证..."})]})})},vC={light:{id:"light",name:"Shadcn Clean Light (浅色纯净)",description:"对标 Apple / Stripe / Linear 浅色日光模式,高对比深灰文字配纯净白卡片与冷灰微边框。",tokens:{"--bg-page":"#f8fafc","--bg-card":"#ffffff","--bg-widget":"#f8fafc","--bg-muted":"#f1f5f9","--bg-hover":"#ffffff","--text-main":"#0f172a","--text-muted":"#64748b","--text-subtle":"#94a3b8","--border-color":"#e2e8f0","--border-hover":"#cbd5e1","--primary":"#0f172a","--primary-fg":"#ffffff","--accent":"#2563eb","--accent-soft":"rgba(37, 99, 235, 0.08)","--success":"#10b981","--success-soft":"rgba(16, 185, 129, 0.10)"}},dark:{id:"dark",name:"Catppuccin / Linear Dark (深色极客)",description:"融合 Catppuccin Mocha 与 Linear 暗黑规范,柔和护眼的深邃蓝黑基底配高辨识度状态色。",tokens:{"--bg-page":"#11111b","--bg-card":"#1e1e2e","--bg-widget":"#181825","--bg-muted":"#313244","--bg-hover":"#242438","--text-main":"#cdd6f4","--text-muted":"#a6adc8","--text-subtle":"#6c7086","--border-color":"#313244","--border-hover":"#45475a","--primary":"#cba6f7","--primary-fg":"#11111b","--accent":"#89b4fa","--accent-soft":"rgba(137, 180, 250, 0.15)","--success":"#a6e3a1","--success-soft":"rgba(166, 227, 161, 0.15)"}}},or={"homepage-3col":{id:"homepage-3col",name:"Homepage 经典三列矩阵 (3-Column Grid)",description:"gethomepage.dev 标志性对称 3 列分组卡片,底部内嵌 3 格实时遥测单元。",gridClass:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"},"bento-split":{id:"bento-split",name:"Shadcn 双列宽屏卡片 (2-Column Wide Bento)",description:"适合大字号阅读的 2 列宽体卡片布局,留白更充裕。",gridClass:"grid-cols-1 lg:grid-cols-2 gap-5"},"compact-2col":{id:"compact-2col",name:"高密度四列紧凑矩阵 (4-Column Dense)",description:"适合超宽显示器的一屏高密度 4 列布局。",gridClass:"grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3.5"}},yC=()=>{const[i,c]=g.useState("form-inputs"),{theme:r,resolvedTheme:o,layoutPreset:f,setTheme:m,setLayoutPreset:v,setViewMode:p,setShowCmdPalette:E,telemetry:b,showToast:N}=jn(),[y,T]=g.useState(!0),[B,D]=g.useState("drawer"),[M,H]=g.useState(""),[Z,Q]=g.useState("192.168.31.164"),[V,P]=g.useState(!0),F=[{id:"layout-architecture",group:"FOUNDATIONS / 架构与布局",title:"01. AppShell 双层顶栏与网格布局",icon:d.jsx(fS,{className:"w-3.5 h-3.5"})},{id:"theme-tokens",group:"FOUNDATIONS / 架构与布局",title:"02. 双主题色板与自动切换规范",icon:d.jsx(oS,{className:"w-3.5 h-3.5"})},{id:"form-inputs",group:"SHADCN / RADIX UI 组件",title:"03. shadcn/ui + Radix 原语与认证弹窗",icon:d.jsx(Zy,{className:"w-3.5 h-3.5"})},{id:"service-card",group:"SHADCN / RADIX UI 组件",title:"04. ServiceCard 内联遥测卡片",icon:d.jsx(tS,{className:"w-3.5 h-3.5"})},{id:"ssh-shelf",group:"SHADCN / RADIX UI 组件",title:"05. SshShelf 快捷指令栏",icon:d.jsx(jf,{className:"w-3.5 h-3.5"})}];return d.jsx("div",{className:"flex-1 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8 py-6",children:d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6 items-start",children:[d.jsxs(On,{className:"p-4 space-y-4 lg:sticky lg:top-20",children:[d.jsxs("div",{className:"flex items-center justify-between border-b hl-border pb-3",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx(Ng,{className:"w-4 h-4",style:{color:"var(--accent)"}}),d.jsx("span",{className:"text-xs font-bold uppercase tracking-wider",children:"shadcn/ui 组件库"})]}),d.jsx(wn,{variant:"accent",children:"Radix + cmdk"})]}),d.jsx("div",{className:"space-y-1",children:F.map(G=>d.jsxs("button",{onClick:()=>c(G.id),className:"w-full px-3 py-2 rounded-lg text-left text-xs font-medium flex items-center gap-2.5 transition-all cursor-pointer",style:i===G.id?{backgroundColor:"var(--accent-soft)",color:"var(--accent)"}:{color:"var(--text-muted)"},children:[G.icon,d.jsx("span",{className:"truncate",children:G.title})]},G.id))}),d.jsxs("div",{className:"pt-3 border-t hl-border space-y-2 text-xs",children:[d.jsx("div",{className:"text-[11px] font-semibold",style:{color:"var(--text-muted)"},children:"全局外观状态预览 (@radix-ui/react-tabs)"}),d.jsx(xf,{value:r,onValueChange:G=>m(G),children:d.jsxs(ir,{className:"w-full grid grid-cols-3",children:[d.jsx(aa,{value:"system",children:"自动"}),d.jsx(aa,{value:"light",children:"浅色"}),d.jsx(aa,{value:"dark",children:"深色"})]})}),d.jsx(jt,{onClick:()=>p("dashboard"),className:"w-full mt-2",children:"返回中控台主页"})]})]}),d.jsxs("div",{className:"lg:col-span-3 space-y-6",children:[i==="layout-architecture"&&d.jsx("div",{className:"space-y-6",children:d.jsxs(On,{className:"p-6 space-y-4",children:[d.jsx("div",{className:"flex items-center justify-between border-b hl-border pb-4",children:d.jsxs("div",{children:[d.jsx("span",{className:"text-[11px] font-mono-num uppercase tracking-wider",style:{color:"var(--accent)"},children:"Foundations / AppShell Layout"}),d.jsx("h2",{className:"text-lg font-bold mt-0.5",children:"标准双层顶栏架构 (Two-Tier AppShell) & 响应式网格切换"})]})}),d.jsxs("p",{className:"text-xs leading-relaxed",style:{color:"var(--text-muted)"},children:["参考 ",d.jsx("strong",{children:"Vercel Geist / shadcn/ui Dashboard-01 / GitHub AppShell"})," ","标准规范,将原本容易挤压折行的单层顶栏拆分为职责清晰的双层结构:"]}),d.jsxs("div",{className:"p-4 rounded-xl hl-muted border hl-border space-y-2.5 font-mono-num text-xs",children:[d.jsxs("div",{className:"p-3 rounded-lg hl-card flex items-center justify-between",children:[d.jsx("span",{children:"[左] 🍎 HomeLab · Radix Tabs 切换 (中控台 / Storybook)"}),d.jsx("span",{style:{color:"var(--accent)"},children:"[最右固定] 🔍 搜索 ⌘K · >_ AGY 终端 · ☀️/🌙 主题切换"})]}),d.jsxs("div",{className:"p-3 rounded-lg hl-card flex items-center justify-between",children:[d.jsx("span",{style:{color:"var(--success)"},children:"[左] 实时硬件遥测条 (M6 CPU · RAM · Z4 20TB · SG 专线)"}),d.jsx("span",{children:"[右对齐] Radix Tabs 路由切换器 (智能路由 / 443 / 10443 / LAN)"})]})]}),d.jsxs("div",{className:"pt-2 space-y-3",children:[d.jsx("div",{className:"text-xs font-semibold",children:"选择主页卡片网格布局预设(点击立即应用到主页):"}),d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3.5",children:Object.keys(or).map(G=>{const U=or[G],k=f===G;return d.jsxs("div",{onClick:()=>v(G),className:"hl-card hl-card-interactive p-4 cursor-pointer space-y-2",style:k?{borderColor:"var(--accent)"}:{},children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsx("span",{className:"text-xs font-bold",children:U.name}),k&&d.jsx("span",{className:"w-4 h-4 rounded-full flex items-center justify-center",style:{backgroundColor:"var(--accent)",color:"#fff"},children:d.jsx(Jx,{className:"w-2.5 h-2.5"})})]}),d.jsx("p",{className:"text-[11px]",style:{color:"var(--text-muted)"},children:U.description}),d.jsx("code",{className:"text-[10px] font-mono-num block pt-1",style:{color:"var(--accent)"},children:U.gridClass})]},G)})})]})]})}),i==="theme-tokens"&&d.jsxs(On,{className:"p-6 space-y-6",children:[d.jsxs("div",{className:"border-b hl-border pb-4 flex items-center justify-between",children:[d.jsxs("div",{children:[d.jsx("span",{className:"text-[11px] font-mono-num uppercase tracking-wider",style:{color:"var(--accent)"},children:"Foundations / Color System"}),d.jsxs("h2",{className:"text-lg font-bold mt-0.5",children:["主流双主题色板规范(当前生效:",o==="dark"?"深色极客":"浅色纯净",")"]})]}),d.jsxs(wn,{variant:"secondary",children:["模式: ",r==="system"?"跟随设备自动切换":"手动锁定"]})]}),d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:["light","dark"].map(G=>{const U=vC[G];return d.jsxs("div",{className:"rounded-xl p-5 space-y-4 border",style:{backgroundColor:U.tokens["--bg-page"],color:U.tokens["--text-main"],borderColor:U.tokens["--border-color"]},children:[d.jsxs("div",{className:"flex items-center justify-between border-b pb-3",style:{borderColor:U.tokens["--border-color"]},children:[d.jsxs("div",{children:[d.jsx("div",{className:"text-sm font-bold",children:U.name}),d.jsx("div",{className:"text-xs mt-0.5",style:{color:U.tokens["--text-muted"]},children:U.description})]}),d.jsx("button",{onClick:()=>m(G),className:"px-2.5 py-1 rounded-md text-xs font-mono-num font-semibold cursor-pointer",style:{backgroundColor:U.tokens["--primary"],color:U.tokens["--primary-fg"]},children:"预览此主题"})]}),d.jsx("div",{className:"grid grid-cols-2 gap-2",children:Object.entries(U.tokens).map(([k,ce])=>d.jsxs("div",{className:"p-2 rounded-lg border flex items-center gap-2",style:{backgroundColor:U.tokens["--bg-card"],borderColor:U.tokens["--border-color"]},children:[d.jsx("span",{className:"w-5 h-5 rounded border shrink-0",style:{backgroundColor:ce,borderColor:U.tokens["--border-hover"]}}),d.jsxs("div",{className:"min-w-0",children:[d.jsx("div",{className:"text-[10px] font-mono-num font-semibold truncate",children:k}),d.jsx("div",{className:"text-[10px] font-mono-num truncate",style:{color:U.tokens["--text-muted"]},children:ce})]})]},k))})]},U.id)})})]}),i==="form-inputs"&&d.jsxs(On,{className:"p-6 space-y-6",children:[d.jsxs("div",{className:"border-b hl-border pb-4 flex items-center justify-between",children:[d.jsxs("div",{children:[d.jsx("span",{className:"text-[11px] font-mono-num uppercase tracking-wider",style:{color:"var(--accent)"},children:"src/components/ui/* · Official shadcn/ui + Radix Primitives + cmdk"}),d.jsx("h2",{className:"text-lg font-bold mt-0.5",children:"开源 `shadcn/ui` 组件库(`Input` / `Button` / `Switch` / `Badge` / `CommandDialog` / `AuthGateCard`)"})]}),d.jsx(Zy,{className:"w-4 h-4",style:{color:"var(--accent)"}})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 items-start",children:[d.jsxs("div",{className:"p-5 rounded-xl hl-muted border hl-border space-y-4",children:[d.jsx("div",{className:"text-xs font-bold uppercase tracking-wider",style:{color:"var(--text-muted)"},children:"1. `src/components/ui/*` 标准原语展示"}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx("label",{className:"block text-xs font-medium",style:{color:"var(--text-muted)"},children:"Button 变体 (`cva` + `@radix-ui/react-slot`)"}),d.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[d.jsx(jt,{variant:"default",children:"Primary 主按钮"}),d.jsx(jt,{variant:"outline",children:"Outline 描边"}),d.jsx(jt,{variant:"secondary",children:"Secondary 次级"}),d.jsx(jt,{variant:"accent",children:"Accent 高亮"}),d.jsx(jt,{variant:"ghost",onClick:()=>E(!0),children:"唤起 cmdk 面板 ⌘K"})]})]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx("label",{className:"block text-xs font-medium",style:{color:"var(--text-muted)"},children:"Badge 标签与 `@radix-ui/react-switch` 开关"}),d.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-2 p-2.5 rounded-lg hl-card",children:[d.jsxs("div",{className:"flex items-center gap-1.5",children:[d.jsx(wn,{variant:"default",children:"Default"}),d.jsx(wn,{variant:"accent",children:"Radix UI"}),d.jsx(wn,{variant:"success",children:"Online"}),d.jsx(wn,{variant:"outline",children:"v3.2"})]}),d.jsx(rr,{checked:V,onCheckedChange:P})]})]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx("label",{className:"block text-xs font-medium",style:{color:"var(--text-muted)"},children:"`InputGroup` 组合输入框"}),d.jsxs(cr,{children:[d.jsx(Rf,{className:"w-4 h-4 shrink-0",style:{color:"var(--text-subtle)"}}),d.jsx("input",{type:"text",value:M,onChange:G=>H(G.target.value),placeholder:"搜索服务、SSH 指令或节点..."}),d.jsx("kbd",{className:"px-1.5 py-0.5 text-[10px] font-mono-num rounded hl-card border hl-border",style:{color:"var(--text-muted)"},children:"⌘K"})]})]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx("label",{className:"block text-xs font-medium",style:{color:"var(--text-muted)"},children:"`Input` 等宽字体输入框"}),d.jsx(E0,{type:"text",value:Z,onChange:G=>Q(G.target.value),className:"font-mono-num",placeholder:"192.168.31.164"})]})]}),d.jsx("div",{className:"flex flex-col items-center",children:d.jsx(id,{embedded:!0,targetUrl:"https://agy.961504.xyz",onSuccess:()=>N("SSO 认证成功!已签发 30 天全域名通行 Cookie")})})]})]}),i==="service-card"&&d.jsxs(On,{className:"p-6 space-y-6",children:[d.jsxs("div",{className:"border-b hl-border pb-4 flex items-center justify-between",children:[d.jsxs("div",{children:[d.jsx("span",{className:"text-[11px] font-mono-num uppercase tracking-wider",style:{color:"var(--accent)"},children:"Components / ServiceCard"}),d.jsx("h2",{className:"text-lg font-bold mt-0.5",children:"三段式内联遥测卡片 (ServiceCard Interactive Story)"})]}),d.jsx(yS,{className:"w-4 h-4",style:{color:"var(--accent)"}})]}),d.jsxs("div",{className:"p-4 rounded-xl hl-muted border hl-border flex flex-wrap items-center gap-6 text-xs",children:[d.jsxs("div",{className:"flex items-center gap-2.5",children:[d.jsx("span",{className:"font-semibold",children:"在线状态 (online):"}),d.jsx(rr,{checked:y,onCheckedChange:T}),d.jsx("span",{className:"font-mono-num",children:y?"true":"false"})]}),d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("span",{className:"font-semibold",children:"右上角动作按钮 (actionType):"}),["drawer","backup",void 0].map((G,U)=>d.jsx(jt,{variant:B===G?"accent":"outline",size:"sm",onClick:()=>D(G),className:"font-mono-num",children:G||"route-badge"},U))]})]}),d.jsx("div",{className:"max-w-md mx-auto py-4",children:d.jsx(wp,{card:{id:"agy",title:"AGY 云端工作台",subtitle:"agy.961504.xyz · ttyd + tmux",iconUrl:"https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/google-gemini.png",online:y,actionType:B,desc:"M6 Mac mini 上的 24 小时常驻 AI 编程终端,已同步 Google 登录态并锁定新加坡出口,关掉网页后台继续运行。",edgeUrl:"https://agy.961504.xyz",homeUrl:"https://agy.home.961504.xyz:10443",lanUrl:"http://192.168.31.164:7681",stats:[{label:"M6 CPU 负载",value:`${b.mini.cpu_pct}%`},{label:"已用内存",value:`${b.mini.mem_used_gb} / 24 GB`},{label:"tmux 会话",value:"常驻运行中",highlight:!0}]}})})]}),i==="ssh-shelf"&&d.jsxs(On,{className:"p-6 space-y-6",children:[d.jsxs("div",{className:"border-b hl-border pb-4",children:[d.jsx("span",{className:"text-[11px] font-mono-num uppercase tracking-wider",style:{color:"var(--accent)"},children:"Components / SshShelf"}),d.jsx("h2",{className:"text-lg font-bold mt-0.5",children:"底部 SSH 快捷复制与运维操作栏"})]}),d.jsx(Op,{})]})]})]})})},gC=()=>{var B;const{telemetry:i,toast:c,viewMode:r,layoutPreset:o,fetchTelemetry:f,setShowCmdPalette:m,getEffectiveMode:v,routeMode:p}=jn(),[E,b]=g.useState(()=>typeof window>"u"?null:new URLSearchParams(window.location.search).get("auth_redirect"));g.useEffect(()=>{f();const D=setInterval(f,3e3),M=H=>{(H.metaKey||H.ctrlKey)&&H.key.toLowerCase()==="k"&&(H.preventDefault(),m(!0))};return window.addEventListener("keydown",M),()=>{clearInterval(D),window.removeEventListener("keydown",M)}},[f,m]);const N=g.useMemo(()=>{const D=v();return D==="lan"?"LAN 局域网极速直连 (192.168.31.x)":D==="home10443"?"10443 家宽公网 HTTPS 直连":"443 免端口 HTTPS 直达 (*.961504.xyz)"},[v,p]),y=((B=or[o])==null?void 0:B.gridClass)||or["homepage-3col"].gridClass,T=g.useMemo(()=>{const D=i;return[{title:"核心工作台与私有云存储",subtitle:"Core Workbench & Storage",showRouteHint:!0,items:[{id:"agy",title:"AGY 云端工作台",subtitle:"agy.961504.xyz · ttyd + tmux",iconUrl:"https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/google-gemini.png",online:D.services.agy,actionType:"drawer",desc:"M6 Mac mini 上的 24 小时常驻 AI 编程终端,已同步 Google 登录态并锁定新加坡出口,关掉网页后台继续运行。",edgeUrl:"https://agy.961504.xyz",homeUrl:"https://agy.home.961504.xyz:10443",lanUrl:"http://192.168.31.164:7681",stats:[{label:"M6 CPU 负载",value:`${D.mini.cpu_pct}%`},{label:"已用内存",value:`${D.mini.mem_used_gb} / 24 GB`},{label:"tmux 会话",value:D.mini.agy_tmux?"常驻运行中":"待机",highlight:!0}]},{id:"zspace",title:"极空间 Z4 私有云",subtitle:"192.168.31.185 · 20TB RAID 存储池",iconUrl:"https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/synology-drive.png",online:D.services.nas,desc:"家庭 20TB 大容量存储中心、极影视蓝光影院与手机相册备份,已自动 SMB 挂载至 Mac mini ~/nas。",edgeUrl:"https://z4.home.961504.xyz:10443",homeUrl:"https://z4.home.961504.xyz:10443",lanUrl:"http://192.168.31.185:5055",stats:[{label:"剩余可用",value:`${D.nas.free_tb} TB`,highlight:!0},{label:"已用容量",value:`${D.nas.used_tb} TB (${D.nas.pct}%)`},{label:"SMB 挂载",value:D.nas.mounted?"~/nas 已挂载":"重连中"}]},{id:"vaultwarden",title:"Vaultwarden 密码保险箱",subtitle:"vw.961504.xyz · Bitwarden 兼容",iconUrl:"https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/vaultwarden.png",online:D.services.vaultwarden,actionType:"backup",desc:"自托管全平台加密密码库,支持 iOS / Android / 浏览器插件自动填充,每天凌晨 03:30 自动打包灾备至极空间。",edgeUrl:"https://vw.961504.xyz",homeUrl:"https://vw.home.961504.xyz:10443",lanUrl:"http://192.168.31.164:8222",stats:[{label:"容器状态",value:"Healthy",highlight:!0},{label:"最近极空间灾备",value:D.nas.latest_backup},{label:"Mac SSD 占用",value:`${D.mini.disk_pct}%`}]}]},{title:"网络网关、AI 专线与外部哨兵",subtitle:"Network Gateway & Cloud Edge",showRouteHint:!1,items:[{id:"clash",title:"Mihomo 路由分流面板",subtitle:"192.168.31.1:9999 · ShellCrash",iconUrl:"https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/clash.png",online:D.services.clash,desc:"小米主路由器透明网关控制台,实时监控全屋设备流量、分流规则与狮城 AI 算力专线锁定状态。",edgeUrl:"https://clash.home.961504.xyz:10443/ui/",homeUrl:"https://clash.home.961504.xyz:10443/ui/",lanUrl:"http://192.168.31.1:9999/ui/",stats:[{label:"AI 锁定策略",value:"狮城节点",highlight:!0},{label:"新加坡延迟",value:D.network.sg_delay_ms>0?`${D.network.sg_delay_ms} ms`:"直连"},{label:"固定出口 IP",value:D.network.sg_egress_ip}]},{id:"router",title:"小米主路由器后台",subtitle:"192.168.31.1 · PPPoE 公网网关",iconUrl:"https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/openwrt.png",online:D.services.router,desc:"管理家庭联通公网宽带拨号、DHCP 静态 IP 绑定、10443 与 41641 端口转发及全屋内网 Split-DNS。",edgeUrl:"https://router.home.961504.xyz:10443",homeUrl:"https://router.home.961504.xyz:10443",lanUrl:"http://192.168.31.1",stats:[{label:"联通公网 IPv4",value:D.network.home_wan_ip,highlight:!0},{label:"泛域名 DDNS",value:"*.home.961504.xyz"},{label:"内网网关",value:"192.168.31.1"}]},{id:"uptime",title:"Uptime Kuma 外部哨兵",subtitle:"status.961504.xyz · SG Azure",iconUrl:"https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/uptime-kuma.png",online:D.services.uptime,desc:"独立部署在新加坡 Azure 公有云上的 24 小时外部监控哨兵,通过 Tailscale P2P 专线实时探测家庭服务。",edgeUrl:"https://status.961504.xyz",homeUrl:"https://status.961504.xyz",lanUrl:"https://status.961504.xyz",stats:[{label:"云端公网 IP",value:"104.43.105.243"},{label:"Tailscale 专线",value:"100.115.204.51"},{label:"外部探测状态",value:"100% 在线",highlight:!0}]}]}]},[i]);return d.jsxs("div",{className:"min-h-screen flex flex-col",children:[c&&d.jsxs("div",{className:"fixed bottom-5 right-5 z-50 hl-card px-4 py-3 flex items-center gap-2.5 shadow-2xl",children:[d.jsx("span",{className:"w-2 h-2 rounded-full",style:{backgroundColor:"var(--success)"}}),d.jsx("span",{className:"text-xs font-medium",children:c})]}),d.jsx(yE,{}),r==="storybook"?d.jsx(yC,{}):d.jsxs("main",{className:"flex-1 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8 py-6 space-y-7",children:[T.map(D=>d.jsxs("section",{className:"space-y-3",children:[d.jsxs("div",{className:"flex items-center justify-between px-0.5",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("h2",{className:"text-xs font-semibold uppercase tracking-wider",style:{color:"var(--text-muted)"},children:D.title}),d.jsxs("span",{className:"text-[11px] font-mono-num",style:{color:"var(--text-subtle)"},children:["· ",D.subtitle]})]}),D.showRouteHint&&d.jsxs("span",{className:"text-[11px] font-mono-num hidden sm:inline",style:{color:"var(--text-subtle)"},children:["当前路由模式: ",N]})]}),d.jsx("div",{className:`grid ${y}`,children:D.items.map(M=>d.jsx(wp,{card:M},M.id))})]},D.title)),d.jsx(Op,{})]}),d.jsx($N,{}),d.jsx(hC,{}),E&&d.jsx("div",{className:"fixed inset-0 z-50 bg-black/75 backdrop-blur-sm flex items-center justify-center p-4",children:d.jsx(id,{targetUrl:E,onSuccess:()=>{window.location.href=E},onCancel:()=>{b(null),window.history.replaceState({},"","/")}})})]})};Dx.createRoot(document.getElementById("root")).render(d.jsx(si.StrictMode,{children:d.jsx(gC,{})}));
|