leglas 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/README.md +395 -0
- package/dist/args.d.ts +69 -0
- package/dist/baseline.d.ts +14 -0
- package/dist/bin.d.ts +2 -0
- package/dist/bin.js +2226 -0
- package/dist/briefs.d.ts +32 -0
- package/dist/ignore.d.ts +11 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +2086 -0
- package/dist/init.d.ts +13 -0
- package/dist/keep.d.ts +32 -0
- package/dist/new.d.ts +34 -0
- package/dist/run-classify.d.ts +14 -0
- package/dist/run-explore.d.ts +18 -0
- package/dist/run-init.d.ts +16 -0
- package/dist/run-keep.d.ts +12 -0
- package/dist/run-new.d.ts +23 -0
- package/dist/run-previews.d.ts +28 -0
- package/dist/run.d.ts +24 -0
- package/dist/shell/assets/Satoshi-Medium-ByP-Zb-9.woff2 +0 -0
- package/dist/shell/assets/Satoshi-Regular-CPM9dct4.woff2 +0 -0
- package/dist/shell/assets/index-D-nej-Uo.js +9 -0
- package/dist/shell/assets/index-DcVuoqfz.css +1 -0
- package/dist/shell/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2 +0 -0
- package/dist/shell/assets/manrope-greek-wght-normal-DL7QRZyv.woff2 +0 -0
- package/dist/shell/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2 +0 -0
- package/dist/shell/assets/manrope-latin-wght-normal-DHIcAJRg.woff2 +0 -0
- package/dist/shell/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2 +0 -0
- package/dist/shell/assets/outfit-latin-ext-wght-normal-DdQaqQDo.woff2 +0 -0
- package/dist/shell/assets/outfit-latin-wght-normal-Bc-8i84L.woff2 +0 -0
- package/dist/shell/assets/spline-sans-mono-latin-400-normal-739QRW1l.woff +0 -0
- package/dist/shell/assets/spline-sans-mono-latin-400-normal-mUpA6Mve.woff2 +0 -0
- package/dist/shell/assets/spline-sans-mono-latin-ext-400-normal-BfWvPoNT.woff2 +0 -0
- package/dist/shell/assets/spline-sans-mono-latin-ext-400-normal-BkT5i7fe.woff +0 -0
- package/dist/shell/index.html +14 -0
- package/package.json +35 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
(function(){const Y=document.createElement("link").relList;if(Y&&Y.supports&&Y.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))s(d);new MutationObserver(d=>{for(const j of d)if(j.type==="childList")for(const X of j.addedNodes)X.tagName==="LINK"&&X.rel==="modulepreload"&&s(X)}).observe(document,{childList:!0,subtree:!0});function N(d){const j={};return d.integrity&&(j.integrity=d.integrity),d.referrerPolicy&&(j.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?j.credentials="include":d.crossOrigin==="anonymous"?j.credentials="omit":j.credentials="same-origin",j}function s(d){if(d.ep)return;d.ep=!0;const j=N(d);fetch(d.href,j)}})();var xf={exports:{}},Qu={};var Md;function sh(){if(Md)return Qu;Md=1;var E=Symbol.for("react.transitional.element"),Y=Symbol.for("react.fragment");function N(s,d,j){var X=null;if(j!==void 0&&(X=""+j),d.key!==void 0&&(X=""+d.key),"key"in d){j={};for(var rt in d)rt!=="key"&&(j[rt]=d[rt])}else j=d;return d=j.ref,{$$typeof:E,type:s,key:X,ref:d!==void 0?d:null,props:j}}return Qu.Fragment=Y,Qu.jsx=N,Qu.jsxs=N,Qu}var Nd;function oh(){return Nd||(Nd=1,xf.exports=sh()),xf.exports}var g=oh(),zf={exports:{}},W={};var jd;function rh(){if(jd)return W;jd=1;var E=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),j=Symbol.for("react.consumer"),X=Symbol.for("react.context"),rt=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),D=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),ut=Symbol.iterator;function wt(r){return r===null||typeof r!="object"?null:(r=ut&&r[ut]||r["@@iterator"],typeof r=="function"?r:null)}var Bt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Mt=Object.assign,cl={};function Vt(r,z,M){this.props=r,this.context=z,this.refs=cl,this.updater=M||Bt}Vt.prototype.isReactComponent={},Vt.prototype.setState=function(r,z){if(typeof r!="object"&&typeof r!="function"&&r!=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,r,z,"setState")},Vt.prototype.forceUpdate=function(r){this.updater.enqueueForceUpdate(this,r,"forceUpdate")};function zt(){}zt.prototype=Vt.prototype;function _t(r,z,M){this.props=r,this.context=z,this.refs=cl,this.updater=M||Bt}var Kt=_t.prototype=new zt;Kt.constructor=_t,Mt(Kt,Vt.prototype),Kt.isPureReactComponent=!0;var Ft=Array.isArray;function Zt(){}var lt={H:null,A:null,T:null,S:null},Nt=Object.prototype.hasOwnProperty;function jt(r,z,M){var C=M.ref;return{$$typeof:E,type:r,key:z,ref:C!==void 0?C:null,props:M}}function Ol(r,z){return jt(r.type,z,r.props)}function qt(r){return typeof r=="object"&&r!==null&&r.$$typeof===E}function Tt(r){var z={"=":"=0",":":"=2"};return"$"+r.replace(/[=:]/g,function(M){return z[M]})}var pl=/\/+/g;function fl(r,z){return typeof r=="object"&&r!==null&&r.key!=null?Tt(""+r.key):z.toString(36)}function Jt(r){switch(r.status){case"fulfilled":return r.value;case"rejected":throw r.reason;default:switch(typeof r.status=="string"?r.then(Zt,Zt):(r.status="pending",r.then(function(z){r.status==="pending"&&(r.status="fulfilled",r.value=z)},function(z){r.status==="pending"&&(r.status="rejected",r.reason=z)})),r.status){case"fulfilled":return r.value;case"rejected":throw r.reason}}throw r}function S(r,z,M,C,$){var P=typeof r;(P==="undefined"||P==="boolean")&&(r=null);var ot=!1;if(r===null)ot=!0;else switch(P){case"bigint":case"string":case"number":ot=!0;break;case"object":switch(r.$$typeof){case E:case Y:ot=!0;break;case k:return ot=r._init,S(ot(r._payload),z,M,C,$)}}if(ot)return $=$(r),ot=C===""?"."+fl(r,0):C,Ft($)?(M="",ot!=null&&(M=ot.replace(pl,"$&/")+"/"),S($,z,M,"",function(F){return F})):$!=null&&(qt($)&&($=Ol($,M+($.key==null||r&&r.key===$.key?"":(""+$.key).replace(pl,"$&/")+"/")+ot)),z.push($)),1;ot=0;var _=C===""?".":C+":";if(Ft(r))for(var H=0;H<r.length;H++)C=r[H],P=_+fl(C,H),ot+=S(C,z,M,P,$);else if(H=wt(r),typeof H=="function")for(r=H.call(r),H=0;!(C=r.next()).done;)C=C.value,P=_+fl(C,H++),ot+=S(C,z,M,P,$);else if(P==="object"){if(typeof r.then=="function")return S(Jt(r),z,M,C,$);throw z=String(r),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return ot}function O(r,z,M){if(r==null)return r;var C=[],$=0;return S(r,C,"","",function(P){return z.call(M,P,$++)}),C}function Q(r){if(r._status===-1){var z=r._result;z=z(),z.then(function(M){(r._status===0||r._status===-1)&&(r._status=1,r._result=M)},function(M){(r._status===0||r._status===-1)&&(r._status=2,r._result=M)}),r._status===-1&&(r._status=0,r._result=z)}if(r._status===1)return r._result.default;throw r._result}var dt=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},et={map:O,forEach:function(r,z,M){O(r,function(){z.apply(this,arguments)},M)},count:function(r){var z=0;return O(r,function(){z++}),z},toArray:function(r){return O(r,function(z){return z})||[]},only:function(r){if(!qt(r))throw Error("React.Children.only expected to receive a single React element child.");return r}};return W.Activity=q,W.Children=et,W.Component=Vt,W.Fragment=N,W.Profiler=d,W.PureComponent=_t,W.StrictMode=s,W.Suspense=R,W.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=lt,W.__COMPILER_RUNTIME={__proto__:null,c:function(r){return lt.H.useMemoCache(r)}},W.cache=function(r){return function(){return r.apply(null,arguments)}},W.cacheSignal=function(){return null},W.cloneElement=function(r,z,M){if(r==null)throw Error("The argument must be a React element, but you passed "+r+".");var C=Mt({},r.props),$=r.key;if(z!=null)for(P in z.key!==void 0&&($=""+z.key),z)!Nt.call(z,P)||P==="key"||P==="__self"||P==="__source"||P==="ref"&&z.ref===void 0||(C[P]=z[P]);var P=arguments.length-2;if(P===1)C.children=M;else if(1<P){for(var ot=Array(P),_=0;_<P;_++)ot[_]=arguments[_+2];C.children=ot}return jt(r.type,$,C)},W.createContext=function(r){return r={$$typeof:X,_currentValue:r,_currentValue2:r,_threadCount:0,Provider:null,Consumer:null},r.Provider=r,r.Consumer={$$typeof:j,_context:r},r},W.createElement=function(r,z,M){var C,$={},P=null;if(z!=null)for(C in z.key!==void 0&&(P=""+z.key),z)Nt.call(z,C)&&C!=="key"&&C!=="__self"&&C!=="__source"&&($[C]=z[C]);var ot=arguments.length-2;if(ot===1)$.children=M;else if(1<ot){for(var _=Array(ot),H=0;H<ot;H++)_[H]=arguments[H+2];$.children=_}if(r&&r.defaultProps)for(C in ot=r.defaultProps,ot)$[C]===void 0&&($[C]=ot[C]);return jt(r,P,$)},W.createRef=function(){return{current:null}},W.forwardRef=function(r){return{$$typeof:rt,render:r}},W.isValidElement=qt,W.lazy=function(r){return{$$typeof:k,_payload:{_status:-1,_result:r},_init:Q}},W.memo=function(r,z){return{$$typeof:D,type:r,compare:z===void 0?null:z}},W.startTransition=function(r){var z=lt.T,M={};lt.T=M;try{var C=r(),$=lt.S;$!==null&&$(M,C),typeof C=="object"&&C!==null&&typeof C.then=="function"&&C.then(Zt,dt)}catch(P){dt(P)}finally{z!==null&&M.types!==null&&(z.types=M.types),lt.T=z}},W.unstable_useCacheRefresh=function(){return lt.H.useCacheRefresh()},W.use=function(r){return lt.H.use(r)},W.useActionState=function(r,z,M){return lt.H.useActionState(r,z,M)},W.useCallback=function(r,z){return lt.H.useCallback(r,z)},W.useContext=function(r){return lt.H.useContext(r)},W.useDebugValue=function(){},W.useDeferredValue=function(r,z){return lt.H.useDeferredValue(r,z)},W.useEffect=function(r,z){return lt.H.useEffect(r,z)},W.useEffectEvent=function(r){return lt.H.useEffectEvent(r)},W.useId=function(){return lt.H.useId()},W.useImperativeHandle=function(r,z,M){return lt.H.useImperativeHandle(r,z,M)},W.useInsertionEffect=function(r,z){return lt.H.useInsertionEffect(r,z)},W.useLayoutEffect=function(r,z){return lt.H.useLayoutEffect(r,z)},W.useMemo=function(r,z){return lt.H.useMemo(r,z)},W.useOptimistic=function(r,z){return lt.H.useOptimistic(r,z)},W.useReducer=function(r,z,M){return lt.H.useReducer(r,z,M)},W.useRef=function(r){return lt.H.useRef(r)},W.useState=function(r){return lt.H.useState(r)},W.useSyncExternalStore=function(r,z,M){return lt.H.useSyncExternalStore(r,z,M)},W.useTransition=function(){return lt.H.useTransition()},W.version="19.2.8",W}var Ud;function jf(){return Ud||(Ud=1,zf.exports=rh()),zf.exports}var Z=jf(),Tf={exports:{}},wu={},Af={exports:{}},Df={};var Cd;function dh(){return Cd||(Cd=1,(function(E){function Y(S,O){var Q=S.length;S.push(O);t:for(;0<Q;){var dt=Q-1>>>1,et=S[dt];if(0<d(et,O))S[dt]=O,S[Q]=et,Q=dt;else break t}}function N(S){return S.length===0?null:S[0]}function s(S){if(S.length===0)return null;var O=S[0],Q=S.pop();if(Q!==O){S[0]=Q;t:for(var dt=0,et=S.length,r=et>>>1;dt<r;){var z=2*(dt+1)-1,M=S[z],C=z+1,$=S[C];if(0>d(M,Q))C<et&&0>d($,M)?(S[dt]=$,S[C]=Q,dt=C):(S[dt]=M,S[z]=Q,dt=z);else if(C<et&&0>d($,Q))S[dt]=$,S[C]=Q,dt=C;else break t}}return O}function d(S,O){var Q=S.sortIndex-O.sortIndex;return Q!==0?Q:S.id-O.id}if(E.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var j=performance;E.unstable_now=function(){return j.now()}}else{var X=Date,rt=X.now();E.unstable_now=function(){return X.now()-rt}}var R=[],D=[],k=1,q=null,ut=3,wt=!1,Bt=!1,Mt=!1,cl=!1,Vt=typeof setTimeout=="function"?setTimeout:null,zt=typeof clearTimeout=="function"?clearTimeout:null,_t=typeof setImmediate<"u"?setImmediate:null;function Kt(S){for(var O=N(D);O!==null;){if(O.callback===null)s(D);else if(O.startTime<=S)s(D),O.sortIndex=O.expirationTime,Y(R,O);else break;O=N(D)}}function Ft(S){if(Mt=!1,Kt(S),!Bt)if(N(R)!==null)Bt=!0,Zt||(Zt=!0,Tt());else{var O=N(D);O!==null&&Jt(Ft,O.startTime-S)}}var Zt=!1,lt=-1,Nt=5,jt=-1;function Ol(){return cl?!0:!(E.unstable_now()-jt<Nt)}function qt(){if(cl=!1,Zt){var S=E.unstable_now();jt=S;var O=!0;try{t:{Bt=!1,Mt&&(Mt=!1,zt(lt),lt=-1),wt=!0;var Q=ut;try{l:{for(Kt(S),q=N(R);q!==null&&!(q.expirationTime>S&&Ol());){var dt=q.callback;if(typeof dt=="function"){q.callback=null,ut=q.priorityLevel;var et=dt(q.expirationTime<=S);if(S=E.unstable_now(),typeof et=="function"){q.callback=et,Kt(S),O=!0;break l}q===N(R)&&s(R),Kt(S)}else s(R);q=N(R)}if(q!==null)O=!0;else{var r=N(D);r!==null&&Jt(Ft,r.startTime-S),O=!1}}break t}finally{q=null,ut=Q,wt=!1}O=void 0}}finally{O?Tt():Zt=!1}}}var Tt;if(typeof _t=="function")Tt=function(){_t(qt)};else if(typeof MessageChannel<"u"){var pl=new MessageChannel,fl=pl.port2;pl.port1.onmessage=qt,Tt=function(){fl.postMessage(null)}}else Tt=function(){Vt(qt,0)};function Jt(S,O){lt=Vt(function(){S(E.unstable_now())},O)}E.unstable_IdlePriority=5,E.unstable_ImmediatePriority=1,E.unstable_LowPriority=4,E.unstable_NormalPriority=3,E.unstable_Profiling=null,E.unstable_UserBlockingPriority=2,E.unstable_cancelCallback=function(S){S.callback=null},E.unstable_forceFrameRate=function(S){0>S||125<S?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Nt=0<S?Math.floor(1e3/S):5},E.unstable_getCurrentPriorityLevel=function(){return ut},E.unstable_next=function(S){switch(ut){case 1:case 2:case 3:var O=3;break;default:O=ut}var Q=ut;ut=O;try{return S()}finally{ut=Q}},E.unstable_requestPaint=function(){cl=!0},E.unstable_runWithPriority=function(S,O){switch(S){case 1:case 2:case 3:case 4:case 5:break;default:S=3}var Q=ut;ut=S;try{return O()}finally{ut=Q}},E.unstable_scheduleCallback=function(S,O,Q){var dt=E.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?dt+Q:dt):Q=dt,S){case 1:var et=-1;break;case 2:et=250;break;case 5:et=1073741823;break;case 4:et=1e4;break;default:et=5e3}return et=Q+et,S={id:k++,callback:O,priorityLevel:S,startTime:Q,expirationTime:et,sortIndex:-1},Q>dt?(S.sortIndex=Q,Y(D,S),N(R)===null&&S===N(D)&&(Mt?(zt(lt),lt=-1):Mt=!0,Jt(Ft,Q-dt))):(S.sortIndex=et,Y(R,S),Bt||wt||(Bt=!0,Zt||(Zt=!0,Tt()))),S},E.unstable_shouldYield=Ol,E.unstable_wrapCallback=function(S){var O=ut;return function(){var Q=ut;ut=O;try{return S.apply(this,arguments)}finally{ut=Q}}}})(Df)),Df}var Hd;function mh(){return Hd||(Hd=1,Af.exports=dh()),Af.exports}var _f={exports:{}},il={};var Rd;function hh(){if(Rd)return il;Rd=1;var E=jf();function Y(R){var D="https://react.dev/errors/"+R;if(1<arguments.length){D+="?args[]="+encodeURIComponent(arguments[1]);for(var k=2;k<arguments.length;k++)D+="&args[]="+encodeURIComponent(arguments[k])}return"Minified React error #"+R+"; visit "+D+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function N(){}var s={d:{f:N,r:function(){throw Error(Y(522))},D:N,C:N,L:N,m:N,X:N,S:N,M:N},p:0,findDOMNode:null},d=Symbol.for("react.portal");function j(R,D,k){var q=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:q==null?null:""+q,children:R,containerInfo:D,implementation:k}}var X=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function rt(R,D){if(R==="font")return"";if(typeof D=="string")return D==="use-credentials"?D:""}return il.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,il.createPortal=function(R,D){var k=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!D||D.nodeType!==1&&D.nodeType!==9&&D.nodeType!==11)throw Error(Y(299));return j(R,D,null,k)},il.flushSync=function(R){var D=X.T,k=s.p;try{if(X.T=null,s.p=2,R)return R()}finally{X.T=D,s.p=k,s.d.f()}},il.preconnect=function(R,D){typeof R=="string"&&(D?(D=D.crossOrigin,D=typeof D=="string"?D==="use-credentials"?D:"":void 0):D=null,s.d.C(R,D))},il.prefetchDNS=function(R){typeof R=="string"&&s.d.D(R)},il.preinit=function(R,D){if(typeof R=="string"&&D&&typeof D.as=="string"){var k=D.as,q=rt(k,D.crossOrigin),ut=typeof D.integrity=="string"?D.integrity:void 0,wt=typeof D.fetchPriority=="string"?D.fetchPriority:void 0;k==="style"?s.d.S(R,typeof D.precedence=="string"?D.precedence:void 0,{crossOrigin:q,integrity:ut,fetchPriority:wt}):k==="script"&&s.d.X(R,{crossOrigin:q,integrity:ut,fetchPriority:wt,nonce:typeof D.nonce=="string"?D.nonce:void 0})}},il.preinitModule=function(R,D){if(typeof R=="string")if(typeof D=="object"&&D!==null){if(D.as==null||D.as==="script"){var k=rt(D.as,D.crossOrigin);s.d.M(R,{crossOrigin:k,integrity:typeof D.integrity=="string"?D.integrity:void 0,nonce:typeof D.nonce=="string"?D.nonce:void 0})}}else D==null&&s.d.M(R)},il.preload=function(R,D){if(typeof R=="string"&&typeof D=="object"&&D!==null&&typeof D.as=="string"){var k=D.as,q=rt(k,D.crossOrigin);s.d.L(R,k,{crossOrigin:q,integrity:typeof D.integrity=="string"?D.integrity:void 0,nonce:typeof D.nonce=="string"?D.nonce:void 0,type:typeof D.type=="string"?D.type:void 0,fetchPriority:typeof D.fetchPriority=="string"?D.fetchPriority:void 0,referrerPolicy:typeof D.referrerPolicy=="string"?D.referrerPolicy:void 0,imageSrcSet:typeof D.imageSrcSet=="string"?D.imageSrcSet:void 0,imageSizes:typeof D.imageSizes=="string"?D.imageSizes:void 0,media:typeof D.media=="string"?D.media:void 0})}},il.preloadModule=function(R,D){if(typeof R=="string")if(D){var k=rt(D.as,D.crossOrigin);s.d.m(R,{as:typeof D.as=="string"&&D.as!=="script"?D.as:void 0,crossOrigin:k,integrity:typeof D.integrity=="string"?D.integrity:void 0})}else s.d.m(R)},il.requestFormReset=function(R){s.d.r(R)},il.unstable_batchedUpdates=function(R,D){return R(D)},il.useFormState=function(R,D,k){return X.H.useFormState(R,D,k)},il.useFormStatus=function(){return X.H.useHostTransitionStatus()},il.version="19.2.8",il}var Bd;function vh(){if(Bd)return _f.exports;Bd=1;function E(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(E)}catch(Y){console.error(Y)}}return E(),_f.exports=hh(),_f.exports}var qd;function yh(){if(qd)return wu;qd=1;var E=mh(),Y=jf(),N=vh();function s(t){var l="https://react.dev/errors/"+t;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)l+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+t+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function j(t){var l=t,e=t;if(t.alternate)for(;l.return;)l=l.return;else{t=l;do l=t,(l.flags&4098)!==0&&(e=l.return),t=l.return;while(t)}return l.tag===3?e:null}function X(t){if(t.tag===13){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function rt(t){if(t.tag===31){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function R(t){if(j(t)!==t)throw Error(s(188))}function D(t){var l=t.alternate;if(!l){if(l=j(t),l===null)throw Error(s(188));return l!==t?null:t}for(var e=t,a=l;;){var u=e.return;if(u===null)break;var n=u.alternate;if(n===null){if(a=u.return,a!==null){e=a;continue}break}if(u.child===n.child){for(n=u.child;n;){if(n===e)return R(u),t;if(n===a)return R(u),l;n=n.sibling}throw Error(s(188))}if(e.return!==a.return)e=u,a=n;else{for(var i=!1,c=u.child;c;){if(c===e){i=!0,e=u,a=n;break}if(c===a){i=!0,a=u,e=n;break}c=c.sibling}if(!i){for(c=n.child;c;){if(c===e){i=!0,e=n,a=u;break}if(c===a){i=!0,a=n,e=u;break}c=c.sibling}if(!i)throw Error(s(189))}}if(e.alternate!==a)throw Error(s(190))}if(e.tag!==3)throw Error(s(188));return e.stateNode.current===e?t:l}function k(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t;for(t=t.child;t!==null;){if(l=k(t),l!==null)return l;t=t.sibling}return null}var q=Object.assign,ut=Symbol.for("react.element"),wt=Symbol.for("react.transitional.element"),Bt=Symbol.for("react.portal"),Mt=Symbol.for("react.fragment"),cl=Symbol.for("react.strict_mode"),Vt=Symbol.for("react.profiler"),zt=Symbol.for("react.consumer"),_t=Symbol.for("react.context"),Kt=Symbol.for("react.forward_ref"),Ft=Symbol.for("react.suspense"),Zt=Symbol.for("react.suspense_list"),lt=Symbol.for("react.memo"),Nt=Symbol.for("react.lazy"),jt=Symbol.for("react.activity"),Ol=Symbol.for("react.memo_cache_sentinel"),qt=Symbol.iterator;function Tt(t){return t===null||typeof t!="object"?null:(t=qt&&t[qt]||t["@@iterator"],typeof t=="function"?t:null)}var pl=Symbol.for("react.client.reference");function fl(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===pl?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Mt:return"Fragment";case Vt:return"Profiler";case cl:return"StrictMode";case Ft:return"Suspense";case Zt:return"SuspenseList";case jt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case Bt:return"Portal";case _t:return t.displayName||"Context";case zt:return(t._context.displayName||"Context")+".Consumer";case Kt:var l=t.render;return t=t.displayName,t||(t=l.displayName||l.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case lt:return l=t.displayName||null,l!==null?l:fl(t.type)||"Memo";case Nt:l=t._payload,t=t._init;try{return fl(t(l))}catch{}}return null}var Jt=Array.isArray,S=Y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=N.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},dt=[],et=-1;function r(t){return{current:t}}function z(t){0>et||(t.current=dt[et],dt[et]=null,et--)}function M(t,l){et++,dt[et]=t.current,t.current=l}var C=r(null),$=r(null),P=r(null),ot=r(null);function _(t,l){switch(M(P,l),M($,t),M(C,null),l.nodeType){case 9:case 11:t=(t=l.documentElement)&&(t=t.namespaceURI)?Ir(t):0;break;default:if(t=l.tagName,l=l.namespaceURI)l=Ir(l),t=Pr(l,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}z(C),M(C,t)}function H(){z(C),z($),z(P)}function F(t){t.memoizedState!==null&&M(ot,t);var l=C.current,e=Pr(l,t.type);l!==e&&(M($,t),M(C,e))}function It(t){$.current===t&&(z(C),z($)),ot.current===t&&(z(ot),qu._currentValue=Q)}var $t,ul;function nl(t){if($t===void 0)try{throw Error()}catch(e){var l=e.stack.trim().match(/\n( *(at )?)/);$t=l&&l[1]||"",ul=-1<e.stack.indexOf(`
|
|
2
|
+
at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
+
`+$t+t+ul}var ve=!1;function $l(t,l){if(!t||ve)return"";ve=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(l){var A=function(){throw Error()};if(Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(b){var y=b}Reflect.construct(t,[],A)}else{try{A.call()}catch(b){y=b}t.call(A.prototype)}}else{try{throw Error()}catch(b){y=b}(A=t())&&typeof A.catch=="function"&&A.catch(function(){})}}catch(b){if(b&&y&&typeof b.stack=="string")return[b.stack,y.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=a.DetermineComponentFrameRoot(),i=n[0],c=n[1];if(i&&c){var f=i.split(`
|
|
4
|
+
`),v=c.split(`
|
|
5
|
+
`);for(u=a=0;a<f.length&&!f[a].includes("DetermineComponentFrameRoot");)a++;for(;u<v.length&&!v[u].includes("DetermineComponentFrameRoot");)u++;if(a===f.length||u===v.length)for(a=f.length-1,u=v.length-1;1<=a&&0<=u&&f[a]!==v[u];)u--;for(;1<=a&&0<=u;a--,u--)if(f[a]!==v[u]){if(a!==1||u!==1)do if(a--,u--,0>u||f[a]!==v[u]){var x=`
|
|
6
|
+
`+f[a].replace(" at new "," at ");return t.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",t.displayName)),x}while(1<=a&&0<=u);break}}}finally{ve=!1,Error.prepareStackTrace=e}return(e=t?t.displayName||t.name:"")?nl(e):""}function fi(t,l){switch(t.tag){case 26:case 27:case 5:return nl(t.type);case 16:return nl("Lazy");case 13:return t.child!==l&&l!==null?nl("Suspense Fallback"):nl("Suspense");case 19:return nl("SuspenseList");case 0:case 15:return $l(t.type,!1);case 11:return $l(t.type.render,!1);case 1:return $l(t.type,!0);case 31:return nl("Activity");default:return""}}function Zu(t){try{var l="",e=null;do l+=fi(t,e),e=t,t=t.return;while(t);return l}catch(a){return`
|
|
7
|
+
Error generating stack: `+a.message+`
|
|
8
|
+
`+a.stack}}var $a=Object.prototype.hasOwnProperty,p=E.unstable_scheduleCallback,U=E.unstable_cancelCallback,L=E.unstable_shouldYield,I=E.unstable_requestPaint,K=E.unstable_now,J=E.unstable_getCurrentPriorityLevel,mt=E.unstable_ImmediatePriority,Xl=E.unstable_UserBlockingPriority,ol=E.unstable_NormalPriority,Ml=E.unstable_LowPriority,Ze=E.unstable_IdlePriority,Wl=E.log,Kd=E.unstable_setDisableYieldValue,Wa=null,bl=null;function ye(t){if(typeof Wl=="function"&&Kd(t),bl&&typeof bl.setStrictMode=="function")try{bl.setStrictMode(Wa,t)}catch{}}var Sl=Math.clz32?Math.clz32:Wd,Jd=Math.log,$d=Math.LN2;function Wd(t){return t>>>=0,t===0?32:31-(Jd(t)/$d|0)|0}var Lu=256,Vu=262144,Ku=4194304;function Le(t){var l=t&42;if(l!==0)return l;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Ju(t,l,e){var a=t.pendingLanes;if(a===0)return 0;var u=0,n=t.suspendedLanes,i=t.pingedLanes;t=t.warmLanes;var c=a&134217727;return c!==0?(a=c&~n,a!==0?u=Le(a):(i&=c,i!==0?u=Le(i):e||(e=c&~t,e!==0&&(u=Le(e))))):(c=a&~n,c!==0?u=Le(c):i!==0?u=Le(i):e||(e=a&~t,e!==0&&(u=Le(e)))),u===0?0:l!==0&&l!==u&&(l&n)===0&&(n=u&-u,e=l&-l,n>=e||n===32&&(e&4194048)!==0)?l:u}function ka(t,l){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&l)===0}function kd(t,l){switch(t){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Uf(){var t=Ku;return Ku<<=1,(Ku&62914560)===0&&(Ku=4194304),t}function si(t){for(var l=[],e=0;31>e;e++)l.push(t);return l}function Fa(t,l){t.pendingLanes|=l,l!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Fd(t,l,e,a,u,n){var i=t.pendingLanes;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=e,t.entangledLanes&=e,t.errorRecoveryDisabledLanes&=e,t.shellSuspendCounter=0;var c=t.entanglements,f=t.expirationTimes,v=t.hiddenUpdates;for(e=i&~e;0<e;){var x=31-Sl(e),A=1<<x;c[x]=0,f[x]=-1;var y=v[x];if(y!==null)for(v[x]=null,x=0;x<y.length;x++){var b=y[x];b!==null&&(b.lane&=-536870913)}e&=~A}a!==0&&Cf(t,a,0),n!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=n&~(i&~l))}function Cf(t,l,e){t.pendingLanes|=l,t.suspendedLanes&=~l;var a=31-Sl(l);t.entangledLanes|=l,t.entanglements[a]=t.entanglements[a]|1073741824|e&261930}function Hf(t,l){var e=t.entangledLanes|=l;for(t=t.entanglements;e;){var a=31-Sl(e),u=1<<a;u&l|t[a]&l&&(t[a]|=l),e&=~u}}function Rf(t,l){var e=l&-l;return e=(e&42)!==0?1:oi(e),(e&(t.suspendedLanes|l))!==0?0:e}function oi(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function ri(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Bf(){var t=O.p;return t!==0?t:(t=window.event,t===void 0?32:xd(t.type))}function qf(t,l){var e=O.p;try{return O.p=t,l()}finally{O.p=e}}var ge=Math.random().toString(36).slice(2),Pt="__reactFiber$"+ge,rl="__reactProps$"+ge,fa="__reactContainer$"+ge,di="__reactEvents$"+ge,Id="__reactListeners$"+ge,Pd="__reactHandles$"+ge,Yf="__reactResources$"+ge,Ia="__reactMarker$"+ge;function mi(t){delete t[Pt],delete t[rl],delete t[di],delete t[Id],delete t[Pd]}function sa(t){var l=t[Pt];if(l)return l;for(var e=t.parentNode;e;){if(l=e[fa]||e[Pt]){if(e=l.alternate,l.child!==null||e!==null&&e.child!==null)for(t=id(t);t!==null;){if(e=t[Pt])return e;t=id(t)}return l}t=e,e=t.parentNode}return null}function oa(t){if(t=t[Pt]||t[fa]){var l=t.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return t}return null}function Pa(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t.stateNode;throw Error(s(33))}function ra(t){var l=t[Yf];return l||(l=t[Yf]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Wt(t){t[Ia]=!0}var Gf=new Set,Xf={};function Ve(t,l){da(t,l),da(t+"Capture",l)}function da(t,l){for(Xf[t]=l,t=0;t<l.length;t++)Gf.add(l[t])}var t0=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]*$"),Qf={},wf={};function l0(t){return $a.call(wf,t)?!0:$a.call(Qf,t)?!1:t0.test(t)?wf[t]=!0:(Qf[t]=!0,!1)}function $u(t,l,e){if(l0(l))if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":t.removeAttribute(l);return;case"boolean":var a=l.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(l);return}}t.setAttribute(l,""+e)}}function Wu(t,l,e){if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttribute(l,""+e)}}function kl(t,l,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttributeNS(l,e,""+a)}}function Nl(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Zf(t){var l=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function e0(t,l,e){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,l);if(!t.hasOwnProperty(l)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,n=a.set;return Object.defineProperty(t,l,{configurable:!0,get:function(){return u.call(this)},set:function(i){e=""+i,n.call(this,i)}}),Object.defineProperty(t,l,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(i){e=""+i},stopTracking:function(){t._valueTracker=null,delete t[l]}}}}function hi(t){if(!t._valueTracker){var l=Zf(t)?"checked":"value";t._valueTracker=e0(t,l,""+t[l])}}function Lf(t){if(!t)return!1;var l=t._valueTracker;if(!l)return!0;var e=l.getValue(),a="";return t&&(a=Zf(t)?t.checked?"true":"false":t.value),t=a,t!==e?(l.setValue(t),!0):!1}function ku(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var a0=/[\n"\\]/g;function jl(t){return t.replace(a0,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function vi(t,l,e,a,u,n,i,c){t.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?t.type=i:t.removeAttribute("type"),l!=null?i==="number"?(l===0&&t.value===""||t.value!=l)&&(t.value=""+Nl(l)):t.value!==""+Nl(l)&&(t.value=""+Nl(l)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),l!=null?yi(t,i,Nl(l)):e!=null?yi(t,i,Nl(e)):a!=null&&t.removeAttribute("value"),u==null&&n!=null&&(t.defaultChecked=!!n),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.name=""+Nl(c):t.removeAttribute("name")}function Vf(t,l,e,a,u,n,i,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(t.type=n),l!=null||e!=null){if(!(n!=="submit"&&n!=="reset"||l!=null)){hi(t);return}e=e!=null?""+Nl(e):"",l=l!=null?""+Nl(l):e,c||l===t.value||(t.value=l),t.defaultValue=l}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=c?t.checked:!!a,t.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.name=i),hi(t)}function yi(t,l,e){l==="number"&&ku(t.ownerDocument)===t||t.defaultValue===""+e||(t.defaultValue=""+e)}function ma(t,l,e,a){if(t=t.options,l){l={};for(var u=0;u<e.length;u++)l["$"+e[u]]=!0;for(e=0;e<t.length;e++)u=l.hasOwnProperty("$"+t[e].value),t[e].selected!==u&&(t[e].selected=u),u&&a&&(t[e].defaultSelected=!0)}else{for(e=""+Nl(e),l=null,u=0;u<t.length;u++){if(t[u].value===e){t[u].selected=!0,a&&(t[u].defaultSelected=!0);return}l!==null||t[u].disabled||(l=t[u])}l!==null&&(l.selected=!0)}}function Kf(t,l,e){if(l!=null&&(l=""+Nl(l),l!==t.value&&(t.value=l),e==null)){t.defaultValue!==l&&(t.defaultValue=l);return}t.defaultValue=e!=null?""+Nl(e):""}function Jf(t,l,e,a){if(l==null){if(a!=null){if(e!=null)throw Error(s(92));if(Jt(a)){if(1<a.length)throw Error(s(93));a=a[0]}e=a}e==null&&(e=""),l=e}e=Nl(l),t.defaultValue=e,a=t.textContent,a===e&&a!==""&&a!==null&&(t.value=a),hi(t)}function ha(t,l){if(l){var e=t.firstChild;if(e&&e===t.lastChild&&e.nodeType===3){e.nodeValue=l;return}}t.textContent=l}var u0=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 $f(t,l,e){var a=l.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="":a?t.setProperty(l,e):typeof e!="number"||e===0||u0.has(l)?l==="float"?t.cssFloat=e:t[l]=(""+e).trim():t[l]=e+"px"}function Wf(t,l,e){if(l!=null&&typeof l!="object")throw Error(s(62));if(t=t.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||l!=null&&l.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var u in l)a=l[u],l.hasOwnProperty(u)&&e[u]!==a&&$f(t,u,a)}else for(var n in l)l.hasOwnProperty(n)&&$f(t,n,l[n])}function gi(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var n0=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"]]),i0=/^[\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 Fu(t){return i0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Fl(){}var pi=null;function bi(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var va=null,ya=null;function kf(t){var l=oa(t);if(l&&(t=l.stateNode)){var e=t[rl]||null;t:switch(t=l.stateNode,l.type){case"input":if(vi(t,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),l=e.name,e.type==="radio"&&l!=null){for(e=t;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+jl(""+l)+'"][type="radio"]'),l=0;l<e.length;l++){var a=e[l];if(a!==t&&a.form===t.form){var u=a[rl]||null;if(!u)throw Error(s(90));vi(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(l=0;l<e.length;l++)a=e[l],a.form===t.form&&Lf(a)}break t;case"textarea":Kf(t,e.value,e.defaultValue);break t;case"select":l=e.value,l!=null&&ma(t,!!e.multiple,l,!1)}}}var Si=!1;function Ff(t,l,e){if(Si)return t(l,e);Si=!0;try{var a=t(l);return a}finally{if(Si=!1,(va!==null||ya!==null)&&(Gn(),va&&(l=va,t=ya,ya=va=null,kf(l),t)))for(l=0;l<t.length;l++)kf(t[l])}}function tu(t,l){var e=t.stateNode;if(e===null)return null;var a=e[rl]||null;if(a===null)return null;e=a[l];t:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(e&&typeof e!="function")throw Error(s(231,l,typeof e));return e}var Il=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ei=!1;if(Il)try{var lu={};Object.defineProperty(lu,"passive",{get:function(){Ei=!0}}),window.addEventListener("test",lu,lu),window.removeEventListener("test",lu,lu)}catch{Ei=!1}var pe=null,xi=null,Iu=null;function If(){if(Iu)return Iu;var t,l=xi,e=l.length,a,u="value"in pe?pe.value:pe.textContent,n=u.length;for(t=0;t<e&&l[t]===u[t];t++);var i=e-t;for(a=1;a<=i&&l[e-a]===u[n-a];a++);return Iu=u.slice(t,1<a?1-a:void 0)}function Pu(t){var l=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&l===13&&(t=13)):t=l,t===10&&(t=13),32<=t||t===13?t:0}function tn(){return!0}function Pf(){return!1}function dl(t){function l(e,a,u,n,i){this._reactName=e,this._targetInst=u,this.type=a,this.nativeEvent=n,this.target=i,this.currentTarget=null;for(var c in t)t.hasOwnProperty(c)&&(e=t[c],this[c]=e?e(n):n[c]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?tn:Pf,this.isPropagationStopped=Pf,this}return q(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=tn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=tn)},persist:function(){},isPersistent:tn}),l}var Ke={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=dl(Ke),eu=q({},Ke,{view:0,detail:0}),c0=dl(eu),zi,Ti,au,en=q({},eu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Di,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==au&&(au&&t.type==="mousemove"?(zi=t.screenX-au.screenX,Ti=t.screenY-au.screenY):Ti=zi=0,au=t),zi)},movementY:function(t){return"movementY"in t?t.movementY:Ti}}),ts=dl(en),f0=q({},en,{dataTransfer:0}),s0=dl(f0),o0=q({},eu,{relatedTarget:0}),Ai=dl(o0),r0=q({},Ke,{animationName:0,elapsedTime:0,pseudoElement:0}),d0=dl(r0),m0=q({},Ke,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),h0=dl(m0),v0=q({},Ke,{data:0}),ls=dl(v0),y0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},g0={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"},p0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function b0(t){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(t):(t=p0[t])?!!l[t]:!1}function Di(){return b0}var S0=q({},eu,{key:function(t){if(t.key){var l=y0[t.key]||t.key;if(l!=="Unidentified")return l}return t.type==="keypress"?(t=Pu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?g0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Di,charCode:function(t){return t.type==="keypress"?Pu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Pu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),E0=dl(S0),x0=q({},en,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),es=dl(x0),z0=q({},eu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Di}),T0=dl(z0),A0=q({},Ke,{propertyName:0,elapsedTime:0,pseudoElement:0}),D0=dl(A0),_0=q({},en,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),O0=dl(_0),M0=q({},Ke,{newState:0,oldState:0}),N0=dl(M0),j0=[9,13,27,32],_i=Il&&"CompositionEvent"in window,uu=null;Il&&"documentMode"in document&&(uu=document.documentMode);var U0=Il&&"TextEvent"in window&&!uu,as=Il&&(!_i||uu&&8<uu&&11>=uu),us=" ",ns=!1;function is(t,l){switch(t){case"keyup":return j0.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cs(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ga=!1;function C0(t,l){switch(t){case"compositionend":return cs(l);case"keypress":return l.which!==32?null:(ns=!0,us);case"textInput":return t=l.data,t===us&&ns?null:t;default:return null}}function H0(t,l){if(ga)return t==="compositionend"||!_i&&is(t,l)?(t=If(),Iu=xi=pe=null,ga=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return as&&l.locale!=="ko"?null:l.data;default:return null}}var R0={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 fs(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l==="input"?!!R0[t.type]:l==="textarea"}function ss(t,l,e,a){va?ya?ya.push(a):ya=[a]:va=a,l=Kn(l,"onChange"),0<l.length&&(e=new ln("onChange","change",null,e,a),t.push({event:e,listeners:l}))}var nu=null,iu=null;function B0(t){Kr(t,0)}function an(t){var l=Pa(t);if(Lf(l))return t}function os(t,l){if(t==="change")return l}var rs=!1;if(Il){var Oi;if(Il){var Mi="oninput"in document;if(!Mi){var ds=document.createElement("div");ds.setAttribute("oninput","return;"),Mi=typeof ds.oninput=="function"}Oi=Mi}else Oi=!1;rs=Oi&&(!document.documentMode||9<document.documentMode)}function ms(){nu&&(nu.detachEvent("onpropertychange",hs),iu=nu=null)}function hs(t){if(t.propertyName==="value"&&an(iu)){var l=[];ss(l,iu,t,bi(t)),Ff(B0,l)}}function q0(t,l,e){t==="focusin"?(ms(),nu=l,iu=e,nu.attachEvent("onpropertychange",hs)):t==="focusout"&&ms()}function Y0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return an(iu)}function G0(t,l){if(t==="click")return an(l)}function X0(t,l){if(t==="input"||t==="change")return an(l)}function Q0(t,l){return t===l&&(t!==0||1/t===1/l)||t!==t&&l!==l}var El=typeof Object.is=="function"?Object.is:Q0;function cu(t,l){if(El(t,l))return!0;if(typeof t!="object"||t===null||typeof l!="object"||l===null)return!1;var e=Object.keys(t),a=Object.keys(l);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var u=e[a];if(!$a.call(l,u)||!El(t[u],l[u]))return!1}return!0}function vs(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ys(t,l){var e=vs(t);t=0;for(var a;e;){if(e.nodeType===3){if(a=t+e.textContent.length,t<=l&&a>=l)return{node:e,offset:l-t};t=a}t:{for(;e;){if(e.nextSibling){e=e.nextSibling;break t}e=e.parentNode}e=void 0}e=vs(e)}}function gs(t,l){return t&&l?t===l?!0:t&&t.nodeType===3?!1:l&&l.nodeType===3?gs(t,l.parentNode):"contains"in t?t.contains(l):t.compareDocumentPosition?!!(t.compareDocumentPosition(l)&16):!1:!1}function ps(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var l=ku(t.document);l instanceof t.HTMLIFrameElement;){try{var e=typeof l.contentWindow.location.href=="string"}catch{e=!1}if(e)t=l.contentWindow;else break;l=ku(t.document)}return l}function Ni(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l&&(l==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||l==="textarea"||t.contentEditable==="true")}var w0=Il&&"documentMode"in document&&11>=document.documentMode,pa=null,ji=null,fu=null,Ui=!1;function bs(t,l,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Ui||pa==null||pa!==ku(a)||(a=pa,"selectionStart"in a&&Ni(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}),fu&&cu(fu,a)||(fu=a,a=Kn(ji,"onSelect"),0<a.length&&(l=new ln("onSelect","select",null,l,e),t.push({event:l,listeners:a}),l.target=pa)))}function Je(t,l){var e={};return e[t.toLowerCase()]=l.toLowerCase(),e["Webkit"+t]="webkit"+l,e["Moz"+t]="moz"+l,e}var ba={animationend:Je("Animation","AnimationEnd"),animationiteration:Je("Animation","AnimationIteration"),animationstart:Je("Animation","AnimationStart"),transitionrun:Je("Transition","TransitionRun"),transitionstart:Je("Transition","TransitionStart"),transitioncancel:Je("Transition","TransitionCancel"),transitionend:Je("Transition","TransitionEnd")},Ci={},Ss={};Il&&(Ss=document.createElement("div").style,"AnimationEvent"in window||(delete ba.animationend.animation,delete ba.animationiteration.animation,delete ba.animationstart.animation),"TransitionEvent"in window||delete ba.transitionend.transition);function $e(t){if(Ci[t])return Ci[t];if(!ba[t])return t;var l=ba[t],e;for(e in l)if(l.hasOwnProperty(e)&&e in Ss)return Ci[t]=l[e];return t}var Es=$e("animationend"),xs=$e("animationiteration"),zs=$e("animationstart"),Z0=$e("transitionrun"),L0=$e("transitionstart"),V0=$e("transitioncancel"),Ts=$e("transitionend"),As=new Map,Hi="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(" ");Hi.push("scrollEnd");function Ql(t,l){As.set(t,l),Ve(l,[t])}var un=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ul=[],Sa=0,Ri=0;function nn(){for(var t=Sa,l=Ri=Sa=0;l<t;){var e=Ul[l];Ul[l++]=null;var a=Ul[l];Ul[l++]=null;var u=Ul[l];Ul[l++]=null;var n=Ul[l];if(Ul[l++]=null,a!==null&&u!==null){var i=a.pending;i===null?u.next=u:(u.next=i.next,i.next=u),a.pending=u}n!==0&&Ds(e,u,n)}}function cn(t,l,e,a){Ul[Sa++]=t,Ul[Sa++]=l,Ul[Sa++]=e,Ul[Sa++]=a,Ri|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function Bi(t,l,e,a){return cn(t,l,e,a),fn(t)}function We(t,l){return cn(t,null,null,l),fn(t)}function Ds(t,l,e){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e);for(var u=!1,n=t.return;n!==null;)n.childLanes|=e,a=n.alternate,a!==null&&(a.childLanes|=e),n.tag===22&&(t=n.stateNode,t===null||t._visibility&1||(u=!0)),t=n,n=n.return;return t.tag===3?(n=t.stateNode,u&&l!==null&&(u=31-Sl(e),t=n.hiddenUpdates,a=t[u],a===null?t[u]=[l]:a.push(l),l.lane=e|536870912),n):null}function fn(t){if(50<Nu)throw Nu=0,Vc=null,Error(s(185));for(var l=t.return;l!==null;)t=l,l=t.return;return t.tag===3?t.stateNode:null}var Ea={};function K0(t,l,e,a){this.tag=t,this.key=e,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xl(t,l,e,a){return new K0(t,l,e,a)}function qi(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Pl(t,l){var e=t.alternate;return e===null?(e=xl(t.tag,l,t.key,t.mode),e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.alternate=t,t.alternate=e):(e.pendingProps=l,e.type=t.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=t.flags&65011712,e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,l=t.dependencies,e.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.refCleanup=t.refCleanup,e}function _s(t,l){t.flags&=65011714;var e=t.alternate;return e===null?(t.childLanes=0,t.lanes=l,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,t.type=e.type,l=e.dependencies,t.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),t}function sn(t,l,e,a,u,n){var i=0;if(a=t,typeof t=="function")qi(t)&&(i=1);else if(typeof t=="string")i=Fm(t,e,C.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case jt:return t=xl(31,e,l,u),t.elementType=jt,t.lanes=n,t;case Mt:return ke(e.children,u,n,l);case cl:i=8,u|=24;break;case Vt:return t=xl(12,e,l,u|2),t.elementType=Vt,t.lanes=n,t;case Ft:return t=xl(13,e,l,u),t.elementType=Ft,t.lanes=n,t;case Zt:return t=xl(19,e,l,u),t.elementType=Zt,t.lanes=n,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case _t:i=10;break t;case zt:i=9;break t;case Kt:i=11;break t;case lt:i=14;break t;case Nt:i=16,a=null;break t}i=29,e=Error(s(130,t===null?"null":typeof t,"")),a=null}return l=xl(i,e,l,u),l.elementType=t,l.type=a,l.lanes=n,l}function ke(t,l,e,a){return t=xl(7,t,a,l),t.lanes=e,t}function Yi(t,l,e){return t=xl(6,t,null,l),t.lanes=e,t}function Os(t){var l=xl(18,null,null,0);return l.stateNode=t,l}function Gi(t,l,e){return l=xl(4,t.children!==null?t.children:[],t.key,l),l.lanes=e,l.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},l}var Ms=new WeakMap;function Cl(t,l){if(typeof t=="object"&&t!==null){var e=Ms.get(t);return e!==void 0?e:(l={value:t,source:l,stack:Zu(l)},Ms.set(t,l),l)}return{value:t,source:l,stack:Zu(l)}}var xa=[],za=0,on=null,su=0,Hl=[],Rl=0,be=null,Ll=1,Vl="";function te(t,l){xa[za++]=su,xa[za++]=on,on=t,su=l}function Ns(t,l,e){Hl[Rl++]=Ll,Hl[Rl++]=Vl,Hl[Rl++]=be,be=t;var a=Ll;t=Vl;var u=32-Sl(a)-1;a&=~(1<<u),e+=1;var n=32-Sl(l)+u;if(30<n){var i=u-u%5;n=(a&(1<<i)-1).toString(32),a>>=i,u-=i,Ll=1<<32-Sl(l)+u|e<<u|a,Vl=n+t}else Ll=1<<n|e<<u|a,Vl=t}function Xi(t){t.return!==null&&(te(t,1),Ns(t,1,0))}function Qi(t){for(;t===on;)on=xa[--za],xa[za]=null,su=xa[--za],xa[za]=null;for(;t===be;)be=Hl[--Rl],Hl[Rl]=null,Vl=Hl[--Rl],Hl[Rl]=null,Ll=Hl[--Rl],Hl[Rl]=null}function js(t,l){Hl[Rl++]=Ll,Hl[Rl++]=Vl,Hl[Rl++]=be,Ll=l.id,Vl=l.overflow,be=t}var tl=null,At=null,st=!1,Se=null,Bl=!1,wi=Error(s(519));function Ee(t){var l=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ou(Cl(l,t)),wi}function Us(t){var l=t.stateNode,e=t.type,a=t.memoizedProps;switch(l[Pt]=t,l[rl]=a,e){case"dialog":it("cancel",l),it("close",l);break;case"iframe":case"object":case"embed":it("load",l);break;case"video":case"audio":for(e=0;e<Uu.length;e++)it(Uu[e],l);break;case"source":it("error",l);break;case"img":case"image":case"link":it("error",l),it("load",l);break;case"details":it("toggle",l);break;case"input":it("invalid",l),Vf(l,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":it("invalid",l);break;case"textarea":it("invalid",l),Jf(l,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||l.textContent===""+e||a.suppressHydrationWarning===!0||kr(l.textContent,e)?(a.popover!=null&&(it("beforetoggle",l),it("toggle",l)),a.onScroll!=null&&it("scroll",l),a.onScrollEnd!=null&&it("scrollend",l),a.onClick!=null&&(l.onclick=Fl),l=!0):l=!1,l||Ee(t,!0)}function Cs(t){for(tl=t.return;tl;)switch(tl.tag){case 5:case 31:case 13:Bl=!1;return;case 27:case 3:Bl=!0;return;default:tl=tl.return}}function Ta(t){if(t!==tl)return!1;if(!st)return Cs(t),st=!0,!1;var l=t.tag,e;if((e=l!==3&&l!==27)&&((e=l===5)&&(e=t.type,e=!(e!=="form"&&e!=="button")||cf(t.type,t.memoizedProps)),e=!e),e&&At&&Ee(t),Cs(t),l===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));At=nd(t)}else if(l===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));At=nd(t)}else l===27?(l=At,Re(t.type)?(t=df,df=null,At=t):At=l):At=tl?Yl(t.stateNode.nextSibling):null;return!0}function Fe(){At=tl=null,st=!1}function Zi(){var t=Se;return t!==null&&(yl===null?yl=t:yl.push.apply(yl,t),Se=null),t}function ou(t){Se===null?Se=[t]:Se.push(t)}var Li=r(null),Ie=null,le=null;function xe(t,l,e){M(Li,l._currentValue),l._currentValue=e}function ee(t){t._currentValue=Li.current,z(Li)}function Vi(t,l,e){for(;t!==null;){var a=t.alternate;if((t.childLanes&l)!==l?(t.childLanes|=l,a!==null&&(a.childLanes|=l)):a!==null&&(a.childLanes&l)!==l&&(a.childLanes|=l),t===e)break;t=t.return}}function Ki(t,l,e,a){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var n=u.dependencies;if(n!==null){var i=u.child;n=n.firstContext;t:for(;n!==null;){var c=n;n=u;for(var f=0;f<l.length;f++)if(c.context===l[f]){n.lanes|=e,c=n.alternate,c!==null&&(c.lanes|=e),Vi(n.return,e,t),a||(i=null);break t}n=c.next}}else if(u.tag===18){if(i=u.return,i===null)throw Error(s(341));i.lanes|=e,n=i.alternate,n!==null&&(n.lanes|=e),Vi(i,e,t),i=null}else i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===t){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}}function Aa(t,l,e,a){t=null;for(var u=l,n=!1;u!==null;){if(!n){if((u.flags&524288)!==0)n=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var i=u.alternate;if(i===null)throw Error(s(387));if(i=i.memoizedProps,i!==null){var c=u.type;El(u.pendingProps.value,i.value)||(t!==null?t.push(c):t=[c])}}else if(u===ot.current){if(i=u.alternate,i===null)throw Error(s(387));i.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(qu):t=[qu])}u=u.return}t!==null&&Ki(l,t,e,a),l.flags|=262144}function rn(t){for(t=t.firstContext;t!==null;){if(!El(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Pe(t){Ie=t,le=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ll(t){return Hs(Ie,t)}function dn(t,l){return Ie===null&&Pe(t),Hs(t,l)}function Hs(t,l){var e=l._currentValue;if(l={context:l,memoizedValue:e,next:null},le===null){if(t===null)throw Error(s(308));le=l,t.dependencies={lanes:0,firstContext:l},t.flags|=524288}else le=le.next=l;return e}var J0=typeof AbortController<"u"?AbortController:function(){var t=[],l=this.signal={aborted:!1,addEventListener:function(e,a){t.push(a)}};this.abort=function(){l.aborted=!0,t.forEach(function(e){return e()})}},$0=E.unstable_scheduleCallback,W0=E.unstable_NormalPriority,Yt={$$typeof:_t,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ji(){return{controller:new J0,data:new Map,refCount:0}}function ru(t){t.refCount--,t.refCount===0&&$0(W0,function(){t.controller.abort()})}var du=null,$i=0,Da=0,_a=null;function k0(t,l){if(du===null){var e=du=[];$i=0,Da=Fc(),_a={status:"pending",value:void 0,then:function(a){e.push(a)}}}return $i++,l.then(Rs,Rs),l}function Rs(){if(--$i===0&&du!==null){_a!==null&&(_a.status="fulfilled");var t=du;du=null,Da=0,_a=null;for(var l=0;l<t.length;l++)(0,t[l])()}}function F0(t,l){var e=[],a={status:"pending",value:null,reason:null,then:function(u){e.push(u)}};return t.then(function(){a.status="fulfilled",a.value=l;for(var u=0;u<e.length;u++)(0,e[u])(l)},function(u){for(a.status="rejected",a.reason=u,u=0;u<e.length;u++)(0,e[u])(void 0)}),a}var Bs=S.S;S.S=function(t,l){Sr=K(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&k0(t,l),Bs!==null&&Bs(t,l)};var ta=r(null);function Wi(){var t=ta.current;return t!==null?t:xt.pooledCache}function mn(t,l){l===null?M(ta,ta.current):M(ta,l.pool)}function qs(){var t=Wi();return t===null?null:{parent:Yt._currentValue,pool:t}}var Oa=Error(s(460)),ki=Error(s(474)),hn=Error(s(542)),vn={then:function(){}};function Ys(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Gs(t,l,e){switch(e=t[e],e===void 0?t.push(l):e!==l&&(l.then(Fl,Fl),l=e),l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,Qs(t),t;default:if(typeof l.status=="string")l.then(Fl,Fl);else{if(t=xt,t!==null&&100<t.shellSuspendCounter)throw Error(s(482));t=l,t.status="pending",t.then(function(a){if(l.status==="pending"){var u=l;u.status="fulfilled",u.value=a}},function(a){if(l.status==="pending"){var u=l;u.status="rejected",u.reason=a}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,Qs(t),t}throw ea=l,Oa}}function la(t){try{var l=t._init;return l(t._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(ea=e,Oa):e}}var ea=null;function Xs(){if(ea===null)throw Error(s(459));var t=ea;return ea=null,t}function Qs(t){if(t===Oa||t===hn)throw Error(s(483))}var Ma=null,mu=0;function yn(t){var l=mu;return mu+=1,Ma===null&&(Ma=[]),Gs(Ma,t,l)}function hu(t,l){l=l.props.ref,t.ref=l!==void 0?l:null}function gn(t,l){throw l.$$typeof===ut?Error(s(525)):(t=Object.prototype.toString.call(l),Error(s(31,t==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":t)))}function ws(t){function l(m,o){if(t){var h=m.deletions;h===null?(m.deletions=[o],m.flags|=16):h.push(o)}}function e(m,o){if(!t)return null;for(;o!==null;)l(m,o),o=o.sibling;return null}function a(m){for(var o=new Map;m!==null;)m.key!==null?o.set(m.key,m):o.set(m.index,m),m=m.sibling;return o}function u(m,o){return m=Pl(m,o),m.index=0,m.sibling=null,m}function n(m,o,h){return m.index=h,t?(h=m.alternate,h!==null?(h=h.index,h<o?(m.flags|=67108866,o):h):(m.flags|=67108866,o)):(m.flags|=1048576,o)}function i(m){return t&&m.alternate===null&&(m.flags|=67108866),m}function c(m,o,h,T){return o===null||o.tag!==6?(o=Yi(h,m.mode,T),o.return=m,o):(o=u(o,h),o.return=m,o)}function f(m,o,h,T){var w=h.type;return w===Mt?x(m,o,h.props.children,T,h.key):o!==null&&(o.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Nt&&la(w)===o.type)?(o=u(o,h.props),hu(o,h),o.return=m,o):(o=sn(h.type,h.key,h.props,null,m.mode,T),hu(o,h),o.return=m,o)}function v(m,o,h,T){return o===null||o.tag!==4||o.stateNode.containerInfo!==h.containerInfo||o.stateNode.implementation!==h.implementation?(o=Gi(h,m.mode,T),o.return=m,o):(o=u(o,h.children||[]),o.return=m,o)}function x(m,o,h,T,w){return o===null||o.tag!==7?(o=ke(h,m.mode,T,w),o.return=m,o):(o=u(o,h),o.return=m,o)}function A(m,o,h){if(typeof o=="string"&&o!==""||typeof o=="number"||typeof o=="bigint")return o=Yi(""+o,m.mode,h),o.return=m,o;if(typeof o=="object"&&o!==null){switch(o.$$typeof){case wt:return h=sn(o.type,o.key,o.props,null,m.mode,h),hu(h,o),h.return=m,h;case Bt:return o=Gi(o,m.mode,h),o.return=m,o;case Nt:return o=la(o),A(m,o,h)}if(Jt(o)||Tt(o))return o=ke(o,m.mode,h,null),o.return=m,o;if(typeof o.then=="function")return A(m,yn(o),h);if(o.$$typeof===_t)return A(m,dn(m,o),h);gn(m,o)}return null}function y(m,o,h,T){var w=o!==null?o.key:null;if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return w!==null?null:c(m,o,""+h,T);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case wt:return h.key===w?f(m,o,h,T):null;case Bt:return h.key===w?v(m,o,h,T):null;case Nt:return h=la(h),y(m,o,h,T)}if(Jt(h)||Tt(h))return w!==null?null:x(m,o,h,T,null);if(typeof h.then=="function")return y(m,o,yn(h),T);if(h.$$typeof===_t)return y(m,o,dn(m,h),T);gn(m,h)}return null}function b(m,o,h,T,w){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return m=m.get(h)||null,c(o,m,""+T,w);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case wt:return m=m.get(T.key===null?h:T.key)||null,f(o,m,T,w);case Bt:return m=m.get(T.key===null?h:T.key)||null,v(o,m,T,w);case Nt:return T=la(T),b(m,o,h,T,w)}if(Jt(T)||Tt(T))return m=m.get(h)||null,x(o,m,T,w,null);if(typeof T.then=="function")return b(m,o,h,yn(T),w);if(T.$$typeof===_t)return b(m,o,h,dn(o,T),w);gn(o,T)}return null}function B(m,o,h,T){for(var w=null,ht=null,G=o,at=o=0,ft=null;G!==null&&at<h.length;at++){G.index>at?(ft=G,G=null):ft=G.sibling;var vt=y(m,G,h[at],T);if(vt===null){G===null&&(G=ft);break}t&&G&&vt.alternate===null&&l(m,G),o=n(vt,o,at),ht===null?w=vt:ht.sibling=vt,ht=vt,G=ft}if(at===h.length)return e(m,G),st&&te(m,at),w;if(G===null){for(;at<h.length;at++)G=A(m,h[at],T),G!==null&&(o=n(G,o,at),ht===null?w=G:ht.sibling=G,ht=G);return st&&te(m,at),w}for(G=a(G);at<h.length;at++)ft=b(G,m,at,h[at],T),ft!==null&&(t&&ft.alternate!==null&&G.delete(ft.key===null?at:ft.key),o=n(ft,o,at),ht===null?w=ft:ht.sibling=ft,ht=ft);return t&&G.forEach(function(Xe){return l(m,Xe)}),st&&te(m,at),w}function V(m,o,h,T){if(h==null)throw Error(s(151));for(var w=null,ht=null,G=o,at=o=0,ft=null,vt=h.next();G!==null&&!vt.done;at++,vt=h.next()){G.index>at?(ft=G,G=null):ft=G.sibling;var Xe=y(m,G,vt.value,T);if(Xe===null){G===null&&(G=ft);break}t&&G&&Xe.alternate===null&&l(m,G),o=n(Xe,o,at),ht===null?w=Xe:ht.sibling=Xe,ht=Xe,G=ft}if(vt.done)return e(m,G),st&&te(m,at),w;if(G===null){for(;!vt.done;at++,vt=h.next())vt=A(m,vt.value,T),vt!==null&&(o=n(vt,o,at),ht===null?w=vt:ht.sibling=vt,ht=vt);return st&&te(m,at),w}for(G=a(G);!vt.done;at++,vt=h.next())vt=b(G,m,at,vt.value,T),vt!==null&&(t&&vt.alternate!==null&&G.delete(vt.key===null?at:vt.key),o=n(vt,o,at),ht===null?w=vt:ht.sibling=vt,ht=vt);return t&&G.forEach(function(fh){return l(m,fh)}),st&&te(m,at),w}function Et(m,o,h,T){if(typeof h=="object"&&h!==null&&h.type===Mt&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case wt:t:{for(var w=h.key;o!==null;){if(o.key===w){if(w=h.type,w===Mt){if(o.tag===7){e(m,o.sibling),T=u(o,h.props.children),T.return=m,m=T;break t}}else if(o.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Nt&&la(w)===o.type){e(m,o.sibling),T=u(o,h.props),hu(T,h),T.return=m,m=T;break t}e(m,o);break}else l(m,o);o=o.sibling}h.type===Mt?(T=ke(h.props.children,m.mode,T,h.key),T.return=m,m=T):(T=sn(h.type,h.key,h.props,null,m.mode,T),hu(T,h),T.return=m,m=T)}return i(m);case Bt:t:{for(w=h.key;o!==null;){if(o.key===w)if(o.tag===4&&o.stateNode.containerInfo===h.containerInfo&&o.stateNode.implementation===h.implementation){e(m,o.sibling),T=u(o,h.children||[]),T.return=m,m=T;break t}else{e(m,o);break}else l(m,o);o=o.sibling}T=Gi(h,m.mode,T),T.return=m,m=T}return i(m);case Nt:return h=la(h),Et(m,o,h,T)}if(Jt(h))return B(m,o,h,T);if(Tt(h)){if(w=Tt(h),typeof w!="function")throw Error(s(150));return h=w.call(h),V(m,o,h,T)}if(typeof h.then=="function")return Et(m,o,yn(h),T);if(h.$$typeof===_t)return Et(m,o,dn(m,h),T);gn(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint"?(h=""+h,o!==null&&o.tag===6?(e(m,o.sibling),T=u(o,h),T.return=m,m=T):(e(m,o),T=Yi(h,m.mode,T),T.return=m,m=T),i(m)):e(m,o)}return function(m,o,h,T){try{mu=0;var w=Et(m,o,h,T);return Ma=null,w}catch(G){if(G===Oa||G===hn)throw G;var ht=xl(29,G,null,m.mode);return ht.lanes=T,ht.return=m,ht}}}var aa=ws(!0),Zs=ws(!1),ze=!1;function Fi(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ii(t,l){t=t.updateQueue,l.updateQueue===t&&(l.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Te(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ae(t,l,e){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(yt&2)!==0){var u=a.pending;return u===null?l.next=l:(l.next=u.next,u.next=l),a.pending=l,l=fn(t),Ds(t,null,e),l}return cn(t,a,l,e),fn(t)}function vu(t,l,e){if(l=l.updateQueue,l!==null&&(l=l.shared,(e&4194048)!==0)){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,Hf(t,e)}}function Pi(t,l){var e=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var u=null,n=null;if(e=e.firstBaseUpdate,e!==null){do{var i={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};n===null?u=n=i:n=n.next=i,e=e.next}while(e!==null);n===null?u=n=l:n=n.next=l}else u=n=l;e={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:a.shared,callbacks:a.callbacks},t.updateQueue=e;return}t=e.lastBaseUpdate,t===null?e.firstBaseUpdate=l:t.next=l,e.lastBaseUpdate=l}var tc=!1;function yu(){if(tc){var t=_a;if(t!==null)throw t}}function gu(t,l,e,a){tc=!1;var u=t.updateQueue;ze=!1;var n=u.firstBaseUpdate,i=u.lastBaseUpdate,c=u.shared.pending;if(c!==null){u.shared.pending=null;var f=c,v=f.next;f.next=null,i===null?n=v:i.next=v,i=f;var x=t.alternate;x!==null&&(x=x.updateQueue,c=x.lastBaseUpdate,c!==i&&(c===null?x.firstBaseUpdate=v:c.next=v,x.lastBaseUpdate=f))}if(n!==null){var A=u.baseState;i=0,x=v=f=null,c=n;do{var y=c.lane&-536870913,b=y!==c.lane;if(b?(ct&y)===y:(a&y)===y){y!==0&&y===Da&&(tc=!0),x!==null&&(x=x.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});t:{var B=t,V=c;y=l;var Et=e;switch(V.tag){case 1:if(B=V.payload,typeof B=="function"){A=B.call(Et,A,y);break t}A=B;break t;case 3:B.flags=B.flags&-65537|128;case 0:if(B=V.payload,y=typeof B=="function"?B.call(Et,A,y):B,y==null)break t;A=q({},A,y);break t;case 2:ze=!0}}y=c.callback,y!==null&&(t.flags|=64,b&&(t.flags|=8192),b=u.callbacks,b===null?u.callbacks=[y]:b.push(y))}else b={lane:y,tag:c.tag,payload:c.payload,callback:c.callback,next:null},x===null?(v=x=b,f=A):x=x.next=b,i|=y;if(c=c.next,c===null){if(c=u.shared.pending,c===null)break;b=c,c=b.next,b.next=null,u.lastBaseUpdate=b,u.shared.pending=null}}while(!0);x===null&&(f=A),u.baseState=f,u.firstBaseUpdate=v,u.lastBaseUpdate=x,n===null&&(u.shared.lanes=0),Ne|=i,t.lanes=i,t.memoizedState=A}}function Ls(t,l){if(typeof t!="function")throw Error(s(191,t));t.call(l)}function Vs(t,l){var e=t.callbacks;if(e!==null)for(t.callbacks=null,t=0;t<e.length;t++)Ls(e[t],l)}var Na=r(null),pn=r(0);function Ks(t,l){t=re,M(pn,t),M(Na,l),re=t|l.baseLanes}function lc(){M(pn,re),M(Na,Na.current)}function ec(){re=pn.current,z(Na),z(pn)}var zl=r(null),ql=null;function De(t){var l=t.alternate;M(Ht,Ht.current&1),M(zl,t),ql===null&&(l===null||Na.current!==null||l.memoizedState!==null)&&(ql=t)}function ac(t){M(Ht,Ht.current),M(zl,t),ql===null&&(ql=t)}function Js(t){t.tag===22?(M(Ht,Ht.current),M(zl,t),ql===null&&(ql=t)):_e()}function _e(){M(Ht,Ht.current),M(zl,zl.current)}function Tl(t){z(zl),ql===t&&(ql=null),z(Ht)}var Ht=r(0);function bn(t){for(var l=t;l!==null;){if(l.tag===13){var e=l.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||of(e)||rf(e)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var ae=0,tt=null,bt=null,Gt=null,Sn=!1,ja=!1,ua=!1,En=0,pu=0,Ua=null,I0=0;function Ut(){throw Error(s(321))}function uc(t,l){if(l===null)return!1;for(var e=0;e<l.length&&e<t.length;e++)if(!El(t[e],l[e]))return!1;return!0}function nc(t,l,e,a,u,n){return ae=n,tt=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,S.H=t===null||t.memoizedState===null?jo:Sc,ua=!1,n=e(a,u),ua=!1,ja&&(n=Ws(l,e,a,u)),$s(t),n}function $s(t){S.H=Eu;var l=bt!==null&&bt.next!==null;if(ae=0,Gt=bt=tt=null,Sn=!1,pu=0,Ua=null,l)throw Error(s(300));t===null||Xt||(t=t.dependencies,t!==null&&rn(t)&&(Xt=!0))}function Ws(t,l,e,a){tt=t;var u=0;do{if(ja&&(Ua=null),pu=0,ja=!1,25<=u)throw Error(s(301));if(u+=1,Gt=bt=null,t.updateQueue!=null){var n=t.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}S.H=Uo,n=l(e,a)}while(ja);return n}function P0(){var t=S.H,l=t.useState()[0];return l=typeof l.then=="function"?bu(l):l,t=t.useState()[0],(bt!==null?bt.memoizedState:null)!==t&&(tt.flags|=1024),l}function ic(){var t=En!==0;return En=0,t}function cc(t,l,e){l.updateQueue=t.updateQueue,l.flags&=-2053,t.lanes&=~e}function fc(t){if(Sn){for(t=t.memoizedState;t!==null;){var l=t.queue;l!==null&&(l.pending=null),t=t.next}Sn=!1}ae=0,Gt=bt=tt=null,ja=!1,pu=En=0,Ua=null}function sl(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gt===null?tt.memoizedState=Gt=t:Gt=Gt.next=t,Gt}function Rt(){if(bt===null){var t=tt.alternate;t=t!==null?t.memoizedState:null}else t=bt.next;var l=Gt===null?tt.memoizedState:Gt.next;if(l!==null)Gt=l,bt=t;else{if(t===null)throw tt.alternate===null?Error(s(467)):Error(s(310));bt=t,t={memoizedState:bt.memoizedState,baseState:bt.baseState,baseQueue:bt.baseQueue,queue:bt.queue,next:null},Gt===null?tt.memoizedState=Gt=t:Gt=Gt.next=t}return Gt}function xn(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function bu(t){var l=pu;return pu+=1,Ua===null&&(Ua=[]),t=Gs(Ua,t,l),l=tt,(Gt===null?l.memoizedState:Gt.next)===null&&(l=l.alternate,S.H=l===null||l.memoizedState===null?jo:Sc),t}function zn(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return bu(t);if(t.$$typeof===_t)return ll(t)}throw Error(s(438,String(t)))}function sc(t){var l=null,e=tt.updateQueue;if(e!==null&&(l=e.memoCache),l==null){var a=tt.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(l={data:a.data.map(function(u){return u.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),e===null&&(e=xn(),tt.updateQueue=e),e.memoCache=l,e=l.data[l.index],e===void 0)for(e=l.data[l.index]=Array(t),a=0;a<t;a++)e[a]=Ol;return l.index++,e}function ue(t,l){return typeof l=="function"?l(t):l}function Tn(t){var l=Rt();return oc(l,bt,t)}function oc(t,l,e){var a=t.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=e;var u=t.baseQueue,n=a.pending;if(n!==null){if(u!==null){var i=u.next;u.next=n.next,n.next=i}l.baseQueue=u=n,a.pending=null}if(n=t.baseState,u===null)t.memoizedState=n;else{l=u.next;var c=i=null,f=null,v=l,x=!1;do{var A=v.lane&-536870913;if(A!==v.lane?(ct&A)===A:(ae&A)===A){var y=v.revertLane;if(y===0)f!==null&&(f=f.next={lane:0,revertLane:0,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null}),A===Da&&(x=!0);else if((ae&y)===y){v=v.next,y===Da&&(x=!0);continue}else A={lane:0,revertLane:v.revertLane,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},f===null?(c=f=A,i=n):f=f.next=A,tt.lanes|=y,Ne|=y;A=v.action,ua&&e(n,A),n=v.hasEagerState?v.eagerState:e(n,A)}else y={lane:A,revertLane:v.revertLane,gesture:v.gesture,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},f===null?(c=f=y,i=n):f=f.next=y,tt.lanes|=A,Ne|=A;v=v.next}while(v!==null&&v!==l);if(f===null?i=n:f.next=c,!El(n,t.memoizedState)&&(Xt=!0,x&&(e=_a,e!==null)))throw e;t.memoizedState=n,t.baseState=i,t.baseQueue=f,a.lastRenderedState=n}return u===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function rc(t){var l=Rt(),e=l.queue;if(e===null)throw Error(s(311));e.lastRenderedReducer=t;var a=e.dispatch,u=e.pending,n=l.memoizedState;if(u!==null){e.pending=null;var i=u=u.next;do n=t(n,i.action),i=i.next;while(i!==u);El(n,l.memoizedState)||(Xt=!0),l.memoizedState=n,l.baseQueue===null&&(l.baseState=n),e.lastRenderedState=n}return[n,a]}function ks(t,l,e){var a=tt,u=Rt(),n=st;if(n){if(e===void 0)throw Error(s(407));e=e()}else e=l();var i=!El((bt||u).memoizedState,e);if(i&&(u.memoizedState=e,Xt=!0),u=u.queue,hc(Ps.bind(null,a,u,t),[t]),u.getSnapshot!==l||i||Gt!==null&&Gt.memoizedState.tag&1){if(a.flags|=2048,Ca(9,{destroy:void 0},Is.bind(null,a,u,e,l),null),xt===null)throw Error(s(349));n||(ae&127)!==0||Fs(a,l,e)}return e}function Fs(t,l,e){t.flags|=16384,t={getSnapshot:l,value:e},l=tt.updateQueue,l===null?(l=xn(),tt.updateQueue=l,l.stores=[t]):(e=l.stores,e===null?l.stores=[t]:e.push(t))}function Is(t,l,e,a){l.value=e,l.getSnapshot=a,to(l)&&lo(t)}function Ps(t,l,e){return e(function(){to(l)&&lo(t)})}function to(t){var l=t.getSnapshot;t=t.value;try{var e=l();return!El(t,e)}catch{return!0}}function lo(t){var l=We(t,2);l!==null&&gl(l,t,2)}function dc(t){var l=sl();if(typeof t=="function"){var e=t;if(t=e(),ua){ye(!0);try{e()}finally{ye(!1)}}}return l.memoizedState=l.baseState=t,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ue,lastRenderedState:t},l}function eo(t,l,e,a){return t.baseState=e,oc(t,bt,typeof a=="function"?a:ue)}function tm(t,l,e,a,u){if(_n(t))throw Error(s(485));if(t=l.action,t!==null){var n={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){n.listeners.push(i)}};S.T!==null?e(!0):n.isTransition=!1,a(n),e=l.pending,e===null?(n.next=l.pending=n,ao(l,n)):(n.next=e.next,l.pending=e.next=n)}}function ao(t,l){var e=l.action,a=l.payload,u=t.state;if(l.isTransition){var n=S.T,i={};S.T=i;try{var c=e(u,a),f=S.S;f!==null&&f(i,c),uo(t,l,c)}catch(v){mc(t,l,v)}finally{n!==null&&i.types!==null&&(n.types=i.types),S.T=n}}else try{n=e(u,a),uo(t,l,n)}catch(v){mc(t,l,v)}}function uo(t,l,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){no(t,l,a)},function(a){return mc(t,l,a)}):no(t,l,e)}function no(t,l,e){l.status="fulfilled",l.value=e,io(l),t.state=e,l=t.pending,l!==null&&(e=l.next,e===l?t.pending=null:(e=e.next,l.next=e,ao(t,e)))}function mc(t,l,e){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do l.status="rejected",l.reason=e,io(l),l=l.next;while(l!==a)}t.action=null}function io(t){t=t.listeners;for(var l=0;l<t.length;l++)(0,t[l])()}function co(t,l){return l}function fo(t,l){if(st){var e=xt.formState;if(e!==null){t:{var a=tt;if(st){if(At){l:{for(var u=At,n=Bl;u.nodeType!==8;){if(!n){u=null;break l}if(u=Yl(u.nextSibling),u===null){u=null;break l}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){At=Yl(u.nextSibling),a=u.data==="F!";break t}}Ee(a)}a=!1}a&&(l=e[0])}}return e=sl(),e.memoizedState=e.baseState=l,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:co,lastRenderedState:l},e.queue=a,e=Oo.bind(null,tt,a),a.dispatch=e,a=dc(!1),n=bc.bind(null,tt,!1,a.queue),a=sl(),u={state:l,dispatch:null,action:t,pending:null},a.queue=u,e=tm.bind(null,tt,u,n,e),u.dispatch=e,a.memoizedState=t,[l,e,!1]}function so(t){var l=Rt();return oo(l,bt,t)}function oo(t,l,e){if(l=oc(t,l,co)[0],t=Tn(ue)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var a=bu(l)}catch(i){throw i===Oa?hn:i}else a=l;l=Rt();var u=l.queue,n=u.dispatch;return e!==l.memoizedState&&(tt.flags|=2048,Ca(9,{destroy:void 0},lm.bind(null,u,e),null)),[a,n,t]}function lm(t,l){t.action=l}function ro(t){var l=Rt(),e=bt;if(e!==null)return oo(l,e,t);Rt(),l=l.memoizedState,e=Rt();var a=e.queue.dispatch;return e.memoizedState=t,[l,a,!1]}function Ca(t,l,e,a){return t={tag:t,create:e,deps:a,inst:l,next:null},l=tt.updateQueue,l===null&&(l=xn(),tt.updateQueue=l),e=l.lastEffect,e===null?l.lastEffect=t.next=t:(a=e.next,e.next=t,t.next=a,l.lastEffect=t),t}function mo(){return Rt().memoizedState}function An(t,l,e,a){var u=sl();tt.flags|=t,u.memoizedState=Ca(1|l,{destroy:void 0},e,a===void 0?null:a)}function Dn(t,l,e,a){var u=Rt();a=a===void 0?null:a;var n=u.memoizedState.inst;bt!==null&&a!==null&&uc(a,bt.memoizedState.deps)?u.memoizedState=Ca(l,n,e,a):(tt.flags|=t,u.memoizedState=Ca(1|l,n,e,a))}function ho(t,l){An(8390656,8,t,l)}function hc(t,l){Dn(2048,8,t,l)}function em(t){tt.flags|=4;var l=tt.updateQueue;if(l===null)l=xn(),tt.updateQueue=l,l.events=[t];else{var e=l.events;e===null?l.events=[t]:e.push(t)}}function vo(t){var l=Rt().memoizedState;return em({ref:l,nextImpl:t}),function(){if((yt&2)!==0)throw Error(s(440));return l.impl.apply(void 0,arguments)}}function yo(t,l){return Dn(4,2,t,l)}function go(t,l){return Dn(4,4,t,l)}function po(t,l){if(typeof l=="function"){t=t();var e=l(t);return function(){typeof e=="function"?e():l(null)}}if(l!=null)return t=t(),l.current=t,function(){l.current=null}}function bo(t,l,e){e=e!=null?e.concat([t]):null,Dn(4,4,po.bind(null,l,t),e)}function vc(){}function So(t,l){var e=Rt();l=l===void 0?null:l;var a=e.memoizedState;return l!==null&&uc(l,a[1])?a[0]:(e.memoizedState=[t,l],t)}function Eo(t,l){var e=Rt();l=l===void 0?null:l;var a=e.memoizedState;if(l!==null&&uc(l,a[1]))return a[0];if(a=t(),ua){ye(!0);try{t()}finally{ye(!1)}}return e.memoizedState=[a,l],a}function yc(t,l,e){return e===void 0||(ae&1073741824)!==0&&(ct&261930)===0?t.memoizedState=l:(t.memoizedState=e,t=xr(),tt.lanes|=t,Ne|=t,e)}function xo(t,l,e,a){return El(e,l)?e:Na.current!==null?(t=yc(t,e,a),El(t,l)||(Xt=!0),t):(ae&42)===0||(ae&1073741824)!==0&&(ct&261930)===0?(Xt=!0,t.memoizedState=e):(t=xr(),tt.lanes|=t,Ne|=t,l)}function zo(t,l,e,a,u){var n=O.p;O.p=n!==0&&8>n?n:8;var i=S.T,c={};S.T=c,bc(t,!1,l,e);try{var f=u(),v=S.S;if(v!==null&&v(c,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var x=F0(f,a);Su(t,l,x,_l(t))}else Su(t,l,a,_l(t))}catch(A){Su(t,l,{then:function(){},status:"rejected",reason:A},_l())}finally{O.p=n,i!==null&&c.types!==null&&(i.types=c.types),S.T=i}}function am(){}function gc(t,l,e,a){if(t.tag!==5)throw Error(s(476));var u=To(t).queue;zo(t,u,l,Q,e===null?am:function(){return Ao(t),e(a)})}function To(t){var l=t.memoizedState;if(l!==null)return l;l={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ue,lastRenderedState:Q},next:null};var e={};return l.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ue,lastRenderedState:e},next:null},t.memoizedState=l,t=t.alternate,t!==null&&(t.memoizedState=l),l}function Ao(t){var l=To(t);l.next===null&&(l=t.alternate.memoizedState),Su(t,l.next.queue,{},_l())}function pc(){return ll(qu)}function Do(){return Rt().memoizedState}function _o(){return Rt().memoizedState}function um(t){for(var l=t.return;l!==null;){switch(l.tag){case 24:case 3:var e=_l();t=Te(e);var a=Ae(l,t,e);a!==null&&(gl(a,l,e),vu(a,l,e)),l={cache:Ji()},t.payload=l;return}l=l.return}}function nm(t,l,e){var a=_l();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},_n(t)?Mo(l,e):(e=Bi(t,l,e,a),e!==null&&(gl(e,t,a),No(e,l,a)))}function Oo(t,l,e){var a=_l();Su(t,l,e,a)}function Su(t,l,e,a){var u={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(_n(t))Mo(l,u);else{var n=t.alternate;if(t.lanes===0&&(n===null||n.lanes===0)&&(n=l.lastRenderedReducer,n!==null))try{var i=l.lastRenderedState,c=n(i,e);if(u.hasEagerState=!0,u.eagerState=c,El(c,i))return cn(t,l,u,0),xt===null&&nn(),!1}catch{}if(e=Bi(t,l,u,a),e!==null)return gl(e,t,a),No(e,l,a),!0}return!1}function bc(t,l,e,a){if(a={lane:2,revertLane:Fc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},_n(t)){if(l)throw Error(s(479))}else l=Bi(t,e,a,2),l!==null&&gl(l,t,2)}function _n(t){var l=t.alternate;return t===tt||l!==null&&l===tt}function Mo(t,l){ja=Sn=!0;var e=t.pending;e===null?l.next=l:(l.next=e.next,e.next=l),t.pending=l}function No(t,l,e){if((e&4194048)!==0){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,Hf(t,e)}}var Eu={readContext:ll,use:zn,useCallback:Ut,useContext:Ut,useEffect:Ut,useImperativeHandle:Ut,useLayoutEffect:Ut,useInsertionEffect:Ut,useMemo:Ut,useReducer:Ut,useRef:Ut,useState:Ut,useDebugValue:Ut,useDeferredValue:Ut,useTransition:Ut,useSyncExternalStore:Ut,useId:Ut,useHostTransitionStatus:Ut,useFormState:Ut,useActionState:Ut,useOptimistic:Ut,useMemoCache:Ut,useCacheRefresh:Ut};Eu.useEffectEvent=Ut;var jo={readContext:ll,use:zn,useCallback:function(t,l){return sl().memoizedState=[t,l===void 0?null:l],t},useContext:ll,useEffect:ho,useImperativeHandle:function(t,l,e){e=e!=null?e.concat([t]):null,An(4194308,4,po.bind(null,l,t),e)},useLayoutEffect:function(t,l){return An(4194308,4,t,l)},useInsertionEffect:function(t,l){An(4,2,t,l)},useMemo:function(t,l){var e=sl();l=l===void 0?null:l;var a=t();if(ua){ye(!0);try{t()}finally{ye(!1)}}return e.memoizedState=[a,l],a},useReducer:function(t,l,e){var a=sl();if(e!==void 0){var u=e(l);if(ua){ye(!0);try{e(l)}finally{ye(!1)}}}else u=l;return a.memoizedState=a.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},a.queue=t,t=t.dispatch=nm.bind(null,tt,t),[a.memoizedState,t]},useRef:function(t){var l=sl();return t={current:t},l.memoizedState=t},useState:function(t){t=dc(t);var l=t.queue,e=Oo.bind(null,tt,l);return l.dispatch=e,[t.memoizedState,e]},useDebugValue:vc,useDeferredValue:function(t,l){var e=sl();return yc(e,t,l)},useTransition:function(){var t=dc(!1);return t=zo.bind(null,tt,t.queue,!0,!1),sl().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,l,e){var a=tt,u=sl();if(st){if(e===void 0)throw Error(s(407));e=e()}else{if(e=l(),xt===null)throw Error(s(349));(ct&127)!==0||Fs(a,l,e)}u.memoizedState=e;var n={value:e,getSnapshot:l};return u.queue=n,ho(Ps.bind(null,a,n,t),[t]),a.flags|=2048,Ca(9,{destroy:void 0},Is.bind(null,a,n,e,l),null),e},useId:function(){var t=sl(),l=xt.identifierPrefix;if(st){var e=Vl,a=Ll;e=(a&~(1<<32-Sl(a)-1)).toString(32)+e,l="_"+l+"R_"+e,e=En++,0<e&&(l+="H"+e.toString(32)),l+="_"}else e=I0++,l="_"+l+"r_"+e.toString(32)+"_";return t.memoizedState=l},useHostTransitionStatus:pc,useFormState:fo,useActionState:fo,useOptimistic:function(t){var l=sl();l.memoizedState=l.baseState=t;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=e,l=bc.bind(null,tt,!0,e),e.dispatch=l,[t,l]},useMemoCache:sc,useCacheRefresh:function(){return sl().memoizedState=um.bind(null,tt)},useEffectEvent:function(t){var l=sl(),e={impl:t};return l.memoizedState=e,function(){if((yt&2)!==0)throw Error(s(440));return e.impl.apply(void 0,arguments)}}},Sc={readContext:ll,use:zn,useCallback:So,useContext:ll,useEffect:hc,useImperativeHandle:bo,useInsertionEffect:yo,useLayoutEffect:go,useMemo:Eo,useReducer:Tn,useRef:mo,useState:function(){return Tn(ue)},useDebugValue:vc,useDeferredValue:function(t,l){var e=Rt();return xo(e,bt.memoizedState,t,l)},useTransition:function(){var t=Tn(ue)[0],l=Rt().memoizedState;return[typeof t=="boolean"?t:bu(t),l]},useSyncExternalStore:ks,useId:Do,useHostTransitionStatus:pc,useFormState:so,useActionState:so,useOptimistic:function(t,l){var e=Rt();return eo(e,bt,t,l)},useMemoCache:sc,useCacheRefresh:_o};Sc.useEffectEvent=vo;var Uo={readContext:ll,use:zn,useCallback:So,useContext:ll,useEffect:hc,useImperativeHandle:bo,useInsertionEffect:yo,useLayoutEffect:go,useMemo:Eo,useReducer:rc,useRef:mo,useState:function(){return rc(ue)},useDebugValue:vc,useDeferredValue:function(t,l){var e=Rt();return bt===null?yc(e,t,l):xo(e,bt.memoizedState,t,l)},useTransition:function(){var t=rc(ue)[0],l=Rt().memoizedState;return[typeof t=="boolean"?t:bu(t),l]},useSyncExternalStore:ks,useId:Do,useHostTransitionStatus:pc,useFormState:ro,useActionState:ro,useOptimistic:function(t,l){var e=Rt();return bt!==null?eo(e,bt,t,l):(e.baseState=t,[t,e.queue.dispatch])},useMemoCache:sc,useCacheRefresh:_o};Uo.useEffectEvent=vo;function Ec(t,l,e,a){l=t.memoizedState,e=e(a,l),e=e==null?l:q({},l,e),t.memoizedState=e,t.lanes===0&&(t.updateQueue.baseState=e)}var xc={enqueueSetState:function(t,l,e){t=t._reactInternals;var a=_l(),u=Te(a);u.payload=l,e!=null&&(u.callback=e),l=Ae(t,u,a),l!==null&&(gl(l,t,a),vu(l,t,a))},enqueueReplaceState:function(t,l,e){t=t._reactInternals;var a=_l(),u=Te(a);u.tag=1,u.payload=l,e!=null&&(u.callback=e),l=Ae(t,u,a),l!==null&&(gl(l,t,a),vu(l,t,a))},enqueueForceUpdate:function(t,l){t=t._reactInternals;var e=_l(),a=Te(e);a.tag=2,l!=null&&(a.callback=l),l=Ae(t,a,e),l!==null&&(gl(l,t,e),vu(l,t,e))}};function Co(t,l,e,a,u,n,i){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,n,i):l.prototype&&l.prototype.isPureReactComponent?!cu(e,a)||!cu(u,n):!0}function Ho(t,l,e,a){t=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(e,a),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(e,a),l.state!==t&&xc.enqueueReplaceState(l,l.state,null)}function na(t,l){var e=l;if("ref"in l){e={};for(var a in l)a!=="ref"&&(e[a]=l[a])}if(t=t.defaultProps){e===l&&(e=q({},e));for(var u in t)e[u]===void 0&&(e[u]=t[u])}return e}function Ro(t){un(t)}function Bo(t){console.error(t)}function qo(t){un(t)}function On(t,l){try{var e=t.onUncaughtError;e(l.value,{componentStack:l.stack})}catch(a){setTimeout(function(){throw a})}}function Yo(t,l,e){try{var a=t.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function zc(t,l,e){return e=Te(e),e.tag=3,e.payload={element:null},e.callback=function(){On(t,l)},e}function Go(t){return t=Te(t),t.tag=3,t}function Xo(t,l,e,a){var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var n=a.value;t.payload=function(){return u(n)},t.callback=function(){Yo(l,e,a)}}var i=e.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){Yo(l,e,a),typeof u!="function"&&(je===null?je=new Set([this]):je.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function im(t,l,e,a,u){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(l=e.alternate,l!==null&&Aa(l,e,u,!0),e=zl.current,e!==null){switch(e.tag){case 31:case 13:return ql===null?Xn():e.alternate===null&&Ct===0&&(Ct=3),e.flags&=-257,e.flags|=65536,e.lanes=u,a===vn?e.flags|=16384:(l=e.updateQueue,l===null?e.updateQueue=new Set([a]):l.add(a),$c(t,a,u)),!1;case 22:return e.flags|=65536,a===vn?e.flags|=16384:(l=e.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=l):(e=l.retryQueue,e===null?l.retryQueue=new Set([a]):e.add(a)),$c(t,a,u)),!1}throw Error(s(435,e.tag))}return $c(t,a,u),Xn(),!1}if(st)return l=zl.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=u,a!==wi&&(t=Error(s(422),{cause:a}),ou(Cl(t,e)))):(a!==wi&&(l=Error(s(423),{cause:a}),ou(Cl(l,e))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,a=Cl(a,e),u=zc(t.stateNode,a,u),Pi(t,u),Ct!==4&&(Ct=2)),!1;var n=Error(s(520),{cause:a});if(n=Cl(n,e),Mu===null?Mu=[n]:Mu.push(n),Ct!==4&&(Ct=2),l===null)return!0;a=Cl(a,e),e=l;do{switch(e.tag){case 3:return e.flags|=65536,t=u&-u,e.lanes|=t,t=zc(e.stateNode,a,t),Pi(e,t),!1;case 1:if(l=e.type,n=e.stateNode,(e.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(je===null||!je.has(n))))return e.flags|=65536,u&=-u,e.lanes|=u,u=Go(u),Xo(u,t,e,a),Pi(e,u),!1}e=e.return}while(e!==null);return!1}var Tc=Error(s(461)),Xt=!1;function el(t,l,e,a){l.child=t===null?Zs(l,null,e,a):aa(l,t.child,e,a)}function Qo(t,l,e,a,u){e=e.render;var n=l.ref;if("ref"in a){var i={};for(var c in a)c!=="ref"&&(i[c]=a[c])}else i=a;return Pe(l),a=nc(t,l,e,i,n,u),c=ic(),t!==null&&!Xt?(cc(t,l,u),ne(t,l,u)):(st&&c&&Xi(l),l.flags|=1,el(t,l,a,u),l.child)}function wo(t,l,e,a,u){if(t===null){var n=e.type;return typeof n=="function"&&!qi(n)&&n.defaultProps===void 0&&e.compare===null?(l.tag=15,l.type=n,Zo(t,l,n,a,u)):(t=sn(e.type,null,a,l,l.mode,u),t.ref=l.ref,t.return=l,l.child=t)}if(n=t.child,!Uc(t,u)){var i=n.memoizedProps;if(e=e.compare,e=e!==null?e:cu,e(i,a)&&t.ref===l.ref)return ne(t,l,u)}return l.flags|=1,t=Pl(n,a),t.ref=l.ref,t.return=l,l.child=t}function Zo(t,l,e,a,u){if(t!==null){var n=t.memoizedProps;if(cu(n,a)&&t.ref===l.ref)if(Xt=!1,l.pendingProps=a=n,Uc(t,u))(t.flags&131072)!==0&&(Xt=!0);else return l.lanes=t.lanes,ne(t,l,u)}return Ac(t,l,e,a,u)}function Lo(t,l,e,a){var u=a.children,n=t!==null?t.memoizedState:null;if(t===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((l.flags&128)!==0){if(n=n!==null?n.baseLanes|e:e,t!==null){for(a=l.child=t.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~n}else a=0,l.child=null;return Vo(t,l,n,e,a)}if((e&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},t!==null&&mn(l,n!==null?n.cachePool:null),n!==null?Ks(l,n):lc(),Js(l);else return a=l.lanes=536870912,Vo(t,l,n!==null?n.baseLanes|e:e,e,a)}else n!==null?(mn(l,n.cachePool),Ks(l,n),_e(),l.memoizedState=null):(t!==null&&mn(l,null),lc(),_e());return el(t,l,u,e),l.child}function xu(t,l){return t!==null&&t.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function Vo(t,l,e,a,u){var n=Wi();return n=n===null?null:{parent:Yt._currentValue,pool:n},l.memoizedState={baseLanes:e,cachePool:n},t!==null&&mn(l,null),lc(),Js(l),t!==null&&Aa(t,l,a,!0),l.childLanes=u,null}function Mn(t,l){return l=jn({mode:l.mode,children:l.children},t.mode),l.ref=t.ref,t.child=l,l.return=t,l}function Ko(t,l,e){return aa(l,t.child,null,e),t=Mn(l,l.pendingProps),t.flags|=2,Tl(l),l.memoizedState=null,t}function cm(t,l,e){var a=l.pendingProps,u=(l.flags&128)!==0;if(l.flags&=-129,t===null){if(st){if(a.mode==="hidden")return t=Mn(l,a),l.lanes=536870912,xu(null,t);if(ac(l),(t=At)?(t=ud(t,Bl),t=t!==null&&t.data==="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:be!==null?{id:Ll,overflow:Vl}:null,retryLane:536870912,hydrationErrors:null},e=Os(t),e.return=l,l.child=e,tl=l,At=null)):t=null,t===null)throw Ee(l);return l.lanes=536870912,null}return Mn(l,a)}var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(ac(l),u)if(l.flags&256)l.flags&=-257,l=Ko(t,l,e);else if(l.memoizedState!==null)l.child=t.child,l.flags|=128,l=null;else throw Error(s(558));else if(Xt||Aa(t,l,e,!1),u=(e&t.childLanes)!==0,Xt||u){if(a=xt,a!==null&&(i=Rf(a,e),i!==0&&i!==n.retryLane))throw n.retryLane=i,We(t,i),gl(a,t,i),Tc;Xn(),l=Ko(t,l,e)}else t=n.treeContext,At=Yl(i.nextSibling),tl=l,st=!0,Se=null,Bl=!1,t!==null&&js(l,t),l=Mn(l,a),l.flags|=4096;return l}return t=Pl(t.child,{mode:a.mode,children:a.children}),t.ref=l.ref,l.child=t,t.return=l,t}function Nn(t,l){var e=l.ref;if(e===null)t!==null&&t.ref!==null&&(l.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(s(284));(t===null||t.ref!==e)&&(l.flags|=4194816)}}function Ac(t,l,e,a,u){return Pe(l),e=nc(t,l,e,a,void 0,u),a=ic(),t!==null&&!Xt?(cc(t,l,u),ne(t,l,u)):(st&&a&&Xi(l),l.flags|=1,el(t,l,e,u),l.child)}function Jo(t,l,e,a,u,n){return Pe(l),l.updateQueue=null,e=Ws(l,a,e,u),$s(t),a=ic(),t!==null&&!Xt?(cc(t,l,n),ne(t,l,n)):(st&&a&&Xi(l),l.flags|=1,el(t,l,e,n),l.child)}function $o(t,l,e,a,u){if(Pe(l),l.stateNode===null){var n=Ea,i=e.contextType;typeof i=="object"&&i!==null&&(n=ll(i)),n=new e(a,n),l.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=xc,l.stateNode=n,n._reactInternals=l,n=l.stateNode,n.props=a,n.state=l.memoizedState,n.refs={},Fi(l),i=e.contextType,n.context=typeof i=="object"&&i!==null?ll(i):Ea,n.state=l.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(Ec(l,e,i,a),n.state=l.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(i=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),i!==n.state&&xc.enqueueReplaceState(n,n.state,null),gu(l,a,n,u),yu(),n.state=l.memoizedState),typeof n.componentDidMount=="function"&&(l.flags|=4194308),a=!0}else if(t===null){n=l.stateNode;var c=l.memoizedProps,f=na(e,c);n.props=f;var v=n.context,x=e.contextType;i=Ea,typeof x=="object"&&x!==null&&(i=ll(x));var A=e.getDerivedStateFromProps;x=typeof A=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=l.pendingProps!==c,x||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||v!==i)&&Ho(l,n,a,i),ze=!1;var y=l.memoizedState;n.state=y,gu(l,a,n,u),yu(),v=l.memoizedState,c||y!==v||ze?(typeof A=="function"&&(Ec(l,e,A,a),v=l.memoizedState),(f=ze||Co(l,e,f,a,y,v,i))?(x||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(l.flags|=4194308)):(typeof n.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=a,l.memoizedState=v),n.props=a,n.state=v,n.context=i,a=f):(typeof n.componentDidMount=="function"&&(l.flags|=4194308),a=!1)}else{n=l.stateNode,Ii(t,l),i=l.memoizedProps,x=na(e,i),n.props=x,A=l.pendingProps,y=n.context,v=e.contextType,f=Ea,typeof v=="object"&&v!==null&&(f=ll(v)),c=e.getDerivedStateFromProps,(v=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i!==A||y!==f)&&Ho(l,n,a,f),ze=!1,y=l.memoizedState,n.state=y,gu(l,a,n,u),yu();var b=l.memoizedState;i!==A||y!==b||ze||t!==null&&t.dependencies!==null&&rn(t.dependencies)?(typeof c=="function"&&(Ec(l,e,c,a),b=l.memoizedState),(x=ze||Co(l,e,x,a,y,b,f)||t!==null&&t.dependencies!==null&&rn(t.dependencies))?(v||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,b,f),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,b,f)),typeof n.componentDidUpdate=="function"&&(l.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof n.componentDidUpdate!="function"||i===t.memoizedProps&&y===t.memoizedState||(l.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&y===t.memoizedState||(l.flags|=1024),l.memoizedProps=a,l.memoizedState=b),n.props=a,n.state=b,n.context=f,a=x):(typeof n.componentDidUpdate!="function"||i===t.memoizedProps&&y===t.memoizedState||(l.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&y===t.memoizedState||(l.flags|=1024),a=!1)}return n=a,Nn(t,l),a=(l.flags&128)!==0,n||a?(n=l.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:n.render(),l.flags|=1,t!==null&&a?(l.child=aa(l,t.child,null,u),l.child=aa(l,null,e,u)):el(t,l,e,u),l.memoizedState=n.state,t=l.child):t=ne(t,l,u),t}function Wo(t,l,e,a){return Fe(),l.flags|=256,el(t,l,e,a),l.child}var Dc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function _c(t){return{baseLanes:t,cachePool:qs()}}function Oc(t,l,e){return t=t!==null?t.childLanes&~e:0,l&&(t|=Dl),t}function ko(t,l,e){var a=l.pendingProps,u=!1,n=(l.flags&128)!==0,i;if((i=n)||(i=t!==null&&t.memoizedState===null?!1:(Ht.current&2)!==0),i&&(u=!0,l.flags&=-129),i=(l.flags&32)!==0,l.flags&=-33,t===null){if(st){if(u?De(l):_e(),(t=At)?(t=ud(t,Bl),t=t!==null&&t.data!=="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:be!==null?{id:Ll,overflow:Vl}:null,retryLane:536870912,hydrationErrors:null},e=Os(t),e.return=l,l.child=e,tl=l,At=null)):t=null,t===null)throw Ee(l);return rf(t)?l.lanes=32:l.lanes=536870912,null}var c=a.children;return a=a.fallback,u?(_e(),u=l.mode,c=jn({mode:"hidden",children:c},u),a=ke(a,u,e,null),c.return=l,a.return=l,c.sibling=a,l.child=c,a=l.child,a.memoizedState=_c(e),a.childLanes=Oc(t,i,e),l.memoizedState=Dc,xu(null,a)):(De(l),Mc(l,c))}var f=t.memoizedState;if(f!==null&&(c=f.dehydrated,c!==null)){if(n)l.flags&256?(De(l),l.flags&=-257,l=Nc(t,l,e)):l.memoizedState!==null?(_e(),l.child=t.child,l.flags|=128,l=null):(_e(),c=a.fallback,u=l.mode,a=jn({mode:"visible",children:a.children},u),c=ke(c,u,e,null),c.flags|=2,a.return=l,c.return=l,a.sibling=c,l.child=a,aa(l,t.child,null,e),a=l.child,a.memoizedState=_c(e),a.childLanes=Oc(t,i,e),l.memoizedState=Dc,l=xu(null,a));else if(De(l),rf(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var v=i.dgst;i=v,a=Error(s(419)),a.stack="",a.digest=i,ou({value:a,source:null,stack:null}),l=Nc(t,l,e)}else if(Xt||Aa(t,l,e,!1),i=(e&t.childLanes)!==0,Xt||i){if(i=xt,i!==null&&(a=Rf(i,e),a!==0&&a!==f.retryLane))throw f.retryLane=a,We(t,a),gl(i,t,a),Tc;of(c)||Xn(),l=Nc(t,l,e)}else of(c)?(l.flags|=192,l.child=t.child,l=null):(t=f.treeContext,At=Yl(c.nextSibling),tl=l,st=!0,Se=null,Bl=!1,t!==null&&js(l,t),l=Mc(l,a.children),l.flags|=4096);return l}return u?(_e(),c=a.fallback,u=l.mode,f=t.child,v=f.sibling,a=Pl(f,{mode:"hidden",children:a.children}),a.subtreeFlags=f.subtreeFlags&65011712,v!==null?c=Pl(v,c):(c=ke(c,u,e,null),c.flags|=2),c.return=l,a.return=l,a.sibling=c,l.child=a,xu(null,a),a=l.child,c=t.child.memoizedState,c===null?c=_c(e):(u=c.cachePool,u!==null?(f=Yt._currentValue,u=u.parent!==f?{parent:f,pool:f}:u):u=qs(),c={baseLanes:c.baseLanes|e,cachePool:u}),a.memoizedState=c,a.childLanes=Oc(t,i,e),l.memoizedState=Dc,xu(t.child,a)):(De(l),e=t.child,t=e.sibling,e=Pl(e,{mode:"visible",children:a.children}),e.return=l,e.sibling=null,t!==null&&(i=l.deletions,i===null?(l.deletions=[t],l.flags|=16):i.push(t)),l.child=e,l.memoizedState=null,e)}function Mc(t,l){return l=jn({mode:"visible",children:l},t.mode),l.return=t,t.child=l}function jn(t,l){return t=xl(22,t,null,l),t.lanes=0,t}function Nc(t,l,e){return aa(l,t.child,null,e),t=Mc(l,l.pendingProps.children),t.flags|=2,l.memoizedState=null,t}function Fo(t,l,e){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l),Vi(t.return,l,e)}function jc(t,l,e,a,u,n){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:u,treeForkCount:n}:(i.isBackwards=l,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=e,i.tailMode=u,i.treeForkCount=n)}function Io(t,l,e){var a=l.pendingProps,u=a.revealOrder,n=a.tail;a=a.children;var i=Ht.current,c=(i&2)!==0;if(c?(i=i&1|2,l.flags|=128):i&=1,M(Ht,i),el(t,l,a,e),a=st?su:0,!c&&t!==null&&(t.flags&128)!==0)t:for(t=l.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Fo(t,e,l);else if(t.tag===19)Fo(t,e,l);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break t;for(;t.sibling===null;){if(t.return===null||t.return===l)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"forwards":for(e=l.child,u=null;e!==null;)t=e.alternate,t!==null&&bn(t)===null&&(u=e),e=e.sibling;e=u,e===null?(u=l.child,l.child=null):(u=e.sibling,e.sibling=null),jc(l,!1,u,e,n,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,u=l.child,l.child=null;u!==null;){if(t=u.alternate,t!==null&&bn(t)===null){l.child=u;break}t=u.sibling,u.sibling=e,e=u,u=t}jc(l,!0,e,null,n,a);break;case"together":jc(l,!1,null,null,void 0,a);break;default:l.memoizedState=null}return l.child}function ne(t,l,e){if(t!==null&&(l.dependencies=t.dependencies),Ne|=l.lanes,(e&l.childLanes)===0)if(t!==null){if(Aa(t,l,e,!1),(e&l.childLanes)===0)return null}else return null;if(t!==null&&l.child!==t.child)throw Error(s(153));if(l.child!==null){for(t=l.child,e=Pl(t,t.pendingProps),l.child=e,e.return=l;t.sibling!==null;)t=t.sibling,e=e.sibling=Pl(t,t.pendingProps),e.return=l;e.sibling=null}return l.child}function Uc(t,l){return(t.lanes&l)!==0?!0:(t=t.dependencies,!!(t!==null&&rn(t)))}function fm(t,l,e){switch(l.tag){case 3:_(l,l.stateNode.containerInfo),xe(l,Yt,t.memoizedState.cache),Fe();break;case 27:case 5:F(l);break;case 4:_(l,l.stateNode.containerInfo);break;case 10:xe(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,ac(l),null;break;case 13:var a=l.memoizedState;if(a!==null)return a.dehydrated!==null?(De(l),l.flags|=128,null):(e&l.child.childLanes)!==0?ko(t,l,e):(De(l),t=ne(t,l,e),t!==null?t.sibling:null);De(l);break;case 19:var u=(t.flags&128)!==0;if(a=(e&l.childLanes)!==0,a||(Aa(t,l,e,!1),a=(e&l.childLanes)!==0),u){if(a)return Io(t,l,e);l.flags|=128}if(u=l.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),M(Ht,Ht.current),a)break;return null;case 22:return l.lanes=0,Lo(t,l,e,l.pendingProps);case 24:xe(l,Yt,t.memoizedState.cache)}return ne(t,l,e)}function Po(t,l,e){if(t!==null)if(t.memoizedProps!==l.pendingProps)Xt=!0;else{if(!Uc(t,e)&&(l.flags&128)===0)return Xt=!1,fm(t,l,e);Xt=(t.flags&131072)!==0}else Xt=!1,st&&(l.flags&1048576)!==0&&Ns(l,su,l.index);switch(l.lanes=0,l.tag){case 16:t:{var a=l.pendingProps;if(t=la(l.elementType),l.type=t,typeof t=="function")qi(t)?(a=na(t,a),l.tag=1,l=$o(null,l,t,a,e)):(l.tag=0,l=Ac(null,l,t,a,e));else{if(t!=null){var u=t.$$typeof;if(u===Kt){l.tag=11,l=Qo(null,l,t,a,e);break t}else if(u===lt){l.tag=14,l=wo(null,l,t,a,e);break t}}throw l=fl(t)||t,Error(s(306,l,""))}}return l;case 0:return Ac(t,l,l.type,l.pendingProps,e);case 1:return a=l.type,u=na(a,l.pendingProps),$o(t,l,a,u,e);case 3:t:{if(_(l,l.stateNode.containerInfo),t===null)throw Error(s(387));a=l.pendingProps;var n=l.memoizedState;u=n.element,Ii(t,l),gu(l,a,null,e);var i=l.memoizedState;if(a=i.cache,xe(l,Yt,a),a!==n.cache&&Ki(l,[Yt],e,!0),yu(),a=i.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:i.cache},l.updateQueue.baseState=n,l.memoizedState=n,l.flags&256){l=Wo(t,l,a,e);break t}else if(a!==u){u=Cl(Error(s(424)),l),ou(u),l=Wo(t,l,a,e);break t}else for(t=l.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,At=Yl(t.firstChild),tl=l,st=!0,Se=null,Bl=!0,e=Zs(l,null,a,e),l.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling;else{if(Fe(),a===u){l=ne(t,l,e);break t}el(t,l,a,e)}l=l.child}return l;case 26:return Nn(t,l),t===null?(e=od(l.type,null,l.pendingProps,null))?l.memoizedState=e:st||(e=l.type,t=l.pendingProps,a=Jn(P.current).createElement(e),a[Pt]=l,a[rl]=t,al(a,e,t),Wt(a),l.stateNode=a):l.memoizedState=od(l.type,t.memoizedProps,l.pendingProps,t.memoizedState),null;case 27:return F(l),t===null&&st&&(a=l.stateNode=cd(l.type,l.pendingProps,P.current),tl=l,Bl=!0,u=At,Re(l.type)?(df=u,At=Yl(a.firstChild)):At=u),el(t,l,l.pendingProps.children,e),Nn(t,l),t===null&&(l.flags|=4194304),l.child;case 5:return t===null&&st&&((u=a=At)&&(a=Ym(a,l.type,l.pendingProps,Bl),a!==null?(l.stateNode=a,tl=l,At=Yl(a.firstChild),Bl=!1,u=!0):u=!1),u||Ee(l)),F(l),u=l.type,n=l.pendingProps,i=t!==null?t.memoizedProps:null,a=n.children,cf(u,n)?a=null:i!==null&&cf(u,i)&&(l.flags|=32),l.memoizedState!==null&&(u=nc(t,l,P0,null,null,e),qu._currentValue=u),Nn(t,l),el(t,l,a,e),l.child;case 6:return t===null&&st&&((t=e=At)&&(e=Gm(e,l.pendingProps,Bl),e!==null?(l.stateNode=e,tl=l,At=null,t=!0):t=!1),t||Ee(l)),null;case 13:return ko(t,l,e);case 4:return _(l,l.stateNode.containerInfo),a=l.pendingProps,t===null?l.child=aa(l,null,a,e):el(t,l,a,e),l.child;case 11:return Qo(t,l,l.type,l.pendingProps,e);case 7:return el(t,l,l.pendingProps,e),l.child;case 8:return el(t,l,l.pendingProps.children,e),l.child;case 12:return el(t,l,l.pendingProps.children,e),l.child;case 10:return a=l.pendingProps,xe(l,l.type,a.value),el(t,l,a.children,e),l.child;case 9:return u=l.type._context,a=l.pendingProps.children,Pe(l),u=ll(u),a=a(u),l.flags|=1,el(t,l,a,e),l.child;case 14:return wo(t,l,l.type,l.pendingProps,e);case 15:return Zo(t,l,l.type,l.pendingProps,e);case 19:return Io(t,l,e);case 31:return cm(t,l,e);case 22:return Lo(t,l,e,l.pendingProps);case 24:return Pe(l),a=ll(Yt),t===null?(u=Wi(),u===null&&(u=xt,n=Ji(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=e),u=n),l.memoizedState={parent:a,cache:u},Fi(l),xe(l,Yt,u)):((t.lanes&e)!==0&&(Ii(t,l),gu(l,null,null,e),yu()),u=t.memoizedState,n=l.memoizedState,u.parent!==a?(u={parent:a,cache:a},l.memoizedState=u,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=u),xe(l,Yt,a)):(a=n.cache,xe(l,Yt,a),a!==u.cache&&Ki(l,[Yt],e,!0))),el(t,l,l.pendingProps.children,e),l.child;case 29:throw l.pendingProps}throw Error(s(156,l.tag))}function ie(t){t.flags|=4}function Cc(t,l,e,a,u){if((l=(t.mode&32)!==0)&&(l=!1),l){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(Dr())t.flags|=8192;else throw ea=vn,ki}else t.flags&=-16777217}function tr(t,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!vd(l))if(Dr())t.flags|=8192;else throw ea=vn,ki}function Un(t,l){l!==null&&(t.flags|=4),t.flags&16384&&(l=t.tag!==22?Uf():536870912,t.lanes|=l,qa|=l)}function zu(t,l){if(!st)switch(t.tailMode){case"hidden":l=t.tail;for(var e=null;l!==null;)l.alternate!==null&&(e=l),l=l.sibling;e===null?t.tail=null:e.sibling=null;break;case"collapsed":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?l||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Dt(t){var l=t.alternate!==null&&t.alternate.child===t.child,e=0,a=0;if(l)for(var u=t.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=a,t.childLanes=e,l}function sm(t,l,e){var a=l.pendingProps;switch(Qi(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Dt(l),null;case 1:return Dt(l),null;case 3:return e=l.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),l.memoizedState.cache!==a&&(l.flags|=2048),ee(Yt),H(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(t===null||t.child===null)&&(Ta(l)?ie(l):t===null||t.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Zi())),Dt(l),null;case 26:var u=l.type,n=l.memoizedState;return t===null?(ie(l),n!==null?(Dt(l),tr(l,n)):(Dt(l),Cc(l,u,null,a,e))):n?n!==t.memoizedState?(ie(l),Dt(l),tr(l,n)):(Dt(l),l.flags&=-16777217):(t=t.memoizedProps,t!==a&&ie(l),Dt(l),Cc(l,u,t,a,e)),null;case 27:if(It(l),e=P.current,u=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&ie(l);else{if(!a){if(l.stateNode===null)throw Error(s(166));return Dt(l),null}t=C.current,Ta(l)?Us(l):(t=cd(u,a,e),l.stateNode=t,ie(l))}return Dt(l),null;case 5:if(It(l),u=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&ie(l);else{if(!a){if(l.stateNode===null)throw Error(s(166));return Dt(l),null}if(n=C.current,Ta(l))Us(l);else{var i=Jn(P.current);switch(n){case 1:n=i.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:n=i.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":n=i.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":n=i.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":n=i.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?n.multiple=!0:a.size&&(n.size=a.size);break;default:n=typeof a.is=="string"?i.createElement(u,{is:a.is}):i.createElement(u)}}n[Pt]=l,n[rl]=a;t:for(i=l.child;i!==null;){if(i.tag===5||i.tag===6)n.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===l)break t;for(;i.sibling===null;){if(i.return===null||i.return===l)break t;i=i.return}i.sibling.return=i.return,i=i.sibling}l.stateNode=n;t:switch(al(n,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&ie(l)}}return Dt(l),Cc(l,l.type,t===null?null:t.memoizedProps,l.pendingProps,e),null;case 6:if(t&&l.stateNode!=null)t.memoizedProps!==a&&ie(l);else{if(typeof a!="string"&&l.stateNode===null)throw Error(s(166));if(t=P.current,Ta(l)){if(t=l.stateNode,e=l.memoizedProps,a=null,u=tl,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}t[Pt]=l,t=!!(t.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||kr(t.nodeValue,e)),t||Ee(l,!0)}else t=Jn(t).createTextNode(a),t[Pt]=l,l.stateNode=t}return Dt(l),null;case 31:if(e=l.memoizedState,t===null||t.memoizedState!==null){if(a=Ta(l),e!==null){if(t===null){if(!a)throw Error(s(318));if(t=l.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(557));t[Pt]=l}else Fe(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Dt(l),t=!1}else e=Zi(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=e),t=!0;if(!t)return l.flags&256?(Tl(l),l):(Tl(l),null);if((l.flags&128)!==0)throw Error(s(558))}return Dt(l),null;case 13:if(a=l.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=Ta(l),a!==null&&a.dehydrated!==null){if(t===null){if(!u)throw Error(s(318));if(u=l.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(s(317));u[Pt]=l}else Fe(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Dt(l),u=!1}else u=Zi(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return l.flags&256?(Tl(l),l):(Tl(l),null)}return Tl(l),(l.flags&128)!==0?(l.lanes=e,l):(e=a!==null,t=t!==null&&t.memoizedState!==null,e&&(a=l.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==u&&(a.flags|=2048)),e!==t&&e&&(l.child.flags|=8192),Un(l,l.updateQueue),Dt(l),null);case 4:return H(),t===null&&lf(l.stateNode.containerInfo),Dt(l),null;case 10:return ee(l.type),Dt(l),null;case 19:if(z(Ht),a=l.memoizedState,a===null)return Dt(l),null;if(u=(l.flags&128)!==0,n=a.rendering,n===null)if(u)zu(a,!1);else{if(Ct!==0||t!==null&&(t.flags&128)!==0)for(t=l.child;t!==null;){if(n=bn(t),n!==null){for(l.flags|=128,zu(a,!1),t=n.updateQueue,l.updateQueue=t,Un(l,t),l.subtreeFlags=0,t=e,e=l.child;e!==null;)_s(e,t),e=e.sibling;return M(Ht,Ht.current&1|2),st&&te(l,a.treeForkCount),l.child}t=t.sibling}a.tail!==null&&K()>qn&&(l.flags|=128,u=!0,zu(a,!1),l.lanes=4194304)}else{if(!u)if(t=bn(n),t!==null){if(l.flags|=128,u=!0,t=t.updateQueue,l.updateQueue=t,Un(l,t),zu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!n.alternate&&!st)return Dt(l),null}else 2*K()-a.renderingStartTime>qn&&e!==536870912&&(l.flags|=128,u=!0,zu(a,!1),l.lanes=4194304);a.isBackwards?(n.sibling=l.child,l.child=n):(t=a.last,t!==null?t.sibling=n:l.child=n,a.last=n)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=K(),t.sibling=null,e=Ht.current,M(Ht,u?e&1|2:e&1),st&&te(l,a.treeForkCount),t):(Dt(l),null);case 22:case 23:return Tl(l),ec(),a=l.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(l.flags|=8192):a&&(l.flags|=8192),a?(e&536870912)!==0&&(l.flags&128)===0&&(Dt(l),l.subtreeFlags&6&&(l.flags|=8192)):Dt(l),e=l.updateQueue,e!==null&&Un(l,e.retryQueue),e=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==e&&(l.flags|=2048),t!==null&&z(ta),null;case 24:return e=null,t!==null&&(e=t.memoizedState.cache),l.memoizedState.cache!==e&&(l.flags|=2048),ee(Yt),Dt(l),null;case 25:return null;case 30:return null}throw Error(s(156,l.tag))}function om(t,l){switch(Qi(l),l.tag){case 1:return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 3:return ee(Yt),H(),t=l.flags,(t&65536)!==0&&(t&128)===0?(l.flags=t&-65537|128,l):null;case 26:case 27:case 5:return It(l),null;case 31:if(l.memoizedState!==null){if(Tl(l),l.alternate===null)throw Error(s(340));Fe()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 13:if(Tl(l),t=l.memoizedState,t!==null&&t.dehydrated!==null){if(l.alternate===null)throw Error(s(340));Fe()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 19:return z(Ht),null;case 4:return H(),null;case 10:return ee(l.type),null;case 22:case 23:return Tl(l),ec(),t!==null&&z(ta),t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 24:return ee(Yt),null;case 25:return null;default:return null}}function lr(t,l){switch(Qi(l),l.tag){case 3:ee(Yt),H();break;case 26:case 27:case 5:It(l);break;case 4:H();break;case 31:l.memoizedState!==null&&Tl(l);break;case 13:Tl(l);break;case 19:z(Ht);break;case 10:ee(l.type);break;case 22:case 23:Tl(l),ec(),t!==null&&z(ta);break;case 24:ee(Yt)}}function Tu(t,l){try{var e=l.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var u=a.next;e=u;do{if((e.tag&t)===t){a=void 0;var n=e.create,i=e.inst;a=n(),i.destroy=a}e=e.next}while(e!==u)}}catch(c){pt(l,l.return,c)}}function Oe(t,l,e){try{var a=l.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var n=u.next;a=n;do{if((a.tag&t)===t){var i=a.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,u=l;var f=e,v=c;try{v()}catch(x){pt(u,f,x)}}}a=a.next}while(a!==n)}}catch(x){pt(l,l.return,x)}}function er(t){var l=t.updateQueue;if(l!==null){var e=t.stateNode;try{Vs(l,e)}catch(a){pt(t,t.return,a)}}}function ar(t,l,e){e.props=na(t.type,t.memoizedProps),e.state=t.memoizedState;try{e.componentWillUnmount()}catch(a){pt(t,l,a)}}function Au(t,l){try{var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof e=="function"?t.refCleanup=e(a):e.current=a}}catch(u){pt(t,l,u)}}function Kl(t,l){var e=t.ref,a=t.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(u){pt(t,l,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(u){pt(t,l,u)}else e.current=null}function ur(t){var l=t.type,e=t.memoizedProps,a=t.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break t;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(u){pt(t,t.return,u)}}function Hc(t,l,e){try{var a=t.stateNode;Um(a,t.type,e,l),a[rl]=l}catch(u){pt(t,t.return,u)}}function nr(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Re(t.type)||t.tag===4}function Rc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||nr(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Re(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Bc(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(t,l):(l=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.appendChild(t),e=e._reactRootContainer,e!=null||l.onclick!==null||(l.onclick=Fl));else if(a!==4&&(a===27&&Re(t.type)&&(e=t.stateNode,l=null),t=t.child,t!==null))for(Bc(t,l,e),t=t.sibling;t!==null;)Bc(t,l,e),t=t.sibling}function Cn(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?e.insertBefore(t,l):e.appendChild(t);else if(a!==4&&(a===27&&Re(t.type)&&(e=t.stateNode),t=t.child,t!==null))for(Cn(t,l,e),t=t.sibling;t!==null;)Cn(t,l,e),t=t.sibling}function ir(t){var l=t.stateNode,e=t.memoizedProps;try{for(var a=t.type,u=l.attributes;u.length;)l.removeAttributeNode(u[0]);al(l,a,e),l[Pt]=t,l[rl]=e}catch(n){pt(t,t.return,n)}}var ce=!1,Qt=!1,qc=!1,cr=typeof WeakSet=="function"?WeakSet:Set,kt=null;function rm(t,l){if(t=t.containerInfo,uf=ti,t=ps(t),Ni(t)){if("selectionStart"in t)var e={start:t.selectionStart,end:t.selectionEnd};else t:{e=(e=t.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var u=a.anchorOffset,n=a.focusNode;a=a.focusOffset;try{e.nodeType,n.nodeType}catch{e=null;break t}var i=0,c=-1,f=-1,v=0,x=0,A=t,y=null;l:for(;;){for(var b;A!==e||u!==0&&A.nodeType!==3||(c=i+u),A!==n||a!==0&&A.nodeType!==3||(f=i+a),A.nodeType===3&&(i+=A.nodeValue.length),(b=A.firstChild)!==null;)y=A,A=b;for(;;){if(A===t)break l;if(y===e&&++v===u&&(c=i),y===n&&++x===a&&(f=i),(b=A.nextSibling)!==null)break;A=y,y=A.parentNode}A=b}e=c===-1||f===-1?null:{start:c,end:f}}else e=null}e=e||{start:0,end:0}}else e=null;for(nf={focusedElem:t,selectionRange:e},ti=!1,kt=l;kt!==null;)if(l=kt,t=l.child,(l.subtreeFlags&1028)!==0&&t!==null)t.return=l,kt=t;else for(;kt!==null;){switch(l=kt,n=l.alternate,t=l.flags,l.tag){case 0:if((t&4)!==0&&(t=l.updateQueue,t=t!==null?t.events:null,t!==null))for(e=0;e<t.length;e++)u=t[e],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&n!==null){t=void 0,e=l,u=n.memoizedProps,n=n.memoizedState,a=e.stateNode;try{var B=na(e.type,u);t=a.getSnapshotBeforeUpdate(B,n),a.__reactInternalSnapshotBeforeUpdate=t}catch(V){pt(e,e.return,V)}}break;case 3:if((t&1024)!==0){if(t=l.stateNode.containerInfo,e=t.nodeType,e===9)sf(t);else if(e===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":sf(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(s(163))}if(t=l.sibling,t!==null){t.return=l.return,kt=t;break}kt=l.return}}function fr(t,l,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:se(t,e),a&4&&Tu(5,e);break;case 1:if(se(t,e),a&4)if(t=e.stateNode,l===null)try{t.componentDidMount()}catch(i){pt(e,e.return,i)}else{var u=na(e.type,l.memoizedProps);l=l.memoizedState;try{t.componentDidUpdate(u,l,t.__reactInternalSnapshotBeforeUpdate)}catch(i){pt(e,e.return,i)}}a&64&&er(e),a&512&&Au(e,e.return);break;case 3:if(se(t,e),a&64&&(t=e.updateQueue,t!==null)){if(l=null,e.child!==null)switch(e.child.tag){case 27:case 5:l=e.child.stateNode;break;case 1:l=e.child.stateNode}try{Vs(t,l)}catch(i){pt(e,e.return,i)}}break;case 27:l===null&&a&4&&ir(e);case 26:case 5:se(t,e),l===null&&a&4&&ur(e),a&512&&Au(e,e.return);break;case 12:se(t,e);break;case 31:se(t,e),a&4&&rr(t,e);break;case 13:se(t,e),a&4&&dr(t,e),a&64&&(t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(e=Sm.bind(null,e),Xm(t,e))));break;case 22:if(a=e.memoizedState!==null||ce,!a){l=l!==null&&l.memoizedState!==null||Qt,u=ce;var n=Qt;ce=a,(Qt=l)&&!n?oe(t,e,(e.subtreeFlags&8772)!==0):se(t,e),ce=u,Qt=n}break;case 30:break;default:se(t,e)}}function sr(t){var l=t.alternate;l!==null&&(t.alternate=null,sr(l)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(l=t.stateNode,l!==null&&mi(l)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ot=null,ml=!1;function fe(t,l,e){for(e=e.child;e!==null;)or(t,l,e),e=e.sibling}function or(t,l,e){if(bl&&typeof bl.onCommitFiberUnmount=="function")try{bl.onCommitFiberUnmount(Wa,e)}catch{}switch(e.tag){case 26:Qt||Kl(e,l),fe(t,l,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Qt||Kl(e,l);var a=Ot,u=ml;Re(e.type)&&(Ot=e.stateNode,ml=!1),fe(t,l,e),Hu(e.stateNode),Ot=a,ml=u;break;case 5:Qt||Kl(e,l);case 6:if(a=Ot,u=ml,Ot=null,fe(t,l,e),Ot=a,ml=u,Ot!==null)if(ml)try{(Ot.nodeType===9?Ot.body:Ot.nodeName==="HTML"?Ot.ownerDocument.body:Ot).removeChild(e.stateNode)}catch(n){pt(e,l,n)}else try{Ot.removeChild(e.stateNode)}catch(n){pt(e,l,n)}break;case 18:Ot!==null&&(ml?(t=Ot,ed(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.stateNode),Va(t)):ed(Ot,e.stateNode));break;case 4:a=Ot,u=ml,Ot=e.stateNode.containerInfo,ml=!0,fe(t,l,e),Ot=a,ml=u;break;case 0:case 11:case 14:case 15:Oe(2,e,l),Qt||Oe(4,e,l),fe(t,l,e);break;case 1:Qt||(Kl(e,l),a=e.stateNode,typeof a.componentWillUnmount=="function"&&ar(e,l,a)),fe(t,l,e);break;case 21:fe(t,l,e);break;case 22:Qt=(a=Qt)||e.memoizedState!==null,fe(t,l,e),Qt=a;break;default:fe(t,l,e)}}function rr(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Va(t)}catch(e){pt(l,l.return,e)}}}function dr(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Va(t)}catch(e){pt(l,l.return,e)}}function dm(t){switch(t.tag){case 31:case 13:case 19:var l=t.stateNode;return l===null&&(l=t.stateNode=new cr),l;case 22:return t=t.stateNode,l=t._retryCache,l===null&&(l=t._retryCache=new cr),l;default:throw Error(s(435,t.tag))}}function Hn(t,l){var e=dm(t);l.forEach(function(a){if(!e.has(a)){e.add(a);var u=Em.bind(null,t,a);a.then(u,u)}})}function hl(t,l){var e=l.deletions;if(e!==null)for(var a=0;a<e.length;a++){var u=e[a],n=t,i=l,c=i;t:for(;c!==null;){switch(c.tag){case 27:if(Re(c.type)){Ot=c.stateNode,ml=!1;break t}break;case 5:Ot=c.stateNode,ml=!1;break t;case 3:case 4:Ot=c.stateNode.containerInfo,ml=!0;break t}c=c.return}if(Ot===null)throw Error(s(160));or(n,i,u),Ot=null,ml=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)mr(l,t),l=l.sibling}var wl=null;function mr(t,l){var e=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:hl(l,t),vl(t),a&4&&(Oe(3,t,t.return),Tu(3,t),Oe(5,t,t.return));break;case 1:hl(l,t),vl(t),a&512&&(Qt||e===null||Kl(e,e.return)),a&64&&ce&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(e=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var u=wl;if(hl(l,t),vl(t),a&512&&(Qt||e===null||Kl(e,e.return)),a&4){var n=e!==null?e.memoizedState:null;if(a=t.memoizedState,e===null)if(a===null)if(t.stateNode===null){t:{a=t.type,e=t.memoizedProps,u=u.ownerDocument||u;l:switch(a){case"title":n=u.getElementsByTagName("title")[0],(!n||n[Ia]||n[Pt]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(a),u.head.insertBefore(n,u.querySelector("head > title"))),al(n,a,e),n[Pt]=t,Wt(n),a=n;break t;case"link":var i=md("link","href",u).get(a+(e.href||""));if(i){for(var c=0;c<i.length;c++)if(n=i[c],n.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&n.getAttribute("rel")===(e.rel==null?null:e.rel)&&n.getAttribute("title")===(e.title==null?null:e.title)&&n.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){i.splice(c,1);break l}}n=u.createElement(a),al(n,a,e),u.head.appendChild(n);break;case"meta":if(i=md("meta","content",u).get(a+(e.content||""))){for(c=0;c<i.length;c++)if(n=i[c],n.getAttribute("content")===(e.content==null?null:""+e.content)&&n.getAttribute("name")===(e.name==null?null:e.name)&&n.getAttribute("property")===(e.property==null?null:e.property)&&n.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&n.getAttribute("charset")===(e.charSet==null?null:e.charSet)){i.splice(c,1);break l}}n=u.createElement(a),al(n,a,e),u.head.appendChild(n);break;default:throw Error(s(468,a))}n[Pt]=t,Wt(n),a=n}t.stateNode=a}else hd(u,t.type,t.stateNode);else t.stateNode=dd(u,a,t.memoizedProps);else n!==a?(n===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):n.count--,a===null?hd(u,t.type,t.stateNode):dd(u,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Hc(t,t.memoizedProps,e.memoizedProps)}break;case 27:hl(l,t),vl(t),a&512&&(Qt||e===null||Kl(e,e.return)),e!==null&&a&4&&Hc(t,t.memoizedProps,e.memoizedProps);break;case 5:if(hl(l,t),vl(t),a&512&&(Qt||e===null||Kl(e,e.return)),t.flags&32){u=t.stateNode;try{ha(u,"")}catch(B){pt(t,t.return,B)}}a&4&&t.stateNode!=null&&(u=t.memoizedProps,Hc(t,u,e!==null?e.memoizedProps:u)),a&1024&&(qc=!0);break;case 6:if(hl(l,t),vl(t),a&4){if(t.stateNode===null)throw Error(s(162));a=t.memoizedProps,e=t.stateNode;try{e.nodeValue=a}catch(B){pt(t,t.return,B)}}break;case 3:if(kn=null,u=wl,wl=$n(l.containerInfo),hl(l,t),wl=u,vl(t),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Va(l.containerInfo)}catch(B){pt(t,t.return,B)}qc&&(qc=!1,hr(t));break;case 4:a=wl,wl=$n(t.stateNode.containerInfo),hl(l,t),vl(t),wl=a;break;case 12:hl(l,t),vl(t);break;case 31:hl(l,t),vl(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Hn(t,a)));break;case 13:hl(l,t),vl(t),t.child.flags&8192&&t.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(Bn=K()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Hn(t,a)));break;case 22:u=t.memoizedState!==null;var f=e!==null&&e.memoizedState!==null,v=ce,x=Qt;if(ce=v||u,Qt=x||f,hl(l,t),Qt=x,ce=v,vl(t),a&8192)t:for(l=t.stateNode,l._visibility=u?l._visibility&-2:l._visibility|1,u&&(e===null||f||ce||Qt||ia(t)),e=null,l=t;;){if(l.tag===5||l.tag===26){if(e===null){f=e=l;try{if(n=f.stateNode,u)i=n.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{c=f.stateNode;var A=f.memoizedProps.style,y=A!=null&&A.hasOwnProperty("display")?A.display:null;c.style.display=y==null||typeof y=="boolean"?"":(""+y).trim()}}catch(B){pt(f,f.return,B)}}}else if(l.tag===6){if(e===null){f=l;try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(B){pt(f,f.return,B)}}}else if(l.tag===18){if(e===null){f=l;try{var b=f.stateNode;u?ad(b,!0):ad(f.stateNode,!1)}catch(B){pt(f,f.return,B)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===t)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break t;for(;l.sibling===null;){if(l.return===null||l.return===t)break t;e===l&&(e=null),l=l.return}e===l&&(e=null),l.sibling.return=l.return,l=l.sibling}a&4&&(a=t.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,Hn(t,e))));break;case 19:hl(l,t),vl(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Hn(t,a)));break;case 30:break;case 21:break;default:hl(l,t),vl(t)}}function vl(t){var l=t.flags;if(l&2){try{for(var e,a=t.return;a!==null;){if(nr(a)){e=a;break}a=a.return}if(e==null)throw Error(s(160));switch(e.tag){case 27:var u=e.stateNode,n=Rc(t);Cn(t,n,u);break;case 5:var i=e.stateNode;e.flags&32&&(ha(i,""),e.flags&=-33);var c=Rc(t);Cn(t,c,i);break;case 3:case 4:var f=e.stateNode.containerInfo,v=Rc(t);Bc(t,v,f);break;default:throw Error(s(161))}}catch(x){pt(t,t.return,x)}t.flags&=-3}l&4096&&(t.flags&=-4097)}function hr(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var l=t;hr(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),t=t.sibling}}function se(t,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)fr(t,l.alternate,l),l=l.sibling}function ia(t){for(t=t.child;t!==null;){var l=t;switch(l.tag){case 0:case 11:case 14:case 15:Oe(4,l,l.return),ia(l);break;case 1:Kl(l,l.return);var e=l.stateNode;typeof e.componentWillUnmount=="function"&&ar(l,l.return,e),ia(l);break;case 27:Hu(l.stateNode);case 26:case 5:Kl(l,l.return),ia(l);break;case 22:l.memoizedState===null&&ia(l);break;case 30:ia(l);break;default:ia(l)}t=t.sibling}}function oe(t,l,e){for(e=e&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var a=l.alternate,u=t,n=l,i=n.flags;switch(n.tag){case 0:case 11:case 15:oe(u,n,e),Tu(4,n);break;case 1:if(oe(u,n,e),a=n,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(v){pt(a,a.return,v)}if(a=n,u=a.updateQueue,u!==null){var c=a.stateNode;try{var f=u.shared.hiddenCallbacks;if(f!==null)for(u.shared.hiddenCallbacks=null,u=0;u<f.length;u++)Ls(f[u],c)}catch(v){pt(a,a.return,v)}}e&&i&64&&er(n),Au(n,n.return);break;case 27:ir(n);case 26:case 5:oe(u,n,e),e&&a===null&&i&4&&ur(n),Au(n,n.return);break;case 12:oe(u,n,e);break;case 31:oe(u,n,e),e&&i&4&&rr(u,n);break;case 13:oe(u,n,e),e&&i&4&&dr(u,n);break;case 22:n.memoizedState===null&&oe(u,n,e),Au(n,n.return);break;case 30:break;default:oe(u,n,e)}l=l.sibling}}function Yc(t,l){var e=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),t=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),t!==e&&(t!=null&&t.refCount++,e!=null&&ru(e))}function Gc(t,l){t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&ru(t))}function Zl(t,l,e,a){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)vr(t,l,e,a),l=l.sibling}function vr(t,l,e,a){var u=l.flags;switch(l.tag){case 0:case 11:case 15:Zl(t,l,e,a),u&2048&&Tu(9,l);break;case 1:Zl(t,l,e,a);break;case 3:Zl(t,l,e,a),u&2048&&(t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&ru(t)));break;case 12:if(u&2048){Zl(t,l,e,a),t=l.stateNode;try{var n=l.memoizedProps,i=n.id,c=n.onPostCommit;typeof c=="function"&&c(i,l.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(f){pt(l,l.return,f)}}else Zl(t,l,e,a);break;case 31:Zl(t,l,e,a);break;case 13:Zl(t,l,e,a);break;case 23:break;case 22:n=l.stateNode,i=l.alternate,l.memoizedState!==null?n._visibility&2?Zl(t,l,e,a):Du(t,l):n._visibility&2?Zl(t,l,e,a):(n._visibility|=2,Ha(t,l,e,a,(l.subtreeFlags&10256)!==0||!1)),u&2048&&Yc(i,l);break;case 24:Zl(t,l,e,a),u&2048&&Gc(l.alternate,l);break;default:Zl(t,l,e,a)}}function Ha(t,l,e,a,u){for(u=u&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var n=t,i=l,c=e,f=a,v=i.flags;switch(i.tag){case 0:case 11:case 15:Ha(n,i,c,f,u),Tu(8,i);break;case 23:break;case 22:var x=i.stateNode;i.memoizedState!==null?x._visibility&2?Ha(n,i,c,f,u):Du(n,i):(x._visibility|=2,Ha(n,i,c,f,u)),u&&v&2048&&Yc(i.alternate,i);break;case 24:Ha(n,i,c,f,u),u&&v&2048&&Gc(i.alternate,i);break;default:Ha(n,i,c,f,u)}l=l.sibling}}function Du(t,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var e=t,a=l,u=a.flags;switch(a.tag){case 22:Du(e,a),u&2048&&Yc(a.alternate,a);break;case 24:Du(e,a),u&2048&&Gc(a.alternate,a);break;default:Du(e,a)}l=l.sibling}}var _u=8192;function Ra(t,l,e){if(t.subtreeFlags&_u)for(t=t.child;t!==null;)yr(t,l,e),t=t.sibling}function yr(t,l,e){switch(t.tag){case 26:Ra(t,l,e),t.flags&_u&&t.memoizedState!==null&&Im(e,wl,t.memoizedState,t.memoizedProps);break;case 5:Ra(t,l,e);break;case 3:case 4:var a=wl;wl=$n(t.stateNode.containerInfo),Ra(t,l,e),wl=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=_u,_u=16777216,Ra(t,l,e),_u=a):Ra(t,l,e));break;default:Ra(t,l,e)}}function gr(t){var l=t.alternate;if(l!==null&&(t=l.child,t!==null)){l.child=null;do l=t.sibling,t.sibling=null,t=l;while(t!==null)}}function Ou(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];kt=a,br(a,t)}gr(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)pr(t),t=t.sibling}function pr(t){switch(t.tag){case 0:case 11:case 15:Ou(t),t.flags&2048&&Oe(9,t,t.return);break;case 3:Ou(t);break;case 12:Ou(t);break;case 22:var l=t.stateNode;t.memoizedState!==null&&l._visibility&2&&(t.return===null||t.return.tag!==13)?(l._visibility&=-3,Rn(t)):Ou(t);break;default:Ou(t)}}function Rn(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];kt=a,br(a,t)}gr(t)}for(t=t.child;t!==null;){switch(l=t,l.tag){case 0:case 11:case 15:Oe(8,l,l.return),Rn(l);break;case 22:e=l.stateNode,e._visibility&2&&(e._visibility&=-3,Rn(l));break;default:Rn(l)}t=t.sibling}}function br(t,l){for(;kt!==null;){var e=kt;switch(e.tag){case 0:case 11:case 15:Oe(8,e,l);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:ru(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,kt=a;else t:for(e=t;kt!==null;){a=kt;var u=a.sibling,n=a.return;if(sr(a),a===e){kt=null;break t}if(u!==null){u.return=n,kt=u;break t}kt=n}}}var mm={getCacheForType:function(t){var l=ll(Yt),e=l.data.get(t);return e===void 0&&(e=t(),l.data.set(t,e)),e},cacheSignal:function(){return ll(Yt).controller.signal}},hm=typeof WeakMap=="function"?WeakMap:Map,yt=0,xt=null,nt=null,ct=0,gt=0,Al=null,Me=!1,Ba=!1,Xc=!1,re=0,Ct=0,Ne=0,ca=0,Qc=0,Dl=0,qa=0,Mu=null,yl=null,wc=!1,Bn=0,Sr=0,qn=1/0,Yn=null,je=null,Lt=0,Ue=null,Ya=null,de=0,Zc=0,Lc=null,Er=null,Nu=0,Vc=null;function _l(){return(yt&2)!==0&&ct!==0?ct&-ct:S.T!==null?Fc():Bf()}function xr(){if(Dl===0)if((ct&536870912)===0||st){var t=Vu;Vu<<=1,(Vu&3932160)===0&&(Vu=262144),Dl=t}else Dl=536870912;return t=zl.current,t!==null&&(t.flags|=32),Dl}function gl(t,l,e){(t===xt&&(gt===2||gt===9)||t.cancelPendingCommit!==null)&&(Ga(t,0),Ce(t,ct,Dl,!1)),Fa(t,e),((yt&2)===0||t!==xt)&&(t===xt&&((yt&2)===0&&(ca|=e),Ct===4&&Ce(t,ct,Dl,!1)),Jl(t))}function zr(t,l,e){if((yt&6)!==0)throw Error(s(327));var a=!e&&(l&127)===0&&(l&t.expiredLanes)===0||ka(t,l),u=a?gm(t,l):Jc(t,l,!0),n=a;do{if(u===0){Ba&&!a&&Ce(t,l,0,!1);break}else{if(e=t.current.alternate,n&&!vm(e)){u=Jc(t,l,!1),n=!1;continue}if(u===2){if(n=l,t.errorRecoveryDisabledLanes&n)var i=0;else i=t.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){l=i;t:{var c=t;u=Mu;var f=c.current.memoizedState.isDehydrated;if(f&&(Ga(c,i).flags|=256),i=Jc(c,i,!1),i!==2){if(Xc&&!f){c.errorRecoveryDisabledLanes|=n,ca|=n,u=4;break t}n=yl,yl=u,n!==null&&(yl===null?yl=n:yl.push.apply(yl,n))}u=i}if(n=!1,u!==2)continue}}if(u===1){Ga(t,0),Ce(t,l,0,!0);break}t:{switch(a=t,n=u,n){case 0:case 1:throw Error(s(345));case 4:if((l&4194048)!==l)break;case 6:Ce(a,l,Dl,!Me);break t;case 2:yl=null;break;case 3:case 5:break;default:throw Error(s(329))}if((l&62914560)===l&&(u=Bn+300-K(),10<u)){if(Ce(a,l,Dl,!Me),Ju(a,0,!0)!==0)break t;de=l,a.timeoutHandle=td(Tr.bind(null,a,e,yl,Yn,wc,l,Dl,ca,qa,Me,n,"Throttled",-0,0),u);break t}Tr(a,e,yl,Yn,wc,l,Dl,ca,qa,Me,n,null,-0,0)}}break}while(!0);Jl(t)}function Tr(t,l,e,a,u,n,i,c,f,v,x,A,y,b){if(t.timeoutHandle=-1,A=l.subtreeFlags,A&8192||(A&16785408)===16785408){A={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Fl},yr(l,n,A);var B=(n&62914560)===n?Bn-K():(n&4194048)===n?Sr-K():0;if(B=Pm(A,B),B!==null){de=n,t.cancelPendingCommit=B(Ur.bind(null,t,l,n,e,a,u,i,c,f,x,A,null,y,b)),Ce(t,n,i,!v);return}}Ur(t,l,n,e,a,u,i,c,f)}function vm(t){for(var l=t;;){var e=l.tag;if((e===0||e===11||e===15)&&l.flags&16384&&(e=l.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var u=e[a],n=u.getSnapshot;u=u.value;try{if(!El(n(),u))return!1}catch{return!1}}if(e=l.child,l.subtreeFlags&16384&&e!==null)e.return=l,l=e;else{if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Ce(t,l,e,a){l&=~Qc,l&=~ca,t.suspendedLanes|=l,t.pingedLanes&=~l,a&&(t.warmLanes|=l),a=t.expirationTimes;for(var u=l;0<u;){var n=31-Sl(u),i=1<<n;a[n]=-1,u&=~i}e!==0&&Cf(t,e,l)}function Gn(){return(yt&6)===0?(ju(0),!1):!0}function Kc(){if(nt!==null){if(gt===0)var t=nt.return;else t=nt,le=Ie=null,fc(t),Ma=null,mu=0,t=nt;for(;t!==null;)lr(t.alternate,t),t=t.return;nt=null}}function Ga(t,l){var e=t.timeoutHandle;e!==-1&&(t.timeoutHandle=-1,Rm(e)),e=t.cancelPendingCommit,e!==null&&(t.cancelPendingCommit=null,e()),de=0,Kc(),xt=t,nt=e=Pl(t.current,null),ct=l,gt=0,Al=null,Me=!1,Ba=ka(t,l),Xc=!1,qa=Dl=Qc=ca=Ne=Ct=0,yl=Mu=null,wc=!1,(l&8)!==0&&(l|=l&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=l;0<a;){var u=31-Sl(a),n=1<<u;l|=t[u],a&=~n}return re=l,nn(),e}function Ar(t,l){tt=null,S.H=Eu,l===Oa||l===hn?(l=Xs(),gt=3):l===ki?(l=Xs(),gt=4):gt=l===Tc?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Al=l,nt===null&&(Ct=1,On(t,Cl(l,t.current)))}function Dr(){var t=zl.current;return t===null?!0:(ct&4194048)===ct?ql===null:(ct&62914560)===ct||(ct&536870912)!==0?t===ql:!1}function _r(){var t=S.H;return S.H=Eu,t===null?Eu:t}function Or(){var t=S.A;return S.A=mm,t}function Xn(){Ct=4,Me||(ct&4194048)!==ct&&zl.current!==null||(Ba=!0),(Ne&134217727)===0&&(ca&134217727)===0||xt===null||Ce(xt,ct,Dl,!1)}function Jc(t,l,e){var a=yt;yt|=2;var u=_r(),n=Or();(xt!==t||ct!==l)&&(Yn=null,Ga(t,l)),l=!1;var i=Ct;t:do try{if(gt!==0&&nt!==null){var c=nt,f=Al;switch(gt){case 8:Kc(),i=6;break t;case 3:case 2:case 9:case 6:zl.current===null&&(l=!0);var v=gt;if(gt=0,Al=null,Xa(t,c,f,v),e&&Ba){i=0;break t}break;default:v=gt,gt=0,Al=null,Xa(t,c,f,v)}}ym(),i=Ct;break}catch(x){Ar(t,x)}while(!0);return l&&t.shellSuspendCounter++,le=Ie=null,yt=a,S.H=u,S.A=n,nt===null&&(xt=null,ct=0,nn()),i}function ym(){for(;nt!==null;)Mr(nt)}function gm(t,l){var e=yt;yt|=2;var a=_r(),u=Or();xt!==t||ct!==l?(Yn=null,qn=K()+500,Ga(t,l)):Ba=ka(t,l);t:do try{if(gt!==0&&nt!==null){l=nt;var n=Al;l:switch(gt){case 1:gt=0,Al=null,Xa(t,l,n,1);break;case 2:case 9:if(Ys(n)){gt=0,Al=null,Nr(l);break}l=function(){gt!==2&>!==9||xt!==t||(gt=7),Jl(t)},n.then(l,l);break t;case 3:gt=7;break t;case 4:gt=5;break t;case 7:Ys(n)?(gt=0,Al=null,Nr(l)):(gt=0,Al=null,Xa(t,l,n,7));break;case 5:var i=null;switch(nt.tag){case 26:i=nt.memoizedState;case 5:case 27:var c=nt;if(i?vd(i):c.stateNode.complete){gt=0,Al=null;var f=c.sibling;if(f!==null)nt=f;else{var v=c.return;v!==null?(nt=v,Qn(v)):nt=null}break l}}gt=0,Al=null,Xa(t,l,n,5);break;case 6:gt=0,Al=null,Xa(t,l,n,6);break;case 8:Kc(),Ct=6;break t;default:throw Error(s(462))}}pm();break}catch(x){Ar(t,x)}while(!0);return le=Ie=null,S.H=a,S.A=u,yt=e,nt!==null?0:(xt=null,ct=0,nn(),Ct)}function pm(){for(;nt!==null&&!L();)Mr(nt)}function Mr(t){var l=Po(t.alternate,t,re);t.memoizedProps=t.pendingProps,l===null?Qn(t):nt=l}function Nr(t){var l=t,e=l.alternate;switch(l.tag){case 15:case 0:l=Jo(e,l,l.pendingProps,l.type,void 0,ct);break;case 11:l=Jo(e,l,l.pendingProps,l.type.render,l.ref,ct);break;case 5:fc(l);default:lr(e,l),l=nt=_s(l,re),l=Po(e,l,re)}t.memoizedProps=t.pendingProps,l===null?Qn(t):nt=l}function Xa(t,l,e,a){le=Ie=null,fc(l),Ma=null,mu=0;var u=l.return;try{if(im(t,u,l,e,ct)){Ct=1,On(t,Cl(e,t.current)),nt=null;return}}catch(n){if(u!==null)throw nt=u,n;Ct=1,On(t,Cl(e,t.current)),nt=null;return}l.flags&32768?(st||a===1?t=!0:Ba||(ct&536870912)!==0?t=!1:(Me=t=!0,(a===2||a===9||a===3||a===6)&&(a=zl.current,a!==null&&a.tag===13&&(a.flags|=16384))),jr(l,t)):Qn(l)}function Qn(t){var l=t;do{if((l.flags&32768)!==0){jr(l,Me);return}t=l.return;var e=sm(l.alternate,l,re);if(e!==null){nt=e;return}if(l=l.sibling,l!==null){nt=l;return}nt=l=t}while(l!==null);Ct===0&&(Ct=5)}function jr(t,l){do{var e=om(t.alternate,t);if(e!==null){e.flags&=32767,nt=e;return}if(e=t.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!l&&(t=t.sibling,t!==null)){nt=t;return}nt=t=e}while(t!==null);Ct=6,nt=null}function Ur(t,l,e,a,u,n,i,c,f){t.cancelPendingCommit=null;do wn();while(Lt!==0);if((yt&6)!==0)throw Error(s(327));if(l!==null){if(l===t.current)throw Error(s(177));if(n=l.lanes|l.childLanes,n|=Ri,Fd(t,e,n,i,c,f),t===xt&&(nt=xt=null,ct=0),Ya=l,Ue=t,de=e,Zc=n,Lc=u,Er=a,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,xm(ol,function(){return qr(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||a){a=S.T,S.T=null,u=O.p,O.p=2,i=yt,yt|=4;try{rm(t,l,e)}finally{yt=i,O.p=u,S.T=a}}Lt=1,Cr(),Hr(),Rr()}}function Cr(){if(Lt===1){Lt=0;var t=Ue,l=Ya,e=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||e){e=S.T,S.T=null;var a=O.p;O.p=2;var u=yt;yt|=4;try{mr(l,t);var n=nf,i=ps(t.containerInfo),c=n.focusedElem,f=n.selectionRange;if(i!==c&&c&&c.ownerDocument&&gs(c.ownerDocument.documentElement,c)){if(f!==null&&Ni(c)){var v=f.start,x=f.end;if(x===void 0&&(x=v),"selectionStart"in c)c.selectionStart=v,c.selectionEnd=Math.min(x,c.value.length);else{var A=c.ownerDocument||document,y=A&&A.defaultView||window;if(y.getSelection){var b=y.getSelection(),B=c.textContent.length,V=Math.min(f.start,B),Et=f.end===void 0?V:Math.min(f.end,B);!b.extend&&V>Et&&(i=Et,Et=V,V=i);var m=ys(c,V),o=ys(c,Et);if(m&&o&&(b.rangeCount!==1||b.anchorNode!==m.node||b.anchorOffset!==m.offset||b.focusNode!==o.node||b.focusOffset!==o.offset)){var h=A.createRange();h.setStart(m.node,m.offset),b.removeAllRanges(),V>Et?(b.addRange(h),b.extend(o.node,o.offset)):(h.setEnd(o.node,o.offset),b.addRange(h))}}}}for(A=[],b=c;b=b.parentNode;)b.nodeType===1&&A.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<A.length;c++){var T=A[c];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}ti=!!uf,nf=uf=null}finally{yt=u,O.p=a,S.T=e}}t.current=l,Lt=2}}function Hr(){if(Lt===2){Lt=0;var t=Ue,l=Ya,e=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||e){e=S.T,S.T=null;var a=O.p;O.p=2;var u=yt;yt|=4;try{fr(t,l.alternate,l)}finally{yt=u,O.p=a,S.T=e}}Lt=3}}function Rr(){if(Lt===4||Lt===3){Lt=0,I();var t=Ue,l=Ya,e=de,a=Er;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Lt=5:(Lt=0,Ya=Ue=null,Br(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(je=null),ri(e),l=l.stateNode,bl&&typeof bl.onCommitFiberRoot=="function")try{bl.onCommitFiberRoot(Wa,l,void 0,(l.current.flags&128)===128)}catch{}if(a!==null){l=S.T,u=O.p,O.p=2,S.T=null;try{for(var n=t.onRecoverableError,i=0;i<a.length;i++){var c=a[i];n(c.value,{componentStack:c.stack})}}finally{S.T=l,O.p=u}}(de&3)!==0&&wn(),Jl(t),u=t.pendingLanes,(e&261930)!==0&&(u&42)!==0?t===Vc?Nu++:(Nu=0,Vc=t):Nu=0,ju(0)}}function Br(t,l){(t.pooledCacheLanes&=l)===0&&(l=t.pooledCache,l!=null&&(t.pooledCache=null,ru(l)))}function wn(){return Cr(),Hr(),Rr(),qr()}function qr(){if(Lt!==5)return!1;var t=Ue,l=Zc;Zc=0;var e=ri(de),a=S.T,u=O.p;try{O.p=32>e?32:e,S.T=null,e=Lc,Lc=null;var n=Ue,i=de;if(Lt=0,Ya=Ue=null,de=0,(yt&6)!==0)throw Error(s(331));var c=yt;if(yt|=4,pr(n.current),vr(n,n.current,i,e),yt=c,ju(0,!1),bl&&typeof bl.onPostCommitFiberRoot=="function")try{bl.onPostCommitFiberRoot(Wa,n)}catch{}return!0}finally{O.p=u,S.T=a,Br(t,l)}}function Yr(t,l,e){l=Cl(e,l),l=zc(t.stateNode,l,2),t=Ae(t,l,2),t!==null&&(Fa(t,2),Jl(t))}function pt(t,l,e){if(t.tag===3)Yr(t,t,e);else for(;l!==null;){if(l.tag===3){Yr(l,t,e);break}else if(l.tag===1){var a=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(je===null||!je.has(a))){t=Cl(e,t),e=Go(2),a=Ae(l,e,2),a!==null&&(Xo(e,a,l,t),Fa(a,2),Jl(a));break}}l=l.return}}function $c(t,l,e){var a=t.pingCache;if(a===null){a=t.pingCache=new hm;var u=new Set;a.set(l,u)}else u=a.get(l),u===void 0&&(u=new Set,a.set(l,u));u.has(e)||(Xc=!0,u.add(e),t=bm.bind(null,t,l,e),l.then(t,t))}function bm(t,l,e){var a=t.pingCache;a!==null&&a.delete(l),t.pingedLanes|=t.suspendedLanes&e,t.warmLanes&=~e,xt===t&&(ct&e)===e&&(Ct===4||Ct===3&&(ct&62914560)===ct&&300>K()-Bn?(yt&2)===0&&Ga(t,0):Qc|=e,qa===ct&&(qa=0)),Jl(t)}function Gr(t,l){l===0&&(l=Uf()),t=We(t,l),t!==null&&(Fa(t,l),Jl(t))}function Sm(t){var l=t.memoizedState,e=0;l!==null&&(e=l.retryLane),Gr(t,e)}function Em(t,l){var e=0;switch(t.tag){case 31:case 13:var a=t.stateNode,u=t.memoizedState;u!==null&&(e=u.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(l),Gr(t,e)}function xm(t,l){return p(t,l)}var Zn=null,Qa=null,Wc=!1,Ln=!1,kc=!1,He=0;function Jl(t){t!==Qa&&t.next===null&&(Qa===null?Zn=Qa=t:Qa=Qa.next=t),Ln=!0,Wc||(Wc=!0,Tm())}function ju(t,l){if(!kc&&Ln){kc=!0;do for(var e=!1,a=Zn;a!==null;){if(t!==0){var u=a.pendingLanes;if(u===0)var n=0;else{var i=a.suspendedLanes,c=a.pingedLanes;n=(1<<31-Sl(42|t)+1)-1,n&=u&~(i&~c),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(e=!0,Zr(a,n))}else n=ct,n=Ju(a,a===xt?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(n&3)===0||ka(a,n)||(e=!0,Zr(a,n));a=a.next}while(e);kc=!1}}function zm(){Xr()}function Xr(){Ln=Wc=!1;var t=0;He!==0&&Hm()&&(t=He);for(var l=K(),e=null,a=Zn;a!==null;){var u=a.next,n=Qr(a,l);n===0?(a.next=null,e===null?Zn=u:e.next=u,u===null&&(Qa=e)):(e=a,(t!==0||(n&3)!==0)&&(Ln=!0)),a=u}Lt!==0&&Lt!==5||ju(t),He!==0&&(He=0)}function Qr(t,l){for(var e=t.suspendedLanes,a=t.pingedLanes,u=t.expirationTimes,n=t.pendingLanes&-62914561;0<n;){var i=31-Sl(n),c=1<<i,f=u[i];f===-1?((c&e)===0||(c&a)!==0)&&(u[i]=kd(c,l)):f<=l&&(t.expiredLanes|=c),n&=~c}if(l=xt,e=ct,e=Ju(t,t===l?e:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,e===0||t===l&&(gt===2||gt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&U(a),t.callbackNode=null,t.callbackPriority=0;if((e&3)===0||ka(t,e)){if(l=e&-e,l===t.callbackPriority)return l;switch(a!==null&&U(a),ri(e)){case 2:case 8:e=Xl;break;case 32:e=ol;break;case 268435456:e=Ze;break;default:e=ol}return a=wr.bind(null,t),e=p(e,a),t.callbackPriority=l,t.callbackNode=e,l}return a!==null&&a!==null&&U(a),t.callbackPriority=2,t.callbackNode=null,2}function wr(t,l){if(Lt!==0&&Lt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var e=t.callbackNode;if(wn()&&t.callbackNode!==e)return null;var a=ct;return a=Ju(t,t===xt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(zr(t,a,l),Qr(t,K()),t.callbackNode!=null&&t.callbackNode===e?wr.bind(null,t):null)}function Zr(t,l){if(wn())return null;zr(t,l,!0)}function Tm(){Bm(function(){(yt&6)!==0?p(mt,zm):Xr()})}function Fc(){if(He===0){var t=Da;t===0&&(t=Lu,Lu<<=1,(Lu&261888)===0&&(Lu=256)),He=t}return He}function Lr(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Fu(""+t)}function Vr(t,l){var e=l.ownerDocument.createElement("input");return e.name=l.name,e.value=l.value,t.id&&e.setAttribute("form",t.id),l.parentNode.insertBefore(e,l),t=new FormData(t),e.parentNode.removeChild(e),t}function Am(t,l,e,a,u){if(l==="submit"&&e&&e.stateNode===u){var n=Lr((u[rl]||null).action),i=a.submitter;i&&(l=(l=i[rl]||null)?Lr(l.formAction):i.getAttribute("formAction"),l!==null&&(n=l,i=null));var c=new ln("action","action",null,a,u);t.push({event:c,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(He!==0){var f=i?Vr(u,i):new FormData(u);gc(e,{pending:!0,data:f,method:u.method,action:n},null,f)}}else typeof n=="function"&&(c.preventDefault(),f=i?Vr(u,i):new FormData(u),gc(e,{pending:!0,data:f,method:u.method,action:n},n,f))},currentTarget:u}]})}}for(var Ic=0;Ic<Hi.length;Ic++){var Pc=Hi[Ic],Dm=Pc.toLowerCase(),_m=Pc[0].toUpperCase()+Pc.slice(1);Ql(Dm,"on"+_m)}Ql(Es,"onAnimationEnd"),Ql(xs,"onAnimationIteration"),Ql(zs,"onAnimationStart"),Ql("dblclick","onDoubleClick"),Ql("focusin","onFocus"),Ql("focusout","onBlur"),Ql(Z0,"onTransitionRun"),Ql(L0,"onTransitionStart"),Ql(V0,"onTransitionCancel"),Ql(Ts,"onTransitionEnd"),da("onMouseEnter",["mouseout","mouseover"]),da("onMouseLeave",["mouseout","mouseover"]),da("onPointerEnter",["pointerout","pointerover"]),da("onPointerLeave",["pointerout","pointerover"]),Ve("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ve("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ve("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ve("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ve("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ve("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Uu="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(" "),Om=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Uu));function Kr(t,l){l=(l&4)!==0;for(var e=0;e<t.length;e++){var a=t[e],u=a.event;a=a.listeners;t:{var n=void 0;if(l)for(var i=a.length-1;0<=i;i--){var c=a[i],f=c.instance,v=c.currentTarget;if(c=c.listener,f!==n&&u.isPropagationStopped())break t;n=c,u.currentTarget=v;try{n(u)}catch(x){un(x)}u.currentTarget=null,n=f}else for(i=0;i<a.length;i++){if(c=a[i],f=c.instance,v=c.currentTarget,c=c.listener,f!==n&&u.isPropagationStopped())break t;n=c,u.currentTarget=v;try{n(u)}catch(x){un(x)}u.currentTarget=null,n=f}}}}function it(t,l){var e=l[di];e===void 0&&(e=l[di]=new Set);var a=t+"__bubble";e.has(a)||(Jr(l,t,2,!1),e.add(a))}function tf(t,l,e){var a=0;l&&(a|=4),Jr(e,t,a,l)}var Vn="_reactListening"+Math.random().toString(36).slice(2);function lf(t){if(!t[Vn]){t[Vn]=!0,Gf.forEach(function(e){e!=="selectionchange"&&(Om.has(e)||tf(e,!1,t),tf(e,!0,t))});var l=t.nodeType===9?t:t.ownerDocument;l===null||l[Vn]||(l[Vn]=!0,tf("selectionchange",!1,l))}}function Jr(t,l,e,a){switch(xd(l)){case 2:var u=eh;break;case 8:u=ah;break;default:u=gf}e=u.bind(null,l,e,t),u=void 0,!Ei||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(u=!0),a?u!==void 0?t.addEventListener(l,e,{capture:!0,passive:u}):t.addEventListener(l,e,!0):u!==void 0?t.addEventListener(l,e,{passive:u}):t.addEventListener(l,e,!1)}function ef(t,l,e,a,u){var n=a;if((l&1)===0&&(l&2)===0&&a!==null)t:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var c=a.stateNode.containerInfo;if(c===u)break;if(i===4)for(i=a.return;i!==null;){var f=i.tag;if((f===3||f===4)&&i.stateNode.containerInfo===u)return;i=i.return}for(;c!==null;){if(i=sa(c),i===null)return;if(f=i.tag,f===5||f===6||f===26||f===27){a=n=i;continue t}c=c.parentNode}}a=a.return}Ff(function(){var v=n,x=bi(e),A=[];t:{var y=As.get(t);if(y!==void 0){var b=ln,B=t;switch(t){case"keypress":if(Pu(e)===0)break t;case"keydown":case"keyup":b=E0;break;case"focusin":B="focus",b=Ai;break;case"focusout":B="blur",b=Ai;break;case"beforeblur":case"afterblur":b=Ai;break;case"click":if(e.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=ts;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=s0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=T0;break;case Es:case xs:case zs:b=d0;break;case Ts:b=D0;break;case"scroll":case"scrollend":b=c0;break;case"wheel":b=O0;break;case"copy":case"cut":case"paste":b=h0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=es;break;case"toggle":case"beforetoggle":b=N0}var V=(l&4)!==0,Et=!V&&(t==="scroll"||t==="scrollend"),m=V?y!==null?y+"Capture":null:y;V=[];for(var o=v,h;o!==null;){var T=o;if(h=T.stateNode,T=T.tag,T!==5&&T!==26&&T!==27||h===null||m===null||(T=tu(o,m),T!=null&&V.push(Cu(o,T,h))),Et)break;o=o.return}0<V.length&&(y=new b(y,B,null,e,x),A.push({event:y,listeners:V}))}}if((l&7)===0){t:{if(y=t==="mouseover"||t==="pointerover",b=t==="mouseout"||t==="pointerout",y&&e!==pi&&(B=e.relatedTarget||e.fromElement)&&(sa(B)||B[fa]))break t;if((b||y)&&(y=x.window===x?x:(y=x.ownerDocument)?y.defaultView||y.parentWindow:window,b?(B=e.relatedTarget||e.toElement,b=v,B=B?sa(B):null,B!==null&&(Et=j(B),V=B.tag,B!==Et||V!==5&&V!==27&&V!==6)&&(B=null)):(b=null,B=v),b!==B)){if(V=ts,T="onMouseLeave",m="onMouseEnter",o="mouse",(t==="pointerout"||t==="pointerover")&&(V=es,T="onPointerLeave",m="onPointerEnter",o="pointer"),Et=b==null?y:Pa(b),h=B==null?y:Pa(B),y=new V(T,o+"leave",b,e,x),y.target=Et,y.relatedTarget=h,T=null,sa(x)===v&&(V=new V(m,o+"enter",B,e,x),V.target=h,V.relatedTarget=Et,T=V),Et=T,b&&B)l:{for(V=Mm,m=b,o=B,h=0,T=m;T;T=V(T))h++;T=0;for(var w=o;w;w=V(w))T++;for(;0<h-T;)m=V(m),h--;for(;0<T-h;)o=V(o),T--;for(;h--;){if(m===o||o!==null&&m===o.alternate){V=m;break l}m=V(m),o=V(o)}V=null}else V=null;b!==null&&$r(A,y,b,V,!1),B!==null&&Et!==null&&$r(A,Et,B,V,!0)}}t:{if(y=v?Pa(v):window,b=y.nodeName&&y.nodeName.toLowerCase(),b==="select"||b==="input"&&y.type==="file")var ht=os;else if(fs(y))if(rs)ht=X0;else{ht=Y0;var G=q0}else b=y.nodeName,!b||b.toLowerCase()!=="input"||y.type!=="checkbox"&&y.type!=="radio"?v&&gi(v.elementType)&&(ht=os):ht=G0;if(ht&&(ht=ht(t,v))){ss(A,ht,e,x);break t}G&&G(t,y,v),t==="focusout"&&v&&y.type==="number"&&v.memoizedProps.value!=null&&yi(y,"number",y.value)}switch(G=v?Pa(v):window,t){case"focusin":(fs(G)||G.contentEditable==="true")&&(pa=G,ji=v,fu=null);break;case"focusout":fu=ji=pa=null;break;case"mousedown":Ui=!0;break;case"contextmenu":case"mouseup":case"dragend":Ui=!1,bs(A,e,x);break;case"selectionchange":if(w0)break;case"keydown":case"keyup":bs(A,e,x)}var at;if(_i)t:{switch(t){case"compositionstart":var ft="onCompositionStart";break t;case"compositionend":ft="onCompositionEnd";break t;case"compositionupdate":ft="onCompositionUpdate";break t}ft=void 0}else ga?is(t,e)&&(ft="onCompositionEnd"):t==="keydown"&&e.keyCode===229&&(ft="onCompositionStart");ft&&(as&&e.locale!=="ko"&&(ga||ft!=="onCompositionStart"?ft==="onCompositionEnd"&&ga&&(at=If()):(pe=x,xi="value"in pe?pe.value:pe.textContent,ga=!0)),G=Kn(v,ft),0<G.length&&(ft=new ls(ft,t,null,e,x),A.push({event:ft,listeners:G}),at?ft.data=at:(at=cs(e),at!==null&&(ft.data=at)))),(at=U0?C0(t,e):H0(t,e))&&(ft=Kn(v,"onBeforeInput"),0<ft.length&&(G=new ls("onBeforeInput","beforeinput",null,e,x),A.push({event:G,listeners:ft}),G.data=at)),Am(A,t,v,e,x)}Kr(A,l)})}function Cu(t,l,e){return{instance:t,listener:l,currentTarget:e}}function Kn(t,l){for(var e=l+"Capture",a=[];t!==null;){var u=t,n=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||n===null||(u=tu(t,e),u!=null&&a.unshift(Cu(t,u,n)),u=tu(t,l),u!=null&&a.push(Cu(t,u,n))),t.tag===3)return a;t=t.return}return[]}function Mm(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function $r(t,l,e,a,u){for(var n=l._reactName,i=[];e!==null&&e!==a;){var c=e,f=c.alternate,v=c.stateNode;if(c=c.tag,f!==null&&f===a)break;c!==5&&c!==26&&c!==27||v===null||(f=v,u?(v=tu(e,n),v!=null&&i.unshift(Cu(e,v,f))):u||(v=tu(e,n),v!=null&&i.push(Cu(e,v,f)))),e=e.return}i.length!==0&&t.push({event:l,listeners:i})}var Nm=/\r\n?/g,jm=/\u0000|\uFFFD/g;function Wr(t){return(typeof t=="string"?t:""+t).replace(Nm,`
|
|
9
|
+
`).replace(jm,"")}function kr(t,l){return l=Wr(l),Wr(t)===l}function St(t,l,e,a,u,n){switch(e){case"children":typeof a=="string"?l==="body"||l==="textarea"&&a===""||ha(t,a):(typeof a=="number"||typeof a=="bigint")&&l!=="body"&&ha(t,""+a);break;case"className":Wu(t,"class",a);break;case"tabIndex":Wu(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Wu(t,e,a);break;case"style":Wf(t,a,n);break;case"data":if(l!=="object"){Wu(t,"data",a);break}case"src":case"href":if(a===""&&(l!=="a"||e!=="href")){t.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=Fu(""+a),t.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(e,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof n=="function"&&(e==="formAction"?(l!=="input"&&St(t,l,"name",u.name,u,null),St(t,l,"formEncType",u.formEncType,u,null),St(t,l,"formMethod",u.formMethod,u,null),St(t,l,"formTarget",u.formTarget,u,null)):(St(t,l,"encType",u.encType,u,null),St(t,l,"method",u.method,u,null),St(t,l,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=Fu(""+a),t.setAttribute(e,a);break;case"onClick":a!=null&&(t.onclick=Fl);break;case"onScroll":a!=null&&it("scroll",t);break;case"onScrollEnd":a!=null&&it("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(s(60));t.innerHTML=e}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}e=Fu(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,""+a):t.removeAttribute(e);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,""):t.removeAttribute(e);break;case"capture":case"download":a===!0?t.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,a):t.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(e,a):t.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(e):t.setAttribute(e,a);break;case"popover":it("beforetoggle",t),it("toggle",t),$u(t,"popover",a);break;case"xlinkActuate":kl(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":kl(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":kl(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":kl(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":kl(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":kl(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":kl(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":kl(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":kl(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":$u(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=n0.get(e)||e,$u(t,e,a))}}function af(t,l,e,a,u,n){switch(e){case"style":Wf(t,a,n);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(s(60));t.innerHTML=e}}break;case"children":typeof a=="string"?ha(t,a):(typeof a=="number"||typeof a=="bigint")&&ha(t,""+a);break;case"onScroll":a!=null&&it("scroll",t);break;case"onScrollEnd":a!=null&&it("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Fl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Xf.hasOwnProperty(e))t:{if(e[0]==="o"&&e[1]==="n"&&(u=e.endsWith("Capture"),l=e.slice(2,u?e.length-7:void 0),n=t[rl]||null,n=n!=null?n[e]:null,typeof n=="function"&&t.removeEventListener(l,n,u),typeof a=="function")){typeof n!="function"&&n!==null&&(e in t?t[e]=null:t.hasAttribute(e)&&t.removeAttribute(e)),t.addEventListener(l,a,u);break t}e in t?t[e]=a:a===!0?t.setAttribute(e,""):$u(t,e,a)}}}function al(t,l,e){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":it("error",t),it("load",t);var a=!1,u=!1,n;for(n in e)if(e.hasOwnProperty(n)){var i=e[n];if(i!=null)switch(n){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,l));default:St(t,l,n,i,e,null)}}u&&St(t,l,"srcSet",e.srcSet,e,null),a&&St(t,l,"src",e.src,e,null);return;case"input":it("invalid",t);var c=n=i=u=null,f=null,v=null;for(a in e)if(e.hasOwnProperty(a)){var x=e[a];if(x!=null)switch(a){case"name":u=x;break;case"type":i=x;break;case"checked":f=x;break;case"defaultChecked":v=x;break;case"value":n=x;break;case"defaultValue":c=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(s(137,l));break;default:St(t,l,a,x,e,null)}}Vf(t,n,c,f,v,i,u,!1);return;case"select":it("invalid",t),a=i=n=null;for(u in e)if(e.hasOwnProperty(u)&&(c=e[u],c!=null))switch(u){case"value":n=c;break;case"defaultValue":i=c;break;case"multiple":a=c;default:St(t,l,u,c,e,null)}l=n,e=i,t.multiple=!!a,l!=null?ma(t,!!a,l,!1):e!=null&&ma(t,!!a,e,!0);return;case"textarea":it("invalid",t),n=u=a=null;for(i in e)if(e.hasOwnProperty(i)&&(c=e[i],c!=null))switch(i){case"value":a=c;break;case"defaultValue":u=c;break;case"children":n=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(s(91));break;default:St(t,l,i,c,e,null)}Jf(t,a,u,n);return;case"option":for(f in e)e.hasOwnProperty(f)&&(a=e[f],a!=null)&&(f==="selected"?t.selected=a&&typeof a!="function"&&typeof a!="symbol":St(t,l,f,a,e,null));return;case"dialog":it("beforetoggle",t),it("toggle",t),it("cancel",t),it("close",t);break;case"iframe":case"object":it("load",t);break;case"video":case"audio":for(a=0;a<Uu.length;a++)it(Uu[a],t);break;case"image":it("error",t),it("load",t);break;case"details":it("toggle",t);break;case"embed":case"source":case"link":it("error",t),it("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(v in e)if(e.hasOwnProperty(v)&&(a=e[v],a!=null))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,l));default:St(t,l,v,a,e,null)}return;default:if(gi(l)){for(x in e)e.hasOwnProperty(x)&&(a=e[x],a!==void 0&&af(t,l,x,a,e,void 0));return}}for(c in e)e.hasOwnProperty(c)&&(a=e[c],a!=null&&St(t,l,c,a,e,null))}function Um(t,l,e,a){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,n=null,i=null,c=null,f=null,v=null,x=null;for(b in e){var A=e[b];if(e.hasOwnProperty(b)&&A!=null)switch(b){case"checked":break;case"value":break;case"defaultValue":f=A;default:a.hasOwnProperty(b)||St(t,l,b,null,a,A)}}for(var y in a){var b=a[y];if(A=e[y],a.hasOwnProperty(y)&&(b!=null||A!=null))switch(y){case"type":n=b;break;case"name":u=b;break;case"checked":v=b;break;case"defaultChecked":x=b;break;case"value":i=b;break;case"defaultValue":c=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(s(137,l));break;default:b!==A&&St(t,l,y,b,a,A)}}vi(t,i,c,f,v,x,n,u);return;case"select":b=i=c=y=null;for(n in e)if(f=e[n],e.hasOwnProperty(n)&&f!=null)switch(n){case"value":break;case"multiple":b=f;default:a.hasOwnProperty(n)||St(t,l,n,null,a,f)}for(u in a)if(n=a[u],f=e[u],a.hasOwnProperty(u)&&(n!=null||f!=null))switch(u){case"value":y=n;break;case"defaultValue":c=n;break;case"multiple":i=n;default:n!==f&&St(t,l,u,n,a,f)}l=c,e=i,a=b,y!=null?ma(t,!!e,y,!1):!!a!=!!e&&(l!=null?ma(t,!!e,l,!0):ma(t,!!e,e?[]:"",!1));return;case"textarea":b=y=null;for(c in e)if(u=e[c],e.hasOwnProperty(c)&&u!=null&&!a.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:St(t,l,c,null,a,u)}for(i in a)if(u=a[i],n=e[i],a.hasOwnProperty(i)&&(u!=null||n!=null))switch(i){case"value":y=u;break;case"defaultValue":b=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(s(91));break;default:u!==n&&St(t,l,i,u,a,n)}Kf(t,y,b);return;case"option":for(var B in e)y=e[B],e.hasOwnProperty(B)&&y!=null&&!a.hasOwnProperty(B)&&(B==="selected"?t.selected=!1:St(t,l,B,null,a,y));for(f in a)y=a[f],b=e[f],a.hasOwnProperty(f)&&y!==b&&(y!=null||b!=null)&&(f==="selected"?t.selected=y&&typeof y!="function"&&typeof y!="symbol":St(t,l,f,y,a,b));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var V in e)y=e[V],e.hasOwnProperty(V)&&y!=null&&!a.hasOwnProperty(V)&&St(t,l,V,null,a,y);for(v in a)if(y=a[v],b=e[v],a.hasOwnProperty(v)&&y!==b&&(y!=null||b!=null))switch(v){case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(s(137,l));break;default:St(t,l,v,y,a,b)}return;default:if(gi(l)){for(var Et in e)y=e[Et],e.hasOwnProperty(Et)&&y!==void 0&&!a.hasOwnProperty(Et)&&af(t,l,Et,void 0,a,y);for(x in a)y=a[x],b=e[x],!a.hasOwnProperty(x)||y===b||y===void 0&&b===void 0||af(t,l,x,y,a,b);return}}for(var m in e)y=e[m],e.hasOwnProperty(m)&&y!=null&&!a.hasOwnProperty(m)&&St(t,l,m,null,a,y);for(A in a)y=a[A],b=e[A],!a.hasOwnProperty(A)||y===b||y==null&&b==null||St(t,l,A,y,a,b)}function Fr(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Cm(){if(typeof performance.getEntriesByType=="function"){for(var t=0,l=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var u=e[a],n=u.transferSize,i=u.initiatorType,c=u.duration;if(n&&c&&Fr(i)){for(i=0,c=u.responseEnd,a+=1;a<e.length;a++){var f=e[a],v=f.startTime;if(v>c)break;var x=f.transferSize,A=f.initiatorType;x&&Fr(A)&&(f=f.responseEnd,i+=x*(f<c?1:(c-v)/(f-v)))}if(--a,l+=8*(n+i)/(u.duration/1e3),t++,10<t)break}}if(0<t)return l/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var uf=null,nf=null;function Jn(t){return t.nodeType===9?t:t.ownerDocument}function Ir(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Pr(t,l){if(t===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&l==="foreignObject"?0:t}function cf(t,l){return t==="textarea"||t==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var ff=null;function Hm(){var t=window.event;return t&&t.type==="popstate"?t===ff?!1:(ff=t,!0):(ff=null,!1)}var td=typeof setTimeout=="function"?setTimeout:void 0,Rm=typeof clearTimeout=="function"?clearTimeout:void 0,ld=typeof Promise=="function"?Promise:void 0,Bm=typeof queueMicrotask=="function"?queueMicrotask:typeof ld<"u"?function(t){return ld.resolve(null).then(t).catch(qm)}:td;function qm(t){setTimeout(function(){throw t})}function Re(t){return t==="head"}function ed(t,l){var e=l,a=0;do{var u=e.nextSibling;if(t.removeChild(e),u&&u.nodeType===8)if(e=u.data,e==="/$"||e==="/&"){if(a===0){t.removeChild(u),Va(l);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")Hu(t.ownerDocument.documentElement);else if(e==="head"){e=t.ownerDocument.head,Hu(e);for(var n=e.firstChild;n;){var i=n.nextSibling,c=n.nodeName;n[Ia]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&n.rel.toLowerCase()==="stylesheet"||e.removeChild(n),n=i}}else e==="body"&&Hu(t.ownerDocument.body);e=u}while(e);Va(l)}function ad(t,l){var e=t;t=0;do{var a=e.nextSibling;if(e.nodeType===1?l?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(l?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(t===0)break;t--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||t++;e=a}while(e)}function sf(t){var l=t.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var e=l;switch(l=l.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":sf(e),mi(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}t.removeChild(e)}}function Ym(t,l,e,a){for(;t.nodeType===1;){var u=e;if(t.nodeName.toLowerCase()!==l.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Ia])switch(l){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(n=t.getAttribute("rel"),n==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(n!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(n=t.getAttribute("src"),(n!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&n&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(l==="input"&&t.type==="hidden"){var n=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===n)return t}else return t;if(t=Yl(t.nextSibling),t===null)break}return null}function Gm(t,l,e){if(l==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Yl(t.nextSibling),t===null))return null;return t}function ud(t,l){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Yl(t.nextSibling),t===null))return null;return t}function of(t){return t.data==="$?"||t.data==="$~"}function rf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Xm(t,l){var e=t.ownerDocument;if(t.data==="$~")t._reactRetry=l;else if(t.data!=="$?"||e.readyState!=="loading")l();else{var a=function(){l(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Yl(t){for(;t!=null;t=t.nextSibling){var l=t.nodeType;if(l===1||l===3)break;if(l===8){if(l=t.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return t}var df=null;function nd(t){t=t.nextSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="/$"||e==="/&"){if(l===0)return Yl(t.nextSibling);l--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||l++}t=t.nextSibling}return null}function id(t){t=t.previousSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(l===0)return t;l--}else e!=="/$"&&e!=="/&"||l++}t=t.previousSibling}return null}function cd(t,l,e){switch(l=Jn(e),t){case"html":if(t=l.documentElement,!t)throw Error(s(452));return t;case"head":if(t=l.head,!t)throw Error(s(453));return t;case"body":if(t=l.body,!t)throw Error(s(454));return t;default:throw Error(s(451))}}function Hu(t){for(var l=t.attributes;l.length;)t.removeAttributeNode(l[0]);mi(t)}var Gl=new Map,fd=new Set;function $n(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var me=O.d;O.d={f:Qm,r:wm,D:Zm,C:Lm,L:Vm,m:Km,X:$m,S:Jm,M:Wm};function Qm(){var t=me.f(),l=Gn();return t||l}function wm(t){var l=oa(t);l!==null&&l.tag===5&&l.type==="form"?Ao(l):me.r(t)}var wa=typeof document>"u"?null:document;function sd(t,l,e){var a=wa;if(a&&typeof l=="string"&&l){var u=jl(l);u='link[rel="'+t+'"][href="'+u+'"]',typeof e=="string"&&(u+='[crossorigin="'+e+'"]'),fd.has(u)||(fd.add(u),t={rel:t,crossOrigin:e,href:l},a.querySelector(u)===null&&(l=a.createElement("link"),al(l,"link",t),Wt(l),a.head.appendChild(l)))}}function Zm(t){me.D(t),sd("dns-prefetch",t,null)}function Lm(t,l){me.C(t,l),sd("preconnect",t,l)}function Vm(t,l,e){me.L(t,l,e);var a=wa;if(a&&t&&l){var u='link[rel="preload"][as="'+jl(l)+'"]';l==="image"&&e&&e.imageSrcSet?(u+='[imagesrcset="'+jl(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(u+='[imagesizes="'+jl(e.imageSizes)+'"]')):u+='[href="'+jl(t)+'"]';var n=u;switch(l){case"style":n=Za(t);break;case"script":n=La(t)}Gl.has(n)||(t=q({rel:"preload",href:l==="image"&&e&&e.imageSrcSet?void 0:t,as:l},e),Gl.set(n,t),a.querySelector(u)!==null||l==="style"&&a.querySelector(Ru(n))||l==="script"&&a.querySelector(Bu(n))||(l=a.createElement("link"),al(l,"link",t),Wt(l),a.head.appendChild(l)))}}function Km(t,l){me.m(t,l);var e=wa;if(e&&t){var a=l&&typeof l.as=="string"?l.as:"script",u='link[rel="modulepreload"][as="'+jl(a)+'"][href="'+jl(t)+'"]',n=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=La(t)}if(!Gl.has(n)&&(t=q({rel:"modulepreload",href:t},l),Gl.set(n,t),e.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(Bu(n)))return}a=e.createElement("link"),al(a,"link",t),Wt(a),e.head.appendChild(a)}}}function Jm(t,l,e){me.S(t,l,e);var a=wa;if(a&&t){var u=ra(a).hoistableStyles,n=Za(t);l=l||"default";var i=u.get(n);if(!i){var c={loading:0,preload:null};if(i=a.querySelector(Ru(n)))c.loading=5;else{t=q({rel:"stylesheet",href:t,"data-precedence":l},e),(e=Gl.get(n))&&mf(t,e);var f=i=a.createElement("link");Wt(f),al(f,"link",t),f._p=new Promise(function(v,x){f.onload=v,f.onerror=x}),f.addEventListener("load",function(){c.loading|=1}),f.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Wn(i,l,a)}i={type:"stylesheet",instance:i,count:1,state:c},u.set(n,i)}}}function $m(t,l){me.X(t,l);var e=wa;if(e&&t){var a=ra(e).hoistableScripts,u=La(t),n=a.get(u);n||(n=e.querySelector(Bu(u)),n||(t=q({src:t,async:!0},l),(l=Gl.get(u))&&hf(t,l),n=e.createElement("script"),Wt(n),al(n,"link",t),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function Wm(t,l){me.M(t,l);var e=wa;if(e&&t){var a=ra(e).hoistableScripts,u=La(t),n=a.get(u);n||(n=e.querySelector(Bu(u)),n||(t=q({src:t,async:!0,type:"module"},l),(l=Gl.get(u))&&hf(t,l),n=e.createElement("script"),Wt(n),al(n,"link",t),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function od(t,l,e,a){var u=(u=P.current)?$n(u):null;if(!u)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(l=Za(e.href),e=ra(u).hoistableStyles,a=e.get(l),a||(a={type:"style",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){t=Za(e.href);var n=ra(u).hoistableStyles,i=n.get(t);if(i||(u=u.ownerDocument||u,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(t,i),(n=u.querySelector(Ru(t)))&&!n._p&&(i.instance=n,i.state.loading=5),Gl.has(t)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},Gl.set(t,e),n||km(u,t,e,i.state))),l&&a===null)throw Error(s(528,""));return i}if(l&&a!==null)throw Error(s(529,""));return null;case"script":return l=e.async,e=e.src,typeof e=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=La(e),e=ra(u).hoistableScripts,a=e.get(l),a||(a={type:"script",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function Za(t){return'href="'+jl(t)+'"'}function Ru(t){return'link[rel="stylesheet"]['+t+"]"}function rd(t){return q({},t,{"data-precedence":t.precedence,precedence:null})}function km(t,l,e,a){t.querySelector('link[rel="preload"][as="style"]['+l+"]")?a.loading=1:(l=t.createElement("link"),a.preload=l,l.addEventListener("load",function(){return a.loading|=1}),l.addEventListener("error",function(){return a.loading|=2}),al(l,"link",e),Wt(l),t.head.appendChild(l))}function La(t){return'[src="'+jl(t)+'"]'}function Bu(t){return"script[async]"+t}function dd(t,l,e){if(l.count++,l.instance===null)switch(l.type){case"style":var a=t.querySelector('style[data-href~="'+jl(e.href)+'"]');if(a)return l.instance=a,Wt(a),a;var u=q({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Wt(a),al(a,"style",u),Wn(a,e.precedence,t),l.instance=a;case"stylesheet":u=Za(e.href);var n=t.querySelector(Ru(u));if(n)return l.state.loading|=4,l.instance=n,Wt(n),n;a=rd(e),(u=Gl.get(u))&&mf(a,u),n=(t.ownerDocument||t).createElement("link"),Wt(n);var i=n;return i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),al(n,"link",a),l.state.loading|=4,Wn(n,e.precedence,t),l.instance=n;case"script":return n=La(e.src),(u=t.querySelector(Bu(n)))?(l.instance=u,Wt(u),u):(a=e,(u=Gl.get(n))&&(a=q({},e),hf(a,u)),t=t.ownerDocument||t,u=t.createElement("script"),Wt(u),al(u,"link",a),t.head.appendChild(u),l.instance=u);case"void":return null;default:throw Error(s(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(a=l.instance,l.state.loading|=4,Wn(a,e.precedence,t));return l.instance}function Wn(t,l,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,n=u,i=0;i<a.length;i++){var c=a[i];if(c.dataset.precedence===l)n=c;else if(n!==u)break}n?n.parentNode.insertBefore(t,n.nextSibling):(l=e.nodeType===9?e.head:e,l.insertBefore(t,l.firstChild))}function mf(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.title==null&&(t.title=l.title)}function hf(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.integrity==null&&(t.integrity=l.integrity)}var kn=null;function md(t,l,e){if(kn===null){var a=new Map,u=kn=new Map;u.set(e,a)}else u=kn,a=u.get(e),a||(a=new Map,u.set(e,a));if(a.has(t))return a;for(a.set(t,null),e=e.getElementsByTagName(t),u=0;u<e.length;u++){var n=e[u];if(!(n[Ia]||n[Pt]||t==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var i=n.getAttribute(l)||"";i=t+i;var c=a.get(i);c?c.push(n):a.set(i,[n])}}return a}function hd(t,l,e){t=t.ownerDocument||t,t.head.insertBefore(e,l==="title"?t.querySelector("head > title"):null)}function Fm(t,l,e){if(e===1||l.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;return l.rel==="stylesheet"?(t=l.disabled,typeof l.precedence=="string"&&t==null):!0;case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function vd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Im(t,l,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var u=Za(a.href),n=l.querySelector(Ru(u));if(n){l=n._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(t.count++,t=Fn.bind(t),l.then(t,t)),e.state.loading|=4,e.instance=n,Wt(n);return}n=l.ownerDocument||l,a=rd(a),(u=Gl.get(u))&&mf(a,u),n=n.createElement("link"),Wt(n);var i=n;i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),al(n,"link",a),e.instance=n}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(e,l),(l=e.state.preload)&&(e.state.loading&3)===0&&(t.count++,e=Fn.bind(t),l.addEventListener("load",e),l.addEventListener("error",e))}}var vf=0;function Pm(t,l){return t.stylesheets&&t.count===0&&Pn(t,t.stylesheets),0<t.count||0<t.imgCount?function(e){var a=setTimeout(function(){if(t.stylesheets&&Pn(t,t.stylesheets),t.unsuspend){var n=t.unsuspend;t.unsuspend=null,n()}},6e4+l);0<t.imgBytes&&vf===0&&(vf=62500*Cm());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Pn(t,t.stylesheets),t.unsuspend)){var n=t.unsuspend;t.unsuspend=null,n()}},(t.imgBytes>vf?50:800)+l);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Fn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Pn(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var In=null;function Pn(t,l){t.stylesheets=null,t.unsuspend!==null&&(t.count++,In=new Map,l.forEach(th,t),In=null,Fn.call(t))}function th(t,l){if(!(l.state.loading&4)){var e=In.get(t);if(e)var a=e.get(null);else{e=new Map,In.set(t,e);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<u.length;n++){var i=u[n];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(e.set(i.dataset.precedence,i),a=i)}a&&e.set(null,a)}u=l.instance,i=u.getAttribute("data-precedence"),n=e.get(i)||a,n===a&&e.set(null,u),e.set(i,u),this.count++,a=Fn.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),n?n.parentNode.insertBefore(u,n.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),l.state.loading|=4}}var qu={$$typeof:_t,Provider:null,Consumer:null,_currentValue:Q,_currentValue2:Q,_threadCount:0};function lh(t,l,e,a,u,n,i,c,f){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=si(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=si(0),this.hiddenUpdates=si(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function yd(t,l,e,a,u,n,i,c,f,v,x,A){return t=new lh(t,l,e,i,f,v,x,A,c),l=1,n===!0&&(l|=24),n=xl(3,null,null,l),t.current=n,n.stateNode=t,l=Ji(),l.refCount++,t.pooledCache=l,l.refCount++,n.memoizedState={element:a,isDehydrated:e,cache:l},Fi(n),t}function gd(t){return t?(t=Ea,t):Ea}function pd(t,l,e,a,u,n){u=gd(u),a.context===null?a.context=u:a.pendingContext=u,a=Te(l),a.payload={element:e},n=n===void 0?null:n,n!==null&&(a.callback=n),e=Ae(t,a,l),e!==null&&(gl(e,t,l),vu(e,t,l))}function bd(t,l){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var e=t.retryLane;t.retryLane=e!==0&&e<l?e:l}}function yf(t,l){bd(t,l),(t=t.alternate)&&bd(t,l)}function Sd(t){if(t.tag===13||t.tag===31){var l=We(t,67108864);l!==null&&gl(l,t,67108864),yf(t,67108864)}}function Ed(t){if(t.tag===13||t.tag===31){var l=_l();l=oi(l);var e=We(t,l);e!==null&&gl(e,t,l),yf(t,l)}}var ti=!0;function eh(t,l,e,a){var u=S.T;S.T=null;var n=O.p;try{O.p=2,gf(t,l,e,a)}finally{O.p=n,S.T=u}}function ah(t,l,e,a){var u=S.T;S.T=null;var n=O.p;try{O.p=8,gf(t,l,e,a)}finally{O.p=n,S.T=u}}function gf(t,l,e,a){if(ti){var u=pf(a);if(u===null)ef(t,l,a,li,e),zd(t,a);else if(nh(u,t,l,e,a))a.stopPropagation();else if(zd(t,a),l&4&&-1<uh.indexOf(t)){for(;u!==null;){var n=oa(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var i=Le(n.pendingLanes);if(i!==0){var c=n;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var f=1<<31-Sl(i);c.entanglements[1]|=f,i&=~f}Jl(n),(yt&6)===0&&(qn=K()+500,ju(0))}}break;case 31:case 13:c=We(n,2),c!==null&&gl(c,n,2),Gn(),yf(n,2)}if(n=pf(a),n===null&&ef(t,l,a,li,e),n===u)break;u=n}u!==null&&a.stopPropagation()}else ef(t,l,a,null,e)}}function pf(t){return t=bi(t),bf(t)}var li=null;function bf(t){if(li=null,t=sa(t),t!==null){var l=j(t);if(l===null)t=null;else{var e=l.tag;if(e===13){if(t=X(l),t!==null)return t;t=null}else if(e===31){if(t=rt(l),t!==null)return t;t=null}else if(e===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;t=null}else l!==t&&(t=null)}}return li=t,null}function xd(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(J()){case mt:return 2;case Xl:return 8;case ol:case Ml:return 32;case Ze:return 268435456;default:return 32}default:return 32}}var Sf=!1,Be=null,qe=null,Ye=null,Yu=new Map,Gu=new Map,Ge=[],uh="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 zd(t,l){switch(t){case"focusin":case"focusout":Be=null;break;case"dragenter":case"dragleave":qe=null;break;case"mouseover":case"mouseout":Ye=null;break;case"pointerover":case"pointerout":Yu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gu.delete(l.pointerId)}}function Xu(t,l,e,a,u,n){return t===null||t.nativeEvent!==n?(t={blockedOn:l,domEventName:e,eventSystemFlags:a,nativeEvent:n,targetContainers:[u]},l!==null&&(l=oa(l),l!==null&&Sd(l)),t):(t.eventSystemFlags|=a,l=t.targetContainers,u!==null&&l.indexOf(u)===-1&&l.push(u),t)}function nh(t,l,e,a,u){switch(l){case"focusin":return Be=Xu(Be,t,l,e,a,u),!0;case"dragenter":return qe=Xu(qe,t,l,e,a,u),!0;case"mouseover":return Ye=Xu(Ye,t,l,e,a,u),!0;case"pointerover":var n=u.pointerId;return Yu.set(n,Xu(Yu.get(n)||null,t,l,e,a,u)),!0;case"gotpointercapture":return n=u.pointerId,Gu.set(n,Xu(Gu.get(n)||null,t,l,e,a,u)),!0}return!1}function Td(t){var l=sa(t.target);if(l!==null){var e=j(l);if(e!==null){if(l=e.tag,l===13){if(l=X(e),l!==null){t.blockedOn=l,qf(t.priority,function(){Ed(e)});return}}else if(l===31){if(l=rt(e),l!==null){t.blockedOn=l,qf(t.priority,function(){Ed(e)});return}}else if(l===3&&e.stateNode.current.memoizedState.isDehydrated){t.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}t.blockedOn=null}function ei(t){if(t.blockedOn!==null)return!1;for(var l=t.targetContainers;0<l.length;){var e=pf(t.nativeEvent);if(e===null){e=t.nativeEvent;var a=new e.constructor(e.type,e);pi=a,e.target.dispatchEvent(a),pi=null}else return l=oa(e),l!==null&&Sd(l),t.blockedOn=e,!1;l.shift()}return!0}function Ad(t,l,e){ei(t)&&e.delete(l)}function ih(){Sf=!1,Be!==null&&ei(Be)&&(Be=null),qe!==null&&ei(qe)&&(qe=null),Ye!==null&&ei(Ye)&&(Ye=null),Yu.forEach(Ad),Gu.forEach(Ad)}function ai(t,l){t.blockedOn===l&&(t.blockedOn=null,Sf||(Sf=!0,E.unstable_scheduleCallback(E.unstable_NormalPriority,ih)))}var ui=null;function Dd(t){ui!==t&&(ui=t,E.unstable_scheduleCallback(E.unstable_NormalPriority,function(){ui===t&&(ui=null);for(var l=0;l<t.length;l+=3){var e=t[l],a=t[l+1],u=t[l+2];if(typeof a!="function"){if(bf(a||e)===null)continue;break}var n=oa(e);n!==null&&(t.splice(l,3),l-=3,gc(n,{pending:!0,data:u,method:e.method,action:a},a,u))}}))}function Va(t){function l(f){return ai(f,t)}Be!==null&&ai(Be,t),qe!==null&&ai(qe,t),Ye!==null&&ai(Ye,t),Yu.forEach(l),Gu.forEach(l);for(var e=0;e<Ge.length;e++){var a=Ge[e];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Ge.length&&(e=Ge[0],e.blockedOn===null);)Td(e),e.blockedOn===null&&Ge.shift();if(e=(t.ownerDocument||t).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var u=e[a],n=e[a+1],i=u[rl]||null;if(typeof n=="function")i||Dd(e);else if(i){var c=null;if(n&&n.hasAttribute("formAction")){if(u=n,i=n[rl]||null)c=i.formAction;else if(bf(u)!==null)continue}else c=i.action;typeof c=="function"?e[a+1]=c:(e.splice(a,3),a-=3),Dd(e)}}}function _d(){function t(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(i){return u=i})},focusReset:"manual",scroll:"manual"})}function l(){u!==null&&(u(),u=null),a||setTimeout(e,20)}function e(){if(!a&&!navigation.transition){var n=navigation.currentEntry;n&&n.url!=null&&navigation.navigate(n.url,{state:n.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),u!==null&&(u(),u=null)}}}function Ef(t){this._internalRoot=t}ni.prototype.render=Ef.prototype.render=function(t){var l=this._internalRoot;if(l===null)throw Error(s(409));var e=l.current,a=_l();pd(e,a,t,l,null,null)},ni.prototype.unmount=Ef.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var l=t.containerInfo;pd(t.current,2,null,t,null,null),Gn(),l[fa]=null}};function ni(t){this._internalRoot=t}ni.prototype.unstable_scheduleHydration=function(t){if(t){var l=Bf();t={blockedOn:null,target:t,priority:l};for(var e=0;e<Ge.length&&l!==0&&l<Ge[e].priority;e++);Ge.splice(e,0,t),e===0&&Td(t)}};var Od=Y.version;if(Od!=="19.2.8")throw Error(s(527,Od,"19.2.8"));O.findDOMNode=function(t){var l=t._reactInternals;if(l===void 0)throw typeof t.render=="function"?Error(s(188)):(t=Object.keys(t).join(","),Error(s(268,t)));return t=D(l),t=t!==null?k(t):null,t=t===null?null:t.stateNode,t};var ch={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:S,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ii=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ii.isDisabled&&ii.supportsFiber)try{Wa=ii.inject(ch),bl=ii}catch{}}return wu.createRoot=function(t,l){if(!d(t))throw Error(s(299));var e=!1,a="",u=Ro,n=Bo,i=qo;return l!=null&&(l.unstable_strictMode===!0&&(e=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(n=l.onCaughtError),l.onRecoverableError!==void 0&&(i=l.onRecoverableError)),l=yd(t,1,!1,null,null,e,a,null,u,n,i,_d),t[fa]=l.current,lf(t),new Ef(l)},wu.hydrateRoot=function(t,l,e){if(!d(t))throw Error(s(299));var a=!1,u="",n=Ro,i=Bo,c=qo,f=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(u=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError),e.formState!==void 0&&(f=e.formState)),l=yd(t,1,!0,l,e??null,a,u,f,n,i,c,_d),l.context=gd(null),e=l.current,a=_l(),a=oi(a),u=Te(a),u.callback=null,Ae(e,u,a),e=a,l.current.lanes=e,Fa(l,e),Jl(l),t[fa]=l.current,lf(t),new ni(l)},wu.version="19.2.8",wu}var Yd;function gh(){if(Yd)return Tf.exports;Yd=1;function E(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(E)}catch(Y){console.error(Y)}}return E(),Tf.exports=yh(),Tf.exports}var ph=gh();const Ja="ease-[cubic-bezier(0.32,0.72,0,1)]",Qd=274,wd=395,Zd=368,Ld=[{label:"Full",width:null},{label:"1440",width:1440},{label:"834",width:834},{label:"390",width:390}],Ka={collapsed:!1,corner:"bottom-right",hideDevOverlays:!0,font:"satoshi",hidden:[],order:[],renames:{},viewport:null,width:Zd};function bh(E){return`leglas:${E}`}function Sh(E,Y){const N=Y.map(s=>s.title);try{if(!E)return{...Ka,order:N};const s={...Ka,...JSON.parse(E)},d=(Array.isArray(s.order)?s.order:[]).filter(X=>N.includes(X)),j=["bottom-left","bottom-right","top-left","top-right"];return{collapsed:!!s.collapsed,corner:j.includes(s.corner)?s.corner:Ka.corner,hideDevOverlays:typeof s.hideDevOverlays=="boolean"?s.hideDevOverlays:Ka.hideDevOverlays,font:typeof s.font=="string"?s.font:Ka.font,hidden:(Array.isArray(s.hidden)?s.hidden:[]).filter(X=>N.includes(X)),order:[...d,...N.filter(X=>!d.includes(X))],renames:Object.fromEntries(Object.entries(s.renames??{}).filter(([X])=>N.includes(X))),viewport:Ld.some(X=>X.width===s.viewport)?s.viewport:null,width:Number.isFinite(s.width)?Math.round(Math.min(wd,Math.max(Qd,s.width))):Zd}}catch{return{...Ka,order:N}}}function Eh(E,Y,N,s){const d=Y.map(D=>D.title),j=(E.order.length?E.order:d).filter(D=>D!==N),rt=j.filter(D=>!E.hidden.includes(D))[s],R=rt===void 0?j.length:j.indexOf(rt);return j.splice(R,0,N),j}function Nf({size:E=18}){return g.jsxs("svg",{"aria-hidden":!0,fill:"none",height:E,viewBox:"0 0 24 24",width:E,children:[g.jsx("rect",{height:"13",rx:"3",stroke:"rgba(244,244,245,0.36)",strokeWidth:"2",width:"13",x:"8",y:"3"}),g.jsx("rect",{fill:"#1C1C20",height:"13",rx:"3",stroke:"#F4F4F5",strokeWidth:"2",width:"13",x:"3",y:"8"})]})}const Qe={copy:"M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z",pencil:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z",search:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z",split:"M216,36H40A20,20,0,0,0,20,56V200a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36ZM44,60h72V196H44ZM212,196H140V60h72Z",sidebar:"M216,36H40A20,20,0,0,0,20,56V200a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36ZM44,60H76V196H44ZM212,196H100V60H212Z",trash:"M216,48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM188,204H68V72H188ZM76,20A12,12,0,0,1,88,8h80a12,12,0,0,1,0,24H88A12,12,0,0,1,76,20Z"},ci="flex h-6 w-6 items-center justify-center rounded text-[#D1D5DB] hover:bg-[#2E2E2E] hover:text-white";function we({d:E,size:Y=13}){return g.jsx("svg",{"aria-hidden":!0,fill:"currentColor",height:Y,viewBox:"0 0 256 256",width:Y,children:g.jsx("path",{d:E})})}let Gd=0;function he({children:E,label:Y,side:N="top"}){const s=Z.useRef(null),d=Z.useRef(null),j=Z.useRef(null),[X,rt]=Z.useState(null);Z.useEffect(()=>()=>{d.current&&clearTimeout(d.current),j.current&&clearTimeout(j.current)},[]);const R=()=>{const q=s.current?.firstElementChild;if(!q)return;const ut=q.getBoundingClientRect();j.current&&clearTimeout(j.current),rt(N==="top"?{out:!1,x:ut.left+ut.width/2,y:ut.top-8}:{out:!1,x:ut.right+8,y:ut.top+ut.height/2})},D=()=>{d.current&&clearTimeout(d.current),d.current=setTimeout(R,Date.now()<Gd?0:300)},k=()=>{d.current&&clearTimeout(d.current),Gd=Date.now()+300,rt(q=>q&&!q.out?{...q,out:!0}:q),j.current&&clearTimeout(j.current),j.current=setTimeout(()=>rt(null),120)};return g.jsxs("span",{className:"contents",onBlur:k,onFocus:q=>{q.target.matches(":focus-visible")&&R()},onPointerDown:k,onPointerEnter:D,onPointerLeave:k,ref:s,children:[E,X&&g.jsx("span",{"aria-hidden":!0,className:"pointer-events-none fixed z-[60]",style:{left:X.x,top:X.y},children:g.jsx("span",{className:`block ${N==="top"?"-translate-x-1/2 -translate-y-full":"-translate-y-1/2"}`,children:g.jsx("span",{className:`leglas-tip block whitespace-nowrap rounded-lg border border-white/10 bg-[#171717] px-2 py-1 text-xs font-medium text-white shadow-lg ${X.out?N==="top"?"leglas-tip-out-top":"leglas-tip-out-right":N==="top"?"leglas-tip-in-top":"leglas-tip-in-right"}`,children:Y})})})]})}function xh({initial:E,label:Y,onCancel:N,onCommit:s}){const d=Z.useRef(!1);return g.jsx("form",{className:"px-3 py-1.5",onSubmit:j=>{j.preventDefault();const X=new FormData(j.currentTarget).get("name");d.current=!0,s(typeof X=="string"?X.trim():"")},children:g.jsx("input",{"aria-label":Y,autoFocus:!0,className:"w-full rounded-md border border-[#232328] bg-[#2E2E2E]/40 px-2 py-1.5 text-sm text-white focus:outline-none focus:ring-1 focus:ring-[#D1D5DB]/60",defaultValue:E,name:"name",onBlur:j=>{d.current||s(j.currentTarget.value.trim())},onKeyDown:j=>{j.key==="Escape"&&(d.current=!0,N())},type:"text"})})}function zh({loaded:E}){return g.jsxs("div",{"aria-hidden":!0,className:`absolute inset-0 overflow-hidden bg-white transition-opacity duration-700 ${Ja} ${E?"pointer-events-none opacity-0":"opacity-100"}`,children:[g.jsxs("div",{children:[g.jsx("div",{className:"mx-auto mt-6 h-12 w-[400px] max-w-[80%] rounded-full bg-neutral-200/80"}),g.jsxs("div",{className:"mx-auto mt-24 grid w-full max-w-5xl grid-cols-[1.05fr_0.95fr] items-start gap-16 px-12 max-[900px]:grid-cols-1",children:[g.jsxs("div",{children:[g.jsx("div",{className:"h-14 w-4/5 rounded-lg bg-neutral-200"}),g.jsx("div",{className:"mt-3 h-14 w-3/5 rounded-lg bg-neutral-200"}),g.jsx("div",{className:"mt-8 h-4 w-full max-w-[420px] rounded bg-neutral-200/80"}),g.jsx("div",{className:"mt-2 h-4 w-4/5 max-w-[360px] rounded bg-neutral-200/80"}),g.jsx("div",{className:"mt-10 h-12 w-44 rounded-full bg-neutral-200"})]}),g.jsx("div",{className:"h-[420px] w-60 justify-self-center rounded-[2.5rem] bg-neutral-200 max-[900px]:hidden"})]})]}),g.jsx("div",{className:"pointer-events-none absolute inset-0 overflow-hidden motion-reduce:hidden",children:g.jsx("div",{className:"absolute inset-0 -translate-x-full animate-[leglas-skeleton-sweep_1.6s_ease-in-out_infinite]",style:{background:"linear-gradient(100deg, transparent 32%, rgba(255,255,255,0.55) 50%, transparent 68%)"}})}),g.jsx("span",{className:"leglas-shimmer-text absolute bottom-4 right-5 text-xs font-medium",children:"Loading preview…"})]})}function Th({onReload:E,reason:Y}){return g.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-3 bg-white p-6 text-center",role:"alert",children:[g.jsxs("div",{className:"max-w-xs",children:[g.jsx("p",{className:"text-sm font-medium text-neutral-800",children:"Preview didn’t load"}),g.jsx("p",{className:"mt-1 text-xs leading-snug text-neutral-500",children:Y})]}),g.jsx("button",{className:"rounded-md bg-neutral-900 px-3 py-1.5 text-xs font-medium text-white transition-colors hover:bg-neutral-700",onClick:E,type:"button",children:"Reload"})]})}const Ah={reachable:!0,wasDown:!1};function Dh(E,Y){return Y?{reachable:!0,wasDown:E.wasDown}:{reachable:!1,wasDown:!0}}function _h(E){const Y=E.rows,N=s=>s!==null&&s!==E.active&&(Y===void 0||Y.includes(s));return N(E.pinned)?E.pinned:N(E.previous)?E.previous:Y?.find(s=>s!==E.active)??null}function Oh(E){return!E.split||E.compare===null||E.compare===E.active?[E.active]:[E.active,E.compare]}const Mh="#__next-build-watcher,#nuxt-devtools-anchor,astro-dev-toolbar{display:none!important}",Nh="#devtools-indicator{display:none!important}",jh=12;function Uh(E,Y){const N=E.replace(/\s+/g," ").trim().toLowerCase();return N.length<jh?null:`${Y.join(">")} ${N}`}function Ch(E){const Y=new Map;for(const[s,d]of Object.entries(E)){if(d===null)continue;const j=Y.get(d);j?j.push(s):Y.set(d,[s])}const N={};for(const s of Y.values())if(!(s.length<2))for(const d of s)N[d]=s.filter(j=>j!==d);return N}const Xd=24;function Hh(E,Y){const N=(s,d)=>{const j=Math.min(Xd,d/2),X=Math.max(j,d-Xd);return Math.max(j,Math.min(X,s))};return{x:N(E.x,Y.width),y:N(E.y,Y.height)}}function Rh(E,Y){const N=E.x<Y.width/2,s=E.y<Y.height/2;return s&&N?{corner:"top-left"}:s?{corner:"top-right"}:N?{corner:"bottom-left"}:{corner:"bottom-right"}}function Bh({previews:E,project:Y,searchRef:N,onToggleSplit:s}){const d=bh(Y),j=()=>Sh(typeof window>"u"?null:window.localStorage.getItem(d),E),[X,rt]=Z.useState(j),R=new Map(E.map(_=>[_.title,_])),D=()=>{const _=j(),H=_.order.length?_.order:E.map(F=>F.title);return H.find(F=>!_.hidden.includes(F))??H[0]??""},[k,q]=Z.useState(D),ut=typeof window<"u"&&window.self!==window.top,[wt,Bt]=Z.useState(()=>[D()]),[Mt,cl]=Z.useState(""),[Vt,zt]=Z.useState(!1),[_t,Kt]=Z.useState(null),[Ft,Zt]=Z.useState(null),[lt,Nt]=Z.useState(!1),[jt,Ol]=Z.useState({}),qt=Z.useRef(null),Tt=_=>{q(_),Bt(H=>H.includes(_)?H:[...H,_])};Z.useEffect(()=>{window.localStorage.setItem(d,JSON.stringify(X))},[X,d]),Z.useEffect(()=>()=>{qt.current&&clearTimeout(qt.current)},[]);const pl=_=>X.renames[_]??_,fl=_=>R.get(_)?.url??"/",Jt=_=>{if(!Mt.trim())return!0;const H=Mt.toLowerCase(),F=R.get(_);return pl(_).toLowerCase().includes(H)||_.toLowerCase().includes(H)||(F?.note??"").toLowerCase().includes(H)||(F?.tags??[]).some(It=>It.toLowerCase().includes(H))},S=E.map(_=>_.title),O=X.order.length?X.order:S,Q=O.filter(_=>!X.hidden.includes(_)&&Jt(_)),dt=O.filter(_=>!X.hidden.includes(_)).length,et=(_,H)=>rt(F=>({...F,order:Eh(F,E,_,H)})),r=_=>{if(rt(F=>({...F,hidden:[...F.hidden,_]})),k!==_)return;const H=O.find(F=>F!==_&&!X.hidden.includes(F));H&&Tt(H)},z=(_,H)=>{rt(F=>{const It={...F.renames};return!H||H===_?delete It[_]:It[_]=H,{...F,renames:It}}),Kt(null)};Z.useEffect(()=>{const _=Q,H=F=>{const It=F.target;if(!(It instanceof HTMLInputElement||It instanceof HTMLTextAreaElement||F.metaKey||F.ctrlKey||F.altKey)){if(F.key==="/")F.preventDefault(),rt($t=>$t.collapsed?{...$t,collapsed:!1}:$t),N.current?.focus();else if(F.key==="\\")F.preventDefault(),s?.();else if(F.key==="[")rt($t=>({...$t,collapsed:!$t.collapsed}));else if(F.key==="ArrowDown"||F.key==="ArrowUp"){F.preventDefault();const $t=_.indexOf(k),ul=F.key==="ArrowDown"?_[Math.min(_.length-1,$t+1)]:_[Math.max(0,$t-1)];ul&&Tt(ul)}}};return window.addEventListener("keydown",H),()=>window.removeEventListener("keydown",H)},[k,Q.join("|"),s]);const M=_=>{const H=`${window.location.origin}${fl(_)}`;navigator.clipboard.writeText(H).then(()=>{Zt(_),qt.current&&clearTimeout(qt.current),qt.current=setTimeout(()=>Zt(null),1200)})},C=_=>{_.preventDefault();const H=_.currentTarget;H.setPointerCapture(_.pointerId);const F=_.clientX,It=X.width;Nt(!0);const $t=nl=>{const ve=Math.min(wd,Math.max(Qd,It+nl.clientX-F));rt($l=>$l.width===ve?$l:{...$l,width:ve})},ul=nl=>{H.releasePointerCapture(nl.pointerId),H.removeEventListener("pointermove",$t),H.removeEventListener("pointerup",ul),H.removeEventListener("pointercancel",ul),Nt(!1)};H.addEventListener("pointermove",$t),H.addEventListener("pointerup",ul),H.addEventListener("pointercancel",ul)},$=_=>Ol(H=>H[_]?H:{...H,[_]:!0}),P=_=>Ol(H=>H[_]?{...H,[_]:!1}:H),ot=ut?[k]:S.filter(_=>wt.includes(_));return{active:k,copied:Ft,copyReference:M,displayName:pl,hiddenCount:X.hidden.length,hide:r,loaded:jt,markLoaded:$,matches:Jt,moveOption:et,nested:ut,onHandlePointerDown:C,panes:ot,prefs:X,previewFor:_=>R.get(_),query:Mt,rename:z,renaming:_t,resetLoaded:P,resizing:lt,rows:Q,setActive:Tt,setPrefs:rt,setQuery:cl,setRenaming:Kt,setShowHidden:zt,showHidden:Vt,urlFor:fl,visibleCount:dt,viewports:Ld}}const Of=[{key:"satoshi",label:"Satoshi",stack:"var(--font-satoshi)"},{key:"outfit",label:"Outfit",stack:"var(--font-outfit)"},{key:"manrope",label:"Manrope",stack:"var(--font-manrope)"}],qh=15e3;function Yh({previews:E,project:Y}){const N=Z.useRef(null),s=Z.useRef(null),d=Bh({previews:E,project:Y,searchRef:N,onToggleSplit:()=>s.current?.()}),[j,X]=Z.useState(!1),[rt,R]=Z.useState(""),[D,k]=Z.useState(!1),[q,ut]=Z.useState(!1),wt=Z.useRef(null),Bt=Z.useRef(null),Mt=Z.useRef(null),[cl,Vt]=Z.useState({height:0,on:!1,top:0}),[zt,_t]=Z.useState(null),Kt=Z.useRef(null),Ft=Z.useRef(null);Z.useEffect(()=>{Kt.current=zt},[zt]),Z.useEffect(()=>{if(!zt)return;const p=Ft.current;if(!p)return;const U=I=>{const K=I.clientY-p.startY;_t(J=>{if(!J||J.settling)return J;if(!J.started&&Math.abs(K)<=4)return{...J,dy:K};J.started||window.getSelection()?.removeAllRanges();const mt=p.rows[J.from];if(!mt)return J;const Xl=Math.max(p.minDy,Math.min(p.maxDy,K)),ol=mt.mid+K;let Ml=0;return p.rows.forEach((Ze,Wl)=>{Wl!==J.from&&ol>Ze.mid&&(Ml+=1)}),{...J,dy:Xl,started:!0,to:Ml}})},L=()=>{const I=Kt.current;if(!I?.started){_t(null);return}p.suppressed=!0;let K=0;if(I.to>I.from)for(let J=I.from+1;J<=I.to;J+=1)K+=(p.rows[J]?.height??0)+I.gap;else for(let J=I.to;J<I.from;J+=1)K-=(p.rows[J]?.height??0)+I.gap;_t({...I,dy:K,settling:!0}),window.setTimeout(()=>{d.moveOption(I.title,I.to),_t(null),window.setTimeout(()=>{p.suppressed=!1},0)},190)};return window.addEventListener("pointermove",U),window.addEventListener("pointerup",L),window.addEventListener("pointercancel",L),()=>{window.removeEventListener("pointermove",U),window.removeEventListener("pointerup",L),window.removeEventListener("pointercancel",L)}},[zt!==null]),Z.useEffect(()=>{if(!j)return;Bt.current?.focus();const p=I=>{I.key==="Escape"&&(X(!1),wt.current?.focus())},U=I=>{const K=I.target;!Bt.current?.contains(K)&&!wt.current?.contains(K)&&X(!1)},L=()=>X(!1);return window.addEventListener("keydown",p),window.addEventListener("pointerdown",U),window.addEventListener("blur",L),()=>{window.removeEventListener("keydown",p),window.removeEventListener("pointerdown",U),window.removeEventListener("blur",L)}},[j]);const Zt="flex h-7 w-full items-center justify-between gap-2 rounded px-2 text-xs hover:bg-[#2E2E2E] hover:text-white disabled:cursor-not-allowed disabled:opacity-40",lt=Of.find(p=>p.key===d.prefs.font)??Of[0],Nt=d.prefs.viewport!==null,jt=zt?.started??!1,Ol=d.resizing||jt,[qt,Tt]=Z.useState({}),[pl,fl]=Z.useState({}),[Jt,S]=Z.useState(!1),[O,Q]=Z.useState(null),dt=Z.useRef(null);Z.useEffect(()=>()=>{dt.current=d.active},[d.active]),s.current=()=>{!Jt&&et!==null&&Q(et),(et!==null||Jt)&&S(p=>!p)};const et=_h({active:d.active,previous:dt.current,pinned:O,rows:d.rows}),r=Oh({active:d.active,compare:et,split:Jt}),z=r.length>1,M=[...new Set([...d.panes,...r])],[C,$]=Z.useState(null),P=Z.useRef(null),ot=p=>{if(p.button!==0)return;const U=P.current?.getBoundingClientRect();if(!U)return;let L=!1;const I=J=>{L=!0,$(Hh({x:J.clientX-U.left,y:J.clientY-U.top},{width:U.width,height:U.height}))},K=J=>{if(window.removeEventListener("pointermove",I),window.removeEventListener("pointerup",K),$(null),!L)return;const{corner:mt}=Rh({x:J.clientX-U.left,y:J.clientY-U.top},{width:U.width,height:U.height});d.setPrefs(Xl=>({...Xl,corner:mt})),X(!1)};window.addEventListener("pointermove",I),window.addEventListener("pointerup",K)},[_,H]=Z.useState(Ah),F=Z.useRef(d.loaded);F.current=d.loaded,Z.useEffect(()=>{let p=!1;const U=()=>fetch("/leglas/api/health").then(I=>I.json()).then(({reachable:I})=>{p||H(K=>Dh(K,I))}).catch(()=>{}),L=window.setInterval(U,3e3);return U(),()=>{p=!0,window.clearInterval(L)}},[]),Z.useEffect(()=>{!_.reachable||!_.wasDown||(Tt({}),fl(p=>{const U={...p};for(const L of Object.keys(F.current))U[L]=(U[L]??0)+1;return U}),H(p=>({...p,wasDown:!1})))},[_.reachable,_.wasDown]);const[It,$t]=Z.useState({}),ul=Ch(It),nl=(p,U)=>{let L=null;try{L=p.contentDocument}catch{return}if(!L?.head)return;const I="leglas-hide-dev-overlays",K=(J,mt,Xl)=>{const ol=J.getElementById(I);if(!U){ol?.remove();return}if(ol)return;const Ml=L.createElement("style");Ml.id=I,Ml.textContent=Xl,mt.appendChild(Ml)};K(L,L.head,Mh);for(const J of L.querySelectorAll("nextjs-portal")){const mt=J.shadowRoot;mt&&K(mt,mt,Nh)}};Z.useEffect(()=>{for(const p of document.querySelectorAll("iframe"))nl(p,d.prefs.hideDevOverlays)});const ve=(p,U)=>{let L=null;try{L=U.contentDocument}catch{return}if(!L?.body)return;const I=[...L.body.querySelectorAll("*")].slice(0,400).map(J=>J.tagName),K=Uh(L.body.innerText??"",I);$t(J=>J[p]===K?J:{...J,[p]:K})};Z.useEffect(()=>{if(d.loaded[d.active]||qt[d.active])return;const p=_.reachable?qh:0,U=setTimeout(()=>Tt(L=>({...L,[d.active]:!0})),p);return()=>clearTimeout(U)},[d.active,d.loaded,qt,pl,_.reachable]);const $l=p=>{Tt(U=>({...U,[p]:!1})),d.resetLoaded(p),fl(U=>({...U,[p]:(U[p]??0)+1}))},fi=(p,U)=>L=>{if(L.button!==0||d.renaming||d.query.trim()||d.rows.length<2||L.target.closest("button, [data-selectable]"))return;const I=Mt.current,K=I?.parentElement;if(!I||!K)return;const J=[...I.querySelectorAll("li[data-title]")],mt=J.map(Wl=>({height:Wl.offsetHeight,mid:Wl.offsetTop+Wl.offsetHeight/2,title:Wl.dataset.title??"",top:Wl.offsetTop})),Xl=K.getBoundingClientRect(),ol=J[U]?.getBoundingClientRect();Ft.current={maxDy:ol?Xl.bottom-ol.bottom:0,minDy:ol?Xl.top-ol.top:0,rows:mt,startY:L.clientY,suppressed:!1};const Ml=mt[0],Ze=mt[1];_t({dy:0,from:U,gap:Ml&&Ze?Ze.top-Ml.top-Ml.height:0,height:mt[U]?.height??0,title:p,settling:!1,started:!1,to:U})},Zu=p=>{if(!zt?.started)return 0;const U=zt.height+zt.gap;return p<zt.from&&p>=zt.to?U:p>zt.from&&p<=zt.to?-U:0},$a=(p,U)=>{const L=p===d.active,I=d.previewFor(p),K=jt&&zt?.title===p,J=jt&&!K?Zu(U):0;return d.renaming===p?g.jsx("li",{className:"relative z-10",children:g.jsx(xh,{initial:d.displayName(p),label:`Rename the ${d.displayName(p)} direction`,onCancel:()=>d.setRenaming(null),onCommit:mt=>d.rename(p,mt)})},p):g.jsxs("li",{className:`group relative ${K?`z-30 rounded-md bg-white/[0.06] shadow-2xl ${zt?.settling?`transition-transform duration-200 ${Ja} motion-reduce:transition-none`:""}`:"z-10"} ${jt&&!K?`transition-transform duration-200 ${Ja} motion-reduce:transition-none`:""}`,"data-title":p,onPointerEnter:mt=>Vt({height:mt.currentTarget.offsetHeight,on:!0,top:mt.currentTarget.offsetTop}),style:K?{transform:`translateY(${zt?.dy??0}px)`}:J?{transform:`translateY(${J}px)`}:void 0,children:[g.jsx("div",{"aria-pressed":L,className:`relative flex w-full cursor-grab items-start gap-2 rounded-md px-3 py-2 text-left transition-colors active:cursor-grabbing ${L?"bg-[#2E2E2E] ring-1 ring-inset ring-[#D1D5DB]/40":""}`,onClick:()=>{if(Ft.current?.suppressed){Ft.current.suppressed=!1;return}d.setActive(p)},onKeyDown:mt=>{(mt.key==="Enter"||mt.key===" ")&&(mt.preventDefault(),d.setActive(p))},onPointerDown:fi(p,U),role:"button",tabIndex:0,children:g.jsxs("span",{className:"min-w-0 flex-1",children:[g.jsxs("span",{className:"flex items-center gap-2",children:[g.jsx("span",{className:`min-w-0 flex-1 select-text truncate text-sm font-medium transition-colors duration-150 ${L?"text-white":"text-[#D1D5DB] group-hover:text-[#E8EAED]"}`,children:d.displayName(p)}),z&&p===et?g.jsx("span",{className:`shrink-0 rounded-md bg-white/[0.08] px-2 py-[3px] text-[11px] leading-none text-[#E8E8EA] transition-opacity duration-150 ${jt?"":"group-hover:opacity-0 group-has-[button:focus-visible]:opacity-0"}`,children:"Comparing"}):ul[p]?g.jsx(he,{label:`Renders the same page as ${ul[p]?.join(", ")}. Check the URL.`,children:g.jsxs("span",{className:`shrink-0 rounded-md bg-amber-400/10 px-2 py-[3px] text-[11px] leading-none text-amber-300/90 transition-opacity duration-150 ${jt?"":"group-hover:opacity-0 group-has-[button:focus-visible]:opacity-0"}`,children:["Same as ",ul[p]?.length===1?ul[p]?.[0]:`${ul[p]?.length} others`]})}):I?.tags[0]&&g.jsx("span",{className:`shrink-0 rounded-md bg-[#A9BC7C]/10 px-2 py-[3px] text-[11px] leading-none text-[#A9BC7C] transition-opacity duration-150 ${jt?"":"group-hover:opacity-0 group-has-[button:focus-visible]:opacity-0"}`,children:I.tags[0]})]}),g.jsx("span",{className:`mt-0.5 line-clamp-2 block cursor-text select-text text-xs leading-snug transition-colors ${L?"text-[#D1D5DB]":"text-[#84848C]"}`,"data-selectable":"",children:I?.note??I?.url})]})}),g.jsxs("div",{className:`pointer-events-none absolute right-2 top-1.5 flex items-center gap-0.5 opacity-0 transition-opacity duration-150 ${jt?"":"group-hover:pointer-events-auto group-hover:opacity-100 group-has-[button:focus-visible]:pointer-events-auto group-has-[button:focus-visible]:opacity-100"}`,children:[p!==d.active&&g.jsx(he,{label:z&&p===et?"Stop comparing":`Compare with ${d.displayName(d.active)}`,children:g.jsx("button",{"aria-label":z&&p===et?`Stop comparing ${d.displayName(p)}`:`Compare ${d.displayName(p)} with ${d.displayName(d.active)}`,"aria-pressed":z&&p===et,className:`${ci} ${z&&p===et?"text-white":""}`,onClick:mt=>{if(mt.stopPropagation(),z&&p===et){S(!1);return}Q(p),S(!0)},type:"button",children:g.jsx(we,{d:Qe.split})})}),g.jsx(he,{label:d.copied===p?"Copied":"Copy reference URL",children:g.jsx("button",{"aria-label":`Copy link to the ${d.displayName(p)} direction`,className:ci,onClick:()=>d.copyReference(p),type:"button",children:d.copied===p?g.jsx("span",{className:"text-[10px] text-emerald-300",children:"✓"}):g.jsx(we,{d:Qe.copy})})}),g.jsx(he,{label:"Rename",children:g.jsx("button",{"aria-label":`Rename the ${d.displayName(p)} direction`,className:ci,onClick:()=>d.setRenaming(p),type:"button",children:g.jsx(we,{d:Qe.pencil,size:12})})}),g.jsx(he,{label:"Remove from list",children:g.jsx("button",{"aria-label":`Remove the ${d.displayName(p)} direction from the list`,className:ci,onClick:()=>d.hide(p),type:"button",children:g.jsx(we,{d:Qe.trash,size:12})})})]})]},p)};return g.jsxs("main",{className:`flex h-dvh bg-[#1C1C20] text-white antialiased selection:bg-[#E6E8EC] selection:text-[#17181B] ${d.resizing?"cursor-col-resize":""} ${Ol?"select-none":""}`,"data-leglas-shell":"",style:{fontFamily:lt.stack},children:[g.jsxs("aside",{className:`relative shrink-0 overflow-hidden border-r border-[#232328] ${d.prefs.collapsed?"":"shadow-2xl"} ${d.resizing?"":`transition-[width] duration-200 ${Ja} motion-reduce:transition-none`}`,style:{width:d.prefs.collapsed?48:d.prefs.width},children:[g.jsxs("div",{className:`flex h-full flex-col transition-opacity duration-150 ${d.prefs.collapsed?"pointer-events-none opacity-0":"opacity-100"}`,inert:d.prefs.collapsed,style:{width:d.prefs.width},children:[g.jsxs("div",{className:"z-10 flex shrink-0 items-center justify-between gap-2 border-b border-[#232328] bg-[#1E1E22] px-2.5 py-2.5",children:[g.jsx("span",{className:"min-w-0 truncate text-sm font-medium text-white",children:"Directions"}),g.jsx(he,{label:g.jsxs(g.Fragment,{children:["Collapse panel ",g.jsx("kbd",{className:"ml-1 text-[#9CA3AF]",children:"["})]}),side:"right",children:g.jsx("button",{"aria-label":"Collapse the directions panel",className:"flex h-6 w-6 shrink-0 items-center justify-center rounded p-1 text-[#9CA3AF] transition-colors hover:bg-[#2E2E2E] hover:text-white",onClick:()=>d.setPrefs(p=>({...p,collapsed:!0})),type:"button",children:g.jsx(we,{d:Qe.sidebar,size:16})})})]}),g.jsx("div",{className:"px-3 pb-1 pt-2",children:g.jsxs("div",{className:"relative",children:[g.jsx("span",{className:"pointer-events-none absolute left-2 top-1/2 -translate-y-1/2 text-[#D1D5DB]",children:g.jsx(we,{d:Qe.search})}),g.jsx("input",{"aria-label":"Search directions",className:"w-full rounded-md border border-[#232328] bg-[#2E2E2E]/40 py-1.5 pl-7 pr-2 text-xs text-white placeholder:text-[#E8EAED] focus:outline-none focus:ring-1 focus:ring-[#D1D5DB]/60",onChange:p=>d.setQuery(p.target.value),onKeyDown:p=>{p.key==="Escape"&&(d.query?d.setQuery(""):p.currentTarget.blur())},placeholder:"Search directions…",ref:N,type:"text",value:d.query})]})}),!_.reachable&&g.jsxs("div",{className:"mx-3 mb-1 mt-1 rounded-md border border-amber-400/20 bg-amber-400/[0.07] px-2.5 py-2",children:[g.jsx("p",{className:"text-xs font-medium text-amber-300/90",children:"Dev server not responding"}),g.jsx("p",{className:"mt-0.5 text-[11px] leading-snug text-[#9CA3AF]",children:"Anything on screen is from before it stopped. Previews return on their own once it is back."})]}),g.jsxs("div",{className:"flex-1 overflow-y-auto px-3 py-2 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:[g.jsxs("ul",{className:"relative flex flex-col gap-1",onPointerLeave:()=>Vt(p=>({...p,on:!1})),ref:Mt,children:[g.jsx("div",{"aria-hidden":!0,className:`pointer-events-none absolute left-0 right-0 z-0 rounded-md bg-white/[0.06] transition-[transform,height,opacity] duration-150 ${Ja} motion-reduce:transition-none`,style:{height:cl.height,opacity:cl.on&&!jt?1:0,transform:`translateY(${cl.top}px)`}}),d.rows.map((p,U)=>$a(p,U))]}),d.rows.length===0&&g.jsx("div",{className:"px-3 py-2",children:d.query.trim()?g.jsxs(g.Fragment,{children:[g.jsxs("p",{className:"text-xs text-[#9CA3AF]",children:["Nothing matches “",d.query,"”."]}),g.jsx("button",{className:"mt-1 rounded text-xs text-[#84848C] underline underline-offset-2 transition-colors hover:text-[#D1D5DB]",onClick:()=>d.setQuery(""),type:"button",children:"Clear search"})]}):g.jsx("p",{className:"text-xs leading-snug text-[#9CA3AF]",children:d.visibleCount===0&&d.hiddenCount>0?"Every direction is removed. Restore one below.":"No directions yet. Add them to leglas.config.ts."})}),d.hiddenCount>0&&g.jsxs("button",{className:"mt-1 rounded px-3 py-1.5 text-left text-[11px] text-[#84848C] transition-colors hover:text-[#D1D5DB]",onClick:()=>d.setShowHidden(p=>!p),type:"button",children:[d.showHidden?"Hide":"Show"," removed (",d.hiddenCount,")"]}),d.showHidden&&g.jsx("ul",{className:"relative",children:d.prefs.hidden.filter(d.matches).map(p=>g.jsx("li",{className:"group relative",children:g.jsxs("div",{className:"flex items-center justify-between rounded-md px-3 py-2 transition-colors group-hover:bg-white/[0.04]",children:[g.jsx("span",{className:"truncate text-sm font-medium text-[#9CA3AF]",children:d.displayName(p)}),g.jsx("button",{className:"rounded text-[11px] text-[#9CA3AF] transition-colors hover:text-white",onClick:()=>d.setPrefs(U=>({...U,hidden:U.hidden.filter(L=>L!==p)})),type:"button",children:"Restore"})]})},p))})]}),g.jsx("div",{className:"flex justify-end px-3 py-2",children:g.jsx(he,{label:"Copy a link to the active direction",children:g.jsx("button",{className:"rounded-md bg-[#2E2E2E]/60 px-3.5 py-1.5 text-xs font-medium text-[#D1D5DB] transition-colors hover:bg-[#2E2E2E] hover:text-white",onClick:()=>d.copyReference(d.active),type:"button",children:d.copied===d.active?"Copied":"Share"})})})]}),g.jsxs("div",{className:`absolute inset-y-0 left-0 z-30 flex w-12 flex-col items-center bg-[#1C1C20] py-3 transition-opacity duration-150 ${d.prefs.collapsed?"opacity-100":"pointer-events-none opacity-0"}`,inert:!d.prefs.collapsed,children:[g.jsx(Nf,{size:16}),g.jsx(he,{label:g.jsxs(g.Fragment,{children:["Open directions ",g.jsx("kbd",{className:"ml-1 text-[#9CA3AF]",children:"["})]}),side:"right",children:g.jsx("button",{"aria-label":"Open the directions panel",className:"mt-3 flex h-6 w-6 items-center justify-center rounded p-1 text-[#9CA3AF] transition-colors hover:bg-[#2E2E2E] hover:text-white",onClick:()=>d.setPrefs(p=>({...p,collapsed:!1})),type:"button",children:g.jsx(we,{d:Qe.sidebar,size:16})})})]}),!d.prefs.collapsed&&g.jsx("div",{"aria-hidden":!0,className:"group/resize absolute inset-y-0 right-0 z-20 flex w-3 cursor-col-resize touch-none justify-end",onPointerDown:d.onHandlePointerDown,children:g.jsx("span",{className:`h-full transition-all duration-150 ${d.resizing?"w-0.5 bg-[#9CA3AF]":"w-px bg-[#232328] group-hover/resize:w-0.5 group-hover/resize:bg-[#9CA3AF]"}`})})]}),g.jsx("span",{"aria-live":"polite",className:"sr-only",role:"status",children:d.copied?"Reference URL copied":""}),g.jsxs("div",{className:`relative min-w-0 flex-1 ${z?"flex":"overflow-auto"}`,ref:P,children:[M.map(p=>g.jsxs("div",{className:r.includes(p)?z?`relative min-w-0 flex-1 overflow-auto ${p===et?"border-l border-[#232328]":""} ${Nt?"flex min-h-full justify-center p-6":""}`:Nt?"flex min-h-full justify-center p-6":"absolute inset-0":"hidden",style:z?{order:r.indexOf(p)}:void 0,children:[z&&g.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 z-10 flex justify-center p-3",children:g.jsx("span",{className:"rounded-full bg-[#1C1C20]/85 px-2.5 py-1 text-[11px] font-medium text-[#E8E8EA] shadow-lg backdrop-blur",children:d.displayName(p)})}),g.jsxs("div",{className:Nt?`relative h-[calc(100dvh-48px)] shrink-0 overflow-hidden rounded-[10px] shadow-[0_0_0_1px_rgba(255,255,255,0.10)] transition-[width] duration-200 ${Ja} motion-reduce:transition-none`:"relative size-full",style:Nt?{width:d.prefs.viewport??void 0}:void 0,children:[g.jsx("iframe",{className:`size-full border-0 bg-white ${Ol?"pointer-events-none":""}`,onError:()=>Tt(U=>({...U,[p]:!0})),onLoad:U=>{const I=d.urlFor(p).startsWith("/");let K=!0;if(I)try{K=U.currentTarget.contentDocument!=null}catch{K=!1}if(K){d.markLoaded(p),Tt(mt=>mt[p]?{...mt,[p]:!1}:mt);const J=U.currentTarget;nl(J,d.prefs.hideDevOverlays),window.setTimeout(()=>{nl(J,d.prefs.hideDevOverlays),ve(p,J)},600)}else Tt(J=>({...J,[p]:!0}))},src:d.urlFor(p),title:`Preview: ${d.displayName(p)}`},pl[p]??0),qt[p]?g.jsx(Th,{onReload:()=>$l(p),reason:_.reachable?`${d.urlFor(p)} didn’t respond.`:"Your dev server stopped. This returns on its own once it is back."}):g.jsx(zh,{loaded:!!d.loaded[p]}),!_.reachable&&d.loaded[p]&&g.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 flex justify-center p-3",children:g.jsx("span",{className:"rounded-full bg-[#1C1C20]/90 px-2.5 py-1 text-[11px] font-medium text-amber-300/90 shadow-lg",children:"Stale — dev server stopped"})})]})]},p)),g.jsxs("div",{className:`absolute z-50 flex gap-2 ${C?"flex-col items-end":{"bottom-right":"bottom-4 right-4 flex-col items-end","bottom-left":"bottom-4 left-4 flex-col items-start","top-right":"right-4 top-4 flex-col-reverse items-end","top-left":"left-4 top-4 flex-col-reverse items-start"}[d.prefs.corner]}`,style:C?{left:C.x,top:C.y,bottom:"auto",right:"auto"}:void 0,children:[g.jsxs("div",{"aria-hidden":!j,"aria-label":"Leglas tools",className:`w-56 rounded-lg border border-[#232328] bg-[#1E1E22] p-1.5 shadow-2xl transition-[opacity,transform] duration-150 ease-[cubic-bezier(0.165,0.84,0.44,1)] focus:outline-none motion-reduce:transition-none ${j?"translate-y-0 scale-100 opacity-100":"pointer-events-none translate-y-1 scale-95 opacity-0"}`,inert:!j,ref:Bt,role:"dialog",tabIndex:-1,children:[g.jsx("span",{className:"block px-1 pb-1 pt-0.5 text-[10px] uppercase tracking-[0.08em] text-[#84848C]",children:"Typeface"}),g.jsx("div",{"aria-label":"Interface typeface",className:"flex items-center gap-0.5 rounded-md bg-[#2E2E2E]/40 p-0.5",role:"group",children:Of.map(p=>g.jsx("button",{"aria-pressed":lt.key===p.key,className:`flex-1 rounded px-2 py-1 text-xs transition-colors ${lt.key===p.key?"bg-[#2E2E2E] font-medium text-white":"text-[#9CA3AF] hover:text-[#D1D5DB]"}`,onClick:()=>d.setPrefs(U=>({...U,font:p.key})),style:{fontFamily:p.stack},type:"button",children:p.label},p.key))}),g.jsx("span",{className:"block px-1 pb-1 pt-2 text-[10px] uppercase tracking-[0.08em] text-[#84848C]",children:"Viewport"}),g.jsx("div",{"aria-label":"Viewport width",className:"flex items-center gap-0.5 rounded-md bg-[#2E2E2E]/40 p-0.5",role:"group",children:d.viewports.map(({label:p,width:U})=>g.jsx("button",{className:`flex-1 rounded px-2 py-1 text-xs transition-colors ${d.prefs.viewport===U?"bg-[#2E2E2E] font-medium text-white":"text-[#9CA3AF] hover:text-[#D1D5DB]"}`,onClick:()=>d.setPrefs(L=>({...L,viewport:U})),type:"button",children:p},p))}),g.jsx("span",{className:"block px-1 pb-1 pt-2 text-[10px] uppercase tracking-[0.08em] text-[#84848C]",children:"Preview"}),g.jsxs("button",{className:`${Zt} ${d.prefs.hideDevOverlays?"text-white":"text-[#9CA3AF]"}`,onClick:()=>{const p=!d.prefs.hideDevOverlays;d.setPrefs(U=>({...U,hideDevOverlays:p}));for(const U of document.querySelectorAll("iframe"))nl(U,p)},type:"button",children:[g.jsx("span",{children:"Hide dev overlays"}),g.jsx("span",{className:"text-[10px] text-[#84848C]",children:d.prefs.hideDevOverlays?"on":"off"})]}),g.jsx("span",{className:"block px-1 pb-1 pt-2 text-[10px] uppercase tracking-[0.08em] text-[#84848C]",children:"Change this direction"}),g.jsx("form",{className:"flex items-center gap-1",onSubmit:p=>{p.preventDefault();const U=rt.trim();U&&(k(!0),fetch("/leglas/api/request",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({title:d.active,intent:U})}).then(L=>L.json()).then(L=>{L.prompt&&navigator.clipboard.writeText(L.prompt),R(""),ut(L.ok),window.setTimeout(()=>ut(!1),2e3)}).finally(()=>k(!1)))},children:g.jsx("input",{"aria-label":`Ask your agent to change the ${d.displayName(d.active)} direction`,className:"min-w-0 flex-1 rounded-md border border-[#232328] bg-[#2E2E2E]/40 px-2 py-1.5 text-xs text-white placeholder:text-[#84848C] focus:outline-none focus:ring-1 focus:ring-[#D1D5DB]/60",disabled:D,onChange:p=>R(p.target.value),placeholder:q?"Copied and queued":"Make it warmer…",type:"text",value:rt})}),g.jsxs("p",{className:"px-1 pb-1 pt-1 text-[10px] leading-snug text-[#84848C]",children:["Enter copies a prompt for your agent and queues it for",g.jsx("span",{className:"font-medium",children:" leglas requests"}),"."]}),g.jsxs("button",{className:"mt-1 flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-xs text-[#D1D5DB] transition-colors hover:bg-[#2E2E2E]/60 hover:text-white",onClick:()=>d.copyReference(d.active),type:"button",children:[g.jsx(we,{d:Qe.copy,size:12}),d.copied===d.active?"Copied":"Copy reference URL"]}),g.jsxs("a",{className:"flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-xs text-[#D1D5DB] transition-colors hover:bg-[#2E2E2E]/60 hover:text-white",href:d.urlFor(d.active),rel:"noreferrer",target:"_blank",children:[g.jsx("span",{className:"inline-block size-3 rounded-sm border border-current"}),"Open in new tab"]})]}),g.jsx(he,{label:"Leglas tools",children:g.jsxs("button",{"aria-expanded":j,"aria-haspopup":"dialog","aria-label":"Leglas tools",className:"relative flex h-11 w-11 items-center justify-center rounded-full border border-white/10 bg-[#1C1C20] shadow-lg transition-[border-color,transform] duration-150 hover:scale-[1.04] hover:border-white/20 active:scale-[0.95] motion-reduce:transform-none motion-reduce:hover:scale-100 motion-reduce:active:scale-100",onClick:()=>X(p=>!p),onPointerDown:ot,ref:wt,type:"button",children:[g.jsx(Nf,{size:20}),!d.loaded[d.active]&&g.jsx("span",{className:"absolute -right-0.5 -top-0.5 size-2 animate-pulse rounded-full bg-amber-400 motion-reduce:animate-none"})]})})]})]})]})}function Mf({children:E,title:Y}){return g.jsxs("div",{className:"flex h-dvh flex-col items-center justify-center gap-3 bg-[#1C1C20] px-6 text-center antialiased",style:{fontFamily:"var(--font-satoshi)"},children:[g.jsx(Nf,{size:22}),g.jsx("p",{className:"text-sm font-medium text-white",children:Y}),g.jsx("div",{className:"max-w-md text-xs leading-relaxed text-[#84848C]",children:E})]})}function Gh(){const[E,Y]=Z.useState({status:"loading"});return Z.useEffect(()=>{let N=!1;return fetch("/leglas/api/config").then(s=>{if(!s.ok)throw new Error(`the server answered ${s.status}`);return s.json()}).then(s=>{N||Y({status:"ready",config:s})}).catch(s=>{N||Y({status:"failed",message:s instanceof Error?s.message:String(s)})}),()=>{N=!0}},[]),E.status==="loading"?g.jsx(Mf,{title:"Starting Leglas…",children:null}):E.status==="failed"?g.jsxs(Mf,{title:"Couldn’t reach the Leglas server",children:[E.message,". The interface is served by the same process that proxies your app, so this usually means it stopped."]}):E.config.errors.length>0?g.jsxs(Mf,{title:"Your config needs fixing",children:[g.jsx("ul",{className:"space-y-1 text-left",children:E.config.errors.map(N=>g.jsx("li",{children:N},N))}),g.jsx("p",{className:"mt-3",children:"Fix it and restart Leglas."})]}):g.jsx(Yh,{previews:E.config.previews,project:E.config.project})}const Vd=document.getElementById("root");if(!Vd)throw new Error("Leglas: #root is missing from the document.");ph.createRoot(Vd).render(g.jsx(Z.StrictMode,{children:g.jsx(Gh,{})}));
|