getgloss 0.3.0 → 0.4.1
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 +12 -18
- package/dist/cli/index.js +397 -299
- package/dist/cli/index.js.map +1 -1
- package/dist/server/daemon.js +239 -28
- package/dist/server/daemon.js.map +1 -1
- package/dist/web/assets/index-Da2TNJX9.js +188 -0
- package/dist/web/assets/index-uGiivUSv.css +1 -0
- package/dist/web/index.html +2 -2
- package/dist/web/prompt.md +13 -6
- package/dist/web/setup/index.html +4 -1
- package/dist/web/setup.md +18 -4
- package/package.json +2 -4
- package/skill/SKILL.md +7 -2
- package/dist/mcp/index.js +0 -378
- package/dist/mcp/index.js.map +0 -1
- package/dist/web/assets/index-DuGSsf8O.js +0 -181
- package/dist/web/assets/index-SRKfUpIg.css +0 -1
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const A of document.querySelectorAll('link[rel="modulepreload"]'))o(A);new MutationObserver(A=>{for(const D of A)if(D.type==="childList")for(const B of D.addedNodes)B.tagName==="LINK"&&B.rel==="modulepreload"&&o(B)}).observe(document,{childList:!0,subtree:!0});function v(A){const D={};return A.integrity&&(D.integrity=A.integrity),A.referrerPolicy&&(D.referrerPolicy=A.referrerPolicy),A.crossOrigin==="use-credentials"?D.credentials="include":A.crossOrigin==="anonymous"?D.credentials="omit":D.credentials="same-origin",D}function o(A){if(A.ep)return;A.ep=!0;const D=v(A);fetch(A.href,D)}})();function X0(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var pf={exports:{}},jn={};/**
|
|
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 qr;function Q0(){if(qr)return jn;qr=1;var f=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function v(o,A,D){var B=null;if(D!==void 0&&(B=""+D),A.key!==void 0&&(B=""+A.key),"key"in A){D={};for(var M in A)M!=="key"&&(D[M]=A[M])}else D=A;return A=D.ref,{$$typeof:f,type:o,key:B,ref:A!==void 0?A:null,props:D}}return jn.Fragment=r,jn.jsx=v,jn.jsxs=v,jn}var Gr;function Z0(){return Gr||(Gr=1,pf.exports=Q0()),pf.exports}var s=Z0(),Sf={exports:{}},F={};/**
|
|
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 Yr;function V0(){if(Yr)return F;Yr=1;var f=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),D=Symbol.for("react.consumer"),B=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),K=Symbol.iterator;function I(h){return h===null||typeof h!="object"?null:(h=K&&h[K]||h["@@iterator"],typeof h=="function"?h:null)}var ft={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},vt=Object.assign,Rt={};function Nt(h,_,L){this.props=h,this.context=_,this.refs=Rt,this.updater=L||ft}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 pt(){}pt.prototype=Nt.prototype;function St(h,_,L){this.props=h,this.context=_,this.refs=Rt,this.updater=L||ft}var Bt=St.prototype=new pt;Bt.constructor=St,vt(Bt,Nt.prototype),Bt.isPureReactComponent=!0;var Kt=Array.isArray;function w(){}var k={H:null,A:null,T:null,S:null},q=Object.prototype.hasOwnProperty;function H(h,_,L){var Y=L.ref;return{$$typeof:f,type:h,key:_,ref:Y!==void 0?Y:null,props:L}}function $(h,_){return H(h.type,_,h.props)}function W(h){return typeof h=="object"&&h!==null&&h.$$typeof===f}function J(h){var _={"=":"=0",":":"=2"};return"$"+h.replace(/[=:]/g,function(L){return _[L]})}var C=/\/+/g;function P(h,_){return typeof h=="object"&&h!==null&&h.key!=null?J(""+h.key):_.toString(36)}function nt(h){switch(h.status){case"fulfilled":return h.value;case"rejected":throw h.reason;default:switch(typeof h.status=="string"?h.then(w,w):(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 x(h,_,L,Y,tt){var ut=typeof h;(ut==="undefined"||ut==="boolean")&&(h=null);var bt=!1;if(h===null)bt=!0;else switch(ut){case"bigint":case"string":case"number":bt=!0;break;case"object":switch(h.$$typeof){case f:case r:bt=!0;break;case R:return bt=h._init,x(bt(h._payload),_,L,Y,tt)}}if(bt)return tt=tt(h),bt=Y===""?"."+P(h,0):Y,Kt(tt)?(L="",bt!=null&&(L=bt.replace(C,"$&/")+"/"),x(tt,_,L,"",function(Ca){return Ca})):tt!=null&&(W(tt)&&(tt=$(tt,L+(tt.key==null||h&&h.key===tt.key?"":(""+tt.key).replace(C,"$&/")+"/")+bt)),_.push(tt)),1;bt=0;var te=Y===""?".":Y+":";if(Kt(h))for(var Ut=0;Ut<h.length;Ut++)Y=h[Ut],ut=te+P(Y,Ut),bt+=x(Y,_,L,ut,tt);else if(Ut=I(h),typeof Ut=="function")for(h=Ut.call(h),Ut=0;!(Y=h.next()).done;)Y=Y.value,ut=te+P(Y,Ut++),bt+=x(Y,_,L,ut,tt);else if(ut==="object"){if(typeof h.then=="function")return x(nt(h),_,L,Y,tt);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 bt}function U(h,_,L){if(h==null)return h;var Y=[],tt=0;return x(h,Y,"","",function(ut){return _.call(L,ut,tt++)}),Y}function Z(h){if(h._status===-1){var _=h._result;_=_(),_.then(function(L){(h._status===0||h._status===-1)&&(h._status=1,h._result=L)},function(L){(h._status===0||h._status===-1)&&(h._status=2,h._result=L)}),h._status===-1&&(h._status=0,h._result=_)}if(h._status===1)return h._result.default;throw h._result}var at=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)},dt={map:U,forEach:function(h,_,L){U(h,function(){_.apply(this,arguments)},L)},count:function(h){var _=0;return U(h,function(){_++}),_},toArray:function(h){return U(h,function(_){return _})||[]},only:function(h){if(!W(h))throw Error("React.Children.only expected to receive a single React element child.");return h}};return F.Activity=O,F.Children=dt,F.Component=Nt,F.Fragment=v,F.Profiler=A,F.PureComponent=St,F.StrictMode=o,F.Suspense=b,F.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,F.__COMPILER_RUNTIME={__proto__:null,c:function(h){return k.H.useMemoCache(h)}},F.cache=function(h){return function(){return h.apply(null,arguments)}},F.cacheSignal=function(){return null},F.cloneElement=function(h,_,L){if(h==null)throw Error("The argument must be a React element, but you passed "+h+".");var Y=vt({},h.props),tt=h.key;if(_!=null)for(ut in _.key!==void 0&&(tt=""+_.key),_)!q.call(_,ut)||ut==="key"||ut==="__self"||ut==="__source"||ut==="ref"&&_.ref===void 0||(Y[ut]=_[ut]);var ut=arguments.length-2;if(ut===1)Y.children=L;else if(1<ut){for(var bt=Array(ut),te=0;te<ut;te++)bt[te]=arguments[te+2];Y.children=bt}return H(h.type,tt,Y)},F.createContext=function(h){return h={$$typeof:B,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null},h.Provider=h,h.Consumer={$$typeof:D,_context:h},h},F.createElement=function(h,_,L){var Y,tt={},ut=null;if(_!=null)for(Y in _.key!==void 0&&(ut=""+_.key),_)q.call(_,Y)&&Y!=="key"&&Y!=="__self"&&Y!=="__source"&&(tt[Y]=_[Y]);var bt=arguments.length-2;if(bt===1)tt.children=L;else if(1<bt){for(var te=Array(bt),Ut=0;Ut<bt;Ut++)te[Ut]=arguments[Ut+2];tt.children=te}if(h&&h.defaultProps)for(Y in bt=h.defaultProps,bt)tt[Y]===void 0&&(tt[Y]=bt[Y]);return H(h,ut,tt)},F.createRef=function(){return{current:null}},F.forwardRef=function(h){return{$$typeof:M,render:h}},F.isValidElement=W,F.lazy=function(h){return{$$typeof:R,_payload:{_status:-1,_result:h},_init:Z}},F.memo=function(h,_){return{$$typeof:E,type:h,compare:_===void 0?null:_}},F.startTransition=function(h){var _=k.T,L={};k.T=L;try{var Y=h(),tt=k.S;tt!==null&&tt(L,Y),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"&&Y.then(w,at)}catch(ut){at(ut)}finally{_!==null&&L.types!==null&&(_.types=L.types),k.T=_}},F.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},F.use=function(h){return k.H.use(h)},F.useActionState=function(h,_,L){return k.H.useActionState(h,_,L)},F.useCallback=function(h,_){return k.H.useCallback(h,_)},F.useContext=function(h){return k.H.useContext(h)},F.useDebugValue=function(){},F.useDeferredValue=function(h,_){return k.H.useDeferredValue(h,_)},F.useEffect=function(h,_){return k.H.useEffect(h,_)},F.useEffectEvent=function(h){return k.H.useEffectEvent(h)},F.useId=function(){return k.H.useId()},F.useImperativeHandle=function(h,_,L){return k.H.useImperativeHandle(h,_,L)},F.useInsertionEffect=function(h,_){return k.H.useInsertionEffect(h,_)},F.useLayoutEffect=function(h,_){return k.H.useLayoutEffect(h,_)},F.useMemo=function(h,_){return k.H.useMemo(h,_)},F.useOptimistic=function(h,_){return k.H.useOptimistic(h,_)},F.useReducer=function(h,_,L){return k.H.useReducer(h,_,L)},F.useRef=function(h){return k.H.useRef(h)},F.useState=function(h){return k.H.useState(h)},F.useSyncExternalStore=function(h,_,L){return k.H.useSyncExternalStore(h,_,L)},F.useTransition=function(){return k.H.useTransition()},F.version="19.2.6",F}var Xr;function Of(){return Xr||(Xr=1,Sf.exports=V0()),Sf.exports}var yt=Of();const _n=X0(yt);var bf={exports:{}},An={},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 Qr;function w0(){return Qr||(Qr=1,(function(f){function r(x,U){var Z=x.length;x.push(U);t:for(;0<Z;){var at=Z-1>>>1,dt=x[at];if(0<A(dt,U))x[at]=U,x[Z]=dt,Z=at;else break t}}function v(x){return x.length===0?null:x[0]}function o(x){if(x.length===0)return null;var U=x[0],Z=x.pop();if(Z!==U){x[0]=Z;t:for(var at=0,dt=x.length,h=dt>>>1;at<h;){var _=2*(at+1)-1,L=x[_],Y=_+1,tt=x[Y];if(0>A(L,Z))Y<dt&&0>A(tt,L)?(x[at]=tt,x[Y]=Z,at=Y):(x[at]=L,x[_]=Z,at=_);else if(Y<dt&&0>A(tt,Z))x[at]=tt,x[Y]=Z,at=Y;else break t}}return U}function A(x,U){var Z=x.sortIndex-U.sortIndex;return Z!==0?Z:x.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 B=Date,M=B.now();f.unstable_now=function(){return B.now()-M}}var b=[],E=[],R=1,O=null,K=3,I=!1,ft=!1,vt=!1,Rt=!1,Nt=typeof setTimeout=="function"?setTimeout:null,pt=typeof clearTimeout=="function"?clearTimeout:null,St=typeof setImmediate<"u"?setImmediate:null;function Bt(x){for(var U=v(E);U!==null;){if(U.callback===null)o(E);else if(U.startTime<=x)o(E),U.sortIndex=U.expirationTime,r(b,U);else break;U=v(E)}}function Kt(x){if(vt=!1,Bt(x),!ft)if(v(b)!==null)ft=!0,w||(w=!0,J());else{var U=v(E);U!==null&&nt(Kt,U.startTime-x)}}var w=!1,k=-1,q=5,H=-1;function $(){return Rt?!0:!(f.unstable_now()-H<q)}function W(){if(Rt=!1,w){var x=f.unstable_now();H=x;var U=!0;try{t:{ft=!1,vt&&(vt=!1,pt(k),k=-1),I=!0;var Z=K;try{e:{for(Bt(x),O=v(b);O!==null&&!(O.expirationTime>x&&$());){var at=O.callback;if(typeof at=="function"){O.callback=null,K=O.priorityLevel;var dt=at(O.expirationTime<=x);if(x=f.unstable_now(),typeof dt=="function"){O.callback=dt,Bt(x),U=!0;break e}O===v(b)&&o(b),Bt(x)}else o(b);O=v(b)}if(O!==null)U=!0;else{var h=v(E);h!==null&&nt(Kt,h.startTime-x),U=!1}}break t}finally{O=null,K=Z,I=!1}U=void 0}}finally{U?J():w=!1}}}var J;if(typeof St=="function")J=function(){St(W)};else if(typeof MessageChannel<"u"){var C=new MessageChannel,P=C.port2;C.port1.onmessage=W,J=function(){P.postMessage(null)}}else J=function(){Nt(W,0)};function nt(x,U){k=Nt(function(){x(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(x){x.callback=null},f.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q=0<x?Math.floor(1e3/x):5},f.unstable_getCurrentPriorityLevel=function(){return K},f.unstable_next=function(x){switch(K){case 1:case 2:case 3:var U=3;break;default:U=K}var Z=K;K=U;try{return x()}finally{K=Z}},f.unstable_requestPaint=function(){Rt=!0},f.unstable_runWithPriority=function(x,U){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var Z=K;K=x;try{return U()}finally{K=Z}},f.unstable_scheduleCallback=function(x,U,Z){var at=f.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?at+Z:at):Z=at,x){case 1:var dt=-1;break;case 2:dt=250;break;case 5:dt=1073741823;break;case 4:dt=1e4;break;default:dt=5e3}return dt=Z+dt,x={id:R++,callback:U,priorityLevel:x,startTime:Z,expirationTime:dt,sortIndex:-1},Z>at?(x.sortIndex=Z,r(E,x),v(b)===null&&x===v(E)&&(vt?(pt(k),k=-1):vt=!0,nt(Kt,Z-at))):(x.sortIndex=dt,r(b,x),ft||I||(ft=!0,w||(w=!0,J()))),x},f.unstable_shouldYield=$,f.unstable_wrapCallback=function(x){var U=K;return function(){var Z=K;K=U;try{return x.apply(this,arguments)}finally{K=Z}}}})(zf)),zf}var Zr;function K0(){return Zr||(Zr=1,Ef.exports=w0()),Ef.exports}var xf={exports:{}},Pt={};/**
|
|
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 Vr;function J0(){if(Vr)return Pt;Vr=1;var f=Of();function r(b){var E="https://react.dev/errors/"+b;if(1<arguments.length){E+="?args[]="+encodeURIComponent(arguments[1]);for(var R=2;R<arguments.length;R++)E+="&args[]="+encodeURIComponent(arguments[R])}return"Minified React error #"+b+"; visit "+E+" 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(r(522))},D:v,C:v,L:v,m:v,X:v,S:v,M:v},p:0,findDOMNode:null},A=Symbol.for("react.portal");function D(b,E,R){var O=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:A,key:O==null?null:""+O,children:b,containerInfo:E,implementation:R}}var B=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function M(b,E){if(b==="font")return"";if(typeof E=="string")return E==="use-credentials"?E:""}return Pt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Pt.createPortal=function(b,E){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error(r(299));return D(b,E,null,R)},Pt.flushSync=function(b){var E=B.T,R=o.p;try{if(B.T=null,o.p=2,b)return b()}finally{B.T=E,o.p=R,o.d.f()}},Pt.preconnect=function(b,E){typeof b=="string"&&(E?(E=E.crossOrigin,E=typeof E=="string"?E==="use-credentials"?E:"":void 0):E=null,o.d.C(b,E))},Pt.prefetchDNS=function(b){typeof b=="string"&&o.d.D(b)},Pt.preinit=function(b,E){if(typeof b=="string"&&E&&typeof E.as=="string"){var R=E.as,O=M(R,E.crossOrigin),K=typeof E.integrity=="string"?E.integrity:void 0,I=typeof E.fetchPriority=="string"?E.fetchPriority:void 0;R==="style"?o.d.S(b,typeof E.precedence=="string"?E.precedence:void 0,{crossOrigin:O,integrity:K,fetchPriority:I}):R==="script"&&o.d.X(b,{crossOrigin:O,integrity:K,fetchPriority:I,nonce:typeof E.nonce=="string"?E.nonce:void 0})}},Pt.preinitModule=function(b,E){if(typeof b=="string")if(typeof E=="object"&&E!==null){if(E.as==null||E.as==="script"){var R=M(E.as,E.crossOrigin);o.d.M(b,{crossOrigin:R,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0})}}else E==null&&o.d.M(b)},Pt.preload=function(b,E){if(typeof b=="string"&&typeof E=="object"&&E!==null&&typeof E.as=="string"){var R=E.as,O=M(R,E.crossOrigin);o.d.L(b,R,{crossOrigin:O,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0,type:typeof E.type=="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority=="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy=="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet=="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes=="string"?E.imageSizes:void 0,media:typeof E.media=="string"?E.media:void 0})}},Pt.preloadModule=function(b,E){if(typeof b=="string")if(E){var R=M(E.as,E.crossOrigin);o.d.m(b,{as:typeof E.as=="string"&&E.as!=="script"?E.as:void 0,crossOrigin:R,integrity:typeof E.integrity=="string"?E.integrity:void 0})}else o.d.m(b)},Pt.requestFormReset=function(b){o.d.r(b)},Pt.unstable_batchedUpdates=function(b,E){return b(E)},Pt.useFormState=function(b,E,R){return B.H.useFormState(b,E,R)},Pt.useFormStatus=function(){return B.H.useHostTransitionStatus()},Pt.version="19.2.6",Pt}var wr;function k0(){if(wr)return xf.exports;wr=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(r){console.error(r)}}return f(),xf.exports=J0(),xf.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 Kr;function $0(){if(Kr)return An;Kr=1;var f=K0(),r=Of(),v=k0();function o(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function A(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function D(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function B(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function M(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function b(t){if(D(t)!==t)throw Error(o(188))}function E(t){var e=t.alternate;if(!e){if(e=D(t),e===null)throw Error(o(188));return e!==t?null:t}for(var l=t,a=e;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return b(n),t;if(u===a)return b(n),e;u=u.sibling}throw Error(o(188))}if(l.return!==a.return)l=n,a=u;else{for(var i=!1,c=n.child;c;){if(c===l){i=!0,l=n,a=u;break}if(c===a){i=!0,a=n,l=u;break}c=c.sibling}if(!i){for(c=u.child;c;){if(c===l){i=!0,l=u,a=n;break}if(c===a){i=!0,a=u,l=n;break}c=c.sibling}if(!i)throw Error(o(189))}}if(l.alternate!==a)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?t:e}function R(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=R(t),e!==null)return e;t=t.sibling}return null}var O=Object.assign,K=Symbol.for("react.element"),I=Symbol.for("react.transitional.element"),ft=Symbol.for("react.portal"),vt=Symbol.for("react.fragment"),Rt=Symbol.for("react.strict_mode"),Nt=Symbol.for("react.profiler"),pt=Symbol.for("react.consumer"),St=Symbol.for("react.context"),Bt=Symbol.for("react.forward_ref"),Kt=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),$=Symbol.for("react.memo_cache_sentinel"),W=Symbol.iterator;function J(t){return t===null||typeof t!="object"?null:(t=W&&t[W]||t["@@iterator"],typeof t=="function"?t:null)}var C=Symbol.for("react.client.reference");function P(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===C?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case vt:return"Fragment";case Nt:return"Profiler";case Rt:return"StrictMode";case Kt:return"Suspense";case w:return"SuspenseList";case H:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case ft:return"Portal";case St:return t.displayName||"Context";case pt:return(t._context.displayName||"Context")+".Consumer";case Bt:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case k:return e=t.displayName||null,e!==null?e:P(t.type)||"Memo";case q:e=t._payload,t=t._init;try{return P(t(e))}catch{}}return null}var nt=Array.isArray,x=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=v.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null},at=[],dt=-1;function h(t){return{current:t}}function _(t){0>dt||(t.current=at[dt],at[dt]=null,dt--)}function L(t,e){dt++,at[dt]=t.current,t.current=e}var Y=h(null),tt=h(null),ut=h(null),bt=h(null);function te(t,e){switch(L(ut,e),L(tt,t),L(Y,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?cr(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=cr(e),t=fr(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}_(Y),L(Y,t)}function Ut(){_(Y),_(tt),_(ut)}function Ca(t){t.memoizedState!==null&&L(bt,t);var e=Y.current,l=fr(e,t.type);e!==l&&(L(tt,t),L(Y,l))}function Cn(t){tt.current===t&&(_(Y),_(tt)),bt.current===t&&(_(bt),En._currentValue=Z)}var Pu,Hf;function Al(t){if(Pu===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);Pu=e&&e[1]||"",Hf=-1<l.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+Pu+t+Hf}var ti=!1;function ei(t,e){if(!t||ti)return"";ti=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var N=function(){throw Error()};if(Object.defineProperty(N.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(N,[])}catch(z){var S=z}Reflect.construct(t,[],N)}else{try{N.call()}catch(z){S=z}t.call(N.prototype)}}else{try{throw Error()}catch(z){S=z}(N=t())&&typeof N.catch=="function"&&N.catch(function(){})}}catch(z){if(z&&S&&typeof z.stack=="string")return[z.stack,S.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
|
+
`),p=c.split(`
|
|
45
|
+
`);for(n=a=0;a<d.length&&!d[a].includes("DetermineComponentFrameRoot");)a++;for(;n<p.length&&!p[n].includes("DetermineComponentFrameRoot");)n++;if(a===d.length||n===p.length)for(a=d.length-1,n=p.length-1;1<=a&&0<=n&&d[a]!==p[n];)n--;for(;1<=a&&0<=n;a--,n--)if(d[a]!==p[n]){if(a!==1||n!==1)do if(a--,n--,0>n||d[a]!==p[n]){var T=`
|
|
46
|
+
`+d[a].replace(" at new "," at ");return t.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",t.displayName)),T}while(1<=a&&0<=n);break}}}finally{ti=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?Al(l):""}function pm(t,e){switch(t.tag){case 26:case 27:case 5:return Al(t.type);case 16:return Al("Lazy");case 13:return t.child!==e&&e!==null?Al("Suspense Fallback"):Al("Suspense");case 19:return Al("SuspenseList");case 0:case 15:return ei(t.type,!1);case 11:return ei(t.type.render,!1);case 1:return ei(t.type,!0);case 31:return Al("Activity");default:return""}}function Bf(t){try{var e="",l=null;do e+=pm(t,l),l=t,t=t.return;while(t);return e}catch(a){return`
|
|
47
|
+
Error generating stack: `+a.message+`
|
|
48
|
+
`+a.stack}}var li=Object.prototype.hasOwnProperty,ai=f.unstable_scheduleCallback,ni=f.unstable_cancelCallback,Sm=f.unstable_shouldYield,bm=f.unstable_requestPaint,se=f.unstable_now,Em=f.unstable_getCurrentPriorityLevel,qf=f.unstable_ImmediatePriority,Gf=f.unstable_UserBlockingPriority,On=f.unstable_NormalPriority,zm=f.unstable_LowPriority,Yf=f.unstable_IdlePriority,xm=f.log,Tm=f.unstable_setDisableYieldValue,Oa=null,oe=null;function el(t){if(typeof xm=="function"&&Tm(t),oe&&typeof oe.setStrictMode=="function")try{oe.setStrictMode(Oa,t)}catch{}}var de=Math.clz32?Math.clz32:Nm,jm=Math.log,Am=Math.LN2;function Nm(t){return t>>>=0,t===0?32:31-(jm(t)/Am|0)|0}var Rn=256,Un=262144,Ln=4194304;function Nl(t){var e=t&42;if(e!==0)return e;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,e,l){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=Nl(a):(i&=c,i!==0?n=Nl(i):l||(l=c&~t,l!==0&&(n=Nl(l))))):(c=a&~u,c!==0?n=Nl(c):i!==0?n=Nl(i):l||(l=a&~t,l!==0&&(n=Nl(l)))),n===0?0:e!==0&&e!==n&&(e&u)===0&&(u=n&-n,l=e&-e,u>=l||u===32&&(l&4194048)!==0)?e:n}function Ra(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function _m(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Xf(){var t=Ln;return Ln<<=1,(Ln&62914560)===0&&(Ln=4194304),t}function ui(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function Ua(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Mm(t,e,l,a,n,u){var i=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var c=t.entanglements,d=t.expirationTimes,p=t.hiddenUpdates;for(l=i&~l;0<l;){var T=31-de(l),N=1<<T;c[T]=0,d[T]=-1;var S=p[T];if(S!==null)for(p[T]=null,T=0;T<S.length;T++){var z=S[T];z!==null&&(z.lane&=-536870913)}l&=~N}a!==0&&Qf(t,a,0),u!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=u&~(i&~e))}function Qf(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-de(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&261930}function Zf(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-de(l),n=1<<a;n&e|t[a]&e&&(t[a]|=e),l&=~n}}function Vf(t,e){var l=e&-e;return l=(l&42)!==0?1:ii(l),(l&(t.suspendedLanes|e))!==0?0:l}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 wf(){var t=U.p;return t!==0?t:(t=window.event,t===void 0?32:Cr(t.type))}function Kf(t,e){var l=U.p;try{return U.p=t,e()}finally{U.p=l}}var ll=Math.random().toString(36).slice(2),Jt="__reactFiber$"+ll,le="__reactProps$"+ll,Kl="__reactContainer$"+ll,fi="__reactEvents$"+ll,Dm="__reactListeners$"+ll,Cm="__reactHandles$"+ll,Jf="__reactResources$"+ll,La="__reactMarker$"+ll;function si(t){delete t[Jt],delete t[le],delete t[fi],delete t[Dm],delete t[Cm]}function Jl(t){var e=t[Jt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[Kl]||l[Jt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=yr(t);t!==null;){if(l=t[Jt])return l;t=yr(t)}return e}t=l,l=t.parentNode}return null}function kl(t){if(t=t[Jt]||t[Kl]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Ha(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(o(33))}function $l(t){var e=t[Jf];return e||(e=t[Jf]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Vt(t){t[La]=!0}var kf=new Set,$f={};function _l(t,e){Wl(t,e),Wl(t+"Capture",e)}function Wl(t,e){for($f[t]=e,t=0;t<e.length;t++)kf.add(e[t])}var Om=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]*$"),Wf={},Ff={};function Rm(t){return li.call(Ff,t)?!0:li.call(Wf,t)?!1:Om.test(t)?Ff[t]=!0:(Wf[t]=!0,!1)}function Bn(t,e,l){if(Rm(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function qn(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function Be(t,e,l,a){if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+a)}}function be(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function If(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Um(t,e,l){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(i){l=""+i,u.call(this,i)}}),Object.defineProperty(t,e,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(i){l=""+i},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function oi(t){if(!t._valueTracker){var e=If(t)?"checked":"value";t._valueTracker=Um(t,e,""+t[e])}}function Pf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=If(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.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 Lm=/[\n"\\]/g;function Ee(t){return t.replace(Lm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function di(t,e,l,a,n,u,i,c){t.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?t.type=i:t.removeAttribute("type"),e!=null?i==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+be(e)):t.value!==""+be(e)&&(t.value=""+be(e)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),e!=null?ri(t,i,be(e)):l!=null?ri(t,i,be(l)):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=""+be(c):t.removeAttribute("name")}function ts(t,e,l,a,n,u,i,c){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){oi(t);return}l=l!=null?""+be(l):"",e=e!=null?""+be(e):l,c||e===t.value||(t.value=e),t.defaultValue=e}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,e,l){e==="number"&&Gn(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function Fl(t,e,l,a){if(t=t.options,e){e={};for(var n=0;n<l.length;n++)e["$"+l[n]]=!0;for(l=0;l<t.length;l++)n=e.hasOwnProperty("$"+t[l].value),t[l].selected!==n&&(t[l].selected=n),n&&a&&(t[l].defaultSelected=!0)}else{for(l=""+be(l),e=null,n=0;n<t.length;n++){if(t[n].value===l){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}e!==null||t[n].disabled||(e=t[n])}e!==null&&(e.selected=!0)}}function es(t,e,l){if(e!=null&&(e=""+be(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+be(l):""}function ls(t,e,l,a){if(e==null){if(a!=null){if(l!=null)throw Error(o(92));if(nt(a)){if(1<a.length)throw Error(o(93));a=a[0]}l=a}l==null&&(l=""),e=l}l=be(e),t.defaultValue=l,a=t.textContent,a===l&&a!==""&&a!==null&&(t.value=a),oi(t)}function Il(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Hm=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 as(t,e,l){var a=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,l):typeof l!="number"||l===0||Hm.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function ns(t,e,l){if(e!=null&&typeof e!="object")throw Error(o(62));if(t=t.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&l[n]!==a&&as(t,n,a)}else for(var u in e)e.hasOwnProperty(u)&&as(t,u,e[u])}function mi(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 Bm=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"]]),qm=/^[\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 qm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function qe(){}var hi=null;function yi(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Pl=null,ta=null;function us(t){var e=kl(t);if(e&&(t=e.stateNode)){var l=t[le]||null;t:switch(t=e.stateNode,e.type){case"input":if(di(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Ee(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var n=a[le]||null;if(!n)throw Error(o(90));di(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<l.length;e++)a=l[e],a.form===t.form&&Pf(a)}break t;case"textarea":es(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&Fl(t,!!l.multiple,e,!1)}}}var vi=!1;function is(t,e,l){if(vi)return t(e,l);vi=!0;try{var a=t(e);return a}finally{if(vi=!1,(Pl!==null||ta!==null)&&(Nu(),Pl&&(e=Pl,t=ta,ta=Pl=null,us(e),t)))for(e=0;e<t.length;e++)us(t[e])}}function Ba(t,e){var l=t.stateNode;if(l===null)return null;var a=l[le]||null;if(a===null)return null;l=a[e];t:switch(e){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(l&&typeof l!="function")throw Error(o(231,e,typeof l));return l}var Ge=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gi=!1;if(Ge)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 al=null,pi=null,Xn=null;function cs(){if(Xn)return Xn;var t,e=pi,l=e.length,a,n="value"in al?al.value:al.textContent,u=n.length;for(t=0;t<l&&e[t]===n[t];t++);var i=l-t;for(a=1;a<=i&&e[l-a]===n[u-a];a++);return Xn=n.slice(t,1<a?1-a:void 0)}function Qn(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Zn(){return!0}function fs(){return!1}function ae(t){function e(l,a,n,u,i){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=i,this.currentTarget=null;for(var c in t)t.hasOwnProperty(c)&&(l=t[c],this[c]=l?l(u):u[c]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Zn:fs,this.isPropagationStopped=fs,this}return O(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Zn)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Zn)},persist:function(){},isPersistent:Zn}),e}var Ml={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vn=ae(Ml),Ga=O({},Ml,{view:0,detail:0}),Gm=ae(Ga),Si,bi,Ya,wn=O({},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}}),ss=ae(wn),Ym=O({},wn,{dataTransfer:0}),Xm=ae(Ym),Qm=O({},Ga,{relatedTarget:0}),Ei=ae(Qm),Zm=O({},Ml,{animationName:0,elapsedTime:0,pseudoElement:0}),Vm=ae(Zm),wm=O({},Ml,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Km=ae(wm),Jm=O({},Ml,{data:0}),os=ae(Jm),km={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$m={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"},Wm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fm(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Wm[t])?!!e[t]:!1}function zi(){return Fm}var Im=O({},Ga,{key:function(t){if(t.key){var e=km[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Qn(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?$m[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}}),Pm=ae(Im),th=O({},wn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ds=ae(th),eh=O({},Ga,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zi}),lh=ae(eh),ah=O({},Ml,{propertyName:0,elapsedTime:0,pseudoElement:0}),nh=ae(ah),uh=O({},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}),ih=ae(uh),ch=O({},Ml,{newState:0,oldState:0}),fh=ae(ch),sh=[9,13,27,32],xi=Ge&&"CompositionEvent"in window,Xa=null;Ge&&"documentMode"in document&&(Xa=document.documentMode);var oh=Ge&&"TextEvent"in window&&!Xa,rs=Ge&&(!xi||Xa&&8<Xa&&11>=Xa),ms=" ",hs=!1;function ys(t,e){switch(t){case"keyup":return sh.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vs(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ea=!1;function dh(t,e){switch(t){case"compositionend":return vs(e);case"keypress":return e.which!==32?null:(hs=!0,ms);case"textInput":return t=e.data,t===ms&&hs?null:t;default:return null}}function rh(t,e){if(ea)return t==="compositionend"||!xi&&ys(t,e)?(t=cs(),Xn=pi=al=null,ea=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return rs&&e.locale!=="ko"?null:e.data;default:return null}}var mh={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 gs(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!mh[t.type]:e==="textarea"}function ps(t,e,l,a){Pl?ta?ta.push(a):ta=[a]:Pl=a,e=Uu(e,"onChange"),0<e.length&&(l=new Vn("onChange","change",null,l,a),t.push({event:l,listeners:e}))}var Qa=null,Za=null;function hh(t){er(t,0)}function Kn(t){var e=Ha(t);if(Pf(e))return t}function Ss(t,e){if(t==="change")return e}var bs=!1;if(Ge){var Ti;if(Ge){var ji="oninput"in document;if(!ji){var Es=document.createElement("div");Es.setAttribute("oninput","return;"),ji=typeof Es.oninput=="function"}Ti=ji}else Ti=!1;bs=Ti&&(!document.documentMode||9<document.documentMode)}function zs(){Qa&&(Qa.detachEvent("onpropertychange",xs),Za=Qa=null)}function xs(t){if(t.propertyName==="value"&&Kn(Za)){var e=[];ps(e,Za,t,yi(t)),is(hh,e)}}function yh(t,e,l){t==="focusin"?(zs(),Qa=e,Za=l,Qa.attachEvent("onpropertychange",xs)):t==="focusout"&&zs()}function vh(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Kn(Za)}function gh(t,e){if(t==="click")return Kn(e)}function ph(t,e){if(t==="input"||t==="change")return Kn(e)}function Sh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var re=typeof Object.is=="function"?Object.is:Sh;function Va(t,e){if(re(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),a=Object.keys(e);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!li.call(e,n)||!re(t[n],e[n]))return!1}return!0}function Ts(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function js(t,e){var l=Ts(t);t=0;for(var a;l;){if(l.nodeType===3){if(a=t+l.textContent.length,t<=e&&a>=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Ts(l)}}function As(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?As(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Ns(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Gn(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=Gn(t.document)}return e}function Ai(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var bh=Ge&&"documentMode"in document&&11>=document.documentMode,la=null,Ni=null,wa=null,_i=!1;function _s(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;_i||la==null||la!==Gn(a)||(a=la,"selectionStart"in a&&Ai(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=Uu(Ni,"onSelect"),0<a.length&&(e=new Vn("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=la)))}function Dl(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var aa={animationend:Dl("Animation","AnimationEnd"),animationiteration:Dl("Animation","AnimationIteration"),animationstart:Dl("Animation","AnimationStart"),transitionrun:Dl("Transition","TransitionRun"),transitionstart:Dl("Transition","TransitionStart"),transitioncancel:Dl("Transition","TransitionCancel"),transitionend:Dl("Transition","TransitionEnd")},Mi={},Ms={};Ge&&(Ms=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 Cl(t){if(Mi[t])return Mi[t];if(!aa[t])return t;var e=aa[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Ms)return Mi[t]=e[l];return t}var Ds=Cl("animationend"),Cs=Cl("animationiteration"),Os=Cl("animationstart"),Eh=Cl("transitionrun"),zh=Cl("transitionstart"),xh=Cl("transitioncancel"),Rs=Cl("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 De(t,e){Us.set(t,e),_l(e,[t])}var Jn=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=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(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},ze=[],na=0,Ci=0;function kn(){for(var t=na,e=Ci=na=0;e<t;){var l=ze[e];ze[e++]=null;var a=ze[e];ze[e++]=null;var n=ze[e];ze[e++]=null;var u=ze[e];if(ze[e++]=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&&Ls(l,n,u)}}function $n(t,e,l,a){ze[na++]=t,ze[na++]=e,ze[na++]=l,ze[na++]=a,Ci|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function Oi(t,e,l,a){return $n(t,e,l,a),Wn(t)}function Ol(t,e){return $n(t,null,null,e),Wn(t)}function Ls(t,e,l){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l);for(var n=!1,u=t.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),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&&e!==null&&(n=31-de(l),t=u.hiddenUpdates,a=t[n],a===null?t[n]=[e]:a.push(e),e.lane=l|536870912),u):null}function Wn(t){if(50<hn)throw hn=0,Xc=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var ua={};function Th(t,e,l,a){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,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 me(t,e,l,a){return new Th(t,e,l,a)}function Ri(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Ye(t,e){var l=t.alternate;return l===null?(l=me(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Hs(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Fn(t,e,l,a,n,u){var i=0;if(a=t,typeof t=="function")Ri(t)&&(i=1);else if(typeof t=="string")i=M0(t,l,Y.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case H:return t=me(31,l,e,n),t.elementType=H,t.lanes=u,t;case vt:return Rl(l.children,n,u,e);case Rt:i=8,n|=24;break;case Nt:return t=me(12,l,e,n|2),t.elementType=Nt,t.lanes=u,t;case Kt:return t=me(13,l,e,n),t.elementType=Kt,t.lanes=u,t;case w:return t=me(19,l,e,n),t.elementType=w,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case St:i=10;break t;case pt:i=9;break t;case Bt:i=11;break t;case k:i=14;break t;case q:i=16,a=null;break t}i=29,l=Error(o(130,t===null?"null":typeof t,"")),a=null}return e=me(i,l,e,n),e.elementType=t,e.type=a,e.lanes=u,e}function Rl(t,e,l,a){return t=me(7,t,a,e),t.lanes=l,t}function Ui(t,e,l){return t=me(6,t,null,e),t.lanes=l,t}function Bs(t){var e=me(18,null,null,0);return e.stateNode=t,e}function Li(t,e,l){return e=me(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var qs=new WeakMap;function xe(t,e){if(typeof t=="object"&&t!==null){var l=qs.get(t);return l!==void 0?l:(e={value:t,source:e,stack:Bf(e)},qs.set(t,e),e)}return{value:t,source:e,stack:Bf(e)}}var ia=[],ca=0,In=null,Ka=0,Te=[],je=0,nl=null,Re=1,Ue="";function Xe(t,e){ia[ca++]=Ka,ia[ca++]=In,In=t,Ka=e}function Gs(t,e,l){Te[je++]=Re,Te[je++]=Ue,Te[je++]=nl,nl=t;var a=Re;t=Ue;var n=32-de(a)-1;a&=~(1<<n),l+=1;var u=32-de(e)+n;if(30<u){var i=n-n%5;u=(a&(1<<i)-1).toString(32),a>>=i,n-=i,Re=1<<32-de(e)+n|l<<n|a,Ue=u+t}else Re=1<<u|l<<n|a,Ue=t}function Hi(t){t.return!==null&&(Xe(t,1),Gs(t,1,0))}function Bi(t){for(;t===In;)In=ia[--ca],ia[ca]=null,Ka=ia[--ca],ia[ca]=null;for(;t===nl;)nl=Te[--je],Te[je]=null,Ue=Te[--je],Te[je]=null,Re=Te[--je],Te[je]=null}function Ys(t,e){Te[je++]=Re,Te[je++]=Ue,Te[je++]=nl,Re=e.id,Ue=e.overflow,nl=t}var kt=null,_t=null,rt=!1,ul=null,Ae=!1,qi=Error(o(519));function il(t){var e=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ja(xe(e,t)),qi}function Xs(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[Jt]=t,e[le]=a,l){case"dialog":ct("cancel",e),ct("close",e);break;case"iframe":case"object":case"embed":ct("load",e);break;case"video":case"audio":for(l=0;l<vn.length;l++)ct(vn[l],e);break;case"source":ct("error",e);break;case"img":case"image":case"link":ct("error",e),ct("load",e);break;case"details":ct("toggle",e);break;case"input":ct("invalid",e),ts(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ct("invalid",e);break;case"textarea":ct("invalid",e),ls(e,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||ur(e.textContent,l)?(a.popover!=null&&(ct("beforetoggle",e),ct("toggle",e)),a.onScroll!=null&&ct("scroll",e),a.onScrollEnd!=null&&ct("scrollend",e),a.onClick!=null&&(e.onclick=qe),e=!0):e=!1,e||il(t,!0)}function Qs(t){for(kt=t.return;kt;)switch(kt.tag){case 5:case 31:case 13:Ae=!1;return;case 27:case 3:Ae=!0;return;default:kt=kt.return}}function fa(t){if(t!==kt)return!1;if(!rt)return Qs(t),rt=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||lf(t.type,t.memoizedProps)),l=!l),l&&_t&&il(t),Qs(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));_t=hr(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));_t=hr(t)}else e===27?(e=_t,bl(t.type)?(t=ff,ff=null,_t=t):_t=e):_t=kt?_e(t.stateNode.nextSibling):null;return!0}function Ul(){_t=kt=null,rt=!1}function Gi(){var t=ul;return t!==null&&(ce===null?ce=t:ce.push.apply(ce,t),ul=null),t}function Ja(t){ul===null?ul=[t]:ul.push(t)}var Yi=h(null),Ll=null,Qe=null;function cl(t,e,l){L(Yi,e._currentValue),e._currentValue=l}function Ze(t){t._currentValue=Yi.current,_(Yi)}function Xi(t,e,l){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===l)break;t=t.return}}function Qi(t,e,l,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<e.length;d++)if(c.context===e[d]){u.lanes|=l,c=u.alternate,c!==null&&(c.lanes|=l),Xi(u.return,l,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|=l,u=i.alternate,u!==null&&(u.lanes|=l),Xi(i,l,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,e,l,a){t=null;for(var n=e,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;re(n.pendingProps.value,i.value)||(t!==null?t.push(c):t=[c])}}else if(n===bt.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(e,t,l,a),e.flags|=262144}function Pn(t){for(t=t.firstContext;t!==null;){if(!re(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Hl(t){Ll=t,Qe=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function $t(t){return Zs(Ll,t)}function tu(t,e){return Ll===null&&Hl(t),Zs(t,e)}function Zs(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Qe===null){if(t===null)throw Error(o(308));Qe=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Qe=Qe.next=e;return l}var jh=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},Ah=f.unstable_scheduleCallback,Nh=f.unstable_NormalPriority,qt={$$typeof:St,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Zi(){return{controller:new jh,data:new Map,refCount:0}}function ka(t){t.refCount--,t.refCount===0&&Ah(Nh,function(){t.controller.abort()})}var $a=null,Vi=0,oa=0,da=null;function _h(t,e){if($a===null){var l=$a=[];Vi=0,oa=Jc(),da={status:"pending",value:void 0,then:function(a){l.push(a)}}}return Vi++,e.then(Vs,Vs),e}function Vs(){if(--Vi===0&&$a!==null){da!==null&&(da.status="fulfilled");var t=$a;$a=null,oa=0,da=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Mh(t,e){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<l.length;n++)(0,l[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var ws=x.S;x.S=function(t,e){Md=se(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&_h(t,e),ws!==null&&ws(t,e)};var Bl=h(null);function wi(){var t=Bl.current;return t!==null?t:At.pooledCache}function eu(t,e){e===null?L(Bl,Bl.current):L(Bl,e.pool)}function Ks(){var t=wi();return t===null?null:{parent:qt._currentValue,pool:t}}var ra=Error(o(460)),Ki=Error(o(474)),lu=Error(o(542)),au={then:function(){}};function Js(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ks(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(qe,qe),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Ws(t),t;default:if(typeof e.status=="string")e.then(qe,qe);else{if(t=At,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=a}},function(a){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Ws(t),t}throw Gl=e,ra}}function ql(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Gl=l,ra):l}}var Gl=null;function $s(){if(Gl===null)throw Error(o(459));var t=Gl;return Gl=null,t}function Ws(t){if(t===ra||t===lu)throw Error(o(483))}var ma=null,Wa=0;function nu(t){var e=Wa;return Wa+=1,ma===null&&(ma=[]),ks(ma,t,e)}function Fa(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function uu(t,e){throw e.$$typeof===K?Error(o(525)):(t=Object.prototype.toString.call(e),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Fs(t){function e(y,m){if(t){var g=y.deletions;g===null?(y.deletions=[m],y.flags|=16):g.push(m)}}function l(y,m){if(!t)return null;for(;m!==null;)e(y,m),m=m.sibling;return null}function a(y){for(var m=new Map;y!==null;)y.key!==null?m.set(y.key,y):m.set(y.index,y),y=y.sibling;return m}function n(y,m){return y=Ye(y,m),y.index=0,y.sibling=null,y}function u(y,m,g){return y.index=g,t?(g=y.alternate,g!==null?(g=g.index,g<m?(y.flags|=67108866,m):g):(y.flags|=67108866,m)):(y.flags|=1048576,m)}function i(y){return t&&y.alternate===null&&(y.flags|=67108866),y}function c(y,m,g,j){return m===null||m.tag!==6?(m=Ui(g,y.mode,j),m.return=y,m):(m=n(m,g),m.return=y,m)}function d(y,m,g,j){var Q=g.type;return Q===vt?T(y,m,g.props.children,j,g.key):m!==null&&(m.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===q&&ql(Q)===m.type)?(m=n(m,g.props),Fa(m,g),m.return=y,m):(m=Fn(g.type,g.key,g.props,null,y.mode,j),Fa(m,g),m.return=y,m)}function p(y,m,g,j){return m===null||m.tag!==4||m.stateNode.containerInfo!==g.containerInfo||m.stateNode.implementation!==g.implementation?(m=Li(g,y.mode,j),m.return=y,m):(m=n(m,g.children||[]),m.return=y,m)}function T(y,m,g,j,Q){return m===null||m.tag!==7?(m=Rl(g,y.mode,j,Q),m.return=y,m):(m=n(m,g),m.return=y,m)}function N(y,m,g){if(typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint")return m=Ui(""+m,y.mode,g),m.return=y,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case I:return g=Fn(m.type,m.key,m.props,null,y.mode,g),Fa(g,m),g.return=y,g;case ft:return m=Li(m,y.mode,g),m.return=y,m;case q:return m=ql(m),N(y,m,g)}if(nt(m)||J(m))return m=Rl(m,y.mode,g,null),m.return=y,m;if(typeof m.then=="function")return N(y,nu(m),g);if(m.$$typeof===St)return N(y,tu(y,m),g);uu(y,m)}return null}function S(y,m,g,j){var Q=m!==null?m.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return Q!==null?null:c(y,m,""+g,j);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case I:return g.key===Q?d(y,m,g,j):null;case ft:return g.key===Q?p(y,m,g,j):null;case q:return g=ql(g),S(y,m,g,j)}if(nt(g)||J(g))return Q!==null?null:T(y,m,g,j,null);if(typeof g.then=="function")return S(y,m,nu(g),j);if(g.$$typeof===St)return S(y,m,tu(y,g),j);uu(y,g)}return null}function z(y,m,g,j,Q){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return y=y.get(g)||null,c(m,y,""+j,Q);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case I:return y=y.get(j.key===null?g:j.key)||null,d(m,y,j,Q);case ft:return y=y.get(j.key===null?g:j.key)||null,p(m,y,j,Q);case q:return j=ql(j),z(y,m,g,j,Q)}if(nt(j)||J(j))return y=y.get(g)||null,T(m,y,j,Q,null);if(typeof j.then=="function")return z(y,m,g,nu(j),Q);if(j.$$typeof===St)return z(y,m,g,tu(m,j),Q);uu(m,j)}return null}function G(y,m,g,j){for(var Q=null,mt=null,X=m,lt=m=0,ot=null;X!==null&<<g.length;lt++){X.index>lt?(ot=X,X=null):ot=X.sibling;var ht=S(y,X,g[lt],j);if(ht===null){X===null&&(X=ot);break}t&&X&&ht.alternate===null&&e(y,X),m=u(ht,m,lt),mt===null?Q=ht:mt.sibling=ht,mt=ht,X=ot}if(lt===g.length)return l(y,X),rt&&Xe(y,lt),Q;if(X===null){for(;lt<g.length;lt++)X=N(y,g[lt],j),X!==null&&(m=u(X,m,lt),mt===null?Q=X:mt.sibling=X,mt=X);return rt&&Xe(y,lt),Q}for(X=a(X);lt<g.length;lt++)ot=z(X,y,lt,g[lt],j),ot!==null&&(t&&ot.alternate!==null&&X.delete(ot.key===null?lt:ot.key),m=u(ot,m,lt),mt===null?Q=ot:mt.sibling=ot,mt=ot);return t&&X.forEach(function(jl){return e(y,jl)}),rt&&Xe(y,lt),Q}function V(y,m,g,j){if(g==null)throw Error(o(151));for(var Q=null,mt=null,X=m,lt=m=0,ot=null,ht=g.next();X!==null&&!ht.done;lt++,ht=g.next()){X.index>lt?(ot=X,X=null):ot=X.sibling;var jl=S(y,X,ht.value,j);if(jl===null){X===null&&(X=ot);break}t&&X&&jl.alternate===null&&e(y,X),m=u(jl,m,lt),mt===null?Q=jl:mt.sibling=jl,mt=jl,X=ot}if(ht.done)return l(y,X),rt&&Xe(y,lt),Q;if(X===null){for(;!ht.done;lt++,ht=g.next())ht=N(y,ht.value,j),ht!==null&&(m=u(ht,m,lt),mt===null?Q=ht:mt.sibling=ht,mt=ht);return rt&&Xe(y,lt),Q}for(X=a(X);!ht.done;lt++,ht=g.next())ht=z(X,y,lt,ht.value,j),ht!==null&&(t&&ht.alternate!==null&&X.delete(ht.key===null?lt:ht.key),m=u(ht,m,lt),mt===null?Q=ht:mt.sibling=ht,mt=ht);return t&&X.forEach(function(Y0){return e(y,Y0)}),rt&&Xe(y,lt),Q}function jt(y,m,g,j){if(typeof g=="object"&&g!==null&&g.type===vt&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case I:t:{for(var Q=g.key;m!==null;){if(m.key===Q){if(Q=g.type,Q===vt){if(m.tag===7){l(y,m.sibling),j=n(m,g.props.children),j.return=y,y=j;break t}}else if(m.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===q&&ql(Q)===m.type){l(y,m.sibling),j=n(m,g.props),Fa(j,g),j.return=y,y=j;break t}l(y,m);break}else e(y,m);m=m.sibling}g.type===vt?(j=Rl(g.props.children,y.mode,j,g.key),j.return=y,y=j):(j=Fn(g.type,g.key,g.props,null,y.mode,j),Fa(j,g),j.return=y,y=j)}return i(y);case ft:t:{for(Q=g.key;m!==null;){if(m.key===Q)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){l(y,m.sibling),j=n(m,g.children||[]),j.return=y,y=j;break t}else{l(y,m);break}else e(y,m);m=m.sibling}j=Li(g,y.mode,j),j.return=y,y=j}return i(y);case q:return g=ql(g),jt(y,m,g,j)}if(nt(g))return G(y,m,g,j);if(J(g)){if(Q=J(g),typeof Q!="function")throw Error(o(150));return g=Q.call(g),V(y,m,g,j)}if(typeof g.then=="function")return jt(y,m,nu(g),j);if(g.$$typeof===St)return jt(y,m,tu(y,g),j);uu(y,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,m!==null&&m.tag===6?(l(y,m.sibling),j=n(m,g),j.return=y,y=j):(l(y,m),j=Ui(g,y.mode,j),j.return=y,y=j),i(y)):l(y,m)}return function(y,m,g,j){try{Wa=0;var Q=jt(y,m,g,j);return ma=null,Q}catch(X){if(X===ra||X===lu)throw X;var mt=me(29,X,null,y.mode);return mt.lanes=j,mt.return=y,mt}finally{}}}var Yl=Fs(!0),Is=Fs(!1),fl=!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,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function sl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ol(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(gt&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=Wn(t),Ls(t,null,l),e}return $n(t,a,e,l),Wn(t)}function Ia(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Zf(t,l)}}function $i(t,e){var l=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var i={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=i:u=u.next=i,l=l.next}while(l!==null);u===null?n=u=e:u=u.next=e}else n=u=e;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var Wi=!1;function Pa(){if(Wi){var t=da;if(t!==null)throw t}}function tn(t,e,l,a){Wi=!1;var n=t.updateQueue;fl=!1;var u=n.firstBaseUpdate,i=n.lastBaseUpdate,c=n.shared.pending;if(c!==null){n.shared.pending=null;var d=c,p=d.next;d.next=null,i===null?u=p:i.next=p,i=d;var T=t.alternate;T!==null&&(T=T.updateQueue,c=T.lastBaseUpdate,c!==i&&(c===null?T.firstBaseUpdate=p:c.next=p,T.lastBaseUpdate=d))}if(u!==null){var N=n.baseState;i=0,T=p=d=null,c=u;do{var S=c.lane&-536870913,z=S!==c.lane;if(z?(st&S)===S:(a&S)===S){S!==0&&S===oa&&(Wi=!0),T!==null&&(T=T.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});t:{var G=t,V=c;S=e;var jt=l;switch(V.tag){case 1:if(G=V.payload,typeof G=="function"){N=G.call(jt,N,S);break t}N=G;break t;case 3:G.flags=G.flags&-65537|128;case 0:if(G=V.payload,S=typeof G=="function"?G.call(jt,N,S):G,S==null)break t;N=O({},N,S);break t;case 2:fl=!0}}S=c.callback,S!==null&&(t.flags|=64,z&&(t.flags|=8192),z=n.callbacks,z===null?n.callbacks=[S]:z.push(S))}else z={lane:S,tag:c.tag,payload:c.payload,callback:c.callback,next:null},T===null?(p=T=z,d=N):T=T.next=z,i|=S;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);T===null&&(d=N),n.baseState=d,n.firstBaseUpdate=p,n.lastBaseUpdate=T,u===null&&(n.shared.lanes=0),yl|=i,t.lanes=i,t.memoizedState=N}}function Ps(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function to(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)Ps(l[t],e)}var ha=h(null),iu=h(0);function eo(t,e){t=Ie,L(iu,t),L(ha,e),Ie=t|e.baseLanes}function Fi(){L(iu,Ie),L(ha,ha.current)}function Ii(){Ie=iu.current,_(ha),_(iu)}var he=h(null),Ne=null;function dl(t){var e=t.alternate;L(Lt,Lt.current&1),L(he,t),Ne===null&&(e===null||ha.current!==null||e.memoizedState!==null)&&(Ne=t)}function Pi(t){L(Lt,Lt.current),L(he,t),Ne===null&&(Ne=t)}function lo(t){t.tag===22?(L(Lt,Lt.current),L(he,t),Ne===null&&(Ne=t)):rl()}function rl(){L(Lt,Lt.current),L(he,he.current)}function ye(t){_(he),Ne===t&&(Ne=null),_(Lt)}var Lt=h(0);function cu(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||uf(l)||cf(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Ve=0,et=null,xt=null,Gt=null,fu=!1,ya=!1,Xl=!1,su=0,en=0,va=null,Dh=0;function Ct(){throw Error(o(321))}function tc(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!re(t[l],e[l]))return!1;return!0}function ec(t,e,l,a,n,u){return Ve=u,et=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,x.H=t===null||t.memoizedState===null?Yo:vc,Xl=!1,u=l(a,n),Xl=!1,ya&&(u=no(e,l,a,n)),ao(t),u}function ao(t){x.H=nn;var e=xt!==null&&xt.next!==null;if(Ve=0,Gt=xt=et=null,fu=!1,en=0,va=null,e)throw Error(o(300));t===null||Yt||(t=t.dependencies,t!==null&&Pn(t)&&(Yt=!0))}function no(t,e,l,a){et=t;var n=0;do{if(ya&&(va=null),en=0,ya=!1,25<=n)throw Error(o(301));if(n+=1,Gt=xt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}x.H=Xo,u=e(l,a)}while(ya);return u}function Ch(){var t=x.H,e=t.useState()[0];return e=typeof e.then=="function"?ln(e):e,t=t.useState()[0],(xt!==null?xt.memoizedState:null)!==t&&(et.flags|=1024),e}function lc(){var t=su!==0;return su=0,t}function ac(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function nc(t){if(fu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}fu=!1}Ve=0,Gt=xt=et=null,ya=!1,en=su=0,va=null}function ee(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gt===null?et.memoizedState=Gt=t:Gt=Gt.next=t,Gt}function Ht(){if(xt===null){var t=et.alternate;t=t!==null?t.memoizedState:null}else t=xt.next;var e=Gt===null?et.memoizedState:Gt.next;if(e!==null)Gt=e,xt=t;else{if(t===null)throw et.alternate===null?Error(o(467)):Error(o(310));xt=t,t={memoizedState:xt.memoizedState,baseState:xt.baseState,baseQueue:xt.baseQueue,queue:xt.queue,next:null},Gt===null?et.memoizedState=Gt=t:Gt=Gt.next=t}return Gt}function ou(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ln(t){var e=en;return en+=1,va===null&&(va=[]),t=ks(va,t,e),e=et,(Gt===null?e.memoizedState:Gt.next)===null&&(e=e.alternate,x.H=e===null||e.memoizedState===null?Yo:vc),t}function du(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ln(t);if(t.$$typeof===St)return $t(t)}throw Error(o(438,String(t)))}function uc(t){var e=null,l=et.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var a=et.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=ou(),et.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),a=0;a<t;a++)l[a]=$;return e.index++,l}function we(t,e){return typeof e=="function"?e(t):e}function ru(t){var e=Ht();return ic(e,xt,t)}function ic(t,e,l){var a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=l;var n=t.baseQueue,u=a.pending;if(u!==null){if(n!==null){var i=n.next;n.next=u.next,u.next=i}e.baseQueue=n=u,a.pending=null}if(u=t.baseState,n===null)t.memoizedState=u;else{e=n.next;var c=i=null,d=null,p=e,T=!1;do{var N=p.lane&-536870913;if(N!==p.lane?(st&N)===N:(Ve&N)===N){var S=p.revertLane;if(S===0)d!==null&&(d=d.next={lane:0,revertLane:0,gesture:null,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),N===oa&&(T=!0);else if((Ve&S)===S){p=p.next,S===oa&&(T=!0);continue}else N={lane:0,revertLane:p.revertLane,gesture:null,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},d===null?(c=d=N,i=u):d=d.next=N,et.lanes|=S,yl|=S;N=p.action,Xl&&l(u,N),u=p.hasEagerState?p.eagerState:l(u,N)}else S={lane:N,revertLane:p.revertLane,gesture:p.gesture,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},d===null?(c=d=S,i=u):d=d.next=S,et.lanes|=N,yl|=N;p=p.next}while(p!==null&&p!==e);if(d===null?i=u:d.next=c,!re(u,t.memoizedState)&&(Yt=!0,T&&(l=da,l!==null)))throw l;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 e=Ht(),l=e.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=t;var a=l.dispatch,n=l.pending,u=e.memoizedState;if(n!==null){l.pending=null;var i=n=n.next;do u=t(u,i.action),i=i.next;while(i!==n);re(u,e.memoizedState)||(Yt=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),l.lastRenderedState=u}return[u,a]}function uo(t,e,l){var a=et,n=Ht(),u=rt;if(u){if(l===void 0)throw Error(o(407));l=l()}else l=e();var i=!re((xt||n).memoizedState,l);if(i&&(n.memoizedState=l,Yt=!0),n=n.queue,oc(fo.bind(null,a,n,t),[t]),n.getSnapshot!==e||i||Gt!==null&&Gt.memoizedState.tag&1){if(a.flags|=2048,ga(9,{destroy:void 0},co.bind(null,a,n,l,e),null),At===null)throw Error(o(349));u||(Ve&127)!==0||io(a,e,l)}return l}function io(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=et.updateQueue,e===null?(e=ou(),et.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function co(t,e,l,a){e.value=l,e.getSnapshot=a,so(e)&&oo(t)}function fo(t,e,l){return l(function(){so(e)&&oo(t)})}function so(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!re(t,l)}catch{return!0}}function oo(t){var e=Ol(t,2);e!==null&&fe(e,t,2)}function fc(t){var e=ee();if(typeof t=="function"){var l=t;if(t=l(),Xl){el(!0);try{l()}finally{el(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:we,lastRenderedState:t},e}function ro(t,e,l,a){return t.baseState=l,ic(t,xt,typeof a=="function"?a:we)}function Oh(t,e,l,a,n){if(yu(t))throw Error(o(485));if(t=e.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)}};x.T!==null?l(!0):u.isTransition=!1,a(u),l=e.pending,l===null?(u.next=e.pending=u,mo(e,u)):(u.next=l.next,e.pending=l.next=u)}}function mo(t,e){var l=e.action,a=e.payload,n=t.state;if(e.isTransition){var u=x.T,i={};x.T=i;try{var c=l(n,a),d=x.S;d!==null&&d(i,c),ho(t,e,c)}catch(p){sc(t,e,p)}finally{u!==null&&i.types!==null&&(u.types=i.types),x.T=u}}else try{u=l(n,a),ho(t,e,u)}catch(p){sc(t,e,p)}}function ho(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){yo(t,e,a)},function(a){return sc(t,e,a)}):yo(t,e,l)}function yo(t,e,l){e.status="fulfilled",e.value=l,vo(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,mo(t,l)))}function sc(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,vo(e),e=e.next;while(e!==a)}t.action=null}function vo(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function go(t,e){return e}function po(t,e){if(rt){var l=At.formState;if(l!==null){t:{var a=et;if(rt){if(_t){e:{for(var n=_t,u=Ae;n.nodeType!==8;){if(!u){n=null;break e}if(n=_e(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){_t=_e(n.nextSibling),a=n.data==="F!";break t}}il(a)}a=!1}a&&(e=l[0])}}return l=ee(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:go,lastRenderedState:e},l.queue=a,l=Bo.bind(null,et,a),a.dispatch=l,a=fc(!1),u=yc.bind(null,et,!1,a.queue),a=ee(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=Oh.bind(null,et,n,u,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function So(t){var e=Ht();return bo(e,xt,t)}function bo(t,e,l){if(e=ic(t,e,go)[0],t=ru(we)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=ln(e)}catch(i){throw i===ra?lu:i}else a=e;e=Ht();var n=e.queue,u=n.dispatch;return l!==e.memoizedState&&(et.flags|=2048,ga(9,{destroy:void 0},Rh.bind(null,n,l),null)),[a,u,t]}function Rh(t,e){t.action=e}function Eo(t){var e=Ht(),l=xt;if(l!==null)return bo(e,l,t);Ht(),e=e.memoizedState,l=Ht();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function ga(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=et.updateQueue,e===null&&(e=ou(),et.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(a=l.next,l.next=t,t.next=a,e.lastEffect=t),t}function zo(){return Ht().memoizedState}function mu(t,e,l,a){var n=ee();et.flags|=t,n.memoizedState=ga(1|e,{destroy:void 0},l,a===void 0?null:a)}function hu(t,e,l,a){var n=Ht();a=a===void 0?null:a;var u=n.memoizedState.inst;xt!==null&&a!==null&&tc(a,xt.memoizedState.deps)?n.memoizedState=ga(e,u,l,a):(et.flags|=t,n.memoizedState=ga(1|e,u,l,a))}function xo(t,e){mu(8390656,8,t,e)}function oc(t,e){hu(2048,8,t,e)}function Uh(t){et.flags|=4;var e=et.updateQueue;if(e===null)e=ou(),et.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function To(t){var e=Ht().memoizedState;return Uh({ref:e,nextImpl:t}),function(){if((gt&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}function jo(t,e){return hu(4,2,t,e)}function Ao(t,e){return hu(4,4,t,e)}function No(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function _o(t,e,l){l=l!=null?l.concat([t]):null,hu(4,4,No.bind(null,e,t),l)}function dc(){}function Mo(t,e){var l=Ht();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&tc(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function Do(t,e){var l=Ht();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&tc(e,a[1]))return a[0];if(a=t(),Xl){el(!0);try{t()}finally{el(!1)}}return l.memoizedState=[a,e],a}function rc(t,e,l){return l===void 0||(Ve&1073741824)!==0&&(st&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=Cd(),et.lanes|=t,yl|=t,l)}function Co(t,e,l,a){return re(l,e)?l:ha.current!==null?(t=rc(t,l,a),re(t,e)||(Yt=!0),t):(Ve&42)===0||(Ve&1073741824)!==0&&(st&261930)===0?(Yt=!0,t.memoizedState=l):(t=Cd(),et.lanes|=t,yl|=t,e)}function Oo(t,e,l,a,n){var u=U.p;U.p=u!==0&&8>u?u:8;var i=x.T,c={};x.T=c,yc(t,!1,e,l);try{var d=n(),p=x.S;if(p!==null&&p(c,d),d!==null&&typeof d=="object"&&typeof d.then=="function"){var T=Mh(d,a);an(t,e,T,pe(t))}else an(t,e,a,pe(t))}catch(N){an(t,e,{then:function(){},status:"rejected",reason:N},pe())}finally{U.p=u,i!==null&&c.types!==null&&(i.types=c.types),x.T=i}}function Lh(){}function mc(t,e,l,a){if(t.tag!==5)throw Error(o(476));var n=Ro(t).queue;Oo(t,n,e,Z,l===null?Lh:function(){return Uo(t),l(a)})}function Ro(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Z,baseState:Z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:we,lastRenderedState:Z},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:we,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Uo(t){var e=Ro(t);e.next===null&&(e=t.alternate.memoizedState),an(t,e.next.queue,{},pe())}function hc(){return $t(En)}function Lo(){return Ht().memoizedState}function Ho(){return Ht().memoizedState}function Hh(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=pe();t=sl(l);var a=ol(e,t,l);a!==null&&(fe(a,e,l),Ia(a,e,l)),e={cache:Zi()},t.payload=e;return}e=e.return}}function Bh(t,e,l){var a=pe();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},yu(t)?qo(e,l):(l=Oi(t,e,l,a),l!==null&&(fe(l,t,a),Go(l,e,a)))}function Bo(t,e,l){var a=pe();an(t,e,l,a)}function an(t,e,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(yu(t))qo(e,n);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var i=e.lastRenderedState,c=u(i,l);if(n.hasEagerState=!0,n.eagerState=c,re(c,i))return $n(t,e,n,0),At===null&&kn(),!1}catch{}finally{}if(l=Oi(t,e,n,a),l!==null)return fe(l,t,a),Go(l,e,a),!0}return!1}function yc(t,e,l,a){if(a={lane:2,revertLane:Jc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},yu(t)){if(e)throw Error(o(479))}else e=Oi(t,l,a,2),e!==null&&fe(e,t,2)}function yu(t){var e=t.alternate;return t===et||e!==null&&e===et}function qo(t,e){ya=fu=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function Go(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Zf(t,l)}}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 Yo={readContext:$t,use:du,useCallback:function(t,e){return ee().memoizedState=[t,e===void 0?null:e],t},useContext:$t,useEffect:xo,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,mu(4194308,4,No.bind(null,e,t),l)},useLayoutEffect:function(t,e){return mu(4194308,4,t,e)},useInsertionEffect:function(t,e){mu(4,2,t,e)},useMemo:function(t,e){var l=ee();e=e===void 0?null:e;var a=t();if(Xl){el(!0);try{t()}finally{el(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=ee();if(l!==void 0){var n=l(e);if(Xl){el(!0);try{l(e)}finally{el(!1)}}}else n=e;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=Bh.bind(null,et,t),[a.memoizedState,t]},useRef:function(t){var e=ee();return t={current:t},e.memoizedState=t},useState:function(t){t=fc(t);var e=t.queue,l=Bo.bind(null,et,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:dc,useDeferredValue:function(t,e){var l=ee();return rc(l,t,e)},useTransition:function(){var t=fc(!1);return t=Oo.bind(null,et,t.queue,!0,!1),ee().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=et,n=ee();if(rt){if(l===void 0)throw Error(o(407));l=l()}else{if(l=e(),At===null)throw Error(o(349));(st&127)!==0||io(a,e,l)}n.memoizedState=l;var u={value:l,getSnapshot:e};return n.queue=u,xo(fo.bind(null,a,u,t),[t]),a.flags|=2048,ga(9,{destroy:void 0},co.bind(null,a,u,l,e),null),l},useId:function(){var t=ee(),e=At.identifierPrefix;if(rt){var l=Ue,a=Re;l=(a&~(1<<32-de(a)-1)).toString(32)+l,e="_"+e+"R_"+l,l=su++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=Dh++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:hc,useFormState:po,useActionState:po,useOptimistic:function(t){var e=ee();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=yc.bind(null,et,!0,l),l.dispatch=e,[t,e]},useMemoCache:uc,useCacheRefresh:function(){return ee().memoizedState=Hh.bind(null,et)},useEffectEvent:function(t){var e=ee(),l={impl:t};return e.memoizedState=l,function(){if((gt&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}},vc={readContext:$t,use:du,useCallback:Mo,useContext:$t,useEffect:oc,useImperativeHandle:_o,useInsertionEffect:jo,useLayoutEffect:Ao,useMemo:Do,useReducer:ru,useRef:zo,useState:function(){return ru(we)},useDebugValue:dc,useDeferredValue:function(t,e){var l=Ht();return Co(l,xt.memoizedState,t,e)},useTransition:function(){var t=ru(we)[0],e=Ht().memoizedState;return[typeof t=="boolean"?t:ln(t),e]},useSyncExternalStore:uo,useId:Lo,useHostTransitionStatus:hc,useFormState:So,useActionState:So,useOptimistic:function(t,e){var l=Ht();return ro(l,xt,t,e)},useMemoCache:uc,useCacheRefresh:Ho};vc.useEffectEvent=To;var Xo={readContext:$t,use:du,useCallback:Mo,useContext:$t,useEffect:oc,useImperativeHandle:_o,useInsertionEffect:jo,useLayoutEffect:Ao,useMemo:Do,useReducer:cc,useRef:zo,useState:function(){return cc(we)},useDebugValue:dc,useDeferredValue:function(t,e){var l=Ht();return xt===null?rc(l,t,e):Co(l,xt.memoizedState,t,e)},useTransition:function(){var t=cc(we)[0],e=Ht().memoizedState;return[typeof t=="boolean"?t:ln(t),e]},useSyncExternalStore:uo,useId:Lo,useHostTransitionStatus:hc,useFormState:Eo,useActionState:Eo,useOptimistic:function(t,e){var l=Ht();return xt!==null?ro(l,xt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:uc,useCacheRefresh:Ho};Xo.useEffectEvent=To;function gc(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:O({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var pc={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=pe(),n=sl(a);n.payload=e,l!=null&&(n.callback=l),e=ol(t,n,a),e!==null&&(fe(e,t,a),Ia(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=pe(),n=sl(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=ol(t,n,a),e!==null&&(fe(e,t,a),Ia(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=pe(),a=sl(l);a.tag=2,e!=null&&(a.callback=e),e=ol(t,a,l),e!==null&&(fe(e,t,l),Ia(e,t,l))}};function Qo(t,e,l,a,n,u,i){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,u,i):e.prototype&&e.prototype.isPureReactComponent?!Va(l,a)||!Va(n,u):!0}function Zo(t,e,l,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,a),e.state!==t&&pc.enqueueReplaceState(e,e.state,null)}function Ql(t,e){var l=e;if("ref"in e){l={};for(var a in e)a!=="ref"&&(l[a]=e[a])}if(t=t.defaultProps){l===e&&(l=O({},l));for(var n in t)l[n]===void 0&&(l[n]=t[n])}return l}function Vo(t){Jn(t)}function wo(t){console.error(t)}function Ko(t){Jn(t)}function vu(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function Jo(t,e,l){try{var a=t.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Sc(t,e,l){return l=sl(l),l.tag=3,l.payload={element:null},l.callback=function(){vu(t,e)},l}function ko(t){return t=sl(t),t.tag=3,t}function $o(t,e,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;t.payload=function(){return n(u)},t.callback=function(){Jo(e,l,a)}}var i=l.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){Jo(e,l,a),typeof n!="function"&&(vl===null?vl=new Set([this]):vl.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function qh(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&sa(e,l,n,!0),l=he.current,l!==null){switch(l.tag){case 31:case 13:return Ne===null?_u():l.alternate===null&&Ot===0&&(Ot=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===au?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),Vc(t,a,n)),!1;case 22:return l.flags|=65536,a===au?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([a]):l.add(a)),Vc(t,a,n)),!1}throw Error(o(435,l.tag))}return Vc(t,a,n),_u(),!1}if(rt)return e=he.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==qi&&(t=Error(o(422),{cause:a}),Ja(xe(t,l)))):(a!==qi&&(e=Error(o(423),{cause:a}),Ja(xe(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=xe(a,l),n=Sc(t.stateNode,a,n),$i(t,n),Ot!==4&&(Ot=2)),!1;var u=Error(o(520),{cause:a});if(u=xe(u,l),mn===null?mn=[u]:mn.push(u),Ot!==4&&(Ot=2),e===null)return!0;a=xe(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=Sc(l.stateNode,a,t),$i(l,t),!1;case 1:if(e=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(vl===null||!vl.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=ko(n),$o(n,t,l,a),$i(l,n),!1}l=l.return}while(l!==null);return!1}var bc=Error(o(461)),Yt=!1;function Wt(t,e,l,a){e.child=t===null?Is(e,null,l,a):Yl(e,t.child,l,a)}function Wo(t,e,l,a,n){l=l.render;var u=e.ref;if("ref"in a){var i={};for(var c in a)c!=="ref"&&(i[c]=a[c])}else i=a;return Hl(e),a=ec(t,e,l,i,u,n),c=lc(),t!==null&&!Yt?(ac(t,e,n),Ke(t,e,n)):(rt&&c&&Hi(e),e.flags|=1,Wt(t,e,a,n),e.child)}function Fo(t,e,l,a,n){if(t===null){var u=l.type;return typeof u=="function"&&!Ri(u)&&u.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=u,Io(t,e,u,a,n)):(t=Fn(l.type,null,a,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(u=t.child,!_c(t,n)){var i=u.memoizedProps;if(l=l.compare,l=l!==null?l:Va,l(i,a)&&t.ref===e.ref)return Ke(t,e,n)}return e.flags|=1,t=Ye(u,a),t.ref=e.ref,t.return=e,e.child=t}function Io(t,e,l,a,n){if(t!==null){var u=t.memoizedProps;if(Va(u,a)&&t.ref===e.ref)if(Yt=!1,e.pendingProps=a=u,_c(t,n))(t.flags&131072)!==0&&(Yt=!0);else return e.lanes=t.lanes,Ke(t,e,n)}return Ec(t,e,l,a,n)}function Po(t,e,l,a){var n=a.children,u=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((e.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,t!==null){for(a=e.child=t.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,e.child=null;return td(t,e,u,l,a)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&eu(e,u!==null?u.cachePool:null),u!==null?eo(e,u):Fi(),lo(e);else return a=e.lanes=536870912,td(t,e,u!==null?u.baseLanes|l:l,l,a)}else u!==null?(eu(e,u.cachePool),eo(e,u),rl(),e.memoizedState=null):(t!==null&&eu(e,null),Fi(),rl());return Wt(t,e,n,l),e.child}function un(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function td(t,e,l,a,n){var u=wi();return u=u===null?null:{parent:qt._currentValue,pool:u},e.memoizedState={baseLanes:l,cachePool:u},t!==null&&eu(e,null),Fi(),lo(e),t!==null&&sa(t,e,a,!0),e.childLanes=n,null}function gu(t,e){return e=Su({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function ed(t,e,l){return Yl(e,t.child,null,l),t=gu(e,e.pendingProps),t.flags|=2,ye(e),e.memoizedState=null,t}function Gh(t,e,l){var a=e.pendingProps,n=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(rt){if(a.mode==="hidden")return t=gu(e,a),e.lanes=536870912,un(null,t);if(Pi(e),(t=_t)?(t=mr(t,Ae),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:nl!==null?{id:Re,overflow:Ue}:null,retryLane:536870912,hydrationErrors:null},l=Bs(t),l.return=e,e.child=l,kt=e,_t=null)):t=null,t===null)throw il(e);return e.lanes=536870912,null}return gu(e,a)}var u=t.memoizedState;if(u!==null){var i=u.dehydrated;if(Pi(e),n)if(e.flags&256)e.flags&=-257,e=ed(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(o(558));else if(Yt||sa(t,e,l,!1),n=(l&t.childLanes)!==0,Yt||n){if(a=At,a!==null&&(i=Vf(a,l),i!==0&&i!==u.retryLane))throw u.retryLane=i,Ol(t,i),fe(a,t,i),bc;_u(),e=ed(t,e,l)}else t=u.treeContext,_t=_e(i.nextSibling),kt=e,rt=!0,ul=null,Ae=!1,t!==null&&Ys(e,t),e=gu(e,a),e.flags|=4096;return e}return t=Ye(t.child,{mode:a.mode,children:a.children}),t.ref=e.ref,e.child=t,t.return=e,t}function pu(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(o(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Ec(t,e,l,a,n){return Hl(e),l=ec(t,e,l,a,void 0,n),a=lc(),t!==null&&!Yt?(ac(t,e,n),Ke(t,e,n)):(rt&&a&&Hi(e),e.flags|=1,Wt(t,e,l,n),e.child)}function ld(t,e,l,a,n,u){return Hl(e),e.updateQueue=null,l=no(e,a,l,n),ao(t),a=lc(),t!==null&&!Yt?(ac(t,e,u),Ke(t,e,u)):(rt&&a&&Hi(e),e.flags|=1,Wt(t,e,l,u),e.child)}function ad(t,e,l,a,n){if(Hl(e),e.stateNode===null){var u=ua,i=l.contextType;typeof i=="object"&&i!==null&&(u=$t(i)),u=new l(a,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=pc,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=a,u.state=e.memoizedState,u.refs={},Ji(e),i=l.contextType,u.context=typeof i=="object"&&i!==null?$t(i):ua,u.state=e.memoizedState,i=l.getDerivedStateFromProps,typeof i=="function"&&(gc(e,l,i,a),u.state=e.memoizedState),typeof l.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(e,a,u,n),Pa(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){u=e.stateNode;var c=e.memoizedProps,d=Ql(l,c);u.props=d;var p=u.context,T=l.contextType;i=ua,typeof T=="object"&&T!==null&&(i=$t(T));var N=l.getDerivedStateFromProps;T=typeof N=="function"||typeof u.getSnapshotBeforeUpdate=="function",c=e.pendingProps!==c,T||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c||p!==i)&&Zo(e,u,a,i),fl=!1;var S=e.memoizedState;u.state=S,tn(e,a,u,n),Pa(),p=e.memoizedState,c||S!==p||fl?(typeof N=="function"&&(gc(e,l,N,a),p=e.memoizedState),(d=fl||Qo(e,l,d,a,S,p,i))?(T||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"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=p),u.props=a,u.state=p,u.context=i,a=d):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{u=e.stateNode,ki(t,e),i=e.memoizedProps,T=Ql(l,i),u.props=T,N=e.pendingProps,S=u.context,p=l.contextType,d=ua,typeof p=="object"&&p!==null&&(d=$t(p)),c=l.getDerivedStateFromProps,(p=typeof c=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==N||S!==d)&&Zo(e,u,a,d),fl=!1,S=e.memoizedState,u.state=S,tn(e,a,u,n),Pa();var z=e.memoizedState;i!==N||S!==z||fl||t!==null&&t.dependencies!==null&&Pn(t.dependencies)?(typeof c=="function"&&(gc(e,l,c,a),z=e.memoizedState),(T=fl||Qo(e,l,T,a,S,z,d)||t!==null&&t.dependencies!==null&&Pn(t.dependencies))?(p||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"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||i===t.memoizedProps&&S===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&S===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=z),u.props=a,u.state=z,u.context=d,a=T):(typeof u.componentDidUpdate!="function"||i===t.memoizedProps&&S===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&S===t.memoizedState||(e.flags|=1024),a=!1)}return u=a,pu(t,e),a=(e.flags&128)!==0,u||a?(u=e.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,t!==null&&a?(e.child=Yl(e,t.child,null,n),e.child=Yl(e,null,l,n)):Wt(t,e,l,n),e.memoizedState=u.state,t=e.child):t=Ke(t,e,n),t}function nd(t,e,l,a){return Ul(),e.flags|=256,Wt(t,e,l,a),e.child}var zc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function xc(t){return{baseLanes:t,cachePool:Ks()}}function Tc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=ge),t}function ud(t,e,l){var a=e.pendingProps,n=!1,u=(e.flags&128)!==0,i;if((i=u)||(i=t!==null&&t.memoizedState===null?!1:(Lt.current&2)!==0),i&&(n=!0,e.flags&=-129),i=(e.flags&32)!==0,e.flags&=-33,t===null){if(rt){if(n?dl(e):rl(),(t=_t)?(t=mr(t,Ae),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:nl!==null?{id:Re,overflow:Ue}:null,retryLane:536870912,hydrationErrors:null},l=Bs(t),l.return=e,e.child=l,kt=e,_t=null)):t=null,t===null)throw il(e);return cf(t)?e.lanes=32:e.lanes=536870912,null}var c=a.children;return a=a.fallback,n?(rl(),n=e.mode,c=Su({mode:"hidden",children:c},n),a=Rl(a,n,l,null),c.return=e,a.return=e,c.sibling=a,e.child=c,a=e.child,a.memoizedState=xc(l),a.childLanes=Tc(t,i,l),e.memoizedState=zc,un(null,a)):(dl(e),jc(e,c))}var d=t.memoizedState;if(d!==null&&(c=d.dehydrated,c!==null)){if(u)e.flags&256?(dl(e),e.flags&=-257,e=Ac(t,e,l)):e.memoizedState!==null?(rl(),e.child=t.child,e.flags|=128,e=null):(rl(),c=a.fallback,n=e.mode,a=Su({mode:"visible",children:a.children},n),c=Rl(c,n,l,null),c.flags|=2,a.return=e,c.return=e,a.sibling=c,e.child=a,Yl(e,t.child,null,l),a=e.child,a.memoizedState=xc(l),a.childLanes=Tc(t,i,l),e.memoizedState=zc,e=un(null,a));else if(dl(e),cf(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var p=i.dgst;i=p,a=Error(o(419)),a.stack="",a.digest=i,Ja({value:a,source:null,stack:null}),e=Ac(t,e,l)}else if(Yt||sa(t,e,l,!1),i=(l&t.childLanes)!==0,Yt||i){if(i=At,i!==null&&(a=Vf(i,l),a!==0&&a!==d.retryLane))throw d.retryLane=a,Ol(t,a),fe(i,t,a),bc;uf(c)||_u(),e=Ac(t,e,l)}else uf(c)?(e.flags|=192,e.child=t.child,e=null):(t=d.treeContext,_t=_e(c.nextSibling),kt=e,rt=!0,ul=null,Ae=!1,t!==null&&Ys(e,t),e=jc(e,a.children),e.flags|=4096);return e}return n?(rl(),c=a.fallback,n=e.mode,d=t.child,p=d.sibling,a=Ye(d,{mode:"hidden",children:a.children}),a.subtreeFlags=d.subtreeFlags&65011712,p!==null?c=Ye(p,c):(c=Rl(c,n,l,null),c.flags|=2),c.return=e,a.return=e,a.sibling=c,e.child=a,un(null,a),a=e.child,c=t.child.memoizedState,c===null?c=xc(l):(n=c.cachePool,n!==null?(d=qt._currentValue,n=n.parent!==d?{parent:d,pool:d}:n):n=Ks(),c={baseLanes:c.baseLanes|l,cachePool:n}),a.memoizedState=c,a.childLanes=Tc(t,i,l),e.memoizedState=zc,un(t.child,a)):(dl(e),l=t.child,t=l.sibling,l=Ye(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(i=e.deletions,i===null?(e.deletions=[t],e.flags|=16):i.push(t)),e.child=l,e.memoizedState=null,l)}function jc(t,e){return e=Su({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Su(t,e){return t=me(22,t,null,e),t.lanes=0,t}function Ac(t,e,l){return Yl(e,t.child,null,l),t=jc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function id(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Xi(t.return,e,l)}function Nc(t,e,l,a,n,u){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n,treeForkCount:u}:(i.isBackwards=e,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=l,i.tailMode=n,i.treeForkCount=u)}function cd(t,e,l){var a=e.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var i=Lt.current,c=(i&2)!==0;if(c?(i=i&1|2,e.flags|=128):i&=1,L(Lt,i),Wt(t,e,a,l),a=rt?Ka:0,!c&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&id(t,l,e);else if(t.tag===19)id(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(n){case"forwards":for(l=e.child,n=null;l!==null;)t=l.alternate,t!==null&&cu(t)===null&&(n=l),l=l.sibling;l=n,l===null?(n=e.child,e.child=null):(n=l.sibling,l.sibling=null),Nc(e,!1,n,l,u,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&cu(t)===null){e.child=n;break}t=n.sibling,n.sibling=l,l=n,n=t}Nc(e,!0,l,null,u,a);break;case"together":Nc(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}function Ke(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),yl|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(sa(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(o(153));if(e.child!==null){for(t=e.child,l=Ye(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=Ye(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function _c(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Pn(t)))}function Yh(t,e,l){switch(e.tag){case 3:te(e,e.stateNode.containerInfo),cl(e,qt,t.memoizedState.cache),Ul();break;case 27:case 5:Ca(e);break;case 4:te(e,e.stateNode.containerInfo);break;case 10:cl(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Pi(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(dl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?ud(t,e,l):(dl(e),t=Ke(t,e,l),t!==null?t.sibling:null);dl(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(sa(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return cd(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),L(Lt,Lt.current),a)break;return null;case 22:return e.lanes=0,Po(t,e,l,e.pendingProps);case 24:cl(e,qt,t.memoizedState.cache)}return Ke(t,e,l)}function fd(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Yt=!0;else{if(!_c(t,l)&&(e.flags&128)===0)return Yt=!1,Yh(t,e,l);Yt=(t.flags&131072)!==0}else Yt=!1,rt&&(e.flags&1048576)!==0&&Gs(e,Ka,e.index);switch(e.lanes=0,e.tag){case 16:t:{var a=e.pendingProps;if(t=ql(e.elementType),e.type=t,typeof t=="function")Ri(t)?(a=Ql(t,a),e.tag=1,e=ad(null,e,t,a,l)):(e.tag=0,e=Ec(null,e,t,a,l));else{if(t!=null){var n=t.$$typeof;if(n===Bt){e.tag=11,e=Wo(null,e,t,a,l);break t}else if(n===k){e.tag=14,e=Fo(null,e,t,a,l);break t}}throw e=P(t)||t,Error(o(306,e,""))}}return e;case 0:return Ec(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=Ql(a,e.pendingProps),ad(t,e,a,n,l);case 3:t:{if(te(e,e.stateNode.containerInfo),t===null)throw Error(o(387));a=e.pendingProps;var u=e.memoizedState;n=u.element,ki(t,e),tn(e,a,null,l);var i=e.memoizedState;if(a=i.cache,cl(e,qt,a),a!==u.cache&&Qi(e,[qt],l,!0),Pa(),a=i.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:i.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=nd(t,e,a,l);break t}else if(a!==n){n=xe(Error(o(424)),e),Ja(n),e=nd(t,e,a,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(_t=_e(t.firstChild),kt=e,rt=!0,ul=null,Ae=!0,l=Is(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Ul(),a===n){e=Ke(t,e,l);break t}Wt(t,e,a,l)}e=e.child}return e;case 26:return pu(t,e),t===null?(l=Sr(e.type,null,e.pendingProps,null))?e.memoizedState=l:rt||(l=e.type,t=e.pendingProps,a=Lu(ut.current).createElement(l),a[Jt]=e,a[le]=t,Ft(a,l,t),Vt(a),e.stateNode=a):e.memoizedState=Sr(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Ca(e),t===null&&rt&&(a=e.stateNode=vr(e.type,e.pendingProps,ut.current),kt=e,Ae=!0,n=_t,bl(e.type)?(ff=n,_t=_e(a.firstChild)):_t=n),Wt(t,e,e.pendingProps.children,l),pu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&rt&&((n=a=_t)&&(a=v0(a,e.type,e.pendingProps,Ae),a!==null?(e.stateNode=a,kt=e,_t=_e(a.firstChild),Ae=!1,n=!0):n=!1),n||il(e)),Ca(e),n=e.type,u=e.pendingProps,i=t!==null?t.memoizedProps:null,a=u.children,lf(n,u)?a=null:i!==null&&lf(n,i)&&(e.flags|=32),e.memoizedState!==null&&(n=ec(t,e,Ch,null,null,l),En._currentValue=n),pu(t,e),Wt(t,e,a,l),e.child;case 6:return t===null&&rt&&((t=l=_t)&&(l=g0(l,e.pendingProps,Ae),l!==null?(e.stateNode=l,kt=e,_t=null,t=!0):t=!1),t||il(e)),null;case 13:return ud(t,e,l);case 4:return te(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=Yl(e,null,a,l):Wt(t,e,a,l),e.child;case 11:return Wo(t,e,e.type,e.pendingProps,l);case 7:return Wt(t,e,e.pendingProps,l),e.child;case 8:return Wt(t,e,e.pendingProps.children,l),e.child;case 12:return Wt(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,cl(e,e.type,a.value),Wt(t,e,a.children,l),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,Hl(e),n=$t(n),a=a(n),e.flags|=1,Wt(t,e,a,l),e.child;case 14:return Fo(t,e,e.type,e.pendingProps,l);case 15:return Io(t,e,e.type,e.pendingProps,l);case 19:return cd(t,e,l);case 31:return Gh(t,e,l);case 22:return Po(t,e,l,e.pendingProps);case 24:return Hl(e),a=$t(qt),t===null?(n=wi(),n===null&&(n=At,u=Zi(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),e.memoizedState={parent:a,cache:n},Ji(e),cl(e,qt,n)):((t.lanes&l)!==0&&(ki(t,e),tn(e,null,null,l),Pa()),n=t.memoizedState,u=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),cl(e,qt,a)):(a=u.cache,cl(e,qt,a),a!==n.cache&&Qi(e,[qt],l,!0))),Wt(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}function Je(t){t.flags|=4}function Mc(t,e,l,a,n){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(n&335544128)===n)if(t.stateNode.complete)t.flags|=8192;else if(Ld())t.flags|=8192;else throw Gl=au,Ki}else t.flags&=-16777217}function sd(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Tr(e))if(Ld())t.flags|=8192;else throw Gl=au,Ki}function bu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Xf():536870912,t.lanes|=e,Ea|=e)}function cn(t,e){if(!rt)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Mt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,a=0;if(e)for(var n=t.child;n!==null;)l|=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;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=l,e}function Xh(t,e,l){var a=e.pendingProps;switch(Bi(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Mt(e),null;case 1:return Mt(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Ze(qt),Ut(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(fa(e)?Je(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Gi())),Mt(e),null;case 26:var n=e.type,u=e.memoizedState;return t===null?(Je(e),u!==null?(Mt(e),sd(e,u)):(Mt(e),Mc(e,n,null,a,l))):u?u!==t.memoizedState?(Je(e),Mt(e),sd(e,u)):(Mt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==a&&Je(e),Mt(e),Mc(e,n,t,a,l)),null;case 27:if(Cn(e),l=ut.current,n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Je(e);else{if(!a){if(e.stateNode===null)throw Error(o(166));return Mt(e),null}t=Y.current,fa(e)?Xs(e):(t=vr(n,a,l),e.stateNode=t,Je(e))}return Mt(e),null;case 5:if(Cn(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Je(e);else{if(!a){if(e.stateNode===null)throw Error(o(166));return Mt(e),null}if(u=Y.current,fa(e))Xs(e);else{var i=Lu(ut.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]=e,u[le]=a;t:for(i=e.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===e)break t;for(;i.sibling===null;){if(i.return===null||i.return===e)break t;i=i.return}i.sibling.return=i.return,i=i.sibling}e.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&&Je(e)}}return Mt(e),Mc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&Je(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(o(166));if(t=ut.current,fa(e)){if(t=e.stateNode,l=e.memoizedProps,a=null,n=kt,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[Jt]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||ur(t.nodeValue,l)),t||il(e,!0)}else t=Lu(t).createTextNode(a),t[Jt]=e,e.stateNode=t}return Mt(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(a=fa(e),l!==null){if(t===null){if(!a)throw Error(o(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[Jt]=e}else Ul(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Mt(e),t=!1}else l=Gi(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(ye(e),e):(ye(e),null);if((e.flags&128)!==0)throw Error(o(558))}return Mt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=fa(e),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(o(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));n[Jt]=e}else Ul(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Mt(e),n=!1}else n=Gi(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(ye(e),e):(ye(e),null)}return ye(e),(e.flags&128)!==0?(e.lanes=l,e):(l=a!==null,t=t!==null&&t.memoizedState!==null,l&&(a=e.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)),l!==t&&l&&(e.child.flags|=8192),bu(e,e.updateQueue),Mt(e),null);case 4:return Ut(),t===null&&Fc(e.stateNode.containerInfo),Mt(e),null;case 10:return Ze(e.type),Mt(e),null;case 19:if(_(Lt),a=e.memoizedState,a===null)return Mt(e),null;if(n=(e.flags&128)!==0,u=a.rendering,u===null)if(n)cn(a,!1);else{if(Ot!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=cu(t),u!==null){for(e.flags|=128,cn(a,!1),t=u.updateQueue,e.updateQueue=t,bu(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Hs(l,t),l=l.sibling;return L(Lt,Lt.current&1|2),rt&&Xe(e,a.treeForkCount),e.child}t=t.sibling}a.tail!==null&&se()>ju&&(e.flags|=128,n=!0,cn(a,!1),e.lanes=4194304)}else{if(!n)if(t=cu(u),t!==null){if(e.flags|=128,n=!0,t=t.updateQueue,e.updateQueue=t,bu(e,t),cn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!rt)return Mt(e),null}else 2*se()-a.renderingStartTime>ju&&l!==536870912&&(e.flags|=128,n=!0,cn(a,!1),e.lanes=4194304);a.isBackwards?(u.sibling=e.child,e.child=u):(t=a.last,t!==null?t.sibling=u:e.child=u,a.last=u)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=se(),t.sibling=null,l=Lt.current,L(Lt,n?l&1|2:l&1),rt&&Xe(e,a.treeForkCount),t):(Mt(e),null);case 22:case 23:return ye(e),Ii(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(l&536870912)!==0&&(e.flags&128)===0&&(Mt(e),e.subtreeFlags&6&&(e.flags|=8192)):Mt(e),l=e.updateQueue,l!==null&&bu(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==l&&(e.flags|=2048),t!==null&&_(Bl),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Ze(qt),Mt(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function Qh(t,e){switch(Bi(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ze(qt),Ut(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Cn(e),null;case 31:if(e.memoizedState!==null){if(ye(e),e.alternate===null)throw Error(o(340));Ul()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(ye(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));Ul()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return _(Lt),null;case 4:return Ut(),null;case 10:return Ze(e.type),null;case 22:case 23:return ye(e),Ii(),t!==null&&_(Bl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Ze(qt),null;case 25:return null;default:return null}}function od(t,e){switch(Bi(e),e.tag){case 3:Ze(qt),Ut();break;case 26:case 27:case 5:Cn(e);break;case 4:Ut();break;case 31:e.memoizedState!==null&&ye(e);break;case 13:ye(e);break;case 19:_(Lt);break;case 10:Ze(e.type);break;case 22:case 23:ye(e),Ii(),t!==null&&_(Bl);break;case 24:Ze(qt)}}function fn(t,e){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&t)===t){a=void 0;var u=l.create,i=l.inst;a=u(),i.destroy=a}l=l.next}while(l!==n)}}catch(c){zt(e,e.return,c)}}function ml(t,e,l){try{var a=e.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=e;var d=l,p=c;try{p()}catch(T){zt(n,d,T)}}}a=a.next}while(a!==u)}}catch(T){zt(e,e.return,T)}}function dd(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{to(e,l)}catch(a){zt(t,t.return,a)}}}function rd(t,e,l){l.props=Ql(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(a){zt(t,e,a)}}function sn(t,e){try{var l=t.ref;if(l!==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 l=="function"?t.refCleanup=l(a):l.current=a}}catch(n){zt(t,e,n)}}function Le(t,e){var l=t.ref,a=t.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){zt(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){zt(t,e,n)}else l.current=null}function md(t){var e=t.type,l=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break t;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){zt(t,t.return,n)}}function Dc(t,e,l){try{var a=t.stateNode;o0(a,t.type,l,e),a[le]=e}catch(n){zt(t,t.return,n)}}function hd(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&bl(t.type)||t.tag===4}function Cc(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&&bl(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 Oc(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=qe));else if(a!==4&&(a===27&&bl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(Oc(t,e,l),t=t.sibling;t!==null;)Oc(t,e,l),t=t.sibling}function Eu(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(a!==4&&(a===27&&bl(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(Eu(t,e,l),t=t.sibling;t!==null;)Eu(t,e,l),t=t.sibling}function yd(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Ft(e,a,l),e[Jt]=t,e[le]=l}catch(u){zt(t,t.return,u)}}var ke=!1,Xt=!1,Rc=!1,vd=typeof WeakSet=="function"?WeakSet:Set,wt=null;function Zh(t,e){if(t=t.containerInfo,tf=Qu,t=Ns(t),Ai(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break t}var i=0,c=-1,d=-1,p=0,T=0,N=t,S=null;e:for(;;){for(var z;N!==l||n!==0&&N.nodeType!==3||(c=i+n),N!==u||a!==0&&N.nodeType!==3||(d=i+a),N.nodeType===3&&(i+=N.nodeValue.length),(z=N.firstChild)!==null;)S=N,N=z;for(;;){if(N===t)break e;if(S===l&&++p===n&&(c=i),S===u&&++T===a&&(d=i),(z=N.nextSibling)!==null)break;N=S,S=N.parentNode}N=z}l=c===-1||d===-1?null:{start:c,end:d}}else l=null}l=l||{start:0,end:0}}else l=null;for(ef={focusedElem:t,selectionRange:l},Qu=!1,wt=e;wt!==null;)if(e=wt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,wt=t;else for(;wt!==null;){switch(e=wt,u=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)n=t[l],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,l=e,n=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var G=Ql(l.type,n);t=a.getSnapshotBeforeUpdate(G,u),a.__reactInternalSnapshotBeforeUpdate=t}catch(V){zt(l,l.return,V)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)nf(t);else if(l===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=e.sibling,t!==null){t.return=e.return,wt=t;break}wt=e.return}}function gd(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:We(t,l),a&4&&fn(5,l);break;case 1:if(We(t,l),a&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(i){zt(l,l.return,i)}else{var n=Ql(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(i){zt(l,l.return,i)}}a&64&&dd(l),a&512&&sn(l,l.return);break;case 3:if(We(t,l),a&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{to(t,e)}catch(i){zt(l,l.return,i)}}break;case 27:e===null&&a&4&&yd(l);case 26:case 5:We(t,l),e===null&&a&4&&md(l),a&512&&sn(l,l.return);break;case 12:We(t,l);break;case 31:We(t,l),a&4&&bd(t,l);break;case 13:We(t,l),a&4&&Ed(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=Ih.bind(null,l),p0(t,l))));break;case 22:if(a=l.memoizedState!==null||ke,!a){e=e!==null&&e.memoizedState!==null||Xt,n=ke;var u=Xt;ke=a,(Xt=e)&&!u?Fe(t,l,(l.subtreeFlags&8772)!==0):We(t,l),ke=n,Xt=u}break;case 30:break;default:We(t,l)}}function pd(t){var e=t.alternate;e!==null&&(t.alternate=null,pd(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&si(e)),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 Dt=null,ne=!1;function $e(t,e,l){for(l=l.child;l!==null;)Sd(t,e,l),l=l.sibling}function Sd(t,e,l){if(oe&&typeof oe.onCommitFiberUnmount=="function")try{oe.onCommitFiberUnmount(Oa,l)}catch{}switch(l.tag){case 26:Xt||Le(l,e),$e(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Xt||Le(l,e);var a=Dt,n=ne;bl(l.type)&&(Dt=l.stateNode,ne=!1),$e(t,e,l),pn(l.stateNode),Dt=a,ne=n;break;case 5:Xt||Le(l,e);case 6:if(a=Dt,n=ne,Dt=null,$e(t,e,l),Dt=a,ne=n,Dt!==null)if(ne)try{(Dt.nodeType===9?Dt.body:Dt.nodeName==="HTML"?Dt.ownerDocument.body:Dt).removeChild(l.stateNode)}catch(u){zt(l,e,u)}else try{Dt.removeChild(l.stateNode)}catch(u){zt(l,e,u)}break;case 18:Dt!==null&&(ne?(t=Dt,dr(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Ma(t)):dr(Dt,l.stateNode));break;case 4:a=Dt,n=ne,Dt=l.stateNode.containerInfo,ne=!0,$e(t,e,l),Dt=a,ne=n;break;case 0:case 11:case 14:case 15:ml(2,l,e),Xt||ml(4,l,e),$e(t,e,l);break;case 1:Xt||(Le(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&rd(l,e,a)),$e(t,e,l);break;case 21:$e(t,e,l);break;case 22:Xt=(a=Xt)||l.memoizedState!==null,$e(t,e,l),Xt=a;break;default:$e(t,e,l)}}function bd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ma(t)}catch(l){zt(e,e.return,l)}}}function Ed(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ma(t)}catch(l){zt(e,e.return,l)}}function Vh(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new vd),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new vd),e;default:throw Error(o(435,t.tag))}}function zu(t,e){var l=Vh(t);e.forEach(function(a){if(!l.has(a)){l.add(a);var n=Ph.bind(null,t,a);a.then(n,n)}})}function ue(t,e){var l=e.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],u=t,i=e,c=i;t:for(;c!==null;){switch(c.tag){case 27:if(bl(c.type)){Dt=c.stateNode,ne=!1;break t}break;case 5:Dt=c.stateNode,ne=!1;break t;case 3:case 4:Dt=c.stateNode.containerInfo,ne=!0;break t}c=c.return}if(Dt===null)throw Error(o(160));Sd(u,i,n),Dt=null,ne=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)zd(e,t),e=e.sibling}var Ce=null;function zd(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ue(e,t),ie(t),a&4&&(ml(3,t,t.return),fn(3,t),ml(5,t,t.return));break;case 1:ue(e,t),ie(t),a&512&&(Xt||l===null||Le(l,l.return)),a&64&&ke&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=Ce;if(ue(e,t),ie(t),a&512&&(Xt||l===null||Le(l,l.return)),a&4){var u=l!==null?l.memoizedState:null;if(a=t.memoizedState,l===null)if(a===null)if(t.stateNode===null){t:{a=t.type,l=t.memoizedProps,n=n.ownerDocument||n;e: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,l),u[Jt]=t,Vt(u),a=u;break t;case"link":var i=zr("link","href",n).get(a+(l.href||""));if(i){for(var c=0;c<i.length;c++)if(u=i[c],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){i.splice(c,1);break e}}u=n.createElement(a),Ft(u,a,l),n.head.appendChild(u);break;case"meta":if(i=zr("meta","content",n).get(a+(l.content||""))){for(c=0;c<i.length;c++)if(u=i[c],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){i.splice(c,1);break e}}u=n.createElement(a),Ft(u,a,l),n.head.appendChild(u);break;default:throw Error(o(468,a))}u[Jt]=t,Vt(u),a=u}t.stateNode=a}else xr(n,t.type,t.stateNode);else t.stateNode=Er(n,a,t.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?xr(n,t.type,t.stateNode):Er(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Dc(t,t.memoizedProps,l.memoizedProps)}break;case 27:ue(e,t),ie(t),a&512&&(Xt||l===null||Le(l,l.return)),l!==null&&a&4&&Dc(t,t.memoizedProps,l.memoizedProps);break;case 5:if(ue(e,t),ie(t),a&512&&(Xt||l===null||Le(l,l.return)),t.flags&32){n=t.stateNode;try{Il(n,"")}catch(G){zt(t,t.return,G)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,Dc(t,n,l!==null?l.memoizedProps:n)),a&1024&&(Rc=!0);break;case 6:if(ue(e,t),ie(t),a&4){if(t.stateNode===null)throw Error(o(162));a=t.memoizedProps,l=t.stateNode;try{l.nodeValue=a}catch(G){zt(t,t.return,G)}}break;case 3:if(qu=null,n=Ce,Ce=Hu(e.containerInfo),ue(e,t),Ce=n,ie(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Ma(e.containerInfo)}catch(G){zt(t,t.return,G)}Rc&&(Rc=!1,xd(t));break;case 4:a=Ce,Ce=Hu(t.stateNode.containerInfo),ue(e,t),ie(t),Ce=a;break;case 12:ue(e,t),ie(t);break;case 31:ue(e,t),ie(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,zu(t,a)));break;case 13:ue(e,t),ie(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Tu=se()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,zu(t,a)));break;case 22:n=t.memoizedState!==null;var d=l!==null&&l.memoizedState!==null,p=ke,T=Xt;if(ke=p||n,Xt=T||d,ue(e,t),Xt=T,ke=p,ie(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||d||ke||Xt||Zl(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){d=l=e;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 N=d.memoizedProps.style,S=N!=null&&N.hasOwnProperty("display")?N.display:null;c.style.display=S==null||typeof S=="boolean"?"":(""+S).trim()}}catch(G){zt(d,d.return,G)}}}else if(e.tag===6){if(l===null){d=e;try{d.stateNode.nodeValue=n?"":d.memoizedProps}catch(G){zt(d,d.return,G)}}}else if(e.tag===18){if(l===null){d=e;try{var z=d.stateNode;n?rr(z,!0):rr(d.stateNode,!1)}catch(G){zt(d,d.return,G)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,zu(t,l))));break;case 19:ue(e,t),ie(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,zu(t,a)));break;case 30:break;case 21:break;default:ue(e,t),ie(t)}}function ie(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(hd(a)){l=a;break}a=a.return}if(l==null)throw Error(o(160));switch(l.tag){case 27:var n=l.stateNode,u=Cc(t);Eu(t,u,n);break;case 5:var i=l.stateNode;l.flags&32&&(Il(i,""),l.flags&=-33);var c=Cc(t);Eu(t,c,i);break;case 3:case 4:var d=l.stateNode.containerInfo,p=Cc(t);Oc(t,p,d);break;default:throw Error(o(161))}}catch(T){zt(t,t.return,T)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function xd(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;xd(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function We(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)gd(t,e.alternate,e),e=e.sibling}function Zl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:ml(4,e,e.return),Zl(e);break;case 1:Le(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&rd(e,e.return,l),Zl(e);break;case 27:pn(e.stateNode);case 26:case 5:Le(e,e.return),Zl(e);break;case 22:e.memoizedState===null&&Zl(e);break;case 30:Zl(e);break;default:Zl(e)}t=t.sibling}}function Fe(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=t,u=e,i=u.flags;switch(u.tag){case 0:case 11:case 15:Fe(n,u,l),fn(4,u);break;case 1:if(Fe(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(p){zt(a,a.return,p)}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++)Ps(d[n],c)}catch(p){zt(a,a.return,p)}}l&&i&64&&dd(u),sn(u,u.return);break;case 27:yd(u);case 26:case 5:Fe(n,u,l),l&&a===null&&i&4&&md(u),sn(u,u.return);break;case 12:Fe(n,u,l);break;case 31:Fe(n,u,l),l&&i&4&&bd(n,u);break;case 13:Fe(n,u,l),l&&i&4&&Ed(n,u);break;case 22:u.memoizedState===null&&Fe(n,u,l),sn(u,u.return);break;case 30:break;default:Fe(n,u,l)}e=e.sibling}}function Uc(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&ka(l))}function Lc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ka(t))}function Oe(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Td(t,e,l,a),e=e.sibling}function Td(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Oe(t,e,l,a),n&2048&&fn(9,e);break;case 1:Oe(t,e,l,a);break;case 3:Oe(t,e,l,a),n&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ka(t)));break;case 12:if(n&2048){Oe(t,e,l,a),t=e.stateNode;try{var u=e.memoizedProps,i=u.id,c=u.onPostCommit;typeof c=="function"&&c(i,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(d){zt(e,e.return,d)}}else Oe(t,e,l,a);break;case 31:Oe(t,e,l,a);break;case 13:Oe(t,e,l,a);break;case 23:break;case 22:u=e.stateNode,i=e.alternate,e.memoizedState!==null?u._visibility&2?Oe(t,e,l,a):on(t,e):u._visibility&2?Oe(t,e,l,a):(u._visibility|=2,pa(t,e,l,a,(e.subtreeFlags&10256)!==0||!1)),n&2048&&Uc(i,e);break;case 24:Oe(t,e,l,a),n&2048&&Lc(e.alternate,e);break;default:Oe(t,e,l,a)}}function pa(t,e,l,a,n){for(n=n&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var u=t,i=e,c=l,d=a,p=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 T=i.stateNode;i.memoizedState!==null?T._visibility&2?pa(u,i,c,d,n):on(u,i):(T._visibility|=2,pa(u,i,c,d,n)),n&&p&2048&&Uc(i.alternate,i);break;case 24:pa(u,i,c,d,n),n&&p&2048&&Lc(i.alternate,i);break;default:pa(u,i,c,d,n)}e=e.sibling}}function on(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,a=e,n=a.flags;switch(a.tag){case 22:on(l,a),n&2048&&Uc(a.alternate,a);break;case 24:on(l,a),n&2048&&Lc(a.alternate,a);break;default:on(l,a)}e=e.sibling}}var dn=8192;function Sa(t,e,l){if(t.subtreeFlags&dn)for(t=t.child;t!==null;)jd(t,e,l),t=t.sibling}function jd(t,e,l){switch(t.tag){case 26:Sa(t,e,l),t.flags&dn&&t.memoizedState!==null&&D0(l,Ce,t.memoizedState,t.memoizedProps);break;case 5:Sa(t,e,l);break;case 3:case 4:var a=Ce;Ce=Hu(t.stateNode.containerInfo),Sa(t,e,l),Ce=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=dn,dn=16777216,Sa(t,e,l),dn=a):Sa(t,e,l));break;default:Sa(t,e,l)}}function Ad(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function rn(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];wt=a,_d(a,t)}Ad(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Nd(t),t=t.sibling}function Nd(t){switch(t.tag){case 0:case 11:case 15:rn(t),t.flags&2048&&ml(9,t,t.return);break;case 3:rn(t);break;case 12:rn(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,xu(t)):rn(t);break;default:rn(t)}}function xu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];wt=a,_d(a,t)}Ad(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:ml(8,e,e.return),xu(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,xu(e));break;default:xu(e)}t=t.sibling}}function _d(t,e){for(;wt!==null;){var l=wt;switch(l.tag){case 0:case 11:case 15:ml(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:ka(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,wt=a;else t:for(l=t;wt!==null;){a=wt;var n=a.sibling,u=a.return;if(pd(a),a===l){wt=null;break t}if(n!==null){n.return=u,wt=n;break t}wt=u}}}var wh={getCacheForType:function(t){var e=$t(qt),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return $t(qt).controller.signal}},Kh=typeof WeakMap=="function"?WeakMap:Map,gt=0,At=null,it=null,st=0,Et=0,ve=null,hl=!1,ba=!1,Hc=!1,Ie=0,Ot=0,yl=0,Vl=0,Bc=0,ge=0,Ea=0,mn=null,ce=null,qc=!1,Tu=0,Md=0,ju=1/0,Au=null,vl=null,Qt=0,gl=null,za=null,Pe=0,Gc=0,Yc=null,Dd=null,hn=0,Xc=null;function pe(){return(gt&2)!==0&&st!==0?st&-st:x.T!==null?Jc():wf()}function Cd(){if(ge===0)if((st&536870912)===0||rt){var t=Un;Un<<=1,(Un&3932160)===0&&(Un=262144),ge=t}else ge=536870912;return t=he.current,t!==null&&(t.flags|=32),ge}function fe(t,e,l){(t===At&&(Et===2||Et===9)||t.cancelPendingCommit!==null)&&(xa(t,0),pl(t,st,ge,!1)),Ua(t,l),((gt&2)===0||t!==At)&&(t===At&&((gt&2)===0&&(Vl|=l),Ot===4&&pl(t,st,ge,!1)),He(t))}function Od(t,e,l){if((gt&6)!==0)throw Error(o(327));var a=!l&&(e&127)===0&&(e&t.expiredLanes)===0||Ra(t,e),n=a?$h(t,e):Zc(t,e,!0),u=a;do{if(n===0){ba&&!a&&pl(t,e,0,!1);break}else{if(l=t.current.alternate,u&&!Jh(l)){n=Zc(t,e,!1),u=!1;continue}if(n===2){if(u=e,t.errorRecoveryDisabledLanes&u)var i=0;else i=t.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){e=i;t:{var c=t;n=mn;var d=c.current.memoizedState.isDehydrated;if(d&&(xa(c,i).flags|=256),i=Zc(c,i,!1),i!==2){if(Hc&&!d){c.errorRecoveryDisabledLanes|=u,Vl|=u,n=4;break t}u=ce,ce=n,u!==null&&(ce===null?ce=u:ce.push.apply(ce,u))}n=i}if(u=!1,n!==2)continue}}if(n===1){xa(t,0),pl(t,e,0,!0);break}t:{switch(a=t,u=n,u){case 0:case 1:throw Error(o(345));case 4:if((e&4194048)!==e)break;case 6:pl(a,e,ge,!hl);break t;case 2:ce=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(n=Tu+300-se(),10<n)){if(pl(a,e,ge,!hl),Hn(a,0,!0)!==0)break t;Pe=e,a.timeoutHandle=sr(Rd.bind(null,a,l,ce,Au,qc,e,ge,Vl,Ea,hl,u,"Throttled",-0,0),n);break t}Rd(a,l,ce,Au,qc,e,ge,Vl,Ea,hl,u,null,-0,0)}}break}while(!0);He(t)}function Rd(t,e,l,a,n,u,i,c,d,p,T,N,S,z){if(t.timeoutHandle=-1,N=e.subtreeFlags,N&8192||(N&16785408)===16785408){N={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:qe},jd(e,u,N);var G=(u&62914560)===u?Tu-se():(u&4194048)===u?Md-se():0;if(G=C0(N,G),G!==null){Pe=u,t.cancelPendingCommit=G(Xd.bind(null,t,e,u,l,a,n,i,c,d,T,N,null,S,z)),pl(t,u,i,!p);return}}Xd(t,e,u,l,a,n,i,c,d)}function Jh(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],u=n.getSnapshot;n=n.value;try{if(!re(u(),n))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function pl(t,e,l,a){e&=~Bc,e&=~Vl,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var n=e;0<n;){var u=31-de(n),i=1<<u;a[u]=-1,n&=~i}l!==0&&Qf(t,l,e)}function Nu(){return(gt&6)===0?(yn(0),!1):!0}function Qc(){if(it!==null){if(Et===0)var t=it.return;else t=it,Qe=Ll=null,nc(t),ma=null,Wa=0,t=it;for(;t!==null;)od(t.alternate,t),t=t.return;it=null}}function xa(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,m0(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),Pe=0,Qc(),At=t,it=l=Ye(t.current,null),st=e,Et=0,ve=null,hl=!1,ba=Ra(t,e),Hc=!1,Ea=ge=Bc=Vl=yl=Ot=0,ce=mn=null,qc=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var n=31-de(a),u=1<<n;e|=t[n],a&=~u}return Ie=e,kn(),l}function Ud(t,e){et=null,x.H=nn,e===ra||e===lu?(e=$s(),Et=3):e===Ki?(e=$s(),Et=4):Et=e===bc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ve=e,it===null&&(Ot=1,vu(t,xe(e,t.current)))}function Ld(){var t=he.current;return t===null?!0:(st&4194048)===st?Ne===null:(st&62914560)===st||(st&536870912)!==0?t===Ne:!1}function Hd(){var t=x.H;return x.H=nn,t===null?nn:t}function Bd(){var t=x.A;return x.A=wh,t}function _u(){Ot=4,hl||(st&4194048)!==st&&he.current!==null||(ba=!0),(yl&134217727)===0&&(Vl&134217727)===0||At===null||pl(At,st,ge,!1)}function Zc(t,e,l){var a=gt;gt|=2;var n=Hd(),u=Bd();(At!==t||st!==e)&&(Au=null,xa(t,e)),e=!1;var i=Ot;t:do try{if(Et!==0&&it!==null){var c=it,d=ve;switch(Et){case 8:Qc(),i=6;break t;case 3:case 2:case 9:case 6:he.current===null&&(e=!0);var p=Et;if(Et=0,ve=null,Ta(t,c,d,p),l&&ba){i=0;break t}break;default:p=Et,Et=0,ve=null,Ta(t,c,d,p)}}kh(),i=Ot;break}catch(T){Ud(t,T)}while(!0);return e&&t.shellSuspendCounter++,Qe=Ll=null,gt=a,x.H=n,x.A=u,it===null&&(At=null,st=0,kn()),i}function kh(){for(;it!==null;)qd(it)}function $h(t,e){var l=gt;gt|=2;var a=Hd(),n=Bd();At!==t||st!==e?(Au=null,ju=se()+500,xa(t,e)):ba=Ra(t,e);t:do try{if(Et!==0&&it!==null){e=it;var u=ve;e:switch(Et){case 1:Et=0,ve=null,Ta(t,e,u,1);break;case 2:case 9:if(Js(u)){Et=0,ve=null,Gd(e);break}e=function(){Et!==2&&Et!==9||At!==t||(Et=7),He(t)},u.then(e,e);break t;case 3:Et=7;break t;case 4:Et=5;break t;case 7:Js(u)?(Et=0,ve=null,Gd(e)):(Et=0,ve=null,Ta(t,e,u,7));break;case 5:var i=null;switch(it.tag){case 26:i=it.memoizedState;case 5:case 27:var c=it;if(i?Tr(i):c.stateNode.complete){Et=0,ve=null;var d=c.sibling;if(d!==null)it=d;else{var p=c.return;p!==null?(it=p,Mu(p)):it=null}break e}}Et=0,ve=null,Ta(t,e,u,5);break;case 6:Et=0,ve=null,Ta(t,e,u,6);break;case 8:Qc(),Ot=6;break t;default:throw Error(o(462))}}Wh();break}catch(T){Ud(t,T)}while(!0);return Qe=Ll=null,x.H=a,x.A=n,gt=l,it!==null?0:(At=null,st=0,kn(),Ot)}function Wh(){for(;it!==null&&!Sm();)qd(it)}function qd(t){var e=fd(t.alternate,t,Ie);t.memoizedProps=t.pendingProps,e===null?Mu(t):it=e}function Gd(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=ld(l,e,e.pendingProps,e.type,void 0,st);break;case 11:e=ld(l,e,e.pendingProps,e.type.render,e.ref,st);break;case 5:nc(e);default:od(l,e),e=it=Hs(e,Ie),e=fd(l,e,Ie)}t.memoizedProps=t.pendingProps,e===null?Mu(t):it=e}function Ta(t,e,l,a){Qe=Ll=null,nc(e),ma=null,Wa=0;var n=e.return;try{if(qh(t,n,e,l,st)){Ot=1,vu(t,xe(l,t.current)),it=null;return}}catch(u){if(n!==null)throw it=n,u;Ot=1,vu(t,xe(l,t.current)),it=null;return}e.flags&32768?(rt||a===1?t=!0:ba||(st&536870912)!==0?t=!1:(hl=t=!0,(a===2||a===9||a===3||a===6)&&(a=he.current,a!==null&&a.tag===13&&(a.flags|=16384))),Yd(e,t)):Mu(e)}function Mu(t){var e=t;do{if((e.flags&32768)!==0){Yd(e,hl);return}t=e.return;var l=Xh(e.alternate,e,Ie);if(l!==null){it=l;return}if(e=e.sibling,e!==null){it=e;return}it=e=t}while(e!==null);Ot===0&&(Ot=5)}function Yd(t,e){do{var l=Qh(t.alternate,t);if(l!==null){l.flags&=32767,it=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){it=t;return}it=t=l}while(t!==null);Ot=6,it=null}function Xd(t,e,l,a,n,u,i,c,d){t.cancelPendingCommit=null;do Du();while(Qt!==0);if((gt&6)!==0)throw Error(o(327));if(e!==null){if(e===t.current)throw Error(o(177));if(u=e.lanes|e.childLanes,u|=Ci,Mm(t,l,u,i,c,d),t===At&&(it=At=null,st=0),za=e,gl=t,Pe=l,Gc=u,Yc=n,Dd=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,t0(On,function(){return Kd(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=x.T,x.T=null,n=U.p,U.p=2,i=gt,gt|=4;try{Zh(t,e,l)}finally{gt=i,U.p=n,x.T=a}}Qt=1,Qd(),Zd(),Vd()}}function Qd(){if(Qt===1){Qt=0;var t=gl,e=za,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=x.T,x.T=null;var a=U.p;U.p=2;var n=gt;gt|=4;try{zd(e,t);var u=ef,i=Ns(t.containerInfo),c=u.focusedElem,d=u.selectionRange;if(i!==c&&c&&c.ownerDocument&&As(c.ownerDocument.documentElement,c)){if(d!==null&&Ai(c)){var p=d.start,T=d.end;if(T===void 0&&(T=p),"selectionStart"in c)c.selectionStart=p,c.selectionEnd=Math.min(T,c.value.length);else{var N=c.ownerDocument||document,S=N&&N.defaultView||window;if(S.getSelection){var z=S.getSelection(),G=c.textContent.length,V=Math.min(d.start,G),jt=d.end===void 0?V:Math.min(d.end,G);!z.extend&&V>jt&&(i=jt,jt=V,V=i);var y=js(c,V),m=js(c,jt);if(y&&m&&(z.rangeCount!==1||z.anchorNode!==y.node||z.anchorOffset!==y.offset||z.focusNode!==m.node||z.focusOffset!==m.offset)){var g=N.createRange();g.setStart(y.node,y.offset),z.removeAllRanges(),V>jt?(z.addRange(g),z.extend(m.node,m.offset)):(g.setEnd(m.node,m.offset),z.addRange(g))}}}}for(N=[],z=c;z=z.parentNode;)z.nodeType===1&&N.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<N.length;c++){var j=N[c];j.element.scrollLeft=j.left,j.element.scrollTop=j.top}}Qu=!!tf,ef=tf=null}finally{gt=n,U.p=a,x.T=l}}t.current=e,Qt=2}}function Zd(){if(Qt===2){Qt=0;var t=gl,e=za,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=x.T,x.T=null;var a=U.p;U.p=2;var n=gt;gt|=4;try{gd(t,e.alternate,e)}finally{gt=n,U.p=a,x.T=l}}Qt=3}}function Vd(){if(Qt===4||Qt===3){Qt=0,bm();var t=gl,e=za,l=Pe,a=Dd;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Qt=5:(Qt=0,za=gl=null,wd(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(vl=null),ci(l),e=e.stateNode,oe&&typeof oe.onCommitFiberRoot=="function")try{oe.onCommitFiberRoot(Oa,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=x.T,n=U.p,U.p=2,x.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{x.T=e,U.p=n}}(Pe&3)!==0&&Du(),He(t),n=t.pendingLanes,(l&261930)!==0&&(n&42)!==0?t===Xc?hn++:(hn=0,Xc=t):hn=0,yn(0)}}function wd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,ka(e)))}function Du(){return Qd(),Zd(),Vd(),Kd()}function Kd(){if(Qt!==5)return!1;var t=gl,e=Gc;Gc=0;var l=ci(Pe),a=x.T,n=U.p;try{U.p=32>l?32:l,x.T=null,l=Yc,Yc=null;var u=gl,i=Pe;if(Qt=0,za=gl=null,Pe=0,(gt&6)!==0)throw Error(o(331));var c=gt;if(gt|=4,Nd(u.current),Td(u,u.current,i,l),gt=c,yn(0,!1),oe&&typeof oe.onPostCommitFiberRoot=="function")try{oe.onPostCommitFiberRoot(Oa,u)}catch{}return!0}finally{U.p=n,x.T=a,wd(t,e)}}function Jd(t,e,l){e=xe(l,e),e=Sc(t.stateNode,e,2),t=ol(t,e,2),t!==null&&(Ua(t,2),He(t))}function zt(t,e,l){if(t.tag===3)Jd(t,t,l);else for(;e!==null;){if(e.tag===3){Jd(e,t,l);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(vl===null||!vl.has(a))){t=xe(l,t),l=ko(2),a=ol(e,l,2),a!==null&&($o(l,a,e,t),Ua(a,2),He(a));break}}e=e.return}}function Vc(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new Kh;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(l)||(Hc=!0,n.add(l),t=Fh.bind(null,t,e,l),e.then(t,t))}function Fh(t,e,l){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,At===t&&(st&l)===l&&(Ot===4||Ot===3&&(st&62914560)===st&&300>se()-Tu?(gt&2)===0&&xa(t,0):Bc|=l,Ea===st&&(Ea=0)),He(t)}function kd(t,e){e===0&&(e=Xf()),t=Ol(t,e),t!==null&&(Ua(t,e),He(t))}function Ih(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),kd(t,l)}function Ph(t,e){var l=0;switch(t.tag){case 31:case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(l=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(e),kd(t,l)}function t0(t,e){return ai(t,e)}var Cu=null,ja=null,wc=!1,Ou=!1,Kc=!1,Sl=0;function He(t){t!==ja&&t.next===null&&(ja===null?Cu=ja=t:ja=ja.next=t),Ou=!0,wc||(wc=!0,l0())}function yn(t,e){if(!Kc&&Ou){Kc=!0;do for(var l=!1,a=Cu;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-de(42|t)+1)-1,u&=n&~(i&~c),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,Id(a,u))}else u=st,u=Hn(a,a===At?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Ra(a,u)||(l=!0,Id(a,u));a=a.next}while(l);Kc=!1}}function e0(){$d()}function $d(){Ou=wc=!1;var t=0;Sl!==0&&r0()&&(t=Sl);for(var e=se(),l=null,a=Cu;a!==null;){var n=a.next,u=Wd(a,e);u===0?(a.next=null,l===null?Cu=n:l.next=n,n===null&&(ja=l)):(l=a,(t!==0||(u&3)!==0)&&(Ou=!0)),a=n}Qt!==0&&Qt!==5||yn(t),Sl!==0&&(Sl=0)}function Wd(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var i=31-de(u),c=1<<i,d=n[i];d===-1?((c&l)===0||(c&a)!==0)&&(n[i]=_m(c,e)):d<=e&&(t.expiredLanes|=c),u&=~c}if(e=At,l=st,l=Hn(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,l===0||t===e&&(Et===2||Et===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&ni(a),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Ra(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(a!==null&&ni(a),ci(l)){case 2:case 8:l=Gf;break;case 32:l=On;break;case 268435456:l=Yf;break;default:l=On}return a=Fd.bind(null,t),l=ai(l,a),t.callbackPriority=e,t.callbackNode=l,e}return a!==null&&a!==null&&ni(a),t.callbackPriority=2,t.callbackNode=null,2}function Fd(t,e){if(Qt!==0&&Qt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(Du()&&t.callbackNode!==l)return null;var a=st;return a=Hn(t,t===At?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Od(t,a,e),Wd(t,se()),t.callbackNode!=null&&t.callbackNode===l?Fd.bind(null,t):null)}function Id(t,e){if(Du())return null;Od(t,e,!0)}function l0(){h0(function(){(gt&6)!==0?ai(qf,e0):$d()})}function Jc(){if(Sl===0){var t=oa;t===0&&(t=Rn,Rn<<=1,(Rn&261888)===0&&(Rn=256)),Sl=t}return Sl}function Pd(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Yn(""+t)}function tr(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function a0(t,e,l,a,n){if(e==="submit"&&l&&l.stateNode===n){var u=Pd((n[le]||null).action),i=a.submitter;i&&(e=(e=i[le]||null)?Pd(e.formAction):i.getAttribute("formAction"),e!==null&&(u=e,i=null));var c=new Vn("action","action",null,a,n);t.push({event:c,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Sl!==0){var d=i?tr(n,i):new FormData(n);mc(l,{pending:!0,data:d,method:n.method,action:u},null,d)}}else typeof u=="function"&&(c.preventDefault(),d=i?tr(n,i):new FormData(n),mc(l,{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],n0=$c.toLowerCase(),u0=$c[0].toUpperCase()+$c.slice(1);De(n0,"on"+u0)}De(Ds,"onAnimationEnd"),De(Cs,"onAnimationIteration"),De(Os,"onAnimationStart"),De("dblclick","onDoubleClick"),De("focusin","onFocus"),De("focusout","onBlur"),De(Eh,"onTransitionRun"),De(zh,"onTransitionStart"),De(xh,"onTransitionCancel"),De(Rs,"onTransitionEnd"),Wl("onMouseEnter",["mouseout","mouseover"]),Wl("onMouseLeave",["mouseout","mouseover"]),Wl("onPointerEnter",["pointerout","pointerover"]),Wl("onPointerLeave",["pointerout","pointerover"]),_l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),_l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),_l("onBeforeInput",["compositionend","keypress","textInput","paste"]),_l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),_l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),_l("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(" "),i0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(vn));function er(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var a=t[l],n=a.event;a=a.listeners;t:{var u=void 0;if(e)for(var i=a.length-1;0<=i;i--){var c=a[i],d=c.instance,p=c.currentTarget;if(c=c.listener,d!==u&&n.isPropagationStopped())break t;u=c,n.currentTarget=p;try{u(n)}catch(T){Jn(T)}n.currentTarget=null,u=d}else for(i=0;i<a.length;i++){if(c=a[i],d=c.instance,p=c.currentTarget,c=c.listener,d!==u&&n.isPropagationStopped())break t;u=c,n.currentTarget=p;try{u(n)}catch(T){Jn(T)}n.currentTarget=null,u=d}}}}function ct(t,e){var l=e[fi];l===void 0&&(l=e[fi]=new Set);var a=t+"__bubble";l.has(a)||(lr(e,t,2,!1),l.add(a))}function Wc(t,e,l){var a=0;e&&(a|=4),lr(l,t,a,e)}var Ru="_reactListening"+Math.random().toString(36).slice(2);function Fc(t){if(!t[Ru]){t[Ru]=!0,kf.forEach(function(l){l!=="selectionchange"&&(i0.has(l)||Wc(l,!1,t),Wc(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Ru]||(e[Ru]=!0,Wc("selectionchange",!1,e))}}function lr(t,e,l,a){switch(Cr(e)){case 2:var n=U0;break;case 8:n=L0;break;default:n=mf}l=n.bind(null,e,l,t),n=void 0,!gi||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(e,l,{capture:!0,passive:n}):t.addEventListener(e,l,!0):n!==void 0?t.addEventListener(e,l,{passive:n}):t.addEventListener(e,l,!1)}function Ic(t,e,l,a,n){var u=a;if((e&1)===0&&(e&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=Jl(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}is(function(){var p=u,T=yi(l),N=[];t:{var S=Us.get(t);if(S!==void 0){var z=Vn,G=t;switch(t){case"keypress":if(Qn(l)===0)break t;case"keydown":case"keyup":z=Pm;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(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":z=ss;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=Xm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=lh;break;case Ds:case Cs:case Os:z=Vm;break;case Rs:z=nh;break;case"scroll":case"scrollend":z=Gm;break;case"wheel":z=ih;break;case"copy":case"cut":case"paste":z=Km;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=ds;break;case"toggle":case"beforetoggle":z=fh}var V=(e&4)!==0,jt=!V&&(t==="scroll"||t==="scrollend"),y=V?S!==null?S+"Capture":null:S;V=[];for(var m=p,g;m!==null;){var j=m;if(g=j.stateNode,j=j.tag,j!==5&&j!==26&&j!==27||g===null||y===null||(j=Ba(m,y),j!=null&&V.push(gn(m,j,g))),jt)break;m=m.return}0<V.length&&(S=new z(S,G,null,l,T),N.push({event:S,listeners:V}))}}if((e&7)===0){t:{if(S=t==="mouseover"||t==="pointerover",z=t==="mouseout"||t==="pointerout",S&&l!==hi&&(G=l.relatedTarget||l.fromElement)&&(Jl(G)||G[Kl]))break t;if((z||S)&&(S=T.window===T?T:(S=T.ownerDocument)?S.defaultView||S.parentWindow:window,z?(G=l.relatedTarget||l.toElement,z=p,G=G?Jl(G):null,G!==null&&(jt=D(G),V=G.tag,G!==jt||V!==5&&V!==27&&V!==6)&&(G=null)):(z=null,G=p),z!==G)){if(V=ss,j="onMouseLeave",y="onMouseEnter",m="mouse",(t==="pointerout"||t==="pointerover")&&(V=ds,j="onPointerLeave",y="onPointerEnter",m="pointer"),jt=z==null?S:Ha(z),g=G==null?S:Ha(G),S=new V(j,m+"leave",z,l,T),S.target=jt,S.relatedTarget=g,j=null,Jl(T)===p&&(V=new V(y,m+"enter",G,l,T),V.target=g,V.relatedTarget=jt,j=V),jt=j,z&&G)e:{for(V=c0,y=z,m=G,g=0,j=y;j;j=V(j))g++;j=0;for(var Q=m;Q;Q=V(Q))j++;for(;0<g-j;)y=V(y),g--;for(;0<j-g;)m=V(m),j--;for(;g--;){if(y===m||m!==null&&y===m.alternate){V=y;break e}y=V(y),m=V(m)}V=null}else V=null;z!==null&&ar(N,S,z,V,!1),G!==null&&jt!==null&&ar(N,jt,G,V,!0)}}t:{if(S=p?Ha(p):window,z=S.nodeName&&S.nodeName.toLowerCase(),z==="select"||z==="input"&&S.type==="file")var mt=Ss;else if(gs(S))if(bs)mt=ph;else{mt=vh;var X=yh}else z=S.nodeName,!z||z.toLowerCase()!=="input"||S.type!=="checkbox"&&S.type!=="radio"?p&&mi(p.elementType)&&(mt=Ss):mt=gh;if(mt&&(mt=mt(t,p))){ps(N,mt,l,T);break t}X&&X(t,S,p),t==="focusout"&&p&&S.type==="number"&&p.memoizedProps.value!=null&&ri(S,"number",S.value)}switch(X=p?Ha(p):window,t){case"focusin":(gs(X)||X.contentEditable==="true")&&(la=X,Ni=p,wa=null);break;case"focusout":wa=Ni=la=null;break;case"mousedown":_i=!0;break;case"contextmenu":case"mouseup":case"dragend":_i=!1,_s(N,l,T);break;case"selectionchange":if(bh)break;case"keydown":case"keyup":_s(N,l,T)}var lt;if(xi)t:{switch(t){case"compositionstart":var ot="onCompositionStart";break t;case"compositionend":ot="onCompositionEnd";break t;case"compositionupdate":ot="onCompositionUpdate";break t}ot=void 0}else ea?ys(t,l)&&(ot="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(ot="onCompositionStart");ot&&(rs&&l.locale!=="ko"&&(ea||ot!=="onCompositionStart"?ot==="onCompositionEnd"&&ea&&(lt=cs()):(al=T,pi="value"in al?al.value:al.textContent,ea=!0)),X=Uu(p,ot),0<X.length&&(ot=new os(ot,t,null,l,T),N.push({event:ot,listeners:X}),lt?ot.data=lt:(lt=vs(l),lt!==null&&(ot.data=lt)))),(lt=oh?dh(t,l):rh(t,l))&&(ot=Uu(p,"onBeforeInput"),0<ot.length&&(X=new os("onBeforeInput","beforeinput",null,l,T),N.push({event:X,listeners:ot}),X.data=lt)),a0(N,t,p,l,T)}er(N,e)})}function gn(t,e,l){return{instance:t,listener:e,currentTarget:l}}function Uu(t,e){for(var l=e+"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,l),n!=null&&a.unshift(gn(t,n,u)),n=Ba(t,e),n!=null&&a.push(gn(t,n,u))),t.tag===3)return a;t=t.return}return[]}function c0(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function ar(t,e,l,a,n){for(var u=e._reactName,i=[];l!==null&&l!==a;){var c=l,d=c.alternate,p=c.stateNode;if(c=c.tag,d!==null&&d===a)break;c!==5&&c!==26&&c!==27||p===null||(d=p,n?(p=Ba(l,u),p!=null&&i.unshift(gn(l,p,d))):n||(p=Ba(l,u),p!=null&&i.push(gn(l,p,d)))),l=l.return}i.length!==0&&t.push({event:e,listeners:i})}var f0=/\r\n?/g,s0=/\u0000|\uFFFD/g;function nr(t){return(typeof t=="string"?t:""+t).replace(f0,`
|
|
49
|
+
`).replace(s0,"")}function ur(t,e){return e=nr(e),nr(t)===e}function Tt(t,e,l,a,n,u){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Il(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Il(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,l,a);break;case"style":ns(t,a,u);break;case"data":if(e!=="object"){qn(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Yn(""+a),t.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(e!=="input"&&Tt(t,e,"name",n.name,n,null),Tt(t,e,"formEncType",n.formEncType,n,null),Tt(t,e,"formMethod",n.formMethod,n,null),Tt(t,e,"formTarget",n.formTarget,n,null)):(Tt(t,e,"encType",n.encType,n,null),Tt(t,e,"method",n.method,n,null),Tt(t,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Yn(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=qe);break;case"onScroll":a!=null&&ct("scroll",t);break;case"onScrollEnd":a!=null&&ct("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(o(60));t.innerHTML=l}}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}l=Yn(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""+a):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":a===!0?t.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,a):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(l,a):t.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(l):t.setAttribute(l,a);break;case"popover":ct("beforetoggle",t),ct("toggle",t),Bn(t,"popover",a);break;case"xlinkActuate":Be(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Be(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Be(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Be(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Be(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Be(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Be(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Be(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Be(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<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Bm.get(l)||l,Bn(t,l,a))}}function Pc(t,e,l,a,n,u){switch(l){case"style":ns(t,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(o(60));t.innerHTML=l}}break;case"children":typeof a=="string"?Il(t,a):(typeof a=="number"||typeof a=="bigint")&&Il(t,""+a);break;case"onScroll":a!=null&&ct("scroll",t);break;case"onScrollEnd":a!=null&&ct("scrollend",t);break;case"onClick":a!=null&&(t.onclick=qe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!$f.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),e=l.slice(2,n?l.length-7:void 0),u=t[le]||null,u=u!=null?u[l]:null,typeof u=="function"&&t.removeEventListener(e,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,a,n);break t}l in t?t[l]=a:a===!0?t.setAttribute(l,""):Bn(t,l,a)}}}function Ft(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ct("error",t),ct("load",t);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var i=l[u];if(i!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Tt(t,e,u,i,l,null)}}n&&Tt(t,e,"srcSet",l.srcSet,l,null),a&&Tt(t,e,"src",l.src,l,null);return;case"input":ct("invalid",t);var c=u=i=n=null,d=null,p=null;for(a in l)if(l.hasOwnProperty(a)){var T=l[a];if(T!=null)switch(a){case"name":n=T;break;case"type":i=T;break;case"checked":d=T;break;case"defaultChecked":p=T;break;case"value":u=T;break;case"defaultValue":c=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(o(137,e));break;default:Tt(t,e,a,T,l,null)}}ts(t,u,c,d,p,i,n,!1);return;case"select":ct("invalid",t),a=i=u=null;for(n in l)if(l.hasOwnProperty(n)&&(c=l[n],c!=null))switch(n){case"value":u=c;break;case"defaultValue":i=c;break;case"multiple":a=c;default:Tt(t,e,n,c,l,null)}e=u,l=i,t.multiple=!!a,e!=null?Fl(t,!!a,e,!1):l!=null&&Fl(t,!!a,l,!0);return;case"textarea":ct("invalid",t),u=n=a=null;for(i in l)if(l.hasOwnProperty(i)&&(c=l[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,e,i,c,l,null)}ls(t,a,n,u);return;case"option":for(d in l)if(l.hasOwnProperty(d)&&(a=l[d],a!=null))switch(d){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Tt(t,e,d,a,l,null)}return;case"dialog":ct("beforetoggle",t),ct("toggle",t),ct("cancel",t),ct("close",t);break;case"iframe":case"object":ct("load",t);break;case"video":case"audio":for(a=0;a<vn.length;a++)ct(vn[a],t);break;case"image":ct("error",t),ct("load",t);break;case"details":ct("toggle",t);break;case"embed":case"source":case"link":ct("error",t),ct("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(p in l)if(l.hasOwnProperty(p)&&(a=l[p],a!=null))switch(p){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Tt(t,e,p,a,l,null)}return;default:if(mi(e)){for(T in l)l.hasOwnProperty(T)&&(a=l[T],a!==void 0&&Pc(t,e,T,a,l,void 0));return}}for(c in l)l.hasOwnProperty(c)&&(a=l[c],a!=null&&Tt(t,e,c,a,l,null))}function o0(t,e,l,a){switch(e){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,p=null,T=null;for(z in l){var N=l[z];if(l.hasOwnProperty(z)&&N!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":d=N;default:a.hasOwnProperty(z)||Tt(t,e,z,null,a,N)}}for(var S in a){var z=a[S];if(N=l[S],a.hasOwnProperty(S)&&(z!=null||N!=null))switch(S){case"type":u=z;break;case"name":n=z;break;case"checked":p=z;break;case"defaultChecked":T=z;break;case"value":i=z;break;case"defaultValue":c=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,e));break;default:z!==N&&Tt(t,e,S,z,a,N)}}di(t,i,c,d,p,T,u,n);return;case"select":z=i=c=S=null;for(u in l)if(d=l[u],l.hasOwnProperty(u)&&d!=null)switch(u){case"value":break;case"multiple":z=d;default:a.hasOwnProperty(u)||Tt(t,e,u,null,a,d)}for(n in a)if(u=a[n],d=l[n],a.hasOwnProperty(n)&&(u!=null||d!=null))switch(n){case"value":S=u;break;case"defaultValue":c=u;break;case"multiple":i=u;default:u!==d&&Tt(t,e,n,u,a,d)}e=c,l=i,a=z,S!=null?Fl(t,!!l,S,!1):!!a!=!!l&&(e!=null?Fl(t,!!l,e,!0):Fl(t,!!l,l?[]:"",!1));return;case"textarea":z=S=null;for(c in l)if(n=l[c],l.hasOwnProperty(c)&&n!=null&&!a.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:Tt(t,e,c,null,a,n)}for(i in a)if(n=a[i],u=l[i],a.hasOwnProperty(i)&&(n!=null||u!=null))switch(i){case"value":S=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,e,i,n,a,u)}es(t,S,z);return;case"option":for(var G in l)if(S=l[G],l.hasOwnProperty(G)&&S!=null&&!a.hasOwnProperty(G))switch(G){case"selected":t.selected=!1;break;default:Tt(t,e,G,null,a,S)}for(d in a)if(S=a[d],z=l[d],a.hasOwnProperty(d)&&S!==z&&(S!=null||z!=null))switch(d){case"selected":t.selected=S&&typeof S!="function"&&typeof S!="symbol";break;default:Tt(t,e,d,S,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 V in l)S=l[V],l.hasOwnProperty(V)&&S!=null&&!a.hasOwnProperty(V)&&Tt(t,e,V,null,a,S);for(p in a)if(S=a[p],z=l[p],a.hasOwnProperty(p)&&S!==z&&(S!=null||z!=null))switch(p){case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(o(137,e));break;default:Tt(t,e,p,S,a,z)}return;default:if(mi(e)){for(var jt in l)S=l[jt],l.hasOwnProperty(jt)&&S!==void 0&&!a.hasOwnProperty(jt)&&Pc(t,e,jt,void 0,a,S);for(T in a)S=a[T],z=l[T],!a.hasOwnProperty(T)||S===z||S===void 0&&z===void 0||Pc(t,e,T,S,a,z);return}}for(var y in l)S=l[y],l.hasOwnProperty(y)&&S!=null&&!a.hasOwnProperty(y)&&Tt(t,e,y,null,a,S);for(N in a)S=a[N],z=l[N],!a.hasOwnProperty(N)||S===z||S==null&&z==null||Tt(t,e,N,S,a,z)}function ir(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function d0(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var n=l[a],u=n.transferSize,i=n.initiatorType,c=n.duration;if(u&&c&&ir(i)){for(i=0,c=n.responseEnd,a+=1;a<l.length;a++){var d=l[a],p=d.startTime;if(p>c)break;var T=d.transferSize,N=d.initiatorType;T&&ir(N)&&(d=d.responseEnd,i+=T*(d<c?1:(c-p)/(d-p)))}if(--a,e+=8*(u+i)/(n.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var tf=null,ef=null;function Lu(t){return t.nodeType===9?t:t.ownerDocument}function cr(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 fr(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function lf(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var af=null;function r0(){var t=window.event;return t&&t.type==="popstate"?t===af?!1:(af=t,!0):(af=null,!1)}var sr=typeof setTimeout=="function"?setTimeout:void 0,m0=typeof clearTimeout=="function"?clearTimeout:void 0,or=typeof Promise=="function"?Promise:void 0,h0=typeof queueMicrotask=="function"?queueMicrotask:typeof or<"u"?function(t){return or.resolve(null).then(t).catch(y0)}:sr;function y0(t){setTimeout(function(){throw t})}function bl(t){return t==="head"}function dr(t,e){var l=e,a=0;do{var n=l.nextSibling;if(t.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"||l==="/&"){if(a===0){t.removeChild(n),Ma(e);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")pn(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,pn(l);for(var u=l.firstChild;u;){var i=u.nextSibling,c=u.nodeName;u[La]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=i}}else l==="body"&&pn(t.ownerDocument.body);l=n}while(l);Ma(e)}function rr(t,e){var l=t;t=0;do{var a=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=a}while(l)}function nf(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":nf(l),si(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function v0(t,e,l,a){for(;t.nodeType===1;){var n=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[La])switch(e){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(e==="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=_e(t.nextSibling),t===null)break}return null}function g0(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=_e(t.nextSibling),t===null))return null;return t}function mr(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=_e(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 p0(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var a=function(){e(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function _e(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var ff=null;function hr(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return _e(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function yr(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function vr(t,e,l){switch(e=Lu(l),t){case"html":if(t=e.documentElement,!t)throw Error(o(452));return t;case"head":if(t=e.head,!t)throw Error(o(453));return t;case"body":if(t=e.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function pn(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);si(t)}var Me=new Map,gr=new Set;function Hu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var tl=U.d;U.d={f:S0,r:b0,D:E0,C:z0,L:x0,m:T0,X:A0,S:j0,M:N0};function S0(){var t=tl.f(),e=Nu();return t||e}function b0(t){var e=kl(t);e!==null&&e.tag===5&&e.type==="form"?Uo(e):tl.r(t)}var Aa=typeof document>"u"?null:document;function pr(t,e,l){var a=Aa;if(a&&typeof e=="string"&&e){var n=Ee(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),gr.has(n)||(gr.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Ft(e,"link",t),Vt(e),a.head.appendChild(e)))}}function E0(t){tl.D(t),pr("dns-prefetch",t,null)}function z0(t,e){tl.C(t,e),pr("preconnect",t,e)}function x0(t,e,l){tl.L(t,e,l);var a=Aa;if(a&&t&&e){var n='link[rel="preload"][as="'+Ee(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Ee(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Ee(l.imageSizes)+'"]')):n+='[href="'+Ee(t)+'"]';var u=n;switch(e){case"style":u=Na(t);break;case"script":u=_a(t)}Me.has(u)||(t=O({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),Me.set(u,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(Sn(u))||e==="script"&&a.querySelector(bn(u))||(e=a.createElement("link"),Ft(e,"link",t),Vt(e),a.head.appendChild(e)))}}function T0(t,e){tl.m(t,e);var l=Aa;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+Ee(a)+'"][href="'+Ee(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=_a(t)}if(!Me.has(u)&&(t=O({rel:"modulepreload",href:t},e),Me.set(u,t),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(bn(u)))return}a=l.createElement("link"),Ft(a,"link",t),Vt(a),l.head.appendChild(a)}}}function j0(t,e,l){tl.S(t,e,l);var a=Aa;if(a&&t){var n=$l(a).hoistableStyles,u=Na(t);e=e||"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=O({rel:"stylesheet",href:t,"data-precedence":e},l),(l=Me.get(u))&&sf(t,l);var d=i=a.createElement("link");Vt(d),Ft(d,"link",t),d._p=new Promise(function(p,T){d.onload=p,d.onerror=T}),d.addEventListener("load",function(){c.loading|=1}),d.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Bu(i,e,a)}i={type:"stylesheet",instance:i,count:1,state:c},n.set(u,i)}}}function A0(t,e){tl.X(t,e);var l=Aa;if(l&&t){var a=$l(l).hoistableScripts,n=_a(t),u=a.get(n);u||(u=l.querySelector(bn(n)),u||(t=O({src:t,async:!0},e),(e=Me.get(n))&&of(t,e),u=l.createElement("script"),Vt(u),Ft(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function N0(t,e){tl.M(t,e);var l=Aa;if(l&&t){var a=$l(l).hoistableScripts,n=_a(t),u=a.get(n);u||(u=l.querySelector(bn(n)),u||(t=O({src:t,async:!0,type:"module"},e),(e=Me.get(n))&&of(t,e),u=l.createElement("script"),Vt(u),Ft(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Sr(t,e,l,a){var n=(n=ut.current)?Hu(n):null;if(!n)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Na(l.href),l=$l(n).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Na(l.href);var u=$l(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),Me.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Me.set(t,l),u||_0(n,t,l,i.state))),e&&a===null)throw Error(o(528,""));return i}if(e&&a!==null)throw Error(o(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=_a(l),l=$l(n).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function Na(t){return'href="'+Ee(t)+'"'}function Sn(t){return'link[rel="stylesheet"]['+t+"]"}function br(t){return O({},t,{"data-precedence":t.precedence,precedence:null})}function _0(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Ft(e,"link",l),Vt(e),t.head.appendChild(e))}function _a(t){return'[src="'+Ee(t)+'"]'}function bn(t){return"script[async]"+t}function Er(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Ee(l.href)+'"]');if(a)return e.instance=a,Vt(a),a;var n=O({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Vt(a),Ft(a,"style",n),Bu(a,l.precedence,t),e.instance=a;case"stylesheet":n=Na(l.href);var u=t.querySelector(Sn(n));if(u)return e.state.loading|=4,e.instance=u,Vt(u),u;a=br(l),(n=Me.get(n))&&sf(a,n),u=(t.ownerDocument||t).createElement("link"),Vt(u);var i=u;return i._p=new Promise(function(c,d){i.onload=c,i.onerror=d}),Ft(u,"link",a),e.state.loading|=4,Bu(u,l.precedence,t),e.instance=u;case"script":return u=_a(l.src),(n=t.querySelector(bn(u)))?(e.instance=n,Vt(n),n):(a=l,(n=Me.get(u))&&(a=O({},l),of(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Vt(n),Ft(n,"link",a),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Bu(a,l.precedence,t));return e.instance}function Bu(t,e,l){for(var a=l.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===e)u=c;else if(u!==n)break}u?u.parentNode.insertBefore(t,u.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function sf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function of(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var qu=null;function zr(t,e,l){if(qu===null){var a=new Map,n=qu=new Map;n.set(l,a)}else n=qu,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(t))return a;for(a.set(t,null),l=l.getElementsByTagName(t),n=0;n<l.length;n++){var u=l[n];if(!(u[La]||u[Jt]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var i=u.getAttribute(e)||"";i=t+i;var c=a.get(i);c?c.push(u):a.set(i,[u])}}return a}function xr(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function M0(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Tr(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function D0(t,e,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=Na(a.href),u=e.querySelector(Sn(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Gu.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=u,Vt(u);return}u=e.ownerDocument||e,a=br(a),(n=Me.get(n))&&sf(a,n),u=u.createElement("link"),Vt(u);var i=u;i._p=new Promise(function(c,d){i.onload=c,i.onerror=d}),Ft(u,"link",a),l.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=Gu.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var df=0;function C0(t,e){return t.stylesheets&&t.count===0&&Xu(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var a=setTimeout(function(){if(t.stylesheets&&Xu(t,t.stylesheets),t.unsuspend){var u=t.unsuspend;t.unsuspend=null,u()}},6e4+e);0<t.imgBytes&&df===0&&(df=62500*d0());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)+e);return t.unsuspend=l,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,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Yu=new Map,e.forEach(O0,t),Yu=null,Gu.call(t))}function O0(t,e){if(!(e.state.loading&4)){var l=Yu.get(t);if(l)var a=l.get(null);else{l=new Map,Yu.set(t,l);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")&&(l.set(i.dataset.precedence,i),a=i)}a&&l.set(null,a)}n=e.instance,i=n.getAttribute("data-precedence"),u=l.get(i)||a,u===a&&l.set(null,n),l.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)),e.state.loading|=4}}var En={$$typeof:St,Provider:null,Consumer:null,_currentValue:Z,_currentValue2:Z,_threadCount:0};function R0(t,e,l,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 jr(t,e,l,a,n,u,i,c,d,p,T,N){return t=new R0(t,e,l,i,d,p,T,N,c),e=1,u===!0&&(e|=24),u=me(3,null,null,e),t.current=u,u.stateNode=t,e=Zi(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:e},Ji(u),t}function Ar(t){return t?(t=ua,t):ua}function Nr(t,e,l,a,n,u){n=Ar(n),a.context===null?a.context=n:a.pendingContext=n,a=sl(e),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=ol(t,a,e),l!==null&&(fe(l,t,e),Ia(l,t,e))}function _r(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function rf(t,e){_r(t,e),(t=t.alternate)&&_r(t,e)}function Mr(t){if(t.tag===13||t.tag===31){var e=Ol(t,67108864);e!==null&&fe(e,t,67108864),rf(t,67108864)}}function Dr(t){if(t.tag===13||t.tag===31){var e=pe();e=ii(e);var l=Ol(t,e);l!==null&&fe(l,t,e),rf(t,e)}}var Qu=!0;function U0(t,e,l,a){var n=x.T;x.T=null;var u=U.p;try{U.p=2,mf(t,e,l,a)}finally{U.p=u,x.T=n}}function L0(t,e,l,a){var n=x.T;x.T=null;var u=U.p;try{U.p=8,mf(t,e,l,a)}finally{U.p=u,x.T=n}}function mf(t,e,l,a){if(Qu){var n=hf(a);if(n===null)Ic(t,e,a,Zu,l),Or(t,a);else if(B0(n,t,e,l,a))a.stopPropagation();else if(Or(t,a),e&4&&-1<H0.indexOf(t)){for(;n!==null;){var u=kl(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var i=Nl(u.pendingLanes);if(i!==0){var c=u;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var d=1<<31-de(i);c.entanglements[1]|=d,i&=~d}He(u),(gt&6)===0&&(ju=se()+500,yn(0))}}break;case 31:case 13:c=Ol(u,2),c!==null&&fe(c,u,2),Nu(),rf(u,2)}if(u=hf(a),u===null&&Ic(t,e,a,Zu,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else Ic(t,e,a,null,l)}}function hf(t){return t=yi(t),yf(t)}var Zu=null;function yf(t){if(Zu=null,t=Jl(t),t!==null){var e=D(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=B(e),t!==null)return t;t=null}else if(l===31){if(t=M(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Zu=t,null}function Cr(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(Em()){case qf:return 2;case Gf:return 8;case On:case zm:return 32;case Yf:return 268435456;default:return 32}default:return 32}}var vf=!1,El=null,zl=null,xl=null,zn=new Map,xn=new Map,Tl=[],H0="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,e){switch(t){case"focusin":case"focusout":El=null;break;case"dragenter":case"dragleave":zl=null;break;case"mouseover":case"mouseout":xl=null;break;case"pointerover":case"pointerout":zn.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":xn.delete(e.pointerId)}}function Tn(t,e,l,a,n,u){return t===null||t.nativeEvent!==u?(t={blockedOn:e,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},e!==null&&(e=kl(e),e!==null&&Mr(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function B0(t,e,l,a,n){switch(e){case"focusin":return El=Tn(El,t,e,l,a,n),!0;case"dragenter":return zl=Tn(zl,t,e,l,a,n),!0;case"mouseover":return xl=Tn(xl,t,e,l,a,n),!0;case"pointerover":var u=n.pointerId;return zn.set(u,Tn(zn.get(u)||null,t,e,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,xn.set(u,Tn(xn.get(u)||null,t,e,l,a,n)),!0}return!1}function Rr(t){var e=Jl(t.target);if(e!==null){var l=D(e);if(l!==null){if(e=l.tag,e===13){if(e=B(l),e!==null){t.blockedOn=e,Kf(t.priority,function(){Dr(l)});return}}else if(e===31){if(e=M(l),e!==null){t.blockedOn=e,Kf(t.priority,function(){Dr(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Vu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=hf(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);hi=a,l.target.dispatchEvent(a),hi=null}else return e=kl(l),e!==null&&Mr(e),t.blockedOn=l,!1;e.shift()}return!0}function Ur(t,e,l){Vu(t)&&l.delete(e)}function q0(){vf=!1,El!==null&&Vu(El)&&(El=null),zl!==null&&Vu(zl)&&(zl=null),xl!==null&&Vu(xl)&&(xl=null),zn.forEach(Ur),xn.forEach(Ur)}function wu(t,e){t.blockedOn===e&&(t.blockedOn=null,vf||(vf=!0,f.unstable_scheduleCallback(f.unstable_NormalPriority,q0)))}var Ku=null;function Lr(t){Ku!==t&&(Ku=t,f.unstable_scheduleCallback(f.unstable_NormalPriority,function(){Ku===t&&(Ku=null);for(var e=0;e<t.length;e+=3){var l=t[e],a=t[e+1],n=t[e+2];if(typeof a!="function"){if(yf(a||l)===null)continue;break}var u=kl(l);u!==null&&(t.splice(e,3),e-=3,mc(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Ma(t){function e(d){return wu(d,t)}El!==null&&wu(El,t),zl!==null&&wu(zl,t),xl!==null&&wu(xl,t),zn.forEach(e),xn.forEach(e);for(var l=0;l<Tl.length;l++){var a=Tl[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Tl.length&&(l=Tl[0],l.blockedOn===null);)Rr(l),l.blockedOn===null&&Tl.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],u=l[a+1],i=n[le]||null;if(typeof u=="function")i||Lr(l);else if(i){var c=null;if(u&&u.hasAttribute("formAction")){if(n=u,i=u[le]||null)c=i.formAction;else if(yf(n)!==null)continue}else c=i.action;typeof c=="function"?l[a+1]=c:(l.splice(a,3),a-=3),Lr(l)}}}function Hr(){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 e(){n!==null&&(n(),n=null),a||setTimeout(l,20)}function l(){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",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),n!==null&&(n(),n=null)}}}function gf(t){this._internalRoot=t}Ju.prototype.render=gf.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var l=e.current,a=pe();Nr(l,a,t,e,null,null)},Ju.prototype.unmount=gf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Nr(t.current,2,null,t,null,null),Nu(),e[Kl]=null}};function Ju(t){this._internalRoot=t}Ju.prototype.unstable_scheduleHydration=function(t){if(t){var e=wf();t={blockedOn:null,target:t,priority:e};for(var l=0;l<Tl.length&&e!==0&&e<Tl[l].priority;l++);Tl.splice(l,0,t),l===0&&Rr(t)}};var Br=r.version;if(Br!=="19.2.6")throw Error(o(527,Br,"19.2.6"));U.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=E(e),t=t!==null?R(t):null,t=t===null?null:t.stateNode,t};var G0={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:x,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ku=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ku.isDisabled&&ku.supportsFiber)try{Oa=ku.inject(G0),oe=ku}catch{}}return An.createRoot=function(t,e){if(!A(t))throw Error(o(299));var l=!1,a="",n=Vo,u=wo,i=Ko;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(i=e.onRecoverableError)),e=jr(t,1,!1,null,null,l,a,null,n,u,i,Hr),t[Kl]=e.current,Fc(t),new gf(e)},An.hydrateRoot=function(t,e,l){if(!A(t))throw Error(o(299));var a=!1,n="",u=Vo,i=wo,c=Ko,d=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(i=l.onCaughtError),l.onRecoverableError!==void 0&&(c=l.onRecoverableError),l.formState!==void 0&&(d=l.formState)),e=jr(t,1,!0,e,l??null,a,n,d,u,i,c,Hr),e.context=Ar(null),l=e.current,a=pe(),a=ii(a),n=sl(a),n.callback=null,ol(l,n,a),l=a,e.current.lanes=l,Ua(e,l),He(e),t[Kl]=e.current,Fc(t),new Ju(e)},An.version="19.2.6",An}var Jr;function W0(){if(Jr)return bf.exports;Jr=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(r){console.error(r)}}return f(),bf.exports=$0(),bf.exports}var F0=W0();/**
|
|
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 im=(...f)=>f.filter((r,v,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===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 I0=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 P0=f=>f.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,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 kr=f=>{const r=P0(f);return r.charAt(0).toUpperCase()+r.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 Tf={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 ty=f=>{for(const r in f)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1},ey=yt.createContext({}),ly=()=>yt.useContext(ey),ay=yt.forwardRef(({color:f,size:r,strokeWidth:v,absoluteStrokeWidth:o,className:A="",children:D,iconNode:B,...M},b)=>{const{size:E=24,strokeWidth:R=2,absoluteStrokeWidth:O=!1,color:K="currentColor",className:I=""}=ly()??{},ft=o??O?Number(v??R)*24/Number(r??E):v??R;return yt.createElement("svg",{ref:b,...Tf,width:r??E??Tf.width,height:r??E??Tf.height,stroke:f??K,strokeWidth:ft,className:im("lucide",I,A),...!D&&!ty(M)&&{"aria-hidden":"true"},...M},[...B.map(([vt,Rt])=>yt.createElement(vt,Rt)),...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 It=(f,r)=>{const v=yt.forwardRef(({className:o,...A},D)=>yt.createElement(ay,{ref:D,iconNode:r,className:im(`lucide-${I0(kr(f))}`,`lucide-${f}`,o),...A}));return v.displayName=kr(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 ny=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],uy=It("arrow-right",ny);/**
|
|
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 iy=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Dn=It("check",iy);/**
|
|
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 cy=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],cm=It("chevron-down",cy);/**
|
|
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 fy=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],sy=It("chevron-right",fy);/**
|
|
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 oy=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],fm=It("circle-check",oy);/**
|
|
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=[["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"}]],ry=It("clipboard",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 my=[["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"}]],hy=It("code-xml",my);/**
|
|
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:"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"}]],vy=It("file-braces-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:"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"}]],py=It("file-code-corner",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 Sy=[["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"}]],Rf=It("git-branch",Sy);/**
|
|
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:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Ey=It("loader-circle",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"}],["path",{d:"M12 8v6",key:"1ib9pf"}],["path",{d:"M9 11h6",key:"1fldmi"}]],xy=It("message-square-plus",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:"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"}]],Uf=It("message-square",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 jy=[["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"}]],Ay=It("play",jy);/**
|
|
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 Ny=[["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"}]],_y=It("send",Ny);/**
|
|
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 My=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],_f=It("terminal",My);/**
|
|
165
|
+
* @license lucide-react v1.16.0 - ISC
|
|
166
|
+
*
|
|
167
|
+
* This source code is licensed under the ISC license.
|
|
168
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
169
|
+
*/const Dy=[["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"}]],sm=It("trash-2",Dy),Cy="brew install iamrajjoshi/tap/gloss",Oy="npm install -g getgloss",Ry="gloss open --json",jf="npx getgloss open --json",$r="npx skills add iamrajjoshi/gloss --skill gloss -g -a claude-code",Uy={side:"R",startLine:45,endLine:45},Ly=[{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"}],Wr=[{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 Hy(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 By(f,r){const v=typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now()}-${Math.random().toString(16).slice(2)}`;return{...r,id:v,body:f,createdAt:new Date().toISOString()}}function Mf({value:f,label:r}){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(ry,{size:15}),s.jsx("span",{children:v?"Copied":r})]})}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 qy(){const[f,r]=yt.useState(!0),[v,o]=yt.useState(Uy),[A,D]=yt.useState(!1),[B,M]=yt.useState(null),[b,E]=yt.useState(""),[R,O]=yt.useState(Ly),[K,I]=yt.useState("idle"),ft=K==="submitted",vt=R.find(C=>C.id===B),Rt=Hy(v),Nt=b.trim(),pt=`${R.length} review comment${R.length===1?"":"s"}`,St=ft?[{marker:"✓",text:"review.submitted received"},{marker:"→",text:"reading ~/.gloss/reviews/01KS5/feedback.json"},{marker:"→",text:`applying ${pt}`},{marker:"→",text:"running pnpm check"}]:[{marker:"$",text:"gloss open --json"},{marker:"→",text:"captured 4 files, +128 -31"},{marker:"→",text:"waiting for review.submitted"}],Bt=f?Wr:Wr.filter(C=>!C.hiddenUntilExpanded),Kt=yt.useMemo(()=>JSON.stringify({reviewId:"01KS5...",comments:R.map(C=>({filePath:"src/web/routes/MarketingHome.tsx",side:C.side,startLine:C.startLine,endLine:C.endLine,body:C.body}))},null,2),[R]),w=(C,P)=>v.side===C&&v.startLine===P&&v.endLine===P,k=C=>{o(C),M(null),E(""),D(!0),I("idle")},q=C=>{o({side:C.side,startLine:C.startLine,endLine:C.endLine}),M(C.id),E(C.body),D(!0),I("idle")},H=()=>{Nt&&(O(C=>B?C.map(P=>P.id===B?{...P,body:Nt}:P):[...C,By(Nt,v)]),E(""),M(null),D(!1),I("idle"))},$=C=>{O(P=>P.filter(nt=>nt.id!==C)),B===C&&(M(null),E(""),D(!1)),I("idle")},W=(C,P)=>R.filter(nt=>nt.side===C&&Math.max(nt.startLine,nt.endLine)===P&&Math.min(nt.startLine,nt.endLine)===P),J=(C,P)=>W(C,P).map(nt=>s.jsxs("div",{className:"scene-inline-comment",children:[s.jsxs("button",{className:"scene-inline-comment-body",type:"button",onClick:()=>q(nt),children:[s.jsx(Uf,{size:14}),s.jsx("span",{children:nt.body})]}),s.jsx("button",{className:"scene-inline-comment-remove",type:"button",title:`Remove comment on ${nt.side}${nt.startLine}`,onClick:()=>$(nt.id),children:s.jsx(sm,{size:13})})]},nt.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(Rf,{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(_f,{size:14}),s.jsx("span",{children:ft?"Claude Code":"agent terminal"})]}),s.jsx("div",{className:"terminal-lines",children:St.map(C=>s.jsxs("p",{children:[s.jsx("span",{children:C.marker})," ",C.text]},C.text))})]}),s.jsxs("div",{className:"scene-review",children:[s.jsxs("button",{className:"scene-file-header",type:"button",children:[s.jsx(cm,{size:16}),s.jsx(hy,{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:()=>r(C=>!C),children:f?"Hide unchanged context":"194 unmodified lines"}),s.jsx("div",{className:"scene-hunk",children:"@@ -38,11 +38,20 @@ export function MarketingHome()"}),Bt.map(C=>{const P=C.side==="L"?C.oldLine:C.newLine;if(P==null)return null;const nt=w(C.side,P),x=ft&&(C.key==="skip-review"||C.key==="skip-status"),U=ft&&["apply-feedback","resolve-threads","run-checks"].includes(C.key);return s.jsxs("div",{children:[s.jsxs("button",{className:`scene-row ${C.tone} ${C.hiddenUntilExpanded?"dimmed":""} ${nt?"selected":""} ${x?"agent-dimmed":""} ${U?"agent-applied":""}`,type:"button","aria-pressed":nt,onClick:()=>k({side:C.side,startLine:P,endLine:P}),children:[s.jsx("span",{children:C.oldLine??""}),s.jsx("span",{children:C.newLine??""}),s.jsx("code",{children:C.code||" "})]}),ft&&C.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,J(C.side,P),A&&v.side===C.side&&v.endLine===P?s.jsxs("div",{className:"scene-composer",children:[s.jsxs("div",{className:"scene-composer-title",children:[s.jsx("strong",{children:vt?"Review comment":"New local comment"}),s.jsx("span",{children:Rt})]}),s.jsx("textarea",{"aria-label":Rt,placeholder:"Request change",value:b,onChange:Z=>E(Z.target.value)}),s.jsxs("div",{className:"scene-composer-actions",children:[s.jsx("button",{className:"scene-secondary-action",type:"button",onClick:()=>{E(""),M(null),D(!1)},children:"Cancel"}),s.jsx("button",{type:"button",disabled:!Nt,onClick:H,children:vt?"Update":"Comment"})]})]}):null]},C.key)})]}),s.jsx("div",{className:"scene-feedback",children:ft?s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"feedback-title",children:[s.jsx(_f,{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","Resolved comment","Validated"].map(C=>s.jsxs("li",{children:[s.jsx(Dn,{size:13}),s.jsx("span",{children:C})]},C))})]})]}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"feedback-title",children:[s.jsx(vy,{size:15}),s.jsx("span",{children:"~/.gloss/reviews/01KS5/feedback.json"})]}),s.jsx("pre",{children:Kt})]})})]}),s.jsxs("div",{className:"scene-submit",children:[s.jsx("span",{children:R.length===0?"No local comments yet":ft?"Sent to Claude Code":`${R.length} local comment${R.length===1?"":"s"} ready`}),s.jsxs("button",{type:"button",disabled:R.length===0,onClick:()=>I("submitted"),children:[ft?s.jsx(Dn,{size:14}):s.jsx(Ay,{size:14}),ft?"Sent to Claude Code":"Submit review"]})]})]})}function Nn({step:f,title:r,body:v}){return s.jsxs("div",{className:"workflow-step",children:[s.jsx("span",{children:f}),s.jsxs("div",{children:[s.jsx("h3",{children:r}),s.jsx("p",{children:v})]})]})}function Gy(){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:"Review agent-written diffs in your browser."}),s.jsxs("p",{className:"hero-body",children:["Gloss opens your working-tree diff in a local browser, then writes"," ",s.jsx("code",{children:"feedback.json"})," for your agent and ",s.jsx("code",{children:"feedback.md"})," for humans."]}),s.jsxs("div",{className:"hero-actions",children:[s.jsxs("a",{className:"hero-primary",href:"#install",children:["Install with Homebrew",s.jsx(uy,{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:jf}),s.jsx(Mf,{value:jf,label:"Copy command"})]})]}),s.jsxs("div",{className:"demo-interaction-hint",children:[s.jsx(Uf,{size:16}),s.jsxs("span",{children:[s.jsx("strong",{children:"Try it now:"})," Click a changed line to leave a comment, then submit the review."]})]}),s.jsx(qy,{})]}),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:Cy}),s.jsx($u,{command:Oy}),s.jsx($u,{command:Ry}),s.jsx($u,{command:jf})]}),s.jsxs("div",{className:"agent-prompt",children:[s.jsxs("div",{className:"agent-prompt-label",children:[s.jsx(_f,{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:$r}),s.jsx(Mf,{value:$r,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(Nn,{step:"01",title:"Open a review",body:"The agent runs `gloss open --json`."}),s.jsx(Nn,{step:"02",title:"Wait",body:"Gloss blocks while you review the diff."}),s.jsx(Nn,{step:"03",title:"Receive feedback",body:"The agent reads `feedbackPath`."}),s.jsx(Nn,{step:"04",title:"Fix and validate",body:"The agent applies comments and runs checks."}),s.jsx(Nn,{step:"05",title:"Resolve",body:"The agent runs `gloss resolve`."})]})]}),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
|
|
170
|
+
~/.gloss/reviews/<reviewId>/feedback.md
|
|
171
|
+
~/.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("code",{children:"resolved.json"})," tracks comment and review resolution progress."]})})]})]}),s.jsx("footer",{className:"marketing-footer",children:s.jsxs("a",{href:"https://github.com/iamrajjoshi/gloss",target:"_blank",rel:"noreferrer",children:[s.jsx(Rf,{size:16}),s.jsx("span",{children:"GitHub"})]})})]})}async function om(f){if(!f.ok)throw new Error(`${f.status}: ${await f.text()}`);return await f.json()}async function Yy(f){return om(await fetch(`/api/reviews/${f}`))}async function Xy(f,r){return om(await fetch(`/api/reviews/${f}/submit`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({comments:r})}))}(()=>{try{return!1}catch{return!1}})();const Qy=/(?=^From [a-f0-9]+ .+$)/m,dm=/(?=^diff --git)/gm,Fr=/(?=^---\s+\S)/gm,Zy=/^(---|\+\+\+)\s+([^\t\r\n]+)/,Vy=/^(---|\+\+\+)\s+[ab]\/([^\t\r\n]+)/,wy=/^diff --git (?:"a\/(.+?)"|a\/(.+?)) (?:"b\/(.+?)"|b\/(.+?))$/,Ky=/^index ([0-9a-f]+)\.\.([0-9a-f]+)(?: (\d+))?$/i;function Ir(f){return f.replace(/\n$|\r\n$/,"")}const Jy=new TextEncoder,ky=new TextDecoder("utf-8",{ignoreBOM:!0}),$y=/[\uD800-\uDFFF]/,Df=1024;let Da=new Uint8Array(Df);function Wy(){Da.length!==Df&&(Da=new Uint8Array(Df))}function Zt(f){if(f.length===0)return f;if($y.test(f))return JSON.parse(JSON.stringify(f));const r=f.length*3;Da.length<r&&(Da=new Uint8Array(r));const{written:v}=Jy.encodeInto(f,Da);return ky.decode(Da.subarray(0,v))}function Fy(f,r,v){try{return Iy(f,r,v)}finally{Wy()}}function Iy(f,r,v=!1){const o=nv(f),A=o?mm(f,"diff --git"):f.split(Fr);let D;const B=[];for(const M of A){if(o&&!dm.test(M)){if(D==null)D=Zt(M);else{if(v)throw Error("parsePatchContent: unknown file blob");console.error("parsePatchContent: unknown file blob:",M)}continue}else if(!o&&!Fr.test(M)){if(D==null)D=Zt(M);else{if(v)throw Error("parsePatchContent: unknown file blob");console.error("parsePatchContent: unknown file blob:",M)}continue}const b=Py(M,{cacheKey:r!=null?`${r}-${B.length}`:void 0,isGitDiff:o,throwOnError:v});b!=null&&B.push(b)}return{patchMetadata:D,files:B}}function Py(f,{cacheKey:r,isGitDiff:v=dm.test(f),oldFile:o,newFile:A,throwOnError:D=!1}={}){let B=0;const M=mm(f,"@@ ");let b;const E=o==null||A==null;let R=0,O=0;for(const K of M){const I=rm(K),ft=I[0];if(ft==null){if(D)throw Error("parsePatchContent: invalid hunk");console.error("parsePatchContent: invalid hunk",K);continue}const vt=lv(ft);let Rt=0,Nt=0;if(vt==null||b==null){if(b!=null){if(D)throw Error("parsePatchContent: Invalid hunk");console.error("parsePatchContent: Invalid hunk",K);continue}b={name:"",type:"change",hunks:[],splitLineCount:0,unifiedLineCount:0,isPartial:E,additionLines:!E&&o!=null&&A!=null?Pr(A.contents):[],deletionLines:!E&&o!=null&&A!=null?Pr(o.contents):[],cacheKey:em(r)},b.additionLines.length===1&&(A==null?void 0:A.contents)===""&&(b.additionLines.length=0),b.deletionLines.length===1&&(o==null?void 0:o.contents)===""&&(b.deletionLines.length=0);for(const H of I){if(H.startsWith("diff --git")){const[,,W,,J]=H.trim().match(wy)??[];b.name=Zt(J.trim()),W!==J&&(b.prevName=Zt(W.trim()));continue}const $=H.startsWith("---")||H.startsWith("+++")?H.match(v?Vy:Zy):null;if($!=null){const[,W,J]=$;if(W==="---"&&J!=="/dev/null"){const C=Zt(J.trim());b.prevName=C,b.name=C}else W==="+++"&&J!=="/dev/null"&&(b.name=Zt(J.trim()))}else if(v){if(H.startsWith("new mode ")&&(b.mode=Zt(H.slice(8).trim())),H.startsWith("old mode ")&&(b.prevMode=Zt(H.slice(8).trim())),H.startsWith("new file mode")&&(b.type="new",b.mode=Zt(H.slice(13).trim())),H.startsWith("deleted file mode")&&(b.type="deleted",b.mode=Zt(H.slice(17).trim())),H.startsWith("similarity index")&&(H.startsWith("similarity index 100%")?b.type="rename-pure":b.type="rename-changed"),H.startsWith("index ")){const[,W,J,C]=H.trim().match(Ky)??[];W!=null&&(b.prevObjectId=Zt(W)),J!=null&&(b.newObjectId=Zt(J)),C!=null&&(b.mode=Zt(C))}H.startsWith("rename from ")&&(b.prevName=Zt(H.slice(12).trim())),H.startsWith("rename to ")&&(b.name=Zt(H.slice(10).trim()))}}continue}let pt,St;for(;I.length>0&&(I[I.length-1]===`
|
|
172
|
+
`||I[I.length-1]==="\r"||I[I.length-1]===`\r
|
|
173
|
+
`||I[I.length-1]==="");)I.pop();const{additionStart:Bt,deletionStart:Kt}=vt;R=E?R:Kt-1,O=E?O:Bt-1;const w={collapsedBefore:0,splitLineCount:0,splitLineStart:0,unifiedLineCount:0,unifiedLineStart:0,additionCount:vt.additionCount,additionStart:Bt,additionLines:Rt,deletionCount:vt.deletionCount,deletionStart:Kt,deletionLines:Nt,deletionLineIndex:R,additionLineIndex:O,hunkContent:[],hunkContext:em(vt.hunkContext),hunkSpecs:Zt(ft),noEOFCRAdditions:!1,noEOFCRDeletions:!1};let k=0,q=0;for(let H=1;H<I.length;H++){const $=I[H];if(k>=w.additionCount&&q>=w.deletionCount&&!$.startsWith("\\"))break;const W=$[0];if(W!=="+"&&W!=="-"&&W!==" "&&W!=="\\"){console.error(`parseLineType: Invalid firstChar: "${W}", full line: "${$}"`),console.error("processFile: invalid rawLine:",$);continue}const J=uv(W);if(J==="addition"){const C=Af($);(pt==null||pt.type!=="change")&&(pt=Nf("change",R,O),w.hunkContent.push(pt)),O++,k++,E&&b.additionLines.push(C),pt.additions++,Rt++,St="addition"}else if(J==="deletion"){const C=Af($);(pt==null||pt.type!=="change")&&(pt=Nf("change",R,O),w.hunkContent.push(pt)),R++,q++,E&&b.deletionLines.push(C),pt.deletions++,Nt++,St="deletion"}else if(J==="context"){const C=Af($);(pt==null||pt.type!=="context")&&(pt=Nf("context",R,O),w.hunkContent.push(pt)),O++,R++,k++,q++,E&&(b.deletionLines.push(C),b.additionLines.push(C)),pt.lines++,St="context"}else if(J==="metadata"&&pt!=null){if(pt.type==="context"?(w.noEOFCRAdditions=!0,w.noEOFCRDeletions=!0):St==="deletion"?w.noEOFCRDeletions=!0:St==="addition"&&(w.noEOFCRAdditions=!0),E&&(St==="addition"||St==="context")){const C=b.additionLines.length-1;C>=0&&(b.additionLines[C]=Ir(b.additionLines[C]))}if(E&&(St==="deletion"||St==="context")){const C=b.deletionLines.length-1;C>=0&&(b.deletionLines[C]=Ir(b.deletionLines[C]))}}}w.additionLines=Rt,w.deletionLines=Nt,w.collapsedBefore=Math.max(w.additionStart-1-B,0),b.hunks.push(w),B=w.additionStart+w.additionCount-1;for(const H of w.hunkContent)H.type==="context"?(w.splitLineCount+=H.lines,w.unifiedLineCount+=H.lines):(w.splitLineCount+=Math.max(H.additions,H.deletions),w.unifiedLineCount+=H.deletions+H.additions);w.splitLineStart=b.splitLineCount+w.collapsedBefore,w.unifiedLineStart=b.unifiedLineCount+w.collapsedBefore,b.splitLineCount+=w.collapsedBefore+w.splitLineCount,b.unifiedLineCount+=w.collapsedBefore+w.unifiedLineCount}if(b!=null){if(b.hunks.length>0&&!E&&b.additionLines.length>0&&b.deletionLines.length>0){const K=b.hunks[b.hunks.length-1],I=K.additionStart+K.additionCount-1,ft=b.additionLines.length,vt=Math.max(ft-I,0);b.splitLineCount+=vt,b.unifiedLineCount+=vt}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==="")&&A!=null&&A.contents!==""?b.type="new":o!=null&&o.contents!==""&&(A==null||A.contents==="")&&(b.type="deleted")),b.type!=="rename-pure"&&b.type!=="rename-changed"&&(b.prevName=void 0),b}}function tv(f,r,v=!1){const o=[],A=ev(f)?f.split(Qy):[f];for(const D of A)try{o.push(Fy(D,r!=null?`${r}-${o.length}`:void 0,v))}catch(B){if(v)throw B;console.error(B)}return o}function ev(f){return f.startsWith("From ")||f.includes(`
|
|
174
|
+
From `)}function Pr(f){const r=rm(f);for(let v=0;v<r.length;v++)r[v]=Zt(r[v]);return r}function rm(f){if(f.length===0)return[""];const r=[];let v=0;for(;;){const o=f.indexOf(`
|
|
175
|
+
`,v);if(o===-1)break;r.push(f.slice(v,o+1)),v=o+1}return v<f.length&&r.push(f.slice(v)),r}function lv(f){if(!f.startsWith("@@ -"))return;let r=4;const v=Wu(f,r);if(v==null)return;const o=v.value;r=v.endIndex;let A=1;if(f[r]===","){const R=Wu(f,r+1);if(R==null)return;A=R.value,r=R.endIndex}if(f[r]!==" "||f[r+1]!=="+")return;r+=2;const D=Wu(f,r);if(D==null)return;const B=D.value;r=D.endIndex;let M=1;if(f[r]===","){const R=Wu(f,r+1);if(R==null)return;M=R.value,r=R.endIndex}if(f[r]!==" "||f[r+1]!=="@"||f[r+2]!=="@")return;let b;const E=r+3;return f[E]===" "&&(b=av(f.slice(E+1))),{additionCount:M,additionStart:B,deletionCount:A,deletionStart:o,hunkContext:b}}function Wu(f,r){let v=r,o=0;for(;v<f.length;v++){const A=f.charCodeAt(v)-48;if(A<0||A>9)break;o=o*10+A}if(v!==r)return{value:o,endIndex:v}}function av(f){return f.endsWith(`\r
|
|
176
|
+
`)?f.slice(0,-2):f.endsWith(`
|
|
177
|
+
`)?f.slice(0,-1):f}function nv(f){return f.startsWith("diff --git")||f.includes(`
|
|
178
|
+
diff --git`)}function mm(f,r){if(f.length===0)return[""];const v=`
|
|
179
|
+
${r}`,o=f.startsWith(r)?0:tm(f,v,0);if(o===-1)return[f];const A=[];o>0&&A.push(f.slice(0,o));let D=o;for(;;){const B=tm(f,v,D+1);if(B===-1)break;A.push(f.slice(D,B)),D=B}return A.push(f.slice(D)),A}function tm(f,r,v){const o=f.indexOf(r,v);return o===-1?-1:o+1}function em(f){return f==null?f:Zt(f)}function uv(f){return f===" "?"context":f==="\\"?"metadata":f==="+"?"addition":"deletion"}function Af(f){const r=f.slice(1);return Zt(r===""?`
|
|
180
|
+
`:r)}function Nf(f,r,v){return f==="change"?{type:"change",additions:0,deletions:0,additionLineIndex:v,deletionLineIndex:r}:{type:"context",lines:0,additionLineIndex:v,deletionLineIndex:r}}const hm="0123456789ABCDEFGHJKMNPQRSTVWXYZ",Fu=32,iv=16,ym=10,lm=0xffffffffffff;var wl;(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"})(wl||(wl={}));class Mn extends Error{constructor(r,v){super(`${v} (${r})`),this.name="ULIDError",this.code=r}}function cv(f){const r=Math.floor(f()*Fu)%Fu;return hm.charAt(r)}function fv(f){const r=sv(),v=r&&(r.crypto||r.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(wl.PRNGDetectFailure,"Failed to find a reliable PRNG")}function sv(){return rv()?self:typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:null}function ov(f,r){let v="";for(;f>0;f--)v=cv(r)+v;return v}function dv(f,r=ym){if(isNaN(f))throw new Mn(wl.EncodeTimeValueMalformed,`Time must be a number: ${f}`);if(f>lm)throw new Mn(wl.EncodeTimeSizeExceeded,`Cannot encode a time larger than ${lm}: ${f}`);if(f<0)throw new Mn(wl.EncodeTimeNegative,`Time must be positive: ${f}`);if(Number.isInteger(f)===!1)throw new Mn(wl.EncodeTimeValueMalformed,`Time must be an integer: ${f}`);let v,o="";for(let A=r;A>0;A--)v=f%Fu,o=hm.charAt(v)+o,f=(f-v)/Fu;return o}function rv(){return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope}function mv(f,r){const v=fv(),o=Date.now();return dv(o,ym)+ov(iv,v)}const am=f=>{let r;const v=new Set,o=(E,R)=>{const O=typeof E=="function"?E(r):E;if(!Object.is(O,r)){const K=r;r=R??(typeof O!="object"||O===null)?O:Object.assign({},r,O),v.forEach(I=>I(r,K))}},A=()=>r,M={setState:o,getState:A,getInitialState:()=>b,subscribe:E=>(v.add(E),()=>v.delete(E))},b=r=f(o,A,M);return M},hv=(f=>f?am(f):am),yv=f=>f;function vv(f,r=yv){const v=_n.useSyncExternalStore(f.subscribe,_n.useCallback(()=>r(f.getState()),[f,r]),_n.useCallback(()=>r(f.getInitialState()),[f,r]));return _n.useDebugValue(v),v}const nm=f=>{const r=hv(f),v=o=>vv(r,o);return Object.assign(v,r),v},gv=(f=>f?nm(f):nm),Se=gv((f,r)=>({comments:[],resolution:null,draft:null,setDraft:v=>f({draft:v}),hydrateComments:v=>f({comments:v,resolution:null,draft:null}),hydrateReview:(v,o=null)=>f({comments:v,resolution:o,draft:null}),addComment:v=>{const o=r().draft;!o||v.trim().length===0||f(A=>({comments:[...A.comments,{id:mv(),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(A=>A.id!==v)})),reset:()=>f({comments:[],resolution:null,draft:null})}));function pv({tone:f}){const r=Se(b=>b.draft),v=Se(b=>b.setDraft),o=Se(b=>b.addComment),[A,D]=yt.useState("");if(!r)return null;const B=r.startLine===r.endLine?`Comment on line ${r.side}${r.startLine}`:`Comment on range ${r.side}${Math.min(r.startLine,r.endLine)}-${r.side}${Math.max(r.startLine,r.endLine)}`,M=()=>{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(xy,{size:15})}),s.jsx("span",{children:"Local comment"})]}),s.jsx("span",{className:"draft-comment-label",children:B})]}),s.jsx("textarea",{"aria-label":B,placeholder:"Request change",value:A,onChange:b=>D(b.target.value)}),s.jsxs("div",{className:"draft-comment-actions",children:[s.jsx("button",{className:"secondary-button",type:"button",onClick:M,children:"Cancel"}),s.jsx("button",{className:"primary-button",type:"button",onClick:()=>{o(A),D("")},children:"Comment"})]})]})})}function Sv({file:f,collapsed:r,onToggle:v}){return s.jsxs("button",{className:"file-header",type:"button",onClick:v,children:[r?s.jsx(sy,{size:18}):s.jsx(cm,{size:18}),s.jsx(py,{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 bv({record:f,readOnly:r=!1}){const[v,o]=yt.useState(new Set),A=Se(M=>M.draft),D=Se(M=>M.setDraft),B=yt.useMemo(()=>{try{return tv(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":B,children:f.diff.files.length===0?s.jsx(Ev,{record:f}):f.diff.files.map(M=>{const b=v.has(M.path);return s.jsxs("article",{className:"file-card",children:[s.jsx(Sv,{file:M,collapsed:b,onToggle:()=>{!b&&(A==null?void 0:A.filePath)===M.path&&D(null),o(E=>{const R=new Set(E);return R.has(M.path)?R.delete(M.path):R.add(M.path),R})}}),b?null:s.jsx(zv,{file:M,readOnly:r})]},`${M.oldPath??M.path}:${M.path}`)})})}function Ev({record:f}){const r=f.diff.scope;return r.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 ",r.comparison.ref," matches ",r.base.ref,"."]})]}):r.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."})]}):r.mode==="explicit"?s.jsxs("div",{className:"empty-diff",children:[s.jsxs("h2",{children:["No changes against ",r.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 zv({file:f,readOnly:r}){const v=Se(q=>q.comments),o=Se(q=>q.resolution),A=Se(q=>q.draft),D=Se(q=>q.setDraft),[B,M]=yt.useState(null),[b,E]=yt.useState(null),R=yt.useRef(null),O=yt.useRef(null),K=yt.useMemo(()=>Tv(f),[f]),I=yt.useMemo(()=>new Map(((o==null?void 0:o.comments)??[]).map(q=>[q.commentId,q])),[o]);let ft=0;const vt=v.filter(q=>q.filePath===f.path),Rt=B&&b&&B.filePath===f.path&&B.side===b.side?Cf(K,B.side,B.line,b.line):null,Nt=A&&A.filePath===f.path?Cf(K,A.side,A.startLine,A.endLine):null,pt=q=>{const{start:H,end:$}=q,W=Math.min(H.line,$.line),J=Math.max(H.line,$.line),C=jv(f,K,H.side,W,J)||H.snippet;D({filePath:f.path,side:H.side,startLine:W,endLine:J,originalSnippet:C})};yt.useEffect(()=>()=>{var q;return(q=O.current)==null?void 0:q.call(O)},[]);const St=q=>{var W;if(q.dataset.filePath!==f.path)return null;const H=q.dataset.side,$=Number(q.dataset.line);return H!=="L"&&H!=="R"||!Number.isFinite($)?null:{filePath:f.path,side:H,line:$,snippet:((W=q.querySelector("code"))==null?void 0:W.textContent)??""}},Bt=q=>{const H=St(q);H&&w(H)},Kt=(q,H)=>{var C;if(H.button!==0)return;H.preventDefault(),(C=O.current)==null||C.call(O),R.current={start:q,end:q},M(q),E(q);const $=P=>{var x;const nt=(x=document.elementFromPoint(P.clientX,P.clientY))==null?void 0:x.closest(".diff-row");nt&&Bt(nt)},W=P=>{$(P);const nt=R.current;nt&&pt(nt),k()},J=()=>k();window.addEventListener("mousemove",$),window.addEventListener("mouseup",W),window.addEventListener("blur",J),O.current=()=>{window.removeEventListener("mousemove",$),window.removeEventListener("mouseup",W),window.removeEventListener("blur",J),O.current=null}},w=q=>{const H=R.current;(H==null?void 0:H.start.filePath)===f.path&&H.start.side===q.side&&(R.current={...H,end:q},E(q))},k=()=>{var q;(q=O.current)==null||q.call(O),R.current=null,M(null),E(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 H=q.newStart>ft+1?q.newStart-ft-1:0;return ft=q.newStart+q.newLines-1,s.jsxs("div",{className:"hunk",children:[H>0?s.jsxs("button",{className:"hidden-lines",type:"button",children:[H," unmodified lines"]}):null,s.jsx("div",{className:"hunk-header",children:q.header||`@@ -${q.oldStart},${q.oldLines} +${q.newStart},${q.newLines} @@`}),q.lines.map($=>{const W=Lf($),J=W==="L"?$.oldLine:$.newLine;if(J==null)return null;const C={filePath:f.path,side:W,line:J,snippet:$.content},P=K.get(Iu(W,J)),nt=P!=null&&um(P,Rt)?Rt:P!=null&&um(P,Nt)?Nt:null,x=P!=null&&nt?xv(P,nt.start,nt.end):"",U=A&&A.filePath===f.path&&A.side===W&&J===A.endLine,Z=vt.filter(at=>at.side===W&&J===Math.max(at.startLine,at.endLine));return s.jsxs("div",{children:[s.jsxs("button",{className:`diff-row ${$.type} ${r?"read-only":""} ${x} ${U?"range-continues":""}`,"data-file-path":f.path,"data-line":J,"data-side":W,type:"button","aria-disabled":r,onMouseDown:r?void 0:at=>Kt(C,at),onMouseEnter:r?void 0:at=>Bt(at.currentTarget),children:[x?s.jsx("span",{className:"selection-rail","aria-hidden":"true"}):null,s.jsx("span",{className:"line-number old",children:$.oldLine??""}),s.jsx("span",{className:"line-number new",children:$.newLine??""}),s.jsx("span",{className:"marker",children:vm($)}),s.jsx("code",{children:$.content||" "})]}),Z.map(at=>{const dt=I.get(at.id);return s.jsxs("div",{className:`inline-comment ${dt?"resolved":"open"}`,children:[dt?s.jsx(fm,{size:14}):s.jsx(Uf,{size:14}),s.jsxs("span",{className:"inline-comment-content",children:[r?s.jsx("span",{className:"inline-comment-status",children:dt?"Resolved":"Open · Needs fix"}):null,s.jsx("span",{className:"inline-comment-body",children:at.body}),dt!=null&&dt.summary?s.jsx("span",{className:"inline-comment-summary",children:dt.summary}):null]})]},at.id)}),U&&!r?s.jsx(pv,{tone:$.type}):null]},`${$.type}:${$.oldLine??"x"}:${$.newLine??"x"}:${$.content}`)})]},`${q.oldStart}:${q.newStart}`)})]})}function vm(f){return f.type==="add"?"+":f.type==="delete"?"-":" "}function Lf(f){return f.type==="delete"?"L":"R"}function gm(f){return Lf(f)==="L"?f.oldLine:f.newLine}function xv(f,r,v){return r===v?"range-selected range-single":f===r?"range-selected range-start":f===v?"range-selected range-end":"range-selected range-middle"}function Tv(f){const r=new Map;let v=0;for(const o of f.hunks)for(const A of o.lines){const D=Lf(A),B=gm(A);B!=null&&(r.set(Iu(D,B),v),v+=1)}return r}function Iu(f,r){return`${f}:${r}`}function Cf(f,r,v,o){const A=f.get(Iu(r,v)),D=f.get(Iu(r,o));return A==null||D==null?null:{start:Math.min(A,D),end:Math.max(A,D)}}function um(f,r){return!!(r&&f>=r.start&&f<=r.end)}function jv(f,r,v,o,A){const D=[],B=Cf(r,v,o,A);if(!B)return"";let M=0;for(const E of f.hunks)for(const R of E.lines)gm(R)!=null&&(M>=B.start&&M<=B.end&&D.push(R),M+=1);const b=new Set(D.map(E=>E.type)).size>1;return D.map(E=>b?`${vm(E)}${E.content}`:E.content).join(`
|
|
181
|
+
`)}function Av({reviewId:f}){const r=Se(M=>M.comments),v=Se(M=>M.removeComment),[o,A]=yt.useState("idle"),[D,B]=yt.useState(null);return s.jsxs("aside",{className:"submit-bar",children:[s.jsx("div",{className:"comment-list",children:r.length===0?s.jsx("span",{className:"muted",children:"No comments yet"}):r.map(M=>s.jsxs("div",{className:"comment-chip",children:[s.jsxs("span",{children:[M.filePath,":",M.side,M.startLine,M.endLine!==M.startLine?`-${M.endLine}`:""]}),s.jsx("button",{className:"icon-button",type:"button",title:"Remove comment",onClick:()=>v(M.id),children:s.jsx(sm,{size:14})})]},M.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()=>{A("submitting"),B(null);try{await Xy(f,r),A("done"),B("Submitted")}catch(M){A("error"),B(M instanceof Error?M.message:String(M))}},children:[o==="done"?s.jsx(Dn,{size:16}):s.jsx(_y,{size:16}),"Submit ",r.length]})]})]})}function Nv({reviewId:f}){const[r,v]=yt.useState(null),[o,A]=yt.useState(null),D=Se(R=>R.reset),B=Se(R=>R.hydrateReview);if(yt.useEffect(()=>{let R=!1;return v(null),A(null),D(),Yy(f).then(O=>{var K;R||(v(O),B(((K=O.feedback)==null?void 0:K.comments)??[],O.resolution??null))}).catch(O=>{R||A(O instanceof Error?O.message:String(O))}),()=>{R=!0}},[f,D,B]),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(!r)return s.jsx("main",{className:"empty-shell",children:s.jsxs("section",{className:"empty-panel",children:[s.jsx(Ey,{className:"spin",size:24}),s.jsx("p",{children:"Loading review"})]})});const M=r.diff.scope,b=r.diff.stats,E=r.meta.status==="submitted"||r.meta.status==="resolved";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:Ov(r)}),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:[b.files," ",b.files===1?"file":"files"]}),s.jsxs("span",{children:["+",b.additions," -",b.deletions]})]})]})]}),s.jsxs("div",{className:"branch-pill",title:r.meta.branch??"Detached HEAD",children:[s.jsx(Rf,{size:16}),s.jsx("span",{children:r.meta.branch??"detached"})]})]}),E?s.jsx(_v,{record:r}):null,s.jsx(bv,{record:r,readOnly:E}),E?null:s.jsx(Av,{reviewId:f})]})}function _v({record:f}){var o;const r=Mv(f);if(!r)return null;const v=f.meta.status==="resolved"?f.meta.resolvedAt??((o=f.resolution)==null?void 0:o.resolvedAt):f.meta.submittedAt;return s.jsxs("section",{className:`review-state-banner ${f.meta.status}`,children:[s.jsxs("div",{className:"review-state-title",children:[s.jsx(fm,{size:16}),s.jsx("span",{children:r.title})]}),s.jsx("p",{children:r.body}),v?s.jsx("time",{dateTime:v,children:Cv(v)}):null]})}function Mv(f){const r=f.meta.status,v=Dv(f),o=v.total>0?`${v.resolved} of ${v.total} comments resolved`:null;return r==="submitted"?{title:v.resolved>0&&o?`Submitted · ${o}`:"Submitted",body:v.resolved>0?"Feedback is being handled. Start a fresh Gloss review for the next diff.":"Feedback has been submitted. Start a fresh Gloss review for the next diff."}:r==="resolved"?{title:o?`Resolved · ${o}`:"Resolved",body:"The agent marked this feedback loop resolved. Start a fresh Gloss review for new changes."}:null}function Dv(f){var o,A;const r=new Set((((o=f.feedback)==null?void 0:o.comments)??[]).map(D=>D.id)),v=(((A=f.resolution)==null?void 0:A.comments)??[]).filter(D=>r.has(D.commentId)).length;return{total:r.size,resolved:v}}function Cv(f){return new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"short"}).format(new Date(f))}function Ov(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 Rv="npx skills add iamrajjoshi/gloss --skill gloss -g -a claude-code",Uv=`1. Run gloss open --json from the repo root unless the user names a base ref.
|
|
182
|
+
2. Wait for the browser review to be submitted.
|
|
183
|
+
3. Read feedbackPath from the JSON output.
|
|
184
|
+
4. Address each comment in file and line order.
|
|
185
|
+
5. Validate the fix with the narrowest relevant checks.
|
|
186
|
+
6. Optionally mark individual comments handled:
|
|
187
|
+
gloss resolve <reviewId> --comment <commentId> --summary "<what changed>"
|
|
188
|
+
7. Run gloss resolve <reviewId> --summary "<what changed>", then summarize what changed.`;function Lv(){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:Rv}),s.jsx("p",{children:"The skill pairs the CLI with the browser app:"}),s.jsx("pre",{children:Uv})]}),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("p",{children:"Start a fresh session with the same command for follow-up diffs."})]}),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 Hv(){if(window.location.pathname==="/setup"||window.location.pathname==="/setup/")return s.jsx(Lv,{});const f=/^\/review\/([^/]+)/.exec(window.location.pathname);return f?s.jsx(Nv,{reviewId:f[1]}):s.jsx(Gy,{})}F0.createRoot(document.getElementById("root")).render(s.jsx(_n.StrictMode,{children:s.jsx(Hv,{})}));
|