git-drive 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +77 -0
- package/.planning/codebase/ARCHITECTURE.md +151 -0
- package/.planning/codebase/CONCERNS.md +191 -0
- package/.planning/codebase/CONVENTIONS.md +169 -0
- package/.planning/codebase/INTEGRATIONS.md +94 -0
- package/.planning/codebase/STACK.md +77 -0
- package/.planning/codebase/STRUCTURE.md +157 -0
- package/.planning/codebase/TESTING.md +156 -0
- package/Dockerfile.cli +30 -0
- package/Dockerfile.server +32 -0
- package/README.md +95 -0
- package/docker-compose.yml +48 -0
- package/package.json +25 -0
- package/packages/cli/Dockerfile +26 -0
- package/packages/cli/package.json +57 -0
- package/packages/cli/src/commands/archive.ts +39 -0
- package/packages/cli/src/commands/init.ts +34 -0
- package/packages/cli/src/commands/link.ts +115 -0
- package/packages/cli/src/commands/list.ts +94 -0
- package/packages/cli/src/commands/push.ts +64 -0
- package/packages/cli/src/commands/restore.ts +36 -0
- package/packages/cli/src/commands/status.ts +127 -0
- package/packages/cli/src/config.ts +73 -0
- package/packages/cli/src/errors.ts +23 -0
- package/packages/cli/src/git.ts +55 -0
- package/packages/cli/src/index.ts +97 -0
- package/packages/cli/src/server.ts +514 -0
- package/packages/cli/tsconfig.json +13 -0
- package/packages/cli/ui/assets/index-Cc2q1t5k.js +17 -0
- package/packages/cli/ui/assets/index-DrL7ojPA.css +1 -0
- package/packages/cli/ui/index.html +14 -0
- package/packages/cli/ui/vite.svg +1 -0
- package/packages/git-drive-docker/package.json +15 -0
- package/packages/server/package.json +44 -0
- package/packages/server/src/index.ts +569 -0
- package/packages/server/tsconfig.json +9 -0
- package/packages/ui/README.md +73 -0
- package/packages/ui/eslint.config.js +23 -0
- package/packages/ui/index.html +13 -0
- package/packages/ui/package.json +42 -0
- package/packages/ui/postcss.config.js +6 -0
- package/packages/ui/public/vite.svg +1 -0
- package/packages/ui/src/App.css +23 -0
- package/packages/ui/src/App.tsx +726 -0
- package/packages/ui/src/assets/react.svg +8 -0
- package/packages/ui/src/assets/vite.svg +3 -0
- package/packages/ui/src/index.css +37 -0
- package/packages/ui/src/main.tsx +14 -0
- package/packages/ui/tailwind.config.js +11 -0
- package/packages/ui/tsconfig.app.json +28 -0
- package/packages/ui/tsconfig.json +26 -0
- package/packages/ui/tsconfig.node.json +12 -0
- package/packages/ui/vite.config.ts +7 -0
- package/pnpm-workspace.yaml +4 -0
- package/rewrite_app.js +731 -0
- package/tsconfig.json +14 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const d of o)if(d.type==="childList")for(const h of d.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).observe(document,{childList:!0,subtree:!0});function s(o){const d={};return o.integrity&&(d.integrity=o.integrity),o.referrerPolicy&&(d.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?d.credentials="include":o.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function r(o){if(o.ep)return;o.ep=!0;const d=s(o);fetch(o.href,d)}})();function xm(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var ns={exports:{}},Vn={};var Xh;function jp(){if(Xh)return Vn;Xh=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function s(r,o,d){var h=null;if(d!==void 0&&(h=""+d),o.key!==void 0&&(h=""+o.key),"key"in o){d={};for(var p in o)p!=="key"&&(d[p]=o[p])}else d=o;return o=d.ref,{$$typeof:u,type:r,key:h,ref:o!==void 0?o:null,props:d}}return Vn.Fragment=c,Vn.jsx=s,Vn.jsxs=s,Vn}var Qh;function wp(){return Qh||(Qh=1,ns.exports=jp()),ns.exports}var T=wp(),us={exports:{}},ae={};var Vh;function Hp(){if(Vh)return ae;Vh=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),j=Symbol.iterator;function G(S){return S===null||typeof S!="object"?null:(S=j&&S[j]||S["@@iterator"],typeof S=="function"?S:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B=Object.assign,C={};function V(S,L,Q){this.props=S,this.context=L,this.refs=C,this.updater=Q||A}V.prototype.isReactComponent={},V.prototype.setState=function(S,L){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,L,"setState")},V.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function I(){}I.prototype=V.prototype;function Z(S,L,Q){this.props=S,this.context=L,this.refs=C,this.updater=Q||A}var Y=Z.prototype=new I;Y.constructor=Z,B(Y,V.prototype),Y.isPureReactComponent=!0;var k=Array.isArray;function ie(){}var F={H:null,A:null,T:null,S:null},Oe=Object.prototype.hasOwnProperty;function je(S,L,Q){var K=Q.ref;return{$$typeof:u,type:S,key:L,ref:K!==void 0?K:null,props:Q}}function ht(S,L){return je(S.type,L,S.props)}function tt(S){return typeof S=="object"&&S!==null&&S.$$typeof===u}function we(S){var L={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(Q){return L[Q]})}var Ie=/\/+/g;function qe(S,L){return typeof S=="object"&&S!==null&&S.key!=null?we(""+S.key):L.toString(36)}function ze(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(ie,ie):(S.status="pending",S.then(function(L){S.status==="pending"&&(S.status="fulfilled",S.value=L)},function(L){S.status==="pending"&&(S.status="rejected",S.reason=L)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function M(S,L,Q,K,le){var ce=typeof S;(ce==="undefined"||ce==="boolean")&&(S=null);var ve=!1;if(S===null)ve=!0;else switch(ce){case"bigint":case"string":case"number":ve=!0;break;case"object":switch(S.$$typeof){case u:case c:ve=!0;break;case b:return ve=S._init,M(ve(S._payload),L,Q,K,le)}}if(ve)return le=le(S),ve=K===""?"."+qe(S,0):K,k(le)?(Q="",ve!=null&&(Q=ve.replace(Ie,"$&/")+"/"),M(le,L,Q,"",function(Fa){return Fa})):le!=null&&(tt(le)&&(le=ht(le,Q+(le.key==null||S&&S.key===le.key?"":(""+le.key).replace(Ie,"$&/")+"/")+ve)),L.push(le)),1;ve=0;var lt=K===""?".":K+":";if(k(S))for(var He=0;He<S.length;He++)K=S[He],ce=lt+qe(K,He),ve+=M(K,L,Q,ce,le);else if(He=G(S),typeof He=="function")for(S=He.call(S),He=0;!(K=S.next()).done;)K=K.value,ce=lt+qe(K,He++),ve+=M(K,L,Q,ce,le);else if(ce==="object"){if(typeof S.then=="function")return M(ze(S),L,Q,K,le);throw L=String(S),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return ve}function X(S,L,Q){if(S==null)return S;var K=[],le=0;return M(S,K,"","",function(ce){return L.call(Q,ce,le++)}),K}function W(S){if(S._status===-1){var L=S._result;L=L(),L.then(function(Q){(S._status===0||S._status===-1)&&(S._status=1,S._result=Q)},function(Q){(S._status===0||S._status===-1)&&(S._status=2,S._result=Q)}),S._status===-1&&(S._status=0,S._result=L)}if(S._status===1)return S._result.default;throw S._result}var pe=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=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(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)},be={map:X,forEach:function(S,L,Q){X(S,function(){L.apply(this,arguments)},Q)},count:function(S){var L=0;return X(S,function(){L++}),L},toArray:function(S){return X(S,function(L){return L})||[]},only:function(S){if(!tt(S))throw Error("React.Children.only expected to receive a single React element child.");return S}};return ae.Activity=E,ae.Children=be,ae.Component=V,ae.Fragment=s,ae.Profiler=o,ae.PureComponent=Z,ae.StrictMode=r,ae.Suspense=g,ae.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,ae.__COMPILER_RUNTIME={__proto__:null,c:function(S){return F.H.useMemoCache(S)}},ae.cache=function(S){return function(){return S.apply(null,arguments)}},ae.cacheSignal=function(){return null},ae.cloneElement=function(S,L,Q){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var K=B({},S.props),le=S.key;if(L!=null)for(ce in L.key!==void 0&&(le=""+L.key),L)!Oe.call(L,ce)||ce==="key"||ce==="__self"||ce==="__source"||ce==="ref"&&L.ref===void 0||(K[ce]=L[ce]);var ce=arguments.length-2;if(ce===1)K.children=Q;else if(1<ce){for(var ve=Array(ce),lt=0;lt<ce;lt++)ve[lt]=arguments[lt+2];K.children=ve}return je(S.type,le,K)},ae.createContext=function(S){return S={$$typeof:h,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:d,_context:S},S},ae.createElement=function(S,L,Q){var K,le={},ce=null;if(L!=null)for(K in L.key!==void 0&&(ce=""+L.key),L)Oe.call(L,K)&&K!=="key"&&K!=="__self"&&K!=="__source"&&(le[K]=L[K]);var ve=arguments.length-2;if(ve===1)le.children=Q;else if(1<ve){for(var lt=Array(ve),He=0;He<ve;He++)lt[He]=arguments[He+2];le.children=lt}if(S&&S.defaultProps)for(K in ve=S.defaultProps,ve)le[K]===void 0&&(le[K]=ve[K]);return je(S,ce,le)},ae.createRef=function(){return{current:null}},ae.forwardRef=function(S){return{$$typeof:p,render:S}},ae.isValidElement=tt,ae.lazy=function(S){return{$$typeof:b,_payload:{_status:-1,_result:S},_init:W}},ae.memo=function(S,L){return{$$typeof:y,type:S,compare:L===void 0?null:L}},ae.startTransition=function(S){var L=F.T,Q={};F.T=Q;try{var K=S(),le=F.S;le!==null&&le(Q,K),typeof K=="object"&&K!==null&&typeof K.then=="function"&&K.then(ie,pe)}catch(ce){pe(ce)}finally{L!==null&&Q.types!==null&&(L.types=Q.types),F.T=L}},ae.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()},ae.use=function(S){return F.H.use(S)},ae.useActionState=function(S,L,Q){return F.H.useActionState(S,L,Q)},ae.useCallback=function(S,L){return F.H.useCallback(S,L)},ae.useContext=function(S){return F.H.useContext(S)},ae.useDebugValue=function(){},ae.useDeferredValue=function(S,L){return F.H.useDeferredValue(S,L)},ae.useEffect=function(S,L){return F.H.useEffect(S,L)},ae.useEffectEvent=function(S){return F.H.useEffectEvent(S)},ae.useId=function(){return F.H.useId()},ae.useImperativeHandle=function(S,L,Q){return F.H.useImperativeHandle(S,L,Q)},ae.useInsertionEffect=function(S,L){return F.H.useInsertionEffect(S,L)},ae.useLayoutEffect=function(S,L){return F.H.useLayoutEffect(S,L)},ae.useMemo=function(S,L){return F.H.useMemo(S,L)},ae.useOptimistic=function(S,L){return F.H.useOptimistic(S,L)},ae.useReducer=function(S,L,Q){return F.H.useReducer(S,L,Q)},ae.useRef=function(S){return F.H.useRef(S)},ae.useState=function(S){return F.H.useState(S)},ae.useSyncExternalStore=function(S,L,Q){return F.H.useSyncExternalStore(S,L,Q)},ae.useTransition=function(){return F.H.useTransition()},ae.version="19.2.4",ae}var Zh;function Ts(){return Zh||(Zh=1,us.exports=Hp()),us.exports}var z=Ts();const Rm=xm(z);var is={exports:{}},Zn={},cs={exports:{}},rs={};var Kh;function Bp(){return Kh||(Kh=1,(function(u){function c(M,X){var W=M.length;M.push(X);e:for(;0<W;){var pe=W-1>>>1,be=M[pe];if(0<o(be,X))M[pe]=X,M[W]=be,W=pe;else break e}}function s(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var X=M[0],W=M.pop();if(W!==X){M[0]=W;e:for(var pe=0,be=M.length,S=be>>>1;pe<S;){var L=2*(pe+1)-1,Q=M[L],K=L+1,le=M[K];if(0>o(Q,W))K<be&&0>o(le,Q)?(M[pe]=le,M[K]=W,pe=K):(M[pe]=Q,M[L]=W,pe=L);else if(K<be&&0>o(le,W))M[pe]=le,M[K]=W,pe=K;else break e}}return X}function o(M,X){var W=M.sortIndex-X.sortIndex;return W!==0?W:M.id-X.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;u.unstable_now=function(){return d.now()}}else{var h=Date,p=h.now();u.unstable_now=function(){return h.now()-p}}var g=[],y=[],b=1,E=null,j=3,G=!1,A=!1,B=!1,C=!1,V=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null;function Y(M){for(var X=s(y);X!==null;){if(X.callback===null)r(y);else if(X.startTime<=M)r(y),X.sortIndex=X.expirationTime,c(g,X);else break;X=s(y)}}function k(M){if(B=!1,Y(M),!A)if(s(g)!==null)A=!0,ie||(ie=!0,we());else{var X=s(y);X!==null&&ze(k,X.startTime-M)}}var ie=!1,F=-1,Oe=5,je=-1;function ht(){return C?!0:!(u.unstable_now()-je<Oe)}function tt(){if(C=!1,ie){var M=u.unstable_now();je=M;var X=!0;try{e:{A=!1,B&&(B=!1,I(F),F=-1),G=!0;var W=j;try{t:{for(Y(M),E=s(g);E!==null&&!(E.expirationTime>M&&ht());){var pe=E.callback;if(typeof pe=="function"){E.callback=null,j=E.priorityLevel;var be=pe(E.expirationTime<=M);if(M=u.unstable_now(),typeof be=="function"){E.callback=be,Y(M),X=!0;break t}E===s(g)&&r(g),Y(M)}else r(g);E=s(g)}if(E!==null)X=!0;else{var S=s(y);S!==null&&ze(k,S.startTime-M),X=!1}}break e}finally{E=null,j=W,G=!1}X=void 0}}finally{X?we():ie=!1}}}var we;if(typeof Z=="function")we=function(){Z(tt)};else if(typeof MessageChannel<"u"){var Ie=new MessageChannel,qe=Ie.port2;Ie.port1.onmessage=tt,we=function(){qe.postMessage(null)}}else we=function(){V(tt,0)};function ze(M,X){F=V(function(){M(u.unstable_now())},X)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(M){M.callback=null},u.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Oe=0<M?Math.floor(1e3/M):5},u.unstable_getCurrentPriorityLevel=function(){return j},u.unstable_next=function(M){switch(j){case 1:case 2:case 3:var X=3;break;default:X=j}var W=j;j=X;try{return M()}finally{j=W}},u.unstable_requestPaint=function(){C=!0},u.unstable_runWithPriority=function(M,X){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var W=j;j=M;try{return X()}finally{j=W}},u.unstable_scheduleCallback=function(M,X,W){var pe=u.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?pe+W:pe):W=pe,M){case 1:var be=-1;break;case 2:be=250;break;case 5:be=1073741823;break;case 4:be=1e4;break;default:be=5e3}return be=W+be,M={id:b++,callback:X,priorityLevel:M,startTime:W,expirationTime:be,sortIndex:-1},W>pe?(M.sortIndex=W,c(y,M),s(g)===null&&M===s(y)&&(B?(I(F),F=-1):B=!0,ze(k,W-pe))):(M.sortIndex=be,c(g,M),A||G||(A=!0,ie||(ie=!0,we()))),M},u.unstable_shouldYield=ht,u.unstable_wrapCallback=function(M){var X=j;return function(){var W=j;j=X;try{return M.apply(this,arguments)}finally{j=W}}}})(rs)),rs}var Jh;function Lp(){return Jh||(Jh=1,cs.exports=Bp()),cs.exports}var ss={exports:{}},Pe={};var $h;function qp(){if($h)return Pe;$h=1;var u=Ts();function c(g){var y="https://react.dev/errors/"+g;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)y+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+g+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(c(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},o=Symbol.for("react.portal");function d(g,y,b){var E=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:E==null?null:""+E,children:g,containerInfo:y,implementation:b}}var h=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(g,y){if(g==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return Pe.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Pe.createPortal=function(g,y){var b=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 d(g,y,null,b)},Pe.flushSync=function(g){var y=h.T,b=r.p;try{if(h.T=null,r.p=2,g)return g()}finally{h.T=y,r.p=b,r.d.f()}},Pe.preconnect=function(g,y){typeof g=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,r.d.C(g,y))},Pe.prefetchDNS=function(g){typeof g=="string"&&r.d.D(g)},Pe.preinit=function(g,y){if(typeof g=="string"&&y&&typeof y.as=="string"){var b=y.as,E=p(b,y.crossOrigin),j=typeof y.integrity=="string"?y.integrity:void 0,G=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;b==="style"?r.d.S(g,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:E,integrity:j,fetchPriority:G}):b==="script"&&r.d.X(g,{crossOrigin:E,integrity:j,fetchPriority:G,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},Pe.preinitModule=function(g,y){if(typeof g=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var b=p(y.as,y.crossOrigin);r.d.M(g,{crossOrigin:b,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&r.d.M(g)},Pe.preload=function(g,y){if(typeof g=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var b=y.as,E=p(b,y.crossOrigin);r.d.L(g,b,{crossOrigin:E,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})}},Pe.preloadModule=function(g,y){if(typeof g=="string")if(y){var b=p(y.as,y.crossOrigin);r.d.m(g,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:b,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else r.d.m(g)},Pe.requestFormReset=function(g){r.d.r(g)},Pe.unstable_batchedUpdates=function(g,y){return g(y)},Pe.useFormState=function(g,y,b){return h.H.useFormState(g,y,b)},Pe.useFormStatus=function(){return h.H.useHostTransitionStatus()},Pe.version="19.2.4",Pe}var kh;function Yp(){if(kh)return ss.exports;kh=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),ss.exports=qp(),ss.exports}var Fh;function Gp(){if(Fh)return Zn;Fh=1;var u=Lp(),c=Ts(),s=Yp();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function h(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 g(e){if(d(e)!==e)throw Error(r(188))}function y(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(r(188));return t!==e?null:e}for(var l=e,a=t;;){var n=l.return;if(n===null)break;var i=n.alternate;if(i===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===l)return g(n),e;if(i===a)return g(n),t;i=i.sibling}throw Error(r(188))}if(l.return!==a.return)l=n,a=i;else{for(var f=!1,m=n.child;m;){if(m===l){f=!0,l=n,a=i;break}if(m===a){f=!0,a=n,l=i;break}m=m.sibling}if(!f){for(m=i.child;m;){if(m===l){f=!0,l=i,a=n;break}if(m===a){f=!0,a=i,l=n;break}m=m.sibling}if(!f)throw Error(r(189))}}if(l.alternate!==a)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?e:t}function b(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=b(e),t!==null)return t;e=e.sibling}return null}var E=Object.assign,j=Symbol.for("react.element"),G=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),V=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),Z=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),Oe=Symbol.for("react.lazy"),je=Symbol.for("react.activity"),ht=Symbol.for("react.memo_cache_sentinel"),tt=Symbol.iterator;function we(e){return e===null||typeof e!="object"?null:(e=tt&&e[tt]||e["@@iterator"],typeof e=="function"?e:null)}var Ie=Symbol.for("react.client.reference");function qe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ie?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case B:return"Fragment";case V:return"Profiler";case C:return"StrictMode";case k:return"Suspense";case ie:return"SuspenseList";case je:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case A:return"Portal";case Z:return e.displayName||"Context";case I:return(e._context.displayName||"Context")+".Consumer";case Y:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case F:return t=e.displayName||null,t!==null?t:qe(e.type)||"Memo";case Oe:t=e._payload,e=e._init;try{return qe(e(t))}catch{}}return null}var ze=Array.isArray,M=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},pe=[],be=-1;function S(e){return{current:e}}function L(e){0>be||(e.current=pe[be],pe[be]=null,be--)}function Q(e,t){be++,pe[be]=e.current,e.current=t}var K=S(null),le=S(null),ce=S(null),ve=S(null);function lt(e,t){switch(Q(ce,t),Q(le,e),Q(K,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?oh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=oh(t),e=dh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}L(K),Q(K,e)}function He(){L(K),L(le),L(ce)}function Fa(e){e.memoizedState!==null&&Q(ve,e);var t=K.current,l=dh(t,e.type);t!==l&&(Q(le,e),Q(K,l))}function nu(e){le.current===e&&(L(K),L(le)),ve.current===e&&(L(ve),Yn._currentValue=W)}var Yi,qs;function ql(e){if(Yi===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Yi=t&&t[1]||"",qs=-1<l.stack.indexOf(`
|
|
2
|
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
+
`+Yi+e+qs}var Gi=!1;function Xi(e,t){if(!e||Gi)return"";Gi=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(U){var _=U}Reflect.construct(e,[],q)}else{try{q.call()}catch(U){_=U}e.call(q.prototype)}}else{try{throw Error()}catch(U){_=U}(q=e())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(U){if(U&&_&&typeof U.stack=="string")return[U.stack,_.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=a.DetermineComponentFrameRoot(),f=i[0],m=i[1];if(f&&m){var v=f.split(`
|
|
4
|
+
`),N=m.split(`
|
|
5
|
+
`);for(n=a=0;a<v.length&&!v[a].includes("DetermineComponentFrameRoot");)a++;for(;n<N.length&&!N[n].includes("DetermineComponentFrameRoot");)n++;if(a===v.length||n===N.length)for(a=v.length-1,n=N.length-1;1<=a&&0<=n&&v[a]!==N[n];)n--;for(;1<=a&&0<=n;a--,n--)if(v[a]!==N[n]){if(a!==1||n!==1)do if(a--,n--,0>n||v[a]!==N[n]){var w=`
|
|
6
|
+
`+v[a].replace(" at new "," at ");return e.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",e.displayName)),w}while(1<=a&&0<=n);break}}}finally{Gi=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?ql(l):""}function o0(e,t){switch(e.tag){case 26:case 27:case 5:return ql(e.type);case 16:return ql("Lazy");case 13:return e.child!==t&&t!==null?ql("Suspense Fallback"):ql("Suspense");case 19:return ql("SuspenseList");case 0:case 15:return Xi(e.type,!1);case 11:return Xi(e.type.render,!1);case 1:return Xi(e.type,!0);case 31:return ql("Activity");default:return""}}function Ys(e){try{var t="",l=null;do t+=o0(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
|
|
7
|
+
Error generating stack: `+a.message+`
|
|
8
|
+
`+a.stack}}var Qi=Object.prototype.hasOwnProperty,Vi=u.unstable_scheduleCallback,Zi=u.unstable_cancelCallback,d0=u.unstable_shouldYield,h0=u.unstable_requestPaint,mt=u.unstable_now,m0=u.unstable_getCurrentPriorityLevel,Gs=u.unstable_ImmediatePriority,Xs=u.unstable_UserBlockingPriority,uu=u.unstable_NormalPriority,y0=u.unstable_LowPriority,Qs=u.unstable_IdlePriority,p0=u.log,g0=u.unstable_setDisableYieldValue,Wa=null,yt=null;function ml(e){if(typeof p0=="function"&&g0(e),yt&&typeof yt.setStrictMode=="function")try{yt.setStrictMode(Wa,e)}catch{}}var pt=Math.clz32?Math.clz32:S0,v0=Math.log,b0=Math.LN2;function S0(e){return e>>>=0,e===0?32:31-(v0(e)/b0|0)|0}var iu=256,cu=262144,ru=4194304;function Yl(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&261888;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 su(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,i=e.suspendedLanes,f=e.pingedLanes;e=e.warmLanes;var m=a&134217727;return m!==0?(a=m&~i,a!==0?n=Yl(a):(f&=m,f!==0?n=Yl(f):l||(l=m&~e,l!==0&&(n=Yl(l))))):(m=a&~i,m!==0?n=Yl(m):f!==0?n=Yl(f):l||(l=a&~e,l!==0&&(n=Yl(l)))),n===0?0:t!==0&&t!==n&&(t&i)===0&&(i=n&-n,l=t&-t,i>=l||i===32&&(l&4194048)!==0)?t:n}function Ia(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function E0(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 Vs(){var e=ru;return ru<<=1,(ru&62914560)===0&&(ru=4194304),e}function Ki(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Pa(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function x0(e,t,l,a,n,i){var f=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 m=e.entanglements,v=e.expirationTimes,N=e.hiddenUpdates;for(l=f&~l;0<l;){var w=31-pt(l),q=1<<w;m[w]=0,v[w]=-1;var _=N[w];if(_!==null)for(N[w]=null,w=0;w<_.length;w++){var U=_[w];U!==null&&(U.lane&=-536870913)}l&=~q}a!==0&&Zs(e,a,0),i!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=i&~(f&~t))}function Zs(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-pt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function Ks(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-pt(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function Js(e,t){var l=t&-t;return l=(l&42)!==0?1:Ji(l),(l&(e.suspendedLanes|t))!==0?0:l}function Ji(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 $i(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function $s(){var e=X.p;return e!==0?e:(e=window.event,e===void 0?32:wh(e.type))}function ks(e,t){var l=X.p;try{return X.p=e,t()}finally{X.p=l}}var yl=Math.random().toString(36).slice(2),Je="__reactFiber$"+yl,nt="__reactProps$"+yl,ca="__reactContainer$"+yl,ki="__reactEvents$"+yl,R0="__reactListeners$"+yl,T0="__reactHandles$"+yl,Fs="__reactResources$"+yl,en="__reactMarker$"+yl;function Fi(e){delete e[Je],delete e[nt],delete e[ki],delete e[R0],delete e[T0]}function ra(e){var t=e[Je];if(t)return t;for(var l=e.parentNode;l;){if(t=l[ca]||l[Je]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=bh(e);e!==null;){if(l=e[Je])return l;e=bh(e)}return t}e=l,l=e.parentNode}return null}function sa(e){if(e=e[Je]||e[ca]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function tn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function fa(e){var t=e[Fs];return t||(t=e[Fs]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ze(e){e[en]=!0}var Ws=new Set,Is={};function Gl(e,t){oa(e,t),oa(e+"Capture",t)}function oa(e,t){for(Is[e]=t,e=0;e<t.length;e++)Ws.add(t[e])}var A0=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]*$"),Ps={},ef={};function O0(e){return Qi.call(ef,e)?!0:Qi.call(Ps,e)?!1:A0.test(e)?ef[e]=!0:(Ps[e]=!0,!1)}function fu(e,t,l){if(O0(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function ou(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 Jt(e,t,l,a){if(a===null)e.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+a)}}function Tt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function tf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function N0(e,t,l){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(f){l=""+f,i.call(this,f)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(f){l=""+f},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Wi(e){if(!e._valueTracker){var t=tf(e)?"checked":"value";e._valueTracker=N0(e,t,""+e[t])}}function lf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=tf(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function du(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}}var _0=/[\n"\\]/g;function At(e){return e.replace(_0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ii(e,t,l,a,n,i,f,m){e.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?e.type=f:e.removeAttribute("type"),t!=null?f==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Tt(t)):e.value!==""+Tt(t)&&(e.value=""+Tt(t)):f!=="submit"&&f!=="reset"||e.removeAttribute("value"),t!=null?Pi(e,f,Tt(t)):l!=null?Pi(e,f,Tt(l)):a!=null&&e.removeAttribute("value"),n==null&&i!=null&&(e.defaultChecked=!!i),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.name=""+Tt(m):e.removeAttribute("name")}function af(e,t,l,a,n,i,f,m){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||l!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){Wi(e);return}l=l!=null?""+Tt(l):"",t=t!=null?""+Tt(t):l,m||t===e.value||(e.value=t),e.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=m?e.checked:!!a,e.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.name=f),Wi(e)}function Pi(e,t,l){t==="number"&&du(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function da(e,t,l,a){if(e=e.options,t){t={};for(var n=0;n<l.length;n++)t["$"+l[n]]=!0;for(l=0;l<e.length;l++)n=t.hasOwnProperty("$"+e[l].value),e[l].selected!==n&&(e[l].selected=n),n&&a&&(e[l].defaultSelected=!0)}else{for(l=""+Tt(l),t=null,n=0;n<e.length;n++){if(e[n].value===l){e[n].selected=!0,a&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function nf(e,t,l){if(t!=null&&(t=""+Tt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Tt(l):""}function uf(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(r(92));if(ze(a)){if(1<a.length)throw Error(r(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=Tt(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a),Wi(e)}function ha(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var C0=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 cf(e,t,l){var a=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,l):typeof l!="number"||l===0||C0.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function rf(e,t,l){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var n in t)a=t[n],t.hasOwnProperty(n)&&l[n]!==a&&cf(e,n,a)}else for(var i in t)t.hasOwnProperty(i)&&cf(e,i,t[i])}function ec(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"],["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"]]),D0=/^[\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 hu(e){return D0.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function $t(){}var tc=null;function lc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ma=null,ya=null;function sf(e){var t=sa(e);if(t&&(e=t.stateNode)){var l=e[nt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ii(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="'+At(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var n=a[nt]||null;if(!n)throw Error(r(90));Ii(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&lf(a)}break e;case"textarea":nf(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&da(e,!!l.multiple,t,!1)}}}var ac=!1;function ff(e,t,l){if(ac)return e(t,l);ac=!0;try{var a=e(t);return a}finally{if(ac=!1,(ma!==null||ya!==null)&&(ei(),ma&&(t=ma,e=ya,ya=ma=null,sf(t),e)))for(t=0;t<e.length;t++)sf(e[t])}}function ln(e,t){var l=e.stateNode;if(l===null)return null;var a=l[nt]||null;if(a===null)return null;l=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(r(231,t,typeof l));return l}var kt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nc=!1;if(kt)try{var an={};Object.defineProperty(an,"passive",{get:function(){nc=!0}}),window.addEventListener("test",an,an),window.removeEventListener("test",an,an)}catch{nc=!1}var pl=null,uc=null,mu=null;function of(){if(mu)return mu;var e,t=uc,l=t.length,a,n="value"in pl?pl.value:pl.textContent,i=n.length;for(e=0;e<l&&t[e]===n[e];e++);var f=l-e;for(a=1;a<=f&&t[l-a]===n[i-a];a++);return mu=n.slice(e,1<a?1-a:void 0)}function yu(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 pu(){return!0}function df(){return!1}function ut(e){function t(l,a,n,i,f){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=i,this.target=f,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(l=e[m],this[m]=l?l(i):i[m]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?pu:df,this.isPropagationStopped=df,this}return E(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=pu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=pu)},persist:function(){},isPersistent:pu}),t}var Xl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},gu=ut(Xl),nn=E({},Xl,{view:0,detail:0}),U0=ut(nn),ic,cc,un,vu=E({},nn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sc,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!==un&&(un&&e.type==="mousemove"?(ic=e.screenX-un.screenX,cc=e.screenY-un.screenY):cc=ic=0,un=e),ic)},movementY:function(e){return"movementY"in e?e.movementY:cc}}),hf=ut(vu),M0=E({},vu,{dataTransfer:0}),j0=ut(M0),w0=E({},nn,{relatedTarget:0}),rc=ut(w0),H0=E({},Xl,{animationName:0,elapsedTime:0,pseudoElement:0}),B0=ut(H0),L0=E({},Xl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),q0=ut(L0),Y0=E({},Xl,{data:0}),mf=ut(Y0),G0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},X0={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"},Q0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function V0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Q0[e])?!!t[e]:!1}function sc(){return V0}var Z0=E({},nn,{key:function(e){if(e.key){var t=G0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=yu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?X0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sc,charCode:function(e){return e.type==="keypress"?yu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),K0=ut(Z0),J0=E({},vu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yf=ut(J0),$0=E({},nn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sc}),k0=ut($0),F0=E({},Xl,{propertyName:0,elapsedTime:0,pseudoElement:0}),W0=ut(F0),I0=E({},vu,{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}),P0=ut(I0),ey=E({},Xl,{newState:0,oldState:0}),ty=ut(ey),ly=[9,13,27,32],fc=kt&&"CompositionEvent"in window,cn=null;kt&&"documentMode"in document&&(cn=document.documentMode);var ay=kt&&"TextEvent"in window&&!cn,pf=kt&&(!fc||cn&&8<cn&&11>=cn),gf=" ",vf=!1;function bf(e,t){switch(e){case"keyup":return ly.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var pa=!1;function ny(e,t){switch(e){case"compositionend":return Sf(t);case"keypress":return t.which!==32?null:(vf=!0,gf);case"textInput":return e=t.data,e===gf&&vf?null:e;default:return null}}function uy(e,t){if(pa)return e==="compositionend"||!fc&&bf(e,t)?(e=of(),mu=uc=pl=null,pa=!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 pf&&t.locale!=="ko"?null:t.data;default:return null}}var iy={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 Ef(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!iy[e.type]:t==="textarea"}function xf(e,t,l,a){ma?ya?ya.push(a):ya=[a]:ma=a,t=ci(t,"onChange"),0<t.length&&(l=new gu("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var rn=null,sn=null;function cy(e){uh(e,0)}function bu(e){var t=tn(e);if(lf(t))return e}function Rf(e,t){if(e==="change")return t}var Tf=!1;if(kt){var oc;if(kt){var dc="oninput"in document;if(!dc){var Af=document.createElement("div");Af.setAttribute("oninput","return;"),dc=typeof Af.oninput=="function"}oc=dc}else oc=!1;Tf=oc&&(!document.documentMode||9<document.documentMode)}function Of(){rn&&(rn.detachEvent("onpropertychange",Nf),sn=rn=null)}function Nf(e){if(e.propertyName==="value"&&bu(sn)){var t=[];xf(t,sn,e,lc(e)),ff(cy,t)}}function ry(e,t,l){e==="focusin"?(Of(),rn=t,sn=l,rn.attachEvent("onpropertychange",Nf)):e==="focusout"&&Of()}function sy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return bu(sn)}function fy(e,t){if(e==="click")return bu(t)}function oy(e,t){if(e==="input"||e==="change")return bu(t)}function dy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gt=typeof Object.is=="function"?Object.is:dy;function fn(e,t){if(gt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),a=Object.keys(t);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!Qi.call(t,n)||!gt(e[n],t[n]))return!1}return!0}function _f(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cf(e,t){var l=_f(e);e=0;for(var a;l;){if(l.nodeType===3){if(a=e+l.textContent.length,e<=t&&a>=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=_f(l)}}function zf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Df(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=du(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=du(e.document)}return t}function hc(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 hy=kt&&"documentMode"in document&&11>=document.documentMode,ga=null,mc=null,on=null,yc=!1;function Uf(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;yc||ga==null||ga!==du(a)||(a=ga,"selectionStart"in a&&hc(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),on&&fn(on,a)||(on=a,a=ci(mc,"onSelect"),0<a.length&&(t=new gu("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=ga)))}function Ql(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var va={animationend:Ql("Animation","AnimationEnd"),animationiteration:Ql("Animation","AnimationIteration"),animationstart:Ql("Animation","AnimationStart"),transitionrun:Ql("Transition","TransitionRun"),transitionstart:Ql("Transition","TransitionStart"),transitioncancel:Ql("Transition","TransitionCancel"),transitionend:Ql("Transition","TransitionEnd")},pc={},Mf={};kt&&(Mf=document.createElement("div").style,"AnimationEvent"in window||(delete va.animationend.animation,delete va.animationiteration.animation,delete va.animationstart.animation),"TransitionEvent"in window||delete va.transitionend.transition);function Vl(e){if(pc[e])return pc[e];if(!va[e])return e;var t=va[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in Mf)return pc[e]=t[l];return e}var jf=Vl("animationend"),wf=Vl("animationiteration"),Hf=Vl("animationstart"),my=Vl("transitionrun"),yy=Vl("transitionstart"),py=Vl("transitioncancel"),Bf=Vl("transitionend"),Lf=new Map,gc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");gc.push("scrollEnd");function Ht(e,t){Lf.set(e,t),Gl(t,[e])}var Su=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)},Ot=[],ba=0,vc=0;function Eu(){for(var e=ba,t=vc=ba=0;t<e;){var l=Ot[t];Ot[t++]=null;var a=Ot[t];Ot[t++]=null;var n=Ot[t];Ot[t++]=null;var i=Ot[t];if(Ot[t++]=null,a!==null&&n!==null){var f=a.pending;f===null?n.next=n:(n.next=f.next,f.next=n),a.pending=n}i!==0&&qf(l,n,i)}}function xu(e,t,l,a){Ot[ba++]=e,Ot[ba++]=t,Ot[ba++]=l,Ot[ba++]=a,vc|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function bc(e,t,l,a){return xu(e,t,l,a),Ru(e)}function Zl(e,t){return xu(e,null,null,t),Ru(e)}function qf(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var n=!1,i=e.return;i!==null;)i.childLanes|=l,a=i.alternate,a!==null&&(a.childLanes|=l),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(n=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,n&&t!==null&&(n=31-pt(l),e=i.hiddenUpdates,a=e[n],a===null?e[n]=[t]:a.push(t),t.lane=l|536870912),i):null}function Ru(e){if(50<Mn)throw Mn=0,_r=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Sa={};function gy(e,t,l,a){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vt(e,t,l,a){return new gy(e,t,l,a)}function Sc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ft(e,t){var l=e.alternate;return l===null?(l=vt(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&65011712,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 Yf(e,t){e.flags&=65011714;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 Tu(e,t,l,a,n,i){var f=0;if(a=e,typeof e=="function")Sc(e)&&(f=1);else if(typeof e=="string")f=xp(e,l,K.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case je:return e=vt(31,l,t,n),e.elementType=je,e.lanes=i,e;case B:return Kl(l.children,n,i,t);case C:f=8,n|=24;break;case V:return e=vt(12,l,t,n|2),e.elementType=V,e.lanes=i,e;case k:return e=vt(13,l,t,n),e.elementType=k,e.lanes=i,e;case ie:return e=vt(19,l,t,n),e.elementType=ie,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Z:f=10;break e;case I:f=9;break e;case Y:f=11;break e;case F:f=14;break e;case Oe:f=16,a=null;break e}f=29,l=Error(r(130,e===null?"null":typeof e,"")),a=null}return t=vt(f,l,t,n),t.elementType=e,t.type=a,t.lanes=i,t}function Kl(e,t,l,a){return e=vt(7,e,a,t),e.lanes=l,e}function Ec(e,t,l){return e=vt(6,e,null,t),e.lanes=l,e}function Gf(e){var t=vt(18,null,null,0);return t.stateNode=e,t}function xc(e,t,l){return t=vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Xf=new WeakMap;function Nt(e,t){if(typeof e=="object"&&e!==null){var l=Xf.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Ys(t)},Xf.set(e,t),t)}return{value:e,source:t,stack:Ys(t)}}var Ea=[],xa=0,Au=null,dn=0,_t=[],Ct=0,gl=null,Gt=1,Xt="";function Wt(e,t){Ea[xa++]=dn,Ea[xa++]=Au,Au=e,dn=t}function Qf(e,t,l){_t[Ct++]=Gt,_t[Ct++]=Xt,_t[Ct++]=gl,gl=e;var a=Gt;e=Xt;var n=32-pt(a)-1;a&=~(1<<n),l+=1;var i=32-pt(t)+n;if(30<i){var f=n-n%5;i=(a&(1<<f)-1).toString(32),a>>=f,n-=f,Gt=1<<32-pt(t)+n|l<<n|a,Xt=i+e}else Gt=1<<i|l<<n|a,Xt=e}function Rc(e){e.return!==null&&(Wt(e,1),Qf(e,1,0))}function Tc(e){for(;e===Au;)Au=Ea[--xa],Ea[xa]=null,dn=Ea[--xa],Ea[xa]=null;for(;e===gl;)gl=_t[--Ct],_t[Ct]=null,Xt=_t[--Ct],_t[Ct]=null,Gt=_t[--Ct],_t[Ct]=null}function Vf(e,t){_t[Ct++]=Gt,_t[Ct++]=Xt,_t[Ct++]=gl,Gt=t.id,Xt=t.overflow,gl=e}var $e=null,Ne=null,de=!1,vl=null,zt=!1,Ac=Error(r(519));function bl(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw hn(Nt(t,e)),Ac}function Zf(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[Je]=e,t[nt]=a,l){case"dialog":se("cancel",t),se("close",t);break;case"iframe":case"object":case"embed":se("load",t);break;case"video":case"audio":for(l=0;l<wn.length;l++)se(wn[l],t);break;case"source":se("error",t);break;case"img":case"image":case"link":se("error",t),se("load",t);break;case"details":se("toggle",t);break;case"input":se("invalid",t),af(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":se("invalid",t);break;case"textarea":se("invalid",t),uf(t,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||sh(t.textContent,l)?(a.popover!=null&&(se("beforetoggle",t),se("toggle",t)),a.onScroll!=null&&se("scroll",t),a.onScrollEnd!=null&&se("scrollend",t),a.onClick!=null&&(t.onclick=$t),t=!0):t=!1,t||bl(e,!0)}function Kf(e){for($e=e.return;$e;)switch($e.tag){case 5:case 31:case 13:zt=!1;return;case 27:case 3:zt=!0;return;default:$e=$e.return}}function Ra(e){if(e!==$e)return!1;if(!de)return Kf(e),de=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Qr(e.type,e.memoizedProps)),l=!l),l&&Ne&&bl(e),Kf(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ne=vh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ne=vh(e)}else t===27?(t=Ne,Ml(e.type)?(e=$r,$r=null,Ne=e):Ne=t):Ne=$e?Ut(e.stateNode.nextSibling):null;return!0}function Jl(){Ne=$e=null,de=!1}function Oc(){var e=vl;return e!==null&&(st===null?st=e:st.push.apply(st,e),vl=null),e}function hn(e){vl===null?vl=[e]:vl.push(e)}var Nc=S(null),$l=null,It=null;function Sl(e,t,l){Q(Nc,t._currentValue),t._currentValue=l}function Pt(e){e._currentValue=Nc.current,L(Nc)}function _c(e,t,l){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===l)break;e=e.return}}function Cc(e,t,l,a){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var i=n.dependencies;if(i!==null){var f=n.child;i=i.firstContext;e:for(;i!==null;){var m=i;i=n;for(var v=0;v<t.length;v++)if(m.context===t[v]){i.lanes|=l,m=i.alternate,m!==null&&(m.lanes|=l),_c(i.return,l,e),a||(f=null);break e}i=m.next}}else if(n.tag===18){if(f=n.return,f===null)throw Error(r(341));f.lanes|=l,i=f.alternate,i!==null&&(i.lanes|=l),_c(f,l,e),f=null}else f=n.child;if(f!==null)f.return=n;else for(f=n;f!==null;){if(f===e){f=null;break}if(n=f.sibling,n!==null){n.return=f.return,f=n;break}f=f.return}n=f}}function Ta(e,t,l,a){e=null;for(var n=t,i=!1;n!==null;){if(!i){if((n.flags&524288)!==0)i=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var f=n.alternate;if(f===null)throw Error(r(387));if(f=f.memoizedProps,f!==null){var m=n.type;gt(n.pendingProps.value,f.value)||(e!==null?e.push(m):e=[m])}}else if(n===ve.current){if(f=n.alternate,f===null)throw Error(r(387));f.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Yn):e=[Yn])}n=n.return}e!==null&&Cc(t,e,l,a),t.flags|=262144}function Ou(e){for(e=e.firstContext;e!==null;){if(!gt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function kl(e){$l=e,It=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ke(e){return Jf($l,e)}function Nu(e,t){return $l===null&&kl(e),Jf(e,t)}function Jf(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},It===null){if(e===null)throw Error(r(308));It=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else It=It.next=t;return l}var vy=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},by=u.unstable_scheduleCallback,Sy=u.unstable_NormalPriority,Ye={$$typeof:Z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function zc(){return{controller:new vy,data:new Map,refCount:0}}function mn(e){e.refCount--,e.refCount===0&&by(Sy,function(){e.controller.abort()})}var yn=null,Dc=0,Aa=0,Oa=null;function Ey(e,t){if(yn===null){var l=yn=[];Dc=0,Aa=jr(),Oa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return Dc++,t.then($f,$f),t}function $f(){if(--Dc===0&&yn!==null){Oa!==null&&(Oa.status="fulfilled");var e=yn;yn=null,Aa=0,Oa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function xy(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<l.length;n++)(0,l[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var kf=M.S;M.S=function(e,t){Md=mt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Ey(e,t),kf!==null&&kf(e,t)};var Fl=S(null);function Uc(){var e=Fl.current;return e!==null?e:Ae.pooledCache}function _u(e,t){t===null?Q(Fl,Fl.current):Q(Fl,t.pool)}function Ff(){var e=Uc();return e===null?null:{parent:Ye._currentValue,pool:e}}var Na=Error(r(460)),Mc=Error(r(474)),Cu=Error(r(542)),zu={then:function(){}};function Wf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function If(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then($t,$t),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,eo(e),e;default:if(typeof t.status=="string")t.then($t,$t);else{if(e=Ae,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,eo(e),e}throw Il=t,Na}}function Wl(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Il=l,Na):l}}var Il=null;function Pf(){if(Il===null)throw Error(r(459));var e=Il;return Il=null,e}function eo(e){if(e===Na||e===Cu)throw Error(r(483))}var _a=null,pn=0;function Du(e){var t=pn;return pn+=1,_a===null&&(_a=[]),If(_a,e,t)}function gn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Uu(e,t){throw t.$$typeof===j?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function to(e){function t(R,x){if(e){var O=R.deletions;O===null?(R.deletions=[x],R.flags|=16):O.push(x)}}function l(R,x){if(!e)return null;for(;x!==null;)t(R,x),x=x.sibling;return null}function a(R){for(var x=new Map;R!==null;)R.key!==null?x.set(R.key,R):x.set(R.index,R),R=R.sibling;return x}function n(R,x){return R=Ft(R,x),R.index=0,R.sibling=null,R}function i(R,x,O){return R.index=O,e?(O=R.alternate,O!==null?(O=O.index,O<x?(R.flags|=67108866,x):O):(R.flags|=67108866,x)):(R.flags|=1048576,x)}function f(R){return e&&R.alternate===null&&(R.flags|=67108866),R}function m(R,x,O,H){return x===null||x.tag!==6?(x=Ec(O,R.mode,H),x.return=R,x):(x=n(x,O),x.return=R,x)}function v(R,x,O,H){var P=O.type;return P===B?w(R,x,O.props.children,H,O.key):x!==null&&(x.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Oe&&Wl(P)===x.type)?(x=n(x,O.props),gn(x,O),x.return=R,x):(x=Tu(O.type,O.key,O.props,null,R.mode,H),gn(x,O),x.return=R,x)}function N(R,x,O,H){return x===null||x.tag!==4||x.stateNode.containerInfo!==O.containerInfo||x.stateNode.implementation!==O.implementation?(x=xc(O,R.mode,H),x.return=R,x):(x=n(x,O.children||[]),x.return=R,x)}function w(R,x,O,H,P){return x===null||x.tag!==7?(x=Kl(O,R.mode,H,P),x.return=R,x):(x=n(x,O),x.return=R,x)}function q(R,x,O){if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return x=Ec(""+x,R.mode,O),x.return=R,x;if(typeof x=="object"&&x!==null){switch(x.$$typeof){case G:return O=Tu(x.type,x.key,x.props,null,R.mode,O),gn(O,x),O.return=R,O;case A:return x=xc(x,R.mode,O),x.return=R,x;case Oe:return x=Wl(x),q(R,x,O)}if(ze(x)||we(x))return x=Kl(x,R.mode,O,null),x.return=R,x;if(typeof x.then=="function")return q(R,Du(x),O);if(x.$$typeof===Z)return q(R,Nu(R,x),O);Uu(R,x)}return null}function _(R,x,O,H){var P=x!==null?x.key:null;if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return P!==null?null:m(R,x,""+O,H);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case G:return O.key===P?v(R,x,O,H):null;case A:return O.key===P?N(R,x,O,H):null;case Oe:return O=Wl(O),_(R,x,O,H)}if(ze(O)||we(O))return P!==null?null:w(R,x,O,H,null);if(typeof O.then=="function")return _(R,x,Du(O),H);if(O.$$typeof===Z)return _(R,x,Nu(R,O),H);Uu(R,O)}return null}function U(R,x,O,H,P){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return R=R.get(O)||null,m(x,R,""+H,P);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case G:return R=R.get(H.key===null?O:H.key)||null,v(x,R,H,P);case A:return R=R.get(H.key===null?O:H.key)||null,N(x,R,H,P);case Oe:return H=Wl(H),U(R,x,O,H,P)}if(ze(H)||we(H))return R=R.get(O)||null,w(x,R,H,P,null);if(typeof H.then=="function")return U(R,x,O,Du(H),P);if(H.$$typeof===Z)return U(R,x,O,Nu(x,H),P);Uu(x,H)}return null}function J(R,x,O,H){for(var P=null,me=null,$=x,ue=x=0,oe=null;$!==null&&ue<O.length;ue++){$.index>ue?(oe=$,$=null):oe=$.sibling;var ye=_(R,$,O[ue],H);if(ye===null){$===null&&($=oe);break}e&&$&&ye.alternate===null&&t(R,$),x=i(ye,x,ue),me===null?P=ye:me.sibling=ye,me=ye,$=oe}if(ue===O.length)return l(R,$),de&&Wt(R,ue),P;if($===null){for(;ue<O.length;ue++)$=q(R,O[ue],H),$!==null&&(x=i($,x,ue),me===null?P=$:me.sibling=$,me=$);return de&&Wt(R,ue),P}for($=a($);ue<O.length;ue++)oe=U($,R,ue,O[ue],H),oe!==null&&(e&&oe.alternate!==null&&$.delete(oe.key===null?ue:oe.key),x=i(oe,x,ue),me===null?P=oe:me.sibling=oe,me=oe);return e&&$.forEach(function(Ll){return t(R,Ll)}),de&&Wt(R,ue),P}function ee(R,x,O,H){if(O==null)throw Error(r(151));for(var P=null,me=null,$=x,ue=x=0,oe=null,ye=O.next();$!==null&&!ye.done;ue++,ye=O.next()){$.index>ue?(oe=$,$=null):oe=$.sibling;var Ll=_(R,$,ye.value,H);if(Ll===null){$===null&&($=oe);break}e&&$&&Ll.alternate===null&&t(R,$),x=i(Ll,x,ue),me===null?P=Ll:me.sibling=Ll,me=Ll,$=oe}if(ye.done)return l(R,$),de&&Wt(R,ue),P;if($===null){for(;!ye.done;ue++,ye=O.next())ye=q(R,ye.value,H),ye!==null&&(x=i(ye,x,ue),me===null?P=ye:me.sibling=ye,me=ye);return de&&Wt(R,ue),P}for($=a($);!ye.done;ue++,ye=O.next())ye=U($,R,ue,ye.value,H),ye!==null&&(e&&ye.alternate!==null&&$.delete(ye.key===null?ue:ye.key),x=i(ye,x,ue),me===null?P=ye:me.sibling=ye,me=ye);return e&&$.forEach(function(Mp){return t(R,Mp)}),de&&Wt(R,ue),P}function Te(R,x,O,H){if(typeof O=="object"&&O!==null&&O.type===B&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case G:e:{for(var P=O.key;x!==null;){if(x.key===P){if(P=O.type,P===B){if(x.tag===7){l(R,x.sibling),H=n(x,O.props.children),H.return=R,R=H;break e}}else if(x.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Oe&&Wl(P)===x.type){l(R,x.sibling),H=n(x,O.props),gn(H,O),H.return=R,R=H;break e}l(R,x);break}else t(R,x);x=x.sibling}O.type===B?(H=Kl(O.props.children,R.mode,H,O.key),H.return=R,R=H):(H=Tu(O.type,O.key,O.props,null,R.mode,H),gn(H,O),H.return=R,R=H)}return f(R);case A:e:{for(P=O.key;x!==null;){if(x.key===P)if(x.tag===4&&x.stateNode.containerInfo===O.containerInfo&&x.stateNode.implementation===O.implementation){l(R,x.sibling),H=n(x,O.children||[]),H.return=R,R=H;break e}else{l(R,x);break}else t(R,x);x=x.sibling}H=xc(O,R.mode,H),H.return=R,R=H}return f(R);case Oe:return O=Wl(O),Te(R,x,O,H)}if(ze(O))return J(R,x,O,H);if(we(O)){if(P=we(O),typeof P!="function")throw Error(r(150));return O=P.call(O),ee(R,x,O,H)}if(typeof O.then=="function")return Te(R,x,Du(O),H);if(O.$$typeof===Z)return Te(R,x,Nu(R,O),H);Uu(R,O)}return typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint"?(O=""+O,x!==null&&x.tag===6?(l(R,x.sibling),H=n(x,O),H.return=R,R=H):(l(R,x),H=Ec(O,R.mode,H),H.return=R,R=H),f(R)):l(R,x)}return function(R,x,O,H){try{pn=0;var P=Te(R,x,O,H);return _a=null,P}catch($){if($===Na||$===Cu)throw $;var me=vt(29,$,null,R.mode);return me.lanes=H,me.return=R,me}}}var Pl=to(!0),lo=to(!1),El=!1;function jc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function wc(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 xl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Rl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ge&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=Ru(e),qf(e,null,l),t}return xu(e,a,t,l),Ru(e)}function vn(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,Ks(e,l)}}function Hc(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,i=null;if(l=l.firstBaseUpdate,l!==null){do{var f={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};i===null?n=i=f:i=i.next=f,l=l.next}while(l!==null);i===null?n=i=t:i=i.next=t}else n=i=t;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Bc=!1;function bn(){if(Bc){var e=Oa;if(e!==null)throw e}}function Sn(e,t,l,a){Bc=!1;var n=e.updateQueue;El=!1;var i=n.firstBaseUpdate,f=n.lastBaseUpdate,m=n.shared.pending;if(m!==null){n.shared.pending=null;var v=m,N=v.next;v.next=null,f===null?i=N:f.next=N,f=v;var w=e.alternate;w!==null&&(w=w.updateQueue,m=w.lastBaseUpdate,m!==f&&(m===null?w.firstBaseUpdate=N:m.next=N,w.lastBaseUpdate=v))}if(i!==null){var q=n.baseState;f=0,w=N=v=null,m=i;do{var _=m.lane&-536870913,U=_!==m.lane;if(U?(fe&_)===_:(a&_)===_){_!==0&&_===Aa&&(Bc=!0),w!==null&&(w=w.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var J=e,ee=m;_=t;var Te=l;switch(ee.tag){case 1:if(J=ee.payload,typeof J=="function"){q=J.call(Te,q,_);break e}q=J;break e;case 3:J.flags=J.flags&-65537|128;case 0:if(J=ee.payload,_=typeof J=="function"?J.call(Te,q,_):J,_==null)break e;q=E({},q,_);break e;case 2:El=!0}}_=m.callback,_!==null&&(e.flags|=64,U&&(e.flags|=8192),U=n.callbacks,U===null?n.callbacks=[_]:U.push(_))}else U={lane:_,tag:m.tag,payload:m.payload,callback:m.callback,next:null},w===null?(N=w=U,v=q):w=w.next=U,f|=_;if(m=m.next,m===null){if(m=n.shared.pending,m===null)break;U=m,m=U.next,U.next=null,n.lastBaseUpdate=U,n.shared.pending=null}}while(!0);w===null&&(v=q),n.baseState=v,n.firstBaseUpdate=N,n.lastBaseUpdate=w,i===null&&(n.shared.lanes=0),_l|=f,e.lanes=f,e.memoizedState=q}}function ao(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function no(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)ao(l[e],t)}var Ca=S(null),Mu=S(0);function uo(e,t){e=rl,Q(Mu,e),Q(Ca,t),rl=e|t.baseLanes}function Lc(){Q(Mu,rl),Q(Ca,Ca.current)}function qc(){rl=Mu.current,L(Ca),L(Mu)}var bt=S(null),Dt=null;function Tl(e){var t=e.alternate;Q(Be,Be.current&1),Q(bt,e),Dt===null&&(t===null||Ca.current!==null||t.memoizedState!==null)&&(Dt=e)}function Yc(e){Q(Be,Be.current),Q(bt,e),Dt===null&&(Dt=e)}function io(e){e.tag===22?(Q(Be,Be.current),Q(bt,e),Dt===null&&(Dt=e)):Al()}function Al(){Q(Be,Be.current),Q(bt,bt.current)}function St(e){L(bt),Dt===e&&(Dt=null),L(Be)}var Be=S(0);function ju(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Kr(l)||Jr(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){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 el=0,ne=null,xe=null,Ge=null,wu=!1,za=!1,ea=!1,Hu=0,En=0,Da=null,Ry=0;function Ue(){throw Error(r(321))}function Gc(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!gt(e[l],t[l]))return!1;return!0}function Xc(e,t,l,a,n,i){return el=i,ne=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,M.H=e===null||e.memoizedState===null?Vo:ar,ea=!1,i=l(a,n),ea=!1,za&&(i=ro(t,l,a,n)),co(e),i}function co(e){M.H=Tn;var t=xe!==null&&xe.next!==null;if(el=0,Ge=xe=ne=null,wu=!1,En=0,Da=null,t)throw Error(r(300));e===null||Xe||(e=e.dependencies,e!==null&&Ou(e)&&(Xe=!0))}function ro(e,t,l,a){ne=e;var n=0;do{if(za&&(Da=null),En=0,za=!1,25<=n)throw Error(r(301));if(n+=1,Ge=xe=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}M.H=Zo,i=t(l,a)}while(za);return i}function Ty(){var e=M.H,t=e.useState()[0];return t=typeof t.then=="function"?xn(t):t,e=e.useState()[0],(xe!==null?xe.memoizedState:null)!==e&&(ne.flags|=1024),t}function Qc(){var e=Hu!==0;return Hu=0,e}function Vc(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function Zc(e){if(wu){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}wu=!1}el=0,Ge=xe=ne=null,za=!1,En=Hu=0,Da=null}function at(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ge===null?ne.memoizedState=Ge=e:Ge=Ge.next=e,Ge}function Le(){if(xe===null){var e=ne.alternate;e=e!==null?e.memoizedState:null}else e=xe.next;var t=Ge===null?ne.memoizedState:Ge.next;if(t!==null)Ge=t,xe=e;else{if(e===null)throw ne.alternate===null?Error(r(467)):Error(r(310));xe=e,e={memoizedState:xe.memoizedState,baseState:xe.baseState,baseQueue:xe.baseQueue,queue:xe.queue,next:null},Ge===null?ne.memoizedState=Ge=e:Ge=Ge.next=e}return Ge}function Bu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function xn(e){var t=En;return En+=1,Da===null&&(Da=[]),e=If(Da,e,t),t=ne,(Ge===null?t.memoizedState:Ge.next)===null&&(t=t.alternate,M.H=t===null||t.memoizedState===null?Vo:ar),e}function Lu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return xn(e);if(e.$$typeof===Z)return ke(e)}throw Error(r(438,String(e)))}function Kc(e){var t=null,l=ne.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=ne.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Bu(),ne.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),a=0;a<e;a++)l[a]=ht;return t.index++,l}function tl(e,t){return typeof t=="function"?t(e):t}function qu(e){var t=Le();return Jc(t,xe,e)}function Jc(e,t,l){var a=e.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=l;var n=e.baseQueue,i=a.pending;if(i!==null){if(n!==null){var f=n.next;n.next=i.next,i.next=f}t.baseQueue=n=i,a.pending=null}if(i=e.baseState,n===null)e.memoizedState=i;else{t=n.next;var m=f=null,v=null,N=t,w=!1;do{var q=N.lane&-536870913;if(q!==N.lane?(fe&q)===q:(el&q)===q){var _=N.revertLane;if(_===0)v!==null&&(v=v.next={lane:0,revertLane:0,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),q===Aa&&(w=!0);else if((el&_)===_){N=N.next,_===Aa&&(w=!0);continue}else q={lane:0,revertLane:N.revertLane,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},v===null?(m=v=q,f=i):v=v.next=q,ne.lanes|=_,_l|=_;q=N.action,ea&&l(i,q),i=N.hasEagerState?N.eagerState:l(i,q)}else _={lane:q,revertLane:N.revertLane,gesture:N.gesture,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},v===null?(m=v=_,f=i):v=v.next=_,ne.lanes|=q,_l|=q;N=N.next}while(N!==null&&N!==t);if(v===null?f=i:v.next=m,!gt(i,e.memoizedState)&&(Xe=!0,w&&(l=Oa,l!==null)))throw l;e.memoizedState=i,e.baseState=f,e.baseQueue=v,a.lastRenderedState=i}return n===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function $c(e){var t=Le(),l=t.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=e;var a=l.dispatch,n=l.pending,i=t.memoizedState;if(n!==null){l.pending=null;var f=n=n.next;do i=e(i,f.action),f=f.next;while(f!==n);gt(i,t.memoizedState)||(Xe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),l.lastRenderedState=i}return[i,a]}function so(e,t,l){var a=ne,n=Le(),i=de;if(i){if(l===void 0)throw Error(r(407));l=l()}else l=t();var f=!gt((xe||n).memoizedState,l);if(f&&(n.memoizedState=l,Xe=!0),n=n.queue,Wc(ho.bind(null,a,n,e),[e]),n.getSnapshot!==t||f||Ge!==null&&Ge.memoizedState.tag&1){if(a.flags|=2048,Ua(9,{destroy:void 0},oo.bind(null,a,n,l,t),null),Ae===null)throw Error(r(349));i||(el&127)!==0||fo(a,t,l)}return l}function fo(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ne.updateQueue,t===null?(t=Bu(),ne.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function oo(e,t,l,a){t.value=l,t.getSnapshot=a,mo(t)&&yo(e)}function ho(e,t,l){return l(function(){mo(t)&&yo(e)})}function mo(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!gt(e,l)}catch{return!0}}function yo(e){var t=Zl(e,2);t!==null&&ft(t,e,2)}function kc(e){var t=at();if(typeof e=="function"){var l=e;if(e=l(),ea){ml(!0);try{l()}finally{ml(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:tl,lastRenderedState:e},t}function po(e,t,l,a){return e.baseState=l,Jc(e,xe,typeof a=="function"?a:tl)}function Ay(e,t,l,a,n){if(Xu(e))throw Error(r(485));if(e=t.action,e!==null){var i={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){i.listeners.push(f)}};M.T!==null?l(!0):i.isTransition=!1,a(i),l=t.pending,l===null?(i.next=t.pending=i,go(t,i)):(i.next=l.next,t.pending=l.next=i)}}function go(e,t){var l=t.action,a=t.payload,n=e.state;if(t.isTransition){var i=M.T,f={};M.T=f;try{var m=l(n,a),v=M.S;v!==null&&v(f,m),vo(e,t,m)}catch(N){Fc(e,t,N)}finally{i!==null&&f.types!==null&&(i.types=f.types),M.T=i}}else try{i=l(n,a),vo(e,t,i)}catch(N){Fc(e,t,N)}}function vo(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){bo(e,t,a)},function(a){return Fc(e,t,a)}):bo(e,t,l)}function bo(e,t,l){t.status="fulfilled",t.value=l,So(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,go(e,l)))}function Fc(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,So(t),t=t.next;while(t!==a)}e.action=null}function So(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Eo(e,t){return t}function xo(e,t){if(de){var l=Ae.formState;if(l!==null){e:{var a=ne;if(de){if(Ne){t:{for(var n=Ne,i=zt;n.nodeType!==8;){if(!i){n=null;break t}if(n=Ut(n.nextSibling),n===null){n=null;break t}}i=n.data,n=i==="F!"||i==="F"?n:null}if(n){Ne=Ut(n.nextSibling),a=n.data==="F!";break e}}bl(a)}a=!1}a&&(t=l[0])}}return l=at(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Eo,lastRenderedState:t},l.queue=a,l=Go.bind(null,ne,a),a.dispatch=l,a=kc(!1),i=lr.bind(null,ne,!1,a.queue),a=at(),n={state:t,dispatch:null,action:e,pending:null},a.queue=n,l=Ay.bind(null,ne,n,i,l),n.dispatch=l,a.memoizedState=e,[t,l,!1]}function Ro(e){var t=Le();return To(t,xe,e)}function To(e,t,l){if(t=Jc(e,t,Eo)[0],e=qu(tl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=xn(t)}catch(f){throw f===Na?Cu:f}else a=t;t=Le();var n=t.queue,i=n.dispatch;return l!==t.memoizedState&&(ne.flags|=2048,Ua(9,{destroy:void 0},Oy.bind(null,n,l),null)),[a,i,e]}function Oy(e,t){e.action=t}function Ao(e){var t=Le(),l=xe;if(l!==null)return To(t,l,e);Le(),t=t.memoizedState,l=Le();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function Ua(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=ne.updateQueue,t===null&&(t=Bu(),ne.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(a=l.next,l.next=e,e.next=a,t.lastEffect=e),e}function Oo(){return Le().memoizedState}function Yu(e,t,l,a){var n=at();ne.flags|=e,n.memoizedState=Ua(1|t,{destroy:void 0},l,a===void 0?null:a)}function Gu(e,t,l,a){var n=Le();a=a===void 0?null:a;var i=n.memoizedState.inst;xe!==null&&a!==null&&Gc(a,xe.memoizedState.deps)?n.memoizedState=Ua(t,i,l,a):(ne.flags|=e,n.memoizedState=Ua(1|t,i,l,a))}function No(e,t){Yu(8390656,8,e,t)}function Wc(e,t){Gu(2048,8,e,t)}function Ny(e){ne.flags|=4;var t=ne.updateQueue;if(t===null)t=Bu(),ne.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function _o(e){var t=Le().memoizedState;return Ny({ref:t,nextImpl:e}),function(){if((ge&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function Co(e,t){return Gu(4,2,e,t)}function zo(e,t){return Gu(4,4,e,t)}function Do(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 Uo(e,t,l){l=l!=null?l.concat([e]):null,Gu(4,4,Do.bind(null,t,e),l)}function Ic(){}function Mo(e,t){var l=Le();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&Gc(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function jo(e,t){var l=Le();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&Gc(t,a[1]))return a[0];if(a=e(),ea){ml(!0);try{e()}finally{ml(!1)}}return l.memoizedState=[a,t],a}function Pc(e,t,l){return l===void 0||(el&1073741824)!==0&&(fe&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=wd(),ne.lanes|=e,_l|=e,l)}function wo(e,t,l,a){return gt(l,t)?l:Ca.current!==null?(e=Pc(e,l,a),gt(e,t)||(Xe=!0),e):(el&42)===0||(el&1073741824)!==0&&(fe&261930)===0?(Xe=!0,e.memoizedState=l):(e=wd(),ne.lanes|=e,_l|=e,t)}function Ho(e,t,l,a,n){var i=X.p;X.p=i!==0&&8>i?i:8;var f=M.T,m={};M.T=m,lr(e,!1,t,l);try{var v=n(),N=M.S;if(N!==null&&N(m,v),v!==null&&typeof v=="object"&&typeof v.then=="function"){var w=xy(v,a);Rn(e,t,w,Rt(e))}else Rn(e,t,a,Rt(e))}catch(q){Rn(e,t,{then:function(){},status:"rejected",reason:q},Rt())}finally{X.p=i,f!==null&&m.types!==null&&(f.types=m.types),M.T=f}}function _y(){}function er(e,t,l,a){if(e.tag!==5)throw Error(r(476));var n=Bo(e).queue;Ho(e,n,t,W,l===null?_y:function(){return Lo(e),l(a)})}function Bo(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tl,lastRenderedState:W},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Lo(e){var t=Bo(e);t.next===null&&(t=e.alternate.memoizedState),Rn(e,t.next.queue,{},Rt())}function tr(){return ke(Yn)}function qo(){return Le().memoizedState}function Yo(){return Le().memoizedState}function Cy(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Rt();e=xl(l);var a=Rl(t,e,l);a!==null&&(ft(a,t,l),vn(a,t,l)),t={cache:zc()},e.payload=t;return}t=t.return}}function zy(e,t,l){var a=Rt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Xu(e)?Xo(t,l):(l=bc(e,t,l,a),l!==null&&(ft(l,e,a),Qo(l,t,a)))}function Go(e,t,l){var a=Rt();Rn(e,t,l,a)}function Rn(e,t,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Xu(e))Xo(t,n);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var f=t.lastRenderedState,m=i(f,l);if(n.hasEagerState=!0,n.eagerState=m,gt(m,f))return xu(e,t,n,0),Ae===null&&Eu(),!1}catch{}if(l=bc(e,t,n,a),l!==null)return ft(l,e,a),Qo(l,t,a),!0}return!1}function lr(e,t,l,a){if(a={lane:2,revertLane:jr(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Xu(e)){if(t)throw Error(r(479))}else t=bc(e,l,a,2),t!==null&&ft(t,e,2)}function Xu(e){var t=e.alternate;return e===ne||t!==null&&t===ne}function Xo(e,t){za=wu=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Qo(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,Ks(e,l)}}var Tn={readContext:ke,use:Lu,useCallback:Ue,useContext:Ue,useEffect:Ue,useImperativeHandle:Ue,useLayoutEffect:Ue,useInsertionEffect:Ue,useMemo:Ue,useReducer:Ue,useRef:Ue,useState:Ue,useDebugValue:Ue,useDeferredValue:Ue,useTransition:Ue,useSyncExternalStore:Ue,useId:Ue,useHostTransitionStatus:Ue,useFormState:Ue,useActionState:Ue,useOptimistic:Ue,useMemoCache:Ue,useCacheRefresh:Ue};Tn.useEffectEvent=Ue;var Vo={readContext:ke,use:Lu,useCallback:function(e,t){return at().memoizedState=[e,t===void 0?null:t],e},useContext:ke,useEffect:No,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Yu(4194308,4,Do.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Yu(4194308,4,e,t)},useInsertionEffect:function(e,t){Yu(4,2,e,t)},useMemo:function(e,t){var l=at();t=t===void 0?null:t;var a=e();if(ea){ml(!0);try{e()}finally{ml(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=at();if(l!==void 0){var n=l(t);if(ea){ml(!0);try{l(t)}finally{ml(!1)}}}else n=t;return a.memoizedState=a.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=zy.bind(null,ne,e),[a.memoizedState,e]},useRef:function(e){var t=at();return e={current:e},t.memoizedState=e},useState:function(e){e=kc(e);var t=e.queue,l=Go.bind(null,ne,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Ic,useDeferredValue:function(e,t){var l=at();return Pc(l,e,t)},useTransition:function(){var e=kc(!1);return e=Ho.bind(null,ne,e.queue,!0,!1),at().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=ne,n=at();if(de){if(l===void 0)throw Error(r(407));l=l()}else{if(l=t(),Ae===null)throw Error(r(349));(fe&127)!==0||fo(a,t,l)}n.memoizedState=l;var i={value:l,getSnapshot:t};return n.queue=i,No(ho.bind(null,a,i,e),[e]),a.flags|=2048,Ua(9,{destroy:void 0},oo.bind(null,a,i,l,t),null),l},useId:function(){var e=at(),t=Ae.identifierPrefix;if(de){var l=Xt,a=Gt;l=(a&~(1<<32-pt(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Hu++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=Ry++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:tr,useFormState:xo,useActionState:xo,useOptimistic:function(e){var t=at();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=lr.bind(null,ne,!0,l),l.dispatch=t,[e,t]},useMemoCache:Kc,useCacheRefresh:function(){return at().memoizedState=Cy.bind(null,ne)},useEffectEvent:function(e){var t=at(),l={impl:e};return t.memoizedState=l,function(){if((ge&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}},ar={readContext:ke,use:Lu,useCallback:Mo,useContext:ke,useEffect:Wc,useImperativeHandle:Uo,useInsertionEffect:Co,useLayoutEffect:zo,useMemo:jo,useReducer:qu,useRef:Oo,useState:function(){return qu(tl)},useDebugValue:Ic,useDeferredValue:function(e,t){var l=Le();return wo(l,xe.memoizedState,e,t)},useTransition:function(){var e=qu(tl)[0],t=Le().memoizedState;return[typeof e=="boolean"?e:xn(e),t]},useSyncExternalStore:so,useId:qo,useHostTransitionStatus:tr,useFormState:Ro,useActionState:Ro,useOptimistic:function(e,t){var l=Le();return po(l,xe,e,t)},useMemoCache:Kc,useCacheRefresh:Yo};ar.useEffectEvent=_o;var Zo={readContext:ke,use:Lu,useCallback:Mo,useContext:ke,useEffect:Wc,useImperativeHandle:Uo,useInsertionEffect:Co,useLayoutEffect:zo,useMemo:jo,useReducer:$c,useRef:Oo,useState:function(){return $c(tl)},useDebugValue:Ic,useDeferredValue:function(e,t){var l=Le();return xe===null?Pc(l,e,t):wo(l,xe.memoizedState,e,t)},useTransition:function(){var e=$c(tl)[0],t=Le().memoizedState;return[typeof e=="boolean"?e:xn(e),t]},useSyncExternalStore:so,useId:qo,useHostTransitionStatus:tr,useFormState:Ao,useActionState:Ao,useOptimistic:function(e,t){var l=Le();return xe!==null?po(l,xe,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:Kc,useCacheRefresh:Yo};Zo.useEffectEvent=_o;function nr(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:E({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var ur={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=Rt(),n=xl(a);n.payload=t,l!=null&&(n.callback=l),t=Rl(e,n,a),t!==null&&(ft(t,e,a),vn(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=Rt(),n=xl(a);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=Rl(e,n,a),t!==null&&(ft(t,e,a),vn(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Rt(),a=xl(l);a.tag=2,t!=null&&(a.callback=t),t=Rl(e,a,l),t!==null&&(ft(t,e,l),vn(t,e,l))}};function Ko(e,t,l,a,n,i,f){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,i,f):t.prototype&&t.prototype.isPureReactComponent?!fn(l,a)||!fn(n,i):!0}function Jo(e,t,l,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,a),t.state!==e&&ur.enqueueReplaceState(t,t.state,null)}function ta(e,t){var l=t;if("ref"in t){l={};for(var a in t)a!=="ref"&&(l[a]=t[a])}if(e=e.defaultProps){l===t&&(l=E({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}function $o(e){Su(e)}function ko(e){console.error(e)}function Fo(e){Su(e)}function Qu(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Wo(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function ir(e,t,l){return l=xl(l),l.tag=3,l.payload={element:null},l.callback=function(){Qu(e,t)},l}function Io(e){return e=xl(e),e.tag=3,e}function Po(e,t,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var i=a.value;e.payload=function(){return n(i)},e.callback=function(){Wo(t,l,a)}}var f=l.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(e.callback=function(){Wo(t,l,a),typeof n!="function"&&(Cl===null?Cl=new Set([this]):Cl.add(this));var m=a.stack;this.componentDidCatch(a.value,{componentStack:m!==null?m:""})})}function Dy(e,t,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&Ta(t,l,n,!0),l=bt.current,l!==null){switch(l.tag){case 31:case 13:return Dt===null?ti():l.alternate===null&&Me===0&&(Me=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===zu?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),Dr(e,a,n)),!1;case 22:return l.flags|=65536,a===zu?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([a]):l.add(a)),Dr(e,a,n)),!1}throw Error(r(435,l.tag))}return Dr(e,a,n),ti(),!1}if(de)return t=bt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==Ac&&(e=Error(r(422),{cause:a}),hn(Nt(e,l)))):(a!==Ac&&(t=Error(r(423),{cause:a}),hn(Nt(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,a=Nt(a,l),n=ir(e.stateNode,a,n),Hc(e,n),Me!==4&&(Me=2)),!1;var i=Error(r(520),{cause:a});if(i=Nt(i,l),Un===null?Un=[i]:Un.push(i),Me!==4&&(Me=2),t===null)return!0;a=Nt(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=ir(l.stateNode,a,e),Hc(l,e),!1;case 1:if(t=l.type,i=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Cl===null||!Cl.has(i))))return l.flags|=65536,n&=-n,l.lanes|=n,n=Io(n),Po(n,e,l,a),Hc(l,n),!1}l=l.return}while(l!==null);return!1}var cr=Error(r(461)),Xe=!1;function Fe(e,t,l,a){t.child=e===null?lo(t,null,l,a):Pl(t,e.child,l,a)}function ed(e,t,l,a,n){l=l.render;var i=t.ref;if("ref"in a){var f={};for(var m in a)m!=="ref"&&(f[m]=a[m])}else f=a;return kl(t),a=Xc(e,t,l,f,i,n),m=Qc(),e!==null&&!Xe?(Vc(e,t,n),ll(e,t,n)):(de&&m&&Rc(t),t.flags|=1,Fe(e,t,a,n),t.child)}function td(e,t,l,a,n){if(e===null){var i=l.type;return typeof i=="function"&&!Sc(i)&&i.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=i,ld(e,t,i,a,n)):(e=Tu(l.type,null,a,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!yr(e,n)){var f=i.memoizedProps;if(l=l.compare,l=l!==null?l:fn,l(f,a)&&e.ref===t.ref)return ll(e,t,n)}return t.flags|=1,e=Ft(i,a),e.ref=t.ref,e.return=t,t.child=e}function ld(e,t,l,a,n){if(e!==null){var i=e.memoizedProps;if(fn(i,a)&&e.ref===t.ref)if(Xe=!1,t.pendingProps=a=i,yr(e,n))(e.flags&131072)!==0&&(Xe=!0);else return t.lanes=e.lanes,ll(e,t,n)}return rr(e,t,l,a,n)}function ad(e,t,l,a){var n=a.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|l:l,e!==null){for(a=t.child=e.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~i}else a=0,t.child=null;return nd(e,t,i,l,a)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&_u(t,i!==null?i.cachePool:null),i!==null?uo(t,i):Lc(),io(t);else return a=t.lanes=536870912,nd(e,t,i!==null?i.baseLanes|l:l,l,a)}else i!==null?(_u(t,i.cachePool),uo(t,i),Al(),t.memoizedState=null):(e!==null&&_u(t,null),Lc(),Al());return Fe(e,t,n,l),t.child}function An(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function nd(e,t,l,a,n){var i=Uc();return i=i===null?null:{parent:Ye._currentValue,pool:i},t.memoizedState={baseLanes:l,cachePool:i},e!==null&&_u(t,null),Lc(),io(t),e!==null&&Ta(e,t,a,!0),t.childLanes=n,null}function Vu(e,t){return t=Ku({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function ud(e,t,l){return Pl(t,e.child,null,l),e=Vu(t,t.pendingProps),e.flags|=2,St(t),t.memoizedState=null,e}function Uy(e,t,l){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(de){if(a.mode==="hidden")return e=Vu(t,a),t.lanes=536870912,An(null,e);if(Yc(t),(e=Ne)?(e=gh(e,zt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:gl!==null?{id:Gt,overflow:Xt}:null,retryLane:536870912,hydrationErrors:null},l=Gf(e),l.return=t,t.child=l,$e=t,Ne=null)):e=null,e===null)throw bl(t);return t.lanes=536870912,null}return Vu(t,a)}var i=e.memoizedState;if(i!==null){var f=i.dehydrated;if(Yc(t),n)if(t.flags&256)t.flags&=-257,t=ud(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(Xe||Ta(e,t,l,!1),n=(l&e.childLanes)!==0,Xe||n){if(a=Ae,a!==null&&(f=Js(a,l),f!==0&&f!==i.retryLane))throw i.retryLane=f,Zl(e,f),ft(a,e,f),cr;ti(),t=ud(e,t,l)}else e=i.treeContext,Ne=Ut(f.nextSibling),$e=t,de=!0,vl=null,zt=!1,e!==null&&Vf(t,e),t=Vu(t,a),t.flags|=4096;return t}return e=Ft(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Zu(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(r(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function rr(e,t,l,a,n){return kl(t),l=Xc(e,t,l,a,void 0,n),a=Qc(),e!==null&&!Xe?(Vc(e,t,n),ll(e,t,n)):(de&&a&&Rc(t),t.flags|=1,Fe(e,t,l,n),t.child)}function id(e,t,l,a,n,i){return kl(t),t.updateQueue=null,l=ro(t,a,l,n),co(e),a=Qc(),e!==null&&!Xe?(Vc(e,t,i),ll(e,t,i)):(de&&a&&Rc(t),t.flags|=1,Fe(e,t,l,i),t.child)}function cd(e,t,l,a,n){if(kl(t),t.stateNode===null){var i=Sa,f=l.contextType;typeof f=="object"&&f!==null&&(i=ke(f)),i=new l(a,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=ur,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=a,i.state=t.memoizedState,i.refs={},jc(t),f=l.contextType,i.context=typeof f=="object"&&f!==null?ke(f):Sa,i.state=t.memoizedState,f=l.getDerivedStateFromProps,typeof f=="function"&&(nr(t,l,f,a),i.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(f=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),f!==i.state&&ur.enqueueReplaceState(i,i.state,null),Sn(t,a,i,n),bn(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){i=t.stateNode;var m=t.memoizedProps,v=ta(l,m);i.props=v;var N=i.context,w=l.contextType;f=Sa,typeof w=="object"&&w!==null&&(f=ke(w));var q=l.getDerivedStateFromProps;w=typeof q=="function"||typeof i.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,w||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(m||N!==f)&&Jo(t,i,a,f),El=!1;var _=t.memoizedState;i.state=_,Sn(t,a,i,n),bn(),N=t.memoizedState,m||_!==N||El?(typeof q=="function"&&(nr(t,l,q,a),N=t.memoizedState),(v=El||Ko(t,l,v,a,_,N,f))?(w||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=N),i.props=a,i.state=N,i.context=f,a=v):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{i=t.stateNode,wc(e,t),f=t.memoizedProps,w=ta(l,f),i.props=w,q=t.pendingProps,_=i.context,N=l.contextType,v=Sa,typeof N=="object"&&N!==null&&(v=ke(N)),m=l.getDerivedStateFromProps,(N=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(f!==q||_!==v)&&Jo(t,i,a,v),El=!1,_=t.memoizedState,i.state=_,Sn(t,a,i,n),bn();var U=t.memoizedState;f!==q||_!==U||El||e!==null&&e.dependencies!==null&&Ou(e.dependencies)?(typeof m=="function"&&(nr(t,l,m,a),U=t.memoizedState),(w=El||Ko(t,l,w,a,_,U,v)||e!==null&&e.dependencies!==null&&Ou(e.dependencies))?(N||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,U,v),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,U,v)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||f===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=U),i.props=a,i.state=U,i.context=v,a=w):(typeof i.componentDidUpdate!="function"||f===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),a=!1)}return i=a,Zu(e,t),a=(t.flags&128)!==0,i||a?(i=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&a?(t.child=Pl(t,e.child,null,n),t.child=Pl(t,null,l,n)):Fe(e,t,l,n),t.memoizedState=i.state,e=t.child):e=ll(e,t,n),e}function rd(e,t,l,a){return Jl(),t.flags|=256,Fe(e,t,l,a),t.child}var sr={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function fr(e){return{baseLanes:e,cachePool:Ff()}}function or(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=xt),e}function sd(e,t,l){var a=t.pendingProps,n=!1,i=(t.flags&128)!==0,f;if((f=i)||(f=e!==null&&e.memoizedState===null?!1:(Be.current&2)!==0),f&&(n=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,e===null){if(de){if(n?Tl(t):Al(),(e=Ne)?(e=gh(e,zt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:gl!==null?{id:Gt,overflow:Xt}:null,retryLane:536870912,hydrationErrors:null},l=Gf(e),l.return=t,t.child=l,$e=t,Ne=null)):e=null,e===null)throw bl(t);return Jr(e)?t.lanes=32:t.lanes=536870912,null}var m=a.children;return a=a.fallback,n?(Al(),n=t.mode,m=Ku({mode:"hidden",children:m},n),a=Kl(a,n,l,null),m.return=t,a.return=t,m.sibling=a,t.child=m,a=t.child,a.memoizedState=fr(l),a.childLanes=or(e,f,l),t.memoizedState=sr,An(null,a)):(Tl(t),dr(t,m))}var v=e.memoizedState;if(v!==null&&(m=v.dehydrated,m!==null)){if(i)t.flags&256?(Tl(t),t.flags&=-257,t=hr(e,t,l)):t.memoizedState!==null?(Al(),t.child=e.child,t.flags|=128,t=null):(Al(),m=a.fallback,n=t.mode,a=Ku({mode:"visible",children:a.children},n),m=Kl(m,n,l,null),m.flags|=2,a.return=t,m.return=t,a.sibling=m,t.child=a,Pl(t,e.child,null,l),a=t.child,a.memoizedState=fr(l),a.childLanes=or(e,f,l),t.memoizedState=sr,t=An(null,a));else if(Tl(t),Jr(m)){if(f=m.nextSibling&&m.nextSibling.dataset,f)var N=f.dgst;f=N,a=Error(r(419)),a.stack="",a.digest=f,hn({value:a,source:null,stack:null}),t=hr(e,t,l)}else if(Xe||Ta(e,t,l,!1),f=(l&e.childLanes)!==0,Xe||f){if(f=Ae,f!==null&&(a=Js(f,l),a!==0&&a!==v.retryLane))throw v.retryLane=a,Zl(e,a),ft(f,e,a),cr;Kr(m)||ti(),t=hr(e,t,l)}else Kr(m)?(t.flags|=192,t.child=e.child,t=null):(e=v.treeContext,Ne=Ut(m.nextSibling),$e=t,de=!0,vl=null,zt=!1,e!==null&&Vf(t,e),t=dr(t,a.children),t.flags|=4096);return t}return n?(Al(),m=a.fallback,n=t.mode,v=e.child,N=v.sibling,a=Ft(v,{mode:"hidden",children:a.children}),a.subtreeFlags=v.subtreeFlags&65011712,N!==null?m=Ft(N,m):(m=Kl(m,n,l,null),m.flags|=2),m.return=t,a.return=t,a.sibling=m,t.child=a,An(null,a),a=t.child,m=e.child.memoizedState,m===null?m=fr(l):(n=m.cachePool,n!==null?(v=Ye._currentValue,n=n.parent!==v?{parent:v,pool:v}:n):n=Ff(),m={baseLanes:m.baseLanes|l,cachePool:n}),a.memoizedState=m,a.childLanes=or(e,f,l),t.memoizedState=sr,An(e.child,a)):(Tl(t),l=e.child,e=l.sibling,l=Ft(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(f=t.deletions,f===null?(t.deletions=[e],t.flags|=16):f.push(e)),t.child=l,t.memoizedState=null,l)}function dr(e,t){return t=Ku({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ku(e,t){return e=vt(22,e,null,t),e.lanes=0,e}function hr(e,t,l){return Pl(t,e.child,null,l),e=dr(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function fd(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),_c(e.return,t,l)}function mr(e,t,l,a,n,i){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n,treeForkCount:i}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=l,f.tailMode=n,f.treeForkCount=i)}function od(e,t,l){var a=t.pendingProps,n=a.revealOrder,i=a.tail;a=a.children;var f=Be.current,m=(f&2)!==0;if(m?(f=f&1|2,t.flags|=128):f&=1,Q(Be,f),Fe(e,t,a,l),a=de?dn:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&fd(e,l,t);else if(e.tag===19)fd(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(l=t.child,n=null;l!==null;)e=l.alternate,e!==null&&ju(e)===null&&(n=l),l=l.sibling;l=n,l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),mr(t,!1,n,l,i,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&ju(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}mr(t,!0,l,null,i,a);break;case"together":mr(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function ll(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),_l|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Ta(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,l=Ft(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=Ft(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function yr(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ou(e)))}function My(e,t,l){switch(t.tag){case 3:lt(t,t.stateNode.containerInfo),Sl(t,Ye,e.memoizedState.cache),Jl();break;case 27:case 5:Fa(t);break;case 4:lt(t,t.stateNode.containerInfo);break;case 10:Sl(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Yc(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Tl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?sd(e,t,l):(Tl(t),e=ll(e,t,l),e!==null?e.sibling:null);Tl(t);break;case 19:var n=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(Ta(e,t,l,!1),a=(l&t.childLanes)!==0),n){if(a)return od(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Q(Be,Be.current),a)break;return null;case 22:return t.lanes=0,ad(e,t,l,t.pendingProps);case 24:Sl(t,Ye,e.memoizedState.cache)}return ll(e,t,l)}function dd(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Xe=!0;else{if(!yr(e,l)&&(t.flags&128)===0)return Xe=!1,My(e,t,l);Xe=(e.flags&131072)!==0}else Xe=!1,de&&(t.flags&1048576)!==0&&Qf(t,dn,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Wl(t.elementType),t.type=e,typeof e=="function")Sc(e)?(a=ta(e,a),t.tag=1,t=cd(null,t,e,a,l)):(t.tag=0,t=rr(null,t,e,a,l));else{if(e!=null){var n=e.$$typeof;if(n===Y){t.tag=11,t=ed(null,t,e,a,l);break e}else if(n===F){t.tag=14,t=td(null,t,e,a,l);break e}}throw t=qe(e)||e,Error(r(306,t,""))}}return t;case 0:return rr(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,n=ta(a,t.pendingProps),cd(e,t,a,n,l);case 3:e:{if(lt(t,t.stateNode.containerInfo),e===null)throw Error(r(387));a=t.pendingProps;var i=t.memoizedState;n=i.element,wc(e,t),Sn(t,a,null,l);var f=t.memoizedState;if(a=f.cache,Sl(t,Ye,a),a!==i.cache&&Cc(t,[Ye],l,!0),bn(),a=f.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=rd(e,t,a,l);break e}else if(a!==n){n=Nt(Error(r(424)),t),hn(n),t=rd(e,t,a,l);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Ne=Ut(e.firstChild),$e=t,de=!0,vl=null,zt=!0,l=lo(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Jl(),a===n){t=ll(e,t,l);break e}Fe(e,t,a,l)}t=t.child}return t;case 26:return Zu(e,t),e===null?(l=Rh(t.type,null,t.pendingProps,null))?t.memoizedState=l:de||(l=t.type,e=t.pendingProps,a=ri(ce.current).createElement(l),a[Je]=t,a[nt]=e,We(a,l,e),Ze(a),t.stateNode=a):t.memoizedState=Rh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Fa(t),e===null&&de&&(a=t.stateNode=Sh(t.type,t.pendingProps,ce.current),$e=t,zt=!0,n=Ne,Ml(t.type)?($r=n,Ne=Ut(a.firstChild)):Ne=n),Fe(e,t,t.pendingProps.children,l),Zu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&de&&((n=a=Ne)&&(a=sp(a,t.type,t.pendingProps,zt),a!==null?(t.stateNode=a,$e=t,Ne=Ut(a.firstChild),zt=!1,n=!0):n=!1),n||bl(t)),Fa(t),n=t.type,i=t.pendingProps,f=e!==null?e.memoizedProps:null,a=i.children,Qr(n,i)?a=null:f!==null&&Qr(n,f)&&(t.flags|=32),t.memoizedState!==null&&(n=Xc(e,t,Ty,null,null,l),Yn._currentValue=n),Zu(e,t),Fe(e,t,a,l),t.child;case 6:return e===null&&de&&((e=l=Ne)&&(l=fp(l,t.pendingProps,zt),l!==null?(t.stateNode=l,$e=t,Ne=null,e=!0):e=!1),e||bl(t)),null;case 13:return sd(e,t,l);case 4:return lt(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Pl(t,null,a,l):Fe(e,t,a,l),t.child;case 11:return ed(e,t,t.type,t.pendingProps,l);case 7:return Fe(e,t,t.pendingProps,l),t.child;case 8:return Fe(e,t,t.pendingProps.children,l),t.child;case 12:return Fe(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,Sl(t,t.type,a.value),Fe(e,t,a.children,l),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,kl(t),n=ke(n),a=a(n),t.flags|=1,Fe(e,t,a,l),t.child;case 14:return td(e,t,t.type,t.pendingProps,l);case 15:return ld(e,t,t.type,t.pendingProps,l);case 19:return od(e,t,l);case 31:return Uy(e,t,l);case 22:return ad(e,t,l,t.pendingProps);case 24:return kl(t),a=ke(Ye),e===null?(n=Uc(),n===null&&(n=Ae,i=zc(),n.pooledCache=i,i.refCount++,i!==null&&(n.pooledCacheLanes|=l),n=i),t.memoizedState={parent:a,cache:n},jc(t),Sl(t,Ye,n)):((e.lanes&l)!==0&&(wc(e,t),Sn(t,null,null,l),bn()),n=e.memoizedState,i=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),Sl(t,Ye,a)):(a=i.cache,Sl(t,Ye,a),a!==n.cache&&Cc(t,[Ye],l,!0))),Fe(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function al(e){e.flags|=4}function pr(e,t,l,a,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(qd())e.flags|=8192;else throw Il=zu,Mc}else e.flags&=-16777217}function hd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!_h(t))if(qd())e.flags|=8192;else throw Il=zu,Mc}function Ju(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Vs():536870912,e.lanes|=t,Ha|=t)}function On(e,t){if(!de)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function _e(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,a=0;if(t)for(var n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function jy(e,t,l){var a=t.pendingProps;switch(Tc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _e(t),null;case 1:return _e(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Pt(Ye),He(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Ra(t)?al(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Oc())),_e(t),null;case 26:var n=t.type,i=t.memoizedState;return e===null?(al(t),i!==null?(_e(t),hd(t,i)):(_e(t),pr(t,n,null,a,l))):i?i!==e.memoizedState?(al(t),_e(t),hd(t,i)):(_e(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&al(t),_e(t),pr(t,n,e,a,l)),null;case 27:if(nu(t),l=ce.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&al(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return _e(t),null}e=K.current,Ra(t)?Zf(t):(e=Sh(n,a,l),t.stateNode=e,al(t))}return _e(t),null;case 5:if(nu(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&al(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return _e(t),null}if(i=K.current,Ra(t))Zf(t);else{var f=ri(ce.current);switch(i){case 1:i=f.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:i=f.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":i=f.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":i=f.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":i=f.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is=="string"?f.createElement("select",{is:a.is}):f.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is=="string"?f.createElement(n,{is:a.is}):f.createElement(n)}}i[Je]=t,i[nt]=a;e:for(f=t.child;f!==null;){if(f.tag===5||f.tag===6)i.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)break e;for(;f.sibling===null;){if(f.return===null||f.return===t)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}t.stateNode=i;e:switch(We(i,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&al(t)}}return _e(t),pr(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&al(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(r(166));if(e=ce.current,Ra(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,n=$e,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[Je]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||sh(e.nodeValue,l)),e||bl(t,!0)}else e=ri(e).createTextNode(a),e[Je]=t,t.stateNode=e}return _e(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=Ra(t),l!==null){if(e===null){if(!a)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[Je]=t}else Jl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;_e(t),e=!1}else l=Oc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(St(t),t):(St(t),null);if((t.flags&128)!==0)throw Error(r(558))}return _e(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Ra(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(r(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));n[Je]=t}else Jl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;_e(t),n=!1}else n=Oc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(St(t),t):(St(t),null)}return St(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==n&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Ju(t,t.updateQueue),_e(t),null);case 4:return He(),e===null&&Lr(t.stateNode.containerInfo),_e(t),null;case 10:return Pt(t.type),_e(t),null;case 19:if(L(Be),a=t.memoizedState,a===null)return _e(t),null;if(n=(t.flags&128)!==0,i=a.rendering,i===null)if(n)On(a,!1);else{if(Me!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=ju(e),i!==null){for(t.flags|=128,On(a,!1),e=i.updateQueue,t.updateQueue=e,Ju(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Yf(l,e),l=l.sibling;return Q(Be,Be.current&1|2),de&&Wt(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&mt()>Iu&&(t.flags|=128,n=!0,On(a,!1),t.lanes=4194304)}else{if(!n)if(e=ju(i),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Ju(t,e),On(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!de)return _e(t),null}else 2*mt()-a.renderingStartTime>Iu&&l!==536870912&&(t.flags|=128,n=!0,On(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=mt(),e.sibling=null,l=Be.current,Q(Be,n?l&1|2:l&1),de&&Wt(t,a.treeForkCount),e):(_e(t),null);case 22:case 23:return St(t),qc(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(_e(t),t.subtreeFlags&6&&(t.flags|=8192)):_e(t),l=t.updateQueue,l!==null&&Ju(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&L(Fl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Pt(Ye),_e(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function wy(e,t){switch(Tc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Pt(Ye),He(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return nu(t),null;case 31:if(t.memoizedState!==null){if(St(t),t.alternate===null)throw Error(r(340));Jl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(St(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Jl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return L(Be),null;case 4:return He(),null;case 10:return Pt(t.type),null;case 22:case 23:return St(t),qc(),e!==null&&L(Fl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Pt(Ye),null;case 25:return null;default:return null}}function md(e,t){switch(Tc(t),t.tag){case 3:Pt(Ye),He();break;case 26:case 27:case 5:nu(t);break;case 4:He();break;case 31:t.memoizedState!==null&&St(t);break;case 13:St(t);break;case 19:L(Be);break;case 10:Pt(t.type);break;case 22:case 23:St(t),qc(),e!==null&&L(Fl);break;case 24:Pt(Ye)}}function Nn(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&e)===e){a=void 0;var i=l.create,f=l.inst;a=i(),f.destroy=a}l=l.next}while(l!==n)}}catch(m){Ee(t,t.return,m)}}function Ol(e,t,l){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var i=n.next;a=i;do{if((a.tag&e)===e){var f=a.inst,m=f.destroy;if(m!==void 0){f.destroy=void 0,n=t;var v=l,N=m;try{N()}catch(w){Ee(n,v,w)}}}a=a.next}while(a!==i)}}catch(w){Ee(t,t.return,w)}}function yd(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{no(t,l)}catch(a){Ee(e,e.return,a)}}}function pd(e,t,l){l.props=ta(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Ee(e,t,a)}}function _n(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(n){Ee(e,t,n)}}function Qt(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){Ee(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){Ee(e,t,n)}else l.current=null}function gd(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){Ee(e,e.return,n)}}function gr(e,t,l){try{var a=e.stateNode;ap(a,e.type,l,t),a[nt]=t}catch(n){Ee(e,e.return,n)}}function vd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ml(e.type)||e.tag===4}function vr(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vd(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&&Ml(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 br(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=$t));else if(a!==4&&(a===27&&Ml(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(br(e,t,l),e=e.sibling;e!==null;)br(e,t,l),e=e.sibling}function $u(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&Ml(e.type)&&(l=e.stateNode),e=e.child,e!==null))for($u(e,t,l),e=e.sibling;e!==null;)$u(e,t,l),e=e.sibling}function bd(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);We(t,a,l),t[Je]=e,t[nt]=l}catch(i){Ee(e,e.return,i)}}var nl=!1,Qe=!1,Sr=!1,Sd=typeof WeakSet=="function"?WeakSet:Set,Ke=null;function Hy(e,t){if(e=e.containerInfo,Gr=yi,e=Df(e),hc(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{l.nodeType,i.nodeType}catch{l=null;break e}var f=0,m=-1,v=-1,N=0,w=0,q=e,_=null;t:for(;;){for(var U;q!==l||n!==0&&q.nodeType!==3||(m=f+n),q!==i||a!==0&&q.nodeType!==3||(v=f+a),q.nodeType===3&&(f+=q.nodeValue.length),(U=q.firstChild)!==null;)_=q,q=U;for(;;){if(q===e)break t;if(_===l&&++N===n&&(m=f),_===i&&++w===a&&(v=f),(U=q.nextSibling)!==null)break;q=_,_=q.parentNode}q=U}l=m===-1||v===-1?null:{start:m,end:v}}else l=null}l=l||{start:0,end:0}}else l=null;for(Xr={focusedElem:e,selectionRange:l},yi=!1,Ke=t;Ke!==null;)if(t=Ke,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ke=e;else for(;Ke!==null;){switch(t=Ke,i=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)n=e[l],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&i!==null){e=void 0,l=t,n=i.memoizedProps,i=i.memoizedState,a=l.stateNode;try{var J=ta(l.type,n);e=a.getSnapshotBeforeUpdate(J,i),a.__reactInternalSnapshotBeforeUpdate=e}catch(ee){Ee(l,l.return,ee)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)Zr(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Zr(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=t.sibling,e!==null){e.return=t.return,Ke=e;break}Ke=t.return}}function Ed(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:il(e,l),a&4&&Nn(5,l);break;case 1:if(il(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(f){Ee(l,l.return,f)}else{var n=ta(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(f){Ee(l,l.return,f)}}a&64&&yd(l),a&512&&_n(l,l.return);break;case 3:if(il(e,l),a&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{no(e,t)}catch(f){Ee(l,l.return,f)}}break;case 27:t===null&&a&4&&bd(l);case 26:case 5:il(e,l),t===null&&a&4&&gd(l),a&512&&_n(l,l.return);break;case 12:il(e,l);break;case 31:il(e,l),a&4&&Td(e,l);break;case 13:il(e,l),a&4&&Ad(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=Zy.bind(null,l),op(e,l))));break;case 22:if(a=l.memoizedState!==null||nl,!a){t=t!==null&&t.memoizedState!==null||Qe,n=nl;var i=Qe;nl=a,(Qe=t)&&!i?cl(e,l,(l.subtreeFlags&8772)!==0):il(e,l),nl=n,Qe=i}break;case 30:break;default:il(e,l)}}function xd(e){var t=e.alternate;t!==null&&(e.alternate=null,xd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Fi(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 Ce=null,it=!1;function ul(e,t,l){for(l=l.child;l!==null;)Rd(e,t,l),l=l.sibling}function Rd(e,t,l){if(yt&&typeof yt.onCommitFiberUnmount=="function")try{yt.onCommitFiberUnmount(Wa,l)}catch{}switch(l.tag){case 26:Qe||Qt(l,t),ul(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Qe||Qt(l,t);var a=Ce,n=it;Ml(l.type)&&(Ce=l.stateNode,it=!1),ul(e,t,l),Bn(l.stateNode),Ce=a,it=n;break;case 5:Qe||Qt(l,t);case 6:if(a=Ce,n=it,Ce=null,ul(e,t,l),Ce=a,it=n,Ce!==null)if(it)try{(Ce.nodeType===9?Ce.body:Ce.nodeName==="HTML"?Ce.ownerDocument.body:Ce).removeChild(l.stateNode)}catch(i){Ee(l,t,i)}else try{Ce.removeChild(l.stateNode)}catch(i){Ee(l,t,i)}break;case 18:Ce!==null&&(it?(e=Ce,yh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Va(e)):yh(Ce,l.stateNode));break;case 4:a=Ce,n=it,Ce=l.stateNode.containerInfo,it=!0,ul(e,t,l),Ce=a,it=n;break;case 0:case 11:case 14:case 15:Ol(2,l,t),Qe||Ol(4,l,t),ul(e,t,l);break;case 1:Qe||(Qt(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&pd(l,t,a)),ul(e,t,l);break;case 21:ul(e,t,l);break;case 22:Qe=(a=Qe)||l.memoizedState!==null,ul(e,t,l),Qe=a;break;default:ul(e,t,l)}}function Td(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Va(e)}catch(l){Ee(t,t.return,l)}}}function Ad(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Va(e)}catch(l){Ee(t,t.return,l)}}function By(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Sd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Sd),t;default:throw Error(r(435,e.tag))}}function ku(e,t){var l=By(e);t.forEach(function(a){if(!l.has(a)){l.add(a);var n=Ky.bind(null,e,a);a.then(n,n)}})}function ct(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],i=e,f=t,m=f;e:for(;m!==null;){switch(m.tag){case 27:if(Ml(m.type)){Ce=m.stateNode,it=!1;break e}break;case 5:Ce=m.stateNode,it=!1;break e;case 3:case 4:Ce=m.stateNode.containerInfo,it=!0;break e}m=m.return}if(Ce===null)throw Error(r(160));Rd(i,f,n),Ce=null,it=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Od(t,e),t=t.sibling}var Bt=null;function Od(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ct(t,e),rt(e),a&4&&(Ol(3,e,e.return),Nn(3,e),Ol(5,e,e.return));break;case 1:ct(t,e),rt(e),a&512&&(Qe||l===null||Qt(l,l.return)),a&64&&nl&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=Bt;if(ct(t,e),rt(e),a&512&&(Qe||l===null||Qt(l,l.return)),a&4){var i=l!==null?l.memoizedState:null;if(a=e.memoizedState,l===null)if(a===null)if(e.stateNode===null){e:{a=e.type,l=e.memoizedProps,n=n.ownerDocument||n;t:switch(a){case"title":i=n.getElementsByTagName("title")[0],(!i||i[en]||i[Je]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=n.createElement(a),n.head.insertBefore(i,n.querySelector("head > title"))),We(i,a,l),i[Je]=e,Ze(i),a=i;break e;case"link":var f=Oh("link","href",n).get(a+(l.href||""));if(f){for(var m=0;m<f.length;m++)if(i=f[m],i.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&i.getAttribute("rel")===(l.rel==null?null:l.rel)&&i.getAttribute("title")===(l.title==null?null:l.title)&&i.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){f.splice(m,1);break t}}i=n.createElement(a),We(i,a,l),n.head.appendChild(i);break;case"meta":if(f=Oh("meta","content",n).get(a+(l.content||""))){for(m=0;m<f.length;m++)if(i=f[m],i.getAttribute("content")===(l.content==null?null:""+l.content)&&i.getAttribute("name")===(l.name==null?null:l.name)&&i.getAttribute("property")===(l.property==null?null:l.property)&&i.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&i.getAttribute("charset")===(l.charSet==null?null:l.charSet)){f.splice(m,1);break t}}i=n.createElement(a),We(i,a,l),n.head.appendChild(i);break;default:throw Error(r(468,a))}i[Je]=e,Ze(i),a=i}e.stateNode=a}else Nh(n,e.type,e.stateNode);else e.stateNode=Ah(n,a,e.memoizedProps);else i!==a?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,a===null?Nh(n,e.type,e.stateNode):Ah(n,a,e.memoizedProps)):a===null&&e.stateNode!==null&&gr(e,e.memoizedProps,l.memoizedProps)}break;case 27:ct(t,e),rt(e),a&512&&(Qe||l===null||Qt(l,l.return)),l!==null&&a&4&&gr(e,e.memoizedProps,l.memoizedProps);break;case 5:if(ct(t,e),rt(e),a&512&&(Qe||l===null||Qt(l,l.return)),e.flags&32){n=e.stateNode;try{ha(n,"")}catch(J){Ee(e,e.return,J)}}a&4&&e.stateNode!=null&&(n=e.memoizedProps,gr(e,n,l!==null?l.memoizedProps:n)),a&1024&&(Sr=!0);break;case 6:if(ct(t,e),rt(e),a&4){if(e.stateNode===null)throw Error(r(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(J){Ee(e,e.return,J)}}break;case 3:if(oi=null,n=Bt,Bt=si(t.containerInfo),ct(t,e),Bt=n,rt(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Va(t.containerInfo)}catch(J){Ee(e,e.return,J)}Sr&&(Sr=!1,Nd(e));break;case 4:a=Bt,Bt=si(e.stateNode.containerInfo),ct(t,e),rt(e),Bt=a;break;case 12:ct(t,e),rt(e);break;case 31:ct(t,e),rt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ku(e,a)));break;case 13:ct(t,e),rt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Wu=mt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ku(e,a)));break;case 22:n=e.memoizedState!==null;var v=l!==null&&l.memoizedState!==null,N=nl,w=Qe;if(nl=N||n,Qe=w||v,ct(t,e),Qe=w,nl=N,rt(e),a&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(l===null||v||nl||Qe||la(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){v=l=t;try{if(i=v.stateNode,n)f=i.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{m=v.stateNode;var q=v.memoizedProps.style,_=q!=null&&q.hasOwnProperty("display")?q.display:null;m.style.display=_==null||typeof _=="boolean"?"":(""+_).trim()}}catch(J){Ee(v,v.return,J)}}}else if(t.tag===6){if(l===null){v=t;try{v.stateNode.nodeValue=n?"":v.memoizedProps}catch(J){Ee(v,v.return,J)}}}else if(t.tag===18){if(l===null){v=t;try{var U=v.stateNode;n?ph(U,!0):ph(v.stateNode,!1)}catch(J){Ee(v,v.return,J)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,ku(e,l))));break;case 19:ct(t,e),rt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ku(e,a)));break;case 30:break;case 21:break;default:ct(t,e),rt(e)}}function rt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(vd(a)){l=a;break}a=a.return}if(l==null)throw Error(r(160));switch(l.tag){case 27:var n=l.stateNode,i=vr(e);$u(e,i,n);break;case 5:var f=l.stateNode;l.flags&32&&(ha(f,""),l.flags&=-33);var m=vr(e);$u(e,m,f);break;case 3:case 4:var v=l.stateNode.containerInfo,N=vr(e);br(e,N,v);break;default:throw Error(r(161))}}catch(w){Ee(e,e.return,w)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Nd(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Nd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function il(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Ed(e,t.alternate,t),t=t.sibling}function la(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ol(4,t,t.return),la(t);break;case 1:Qt(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&pd(t,t.return,l),la(t);break;case 27:Bn(t.stateNode);case 26:case 5:Qt(t,t.return),la(t);break;case 22:t.memoizedState===null&&la(t);break;case 30:la(t);break;default:la(t)}e=e.sibling}}function cl(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=e,i=t,f=i.flags;switch(i.tag){case 0:case 11:case 15:cl(n,i,l),Nn(4,i);break;case 1:if(cl(n,i,l),a=i,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(N){Ee(a,a.return,N)}if(a=i,n=a.updateQueue,n!==null){var m=a.stateNode;try{var v=n.shared.hiddenCallbacks;if(v!==null)for(n.shared.hiddenCallbacks=null,n=0;n<v.length;n++)ao(v[n],m)}catch(N){Ee(a,a.return,N)}}l&&f&64&&yd(i),_n(i,i.return);break;case 27:bd(i);case 26:case 5:cl(n,i,l),l&&a===null&&f&4&&gd(i),_n(i,i.return);break;case 12:cl(n,i,l);break;case 31:cl(n,i,l),l&&f&4&&Td(n,i);break;case 13:cl(n,i,l),l&&f&4&&Ad(n,i);break;case 22:i.memoizedState===null&&cl(n,i,l),_n(i,i.return);break;case 30:break;default:cl(n,i,l)}t=t.sibling}}function Er(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&&mn(l))}function xr(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&mn(e))}function Lt(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)_d(e,t,l,a),t=t.sibling}function _d(e,t,l,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Lt(e,t,l,a),n&2048&&Nn(9,t);break;case 1:Lt(e,t,l,a);break;case 3:Lt(e,t,l,a),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&mn(e)));break;case 12:if(n&2048){Lt(e,t,l,a),e=t.stateNode;try{var i=t.memoizedProps,f=i.id,m=i.onPostCommit;typeof m=="function"&&m(f,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(v){Ee(t,t.return,v)}}else Lt(e,t,l,a);break;case 31:Lt(e,t,l,a);break;case 13:Lt(e,t,l,a);break;case 23:break;case 22:i=t.stateNode,f=t.alternate,t.memoizedState!==null?i._visibility&2?Lt(e,t,l,a):Cn(e,t):i._visibility&2?Lt(e,t,l,a):(i._visibility|=2,Ma(e,t,l,a,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Er(f,t);break;case 24:Lt(e,t,l,a),n&2048&&xr(t.alternate,t);break;default:Lt(e,t,l,a)}}function Ma(e,t,l,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,f=t,m=l,v=a,N=f.flags;switch(f.tag){case 0:case 11:case 15:Ma(i,f,m,v,n),Nn(8,f);break;case 23:break;case 22:var w=f.stateNode;f.memoizedState!==null?w._visibility&2?Ma(i,f,m,v,n):Cn(i,f):(w._visibility|=2,Ma(i,f,m,v,n)),n&&N&2048&&Er(f.alternate,f);break;case 24:Ma(i,f,m,v,n),n&&N&2048&&xr(f.alternate,f);break;default:Ma(i,f,m,v,n)}t=t.sibling}}function Cn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,n=a.flags;switch(a.tag){case 22:Cn(l,a),n&2048&&Er(a.alternate,a);break;case 24:Cn(l,a),n&2048&&xr(a.alternate,a);break;default:Cn(l,a)}t=t.sibling}}var zn=8192;function ja(e,t,l){if(e.subtreeFlags&zn)for(e=e.child;e!==null;)Cd(e,t,l),e=e.sibling}function Cd(e,t,l){switch(e.tag){case 26:ja(e,t,l),e.flags&zn&&e.memoizedState!==null&&Rp(l,Bt,e.memoizedState,e.memoizedProps);break;case 5:ja(e,t,l);break;case 3:case 4:var a=Bt;Bt=si(e.stateNode.containerInfo),ja(e,t,l),Bt=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=zn,zn=16777216,ja(e,t,l),zn=a):ja(e,t,l));break;default:ja(e,t,l)}}function zd(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 Dn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];Ke=a,Ud(a,e)}zd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Dd(e),e=e.sibling}function Dd(e){switch(e.tag){case 0:case 11:case 15:Dn(e),e.flags&2048&&Ol(9,e,e.return);break;case 3:Dn(e);break;case 12:Dn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Fu(e)):Dn(e);break;default:Dn(e)}}function Fu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];Ke=a,Ud(a,e)}zd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ol(8,t,t.return),Fu(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,Fu(t));break;default:Fu(t)}e=e.sibling}}function Ud(e,t){for(;Ke!==null;){var l=Ke;switch(l.tag){case 0:case 11:case 15:Ol(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:mn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Ke=a;else e:for(l=e;Ke!==null;){a=Ke;var n=a.sibling,i=a.return;if(xd(a),a===l){Ke=null;break e}if(n!==null){n.return=i,Ke=n;break e}Ke=i}}}var Ly={getCacheForType:function(e){var t=ke(Ye),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return ke(Ye).controller.signal}},qy=typeof WeakMap=="function"?WeakMap:Map,ge=0,Ae=null,re=null,fe=0,Se=0,Et=null,Nl=!1,wa=!1,Rr=!1,rl=0,Me=0,_l=0,aa=0,Tr=0,xt=0,Ha=0,Un=null,st=null,Ar=!1,Wu=0,Md=0,Iu=1/0,Pu=null,Cl=null,Ve=0,zl=null,Ba=null,sl=0,Or=0,Nr=null,jd=null,Mn=0,_r=null;function Rt(){return(ge&2)!==0&&fe!==0?fe&-fe:M.T!==null?jr():$s()}function wd(){if(xt===0)if((fe&536870912)===0||de){var e=cu;cu<<=1,(cu&3932160)===0&&(cu=262144),xt=e}else xt=536870912;return e=bt.current,e!==null&&(e.flags|=32),xt}function ft(e,t,l){(e===Ae&&(Se===2||Se===9)||e.cancelPendingCommit!==null)&&(La(e,0),Dl(e,fe,xt,!1)),Pa(e,l),((ge&2)===0||e!==Ae)&&(e===Ae&&((ge&2)===0&&(aa|=l),Me===4&&Dl(e,fe,xt,!1)),Vt(e))}function Hd(e,t,l){if((ge&6)!==0)throw Error(r(327));var a=!l&&(t&127)===0&&(t&e.expiredLanes)===0||Ia(e,t),n=a?Xy(e,t):zr(e,t,!0),i=a;do{if(n===0){wa&&!a&&Dl(e,t,0,!1);break}else{if(l=e.current.alternate,i&&!Yy(l)){n=zr(e,t,!1),i=!1;continue}if(n===2){if(i=t,e.errorRecoveryDisabledLanes&i)var f=0;else f=e.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){t=f;e:{var m=e;n=Un;var v=m.current.memoizedState.isDehydrated;if(v&&(La(m,f).flags|=256),f=zr(m,f,!1),f!==2){if(Rr&&!v){m.errorRecoveryDisabledLanes|=i,aa|=i,n=4;break e}i=st,st=n,i!==null&&(st===null?st=i:st.push.apply(st,i))}n=f}if(i=!1,n!==2)continue}}if(n===1){La(e,0),Dl(e,t,0,!0);break}e:{switch(a=e,i=n,i){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:Dl(a,t,xt,!Nl);break e;case 2:st=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(n=Wu+300-mt(),10<n)){if(Dl(a,t,xt,!Nl),su(a,0,!0)!==0)break e;sl=t,a.timeoutHandle=hh(Bd.bind(null,a,l,st,Pu,Ar,t,xt,aa,Ha,Nl,i,"Throttled",-0,0),n);break e}Bd(a,l,st,Pu,Ar,t,xt,aa,Ha,Nl,i,null,-0,0)}}break}while(!0);Vt(e)}function Bd(e,t,l,a,n,i,f,m,v,N,w,q,_,U){if(e.timeoutHandle=-1,q=t.subtreeFlags,q&8192||(q&16785408)===16785408){q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:$t},Cd(t,i,q);var J=(i&62914560)===i?Wu-mt():(i&4194048)===i?Md-mt():0;if(J=Tp(q,J),J!==null){sl=i,e.cancelPendingCommit=J(Zd.bind(null,e,t,i,l,a,n,f,m,v,w,q,null,_,U)),Dl(e,i,f,!N);return}}Zd(e,t,i,l,a,n,f,m,v)}function Yy(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],i=n.getSnapshot;n=n.value;try{if(!gt(i(),n))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Dl(e,t,l,a){t&=~Tr,t&=~aa,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var n=t;0<n;){var i=31-pt(n),f=1<<i;a[i]=-1,n&=~f}l!==0&&Zs(e,l,t)}function ei(){return(ge&6)===0?(jn(0),!1):!0}function Cr(){if(re!==null){if(Se===0)var e=re.return;else e=re,It=$l=null,Zc(e),_a=null,pn=0,e=re;for(;e!==null;)md(e.alternate,e),e=e.return;re=null}}function La(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,ip(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),sl=0,Cr(),Ae=e,re=l=Ft(e.current,null),fe=t,Se=0,Et=null,Nl=!1,wa=Ia(e,t),Rr=!1,Ha=xt=Tr=aa=_l=Me=0,st=Un=null,Ar=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var n=31-pt(a),i=1<<n;t|=e[n],a&=~i}return rl=t,Eu(),l}function Ld(e,t){ne=null,M.H=Tn,t===Na||t===Cu?(t=Pf(),Se=3):t===Mc?(t=Pf(),Se=4):Se=t===cr?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Et=t,re===null&&(Me=1,Qu(e,Nt(t,e.current)))}function qd(){var e=bt.current;return e===null?!0:(fe&4194048)===fe?Dt===null:(fe&62914560)===fe||(fe&536870912)!==0?e===Dt:!1}function Yd(){var e=M.H;return M.H=Tn,e===null?Tn:e}function Gd(){var e=M.A;return M.A=Ly,e}function ti(){Me=4,Nl||(fe&4194048)!==fe&&bt.current!==null||(wa=!0),(_l&134217727)===0&&(aa&134217727)===0||Ae===null||Dl(Ae,fe,xt,!1)}function zr(e,t,l){var a=ge;ge|=2;var n=Yd(),i=Gd();(Ae!==e||fe!==t)&&(Pu=null,La(e,t)),t=!1;var f=Me;e:do try{if(Se!==0&&re!==null){var m=re,v=Et;switch(Se){case 8:Cr(),f=6;break e;case 3:case 2:case 9:case 6:bt.current===null&&(t=!0);var N=Se;if(Se=0,Et=null,qa(e,m,v,N),l&&wa){f=0;break e}break;default:N=Se,Se=0,Et=null,qa(e,m,v,N)}}Gy(),f=Me;break}catch(w){Ld(e,w)}while(!0);return t&&e.shellSuspendCounter++,It=$l=null,ge=a,M.H=n,M.A=i,re===null&&(Ae=null,fe=0,Eu()),f}function Gy(){for(;re!==null;)Xd(re)}function Xy(e,t){var l=ge;ge|=2;var a=Yd(),n=Gd();Ae!==e||fe!==t?(Pu=null,Iu=mt()+500,La(e,t)):wa=Ia(e,t);e:do try{if(Se!==0&&re!==null){t=re;var i=Et;t:switch(Se){case 1:Se=0,Et=null,qa(e,t,i,1);break;case 2:case 9:if(Wf(i)){Se=0,Et=null,Qd(t);break}t=function(){Se!==2&&Se!==9||Ae!==e||(Se=7),Vt(e)},i.then(t,t);break e;case 3:Se=7;break e;case 4:Se=5;break e;case 7:Wf(i)?(Se=0,Et=null,Qd(t)):(Se=0,Et=null,qa(e,t,i,7));break;case 5:var f=null;switch(re.tag){case 26:f=re.memoizedState;case 5:case 27:var m=re;if(f?_h(f):m.stateNode.complete){Se=0,Et=null;var v=m.sibling;if(v!==null)re=v;else{var N=m.return;N!==null?(re=N,li(N)):re=null}break t}}Se=0,Et=null,qa(e,t,i,5);break;case 6:Se=0,Et=null,qa(e,t,i,6);break;case 8:Cr(),Me=6;break e;default:throw Error(r(462))}}Qy();break}catch(w){Ld(e,w)}while(!0);return It=$l=null,M.H=a,M.A=n,ge=l,re!==null?0:(Ae=null,fe=0,Eu(),Me)}function Qy(){for(;re!==null&&!d0();)Xd(re)}function Xd(e){var t=dd(e.alternate,e,rl);e.memoizedProps=e.pendingProps,t===null?li(e):re=t}function Qd(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=id(l,t,t.pendingProps,t.type,void 0,fe);break;case 11:t=id(l,t,t.pendingProps,t.type.render,t.ref,fe);break;case 5:Zc(t);default:md(l,t),t=re=Yf(t,rl),t=dd(l,t,rl)}e.memoizedProps=e.pendingProps,t===null?li(e):re=t}function qa(e,t,l,a){It=$l=null,Zc(t),_a=null,pn=0;var n=t.return;try{if(Dy(e,n,t,l,fe)){Me=1,Qu(e,Nt(l,e.current)),re=null;return}}catch(i){if(n!==null)throw re=n,i;Me=1,Qu(e,Nt(l,e.current)),re=null;return}t.flags&32768?(de||a===1?e=!0:wa||(fe&536870912)!==0?e=!1:(Nl=e=!0,(a===2||a===9||a===3||a===6)&&(a=bt.current,a!==null&&a.tag===13&&(a.flags|=16384))),Vd(t,e)):li(t)}function li(e){var t=e;do{if((t.flags&32768)!==0){Vd(t,Nl);return}e=t.return;var l=jy(t.alternate,t,rl);if(l!==null){re=l;return}if(t=t.sibling,t!==null){re=t;return}re=t=e}while(t!==null);Me===0&&(Me=5)}function Vd(e,t){do{var l=wy(e.alternate,e);if(l!==null){l.flags&=32767,re=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){re=e;return}re=e=l}while(e!==null);Me=6,re=null}function Zd(e,t,l,a,n,i,f,m,v){e.cancelPendingCommit=null;do ai();while(Ve!==0);if((ge&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(i=t.lanes|t.childLanes,i|=vc,x0(e,l,i,f,m,v),e===Ae&&(re=Ae=null,fe=0),Ba=t,zl=e,sl=l,Or=i,Nr=n,jd=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Jy(uu,function(){return Fd(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=M.T,M.T=null,n=X.p,X.p=2,f=ge,ge|=4;try{Hy(e,t,l)}finally{ge=f,X.p=n,M.T=a}}Ve=1,Kd(),Jd(),$d()}}function Kd(){if(Ve===1){Ve=0;var e=zl,t=Ba,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=M.T,M.T=null;var a=X.p;X.p=2;var n=ge;ge|=4;try{Od(t,e);var i=Xr,f=Df(e.containerInfo),m=i.focusedElem,v=i.selectionRange;if(f!==m&&m&&m.ownerDocument&&zf(m.ownerDocument.documentElement,m)){if(v!==null&&hc(m)){var N=v.start,w=v.end;if(w===void 0&&(w=N),"selectionStart"in m)m.selectionStart=N,m.selectionEnd=Math.min(w,m.value.length);else{var q=m.ownerDocument||document,_=q&&q.defaultView||window;if(_.getSelection){var U=_.getSelection(),J=m.textContent.length,ee=Math.min(v.start,J),Te=v.end===void 0?ee:Math.min(v.end,J);!U.extend&&ee>Te&&(f=Te,Te=ee,ee=f);var R=Cf(m,ee),x=Cf(m,Te);if(R&&x&&(U.rangeCount!==1||U.anchorNode!==R.node||U.anchorOffset!==R.offset||U.focusNode!==x.node||U.focusOffset!==x.offset)){var O=q.createRange();O.setStart(R.node,R.offset),U.removeAllRanges(),ee>Te?(U.addRange(O),U.extend(x.node,x.offset)):(O.setEnd(x.node,x.offset),U.addRange(O))}}}}for(q=[],U=m;U=U.parentNode;)U.nodeType===1&&q.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<q.length;m++){var H=q[m];H.element.scrollLeft=H.left,H.element.scrollTop=H.top}}yi=!!Gr,Xr=Gr=null}finally{ge=n,X.p=a,M.T=l}}e.current=t,Ve=2}}function Jd(){if(Ve===2){Ve=0;var e=zl,t=Ba,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=M.T,M.T=null;var a=X.p;X.p=2;var n=ge;ge|=4;try{Ed(e,t.alternate,t)}finally{ge=n,X.p=a,M.T=l}}Ve=3}}function $d(){if(Ve===4||Ve===3){Ve=0,h0();var e=zl,t=Ba,l=sl,a=jd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ve=5:(Ve=0,Ba=zl=null,kd(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Cl=null),$i(l),t=t.stateNode,yt&&typeof yt.onCommitFiberRoot=="function")try{yt.onCommitFiberRoot(Wa,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=M.T,n=X.p,X.p=2,M.T=null;try{for(var i=e.onRecoverableError,f=0;f<a.length;f++){var m=a[f];i(m.value,{componentStack:m.stack})}}finally{M.T=t,X.p=n}}(sl&3)!==0&&ai(),Vt(e),n=e.pendingLanes,(l&261930)!==0&&(n&42)!==0?e===_r?Mn++:(Mn=0,_r=e):Mn=0,jn(0)}}function kd(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,mn(t)))}function ai(){return Kd(),Jd(),$d(),Fd()}function Fd(){if(Ve!==5)return!1;var e=zl,t=Or;Or=0;var l=$i(sl),a=M.T,n=X.p;try{X.p=32>l?32:l,M.T=null,l=Nr,Nr=null;var i=zl,f=sl;if(Ve=0,Ba=zl=null,sl=0,(ge&6)!==0)throw Error(r(331));var m=ge;if(ge|=4,Dd(i.current),_d(i,i.current,f,l),ge=m,jn(0,!1),yt&&typeof yt.onPostCommitFiberRoot=="function")try{yt.onPostCommitFiberRoot(Wa,i)}catch{}return!0}finally{X.p=n,M.T=a,kd(e,t)}}function Wd(e,t,l){t=Nt(l,t),t=ir(e.stateNode,t,2),e=Rl(e,t,2),e!==null&&(Pa(e,2),Vt(e))}function Ee(e,t,l){if(e.tag===3)Wd(e,e,l);else for(;t!==null;){if(t.tag===3){Wd(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Cl===null||!Cl.has(a))){e=Nt(l,e),l=Io(2),a=Rl(t,l,2),a!==null&&(Po(l,a,t,e),Pa(a,2),Vt(a));break}}t=t.return}}function Dr(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new qy;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(l)||(Rr=!0,n.add(l),e=Vy.bind(null,e,t,l),t.then(e,e))}function Vy(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ae===e&&(fe&l)===l&&(Me===4||Me===3&&(fe&62914560)===fe&&300>mt()-Wu?(ge&2)===0&&La(e,0):Tr|=l,Ha===fe&&(Ha=0)),Vt(e)}function Id(e,t){t===0&&(t=Vs()),e=Zl(e,t),e!==null&&(Pa(e,t),Vt(e))}function Zy(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Id(e,l)}function Ky(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(r(314))}a!==null&&a.delete(t),Id(e,l)}function Jy(e,t){return Vi(e,t)}var ni=null,Ya=null,Ur=!1,ui=!1,Mr=!1,Ul=0;function Vt(e){e!==Ya&&e.next===null&&(Ya===null?ni=Ya=e:Ya=Ya.next=e),ui=!0,Ur||(Ur=!0,ky())}function jn(e,t){if(!Mr&&ui){Mr=!0;do for(var l=!1,a=ni;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var i=0;else{var f=a.suspendedLanes,m=a.pingedLanes;i=(1<<31-pt(42|e)+1)-1,i&=n&~(f&~m),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(l=!0,lh(a,i))}else i=fe,i=su(a,a===Ae?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(i&3)===0||Ia(a,i)||(l=!0,lh(a,i));a=a.next}while(l);Mr=!1}}function $y(){Pd()}function Pd(){ui=Ur=!1;var e=0;Ul!==0&&up()&&(e=Ul);for(var t=mt(),l=null,a=ni;a!==null;){var n=a.next,i=eh(a,t);i===0?(a.next=null,l===null?ni=n:l.next=n,n===null&&(Ya=l)):(l=a,(e!==0||(i&3)!==0)&&(ui=!0)),a=n}Ve!==0&&Ve!==5||jn(e),Ul!==0&&(Ul=0)}function eh(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var f=31-pt(i),m=1<<f,v=n[f];v===-1?((m&l)===0||(m&a)!==0)&&(n[f]=E0(m,t)):v<=t&&(e.expiredLanes|=m),i&=~m}if(t=Ae,l=fe,l=su(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(Se===2||Se===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Zi(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Ia(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&Zi(a),$i(l)){case 2:case 8:l=Xs;break;case 32:l=uu;break;case 268435456:l=Qs;break;default:l=uu}return a=th.bind(null,e),l=Vi(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&Zi(a),e.callbackPriority=2,e.callbackNode=null,2}function th(e,t){if(Ve!==0&&Ve!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(ai()&&e.callbackNode!==l)return null;var a=fe;return a=su(e,e===Ae?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Hd(e,a,t),eh(e,mt()),e.callbackNode!=null&&e.callbackNode===l?th.bind(null,e):null)}function lh(e,t){if(ai())return null;Hd(e,t,!0)}function ky(){cp(function(){(ge&6)!==0?Vi(Gs,$y):Pd()})}function jr(){if(Ul===0){var e=Aa;e===0&&(e=iu,iu<<=1,(iu&261888)===0&&(iu=256)),Ul=e}return Ul}function ah(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:hu(""+e)}function nh(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function Fy(e,t,l,a,n){if(t==="submit"&&l&&l.stateNode===n){var i=ah((n[nt]||null).action),f=a.submitter;f&&(t=(t=f[nt]||null)?ah(t.formAction):f.getAttribute("formAction"),t!==null&&(i=t,f=null));var m=new gu("action","action",null,a,n);e.push({event:m,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Ul!==0){var v=f?nh(n,f):new FormData(n);er(l,{pending:!0,data:v,method:n.method,action:i},null,v)}}else typeof i=="function"&&(m.preventDefault(),v=f?nh(n,f):new FormData(n),er(l,{pending:!0,data:v,method:n.method,action:i},i,v))},currentTarget:n}]})}}for(var wr=0;wr<gc.length;wr++){var Hr=gc[wr],Wy=Hr.toLowerCase(),Iy=Hr[0].toUpperCase()+Hr.slice(1);Ht(Wy,"on"+Iy)}Ht(jf,"onAnimationEnd"),Ht(wf,"onAnimationIteration"),Ht(Hf,"onAnimationStart"),Ht("dblclick","onDoubleClick"),Ht("focusin","onFocus"),Ht("focusout","onBlur"),Ht(my,"onTransitionRun"),Ht(yy,"onTransitionStart"),Ht(py,"onTransitionCancel"),Ht(Bf,"onTransitionEnd"),oa("onMouseEnter",["mouseout","mouseover"]),oa("onMouseLeave",["mouseout","mouseover"]),oa("onPointerEnter",["pointerout","pointerover"]),oa("onPointerLeave",["pointerout","pointerover"]),Gl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Gl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Gl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Gl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Gl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Gl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var wn="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(" "),Py=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(wn));function uh(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],n=a.event;a=a.listeners;e:{var i=void 0;if(t)for(var f=a.length-1;0<=f;f--){var m=a[f],v=m.instance,N=m.currentTarget;if(m=m.listener,v!==i&&n.isPropagationStopped())break e;i=m,n.currentTarget=N;try{i(n)}catch(w){Su(w)}n.currentTarget=null,i=v}else for(f=0;f<a.length;f++){if(m=a[f],v=m.instance,N=m.currentTarget,m=m.listener,v!==i&&n.isPropagationStopped())break e;i=m,n.currentTarget=N;try{i(n)}catch(w){Su(w)}n.currentTarget=null,i=v}}}}function se(e,t){var l=t[ki];l===void 0&&(l=t[ki]=new Set);var a=e+"__bubble";l.has(a)||(ih(t,e,2,!1),l.add(a))}function Br(e,t,l){var a=0;t&&(a|=4),ih(l,e,a,t)}var ii="_reactListening"+Math.random().toString(36).slice(2);function Lr(e){if(!e[ii]){e[ii]=!0,Ws.forEach(function(l){l!=="selectionchange"&&(Py.has(l)||Br(l,!1,e),Br(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ii]||(t[ii]=!0,Br("selectionchange",!1,t))}}function ih(e,t,l,a){switch(wh(t)){case 2:var n=Np;break;case 8:n=_p;break;default:n=Pr}l=n.bind(null,t,l,e),n=void 0,!nc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?e.addEventListener(t,l,{capture:!0,passive:n}):e.addEventListener(t,l,!0):n!==void 0?e.addEventListener(t,l,{passive:n}):e.addEventListener(t,l,!1)}function qr(e,t,l,a,n){var i=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var m=a.stateNode.containerInfo;if(m===n)break;if(f===4)for(f=a.return;f!==null;){var v=f.tag;if((v===3||v===4)&&f.stateNode.containerInfo===n)return;f=f.return}for(;m!==null;){if(f=ra(m),f===null)return;if(v=f.tag,v===5||v===6||v===26||v===27){a=i=f;continue e}m=m.parentNode}}a=a.return}ff(function(){var N=i,w=lc(l),q=[];e:{var _=Lf.get(e);if(_!==void 0){var U=gu,J=e;switch(e){case"keypress":if(yu(l)===0)break e;case"keydown":case"keyup":U=K0;break;case"focusin":J="focus",U=rc;break;case"focusout":J="blur",U=rc;break;case"beforeblur":case"afterblur":U=rc;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":U=hf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=j0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=k0;break;case jf:case wf:case Hf:U=B0;break;case Bf:U=W0;break;case"scroll":case"scrollend":U=U0;break;case"wheel":U=P0;break;case"copy":case"cut":case"paste":U=q0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=yf;break;case"toggle":case"beforetoggle":U=ty}var ee=(t&4)!==0,Te=!ee&&(e==="scroll"||e==="scrollend"),R=ee?_!==null?_+"Capture":null:_;ee=[];for(var x=N,O;x!==null;){var H=x;if(O=H.stateNode,H=H.tag,H!==5&&H!==26&&H!==27||O===null||R===null||(H=ln(x,R),H!=null&&ee.push(Hn(x,H,O))),Te)break;x=x.return}0<ee.length&&(_=new U(_,J,null,l,w),q.push({event:_,listeners:ee}))}}if((t&7)===0){e:{if(_=e==="mouseover"||e==="pointerover",U=e==="mouseout"||e==="pointerout",_&&l!==tc&&(J=l.relatedTarget||l.fromElement)&&(ra(J)||J[ca]))break e;if((U||_)&&(_=w.window===w?w:(_=w.ownerDocument)?_.defaultView||_.parentWindow:window,U?(J=l.relatedTarget||l.toElement,U=N,J=J?ra(J):null,J!==null&&(Te=d(J),ee=J.tag,J!==Te||ee!==5&&ee!==27&&ee!==6)&&(J=null)):(U=null,J=N),U!==J)){if(ee=hf,H="onMouseLeave",R="onMouseEnter",x="mouse",(e==="pointerout"||e==="pointerover")&&(ee=yf,H="onPointerLeave",R="onPointerEnter",x="pointer"),Te=U==null?_:tn(U),O=J==null?_:tn(J),_=new ee(H,x+"leave",U,l,w),_.target=Te,_.relatedTarget=O,H=null,ra(w)===N&&(ee=new ee(R,x+"enter",J,l,w),ee.target=O,ee.relatedTarget=Te,H=ee),Te=H,U&&J)t:{for(ee=ep,R=U,x=J,O=0,H=R;H;H=ee(H))O++;H=0;for(var P=x;P;P=ee(P))H++;for(;0<O-H;)R=ee(R),O--;for(;0<H-O;)x=ee(x),H--;for(;O--;){if(R===x||x!==null&&R===x.alternate){ee=R;break t}R=ee(R),x=ee(x)}ee=null}else ee=null;U!==null&&ch(q,_,U,ee,!1),J!==null&&Te!==null&&ch(q,Te,J,ee,!0)}}e:{if(_=N?tn(N):window,U=_.nodeName&&_.nodeName.toLowerCase(),U==="select"||U==="input"&&_.type==="file")var me=Rf;else if(Ef(_))if(Tf)me=oy;else{me=sy;var $=ry}else U=_.nodeName,!U||U.toLowerCase()!=="input"||_.type!=="checkbox"&&_.type!=="radio"?N&&ec(N.elementType)&&(me=Rf):me=fy;if(me&&(me=me(e,N))){xf(q,me,l,w);break e}$&&$(e,_,N),e==="focusout"&&N&&_.type==="number"&&N.memoizedProps.value!=null&&Pi(_,"number",_.value)}switch($=N?tn(N):window,e){case"focusin":(Ef($)||$.contentEditable==="true")&&(ga=$,mc=N,on=null);break;case"focusout":on=mc=ga=null;break;case"mousedown":yc=!0;break;case"contextmenu":case"mouseup":case"dragend":yc=!1,Uf(q,l,w);break;case"selectionchange":if(hy)break;case"keydown":case"keyup":Uf(q,l,w)}var ue;if(fc)e:{switch(e){case"compositionstart":var oe="onCompositionStart";break e;case"compositionend":oe="onCompositionEnd";break e;case"compositionupdate":oe="onCompositionUpdate";break e}oe=void 0}else pa?bf(e,l)&&(oe="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(oe="onCompositionStart");oe&&(pf&&l.locale!=="ko"&&(pa||oe!=="onCompositionStart"?oe==="onCompositionEnd"&&pa&&(ue=of()):(pl=w,uc="value"in pl?pl.value:pl.textContent,pa=!0)),$=ci(N,oe),0<$.length&&(oe=new mf(oe,e,null,l,w),q.push({event:oe,listeners:$}),ue?oe.data=ue:(ue=Sf(l),ue!==null&&(oe.data=ue)))),(ue=ay?ny(e,l):uy(e,l))&&(oe=ci(N,"onBeforeInput"),0<oe.length&&($=new mf("onBeforeInput","beforeinput",null,l,w),q.push({event:$,listeners:oe}),$.data=ue)),Fy(q,e,N,l,w)}uh(q,t)})}function Hn(e,t,l){return{instance:e,listener:t,currentTarget:l}}function ci(e,t){for(var l=t+"Capture",a=[];e!==null;){var n=e,i=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||i===null||(n=ln(e,l),n!=null&&a.unshift(Hn(e,n,i)),n=ln(e,t),n!=null&&a.push(Hn(e,n,i))),e.tag===3)return a;e=e.return}return[]}function ep(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function ch(e,t,l,a,n){for(var i=t._reactName,f=[];l!==null&&l!==a;){var m=l,v=m.alternate,N=m.stateNode;if(m=m.tag,v!==null&&v===a)break;m!==5&&m!==26&&m!==27||N===null||(v=N,n?(N=ln(l,i),N!=null&&f.unshift(Hn(l,N,v))):n||(N=ln(l,i),N!=null&&f.push(Hn(l,N,v)))),l=l.return}f.length!==0&&e.push({event:t,listeners:f})}var tp=/\r\n?/g,lp=/\u0000|\uFFFD/g;function rh(e){return(typeof e=="string"?e:""+e).replace(tp,`
|
|
9
|
+
`).replace(lp,"")}function sh(e,t){return t=rh(t),rh(e)===t}function Re(e,t,l,a,n,i){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||ha(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&ha(e,""+a);break;case"className":ou(e,"class",a);break;case"tabIndex":ou(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":ou(e,l,a);break;case"style":rf(e,a,i);break;case"data":if(t!=="object"){ou(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=hu(""+a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(l==="formAction"?(t!=="input"&&Re(e,t,"name",n.name,n,null),Re(e,t,"formEncType",n.formEncType,n,null),Re(e,t,"formMethod",n.formMethod,n,null),Re(e,t,"formTarget",n.formTarget,n,null)):(Re(e,t,"encType",n.encType,n,null),Re(e,t,"method",n.method,n,null),Re(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=hu(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=$t);break;case"onScroll":a!=null&&se("scroll",e);break;case"onScrollEnd":a!=null&&se("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(r(60));e.innerHTML=l}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}l=hu(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""+a):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":se("beforetoggle",e),se("toggle",e),fu(e,"popover",a);break;case"xlinkActuate":Jt(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Jt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Jt(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Jt(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Jt(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Jt(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Jt(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Jt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Jt(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":fu(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=z0.get(l)||l,fu(e,l,a))}}function Yr(e,t,l,a,n,i){switch(l){case"style":rf(e,a,i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(r(60));e.innerHTML=l}}break;case"children":typeof a=="string"?ha(e,a):(typeof a=="number"||typeof a=="bigint")&&ha(e,""+a);break;case"onScroll":a!=null&&se("scroll",e);break;case"onScrollEnd":a!=null&&se("scrollend",e);break;case"onClick":a!=null&&(e.onclick=$t);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Is.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),t=l.slice(2,n?l.length-7:void 0),i=e[nt]||null,i=i!=null?i[l]:null,typeof i=="function"&&e.removeEventListener(t,i,n),typeof a=="function")){typeof i!="function"&&i!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,n);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):fu(e,l,a)}}}function We(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":se("error",e),se("load",e);var a=!1,n=!1,i;for(i in l)if(l.hasOwnProperty(i)){var f=l[i];if(f!=null)switch(i){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Re(e,t,i,f,l,null)}}n&&Re(e,t,"srcSet",l.srcSet,l,null),a&&Re(e,t,"src",l.src,l,null);return;case"input":se("invalid",e);var m=i=f=n=null,v=null,N=null;for(a in l)if(l.hasOwnProperty(a)){var w=l[a];if(w!=null)switch(a){case"name":n=w;break;case"type":f=w;break;case"checked":v=w;break;case"defaultChecked":N=w;break;case"value":i=w;break;case"defaultValue":m=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(r(137,t));break;default:Re(e,t,a,w,l,null)}}af(e,i,m,v,N,f,n,!1);return;case"select":se("invalid",e),a=f=i=null;for(n in l)if(l.hasOwnProperty(n)&&(m=l[n],m!=null))switch(n){case"value":i=m;break;case"defaultValue":f=m;break;case"multiple":a=m;default:Re(e,t,n,m,l,null)}t=i,l=f,e.multiple=!!a,t!=null?da(e,!!a,t,!1):l!=null&&da(e,!!a,l,!0);return;case"textarea":se("invalid",e),i=n=a=null;for(f in l)if(l.hasOwnProperty(f)&&(m=l[f],m!=null))switch(f){case"value":a=m;break;case"defaultValue":n=m;break;case"children":i=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(r(91));break;default:Re(e,t,f,m,l,null)}uf(e,a,n,i);return;case"option":for(v in l)l.hasOwnProperty(v)&&(a=l[v],a!=null)&&(v==="selected"?e.selected=a&&typeof a!="function"&&typeof a!="symbol":Re(e,t,v,a,l,null));return;case"dialog":se("beforetoggle",e),se("toggle",e),se("cancel",e),se("close",e);break;case"iframe":case"object":se("load",e);break;case"video":case"audio":for(a=0;a<wn.length;a++)se(wn[a],e);break;case"image":se("error",e),se("load",e);break;case"details":se("toggle",e);break;case"embed":case"source":case"link":se("error",e),se("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(N in l)if(l.hasOwnProperty(N)&&(a=l[N],a!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Re(e,t,N,a,l,null)}return;default:if(ec(t)){for(w in l)l.hasOwnProperty(w)&&(a=l[w],a!==void 0&&Yr(e,t,w,a,l,void 0));return}}for(m in l)l.hasOwnProperty(m)&&(a=l[m],a!=null&&Re(e,t,m,a,l,null))}function ap(e,t,l,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,i=null,f=null,m=null,v=null,N=null,w=null;for(U in l){var q=l[U];if(l.hasOwnProperty(U)&&q!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":v=q;default:a.hasOwnProperty(U)||Re(e,t,U,null,a,q)}}for(var _ in a){var U=a[_];if(q=l[_],a.hasOwnProperty(_)&&(U!=null||q!=null))switch(_){case"type":i=U;break;case"name":n=U;break;case"checked":N=U;break;case"defaultChecked":w=U;break;case"value":f=U;break;case"defaultValue":m=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(r(137,t));break;default:U!==q&&Re(e,t,_,U,a,q)}}Ii(e,f,m,v,N,w,i,n);return;case"select":U=f=m=_=null;for(i in l)if(v=l[i],l.hasOwnProperty(i)&&v!=null)switch(i){case"value":break;case"multiple":U=v;default:a.hasOwnProperty(i)||Re(e,t,i,null,a,v)}for(n in a)if(i=a[n],v=l[n],a.hasOwnProperty(n)&&(i!=null||v!=null))switch(n){case"value":_=i;break;case"defaultValue":m=i;break;case"multiple":f=i;default:i!==v&&Re(e,t,n,i,a,v)}t=m,l=f,a=U,_!=null?da(e,!!l,_,!1):!!a!=!!l&&(t!=null?da(e,!!l,t,!0):da(e,!!l,l?[]:"",!1));return;case"textarea":U=_=null;for(m in l)if(n=l[m],l.hasOwnProperty(m)&&n!=null&&!a.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:Re(e,t,m,null,a,n)}for(f in a)if(n=a[f],i=l[f],a.hasOwnProperty(f)&&(n!=null||i!=null))switch(f){case"value":_=n;break;case"defaultValue":U=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(r(91));break;default:n!==i&&Re(e,t,f,n,a,i)}nf(e,_,U);return;case"option":for(var J in l)_=l[J],l.hasOwnProperty(J)&&_!=null&&!a.hasOwnProperty(J)&&(J==="selected"?e.selected=!1:Re(e,t,J,null,a,_));for(v in a)_=a[v],U=l[v],a.hasOwnProperty(v)&&_!==U&&(_!=null||U!=null)&&(v==="selected"?e.selected=_&&typeof _!="function"&&typeof _!="symbol":Re(e,t,v,_,a,U));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ee in l)_=l[ee],l.hasOwnProperty(ee)&&_!=null&&!a.hasOwnProperty(ee)&&Re(e,t,ee,null,a,_);for(N in a)if(_=a[N],U=l[N],a.hasOwnProperty(N)&&_!==U&&(_!=null||U!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(r(137,t));break;default:Re(e,t,N,_,a,U)}return;default:if(ec(t)){for(var Te in l)_=l[Te],l.hasOwnProperty(Te)&&_!==void 0&&!a.hasOwnProperty(Te)&&Yr(e,t,Te,void 0,a,_);for(w in a)_=a[w],U=l[w],!a.hasOwnProperty(w)||_===U||_===void 0&&U===void 0||Yr(e,t,w,_,a,U);return}}for(var R in l)_=l[R],l.hasOwnProperty(R)&&_!=null&&!a.hasOwnProperty(R)&&Re(e,t,R,null,a,_);for(q in a)_=a[q],U=l[q],!a.hasOwnProperty(q)||_===U||_==null&&U==null||Re(e,t,q,_,a,U)}function fh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function np(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var n=l[a],i=n.transferSize,f=n.initiatorType,m=n.duration;if(i&&m&&fh(f)){for(f=0,m=n.responseEnd,a+=1;a<l.length;a++){var v=l[a],N=v.startTime;if(N>m)break;var w=v.transferSize,q=v.initiatorType;w&&fh(q)&&(v=v.responseEnd,f+=w*(v<m?1:(m-N)/(v-N)))}if(--a,t+=8*(i+f)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Gr=null,Xr=null;function ri(e){return e.nodeType===9?e:e.ownerDocument}function oh(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 dh(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 Qr(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 Vr=null;function up(){var e=window.event;return e&&e.type==="popstate"?e===Vr?!1:(Vr=e,!0):(Vr=null,!1)}var hh=typeof setTimeout=="function"?setTimeout:void 0,ip=typeof clearTimeout=="function"?clearTimeout:void 0,mh=typeof Promise=="function"?Promise:void 0,cp=typeof queueMicrotask=="function"?queueMicrotask:typeof mh<"u"?function(e){return mh.resolve(null).then(e).catch(rp)}:hh;function rp(e){setTimeout(function(){throw e})}function Ml(e){return e==="head"}function yh(e,t){var l=t,a=0;do{var n=l.nextSibling;if(e.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"||l==="/&"){if(a===0){e.removeChild(n),Va(t);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")Bn(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,Bn(l);for(var i=l.firstChild;i;){var f=i.nextSibling,m=i.nodeName;i[en]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&i.rel.toLowerCase()==="stylesheet"||l.removeChild(i),i=f}}else l==="body"&&Bn(e.ownerDocument.body);l=n}while(l);Va(t)}function ph(e,t){var l=e;e=0;do{var a=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=a}while(l)}function Zr(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":Zr(l),Fi(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function sp(e,t,l,a){for(;e.nodeType===1;){var n=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[en])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Ut(e.nextSibling),e===null)break}return null}function fp(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Ut(e.nextSibling),e===null))return null;return e}function gh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Ut(e.nextSibling),e===null))return null;return e}function Kr(e){return e.data==="$?"||e.data==="$~"}function Jr(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function op(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var a=function(){t(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Ut(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 $r=null;function vh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return Ut(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function bh(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 Sh(e,t,l){switch(t=ri(l),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Bn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Fi(e)}var Mt=new Map,Eh=new Set;function si(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var fl=X.d;X.d={f:dp,r:hp,D:mp,C:yp,L:pp,m:gp,X:bp,S:vp,M:Sp};function dp(){var e=fl.f(),t=ei();return e||t}function hp(e){var t=sa(e);t!==null&&t.tag===5&&t.type==="form"?Lo(t):fl.r(e)}var Ga=typeof document>"u"?null:document;function xh(e,t,l){var a=Ga;if(a&&typeof t=="string"&&t){var n=At(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Eh.has(n)||(Eh.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),We(t,"link",e),Ze(t),a.head.appendChild(t)))}}function mp(e){fl.D(e),xh("dns-prefetch",e,null)}function yp(e,t){fl.C(e,t),xh("preconnect",e,t)}function pp(e,t,l){fl.L(e,t,l);var a=Ga;if(a&&e&&t){var n='link[rel="preload"][as="'+At(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+At(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+At(l.imageSizes)+'"]')):n+='[href="'+At(e)+'"]';var i=n;switch(t){case"style":i=Xa(e);break;case"script":i=Qa(e)}Mt.has(i)||(e=E({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Mt.set(i,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(Ln(i))||t==="script"&&a.querySelector(qn(i))||(t=a.createElement("link"),We(t,"link",e),Ze(t),a.head.appendChild(t)))}}function gp(e,t){fl.m(e,t);var l=Ga;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+At(a)+'"][href="'+At(e)+'"]',i=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Qa(e)}if(!Mt.has(i)&&(e=E({rel:"modulepreload",href:e},t),Mt.set(i,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(qn(i)))return}a=l.createElement("link"),We(a,"link",e),Ze(a),l.head.appendChild(a)}}}function vp(e,t,l){fl.S(e,t,l);var a=Ga;if(a&&e){var n=fa(a).hoistableStyles,i=Xa(e);t=t||"default";var f=n.get(i);if(!f){var m={loading:0,preload:null};if(f=a.querySelector(Ln(i)))m.loading=5;else{e=E({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Mt.get(i))&&kr(e,l);var v=f=a.createElement("link");Ze(v),We(v,"link",e),v._p=new Promise(function(N,w){v.onload=N,v.onerror=w}),v.addEventListener("load",function(){m.loading|=1}),v.addEventListener("error",function(){m.loading|=2}),m.loading|=4,fi(f,t,a)}f={type:"stylesheet",instance:f,count:1,state:m},n.set(i,f)}}}function bp(e,t){fl.X(e,t);var l=Ga;if(l&&e){var a=fa(l).hoistableScripts,n=Qa(e),i=a.get(n);i||(i=l.querySelector(qn(n)),i||(e=E({src:e,async:!0},t),(t=Mt.get(n))&&Fr(e,t),i=l.createElement("script"),Ze(i),We(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function Sp(e,t){fl.M(e,t);var l=Ga;if(l&&e){var a=fa(l).hoistableScripts,n=Qa(e),i=a.get(n);i||(i=l.querySelector(qn(n)),i||(e=E({src:e,async:!0,type:"module"},t),(t=Mt.get(n))&&Fr(e,t),i=l.createElement("script"),Ze(i),We(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function Rh(e,t,l,a){var n=(n=ce.current)?si(n):null;if(!n)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Xa(l.href),l=fa(n).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Xa(l.href);var i=fa(n).hoistableStyles,f=i.get(e);if(f||(n=n.ownerDocument||n,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,f),(i=n.querySelector(Ln(e)))&&!i._p&&(f.instance=i,f.state.loading=5),Mt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Mt.set(e,l),i||Ep(n,e,l,f.state))),t&&a===null)throw Error(r(528,""));return f}if(t&&a!==null)throw Error(r(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Qa(l),l=fa(n).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Xa(e){return'href="'+At(e)+'"'}function Ln(e){return'link[rel="stylesheet"]['+e+"]"}function Th(e){return E({},e,{"data-precedence":e.precedence,precedence:null})}function Ep(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),We(t,"link",l),Ze(t),e.head.appendChild(t))}function Qa(e){return'[src="'+At(e)+'"]'}function qn(e){return"script[async]"+e}function Ah(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+At(l.href)+'"]');if(a)return t.instance=a,Ze(a),a;var n=E({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Ze(a),We(a,"style",n),fi(a,l.precedence,e),t.instance=a;case"stylesheet":n=Xa(l.href);var i=e.querySelector(Ln(n));if(i)return t.state.loading|=4,t.instance=i,Ze(i),i;a=Th(l),(n=Mt.get(n))&&kr(a,n),i=(e.ownerDocument||e).createElement("link"),Ze(i);var f=i;return f._p=new Promise(function(m,v){f.onload=m,f.onerror=v}),We(i,"link",a),t.state.loading|=4,fi(i,l.precedence,e),t.instance=i;case"script":return i=Qa(l.src),(n=e.querySelector(qn(i)))?(t.instance=n,Ze(n),n):(a=l,(n=Mt.get(i))&&(a=E({},l),Fr(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),Ze(n),We(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,fi(a,l.precedence,e));return t.instance}function fi(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,i=n,f=0;f<a.length;f++){var m=a[f];if(m.dataset.precedence===t)i=m;else if(i!==n)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function kr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Fr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var oi=null;function Oh(e,t,l){if(oi===null){var a=new Map,n=oi=new Map;n.set(l,a)}else n=oi,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),n=0;n<l.length;n++){var i=l[n];if(!(i[en]||i[Je]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var f=i.getAttribute(t)||"";f=e+f;var m=a.get(f);m?m.push(i):a.set(f,[i])}}return a}function Nh(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function xp(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;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!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 _h(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Rp(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=Xa(a.href),i=t.querySelector(Ln(n));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=di.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=i,Ze(i);return}i=t.ownerDocument||t,a=Th(a),(n=Mt.get(n))&&kr(a,n),i=i.createElement("link"),Ze(i);var f=i;f._p=new Promise(function(m,v){f.onload=m,f.onerror=v}),We(i,"link",a),l.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=di.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Wr=0;function Tp(e,t){return e.stylesheets&&e.count===0&&mi(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var a=setTimeout(function(){if(e.stylesheets&&mi(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&Wr===0&&(Wr=62500*np());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&mi(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>Wr?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function di(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)mi(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var hi=null;function mi(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,hi=new Map,t.forEach(Ap,e),hi=null,di.call(e))}function Ap(e,t){if(!(t.state.loading&4)){var l=hi.get(e);if(l)var a=l.get(null);else{l=new Map,hi.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var f=n[i];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(l.set(f.dataset.precedence,f),a=f)}a&&l.set(null,a)}n=t.instance,f=n.getAttribute("data-precedence"),i=l.get(f)||a,i===a&&l.set(null,n),l.set(f,n),this.count++,a=di.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),i?i.parentNode.insertBefore(n,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Yn={$$typeof:Z,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function Op(e,t,l,a,n,i,f,m,v){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=Ki(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ki(0),this.hiddenUpdates=Ki(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=v,this.incompleteTransitions=new Map}function Ch(e,t,l,a,n,i,f,m,v,N,w,q){return e=new Op(e,t,l,f,v,N,w,q,m),t=1,i===!0&&(t|=24),i=vt(3,null,null,t),e.current=i,i.stateNode=e,t=zc(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:a,isDehydrated:l,cache:t},jc(i),e}function zh(e){return e?(e=Sa,e):Sa}function Dh(e,t,l,a,n,i){n=zh(n),a.context===null?a.context=n:a.pendingContext=n,a=xl(t),a.payload={element:l},i=i===void 0?null:i,i!==null&&(a.callback=i),l=Rl(e,a,t),l!==null&&(ft(l,e,t),vn(l,e,t))}function Uh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Ir(e,t){Uh(e,t),(e=e.alternate)&&Uh(e,t)}function Mh(e){if(e.tag===13||e.tag===31){var t=Zl(e,67108864);t!==null&&ft(t,e,67108864),Ir(e,67108864)}}function jh(e){if(e.tag===13||e.tag===31){var t=Rt();t=Ji(t);var l=Zl(e,t);l!==null&&ft(l,e,t),Ir(e,t)}}var yi=!0;function Np(e,t,l,a){var n=M.T;M.T=null;var i=X.p;try{X.p=2,Pr(e,t,l,a)}finally{X.p=i,M.T=n}}function _p(e,t,l,a){var n=M.T;M.T=null;var i=X.p;try{X.p=8,Pr(e,t,l,a)}finally{X.p=i,M.T=n}}function Pr(e,t,l,a){if(yi){var n=es(a);if(n===null)qr(e,t,a,pi,l),Hh(e,a);else if(zp(n,e,t,l,a))a.stopPropagation();else if(Hh(e,a),t&4&&-1<Cp.indexOf(e)){for(;n!==null;){var i=sa(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var f=Yl(i.pendingLanes);if(f!==0){var m=i;for(m.pendingLanes|=2,m.entangledLanes|=2;f;){var v=1<<31-pt(f);m.entanglements[1]|=v,f&=~v}Vt(i),(ge&6)===0&&(Iu=mt()+500,jn(0))}}break;case 31:case 13:m=Zl(i,2),m!==null&&ft(m,i,2),ei(),Ir(i,2)}if(i=es(a),i===null&&qr(e,t,a,pi,l),i===n)break;n=i}n!==null&&a.stopPropagation()}else qr(e,t,a,null,l)}}function es(e){return e=lc(e),ts(e)}var pi=null;function ts(e){if(pi=null,e=ra(e),e!==null){var t=d(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=h(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 pi=e,null}function wh(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"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(m0()){case Gs:return 2;case Xs:return 8;case uu:case y0:return 32;case Qs:return 268435456;default:return 32}default:return 32}}var ls=!1,jl=null,wl=null,Hl=null,Gn=new Map,Xn=new Map,Bl=[],Cp="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 Hh(e,t){switch(e){case"focusin":case"focusout":jl=null;break;case"dragenter":case"dragleave":wl=null;break;case"mouseover":case"mouseout":Hl=null;break;case"pointerover":case"pointerout":Gn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xn.delete(t.pointerId)}}function Qn(e,t,l,a,n,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:i,targetContainers:[n]},t!==null&&(t=sa(t),t!==null&&Mh(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function zp(e,t,l,a,n){switch(t){case"focusin":return jl=Qn(jl,e,t,l,a,n),!0;case"dragenter":return wl=Qn(wl,e,t,l,a,n),!0;case"mouseover":return Hl=Qn(Hl,e,t,l,a,n),!0;case"pointerover":var i=n.pointerId;return Gn.set(i,Qn(Gn.get(i)||null,e,t,l,a,n)),!0;case"gotpointercapture":return i=n.pointerId,Xn.set(i,Qn(Xn.get(i)||null,e,t,l,a,n)),!0}return!1}function Bh(e){var t=ra(e.target);if(t!==null){var l=d(t);if(l!==null){if(t=l.tag,t===13){if(t=h(l),t!==null){e.blockedOn=t,ks(e.priority,function(){jh(l)});return}}else if(t===31){if(t=p(l),t!==null){e.blockedOn=t,ks(e.priority,function(){jh(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 gi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=es(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);tc=a,l.target.dispatchEvent(a),tc=null}else return t=sa(l),t!==null&&Mh(t),e.blockedOn=l,!1;t.shift()}return!0}function Lh(e,t,l){gi(e)&&l.delete(t)}function Dp(){ls=!1,jl!==null&&gi(jl)&&(jl=null),wl!==null&&gi(wl)&&(wl=null),Hl!==null&&gi(Hl)&&(Hl=null),Gn.forEach(Lh),Xn.forEach(Lh)}function vi(e,t){e.blockedOn===t&&(e.blockedOn=null,ls||(ls=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Dp)))}var bi=null;function qh(e){bi!==e&&(bi=e,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){bi===e&&(bi=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],n=e[t+2];if(typeof a!="function"){if(ts(a||l)===null)continue;break}var i=sa(l);i!==null&&(e.splice(t,3),t-=3,er(i,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Va(e){function t(v){return vi(v,e)}jl!==null&&vi(jl,e),wl!==null&&vi(wl,e),Hl!==null&&vi(Hl,e),Gn.forEach(t),Xn.forEach(t);for(var l=0;l<Bl.length;l++){var a=Bl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Bl.length&&(l=Bl[0],l.blockedOn===null);)Bh(l),l.blockedOn===null&&Bl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],i=l[a+1],f=n[nt]||null;if(typeof i=="function")f||qh(l);else if(f){var m=null;if(i&&i.hasAttribute("formAction")){if(n=i,f=i[nt]||null)m=f.formAction;else if(ts(n)!==null)continue}else m=f.action;typeof m=="function"?l[a+1]=m:(l.splice(a,3),a-=3),qh(l)}}}function Yh(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(f){return n=f})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function as(e){this._internalRoot=e}Si.prototype.render=as.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var l=t.current,a=Rt();Dh(l,a,e,t,null,null)},Si.prototype.unmount=as.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Dh(e.current,2,null,e,null,null),ei(),t[ca]=null}};function Si(e){this._internalRoot=e}Si.prototype.unstable_scheduleHydration=function(e){if(e){var t=$s();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Bl.length&&t!==0&&t<Bl[l].priority;l++);Bl.splice(l,0,e),l===0&&Bh(e)}};var Gh=c.version;if(Gh!=="19.2.4")throw Error(r(527,Gh,"19.2.4"));X.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=y(t),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var Up={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ei=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ei.isDisabled&&Ei.supportsFiber)try{Wa=Ei.inject(Up),yt=Ei}catch{}}return Zn.createRoot=function(e,t){if(!o(e))throw Error(r(299));var l=!1,a="",n=$o,i=ko,f=Fo;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=Ch(e,1,!1,null,null,l,a,null,n,i,f,Yh),e[ca]=t.current,Lr(e),new as(t)},Zn.hydrateRoot=function(e,t,l){if(!o(e))throw Error(r(299));var a=!1,n="",i=$o,f=ko,m=Fo,v=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(f=l.onCaughtError),l.onRecoverableError!==void 0&&(m=l.onRecoverableError),l.formState!==void 0&&(v=l.formState)),t=Ch(e,1,!0,t,l??null,a,n,v,i,f,m,Yh),t.context=zh(null),l=t.current,a=Rt(),a=Ji(a),n=xl(a),n.callback=null,Rl(l,n,a),l=a,t.current.lanes=l,Pa(t,l),Vt(t),e[ca]=t.current,Lr(e),new Si(t)},Zn.version="19.2.4",Zn}var Wh;function Xp(){if(Wh)return is.exports;Wh=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),is.exports=Gp(),is.exports}var Qp=Xp();const Vp=xm(Qp);function Tm(u,c){return function(){return u.apply(c,arguments)}}const{toString:Zp}=Object.prototype,{getPrototypeOf:As}=Object,{iterator:Mi,toStringTag:Am}=Symbol,ji=(u=>c=>{const s=Zp.call(c);return u[s]||(u[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),Yt=u=>(u=u.toLowerCase(),c=>ji(c)===u),wi=u=>c=>typeof c===u,{isArray:Ka}=Array,Za=wi("undefined");function Fn(u){return u!==null&&!Za(u)&&u.constructor!==null&&!Za(u.constructor)&&ot(u.constructor.isBuffer)&&u.constructor.isBuffer(u)}const Om=Yt("ArrayBuffer");function Kp(u){let c;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?c=ArrayBuffer.isView(u):c=u&&u.buffer&&Om(u.buffer),c}const Jp=wi("string"),ot=wi("function"),Nm=wi("number"),Wn=u=>u!==null&&typeof u=="object",$p=u=>u===!0||u===!1,Ti=u=>{if(ji(u)!=="object")return!1;const c=As(u);return(c===null||c===Object.prototype||Object.getPrototypeOf(c)===null)&&!(Am in u)&&!(Mi in u)},kp=u=>{if(!Wn(u)||Fn(u))return!1;try{return Object.keys(u).length===0&&Object.getPrototypeOf(u)===Object.prototype}catch{return!1}},Fp=Yt("Date"),Wp=Yt("File"),Ip=Yt("Blob"),Pp=Yt("FileList"),eg=u=>Wn(u)&&ot(u.pipe),tg=u=>{let c;return u&&(typeof FormData=="function"&&u instanceof FormData||ot(u.append)&&((c=ji(u))==="formdata"||c==="object"&&ot(u.toString)&&u.toString()==="[object FormData]"))},lg=Yt("URLSearchParams"),[ag,ng,ug,ig]=["ReadableStream","Request","Response","Headers"].map(Yt),cg=u=>u.trim?u.trim():u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function In(u,c,{allOwnKeys:s=!1}={}){if(u===null||typeof u>"u")return;let r,o;if(typeof u!="object"&&(u=[u]),Ka(u))for(r=0,o=u.length;r<o;r++)c.call(null,u[r],r,u);else{if(Fn(u))return;const d=s?Object.getOwnPropertyNames(u):Object.keys(u),h=d.length;let p;for(r=0;r<h;r++)p=d[r],c.call(null,u[p],p,u)}}function _m(u,c){if(Fn(u))return null;c=c.toLowerCase();const s=Object.keys(u);let r=s.length,o;for(;r-- >0;)if(o=s[r],c===o.toLowerCase())return o;return null}const na=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Cm=u=>!Za(u)&&u!==na;function ps(){const{caseless:u,skipUndefined:c}=Cm(this)&&this||{},s={},r=(o,d)=>{if(d==="__proto__"||d==="constructor"||d==="prototype")return;const h=u&&_m(s,d)||d;Ti(s[h])&&Ti(o)?s[h]=ps(s[h],o):Ti(o)?s[h]=ps({},o):Ka(o)?s[h]=o.slice():(!c||!Za(o))&&(s[h]=o)};for(let o=0,d=arguments.length;o<d;o++)arguments[o]&&In(arguments[o],r);return s}const rg=(u,c,s,{allOwnKeys:r}={})=>(In(c,(o,d)=>{s&&ot(o)?Object.defineProperty(u,d,{value:Tm(o,s),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(u,d,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),u),sg=u=>(u.charCodeAt(0)===65279&&(u=u.slice(1)),u),fg=(u,c,s,r)=>{u.prototype=Object.create(c.prototype,r),Object.defineProperty(u.prototype,"constructor",{value:u,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(u,"super",{value:c.prototype}),s&&Object.assign(u.prototype,s)},og=(u,c,s,r)=>{let o,d,h;const p={};if(c=c||{},u==null)return c;do{for(o=Object.getOwnPropertyNames(u),d=o.length;d-- >0;)h=o[d],(!r||r(h,u,c))&&!p[h]&&(c[h]=u[h],p[h]=!0);u=s!==!1&&As(u)}while(u&&(!s||s(u,c))&&u!==Object.prototype);return c},dg=(u,c,s)=>{u=String(u),(s===void 0||s>u.length)&&(s=u.length),s-=c.length;const r=u.indexOf(c,s);return r!==-1&&r===s},hg=u=>{if(!u)return null;if(Ka(u))return u;let c=u.length;if(!Nm(c))return null;const s=new Array(c);for(;c-- >0;)s[c]=u[c];return s},mg=(u=>c=>u&&c instanceof u)(typeof Uint8Array<"u"&&As(Uint8Array)),yg=(u,c)=>{const r=(u&&u[Mi]).call(u);let o;for(;(o=r.next())&&!o.done;){const d=o.value;c.call(u,d[0],d[1])}},pg=(u,c)=>{let s;const r=[];for(;(s=u.exec(c))!==null;)r.push(s);return r},gg=Yt("HTMLFormElement"),vg=u=>u.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,r,o){return r.toUpperCase()+o}),Ih=(({hasOwnProperty:u})=>(c,s)=>u.call(c,s))(Object.prototype),bg=Yt("RegExp"),zm=(u,c)=>{const s=Object.getOwnPropertyDescriptors(u),r={};In(s,(o,d)=>{let h;(h=c(o,d,u))!==!1&&(r[d]=h||o)}),Object.defineProperties(u,r)},Sg=u=>{zm(u,(c,s)=>{if(ot(u)&&["arguments","caller","callee"].indexOf(s)!==-1)return!1;const r=u[s];if(ot(r)){if(c.enumerable=!1,"writable"in c){c.writable=!1;return}c.set||(c.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},Eg=(u,c)=>{const s={},r=o=>{o.forEach(d=>{s[d]=!0})};return Ka(u)?r(u):r(String(u).split(c)),s},xg=()=>{},Rg=(u,c)=>u!=null&&Number.isFinite(u=+u)?u:c;function Tg(u){return!!(u&&ot(u.append)&&u[Am]==="FormData"&&u[Mi])}const Ag=u=>{const c=new Array(10),s=(r,o)=>{if(Wn(r)){if(c.indexOf(r)>=0)return;if(Fn(r))return r;if(!("toJSON"in r)){c[o]=r;const d=Ka(r)?[]:{};return In(r,(h,p)=>{const g=s(h,o+1);!Za(g)&&(d[p]=g)}),c[o]=void 0,d}}return r};return s(u,0)},Og=Yt("AsyncFunction"),Ng=u=>u&&(Wn(u)||ot(u))&&ot(u.then)&&ot(u.catch),Dm=((u,c)=>u?setImmediate:c?((s,r)=>(na.addEventListener("message",({source:o,data:d})=>{o===na&&d===s&&r.length&&r.shift()()},!1),o=>{r.push(o),na.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",ot(na.postMessage)),_g=typeof queueMicrotask<"u"?queueMicrotask.bind(na):typeof process<"u"&&process.nextTick||Dm,Cg=u=>u!=null&&ot(u[Mi]),D={isArray:Ka,isArrayBuffer:Om,isBuffer:Fn,isFormData:tg,isArrayBufferView:Kp,isString:Jp,isNumber:Nm,isBoolean:$p,isObject:Wn,isPlainObject:Ti,isEmptyObject:kp,isReadableStream:ag,isRequest:ng,isResponse:ug,isHeaders:ig,isUndefined:Za,isDate:Fp,isFile:Wp,isBlob:Ip,isRegExp:bg,isFunction:ot,isStream:eg,isURLSearchParams:lg,isTypedArray:mg,isFileList:Pp,forEach:In,merge:ps,extend:rg,trim:cg,stripBOM:sg,inherits:fg,toFlatObject:og,kindOf:ji,kindOfTest:Yt,endsWith:dg,toArray:hg,forEachEntry:yg,matchAll:pg,isHTMLForm:gg,hasOwnProperty:Ih,hasOwnProp:Ih,reduceDescriptors:zm,freezeMethods:Sg,toObjectSet:Eg,toCamelCase:vg,noop:xg,toFiniteNumber:Rg,findKey:_m,global:na,isContextDefined:Cm,isSpecCompliantForm:Tg,toJSONObject:Ag,isAsyncFn:Og,isThenable:Ng,setImmediate:Dm,asap:_g,isIterable:Cg};let te=class Um extends Error{static from(c,s,r,o,d,h){const p=new Um(c.message,s||c.code,r,o,d);return p.cause=c,p.name=c.name,h&&Object.assign(p,h),p}constructor(c,s,r,o,d){super(c),this.name="AxiosError",this.isAxiosError=!0,s&&(this.code=s),r&&(this.config=r),o&&(this.request=o),d&&(this.response=d,this.status=d.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:D.toJSONObject(this.config),code:this.code,status:this.status}}};te.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";te.ERR_BAD_OPTION="ERR_BAD_OPTION";te.ECONNABORTED="ECONNABORTED";te.ETIMEDOUT="ETIMEDOUT";te.ERR_NETWORK="ERR_NETWORK";te.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";te.ERR_DEPRECATED="ERR_DEPRECATED";te.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";te.ERR_BAD_REQUEST="ERR_BAD_REQUEST";te.ERR_CANCELED="ERR_CANCELED";te.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";te.ERR_INVALID_URL="ERR_INVALID_URL";const zg=null;function gs(u){return D.isPlainObject(u)||D.isArray(u)}function Mm(u){return D.endsWith(u,"[]")?u.slice(0,-2):u}function Ph(u,c,s){return u?u.concat(c).map(function(o,d){return o=Mm(o),!s&&d?"["+o+"]":o}).join(s?".":""):c}function Dg(u){return D.isArray(u)&&!u.some(gs)}const Ug=D.toFlatObject(D,{},null,function(c){return/^is[A-Z]/.test(c)});function Hi(u,c,s){if(!D.isObject(u))throw new TypeError("target must be an object");c=c||new FormData,s=D.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(B,C){return!D.isUndefined(C[B])});const r=s.metaTokens,o=s.visitor||b,d=s.dots,h=s.indexes,g=(s.Blob||typeof Blob<"u"&&Blob)&&D.isSpecCompliantForm(c);if(!D.isFunction(o))throw new TypeError("visitor must be a function");function y(A){if(A===null)return"";if(D.isDate(A))return A.toISOString();if(D.isBoolean(A))return A.toString();if(!g&&D.isBlob(A))throw new te("Blob is not supported. Use a Buffer instead.");return D.isArrayBuffer(A)||D.isTypedArray(A)?g&&typeof Blob=="function"?new Blob([A]):Buffer.from(A):A}function b(A,B,C){let V=A;if(A&&!C&&typeof A=="object"){if(D.endsWith(B,"{}"))B=r?B:B.slice(0,-2),A=JSON.stringify(A);else if(D.isArray(A)&&Dg(A)||(D.isFileList(A)||D.endsWith(B,"[]"))&&(V=D.toArray(A)))return B=Mm(B),V.forEach(function(Z,Y){!(D.isUndefined(Z)||Z===null)&&c.append(h===!0?Ph([B],Y,d):h===null?B:B+"[]",y(Z))}),!1}return gs(A)?!0:(c.append(Ph(C,B,d),y(A)),!1)}const E=[],j=Object.assign(Ug,{defaultVisitor:b,convertValue:y,isVisitable:gs});function G(A,B){if(!D.isUndefined(A)){if(E.indexOf(A)!==-1)throw Error("Circular reference detected in "+B.join("."));E.push(A),D.forEach(A,function(V,I){(!(D.isUndefined(V)||V===null)&&o.call(c,V,D.isString(I)?I.trim():I,B,j))===!0&&G(V,B?B.concat(I):[I])}),E.pop()}}if(!D.isObject(u))throw new TypeError("data must be an object");return G(u),c}function em(u){const c={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(u).replace(/[!'()~]|%20|%00/g,function(r){return c[r]})}function Os(u,c){this._pairs=[],u&&Hi(u,this,c)}const jm=Os.prototype;jm.append=function(c,s){this._pairs.push([c,s])};jm.toString=function(c){const s=c?function(r){return c.call(this,r,em)}:em;return this._pairs.map(function(o){return s(o[0])+"="+s(o[1])},"").join("&")};function Mg(u){return encodeURIComponent(u).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function wm(u,c,s){if(!c)return u;const r=s&&s.encode||Mg,o=D.isFunction(s)?{serialize:s}:s,d=o&&o.serialize;let h;if(d?h=d(c,o):h=D.isURLSearchParams(c)?c.toString():new Os(c,o).toString(r),h){const p=u.indexOf("#");p!==-1&&(u=u.slice(0,p)),u+=(u.indexOf("?")===-1?"?":"&")+h}return u}class tm{constructor(){this.handlers=[]}use(c,s,r){return this.handlers.push({fulfilled:c,rejected:s,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(c){this.handlers[c]&&(this.handlers[c]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(c){D.forEach(this.handlers,function(r){r!==null&&c(r)})}}const Ns={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},jg=typeof URLSearchParams<"u"?URLSearchParams:Os,wg=typeof FormData<"u"?FormData:null,Hg=typeof Blob<"u"?Blob:null,Bg={isBrowser:!0,classes:{URLSearchParams:jg,FormData:wg,Blob:Hg},protocols:["http","https","file","blob","url","data"]},_s=typeof window<"u"&&typeof document<"u",vs=typeof navigator=="object"&&navigator||void 0,Lg=_s&&(!vs||["ReactNative","NativeScript","NS"].indexOf(vs.product)<0),qg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Yg=_s&&window.location.href||"http://localhost",Gg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:_s,hasStandardBrowserEnv:Lg,hasStandardBrowserWebWorkerEnv:qg,navigator:vs,origin:Yg},Symbol.toStringTag,{value:"Module"})),et={...Gg,...Bg};function Xg(u,c){return Hi(u,new et.classes.URLSearchParams,{visitor:function(s,r,o,d){return et.isNode&&D.isBuffer(s)?(this.append(r,s.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)},...c})}function Qg(u){return D.matchAll(/\w+|\[(\w*)]/g,u).map(c=>c[0]==="[]"?"":c[1]||c[0])}function Vg(u){const c={},s=Object.keys(u);let r;const o=s.length;let d;for(r=0;r<o;r++)d=s[r],c[d]=u[d];return c}function Hm(u){function c(s,r,o,d){let h=s[d++];if(h==="__proto__")return!0;const p=Number.isFinite(+h),g=d>=s.length;return h=!h&&D.isArray(o)?o.length:h,g?(D.hasOwnProp(o,h)?o[h]=[o[h],r]:o[h]=r,!p):((!o[h]||!D.isObject(o[h]))&&(o[h]=[]),c(s,r,o[h],d)&&D.isArray(o[h])&&(o[h]=Vg(o[h])),!p)}if(D.isFormData(u)&&D.isFunction(u.entries)){const s={};return D.forEachEntry(u,(r,o)=>{c(Qg(r),o,s,0)}),s}return null}function Zg(u,c,s){if(D.isString(u))try{return(c||JSON.parse)(u),D.trim(u)}catch(r){if(r.name!=="SyntaxError")throw r}return(s||JSON.stringify)(u)}const Pn={transitional:Ns,adapter:["xhr","http","fetch"],transformRequest:[function(c,s){const r=s.getContentType()||"",o=r.indexOf("application/json")>-1,d=D.isObject(c);if(d&&D.isHTMLForm(c)&&(c=new FormData(c)),D.isFormData(c))return o?JSON.stringify(Hm(c)):c;if(D.isArrayBuffer(c)||D.isBuffer(c)||D.isStream(c)||D.isFile(c)||D.isBlob(c)||D.isReadableStream(c))return c;if(D.isArrayBufferView(c))return c.buffer;if(D.isURLSearchParams(c))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),c.toString();let p;if(d){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Xg(c,this.formSerializer).toString();if((p=D.isFileList(c))||r.indexOf("multipart/form-data")>-1){const g=this.env&&this.env.FormData;return Hi(p?{"files[]":c}:c,g&&new g,this.formSerializer)}}return d||o?(s.setContentType("application/json",!1),Zg(c)):c}],transformResponse:[function(c){const s=this.transitional||Pn.transitional,r=s&&s.forcedJSONParsing,o=this.responseType==="json";if(D.isResponse(c)||D.isReadableStream(c))return c;if(c&&D.isString(c)&&(r&&!this.responseType||o)){const h=!(s&&s.silentJSONParsing)&&o;try{return JSON.parse(c,this.parseReviver)}catch(p){if(h)throw p.name==="SyntaxError"?te.from(p,te.ERR_BAD_RESPONSE,this,null,this.response):p}}return c}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:et.classes.FormData,Blob:et.classes.Blob},validateStatus:function(c){return c>=200&&c<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};D.forEach(["delete","get","head","post","put","patch"],u=>{Pn.headers[u]={}});const Kg=D.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Jg=u=>{const c={};let s,r,o;return u&&u.split(`
|
|
10
|
+
`).forEach(function(h){o=h.indexOf(":"),s=h.substring(0,o).trim().toLowerCase(),r=h.substring(o+1).trim(),!(!s||c[s]&&Kg[s])&&(s==="set-cookie"?c[s]?c[s].push(r):c[s]=[r]:c[s]=c[s]?c[s]+", "+r:r)}),c},lm=Symbol("internals");function Kn(u){return u&&String(u).trim().toLowerCase()}function Ai(u){return u===!1||u==null?u:D.isArray(u)?u.map(Ai):String(u)}function $g(u){const c=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=s.exec(u);)c[r[1]]=r[2];return c}const kg=u=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(u.trim());function fs(u,c,s,r,o){if(D.isFunction(r))return r.call(this,c,s);if(o&&(c=s),!!D.isString(c)){if(D.isString(r))return c.indexOf(r)!==-1;if(D.isRegExp(r))return r.test(c)}}function Fg(u){return u.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(c,s,r)=>s.toUpperCase()+r)}function Wg(u,c){const s=D.toCamelCase(" "+c);["get","set","has"].forEach(r=>{Object.defineProperty(u,r+s,{value:function(o,d,h){return this[r].call(this,c,o,d,h)},configurable:!0})})}let dt=class{constructor(c){c&&this.set(c)}set(c,s,r){const o=this;function d(p,g,y){const b=Kn(g);if(!b)throw new Error("header name must be a non-empty string");const E=D.findKey(o,b);(!E||o[E]===void 0||y===!0||y===void 0&&o[E]!==!1)&&(o[E||g]=Ai(p))}const h=(p,g)=>D.forEach(p,(y,b)=>d(y,b,g));if(D.isPlainObject(c)||c instanceof this.constructor)h(c,s);else if(D.isString(c)&&(c=c.trim())&&!kg(c))h(Jg(c),s);else if(D.isObject(c)&&D.isIterable(c)){let p={},g,y;for(const b of c){if(!D.isArray(b))throw TypeError("Object iterator must return a key-value pair");p[y=b[0]]=(g=p[y])?D.isArray(g)?[...g,b[1]]:[g,b[1]]:b[1]}h(p,s)}else c!=null&&d(s,c,r);return this}get(c,s){if(c=Kn(c),c){const r=D.findKey(this,c);if(r){const o=this[r];if(!s)return o;if(s===!0)return $g(o);if(D.isFunction(s))return s.call(this,o,r);if(D.isRegExp(s))return s.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(c,s){if(c=Kn(c),c){const r=D.findKey(this,c);return!!(r&&this[r]!==void 0&&(!s||fs(this,this[r],r,s)))}return!1}delete(c,s){const r=this;let o=!1;function d(h){if(h=Kn(h),h){const p=D.findKey(r,h);p&&(!s||fs(r,r[p],p,s))&&(delete r[p],o=!0)}}return D.isArray(c)?c.forEach(d):d(c),o}clear(c){const s=Object.keys(this);let r=s.length,o=!1;for(;r--;){const d=s[r];(!c||fs(this,this[d],d,c,!0))&&(delete this[d],o=!0)}return o}normalize(c){const s=this,r={};return D.forEach(this,(o,d)=>{const h=D.findKey(r,d);if(h){s[h]=Ai(o),delete s[d];return}const p=c?Fg(d):String(d).trim();p!==d&&delete s[d],s[p]=Ai(o),r[p]=!0}),this}concat(...c){return this.constructor.concat(this,...c)}toJSON(c){const s=Object.create(null);return D.forEach(this,(r,o)=>{r!=null&&r!==!1&&(s[o]=c&&D.isArray(r)?r.join(", "):r)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([c,s])=>c+": "+s).join(`
|
|
11
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(c){return c instanceof this?c:new this(c)}static concat(c,...s){const r=new this(c);return s.forEach(o=>r.set(o)),r}static accessor(c){const r=(this[lm]=this[lm]={accessors:{}}).accessors,o=this.prototype;function d(h){const p=Kn(h);r[p]||(Wg(o,h),r[p]=!0)}return D.isArray(c)?c.forEach(d):d(c),this}};dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);D.reduceDescriptors(dt.prototype,({value:u},c)=>{let s=c[0].toUpperCase()+c.slice(1);return{get:()=>u,set(r){this[s]=r}}});D.freezeMethods(dt);function os(u,c){const s=this||Pn,r=c||s,o=dt.from(r.headers);let d=r.data;return D.forEach(u,function(p){d=p.call(s,d,o.normalize(),c?c.status:void 0)}),o.normalize(),d}function Bm(u){return!!(u&&u.__CANCEL__)}let eu=class extends te{constructor(c,s,r){super(c??"canceled",te.ERR_CANCELED,s,r),this.name="CanceledError",this.__CANCEL__=!0}};function Lm(u,c,s){const r=s.config.validateStatus;!s.status||!r||r(s.status)?u(s):c(new te("Request failed with status code "+s.status,[te.ERR_BAD_REQUEST,te.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}function Ig(u){const c=/^([-+\w]{1,25})(:?\/\/|:)/.exec(u);return c&&c[1]||""}function Pg(u,c){u=u||10;const s=new Array(u),r=new Array(u);let o=0,d=0,h;return c=c!==void 0?c:1e3,function(g){const y=Date.now(),b=r[d];h||(h=y),s[o]=g,r[o]=y;let E=d,j=0;for(;E!==o;)j+=s[E++],E=E%u;if(o=(o+1)%u,o===d&&(d=(d+1)%u),y-h<c)return;const G=b&&y-b;return G?Math.round(j*1e3/G):void 0}}function ev(u,c){let s=0,r=1e3/c,o,d;const h=(y,b=Date.now())=>{s=b,o=null,d&&(clearTimeout(d),d=null),u(...y)};return[(...y)=>{const b=Date.now(),E=b-s;E>=r?h(y,b):(o=y,d||(d=setTimeout(()=>{d=null,h(o)},r-E)))},()=>o&&h(o)]}const zi=(u,c,s=3)=>{let r=0;const o=Pg(50,250);return ev(d=>{const h=d.loaded,p=d.lengthComputable?d.total:void 0,g=h-r,y=o(g),b=h<=p;r=h;const E={loaded:h,total:p,progress:p?h/p:void 0,bytes:g,rate:y||void 0,estimated:y&&p&&b?(p-h)/y:void 0,event:d,lengthComputable:p!=null,[c?"download":"upload"]:!0};u(E)},s)},am=(u,c)=>{const s=u!=null;return[r=>c[0]({lengthComputable:s,total:u,loaded:r}),c[1]]},nm=u=>(...c)=>D.asap(()=>u(...c)),tv=et.hasStandardBrowserEnv?((u,c)=>s=>(s=new URL(s,et.origin),u.protocol===s.protocol&&u.host===s.host&&(c||u.port===s.port)))(new URL(et.origin),et.navigator&&/(msie|trident)/i.test(et.navigator.userAgent)):()=>!0,lv=et.hasStandardBrowserEnv?{write(u,c,s,r,o,d,h){if(typeof document>"u")return;const p=[`${u}=${encodeURIComponent(c)}`];D.isNumber(s)&&p.push(`expires=${new Date(s).toUTCString()}`),D.isString(r)&&p.push(`path=${r}`),D.isString(o)&&p.push(`domain=${o}`),d===!0&&p.push("secure"),D.isString(h)&&p.push(`SameSite=${h}`),document.cookie=p.join("; ")},read(u){if(typeof document>"u")return null;const c=document.cookie.match(new RegExp("(?:^|; )"+u+"=([^;]*)"));return c?decodeURIComponent(c[1]):null},remove(u){this.write(u,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function av(u){return typeof u!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(u)}function nv(u,c){return c?u.replace(/\/?\/$/,"")+"/"+c.replace(/^\/+/,""):u}function qm(u,c,s){let r=!av(c);return u&&(r||s==!1)?nv(u,c):c}const um=u=>u instanceof dt?{...u}:u;function ia(u,c){c=c||{};const s={};function r(y,b,E,j){return D.isPlainObject(y)&&D.isPlainObject(b)?D.merge.call({caseless:j},y,b):D.isPlainObject(b)?D.merge({},b):D.isArray(b)?b.slice():b}function o(y,b,E,j){if(D.isUndefined(b)){if(!D.isUndefined(y))return r(void 0,y,E,j)}else return r(y,b,E,j)}function d(y,b){if(!D.isUndefined(b))return r(void 0,b)}function h(y,b){if(D.isUndefined(b)){if(!D.isUndefined(y))return r(void 0,y)}else return r(void 0,b)}function p(y,b,E){if(E in c)return r(y,b);if(E in u)return r(void 0,y)}const g={url:d,method:d,data:d,baseURL:h,transformRequest:h,transformResponse:h,paramsSerializer:h,timeout:h,timeoutMessage:h,withCredentials:h,withXSRFToken:h,adapter:h,responseType:h,xsrfCookieName:h,xsrfHeaderName:h,onUploadProgress:h,onDownloadProgress:h,decompress:h,maxContentLength:h,maxBodyLength:h,beforeRedirect:h,transport:h,httpAgent:h,httpsAgent:h,cancelToken:h,socketPath:h,responseEncoding:h,validateStatus:p,headers:(y,b,E)=>o(um(y),um(b),E,!0)};return D.forEach(Object.keys({...u,...c}),function(b){if(b==="__proto__"||b==="constructor"||b==="prototype")return;const E=D.hasOwnProp(g,b)?g[b]:o,j=E(u[b],c[b],b);D.isUndefined(j)&&E!==p||(s[b]=j)}),s}const Ym=u=>{const c=ia({},u);let{data:s,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:d,headers:h,auth:p}=c;if(c.headers=h=dt.from(h),c.url=wm(qm(c.baseURL,c.url,c.allowAbsoluteUrls),u.params,u.paramsSerializer),p&&h.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),D.isFormData(s)){if(et.hasStandardBrowserEnv||et.hasStandardBrowserWebWorkerEnv)h.setContentType(void 0);else if(D.isFunction(s.getHeaders)){const g=s.getHeaders(),y=["content-type","content-length"];Object.entries(g).forEach(([b,E])=>{y.includes(b.toLowerCase())&&h.set(b,E)})}}if(et.hasStandardBrowserEnv&&(r&&D.isFunction(r)&&(r=r(c)),r||r!==!1&&tv(c.url))){const g=o&&d&&lv.read(d);g&&h.set(o,g)}return c},uv=typeof XMLHttpRequest<"u",iv=uv&&function(u){return new Promise(function(s,r){const o=Ym(u);let d=o.data;const h=dt.from(o.headers).normalize();let{responseType:p,onUploadProgress:g,onDownloadProgress:y}=o,b,E,j,G,A;function B(){G&&G(),A&&A(),o.cancelToken&&o.cancelToken.unsubscribe(b),o.signal&&o.signal.removeEventListener("abort",b)}let C=new XMLHttpRequest;C.open(o.method.toUpperCase(),o.url,!0),C.timeout=o.timeout;function V(){if(!C)return;const Z=dt.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),k={data:!p||p==="text"||p==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:Z,config:u,request:C};Lm(function(F){s(F),B()},function(F){r(F),B()},k),C=null}"onloadend"in C?C.onloadend=V:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(V)},C.onabort=function(){C&&(r(new te("Request aborted",te.ECONNABORTED,u,C)),C=null)},C.onerror=function(Y){const k=Y&&Y.message?Y.message:"Network Error",ie=new te(k,te.ERR_NETWORK,u,C);ie.event=Y||null,r(ie),C=null},C.ontimeout=function(){let Y=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const k=o.transitional||Ns;o.timeoutErrorMessage&&(Y=o.timeoutErrorMessage),r(new te(Y,k.clarifyTimeoutError?te.ETIMEDOUT:te.ECONNABORTED,u,C)),C=null},d===void 0&&h.setContentType(null),"setRequestHeader"in C&&D.forEach(h.toJSON(),function(Y,k){C.setRequestHeader(k,Y)}),D.isUndefined(o.withCredentials)||(C.withCredentials=!!o.withCredentials),p&&p!=="json"&&(C.responseType=o.responseType),y&&([j,A]=zi(y,!0),C.addEventListener("progress",j)),g&&C.upload&&([E,G]=zi(g),C.upload.addEventListener("progress",E),C.upload.addEventListener("loadend",G)),(o.cancelToken||o.signal)&&(b=Z=>{C&&(r(!Z||Z.type?new eu(null,u,C):Z),C.abort(),C=null)},o.cancelToken&&o.cancelToken.subscribe(b),o.signal&&(o.signal.aborted?b():o.signal.addEventListener("abort",b)));const I=Ig(o.url);if(I&&et.protocols.indexOf(I)===-1){r(new te("Unsupported protocol "+I+":",te.ERR_BAD_REQUEST,u));return}C.send(d||null)})},cv=(u,c)=>{const{length:s}=u=u?u.filter(Boolean):[];if(c||s){let r=new AbortController,o;const d=function(y){if(!o){o=!0,p();const b=y instanceof Error?y:this.reason;r.abort(b instanceof te?b:new eu(b instanceof Error?b.message:b))}};let h=c&&setTimeout(()=>{h=null,d(new te(`timeout of ${c}ms exceeded`,te.ETIMEDOUT))},c);const p=()=>{u&&(h&&clearTimeout(h),h=null,u.forEach(y=>{y.unsubscribe?y.unsubscribe(d):y.removeEventListener("abort",d)}),u=null)};u.forEach(y=>y.addEventListener("abort",d));const{signal:g}=r;return g.unsubscribe=()=>D.asap(p),g}},rv=function*(u,c){let s=u.byteLength;if(s<c){yield u;return}let r=0,o;for(;r<s;)o=r+c,yield u.slice(r,o),r=o},sv=async function*(u,c){for await(const s of fv(u))yield*rv(s,c)},fv=async function*(u){if(u[Symbol.asyncIterator]){yield*u;return}const c=u.getReader();try{for(;;){const{done:s,value:r}=await c.read();if(s)break;yield r}}finally{await c.cancel()}},im=(u,c,s,r)=>{const o=sv(u,c);let d=0,h,p=g=>{h||(h=!0,r&&r(g))};return new ReadableStream({async pull(g){try{const{done:y,value:b}=await o.next();if(y){p(),g.close();return}let E=b.byteLength;if(s){let j=d+=E;s(j)}g.enqueue(new Uint8Array(b))}catch(y){throw p(y),y}},cancel(g){return p(g),o.return()}},{highWaterMark:2})},cm=64*1024,{isFunction:xi}=D,ov=(({Request:u,Response:c})=>({Request:u,Response:c}))(D.global),{ReadableStream:rm,TextEncoder:sm}=D.global,fm=(u,...c)=>{try{return!!u(...c)}catch{return!1}},dv=u=>{u=D.merge.call({skipUndefined:!0},ov,u);const{fetch:c,Request:s,Response:r}=u,o=c?xi(c):typeof fetch=="function",d=xi(s),h=xi(r);if(!o)return!1;const p=o&&xi(rm),g=o&&(typeof sm=="function"?(A=>B=>A.encode(B))(new sm):async A=>new Uint8Array(await new s(A).arrayBuffer())),y=d&&p&&fm(()=>{let A=!1;const B=new s(et.origin,{body:new rm,method:"POST",get duplex(){return A=!0,"half"}}).headers.has("Content-Type");return A&&!B}),b=h&&p&&fm(()=>D.isReadableStream(new r("").body)),E={stream:b&&(A=>A.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(A=>{!E[A]&&(E[A]=(B,C)=>{let V=B&&B[A];if(V)return V.call(B);throw new te(`Response type '${A}' is not supported`,te.ERR_NOT_SUPPORT,C)})});const j=async A=>{if(A==null)return 0;if(D.isBlob(A))return A.size;if(D.isSpecCompliantForm(A))return(await new s(et.origin,{method:"POST",body:A}).arrayBuffer()).byteLength;if(D.isArrayBufferView(A)||D.isArrayBuffer(A))return A.byteLength;if(D.isURLSearchParams(A)&&(A=A+""),D.isString(A))return(await g(A)).byteLength},G=async(A,B)=>{const C=D.toFiniteNumber(A.getContentLength());return C??j(B)};return async A=>{let{url:B,method:C,data:V,signal:I,cancelToken:Z,timeout:Y,onDownloadProgress:k,onUploadProgress:ie,responseType:F,headers:Oe,withCredentials:je="same-origin",fetchOptions:ht}=Ym(A),tt=c||fetch;F=F?(F+"").toLowerCase():"text";let we=cv([I,Z&&Z.toAbortSignal()],Y),Ie=null;const qe=we&&we.unsubscribe&&(()=>{we.unsubscribe()});let ze;try{if(ie&&y&&C!=="get"&&C!=="head"&&(ze=await G(Oe,V))!==0){let S=new s(B,{method:"POST",body:V,duplex:"half"}),L;if(D.isFormData(V)&&(L=S.headers.get("content-type"))&&Oe.setContentType(L),S.body){const[Q,K]=am(ze,zi(nm(ie)));V=im(S.body,cm,Q,K)}}D.isString(je)||(je=je?"include":"omit");const M=d&&"credentials"in s.prototype,X={...ht,signal:we,method:C.toUpperCase(),headers:Oe.normalize().toJSON(),body:V,duplex:"half",credentials:M?je:void 0};Ie=d&&new s(B,X);let W=await(d?tt(Ie,ht):tt(B,X));const pe=b&&(F==="stream"||F==="response");if(b&&(k||pe&&qe)){const S={};["status","statusText","headers"].forEach(le=>{S[le]=W[le]});const L=D.toFiniteNumber(W.headers.get("content-length")),[Q,K]=k&&am(L,zi(nm(k),!0))||[];W=new r(im(W.body,cm,Q,()=>{K&&K(),qe&&qe()}),S)}F=F||"text";let be=await E[D.findKey(E,F)||"text"](W,A);return!pe&&qe&&qe(),await new Promise((S,L)=>{Lm(S,L,{data:be,headers:dt.from(W.headers),status:W.status,statusText:W.statusText,config:A,request:Ie})})}catch(M){throw qe&&qe(),M&&M.name==="TypeError"&&/Load failed|fetch/i.test(M.message)?Object.assign(new te("Network Error",te.ERR_NETWORK,A,Ie,M&&M.response),{cause:M.cause||M}):te.from(M,M&&M.code,A,Ie,M&&M.response)}}},hv=new Map,Gm=u=>{let c=u&&u.env||{};const{fetch:s,Request:r,Response:o}=c,d=[r,o,s];let h=d.length,p=h,g,y,b=hv;for(;p--;)g=d[p],y=b.get(g),y===void 0&&b.set(g,y=p?new Map:dv(c)),b=y;return y};Gm();const Cs={http:zg,xhr:iv,fetch:{get:Gm}};D.forEach(Cs,(u,c)=>{if(u){try{Object.defineProperty(u,"name",{value:c})}catch{}Object.defineProperty(u,"adapterName",{value:c})}});const om=u=>`- ${u}`,mv=u=>D.isFunction(u)||u===null||u===!1;function yv(u,c){u=D.isArray(u)?u:[u];const{length:s}=u;let r,o;const d={};for(let h=0;h<s;h++){r=u[h];let p;if(o=r,!mv(r)&&(o=Cs[(p=String(r)).toLowerCase()],o===void 0))throw new te(`Unknown adapter '${p}'`);if(o&&(D.isFunction(o)||(o=o.get(c))))break;d[p||"#"+h]=o}if(!o){const h=Object.entries(d).map(([g,y])=>`adapter ${g} `+(y===!1?"is not supported by the environment":"is not available in the build"));let p=s?h.length>1?`since :
|
|
12
|
+
`+h.map(om).join(`
|
|
13
|
+
`):" "+om(h[0]):"as no adapter specified";throw new te("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return o}const Xm={getAdapter:yv,adapters:Cs};function ds(u){if(u.cancelToken&&u.cancelToken.throwIfRequested(),u.signal&&u.signal.aborted)throw new eu(null,u)}function dm(u){return ds(u),u.headers=dt.from(u.headers),u.data=os.call(u,u.transformRequest),["post","put","patch"].indexOf(u.method)!==-1&&u.headers.setContentType("application/x-www-form-urlencoded",!1),Xm.getAdapter(u.adapter||Pn.adapter,u)(u).then(function(r){return ds(u),r.data=os.call(u,u.transformResponse,r),r.headers=dt.from(r.headers),r},function(r){return Bm(r)||(ds(u),r&&r.response&&(r.response.data=os.call(u,u.transformResponse,r.response),r.response.headers=dt.from(r.response.headers))),Promise.reject(r)})}const Qm="1.13.5",Bi={};["object","boolean","number","function","string","symbol"].forEach((u,c)=>{Bi[u]=function(r){return typeof r===u||"a"+(c<1?"n ":" ")+u}});const hm={};Bi.transitional=function(c,s,r){function o(d,h){return"[Axios v"+Qm+"] Transitional option '"+d+"'"+h+(r?". "+r:"")}return(d,h,p)=>{if(c===!1)throw new te(o(h," has been removed"+(s?" in "+s:"")),te.ERR_DEPRECATED);return s&&!hm[h]&&(hm[h]=!0,console.warn(o(h," has been deprecated since v"+s+" and will be removed in the near future"))),c?c(d,h,p):!0}};Bi.spelling=function(c){return(s,r)=>(console.warn(`${r} is likely a misspelling of ${c}`),!0)};function pv(u,c,s){if(typeof u!="object")throw new te("options must be an object",te.ERR_BAD_OPTION_VALUE);const r=Object.keys(u);let o=r.length;for(;o-- >0;){const d=r[o],h=c[d];if(h){const p=u[d],g=p===void 0||h(p,d,u);if(g!==!0)throw new te("option "+d+" must be "+g,te.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new te("Unknown option "+d,te.ERR_BAD_OPTION)}}const Oi={assertOptions:pv,validators:Bi},jt=Oi.validators;let ua=class{constructor(c){this.defaults=c||{},this.interceptors={request:new tm,response:new tm}}async request(c,s){try{return await this._request(c,s)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const d=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?d&&!String(r.stack).endsWith(d.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
14
|
+
`+d):r.stack=d}catch{}}throw r}}_request(c,s){typeof c=="string"?(s=s||{},s.url=c):s=c||{},s=ia(this.defaults,s);const{transitional:r,paramsSerializer:o,headers:d}=s;r!==void 0&&Oi.assertOptions(r,{silentJSONParsing:jt.transitional(jt.boolean),forcedJSONParsing:jt.transitional(jt.boolean),clarifyTimeoutError:jt.transitional(jt.boolean),legacyInterceptorReqResOrdering:jt.transitional(jt.boolean)},!1),o!=null&&(D.isFunction(o)?s.paramsSerializer={serialize:o}:Oi.assertOptions(o,{encode:jt.function,serialize:jt.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Oi.assertOptions(s,{baseUrl:jt.spelling("baseURL"),withXsrfToken:jt.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let h=d&&D.merge(d.common,d[s.method]);d&&D.forEach(["delete","get","head","post","put","patch","common"],A=>{delete d[A]}),s.headers=dt.concat(h,d);const p=[];let g=!0;this.interceptors.request.forEach(function(B){if(typeof B.runWhen=="function"&&B.runWhen(s)===!1)return;g=g&&B.synchronous;const C=s.transitional||Ns;C&&C.legacyInterceptorReqResOrdering?p.unshift(B.fulfilled,B.rejected):p.push(B.fulfilled,B.rejected)});const y=[];this.interceptors.response.forEach(function(B){y.push(B.fulfilled,B.rejected)});let b,E=0,j;if(!g){const A=[dm.bind(this),void 0];for(A.unshift(...p),A.push(...y),j=A.length,b=Promise.resolve(s);E<j;)b=b.then(A[E++],A[E++]);return b}j=p.length;let G=s;for(;E<j;){const A=p[E++],B=p[E++];try{G=A(G)}catch(C){B.call(this,C);break}}try{b=dm.call(this,G)}catch(A){return Promise.reject(A)}for(E=0,j=y.length;E<j;)b=b.then(y[E++],y[E++]);return b}getUri(c){c=ia(this.defaults,c);const s=qm(c.baseURL,c.url,c.allowAbsoluteUrls);return wm(s,c.params,c.paramsSerializer)}};D.forEach(["delete","get","head","options"],function(c){ua.prototype[c]=function(s,r){return this.request(ia(r||{},{method:c,url:s,data:(r||{}).data}))}});D.forEach(["post","put","patch"],function(c){function s(r){return function(d,h,p){return this.request(ia(p||{},{method:c,headers:r?{"Content-Type":"multipart/form-data"}:{},url:d,data:h}))}}ua.prototype[c]=s(),ua.prototype[c+"Form"]=s(!0)});let gv=class Vm{constructor(c){if(typeof c!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(d){s=d});const r=this;this.promise.then(o=>{if(!r._listeners)return;let d=r._listeners.length;for(;d-- >0;)r._listeners[d](o);r._listeners=null}),this.promise.then=o=>{let d;const h=new Promise(p=>{r.subscribe(p),d=p}).then(o);return h.cancel=function(){r.unsubscribe(d)},h},c(function(d,h,p){r.reason||(r.reason=new eu(d,h,p),s(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(c){if(this.reason){c(this.reason);return}this._listeners?this._listeners.push(c):this._listeners=[c]}unsubscribe(c){if(!this._listeners)return;const s=this._listeners.indexOf(c);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const c=new AbortController,s=r=>{c.abort(r)};return this.subscribe(s),c.signal.unsubscribe=()=>this.unsubscribe(s),c.signal}static source(){let c;return{token:new Vm(function(o){c=o}),cancel:c}}};function vv(u){return function(s){return u.apply(null,s)}}function bv(u){return D.isObject(u)&&u.isAxiosError===!0}const bs={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(bs).forEach(([u,c])=>{bs[c]=u});function Zm(u){const c=new ua(u),s=Tm(ua.prototype.request,c);return D.extend(s,ua.prototype,c,{allOwnKeys:!0}),D.extend(s,c,null,{allOwnKeys:!0}),s.create=function(o){return Zm(ia(u,o))},s}const he=Zm(Pn);he.Axios=ua;he.CanceledError=eu;he.CancelToken=gv;he.isCancel=Bm;he.VERSION=Qm;he.toFormData=Hi;he.AxiosError=te;he.Cancel=he.CanceledError;he.all=function(c){return Promise.all(c)};he.spread=vv;he.isAxiosError=bv;he.mergeConfig=ia;he.AxiosHeaders=dt;he.formToJSON=u=>Hm(D.isHTMLForm(u)?new FormData(u):u);he.getAdapter=Xm.getAdapter;he.HttpStatusCode=bs;he.default=he;const{Axios:Ab,AxiosError:Ob,CanceledError:Nb,isCancel:_b,CancelToken:Cb,VERSION:zb,all:Db,Cancel:Ub,isAxiosError:Mb,spread:jb,toFormData:wb,AxiosHeaders:Hb,HttpStatusCode:Bb,formToJSON:Lb,getAdapter:qb,mergeConfig:Yb}=he;var mm="popstate";function ym(u){return typeof u=="object"&&u!=null&&"pathname"in u&&"search"in u&&"hash"in u&&"state"in u&&"key"in u}function Sv(u={}){function c(r,o){let d=o.state?.masked,{pathname:h,search:p,hash:g}=d||r.location;return Ss("",{pathname:h,search:p,hash:g},o.state&&o.state.usr||null,o.state&&o.state.key||"default",d?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function s(r,o){return typeof o=="string"?o:kn(o)}return xv(c,s,null,u)}function De(u,c){if(u===!1||u===null||typeof u>"u")throw new Error(c)}function qt(u,c){if(!u){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function Ev(){return Math.random().toString(36).substring(2,10)}function pm(u,c){return{usr:u.state,key:u.key,idx:c,masked:u.unstable_mask?{pathname:u.pathname,search:u.search,hash:u.hash}:void 0}}function Ss(u,c,s=null,r,o){return{pathname:typeof u=="string"?u:u.pathname,search:"",hash:"",...typeof c=="string"?Ja(c):c,state:s,key:c&&c.key||r||Ev(),unstable_mask:o}}function kn({pathname:u="/",search:c="",hash:s=""}){return c&&c!=="?"&&(u+=c.charAt(0)==="?"?c:"?"+c),s&&s!=="#"&&(u+=s.charAt(0)==="#"?s:"#"+s),u}function Ja(u){let c={};if(u){let s=u.indexOf("#");s>=0&&(c.hash=u.substring(s),u=u.substring(0,s));let r=u.indexOf("?");r>=0&&(c.search=u.substring(r),u=u.substring(0,r)),u&&(c.pathname=u)}return c}function xv(u,c,s,r={}){let{window:o=document.defaultView,v5Compat:d=!1}=r,h=o.history,p="POP",g=null,y=b();y==null&&(y=0,h.replaceState({...h.state,idx:y},""));function b(){return(h.state||{idx:null}).idx}function E(){p="POP";let C=b(),V=C==null?null:C-y;y=C,g&&g({action:p,location:B.location,delta:V})}function j(C,V){p="PUSH";let I=ym(C)?C:Ss(B.location,C,V);y=b()+1;let Z=pm(I,y),Y=B.createHref(I.unstable_mask||I);try{h.pushState(Z,"",Y)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;o.location.assign(Y)}d&&g&&g({action:p,location:B.location,delta:1})}function G(C,V){p="REPLACE";let I=ym(C)?C:Ss(B.location,C,V);y=b();let Z=pm(I,y),Y=B.createHref(I.unstable_mask||I);h.replaceState(Z,"",Y),d&&g&&g({action:p,location:B.location,delta:0})}function A(C){return Rv(C)}let B={get action(){return p},get location(){return u(o,h)},listen(C){if(g)throw new Error("A history only accepts one active listener");return o.addEventListener(mm,E),g=C,()=>{o.removeEventListener(mm,E),g=null}},createHref(C){return c(o,C)},createURL:A,encodeLocation(C){let V=A(C);return{pathname:V.pathname,search:V.search,hash:V.hash}},push:j,replace:G,go(C){return h.go(C)}};return B}function Rv(u,c=!1){let s="http://localhost";typeof window<"u"&&(s=window.location.origin!=="null"?window.location.origin:window.location.href),De(s,"No window.location.(origin|href) available to create URL");let r=typeof u=="string"?u:kn(u);return r=r.replace(/ $/,"%20"),!c&&r.startsWith("//")&&(r=s+r),new URL(r,s)}function Km(u,c,s="/"){return Tv(u,c,s,!1)}function Tv(u,c,s,r){let o=typeof c=="string"?Ja(c):c,d=ol(o.pathname||"/",s);if(d==null)return null;let h=Jm(u);Av(h);let p=null;for(let g=0;p==null&&g<h.length;++g){let y=Hv(d);p=jv(h[g],y,r)}return p}function Jm(u,c=[],s=[],r="",o=!1){let d=(h,p,g=o,y)=>{let b={relativePath:y===void 0?h.path||"":y,caseSensitive:h.caseSensitive===!0,childrenIndex:p,route:h};if(b.relativePath.startsWith("/")){if(!b.relativePath.startsWith(r)&&g)return;De(b.relativePath.startsWith(r),`Absolute route path "${b.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(r.length)}let E=Zt([r,b.relativePath]),j=s.concat(b);h.children&&h.children.length>0&&(De(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${E}".`),Jm(h.children,c,j,E,g)),!(h.path==null&&!h.index)&&c.push({path:E,score:Uv(E,h.index),routesMeta:j})};return u.forEach((h,p)=>{if(h.path===""||!h.path?.includes("?"))d(h,p);else for(let g of $m(h.path))d(h,p,!0,g)}),c}function $m(u){let c=u.split("/");if(c.length===0)return[];let[s,...r]=c,o=s.endsWith("?"),d=s.replace(/\?$/,"");if(r.length===0)return o?[d,""]:[d];let h=$m(r.join("/")),p=[];return p.push(...h.map(g=>g===""?d:[d,g].join("/"))),o&&p.push(...h),p.map(g=>u.startsWith("/")&&g===""?"/":g)}function Av(u){u.sort((c,s)=>c.score!==s.score?s.score-c.score:Mv(c.routesMeta.map(r=>r.childrenIndex),s.routesMeta.map(r=>r.childrenIndex)))}var Ov=/^:[\w-]+$/,Nv=3,_v=2,Cv=1,zv=10,Dv=-2,gm=u=>u==="*";function Uv(u,c){let s=u.split("/"),r=s.length;return s.some(gm)&&(r+=Dv),c&&(r+=_v),s.filter(o=>!gm(o)).reduce((o,d)=>o+(Ov.test(d)?Nv:d===""?Cv:zv),r)}function Mv(u,c){return u.length===c.length&&u.slice(0,-1).every((r,o)=>r===c[o])?u[u.length-1]-c[c.length-1]:0}function jv(u,c,s=!1){let{routesMeta:r}=u,o={},d="/",h=[];for(let p=0;p<r.length;++p){let g=r[p],y=p===r.length-1,b=d==="/"?c:c.slice(d.length)||"/",E=Di({path:g.relativePath,caseSensitive:g.caseSensitive,end:y},b),j=g.route;if(!E&&y&&s&&!r[r.length-1].route.index&&(E=Di({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},b)),!E)return null;Object.assign(o,E.params),h.push({params:o,pathname:Zt([d,E.pathname]),pathnameBase:Yv(Zt([d,E.pathnameBase])),route:j}),E.pathnameBase!=="/"&&(d=Zt([d,E.pathnameBase]))}return h}function Di(u,c){typeof u=="string"&&(u={path:u,caseSensitive:!1,end:!0});let[s,r]=wv(u.path,u.caseSensitive,u.end),o=c.match(s);if(!o)return null;let d=o[0],h=d.replace(/(.)\/+$/,"$1"),p=o.slice(1);return{params:r.reduce((y,{paramName:b,isOptional:E},j)=>{if(b==="*"){let A=p[j]||"";h=d.slice(0,d.length-A.length).replace(/(.)\/+$/,"$1")}const G=p[j];return E&&!G?y[b]=void 0:y[b]=(G||"").replace(/%2F/g,"/"),y},{}),pathname:d,pathnameBase:h,pattern:u}}function wv(u,c=!1,s=!0){qt(u==="*"||!u.endsWith("*")||u.endsWith("/*"),`Route path "${u}" will be treated as if it were "${u.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${u.replace(/\*$/,"/*")}".`);let r=[],o="^"+u.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,p,g,y,b)=>{if(r.push({paramName:p,isOptional:g!=null}),g){let E=b.charAt(y+h.length);return E&&E!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return u.endsWith("*")?(r.push({paramName:"*"}),o+=u==="*"||u==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?o+="\\/*$":u!==""&&u!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,c?void 0:"i"),r]}function Hv(u){try{return u.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return qt(!1,`The URL path "${u}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${c}).`),u}}function ol(u,c){if(c==="/")return u;if(!u.toLowerCase().startsWith(c.toLowerCase()))return null;let s=c.endsWith("/")?c.length-1:c.length,r=u.charAt(s);return r&&r!=="/"?null:u.slice(s)||"/"}var Bv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Lv(u,c="/"){let{pathname:s,search:r="",hash:o=""}=typeof u=="string"?Ja(u):u,d;return s?(s=s.replace(/\/\/+/g,"/"),s.startsWith("/")?d=vm(s.substring(1),"/"):d=vm(s,c)):d=c,{pathname:d,search:Gv(r),hash:Xv(o)}}function vm(u,c){let s=c.replace(/\/+$/,"").split("/");return u.split("/").forEach(o=>{o===".."?s.length>1&&s.pop():o!=="."&&s.push(o)}),s.length>1?s.join("/"):"/"}function hs(u,c,s,r){return`Cannot include a '${u}' character in a manually specified \`to.${c}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function qv(u){return u.filter((c,s)=>s===0||c.route.path&&c.route.path.length>0)}function km(u){let c=qv(u);return c.map((s,r)=>r===c.length-1?s.pathname:s.pathnameBase)}function zs(u,c,s,r=!1){let o;typeof u=="string"?o=Ja(u):(o={...u},De(!o.pathname||!o.pathname.includes("?"),hs("?","pathname","search",o)),De(!o.pathname||!o.pathname.includes("#"),hs("#","pathname","hash",o)),De(!o.search||!o.search.includes("#"),hs("#","search","hash",o)));let d=u===""||o.pathname==="",h=d?"/":o.pathname,p;if(h==null)p=s;else{let E=c.length-1;if(!r&&h.startsWith("..")){let j=h.split("/");for(;j[0]==="..";)j.shift(),E-=1;o.pathname=j.join("/")}p=E>=0?c[E]:"/"}let g=Lv(o,p),y=h&&h!=="/"&&h.endsWith("/"),b=(d||h===".")&&s.endsWith("/");return!g.pathname.endsWith("/")&&(y||b)&&(g.pathname+="/"),g}var Zt=u=>u.join("/").replace(/\/\/+/g,"/"),Yv=u=>u.replace(/\/+$/,"").replace(/^\/*/,"/"),Gv=u=>!u||u==="?"?"":u.startsWith("?")?u:"?"+u,Xv=u=>!u||u==="#"?"":u.startsWith("#")?u:"#"+u,Qv=class{constructor(u,c,s,r=!1){this.status=u,this.statusText=c||"",this.internal=r,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function Vv(u){return u!=null&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.internal=="boolean"&&"data"in u}function Zv(u){return u.map(c=>c.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Fm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Wm(u,c){let s=u;if(typeof s!="string"||!Bv.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let r=s,o=!1;if(Fm)try{let d=new URL(window.location.href),h=s.startsWith("//")?new URL(d.protocol+s):new URL(s),p=ol(h.pathname,c);h.origin===d.origin&&p!=null?s=p+h.search+h.hash:o=!0}catch{qt(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Im=["POST","PUT","PATCH","DELETE"];new Set(Im);var Kv=["GET",...Im];new Set(Kv);var $a=z.createContext(null);$a.displayName="DataRouter";var Li=z.createContext(null);Li.displayName="DataRouterState";var Jv=z.createContext(!1),Pm=z.createContext({isTransitioning:!1});Pm.displayName="ViewTransition";var $v=z.createContext(new Map);$v.displayName="Fetchers";var kv=z.createContext(null);kv.displayName="Await";var wt=z.createContext(null);wt.displayName="Navigation";var tu=z.createContext(null);tu.displayName="Location";var Kt=z.createContext({outlet:null,matches:[],isDataRoute:!1});Kt.displayName="Route";var Ds=z.createContext(null);Ds.displayName="RouteError";var e0="REACT_ROUTER_ERROR",Fv="REDIRECT",Wv="ROUTE_ERROR_RESPONSE";function Iv(u){if(u.startsWith(`${e0}:${Fv}:{`))try{let c=JSON.parse(u.slice(28));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string"&&typeof c.location=="string"&&typeof c.reloadDocument=="boolean"&&typeof c.replace=="boolean")return c}catch{}}function Pv(u){if(u.startsWith(`${e0}:${Wv}:{`))try{let c=JSON.parse(u.slice(40));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string")return new Qv(c.status,c.statusText,c.data)}catch{}}function e1(u,{relative:c}={}){De(lu(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:r}=z.useContext(wt),{hash:o,pathname:d,search:h}=au(u,{relative:c}),p=d;return s!=="/"&&(p=d==="/"?s:Zt([s,d])),r.createHref({pathname:p,search:h,hash:o})}function lu(){return z.useContext(tu)!=null}function dl(){return De(lu(),"useLocation() may be used only in the context of a <Router> component."),z.useContext(tu).location}var t0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function l0(u){z.useContext(wt).static||z.useLayoutEffect(u)}function ka(){let{isDataRoute:u}=z.useContext(Kt);return u?h1():t1()}function t1(){De(lu(),"useNavigate() may be used only in the context of a <Router> component.");let u=z.useContext($a),{basename:c,navigator:s}=z.useContext(wt),{matches:r}=z.useContext(Kt),{pathname:o}=dl(),d=JSON.stringify(km(r)),h=z.useRef(!1);return l0(()=>{h.current=!0}),z.useCallback((g,y={})=>{if(qt(h.current,t0),!h.current)return;if(typeof g=="number"){s.go(g);return}let b=zs(g,JSON.parse(d),o,y.relative==="path");u==null&&c!=="/"&&(b.pathname=b.pathname==="/"?c:Zt([c,b.pathname])),(y.replace?s.replace:s.push)(b,y.state,y)},[c,s,d,o,u])}z.createContext(null);function Us(){let{matches:u}=z.useContext(Kt),c=u[u.length-1];return c?c.params:{}}function au(u,{relative:c}={}){let{matches:s}=z.useContext(Kt),{pathname:r}=dl(),o=JSON.stringify(km(s));return z.useMemo(()=>zs(u,JSON.parse(o),r,c==="path"),[u,o,r,c])}function l1(u,c){return a0(u,c)}function a0(u,c,s){De(lu(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=z.useContext(wt),{matches:o}=z.useContext(Kt),d=o[o.length-1],h=d?d.params:{},p=d?d.pathname:"/",g=d?d.pathnameBase:"/",y=d&&d.route;{let C=y&&y.path||"";u0(p,!y||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${C}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
15
|
+
|
|
16
|
+
Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}/*`}">.`)}let b=dl(),E;if(c){let C=typeof c=="string"?Ja(c):c;De(g==="/"||C.pathname?.startsWith(g),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${C.pathname}" was given in the \`location\` prop.`),E=C}else E=b;let j=E.pathname||"/",G=j;if(g!=="/"){let C=g.replace(/^\//,"").split("/");G="/"+j.replace(/^\//,"").split("/").slice(C.length).join("/")}let A=Km(u,{pathname:G});qt(y||A!=null,`No routes matched location "${E.pathname}${E.search}${E.hash}" `),qt(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${E.pathname}${E.search}${E.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let B=c1(A&&A.map(C=>Object.assign({},C,{params:Object.assign({},h,C.params),pathname:Zt([g,r.encodeLocation?r.encodeLocation(C.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?g:Zt([g,r.encodeLocation?r.encodeLocation(C.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathnameBase])})),o,s);return c&&B?z.createElement(tu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...E},navigationType:"POP"}},B):B}function a1(){let u=d1(),c=Vv(u)?`${u.status} ${u.statusText}`:u instanceof Error?u.message:JSON.stringify(u),s=u instanceof Error?u.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},d={padding:"2px 4px",backgroundColor:r},h=null;return console.error("Error handled by React Router default ErrorBoundary:",u),h=z.createElement(z.Fragment,null,z.createElement("p",null,"💿 Hey developer 👋"),z.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",z.createElement("code",{style:d},"ErrorBoundary")," or"," ",z.createElement("code",{style:d},"errorElement")," prop on your route.")),z.createElement(z.Fragment,null,z.createElement("h2",null,"Unexpected Application Error!"),z.createElement("h3",{style:{fontStyle:"italic"}},c),s?z.createElement("pre",{style:o},s):null,h)}var n1=z.createElement(a1,null),n0=class extends z.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,c){return c.location!==u.location||c.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:c.error,location:c.location,revalidation:u.revalidation||c.revalidation}}componentDidCatch(u,c){this.props.onError?this.props.onError(u,c):console.error("React Router caught the following error during render",u)}render(){let u=this.state.error;if(this.context&&typeof u=="object"&&u&&"digest"in u&&typeof u.digest=="string"){const s=Pv(u.digest);s&&(u=s)}let c=u!==void 0?z.createElement(Kt.Provider,{value:this.props.routeContext},z.createElement(Ds.Provider,{value:u,children:this.props.component})):this.props.children;return this.context?z.createElement(u1,{error:u},c):c}};n0.contextType=Jv;var ms=new WeakMap;function u1({children:u,error:c}){let{basename:s}=z.useContext(wt);if(typeof c=="object"&&c&&"digest"in c&&typeof c.digest=="string"){let r=Iv(c.digest);if(r){let o=ms.get(c);if(o)throw o;let d=Wm(r.location,s);if(Fm&&!ms.get(c))if(d.isExternal||r.reloadDocument)window.location.href=d.absoluteURL||d.to;else{const h=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:r.replace}));throw ms.set(c,h),h}return z.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d.absoluteURL||d.to}`})}}return u}function i1({routeContext:u,match:c,children:s}){let r=z.useContext($a);return r&&r.static&&r.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=c.route.id),z.createElement(Kt.Provider,{value:u},s)}function c1(u,c=[],s){let r=s?.state;if(u==null){if(!r)return null;if(r.errors)u=r.matches;else if(c.length===0&&!r.initialized&&r.matches.length>0)u=r.matches;else return null}let o=u,d=r?.errors;if(d!=null){let b=o.findIndex(E=>E.route.id&&d?.[E.route.id]!==void 0);De(b>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),o=o.slice(0,Math.min(o.length,b+1))}let h=!1,p=-1;if(s&&r){h=r.renderFallback;for(let b=0;b<o.length;b++){let E=o[b];if((E.route.HydrateFallback||E.route.hydrateFallbackElement)&&(p=b),E.route.id){let{loaderData:j,errors:G}=r,A=E.route.loader&&!j.hasOwnProperty(E.route.id)&&(!G||G[E.route.id]===void 0);if(E.route.lazy||A){s.isStatic&&(h=!0),p>=0?o=o.slice(0,p+1):o=[o[0]];break}}}}let g=s?.onError,y=r&&g?(b,E)=>{g(b,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:Zv(r.matches),errorInfo:E})}:void 0;return o.reduceRight((b,E,j)=>{let G,A=!1,B=null,C=null;r&&(G=d&&E.route.id?d[E.route.id]:void 0,B=E.route.errorElement||n1,h&&(p<0&&j===0?(u0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),A=!0,C=null):p===j&&(A=!0,C=E.route.hydrateFallbackElement||null)));let V=c.concat(o.slice(0,j+1)),I=()=>{let Z;return G?Z=B:A?Z=C:E.route.Component?Z=z.createElement(E.route.Component,null):E.route.element?Z=E.route.element:Z=b,z.createElement(i1,{match:E,routeContext:{outlet:b,matches:V,isDataRoute:r!=null},children:Z})};return r&&(E.route.ErrorBoundary||E.route.errorElement||j===0)?z.createElement(n0,{location:r.location,revalidation:r.revalidation,component:B,error:G,children:I(),routeContext:{outlet:null,matches:V,isDataRoute:!0},onError:y}):I()},null)}function Ms(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function r1(u){let c=z.useContext($a);return De(c,Ms(u)),c}function s1(u){let c=z.useContext(Li);return De(c,Ms(u)),c}function f1(u){let c=z.useContext(Kt);return De(c,Ms(u)),c}function js(u){let c=f1(u),s=c.matches[c.matches.length-1];return De(s.route.id,`${u} can only be used on routes that contain a unique "id"`),s.route.id}function o1(){return js("useRouteId")}function d1(){let u=z.useContext(Ds),c=s1("useRouteError"),s=js("useRouteError");return u!==void 0?u:c.errors?.[s]}function h1(){let{router:u}=r1("useNavigate"),c=js("useNavigate"),s=z.useRef(!1);return l0(()=>{s.current=!0}),z.useCallback(async(o,d={})=>{qt(s.current,t0),s.current&&(typeof o=="number"?await u.navigate(o):await u.navigate(o,{fromRouteId:c,...d}))},[u,c])}var bm={};function u0(u,c,s){!c&&!bm[u]&&(bm[u]=!0,qt(!1,s))}z.memo(m1);function m1({routes:u,future:c,state:s,isStatic:r,onError:o}){return a0(u,void 0,{state:s,isStatic:r,onError:o})}function $n(u){De(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function y1({basename:u="/",children:c=null,location:s,navigationType:r="POP",navigator:o,static:d=!1,unstable_useTransitions:h}){De(!lu(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=u.replace(/^\/*/,"/"),g=z.useMemo(()=>({basename:p,navigator:o,static:d,unstable_useTransitions:h,future:{}}),[p,o,d,h]);typeof s=="string"&&(s=Ja(s));let{pathname:y="/",search:b="",hash:E="",state:j=null,key:G="default",unstable_mask:A}=s,B=z.useMemo(()=>{let C=ol(y,p);return C==null?null:{location:{pathname:C,search:b,hash:E,state:j,key:G,unstable_mask:A},navigationType:r}},[p,y,b,E,j,G,r,A]);return qt(B!=null,`<Router basename="${p}"> is not able to match the URL "${y}${b}${E}" because it does not start with the basename, so the <Router> won't render anything.`),B==null?null:z.createElement(wt.Provider,{value:g},z.createElement(tu.Provider,{children:c,value:B}))}function p1({children:u,location:c}){return l1(Es(u),c)}function Es(u,c=[]){let s=[];return z.Children.forEach(u,(r,o)=>{if(!z.isValidElement(r))return;let d=[...c,o];if(r.type===z.Fragment){s.push.apply(s,Es(r.props.children,d));return}De(r.type===$n,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),De(!r.props.index||!r.props.children,"An index route cannot have child routes.");let h={id:r.props.id||d.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(h.children=Es(r.props.children,d)),s.push(h)}),s}var Ni="get",_i="application/x-www-form-urlencoded";function qi(u){return typeof HTMLElement<"u"&&u instanceof HTMLElement}function g1(u){return qi(u)&&u.tagName.toLowerCase()==="button"}function v1(u){return qi(u)&&u.tagName.toLowerCase()==="form"}function b1(u){return qi(u)&&u.tagName.toLowerCase()==="input"}function S1(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function E1(u,c){return u.button===0&&(!c||c==="_self")&&!S1(u)}function xs(u=""){return new URLSearchParams(typeof u=="string"||Array.isArray(u)||u instanceof URLSearchParams?u:Object.keys(u).reduce((c,s)=>{let r=u[s];return c.concat(Array.isArray(r)?r.map(o=>[s,o]):[[s,r]])},[]))}function x1(u,c){let s=xs(u);return c&&c.forEach((r,o)=>{s.has(o)||c.getAll(o).forEach(d=>{s.append(o,d)})}),s}var Ri=null;function R1(){if(Ri===null)try{new FormData(document.createElement("form"),0),Ri=!1}catch{Ri=!0}return Ri}var T1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ys(u){return u!=null&&!T1.has(u)?(qt(!1,`"${u}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${_i}"`),null):u}function A1(u,c){let s,r,o,d,h;if(v1(u)){let p=u.getAttribute("action");r=p?ol(p,c):null,s=u.getAttribute("method")||Ni,o=ys(u.getAttribute("enctype"))||_i,d=new FormData(u)}else if(g1(u)||b1(u)&&(u.type==="submit"||u.type==="image")){let p=u.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=u.getAttribute("formaction")||p.getAttribute("action");if(r=g?ol(g,c):null,s=u.getAttribute("formmethod")||p.getAttribute("method")||Ni,o=ys(u.getAttribute("formenctype"))||ys(p.getAttribute("enctype"))||_i,d=new FormData(p,u),!R1()){let{name:y,type:b,value:E}=u;if(b==="image"){let j=y?`${y}.`:"";d.append(`${j}x`,"0"),d.append(`${j}y`,"0")}else y&&d.append(y,E)}}else{if(qi(u))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=Ni,r=null,o=_i,h=u}return d&&o==="text/plain"&&(h=d,d=void 0),{action:r,method:s.toLowerCase(),encType:o,formData:d,body:h}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ws(u,c){if(u===!1||u===null||typeof u>"u")throw new Error(c)}function O1(u,c,s,r){let o=typeof u=="string"?new URL(u,typeof window>"u"?"server://singlefetch/":window.location.origin):u;return s?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:o.pathname==="/"?o.pathname=`_root.${r}`:c&&ol(o.pathname,c)==="/"?o.pathname=`${c.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}async function N1(u,c){if(u.id in c)return c[u.id];try{let s=await import(u.module);return c[u.id]=s,s}catch(s){return console.error(`Error loading route module \`${u.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function _1(u){return u==null?!1:u.href==null?u.rel==="preload"&&typeof u.imageSrcSet=="string"&&typeof u.imageSizes=="string":typeof u.rel=="string"&&typeof u.href=="string"}async function C1(u,c,s){let r=await Promise.all(u.map(async o=>{let d=c.routes[o.route.id];if(d){let h=await N1(d,s);return h.links?h.links():[]}return[]}));return M1(r.flat(1).filter(_1).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Sm(u,c,s,r,o,d){let h=(g,y)=>s[y]?g.route.id!==s[y].route.id:!0,p=(g,y)=>s[y].pathname!==g.pathname||s[y].route.path?.endsWith("*")&&s[y].params["*"]!==g.params["*"];return d==="assets"?c.filter((g,y)=>h(g,y)||p(g,y)):d==="data"?c.filter((g,y)=>{let b=r.routes[g.route.id];if(!b||!b.hasLoader)return!1;if(h(g,y)||p(g,y))return!0;if(g.route.shouldRevalidate){let E=g.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:s[0]?.params||{},nextUrl:new URL(u,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof E=="boolean")return E}return!0}):[]}function z1(u,c,{includeHydrateFallback:s}={}){return D1(u.map(r=>{let o=c.routes[r.route.id];if(!o)return[];let d=[o.module];return o.clientActionModule&&(d=d.concat(o.clientActionModule)),o.clientLoaderModule&&(d=d.concat(o.clientLoaderModule)),s&&o.hydrateFallbackModule&&(d=d.concat(o.hydrateFallbackModule)),o.imports&&(d=d.concat(o.imports)),d}).flat(1))}function D1(u){return[...new Set(u)]}function U1(u){let c={},s=Object.keys(u).sort();for(let r of s)c[r]=u[r];return c}function M1(u,c){let s=new Set;return new Set(c),u.reduce((r,o)=>{let d=JSON.stringify(U1(o));return s.has(d)||(s.add(d),r.push({key:d,link:o})),r},[])}function i0(){let u=z.useContext($a);return ws(u,"You must render this element inside a <DataRouterContext.Provider> element"),u}function j1(){let u=z.useContext(Li);return ws(u,"You must render this element inside a <DataRouterStateContext.Provider> element"),u}var Hs=z.createContext(void 0);Hs.displayName="FrameworkContext";function c0(){let u=z.useContext(Hs);return ws(u,"You must render this element inside a <HydratedRouter> element"),u}function w1(u,c){let s=z.useContext(Hs),[r,o]=z.useState(!1),[d,h]=z.useState(!1),{onFocus:p,onBlur:g,onMouseEnter:y,onMouseLeave:b,onTouchStart:E}=c,j=z.useRef(null);z.useEffect(()=>{if(u==="render"&&h(!0),u==="viewport"){let B=V=>{V.forEach(I=>{h(I.isIntersecting)})},C=new IntersectionObserver(B,{threshold:.5});return j.current&&C.observe(j.current),()=>{C.disconnect()}}},[u]),z.useEffect(()=>{if(r){let B=setTimeout(()=>{h(!0)},100);return()=>{clearTimeout(B)}}},[r]);let G=()=>{o(!0)},A=()=>{o(!1),h(!1)};return s?u!=="intent"?[d,j,{}]:[d,j,{onFocus:Jn(p,G),onBlur:Jn(g,A),onMouseEnter:Jn(y,G),onMouseLeave:Jn(b,A),onTouchStart:Jn(E,G)}]:[!1,j,{}]}function Jn(u,c){return s=>{u&&u(s),s.defaultPrevented||c(s)}}function H1({page:u,...c}){let{router:s}=i0(),r=z.useMemo(()=>Km(s.routes,u,s.basename),[s.routes,u,s.basename]);return r?z.createElement(L1,{page:u,matches:r,...c}):null}function B1(u){let{manifest:c,routeModules:s}=c0(),[r,o]=z.useState([]);return z.useEffect(()=>{let d=!1;return C1(u,c,s).then(h=>{d||o(h)}),()=>{d=!0}},[u,c,s]),r}function L1({page:u,matches:c,...s}){let r=dl(),{future:o,manifest:d,routeModules:h}=c0(),{basename:p}=i0(),{loaderData:g,matches:y}=j1(),b=z.useMemo(()=>Sm(u,c,y,d,r,"data"),[u,c,y,d,r]),E=z.useMemo(()=>Sm(u,c,y,d,r,"assets"),[u,c,y,d,r]),j=z.useMemo(()=>{if(u===r.pathname+r.search+r.hash)return[];let B=new Set,C=!1;if(c.forEach(I=>{let Z=d.routes[I.route.id];!Z||!Z.hasLoader||(!b.some(Y=>Y.route.id===I.route.id)&&I.route.id in g&&h[I.route.id]?.shouldRevalidate||Z.hasClientLoader?C=!0:B.add(I.route.id))}),B.size===0)return[];let V=O1(u,p,o.unstable_trailingSlashAwareDataRequests,"data");return C&&B.size>0&&V.searchParams.set("_routes",c.filter(I=>B.has(I.route.id)).map(I=>I.route.id).join(",")),[V.pathname+V.search]},[p,o.unstable_trailingSlashAwareDataRequests,g,r,d,b,c,u,h]),G=z.useMemo(()=>z1(E,d),[E,d]),A=B1(E);return z.createElement(z.Fragment,null,j.map(B=>z.createElement("link",{key:B,rel:"prefetch",as:"fetch",href:B,...s})),G.map(B=>z.createElement("link",{key:B,rel:"modulepreload",href:B,...s})),A.map(({key:B,link:C})=>z.createElement("link",{key:B,nonce:s.nonce,...C,crossOrigin:C.crossOrigin??s.crossOrigin})))}function q1(...u){return c=>{u.forEach(s=>{typeof s=="function"?s(c):s!=null&&(s.current=c)})}}var Y1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Y1&&(window.__reactRouterVersion="7.13.1")}catch{}function G1({basename:u,children:c,unstable_useTransitions:s,window:r}){let o=z.useRef();o.current==null&&(o.current=Sv({window:r,v5Compat:!0}));let d=o.current,[h,p]=z.useState({action:d.action,location:d.location}),g=z.useCallback(y=>{s===!1?p(y):z.startTransition(()=>p(y))},[s]);return z.useLayoutEffect(()=>d.listen(g),[d,g]),z.createElement(y1,{basename:u,children:c,location:h.location,navigationType:h.action,navigator:d,unstable_useTransitions:s})}var r0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Bs=z.forwardRef(function({onClick:c,discover:s="render",prefetch:r="none",relative:o,reloadDocument:d,replace:h,unstable_mask:p,state:g,target:y,to:b,preventScrollReset:E,viewTransition:j,unstable_defaultShouldRevalidate:G,...A},B){let{basename:C,navigator:V,unstable_useTransitions:I}=z.useContext(wt),Z=typeof b=="string"&&r0.test(b),Y=Wm(b,C);b=Y.to;let k=e1(b,{relative:o}),ie=dl(),F=null;if(p){let ze=zs(p,[],ie.unstable_mask?ie.unstable_mask.pathname:"/",!0);C!=="/"&&(ze.pathname=ze.pathname==="/"?C:Zt([C,ze.pathname])),F=V.createHref(ze)}let[Oe,je,ht]=w1(r,A),tt=Z1(b,{replace:h,unstable_mask:p,state:g,target:y,preventScrollReset:E,relative:o,viewTransition:j,unstable_defaultShouldRevalidate:G,unstable_useTransitions:I});function we(ze){c&&c(ze),ze.defaultPrevented||tt(ze)}let Ie=!(Y.isExternal||d),qe=z.createElement("a",{...A,...ht,href:(Ie?F:void 0)||Y.absoluteURL||k,onClick:Ie?we:c,ref:q1(B,je),target:y,"data-discover":!Z&&s==="render"?"true":void 0});return Oe&&!Z?z.createElement(z.Fragment,null,qe,z.createElement(H1,{page:k})):qe});Bs.displayName="Link";var X1=z.forwardRef(function({"aria-current":c="page",caseSensitive:s=!1,className:r="",end:o=!1,style:d,to:h,viewTransition:p,children:g,...y},b){let E=au(h,{relative:y.relative}),j=dl(),G=z.useContext(Li),{navigator:A,basename:B}=z.useContext(wt),C=G!=null&&W1(E)&&p===!0,V=A.encodeLocation?A.encodeLocation(E).pathname:E.pathname,I=j.pathname,Z=G&&G.navigation&&G.navigation.location?G.navigation.location.pathname:null;s||(I=I.toLowerCase(),Z=Z?Z.toLowerCase():null,V=V.toLowerCase()),Z&&B&&(Z=ol(Z,B)||Z);const Y=V!=="/"&&V.endsWith("/")?V.length-1:V.length;let k=I===V||!o&&I.startsWith(V)&&I.charAt(Y)==="/",ie=Z!=null&&(Z===V||!o&&Z.startsWith(V)&&Z.charAt(V.length)==="/"),F={isActive:k,isPending:ie,isTransitioning:C},Oe=k?c:void 0,je;typeof r=="function"?je=r(F):je=[r,k?"active":null,ie?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let ht=typeof d=="function"?d(F):d;return z.createElement(Bs,{...y,"aria-current":Oe,className:je,ref:b,style:ht,to:h,viewTransition:p},typeof g=="function"?g(F):g)});X1.displayName="NavLink";var Q1=z.forwardRef(({discover:u="render",fetcherKey:c,navigate:s,reloadDocument:r,replace:o,state:d,method:h=Ni,action:p,onSubmit:g,relative:y,preventScrollReset:b,viewTransition:E,unstable_defaultShouldRevalidate:j,...G},A)=>{let{unstable_useTransitions:B}=z.useContext(wt),C=k1(),V=F1(p,{relative:y}),I=h.toLowerCase()==="get"?"get":"post",Z=typeof p=="string"&&r0.test(p),Y=k=>{if(g&&g(k),k.defaultPrevented)return;k.preventDefault();let ie=k.nativeEvent.submitter,F=ie?.getAttribute("formmethod")||h,Oe=()=>C(ie||k.currentTarget,{fetcherKey:c,method:F,navigate:s,replace:o,state:d,relative:y,preventScrollReset:b,viewTransition:E,unstable_defaultShouldRevalidate:j});B&&s!==!1?z.startTransition(()=>Oe()):Oe()};return z.createElement("form",{ref:A,method:I,action:V,onSubmit:r?g:Y,...G,"data-discover":!Z&&u==="render"?"true":void 0})});Q1.displayName="Form";function V1(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function s0(u){let c=z.useContext($a);return De(c,V1(u)),c}function Z1(u,{target:c,replace:s,unstable_mask:r,state:o,preventScrollReset:d,relative:h,viewTransition:p,unstable_defaultShouldRevalidate:g,unstable_useTransitions:y}={}){let b=ka(),E=dl(),j=au(u,{relative:h});return z.useCallback(G=>{if(E1(G,c)){G.preventDefault();let A=s!==void 0?s:kn(E)===kn(j),B=()=>b(u,{replace:A,unstable_mask:r,state:o,preventScrollReset:d,relative:h,viewTransition:p,unstable_defaultShouldRevalidate:g});y?z.startTransition(()=>B()):B()}},[E,b,j,s,r,o,c,u,d,h,p,g,y])}function K1(u){qt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let c=z.useRef(xs(u)),s=z.useRef(!1),r=dl(),o=z.useMemo(()=>x1(r.search,s.current?null:c.current),[r.search]),d=ka(),h=z.useCallback((p,g)=>{const y=xs(typeof p=="function"?p(new URLSearchParams(o)):p);s.current=!0,d("?"+y,g)},[d,o]);return[o,h]}var J1=0,$1=()=>`__${String(++J1)}__`;function k1(){let{router:u}=s0("useSubmit"),{basename:c}=z.useContext(wt),s=o1(),r=u.fetch,o=u.navigate;return z.useCallback(async(d,h={})=>{let{action:p,method:g,encType:y,formData:b,body:E}=A1(d,c);if(h.navigate===!1){let j=h.fetcherKey||$1();await r(j,s,h.action||p,{unstable_defaultShouldRevalidate:h.unstable_defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:b,body:E,formMethod:h.method||g,formEncType:h.encType||y,flushSync:h.flushSync})}else await o(h.action||p,{unstable_defaultShouldRevalidate:h.unstable_defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:b,body:E,formMethod:h.method||g,formEncType:h.encType||y,replace:h.replace,state:h.state,fromRouteId:s,flushSync:h.flushSync,viewTransition:h.viewTransition})},[r,o,c,s])}function F1(u,{relative:c}={}){let{basename:s}=z.useContext(wt),r=z.useContext(Kt);De(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),d={...au(u||".",{relative:c})},h=dl();if(u==null){d.search=h.search;let p=new URLSearchParams(d.search),g=p.getAll("index");if(g.some(b=>b==="")){p.delete("index"),g.filter(E=>E).forEach(E=>p.append("index",E));let b=p.toString();d.search=b?`?${b}`:""}}return(!u||u===".")&&o.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(d.pathname=d.pathname==="/"?s:Zt([s,d.pathname])),kn(d)}function W1(u,{relative:c}={}){let s=z.useContext(Pm);De(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=s0("useViewTransitionState"),o=au(u,{relative:c});if(!s.isTransitioning)return!1;let d=ol(s.currentLocation.pathname,r)||s.currentLocation.pathname,h=ol(s.nextLocation.pathname,r)||s.nextLocation.pathname;return Di(o.pathname,h)!=null||Di(o.pathname,d)!=null}const f0=(...u)=>u.filter((c,s,r)=>!!c&&c.trim()!==""&&r.indexOf(c)===s).join(" ").trim();const I1=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const P1=u=>u.replace(/^([A-Z])|[\s-_]+(\w)/g,(c,s,r)=>r?r.toUpperCase():s.toLowerCase());const Em=u=>{const c=P1(u);return c.charAt(0).toUpperCase()+c.slice(1)};var eb={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"};const tb=u=>{for(const c in u)if(c.startsWith("aria-")||c==="role"||c==="title")return!0;return!1};const lb=z.forwardRef(({color:u="currentColor",size:c=24,strokeWidth:s=2,absoluteStrokeWidth:r,className:o="",children:d,iconNode:h,...p},g)=>z.createElement("svg",{ref:g,...eb,width:c,height:c,stroke:u,strokeWidth:r?Number(s)*24/Number(c):s,className:f0("lucide",o),...!d&&!tb(p)&&{"aria-hidden":"true"},...p},[...h.map(([y,b])=>z.createElement(y,b)),...Array.isArray(d)?d:[d]]));const hl=(u,c)=>{const s=z.forwardRef(({className:r,...o},d)=>z.createElement(lb,{ref:d,iconNode:c,className:f0(`lucide-${I1(Em(u))}`,`lucide-${u}`,r),...o}));return s.displayName=Em(u),s};const ab=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Ls=hl("arrow-left",ab);const nb=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ub=hl("chevron-right",nb);const ib=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],Ci=hl("file",ib);const cb=[["path",{d:"M18 19a5 5 0 0 1-5-5v8",key:"sz5oeg"}],["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]],Rs=hl("folder-git-2",cb);const rb=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],sb=hl("folder",rb);const fb=[["path",{d:"M10 16h.01",key:"1bzywj"}],["path",{d:"M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"18tbho"}],["path",{d:"M21.946 12.013H2.054",key:"zqlbp7"}],["path",{d:"M6 16h.01",key:"1pmjb7"}]],Ui=hl("hard-drive",fb);const ob=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],db=hl("plus",ob);const hb=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],mb=hl("search",hb);const yb=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],pb=hl("trash-2",yb);function gb(){return T.jsx("div",{className:"min-h-screen bg-[#0d1117] text-gray-200 p-8 font-sans",children:T.jsxs("div",{className:"max-w-5xl mx-auto space-y-8",children:[T.jsx("header",{className:"flex items-center justify-between border-b border-gray-800 pb-6",children:T.jsxs(Bs,{to:"/",className:"flex items-center gap-3",children:[T.jsx("div",{className:"p-3 bg-blue-500/10 rounded-xl",children:T.jsx(Rs,{className:"w-8 h-8 text-blue-400"})}),T.jsxs("div",{children:[T.jsx("h1",{className:"text-2xl font-bold text-white tracking-tight",children:"Git Drive"}),T.jsx("p",{className:"text-gray-400 text-sm",children:"Turn any drive into a git remote."})]})]})}),T.jsxs(p1,{children:[T.jsx($n,{path:"/",element:T.jsx(vb,{})}),T.jsx($n,{path:"/drives/:mountpoint",element:T.jsx(bb,{})}),T.jsx($n,{path:"/drives/:mountpoint/repos/:repoName",element:T.jsx(Sb,{})}),T.jsx($n,{path:"/drives/:mountpoint/repos/:repoName/commit/:hash",element:T.jsx(Eb,{})})]})]})})}function vb(){const[u,c]=z.useState([]),[s,r]=z.useState(!0),o=ka(),d=async()=>{try{const{data:p}=await he.get("/api/drives"),g=p.sort((y,b)=>y.hasGitDrive===b.hasGitDrive?0:y.hasGitDrive?-1:1);c(g)}catch(p){console.error(p)}finally{r(!1)}};z.useEffect(()=>{d()},[]);const h=async p=>{try{await he.post(`/api/drives/${encodeURIComponent(p)}/init`),d()}catch(g){alert(g.response?.data?.error||`Failed to initialize ${p}`)}};return T.jsxs("div",{className:"space-y-6 animate-in fade-in",children:[T.jsxs("h2",{className:"text-xl font-semibold text-white flex items-center gap-2",children:[T.jsx(Ui,{className:"w-5 h-5 text-gray-400"})," Connected Drives"]}),s?T.jsxs("div",{className:"animate-pulse flex gap-4",children:[T.jsx("div",{className:"h-24 w-full bg-gray-800/50 rounded-xl"}),T.jsx("div",{className:"h-24 w-full bg-gray-800/50 rounded-xl"})]}):T.jsx("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-2",children:u.map((p,g)=>{const y=p.mountpoints[0];return!y||p.isSystem?null:T.jsxs("div",{className:"group p-6 bg-gray-900 border border-gray-800 rounded-2xl hover:border-gray-700 hover:bg-gray-800/50 transition-all cursor-pointer shadow-lg shadow-black/20",onClick:()=>{p.hasGitDrive&&o(`/drives/${encodeURIComponent(y)}`)},children:[T.jsxs("div",{className:"flex justify-between items-start mb-4",children:[T.jsx("div",{className:"p-3 bg-gray-800 rounded-xl group-hover:bg-gray-700 transition-colors",children:T.jsx(Ui,{className:"w-6 h-6 text-gray-300"})}),p.hasGitDrive?T.jsx("span",{className:"px-3 py-1 bg-green-500/10 text-green-400 text-xs font-semibold rounded-full border border-green-500/20",children:"Ready"}):T.jsx("span",{className:"px-3 py-1 bg-gray-800 text-gray-400 text-xs font-semibold rounded-full border border-gray-700",children:"Unconfigured"})]}),T.jsx("h3",{className:"font-medium text-white text-lg mb-1 truncate",title:p.description,children:y}),T.jsxs("div",{className:"flex gap-2 text-xs text-gray-500 font-medium",children:[T.jsx("span",{className:"px-2 py-1 bg-gray-950 rounded-md border border-gray-800",children:p.device}),T.jsxs("span",{children:[(p.size/1024/1024/1024).toFixed(1)," GB"]})]}),!p.hasGitDrive&&T.jsx("button",{onClick:b=>{b.stopPropagation(),h(y)},className:"mt-6 w-full py-2 bg-blue-600 hover:bg-blue-500 text-white font-medium rounded-lg transition-colors cursor-pointer",children:"Initialize Git Drive"})]},g)})})]})}function bb(){const{mountpoint:u}=Us(),c=ka(),[s,r]=z.useState([]),[o,d]=z.useState({}),[h,p]=z.useState(null),g=async()=>{if(u)try{const{data:j}=await he.get(`/api/drives/${encodeURIComponent(u)}/repos`),G=j.repos||[];r(G),G.forEach(async A=>{try{const B=await he.get(`/api/drives/${encodeURIComponent(u)}/repos/${encodeURIComponent(A.name)}/local-status`);d(C=>({...C,[A.name]:B.data}))}catch{}})}catch(j){console.error(j)}};z.useEffect(()=>{g()},[u]);const y=async()=>{if(!u)return;const j=prompt("Repository Name:");if(j)try{await he.post(`/api/drives/${encodeURIComponent(u)}/repos`,{name:j}),g()}catch(G){console.error(G)}},b=async(j,G)=>{if(j.stopPropagation(),!!u){p(G);try{await he.post(`/api/drives/${encodeURIComponent(u)}/repos/${encodeURIComponent(G)}/push`),g()}catch(A){alert(A.response?.data?.error||`Failed to push ${G}`)}finally{p(null)}}},E=async j=>{if(u&&confirm(`Are you sure you want to delete ${j}?`))try{await he.delete(`/api/drives/${encodeURIComponent(u)}/repos/${encodeURIComponent(j)}`),g()}catch(G){console.error(G)}};return T.jsxs("div",{className:"space-y-6 animate-in slide-in-from-right-4 fade-in",children:[T.jsxs("div",{className:"flex items-center gap-4",children:[T.jsx("button",{onClick:()=>c("/"),className:"p-2 hover:bg-gray-800 rounded-xl transition-colors text-gray-400 hover:text-white",children:T.jsx(Ls,{className:"w-5 h-5"})}),T.jsxs("h2",{className:"text-xl font-semibold text-white flex items-center gap-2",children:[T.jsx(Ui,{className:"w-5 h-5 text-blue-400"}),u]})]}),T.jsxs("div",{className:"flex justify-between items-center bg-gray-900 border border-gray-800 p-4 rounded-2xl",children:[T.jsxs("div",{className:"flex items-center gap-3 px-3 py-2 bg-gray-950 border border-gray-800 rounded-lg w-full max-w-sm",children:[T.jsx(mb,{className:"w-4 h-4 text-gray-500"}),T.jsx("input",{type:"text",placeholder:"Filter repositories...",className:"bg-transparent border-none outline-none text-sm w-full text-white placeholder-gray-600"})]}),T.jsxs("button",{onClick:y,className:"flex items-center gap-2 px-4 py-2 bg-white text-black font-semibold rounded-lg hover:bg-gray-200 transition-colors cursor-pointer",children:[T.jsx(db,{className:"w-4 h-4"})," New Repository"]})]}),T.jsx("div",{className:"grid gap-4",children:s.length===0?T.jsxs("div",{className:"text-center py-20 border border-dashed border-gray-800 rounded-2xl",children:[T.jsx(Rs,{className:"w-12 h-12 text-gray-600 mx-auto mb-4"}),T.jsx("h3",{className:"text-lg font-medium text-white mb-2",children:"No repositories yet"}),T.jsx("p",{className:"text-gray-500 text-sm",children:"Create a new repository to get started backing up to this drive."})]}):s.map((j,G)=>T.jsxs("div",{className:"flex items-center justify-between p-5 bg-gray-900 border border-gray-800 rounded-2xl group hover:border-gray-700 transition-all cursor-pointer shadow-lg shadow-black/20",onClick:()=>c(`/drives/${encodeURIComponent(u)}/repos/${encodeURIComponent(j.name)}`),children:[T.jsxs("div",{className:"flex items-center gap-4",children:[T.jsx("div",{className:"p-3 bg-gray-800 rounded-xl text-blue-400 group-hover:bg-blue-500/10 transition-colors",children:T.jsx(Rs,{className:"w-6 h-6"})}),T.jsxs("div",{children:[T.jsx("h3",{className:"text-white font-medium text-lg leading-tight group-hover:text-blue-400 transition-colors",children:j.name}),T.jsx("p",{className:"text-gray-500 text-xs font-mono mt-1 opacity-60",children:j.path})]})]}),T.jsxs("div",{className:"flex items-center gap-4",children:[o[j.name]?.linked&&(o[j.name]?.hasChanges||o[j.name]?.unpushed)&&T.jsxs("div",{className:"flex items-center gap-2",children:[T.jsx("span",{className:"px-2 py-1 text-xs font-semibold bg-amber-500/10 text-amber-500 border border-amber-500/20 rounded-md",children:"Pending Changes"}),T.jsx("button",{onClick:A=>b(A,j.name),disabled:h===j.name,className:"text-xs px-3 py-1.5 bg-blue-600 hover:bg-blue-500 text-white font-medium rounded-lg transition-colors cursor-pointer disabled:opacity-50",children:h===j.name?"Pushing...":"Push to Drive"})]}),T.jsxs("div",{className:"text-right text-sm",children:[T.jsx("div",{className:"text-gray-400",children:"Modified"}),T.jsx("div",{className:"text-gray-500 font-medium",children:new Date(j.lastModified).toLocaleDateString()})]}),T.jsx("button",{onClick:A=>{A.stopPropagation(),E(j.name)},className:"p-3 text-red-500 hover:bg-red-500/10 rounded-xl opacity-0 group-hover:opacity-100 transition-all ml-4",title:"Delete Repository",children:T.jsx(pb,{className:"w-5 h-5"})})]})]},G))})]})}function Sb(){const{mountpoint:u,repoName:c}=Us(),[s,r]=K1(),o=ka(),d=s.get("branch")||"main",h=s.get("path")||"",p=s.get("view")||"code",[g,y]=z.useState([]),[b,E]=z.useState(null),[j,G]=z.useState(null),[A,B]=z.useState(null),[C,V]=z.useState(null);z.useEffect(()=>{!u||!c||he.get(`/api/drives/${encodeURIComponent(u)}/repos/${encodeURIComponent(c)}`).then(({data:Y})=>{if(B(Y),!s.has("branch")){let k="main";Y.branches&&Y.branches.length>0&&(Y.branches.includes("main")?k="main":Y.branches.includes("master")?k="master":k=Y.branches[0]),r({branch:k,path:h,view:p})}}).catch(console.error)},[u,c]);const I=async()=>{if(!(!u||!c||!d))if(p==="code")if(!h.includes("/")&&h!=="")try{const{data:Y}=await he.get(`/api/drives/${encodeURIComponent(u)}/repos/${encodeURIComponent(c)}/blob?branch=${encodeURIComponent(d)}&path=${encodeURIComponent(h)}`);E(typeof Y=="string"?Y:JSON.stringify(Y,null,2)),y([]),G(null)}catch{}else{E(null);try{const{data:Y}=await he.get(`/api/drives/${encodeURIComponent(u)}/repos/${encodeURIComponent(c)}/tree?branch=${encodeURIComponent(d)}&path=${encodeURIComponent(h)}`);y(Y.files||[]);const k=Y.files?.find(ie=>ie.name.toLowerCase()==="readme.md");if(k)try{const ie=await he.get(`/api/drives/${encodeURIComponent(u)}/repos/${encodeURIComponent(c)}/blob?branch=${encodeURIComponent(d)}&path=${encodeURIComponent(k.path)}`);G(ie.data)}catch{}else G(null)}catch{y([]),G(null)}}else try{const{data:Y}=await he.get(`/api/drives/${encodeURIComponent(u)}/repos/${encodeURIComponent(c)}/commits?branch=${encodeURIComponent(d)}`);V(Y)}catch{V(null)}};z.useEffect(()=>{I()},[u,c,d,h,p]);const Z=Y=>{if(Y===-1){r({branch:d,path:"",view:p});return}const ie=h.split("/").slice(0,Y+1).join("/")+"/";r({branch:d,path:ie,view:p})};return T.jsxs("div",{className:"space-y-4 animate-in slide-in-from-right-4 fade-in",children:[T.jsxs("div",{className:"flex items-center gap-4 font-mono text-sm bg-gray-900 border border-gray-800 p-4 rounded-xl",children:[T.jsx("button",{onClick:()=>o(`/drives/${encodeURIComponent(u)}`),className:"hover:text-white text-gray-400 transition-colors p-1",children:T.jsx(Ls,{className:"w-4 h-4"})}),T.jsxs("div",{className:"flex items-center gap-2 flex-wrap flex-1",children:[T.jsx("span",{className:"font-bold text-blue-400 hover:underline cursor-pointer",onClick:()=>Z(-1),children:c}),h.replace(/\/$/,"").split("/").filter(Boolean).map((Y,k,ie)=>T.jsxs(Rm.Fragment,{children:[T.jsx(ub,{className:"w-4 h-4 text-gray-600"}),T.jsx("span",{className:`hover:underline cursor-pointer ${k===ie.length-1&&!b?"text-white":"text-blue-400"}`,onClick:()=>Z(k),children:Y})]},k))]}),A&&T.jsxs("div",{className:"flex items-center gap-3",children:[T.jsxs("select",{value:d,onChange:Y=>{r({branch:Y.target.value,path:h,view:p})},className:"bg-gray-800 border border-gray-700 text-sm rounded-lg px-3 py-1.5 outline-none cursor-pointer focus:border-gray-500 font-sans",children:[A.branches&&A.branches.length>0&&T.jsx("optgroup",{label:"Branches",children:A.branches.map(Y=>T.jsx("option",{value:Y,children:Y},Y))}),A.tags&&A.tags.length>0&&T.jsx("optgroup",{label:"Tags",children:A.tags.map(Y=>T.jsx("option",{value:Y,children:Y},Y))})]}),T.jsxs("div",{className:"flex bg-gray-950 border border-gray-800 rounded-lg p-1 ml-2",children:[T.jsx("button",{onClick:()=>r({branch:d,path:h,view:"code"}),className:`px-3 py-1 text-xs font-semibold rounded-md transition-colors ${p==="code"?"bg-blue-600/20 text-blue-400":"text-gray-500 hover:text-gray-300 hover:bg-gray-800"}`,children:"Code"}),T.jsx("button",{onClick:()=>r({branch:d,path:h,view:"history"}),className:`px-3 py-1 text-xs font-semibold rounded-md transition-colors ${p==="history"?"bg-blue-600/20 text-blue-400":"text-gray-500 hover:text-gray-300 hover:bg-gray-800"}`,children:"History"})]})]})]}),p==="code"&&T.jsxs(T.Fragment,{children:[A?.lastCommit&&h===""&&T.jsxs("div",{className:"bg-gray-900 border border-gray-800 p-4 rounded-xl flex items-center justify-between shadow-lg shadow-black/20",children:[T.jsxs("div",{className:"flex items-center gap-3",children:[T.jsx("div",{className:"w-10 h-10 min-w-10 rounded-full bg-gray-800 border border-gray-700 flex items-center justify-center font-bold text-gray-300 shrink-0 uppercase overflow-hidden text-clip",children:A.lastCommit.hash.substring(0,5)}),T.jsxs("div",{children:[T.jsx("div",{className:"text-sm font-medium text-gray-200",children:A.lastCommit.message}),T.jsxs("div",{className:"text-xs text-gray-500 mt-0.5",children:["Committed on ",new Date(A.lastCommit.date).toLocaleString()]})]})]}),T.jsx("div",{className:"text-xs font-mono text-gray-500 bg-gray-950 px-2 py-1 rounded-md border border-gray-800",children:A.lastCommit.hash.substring(0,8)})]}),b!==null?T.jsxs("div",{className:"bg-gray-900 border border-gray-800 rounded-xl overflow-hidden shadow-lg shadow-black/40",children:[T.jsxs("div",{className:"bg-gray-800/80 px-4 py-2 border-b border-gray-700 text-xs font-mono text-gray-400 flex items-center gap-2",children:[T.jsx(Ci,{className:"w-4 h-4"}),h.split("/").pop()]}),T.jsx("pre",{className:"p-4 overflow-x-auto text-sm font-mono text-gray-300 leading-relaxed whitespace-pre",style:{tabSize:2},children:b})]}):T.jsxs(T.Fragment,{children:[T.jsx("div",{className:"bg-gray-900 border border-gray-800 rounded-xl shadow-lg shadow-black/20 overflow-hidden",children:g.length===0?T.jsx("div",{className:"p-8 text-center text-gray-500 text-sm",children:"This directory is empty or the repository has no commits yet."}):T.jsx("div",{className:"divide-y divide-gray-800/50",children:g.map((Y,k)=>T.jsxs("div",{className:"flex items-center gap-3 px-4 py-3 hover:bg-gray-800/50 cursor-pointer transition-colors group",onClick:()=>{Y.type==="tree"?r({branch:d,path:Y.path+"/",view:p}):r({branch:d,path:Y.path,view:p})},children:[Y.type==="tree"?T.jsx(sb,{className:"w-5 h-5 text-blue-400 fill-blue-400/20"}):T.jsx(Ci,{className:"w-5 h-5 text-gray-400 group-hover:text-gray-300"}),T.jsx("span",{className:`text-sm ${Y.type==="tree"?"text-white font-medium":"text-gray-300"}`,children:Y.name})]},k))})}),j&&T.jsxs("div",{className:"bg-gray-900 border border-gray-800 rounded-xl shadow-lg shadow-black/20 overflow-hidden mt-6",children:[T.jsxs("div",{className:"bg-gray-800/80 px-4 py-2 border-b border-gray-700 text-xs font-mono text-gray-400 flex items-center gap-2",children:[T.jsx(Ci,{className:"w-4 h-4"}),"README.md"]}),T.jsx("pre",{className:"p-6 overflow-x-auto text-sm font-sans text-gray-300 leading-relaxed whitespace-pre-wrap whitespace-normal",style:{tabSize:2},children:j})]})]})]}),p==="history"&&C&&T.jsxs("div",{className:"space-y-6",children:[C.pushLogs.length>0&&T.jsxs("div",{className:"space-y-3",children:[T.jsx("h3",{className:"text-sm font-bold text-gray-400 uppercase tracking-widest pl-1 border-b border-gray-800 pb-2",children:"Git Drive Transfer Logs"}),T.jsx("div",{className:"grid gap-3",children:C.pushLogs.map((Y,k)=>T.jsxs("div",{className:"bg-gray-900/50 border border-gray-800 rounded-xl p-4 flex gap-4 text-sm",children:[T.jsx("div",{className:"p-2 bg-blue-500/10 rounded-lg text-blue-400 h-fit",children:T.jsx(Ui,{className:"w-4 h-4"})}),T.jsxs("div",{className:"space-y-1 w-full",children:[T.jsxs("div",{className:"flex justify-between items-start text-gray-300",children:[T.jsxs("span",{className:"font-semibold text-white",children:[Y.user," pushed this repo"]}),T.jsx("span",{className:"text-xs text-gray-500",children:new Date(Y.date).toLocaleString()})]}),T.jsxs("div",{className:"text-gray-500 text-xs font-mono grid grid-cols-[80px_1fr] gap-x-2",children:[T.jsx("span",{children:"Computer:"}),T.jsx("span",{className:"text-gray-400",children:Y.computer}),T.jsx("span",{children:"Source:"}),T.jsx("span",{className:"text-gray-400 truncate",title:Y.localDir,children:Y.localDir}),T.jsx("span",{children:"Operation:"}),T.jsx("span",{className:"text-gray-400",children:Y.mode})]})]})]},k))})]}),T.jsxs("div",{className:"space-y-3 pt-4",children:[T.jsxs("h3",{className:"text-sm font-bold text-gray-400 uppercase tracking-widest pl-1 border-b border-gray-800 pb-2",children:["Git Commits (",d,")"]}),C.commits.length===0?T.jsx("div",{className:"text-gray-500 text-sm p-4 text-center",children:"No commits in this branch."}):T.jsx("div",{className:"bg-gray-900 border border-gray-800 rounded-xl divide-y divide-gray-800/50",children:C.commits.map((Y,k)=>T.jsxs("div",{className:"p-4 hover:bg-gray-800/30 transition-colors flex gap-4 items-start cursor-pointer group",onClick:()=>o(`/drives/${encodeURIComponent(u)}/repos/${encodeURIComponent(c)}/commit/${Y.hash}`),children:[T.jsx("div",{className:"w-10 h-10 min-w-10 rounded-full bg-gray-800 border border-gray-700 flex items-center justify-center font-bold text-gray-300 shrink-0 uppercase overflow-hidden text-clip group-hover:bg-blue-500/10 group-hover:border-blue-500/30 group-hover:text-blue-400 transition-colors",children:Y.author.substring(0,2)}),T.jsxs("div",{className:"w-full",children:[T.jsxs("div",{className:"flex justify-between gap-4",children:[T.jsx("div",{className:"font-medium text-gray-200 mb-1 leading-snug break-words group-hover:text-blue-400 transition-colors",children:Y.message}),T.jsx("div",{className:"text-xs font-mono text-gray-500 shrink-0 mt-1",children:Y.hash.substring(0,7)})]}),T.jsxs("div",{className:"text-xs text-gray-500 flex gap-2 items-center flex-wrap",children:[T.jsx("span",{className:"font-medium text-gray-400",children:Y.author}),T.jsx("span",{children:"•"}),T.jsx("span",{className:"opacity-75",children:Y.email}),T.jsx("span",{children:"•"}),T.jsx("span",{children:new Date(Y.date).toLocaleString()})]})]})]},k))})]})]})]})}function Eb(){const{mountpoint:u,repoName:c,hash:s}=Us(),r=ka(),[o,d]=z.useState(null);return z.useEffect(()=>{!u||!c||!s||he.get(`/api/drives/${encodeURIComponent(u)}/repos/${encodeURIComponent(c)}/commits/${s}`).then(({data:h})=>d(h)).catch(console.error)},[u,c,s]),o?T.jsxs("div",{className:"space-y-6 animate-in slide-in-from-right-4 fade-in",children:[T.jsxs("div",{className:"flex items-center gap-4",children:[T.jsx("button",{onClick:()=>r(-1),className:"p-2 hover:bg-gray-800 rounded-xl transition-colors text-gray-400 hover:text-white",children:T.jsx(Ls,{className:"w-5 h-5"})}),T.jsxs("div",{className:"text-xl font-semibold text-white",children:["Commit ",T.jsx("span",{className:"font-mono text-blue-400",children:o.hash.substring(0,7)})]})]}),T.jsxs("div",{className:"bg-gray-900 border border-gray-800 p-6 rounded-2xl flex items-start gap-4 shadow-lg shadow-black/20",children:[T.jsx("div",{className:"w-12 h-12 min-w-12 rounded-full bg-gray-800 border border-gray-700 flex items-center justify-center font-bold text-gray-300 shrink-0 uppercase overflow-hidden text-clip text-lg",children:o.author.substring(0,2)}),T.jsxs("div",{className:"space-y-2",children:[T.jsx("div",{className:"text-lg font-medium text-white",children:o.message}),T.jsxs("div",{className:"text-sm text-gray-500 flex gap-2 items-center flex-wrap",children:[T.jsx("span",{className:"font-medium text-gray-300",children:o.author}),T.jsxs("span",{className:"text-gray-600",children:["<",o.email,">"]}),T.jsxs("span",{children:["committed on ",new Date(o.date).toLocaleString()]})]})]})]}),T.jsxs("div",{className:"bg-gray-900 border border-gray-800 rounded-xl overflow-hidden shadow-lg shadow-black/40",children:[T.jsxs("div",{className:"bg-gray-800/80 px-4 py-3 border-b border-gray-700 text-sm font-semibold text-white flex items-center gap-2",children:[T.jsx(Ci,{className:"w-4 h-4 text-gray-400"}),"Diff Changes"]}),T.jsx("div",{className:"overflow-x-auto p-4 bg-[#0d1117]",children:o.patch.split(`
|
|
17
|
+
`).map((h,p)=>{let g="text-gray-300",y="bg-transparent";return h.startsWith("+")&&!h.startsWith("+++")?(g="text-green-400",y="bg-green-500/10"):h.startsWith("-")&&!h.startsWith("---")?(g="text-red-400",y="bg-red-500/10"):h.startsWith("@@")&&(g="text-blue-400 font-semibold",y="bg-blue-500/5"),T.jsx("pre",{className:`font-mono text-xs p-1 px-2 -mx-4 leading-relaxed ${g} ${y}`,style:{tabSize:2},children:h||" "},p)})})]})]}):T.jsxs("div",{className:"animate-pulse space-y-4",children:[T.jsx("div",{className:"h-20 bg-gray-800/50 rounded-xl"}),T.jsx("div",{className:"h-64 bg-gray-800/50 rounded-xl"})]})}Vp.createRoot(document.getElementById("root")).render(T.jsx(Rm.StrictMode,{children:T.jsx(G1,{children:T.jsx(gb,{})})}));
|