getgloss 0.2.0 → 0.3.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 +23 -10
- package/dist/cli/index.js +302 -8
- package/dist/cli/index.js.map +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/server/daemon.js +110 -45
- package/dist/server/daemon.js.map +1 -1
- package/dist/web/assets/index-DuGSsf8O.js +181 -0
- package/dist/web/assets/index-SRKfUpIg.css +1 -0
- package/dist/web/index.html +2 -2
- package/dist/web/logo-mark.svg +12 -0
- package/dist/web/prompt.md +2 -2
- package/dist/web/setup/index.html +18 -8
- package/dist/web/setup.md +21 -5
- package/package.json +1 -1
- package/skill/SKILL.md +15 -10
- package/dist/web/assets/index-BQXNNRgM.css +0 -1
- package/dist/web/assets/index-xfsP7fu_.js +0 -186
- package/dist/web/skill/SKILL.md +0 -22
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
(function(){const m=document.createElement("link").relList;if(m&&m.supports&&m.supports("modulepreload"))return;for(const N of document.querySelectorAll('link[rel="modulepreload"]'))o(N);new MutationObserver(N=>{for(const D of N)if(D.type==="childList")for(const M of D.addedNodes)M.tagName==="LINK"&&M.rel==="modulepreload"&&o(M)}).observe(document,{childList:!0,subtree:!0});function v(N){const D={};return N.integrity&&(D.integrity=N.integrity),N.referrerPolicy&&(D.referrerPolicy=N.referrerPolicy),N.crossOrigin==="use-credentials"?D.credentials="include":N.crossOrigin==="anonymous"?D.credentials="omit":D.credentials="same-origin",D}function o(N){if(N.ep)return;N.ep=!0;const D=v(N);fetch(N.href,D)}})();function Y0(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var pf={exports:{}},An={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var Br;function X0(){if(Br)return An;Br=1;var f=Symbol.for("react.transitional.element"),m=Symbol.for("react.fragment");function v(o,N,D){var M=null;if(D!==void 0&&(M=""+D),N.key!==void 0&&(M=""+N.key),"key"in N){D={};for(var C in N)C!=="key"&&(D[C]=N[C])}else D=N;return N=D.ref,{$$typeof:f,type:o,key:M,ref:N!==void 0?N:null,props:D}}return An.Fragment=m,An.jsx=v,An.jsxs=v,An}var qr;function Q0(){return qr||(qr=1,pf.exports=X0()),pf.exports}var s=Q0(),Sf={exports:{}},J={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react.production.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var Gr;function Z0(){if(Gr)return J;Gr=1;var f=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),D=Symbol.for("react.consumer"),M=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),tt=Symbol.iterator;function k(h){return h===null||typeof h!="object"?null:(h=tt&&h[tt]||h["@@iterator"],typeof h=="function"?h:null)}var ct={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},rt=Object.assign,Bt={};function Nt(h,_,R){this.props=h,this.context=_,this.refs=Bt,this.updater=R||ct}Nt.prototype.isReactComponent={},Nt.prototype.setState=function(h,_){if(typeof h!="object"&&typeof h!="function"&&h!=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,h,_,"setState")},Nt.prototype.forceUpdate=function(h){this.updater.enqueueForceUpdate(this,h,"forceUpdate")};function vt(){}vt.prototype=Nt.prototype;function gt(h,_,R){this.props=h,this.context=_,this.refs=Bt,this.updater=R||ct}var qt=gt.prototype=new vt;qt.constructor=gt,rt(qt,Nt.prototype),qt.isPureReactComponent=!0;var Q=Array.isArray;function B(){}var q={H:null,A:null,T:null,S:null},nt=Object.prototype.hasOwnProperty;function Z(h,_,R){var Y=R.ref;return{$$typeof:f,type:h,key:_,ref:Y!==void 0?Y:null,props:R}}function _t(h,_){return Z(h.type,_,h.props)}function P(h){return typeof h=="object"&&h!==null&&h.$$typeof===f}function $(h){var _={"=":"=0",":":"=2"};return"$"+h.replace(/[=:]/g,function(R){return _[R]})}var O=/\/+/g;function st(h,_){return typeof h=="object"&&h!==null&&h.key!=null?$(""+h.key):_.toString(36)}function ht(h){switch(h.status){case"fulfilled":return h.value;case"rejected":throw h.reason;default:switch(typeof h.status=="string"?h.then(B,B):(h.status="pending",h.then(function(_){h.status==="pending"&&(h.status="fulfilled",h.value=_)},function(_){h.status==="pending"&&(h.status="rejected",h.reason=_)})),h.status){case"fulfilled":return h.value;case"rejected":throw h.reason}}throw h}function T(h,_,R,Y,W){var lt=typeof h;(lt==="undefined"||lt==="boolean")&&(h=null);var pt=!1;if(h===null)pt=!0;else switch(lt){case"bigint":case"string":case"number":pt=!0;break;case"object":switch(h.$$typeof){case f:case m:pt=!0;break;case L:return pt=h._init,T(pt(h._payload),_,R,Y,W)}}if(pt)return W=W(h),pt=Y===""?"."+st(h,0):Y,Q(W)?(R="",pt!=null&&(R=pt.replace(O,"$&/")+"/"),T(W,_,R,"",function(Oa){return Oa})):W!=null&&(P(W)&&(W=_t(W,R+(W.key==null||h&&h.key===W.key?"":(""+W.key).replace(O,"$&/")+"/")+pt)),_.push(W)),1;pt=0;var tl=Y===""?".":Y+":";if(Q(h))for(var Rt=0;Rt<h.length;Rt++)Y=h[Rt],lt=tl+st(Y,Rt),pt+=T(Y,_,R,lt,W);else if(Rt=k(h),typeof Rt=="function")for(h=Rt.call(h),Rt=0;!(Y=h.next()).done;)Y=Y.value,lt=tl+st(Y,Rt++),pt+=T(Y,_,R,lt,W);else if(lt==="object"){if(typeof h.then=="function")return T(ht(h),_,R,Y,W);throw _=String(h),Error("Objects are not valid as a React child (found: "+(_==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":_)+"). If you meant to render a collection of children, use an array instead.")}return pt}function U(h,_,R){if(h==null)return h;var Y=[],W=0;return T(h,Y,"","",function(lt){return _.call(R,lt,W++)}),Y}function K(h){if(h._status===-1){var _=h._result;_=_(),_.then(function(R){(h._status===0||h._status===-1)&&(h._status=1,h._result=R)},function(R){(h._status===0||h._status===-1)&&(h._status=2,h._result=R)}),h._status===-1&&(h._status=0,h._result=_)}if(h._status===1)return h._result.default;throw h._result}var Et=typeof reportError=="function"?reportError:function(h){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var _=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h),error:h});if(!window.dispatchEvent(_))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",h);return}console.error(h)},At={map:U,forEach:function(h,_,R){U(h,function(){_.apply(this,arguments)},R)},count:function(h){var _=0;return U(h,function(){_++}),_},toArray:function(h){return U(h,function(_){return _})||[]},only:function(h){if(!P(h))throw Error("React.Children.only expected to receive a single React element child.");return h}};return J.Activity=H,J.Children=At,J.Component=Nt,J.Fragment=v,J.Profiler=N,J.PureComponent=gt,J.StrictMode=o,J.Suspense=b,J.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=q,J.__COMPILER_RUNTIME={__proto__:null,c:function(h){return q.H.useMemoCache(h)}},J.cache=function(h){return function(){return h.apply(null,arguments)}},J.cacheSignal=function(){return null},J.cloneElement=function(h,_,R){if(h==null)throw Error("The argument must be a React element, but you passed "+h+".");var Y=rt({},h.props),W=h.key;if(_!=null)for(lt in _.key!==void 0&&(W=""+_.key),_)!nt.call(_,lt)||lt==="key"||lt==="__self"||lt==="__source"||lt==="ref"&&_.ref===void 0||(Y[lt]=_[lt]);var lt=arguments.length-2;if(lt===1)Y.children=R;else if(1<lt){for(var pt=Array(lt),tl=0;tl<lt;tl++)pt[tl]=arguments[tl+2];Y.children=pt}return Z(h.type,W,Y)},J.createContext=function(h){return h={$$typeof:M,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null},h.Provider=h,h.Consumer={$$typeof:D,_context:h},h},J.createElement=function(h,_,R){var Y,W={},lt=null;if(_!=null)for(Y in _.key!==void 0&&(lt=""+_.key),_)nt.call(_,Y)&&Y!=="key"&&Y!=="__self"&&Y!=="__source"&&(W[Y]=_[Y]);var pt=arguments.length-2;if(pt===1)W.children=R;else if(1<pt){for(var tl=Array(pt),Rt=0;Rt<pt;Rt++)tl[Rt]=arguments[Rt+2];W.children=tl}if(h&&h.defaultProps)for(Y in pt=h.defaultProps,pt)W[Y]===void 0&&(W[Y]=pt[Y]);return Z(h,lt,W)},J.createRef=function(){return{current:null}},J.forwardRef=function(h){return{$$typeof:C,render:h}},J.isValidElement=P,J.lazy=function(h){return{$$typeof:L,_payload:{_status:-1,_result:h},_init:K}},J.memo=function(h,_){return{$$typeof:p,type:h,compare:_===void 0?null:_}},J.startTransition=function(h){var _=q.T,R={};q.T=R;try{var Y=h(),W=q.S;W!==null&&W(R,Y),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"&&Y.then(B,Et)}catch(lt){Et(lt)}finally{_!==null&&R.types!==null&&(_.types=R.types),q.T=_}},J.unstable_useCacheRefresh=function(){return q.H.useCacheRefresh()},J.use=function(h){return q.H.use(h)},J.useActionState=function(h,_,R){return q.H.useActionState(h,_,R)},J.useCallback=function(h,_){return q.H.useCallback(h,_)},J.useContext=function(h){return q.H.useContext(h)},J.useDebugValue=function(){},J.useDeferredValue=function(h,_){return q.H.useDeferredValue(h,_)},J.useEffect=function(h,_){return q.H.useEffect(h,_)},J.useEffectEvent=function(h){return q.H.useEffectEvent(h)},J.useId=function(){return q.H.useId()},J.useImperativeHandle=function(h,_,R){return q.H.useImperativeHandle(h,_,R)},J.useInsertionEffect=function(h,_){return q.H.useInsertionEffect(h,_)},J.useLayoutEffect=function(h,_){return q.H.useLayoutEffect(h,_)},J.useMemo=function(h,_){return q.H.useMemo(h,_)},J.useOptimistic=function(h,_){return q.H.useOptimistic(h,_)},J.useReducer=function(h,_,R){return q.H.useReducer(h,_,R)},J.useRef=function(h){return q.H.useRef(h)},J.useState=function(h){return q.H.useState(h)},J.useSyncExternalStore=function(h,_,R){return q.H.useSyncExternalStore(h,_,R)},J.useTransition=function(){return q.H.useTransition()},J.version="19.2.6",J}var Yr;function Cf(){return Yr||(Yr=1,Sf.exports=Z0()),Sf.exports}var yt=Cf();const Nn=Y0(yt);var bf={exports:{}},jn={},Ef={exports:{}},zf={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var Xr;function V0(){return Xr||(Xr=1,(function(f){function m(T,U){var K=T.length;T.push(U);t:for(;0<K;){var Et=K-1>>>1,At=T[Et];if(0<N(At,U))T[Et]=U,T[K]=At,K=Et;else break t}}function v(T){return T.length===0?null:T[0]}function o(T){if(T.length===0)return null;var U=T[0],K=T.pop();if(K!==U){T[0]=K;t:for(var Et=0,At=T.length,h=At>>>1;Et<h;){var _=2*(Et+1)-1,R=T[_],Y=_+1,W=T[Y];if(0>N(R,K))Y<At&&0>N(W,R)?(T[Et]=W,T[Y]=K,Et=Y):(T[Et]=R,T[_]=K,Et=_);else if(Y<At&&0>N(W,K))T[Et]=W,T[Y]=K,Et=Y;else break t}}return U}function N(T,U){var K=T.sortIndex-U.sortIndex;return K!==0?K:T.id-U.id}if(f.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var D=performance;f.unstable_now=function(){return D.now()}}else{var M=Date,C=M.now();f.unstable_now=function(){return M.now()-C}}var b=[],p=[],L=1,H=null,tt=3,k=!1,ct=!1,rt=!1,Bt=!1,Nt=typeof setTimeout=="function"?setTimeout:null,vt=typeof clearTimeout=="function"?clearTimeout:null,gt=typeof setImmediate<"u"?setImmediate:null;function qt(T){for(var U=v(p);U!==null;){if(U.callback===null)o(p);else if(U.startTime<=T)o(p),U.sortIndex=U.expirationTime,m(b,U);else break;U=v(p)}}function Q(T){if(rt=!1,qt(T),!ct)if(v(b)!==null)ct=!0,B||(B=!0,$());else{var U=v(p);U!==null&&ht(Q,U.startTime-T)}}var B=!1,q=-1,nt=5,Z=-1;function _t(){return Bt?!0:!(f.unstable_now()-Z<nt)}function P(){if(Bt=!1,B){var T=f.unstable_now();Z=T;var U=!0;try{t:{ct=!1,rt&&(rt=!1,vt(q),q=-1),k=!0;var K=tt;try{l:{for(qt(T),H=v(b);H!==null&&!(H.expirationTime>T&&_t());){var Et=H.callback;if(typeof Et=="function"){H.callback=null,tt=H.priorityLevel;var At=Et(H.expirationTime<=T);if(T=f.unstable_now(),typeof At=="function"){H.callback=At,qt(T),U=!0;break l}H===v(b)&&o(b),qt(T)}else o(b);H=v(b)}if(H!==null)U=!0;else{var h=v(p);h!==null&&ht(Q,h.startTime-T),U=!1}}break t}finally{H=null,tt=K,k=!1}U=void 0}}finally{U?$():B=!1}}}var $;if(typeof gt=="function")$=function(){gt(P)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,st=O.port2;O.port1.onmessage=P,$=function(){st.postMessage(null)}}else $=function(){Nt(P,0)};function ht(T,U){q=Nt(function(){T(f.unstable_now())},U)}f.unstable_IdlePriority=5,f.unstable_ImmediatePriority=1,f.unstable_LowPriority=4,f.unstable_NormalPriority=3,f.unstable_Profiling=null,f.unstable_UserBlockingPriority=2,f.unstable_cancelCallback=function(T){T.callback=null},f.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):nt=0<T?Math.floor(1e3/T):5},f.unstable_getCurrentPriorityLevel=function(){return tt},f.unstable_next=function(T){switch(tt){case 1:case 2:case 3:var U=3;break;default:U=tt}var K=tt;tt=U;try{return T()}finally{tt=K}},f.unstable_requestPaint=function(){Bt=!0},f.unstable_runWithPriority=function(T,U){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var K=tt;tt=T;try{return U()}finally{tt=K}},f.unstable_scheduleCallback=function(T,U,K){var Et=f.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?Et+K:Et):K=Et,T){case 1:var At=-1;break;case 2:At=250;break;case 5:At=1073741823;break;case 4:At=1e4;break;default:At=5e3}return At=K+At,T={id:L++,callback:U,priorityLevel:T,startTime:K,expirationTime:At,sortIndex:-1},K>Et?(T.sortIndex=K,m(p,T),v(b)===null&&T===v(p)&&(rt?(vt(q),q=-1):rt=!0,ht(Q,K-Et))):(T.sortIndex=At,m(b,T),ct||k||(ct=!0,B||(B=!0,$()))),T},f.unstable_shouldYield=_t,f.unstable_wrapCallback=function(T){var U=tt;return function(){var K=tt;tt=U;try{return T.apply(this,arguments)}finally{tt=K}}}})(zf)),zf}var Qr;function w0(){return Qr||(Qr=1,Ef.exports=V0()),Ef.exports}var Tf={exports:{}},It={};/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/var Zr;function K0(){if(Zr)return It;Zr=1;var f=Cf();function m(b){var p="https://react.dev/errors/"+b;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var L=2;L<arguments.length;L++)p+="&args[]="+encodeURIComponent(arguments[L])}return"Minified React error #"+b+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function v(){}var o={d:{f:v,r:function(){throw Error(m(522))},D:v,C:v,L:v,m:v,X:v,S:v,M:v},p:0,findDOMNode:null},N=Symbol.for("react.portal");function D(b,p,L){var H=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:N,key:H==null?null:""+H,children:b,containerInfo:p,implementation:L}}var M=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function C(b,p){if(b==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return It.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,It.createPortal=function(b,p){var L=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(m(299));return D(b,p,null,L)},It.flushSync=function(b){var p=M.T,L=o.p;try{if(M.T=null,o.p=2,b)return b()}finally{M.T=p,o.p=L,o.d.f()}},It.preconnect=function(b,p){typeof b=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,o.d.C(b,p))},It.prefetchDNS=function(b){typeof b=="string"&&o.d.D(b)},It.preinit=function(b,p){if(typeof b=="string"&&p&&typeof p.as=="string"){var L=p.as,H=C(L,p.crossOrigin),tt=typeof p.integrity=="string"?p.integrity:void 0,k=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;L==="style"?o.d.S(b,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:H,integrity:tt,fetchPriority:k}):L==="script"&&o.d.X(b,{crossOrigin:H,integrity:tt,fetchPriority:k,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},It.preinitModule=function(b,p){if(typeof b=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var L=C(p.as,p.crossOrigin);o.d.M(b,{crossOrigin:L,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&o.d.M(b)},It.preload=function(b,p){if(typeof b=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var L=p.as,H=C(L,p.crossOrigin);o.d.L(b,L,{crossOrigin:H,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},It.preloadModule=function(b,p){if(typeof b=="string")if(p){var L=C(p.as,p.crossOrigin);o.d.m(b,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:L,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else o.d.m(b)},It.requestFormReset=function(b){o.d.r(b)},It.unstable_batchedUpdates=function(b,p){return b(p)},It.useFormState=function(b,p,L){return M.H.useFormState(b,p,L)},It.useFormStatus=function(){return M.H.useHostTransitionStatus()},It.version="19.2.6",It}var Vr;function J0(){if(Vr)return Tf.exports;Vr=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(m){console.error(m)}}return f(),Tf.exports=K0(),Tf.exports}/**
|
|
34
|
+
* @license React
|
|
35
|
+
* react-dom-client.production.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var wr;function k0(){if(wr)return jn;wr=1;var f=w0(),m=Cf(),v=J0();function o(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 N(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function D(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 M(t){if(t.tag===13){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function C(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 b(t){if(D(t)!==t)throw Error(o(188))}function p(t){var l=t.alternate;if(!l){if(l=D(t),l===null)throw Error(o(188));return l!==t?null:t}for(var e=t,a=l;;){var n=e.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){e=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===e)return b(n),t;if(u===a)return b(n),l;u=u.sibling}throw Error(o(188))}if(e.return!==a.return)e=n,a=u;else{for(var i=!1,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){for(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)throw Error(o(189))}}if(e.alternate!==a)throw Error(o(190))}if(e.tag!==3)throw Error(o(188));return e.stateNode.current===e?t:l}function L(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t;for(t=t.child;t!==null;){if(l=L(t),l!==null)return l;t=t.sibling}return null}var H=Object.assign,tt=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),ct=Symbol.for("react.portal"),rt=Symbol.for("react.fragment"),Bt=Symbol.for("react.strict_mode"),Nt=Symbol.for("react.profiler"),vt=Symbol.for("react.consumer"),gt=Symbol.for("react.context"),qt=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),nt=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),_t=Symbol.for("react.memo_cache_sentinel"),P=Symbol.iterator;function $(t){return t===null||typeof t!="object"?null:(t=P&&t[P]||t["@@iterator"],typeof t=="function"?t:null)}var O=Symbol.for("react.client.reference");function st(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===O?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case rt:return"Fragment";case Nt:return"Profiler";case Bt:return"StrictMode";case Q:return"Suspense";case B:return"SuspenseList";case Z:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case ct:return"Portal";case gt:return t.displayName||"Context";case vt:return(t._context.displayName||"Context")+".Consumer";case qt:var l=t.render;return t=t.displayName,t||(t=l.displayName||l.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case q:return l=t.displayName||null,l!==null?l:st(t.type)||"Memo";case nt:l=t._payload,t=t._init;try{return st(t(l))}catch{}}return null}var ht=Array.isArray,T=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=v.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K={pending:!1,data:null,method:null,action:null},Et=[],At=-1;function h(t){return{current:t}}function _(t){0>At||(t.current=Et[At],Et[At]=null,At--)}function R(t,l){At++,Et[At]=t.current,t.current=l}var Y=h(null),W=h(null),lt=h(null),pt=h(null);function tl(t,l){switch(R(lt,l),R(W,t),R(Y,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=cr(l,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}_(Y),R(Y,t)}function Rt(){_(Y),_(W),_(lt)}function Oa(t){t.memoizedState!==null&&R(pt,t);var l=Y.current,e=cr(l,t.type);l!==e&&(R(W,t),R(Y,e))}function On(t){W.current===t&&(_(Y),_(W)),pt.current===t&&(_(pt),En._currentValue=K)}var Pu,Lf;function je(t){if(Pu===void 0)try{throw Error()}catch(e){var l=e.stack.trim().match(/\n( *(at )?)/);Pu=l&&l[1]||"",Lf=-1<e.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+Pu+t+Lf}var ti=!1;function li(t,l){if(!t||ti)return"";ti=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(l){var j=function(){throw Error()};if(Object.defineProperty(j.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(j,[])}catch(z){var E=z}Reflect.construct(t,[],j)}else{try{j.call()}catch(z){E=z}t.call(j.prototype)}}else{try{throw Error()}catch(z){E=z}(j=t())&&typeof j.catch=="function"&&j.catch(function(){})}}catch(z){if(z&&E&&typeof z.stack=="string")return[z.stack,E.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),i=u[0],c=u[1];if(i&&c){var d=i.split(`
|
|
44
|
+
`),S=c.split(`
|
|
45
|
+
`);for(n=a=0;a<d.length&&!d[a].includes("DetermineComponentFrameRoot");)a++;for(;n<S.length&&!S[n].includes("DetermineComponentFrameRoot");)n++;if(a===d.length||n===S.length)for(a=d.length-1,n=S.length-1;1<=a&&0<=n&&d[a]!==S[n];)n--;for(;1<=a&&0<=n;a--,n--)if(d[a]!==S[n]){if(a!==1||n!==1)do if(a--,n--,0>n||d[a]!==S[n]){var x=`
|
|
46
|
+
`+d[a].replace(" at new "," at ");return t.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",t.displayName)),x}while(1<=a&&0<=n);break}}}finally{ti=!1,Error.prepareStackTrace=e}return(e=t?t.displayName||t.name:"")?je(e):""}function gh(t,l){switch(t.tag){case 26:case 27:case 5:return je(t.type);case 16:return je("Lazy");case 13:return t.child!==l&&l!==null?je("Suspense Fallback"):je("Suspense");case 19:return je("SuspenseList");case 0:case 15:return li(t.type,!1);case 11:return li(t.type.render,!1);case 1:return li(t.type,!0);case 31:return je("Activity");default:return""}}function Hf(t){try{var l="",e=null;do l+=gh(t,e),e=t,t=t.return;while(t);return l}catch(a){return`
|
|
47
|
+
Error generating stack: `+a.message+`
|
|
48
|
+
`+a.stack}}var ei=Object.prototype.hasOwnProperty,ai=f.unstable_scheduleCallback,ni=f.unstable_cancelCallback,ph=f.unstable_shouldYield,Sh=f.unstable_requestPaint,sl=f.unstable_now,bh=f.unstable_getCurrentPriorityLevel,Bf=f.unstable_ImmediatePriority,qf=f.unstable_UserBlockingPriority,Cn=f.unstable_NormalPriority,Eh=f.unstable_LowPriority,Gf=f.unstable_IdlePriority,zh=f.log,Th=f.unstable_setDisableYieldValue,Ca=null,ol=null;function le(t){if(typeof zh=="function"&&Th(t),ol&&typeof ol.setStrictMode=="function")try{ol.setStrictMode(Ca,t)}catch{}}var dl=Math.clz32?Math.clz32:jh,xh=Math.log,Ah=Math.LN2;function jh(t){return t>>>=0,t===0?32:31-(xh(t)/Ah|0)|0}var Un=256,Rn=262144,Ln=4194304;function _e(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 Hn(t,l,e){var a=t.pendingLanes;if(a===0)return 0;var n=0,u=t.suspendedLanes,i=t.pingedLanes;t=t.warmLanes;var c=a&134217727;return c!==0?(a=c&~u,a!==0?n=_e(a):(i&=c,i!==0?n=_e(i):e||(e=c&~t,e!==0&&(n=_e(e))))):(c=a&~u,c!==0?n=_e(c):i!==0?n=_e(i):e||(e=a&~t,e!==0&&(n=_e(e)))),n===0?0:l!==0&&l!==n&&(l&u)===0&&(u=n&-n,e=l&-l,u>=e||u===32&&(e&4194048)!==0)?l:n}function Ua(t,l){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&l)===0}function _h(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 Yf(){var t=Ln;return Ln<<=1,(Ln&62914560)===0&&(Ln=4194304),t}function ui(t){for(var l=[],e=0;31>e;e++)l.push(t);return l}function Ra(t,l){t.pendingLanes|=l,l!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Nh(t,l,e,a,n,u){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,d=t.expirationTimes,S=t.hiddenUpdates;for(e=i&~e;0<e;){var x=31-dl(e),j=1<<x;c[x]=0,d[x]=-1;var E=S[x];if(E!==null)for(S[x]=null,x=0;x<E.length;x++){var z=E[x];z!==null&&(z.lane&=-536870913)}e&=~j}a!==0&&Xf(t,a,0),u!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=u&~(i&~l))}function Xf(t,l,e){t.pendingLanes|=l,t.suspendedLanes&=~l;var a=31-dl(l);t.entangledLanes|=l,t.entanglements[a]=t.entanglements[a]|1073741824|e&261930}function Qf(t,l){var e=t.entangledLanes|=l;for(t=t.entanglements;e;){var a=31-dl(e),n=1<<a;n&l|t[a]&l&&(t[a]|=l),e&=~n}}function Zf(t,l){var e=l&-l;return e=(e&42)!==0?1:ii(e),(e&(t.suspendedLanes|l))!==0?0:e}function ii(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 ci(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Vf(){var t=U.p;return t!==0?t:(t=window.event,t===void 0?32:Dr(t.type))}function wf(t,l){var e=U.p;try{return U.p=t,l()}finally{U.p=e}}var ee=Math.random().toString(36).slice(2),Jt="__reactFiber$"+ee,el="__reactProps$"+ee,Ke="__reactContainer$"+ee,fi="__reactEvents$"+ee,Mh="__reactListeners$"+ee,Dh="__reactHandles$"+ee,Kf="__reactResources$"+ee,La="__reactMarker$"+ee;function si(t){delete t[Jt],delete t[el],delete t[fi],delete t[Mh],delete t[Dh]}function Je(t){var l=t[Jt];if(l)return l;for(var e=t.parentNode;e;){if(l=e[Ke]||e[Jt]){if(e=l.alternate,l.child!==null||e!==null&&e.child!==null)for(t=mr(t);t!==null;){if(e=t[Jt])return e;t=mr(t)}return l}t=e,e=t.parentNode}return null}function ke(t){if(t=t[Jt]||t[Ke]){var l=t.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return t}return null}function Ha(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t.stateNode;throw Error(o(33))}function $e(t){var l=t[Kf];return l||(l=t[Kf]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function wt(t){t[La]=!0}var Jf=new Set,kf={};function Ne(t,l){We(t,l),We(t+"Capture",l)}function We(t,l){for(kf[t]=l,t=0;t<l.length;t++)Jf.add(l[t])}var Oh=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]*$"),$f={},Wf={};function Ch(t){return ei.call(Wf,t)?!0:ei.call($f,t)?!1:Oh.test(t)?Wf[t]=!0:($f[t]=!0,!1)}function Bn(t,l,e){if(Ch(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 qn(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 Bl(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 Sl(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ff(t){var l=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Uh(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 n=a.get,u=a.set;return Object.defineProperty(t,l,{configurable:!0,get:function(){return n.call(this)},set:function(i){e=""+i,u.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 oi(t){if(!t._valueTracker){var l=Ff(t)?"checked":"value";t._valueTracker=Uh(t,l,""+t[l])}}function If(t){if(!t)return!1;var l=t._valueTracker;if(!l)return!0;var e=l.getValue(),a="";return t&&(a=Ff(t)?t.checked?"true":"false":t.value),t=a,t!==e?(l.setValue(t),!0):!1}function Gn(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 Rh=/[\n"\\]/g;function bl(t){return t.replace(Rh,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function di(t,l,e,a,n,u,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=""+Sl(l)):t.value!==""+Sl(l)&&(t.value=""+Sl(l)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),l!=null?ri(t,i,Sl(l)):e!=null?ri(t,i,Sl(e)):a!=null&&t.removeAttribute("value"),n==null&&u!=null&&(t.defaultChecked=!!u),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.name=""+Sl(c):t.removeAttribute("name")}function Pf(t,l,e,a,n,u,i,c){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),l!=null||e!=null){if(!(u!=="submit"&&u!=="reset"||l!=null)){oi(t);return}e=e!=null?""+Sl(e):"",l=l!=null?""+Sl(l):e,c||l===t.value||(t.value=l),t.defaultValue=l}a=a??n,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),oi(t)}function ri(t,l,e){l==="number"&&Gn(t.ownerDocument)===t||t.defaultValue===""+e||(t.defaultValue=""+e)}function Fe(t,l,e,a){if(t=t.options,l){l={};for(var n=0;n<e.length;n++)l["$"+e[n]]=!0;for(e=0;e<t.length;e++)n=l.hasOwnProperty("$"+t[e].value),t[e].selected!==n&&(t[e].selected=n),n&&a&&(t[e].defaultSelected=!0)}else{for(e=""+Sl(e),l=null,n=0;n<t.length;n++){if(t[n].value===e){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}l!==null||t[n].disabled||(l=t[n])}l!==null&&(l.selected=!0)}}function ts(t,l,e){if(l!=null&&(l=""+Sl(l),l!==t.value&&(t.value=l),e==null)){t.defaultValue!==l&&(t.defaultValue=l);return}t.defaultValue=e!=null?""+Sl(e):""}function ls(t,l,e,a){if(l==null){if(a!=null){if(e!=null)throw Error(o(92));if(ht(a)){if(1<a.length)throw Error(o(93));a=a[0]}e=a}e==null&&(e=""),l=e}e=Sl(l),t.defaultValue=e,a=t.textContent,a===e&&a!==""&&a!==null&&(t.value=a),oi(t)}function Ie(t,l){if(l){var e=t.firstChild;if(e&&e===t.lastChild&&e.nodeType===3){e.nodeValue=l;return}}t.textContent=l}var Lh=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 es(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||Lh.has(l)?l==="float"?t.cssFloat=e:t[l]=(""+e).trim():t[l]=e+"px"}function as(t,l,e){if(l!=null&&typeof l!="object")throw Error(o(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 n in l)a=l[n],l.hasOwnProperty(n)&&e[n]!==a&&es(t,n,a)}else for(var u in l)l.hasOwnProperty(u)&&es(t,u,l[u])}function hi(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 Hh=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"]]),Bh=/^[\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 Yn(t){return Bh.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function ql(){}var mi=null;function yi(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Pe=null,ta=null;function ns(t){var l=ke(t);if(l&&(t=l.stateNode)){var e=t[el]||null;t:switch(t=l.stateNode,l.type){case"input":if(di(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="'+bl(""+l)+'"][type="radio"]'),l=0;l<e.length;l++){var a=e[l];if(a!==t&&a.form===t.form){var n=a[el]||null;if(!n)throw Error(o(90));di(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(l=0;l<e.length;l++)a=e[l],a.form===t.form&&If(a)}break t;case"textarea":ts(t,e.value,e.defaultValue);break t;case"select":l=e.value,l!=null&&Fe(t,!!e.multiple,l,!1)}}}var vi=!1;function us(t,l,e){if(vi)return t(l,e);vi=!0;try{var a=t(l);return a}finally{if(vi=!1,(Pe!==null||ta!==null)&&(_u(),Pe&&(l=Pe,t=ta,ta=Pe=null,ns(l),t)))for(l=0;l<t.length;l++)ns(t[l])}}function Ba(t,l){var e=t.stateNode;if(e===null)return null;var a=e[el]||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(o(231,l,typeof e));return e}var Gl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gi=!1;if(Gl)try{var qa={};Object.defineProperty(qa,"passive",{get:function(){gi=!0}}),window.addEventListener("test",qa,qa),window.removeEventListener("test",qa,qa)}catch{gi=!1}var ae=null,pi=null,Xn=null;function is(){if(Xn)return Xn;var t,l=pi,e=l.length,a,n="value"in ae?ae.value:ae.textContent,u=n.length;for(t=0;t<e&&l[t]===n[t];t++);var i=e-t;for(a=1;a<=i&&l[e-a]===n[u-a];a++);return Xn=n.slice(t,1<a?1-a:void 0)}function Qn(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 Zn(){return!0}function cs(){return!1}function al(t){function l(e,a,n,u,i){this._reactName=e,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=i,this.currentTarget=null;for(var c in t)t.hasOwnProperty(c)&&(e=t[c],this[c]=e?e(u):u[c]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Zn:cs,this.isPropagationStopped=cs,this}return H(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=Zn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Zn)},persist:function(){},isPersistent:Zn}),l}var Me={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vn=al(Me),Ga=H({},Me,{view:0,detail:0}),qh=al(Ga),Si,bi,Ya,wn=H({},Ga,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zi,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!==Ya&&(Ya&&t.type==="mousemove"?(Si=t.screenX-Ya.screenX,bi=t.screenY-Ya.screenY):bi=Si=0,Ya=t),Si)},movementY:function(t){return"movementY"in t?t.movementY:bi}}),fs=al(wn),Gh=H({},wn,{dataTransfer:0}),Yh=al(Gh),Xh=H({},Ga,{relatedTarget:0}),Ei=al(Xh),Qh=H({},Me,{animationName:0,elapsedTime:0,pseudoElement:0}),Zh=al(Qh),Vh=H({},Me,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),wh=al(Vh),Kh=H({},Me,{data:0}),ss=al(Kh),Jh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kh={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"},$h={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Wh(t){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(t):(t=$h[t])?!!l[t]:!1}function zi(){return Wh}var Fh=H({},Ga,{key:function(t){if(t.key){var l=Jh[t.key]||t.key;if(l!=="Unidentified")return l}return t.type==="keypress"?(t=Qn(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?kh[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zi,charCode:function(t){return t.type==="keypress"?Qn(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Qn(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Ih=al(Fh),Ph=H({},wn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),os=al(Ph),tm=H({},Ga,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zi}),lm=al(tm),em=H({},Me,{propertyName:0,elapsedTime:0,pseudoElement:0}),am=al(em),nm=H({},wn,{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}),um=al(nm),im=H({},Me,{newState:0,oldState:0}),cm=al(im),fm=[9,13,27,32],Ti=Gl&&"CompositionEvent"in window,Xa=null;Gl&&"documentMode"in document&&(Xa=document.documentMode);var sm=Gl&&"TextEvent"in window&&!Xa,ds=Gl&&(!Ti||Xa&&8<Xa&&11>=Xa),rs=" ",hs=!1;function ms(t,l){switch(t){case"keyup":return fm.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ys(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var la=!1;function om(t,l){switch(t){case"compositionend":return ys(l);case"keypress":return l.which!==32?null:(hs=!0,rs);case"textInput":return t=l.data,t===rs&&hs?null:t;default:return null}}function dm(t,l){if(la)return t==="compositionend"||!Ti&&ms(t,l)?(t=is(),Xn=pi=ae=null,la=!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 ds&&l.locale!=="ko"?null:l.data;default:return null}}var rm={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 vs(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l==="input"?!!rm[t.type]:l==="textarea"}function gs(t,l,e,a){Pe?ta?ta.push(a):ta=[a]:Pe=a,l=Ru(l,"onChange"),0<l.length&&(e=new Vn("onChange","change",null,e,a),t.push({event:e,listeners:l}))}var Qa=null,Za=null;function hm(t){tr(t,0)}function Kn(t){var l=Ha(t);if(If(l))return t}function ps(t,l){if(t==="change")return l}var Ss=!1;if(Gl){var xi;if(Gl){var Ai="oninput"in document;if(!Ai){var bs=document.createElement("div");bs.setAttribute("oninput","return;"),Ai=typeof bs.oninput=="function"}xi=Ai}else xi=!1;Ss=xi&&(!document.documentMode||9<document.documentMode)}function Es(){Qa&&(Qa.detachEvent("onpropertychange",zs),Za=Qa=null)}function zs(t){if(t.propertyName==="value"&&Kn(Za)){var l=[];gs(l,Za,t,yi(t)),us(hm,l)}}function mm(t,l,e){t==="focusin"?(Es(),Qa=l,Za=e,Qa.attachEvent("onpropertychange",zs)):t==="focusout"&&Es()}function ym(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Kn(Za)}function vm(t,l){if(t==="click")return Kn(l)}function gm(t,l){if(t==="input"||t==="change")return Kn(l)}function pm(t,l){return t===l&&(t!==0||1/t===1/l)||t!==t&&l!==l}var rl=typeof Object.is=="function"?Object.is:pm;function Va(t,l){if(rl(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 n=e[a];if(!ei.call(l,n)||!rl(t[n],l[n]))return!1}return!0}function Ts(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function xs(t,l){var e=Ts(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=Ts(e)}}function As(t,l){return t&&l?t===l?!0:t&&t.nodeType===3?!1:l&&l.nodeType===3?As(t,l.parentNode):"contains"in t?t.contains(l):t.compareDocumentPosition?!!(t.compareDocumentPosition(l)&16):!1:!1}function js(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var l=Gn(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=Gn(t.document)}return l}function ji(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 Sm=Gl&&"documentMode"in document&&11>=document.documentMode,ea=null,_i=null,wa=null,Ni=!1;function _s(t,l,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Ni||ea==null||ea!==Gn(a)||(a=ea,"selectionStart"in a&&ji(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}),wa&&Va(wa,a)||(wa=a,a=Ru(_i,"onSelect"),0<a.length&&(l=new Vn("onSelect","select",null,l,e),t.push({event:l,listeners:a}),l.target=ea)))}function De(t,l){var e={};return e[t.toLowerCase()]=l.toLowerCase(),e["Webkit"+t]="webkit"+l,e["Moz"+t]="moz"+l,e}var aa={animationend:De("Animation","AnimationEnd"),animationiteration:De("Animation","AnimationIteration"),animationstart:De("Animation","AnimationStart"),transitionrun:De("Transition","TransitionRun"),transitionstart:De("Transition","TransitionStart"),transitioncancel:De("Transition","TransitionCancel"),transitionend:De("Transition","TransitionEnd")},Mi={},Ns={};Gl&&(Ns=document.createElement("div").style,"AnimationEvent"in window||(delete aa.animationend.animation,delete aa.animationiteration.animation,delete aa.animationstart.animation),"TransitionEvent"in window||delete aa.transitionend.transition);function Oe(t){if(Mi[t])return Mi[t];if(!aa[t])return t;var l=aa[t],e;for(e in l)if(l.hasOwnProperty(e)&&e in Ns)return Mi[t]=l[e];return t}var Ms=Oe("animationend"),Ds=Oe("animationiteration"),Os=Oe("animationstart"),bm=Oe("transitionrun"),Em=Oe("transitionstart"),zm=Oe("transitioncancel"),Cs=Oe("transitionend"),Us=new Map,Di="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(" ");Di.push("scrollEnd");function Ml(t,l){Us.set(t,l),Ne(l,[t])}var Jn=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)},El=[],na=0,Oi=0;function kn(){for(var t=na,l=Oi=na=0;l<t;){var e=El[l];El[l++]=null;var a=El[l];El[l++]=null;var n=El[l];El[l++]=null;var u=El[l];if(El[l++]=null,a!==null&&n!==null){var i=a.pending;i===null?n.next=n:(n.next=i.next,i.next=n),a.pending=n}u!==0&&Rs(e,n,u)}}function $n(t,l,e,a){El[na++]=t,El[na++]=l,El[na++]=e,El[na++]=a,Oi|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function Ci(t,l,e,a){return $n(t,l,e,a),Wn(t)}function Ce(t,l){return $n(t,null,null,l),Wn(t)}function Rs(t,l,e){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e);for(var n=!1,u=t.return;u!==null;)u.childLanes|=e,a=u.alternate,a!==null&&(a.childLanes|=e),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(n=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,n&&l!==null&&(n=31-dl(e),t=u.hiddenUpdates,a=t[n],a===null?t[n]=[l]:a.push(l),l.lane=e|536870912),u):null}function Wn(t){if(50<mn)throw mn=0,Xc=null,Error(o(185));for(var l=t.return;l!==null;)t=l,l=t.return;return t.tag===3?t.stateNode:null}var ua={};function Tm(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 hl(t,l,e,a){return new Tm(t,l,e,a)}function Ui(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Yl(t,l){var e=t.alternate;return e===null?(e=hl(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 Ls(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 Fn(t,l,e,a,n,u){var i=0;if(a=t,typeof t=="function")Ui(t)&&(i=1);else if(typeof t=="string")i=N0(t,e,Y.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Z:return t=hl(31,e,l,n),t.elementType=Z,t.lanes=u,t;case rt:return Ue(e.children,n,u,l);case Bt:i=8,n|=24;break;case Nt:return t=hl(12,e,l,n|2),t.elementType=Nt,t.lanes=u,t;case Q:return t=hl(13,e,l,n),t.elementType=Q,t.lanes=u,t;case B:return t=hl(19,e,l,n),t.elementType=B,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case gt:i=10;break t;case vt:i=9;break t;case qt:i=11;break t;case q:i=14;break t;case nt:i=16,a=null;break t}i=29,e=Error(o(130,t===null?"null":typeof t,"")),a=null}return l=hl(i,e,l,n),l.elementType=t,l.type=a,l.lanes=u,l}function Ue(t,l,e,a){return t=hl(7,t,a,l),t.lanes=e,t}function Ri(t,l,e){return t=hl(6,t,null,l),t.lanes=e,t}function Hs(t){var l=hl(18,null,null,0);return l.stateNode=t,l}function Li(t,l,e){return l=hl(4,t.children!==null?t.children:[],t.key,l),l.lanes=e,l.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},l}var Bs=new WeakMap;function zl(t,l){if(typeof t=="object"&&t!==null){var e=Bs.get(t);return e!==void 0?e:(l={value:t,source:l,stack:Hf(l)},Bs.set(t,l),l)}return{value:t,source:l,stack:Hf(l)}}var ia=[],ca=0,In=null,Ka=0,Tl=[],xl=0,ne=null,Ul=1,Rl="";function Xl(t,l){ia[ca++]=Ka,ia[ca++]=In,In=t,Ka=l}function qs(t,l,e){Tl[xl++]=Ul,Tl[xl++]=Rl,Tl[xl++]=ne,ne=t;var a=Ul;t=Rl;var n=32-dl(a)-1;a&=~(1<<n),e+=1;var u=32-dl(l)+n;if(30<u){var i=n-n%5;u=(a&(1<<i)-1).toString(32),a>>=i,n-=i,Ul=1<<32-dl(l)+n|e<<n|a,Rl=u+t}else Ul=1<<u|e<<n|a,Rl=t}function Hi(t){t.return!==null&&(Xl(t,1),qs(t,1,0))}function Bi(t){for(;t===In;)In=ia[--ca],ia[ca]=null,Ka=ia[--ca],ia[ca]=null;for(;t===ne;)ne=Tl[--xl],Tl[xl]=null,Rl=Tl[--xl],Tl[xl]=null,Ul=Tl[--xl],Tl[xl]=null}function Gs(t,l){Tl[xl++]=Ul,Tl[xl++]=Rl,Tl[xl++]=ne,Ul=l.id,Rl=l.overflow,ne=t}var kt=null,Mt=null,ft=!1,ue=null,Al=!1,qi=Error(o(519));function ie(t){var l=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ja(zl(l,t)),qi}function Ys(t){var l=t.stateNode,e=t.type,a=t.memoizedProps;switch(l[Jt]=t,l[el]=a,e){case"dialog":at("cancel",l),at("close",l);break;case"iframe":case"object":case"embed":at("load",l);break;case"video":case"audio":for(e=0;e<vn.length;e++)at(vn[e],l);break;case"source":at("error",l);break;case"img":case"image":case"link":at("error",l),at("load",l);break;case"details":at("toggle",l);break;case"input":at("invalid",l),Pf(l,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":at("invalid",l);break;case"textarea":at("invalid",l),ls(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||nr(l.textContent,e)?(a.popover!=null&&(at("beforetoggle",l),at("toggle",l)),a.onScroll!=null&&at("scroll",l),a.onScrollEnd!=null&&at("scrollend",l),a.onClick!=null&&(l.onclick=ql),l=!0):l=!1,l||ie(t,!0)}function Xs(t){for(kt=t.return;kt;)switch(kt.tag){case 5:case 31:case 13:Al=!1;return;case 27:case 3:Al=!0;return;default:kt=kt.return}}function fa(t){if(t!==kt)return!1;if(!ft)return Xs(t),ft=!0,!1;var l=t.tag,e;if((e=l!==3&&l!==27)&&((e=l===5)&&(e=t.type,e=!(e!=="form"&&e!=="button")||ef(t.type,t.memoizedProps)),e=!e),e&&Mt&&ie(t),Xs(t),l===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Mt=hr(t)}else if(l===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Mt=hr(t)}else l===27?(l=Mt,be(t.type)?(t=ff,ff=null,Mt=t):Mt=l):Mt=kt?_l(t.stateNode.nextSibling):null;return!0}function Re(){Mt=kt=null,ft=!1}function Gi(){var t=ue;return t!==null&&(cl===null?cl=t:cl.push.apply(cl,t),ue=null),t}function Ja(t){ue===null?ue=[t]:ue.push(t)}var Yi=h(null),Le=null,Ql=null;function ce(t,l,e){R(Yi,l._currentValue),l._currentValue=e}function Zl(t){t._currentValue=Yi.current,_(Yi)}function Xi(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 Qi(t,l,e,a){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var u=n.dependencies;if(u!==null){var i=n.child;u=u.firstContext;t:for(;u!==null;){var c=u;u=n;for(var d=0;d<l.length;d++)if(c.context===l[d]){u.lanes|=e,c=u.alternate,c!==null&&(c.lanes|=e),Xi(u.return,e,t),a||(i=null);break t}u=c.next}}else if(n.tag===18){if(i=n.return,i===null)throw Error(o(341));i.lanes|=e,u=i.alternate,u!==null&&(u.lanes|=e),Xi(i,e,t),i=null}else i=n.child;if(i!==null)i.return=n;else for(i=n;i!==null;){if(i===t){i=null;break}if(n=i.sibling,n!==null){n.return=i.return,i=n;break}i=i.return}n=i}}function sa(t,l,e,a){t=null;for(var n=l,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var i=n.alternate;if(i===null)throw Error(o(387));if(i=i.memoizedProps,i!==null){var c=n.type;rl(n.pendingProps.value,i.value)||(t!==null?t.push(c):t=[c])}}else if(n===pt.current){if(i=n.alternate,i===null)throw Error(o(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(En):t=[En])}n=n.return}t!==null&&Qi(l,t,e,a),l.flags|=262144}function Pn(t){for(t=t.firstContext;t!==null;){if(!rl(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function He(t){Le=t,Ql=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function $t(t){return Qs(Le,t)}function tu(t,l){return Le===null&&He(t),Qs(t,l)}function Qs(t,l){var e=l._currentValue;if(l={context:l,memoizedValue:e,next:null},Ql===null){if(t===null)throw Error(o(308));Ql=l,t.dependencies={lanes:0,firstContext:l},t.flags|=524288}else Ql=Ql.next=l;return e}var xm=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()})}},Am=f.unstable_scheduleCallback,jm=f.unstable_NormalPriority,Gt={$$typeof:gt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Zi(){return{controller:new xm,data:new Map,refCount:0}}function ka(t){t.refCount--,t.refCount===0&&Am(jm,function(){t.controller.abort()})}var $a=null,Vi=0,oa=0,da=null;function _m(t,l){if($a===null){var e=$a=[];Vi=0,oa=Jc(),da={status:"pending",value:void 0,then:function(a){e.push(a)}}}return Vi++,l.then(Zs,Zs),l}function Zs(){if(--Vi===0&&$a!==null){da!==null&&(da.status="fulfilled");var t=$a;$a=null,oa=0,da=null;for(var l=0;l<t.length;l++)(0,t[l])()}}function Nm(t,l){var e=[],a={status:"pending",value:null,reason:null,then:function(n){e.push(n)}};return t.then(function(){a.status="fulfilled",a.value=l;for(var n=0;n<e.length;n++)(0,e[n])(l)},function(n){for(a.status="rejected",a.reason=n,n=0;n<e.length;n++)(0,e[n])(void 0)}),a}var Vs=T.S;T.S=function(t,l){Nd=sl(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&_m(t,l),Vs!==null&&Vs(t,l)};var Be=h(null);function wi(){var t=Be.current;return t!==null?t:jt.pooledCache}function lu(t,l){l===null?R(Be,Be.current):R(Be,l.pool)}function ws(){var t=wi();return t===null?null:{parent:Gt._currentValue,pool:t}}var ra=Error(o(460)),Ki=Error(o(474)),eu=Error(o(542)),au={then:function(){}};function Ks(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Js(t,l,e){switch(e=t[e],e===void 0?t.push(l):e!==l&&(l.then(ql,ql),l=e),l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,$s(t),t;default:if(typeof l.status=="string")l.then(ql,ql);else{if(t=jt,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=l,t.status="pending",t.then(function(a){if(l.status==="pending"){var n=l;n.status="fulfilled",n.value=a}},function(a){if(l.status==="pending"){var n=l;n.status="rejected",n.reason=a}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,$s(t),t}throw Ge=l,ra}}function qe(t){try{var l=t._init;return l(t._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Ge=e,ra):e}}var Ge=null;function ks(){if(Ge===null)throw Error(o(459));var t=Ge;return Ge=null,t}function $s(t){if(t===ra||t===eu)throw Error(o(483))}var ha=null,Wa=0;function nu(t){var l=Wa;return Wa+=1,ha===null&&(ha=[]),Js(ha,t,l)}function Fa(t,l){l=l.props.ref,t.ref=l!==void 0?l:null}function uu(t,l){throw l.$$typeof===tt?Error(o(525)):(t=Object.prototype.toString.call(l),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":t)))}function Ws(t){function l(y,r){if(t){var g=y.deletions;g===null?(y.deletions=[r],y.flags|=16):g.push(r)}}function e(y,r){if(!t)return null;for(;r!==null;)l(y,r),r=r.sibling;return null}function a(y){for(var r=new Map;y!==null;)y.key!==null?r.set(y.key,y):r.set(y.index,y),y=y.sibling;return r}function n(y,r){return y=Yl(y,r),y.index=0,y.sibling=null,y}function u(y,r,g){return y.index=g,t?(g=y.alternate,g!==null?(g=g.index,g<r?(y.flags|=67108866,r):g):(y.flags|=67108866,r)):(y.flags|=1048576,r)}function i(y){return t&&y.alternate===null&&(y.flags|=67108866),y}function c(y,r,g,A){return r===null||r.tag!==6?(r=Ri(g,y.mode,A),r.return=y,r):(r=n(r,g),r.return=y,r)}function d(y,r,g,A){var V=g.type;return V===rt?x(y,r,g.props.children,A,g.key):r!==null&&(r.elementType===V||typeof V=="object"&&V!==null&&V.$$typeof===nt&&qe(V)===r.type)?(r=n(r,g.props),Fa(r,g),r.return=y,r):(r=Fn(g.type,g.key,g.props,null,y.mode,A),Fa(r,g),r.return=y,r)}function S(y,r,g,A){return r===null||r.tag!==4||r.stateNode.containerInfo!==g.containerInfo||r.stateNode.implementation!==g.implementation?(r=Li(g,y.mode,A),r.return=y,r):(r=n(r,g.children||[]),r.return=y,r)}function x(y,r,g,A,V){return r===null||r.tag!==7?(r=Ue(g,y.mode,A,V),r.return=y,r):(r=n(r,g),r.return=y,r)}function j(y,r,g){if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return r=Ri(""+r,y.mode,g),r.return=y,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case k:return g=Fn(r.type,r.key,r.props,null,y.mode,g),Fa(g,r),g.return=y,g;case ct:return r=Li(r,y.mode,g),r.return=y,r;case nt:return r=qe(r),j(y,r,g)}if(ht(r)||$(r))return r=Ue(r,y.mode,g,null),r.return=y,r;if(typeof r.then=="function")return j(y,nu(r),g);if(r.$$typeof===gt)return j(y,tu(y,r),g);uu(y,r)}return null}function E(y,r,g,A){var V=r!==null?r.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return V!==null?null:c(y,r,""+g,A);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case k:return g.key===V?d(y,r,g,A):null;case ct:return g.key===V?S(y,r,g,A):null;case nt:return g=qe(g),E(y,r,g,A)}if(ht(g)||$(g))return V!==null?null:x(y,r,g,A,null);if(typeof g.then=="function")return E(y,r,nu(g),A);if(g.$$typeof===gt)return E(y,r,tu(y,g),A);uu(y,g)}return null}function z(y,r,g,A,V){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return y=y.get(g)||null,c(r,y,""+A,V);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case k:return y=y.get(A.key===null?g:A.key)||null,d(r,y,A,V);case ct:return y=y.get(A.key===null?g:A.key)||null,S(r,y,A,V);case nt:return A=qe(A),z(y,r,g,A,V)}if(ht(A)||$(A))return y=y.get(g)||null,x(r,y,A,V,null);if(typeof A.then=="function")return z(y,r,g,nu(A),V);if(A.$$typeof===gt)return z(y,r,g,tu(r,A),V);uu(r,A)}return null}function G(y,r,g,A){for(var V=null,ot=null,X=r,I=r=0,it=null;X!==null&&I<g.length;I++){X.index>I?(it=X,X=null):it=X.sibling;var dt=E(y,X,g[I],A);if(dt===null){X===null&&(X=it);break}t&&X&&dt.alternate===null&&l(y,X),r=u(dt,r,I),ot===null?V=dt:ot.sibling=dt,ot=dt,X=it}if(I===g.length)return e(y,X),ft&&Xl(y,I),V;if(X===null){for(;I<g.length;I++)X=j(y,g[I],A),X!==null&&(r=u(X,r,I),ot===null?V=X:ot.sibling=X,ot=X);return ft&&Xl(y,I),V}for(X=a(X);I<g.length;I++)it=z(X,y,I,g[I],A),it!==null&&(t&&it.alternate!==null&&X.delete(it.key===null?I:it.key),r=u(it,r,I),ot===null?V=it:ot.sibling=it,ot=it);return t&&X.forEach(function(Ae){return l(y,Ae)}),ft&&Xl(y,I),V}function w(y,r,g,A){if(g==null)throw Error(o(151));for(var V=null,ot=null,X=r,I=r=0,it=null,dt=g.next();X!==null&&!dt.done;I++,dt=g.next()){X.index>I?(it=X,X=null):it=X.sibling;var Ae=E(y,X,dt.value,A);if(Ae===null){X===null&&(X=it);break}t&&X&&Ae.alternate===null&&l(y,X),r=u(Ae,r,I),ot===null?V=Ae:ot.sibling=Ae,ot=Ae,X=it}if(dt.done)return e(y,X),ft&&Xl(y,I),V;if(X===null){for(;!dt.done;I++,dt=g.next())dt=j(y,dt.value,A),dt!==null&&(r=u(dt,r,I),ot===null?V=dt:ot.sibling=dt,ot=dt);return ft&&Xl(y,I),V}for(X=a(X);!dt.done;I++,dt=g.next())dt=z(X,y,I,dt.value,A),dt!==null&&(t&&dt.alternate!==null&&X.delete(dt.key===null?I:dt.key),r=u(dt,r,I),ot===null?V=dt:ot.sibling=dt,ot=dt);return t&&X.forEach(function(G0){return l(y,G0)}),ft&&Xl(y,I),V}function xt(y,r,g,A){if(typeof g=="object"&&g!==null&&g.type===rt&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case k:t:{for(var V=g.key;r!==null;){if(r.key===V){if(V=g.type,V===rt){if(r.tag===7){e(y,r.sibling),A=n(r,g.props.children),A.return=y,y=A;break t}}else if(r.elementType===V||typeof V=="object"&&V!==null&&V.$$typeof===nt&&qe(V)===r.type){e(y,r.sibling),A=n(r,g.props),Fa(A,g),A.return=y,y=A;break t}e(y,r);break}else l(y,r);r=r.sibling}g.type===rt?(A=Ue(g.props.children,y.mode,A,g.key),A.return=y,y=A):(A=Fn(g.type,g.key,g.props,null,y.mode,A),Fa(A,g),A.return=y,y=A)}return i(y);case ct:t:{for(V=g.key;r!==null;){if(r.key===V)if(r.tag===4&&r.stateNode.containerInfo===g.containerInfo&&r.stateNode.implementation===g.implementation){e(y,r.sibling),A=n(r,g.children||[]),A.return=y,y=A;break t}else{e(y,r);break}else l(y,r);r=r.sibling}A=Li(g,y.mode,A),A.return=y,y=A}return i(y);case nt:return g=qe(g),xt(y,r,g,A)}if(ht(g))return G(y,r,g,A);if($(g)){if(V=$(g),typeof V!="function")throw Error(o(150));return g=V.call(g),w(y,r,g,A)}if(typeof g.then=="function")return xt(y,r,nu(g),A);if(g.$$typeof===gt)return xt(y,r,tu(y,g),A);uu(y,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,r!==null&&r.tag===6?(e(y,r.sibling),A=n(r,g),A.return=y,y=A):(e(y,r),A=Ri(g,y.mode,A),A.return=y,y=A),i(y)):e(y,r)}return function(y,r,g,A){try{Wa=0;var V=xt(y,r,g,A);return ha=null,V}catch(X){if(X===ra||X===eu)throw X;var ot=hl(29,X,null,y.mode);return ot.lanes=A,ot.return=y,ot}finally{}}}var Ye=Ws(!0),Fs=Ws(!1),fe=!1;function Ji(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ki(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 se(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function oe(t,l,e){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(mt&2)!==0){var n=a.pending;return n===null?l.next=l:(l.next=n.next,n.next=l),a.pending=l,l=Wn(t),Rs(t,null,e),l}return $n(t,a,l,e),Wn(t)}function Ia(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,Qf(t,e)}}function $i(t,l){var e=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var n=null,u=null;if(e=e.firstBaseUpdate,e!==null){do{var i={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};u===null?n=u=i:u=u.next=i,e=e.next}while(e!==null);u===null?n=u=l:u=u.next=l}else n=u=l;e={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,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 Wi=!1;function Pa(){if(Wi){var t=da;if(t!==null)throw t}}function tn(t,l,e,a){Wi=!1;var n=t.updateQueue;fe=!1;var u=n.firstBaseUpdate,i=n.lastBaseUpdate,c=n.shared.pending;if(c!==null){n.shared.pending=null;var d=c,S=d.next;d.next=null,i===null?u=S:i.next=S,i=d;var x=t.alternate;x!==null&&(x=x.updateQueue,c=x.lastBaseUpdate,c!==i&&(c===null?x.firstBaseUpdate=S:c.next=S,x.lastBaseUpdate=d))}if(u!==null){var j=n.baseState;i=0,x=S=d=null,c=u;do{var E=c.lane&-536870913,z=E!==c.lane;if(z?(ut&E)===E:(a&E)===E){E!==0&&E===oa&&(Wi=!0),x!==null&&(x=x.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});t:{var G=t,w=c;E=l;var xt=e;switch(w.tag){case 1:if(G=w.payload,typeof G=="function"){j=G.call(xt,j,E);break t}j=G;break t;case 3:G.flags=G.flags&-65537|128;case 0:if(G=w.payload,E=typeof G=="function"?G.call(xt,j,E):G,E==null)break t;j=H({},j,E);break t;case 2:fe=!0}}E=c.callback,E!==null&&(t.flags|=64,z&&(t.flags|=8192),z=n.callbacks,z===null?n.callbacks=[E]:z.push(E))}else z={lane:E,tag:c.tag,payload:c.payload,callback:c.callback,next:null},x===null?(S=x=z,d=j):x=x.next=z,i|=E;if(c=c.next,c===null){if(c=n.shared.pending,c===null)break;z=c,c=z.next,z.next=null,n.lastBaseUpdate=z,n.shared.pending=null}}while(!0);x===null&&(d=j),n.baseState=d,n.firstBaseUpdate=S,n.lastBaseUpdate=x,u===null&&(n.shared.lanes=0),ye|=i,t.lanes=i,t.memoizedState=j}}function Is(t,l){if(typeof t!="function")throw Error(o(191,t));t.call(l)}function Ps(t,l){var e=t.callbacks;if(e!==null)for(t.callbacks=null,t=0;t<e.length;t++)Is(e[t],l)}var ma=h(null),iu=h(0);function to(t,l){t=Il,R(iu,t),R(ma,l),Il=t|l.baseLanes}function Fi(){R(iu,Il),R(ma,ma.current)}function Ii(){Il=iu.current,_(ma),_(iu)}var ml=h(null),jl=null;function de(t){var l=t.alternate;R(Lt,Lt.current&1),R(ml,t),jl===null&&(l===null||ma.current!==null||l.memoizedState!==null)&&(jl=t)}function Pi(t){R(Lt,Lt.current),R(ml,t),jl===null&&(jl=t)}function lo(t){t.tag===22?(R(Lt,Lt.current),R(ml,t),jl===null&&(jl=t)):re()}function re(){R(Lt,Lt.current),R(ml,ml.current)}function yl(t){_(ml),jl===t&&(jl=null),_(Lt)}var Lt=h(0);function cu(t){for(var l=t;l!==null;){if(l.tag===13){var e=l.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||uf(e)||cf(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 Vl=0,F=null,zt=null,Yt=null,fu=!1,ya=!1,Xe=!1,su=0,ln=0,va=null,Mm=0;function Ct(){throw Error(o(321))}function tc(t,l){if(l===null)return!1;for(var e=0;e<l.length&&e<t.length;e++)if(!rl(t[e],l[e]))return!1;return!0}function lc(t,l,e,a,n,u){return Vl=u,F=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,T.H=t===null||t.memoizedState===null?Go:vc,Xe=!1,u=e(a,n),Xe=!1,ya&&(u=ao(l,e,a,n)),eo(t),u}function eo(t){T.H=nn;var l=zt!==null&&zt.next!==null;if(Vl=0,Yt=zt=F=null,fu=!1,ln=0,va=null,l)throw Error(o(300));t===null||Xt||(t=t.dependencies,t!==null&&Pn(t)&&(Xt=!0))}function ao(t,l,e,a){F=t;var n=0;do{if(ya&&(va=null),ln=0,ya=!1,25<=n)throw Error(o(301));if(n+=1,Yt=zt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}T.H=Yo,u=l(e,a)}while(ya);return u}function Dm(){var t=T.H,l=t.useState()[0];return l=typeof l.then=="function"?en(l):l,t=t.useState()[0],(zt!==null?zt.memoizedState:null)!==t&&(F.flags|=1024),l}function ec(){var t=su!==0;return su=0,t}function ac(t,l,e){l.updateQueue=t.updateQueue,l.flags&=-2053,t.lanes&=~e}function nc(t){if(fu){for(t=t.memoizedState;t!==null;){var l=t.queue;l!==null&&(l.pending=null),t=t.next}fu=!1}Vl=0,Yt=zt=F=null,ya=!1,ln=su=0,va=null}function ll(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Yt===null?F.memoizedState=Yt=t:Yt=Yt.next=t,Yt}function Ht(){if(zt===null){var t=F.alternate;t=t!==null?t.memoizedState:null}else t=zt.next;var l=Yt===null?F.memoizedState:Yt.next;if(l!==null)Yt=l,zt=t;else{if(t===null)throw F.alternate===null?Error(o(467)):Error(o(310));zt=t,t={memoizedState:zt.memoizedState,baseState:zt.baseState,baseQueue:zt.baseQueue,queue:zt.queue,next:null},Yt===null?F.memoizedState=Yt=t:Yt=Yt.next=t}return Yt}function ou(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function en(t){var l=ln;return ln+=1,va===null&&(va=[]),t=Js(va,t,l),l=F,(Yt===null?l.memoizedState:Yt.next)===null&&(l=l.alternate,T.H=l===null||l.memoizedState===null?Go:vc),t}function du(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return en(t);if(t.$$typeof===gt)return $t(t)}throw Error(o(438,String(t)))}function uc(t){var l=null,e=F.updateQueue;if(e!==null&&(l=e.memoCache),l==null){var a=F.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(l={data:a.data.map(function(n){return n.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),e===null&&(e=ou(),F.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]=_t;return l.index++,e}function wl(t,l){return typeof l=="function"?l(t):l}function ru(t){var l=Ht();return ic(l,zt,t)}function ic(t,l,e){var a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var n=t.baseQueue,u=a.pending;if(u!==null){if(n!==null){var i=n.next;n.next=u.next,u.next=i}l.baseQueue=n=u,a.pending=null}if(u=t.baseState,n===null)t.memoizedState=u;else{l=n.next;var c=i=null,d=null,S=l,x=!1;do{var j=S.lane&-536870913;if(j!==S.lane?(ut&j)===j:(Vl&j)===j){var E=S.revertLane;if(E===0)d!==null&&(d=d.next={lane:0,revertLane:0,gesture:null,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null}),j===oa&&(x=!0);else if((Vl&E)===E){S=S.next,E===oa&&(x=!0);continue}else j={lane:0,revertLane:S.revertLane,gesture:null,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},d===null?(c=d=j,i=u):d=d.next=j,F.lanes|=E,ye|=E;j=S.action,Xe&&e(u,j),u=S.hasEagerState?S.eagerState:e(u,j)}else E={lane:j,revertLane:S.revertLane,gesture:S.gesture,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},d===null?(c=d=E,i=u):d=d.next=E,F.lanes|=j,ye|=j;S=S.next}while(S!==null&&S!==l);if(d===null?i=u:d.next=c,!rl(u,t.memoizedState)&&(Xt=!0,x&&(e=da,e!==null)))throw e;t.memoizedState=u,t.baseState=i,t.baseQueue=d,a.lastRenderedState=u}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function cc(t){var l=Ht(),e=l.queue;if(e===null)throw Error(o(311));e.lastRenderedReducer=t;var a=e.dispatch,n=e.pending,u=l.memoizedState;if(n!==null){e.pending=null;var i=n=n.next;do u=t(u,i.action),i=i.next;while(i!==n);rl(u,l.memoizedState)||(Xt=!0),l.memoizedState=u,l.baseQueue===null&&(l.baseState=u),e.lastRenderedState=u}return[u,a]}function no(t,l,e){var a=F,n=Ht(),u=ft;if(u){if(e===void 0)throw Error(o(407));e=e()}else e=l();var i=!rl((zt||n).memoizedState,e);if(i&&(n.memoizedState=e,Xt=!0),n=n.queue,oc(co.bind(null,a,n,t),[t]),n.getSnapshot!==l||i||Yt!==null&&Yt.memoizedState.tag&1){if(a.flags|=2048,ga(9,{destroy:void 0},io.bind(null,a,n,e,l),null),jt===null)throw Error(o(349));u||(Vl&127)!==0||uo(a,l,e)}return e}function uo(t,l,e){t.flags|=16384,t={getSnapshot:l,value:e},l=F.updateQueue,l===null?(l=ou(),F.updateQueue=l,l.stores=[t]):(e=l.stores,e===null?l.stores=[t]:e.push(t))}function io(t,l,e,a){l.value=e,l.getSnapshot=a,fo(l)&&so(t)}function co(t,l,e){return e(function(){fo(l)&&so(t)})}function fo(t){var l=t.getSnapshot;t=t.value;try{var e=l();return!rl(t,e)}catch{return!0}}function so(t){var l=Ce(t,2);l!==null&&fl(l,t,2)}function fc(t){var l=ll();if(typeof t=="function"){var e=t;if(t=e(),Xe){le(!0);try{e()}finally{le(!1)}}}return l.memoizedState=l.baseState=t,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wl,lastRenderedState:t},l}function oo(t,l,e,a){return t.baseState=e,ic(t,zt,typeof a=="function"?a:wl)}function Om(t,l,e,a,n){if(yu(t))throw Error(o(485));if(t=l.action,t!==null){var u={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){u.listeners.push(i)}};T.T!==null?e(!0):u.isTransition=!1,a(u),e=l.pending,e===null?(u.next=l.pending=u,ro(l,u)):(u.next=e.next,l.pending=e.next=u)}}function ro(t,l){var e=l.action,a=l.payload,n=t.state;if(l.isTransition){var u=T.T,i={};T.T=i;try{var c=e(n,a),d=T.S;d!==null&&d(i,c),ho(t,l,c)}catch(S){sc(t,l,S)}finally{u!==null&&i.types!==null&&(u.types=i.types),T.T=u}}else try{u=e(n,a),ho(t,l,u)}catch(S){sc(t,l,S)}}function ho(t,l,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){mo(t,l,a)},function(a){return sc(t,l,a)}):mo(t,l,e)}function mo(t,l,e){l.status="fulfilled",l.value=e,yo(l),t.state=e,l=t.pending,l!==null&&(e=l.next,e===l?t.pending=null:(e=e.next,l.next=e,ro(t,e)))}function sc(t,l,e){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do l.status="rejected",l.reason=e,yo(l),l=l.next;while(l!==a)}t.action=null}function yo(t){t=t.listeners;for(var l=0;l<t.length;l++)(0,t[l])()}function vo(t,l){return l}function go(t,l){if(ft){var e=jt.formState;if(e!==null){t:{var a=F;if(ft){if(Mt){l:{for(var n=Mt,u=Al;n.nodeType!==8;){if(!u){n=null;break l}if(n=_l(n.nextSibling),n===null){n=null;break l}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Mt=_l(n.nextSibling),a=n.data==="F!";break t}}ie(a)}a=!1}a&&(l=e[0])}}return e=ll(),e.memoizedState=e.baseState=l,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vo,lastRenderedState:l},e.queue=a,e=Ho.bind(null,F,a),a.dispatch=e,a=fc(!1),u=yc.bind(null,F,!1,a.queue),a=ll(),n={state:l,dispatch:null,action:t,pending:null},a.queue=n,e=Om.bind(null,F,n,u,e),n.dispatch=e,a.memoizedState=t,[l,e,!1]}function po(t){var l=Ht();return So(l,zt,t)}function So(t,l,e){if(l=ic(t,l,vo)[0],t=ru(wl)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var a=en(l)}catch(i){throw i===ra?eu:i}else a=l;l=Ht();var n=l.queue,u=n.dispatch;return e!==l.memoizedState&&(F.flags|=2048,ga(9,{destroy:void 0},Cm.bind(null,n,e),null)),[a,u,t]}function Cm(t,l){t.action=l}function bo(t){var l=Ht(),e=zt;if(e!==null)return So(l,e,t);Ht(),l=l.memoizedState,e=Ht();var a=e.queue.dispatch;return e.memoizedState=t,[l,a,!1]}function ga(t,l,e,a){return t={tag:t,create:e,deps:a,inst:l,next:null},l=F.updateQueue,l===null&&(l=ou(),F.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 Eo(){return Ht().memoizedState}function hu(t,l,e,a){var n=ll();F.flags|=t,n.memoizedState=ga(1|l,{destroy:void 0},e,a===void 0?null:a)}function mu(t,l,e,a){var n=Ht();a=a===void 0?null:a;var u=n.memoizedState.inst;zt!==null&&a!==null&&tc(a,zt.memoizedState.deps)?n.memoizedState=ga(l,u,e,a):(F.flags|=t,n.memoizedState=ga(1|l,u,e,a))}function zo(t,l){hu(8390656,8,t,l)}function oc(t,l){mu(2048,8,t,l)}function Um(t){F.flags|=4;var l=F.updateQueue;if(l===null)l=ou(),F.updateQueue=l,l.events=[t];else{var e=l.events;e===null?l.events=[t]:e.push(t)}}function To(t){var l=Ht().memoizedState;return Um({ref:l,nextImpl:t}),function(){if((mt&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}function xo(t,l){return mu(4,2,t,l)}function Ao(t,l){return mu(4,4,t,l)}function jo(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 _o(t,l,e){e=e!=null?e.concat([t]):null,mu(4,4,jo.bind(null,l,t),e)}function dc(){}function No(t,l){var e=Ht();l=l===void 0?null:l;var a=e.memoizedState;return l!==null&&tc(l,a[1])?a[0]:(e.memoizedState=[t,l],t)}function Mo(t,l){var e=Ht();l=l===void 0?null:l;var a=e.memoizedState;if(l!==null&&tc(l,a[1]))return a[0];if(a=t(),Xe){le(!0);try{t()}finally{le(!1)}}return e.memoizedState=[a,l],a}function rc(t,l,e){return e===void 0||(Vl&1073741824)!==0&&(ut&261930)===0?t.memoizedState=l:(t.memoizedState=e,t=Dd(),F.lanes|=t,ye|=t,e)}function Do(t,l,e,a){return rl(e,l)?e:ma.current!==null?(t=rc(t,e,a),rl(t,l)||(Xt=!0),t):(Vl&42)===0||(Vl&1073741824)!==0&&(ut&261930)===0?(Xt=!0,t.memoizedState=e):(t=Dd(),F.lanes|=t,ye|=t,l)}function Oo(t,l,e,a,n){var u=U.p;U.p=u!==0&&8>u?u:8;var i=T.T,c={};T.T=c,yc(t,!1,l,e);try{var d=n(),S=T.S;if(S!==null&&S(c,d),d!==null&&typeof d=="object"&&typeof d.then=="function"){var x=Nm(d,a);an(t,l,x,pl(t))}else an(t,l,a,pl(t))}catch(j){an(t,l,{then:function(){},status:"rejected",reason:j},pl())}finally{U.p=u,i!==null&&c.types!==null&&(i.types=c.types),T.T=i}}function Rm(){}function hc(t,l,e,a){if(t.tag!==5)throw Error(o(476));var n=Co(t).queue;Oo(t,n,l,K,e===null?Rm:function(){return Uo(t),e(a)})}function Co(t){var l=t.memoizedState;if(l!==null)return l;l={memoizedState:K,baseState:K,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wl,lastRenderedState:K},next:null};var e={};return l.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wl,lastRenderedState:e},next:null},t.memoizedState=l,t=t.alternate,t!==null&&(t.memoizedState=l),l}function Uo(t){var l=Co(t);l.next===null&&(l=t.alternate.memoizedState),an(t,l.next.queue,{},pl())}function mc(){return $t(En)}function Ro(){return Ht().memoizedState}function Lo(){return Ht().memoizedState}function Lm(t){for(var l=t.return;l!==null;){switch(l.tag){case 24:case 3:var e=pl();t=se(e);var a=oe(l,t,e);a!==null&&(fl(a,l,e),Ia(a,l,e)),l={cache:Zi()},t.payload=l;return}l=l.return}}function Hm(t,l,e){var a=pl();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},yu(t)?Bo(l,e):(e=Ci(t,l,e,a),e!==null&&(fl(e,t,a),qo(e,l,a)))}function Ho(t,l,e){var a=pl();an(t,l,e,a)}function an(t,l,e,a){var n={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(yu(t))Bo(l,n);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=l.lastRenderedReducer,u!==null))try{var i=l.lastRenderedState,c=u(i,e);if(n.hasEagerState=!0,n.eagerState=c,rl(c,i))return $n(t,l,n,0),jt===null&&kn(),!1}catch{}finally{}if(e=Ci(t,l,n,a),e!==null)return fl(e,t,a),qo(e,l,a),!0}return!1}function yc(t,l,e,a){if(a={lane:2,revertLane:Jc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},yu(t)){if(l)throw Error(o(479))}else l=Ci(t,e,a,2),l!==null&&fl(l,t,2)}function yu(t){var l=t.alternate;return t===F||l!==null&&l===F}function Bo(t,l){ya=fu=!0;var e=t.pending;e===null?l.next=l:(l.next=e.next,e.next=l),t.pending=l}function qo(t,l,e){if((e&4194048)!==0){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,Qf(t,e)}}var nn={readContext:$t,use:du,useCallback:Ct,useContext:Ct,useEffect:Ct,useImperativeHandle:Ct,useLayoutEffect:Ct,useInsertionEffect:Ct,useMemo:Ct,useReducer:Ct,useRef:Ct,useState:Ct,useDebugValue:Ct,useDeferredValue:Ct,useTransition:Ct,useSyncExternalStore:Ct,useId:Ct,useHostTransitionStatus:Ct,useFormState:Ct,useActionState:Ct,useOptimistic:Ct,useMemoCache:Ct,useCacheRefresh:Ct};nn.useEffectEvent=Ct;var Go={readContext:$t,use:du,useCallback:function(t,l){return ll().memoizedState=[t,l===void 0?null:l],t},useContext:$t,useEffect:zo,useImperativeHandle:function(t,l,e){e=e!=null?e.concat([t]):null,hu(4194308,4,jo.bind(null,l,t),e)},useLayoutEffect:function(t,l){return hu(4194308,4,t,l)},useInsertionEffect:function(t,l){hu(4,2,t,l)},useMemo:function(t,l){var e=ll();l=l===void 0?null:l;var a=t();if(Xe){le(!0);try{t()}finally{le(!1)}}return e.memoizedState=[a,l],a},useReducer:function(t,l,e){var a=ll();if(e!==void 0){var n=e(l);if(Xe){le(!0);try{e(l)}finally{le(!1)}}}else n=l;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=Hm.bind(null,F,t),[a.memoizedState,t]},useRef:function(t){var l=ll();return t={current:t},l.memoizedState=t},useState:function(t){t=fc(t);var l=t.queue,e=Ho.bind(null,F,l);return l.dispatch=e,[t.memoizedState,e]},useDebugValue:dc,useDeferredValue:function(t,l){var e=ll();return rc(e,t,l)},useTransition:function(){var t=fc(!1);return t=Oo.bind(null,F,t.queue,!0,!1),ll().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,l,e){var a=F,n=ll();if(ft){if(e===void 0)throw Error(o(407));e=e()}else{if(e=l(),jt===null)throw Error(o(349));(ut&127)!==0||uo(a,l,e)}n.memoizedState=e;var u={value:e,getSnapshot:l};return n.queue=u,zo(co.bind(null,a,u,t),[t]),a.flags|=2048,ga(9,{destroy:void 0},io.bind(null,a,u,e,l),null),e},useId:function(){var t=ll(),l=jt.identifierPrefix;if(ft){var e=Rl,a=Ul;e=(a&~(1<<32-dl(a)-1)).toString(32)+e,l="_"+l+"R_"+e,e=su++,0<e&&(l+="H"+e.toString(32)),l+="_"}else e=Mm++,l="_"+l+"r_"+e.toString(32)+"_";return t.memoizedState=l},useHostTransitionStatus:mc,useFormState:go,useActionState:go,useOptimistic:function(t){var l=ll();l.memoizedState=l.baseState=t;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=e,l=yc.bind(null,F,!0,e),e.dispatch=l,[t,l]},useMemoCache:uc,useCacheRefresh:function(){return ll().memoizedState=Lm.bind(null,F)},useEffectEvent:function(t){var l=ll(),e={impl:t};return l.memoizedState=e,function(){if((mt&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}},vc={readContext:$t,use:du,useCallback:No,useContext:$t,useEffect:oc,useImperativeHandle:_o,useInsertionEffect:xo,useLayoutEffect:Ao,useMemo:Mo,useReducer:ru,useRef:Eo,useState:function(){return ru(wl)},useDebugValue:dc,useDeferredValue:function(t,l){var e=Ht();return Do(e,zt.memoizedState,t,l)},useTransition:function(){var t=ru(wl)[0],l=Ht().memoizedState;return[typeof t=="boolean"?t:en(t),l]},useSyncExternalStore:no,useId:Ro,useHostTransitionStatus:mc,useFormState:po,useActionState:po,useOptimistic:function(t,l){var e=Ht();return oo(e,zt,t,l)},useMemoCache:uc,useCacheRefresh:Lo};vc.useEffectEvent=To;var Yo={readContext:$t,use:du,useCallback:No,useContext:$t,useEffect:oc,useImperativeHandle:_o,useInsertionEffect:xo,useLayoutEffect:Ao,useMemo:Mo,useReducer:cc,useRef:Eo,useState:function(){return cc(wl)},useDebugValue:dc,useDeferredValue:function(t,l){var e=Ht();return zt===null?rc(e,t,l):Do(e,zt.memoizedState,t,l)},useTransition:function(){var t=cc(wl)[0],l=Ht().memoizedState;return[typeof t=="boolean"?t:en(t),l]},useSyncExternalStore:no,useId:Ro,useHostTransitionStatus:mc,useFormState:bo,useActionState:bo,useOptimistic:function(t,l){var e=Ht();return zt!==null?oo(e,zt,t,l):(e.baseState=t,[t,e.queue.dispatch])},useMemoCache:uc,useCacheRefresh:Lo};Yo.useEffectEvent=To;function gc(t,l,e,a){l=t.memoizedState,e=e(a,l),e=e==null?l:H({},l,e),t.memoizedState=e,t.lanes===0&&(t.updateQueue.baseState=e)}var pc={enqueueSetState:function(t,l,e){t=t._reactInternals;var a=pl(),n=se(a);n.payload=l,e!=null&&(n.callback=e),l=oe(t,n,a),l!==null&&(fl(l,t,a),Ia(l,t,a))},enqueueReplaceState:function(t,l,e){t=t._reactInternals;var a=pl(),n=se(a);n.tag=1,n.payload=l,e!=null&&(n.callback=e),l=oe(t,n,a),l!==null&&(fl(l,t,a),Ia(l,t,a))},enqueueForceUpdate:function(t,l){t=t._reactInternals;var e=pl(),a=se(e);a.tag=2,l!=null&&(a.callback=l),l=oe(t,a,e),l!==null&&(fl(l,t,e),Ia(l,t,e))}};function Xo(t,l,e,a,n,u,i){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,u,i):l.prototype&&l.prototype.isPureReactComponent?!Va(e,a)||!Va(n,u):!0}function Qo(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&&pc.enqueueReplaceState(l,l.state,null)}function Qe(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=H({},e));for(var n in t)e[n]===void 0&&(e[n]=t[n])}return e}function Zo(t){Jn(t)}function Vo(t){console.error(t)}function wo(t){Jn(t)}function vu(t,l){try{var e=t.onUncaughtError;e(l.value,{componentStack:l.stack})}catch(a){setTimeout(function(){throw a})}}function Ko(t,l,e){try{var a=t.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Sc(t,l,e){return e=se(e),e.tag=3,e.payload={element:null},e.callback=function(){vu(t,l)},e}function Jo(t){return t=se(t),t.tag=3,t}function ko(t,l,e,a){var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;t.payload=function(){return n(u)},t.callback=function(){Ko(l,e,a)}}var i=e.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){Ko(l,e,a),typeof n!="function"&&(ve===null?ve=new Set([this]):ve.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function Bm(t,l,e,a,n){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(l=e.alternate,l!==null&&sa(l,e,n,!0),e=ml.current,e!==null){switch(e.tag){case 31:case 13:return jl===null?Nu():e.alternate===null&&Ut===0&&(Ut=3),e.flags&=-257,e.flags|=65536,e.lanes=n,a===au?e.flags|=16384:(l=e.updateQueue,l===null?e.updateQueue=new Set([a]):l.add(a),Vc(t,a,n)),!1;case 22:return e.flags|=65536,a===au?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)),Vc(t,a,n)),!1}throw Error(o(435,e.tag))}return Vc(t,a,n),Nu(),!1}if(ft)return l=ml.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=n,a!==qi&&(t=Error(o(422),{cause:a}),Ja(zl(t,e)))):(a!==qi&&(l=Error(o(423),{cause:a}),Ja(zl(l,e))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=zl(a,e),n=Sc(t.stateNode,a,n),$i(t,n),Ut!==4&&(Ut=2)),!1;var u=Error(o(520),{cause:a});if(u=zl(u,e),hn===null?hn=[u]:hn.push(u),Ut!==4&&(Ut=2),l===null)return!0;a=zl(a,e),e=l;do{switch(e.tag){case 3:return e.flags|=65536,t=n&-n,e.lanes|=t,t=Sc(e.stateNode,a,t),$i(e,t),!1;case 1:if(l=e.type,u=e.stateNode,(e.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(ve===null||!ve.has(u))))return e.flags|=65536,n&=-n,e.lanes|=n,n=Jo(n),ko(n,t,e,a),$i(e,n),!1}e=e.return}while(e!==null);return!1}var bc=Error(o(461)),Xt=!1;function Wt(t,l,e,a){l.child=t===null?Fs(l,null,e,a):Ye(l,t.child,e,a)}function $o(t,l,e,a,n){e=e.render;var u=l.ref;if("ref"in a){var i={};for(var c in a)c!=="ref"&&(i[c]=a[c])}else i=a;return He(l),a=lc(t,l,e,i,u,n),c=ec(),t!==null&&!Xt?(ac(t,l,n),Kl(t,l,n)):(ft&&c&&Hi(l),l.flags|=1,Wt(t,l,a,n),l.child)}function Wo(t,l,e,a,n){if(t===null){var u=e.type;return typeof u=="function"&&!Ui(u)&&u.defaultProps===void 0&&e.compare===null?(l.tag=15,l.type=u,Fo(t,l,u,a,n)):(t=Fn(e.type,null,a,l,l.mode,n),t.ref=l.ref,t.return=l,l.child=t)}if(u=t.child,!Nc(t,n)){var i=u.memoizedProps;if(e=e.compare,e=e!==null?e:Va,e(i,a)&&t.ref===l.ref)return Kl(t,l,n)}return l.flags|=1,t=Yl(u,a),t.ref=l.ref,t.return=l,l.child=t}function Fo(t,l,e,a,n){if(t!==null){var u=t.memoizedProps;if(Va(u,a)&&t.ref===l.ref)if(Xt=!1,l.pendingProps=a=u,Nc(t,n))(t.flags&131072)!==0&&(Xt=!0);else return l.lanes=t.lanes,Kl(t,l,n)}return Ec(t,l,e,a,n)}function Io(t,l,e,a){var n=a.children,u=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(u=u!==null?u.baseLanes|e:e,t!==null){for(a=l.child=t.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,l.child=null;return Po(t,l,u,e,a)}if((e&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},t!==null&&lu(l,u!==null?u.cachePool:null),u!==null?to(l,u):Fi(),lo(l);else return a=l.lanes=536870912,Po(t,l,u!==null?u.baseLanes|e:e,e,a)}else u!==null?(lu(l,u.cachePool),to(l,u),re(),l.memoizedState=null):(t!==null&&lu(l,null),Fi(),re());return Wt(t,l,n,e),l.child}function un(t,l){return t!==null&&t.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function Po(t,l,e,a,n){var u=wi();return u=u===null?null:{parent:Gt._currentValue,pool:u},l.memoizedState={baseLanes:e,cachePool:u},t!==null&&lu(l,null),Fi(),lo(l),t!==null&&sa(t,l,a,!0),l.childLanes=n,null}function gu(t,l){return l=Su({mode:l.mode,children:l.children},t.mode),l.ref=t.ref,t.child=l,l.return=t,l}function td(t,l,e){return Ye(l,t.child,null,e),t=gu(l,l.pendingProps),t.flags|=2,yl(l),l.memoizedState=null,t}function qm(t,l,e){var a=l.pendingProps,n=(l.flags&128)!==0;if(l.flags&=-129,t===null){if(ft){if(a.mode==="hidden")return t=gu(l,a),l.lanes=536870912,un(null,t);if(Pi(l),(t=Mt)?(t=rr(t,Al),t=t!==null&&t.data==="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:ne!==null?{id:Ul,overflow:Rl}:null,retryLane:536870912,hydrationErrors:null},e=Hs(t),e.return=l,l.child=e,kt=l,Mt=null)):t=null,t===null)throw ie(l);return l.lanes=536870912,null}return gu(l,a)}var u=t.memoizedState;if(u!==null){var i=u.dehydrated;if(Pi(l),n)if(l.flags&256)l.flags&=-257,l=td(t,l,e);else if(l.memoizedState!==null)l.child=t.child,l.flags|=128,l=null;else throw Error(o(558));else if(Xt||sa(t,l,e,!1),n=(e&t.childLanes)!==0,Xt||n){if(a=jt,a!==null&&(i=Zf(a,e),i!==0&&i!==u.retryLane))throw u.retryLane=i,Ce(t,i),fl(a,t,i),bc;Nu(),l=td(t,l,e)}else t=u.treeContext,Mt=_l(i.nextSibling),kt=l,ft=!0,ue=null,Al=!1,t!==null&&Gs(l,t),l=gu(l,a),l.flags|=4096;return l}return t=Yl(t.child,{mode:a.mode,children:a.children}),t.ref=l.ref,l.child=t,t.return=l,t}function pu(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(o(284));(t===null||t.ref!==e)&&(l.flags|=4194816)}}function Ec(t,l,e,a,n){return He(l),e=lc(t,l,e,a,void 0,n),a=ec(),t!==null&&!Xt?(ac(t,l,n),Kl(t,l,n)):(ft&&a&&Hi(l),l.flags|=1,Wt(t,l,e,n),l.child)}function ld(t,l,e,a,n,u){return He(l),l.updateQueue=null,e=ao(l,a,e,n),eo(t),a=ec(),t!==null&&!Xt?(ac(t,l,u),Kl(t,l,u)):(ft&&a&&Hi(l),l.flags|=1,Wt(t,l,e,u),l.child)}function ed(t,l,e,a,n){if(He(l),l.stateNode===null){var u=ua,i=e.contextType;typeof i=="object"&&i!==null&&(u=$t(i)),u=new e(a,u),l.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=pc,l.stateNode=u,u._reactInternals=l,u=l.stateNode,u.props=a,u.state=l.memoizedState,u.refs={},Ji(l),i=e.contextType,u.context=typeof i=="object"&&i!==null?$t(i):ua,u.state=l.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(gc(l,e,i,a),u.state=l.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(i=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),i!==u.state&&pc.enqueueReplaceState(u,u.state,null),tn(l,a,u,n),Pa(),u.state=l.memoizedState),typeof u.componentDidMount=="function"&&(l.flags|=4194308),a=!0}else if(t===null){u=l.stateNode;var c=l.memoizedProps,d=Qe(e,c);u.props=d;var S=u.context,x=e.contextType;i=ua,typeof x=="object"&&x!==null&&(i=$t(x));var j=e.getDerivedStateFromProps;x=typeof j=="function"||typeof u.getSnapshotBeforeUpdate=="function",c=l.pendingProps!==c,x||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c||S!==i)&&Qo(l,u,a,i),fe=!1;var E=l.memoizedState;u.state=E,tn(l,a,u,n),Pa(),S=l.memoizedState,c||E!==S||fe?(typeof j=="function"&&(gc(l,e,j,a),S=l.memoizedState),(d=fe||Xo(l,e,d,a,E,S,i))?(x||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(l.flags|=4194308)):(typeof u.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=a,l.memoizedState=S),u.props=a,u.state=S,u.context=i,a=d):(typeof u.componentDidMount=="function"&&(l.flags|=4194308),a=!1)}else{u=l.stateNode,ki(t,l),i=l.memoizedProps,x=Qe(e,i),u.props=x,j=l.pendingProps,E=u.context,S=e.contextType,d=ua,typeof S=="object"&&S!==null&&(d=$t(S)),c=e.getDerivedStateFromProps,(S=typeof c=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==j||E!==d)&&Qo(l,u,a,d),fe=!1,E=l.memoizedState,u.state=E,tn(l,a,u,n),Pa();var z=l.memoizedState;i!==j||E!==z||fe||t!==null&&t.dependencies!==null&&Pn(t.dependencies)?(typeof c=="function"&&(gc(l,e,c,a),z=l.memoizedState),(x=fe||Xo(l,e,x,a,E,z,d)||t!==null&&t.dependencies!==null&&Pn(t.dependencies))?(S||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,z,d),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,z,d)),typeof u.componentDidUpdate=="function"&&(l.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof u.componentDidUpdate!="function"||i===t.memoizedProps&&E===t.memoizedState||(l.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&E===t.memoizedState||(l.flags|=1024),l.memoizedProps=a,l.memoizedState=z),u.props=a,u.state=z,u.context=d,a=x):(typeof u.componentDidUpdate!="function"||i===t.memoizedProps&&E===t.memoizedState||(l.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&E===t.memoizedState||(l.flags|=1024),a=!1)}return u=a,pu(t,l),a=(l.flags&128)!==0,u||a?(u=l.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:u.render(),l.flags|=1,t!==null&&a?(l.child=Ye(l,t.child,null,n),l.child=Ye(l,null,e,n)):Wt(t,l,e,n),l.memoizedState=u.state,t=l.child):t=Kl(t,l,n),t}function ad(t,l,e,a){return Re(),l.flags|=256,Wt(t,l,e,a),l.child}var zc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Tc(t){return{baseLanes:t,cachePool:ws()}}function xc(t,l,e){return t=t!==null?t.childLanes&~e:0,l&&(t|=gl),t}function nd(t,l,e){var a=l.pendingProps,n=!1,u=(l.flags&128)!==0,i;if((i=u)||(i=t!==null&&t.memoizedState===null?!1:(Lt.current&2)!==0),i&&(n=!0,l.flags&=-129),i=(l.flags&32)!==0,l.flags&=-33,t===null){if(ft){if(n?de(l):re(),(t=Mt)?(t=rr(t,Al),t=t!==null&&t.data!=="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:ne!==null?{id:Ul,overflow:Rl}:null,retryLane:536870912,hydrationErrors:null},e=Hs(t),e.return=l,l.child=e,kt=l,Mt=null)):t=null,t===null)throw ie(l);return cf(t)?l.lanes=32:l.lanes=536870912,null}var c=a.children;return a=a.fallback,n?(re(),n=l.mode,c=Su({mode:"hidden",children:c},n),a=Ue(a,n,e,null),c.return=l,a.return=l,c.sibling=a,l.child=c,a=l.child,a.memoizedState=Tc(e),a.childLanes=xc(t,i,e),l.memoizedState=zc,un(null,a)):(de(l),Ac(l,c))}var d=t.memoizedState;if(d!==null&&(c=d.dehydrated,c!==null)){if(u)l.flags&256?(de(l),l.flags&=-257,l=jc(t,l,e)):l.memoizedState!==null?(re(),l.child=t.child,l.flags|=128,l=null):(re(),c=a.fallback,n=l.mode,a=Su({mode:"visible",children:a.children},n),c=Ue(c,n,e,null),c.flags|=2,a.return=l,c.return=l,a.sibling=c,l.child=a,Ye(l,t.child,null,e),a=l.child,a.memoizedState=Tc(e),a.childLanes=xc(t,i,e),l.memoizedState=zc,l=un(null,a));else if(de(l),cf(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var S=i.dgst;i=S,a=Error(o(419)),a.stack="",a.digest=i,Ja({value:a,source:null,stack:null}),l=jc(t,l,e)}else if(Xt||sa(t,l,e,!1),i=(e&t.childLanes)!==0,Xt||i){if(i=jt,i!==null&&(a=Zf(i,e),a!==0&&a!==d.retryLane))throw d.retryLane=a,Ce(t,a),fl(i,t,a),bc;uf(c)||Nu(),l=jc(t,l,e)}else uf(c)?(l.flags|=192,l.child=t.child,l=null):(t=d.treeContext,Mt=_l(c.nextSibling),kt=l,ft=!0,ue=null,Al=!1,t!==null&&Gs(l,t),l=Ac(l,a.children),l.flags|=4096);return l}return n?(re(),c=a.fallback,n=l.mode,d=t.child,S=d.sibling,a=Yl(d,{mode:"hidden",children:a.children}),a.subtreeFlags=d.subtreeFlags&65011712,S!==null?c=Yl(S,c):(c=Ue(c,n,e,null),c.flags|=2),c.return=l,a.return=l,a.sibling=c,l.child=a,un(null,a),a=l.child,c=t.child.memoizedState,c===null?c=Tc(e):(n=c.cachePool,n!==null?(d=Gt._currentValue,n=n.parent!==d?{parent:d,pool:d}:n):n=ws(),c={baseLanes:c.baseLanes|e,cachePool:n}),a.memoizedState=c,a.childLanes=xc(t,i,e),l.memoizedState=zc,un(t.child,a)):(de(l),e=t.child,t=e.sibling,e=Yl(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 Ac(t,l){return l=Su({mode:"visible",children:l},t.mode),l.return=t,t.child=l}function Su(t,l){return t=hl(22,t,null,l),t.lanes=0,t}function jc(t,l,e){return Ye(l,t.child,null,e),t=Ac(l,l.pendingProps.children),t.flags|=2,l.memoizedState=null,t}function ud(t,l,e){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l),Xi(t.return,l,e)}function _c(t,l,e,a,n,u){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:n,treeForkCount:u}:(i.isBackwards=l,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=e,i.tailMode=n,i.treeForkCount=u)}function id(t,l,e){var a=l.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var i=Lt.current,c=(i&2)!==0;if(c?(i=i&1|2,l.flags|=128):i&=1,R(Lt,i),Wt(t,l,a,e),a=ft?Ka:0,!c&&t!==null&&(t.flags&128)!==0)t:for(t=l.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&ud(t,e,l);else if(t.tag===19)ud(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(n){case"forwards":for(e=l.child,n=null;e!==null;)t=e.alternate,t!==null&&cu(t)===null&&(n=e),e=e.sibling;e=n,e===null?(n=l.child,l.child=null):(n=e.sibling,e.sibling=null),_c(l,!1,n,e,u,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,n=l.child,l.child=null;n!==null;){if(t=n.alternate,t!==null&&cu(t)===null){l.child=n;break}t=n.sibling,n.sibling=e,e=n,n=t}_c(l,!0,e,null,u,a);break;case"together":_c(l,!1,null,null,void 0,a);break;default:l.memoizedState=null}return l.child}function Kl(t,l,e){if(t!==null&&(l.dependencies=t.dependencies),ye|=l.lanes,(e&l.childLanes)===0)if(t!==null){if(sa(t,l,e,!1),(e&l.childLanes)===0)return null}else return null;if(t!==null&&l.child!==t.child)throw Error(o(153));if(l.child!==null){for(t=l.child,e=Yl(t,t.pendingProps),l.child=e,e.return=l;t.sibling!==null;)t=t.sibling,e=e.sibling=Yl(t,t.pendingProps),e.return=l;e.sibling=null}return l.child}function Nc(t,l){return(t.lanes&l)!==0?!0:(t=t.dependencies,!!(t!==null&&Pn(t)))}function Gm(t,l,e){switch(l.tag){case 3:tl(l,l.stateNode.containerInfo),ce(l,Gt,t.memoizedState.cache),Re();break;case 27:case 5:Oa(l);break;case 4:tl(l,l.stateNode.containerInfo);break;case 10:ce(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Pi(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?nd(t,l,e):(de(l),t=Kl(t,l,e),t!==null?t.sibling:null);de(l);break;case 19:var n=(t.flags&128)!==0;if(a=(e&l.childLanes)!==0,a||(sa(t,l,e,!1),a=(e&l.childLanes)!==0),n){if(a)return id(t,l,e);l.flags|=128}if(n=l.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),R(Lt,Lt.current),a)break;return null;case 22:return l.lanes=0,Io(t,l,e,l.pendingProps);case 24:ce(l,Gt,t.memoizedState.cache)}return Kl(t,l,e)}function cd(t,l,e){if(t!==null)if(t.memoizedProps!==l.pendingProps)Xt=!0;else{if(!Nc(t,e)&&(l.flags&128)===0)return Xt=!1,Gm(t,l,e);Xt=(t.flags&131072)!==0}else Xt=!1,ft&&(l.flags&1048576)!==0&&qs(l,Ka,l.index);switch(l.lanes=0,l.tag){case 16:t:{var a=l.pendingProps;if(t=qe(l.elementType),l.type=t,typeof t=="function")Ui(t)?(a=Qe(t,a),l.tag=1,l=ed(null,l,t,a,e)):(l.tag=0,l=Ec(null,l,t,a,e));else{if(t!=null){var n=t.$$typeof;if(n===qt){l.tag=11,l=$o(null,l,t,a,e);break t}else if(n===q){l.tag=14,l=Wo(null,l,t,a,e);break t}}throw l=st(t)||t,Error(o(306,l,""))}}return l;case 0:return Ec(t,l,l.type,l.pendingProps,e);case 1:return a=l.type,n=Qe(a,l.pendingProps),ed(t,l,a,n,e);case 3:t:{if(tl(l,l.stateNode.containerInfo),t===null)throw Error(o(387));a=l.pendingProps;var u=l.memoizedState;n=u.element,ki(t,l),tn(l,a,null,e);var i=l.memoizedState;if(a=i.cache,ce(l,Gt,a),a!==u.cache&&Qi(l,[Gt],e,!0),Pa(),a=i.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:i.cache},l.updateQueue.baseState=u,l.memoizedState=u,l.flags&256){l=ad(t,l,a,e);break t}else if(a!==n){n=zl(Error(o(424)),l),Ja(n),l=ad(t,l,a,e);break t}else{switch(t=l.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Mt=_l(t.firstChild),kt=l,ft=!0,ue=null,Al=!0,e=Fs(l,null,a,e),l.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Re(),a===n){l=Kl(t,l,e);break t}Wt(t,l,a,e)}l=l.child}return l;case 26:return pu(t,l),t===null?(e=pr(l.type,null,l.pendingProps,null))?l.memoizedState=e:ft||(e=l.type,t=l.pendingProps,a=Lu(lt.current).createElement(e),a[Jt]=l,a[el]=t,Ft(a,e,t),wt(a),l.stateNode=a):l.memoizedState=pr(l.type,t.memoizedProps,l.pendingProps,t.memoizedState),null;case 27:return Oa(l),t===null&&ft&&(a=l.stateNode=yr(l.type,l.pendingProps,lt.current),kt=l,Al=!0,n=Mt,be(l.type)?(ff=n,Mt=_l(a.firstChild)):Mt=n),Wt(t,l,l.pendingProps.children,e),pu(t,l),t===null&&(l.flags|=4194304),l.child;case 5:return t===null&&ft&&((n=a=Mt)&&(a=y0(a,l.type,l.pendingProps,Al),a!==null?(l.stateNode=a,kt=l,Mt=_l(a.firstChild),Al=!1,n=!0):n=!1),n||ie(l)),Oa(l),n=l.type,u=l.pendingProps,i=t!==null?t.memoizedProps:null,a=u.children,ef(n,u)?a=null:i!==null&&ef(n,i)&&(l.flags|=32),l.memoizedState!==null&&(n=lc(t,l,Dm,null,null,e),En._currentValue=n),pu(t,l),Wt(t,l,a,e),l.child;case 6:return t===null&&ft&&((t=e=Mt)&&(e=v0(e,l.pendingProps,Al),e!==null?(l.stateNode=e,kt=l,Mt=null,t=!0):t=!1),t||ie(l)),null;case 13:return nd(t,l,e);case 4:return tl(l,l.stateNode.containerInfo),a=l.pendingProps,t===null?l.child=Ye(l,null,a,e):Wt(t,l,a,e),l.child;case 11:return $o(t,l,l.type,l.pendingProps,e);case 7:return Wt(t,l,l.pendingProps,e),l.child;case 8:return Wt(t,l,l.pendingProps.children,e),l.child;case 12:return Wt(t,l,l.pendingProps.children,e),l.child;case 10:return a=l.pendingProps,ce(l,l.type,a.value),Wt(t,l,a.children,e),l.child;case 9:return n=l.type._context,a=l.pendingProps.children,He(l),n=$t(n),a=a(n),l.flags|=1,Wt(t,l,a,e),l.child;case 14:return Wo(t,l,l.type,l.pendingProps,e);case 15:return Fo(t,l,l.type,l.pendingProps,e);case 19:return id(t,l,e);case 31:return qm(t,l,e);case 22:return Io(t,l,e,l.pendingProps);case 24:return He(l),a=$t(Gt),t===null?(n=wi(),n===null&&(n=jt,u=Zi(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=e),n=u),l.memoizedState={parent:a,cache:n},Ji(l),ce(l,Gt,n)):((t.lanes&e)!==0&&(ki(t,l),tn(l,null,null,e),Pa()),n=t.memoizedState,u=l.memoizedState,n.parent!==a?(n={parent:a,cache:a},l.memoizedState=n,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=n),ce(l,Gt,a)):(a=u.cache,ce(l,Gt,a),a!==n.cache&&Qi(l,[Gt],e,!0))),Wt(t,l,l.pendingProps.children,e),l.child;case 29:throw l.pendingProps}throw Error(o(156,l.tag))}function Jl(t){t.flags|=4}function Mc(t,l,e,a,n){if((l=(t.mode&32)!==0)&&(l=!1),l){if(t.flags|=16777216,(n&335544128)===n)if(t.stateNode.complete)t.flags|=8192;else if(Rd())t.flags|=8192;else throw Ge=au,Ki}else t.flags&=-16777217}function fd(t,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Tr(l))if(Rd())t.flags|=8192;else throw Ge=au,Ki}function bu(t,l){l!==null&&(t.flags|=4),t.flags&16384&&(l=t.tag!==22?Yf():536870912,t.lanes|=l,Ea|=l)}function cn(t,l){if(!ft)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 n=t.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=e,l}function Ym(t,l,e){var a=l.pendingProps;switch(Bi(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),Zl(Gt),Rt(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(t===null||t.child===null)&&(fa(l)?Jl(l):t===null||t.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Gi())),Dt(l),null;case 26:var n=l.type,u=l.memoizedState;return t===null?(Jl(l),u!==null?(Dt(l),fd(l,u)):(Dt(l),Mc(l,n,null,a,e))):u?u!==t.memoizedState?(Jl(l),Dt(l),fd(l,u)):(Dt(l),l.flags&=-16777217):(t=t.memoizedProps,t!==a&&Jl(l),Dt(l),Mc(l,n,t,a,e)),null;case 27:if(On(l),e=lt.current,n=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&Jl(l);else{if(!a){if(l.stateNode===null)throw Error(o(166));return Dt(l),null}t=Y.current,fa(l)?Ys(l):(t=yr(n,a,e),l.stateNode=t,Jl(l))}return Dt(l),null;case 5:if(On(l),n=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&Jl(l);else{if(!a){if(l.stateNode===null)throw Error(o(166));return Dt(l),null}if(u=Y.current,fa(l))Ys(l);else{var i=Lu(lt.current);switch(u){case 1:u=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=i.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?i.createElement(n,{is:a.is}):i.createElement(n)}}u[Jt]=l,u[el]=a;t:for(i=l.child;i!==null;){if(i.tag===5||i.tag===6)u.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===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=u;t:switch(Ft(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&Jl(l)}}return Dt(l),Mc(l,l.type,t===null?null:t.memoizedProps,l.pendingProps,e),null;case 6:if(t&&l.stateNode!=null)t.memoizedProps!==a&&Jl(l);else{if(typeof a!="string"&&l.stateNode===null)throw Error(o(166));if(t=lt.current,fa(l)){if(t=l.stateNode,e=l.memoizedProps,a=null,n=kt,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[Jt]=l,t=!!(t.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||nr(t.nodeValue,e)),t||ie(l,!0)}else t=Lu(t).createTextNode(a),t[Jt]=l,l.stateNode=t}return Dt(l),null;case 31:if(e=l.memoizedState,t===null||t.memoizedState!==null){if(a=fa(l),e!==null){if(t===null){if(!a)throw Error(o(318));if(t=l.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[Jt]=l}else Re(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Dt(l),t=!1}else e=Gi(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=e),t=!0;if(!t)return l.flags&256?(yl(l),l):(yl(l),null);if((l.flags&128)!==0)throw Error(o(558))}return Dt(l),null;case 13:if(a=l.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=fa(l),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(o(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));n[Jt]=l}else Re(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Dt(l),n=!1}else n=Gi(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return l.flags&256?(yl(l),l):(yl(l),null)}return yl(l),(l.flags&128)!==0?(l.lanes=e,l):(e=a!==null,t=t!==null&&t.memoizedState!==null,e&&(a=l.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),e!==t&&e&&(l.child.flags|=8192),bu(l,l.updateQueue),Dt(l),null);case 4:return Rt(),t===null&&Fc(l.stateNode.containerInfo),Dt(l),null;case 10:return Zl(l.type),Dt(l),null;case 19:if(_(Lt),a=l.memoizedState,a===null)return Dt(l),null;if(n=(l.flags&128)!==0,u=a.rendering,u===null)if(n)cn(a,!1);else{if(Ut!==0||t!==null&&(t.flags&128)!==0)for(t=l.child;t!==null;){if(u=cu(t),u!==null){for(l.flags|=128,cn(a,!1),t=u.updateQueue,l.updateQueue=t,bu(l,t),l.subtreeFlags=0,t=e,e=l.child;e!==null;)Ls(e,t),e=e.sibling;return R(Lt,Lt.current&1|2),ft&&Xl(l,a.treeForkCount),l.child}t=t.sibling}a.tail!==null&&sl()>Au&&(l.flags|=128,n=!0,cn(a,!1),l.lanes=4194304)}else{if(!n)if(t=cu(u),t!==null){if(l.flags|=128,n=!0,t=t.updateQueue,l.updateQueue=t,bu(l,t),cn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!ft)return Dt(l),null}else 2*sl()-a.renderingStartTime>Au&&e!==536870912&&(l.flags|=128,n=!0,cn(a,!1),l.lanes=4194304);a.isBackwards?(u.sibling=l.child,l.child=u):(t=a.last,t!==null?t.sibling=u:l.child=u,a.last=u)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=sl(),t.sibling=null,e=Lt.current,R(Lt,n?e&1|2:e&1),ft&&Xl(l,a.treeForkCount),t):(Dt(l),null);case 22:case 23:return yl(l),Ii(),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&&bu(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&&_(Be),null;case 24:return e=null,t!==null&&(e=t.memoizedState.cache),l.memoizedState.cache!==e&&(l.flags|=2048),Zl(Gt),Dt(l),null;case 25:return null;case 30:return null}throw Error(o(156,l.tag))}function Xm(t,l){switch(Bi(l),l.tag){case 1:return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 3:return Zl(Gt),Rt(),t=l.flags,(t&65536)!==0&&(t&128)===0?(l.flags=t&-65537|128,l):null;case 26:case 27:case 5:return On(l),null;case 31:if(l.memoizedState!==null){if(yl(l),l.alternate===null)throw Error(o(340));Re()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 13:if(yl(l),t=l.memoizedState,t!==null&&t.dehydrated!==null){if(l.alternate===null)throw Error(o(340));Re()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 19:return _(Lt),null;case 4:return Rt(),null;case 10:return Zl(l.type),null;case 22:case 23:return yl(l),Ii(),t!==null&&_(Be),t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 24:return Zl(Gt),null;case 25:return null;default:return null}}function sd(t,l){switch(Bi(l),l.tag){case 3:Zl(Gt),Rt();break;case 26:case 27:case 5:On(l);break;case 4:Rt();break;case 31:l.memoizedState!==null&&yl(l);break;case 13:yl(l);break;case 19:_(Lt);break;case 10:Zl(l.type);break;case 22:case 23:yl(l),Ii(),t!==null&&_(Be);break;case 24:Zl(Gt)}}function fn(t,l){try{var e=l.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var n=a.next;e=n;do{if((e.tag&t)===t){a=void 0;var u=e.create,i=e.inst;a=u(),i.destroy=a}e=e.next}while(e!==n)}}catch(c){bt(l,l.return,c)}}function he(t,l,e){try{var a=l.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&t)===t){var i=a.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,n=l;var d=e,S=c;try{S()}catch(x){bt(n,d,x)}}}a=a.next}while(a!==u)}}catch(x){bt(l,l.return,x)}}function od(t){var l=t.updateQueue;if(l!==null){var e=t.stateNode;try{Ps(l,e)}catch(a){bt(t,t.return,a)}}}function dd(t,l,e){e.props=Qe(t.type,t.memoizedProps),e.state=t.memoizedState;try{e.componentWillUnmount()}catch(a){bt(t,l,a)}}function sn(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(n){bt(t,l,n)}}function Ll(t,l){var e=t.ref,a=t.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(n){bt(t,l,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(n){bt(t,l,n)}else e.current=null}function rd(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(n){bt(t,t.return,n)}}function Dc(t,l,e){try{var a=t.stateNode;s0(a,t.type,e,l),a[el]=l}catch(n){bt(t,t.return,n)}}function hd(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&be(t.type)||t.tag===4}function Oc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||hd(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&&be(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 Cc(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=ql));else if(a!==4&&(a===27&&be(t.type)&&(e=t.stateNode,l=null),t=t.child,t!==null))for(Cc(t,l,e),t=t.sibling;t!==null;)Cc(t,l,e),t=t.sibling}function Eu(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&&be(t.type)&&(e=t.stateNode),t=t.child,t!==null))for(Eu(t,l,e),t=t.sibling;t!==null;)Eu(t,l,e),t=t.sibling}function md(t){var l=t.stateNode,e=t.memoizedProps;try{for(var a=t.type,n=l.attributes;n.length;)l.removeAttributeNode(n[0]);Ft(l,a,e),l[Jt]=t,l[el]=e}catch(u){bt(t,t.return,u)}}var kl=!1,Qt=!1,Uc=!1,yd=typeof WeakSet=="function"?WeakSet:Set,Kt=null;function Qm(t,l){if(t=t.containerInfo,tf=Qu,t=js(t),ji(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 n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{e.nodeType,u.nodeType}catch{e=null;break t}var i=0,c=-1,d=-1,S=0,x=0,j=t,E=null;l:for(;;){for(var z;j!==e||n!==0&&j.nodeType!==3||(c=i+n),j!==u||a!==0&&j.nodeType!==3||(d=i+a),j.nodeType===3&&(i+=j.nodeValue.length),(z=j.firstChild)!==null;)E=j,j=z;for(;;){if(j===t)break l;if(E===e&&++S===n&&(c=i),E===u&&++x===a&&(d=i),(z=j.nextSibling)!==null)break;j=E,E=j.parentNode}j=z}e=c===-1||d===-1?null:{start:c,end:d}}else e=null}e=e||{start:0,end:0}}else e=null;for(lf={focusedElem:t,selectionRange:e},Qu=!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,u=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++)n=t[e],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,e=l,n=u.memoizedProps,u=u.memoizedState,a=e.stateNode;try{var G=Qe(e.type,n);t=a.getSnapshotBeforeUpdate(G,u),a.__reactInternalSnapshotBeforeUpdate=t}catch(w){bt(e,e.return,w)}}break;case 3:if((t&1024)!==0){if(t=l.stateNode.containerInfo,e=t.nodeType,e===9)nf(t);else if(e===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":nf(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(o(163))}if(t=l.sibling,t!==null){t.return=l.return,Kt=t;break}Kt=l.return}}function vd(t,l,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:Wl(t,e),a&4&&fn(5,e);break;case 1:if(Wl(t,e),a&4)if(t=e.stateNode,l===null)try{t.componentDidMount()}catch(i){bt(e,e.return,i)}else{var n=Qe(e.type,l.memoizedProps);l=l.memoizedState;try{t.componentDidUpdate(n,l,t.__reactInternalSnapshotBeforeUpdate)}catch(i){bt(e,e.return,i)}}a&64&&od(e),a&512&&sn(e,e.return);break;case 3:if(Wl(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{Ps(t,l)}catch(i){bt(e,e.return,i)}}break;case 27:l===null&&a&4&&md(e);case 26:case 5:Wl(t,e),l===null&&a&4&&rd(e),a&512&&sn(e,e.return);break;case 12:Wl(t,e);break;case 31:Wl(t,e),a&4&&Sd(t,e);break;case 13:Wl(t,e),a&4&&bd(t,e),a&64&&(t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(e=Fm.bind(null,e),g0(t,e))));break;case 22:if(a=e.memoizedState!==null||kl,!a){l=l!==null&&l.memoizedState!==null||Qt,n=kl;var u=Qt;kl=a,(Qt=l)&&!u?Fl(t,e,(e.subtreeFlags&8772)!==0):Wl(t,e),kl=n,Qt=u}break;case 30:break;default:Wl(t,e)}}function gd(t){var l=t.alternate;l!==null&&(t.alternate=null,gd(l)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(l=t.stateNode,l!==null&&si(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,nl=!1;function $l(t,l,e){for(e=e.child;e!==null;)pd(t,l,e),e=e.sibling}function pd(t,l,e){if(ol&&typeof ol.onCommitFiberUnmount=="function")try{ol.onCommitFiberUnmount(Ca,e)}catch{}switch(e.tag){case 26:Qt||Ll(e,l),$l(t,l,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Qt||Ll(e,l);var a=Ot,n=nl;be(e.type)&&(Ot=e.stateNode,nl=!1),$l(t,l,e),pn(e.stateNode),Ot=a,nl=n;break;case 5:Qt||Ll(e,l);case 6:if(a=Ot,n=nl,Ot=null,$l(t,l,e),Ot=a,nl=n,Ot!==null)if(nl)try{(Ot.nodeType===9?Ot.body:Ot.nodeName==="HTML"?Ot.ownerDocument.body:Ot).removeChild(e.stateNode)}catch(u){bt(e,l,u)}else try{Ot.removeChild(e.stateNode)}catch(u){bt(e,l,u)}break;case 18:Ot!==null&&(nl?(t=Ot,or(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.stateNode),Ma(t)):or(Ot,e.stateNode));break;case 4:a=Ot,n=nl,Ot=e.stateNode.containerInfo,nl=!0,$l(t,l,e),Ot=a,nl=n;break;case 0:case 11:case 14:case 15:he(2,e,l),Qt||he(4,e,l),$l(t,l,e);break;case 1:Qt||(Ll(e,l),a=e.stateNode,typeof a.componentWillUnmount=="function"&&dd(e,l,a)),$l(t,l,e);break;case 21:$l(t,l,e);break;case 22:Qt=(a=Qt)||e.memoizedState!==null,$l(t,l,e),Qt=a;break;default:$l(t,l,e)}}function Sd(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ma(t)}catch(e){bt(l,l.return,e)}}}function bd(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ma(t)}catch(e){bt(l,l.return,e)}}function Zm(t){switch(t.tag){case 31:case 13:case 19:var l=t.stateNode;return l===null&&(l=t.stateNode=new yd),l;case 22:return t=t.stateNode,l=t._retryCache,l===null&&(l=t._retryCache=new yd),l;default:throw Error(o(435,t.tag))}}function zu(t,l){var e=Zm(t);l.forEach(function(a){if(!e.has(a)){e.add(a);var n=Im.bind(null,t,a);a.then(n,n)}})}function ul(t,l){var e=l.deletions;if(e!==null)for(var a=0;a<e.length;a++){var n=e[a],u=t,i=l,c=i;t:for(;c!==null;){switch(c.tag){case 27:if(be(c.type)){Ot=c.stateNode,nl=!1;break t}break;case 5:Ot=c.stateNode,nl=!1;break t;case 3:case 4:Ot=c.stateNode.containerInfo,nl=!0;break t}c=c.return}if(Ot===null)throw Error(o(160));pd(u,i,n),Ot=null,nl=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)Ed(l,t),l=l.sibling}var Dl=null;function Ed(t,l){var e=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ul(l,t),il(t),a&4&&(he(3,t,t.return),fn(3,t),he(5,t,t.return));break;case 1:ul(l,t),il(t),a&512&&(Qt||e===null||Ll(e,e.return)),a&64&&kl&&(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 n=Dl;if(ul(l,t),il(t),a&512&&(Qt||e===null||Ll(e,e.return)),a&4){var u=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,n=n.ownerDocument||n;l:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[La]||u[Jt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Ft(u,a,e),u[Jt]=t,wt(u),a=u;break t;case"link":var i=Er("link","href",n).get(a+(e.href||""));if(i){for(var c=0;c<i.length;c++)if(u=i[c],u.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&u.getAttribute("rel")===(e.rel==null?null:e.rel)&&u.getAttribute("title")===(e.title==null?null:e.title)&&u.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){i.splice(c,1);break l}}u=n.createElement(a),Ft(u,a,e),n.head.appendChild(u);break;case"meta":if(i=Er("meta","content",n).get(a+(e.content||""))){for(c=0;c<i.length;c++)if(u=i[c],u.getAttribute("content")===(e.content==null?null:""+e.content)&&u.getAttribute("name")===(e.name==null?null:e.name)&&u.getAttribute("property")===(e.property==null?null:e.property)&&u.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&u.getAttribute("charset")===(e.charSet==null?null:e.charSet)){i.splice(c,1);break l}}u=n.createElement(a),Ft(u,a,e),n.head.appendChild(u);break;default:throw Error(o(468,a))}u[Jt]=t,wt(u),a=u}t.stateNode=a}else zr(n,t.type,t.stateNode);else t.stateNode=br(n,a,t.memoizedProps);else u!==a?(u===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):u.count--,a===null?zr(n,t.type,t.stateNode):br(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Dc(t,t.memoizedProps,e.memoizedProps)}break;case 27:ul(l,t),il(t),a&512&&(Qt||e===null||Ll(e,e.return)),e!==null&&a&4&&Dc(t,t.memoizedProps,e.memoizedProps);break;case 5:if(ul(l,t),il(t),a&512&&(Qt||e===null||Ll(e,e.return)),t.flags&32){n=t.stateNode;try{Ie(n,"")}catch(G){bt(t,t.return,G)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,Dc(t,n,e!==null?e.memoizedProps:n)),a&1024&&(Uc=!0);break;case 6:if(ul(l,t),il(t),a&4){if(t.stateNode===null)throw Error(o(162));a=t.memoizedProps,e=t.stateNode;try{e.nodeValue=a}catch(G){bt(t,t.return,G)}}break;case 3:if(qu=null,n=Dl,Dl=Hu(l.containerInfo),ul(l,t),Dl=n,il(t),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Ma(l.containerInfo)}catch(G){bt(t,t.return,G)}Uc&&(Uc=!1,zd(t));break;case 4:a=Dl,Dl=Hu(t.stateNode.containerInfo),ul(l,t),il(t),Dl=a;break;case 12:ul(l,t),il(t);break;case 31:ul(l,t),il(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,zu(t,a)));break;case 13:ul(l,t),il(t),t.child.flags&8192&&t.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(xu=sl()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,zu(t,a)));break;case 22:n=t.memoizedState!==null;var d=e!==null&&e.memoizedState!==null,S=kl,x=Qt;if(kl=S||n,Qt=x||d,ul(l,t),Qt=x,kl=S,il(t),a&8192)t:for(l=t.stateNode,l._visibility=n?l._visibility&-2:l._visibility|1,n&&(e===null||d||kl||Qt||Ze(t)),e=null,l=t;;){if(l.tag===5||l.tag===26){if(e===null){d=e=l;try{if(u=d.stateNode,n)i=u.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{c=d.stateNode;var j=d.memoizedProps.style,E=j!=null&&j.hasOwnProperty("display")?j.display:null;c.style.display=E==null||typeof E=="boolean"?"":(""+E).trim()}}catch(G){bt(d,d.return,G)}}}else if(l.tag===6){if(e===null){d=l;try{d.stateNode.nodeValue=n?"":d.memoizedProps}catch(G){bt(d,d.return,G)}}}else if(l.tag===18){if(e===null){d=l;try{var z=d.stateNode;n?dr(z,!0):dr(d.stateNode,!1)}catch(G){bt(d,d.return,G)}}}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,zu(t,e))));break;case 19:ul(l,t),il(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,zu(t,a)));break;case 30:break;case 21:break;default:ul(l,t),il(t)}}function il(t){var l=t.flags;if(l&2){try{for(var e,a=t.return;a!==null;){if(hd(a)){e=a;break}a=a.return}if(e==null)throw Error(o(160));switch(e.tag){case 27:var n=e.stateNode,u=Oc(t);Eu(t,u,n);break;case 5:var i=e.stateNode;e.flags&32&&(Ie(i,""),e.flags&=-33);var c=Oc(t);Eu(t,c,i);break;case 3:case 4:var d=e.stateNode.containerInfo,S=Oc(t);Cc(t,S,d);break;default:throw Error(o(161))}}catch(x){bt(t,t.return,x)}t.flags&=-3}l&4096&&(t.flags&=-4097)}function zd(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var l=t;zd(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),t=t.sibling}}function Wl(t,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)vd(t,l.alternate,l),l=l.sibling}function Ze(t){for(t=t.child;t!==null;){var l=t;switch(l.tag){case 0:case 11:case 14:case 15:he(4,l,l.return),Ze(l);break;case 1:Ll(l,l.return);var e=l.stateNode;typeof e.componentWillUnmount=="function"&&dd(l,l.return,e),Ze(l);break;case 27:pn(l.stateNode);case 26:case 5:Ll(l,l.return),Ze(l);break;case 22:l.memoizedState===null&&Ze(l);break;case 30:Ze(l);break;default:Ze(l)}t=t.sibling}}function Fl(t,l,e){for(e=e&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var a=l.alternate,n=t,u=l,i=u.flags;switch(u.tag){case 0:case 11:case 15:Fl(n,u,e),fn(4,u);break;case 1:if(Fl(n,u,e),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(S){bt(a,a.return,S)}if(a=u,n=a.updateQueue,n!==null){var c=a.stateNode;try{var d=n.shared.hiddenCallbacks;if(d!==null)for(n.shared.hiddenCallbacks=null,n=0;n<d.length;n++)Is(d[n],c)}catch(S){bt(a,a.return,S)}}e&&i&64&&od(u),sn(u,u.return);break;case 27:md(u);case 26:case 5:Fl(n,u,e),e&&a===null&&i&4&&rd(u),sn(u,u.return);break;case 12:Fl(n,u,e);break;case 31:Fl(n,u,e),e&&i&4&&Sd(n,u);break;case 13:Fl(n,u,e),e&&i&4&&bd(n,u);break;case 22:u.memoizedState===null&&Fl(n,u,e),sn(u,u.return);break;case 30:break;default:Fl(n,u,e)}l=l.sibling}}function Rc(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&&ka(e))}function Lc(t,l){t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&ka(t))}function Ol(t,l,e,a){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Td(t,l,e,a),l=l.sibling}function Td(t,l,e,a){var n=l.flags;switch(l.tag){case 0:case 11:case 15:Ol(t,l,e,a),n&2048&&fn(9,l);break;case 1:Ol(t,l,e,a);break;case 3:Ol(t,l,e,a),n&2048&&(t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&ka(t)));break;case 12:if(n&2048){Ol(t,l,e,a),t=l.stateNode;try{var u=l.memoizedProps,i=u.id,c=u.onPostCommit;typeof c=="function"&&c(i,l.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(d){bt(l,l.return,d)}}else Ol(t,l,e,a);break;case 31:Ol(t,l,e,a);break;case 13:Ol(t,l,e,a);break;case 23:break;case 22:u=l.stateNode,i=l.alternate,l.memoizedState!==null?u._visibility&2?Ol(t,l,e,a):on(t,l):u._visibility&2?Ol(t,l,e,a):(u._visibility|=2,pa(t,l,e,a,(l.subtreeFlags&10256)!==0||!1)),n&2048&&Rc(i,l);break;case 24:Ol(t,l,e,a),n&2048&&Lc(l.alternate,l);break;default:Ol(t,l,e,a)}}function pa(t,l,e,a,n){for(n=n&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var u=t,i=l,c=e,d=a,S=i.flags;switch(i.tag){case 0:case 11:case 15:pa(u,i,c,d,n),fn(8,i);break;case 23:break;case 22:var x=i.stateNode;i.memoizedState!==null?x._visibility&2?pa(u,i,c,d,n):on(u,i):(x._visibility|=2,pa(u,i,c,d,n)),n&&S&2048&&Rc(i.alternate,i);break;case 24:pa(u,i,c,d,n),n&&S&2048&&Lc(i.alternate,i);break;default:pa(u,i,c,d,n)}l=l.sibling}}function on(t,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var e=t,a=l,n=a.flags;switch(a.tag){case 22:on(e,a),n&2048&&Rc(a.alternate,a);break;case 24:on(e,a),n&2048&&Lc(a.alternate,a);break;default:on(e,a)}l=l.sibling}}var dn=8192;function Sa(t,l,e){if(t.subtreeFlags&dn)for(t=t.child;t!==null;)xd(t,l,e),t=t.sibling}function xd(t,l,e){switch(t.tag){case 26:Sa(t,l,e),t.flags&dn&&t.memoizedState!==null&&M0(e,Dl,t.memoizedState,t.memoizedProps);break;case 5:Sa(t,l,e);break;case 3:case 4:var a=Dl;Dl=Hu(t.stateNode.containerInfo),Sa(t,l,e),Dl=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=dn,dn=16777216,Sa(t,l,e),dn=a):Sa(t,l,e));break;default:Sa(t,l,e)}}function Ad(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 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,_d(a,t)}Ad(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)jd(t),t=t.sibling}function jd(t){switch(t.tag){case 0:case 11:case 15:rn(t),t.flags&2048&&he(9,t,t.return);break;case 3:rn(t);break;case 12:rn(t);break;case 22:var l=t.stateNode;t.memoizedState!==null&&l._visibility&2&&(t.return===null||t.return.tag!==13)?(l._visibility&=-3,Tu(t)):rn(t);break;default:rn(t)}}function Tu(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,_d(a,t)}Ad(t)}for(t=t.child;t!==null;){switch(l=t,l.tag){case 0:case 11:case 15:he(8,l,l.return),Tu(l);break;case 22:e=l.stateNode,e._visibility&2&&(e._visibility&=-3,Tu(l));break;default:Tu(l)}t=t.sibling}}function _d(t,l){for(;Kt!==null;){var e=Kt;switch(e.tag){case 0:case 11:case 15:he(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:ka(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Kt=a;else t:for(e=t;Kt!==null;){a=Kt;var n=a.sibling,u=a.return;if(gd(a),a===e){Kt=null;break t}if(n!==null){n.return=u,Kt=n;break t}Kt=u}}}var Vm={getCacheForType:function(t){var l=$t(Gt),e=l.data.get(t);return e===void 0&&(e=t(),l.data.set(t,e)),e},cacheSignal:function(){return $t(Gt).controller.signal}},wm=typeof WeakMap=="function"?WeakMap:Map,mt=0,jt=null,et=null,ut=0,St=0,vl=null,me=!1,ba=!1,Hc=!1,Il=0,Ut=0,ye=0,Ve=0,Bc=0,gl=0,Ea=0,hn=null,cl=null,qc=!1,xu=0,Nd=0,Au=1/0,ju=null,ve=null,Zt=0,ge=null,za=null,Pl=0,Gc=0,Yc=null,Md=null,mn=0,Xc=null;function pl(){return(mt&2)!==0&&ut!==0?ut&-ut:T.T!==null?Jc():Vf()}function Dd(){if(gl===0)if((ut&536870912)===0||ft){var t=Rn;Rn<<=1,(Rn&3932160)===0&&(Rn=262144),gl=t}else gl=536870912;return t=ml.current,t!==null&&(t.flags|=32),gl}function fl(t,l,e){(t===jt&&(St===2||St===9)||t.cancelPendingCommit!==null)&&(Ta(t,0),pe(t,ut,gl,!1)),Ra(t,e),((mt&2)===0||t!==jt)&&(t===jt&&((mt&2)===0&&(Ve|=e),Ut===4&&pe(t,ut,gl,!1)),Hl(t))}function Od(t,l,e){if((mt&6)!==0)throw Error(o(327));var a=!e&&(l&127)===0&&(l&t.expiredLanes)===0||Ua(t,l),n=a?km(t,l):Zc(t,l,!0),u=a;do{if(n===0){ba&&!a&&pe(t,l,0,!1);break}else{if(e=t.current.alternate,u&&!Km(e)){n=Zc(t,l,!1),u=!1;continue}if(n===2){if(u=l,t.errorRecoveryDisabledLanes&u)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;n=hn;var d=c.current.memoizedState.isDehydrated;if(d&&(Ta(c,i).flags|=256),i=Zc(c,i,!1),i!==2){if(Hc&&!d){c.errorRecoveryDisabledLanes|=u,Ve|=u,n=4;break t}u=cl,cl=n,u!==null&&(cl===null?cl=u:cl.push.apply(cl,u))}n=i}if(u=!1,n!==2)continue}}if(n===1){Ta(t,0),pe(t,l,0,!0);break}t:{switch(a=t,u=n,u){case 0:case 1:throw Error(o(345));case 4:if((l&4194048)!==l)break;case 6:pe(a,l,gl,!me);break t;case 2:cl=null;break;case 3:case 5:break;default:throw Error(o(329))}if((l&62914560)===l&&(n=xu+300-sl(),10<n)){if(pe(a,l,gl,!me),Hn(a,0,!0)!==0)break t;Pl=l,a.timeoutHandle=fr(Cd.bind(null,a,e,cl,ju,qc,l,gl,Ve,Ea,me,u,"Throttled",-0,0),n);break t}Cd(a,e,cl,ju,qc,l,gl,Ve,Ea,me,u,null,-0,0)}}break}while(!0);Hl(t)}function Cd(t,l,e,a,n,u,i,c,d,S,x,j,E,z){if(t.timeoutHandle=-1,j=l.subtreeFlags,j&8192||(j&16785408)===16785408){j={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ql},xd(l,u,j);var G=(u&62914560)===u?xu-sl():(u&4194048)===u?Nd-sl():0;if(G=D0(j,G),G!==null){Pl=u,t.cancelPendingCommit=G(Yd.bind(null,t,l,u,e,a,n,i,c,d,x,j,null,E,z)),pe(t,u,i,!S);return}}Yd(t,l,u,e,a,n,i,c,d)}function Km(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 n=e[a],u=n.getSnapshot;n=n.value;try{if(!rl(u(),n))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 pe(t,l,e,a){l&=~Bc,l&=~Ve,t.suspendedLanes|=l,t.pingedLanes&=~l,a&&(t.warmLanes|=l),a=t.expirationTimes;for(var n=l;0<n;){var u=31-dl(n),i=1<<u;a[u]=-1,n&=~i}e!==0&&Xf(t,e,l)}function _u(){return(mt&6)===0?(yn(0),!1):!0}function Qc(){if(et!==null){if(St===0)var t=et.return;else t=et,Ql=Le=null,nc(t),ha=null,Wa=0,t=et;for(;t!==null;)sd(t.alternate,t),t=t.return;et=null}}function Ta(t,l){var e=t.timeoutHandle;e!==-1&&(t.timeoutHandle=-1,r0(e)),e=t.cancelPendingCommit,e!==null&&(t.cancelPendingCommit=null,e()),Pl=0,Qc(),jt=t,et=e=Yl(t.current,null),ut=l,St=0,vl=null,me=!1,ba=Ua(t,l),Hc=!1,Ea=gl=Bc=Ve=ye=Ut=0,cl=hn=null,qc=!1,(l&8)!==0&&(l|=l&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=l;0<a;){var n=31-dl(a),u=1<<n;l|=t[n],a&=~u}return Il=l,kn(),e}function Ud(t,l){F=null,T.H=nn,l===ra||l===eu?(l=ks(),St=3):l===Ki?(l=ks(),St=4):St=l===bc?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,vl=l,et===null&&(Ut=1,vu(t,zl(l,t.current)))}function Rd(){var t=ml.current;return t===null?!0:(ut&4194048)===ut?jl===null:(ut&62914560)===ut||(ut&536870912)!==0?t===jl:!1}function Ld(){var t=T.H;return T.H=nn,t===null?nn:t}function Hd(){var t=T.A;return T.A=Vm,t}function Nu(){Ut=4,me||(ut&4194048)!==ut&&ml.current!==null||(ba=!0),(ye&134217727)===0&&(Ve&134217727)===0||jt===null||pe(jt,ut,gl,!1)}function Zc(t,l,e){var a=mt;mt|=2;var n=Ld(),u=Hd();(jt!==t||ut!==l)&&(ju=null,Ta(t,l)),l=!1;var i=Ut;t:do try{if(St!==0&&et!==null){var c=et,d=vl;switch(St){case 8:Qc(),i=6;break t;case 3:case 2:case 9:case 6:ml.current===null&&(l=!0);var S=St;if(St=0,vl=null,xa(t,c,d,S),e&&ba){i=0;break t}break;default:S=St,St=0,vl=null,xa(t,c,d,S)}}Jm(),i=Ut;break}catch(x){Ud(t,x)}while(!0);return l&&t.shellSuspendCounter++,Ql=Le=null,mt=a,T.H=n,T.A=u,et===null&&(jt=null,ut=0,kn()),i}function Jm(){for(;et!==null;)Bd(et)}function km(t,l){var e=mt;mt|=2;var a=Ld(),n=Hd();jt!==t||ut!==l?(ju=null,Au=sl()+500,Ta(t,l)):ba=Ua(t,l);t:do try{if(St!==0&&et!==null){l=et;var u=vl;l:switch(St){case 1:St=0,vl=null,xa(t,l,u,1);break;case 2:case 9:if(Ks(u)){St=0,vl=null,qd(l);break}l=function(){St!==2&&St!==9||jt!==t||(St=7),Hl(t)},u.then(l,l);break t;case 3:St=7;break t;case 4:St=5;break t;case 7:Ks(u)?(St=0,vl=null,qd(l)):(St=0,vl=null,xa(t,l,u,7));break;case 5:var i=null;switch(et.tag){case 26:i=et.memoizedState;case 5:case 27:var c=et;if(i?Tr(i):c.stateNode.complete){St=0,vl=null;var d=c.sibling;if(d!==null)et=d;else{var S=c.return;S!==null?(et=S,Mu(S)):et=null}break l}}St=0,vl=null,xa(t,l,u,5);break;case 6:St=0,vl=null,xa(t,l,u,6);break;case 8:Qc(),Ut=6;break t;default:throw Error(o(462))}}$m();break}catch(x){Ud(t,x)}while(!0);return Ql=Le=null,T.H=a,T.A=n,mt=e,et!==null?0:(jt=null,ut=0,kn(),Ut)}function $m(){for(;et!==null&&!ph();)Bd(et)}function Bd(t){var l=cd(t.alternate,t,Il);t.memoizedProps=t.pendingProps,l===null?Mu(t):et=l}function qd(t){var l=t,e=l.alternate;switch(l.tag){case 15:case 0:l=ld(e,l,l.pendingProps,l.type,void 0,ut);break;case 11:l=ld(e,l,l.pendingProps,l.type.render,l.ref,ut);break;case 5:nc(l);default:sd(e,l),l=et=Ls(l,Il),l=cd(e,l,Il)}t.memoizedProps=t.pendingProps,l===null?Mu(t):et=l}function xa(t,l,e,a){Ql=Le=null,nc(l),ha=null,Wa=0;var n=l.return;try{if(Bm(t,n,l,e,ut)){Ut=1,vu(t,zl(e,t.current)),et=null;return}}catch(u){if(n!==null)throw et=n,u;Ut=1,vu(t,zl(e,t.current)),et=null;return}l.flags&32768?(ft||a===1?t=!0:ba||(ut&536870912)!==0?t=!1:(me=t=!0,(a===2||a===9||a===3||a===6)&&(a=ml.current,a!==null&&a.tag===13&&(a.flags|=16384))),Gd(l,t)):Mu(l)}function Mu(t){var l=t;do{if((l.flags&32768)!==0){Gd(l,me);return}t=l.return;var e=Ym(l.alternate,l,Il);if(e!==null){et=e;return}if(l=l.sibling,l!==null){et=l;return}et=l=t}while(l!==null);Ut===0&&(Ut=5)}function Gd(t,l){do{var e=Xm(t.alternate,t);if(e!==null){e.flags&=32767,et=e;return}if(e=t.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!l&&(t=t.sibling,t!==null)){et=t;return}et=t=e}while(t!==null);Ut=6,et=null}function Yd(t,l,e,a,n,u,i,c,d){t.cancelPendingCommit=null;do Du();while(Zt!==0);if((mt&6)!==0)throw Error(o(327));if(l!==null){if(l===t.current)throw Error(o(177));if(u=l.lanes|l.childLanes,u|=Oi,Nh(t,e,u,i,c,d),t===jt&&(et=jt=null,ut=0),za=l,ge=t,Pl=e,Gc=u,Yc=n,Md=a,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Pm(Cn,function(){return wd(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||a){a=T.T,T.T=null,n=U.p,U.p=2,i=mt,mt|=4;try{Qm(t,l,e)}finally{mt=i,U.p=n,T.T=a}}Zt=1,Xd(),Qd(),Zd()}}function Xd(){if(Zt===1){Zt=0;var t=ge,l=za,e=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||e){e=T.T,T.T=null;var a=U.p;U.p=2;var n=mt;mt|=4;try{Ed(l,t);var u=lf,i=js(t.containerInfo),c=u.focusedElem,d=u.selectionRange;if(i!==c&&c&&c.ownerDocument&&As(c.ownerDocument.documentElement,c)){if(d!==null&&ji(c)){var S=d.start,x=d.end;if(x===void 0&&(x=S),"selectionStart"in c)c.selectionStart=S,c.selectionEnd=Math.min(x,c.value.length);else{var j=c.ownerDocument||document,E=j&&j.defaultView||window;if(E.getSelection){var z=E.getSelection(),G=c.textContent.length,w=Math.min(d.start,G),xt=d.end===void 0?w:Math.min(d.end,G);!z.extend&&w>xt&&(i=xt,xt=w,w=i);var y=xs(c,w),r=xs(c,xt);if(y&&r&&(z.rangeCount!==1||z.anchorNode!==y.node||z.anchorOffset!==y.offset||z.focusNode!==r.node||z.focusOffset!==r.offset)){var g=j.createRange();g.setStart(y.node,y.offset),z.removeAllRanges(),w>xt?(z.addRange(g),z.extend(r.node,r.offset)):(g.setEnd(r.node,r.offset),z.addRange(g))}}}}for(j=[],z=c;z=z.parentNode;)z.nodeType===1&&j.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<j.length;c++){var A=j[c];A.element.scrollLeft=A.left,A.element.scrollTop=A.top}}Qu=!!tf,lf=tf=null}finally{mt=n,U.p=a,T.T=e}}t.current=l,Zt=2}}function Qd(){if(Zt===2){Zt=0;var t=ge,l=za,e=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||e){e=T.T,T.T=null;var a=U.p;U.p=2;var n=mt;mt|=4;try{vd(t,l.alternate,l)}finally{mt=n,U.p=a,T.T=e}}Zt=3}}function Zd(){if(Zt===4||Zt===3){Zt=0,Sh();var t=ge,l=za,e=Pl,a=Md;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Zt=5:(Zt=0,za=ge=null,Vd(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(ve=null),ci(e),l=l.stateNode,ol&&typeof ol.onCommitFiberRoot=="function")try{ol.onCommitFiberRoot(Ca,l,void 0,(l.current.flags&128)===128)}catch{}if(a!==null){l=T.T,n=U.p,U.p=2,T.T=null;try{for(var u=t.onRecoverableError,i=0;i<a.length;i++){var c=a[i];u(c.value,{componentStack:c.stack})}}finally{T.T=l,U.p=n}}(Pl&3)!==0&&Du(),Hl(t),n=t.pendingLanes,(e&261930)!==0&&(n&42)!==0?t===Xc?mn++:(mn=0,Xc=t):mn=0,yn(0)}}function Vd(t,l){(t.pooledCacheLanes&=l)===0&&(l=t.pooledCache,l!=null&&(t.pooledCache=null,ka(l)))}function Du(){return Xd(),Qd(),Zd(),wd()}function wd(){if(Zt!==5)return!1;var t=ge,l=Gc;Gc=0;var e=ci(Pl),a=T.T,n=U.p;try{U.p=32>e?32:e,T.T=null,e=Yc,Yc=null;var u=ge,i=Pl;if(Zt=0,za=ge=null,Pl=0,(mt&6)!==0)throw Error(o(331));var c=mt;if(mt|=4,jd(u.current),Td(u,u.current,i,e),mt=c,yn(0,!1),ol&&typeof ol.onPostCommitFiberRoot=="function")try{ol.onPostCommitFiberRoot(Ca,u)}catch{}return!0}finally{U.p=n,T.T=a,Vd(t,l)}}function Kd(t,l,e){l=zl(e,l),l=Sc(t.stateNode,l,2),t=oe(t,l,2),t!==null&&(Ra(t,2),Hl(t))}function bt(t,l,e){if(t.tag===3)Kd(t,t,e);else for(;l!==null;){if(l.tag===3){Kd(l,t,e);break}else if(l.tag===1){var a=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ve===null||!ve.has(a))){t=zl(e,t),e=Jo(2),a=oe(l,e,2),a!==null&&(ko(e,a,l,t),Ra(a,2),Hl(a));break}}l=l.return}}function Vc(t,l,e){var a=t.pingCache;if(a===null){a=t.pingCache=new wm;var n=new Set;a.set(l,n)}else n=a.get(l),n===void 0&&(n=new Set,a.set(l,n));n.has(e)||(Hc=!0,n.add(e),t=Wm.bind(null,t,l,e),l.then(t,t))}function Wm(t,l,e){var a=t.pingCache;a!==null&&a.delete(l),t.pingedLanes|=t.suspendedLanes&e,t.warmLanes&=~e,jt===t&&(ut&e)===e&&(Ut===4||Ut===3&&(ut&62914560)===ut&&300>sl()-xu?(mt&2)===0&&Ta(t,0):Bc|=e,Ea===ut&&(Ea=0)),Hl(t)}function Jd(t,l){l===0&&(l=Yf()),t=Ce(t,l),t!==null&&(Ra(t,l),Hl(t))}function Fm(t){var l=t.memoizedState,e=0;l!==null&&(e=l.retryLane),Jd(t,e)}function Im(t,l){var e=0;switch(t.tag){case 31:case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(e=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(l),Jd(t,e)}function Pm(t,l){return ai(t,l)}var Ou=null,Aa=null,wc=!1,Cu=!1,Kc=!1,Se=0;function Hl(t){t!==Aa&&t.next===null&&(Aa===null?Ou=Aa=t:Aa=Aa.next=t),Cu=!0,wc||(wc=!0,l0())}function yn(t,l){if(!Kc&&Cu){Kc=!0;do for(var e=!1,a=Ou;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var i=a.suspendedLanes,c=a.pingedLanes;u=(1<<31-dl(42|t)+1)-1,u&=n&~(i&~c),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(e=!0,Fd(a,u))}else u=ut,u=Hn(a,a===jt?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Ua(a,u)||(e=!0,Fd(a,u));a=a.next}while(e);Kc=!1}}function t0(){kd()}function kd(){Cu=wc=!1;var t=0;Se!==0&&d0()&&(t=Se);for(var l=sl(),e=null,a=Ou;a!==null;){var n=a.next,u=$d(a,l);u===0?(a.next=null,e===null?Ou=n:e.next=n,n===null&&(Aa=e)):(e=a,(t!==0||(u&3)!==0)&&(Cu=!0)),a=n}Zt!==0&&Zt!==5||yn(t),Se!==0&&(Se=0)}function $d(t,l){for(var e=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var i=31-dl(u),c=1<<i,d=n[i];d===-1?((c&e)===0||(c&a)!==0)&&(n[i]=_h(c,l)):d<=l&&(t.expiredLanes|=c),u&=~c}if(l=jt,e=ut,e=Hn(t,t===l?e:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,e===0||t===l&&(St===2||St===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&ni(a),t.callbackNode=null,t.callbackPriority=0;if((e&3)===0||Ua(t,e)){if(l=e&-e,l===t.callbackPriority)return l;switch(a!==null&&ni(a),ci(e)){case 2:case 8:e=qf;break;case 32:e=Cn;break;case 268435456:e=Gf;break;default:e=Cn}return a=Wd.bind(null,t),e=ai(e,a),t.callbackPriority=l,t.callbackNode=e,l}return a!==null&&a!==null&&ni(a),t.callbackPriority=2,t.callbackNode=null,2}function Wd(t,l){if(Zt!==0&&Zt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var e=t.callbackNode;if(Du()&&t.callbackNode!==e)return null;var a=ut;return a=Hn(t,t===jt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Od(t,a,l),$d(t,sl()),t.callbackNode!=null&&t.callbackNode===e?Wd.bind(null,t):null)}function Fd(t,l){if(Du())return null;Od(t,l,!0)}function l0(){h0(function(){(mt&6)!==0?ai(Bf,t0):kd()})}function Jc(){if(Se===0){var t=oa;t===0&&(t=Un,Un<<=1,(Un&261888)===0&&(Un=256)),Se=t}return Se}function Id(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Yn(""+t)}function Pd(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 e0(t,l,e,a,n){if(l==="submit"&&e&&e.stateNode===n){var u=Id((n[el]||null).action),i=a.submitter;i&&(l=(l=i[el]||null)?Id(l.formAction):i.getAttribute("formAction"),l!==null&&(u=l,i=null));var c=new Vn("action","action",null,a,n);t.push({event:c,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Se!==0){var d=i?Pd(n,i):new FormData(n);hc(e,{pending:!0,data:d,method:n.method,action:u},null,d)}}else typeof u=="function"&&(c.preventDefault(),d=i?Pd(n,i):new FormData(n),hc(e,{pending:!0,data:d,method:n.method,action:u},u,d))},currentTarget:n}]})}}for(var kc=0;kc<Di.length;kc++){var $c=Di[kc],a0=$c.toLowerCase(),n0=$c[0].toUpperCase()+$c.slice(1);Ml(a0,"on"+n0)}Ml(Ms,"onAnimationEnd"),Ml(Ds,"onAnimationIteration"),Ml(Os,"onAnimationStart"),Ml("dblclick","onDoubleClick"),Ml("focusin","onFocus"),Ml("focusout","onBlur"),Ml(bm,"onTransitionRun"),Ml(Em,"onTransitionStart"),Ml(zm,"onTransitionCancel"),Ml(Cs,"onTransitionEnd"),We("onMouseEnter",["mouseout","mouseover"]),We("onMouseLeave",["mouseout","mouseover"]),We("onPointerEnter",["pointerout","pointerover"]),We("onPointerLeave",["pointerout","pointerover"]),Ne("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ne("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ne("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ne("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ne("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ne("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vn="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(" "),u0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(vn));function tr(t,l){l=(l&4)!==0;for(var e=0;e<t.length;e++){var a=t[e],n=a.event;a=a.listeners;t:{var u=void 0;if(l)for(var i=a.length-1;0<=i;i--){var c=a[i],d=c.instance,S=c.currentTarget;if(c=c.listener,d!==u&&n.isPropagationStopped())break t;u=c,n.currentTarget=S;try{u(n)}catch(x){Jn(x)}n.currentTarget=null,u=d}else for(i=0;i<a.length;i++){if(c=a[i],d=c.instance,S=c.currentTarget,c=c.listener,d!==u&&n.isPropagationStopped())break t;u=c,n.currentTarget=S;try{u(n)}catch(x){Jn(x)}n.currentTarget=null,u=d}}}}function at(t,l){var e=l[fi];e===void 0&&(e=l[fi]=new Set);var a=t+"__bubble";e.has(a)||(lr(l,t,2,!1),e.add(a))}function Wc(t,l,e){var a=0;l&&(a|=4),lr(e,t,a,l)}var Uu="_reactListening"+Math.random().toString(36).slice(2);function Fc(t){if(!t[Uu]){t[Uu]=!0,Jf.forEach(function(e){e!=="selectionchange"&&(u0.has(e)||Wc(e,!1,t),Wc(e,!0,t))});var l=t.nodeType===9?t:t.ownerDocument;l===null||l[Uu]||(l[Uu]=!0,Wc("selectionchange",!1,l))}}function lr(t,l,e,a){switch(Dr(l)){case 2:var n=U0;break;case 8:n=R0;break;default:n=hf}e=n.bind(null,l,e,t),n=void 0,!gi||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(l,e,{capture:!0,passive:n}):t.addEventListener(l,e,!0):n!==void 0?t.addEventListener(l,e,{passive:n}):t.addEventListener(l,e,!1)}function Ic(t,l,e,a,n){var u=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===n)break;if(i===4)for(i=a.return;i!==null;){var d=i.tag;if((d===3||d===4)&&i.stateNode.containerInfo===n)return;i=i.return}for(;c!==null;){if(i=Je(c),i===null)return;if(d=i.tag,d===5||d===6||d===26||d===27){a=u=i;continue t}c=c.parentNode}}a=a.return}us(function(){var S=u,x=yi(e),j=[];t:{var E=Us.get(t);if(E!==void 0){var z=Vn,G=t;switch(t){case"keypress":if(Qn(e)===0)break t;case"keydown":case"keyup":z=Ih;break;case"focusin":G="focus",z=Ei;break;case"focusout":G="blur",z=Ei;break;case"beforeblur":case"afterblur":z=Ei;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":z=fs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=Yh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=lm;break;case Ms:case Ds:case Os:z=Zh;break;case Cs:z=am;break;case"scroll":case"scrollend":z=qh;break;case"wheel":z=um;break;case"copy":case"cut":case"paste":z=wh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=os;break;case"toggle":case"beforetoggle":z=cm}var w=(l&4)!==0,xt=!w&&(t==="scroll"||t==="scrollend"),y=w?E!==null?E+"Capture":null:E;w=[];for(var r=S,g;r!==null;){var A=r;if(g=A.stateNode,A=A.tag,A!==5&&A!==26&&A!==27||g===null||y===null||(A=Ba(r,y),A!=null&&w.push(gn(r,A,g))),xt)break;r=r.return}0<w.length&&(E=new z(E,G,null,e,x),j.push({event:E,listeners:w}))}}if((l&7)===0){t:{if(E=t==="mouseover"||t==="pointerover",z=t==="mouseout"||t==="pointerout",E&&e!==mi&&(G=e.relatedTarget||e.fromElement)&&(Je(G)||G[Ke]))break t;if((z||E)&&(E=x.window===x?x:(E=x.ownerDocument)?E.defaultView||E.parentWindow:window,z?(G=e.relatedTarget||e.toElement,z=S,G=G?Je(G):null,G!==null&&(xt=D(G),w=G.tag,G!==xt||w!==5&&w!==27&&w!==6)&&(G=null)):(z=null,G=S),z!==G)){if(w=fs,A="onMouseLeave",y="onMouseEnter",r="mouse",(t==="pointerout"||t==="pointerover")&&(w=os,A="onPointerLeave",y="onPointerEnter",r="pointer"),xt=z==null?E:Ha(z),g=G==null?E:Ha(G),E=new w(A,r+"leave",z,e,x),E.target=xt,E.relatedTarget=g,A=null,Je(x)===S&&(w=new w(y,r+"enter",G,e,x),w.target=g,w.relatedTarget=xt,A=w),xt=A,z&&G)l:{for(w=i0,y=z,r=G,g=0,A=y;A;A=w(A))g++;A=0;for(var V=r;V;V=w(V))A++;for(;0<g-A;)y=w(y),g--;for(;0<A-g;)r=w(r),A--;for(;g--;){if(y===r||r!==null&&y===r.alternate){w=y;break l}y=w(y),r=w(r)}w=null}else w=null;z!==null&&er(j,E,z,w,!1),G!==null&&xt!==null&&er(j,xt,G,w,!0)}}t:{if(E=S?Ha(S):window,z=E.nodeName&&E.nodeName.toLowerCase(),z==="select"||z==="input"&&E.type==="file")var ot=ps;else if(vs(E))if(Ss)ot=gm;else{ot=ym;var X=mm}else z=E.nodeName,!z||z.toLowerCase()!=="input"||E.type!=="checkbox"&&E.type!=="radio"?S&&hi(S.elementType)&&(ot=ps):ot=vm;if(ot&&(ot=ot(t,S))){gs(j,ot,e,x);break t}X&&X(t,E,S),t==="focusout"&&S&&E.type==="number"&&S.memoizedProps.value!=null&&ri(E,"number",E.value)}switch(X=S?Ha(S):window,t){case"focusin":(vs(X)||X.contentEditable==="true")&&(ea=X,_i=S,wa=null);break;case"focusout":wa=_i=ea=null;break;case"mousedown":Ni=!0;break;case"contextmenu":case"mouseup":case"dragend":Ni=!1,_s(j,e,x);break;case"selectionchange":if(Sm)break;case"keydown":case"keyup":_s(j,e,x)}var I;if(Ti)t:{switch(t){case"compositionstart":var it="onCompositionStart";break t;case"compositionend":it="onCompositionEnd";break t;case"compositionupdate":it="onCompositionUpdate";break t}it=void 0}else la?ms(t,e)&&(it="onCompositionEnd"):t==="keydown"&&e.keyCode===229&&(it="onCompositionStart");it&&(ds&&e.locale!=="ko"&&(la||it!=="onCompositionStart"?it==="onCompositionEnd"&&la&&(I=is()):(ae=x,pi="value"in ae?ae.value:ae.textContent,la=!0)),X=Ru(S,it),0<X.length&&(it=new ss(it,t,null,e,x),j.push({event:it,listeners:X}),I?it.data=I:(I=ys(e),I!==null&&(it.data=I)))),(I=sm?om(t,e):dm(t,e))&&(it=Ru(S,"onBeforeInput"),0<it.length&&(X=new ss("onBeforeInput","beforeinput",null,e,x),j.push({event:X,listeners:it}),X.data=I)),e0(j,t,S,e,x)}tr(j,l)})}function gn(t,l,e){return{instance:t,listener:l,currentTarget:e}}function Ru(t,l){for(var e=l+"Capture",a=[];t!==null;){var n=t,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=Ba(t,e),n!=null&&a.unshift(gn(t,n,u)),n=Ba(t,l),n!=null&&a.push(gn(t,n,u))),t.tag===3)return a;t=t.return}return[]}function i0(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function er(t,l,e,a,n){for(var u=l._reactName,i=[];e!==null&&e!==a;){var c=e,d=c.alternate,S=c.stateNode;if(c=c.tag,d!==null&&d===a)break;c!==5&&c!==26&&c!==27||S===null||(d=S,n?(S=Ba(e,u),S!=null&&i.unshift(gn(e,S,d))):n||(S=Ba(e,u),S!=null&&i.push(gn(e,S,d)))),e=e.return}i.length!==0&&t.push({event:l,listeners:i})}var c0=/\r\n?/g,f0=/\u0000|\uFFFD/g;function ar(t){return(typeof t=="string"?t:""+t).replace(c0,`
|
|
49
|
+
`).replace(f0,"")}function nr(t,l){return l=ar(l),ar(t)===l}function Tt(t,l,e,a,n,u){switch(e){case"children":typeof a=="string"?l==="body"||l==="textarea"&&a===""||Ie(t,a):(typeof a=="number"||typeof a=="bigint")&&l!=="body"&&Ie(t,""+a);break;case"className":qn(t,"class",a);break;case"tabIndex":qn(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":qn(t,e,a);break;case"style":as(t,a,u);break;case"data":if(l!=="object"){qn(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=Yn(""+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 u=="function"&&(e==="formAction"?(l!=="input"&&Tt(t,l,"name",n.name,n,null),Tt(t,l,"formEncType",n.formEncType,n,null),Tt(t,l,"formMethod",n.formMethod,n,null),Tt(t,l,"formTarget",n.formTarget,n,null)):(Tt(t,l,"encType",n.encType,n,null),Tt(t,l,"method",n.method,n,null),Tt(t,l,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=Yn(""+a),t.setAttribute(e,a);break;case"onClick":a!=null&&(t.onclick=ql);break;case"onScroll":a!=null&&at("scroll",t);break;case"onScrollEnd":a!=null&&at("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(o(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=Yn(""+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":at("beforetoggle",t),at("toggle",t),Bn(t,"popover",a);break;case"xlinkActuate":Bl(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Bl(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Bl(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Bl(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Bl(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Bl(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Bl(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Bl(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Bl(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Bn(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=Hh.get(e)||e,Bn(t,e,a))}}function Pc(t,l,e,a,n,u){switch(e){case"style":as(t,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(o(60));t.innerHTML=e}}break;case"children":typeof a=="string"?Ie(t,a):(typeof a=="number"||typeof a=="bigint")&&Ie(t,""+a);break;case"onScroll":a!=null&&at("scroll",t);break;case"onScrollEnd":a!=null&&at("scrollend",t);break;case"onClick":a!=null&&(t.onclick=ql);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!kf.hasOwnProperty(e))t:{if(e[0]==="o"&&e[1]==="n"&&(n=e.endsWith("Capture"),l=e.slice(2,n?e.length-7:void 0),u=t[el]||null,u=u!=null?u[e]:null,typeof u=="function"&&t.removeEventListener(l,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(e in t?t[e]=null:t.hasAttribute(e)&&t.removeAttribute(e)),t.addEventListener(l,a,n);break t}e in t?t[e]=a:a===!0?t.setAttribute(e,""):Bn(t,e,a)}}}function Ft(t,l,e){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":at("error",t),at("load",t);var a=!1,n=!1,u;for(u in e)if(e.hasOwnProperty(u)){var i=e[u];if(i!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,l));default:Tt(t,l,u,i,e,null)}}n&&Tt(t,l,"srcSet",e.srcSet,e,null),a&&Tt(t,l,"src",e.src,e,null);return;case"input":at("invalid",t);var c=u=i=n=null,d=null,S=null;for(a in e)if(e.hasOwnProperty(a)){var x=e[a];if(x!=null)switch(a){case"name":n=x;break;case"type":i=x;break;case"checked":d=x;break;case"defaultChecked":S=x;break;case"value":u=x;break;case"defaultValue":c=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(o(137,l));break;default:Tt(t,l,a,x,e,null)}}Pf(t,u,c,d,S,i,n,!1);return;case"select":at("invalid",t),a=i=u=null;for(n in e)if(e.hasOwnProperty(n)&&(c=e[n],c!=null))switch(n){case"value":u=c;break;case"defaultValue":i=c;break;case"multiple":a=c;default:Tt(t,l,n,c,e,null)}l=u,e=i,t.multiple=!!a,l!=null?Fe(t,!!a,l,!1):e!=null&&Fe(t,!!a,e,!0);return;case"textarea":at("invalid",t),u=n=a=null;for(i in e)if(e.hasOwnProperty(i)&&(c=e[i],c!=null))switch(i){case"value":a=c;break;case"defaultValue":n=c;break;case"children":u=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(o(91));break;default:Tt(t,l,i,c,e,null)}ls(t,a,n,u);return;case"option":for(d in e)if(e.hasOwnProperty(d)&&(a=e[d],a!=null))switch(d){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Tt(t,l,d,a,e,null)}return;case"dialog":at("beforetoggle",t),at("toggle",t),at("cancel",t),at("close",t);break;case"iframe":case"object":at("load",t);break;case"video":case"audio":for(a=0;a<vn.length;a++)at(vn[a],t);break;case"image":at("error",t),at("load",t);break;case"details":at("toggle",t);break;case"embed":case"source":case"link":at("error",t),at("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(S in e)if(e.hasOwnProperty(S)&&(a=e[S],a!=null))switch(S){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,l));default:Tt(t,l,S,a,e,null)}return;default:if(hi(l)){for(x in e)e.hasOwnProperty(x)&&(a=e[x],a!==void 0&&Pc(t,l,x,a,e,void 0));return}}for(c in e)e.hasOwnProperty(c)&&(a=e[c],a!=null&&Tt(t,l,c,a,e,null))}function s0(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 n=null,u=null,i=null,c=null,d=null,S=null,x=null;for(z in e){var j=e[z];if(e.hasOwnProperty(z)&&j!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":d=j;default:a.hasOwnProperty(z)||Tt(t,l,z,null,a,j)}}for(var E in a){var z=a[E];if(j=e[E],a.hasOwnProperty(E)&&(z!=null||j!=null))switch(E){case"type":u=z;break;case"name":n=z;break;case"checked":S=z;break;case"defaultChecked":x=z;break;case"value":i=z;break;case"defaultValue":c=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,l));break;default:z!==j&&Tt(t,l,E,z,a,j)}}di(t,i,c,d,S,x,u,n);return;case"select":z=i=c=E=null;for(u in e)if(d=e[u],e.hasOwnProperty(u)&&d!=null)switch(u){case"value":break;case"multiple":z=d;default:a.hasOwnProperty(u)||Tt(t,l,u,null,a,d)}for(n in a)if(u=a[n],d=e[n],a.hasOwnProperty(n)&&(u!=null||d!=null))switch(n){case"value":E=u;break;case"defaultValue":c=u;break;case"multiple":i=u;default:u!==d&&Tt(t,l,n,u,a,d)}l=c,e=i,a=z,E!=null?Fe(t,!!e,E,!1):!!a!=!!e&&(l!=null?Fe(t,!!e,l,!0):Fe(t,!!e,e?[]:"",!1));return;case"textarea":z=E=null;for(c in e)if(n=e[c],e.hasOwnProperty(c)&&n!=null&&!a.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:Tt(t,l,c,null,a,n)}for(i in a)if(n=a[i],u=e[i],a.hasOwnProperty(i)&&(n!=null||u!=null))switch(i){case"value":E=n;break;case"defaultValue":z=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(o(91));break;default:n!==u&&Tt(t,l,i,n,a,u)}ts(t,E,z);return;case"option":for(var G in e)if(E=e[G],e.hasOwnProperty(G)&&E!=null&&!a.hasOwnProperty(G))switch(G){case"selected":t.selected=!1;break;default:Tt(t,l,G,null,a,E)}for(d in a)if(E=a[d],z=e[d],a.hasOwnProperty(d)&&E!==z&&(E!=null||z!=null))switch(d){case"selected":t.selected=E&&typeof E!="function"&&typeof E!="symbol";break;default:Tt(t,l,d,E,a,z)}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 w in e)E=e[w],e.hasOwnProperty(w)&&E!=null&&!a.hasOwnProperty(w)&&Tt(t,l,w,null,a,E);for(S in a)if(E=a[S],z=e[S],a.hasOwnProperty(S)&&E!==z&&(E!=null||z!=null))switch(S){case"children":case"dangerouslySetInnerHTML":if(E!=null)throw Error(o(137,l));break;default:Tt(t,l,S,E,a,z)}return;default:if(hi(l)){for(var xt in e)E=e[xt],e.hasOwnProperty(xt)&&E!==void 0&&!a.hasOwnProperty(xt)&&Pc(t,l,xt,void 0,a,E);for(x in a)E=a[x],z=e[x],!a.hasOwnProperty(x)||E===z||E===void 0&&z===void 0||Pc(t,l,x,E,a,z);return}}for(var y in e)E=e[y],e.hasOwnProperty(y)&&E!=null&&!a.hasOwnProperty(y)&&Tt(t,l,y,null,a,E);for(j in a)E=a[j],z=e[j],!a.hasOwnProperty(j)||E===z||E==null&&z==null||Tt(t,l,j,E,a,z)}function ur(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function o0(){if(typeof performance.getEntriesByType=="function"){for(var t=0,l=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var n=e[a],u=n.transferSize,i=n.initiatorType,c=n.duration;if(u&&c&&ur(i)){for(i=0,c=n.responseEnd,a+=1;a<e.length;a++){var d=e[a],S=d.startTime;if(S>c)break;var x=d.transferSize,j=d.initiatorType;x&&ur(j)&&(d=d.responseEnd,i+=x*(d<c?1:(c-S)/(d-S)))}if(--a,l+=8*(u+i)/(n.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 tf=null,lf=null;function Lu(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 cr(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 ef(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 af=null;function d0(){var t=window.event;return t&&t.type==="popstate"?t===af?!1:(af=t,!0):(af=null,!1)}var fr=typeof setTimeout=="function"?setTimeout:void 0,r0=typeof clearTimeout=="function"?clearTimeout:void 0,sr=typeof Promise=="function"?Promise:void 0,h0=typeof queueMicrotask=="function"?queueMicrotask:typeof sr<"u"?function(t){return sr.resolve(null).then(t).catch(m0)}:fr;function m0(t){setTimeout(function(){throw t})}function be(t){return t==="head"}function or(t,l){var e=l,a=0;do{var n=e.nextSibling;if(t.removeChild(e),n&&n.nodeType===8)if(e=n.data,e==="/$"||e==="/&"){if(a===0){t.removeChild(n),Ma(l);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")pn(t.ownerDocument.documentElement);else if(e==="head"){e=t.ownerDocument.head,pn(e);for(var u=e.firstChild;u;){var i=u.nextSibling,c=u.nodeName;u[La]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&u.rel.toLowerCase()==="stylesheet"||e.removeChild(u),u=i}}else e==="body"&&pn(t.ownerDocument.body);e=n}while(e);Ma(l)}function dr(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 nf(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":nf(e),si(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}t.removeChild(e)}}function y0(t,l,e,a){for(;t.nodeType===1;){var n=e;if(t.nodeName.toLowerCase()!==l.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[La])switch(l){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(l==="input"&&t.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=_l(t.nextSibling),t===null)break}return null}function v0(t,l,e){if(l==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=_l(t.nextSibling),t===null))return null;return t}function rr(t,l){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=_l(t.nextSibling),t===null))return null;return t}function uf(t){return t.data==="$?"||t.data==="$~"}function cf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function g0(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 _l(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 ff=null;function hr(t){t=t.nextSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="/$"||e==="/&"){if(l===0)return _l(t.nextSibling);l--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||l++}t=t.nextSibling}return null}function mr(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 yr(t,l,e){switch(l=Lu(e),t){case"html":if(t=l.documentElement,!t)throw Error(o(452));return t;case"head":if(t=l.head,!t)throw Error(o(453));return t;case"body":if(t=l.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function pn(t){for(var l=t.attributes;l.length;)t.removeAttributeNode(l[0]);si(t)}var Nl=new Map,vr=new Set;function Hu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var te=U.d;U.d={f:p0,r:S0,D:b0,C:E0,L:z0,m:T0,X:A0,S:x0,M:j0};function p0(){var t=te.f(),l=_u();return t||l}function S0(t){var l=ke(t);l!==null&&l.tag===5&&l.type==="form"?Uo(l):te.r(t)}var ja=typeof document>"u"?null:document;function gr(t,l,e){var a=ja;if(a&&typeof l=="string"&&l){var n=bl(l);n='link[rel="'+t+'"][href="'+n+'"]',typeof e=="string"&&(n+='[crossorigin="'+e+'"]'),vr.has(n)||(vr.add(n),t={rel:t,crossOrigin:e,href:l},a.querySelector(n)===null&&(l=a.createElement("link"),Ft(l,"link",t),wt(l),a.head.appendChild(l)))}}function b0(t){te.D(t),gr("dns-prefetch",t,null)}function E0(t,l){te.C(t,l),gr("preconnect",t,l)}function z0(t,l,e){te.L(t,l,e);var a=ja;if(a&&t&&l){var n='link[rel="preload"][as="'+bl(l)+'"]';l==="image"&&e&&e.imageSrcSet?(n+='[imagesrcset="'+bl(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(n+='[imagesizes="'+bl(e.imageSizes)+'"]')):n+='[href="'+bl(t)+'"]';var u=n;switch(l){case"style":u=_a(t);break;case"script":u=Na(t)}Nl.has(u)||(t=H({rel:"preload",href:l==="image"&&e&&e.imageSrcSet?void 0:t,as:l},e),Nl.set(u,t),a.querySelector(n)!==null||l==="style"&&a.querySelector(Sn(u))||l==="script"&&a.querySelector(bn(u))||(l=a.createElement("link"),Ft(l,"link",t),wt(l),a.head.appendChild(l)))}}function T0(t,l){te.m(t,l);var e=ja;if(e&&t){var a=l&&typeof l.as=="string"?l.as:"script",n='link[rel="modulepreload"][as="'+bl(a)+'"][href="'+bl(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Na(t)}if(!Nl.has(u)&&(t=H({rel:"modulepreload",href:t},l),Nl.set(u,t),e.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(bn(u)))return}a=e.createElement("link"),Ft(a,"link",t),wt(a),e.head.appendChild(a)}}}function x0(t,l,e){te.S(t,l,e);var a=ja;if(a&&t){var n=$e(a).hoistableStyles,u=_a(t);l=l||"default";var i=n.get(u);if(!i){var c={loading:0,preload:null};if(i=a.querySelector(Sn(u)))c.loading=5;else{t=H({rel:"stylesheet",href:t,"data-precedence":l},e),(e=Nl.get(u))&&sf(t,e);var d=i=a.createElement("link");wt(d),Ft(d,"link",t),d._p=new Promise(function(S,x){d.onload=S,d.onerror=x}),d.addEventListener("load",function(){c.loading|=1}),d.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Bu(i,l,a)}i={type:"stylesheet",instance:i,count:1,state:c},n.set(u,i)}}}function A0(t,l){te.X(t,l);var e=ja;if(e&&t){var a=$e(e).hoistableScripts,n=Na(t),u=a.get(n);u||(u=e.querySelector(bn(n)),u||(t=H({src:t,async:!0},l),(l=Nl.get(n))&&of(t,l),u=e.createElement("script"),wt(u),Ft(u,"link",t),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function j0(t,l){te.M(t,l);var e=ja;if(e&&t){var a=$e(e).hoistableScripts,n=Na(t),u=a.get(n);u||(u=e.querySelector(bn(n)),u||(t=H({src:t,async:!0,type:"module"},l),(l=Nl.get(n))&&of(t,l),u=e.createElement("script"),wt(u),Ft(u,"link",t),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function pr(t,l,e,a){var n=(n=lt.current)?Hu(n):null;if(!n)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(l=_a(e.href),e=$e(n).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=_a(e.href);var u=$e(n).hoistableStyles,i=u.get(t);if(i||(n=n.ownerDocument||n,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,i),(u=n.querySelector(Sn(t)))&&!u._p&&(i.instance=u,i.state.loading=5),Nl.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},Nl.set(t,e),u||_0(n,t,e,i.state))),l&&a===null)throw Error(o(528,""));return i}if(l&&a!==null)throw Error(o(529,""));return null;case"script":return l=e.async,e=e.src,typeof e=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Na(e),e=$e(n).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(o(444,t))}}function _a(t){return'href="'+bl(t)+'"'}function Sn(t){return'link[rel="stylesheet"]['+t+"]"}function Sr(t){return H({},t,{"data-precedence":t.precedence,precedence:null})}function _0(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}),Ft(l,"link",e),wt(l),t.head.appendChild(l))}function Na(t){return'[src="'+bl(t)+'"]'}function bn(t){return"script[async]"+t}function br(t,l,e){if(l.count++,l.instance===null)switch(l.type){case"style":var a=t.querySelector('style[data-href~="'+bl(e.href)+'"]');if(a)return l.instance=a,wt(a),a;var n=H({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),wt(a),Ft(a,"style",n),Bu(a,e.precedence,t),l.instance=a;case"stylesheet":n=_a(e.href);var u=t.querySelector(Sn(n));if(u)return l.state.loading|=4,l.instance=u,wt(u),u;a=Sr(e),(n=Nl.get(n))&&sf(a,n),u=(t.ownerDocument||t).createElement("link"),wt(u);var i=u;return i._p=new Promise(function(c,d){i.onload=c,i.onerror=d}),Ft(u,"link",a),l.state.loading|=4,Bu(u,e.precedence,t),l.instance=u;case"script":return u=Na(e.src),(n=t.querySelector(bn(u)))?(l.instance=n,wt(n),n):(a=e,(n=Nl.get(u))&&(a=H({},e),of(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),wt(n),Ft(n,"link",a),t.head.appendChild(n),l.instance=n);case"void":return null;default:throw Error(o(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(a=l.instance,l.state.loading|=4,Bu(a,e.precedence,t));return l.instance}function Bu(t,l,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,i=0;i<a.length;i++){var c=a[i];if(c.dataset.precedence===l)u=c;else if(u!==n)break}u?u.parentNode.insertBefore(t,u.nextSibling):(l=e.nodeType===9?e.head:e,l.insertBefore(t,l.firstChild))}function sf(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.title==null&&(t.title=l.title)}function of(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.integrity==null&&(t.integrity=l.integrity)}var qu=null;function Er(t,l,e){if(qu===null){var a=new Map,n=qu=new Map;n.set(e,a)}else n=qu,a=n.get(e),a||(a=new Map,n.set(e,a));if(a.has(t))return a;for(a.set(t,null),e=e.getElementsByTagName(t),n=0;n<e.length;n++){var u=e[n];if(!(u[La]||u[Jt]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var i=u.getAttribute(l)||"";i=t+i;var c=a.get(i);c?c.push(u):a.set(i,[u])}}return a}function zr(t,l,e){t=t.ownerDocument||t,t.head.insertBefore(e,l==="title"?t.querySelector("head > title"):null)}function N0(t,l,e){if(e===1||l.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return t=l.disabled,typeof l.precedence=="string"&&t==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Tr(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function M0(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 n=_a(a.href),u=l.querySelector(Sn(n));if(u){l=u._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(t.count++,t=Gu.bind(t),l.then(t,t)),e.state.loading|=4,e.instance=u,wt(u);return}u=l.ownerDocument||l,a=Sr(a),(n=Nl.get(n))&&sf(a,n),u=u.createElement("link"),wt(u);var i=u;i._p=new Promise(function(c,d){i.onload=c,i.onerror=d}),Ft(u,"link",a),e.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(e,l),(l=e.state.preload)&&(e.state.loading&3)===0&&(t.count++,e=Gu.bind(t),l.addEventListener("load",e),l.addEventListener("error",e))}}var df=0;function D0(t,l){return t.stylesheets&&t.count===0&&Xu(t,t.stylesheets),0<t.count||0<t.imgCount?function(e){var a=setTimeout(function(){if(t.stylesheets&&Xu(t,t.stylesheets),t.unsuspend){var u=t.unsuspend;t.unsuspend=null,u()}},6e4+l);0<t.imgBytes&&df===0&&(df=62500*o0());var n=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Xu(t,t.stylesheets),t.unsuspend)){var u=t.unsuspend;t.unsuspend=null,u()}},(t.imgBytes>df?50:800)+l);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function Gu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Yu=null;function Xu(t,l){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Yu=new Map,l.forEach(O0,t),Yu=null,Gu.call(t))}function O0(t,l){if(!(l.state.loading&4)){var e=Yu.get(t);if(e)var a=e.get(null);else{e=new Map,Yu.set(t,e);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var i=n[u];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(e.set(i.dataset.precedence,i),a=i)}a&&e.set(null,a)}n=l.instance,i=n.getAttribute("data-precedence"),u=e.get(i)||a,u===a&&e.set(null,n),e.set(i,n),this.count++,a=Gu.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),l.state.loading|=4}}var En={$$typeof:gt,Provider:null,Consumer:null,_currentValue:K,_currentValue2:K,_threadCount:0};function C0(t,l,e,a,n,u,i,c,d){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=ui(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ui(0),this.hiddenUpdates=ui(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=d,this.incompleteTransitions=new Map}function xr(t,l,e,a,n,u,i,c,d,S,x,j){return t=new C0(t,l,e,i,d,S,x,j,c),l=1,u===!0&&(l|=24),u=hl(3,null,null,l),t.current=u,u.stateNode=t,l=Zi(),l.refCount++,t.pooledCache=l,l.refCount++,u.memoizedState={element:a,isDehydrated:e,cache:l},Ji(u),t}function Ar(t){return t?(t=ua,t):ua}function jr(t,l,e,a,n,u){n=Ar(n),a.context===null?a.context=n:a.pendingContext=n,a=se(l),a.payload={element:e},u=u===void 0?null:u,u!==null&&(a.callback=u),e=oe(t,a,l),e!==null&&(fl(e,t,l),Ia(e,t,l))}function _r(t,l){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var e=t.retryLane;t.retryLane=e!==0&&e<l?e:l}}function rf(t,l){_r(t,l),(t=t.alternate)&&_r(t,l)}function Nr(t){if(t.tag===13||t.tag===31){var l=Ce(t,67108864);l!==null&&fl(l,t,67108864),rf(t,67108864)}}function Mr(t){if(t.tag===13||t.tag===31){var l=pl();l=ii(l);var e=Ce(t,l);e!==null&&fl(e,t,l),rf(t,l)}}var Qu=!0;function U0(t,l,e,a){var n=T.T;T.T=null;var u=U.p;try{U.p=2,hf(t,l,e,a)}finally{U.p=u,T.T=n}}function R0(t,l,e,a){var n=T.T;T.T=null;var u=U.p;try{U.p=8,hf(t,l,e,a)}finally{U.p=u,T.T=n}}function hf(t,l,e,a){if(Qu){var n=mf(a);if(n===null)Ic(t,l,a,Zu,e),Or(t,a);else if(H0(n,t,l,e,a))a.stopPropagation();else if(Or(t,a),l&4&&-1<L0.indexOf(t)){for(;n!==null;){var u=ke(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var i=_e(u.pendingLanes);if(i!==0){var c=u;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var d=1<<31-dl(i);c.entanglements[1]|=d,i&=~d}Hl(u),(mt&6)===0&&(Au=sl()+500,yn(0))}}break;case 31:case 13:c=Ce(u,2),c!==null&&fl(c,u,2),_u(),rf(u,2)}if(u=mf(a),u===null&&Ic(t,l,a,Zu,e),u===n)break;n=u}n!==null&&a.stopPropagation()}else Ic(t,l,a,null,e)}}function mf(t){return t=yi(t),yf(t)}var Zu=null;function yf(t){if(Zu=null,t=Je(t),t!==null){var l=D(t);if(l===null)t=null;else{var e=l.tag;if(e===13){if(t=M(l),t!==null)return t;t=null}else if(e===31){if(t=C(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 Zu=t,null}function Dr(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(bh()){case Bf:return 2;case qf:return 8;case Cn:case Eh:return 32;case Gf:return 268435456;default:return 32}default:return 32}}var vf=!1,Ee=null,ze=null,Te=null,zn=new Map,Tn=new Map,xe=[],L0="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 Or(t,l){switch(t){case"focusin":case"focusout":Ee=null;break;case"dragenter":case"dragleave":ze=null;break;case"mouseover":case"mouseout":Te=null;break;case"pointerover":case"pointerout":zn.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tn.delete(l.pointerId)}}function xn(t,l,e,a,n,u){return t===null||t.nativeEvent!==u?(t={blockedOn:l,domEventName:e,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},l!==null&&(l=ke(l),l!==null&&Nr(l)),t):(t.eventSystemFlags|=a,l=t.targetContainers,n!==null&&l.indexOf(n)===-1&&l.push(n),t)}function H0(t,l,e,a,n){switch(l){case"focusin":return Ee=xn(Ee,t,l,e,a,n),!0;case"dragenter":return ze=xn(ze,t,l,e,a,n),!0;case"mouseover":return Te=xn(Te,t,l,e,a,n),!0;case"pointerover":var u=n.pointerId;return zn.set(u,xn(zn.get(u)||null,t,l,e,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Tn.set(u,xn(Tn.get(u)||null,t,l,e,a,n)),!0}return!1}function Cr(t){var l=Je(t.target);if(l!==null){var e=D(l);if(e!==null){if(l=e.tag,l===13){if(l=M(e),l!==null){t.blockedOn=l,wf(t.priority,function(){Mr(e)});return}}else if(l===31){if(l=C(e),l!==null){t.blockedOn=l,wf(t.priority,function(){Mr(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 Vu(t){if(t.blockedOn!==null)return!1;for(var l=t.targetContainers;0<l.length;){var e=mf(t.nativeEvent);if(e===null){e=t.nativeEvent;var a=new e.constructor(e.type,e);mi=a,e.target.dispatchEvent(a),mi=null}else return l=ke(e),l!==null&&Nr(l),t.blockedOn=e,!1;l.shift()}return!0}function Ur(t,l,e){Vu(t)&&e.delete(l)}function B0(){vf=!1,Ee!==null&&Vu(Ee)&&(Ee=null),ze!==null&&Vu(ze)&&(ze=null),Te!==null&&Vu(Te)&&(Te=null),zn.forEach(Ur),Tn.forEach(Ur)}function wu(t,l){t.blockedOn===l&&(t.blockedOn=null,vf||(vf=!0,f.unstable_scheduleCallback(f.unstable_NormalPriority,B0)))}var Ku=null;function Rr(t){Ku!==t&&(Ku=t,f.unstable_scheduleCallback(f.unstable_NormalPriority,function(){Ku===t&&(Ku=null);for(var l=0;l<t.length;l+=3){var e=t[l],a=t[l+1],n=t[l+2];if(typeof a!="function"){if(yf(a||e)===null)continue;break}var u=ke(e);u!==null&&(t.splice(l,3),l-=3,hc(u,{pending:!0,data:n,method:e.method,action:a},a,n))}}))}function Ma(t){function l(d){return wu(d,t)}Ee!==null&&wu(Ee,t),ze!==null&&wu(ze,t),Te!==null&&wu(Te,t),zn.forEach(l),Tn.forEach(l);for(var e=0;e<xe.length;e++){var a=xe[e];a.blockedOn===t&&(a.blockedOn=null)}for(;0<xe.length&&(e=xe[0],e.blockedOn===null);)Cr(e),e.blockedOn===null&&xe.shift();if(e=(t.ownerDocument||t).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var n=e[a],u=e[a+1],i=n[el]||null;if(typeof u=="function")i||Rr(e);else if(i){var c=null;if(u&&u.hasAttribute("formAction")){if(n=u,i=u[el]||null)c=i.formAction;else if(yf(n)!==null)continue}else c=i.action;typeof c=="function"?e[a+1]=c:(e.splice(a,3),a-=3),Rr(e)}}}function Lr(){function t(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(i){return n=i})},focusReset:"manual",scroll:"manual"})}function l(){n!==null&&(n(),n=null),a||setTimeout(e,20)}function e(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",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),n!==null&&(n(),n=null)}}}function gf(t){this._internalRoot=t}Ju.prototype.render=gf.prototype.render=function(t){var l=this._internalRoot;if(l===null)throw Error(o(409));var e=l.current,a=pl();jr(e,a,t,l,null,null)},Ju.prototype.unmount=gf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var l=t.containerInfo;jr(t.current,2,null,t,null,null),_u(),l[Ke]=null}};function Ju(t){this._internalRoot=t}Ju.prototype.unstable_scheduleHydration=function(t){if(t){var l=Vf();t={blockedOn:null,target:t,priority:l};for(var e=0;e<xe.length&&l!==0&&l<xe[e].priority;e++);xe.splice(e,0,t),e===0&&Cr(t)}};var Hr=m.version;if(Hr!=="19.2.6")throw Error(o(527,Hr,"19.2.6"));U.findDOMNode=function(t){var l=t._reactInternals;if(l===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=p(l),t=t!==null?L(t):null,t=t===null?null:t.stateNode,t};var q0={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:T,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ku=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ku.isDisabled&&ku.supportsFiber)try{Ca=ku.inject(q0),ol=ku}catch{}}return jn.createRoot=function(t,l){if(!N(t))throw Error(o(299));var e=!1,a="",n=Zo,u=Vo,i=wo;return l!=null&&(l.unstable_strictMode===!0&&(e=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(n=l.onUncaughtError),l.onCaughtError!==void 0&&(u=l.onCaughtError),l.onRecoverableError!==void 0&&(i=l.onRecoverableError)),l=xr(t,1,!1,null,null,e,a,null,n,u,i,Lr),t[Ke]=l.current,Fc(t),new gf(l)},jn.hydrateRoot=function(t,l,e){if(!N(t))throw Error(o(299));var a=!1,n="",u=Zo,i=Vo,c=wo,d=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError),e.formState!==void 0&&(d=e.formState)),l=xr(t,1,!0,l,e??null,a,n,d,u,i,c,Lr),l.context=Ar(null),e=l.current,a=pl(),a=ii(a),n=se(a),n.callback=null,oe(e,n,a),e=a,l.current.lanes=e,Ra(l,e),Hl(l),t[Ke]=l.current,Fc(t),new Ju(l)},jn.version="19.2.6",jn}var Kr;function $0(){if(Kr)return bf.exports;Kr=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(m){console.error(m)}}return f(),bf.exports=k0(),bf.exports}var W0=$0();/**
|
|
50
|
+
* @license lucide-react v1.16.0 - ISC
|
|
51
|
+
*
|
|
52
|
+
* This source code is licensed under the ISC license.
|
|
53
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
54
|
+
*/const uh=(...f)=>f.filter((m,v,o)=>!!m&&m.trim()!==""&&o.indexOf(m)===v).join(" ").trim();/**
|
|
55
|
+
* @license lucide-react v1.16.0 - ISC
|
|
56
|
+
*
|
|
57
|
+
* This source code is licensed under the ISC license.
|
|
58
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
59
|
+
*/const F0=f=>f.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
60
|
+
* @license lucide-react v1.16.0 - ISC
|
|
61
|
+
*
|
|
62
|
+
* This source code is licensed under the ISC license.
|
|
63
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
64
|
+
*/const I0=f=>f.replace(/^([A-Z])|[\s-_]+(\w)/g,(m,v,o)=>o?o.toUpperCase():v.toLowerCase());/**
|
|
65
|
+
* @license lucide-react v1.16.0 - ISC
|
|
66
|
+
*
|
|
67
|
+
* This source code is licensed under the ISC license.
|
|
68
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
69
|
+
*/const Jr=f=>{const m=I0(f);return m.charAt(0).toUpperCase()+m.slice(1)};/**
|
|
70
|
+
* @license lucide-react v1.16.0 - ISC
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the ISC license.
|
|
73
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/var xf={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
75
|
+
* @license lucide-react v1.16.0 - ISC
|
|
76
|
+
*
|
|
77
|
+
* This source code is licensed under the ISC license.
|
|
78
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
79
|
+
*/const P0=f=>{for(const m in f)if(m.startsWith("aria-")||m==="role"||m==="title")return!0;return!1},ty=yt.createContext({}),ly=()=>yt.useContext(ty),ey=yt.forwardRef(({color:f,size:m,strokeWidth:v,absoluteStrokeWidth:o,className:N="",children:D,iconNode:M,...C},b)=>{const{size:p=24,strokeWidth:L=2,absoluteStrokeWidth:H=!1,color:tt="currentColor",className:k=""}=ly()??{},ct=o??H?Number(v??L)*24/Number(m??p):v??L;return yt.createElement("svg",{ref:b,...xf,width:m??p??xf.width,height:m??p??xf.height,stroke:f??tt,strokeWidth:ct,className:uh("lucide",k,N),...!D&&!P0(C)&&{"aria-hidden":"true"},...C},[...M.map(([rt,Bt])=>yt.createElement(rt,Bt)),...Array.isArray(D)?D:[D]])});/**
|
|
80
|
+
* @license lucide-react v1.16.0 - ISC
|
|
81
|
+
*
|
|
82
|
+
* This source code is licensed under the ISC license.
|
|
83
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
84
|
+
*/const Pt=(f,m)=>{const v=yt.forwardRef(({className:o,...N},D)=>yt.createElement(ey,{ref:D,iconNode:m,className:uh(`lucide-${F0(Jr(f))}`,`lucide-${f}`,o),...N}));return v.displayName=Jr(f),v};/**
|
|
85
|
+
* @license lucide-react v1.16.0 - ISC
|
|
86
|
+
*
|
|
87
|
+
* This source code is licensed under the ISC license.
|
|
88
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
89
|
+
*/const ay=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ny=Pt("arrow-right",ay);/**
|
|
90
|
+
* @license lucide-react v1.16.0 - ISC
|
|
91
|
+
*
|
|
92
|
+
* This source code is licensed under the ISC license.
|
|
93
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
94
|
+
*/const uy=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Dn=Pt("check",uy);/**
|
|
95
|
+
* @license lucide-react v1.16.0 - ISC
|
|
96
|
+
*
|
|
97
|
+
* This source code is licensed under the ISC license.
|
|
98
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
99
|
+
*/const iy=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ih=Pt("chevron-down",iy);/**
|
|
100
|
+
* @license lucide-react v1.16.0 - ISC
|
|
101
|
+
*
|
|
102
|
+
* This source code is licensed under the ISC license.
|
|
103
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
104
|
+
*/const cy=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],fy=Pt("chevron-right",cy);/**
|
|
105
|
+
* @license lucide-react v1.16.0 - ISC
|
|
106
|
+
*
|
|
107
|
+
* This source code is licensed under the ISC license.
|
|
108
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
109
|
+
*/const sy=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],oy=Pt("clipboard",sy);/**
|
|
110
|
+
* @license lucide-react v1.16.0 - ISC
|
|
111
|
+
*
|
|
112
|
+
* This source code is licensed under the ISC license.
|
|
113
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
114
|
+
*/const dy=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],ry=Pt("code-xml",dy);/**
|
|
115
|
+
* @license lucide-react v1.16.0 - ISC
|
|
116
|
+
*
|
|
117
|
+
* This source code is licensed under the ISC license.
|
|
118
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
119
|
+
*/const hy=[["path",{d:"M14 22h4a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v6",key:"14cnrg"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M5 14a1 1 0 0 0-1 1v2a1 1 0 0 1-1 1 1 1 0 0 1 1 1v2a1 1 0 0 0 1 1",key:"sr0ebq"}],["path",{d:"M9 22a1 1 0 0 0 1-1v-2a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-2a1 1 0 0 0-1-1",key:"w793db"}]],my=Pt("file-braces-corner",hy);/**
|
|
120
|
+
* @license lucide-react v1.16.0 - ISC
|
|
121
|
+
*
|
|
122
|
+
* This source code is licensed under the ISC license.
|
|
123
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
124
|
+
*/const yy=[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]],vy=Pt("file-code-corner",yy);/**
|
|
125
|
+
* @license lucide-react v1.16.0 - ISC
|
|
126
|
+
*
|
|
127
|
+
* This source code is licensed under the ISC license.
|
|
128
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
129
|
+
*/const gy=[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]],Uf=Pt("git-branch",gy);/**
|
|
130
|
+
* @license lucide-react v1.16.0 - ISC
|
|
131
|
+
*
|
|
132
|
+
* This source code is licensed under the ISC license.
|
|
133
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
134
|
+
*/const py=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Sy=Pt("loader-circle",py);/**
|
|
135
|
+
* @license lucide-react v1.16.0 - ISC
|
|
136
|
+
*
|
|
137
|
+
* This source code is licensed under the ISC license.
|
|
138
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
139
|
+
*/const by=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 8v6",key:"1ib9pf"}],["path",{d:"M9 11h6",key:"1fldmi"}]],Ey=Pt("message-square-plus",by);/**
|
|
140
|
+
* @license lucide-react v1.16.0 - ISC
|
|
141
|
+
*
|
|
142
|
+
* This source code is licensed under the ISC license.
|
|
143
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
144
|
+
*/const zy=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],ch=Pt("message-square",zy);/**
|
|
145
|
+
* @license lucide-react v1.16.0 - ISC
|
|
146
|
+
*
|
|
147
|
+
* This source code is licensed under the ISC license.
|
|
148
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
149
|
+
*/const Ty=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],xy=Pt("play",Ty);/**
|
|
150
|
+
* @license lucide-react v1.16.0 - ISC
|
|
151
|
+
*
|
|
152
|
+
* This source code is licensed under the ISC license.
|
|
153
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
154
|
+
*/const Ay=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],jy=Pt("send",Ay);/**
|
|
155
|
+
* @license lucide-react v1.16.0 - ISC
|
|
156
|
+
*
|
|
157
|
+
* This source code is licensed under the ISC license.
|
|
158
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
159
|
+
*/const _y=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Nf=Pt("terminal",_y);/**
|
|
160
|
+
* @license lucide-react v1.16.0 - ISC
|
|
161
|
+
*
|
|
162
|
+
* This source code is licensed under the ISC license.
|
|
163
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
164
|
+
*/const Ny=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],fh=Pt("trash-2",Ny),My="brew install iamrajjoshi/tap/gloss",Dy="npm install -g getgloss",Oy="gloss open --json",Af="npx getgloss open --json",kr="npx skills add iamrajjoshi/gloss --skill gloss -g -a claude-code",Cy={side:"R",startLine:45,endLine:45},Uy=[{id:"seed-human-review",side:"R",startLine:45,endLine:45,body:"Apply the review feedback before resolving the thread so the agent cannot skip the human pass.",createdAt:"2026-05-23T00:00:00.000Z"}],$r=[{key:"open-review",oldLine:38,newLine:38,side:"R",tone:"neutral",code:"const review = await gloss.open({ base: 'HEAD' });"},{key:"add-reviewer",oldLine:39,newLine:39,side:"R",tone:"neutral",hiddenUntilExpanded:!0,code:"review.addReviewer('human');"},{key:"blocking-mode",oldLine:40,newLine:40,side:"R",tone:"neutral",hiddenUntilExpanded:!0,code:"review.setMode('blocking');"},{key:"wait-feedback",oldLine:41,newLine:41,side:"R",tone:"neutral",hiddenUntilExpanded:!0,code:"const feedback = await review.waitForFeedback();"},{key:"filter-comments",oldLine:42,newLine:42,side:"R",tone:"neutral",code:"const comments = feedback.comments.filter((comment) => comment.actionable);"},{key:"skip-review",oldLine:43,side:"L",tone:"remove",code:"agent.resumeWithoutReview();"},{key:"skip-status",oldLine:44,side:"L",tone:"remove",code:"agent.postStatus('review skipped');"},{key:"guard-comments",newLine:45,side:"R",tone:"add",code:"if (comments.length > 0) {"},{key:"apply-feedback",newLine:46,side:"R",tone:"add",code:" await agent.applyFeedback(comments);"},{key:"resolve-threads",newLine:47,side:"R",tone:"add",code:" await review.resolveThreads(comments);"},{key:"run-checks",newLine:48,side:"R",tone:"add",code:" await agent.runChecks(['pnpm check', 'pnpm test']);"},{key:"close-guard",newLine:49,side:"R",tone:"add",code:"}"},{key:"write-markdown",newLine:50,side:"R",tone:"add",code:"await review.writeFeedbackMarkdown();"},{key:"attach-validation",newLine:51,side:"R",tone:"add",code:"await review.attachValidation('pnpm test');"},{key:"resume-reviewed",newLine:52,side:"R",tone:"add",code:"await agent.resume({ reviewed: true });"},{key:"summary",oldLine:45,newLine:53,side:"R",tone:"neutral",code:"return review.summary();"}];function Ry(f){return f.startLine===f.endLine?`Comment on line ${f.side}${f.startLine}`:`Comment on range ${f.side}${Math.min(f.startLine,f.endLine)}-${f.side}${Math.max(f.startLine,f.endLine)}`}function Ly(f,m){const v=typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now()}-${Math.random().toString(16).slice(2)}`;return{...m,id:v,body:f,createdAt:new Date().toISOString()}}function Mf({value:f,label:m}){const[v,o]=yt.useState(!1);return s.jsxs("button",{className:"marketing-copy",type:"button",onClick:async()=>{await navigator.clipboard.writeText(f),o(!0),window.setTimeout(()=>o(!1),1400)},children:[v?s.jsx(Dn,{size:15}):s.jsx(oy,{size:15}),s.jsx("span",{children:v?"Copied":m})]})}function $u({command:f}){return s.jsxs("div",{className:"command-line",children:[s.jsx("span",{children:"$"}),s.jsx("code",{children:f}),s.jsx(Mf,{value:f,label:"Copy"})]})}function Hy(){const[f,m]=yt.useState(!0),[v,o]=yt.useState(Cy),[N,D]=yt.useState(!1),[M,C]=yt.useState(null),[b,p]=yt.useState(""),[L,H]=yt.useState(Uy),[tt,k]=yt.useState("idle"),ct=tt==="submitted",rt=L.find(O=>O.id===M),Bt=Ry(v),Nt=b.trim(),vt=`${L.length} review comment${L.length===1?"":"s"}`,gt=ct?[{marker:"✓",text:"review.completed received"},{marker:"→",text:"reading ~/.gloss/reviews/01KS5/feedback.json"},{marker:"→",text:`applying ${vt}`},{marker:"→",text:"running pnpm check"}]:[{marker:"$",text:"gloss open --json"},{marker:"→",text:"captured 4 files, +128 -31"},{marker:"→",text:"waiting for review.completed"}],qt=f?$r:$r.filter(O=>!O.hiddenUntilExpanded),Q=yt.useMemo(()=>JSON.stringify({reviewId:"01KS5...",comments:L.map(O=>({filePath:"src/web/routes/MarketingHome.tsx",side:O.side,startLine:O.startLine,endLine:O.endLine,body:O.body}))},null,2),[L]),B=(O,st)=>v.side===O&&v.startLine===st&&v.endLine===st,q=O=>{o(O),C(null),p(""),D(!0),k("idle")},nt=O=>{o({side:O.side,startLine:O.startLine,endLine:O.endLine}),C(O.id),p(O.body),D(!0),k("idle")},Z=()=>{Nt&&(H(O=>M?O.map(st=>st.id===M?{...st,body:Nt}:st):[...O,Ly(Nt,v)]),p(""),C(null),D(!1),k("idle"))},_t=O=>{H(st=>st.filter(ht=>ht.id!==O)),M===O&&(C(null),p(""),D(!1)),k("idle")},P=(O,st)=>L.filter(ht=>ht.side===O&&Math.max(ht.startLine,ht.endLine)===st&&Math.min(ht.startLine,ht.endLine)===st),$=(O,st)=>P(O,st).map(ht=>s.jsxs("div",{className:"scene-inline-comment",children:[s.jsxs("button",{className:"scene-inline-comment-body",type:"button",onClick:()=>nt(ht),children:[s.jsx(ch,{size:14}),s.jsx("span",{children:ht.body})]}),s.jsx("button",{className:"scene-inline-comment-remove",type:"button",title:`Remove comment on ${ht.side}${ht.startLine}`,onClick:()=>_t(ht.id),children:s.jsx(fh,{size:13})})]},ht.id));return s.jsxs("section",{className:"hero-scene","aria-label":"Simulated Gloss code review",children:[s.jsxs("div",{className:"scene-topbar",children:[s.jsxs("div",{className:"scene-brand",children:[s.jsx("img",{className:"brand-mark",src:"/logo.svg",alt:"","aria-hidden":"true"}),s.jsx("span",{children:"Gloss review"})]}),s.jsxs("div",{className:"scene-meta",children:[s.jsx(Uf,{size:14}),s.jsx("span",{children:"raj--gloss--static-site"})]})]}),s.jsxs("div",{className:"scene-shell",children:[s.jsxs("div",{className:"scene-terminal",children:[s.jsxs("div",{className:"terminal-header",children:[s.jsx(Nf,{size:14}),s.jsx("span",{children:ct?"Claude Code":"agent terminal"})]}),s.jsx("div",{className:"terminal-lines",children:gt.map(O=>s.jsxs("p",{children:[s.jsx("span",{children:O.marker})," ",O.text]},O.text))})]}),s.jsxs("div",{className:"scene-review",children:[s.jsxs("button",{className:"scene-file-header",type:"button",children:[s.jsx(ih,{size:16}),s.jsx(ry,{size:15}),s.jsx("span",{children:"src/web/routes/MarketingHome.tsx"}),s.jsx("b",{className:"scene-add",children:"+74"}),s.jsx("b",{className:"scene-del",children:"-6"})]}),s.jsx("button",{className:"scene-hidden",type:"button",onClick:()=>m(O=>!O),children:f?"Hide unchanged context":"194 unmodified lines"}),s.jsx("div",{className:"scene-hunk",children:"@@ -38,11 +38,20 @@ export function MarketingHome()"}),qt.map(O=>{const st=O.side==="L"?O.oldLine:O.newLine;if(st==null)return null;const ht=B(O.side,st),T=ct&&(O.key==="skip-review"||O.key==="skip-status"),U=ct&&["apply-feedback","resolve-threads","run-checks"].includes(O.key);return s.jsxs("div",{children:[s.jsxs("button",{className:`scene-row ${O.tone} ${O.hiddenUntilExpanded?"dimmed":""} ${ht?"selected":""} ${T?"agent-dimmed":""} ${U?"agent-applied":""}`,type:"button","aria-pressed":ht,onClick:()=>q({side:O.side,startLine:st,endLine:st}),children:[s.jsx("span",{children:O.oldLine??""}),s.jsx("span",{children:O.newLine??""}),s.jsx("code",{children:O.code||" "})]}),ct&&O.key==="apply-feedback"?s.jsxs("div",{className:"scene-applied-status",children:[s.jsx(Dn,{size:13}),s.jsx("span",{children:"applied by Claude Code"})]}):null,$(O.side,st),N&&v.side===O.side&&v.endLine===st?s.jsxs("div",{className:"scene-composer",children:[s.jsxs("div",{className:"scene-composer-title",children:[s.jsx("strong",{children:rt?"Review comment":"New local comment"}),s.jsx("span",{children:Bt})]}),s.jsx("textarea",{"aria-label":Bt,placeholder:"Request change",value:b,onChange:K=>p(K.target.value)}),s.jsxs("div",{className:"scene-composer-actions",children:[s.jsx("button",{className:"scene-secondary-action",type:"button",onClick:()=>{p(""),C(null),D(!1)},children:"Cancel"}),s.jsx("button",{type:"button",disabled:!Nt,onClick:Z,children:rt?"Update":"Comment"})]})]}):null]},O.key)})]}),s.jsx("div",{className:"scene-feedback",children:ct?s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"feedback-title",children:[s.jsx(Nf,{size:15}),s.jsx("span",{children:"Claude Code is updating"})]}),s.jsxs("div",{className:"agent-update-card",children:[s.jsx("code",{children:"~/.gloss/reviews/01KS5/feedback.json"}),s.jsx("ul",{children:["Read feedback","Applied comment","Validated"].map(O=>s.jsxs("li",{children:[s.jsx(Dn,{size:13}),s.jsx("span",{children:O})]},O))})]})]}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"feedback-title",children:[s.jsx(my,{size:15}),s.jsx("span",{children:"~/.gloss/reviews/01KS5/feedback.json"})]}),s.jsx("pre",{children:Q})]})})]}),s.jsxs("div",{className:"scene-submit",children:[s.jsx("span",{children:L.length===0?"No local comments yet":ct?"Sent to Claude Code":`${L.length} local comment${L.length===1?"":"s"} ready`}),s.jsxs("button",{type:"button",disabled:L.length===0,onClick:()=>k("submitted"),children:[ct?s.jsx(Dn,{size:14}):s.jsx(xy,{size:14}),ct?"Sent to Claude Code":"Submit review"]})]})]})}function _n({step:f,title:m,body:v}){return s.jsxs("div",{className:"workflow-step",children:[s.jsx("span",{children:f}),s.jsxs("div",{children:[s.jsx("h3",{children:m}),s.jsx("p",{children:v})]})]})}function By(){return s.jsxs("main",{className:"marketing-page",children:[s.jsxs("section",{className:"marketing-hero",children:[s.jsxs("div",{className:"hero-copy",children:[s.jsxs("div",{className:"hero-copy-main",children:[s.jsx("div",{className:"hero-logo",children:s.jsx("img",{className:"brand-mark",src:"/logo-mark.svg",alt:"Gloss logo"})}),s.jsx("h1",{children:"Gloss"}),s.jsx("p",{className:"hero-subtitle",children:"Comment on local diffs before handing the tree back."}),s.jsx("p",{className:"hero-body",children:"Gloss opens your working-tree diff in a local browser, then sends review comments back to your agent as JSON and Markdown."}),s.jsxs("div",{className:"hero-actions",children:[s.jsxs("a",{className:"hero-primary",href:"#install",children:["Install with Homebrew",s.jsx(ny,{size:17})]}),s.jsx("a",{className:"hero-secondary",href:"/setup/",children:"Agent setup"})]})]}),s.jsxs("aside",{className:"hero-quickstart","aria-label":"Quick start command",children:[s.jsx("span",{children:"Run without setup"}),s.jsx("code",{children:Af}),s.jsx(Mf,{value:Af,label:"Copy command"})]})]}),s.jsx(Hy,{})]}),s.jsxs("section",{className:"marketing-band install-band",id:"install",children:[s.jsxs("div",{className:"section-heading",children:[s.jsx("p",{children:"Install"}),s.jsx("h2",{children:"Start the review loop in one command."})]}),s.jsxs("div",{className:"install-grid",children:[s.jsx($u,{command:My}),s.jsx($u,{command:Dy}),s.jsx($u,{command:Oy}),s.jsx($u,{command:Af})]}),s.jsxs("div",{className:"agent-prompt",children:[s.jsxs("div",{className:"agent-prompt-label",children:[s.jsx(Nf,{size:18}),s.jsx("span",{children:"Packaged skill"})]}),s.jsx("p",{children:"Install the bundled agent skill so Claude Code knows when to open Gloss and how to use the feedback."}),s.jsx("div",{className:"agent-prompt-links",children:s.jsx("a",{href:"/setup/",children:"Agent setup"})}),s.jsxs("div",{className:"agent-skill-command",children:[s.jsx("code",{children:kr}),s.jsx(Mf,{value:kr,label:"Copy install"})]})]})]}),s.jsxs("section",{className:"marketing-band workflow-band",id:"workflow",children:[s.jsx("div",{className:"section-heading",children:s.jsx("p",{children:"How it works"})}),s.jsxs("div",{className:"workflow-story",children:[s.jsx(_n,{step:"01",title:"Open a review",body:"The agent runs `gloss open --json`."}),s.jsx(_n,{step:"02",title:"Wait",body:"Gloss blocks while you review the diff."}),s.jsx(_n,{step:"03",title:"Receive feedback",body:"The agent reads `feedbackPath`."}),s.jsx(_n,{step:"04",title:"Fix and validate",body:"The agent applies comments and runs checks."}),s.jsx(_n,{step:"05",title:"Resolve",body:"The agent marks the review handled."})]})]}),s.jsxs("section",{className:"marketing-band contract-band",id:"contract",children:[s.jsxs("div",{className:"section-heading",children:[s.jsx("p",{children:"Output"}),s.jsx("h2",{children:"What the agent reads."})]}),s.jsxs("div",{className:"contract-layout",children:[s.jsx("pre",{children:`~/.gloss/reviews/<reviewId>/feedback.json
|
|
165
|
+
~/.gloss/reviews/<reviewId>/feedback.md
|
|
166
|
+
~/.gloss/reviews/<reviewId>/resolved.json`}),s.jsx("div",{className:"contract-copy",children:s.jsxs("p",{children:[s.jsx("code",{children:"feedback.json"})," is the machine-readable handoff; ",s.jsx("code",{children:"feedback.md"})," ","is the human-readable copy."]})})]})]}),s.jsx("footer",{className:"marketing-footer",children:s.jsxs("a",{href:"https://github.com/iamrajjoshi/gloss",target:"_blank",rel:"noreferrer",children:[s.jsx(Uf,{size:16}),s.jsx("span",{children:"GitHub"})]})})]})}async function sh(f){if(!f.ok)throw new Error(`${f.status}: ${await f.text()}`);return await f.json()}async function qy(f){return sh(await fetch(`/api/reviews/${f}`))}async function Gy(f,m){return sh(await fetch(`/api/reviews/${f}/submit`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({comments:m})}))}(()=>{try{return!1}catch{return!1}})();const Yy=/(?=^From [a-f0-9]+ .+$)/m,oh=/(?=^diff --git)/gm,Wr=/(?=^---\s+\S)/gm,Xy=/^(---|\+\+\+)\s+([^\t\r\n]+)/,Qy=/^(---|\+\+\+)\s+[ab]\/([^\t\r\n]+)/,Zy=/^diff --git (?:"a\/(.+?)"|a\/(.+?)) (?:"b\/(.+?)"|b\/(.+?))$/,Vy=/^index ([0-9a-f]+)\.\.([0-9a-f]+)(?: (\d+))?$/i;function Fr(f){return f.replace(/\n$|\r\n$/,"")}const wy=new TextEncoder,Ky=new TextDecoder("utf-8",{ignoreBOM:!0}),Jy=/[\uD800-\uDFFF]/,Df=1024;let Da=new Uint8Array(Df);function ky(){Da.length!==Df&&(Da=new Uint8Array(Df))}function Vt(f){if(f.length===0)return f;if(Jy.test(f))return JSON.parse(JSON.stringify(f));const m=f.length*3;Da.length<m&&(Da=new Uint8Array(m));const{written:v}=wy.encodeInto(f,Da);return Ky.decode(Da.subarray(0,v))}function $y(f,m,v){try{return Wy(f,m,v)}finally{ky()}}function Wy(f,m,v=!1){const o=ev(f),N=o?rh(f,"diff --git"):f.split(Wr);let D;const M=[];for(const C of N){if(o&&!oh.test(C)){if(D==null)D=Vt(C);else{if(v)throw Error("parsePatchContent: unknown file blob");console.error("parsePatchContent: unknown file blob:",C)}continue}else if(!o&&!Wr.test(C)){if(D==null)D=Vt(C);else{if(v)throw Error("parsePatchContent: unknown file blob");console.error("parsePatchContent: unknown file blob:",C)}continue}const b=Fy(C,{cacheKey:m!=null?`${m}-${M.length}`:void 0,isGitDiff:o,throwOnError:v});b!=null&&M.push(b)}return{patchMetadata:D,files:M}}function Fy(f,{cacheKey:m,isGitDiff:v=oh.test(f),oldFile:o,newFile:N,throwOnError:D=!1}={}){let M=0;const C=rh(f,"@@ ");let b;const p=o==null||N==null;let L=0,H=0;for(const tt of C){const k=dh(tt),ct=k[0];if(ct==null){if(D)throw Error("parsePatchContent: invalid hunk");console.error("parsePatchContent: invalid hunk",tt);continue}const rt=tv(ct);let Bt=0,Nt=0;if(rt==null||b==null){if(b!=null){if(D)throw Error("parsePatchContent: Invalid hunk");console.error("parsePatchContent: Invalid hunk",tt);continue}b={name:"",type:"change",hunks:[],splitLineCount:0,unifiedLineCount:0,isPartial:p,additionLines:!p&&o!=null&&N!=null?Ir(N.contents):[],deletionLines:!p&&o!=null&&N!=null?Ir(o.contents):[],cacheKey:th(m)},b.additionLines.length===1&&(N==null?void 0:N.contents)===""&&(b.additionLines.length=0),b.deletionLines.length===1&&(o==null?void 0:o.contents)===""&&(b.deletionLines.length=0);for(const Z of k){if(Z.startsWith("diff --git")){const[,,P,,$]=Z.trim().match(Zy)??[];b.name=Vt($.trim()),P!==$&&(b.prevName=Vt(P.trim()));continue}const _t=Z.startsWith("---")||Z.startsWith("+++")?Z.match(v?Qy:Xy):null;if(_t!=null){const[,P,$]=_t;if(P==="---"&&$!=="/dev/null"){const O=Vt($.trim());b.prevName=O,b.name=O}else P==="+++"&&$!=="/dev/null"&&(b.name=Vt($.trim()))}else if(v){if(Z.startsWith("new mode ")&&(b.mode=Vt(Z.slice(8).trim())),Z.startsWith("old mode ")&&(b.prevMode=Vt(Z.slice(8).trim())),Z.startsWith("new file mode")&&(b.type="new",b.mode=Vt(Z.slice(13).trim())),Z.startsWith("deleted file mode")&&(b.type="deleted",b.mode=Vt(Z.slice(17).trim())),Z.startsWith("similarity index")&&(Z.startsWith("similarity index 100%")?b.type="rename-pure":b.type="rename-changed"),Z.startsWith("index ")){const[,P,$,O]=Z.trim().match(Vy)??[];P!=null&&(b.prevObjectId=Vt(P)),$!=null&&(b.newObjectId=Vt($)),O!=null&&(b.mode=Vt(O))}Z.startsWith("rename from ")&&(b.prevName=Vt(Z.slice(12).trim())),Z.startsWith("rename to ")&&(b.name=Vt(Z.slice(10).trim()))}}continue}let vt,gt;for(;k.length>0&&(k[k.length-1]===`
|
|
167
|
+
`||k[k.length-1]==="\r"||k[k.length-1]===`\r
|
|
168
|
+
`||k[k.length-1]==="");)k.pop();const{additionStart:qt,deletionStart:Q}=rt;L=p?L:Q-1,H=p?H:qt-1;const B={collapsedBefore:0,splitLineCount:0,splitLineStart:0,unifiedLineCount:0,unifiedLineStart:0,additionCount:rt.additionCount,additionStart:qt,additionLines:Bt,deletionCount:rt.deletionCount,deletionStart:Q,deletionLines:Nt,deletionLineIndex:L,additionLineIndex:H,hunkContent:[],hunkContext:th(rt.hunkContext),hunkSpecs:Vt(ct),noEOFCRAdditions:!1,noEOFCRDeletions:!1};let q=0,nt=0;for(let Z=1;Z<k.length;Z++){const _t=k[Z];if(q>=B.additionCount&&nt>=B.deletionCount&&!_t.startsWith("\\"))break;const P=_t[0];if(P!=="+"&&P!=="-"&&P!==" "&&P!=="\\"){console.error(`parseLineType: Invalid firstChar: "${P}", full line: "${_t}"`),console.error("processFile: invalid rawLine:",_t);continue}const $=av(P);if($==="addition"){const O=jf(_t);(vt==null||vt.type!=="change")&&(vt=_f("change",L,H),B.hunkContent.push(vt)),H++,q++,p&&b.additionLines.push(O),vt.additions++,Bt++,gt="addition"}else if($==="deletion"){const O=jf(_t);(vt==null||vt.type!=="change")&&(vt=_f("change",L,H),B.hunkContent.push(vt)),L++,nt++,p&&b.deletionLines.push(O),vt.deletions++,Nt++,gt="deletion"}else if($==="context"){const O=jf(_t);(vt==null||vt.type!=="context")&&(vt=_f("context",L,H),B.hunkContent.push(vt)),H++,L++,q++,nt++,p&&(b.deletionLines.push(O),b.additionLines.push(O)),vt.lines++,gt="context"}else if($==="metadata"&&vt!=null){if(vt.type==="context"?(B.noEOFCRAdditions=!0,B.noEOFCRDeletions=!0):gt==="deletion"?B.noEOFCRDeletions=!0:gt==="addition"&&(B.noEOFCRAdditions=!0),p&&(gt==="addition"||gt==="context")){const O=b.additionLines.length-1;O>=0&&(b.additionLines[O]=Fr(b.additionLines[O]))}if(p&&(gt==="deletion"||gt==="context")){const O=b.deletionLines.length-1;O>=0&&(b.deletionLines[O]=Fr(b.deletionLines[O]))}}}B.additionLines=Bt,B.deletionLines=Nt,B.collapsedBefore=Math.max(B.additionStart-1-M,0),b.hunks.push(B),M=B.additionStart+B.additionCount-1;for(const Z of B.hunkContent)Z.type==="context"?(B.splitLineCount+=Z.lines,B.unifiedLineCount+=Z.lines):(B.splitLineCount+=Math.max(Z.additions,Z.deletions),B.unifiedLineCount+=Z.deletions+Z.additions);B.splitLineStart=b.splitLineCount+B.collapsedBefore,B.unifiedLineStart=b.unifiedLineCount+B.collapsedBefore,b.splitLineCount+=B.collapsedBefore+B.splitLineCount,b.unifiedLineCount+=B.collapsedBefore+B.unifiedLineCount}if(b!=null){if(b.hunks.length>0&&!p&&b.additionLines.length>0&&b.deletionLines.length>0){const tt=b.hunks[b.hunks.length-1],k=tt.additionStart+tt.additionCount-1,ct=b.additionLines.length,rt=Math.max(ct-k,0);b.splitLineCount+=rt,b.unifiedLineCount+=rt}return v||(b.prevName!=null&&b.name!==b.prevName?b.hunks.length>0?b.type="rename-changed":b.type="rename-pure":(o==null||o.contents==="")&&N!=null&&N.contents!==""?b.type="new":o!=null&&o.contents!==""&&(N==null||N.contents==="")&&(b.type="deleted")),b.type!=="rename-pure"&&b.type!=="rename-changed"&&(b.prevName=void 0),b}}function Iy(f,m,v=!1){const o=[],N=Py(f)?f.split(Yy):[f];for(const D of N)try{o.push($y(D,m!=null?`${m}-${o.length}`:void 0,v))}catch(M){if(v)throw M;console.error(M)}return o}function Py(f){return f.startsWith("From ")||f.includes(`
|
|
169
|
+
From `)}function Ir(f){const m=dh(f);for(let v=0;v<m.length;v++)m[v]=Vt(m[v]);return m}function dh(f){if(f.length===0)return[""];const m=[];let v=0;for(;;){const o=f.indexOf(`
|
|
170
|
+
`,v);if(o===-1)break;m.push(f.slice(v,o+1)),v=o+1}return v<f.length&&m.push(f.slice(v)),m}function tv(f){if(!f.startsWith("@@ -"))return;let m=4;const v=Wu(f,m);if(v==null)return;const o=v.value;m=v.endIndex;let N=1;if(f[m]===","){const L=Wu(f,m+1);if(L==null)return;N=L.value,m=L.endIndex}if(f[m]!==" "||f[m+1]!=="+")return;m+=2;const D=Wu(f,m);if(D==null)return;const M=D.value;m=D.endIndex;let C=1;if(f[m]===","){const L=Wu(f,m+1);if(L==null)return;C=L.value,m=L.endIndex}if(f[m]!==" "||f[m+1]!=="@"||f[m+2]!=="@")return;let b;const p=m+3;return f[p]===" "&&(b=lv(f.slice(p+1))),{additionCount:C,additionStart:M,deletionCount:N,deletionStart:o,hunkContext:b}}function Wu(f,m){let v=m,o=0;for(;v<f.length;v++){const N=f.charCodeAt(v)-48;if(N<0||N>9)break;o=o*10+N}if(v!==m)return{value:o,endIndex:v}}function lv(f){return f.endsWith(`\r
|
|
171
|
+
`)?f.slice(0,-2):f.endsWith(`
|
|
172
|
+
`)?f.slice(0,-1):f}function ev(f){return f.startsWith("diff --git")||f.includes(`
|
|
173
|
+
diff --git`)}function rh(f,m){if(f.length===0)return[""];const v=`
|
|
174
|
+
${m}`,o=f.startsWith(m)?0:Pr(f,v,0);if(o===-1)return[f];const N=[];o>0&&N.push(f.slice(0,o));let D=o;for(;;){const M=Pr(f,v,D+1);if(M===-1)break;N.push(f.slice(D,M)),D=M}return N.push(f.slice(D)),N}function Pr(f,m,v){const o=f.indexOf(m,v);return o===-1?-1:o+1}function th(f){return f==null?f:Vt(f)}function av(f){return f===" "?"context":f==="\\"?"metadata":f==="+"?"addition":"deletion"}function jf(f){const m=f.slice(1);return Vt(m===""?`
|
|
175
|
+
`:m)}function _f(f,m,v){return f==="change"?{type:"change",additions:0,deletions:0,additionLineIndex:v,deletionLineIndex:m}:{type:"context",lines:0,additionLineIndex:v,deletionLineIndex:m}}const hh="0123456789ABCDEFGHJKMNPQRSTVWXYZ",Fu=32,nv=16,mh=10,lh=0xffffffffffff;var we;(function(f){f.Base32IncorrectEncoding="B32_ENC_INVALID",f.DecodeTimeInvalidCharacter="DEC_TIME_CHAR",f.DecodeTimeValueMalformed="DEC_TIME_MALFORMED",f.EncodeTimeNegative="ENC_TIME_NEG",f.EncodeTimeSizeExceeded="ENC_TIME_SIZE_EXCEED",f.EncodeTimeValueMalformed="ENC_TIME_MALFORMED",f.PRNGDetectFailure="PRNG_DETECT",f.ULIDInvalid="ULID_INVALID",f.Unexpected="UNEXPECTED",f.UUIDInvalid="UUID_INVALID"})(we||(we={}));class Mn extends Error{constructor(m,v){super(`${v} (${m})`),this.name="ULIDError",this.code=m}}function uv(f){const m=Math.floor(f()*Fu)%Fu;return hh.charAt(m)}function iv(f){const m=cv(),v=m&&(m.crypto||m.msCrypto)||null;if(typeof(v==null?void 0:v.getRandomValues)=="function")return()=>{const o=new Uint8Array(1);return v.getRandomValues(o),o[0]/256};if(typeof(v==null?void 0:v.randomBytes)=="function")return()=>v.randomBytes(1).readUInt8()/256;throw new Mn(we.PRNGDetectFailure,"Failed to find a reliable PRNG")}function cv(){return ov()?self:typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:null}function fv(f,m){let v="";for(;f>0;f--)v=uv(m)+v;return v}function sv(f,m=mh){if(isNaN(f))throw new Mn(we.EncodeTimeValueMalformed,`Time must be a number: ${f}`);if(f>lh)throw new Mn(we.EncodeTimeSizeExceeded,`Cannot encode a time larger than ${lh}: ${f}`);if(f<0)throw new Mn(we.EncodeTimeNegative,`Time must be positive: ${f}`);if(Number.isInteger(f)===!1)throw new Mn(we.EncodeTimeValueMalformed,`Time must be an integer: ${f}`);let v,o="";for(let N=m;N>0;N--)v=f%Fu,o=hh.charAt(v)+o,f=(f-v)/Fu;return o}function ov(){return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope}function dv(f,m){const v=iv(),o=Date.now();return sv(o,mh)+fv(nv,v)}const eh=f=>{let m;const v=new Set,o=(p,L)=>{const H=typeof p=="function"?p(m):p;if(!Object.is(H,m)){const tt=m;m=L??(typeof H!="object"||H===null)?H:Object.assign({},m,H),v.forEach(k=>k(m,tt))}},N=()=>m,C={setState:o,getState:N,getInitialState:()=>b,subscribe:p=>(v.add(p),()=>v.delete(p))},b=m=f(o,N,C);return C},rv=(f=>f?eh(f):eh),hv=f=>f;function mv(f,m=hv){const v=Nn.useSyncExternalStore(f.subscribe,Nn.useCallback(()=>m(f.getState()),[f,m]),Nn.useCallback(()=>m(f.getInitialState()),[f,m]));return Nn.useDebugValue(v),v}const ah=f=>{const m=rv(f),v=o=>mv(m,o);return Object.assign(v,m),v},yv=(f=>f?ah(f):ah),Cl=yv((f,m)=>({comments:[],draft:null,setDraft:v=>f({draft:v}),addComment:v=>{const o=m().draft;!o||v.trim().length===0||f(N=>({comments:[...N.comments,{id:dv(),filePath:o.filePath,side:o.side,startLine:Math.min(o.startLine,o.endLine),endLine:Math.max(o.startLine,o.endLine),body:v.trim(),originalSnippet:o.originalSnippet,createdAt:new Date().toISOString()}],draft:null}))},removeComment:v=>f(o=>({comments:o.comments.filter(N=>N.id!==v)})),reset:()=>f({comments:[],draft:null})}));function vv({tone:f}){const m=Cl(b=>b.draft),v=Cl(b=>b.setDraft),o=Cl(b=>b.addComment),[N,D]=yt.useState("");if(!m)return null;const M=m.startLine===m.endLine?`Comment on line ${m.side}${m.startLine}`:`Comment on range ${m.side}${Math.min(m.startLine,m.endLine)}-${m.side}${Math.max(m.startLine,m.endLine)}`,C=()=>{D(""),v(null)};return s.jsx("div",{className:`draft-comment-shell tone-${f}`,children:s.jsxs("div",{className:"draft-comment-card",children:[s.jsxs("div",{className:"draft-comment-title",children:[s.jsxs("span",{className:"draft-comment-heading",children:[s.jsx("span",{className:"draft-comment-icon","aria-hidden":"true",children:s.jsx(Ey,{size:15})}),s.jsx("span",{children:"Local comment"})]}),s.jsx("span",{className:"draft-comment-label",children:M})]}),s.jsx("textarea",{"aria-label":M,placeholder:"Request change",value:N,onChange:b=>D(b.target.value)}),s.jsxs("div",{className:"draft-comment-actions",children:[s.jsx("button",{className:"secondary-button",type:"button",onClick:C,children:"Cancel"}),s.jsx("button",{className:"primary-button",type:"button",onClick:()=>{o(N),D("")},children:"Comment"})]})]})})}function gv({file:f,collapsed:m,onToggle:v}){return s.jsxs("button",{className:"file-header",type:"button",onClick:v,children:[m?s.jsx(fy,{size:18}):s.jsx(ih,{size:18}),s.jsx(vy,{size:17}),s.jsx("span",{className:"file-path",children:f.path}),f.oldPath&&f.oldPath!==f.path?s.jsxs("span",{className:"rename-path",children:["from ",f.oldPath]}):null,s.jsxs("span",{className:"stat add",children:["+",f.additions]}),s.jsxs("span",{className:"stat del",children:["-",f.deletions]})]})}function pv({record:f}){const[m,v]=yt.useState(new Set),o=Cl(M=>M.draft),N=Cl(M=>M.setDraft),D=yt.useMemo(()=>{try{return Iy(f.diff.rawDiff,f.meta.id).flatMap(M=>M.files).length}catch{return 0}},[f.diff.rawDiff,f.meta.id]);return s.jsx("section",{className:"diff-stack","data-pierre-files":D,children:f.diff.files.length===0?s.jsx(Sv,{record:f}):f.diff.files.map(M=>{const C=m.has(M.path);return s.jsxs("article",{className:"file-card",children:[s.jsx(gv,{file:M,collapsed:C,onToggle:()=>{!C&&(o==null?void 0:o.filePath)===M.path&&N(null),v(b=>{const p=new Set(b);return p.has(M.path)?p.delete(M.path):p.add(M.path),p})}}),C?null:s.jsx(bv,{file:M})]},`${M.oldPath??M.path}:${M.path}`)})})}function Sv({record:f}){const m=f.diff.scope;return m.mode==="branch"?s.jsxs("div",{className:"empty-diff",children:[s.jsx("h2",{children:"No branch changes"}),s.jsxs("p",{children:["Working tree is clean, and ",m.comparison.ref," matches ",m.base.ref,"."]})]}):m.fallbackReason==="missing-branch-base"?s.jsxs("div",{className:"empty-diff",children:[s.jsx("h2",{children:"No changes to review"}),s.jsx("p",{children:"Working tree is clean and no upstream or default branch ref was found."})]}):m.mode==="explicit"?s.jsxs("div",{className:"empty-diff",children:[s.jsxs("h2",{children:["No changes against ",m.base.ref]}),s.jsx("p",{children:"The captured diff for this explicit base is empty."})]}):s.jsxs("div",{className:"empty-diff",children:[s.jsx("h2",{children:"No working changes"}),s.jsx("p",{children:"Working tree is clean."})]})}function bv({file:f}){const m=Cl(Q=>Q.comments),v=Cl(Q=>Q.draft),o=Cl(Q=>Q.setDraft),[N,D]=yt.useState(null),[M,C]=yt.useState(null),b=yt.useRef(null),p=yt.useRef(null),L=yt.useMemo(()=>zv(f),[f]);let H=0;const tt=m.filter(Q=>Q.filePath===f.path),k=N&&M&&N.filePath===f.path&&N.side===M.side?Of(L,N.side,N.line,M.line):null,ct=v&&v.filePath===f.path?Of(L,v.side,v.startLine,v.endLine):null,rt=Q=>{const{start:B,end:q}=Q,nt=Math.min(B.line,q.line),Z=Math.max(B.line,q.line),_t=Tv(f,L,B.side,nt,Z)||B.snippet;o({filePath:f.path,side:B.side,startLine:nt,endLine:Z,originalSnippet:_t})};yt.useEffect(()=>()=>{var Q;return(Q=p.current)==null?void 0:Q.call(p)},[]);const Bt=Q=>{var nt;if(Q.dataset.filePath!==f.path)return null;const B=Q.dataset.side,q=Number(Q.dataset.line);return B!=="L"&&B!=="R"||!Number.isFinite(q)?null:{filePath:f.path,side:B,line:q,snippet:((nt=Q.querySelector("code"))==null?void 0:nt.textContent)??""}},Nt=Q=>{const B=Bt(Q);B&>(B)},vt=(Q,B)=>{var _t;if(B.button!==0)return;B.preventDefault(),(_t=p.current)==null||_t.call(p),b.current={start:Q,end:Q},D(Q),C(Q);const q=P=>{var O;const $=(O=document.elementFromPoint(P.clientX,P.clientY))==null?void 0:O.closest(".diff-row");$&&Nt($)},nt=P=>{q(P);const $=b.current;$&&rt($),qt()},Z=()=>qt();window.addEventListener("mousemove",q),window.addEventListener("mouseup",nt),window.addEventListener("blur",Z),p.current=()=>{window.removeEventListener("mousemove",q),window.removeEventListener("mouseup",nt),window.removeEventListener("blur",Z),p.current=null}},gt=Q=>{const B=b.current;(B==null?void 0:B.start.filePath)===f.path&&B.start.side===Q.side&&(b.current={...B,end:Q},C(Q))},qt=()=>{var Q;(Q=p.current)==null||Q.call(p),b.current=null,D(null),C(null)};return s.jsxs("fieldset",{className:"diff-table",children:[s.jsxs("legend",{className:"sr-only",children:[f.path," diff"]}),f.isBinary?s.jsx("div",{className:"binary-note",children:"Binary file changed"}):null,f.hunks.map(Q=>{const B=Q.newStart>H+1?Q.newStart-H-1:0;return H=Q.newStart+Q.newLines-1,s.jsxs("div",{className:"hunk",children:[B>0?s.jsxs("button",{className:"hidden-lines",type:"button",children:[B," unmodified lines"]}):null,s.jsx("div",{className:"hunk-header",children:Q.header||`@@ -${Q.oldStart},${Q.oldLines} +${Q.newStart},${Q.newLines} @@`}),Q.lines.map(q=>{const nt=Rf(q),Z=nt==="L"?q.oldLine:q.newLine;if(Z==null)return null;const _t={filePath:f.path,side:nt,line:Z,snippet:q.content},P=L.get(Iu(nt,Z)),$=P!=null&&nh(P,k)?k:P!=null&&nh(P,ct)?ct:null,O=P!=null&&$?Ev(P,$.start,$.end):"",st=v&&v.filePath===f.path&&v.side===nt&&Z===v.endLine,ht=tt.filter(T=>T.side===nt&&Z===Math.max(T.startLine,T.endLine));return s.jsxs("div",{children:[s.jsxs("button",{className:`diff-row ${q.type} ${O} ${st?"range-continues":""}`,"data-file-path":f.path,"data-line":Z,"data-side":nt,type:"button",onMouseDown:T=>vt(_t,T),onMouseEnter:T=>Nt(T.currentTarget),children:[O?s.jsx("span",{className:"selection-rail","aria-hidden":"true"}):null,s.jsx("span",{className:"line-number old",children:q.oldLine??""}),s.jsx("span",{className:"line-number new",children:q.newLine??""}),s.jsx("span",{className:"marker",children:yh(q)}),s.jsx("code",{children:q.content||" "})]}),ht.map(T=>s.jsxs("div",{className:"inline-comment",children:[s.jsx(ch,{size:14}),s.jsx("span",{children:T.body})]},T.id)),st?s.jsx(vv,{tone:q.type}):null]},`${q.type}:${q.oldLine??"x"}:${q.newLine??"x"}:${q.content}`)})]},`${Q.oldStart}:${Q.newStart}`)})]})}function yh(f){return f.type==="add"?"+":f.type==="delete"?"-":" "}function Rf(f){return f.type==="delete"?"L":"R"}function vh(f){return Rf(f)==="L"?f.oldLine:f.newLine}function Ev(f,m,v){return m===v?"range-selected range-single":f===m?"range-selected range-start":f===v?"range-selected range-end":"range-selected range-middle"}function zv(f){const m=new Map;let v=0;for(const o of f.hunks)for(const N of o.lines){const D=Rf(N),M=vh(N);M!=null&&(m.set(Iu(D,M),v),v+=1)}return m}function Iu(f,m){return`${f}:${m}`}function Of(f,m,v,o){const N=f.get(Iu(m,v)),D=f.get(Iu(m,o));return N==null||D==null?null:{start:Math.min(N,D),end:Math.max(N,D)}}function nh(f,m){return!!(m&&f>=m.start&&f<=m.end)}function Tv(f,m,v,o,N){const D=[],M=Of(m,v,o,N);if(!M)return"";let C=0;for(const p of f.hunks)for(const L of p.lines)vh(L)!=null&&(C>=M.start&&C<=M.end&&D.push(L),C+=1);const b=new Set(D.map(p=>p.type)).size>1;return D.map(p=>b?`${yh(p)}${p.content}`:p.content).join(`
|
|
176
|
+
`)}function xv({reviewId:f}){const m=Cl(C=>C.comments),v=Cl(C=>C.removeComment),[o,N]=yt.useState("idle"),[D,M]=yt.useState(null);return s.jsxs("aside",{className:"submit-bar",children:[s.jsx("div",{className:"comment-list",children:m.length===0?s.jsx("span",{className:"muted",children:"No comments yet"}):m.map(C=>s.jsxs("div",{className:"comment-chip",children:[s.jsxs("span",{children:[C.filePath,":",C.side,C.startLine,C.endLine!==C.startLine?`-${C.endLine}`:""]}),s.jsx("button",{className:"icon-button",type:"button",title:"Remove comment",onClick:()=>v(C.id),children:s.jsx(fh,{size:14})})]},C.id))}),s.jsxs("div",{className:"submit-actions",children:[D?s.jsx("span",{className:`submit-message ${o}`,children:D}):null,s.jsxs("button",{className:"primary-button",type:"button",disabled:o==="submitting"||o==="done",onClick:async()=>{N("submitting"),M(null);try{await Gy(f,m),N("done"),M("Submitted")}catch(C){N("error"),M(C instanceof Error?C.message:String(C))}},children:[o==="done"?s.jsx(Dn,{size:16}):s.jsx(jy,{size:16}),"Submit ",m.length]})]})]})}function Av({reviewId:f}){const[m,v]=yt.useState(null),[o,N]=yt.useState(null),D=Cl(b=>b.reset);if(yt.useEffect(()=>{D(),qy(f).then(v).catch(b=>N(b instanceof Error?b.message:String(b)))},[f,D]),o)return s.jsx("main",{className:"empty-shell",children:s.jsxs("section",{className:"empty-panel",children:[s.jsx("h1",{children:"Review unavailable"}),s.jsx("p",{children:o})]})});if(!m)return s.jsx("main",{className:"empty-shell",children:s.jsxs("section",{className:"empty-panel",children:[s.jsx(Sy,{className:"spin",size:24}),s.jsx("p",{children:"Loading review"})]})});const M=m.diff.scope,C=m.diff.stats;return s.jsxs("main",{className:"review-shell",children:[s.jsxs("header",{className:"topbar",children:[s.jsxs("div",{className:"topbar-main",children:[s.jsx("img",{className:"brand-mark",src:"/logo.svg",alt:""}),s.jsxs("div",{className:"review-heading",children:[s.jsx("p",{className:"product-name",children:"Gloss"}),s.jsx("h1",{children:jv(m)}),s.jsxs("div",{className:"meta-row",children:[s.jsxs("span",{title:`${M.base.ref} (${M.base.sha})`,children:["Base ",M.base.ref," (",M.base.sha.slice(0,7),")"]}),s.jsxs("span",{title:`${M.comparison.ref}${M.comparison.sha?` (${M.comparison.sha})`:""}`,children:["Compare ",M.comparison.ref,M.comparison.sha?` (${M.comparison.sha.slice(0,7)})`:""]}),s.jsxs("span",{children:[C.files," ",C.files===1?"file":"files"]}),s.jsxs("span",{children:["+",C.additions," -",C.deletions]})]})]})]}),s.jsxs("div",{className:"branch-pill",title:m.meta.branch??"Detached HEAD",children:[s.jsx(Uf,{size:16}),s.jsx("span",{children:m.meta.branch??"detached"})]})]}),s.jsx(pv,{record:m}),s.jsx(xv,{reviewId:f})]})}function jv(f){switch(f.diff.scope.mode){case"branch":return"Branch diff";case"explicit":return`Diff against ${f.diff.scope.requestedBase??f.diff.base.ref}`;case"working":return"Working changes"}}const _v="npx skills add iamrajjoshi/gloss --skill gloss -g -a claude-code",Nv=`1. Run gloss open --json from the repo root unless the user names a base ref.
|
|
177
|
+
2. Wait for the browser review to be submitted.
|
|
178
|
+
3. Read feedbackPath from the JSON output.
|
|
179
|
+
4. Address each comment in file and line order.
|
|
180
|
+
5. Validate the fix with the narrowest relevant checks.
|
|
181
|
+
6. Mark the review resolved with MCP tools when available, then summarize what changed.`;function Mv(){return s.jsxs("main",{className:"setup-page",children:[s.jsxs("nav",{className:"setup-nav","aria-label":"Gloss setup",children:[s.jsxs("a",{className:"marketing-wordmark",href:"/",children:[s.jsx("img",{className:"brand-mark",src:"/logo.svg",alt:"","aria-hidden":"true"}),"Gloss"]}),s.jsx("a",{href:"/setup.md",children:"Raw setup.md"})]}),s.jsxs("header",{className:"setup-header",children:[s.jsx("h1",{children:"Set up Gloss for agent reviews."}),s.jsx("p",{children:"Install the CLI, then add the Gloss instruction block to the file your coding agent already reads."})]}),s.jsxs("section",{className:"setup-section",children:[s.jsx("h2",{children:"Install"}),s.jsx("pre",{children:"brew install iamrajjoshi/tap/gloss"}),s.jsx("pre",{children:"npm install -g getgloss"}),s.jsx("pre",{children:"gloss help"})]}),s.jsxs("section",{className:"setup-section",children:[s.jsx("h2",{children:"Agent Instruction"}),s.jsx("p",{children:"Give a new agent chat this instruction:"}),s.jsx("pre",{children:"Install Gloss with Homebrew or npm. Then read https://getgloss.dev/setup.md."})]}),s.jsxs("section",{className:"setup-section",children:[s.jsx("h2",{children:"Claude Code Skill"}),s.jsxs("p",{children:["Gloss ships a packaged skill at ",s.jsx("code",{children:"skill/SKILL.md"}),". Install it when you want Claude Code to know when and how to use Gloss."]}),s.jsx("pre",{children:_v}),s.jsx("p",{children:"The skill pairs the CLI with the browser app:"}),s.jsx("pre",{children:Nv})]}),s.jsxs("section",{className:"setup-section",children:[s.jsx("h2",{children:"Persistent Instructions"}),s.jsx("p",{children:"Add the canonical Gloss block to the instruction file your agent actually loads."}),s.jsx("pre",{children:"curl -fsSL https://getgloss.dev/prompt.md >> /absolute/path/to/AGENTS.md"}),s.jsxs("ul",{children:[s.jsxs("li",{children:["Codex usually reads ",s.jsx("code",{children:"${CODEX_HOME:-$HOME/.codex}/AGENTS.md"}),"."]}),s.jsxs("li",{children:["Claude Code usually reads ",s.jsx("code",{children:"$HOME/.claude/CLAUDE.md"}),"."]}),s.jsxs("li",{children:["Project-local agents often read ",s.jsx("code",{children:"AGENTS.md"})," from the repo root."]})]})]}),s.jsxs("section",{className:"setup-section",children:[s.jsx("h2",{children:"Use"}),s.jsx("pre",{children:"gloss open --json"}),s.jsxs("p",{children:["Leave the command running. Gloss exits after the browser review is submitted and writes feedback under ",s.jsx("code",{children:"~/.gloss/reviews/<reviewId>/"}),"."]})]}),s.jsx("section",{className:"setup-note",children:s.jsxs("p",{children:["Agents should read ",s.jsx("a",{href:"/setup.md",children:"/setup.md"}),". This page is the browser-friendly version."]})})]})}function Dv(){if(window.location.pathname==="/setup"||window.location.pathname==="/setup/")return s.jsx(Mv,{});const f=/^\/review\/([^/]+)/.exec(window.location.pathname);return f?s.jsx(Av,{reviewId:f[1]}):s.jsx(By,{})}W0.createRoot(document.getElementById("root")).render(s.jsx(Nn.StrictMode,{children:s.jsx(Dv,{})}));
|