nyxora 1.6.13 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +2 -2
- package/package.json +1 -1
- package/packages/core/package.json +1 -1
- package/packages/core/src/agent/reasoning.ts +26 -6
- package/packages/core/src/gateway/setup.ts +1 -1
- package/packages/core/src/gateway/telegram.ts +50 -11
- package/packages/core/src/utils/formatter.ts +12 -5
- package/packages/core/src/web3/skills/checkPortfolio.ts +53 -37
- package/packages/dashboard/dist/assets/{index-BuYfTEKE.js → index-DQtaOlOl.js} +8 -8
- package/packages/dashboard/dist/index.html +1 -1
- package/packages/dashboard/package.json +1 -1
- package/packages/dashboard/src/App.tsx +3 -6
- package/packages/mcp-server/package.json +1 -1
- package/packages/policy/package.json +1 -1
- package/packages/signer/package.json +1 -1
- package/launcher.js +0 -48
- package/packages/core/src/agent/reasoning.d.ts.map +0 -1
- package/packages/core/src/config/parser.d.ts.map +0 -1
- package/packages/core/src/gateway/cli.d.ts.map +0 -1
- package/packages/core/src/memory/logger.d.ts.map +0 -1
- package/packages/core/src/utils/safeLogger.js +0 -59
- package/packages/core/src/web3/config.d.ts.map +0 -1
- package/packages/core/src/web3/skills/getBalance.d.ts.map +0 -1
- package/packages/mcp-server/tsconfig.tsbuildinfo +0 -1
- package/test-address.ts +0 -11
- package/test-all-chains.ts +0 -19
- package/test-db.ts +0 -3
- package/test-portfolio.ts +0 -14
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var cr=Symbol.for("react.element"),Ic=Symbol.for("react.portal"),Oc=Symbol.for("react.fragment"),Fc=Symbol.for("react.strict_mode"),Dc=Symbol.for("react.profiler"),$c=Symbol.for("react.provider"),Ac=Symbol.for("react.context"),Uc=Symbol.for("react.forward_ref"),Wc=Symbol.for("react.suspense"),Bc=Symbol.for("react.memo"),Vc=Symbol.for("react.lazy"),Zo=Symbol.iterator;function Hc(e){return e===null||typeof e!="object"?null:(e=Zo&&e[Zo]||e["@@iterator"],typeof e=="function"?e:null)}var ca={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},da=Object.assign,fa={};function kn(e,t,n){this.props=e,this.context=t,this.refs=fa,this.updater=n||ca}kn.prototype.isReactComponent={};kn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};kn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function pa(){}pa.prototype=kn.prototype;function bi(e,t,n){this.props=e,this.context=t,this.refs=fa,this.updater=n||ca}var eo=bi.prototype=new pa;eo.constructor=bi;da(eo,kn.prototype);eo.isPureReactComponent=!0;var Jo=Array.isArray,ha=Object.prototype.hasOwnProperty,to={current:null},ma={key:!0,ref:!0,__self:!0,__source:!0};function ya(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)ha.call(t,r)&&!ma.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1<a){for(var u=Array(a),c=0;c<a;c++)u[c]=arguments[c+2];l.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)l[r]===void 0&&(l[r]=a[r]);return{$$typeof:cr,type:e,key:i,ref:o,props:l,_owner:to.current}}function Qc(e,t){return{$$typeof:cr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function no(e){return typeof e=="object"&&e!==null&&e.$$typeof===cr}function Kc(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var qo=/\/+/g;function Rl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Kc(""+e.key):t.toString(36)}function Ir(e,t,n,r,l){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case cr:case Ic:o=!0}}if(o)return o=e,l=l(o),e=r===""?"."+Rl(o,0):r,Jo(l)?(n="",e!=null&&(n=e.replace(qo,"$&/")+"/"),Ir(l,t,n,"",function(c){return c})):l!=null&&(no(l)&&(l=Qc(l,n+(!l.key||o&&o.key===l.key?"":(""+l.key).replace(qo,"$&/")+"/")+e)),t.push(l)),1;if(o=0,r=r===""?".":r+":",Jo(e))for(var a=0;a<e.length;a++){i=e[a];var u=r+Rl(i,a);o+=Ir(i,t,n,u,l)}else if(u=Hc(e),typeof u=="function")for(e=u.call(e),a=0;!(i=e.next()).done;)i=i.value,u=r+Rl(i,a++),o+=Ir(i,t,n,u,l);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function gr(e,t,n){if(e==null)return e;var r=[],l=0;return Ir(e,r,"","",function(i){return t.call(n,i,l++)}),r}function Gc(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var pe={current:null},Or={transition:null},Yc={ReactCurrentDispatcher:pe,ReactCurrentBatchConfig:Or,ReactCurrentOwner:to};function ga(){throw Error("act(...) is not supported in production builds of React.")}F.Children={map:gr,forEach:function(e,t,n){gr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return gr(e,function(){t++}),t},toArray:function(e){return gr(e,function(t){return t})||[]},only:function(e){if(!no(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};F.Component=kn;F.Fragment=Oc;F.Profiler=Dc;F.PureComponent=bi;F.StrictMode=Fc;F.Suspense=Wc;F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yc;F.act=ga;F.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=da({},e.props),l=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=to.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)ha.call(t,u)&&!ma.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){a=Array(u);for(var c=0;c<u;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:cr,type:e.type,key:l,ref:i,props:r,_owner:o}};F.createContext=function(e){return e={$$typeof:Ac,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:$c,_context:e},e.Consumer=e};F.createElement=ya;F.createFactory=function(e){var t=ya.bind(null,e);return t.type=e,t};F.createRef=function(){return{current:null}};F.forwardRef=function(e){return{$$typeof:Uc,render:e}};F.isValidElement=no;F.lazy=function(e){return{$$typeof:Vc,_payload:{_status:-1,_result:e},_init:Gc}};F.memo=function(e,t){return{$$typeof:Bc,type:e,compare:t===void 0?null:t}};F.startTransition=function(e){var t=Or.transition;Or.transition={};try{e()}finally{Or.transition=t}};F.unstable_act=ga;F.useCallback=function(e,t){return pe.current.useCallback(e,t)};F.useContext=function(e){return pe.current.useContext(e)};F.useDebugValue=function(){};F.useDeferredValue=function(e){return pe.current.useDeferredValue(e)};F.useEffect=function(e,t){return pe.current.useEffect(e,t)};F.useId=function(){return pe.current.useId()};F.useImperativeHandle=function(e,t,n){return pe.current.useImperativeHandle(e,t,n)};F.useInsertionEffect=function(e,t){return pe.current.useInsertionEffect(e,t)};F.useLayoutEffect=function(e,t){return pe.current.useLayoutEffect(e,t)};F.useMemo=function(e,t){return pe.current.useMemo(e,t)};F.useReducer=function(e,t,n){return pe.current.useReducer(e,t,n)};F.useRef=function(e){return pe.current.useRef(e)};F.useState=function(e){return pe.current.useState(e)};F.useSyncExternalStore=function(e,t,n){return pe.current.useSyncExternalStore(e,t,n)};F.useTransition=function(){return pe.current.useTransition()};F.version="18.3.1";ua.exports=F;var L=ua.exports;/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.production.min.js
|
|
12
12
|
*
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*
|
|
23
23
|
* This source code is licensed under the MIT license found in the
|
|
24
24
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/(function(e){function t(C,R){var I=C.length;C.push(R);e:for(;0<I;){var U=I-1>>>1,X=C[U];if(0<l(X,R))C[U]=R,C[I]=X,I=U;else break e}}function n(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var R=C[0],I=C.pop();if(I!==R){C[0]=I;e:for(var U=0,X=C.length,Qt=X>>>1;U<Qt;){var Ie=2*(U+1)-1,
|
|
25
|
+
*/(function(e){function t(C,R){var I=C.length;C.push(R);e:for(;0<I;){var U=I-1>>>1,X=C[U];if(0<l(X,R))C[U]=R,C[I]=X,I=U;else break e}}function n(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var R=C[0],I=C.pop();if(I!==R){C[0]=I;e:for(var U=0,X=C.length,Qt=X>>>1;U<Qt;){var Ie=2*(U+1)-1,Cn=C[Ie],Oe=Ie+1,Kt=C[Oe];if(0>l(Cn,I))Oe<X&&0>l(Kt,Cn)?(C[U]=Kt,C[Oe]=I,U=Oe):(C[U]=Cn,C[Ie]=I,U=Ie);else if(Oe<X&&0>l(Kt,I))C[U]=Kt,C[Oe]=I,U=Oe;else break e}}return R}function l(C,R){var I=C.sortIndex-R.sortIndex;return I!==0?I:C.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var u=[],c=[],y=1,g=null,m=3,h=!1,v=!1,x=!1,T=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(C){for(var R=n(c);R!==null;){if(R.callback===null)r(c);else if(R.startTime<=C)r(c),R.sortIndex=R.expirationTime,t(u,R);else break;R=n(c)}}function k(C){if(x=!1,p(C),!v)if(n(u)!==null)v=!0,ke(j);else{var R=n(c);R!==null&&Ht(k,R.startTime-C)}}function j(C,R){v=!1,x&&(x=!1,f(z),z=-1),h=!0;var I=m;try{for(p(R),g=n(u);g!==null&&(!(g.expirationTime>R)||C&&!Ee());){var U=g.callback;if(typeof U=="function"){g.callback=null,m=g.priorityLevel;var X=U(g.expirationTime<=R);R=e.unstable_now(),typeof X=="function"?g.callback=X:g===n(u)&&r(u),p(R)}else r(u);g=n(u)}if(g!==null)var Qt=!0;else{var Ie=n(c);Ie!==null&&Ht(k,Ie.startTime-R),Qt=!1}return Qt}finally{g=null,m=I,h=!1}}var _=!1,E=null,z=-1,A=5,O=-1;function Ee(){return!(e.unstable_now()-O<A)}function Vt(){if(E!==null){var C=e.unstable_now();O=C;var R=!0;try{R=E(!0,C)}finally{R?ot():(_=!1,E=null)}}else _=!1}var ot;if(typeof d=="function")ot=function(){d(Vt)};else if(typeof MessageChannel<"u"){var jn=new MessageChannel,mr=jn.port2;jn.port1.onmessage=Vt,ot=function(){mr.postMessage(null)}}else ot=function(){T(Vt,0)};function ke(C){E=C,_||(_=!0,ot())}function Ht(C,R){z=T(function(){C(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(C){C.callback=null},e.unstable_continueExecution=function(){v||h||(v=!0,ke(j))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(C){switch(m){case 1:case 2:case 3:var R=3;break;default:R=m}var I=m;m=R;try{return C()}finally{m=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,R){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var I=m;m=C;try{return R()}finally{m=I}},e.unstable_scheduleCallback=function(C,R,I){var U=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?U+I:U):I=U,C){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=I+X,C={id:y++,callback:R,priorityLevel:C,startTime:I,expirationTime:X,sortIndex:-1},I>U?(C.sortIndex=I,t(c,C),n(u)===null&&C===n(c)&&(x?(f(z),z=-1):x=!0,Ht(k,I-U))):(C.sortIndex=X,t(u,C),v||h||(v=!0,ke(j))),C},e.unstable_shouldYield=Ee,e.unstable_wrapCallback=function(C){var R=m;return function(){var I=m;m=R;try{return C.apply(this,arguments)}finally{m=I}}}})(wa);ka.exports=wa;var td=ka.exports;/**
|
|
26
26
|
* @license React
|
|
27
27
|
* react-dom.production.min.js
|
|
28
28
|
*
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
*
|
|
31
31
|
* This source code is licensed under the MIT license found in the
|
|
32
32
|
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var nd=L,Ce=td;function
|
|
33
|
+
*/var nd=L,Ce=td;function w(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Sa=new Set,Gn={};function Wt(e,t){pn(e,t),pn(e+"Capture",t)}function pn(e,t){for(Gn[e]=t,e=0;e<t.length;e++)Sa.add(t[e])}var tt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),oi=Object.prototype.hasOwnProperty,rd=/^[: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]*$/,bo={},es={};function ld(e){return oi.call(es,e)?!0:oi.call(bo,e)?!1:rd.test(e)?es[e]=!0:(bo[e]=!0,!1)}function id(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function od(e,t,n,r){if(t===null||typeof t>"u"||id(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function he(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var oe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){oe[e]=new he(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];oe[t]=new he(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){oe[e]=new he(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){oe[e]=new he(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){oe[e]=new he(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){oe[e]=new he(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){oe[e]=new he(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){oe[e]=new he(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){oe[e]=new he(e,5,!1,e.toLowerCase(),null,!1,!1)});var ro=/[\-:]([a-z])/g;function lo(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ro,lo);oe[t]=new he(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ro,lo);oe[t]=new he(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ro,lo);oe[t]=new he(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){oe[e]=new he(e,1,!1,e.toLowerCase(),null,!1,!1)});oe.xlinkHref=new he("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){oe[e]=new he(e,1,!1,e.toLowerCase(),null,!0,!0)});function io(e,t,n,r){var l=oe.hasOwnProperty(t)?oe[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(od(t,n,l,r)&&(n=null),r||l===null?ld(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var it=nd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vr=Symbol.for("react.element"),Yt=Symbol.for("react.portal"),Xt=Symbol.for("react.fragment"),oo=Symbol.for("react.strict_mode"),si=Symbol.for("react.profiler"),ja=Symbol.for("react.provider"),Ca=Symbol.for("react.context"),so=Symbol.for("react.forward_ref"),ai=Symbol.for("react.suspense"),ui=Symbol.for("react.suspense_list"),ao=Symbol.for("react.memo"),at=Symbol.for("react.lazy"),Na=Symbol.for("react.offscreen"),ts=Symbol.iterator;function Nn(e){return e===null||typeof e!="object"?null:(e=ts&&e[ts]||e["@@iterator"],typeof e=="function"?e:null)}var G=Object.assign,Il;function In(e){if(Il===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Il=t&&t[1]||""}return`
|
|
34
34
|
`+Il+e}var Ol=!1;function Fl(e,t){if(!e||Ol)return"";Ol=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var l=c.stack.split(`
|
|
35
35
|
`),i=r.stack.split(`
|
|
36
36
|
`),o=l.length-1,a=i.length-1;1<=o&&0<=a&&l[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(l[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||l[o]!==i[a]){var u=`
|
|
37
|
-
`+l[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=o&&0<=a);break}}}finally{Ol=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?On(e):""}function sd(e){switch(e.tag){case 5:return On(e.type);case 16:return On("Lazy");case 13:return On("Suspense");case 19:return On("SuspenseList");case 0:case 2:case 15:return e=Fl(e.type,!1),e;case 11:return e=Fl(e.type.render,!1),e;case 1:return e=Fl(e.type,!0),e;default:return""}}function ci(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Xt:return"Fragment";case Yt:return"Portal";case si:return"Profiler";case oo:return"StrictMode";case ai:return"Suspense";case ui:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ca:return(e.displayName||"Context")+".Consumer";case ja:return(e._context.displayName||"Context")+".Provider";case so:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ao:return t=e.displayName||null,t!==null?t:ci(e.type)||"Memo";case at:t=e._payload,e=e._init;try{return ci(e(t))}catch{}}return null}function ad(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ci(t);case 8:return t===oo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function St(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function _a(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ud(e){var t=_a(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xr(e){e._valueTracker||(e._valueTracker=ud(e))}function Ea(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=_a(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Kr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function di(e,t){var n=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ns(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=St(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function za(e,t){t=t.checked,t!=null&&io(e,"checked",t,!1)}function fi(e,t){za(e,t);var n=St(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?pi(e,t.type,n):t.hasOwnProperty("defaultValue")&&pi(e,t.type,St(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function rs(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function pi(e,t,n){(t!=="number"||Kr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Fn=Array.isArray;function sn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+St(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function hi(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(S(91));return G({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ls(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(S(92));if(Fn(n)){if(1<n.length)throw Error(S(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:St(n)}}function Ta(e,t){var n=St(t.value),r=St(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function is(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function La(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function mi(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?La(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var kr,Pa=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(kr=kr||document.createElement("div"),kr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=kr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var An={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},cd=["Webkit","ms","Moz","O"];Object.keys(An).forEach(function(e){cd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),An[t]=An[e]})});function Ma(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||An.hasOwnProperty(e)&&An[e]?(""+t).trim():t+"px"}function Ra(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ma(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var dd=G({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function yi(e,t){if(t){if(dd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function gi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vi=null;function uo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xi=null,an=null,un=null;function os(e){if(e=hr(e)){if(typeof xi!="function")throw Error(S(280));var t=e.stateNode;t&&(t=wl(t),xi(e.stateNode,e.type,t))}}function Ia(e){an?un?un.push(e):un=[e]:an=e}function Oa(){if(an){var e=an,t=un;if(un=an=null,os(e),t)for(e=0;e<t.length;e++)os(t[e])}}function Fa(e,t){return e(t)}function Da(){}var Dl=!1;function $a(e,t,n){if(Dl)return e(t,n);Dl=!0;try{return Fa(e,t,n)}finally{Dl=!1,(an!==null||un!==null)&&(Da(),Oa())}}function Zn(e,t){var n=e.stateNode;if(n===null)return null;var r=wl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(S(231,t,typeof n));return n}var ki=!1;if(tt)try{var En={};Object.defineProperty(En,"passive",{get:function(){ki=!0}}),window.addEventListener("test",En,En),window.removeEventListener("test",En,En)}catch{ki=!1}function fd(e,t,n,r,l,i,o,a,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(y){this.onError(y)}}var Un=!1,Gr=null,Yr=!1,wi=null,pd={onError:function(e){Un=!0,Gr=e}};function hd(e,t,n,r,l,i,o,a,u){Un=!1,Gr=null,fd.apply(pd,arguments)}function md(e,t,n,r,l,i,o,a,u){if(hd.apply(this,arguments),Un){if(Un){var c=Gr;Un=!1,Gr=null}else throw Error(S(198));Yr||(Yr=!0,wi=c)}}function Bt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Aa(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ss(e){if(Bt(e)!==e)throw Error(S(188))}function yd(e){var t=e.alternate;if(!t){if(t=Bt(e),t===null)throw Error(S(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return ss(l),e;if(i===r)return ss(l),t;i=i.sibling}throw Error(S(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,a=l.child;a;){if(a===n){o=!0,n=l,r=i;break}if(a===r){o=!0,r=l,n=i;break}a=a.sibling}if(!o){for(a=i.child;a;){if(a===n){o=!0,n=i,r=l;break}if(a===r){o=!0,r=i,n=l;break}a=a.sibling}if(!o)throw Error(S(189))}}if(n.alternate!==r)throw Error(S(190))}if(n.tag!==3)throw Error(S(188));return n.stateNode.current===n?e:t}function Ua(e){return e=yd(e),e!==null?Wa(e):null}function Wa(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Wa(e);if(t!==null)return t;e=e.sibling}return null}var Ba=Ce.unstable_scheduleCallback,as=Ce.unstable_cancelCallback,gd=Ce.unstable_shouldYield,vd=Ce.unstable_requestPaint,J=Ce.unstable_now,xd=Ce.unstable_getCurrentPriorityLevel,co=Ce.unstable_ImmediatePriority,Va=Ce.unstable_UserBlockingPriority,Xr=Ce.unstable_NormalPriority,kd=Ce.unstable_LowPriority,Ha=Ce.unstable_IdlePriority,gl=null,Ye=null;function wd(e){if(Ye&&typeof Ye.onCommitFiberRoot=="function")try{Ye.onCommitFiberRoot(gl,e,void 0,(e.current.flags&128)===128)}catch{}}var Ue=Math.clz32?Math.clz32:Cd,Sd=Math.log,jd=Math.LN2;function Cd(e){return e>>>=0,e===0?32:31-(Sd(e)/jd|0)|0}var wr=64,Sr=4194304;function Dn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Zr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~l;a!==0?r=Dn(a):(i&=o,i!==0&&(r=Dn(i)))}else o=n&~l,o!==0?r=Dn(o):i!==0&&(r=Dn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ue(t),l=1<<n,r|=e[n],t&=~l;return r}function Nd(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function _d(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-Ue(i),a=1<<o,u=l[o];u===-1?(!(a&n)||a&r)&&(l[o]=Nd(a,t)):u<=t&&(e.expiredLanes|=a),i&=~a}}function Si(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Qa(){var e=wr;return wr<<=1,!(wr&4194240)&&(wr=64),e}function $l(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function fr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ue(t),e[t]=n}function Ed(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-Ue(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function fo(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ue(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var $=0;function Ka(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ga,po,Ya,Xa,Za,ji=!1,jr=[],ht=null,mt=null,yt=null,Jn=new Map,qn=new Map,ct=[],zd="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 submit".split(" ");function us(e,t){switch(e){case"focusin":case"focusout":ht=null;break;case"dragenter":case"dragleave":mt=null;break;case"mouseover":case"mouseout":yt=null;break;case"pointerover":case"pointerout":Jn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":qn.delete(t.pointerId)}}function zn(e,t,n,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},t!==null&&(t=hr(t),t!==null&&po(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Td(e,t,n,r,l){switch(t){case"focusin":return ht=zn(ht,e,t,n,r,l),!0;case"dragenter":return mt=zn(mt,e,t,n,r,l),!0;case"mouseover":return yt=zn(yt,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return Jn.set(i,zn(Jn.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,qn.set(i,zn(qn.get(i)||null,e,t,n,r,l)),!0}return!1}function Ja(e){var t=Pt(e.target);if(t!==null){var n=Bt(t);if(n!==null){if(t=n.tag,t===13){if(t=Aa(n),t!==null){e.blockedOn=t,Za(e.priority,function(){Ya(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Fr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ci(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);vi=r,n.target.dispatchEvent(r),vi=null}else return t=hr(n),t!==null&&po(t),e.blockedOn=n,!1;t.shift()}return!0}function cs(e,t,n){Fr(e)&&n.delete(t)}function Ld(){ji=!1,ht!==null&&Fr(ht)&&(ht=null),mt!==null&&Fr(mt)&&(mt=null),yt!==null&&Fr(yt)&&(yt=null),Jn.forEach(cs),qn.forEach(cs)}function Tn(e,t){e.blockedOn===t&&(e.blockedOn=null,ji||(ji=!0,Ce.unstable_scheduleCallback(Ce.unstable_NormalPriority,Ld)))}function bn(e){function t(l){return Tn(l,e)}if(0<jr.length){Tn(jr[0],e);for(var n=1;n<jr.length;n++){var r=jr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ht!==null&&Tn(ht,e),mt!==null&&Tn(mt,e),yt!==null&&Tn(yt,e),Jn.forEach(t),qn.forEach(t),n=0;n<ct.length;n++)r=ct[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<ct.length&&(n=ct[0],n.blockedOn===null);)Ja(n),n.blockedOn===null&&ct.shift()}var cn=it.ReactCurrentBatchConfig,Jr=!0;function Pd(e,t,n,r){var l=$,i=cn.transition;cn.transition=null;try{$=1,ho(e,t,n,r)}finally{$=l,cn.transition=i}}function Md(e,t,n,r){var l=$,i=cn.transition;cn.transition=null;try{$=4,ho(e,t,n,r)}finally{$=l,cn.transition=i}}function ho(e,t,n,r){if(Jr){var l=Ci(e,t,n,r);if(l===null)Yl(e,t,r,qr,n),us(e,r);else if(Td(l,e,t,n,r))r.stopPropagation();else if(us(e,r),t&4&&-1<zd.indexOf(e)){for(;l!==null;){var i=hr(l);if(i!==null&&Ga(i),i=Ci(e,t,n,r),i===null&&Yl(e,t,r,qr,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else Yl(e,t,r,null,n)}}var qr=null;function Ci(e,t,n,r){if(qr=null,e=uo(r),e=Pt(e),e!==null)if(t=Bt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Aa(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return qr=e,null}function qa(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(xd()){case co:return 1;case Va:return 4;case Xr:case kd:return 16;case Ha:return 536870912;default:return 16}default:return 16}}var ft=null,mo=null,Dr=null;function ba(){if(Dr)return Dr;var e,t=mo,n=t.length,r,l="value"in ft?ft.value:ft.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===l[i-r];r++);return Dr=l.slice(e,1<r?1-r:void 0)}function $r(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Cr(){return!0}function ds(){return!1}function _e(e){function t(n,r,l,i,o){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Cr:ds,this.isPropagationStopped=ds,this}return G(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Cr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Cr)},persist:function(){},isPersistent:Cr}),t}var wn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yo=_e(wn),pr=G({},wn,{view:0,detail:0}),Rd=_e(pr),Al,Ul,Ln,vl=G({},pr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:go,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ln&&(Ln&&e.type==="mousemove"?(Al=e.screenX-Ln.screenX,Ul=e.screenY-Ln.screenY):Ul=Al=0,Ln=e),Al)},movementY:function(e){return"movementY"in e?e.movementY:Ul}}),fs=_e(vl),Id=G({},vl,{dataTransfer:0}),Od=_e(Id),Fd=G({},pr,{relatedTarget:0}),Wl=_e(Fd),Dd=G({},wn,{animationName:0,elapsedTime:0,pseudoElement:0}),$d=_e(Dd),Ad=G({},wn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ud=_e(Ad),Wd=G({},wn,{data:0}),ps=_e(Wd),Bd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vd={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"},Hd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Hd[e])?!!t[e]:!1}function go(){return Qd}var Kd=G({},pr,{key:function(e){if(e.key){var t=Bd[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=$r(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Vd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:go,charCode:function(e){return e.type==="keypress"?$r(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?$r(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Gd=_e(Kd),Yd=G({},vl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hs=_e(Yd),Xd=G({},pr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:go}),Zd=_e(Xd),Jd=G({},wn,{propertyName:0,elapsedTime:0,pseudoElement:0}),qd=_e(Jd),bd=G({},vl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ef=_e(bd),tf=[9,13,27,32],vo=tt&&"CompositionEvent"in window,Wn=null;tt&&"documentMode"in document&&(Wn=document.documentMode);var nf=tt&&"TextEvent"in window&&!Wn,eu=tt&&(!vo||Wn&&8<Wn&&11>=Wn),ms=" ",ys=!1;function tu(e,t){switch(e){case"keyup":return tf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zt=!1;function rf(e,t){switch(e){case"compositionend":return nu(t);case"keypress":return t.which!==32?null:(ys=!0,ms);case"textInput":return e=t.data,e===ms&&ys?null:e;default:return null}}function lf(e,t){if(Zt)return e==="compositionend"||!vo&&tu(e,t)?(e=ba(),Dr=mo=ft=null,Zt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return eu&&t.locale!=="ko"?null:t.data;default:return null}}var of={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(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!of[e.type]:t==="textarea"}function ru(e,t,n,r){Ia(r),t=br(t,"onChange"),0<t.length&&(n=new yo("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bn=null,er=null;function sf(e){hu(e,0)}function xl(e){var t=bt(e);if(Ea(t))return e}function af(e,t){if(e==="change")return t}var lu=!1;if(tt){var Bl;if(tt){var Vl="oninput"in document;if(!Vl){var vs=document.createElement("div");vs.setAttribute("oninput","return;"),Vl=typeof vs.oninput=="function"}Bl=Vl}else Bl=!1;lu=Bl&&(!document.documentMode||9<document.documentMode)}function xs(){Bn&&(Bn.detachEvent("onpropertychange",iu),er=Bn=null)}function iu(e){if(e.propertyName==="value"&&xl(er)){var t=[];ru(t,er,e,uo(e)),$a(sf,t)}}function uf(e,t,n){e==="focusin"?(xs(),Bn=t,er=n,Bn.attachEvent("onpropertychange",iu)):e==="focusout"&&xs()}function cf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return xl(er)}function df(e,t){if(e==="click")return xl(t)}function ff(e,t){if(e==="input"||e==="change")return xl(t)}function pf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Be=typeof Object.is=="function"?Object.is:pf;function tr(e,t){if(Be(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!oi.call(t,l)||!Be(e[l],t[l]))return!1}return!0}function ks(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ws(e,t){var n=ks(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ks(n)}}function ou(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ou(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function su(){for(var e=window,t=Kr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kr(e.document)}return t}function xo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function hf(e){var t=su(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ou(n.ownerDocument.documentElement,n)){if(r!==null&&xo(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=ws(n,i);var o=ws(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mf=tt&&"documentMode"in document&&11>=document.documentMode,Jt=null,Ni=null,Vn=null,_i=!1;function Ss(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;_i||Jt==null||Jt!==Kr(r)||(r=Jt,"selectionStart"in r&&xo(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Vn&&tr(Vn,r)||(Vn=r,r=br(Ni,"onSelect"),0<r.length&&(t=new yo("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Jt)))}function Nr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var qt={animationend:Nr("Animation","AnimationEnd"),animationiteration:Nr("Animation","AnimationIteration"),animationstart:Nr("Animation","AnimationStart"),transitionend:Nr("Transition","TransitionEnd")},Hl={},au={};tt&&(au=document.createElement("div").style,"AnimationEvent"in window||(delete qt.animationend.animation,delete qt.animationiteration.animation,delete qt.animationstart.animation),"TransitionEvent"in window||delete qt.transitionend.transition);function kl(e){if(Hl[e])return Hl[e];if(!qt[e])return e;var t=qt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in au)return Hl[e]=t[n];return e}var uu=kl("animationend"),cu=kl("animationiteration"),du=kl("animationstart"),fu=kl("transitionend"),pu=new Map,js="abort auxClick 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(" ");function Ct(e,t){pu.set(e,t),Wt(t,[e])}for(var Ql=0;Ql<js.length;Ql++){var Kl=js[Ql],yf=Kl.toLowerCase(),gf=Kl[0].toUpperCase()+Kl.slice(1);Ct(yf,"on"+gf)}Ct(uu,"onAnimationEnd");Ct(cu,"onAnimationIteration");Ct(du,"onAnimationStart");Ct("dblclick","onDoubleClick");Ct("focusin","onFocus");Ct("focusout","onBlur");Ct(fu,"onTransitionEnd");pn("onMouseEnter",["mouseout","mouseover"]);pn("onMouseLeave",["mouseout","mouseover"]);pn("onPointerEnter",["pointerout","pointerover"]);pn("onPointerLeave",["pointerout","pointerover"]);Wt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Wt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Wt("onBeforeInput",["compositionend","keypress","textInput","paste"]);Wt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Wt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Wt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $n="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(" "),vf=new Set("cancel close invalid load scroll toggle".split(" ").concat($n));function Cs(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,md(r,t,void 0,e),e.currentTarget=null}function hu(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],u=a.instance,c=a.currentTarget;if(a=a.listener,u!==i&&l.isPropagationStopped())break e;Cs(l,a,c),i=u}else for(o=0;o<r.length;o++){if(a=r[o],u=a.instance,c=a.currentTarget,a=a.listener,u!==i&&l.isPropagationStopped())break e;Cs(l,a,c),i=u}}}if(Yr)throw e=wi,Yr=!1,wi=null,e}function B(e,t){var n=t[Pi];n===void 0&&(n=t[Pi]=new Set);var r=e+"__bubble";n.has(r)||(mu(t,e,2,!1),n.add(r))}function Gl(e,t,n){var r=0;t&&(r|=4),mu(n,e,r,t)}var _r="_reactListening"+Math.random().toString(36).slice(2);function nr(e){if(!e[_r]){e[_r]=!0,Sa.forEach(function(n){n!=="selectionchange"&&(vf.has(n)||Gl(n,!1,e),Gl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[_r]||(t[_r]=!0,Gl("selectionchange",!1,t))}}function mu(e,t,n,r){switch(qa(t)){case 1:var l=Pd;break;case 4:l=Md;break;default:l=ho}n=l.bind(null,t,n,e),l=void 0,!ki||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Yl(e,t,n,r,l){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===l||a.nodeType===8&&a.parentNode===l)break;if(o===4)for(o=r.return;o!==null;){var u=o.tag;if((u===3||u===4)&&(u=o.stateNode.containerInfo,u===l||u.nodeType===8&&u.parentNode===l))return;o=o.return}for(;a!==null;){if(o=Pt(a),o===null)return;if(u=o.tag,u===5||u===6){r=i=o;continue e}a=a.parentNode}}r=r.return}$a(function(){var c=i,y=uo(n),g=[];e:{var m=pu.get(e);if(m!==void 0){var h=yo,v=e;switch(e){case"keypress":if($r(n)===0)break e;case"keydown":case"keyup":h=Gd;break;case"focusin":v="focus",h=Wl;break;case"focusout":v="blur",h=Wl;break;case"beforeblur":case"afterblur":h=Wl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=fs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Od;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=Zd;break;case uu:case cu:case du:h=$d;break;case fu:h=qd;break;case"scroll":h=Rd;break;case"wheel":h=ef;break;case"copy":case"cut":case"paste":h=Ud;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=hs}var x=(t&4)!==0,T=!x&&e==="scroll",f=x?m!==null?m+"Capture":null:m;x=[];for(var d=c,p;d!==null;){p=d;var k=p.stateNode;if(p.tag===5&&k!==null&&(p=k,f!==null&&(k=Zn(d,f),k!=null&&x.push(rr(d,k,p)))),T)break;d=d.return}0<x.length&&(m=new h(m,v,null,n,y),g.push({event:m,listeners:x}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",m&&n!==vi&&(v=n.relatedTarget||n.fromElement)&&(Pt(v)||v[nt]))break e;if((h||m)&&(m=y.window===y?y:(m=y.ownerDocument)?m.defaultView||m.parentWindow:window,h?(v=n.relatedTarget||n.toElement,h=c,v=v?Pt(v):null,v!==null&&(T=Bt(v),v!==T||v.tag!==5&&v.tag!==6)&&(v=null)):(h=null,v=c),h!==v)){if(x=fs,k="onMouseLeave",f="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(x=hs,k="onPointerLeave",f="onPointerEnter",d="pointer"),T=h==null?m:bt(h),p=v==null?m:bt(v),m=new x(k,d+"leave",h,n,y),m.target=T,m.relatedTarget=p,k=null,Pt(y)===c&&(x=new x(f,d+"enter",v,n,y),x.target=p,x.relatedTarget=T,k=x),T=k,h&&v)t:{for(x=h,f=v,d=0,p=x;p;p=Gt(p))d++;for(p=0,k=f;k;k=Gt(k))p++;for(;0<d-p;)x=Gt(x),d--;for(;0<p-d;)f=Gt(f),p--;for(;d--;){if(x===f||f!==null&&x===f.alternate)break t;x=Gt(x),f=Gt(f)}x=null}else x=null;h!==null&&Ns(g,m,h,x,!1),v!==null&&T!==null&&Ns(g,T,v,x,!0)}}e:{if(m=c?bt(c):window,h=m.nodeName&&m.nodeName.toLowerCase(),h==="select"||h==="input"&&m.type==="file")var j=af;else if(gs(m))if(lu)j=ff;else{j=cf;var _=uf}else(h=m.nodeName)&&h.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(j=df);if(j&&(j=j(e,c))){ru(g,j,n,y);break e}_&&_(e,m,c),e==="focusout"&&(_=m._wrapperState)&&_.controlled&&m.type==="number"&&pi(m,"number",m.value)}switch(_=c?bt(c):window,e){case"focusin":(gs(_)||_.contentEditable==="true")&&(Jt=_,Ni=c,Vn=null);break;case"focusout":Vn=Ni=Jt=null;break;case"mousedown":_i=!0;break;case"contextmenu":case"mouseup":case"dragend":_i=!1,Ss(g,n,y);break;case"selectionchange":if(mf)break;case"keydown":case"keyup":Ss(g,n,y)}var E;if(vo)e:{switch(e){case"compositionstart":var z="onCompositionStart";break e;case"compositionend":z="onCompositionEnd";break e;case"compositionupdate":z="onCompositionUpdate";break e}z=void 0}else Zt?tu(e,n)&&(z="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(z="onCompositionStart");z&&(eu&&n.locale!=="ko"&&(Zt||z!=="onCompositionStart"?z==="onCompositionEnd"&&Zt&&(E=ba()):(ft=y,mo="value"in ft?ft.value:ft.textContent,Zt=!0)),_=br(c,z),0<_.length&&(z=new ps(z,e,null,n,y),g.push({event:z,listeners:_}),E?z.data=E:(E=nu(n),E!==null&&(z.data=E)))),(E=nf?rf(e,n):lf(e,n))&&(c=br(c,"onBeforeInput"),0<c.length&&(y=new ps("onBeforeInput","beforeinput",null,n,y),g.push({event:y,listeners:c}),y.data=E))}hu(g,t)})}function rr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function br(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=Zn(e,n),i!=null&&r.unshift(rr(e,i,l)),i=Zn(e,t),i!=null&&r.push(rr(e,i,l))),e=e.return}return r}function Gt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ns(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var a=n,u=a.alternate,c=a.stateNode;if(u!==null&&u===r)break;a.tag===5&&c!==null&&(a=c,l?(u=Zn(n,i),u!=null&&o.unshift(rr(n,u,a))):l||(u=Zn(n,i),u!=null&&o.push(rr(n,u,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var xf=/\r\n?/g,kf=/\u0000|\uFFFD/g;function _s(e){return(typeof e=="string"?e:""+e).replace(xf,`
|
|
38
|
-
`).replace(kf,"")}function Er(e,t,n){if(t=_s(t),_s(e)!==t&&n)throw Error(S(425))}function el(){}var Ei=null,zi=null;function Ti(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Li=typeof setTimeout=="function"?setTimeout:void 0,wf=typeof clearTimeout=="function"?clearTimeout:void 0,Es=typeof Promise=="function"?Promise:void 0,Sf=typeof queueMicrotask=="function"?queueMicrotask:typeof Es<"u"?function(e){return Es.resolve(null).then(e).catch(jf)}:Li;function jf(e){setTimeout(function(){throw e})}function Xl(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),bn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);bn(t)}function gt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function zs(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Sn=Math.random().toString(36).slice(2),Ge="__reactFiber$"+Sn,lr="__reactProps$"+Sn,nt="__reactContainer$"+Sn,Pi="__reactEvents$"+Sn,Cf="__reactListeners$"+Sn,Nf="__reactHandles$"+Sn;function Pt(e){var t=e[Ge];if(t)return t;for(var n=e.parentNode;n;){if(t=n[nt]||n[Ge]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=zs(e);e!==null;){if(n=e[Ge])return n;e=zs(e)}return t}e=n,n=e.parentNode}return null}function hr(e){return e=e[Ge]||e[nt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function bt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(S(33))}function wl(e){return e[lr]||null}var Mi=[],en=-1;function Nt(e){return{current:e}}function V(e){0>en||(e.current=Mi[en],Mi[en]=null,en--)}function W(e,t){en++,Mi[en]=e.current,e.current=t}var jt={},ce=Nt(jt),ge=Nt(!1),Ft=jt;function hn(e,t){var n=e.type.contextTypes;if(!n)return jt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ve(e){return e=e.childContextTypes,e!=null}function tl(){V(ge),V(ce)}function Ts(e,t,n){if(ce.current!==jt)throw Error(S(168));W(ce,t),W(ge,n)}function yu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(S(108,ad(e)||"Unknown",l));return G({},n,r)}function nl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jt,Ft=ce.current,W(ce,e),W(ge,ge.current),!0}function Ls(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=yu(e,t,Ft),r.__reactInternalMemoizedMergedChildContext=e,V(ge),V(ce),W(ce,e)):V(ge),W(ge,n)}var Je=null,Sl=!1,Zl=!1;function gu(e){Je===null?Je=[e]:Je.push(e)}function _f(e){Sl=!0,gu(e)}function _t(){if(!Zl&&Je!==null){Zl=!0;var e=0,t=$;try{var n=Je;for($=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Je=null,Sl=!1}catch(l){throw Je!==null&&(Je=Je.slice(e+1)),Ba(co,_t),l}finally{$=t,Zl=!1}}return null}var tn=[],nn=0,rl=null,ll=0,ze=[],Te=0,Dt=null,qe=1,be="";function zt(e,t){tn[nn++]=ll,tn[nn++]=rl,rl=e,ll=t}function vu(e,t,n){ze[Te++]=qe,ze[Te++]=be,ze[Te++]=Dt,Dt=e;var r=qe;e=be;var l=32-Ue(r)-1;r&=~(1<<l),n+=1;var i=32-Ue(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,qe=1<<32-Ue(t)+l|n<<l|r,be=i+e}else qe=1<<i|n<<l|r,be=e}function ko(e){e.return!==null&&(zt(e,1),vu(e,1,0))}function wo(e){for(;e===rl;)rl=tn[--nn],tn[nn]=null,ll=tn[--nn],tn[nn]=null;for(;e===Dt;)Dt=ze[--Te],ze[Te]=null,be=ze[--Te],ze[Te]=null,qe=ze[--Te],ze[Te]=null}var je=null,Se=null,H=!1,Ae=null;function xu(e,t){var n=Le(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ps(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,je=e,Se=gt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,je=e,Se=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Dt!==null?{id:qe,overflow:be}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Le(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,je=e,Se=null,!0):!1;default:return!1}}function Ri(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ii(e){if(H){var t=Se;if(t){var n=t;if(!Ps(e,t)){if(Ri(e))throw Error(S(418));t=gt(n.nextSibling);var r=je;t&&Ps(e,t)?xu(r,n):(e.flags=e.flags&-4097|2,H=!1,je=e)}}else{if(Ri(e))throw Error(S(418));e.flags=e.flags&-4097|2,H=!1,je=e}}}function Ms(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;je=e}function zr(e){if(e!==je)return!1;if(!H)return Ms(e),H=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ti(e.type,e.memoizedProps)),t&&(t=Se)){if(Ri(e))throw ku(),Error(S(418));for(;t;)xu(e,t),t=gt(t.nextSibling)}if(Ms(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(S(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Se=gt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Se=null}}else Se=je?gt(e.stateNode.nextSibling):null;return!0}function ku(){for(var e=Se;e;)e=gt(e.nextSibling)}function mn(){Se=je=null,H=!1}function So(e){Ae===null?Ae=[e]:Ae.push(e)}var Ef=it.ReactCurrentBatchConfig;function Pn(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(S(309));var r=n.stateNode}if(!r)throw Error(S(147,e));var l=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=l.refs;o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(S(284));if(!n._owner)throw Error(S(290,e))}return e}function Tr(e,t){throw e=Object.prototype.toString.call(t),Error(S(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Rs(e){var t=e._init;return t(e._payload)}function wu(e){function t(f,d){if(e){var p=f.deletions;p===null?(f.deletions=[d],f.flags|=16):p.push(d)}}function n(f,d){if(!e)return null;for(;d!==null;)t(f,d),d=d.sibling;return null}function r(f,d){for(f=new Map;d!==null;)d.key!==null?f.set(d.key,d):f.set(d.index,d),d=d.sibling;return f}function l(f,d){return f=wt(f,d),f.index=0,f.sibling=null,f}function i(f,d,p){return f.index=p,e?(p=f.alternate,p!==null?(p=p.index,p<d?(f.flags|=2,d):p):(f.flags|=2,d)):(f.flags|=1048576,d)}function o(f){return e&&f.alternate===null&&(f.flags|=2),f}function a(f,d,p,k){return d===null||d.tag!==6?(d=ri(p,f.mode,k),d.return=f,d):(d=l(d,p),d.return=f,d)}function u(f,d,p,k){var j=p.type;return j===Xt?y(f,d,p.props.children,k,p.key):d!==null&&(d.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===at&&Rs(j)===d.type)?(k=l(d,p.props),k.ref=Pn(f,d,p),k.return=f,k):(k=Qr(p.type,p.key,p.props,null,f.mode,k),k.ref=Pn(f,d,p),k.return=f,k)}function c(f,d,p,k){return d===null||d.tag!==4||d.stateNode.containerInfo!==p.containerInfo||d.stateNode.implementation!==p.implementation?(d=li(p,f.mode,k),d.return=f,d):(d=l(d,p.children||[]),d.return=f,d)}function y(f,d,p,k,j){return d===null||d.tag!==7?(d=Ot(p,f.mode,k,j),d.return=f,d):(d=l(d,p),d.return=f,d)}function g(f,d,p){if(typeof d=="string"&&d!==""||typeof d=="number")return d=ri(""+d,f.mode,p),d.return=f,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case vr:return p=Qr(d.type,d.key,d.props,null,f.mode,p),p.ref=Pn(f,null,d),p.return=f,p;case Yt:return d=li(d,f.mode,p),d.return=f,d;case at:var k=d._init;return g(f,k(d._payload),p)}if(Fn(d)||_n(d))return d=Ot(d,f.mode,p,null),d.return=f,d;Tr(f,d)}return null}function m(f,d,p,k){var j=d!==null?d.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return j!==null?null:a(f,d,""+p,k);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case vr:return p.key===j?u(f,d,p,k):null;case Yt:return p.key===j?c(f,d,p,k):null;case at:return j=p._init,m(f,d,j(p._payload),k)}if(Fn(p)||_n(p))return j!==null?null:y(f,d,p,k,null);Tr(f,p)}return null}function h(f,d,p,k,j){if(typeof k=="string"&&k!==""||typeof k=="number")return f=f.get(p)||null,a(d,f,""+k,j);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case vr:return f=f.get(k.key===null?p:k.key)||null,u(d,f,k,j);case Yt:return f=f.get(k.key===null?p:k.key)||null,c(d,f,k,j);case at:var _=k._init;return h(f,d,p,_(k._payload),j)}if(Fn(k)||_n(k))return f=f.get(p)||null,y(d,f,k,j,null);Tr(d,k)}return null}function v(f,d,p,k){for(var j=null,_=null,E=d,z=d=0,A=null;E!==null&&z<p.length;z++){E.index>z?(A=E,E=null):A=E.sibling;var O=m(f,E,p[z],k);if(O===null){E===null&&(E=A);break}e&&E&&O.alternate===null&&t(f,E),d=i(O,d,z),_===null?j=O:_.sibling=O,_=O,E=A}if(z===p.length)return n(f,E),H&&zt(f,z),j;if(E===null){for(;z<p.length;z++)E=g(f,p[z],k),E!==null&&(d=i(E,d,z),_===null?j=E:_.sibling=E,_=E);return H&&zt(f,z),j}for(E=r(f,E);z<p.length;z++)A=h(E,f,z,p[z],k),A!==null&&(e&&A.alternate!==null&&E.delete(A.key===null?z:A.key),d=i(A,d,z),_===null?j=A:_.sibling=A,_=A);return e&&E.forEach(function(Ee){return t(f,Ee)}),H&&zt(f,z),j}function x(f,d,p,k){var j=_n(p);if(typeof j!="function")throw Error(S(150));if(p=j.call(p),p==null)throw Error(S(151));for(var _=j=null,E=d,z=d=0,A=null,O=p.next();E!==null&&!O.done;z++,O=p.next()){E.index>z?(A=E,E=null):A=E.sibling;var Ee=m(f,E,O.value,k);if(Ee===null){E===null&&(E=A);break}e&&E&&Ee.alternate===null&&t(f,E),d=i(Ee,d,z),_===null?j=Ee:_.sibling=Ee,_=Ee,E=A}if(O.done)return n(f,E),H&&zt(f,z),j;if(E===null){for(;!O.done;z++,O=p.next())O=g(f,O.value,k),O!==null&&(d=i(O,d,z),_===null?j=O:_.sibling=O,_=O);return H&&zt(f,z),j}for(E=r(f,E);!O.done;z++,O=p.next())O=h(E,f,z,O.value,k),O!==null&&(e&&O.alternate!==null&&E.delete(O.key===null?z:O.key),d=i(O,d,z),_===null?j=O:_.sibling=O,_=O);return e&&E.forEach(function(Vt){return t(f,Vt)}),H&&zt(f,z),j}function T(f,d,p,k){if(typeof p=="object"&&p!==null&&p.type===Xt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case vr:e:{for(var j=p.key,_=d;_!==null;){if(_.key===j){if(j=p.type,j===Xt){if(_.tag===7){n(f,_.sibling),d=l(_,p.props.children),d.return=f,f=d;break e}}else if(_.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===at&&Rs(j)===_.type){n(f,_.sibling),d=l(_,p.props),d.ref=Pn(f,_,p),d.return=f,f=d;break e}n(f,_);break}else t(f,_);_=_.sibling}p.type===Xt?(d=Ot(p.props.children,f.mode,k,p.key),d.return=f,f=d):(k=Qr(p.type,p.key,p.props,null,f.mode,k),k.ref=Pn(f,d,p),k.return=f,f=k)}return o(f);case Yt:e:{for(_=p.key;d!==null;){if(d.key===_)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(f,d.sibling),d=l(d,p.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=li(p,f.mode,k),d.return=f,f=d}return o(f);case at:return _=p._init,T(f,d,_(p._payload),k)}if(Fn(p))return v(f,d,p,k);if(_n(p))return x(f,d,p,k);Tr(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,p),d.return=f,f=d):(n(f,d),d=ri(p,f.mode,k),d.return=f,f=d),o(f)):n(f,d)}return T}var yn=wu(!0),Su=wu(!1),il=Nt(null),ol=null,rn=null,jo=null;function Co(){jo=rn=ol=null}function No(e){var t=il.current;V(il),e._currentValue=t}function Oi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function dn(e,t){ol=e,jo=rn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ye=!0),e.firstContext=null)}function Me(e){var t=e._currentValue;if(jo!==e)if(e={context:e,memoizedValue:t,next:null},rn===null){if(ol===null)throw Error(S(308));rn=e,ol.dependencies={lanes:0,firstContext:e}}else rn=rn.next=e;return t}var Mt=null;function _o(e){Mt===null?Mt=[e]:Mt.push(e)}function ju(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,_o(t)):(n.next=l.next,l.next=n),t.interleaved=n,rt(e,r)}function rt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ut=!1;function Eo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Cu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function et(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function vt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,D&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,rt(e,n)}return l=r.interleaved,l===null?(t.next=t,_o(r)):(t.next=l.next,l.next=t),r.interleaved=t,rt(e,n)}function Ar(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fo(e,n)}}function Is(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function sl(e,t,n,r){var l=e.updateQueue;ut=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var u=a,c=u.next;u.next=null,o===null?i=c:o.next=c,o=u;var y=e.alternate;y!==null&&(y=y.updateQueue,a=y.lastBaseUpdate,a!==o&&(a===null?y.firstBaseUpdate=c:a.next=c,y.lastBaseUpdate=u))}if(i!==null){var g=l.baseState;o=0,y=c=u=null,a=i;do{var m=a.lane,h=a.eventTime;if((r&m)===m){y!==null&&(y=y.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,x=a;switch(m=t,h=n,x.tag){case 1:if(v=x.payload,typeof v=="function"){g=v.call(h,g,m);break e}g=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=x.payload,m=typeof v=="function"?v.call(h,g,m):v,m==null)break e;g=G({},g,m);break e;case 2:ut=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[a]:m.push(a))}else h={eventTime:h,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},y===null?(c=y=h,u=g):y=y.next=h,o|=m;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;m=a,a=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(y===null&&(u=g),l.baseState=u,l.firstBaseUpdate=c,l.lastBaseUpdate=y,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);At|=o,e.lanes=o,e.memoizedState=g}}function Os(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(S(191,l));l.call(r)}}}var mr={},Xe=Nt(mr),ir=Nt(mr),or=Nt(mr);function Rt(e){if(e===mr)throw Error(S(174));return e}function zo(e,t){switch(W(or,t),W(ir,e),W(Xe,mr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:mi(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=mi(t,e)}V(Xe),W(Xe,t)}function gn(){V(Xe),V(ir),V(or)}function Nu(e){Rt(or.current);var t=Rt(Xe.current),n=mi(t,e.type);t!==n&&(W(ir,e),W(Xe,n))}function To(e){ir.current===e&&(V(Xe),V(ir))}var Q=Nt(0);function al(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Jl=[];function Lo(){for(var e=0;e<Jl.length;e++)Jl[e]._workInProgressVersionPrimary=null;Jl.length=0}var Ur=it.ReactCurrentDispatcher,ql=it.ReactCurrentBatchConfig,$t=0,K=null,ee=null,ne=null,ul=!1,Hn=!1,sr=0,zf=0;function se(){throw Error(S(321))}function Po(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Be(e[n],t[n]))return!1;return!0}function Mo(e,t,n,r,l,i){if($t=i,K=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ur.current=e===null||e.memoizedState===null?Mf:Rf,e=n(r,l),Hn){i=0;do{if(Hn=!1,sr=0,25<=i)throw Error(S(301));i+=1,ne=ee=null,t.updateQueue=null,Ur.current=If,e=n(r,l)}while(Hn)}if(Ur.current=cl,t=ee!==null&&ee.next!==null,$t=0,ne=ee=K=null,ul=!1,t)throw Error(S(300));return e}function Ro(){var e=sr!==0;return sr=0,e}function Ke(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ne===null?K.memoizedState=ne=e:ne=ne.next=e,ne}function Re(){if(ee===null){var e=K.alternate;e=e!==null?e.memoizedState:null}else e=ee.next;var t=ne===null?K.memoizedState:ne.next;if(t!==null)ne=t,ee=e;else{if(e===null)throw Error(S(310));ee=e,e={memoizedState:ee.memoizedState,baseState:ee.baseState,baseQueue:ee.baseQueue,queue:ee.queue,next:null},ne===null?K.memoizedState=ne=e:ne=ne.next=e}return ne}function ar(e,t){return typeof t=="function"?t(e):t}function bl(e){var t=Re(),n=t.queue;if(n===null)throw Error(S(311));n.lastRenderedReducer=e;var r=ee,l=r.baseQueue,i=n.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,n.pending=null}if(l!==null){i=l.next,r=r.baseState;var a=o=null,u=null,c=i;do{var y=c.lane;if(($t&y)===y)u!==null&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var g={lane:y,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};u===null?(a=u=g,o=r):u=u.next=g,K.lanes|=y,At|=y}c=c.next}while(c!==null&&c!==i);u===null?o=r:u.next=a,Be(r,t.memoizedState)||(ye=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do i=l.lane,K.lanes|=i,At|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ei(e){var t=Re(),n=t.queue;if(n===null)throw Error(S(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);Be(i,t.memoizedState)||(ye=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function _u(){}function Eu(e,t){var n=K,r=Re(),l=t(),i=!Be(r.memoizedState,l);if(i&&(r.memoizedState=l,ye=!0),r=r.queue,Io(Lu.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ne!==null&&ne.memoizedState.tag&1){if(n.flags|=2048,ur(9,Tu.bind(null,n,r,l,t),void 0,null),re===null)throw Error(S(349));$t&30||zu(n,t,l)}return l}function zu(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Tu(e,t,n,r){t.value=n,t.getSnapshot=r,Pu(t)&&Mu(e)}function Lu(e,t,n){return n(function(){Pu(t)&&Mu(e)})}function Pu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Be(e,n)}catch{return!0}}function Mu(e){var t=rt(e,1);t!==null&&We(t,e,1,-1)}function Fs(e){var t=Ke();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ar,lastRenderedState:e},t.queue=e,e=e.dispatch=Pf.bind(null,K,e),[t.memoizedState,e]}function ur(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Ru(){return Re().memoizedState}function Wr(e,t,n,r){var l=Ke();K.flags|=e,l.memoizedState=ur(1|t,n,void 0,r===void 0?null:r)}function jl(e,t,n,r){var l=Re();r=r===void 0?null:r;var i=void 0;if(ee!==null){var o=ee.memoizedState;if(i=o.destroy,r!==null&&Po(r,o.deps)){l.memoizedState=ur(t,n,i,r);return}}K.flags|=e,l.memoizedState=ur(1|t,n,i,r)}function Ds(e,t){return Wr(8390656,8,e,t)}function Io(e,t){return jl(2048,8,e,t)}function Iu(e,t){return jl(4,2,e,t)}function Ou(e,t){return jl(4,4,e,t)}function Fu(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Du(e,t,n){return n=n!=null?n.concat([e]):null,jl(4,4,Fu.bind(null,t,e),n)}function Oo(){}function $u(e,t){var n=Re();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Po(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Au(e,t){var n=Re();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Po(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Uu(e,t,n){return $t&21?(Be(n,t)||(n=Qa(),K.lanes|=n,At|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ye=!0),e.memoizedState=n)}function Tf(e,t){var n=$;$=n!==0&&4>n?n:4,e(!0);var r=ql.transition;ql.transition={};try{e(!1),t()}finally{$=n,ql.transition=r}}function Wu(){return Re().memoizedState}function Lf(e,t,n){var r=kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Bu(e))Vu(t,n);else if(n=ju(e,t,n,r),n!==null){var l=fe();We(n,e,r,l),Hu(n,t,r)}}function Pf(e,t,n){var r=kt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bu(e))Vu(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(l.hasEagerState=!0,l.eagerState=a,Be(a,o)){var u=t.interleaved;u===null?(l.next=l,_o(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=ju(e,t,l,r),n!==null&&(l=fe(),We(n,e,r,l),Hu(n,t,r))}}function Bu(e){var t=e.alternate;return e===K||t!==null&&t===K}function Vu(e,t){Hn=ul=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hu(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fo(e,n)}}var cl={readContext:Me,useCallback:se,useContext:se,useEffect:se,useImperativeHandle:se,useInsertionEffect:se,useLayoutEffect:se,useMemo:se,useReducer:se,useRef:se,useState:se,useDebugValue:se,useDeferredValue:se,useTransition:se,useMutableSource:se,useSyncExternalStore:se,useId:se,unstable_isNewReconciler:!1},Mf={readContext:Me,useCallback:function(e,t){return Ke().memoizedState=[e,t===void 0?null:t],e},useContext:Me,useEffect:Ds,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Wr(4194308,4,Fu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Wr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wr(4,2,e,t)},useMemo:function(e,t){var n=Ke();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ke();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Lf.bind(null,K,e),[r.memoizedState,e]},useRef:function(e){var t=Ke();return e={current:e},t.memoizedState=e},useState:Fs,useDebugValue:Oo,useDeferredValue:function(e){return Ke().memoizedState=e},useTransition:function(){var e=Fs(!1),t=e[0];return e=Tf.bind(null,e[1]),Ke().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=K,l=Ke();if(H){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),re===null)throw Error(S(349));$t&30||zu(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Ds(Lu.bind(null,r,i,e),[e]),r.flags|=2048,ur(9,Tu.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ke(),t=re.identifierPrefix;if(H){var n=be,r=qe;n=(r&~(1<<32-Ue(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=sr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=zf++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Rf={readContext:Me,useCallback:$u,useContext:Me,useEffect:Io,useImperativeHandle:Du,useInsertionEffect:Iu,useLayoutEffect:Ou,useMemo:Au,useReducer:bl,useRef:Ru,useState:function(){return bl(ar)},useDebugValue:Oo,useDeferredValue:function(e){var t=Re();return Uu(t,ee.memoizedState,e)},useTransition:function(){var e=bl(ar)[0],t=Re().memoizedState;return[e,t]},useMutableSource:_u,useSyncExternalStore:Eu,useId:Wu,unstable_isNewReconciler:!1},If={readContext:Me,useCallback:$u,useContext:Me,useEffect:Io,useImperativeHandle:Du,useInsertionEffect:Iu,useLayoutEffect:Ou,useMemo:Au,useReducer:ei,useRef:Ru,useState:function(){return ei(ar)},useDebugValue:Oo,useDeferredValue:function(e){var t=Re();return ee===null?t.memoizedState=e:Uu(t,ee.memoizedState,e)},useTransition:function(){var e=ei(ar)[0],t=Re().memoizedState;return[e,t]},useMutableSource:_u,useSyncExternalStore:Eu,useId:Wu,unstable_isNewReconciler:!1};function De(e,t){if(e&&e.defaultProps){t=G({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Fi(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:G({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Cl={isMounted:function(e){return(e=e._reactInternals)?Bt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=fe(),l=kt(e),i=et(r,l);i.payload=t,n!=null&&(i.callback=n),t=vt(e,i,l),t!==null&&(We(t,e,l,r),Ar(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=fe(),l=kt(e),i=et(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=vt(e,i,l),t!==null&&(We(t,e,l,r),Ar(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=fe(),r=kt(e),l=et(n,r);l.tag=2,t!=null&&(l.callback=t),t=vt(e,l,r),t!==null&&(We(t,e,r,n),Ar(t,e,r))}};function $s(e,t,n,r,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!tr(n,r)||!tr(l,i):!0}function Qu(e,t,n){var r=!1,l=jt,i=t.contextType;return typeof i=="object"&&i!==null?i=Me(i):(l=ve(t)?Ft:ce.current,r=t.contextTypes,i=(r=r!=null)?hn(e,l):jt),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Cl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function As(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Cl.enqueueReplaceState(t,t.state,null)}function Di(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Eo(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=Me(i):(i=ve(t)?Ft:ce.current,l.context=hn(e,i)),l.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Fi(e,t,i,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&Cl.enqueueReplaceState(l,l.state,null),sl(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function vn(e,t){try{var n="",r=t;do n+=sd(r),r=r.return;while(r);var l=n}catch(i){l=`
|
|
37
|
+
`+l[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=o&&0<=a);break}}}finally{Ol=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?In(e):""}function sd(e){switch(e.tag){case 5:return In(e.type);case 16:return In("Lazy");case 13:return In("Suspense");case 19:return In("SuspenseList");case 0:case 2:case 15:return e=Fl(e.type,!1),e;case 11:return e=Fl(e.type.render,!1),e;case 1:return e=Fl(e.type,!0),e;default:return""}}function ci(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Xt:return"Fragment";case Yt:return"Portal";case si:return"Profiler";case oo:return"StrictMode";case ai:return"Suspense";case ui:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ca:return(e.displayName||"Context")+".Consumer";case ja:return(e._context.displayName||"Context")+".Provider";case so:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ao:return t=e.displayName||null,t!==null?t:ci(e.type)||"Memo";case at:t=e._payload,e=e._init;try{return ci(e(t))}catch{}}return null}function ad(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ci(t);case 8:return t===oo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function St(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function _a(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ud(e){var t=_a(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xr(e){e._valueTracker||(e._valueTracker=ud(e))}function Ea(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=_a(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Kr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function di(e,t){var n=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ns(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=St(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function za(e,t){t=t.checked,t!=null&&io(e,"checked",t,!1)}function fi(e,t){za(e,t);var n=St(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?pi(e,t.type,n):t.hasOwnProperty("defaultValue")&&pi(e,t.type,St(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function rs(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function pi(e,t,n){(t!=="number"||Kr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var On=Array.isArray;function sn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+St(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function hi(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(w(91));return G({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ls(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(w(92));if(On(n)){if(1<n.length)throw Error(w(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:St(n)}}function Ta(e,t){var n=St(t.value),r=St(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function is(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function La(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function mi(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?La(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var kr,Pa=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(kr=kr||document.createElement("div"),kr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=kr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Yn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var $n={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},cd=["Webkit","ms","Moz","O"];Object.keys($n).forEach(function(e){cd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),$n[t]=$n[e]})});function Ma(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||$n.hasOwnProperty(e)&&$n[e]?(""+t).trim():t+"px"}function Ra(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ma(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var dd=G({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function yi(e,t){if(t){if(dd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(w(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(w(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(w(61))}if(t.style!=null&&typeof t.style!="object")throw Error(w(62))}}function gi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vi=null;function uo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xi=null,an=null,un=null;function os(e){if(e=pr(e)){if(typeof xi!="function")throw Error(w(280));var t=e.stateNode;t&&(t=wl(t),xi(e.stateNode,e.type,t))}}function Ia(e){an?un?un.push(e):un=[e]:an=e}function Oa(){if(an){var e=an,t=un;if(un=an=null,os(e),t)for(e=0;e<t.length;e++)os(t[e])}}function Fa(e,t){return e(t)}function Da(){}var Dl=!1;function $a(e,t,n){if(Dl)return e(t,n);Dl=!0;try{return Fa(e,t,n)}finally{Dl=!1,(an!==null||un!==null)&&(Da(),Oa())}}function Xn(e,t){var n=e.stateNode;if(n===null)return null;var r=wl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(w(231,t,typeof n));return n}var ki=!1;if(tt)try{var _n={};Object.defineProperty(_n,"passive",{get:function(){ki=!0}}),window.addEventListener("test",_n,_n),window.removeEventListener("test",_n,_n)}catch{ki=!1}function fd(e,t,n,r,l,i,o,a,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(y){this.onError(y)}}var An=!1,Gr=null,Yr=!1,wi=null,pd={onError:function(e){An=!0,Gr=e}};function hd(e,t,n,r,l,i,o,a,u){An=!1,Gr=null,fd.apply(pd,arguments)}function md(e,t,n,r,l,i,o,a,u){if(hd.apply(this,arguments),An){if(An){var c=Gr;An=!1,Gr=null}else throw Error(w(198));Yr||(Yr=!0,wi=c)}}function Bt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Aa(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ss(e){if(Bt(e)!==e)throw Error(w(188))}function yd(e){var t=e.alternate;if(!t){if(t=Bt(e),t===null)throw Error(w(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return ss(l),e;if(i===r)return ss(l),t;i=i.sibling}throw Error(w(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,a=l.child;a;){if(a===n){o=!0,n=l,r=i;break}if(a===r){o=!0,r=l,n=i;break}a=a.sibling}if(!o){for(a=i.child;a;){if(a===n){o=!0,n=i,r=l;break}if(a===r){o=!0,r=i,n=l;break}a=a.sibling}if(!o)throw Error(w(189))}}if(n.alternate!==r)throw Error(w(190))}if(n.tag!==3)throw Error(w(188));return n.stateNode.current===n?e:t}function Ua(e){return e=yd(e),e!==null?Wa(e):null}function Wa(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Wa(e);if(t!==null)return t;e=e.sibling}return null}var Ba=Ce.unstable_scheduleCallback,as=Ce.unstable_cancelCallback,gd=Ce.unstable_shouldYield,vd=Ce.unstable_requestPaint,J=Ce.unstable_now,xd=Ce.unstable_getCurrentPriorityLevel,co=Ce.unstable_ImmediatePriority,Va=Ce.unstable_UserBlockingPriority,Xr=Ce.unstable_NormalPriority,kd=Ce.unstable_LowPriority,Ha=Ce.unstable_IdlePriority,gl=null,Ye=null;function wd(e){if(Ye&&typeof Ye.onCommitFiberRoot=="function")try{Ye.onCommitFiberRoot(gl,e,void 0,(e.current.flags&128)===128)}catch{}}var Ue=Math.clz32?Math.clz32:Cd,Sd=Math.log,jd=Math.LN2;function Cd(e){return e>>>=0,e===0?32:31-(Sd(e)/jd|0)|0}var wr=64,Sr=4194304;function Fn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Zr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~l;a!==0?r=Fn(a):(i&=o,i!==0&&(r=Fn(i)))}else o=n&~l,o!==0?r=Fn(o):i!==0&&(r=Fn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ue(t),l=1<<n,r|=e[n],t&=~l;return r}function Nd(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function _d(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-Ue(i),a=1<<o,u=l[o];u===-1?(!(a&n)||a&r)&&(l[o]=Nd(a,t)):u<=t&&(e.expiredLanes|=a),i&=~a}}function Si(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Qa(){var e=wr;return wr<<=1,!(wr&4194240)&&(wr=64),e}function $l(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function dr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ue(t),e[t]=n}function Ed(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-Ue(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function fo(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ue(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var $=0;function Ka(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ga,po,Ya,Xa,Za,ji=!1,jr=[],ht=null,mt=null,yt=null,Zn=new Map,Jn=new Map,ct=[],zd="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 submit".split(" ");function us(e,t){switch(e){case"focusin":case"focusout":ht=null;break;case"dragenter":case"dragleave":mt=null;break;case"mouseover":case"mouseout":yt=null;break;case"pointerover":case"pointerout":Zn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Jn.delete(t.pointerId)}}function En(e,t,n,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},t!==null&&(t=pr(t),t!==null&&po(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Td(e,t,n,r,l){switch(t){case"focusin":return ht=En(ht,e,t,n,r,l),!0;case"dragenter":return mt=En(mt,e,t,n,r,l),!0;case"mouseover":return yt=En(yt,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return Zn.set(i,En(Zn.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Jn.set(i,En(Jn.get(i)||null,e,t,n,r,l)),!0}return!1}function Ja(e){var t=Pt(e.target);if(t!==null){var n=Bt(t);if(n!==null){if(t=n.tag,t===13){if(t=Aa(n),t!==null){e.blockedOn=t,Za(e.priority,function(){Ya(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Fr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ci(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);vi=r,n.target.dispatchEvent(r),vi=null}else return t=pr(n),t!==null&&po(t),e.blockedOn=n,!1;t.shift()}return!0}function cs(e,t,n){Fr(e)&&n.delete(t)}function Ld(){ji=!1,ht!==null&&Fr(ht)&&(ht=null),mt!==null&&Fr(mt)&&(mt=null),yt!==null&&Fr(yt)&&(yt=null),Zn.forEach(cs),Jn.forEach(cs)}function zn(e,t){e.blockedOn===t&&(e.blockedOn=null,ji||(ji=!0,Ce.unstable_scheduleCallback(Ce.unstable_NormalPriority,Ld)))}function qn(e){function t(l){return zn(l,e)}if(0<jr.length){zn(jr[0],e);for(var n=1;n<jr.length;n++){var r=jr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ht!==null&&zn(ht,e),mt!==null&&zn(mt,e),yt!==null&&zn(yt,e),Zn.forEach(t),Jn.forEach(t),n=0;n<ct.length;n++)r=ct[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<ct.length&&(n=ct[0],n.blockedOn===null);)Ja(n),n.blockedOn===null&&ct.shift()}var cn=it.ReactCurrentBatchConfig,Jr=!0;function Pd(e,t,n,r){var l=$,i=cn.transition;cn.transition=null;try{$=1,ho(e,t,n,r)}finally{$=l,cn.transition=i}}function Md(e,t,n,r){var l=$,i=cn.transition;cn.transition=null;try{$=4,ho(e,t,n,r)}finally{$=l,cn.transition=i}}function ho(e,t,n,r){if(Jr){var l=Ci(e,t,n,r);if(l===null)Yl(e,t,r,qr,n),us(e,r);else if(Td(l,e,t,n,r))r.stopPropagation();else if(us(e,r),t&4&&-1<zd.indexOf(e)){for(;l!==null;){var i=pr(l);if(i!==null&&Ga(i),i=Ci(e,t,n,r),i===null&&Yl(e,t,r,qr,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else Yl(e,t,r,null,n)}}var qr=null;function Ci(e,t,n,r){if(qr=null,e=uo(r),e=Pt(e),e!==null)if(t=Bt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Aa(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return qr=e,null}function qa(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(xd()){case co:return 1;case Va:return 4;case Xr:case kd:return 16;case Ha:return 536870912;default:return 16}default:return 16}}var ft=null,mo=null,Dr=null;function ba(){if(Dr)return Dr;var e,t=mo,n=t.length,r,l="value"in ft?ft.value:ft.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===l[i-r];r++);return Dr=l.slice(e,1<r?1-r:void 0)}function $r(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Cr(){return!0}function ds(){return!1}function _e(e){function t(n,r,l,i,o){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Cr:ds,this.isPropagationStopped=ds,this}return G(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Cr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Cr)},persist:function(){},isPersistent:Cr}),t}var wn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yo=_e(wn),fr=G({},wn,{view:0,detail:0}),Rd=_e(fr),Al,Ul,Tn,vl=G({},fr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:go,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Tn&&(Tn&&e.type==="mousemove"?(Al=e.screenX-Tn.screenX,Ul=e.screenY-Tn.screenY):Ul=Al=0,Tn=e),Al)},movementY:function(e){return"movementY"in e?e.movementY:Ul}}),fs=_e(vl),Id=G({},vl,{dataTransfer:0}),Od=_e(Id),Fd=G({},fr,{relatedTarget:0}),Wl=_e(Fd),Dd=G({},wn,{animationName:0,elapsedTime:0,pseudoElement:0}),$d=_e(Dd),Ad=G({},wn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ud=_e(Ad),Wd=G({},wn,{data:0}),ps=_e(Wd),Bd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vd={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"},Hd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Hd[e])?!!t[e]:!1}function go(){return Qd}var Kd=G({},fr,{key:function(e){if(e.key){var t=Bd[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=$r(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Vd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:go,charCode:function(e){return e.type==="keypress"?$r(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?$r(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Gd=_e(Kd),Yd=G({},vl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hs=_e(Yd),Xd=G({},fr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:go}),Zd=_e(Xd),Jd=G({},wn,{propertyName:0,elapsedTime:0,pseudoElement:0}),qd=_e(Jd),bd=G({},vl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ef=_e(bd),tf=[9,13,27,32],vo=tt&&"CompositionEvent"in window,Un=null;tt&&"documentMode"in document&&(Un=document.documentMode);var nf=tt&&"TextEvent"in window&&!Un,eu=tt&&(!vo||Un&&8<Un&&11>=Un),ms=" ",ys=!1;function tu(e,t){switch(e){case"keyup":return tf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zt=!1;function rf(e,t){switch(e){case"compositionend":return nu(t);case"keypress":return t.which!==32?null:(ys=!0,ms);case"textInput":return e=t.data,e===ms&&ys?null:e;default:return null}}function lf(e,t){if(Zt)return e==="compositionend"||!vo&&tu(e,t)?(e=ba(),Dr=mo=ft=null,Zt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return eu&&t.locale!=="ko"?null:t.data;default:return null}}var of={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(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!of[e.type]:t==="textarea"}function ru(e,t,n,r){Ia(r),t=br(t,"onChange"),0<t.length&&(n=new yo("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,bn=null;function sf(e){hu(e,0)}function xl(e){var t=bt(e);if(Ea(t))return e}function af(e,t){if(e==="change")return t}var lu=!1;if(tt){var Bl;if(tt){var Vl="oninput"in document;if(!Vl){var vs=document.createElement("div");vs.setAttribute("oninput","return;"),Vl=typeof vs.oninput=="function"}Bl=Vl}else Bl=!1;lu=Bl&&(!document.documentMode||9<document.documentMode)}function xs(){Wn&&(Wn.detachEvent("onpropertychange",iu),bn=Wn=null)}function iu(e){if(e.propertyName==="value"&&xl(bn)){var t=[];ru(t,bn,e,uo(e)),$a(sf,t)}}function uf(e,t,n){e==="focusin"?(xs(),Wn=t,bn=n,Wn.attachEvent("onpropertychange",iu)):e==="focusout"&&xs()}function cf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return xl(bn)}function df(e,t){if(e==="click")return xl(t)}function ff(e,t){if(e==="input"||e==="change")return xl(t)}function pf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Be=typeof Object.is=="function"?Object.is:pf;function er(e,t){if(Be(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!oi.call(t,l)||!Be(e[l],t[l]))return!1}return!0}function ks(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ws(e,t){var n=ks(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ks(n)}}function ou(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ou(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function su(){for(var e=window,t=Kr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kr(e.document)}return t}function xo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function hf(e){var t=su(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ou(n.ownerDocument.documentElement,n)){if(r!==null&&xo(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=ws(n,i);var o=ws(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mf=tt&&"documentMode"in document&&11>=document.documentMode,Jt=null,Ni=null,Bn=null,_i=!1;function Ss(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;_i||Jt==null||Jt!==Kr(r)||(r=Jt,"selectionStart"in r&&xo(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Bn&&er(Bn,r)||(Bn=r,r=br(Ni,"onSelect"),0<r.length&&(t=new yo("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Jt)))}function Nr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var qt={animationend:Nr("Animation","AnimationEnd"),animationiteration:Nr("Animation","AnimationIteration"),animationstart:Nr("Animation","AnimationStart"),transitionend:Nr("Transition","TransitionEnd")},Hl={},au={};tt&&(au=document.createElement("div").style,"AnimationEvent"in window||(delete qt.animationend.animation,delete qt.animationiteration.animation,delete qt.animationstart.animation),"TransitionEvent"in window||delete qt.transitionend.transition);function kl(e){if(Hl[e])return Hl[e];if(!qt[e])return e;var t=qt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in au)return Hl[e]=t[n];return e}var uu=kl("animationend"),cu=kl("animationiteration"),du=kl("animationstart"),fu=kl("transitionend"),pu=new Map,js="abort auxClick 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(" ");function Ct(e,t){pu.set(e,t),Wt(t,[e])}for(var Ql=0;Ql<js.length;Ql++){var Kl=js[Ql],yf=Kl.toLowerCase(),gf=Kl[0].toUpperCase()+Kl.slice(1);Ct(yf,"on"+gf)}Ct(uu,"onAnimationEnd");Ct(cu,"onAnimationIteration");Ct(du,"onAnimationStart");Ct("dblclick","onDoubleClick");Ct("focusin","onFocus");Ct("focusout","onBlur");Ct(fu,"onTransitionEnd");pn("onMouseEnter",["mouseout","mouseover"]);pn("onMouseLeave",["mouseout","mouseover"]);pn("onPointerEnter",["pointerout","pointerover"]);pn("onPointerLeave",["pointerout","pointerover"]);Wt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Wt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Wt("onBeforeInput",["compositionend","keypress","textInput","paste"]);Wt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Wt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Wt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dn="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(" "),vf=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dn));function Cs(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,md(r,t,void 0,e),e.currentTarget=null}function hu(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],u=a.instance,c=a.currentTarget;if(a=a.listener,u!==i&&l.isPropagationStopped())break e;Cs(l,a,c),i=u}else for(o=0;o<r.length;o++){if(a=r[o],u=a.instance,c=a.currentTarget,a=a.listener,u!==i&&l.isPropagationStopped())break e;Cs(l,a,c),i=u}}}if(Yr)throw e=wi,Yr=!1,wi=null,e}function B(e,t){var n=t[Pi];n===void 0&&(n=t[Pi]=new Set);var r=e+"__bubble";n.has(r)||(mu(t,e,2,!1),n.add(r))}function Gl(e,t,n){var r=0;t&&(r|=4),mu(n,e,r,t)}var _r="_reactListening"+Math.random().toString(36).slice(2);function tr(e){if(!e[_r]){e[_r]=!0,Sa.forEach(function(n){n!=="selectionchange"&&(vf.has(n)||Gl(n,!1,e),Gl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[_r]||(t[_r]=!0,Gl("selectionchange",!1,t))}}function mu(e,t,n,r){switch(qa(t)){case 1:var l=Pd;break;case 4:l=Md;break;default:l=ho}n=l.bind(null,t,n,e),l=void 0,!ki||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Yl(e,t,n,r,l){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===l||a.nodeType===8&&a.parentNode===l)break;if(o===4)for(o=r.return;o!==null;){var u=o.tag;if((u===3||u===4)&&(u=o.stateNode.containerInfo,u===l||u.nodeType===8&&u.parentNode===l))return;o=o.return}for(;a!==null;){if(o=Pt(a),o===null)return;if(u=o.tag,u===5||u===6){r=i=o;continue e}a=a.parentNode}}r=r.return}$a(function(){var c=i,y=uo(n),g=[];e:{var m=pu.get(e);if(m!==void 0){var h=yo,v=e;switch(e){case"keypress":if($r(n)===0)break e;case"keydown":case"keyup":h=Gd;break;case"focusin":v="focus",h=Wl;break;case"focusout":v="blur",h=Wl;break;case"beforeblur":case"afterblur":h=Wl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=fs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Od;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=Zd;break;case uu:case cu:case du:h=$d;break;case fu:h=qd;break;case"scroll":h=Rd;break;case"wheel":h=ef;break;case"copy":case"cut":case"paste":h=Ud;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=hs}var x=(t&4)!==0,T=!x&&e==="scroll",f=x?m!==null?m+"Capture":null:m;x=[];for(var d=c,p;d!==null;){p=d;var k=p.stateNode;if(p.tag===5&&k!==null&&(p=k,f!==null&&(k=Xn(d,f),k!=null&&x.push(nr(d,k,p)))),T)break;d=d.return}0<x.length&&(m=new h(m,v,null,n,y),g.push({event:m,listeners:x}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",m&&n!==vi&&(v=n.relatedTarget||n.fromElement)&&(Pt(v)||v[nt]))break e;if((h||m)&&(m=y.window===y?y:(m=y.ownerDocument)?m.defaultView||m.parentWindow:window,h?(v=n.relatedTarget||n.toElement,h=c,v=v?Pt(v):null,v!==null&&(T=Bt(v),v!==T||v.tag!==5&&v.tag!==6)&&(v=null)):(h=null,v=c),h!==v)){if(x=fs,k="onMouseLeave",f="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(x=hs,k="onPointerLeave",f="onPointerEnter",d="pointer"),T=h==null?m:bt(h),p=v==null?m:bt(v),m=new x(k,d+"leave",h,n,y),m.target=T,m.relatedTarget=p,k=null,Pt(y)===c&&(x=new x(f,d+"enter",v,n,y),x.target=p,x.relatedTarget=T,k=x),T=k,h&&v)t:{for(x=h,f=v,d=0,p=x;p;p=Gt(p))d++;for(p=0,k=f;k;k=Gt(k))p++;for(;0<d-p;)x=Gt(x),d--;for(;0<p-d;)f=Gt(f),p--;for(;d--;){if(x===f||f!==null&&x===f.alternate)break t;x=Gt(x),f=Gt(f)}x=null}else x=null;h!==null&&Ns(g,m,h,x,!1),v!==null&&T!==null&&Ns(g,T,v,x,!0)}}e:{if(m=c?bt(c):window,h=m.nodeName&&m.nodeName.toLowerCase(),h==="select"||h==="input"&&m.type==="file")var j=af;else if(gs(m))if(lu)j=ff;else{j=cf;var _=uf}else(h=m.nodeName)&&h.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(j=df);if(j&&(j=j(e,c))){ru(g,j,n,y);break e}_&&_(e,m,c),e==="focusout"&&(_=m._wrapperState)&&_.controlled&&m.type==="number"&&pi(m,"number",m.value)}switch(_=c?bt(c):window,e){case"focusin":(gs(_)||_.contentEditable==="true")&&(Jt=_,Ni=c,Bn=null);break;case"focusout":Bn=Ni=Jt=null;break;case"mousedown":_i=!0;break;case"contextmenu":case"mouseup":case"dragend":_i=!1,Ss(g,n,y);break;case"selectionchange":if(mf)break;case"keydown":case"keyup":Ss(g,n,y)}var E;if(vo)e:{switch(e){case"compositionstart":var z="onCompositionStart";break e;case"compositionend":z="onCompositionEnd";break e;case"compositionupdate":z="onCompositionUpdate";break e}z=void 0}else Zt?tu(e,n)&&(z="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(z="onCompositionStart");z&&(eu&&n.locale!=="ko"&&(Zt||z!=="onCompositionStart"?z==="onCompositionEnd"&&Zt&&(E=ba()):(ft=y,mo="value"in ft?ft.value:ft.textContent,Zt=!0)),_=br(c,z),0<_.length&&(z=new ps(z,e,null,n,y),g.push({event:z,listeners:_}),E?z.data=E:(E=nu(n),E!==null&&(z.data=E)))),(E=nf?rf(e,n):lf(e,n))&&(c=br(c,"onBeforeInput"),0<c.length&&(y=new ps("onBeforeInput","beforeinput",null,n,y),g.push({event:y,listeners:c}),y.data=E))}hu(g,t)})}function nr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function br(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=Xn(e,n),i!=null&&r.unshift(nr(e,i,l)),i=Xn(e,t),i!=null&&r.push(nr(e,i,l))),e=e.return}return r}function Gt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ns(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var a=n,u=a.alternate,c=a.stateNode;if(u!==null&&u===r)break;a.tag===5&&c!==null&&(a=c,l?(u=Xn(n,i),u!=null&&o.unshift(nr(n,u,a))):l||(u=Xn(n,i),u!=null&&o.push(nr(n,u,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var xf=/\r\n?/g,kf=/\u0000|\uFFFD/g;function _s(e){return(typeof e=="string"?e:""+e).replace(xf,`
|
|
38
|
+
`).replace(kf,"")}function Er(e,t,n){if(t=_s(t),_s(e)!==t&&n)throw Error(w(425))}function el(){}var Ei=null,zi=null;function Ti(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Li=typeof setTimeout=="function"?setTimeout:void 0,wf=typeof clearTimeout=="function"?clearTimeout:void 0,Es=typeof Promise=="function"?Promise:void 0,Sf=typeof queueMicrotask=="function"?queueMicrotask:typeof Es<"u"?function(e){return Es.resolve(null).then(e).catch(jf)}:Li;function jf(e){setTimeout(function(){throw e})}function Xl(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),qn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);qn(t)}function gt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function zs(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Sn=Math.random().toString(36).slice(2),Ge="__reactFiber$"+Sn,rr="__reactProps$"+Sn,nt="__reactContainer$"+Sn,Pi="__reactEvents$"+Sn,Cf="__reactListeners$"+Sn,Nf="__reactHandles$"+Sn;function Pt(e){var t=e[Ge];if(t)return t;for(var n=e.parentNode;n;){if(t=n[nt]||n[Ge]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=zs(e);e!==null;){if(n=e[Ge])return n;e=zs(e)}return t}e=n,n=e.parentNode}return null}function pr(e){return e=e[Ge]||e[nt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function bt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(w(33))}function wl(e){return e[rr]||null}var Mi=[],en=-1;function Nt(e){return{current:e}}function V(e){0>en||(e.current=Mi[en],Mi[en]=null,en--)}function W(e,t){en++,Mi[en]=e.current,e.current=t}var jt={},ce=Nt(jt),ge=Nt(!1),Ft=jt;function hn(e,t){var n=e.type.contextTypes;if(!n)return jt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ve(e){return e=e.childContextTypes,e!=null}function tl(){V(ge),V(ce)}function Ts(e,t,n){if(ce.current!==jt)throw Error(w(168));W(ce,t),W(ge,n)}function yu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(w(108,ad(e)||"Unknown",l));return G({},n,r)}function nl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jt,Ft=ce.current,W(ce,e),W(ge,ge.current),!0}function Ls(e,t,n){var r=e.stateNode;if(!r)throw Error(w(169));n?(e=yu(e,t,Ft),r.__reactInternalMemoizedMergedChildContext=e,V(ge),V(ce),W(ce,e)):V(ge),W(ge,n)}var Je=null,Sl=!1,Zl=!1;function gu(e){Je===null?Je=[e]:Je.push(e)}function _f(e){Sl=!0,gu(e)}function _t(){if(!Zl&&Je!==null){Zl=!0;var e=0,t=$;try{var n=Je;for($=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Je=null,Sl=!1}catch(l){throw Je!==null&&(Je=Je.slice(e+1)),Ba(co,_t),l}finally{$=t,Zl=!1}}return null}var tn=[],nn=0,rl=null,ll=0,ze=[],Te=0,Dt=null,qe=1,be="";function zt(e,t){tn[nn++]=ll,tn[nn++]=rl,rl=e,ll=t}function vu(e,t,n){ze[Te++]=qe,ze[Te++]=be,ze[Te++]=Dt,Dt=e;var r=qe;e=be;var l=32-Ue(r)-1;r&=~(1<<l),n+=1;var i=32-Ue(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,qe=1<<32-Ue(t)+l|n<<l|r,be=i+e}else qe=1<<i|n<<l|r,be=e}function ko(e){e.return!==null&&(zt(e,1),vu(e,1,0))}function wo(e){for(;e===rl;)rl=tn[--nn],tn[nn]=null,ll=tn[--nn],tn[nn]=null;for(;e===Dt;)Dt=ze[--Te],ze[Te]=null,be=ze[--Te],ze[Te]=null,qe=ze[--Te],ze[Te]=null}var je=null,Se=null,H=!1,Ae=null;function xu(e,t){var n=Le(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ps(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,je=e,Se=gt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,je=e,Se=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Dt!==null?{id:qe,overflow:be}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Le(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,je=e,Se=null,!0):!1;default:return!1}}function Ri(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ii(e){if(H){var t=Se;if(t){var n=t;if(!Ps(e,t)){if(Ri(e))throw Error(w(418));t=gt(n.nextSibling);var r=je;t&&Ps(e,t)?xu(r,n):(e.flags=e.flags&-4097|2,H=!1,je=e)}}else{if(Ri(e))throw Error(w(418));e.flags=e.flags&-4097|2,H=!1,je=e}}}function Ms(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;je=e}function zr(e){if(e!==je)return!1;if(!H)return Ms(e),H=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ti(e.type,e.memoizedProps)),t&&(t=Se)){if(Ri(e))throw ku(),Error(w(418));for(;t;)xu(e,t),t=gt(t.nextSibling)}if(Ms(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(w(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Se=gt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Se=null}}else Se=je?gt(e.stateNode.nextSibling):null;return!0}function ku(){for(var e=Se;e;)e=gt(e.nextSibling)}function mn(){Se=je=null,H=!1}function So(e){Ae===null?Ae=[e]:Ae.push(e)}var Ef=it.ReactCurrentBatchConfig;function Ln(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(w(309));var r=n.stateNode}if(!r)throw Error(w(147,e));var l=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=l.refs;o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(w(284));if(!n._owner)throw Error(w(290,e))}return e}function Tr(e,t){throw e=Object.prototype.toString.call(t),Error(w(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Rs(e){var t=e._init;return t(e._payload)}function wu(e){function t(f,d){if(e){var p=f.deletions;p===null?(f.deletions=[d],f.flags|=16):p.push(d)}}function n(f,d){if(!e)return null;for(;d!==null;)t(f,d),d=d.sibling;return null}function r(f,d){for(f=new Map;d!==null;)d.key!==null?f.set(d.key,d):f.set(d.index,d),d=d.sibling;return f}function l(f,d){return f=wt(f,d),f.index=0,f.sibling=null,f}function i(f,d,p){return f.index=p,e?(p=f.alternate,p!==null?(p=p.index,p<d?(f.flags|=2,d):p):(f.flags|=2,d)):(f.flags|=1048576,d)}function o(f){return e&&f.alternate===null&&(f.flags|=2),f}function a(f,d,p,k){return d===null||d.tag!==6?(d=ri(p,f.mode,k),d.return=f,d):(d=l(d,p),d.return=f,d)}function u(f,d,p,k){var j=p.type;return j===Xt?y(f,d,p.props.children,k,p.key):d!==null&&(d.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===at&&Rs(j)===d.type)?(k=l(d,p.props),k.ref=Ln(f,d,p),k.return=f,k):(k=Qr(p.type,p.key,p.props,null,f.mode,k),k.ref=Ln(f,d,p),k.return=f,k)}function c(f,d,p,k){return d===null||d.tag!==4||d.stateNode.containerInfo!==p.containerInfo||d.stateNode.implementation!==p.implementation?(d=li(p,f.mode,k),d.return=f,d):(d=l(d,p.children||[]),d.return=f,d)}function y(f,d,p,k,j){return d===null||d.tag!==7?(d=Ot(p,f.mode,k,j),d.return=f,d):(d=l(d,p),d.return=f,d)}function g(f,d,p){if(typeof d=="string"&&d!==""||typeof d=="number")return d=ri(""+d,f.mode,p),d.return=f,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case vr:return p=Qr(d.type,d.key,d.props,null,f.mode,p),p.ref=Ln(f,null,d),p.return=f,p;case Yt:return d=li(d,f.mode,p),d.return=f,d;case at:var k=d._init;return g(f,k(d._payload),p)}if(On(d)||Nn(d))return d=Ot(d,f.mode,p,null),d.return=f,d;Tr(f,d)}return null}function m(f,d,p,k){var j=d!==null?d.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return j!==null?null:a(f,d,""+p,k);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case vr:return p.key===j?u(f,d,p,k):null;case Yt:return p.key===j?c(f,d,p,k):null;case at:return j=p._init,m(f,d,j(p._payload),k)}if(On(p)||Nn(p))return j!==null?null:y(f,d,p,k,null);Tr(f,p)}return null}function h(f,d,p,k,j){if(typeof k=="string"&&k!==""||typeof k=="number")return f=f.get(p)||null,a(d,f,""+k,j);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case vr:return f=f.get(k.key===null?p:k.key)||null,u(d,f,k,j);case Yt:return f=f.get(k.key===null?p:k.key)||null,c(d,f,k,j);case at:var _=k._init;return h(f,d,p,_(k._payload),j)}if(On(k)||Nn(k))return f=f.get(p)||null,y(d,f,k,j,null);Tr(d,k)}return null}function v(f,d,p,k){for(var j=null,_=null,E=d,z=d=0,A=null;E!==null&&z<p.length;z++){E.index>z?(A=E,E=null):A=E.sibling;var O=m(f,E,p[z],k);if(O===null){E===null&&(E=A);break}e&&E&&O.alternate===null&&t(f,E),d=i(O,d,z),_===null?j=O:_.sibling=O,_=O,E=A}if(z===p.length)return n(f,E),H&&zt(f,z),j;if(E===null){for(;z<p.length;z++)E=g(f,p[z],k),E!==null&&(d=i(E,d,z),_===null?j=E:_.sibling=E,_=E);return H&&zt(f,z),j}for(E=r(f,E);z<p.length;z++)A=h(E,f,z,p[z],k),A!==null&&(e&&A.alternate!==null&&E.delete(A.key===null?z:A.key),d=i(A,d,z),_===null?j=A:_.sibling=A,_=A);return e&&E.forEach(function(Ee){return t(f,Ee)}),H&&zt(f,z),j}function x(f,d,p,k){var j=Nn(p);if(typeof j!="function")throw Error(w(150));if(p=j.call(p),p==null)throw Error(w(151));for(var _=j=null,E=d,z=d=0,A=null,O=p.next();E!==null&&!O.done;z++,O=p.next()){E.index>z?(A=E,E=null):A=E.sibling;var Ee=m(f,E,O.value,k);if(Ee===null){E===null&&(E=A);break}e&&E&&Ee.alternate===null&&t(f,E),d=i(Ee,d,z),_===null?j=Ee:_.sibling=Ee,_=Ee,E=A}if(O.done)return n(f,E),H&&zt(f,z),j;if(E===null){for(;!O.done;z++,O=p.next())O=g(f,O.value,k),O!==null&&(d=i(O,d,z),_===null?j=O:_.sibling=O,_=O);return H&&zt(f,z),j}for(E=r(f,E);!O.done;z++,O=p.next())O=h(E,f,z,O.value,k),O!==null&&(e&&O.alternate!==null&&E.delete(O.key===null?z:O.key),d=i(O,d,z),_===null?j=O:_.sibling=O,_=O);return e&&E.forEach(function(Vt){return t(f,Vt)}),H&&zt(f,z),j}function T(f,d,p,k){if(typeof p=="object"&&p!==null&&p.type===Xt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case vr:e:{for(var j=p.key,_=d;_!==null;){if(_.key===j){if(j=p.type,j===Xt){if(_.tag===7){n(f,_.sibling),d=l(_,p.props.children),d.return=f,f=d;break e}}else if(_.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===at&&Rs(j)===_.type){n(f,_.sibling),d=l(_,p.props),d.ref=Ln(f,_,p),d.return=f,f=d;break e}n(f,_);break}else t(f,_);_=_.sibling}p.type===Xt?(d=Ot(p.props.children,f.mode,k,p.key),d.return=f,f=d):(k=Qr(p.type,p.key,p.props,null,f.mode,k),k.ref=Ln(f,d,p),k.return=f,f=k)}return o(f);case Yt:e:{for(_=p.key;d!==null;){if(d.key===_)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(f,d.sibling),d=l(d,p.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=li(p,f.mode,k),d.return=f,f=d}return o(f);case at:return _=p._init,T(f,d,_(p._payload),k)}if(On(p))return v(f,d,p,k);if(Nn(p))return x(f,d,p,k);Tr(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,p),d.return=f,f=d):(n(f,d),d=ri(p,f.mode,k),d.return=f,f=d),o(f)):n(f,d)}return T}var yn=wu(!0),Su=wu(!1),il=Nt(null),ol=null,rn=null,jo=null;function Co(){jo=rn=ol=null}function No(e){var t=il.current;V(il),e._currentValue=t}function Oi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function dn(e,t){ol=e,jo=rn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ye=!0),e.firstContext=null)}function Me(e){var t=e._currentValue;if(jo!==e)if(e={context:e,memoizedValue:t,next:null},rn===null){if(ol===null)throw Error(w(308));rn=e,ol.dependencies={lanes:0,firstContext:e}}else rn=rn.next=e;return t}var Mt=null;function _o(e){Mt===null?Mt=[e]:Mt.push(e)}function ju(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,_o(t)):(n.next=l.next,l.next=n),t.interleaved=n,rt(e,r)}function rt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ut=!1;function Eo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Cu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function et(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function vt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,D&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,rt(e,n)}return l=r.interleaved,l===null?(t.next=t,_o(r)):(t.next=l.next,l.next=t),r.interleaved=t,rt(e,n)}function Ar(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fo(e,n)}}function Is(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function sl(e,t,n,r){var l=e.updateQueue;ut=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var u=a,c=u.next;u.next=null,o===null?i=c:o.next=c,o=u;var y=e.alternate;y!==null&&(y=y.updateQueue,a=y.lastBaseUpdate,a!==o&&(a===null?y.firstBaseUpdate=c:a.next=c,y.lastBaseUpdate=u))}if(i!==null){var g=l.baseState;o=0,y=c=u=null,a=i;do{var m=a.lane,h=a.eventTime;if((r&m)===m){y!==null&&(y=y.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,x=a;switch(m=t,h=n,x.tag){case 1:if(v=x.payload,typeof v=="function"){g=v.call(h,g,m);break e}g=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=x.payload,m=typeof v=="function"?v.call(h,g,m):v,m==null)break e;g=G({},g,m);break e;case 2:ut=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[a]:m.push(a))}else h={eventTime:h,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},y===null?(c=y=h,u=g):y=y.next=h,o|=m;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;m=a,a=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(y===null&&(u=g),l.baseState=u,l.firstBaseUpdate=c,l.lastBaseUpdate=y,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);At|=o,e.lanes=o,e.memoizedState=g}}function Os(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(w(191,l));l.call(r)}}}var hr={},Xe=Nt(hr),lr=Nt(hr),ir=Nt(hr);function Rt(e){if(e===hr)throw Error(w(174));return e}function zo(e,t){switch(W(ir,t),W(lr,e),W(Xe,hr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:mi(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=mi(t,e)}V(Xe),W(Xe,t)}function gn(){V(Xe),V(lr),V(ir)}function Nu(e){Rt(ir.current);var t=Rt(Xe.current),n=mi(t,e.type);t!==n&&(W(lr,e),W(Xe,n))}function To(e){lr.current===e&&(V(Xe),V(lr))}var Q=Nt(0);function al(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Jl=[];function Lo(){for(var e=0;e<Jl.length;e++)Jl[e]._workInProgressVersionPrimary=null;Jl.length=0}var Ur=it.ReactCurrentDispatcher,ql=it.ReactCurrentBatchConfig,$t=0,K=null,ee=null,ne=null,ul=!1,Vn=!1,or=0,zf=0;function se(){throw Error(w(321))}function Po(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Be(e[n],t[n]))return!1;return!0}function Mo(e,t,n,r,l,i){if($t=i,K=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ur.current=e===null||e.memoizedState===null?Mf:Rf,e=n(r,l),Vn){i=0;do{if(Vn=!1,or=0,25<=i)throw Error(w(301));i+=1,ne=ee=null,t.updateQueue=null,Ur.current=If,e=n(r,l)}while(Vn)}if(Ur.current=cl,t=ee!==null&&ee.next!==null,$t=0,ne=ee=K=null,ul=!1,t)throw Error(w(300));return e}function Ro(){var e=or!==0;return or=0,e}function Ke(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ne===null?K.memoizedState=ne=e:ne=ne.next=e,ne}function Re(){if(ee===null){var e=K.alternate;e=e!==null?e.memoizedState:null}else e=ee.next;var t=ne===null?K.memoizedState:ne.next;if(t!==null)ne=t,ee=e;else{if(e===null)throw Error(w(310));ee=e,e={memoizedState:ee.memoizedState,baseState:ee.baseState,baseQueue:ee.baseQueue,queue:ee.queue,next:null},ne===null?K.memoizedState=ne=e:ne=ne.next=e}return ne}function sr(e,t){return typeof t=="function"?t(e):t}function bl(e){var t=Re(),n=t.queue;if(n===null)throw Error(w(311));n.lastRenderedReducer=e;var r=ee,l=r.baseQueue,i=n.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,n.pending=null}if(l!==null){i=l.next,r=r.baseState;var a=o=null,u=null,c=i;do{var y=c.lane;if(($t&y)===y)u!==null&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var g={lane:y,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};u===null?(a=u=g,o=r):u=u.next=g,K.lanes|=y,At|=y}c=c.next}while(c!==null&&c!==i);u===null?o=r:u.next=a,Be(r,t.memoizedState)||(ye=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do i=l.lane,K.lanes|=i,At|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ei(e){var t=Re(),n=t.queue;if(n===null)throw Error(w(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);Be(i,t.memoizedState)||(ye=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function _u(){}function Eu(e,t){var n=K,r=Re(),l=t(),i=!Be(r.memoizedState,l);if(i&&(r.memoizedState=l,ye=!0),r=r.queue,Io(Lu.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ne!==null&&ne.memoizedState.tag&1){if(n.flags|=2048,ar(9,Tu.bind(null,n,r,l,t),void 0,null),re===null)throw Error(w(349));$t&30||zu(n,t,l)}return l}function zu(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Tu(e,t,n,r){t.value=n,t.getSnapshot=r,Pu(t)&&Mu(e)}function Lu(e,t,n){return n(function(){Pu(t)&&Mu(e)})}function Pu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Be(e,n)}catch{return!0}}function Mu(e){var t=rt(e,1);t!==null&&We(t,e,1,-1)}function Fs(e){var t=Ke();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:sr,lastRenderedState:e},t.queue=e,e=e.dispatch=Pf.bind(null,K,e),[t.memoizedState,e]}function ar(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Ru(){return Re().memoizedState}function Wr(e,t,n,r){var l=Ke();K.flags|=e,l.memoizedState=ar(1|t,n,void 0,r===void 0?null:r)}function jl(e,t,n,r){var l=Re();r=r===void 0?null:r;var i=void 0;if(ee!==null){var o=ee.memoizedState;if(i=o.destroy,r!==null&&Po(r,o.deps)){l.memoizedState=ar(t,n,i,r);return}}K.flags|=e,l.memoizedState=ar(1|t,n,i,r)}function Ds(e,t){return Wr(8390656,8,e,t)}function Io(e,t){return jl(2048,8,e,t)}function Iu(e,t){return jl(4,2,e,t)}function Ou(e,t){return jl(4,4,e,t)}function Fu(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Du(e,t,n){return n=n!=null?n.concat([e]):null,jl(4,4,Fu.bind(null,t,e),n)}function Oo(){}function $u(e,t){var n=Re();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Po(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Au(e,t){var n=Re();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Po(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Uu(e,t,n){return $t&21?(Be(n,t)||(n=Qa(),K.lanes|=n,At|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ye=!0),e.memoizedState=n)}function Tf(e,t){var n=$;$=n!==0&&4>n?n:4,e(!0);var r=ql.transition;ql.transition={};try{e(!1),t()}finally{$=n,ql.transition=r}}function Wu(){return Re().memoizedState}function Lf(e,t,n){var r=kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Bu(e))Vu(t,n);else if(n=ju(e,t,n,r),n!==null){var l=fe();We(n,e,r,l),Hu(n,t,r)}}function Pf(e,t,n){var r=kt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bu(e))Vu(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(l.hasEagerState=!0,l.eagerState=a,Be(a,o)){var u=t.interleaved;u===null?(l.next=l,_o(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=ju(e,t,l,r),n!==null&&(l=fe(),We(n,e,r,l),Hu(n,t,r))}}function Bu(e){var t=e.alternate;return e===K||t!==null&&t===K}function Vu(e,t){Vn=ul=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hu(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fo(e,n)}}var cl={readContext:Me,useCallback:se,useContext:se,useEffect:se,useImperativeHandle:se,useInsertionEffect:se,useLayoutEffect:se,useMemo:se,useReducer:se,useRef:se,useState:se,useDebugValue:se,useDeferredValue:se,useTransition:se,useMutableSource:se,useSyncExternalStore:se,useId:se,unstable_isNewReconciler:!1},Mf={readContext:Me,useCallback:function(e,t){return Ke().memoizedState=[e,t===void 0?null:t],e},useContext:Me,useEffect:Ds,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Wr(4194308,4,Fu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Wr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wr(4,2,e,t)},useMemo:function(e,t){var n=Ke();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ke();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Lf.bind(null,K,e),[r.memoizedState,e]},useRef:function(e){var t=Ke();return e={current:e},t.memoizedState=e},useState:Fs,useDebugValue:Oo,useDeferredValue:function(e){return Ke().memoizedState=e},useTransition:function(){var e=Fs(!1),t=e[0];return e=Tf.bind(null,e[1]),Ke().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=K,l=Ke();if(H){if(n===void 0)throw Error(w(407));n=n()}else{if(n=t(),re===null)throw Error(w(349));$t&30||zu(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Ds(Lu.bind(null,r,i,e),[e]),r.flags|=2048,ar(9,Tu.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ke(),t=re.identifierPrefix;if(H){var n=be,r=qe;n=(r&~(1<<32-Ue(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=or++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=zf++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Rf={readContext:Me,useCallback:$u,useContext:Me,useEffect:Io,useImperativeHandle:Du,useInsertionEffect:Iu,useLayoutEffect:Ou,useMemo:Au,useReducer:bl,useRef:Ru,useState:function(){return bl(sr)},useDebugValue:Oo,useDeferredValue:function(e){var t=Re();return Uu(t,ee.memoizedState,e)},useTransition:function(){var e=bl(sr)[0],t=Re().memoizedState;return[e,t]},useMutableSource:_u,useSyncExternalStore:Eu,useId:Wu,unstable_isNewReconciler:!1},If={readContext:Me,useCallback:$u,useContext:Me,useEffect:Io,useImperativeHandle:Du,useInsertionEffect:Iu,useLayoutEffect:Ou,useMemo:Au,useReducer:ei,useRef:Ru,useState:function(){return ei(sr)},useDebugValue:Oo,useDeferredValue:function(e){var t=Re();return ee===null?t.memoizedState=e:Uu(t,ee.memoizedState,e)},useTransition:function(){var e=ei(sr)[0],t=Re().memoizedState;return[e,t]},useMutableSource:_u,useSyncExternalStore:Eu,useId:Wu,unstable_isNewReconciler:!1};function De(e,t){if(e&&e.defaultProps){t=G({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Fi(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:G({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Cl={isMounted:function(e){return(e=e._reactInternals)?Bt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=fe(),l=kt(e),i=et(r,l);i.payload=t,n!=null&&(i.callback=n),t=vt(e,i,l),t!==null&&(We(t,e,l,r),Ar(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=fe(),l=kt(e),i=et(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=vt(e,i,l),t!==null&&(We(t,e,l,r),Ar(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=fe(),r=kt(e),l=et(n,r);l.tag=2,t!=null&&(l.callback=t),t=vt(e,l,r),t!==null&&(We(t,e,r,n),Ar(t,e,r))}};function $s(e,t,n,r,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!er(n,r)||!er(l,i):!0}function Qu(e,t,n){var r=!1,l=jt,i=t.contextType;return typeof i=="object"&&i!==null?i=Me(i):(l=ve(t)?Ft:ce.current,r=t.contextTypes,i=(r=r!=null)?hn(e,l):jt),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Cl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function As(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Cl.enqueueReplaceState(t,t.state,null)}function Di(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Eo(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=Me(i):(i=ve(t)?Ft:ce.current,l.context=hn(e,i)),l.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Fi(e,t,i,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&Cl.enqueueReplaceState(l,l.state,null),sl(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function vn(e,t){try{var n="",r=t;do n+=sd(r),r=r.return;while(r);var l=n}catch(i){l=`
|
|
39
39
|
Error generating stack: `+i.message+`
|
|
40
|
-
`+i.stack}return{value:e,source:t,stack:l,digest:null}}function ti(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function $i(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Of=typeof WeakMap=="function"?WeakMap:Map;function Ku(e,t,n){n=et(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){fl||(fl=!0,Yi=r),$i(e,t)},n}function Gu(e,t,n){n=et(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){$i(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){$i(e,t),typeof r!="function"&&(xt===null?xt=new Set([this]):xt.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Us(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Of;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Xf.bind(null,e,t,n),t.then(e,e))}function Ws(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Bs(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=et(-1,1),t.tag=2,vt(n,t,1))),n.lanes|=1),e)}var Ff=it.ReactCurrentOwner,ye=!1;function de(e,t,n,r){t.child=e===null?Su(t,null,n,r):yn(t,e.child,n,r)}function Vs(e,t,n,r,l){n=n.render;var i=t.ref;return dn(t,l),r=Mo(e,t,n,r,i,l),n=Ro(),e!==null&&!ye?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,lt(e,t,l)):(H&&n&&ko(t),t.flags|=1,de(e,t,r,l),t.child)}function Hs(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!Vo(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Yu(e,t,i,r,l)):(e=Qr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:tr,n(o,r)&&e.ref===t.ref)return lt(e,t,l)}return t.flags|=1,e=wt(i,r),e.ref=t.ref,e.return=t,t.child=e}function Yu(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(tr(i,r)&&e.ref===t.ref)if(ye=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(ye=!0);else return t.lanes=e.lanes,lt(e,t,l)}return Ai(e,t,n,r,l)}function Xu(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},W(on,we),we|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,W(on,we),we|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,W(on,we),we|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,W(on,we),we|=r;return de(e,t,l,n),t.child}function Zu(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ai(e,t,n,r,l){var i=ve(n)?Ft:ce.current;return i=hn(t,i),dn(t,l),n=Mo(e,t,n,r,i,l),r=Ro(),e!==null&&!ye?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,lt(e,t,l)):(H&&r&&ko(t),t.flags|=1,de(e,t,n,l),t.child)}function Qs(e,t,n,r,l){if(ve(n)){var i=!0;nl(t)}else i=!1;if(dn(t,l),t.stateNode===null)Br(e,t),Qu(t,n,r),Di(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var u=o.context,c=n.contextType;typeof c=="object"&&c!==null?c=Me(c):(c=ve(n)?Ft:ce.current,c=hn(t,c));var y=n.getDerivedStateFromProps,g=typeof y=="function"||typeof o.getSnapshotBeforeUpdate=="function";g||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||u!==c)&&As(t,o,r,c),ut=!1;var m=t.memoizedState;o.state=m,sl(t,r,o,l),u=t.memoizedState,a!==r||m!==u||ge.current||ut?(typeof y=="function"&&(Fi(t,n,y,r),u=t.memoizedState),(a=ut||$s(t,n,a,r,m,u,c))?(g||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=c,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Cu(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:De(t.type,a),o.props=c,g=t.pendingProps,m=o.context,u=n.contextType,typeof u=="object"&&u!==null?u=Me(u):(u=ve(n)?Ft:ce.current,u=hn(t,u));var h=n.getDerivedStateFromProps;(y=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==g||m!==u)&&As(t,o,r,u),ut=!1,m=t.memoizedState,o.state=m,sl(t,r,o,l);var v=t.memoizedState;a!==g||m!==v||ge.current||ut?(typeof h=="function"&&(Fi(t,n,h,r),v=t.memoizedState),(c=ut||$s(t,n,c,r,m,v,u)||!1)?(y||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,v,u),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,v,u)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),o.props=r,o.state=v,o.context=u,r=c):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Ui(e,t,n,r,i,l)}function Ui(e,t,n,r,l,i){Zu(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&Ls(t,n,!1),lt(e,t,i);r=t.stateNode,Ff.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=yn(t,e.child,null,i),t.child=yn(t,null,a,i)):de(e,t,a,i),t.memoizedState=r.state,l&&Ls(t,n,!0),t.child}function Ju(e){var t=e.stateNode;t.pendingContext?Ts(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ts(e,t.context,!1),zo(e,t.containerInfo)}function Ks(e,t,n,r,l){return mn(),So(l),t.flags|=256,de(e,t,n,r),t.child}var Wi={dehydrated:null,treeContext:null,retryLane:0};function Bi(e){return{baseLanes:e,cachePool:null,transitions:null}}function qu(e,t,n){var r=t.pendingProps,l=Q.current,i=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(l&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),W(Q,l&1),e===null)return Ii(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=El(o,r,0,null),e=Ot(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Bi(n),t.memoizedState=Wi,e):Fo(t,o));if(l=e.memoizedState,l!==null&&(a=l.dehydrated,a!==null))return Df(e,t,o,r,a,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,a=l.sibling;var u={mode:"hidden",children:r.children};return!(o&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=wt(l,u),r.subtreeFlags=l.subtreeFlags&14680064),a!==null?i=wt(a,i):(i=Ot(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?Bi(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Wi,r}return i=e.child,e=i.sibling,r=wt(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Fo(e,t){return t=El({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Lr(e,t,n,r){return r!==null&&So(r),yn(t,e.child,null,n),e=Fo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Df(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=ti(Error(S(422))),Lr(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=El({mode:"visible",children:r.children},l,0,null),i=Ot(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&yn(t,e.child,null,o),t.child.memoizedState=Bi(o),t.memoizedState=Wi,i);if(!(t.mode&1))return Lr(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(S(419)),r=ti(i,r,void 0),Lr(e,t,o,r)}if(a=(o&e.childLanes)!==0,ye||a){if(r=re,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,rt(e,l),We(r,e,l,-1))}return Bo(),r=ti(Error(S(421))),Lr(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=Zf.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,Se=gt(l.nextSibling),je=t,H=!0,Ae=null,e!==null&&(ze[Te++]=qe,ze[Te++]=be,ze[Te++]=Dt,qe=e.id,be=e.overflow,Dt=t),t=Fo(t,r.children),t.flags|=4096,t)}function Gs(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Oi(e.return,t,n)}function ni(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function bu(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(de(e,t,r.children,n),r=Q.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gs(e,n,t);else if(e.tag===19)Gs(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(W(Q,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&al(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),ni(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&al(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}ni(t,!0,n,null,i);break;case"together":ni(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Br(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function lt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),At|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(S(153));if(t.child!==null){for(e=t.child,n=wt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=wt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function $f(e,t,n){switch(t.tag){case 3:Ju(t),mn();break;case 5:Nu(t);break;case 1:ve(t.type)&&nl(t);break;case 4:zo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;W(il,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(W(Q,Q.current&1),t.flags|=128,null):n&t.child.childLanes?qu(e,t,n):(W(Q,Q.current&1),e=lt(e,t,n),e!==null?e.sibling:null);W(Q,Q.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return bu(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),W(Q,Q.current),r)break;return null;case 22:case 23:return t.lanes=0,Xu(e,t,n)}return lt(e,t,n)}var ec,Vi,tc,nc;ec=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Vi=function(){};tc=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Rt(Xe.current);var i=null;switch(n){case"input":l=di(e,l),r=di(e,r),i=[];break;case"select":l=G({},l,{value:void 0}),r=G({},r,{value:void 0}),i=[];break;case"textarea":l=hi(e,l),r=hi(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=el)}yi(n,r);var o;n=null;for(c in l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&l[c]!=null)if(c==="style"){var a=l[c];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Yn.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(a=l!=null?l[c]:void 0,r.hasOwnProperty(c)&&u!==a&&(u!=null||a!=null))if(c==="style")if(a){for(o in a)!a.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&a[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(i=i||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Yn.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&B("scroll",e),i||a===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};nc=function(e,t,n,r){n!==r&&(t.flags|=4)};function Mn(e,t){if(!H)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ae(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Af(e,t,n){var r=t.pendingProps;switch(wo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ae(t),null;case 1:return ve(t.type)&&tl(),ae(t),null;case 3:return r=t.stateNode,gn(),V(ge),V(ce),Lo(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(zr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ae!==null&&(Ji(Ae),Ae=null))),Vi(e,t),ae(t),null;case 5:To(t);var l=Rt(or.current);if(n=t.type,e!==null&&t.stateNode!=null)tc(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(S(166));return ae(t),null}if(e=Rt(Xe.current),zr(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Ge]=t,r[lr]=i,e=(t.mode&1)!==0,n){case"dialog":B("cancel",r),B("close",r);break;case"iframe":case"object":case"embed":B("load",r);break;case"video":case"audio":for(l=0;l<$n.length;l++)B($n[l],r);break;case"source":B("error",r);break;case"img":case"image":case"link":B("error",r),B("load",r);break;case"details":B("toggle",r);break;case"input":ns(r,i),B("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},B("invalid",r);break;case"textarea":ls(r,i),B("invalid",r)}yi(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];o==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Er(r.textContent,a,e),l=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Er(r.textContent,a,e),l=["children",""+a]):Yn.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&B("scroll",r)}switch(n){case"input":xr(r),rs(r,i,!0);break;case"textarea":xr(r),is(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=el)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=La(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ge]=t,e[lr]=r,ec(e,t,!1,!1),t.stateNode=e;e:{switch(o=gi(n,r),n){case"dialog":B("cancel",e),B("close",e),l=r;break;case"iframe":case"object":case"embed":B("load",e),l=r;break;case"video":case"audio":for(l=0;l<$n.length;l++)B($n[l],e);l=r;break;case"source":B("error",e),l=r;break;case"img":case"image":case"link":B("error",e),B("load",e),l=r;break;case"details":B("toggle",e),l=r;break;case"input":ns(e,r),l=di(e,r),B("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=G({},r,{value:void 0}),B("invalid",e);break;case"textarea":ls(e,r),l=hi(e,r),B("invalid",e);break;default:l=r}yi(n,l),a=l;for(i in a)if(a.hasOwnProperty(i)){var u=a[i];i==="style"?Ra(e,u):i==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Pa(e,u)):i==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&Xn(e,u):typeof u=="number"&&Xn(e,""+u):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Yn.hasOwnProperty(i)?u!=null&&i==="onScroll"&&B("scroll",e):u!=null&&io(e,i,u,o))}switch(n){case"input":xr(e),rs(e,r,!1);break;case"textarea":xr(e),is(e);break;case"option":r.value!=null&&e.setAttribute("value",""+St(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?sn(e,!!r.multiple,i,!1):r.defaultValue!=null&&sn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=el)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ae(t),null;case 6:if(e&&t.stateNode!=null)nc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(S(166));if(n=Rt(or.current),Rt(Xe.current),zr(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ge]=t,(i=r.nodeValue!==n)&&(e=je,e!==null))switch(e.tag){case 3:Er(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Er(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ge]=t,t.stateNode=r}return ae(t),null;case 13:if(V(Q),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(H&&Se!==null&&t.mode&1&&!(t.flags&128))ku(),mn(),t.flags|=98560,i=!1;else if(i=zr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(S(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(S(317));i[Ge]=t}else mn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ae(t),i=!1}else Ae!==null&&(Ji(Ae),Ae=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Q.current&1?te===0&&(te=3):Bo())),t.updateQueue!==null&&(t.flags|=4),ae(t),null);case 4:return gn(),Vi(e,t),e===null&&nr(t.stateNode.containerInfo),ae(t),null;case 10:return No(t.type._context),ae(t),null;case 17:return ve(t.type)&&tl(),ae(t),null;case 19:if(V(Q),i=t.memoizedState,i===null)return ae(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)Mn(i,!1);else{if(te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=al(e),o!==null){for(t.flags|=128,Mn(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return W(Q,Q.current&1|2),t.child}e=e.sibling}i.tail!==null&&J()>xn&&(t.flags|=128,r=!0,Mn(i,!1),t.lanes=4194304)}else{if(!r)if(e=al(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Mn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!H)return ae(t),null}else 2*J()-i.renderingStartTime>xn&&n!==1073741824&&(t.flags|=128,r=!0,Mn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=J(),t.sibling=null,n=Q.current,W(Q,r?n&1|2:n&1),t):(ae(t),null);case 22:case 23:return Wo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?we&1073741824&&(ae(t),t.subtreeFlags&6&&(t.flags|=8192)):ae(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function Uf(e,t){switch(wo(t),t.tag){case 1:return ve(t.type)&&tl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return gn(),V(ge),V(ce),Lo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return To(t),null;case 13:if(V(Q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return V(Q),null;case 4:return gn(),null;case 10:return No(t.type._context),null;case 22:case 23:return Wo(),null;case 24:return null;default:return null}}var Pr=!1,ue=!1,Wf=typeof WeakSet=="function"?WeakSet:Set,N=null;function ln(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Y(e,t,r)}else n.current=null}function Hi(e,t,n){try{n()}catch(r){Y(e,t,r)}}var Ys=!1;function Bf(e,t){if(Ei=Jr,e=su(),xo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,u=-1,c=0,y=0,g=e,m=null;t:for(;;){for(var h;g!==n||l!==0&&g.nodeType!==3||(a=o+l),g!==i||r!==0&&g.nodeType!==3||(u=o+r),g.nodeType===3&&(o+=g.nodeValue.length),(h=g.firstChild)!==null;)m=g,g=h;for(;;){if(g===e)break t;if(m===n&&++c===l&&(a=o),m===i&&++y===r&&(u=o),(h=g.nextSibling)!==null)break;g=m,m=g.parentNode}g=h}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(zi={focusedElem:e,selectionRange:n},Jr=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var x=v.memoizedProps,T=v.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?x:De(t.type,x),T);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(k){Y(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return v=Ys,Ys=!1,v}function Qn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Hi(t,n,i)}l=l.next}while(l!==r)}}function Nl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Qi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function rc(e){var t=e.alternate;t!==null&&(e.alternate=null,rc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ge],delete t[lr],delete t[Pi],delete t[Cf],delete t[Nf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function lc(e){return e.tag===5||e.tag===3||e.tag===4}function Xs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ki(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=el));else if(r!==4&&(e=e.child,e!==null))for(Ki(e,t,n),e=e.sibling;e!==null;)Ki(e,t,n),e=e.sibling}function Gi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Gi(e,t,n),e=e.sibling;e!==null;)Gi(e,t,n),e=e.sibling}var le=null,$e=!1;function st(e,t,n){for(n=n.child;n!==null;)ic(e,t,n),n=n.sibling}function ic(e,t,n){if(Ye&&typeof Ye.onCommitFiberUnmount=="function")try{Ye.onCommitFiberUnmount(gl,n)}catch{}switch(n.tag){case 5:ue||ln(n,t);case 6:var r=le,l=$e;le=null,st(e,t,n),le=r,$e=l,le!==null&&($e?(e=le,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):le.removeChild(n.stateNode));break;case 18:le!==null&&($e?(e=le,n=n.stateNode,e.nodeType===8?Xl(e.parentNode,n):e.nodeType===1&&Xl(e,n),bn(e)):Xl(le,n.stateNode));break;case 4:r=le,l=$e,le=n.stateNode.containerInfo,$e=!0,st(e,t,n),le=r,$e=l;break;case 0:case 11:case 14:case 15:if(!ue&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Hi(n,t,o),l=l.next}while(l!==r)}st(e,t,n);break;case 1:if(!ue&&(ln(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Y(n,t,a)}st(e,t,n);break;case 21:st(e,t,n);break;case 22:n.mode&1?(ue=(r=ue)||n.memoizedState!==null,st(e,t,n),ue=r):st(e,t,n);break;default:st(e,t,n)}}function Zs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Wf),t.forEach(function(r){var l=Jf.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Fe(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var i=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:le=a.stateNode,$e=!1;break e;case 3:le=a.stateNode.containerInfo,$e=!0;break e;case 4:le=a.stateNode.containerInfo,$e=!0;break e}a=a.return}if(le===null)throw Error(S(160));ic(i,o,l),le=null,$e=!1;var u=l.alternate;u!==null&&(u.return=null),l.return=null}catch(c){Y(l,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)oc(t,e),t=t.sibling}function oc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Fe(t,e),Qe(e),r&4){try{Qn(3,e,e.return),Nl(3,e)}catch(x){Y(e,e.return,x)}try{Qn(5,e,e.return)}catch(x){Y(e,e.return,x)}}break;case 1:Fe(t,e),Qe(e),r&512&&n!==null&&ln(n,n.return);break;case 5:if(Fe(t,e),Qe(e),r&512&&n!==null&&ln(n,n.return),e.flags&32){var l=e.stateNode;try{Xn(l,"")}catch(x){Y(e,e.return,x)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,a=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&za(l,i),gi(a,o);var c=gi(a,i);for(o=0;o<u.length;o+=2){var y=u[o],g=u[o+1];y==="style"?Ra(l,g):y==="dangerouslySetInnerHTML"?Pa(l,g):y==="children"?Xn(l,g):io(l,y,g,c)}switch(a){case"input":fi(l,i);break;case"textarea":Ta(l,i);break;case"select":var m=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?sn(l,!!i.multiple,h,!1):m!==!!i.multiple&&(i.defaultValue!=null?sn(l,!!i.multiple,i.defaultValue,!0):sn(l,!!i.multiple,i.multiple?[]:"",!1))}l[lr]=i}catch(x){Y(e,e.return,x)}}break;case 6:if(Fe(t,e),Qe(e),r&4){if(e.stateNode===null)throw Error(S(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(x){Y(e,e.return,x)}}break;case 3:if(Fe(t,e),Qe(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{bn(t.containerInfo)}catch(x){Y(e,e.return,x)}break;case 4:Fe(t,e),Qe(e);break;case 13:Fe(t,e),Qe(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(Ao=J())),r&4&&Zs(e);break;case 22:if(y=n!==null&&n.memoizedState!==null,e.mode&1?(ue=(c=ue)||y,Fe(t,e),ue=c):Fe(t,e),Qe(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!y&&e.mode&1)for(N=e,y=e.child;y!==null;){for(g=N=y;N!==null;){switch(m=N,h=m.child,m.tag){case 0:case 11:case 14:case 15:Qn(4,m,m.return);break;case 1:ln(m,m.return);var v=m.stateNode;if(typeof v.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(x){Y(r,n,x)}}break;case 5:ln(m,m.return);break;case 22:if(m.memoizedState!==null){qs(g);continue}}h!==null?(h.return=m,N=h):qs(g)}y=y.sibling}e:for(y=null,g=e;;){if(g.tag===5){if(y===null){y=g;try{l=g.stateNode,c?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=g.stateNode,u=g.memoizedProps.style,o=u!=null&&u.hasOwnProperty("display")?u.display:null,a.style.display=Ma("display",o))}catch(x){Y(e,e.return,x)}}}else if(g.tag===6){if(y===null)try{g.stateNode.nodeValue=c?"":g.memoizedProps}catch(x){Y(e,e.return,x)}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===e)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break e;for(;g.sibling===null;){if(g.return===null||g.return===e)break e;y===g&&(y=null),g=g.return}y===g&&(y=null),g.sibling.return=g.return,g=g.sibling}}break;case 19:Fe(t,e),Qe(e),r&4&&Zs(e);break;case 21:break;default:Fe(t,e),Qe(e)}}function Qe(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(lc(n)){var r=n;break e}n=n.return}throw Error(S(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Xn(l,""),r.flags&=-33);var i=Xs(e);Gi(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,a=Xs(e);Ki(e,a,o);break;default:throw Error(S(161))}}catch(u){Y(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Vf(e,t,n){N=e,sc(e)}function sc(e,t,n){for(var r=(e.mode&1)!==0;N!==null;){var l=N,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||Pr;if(!o){var a=l.alternate,u=a!==null&&a.memoizedState!==null||ue;a=Pr;var c=ue;if(Pr=o,(ue=u)&&!c)for(N=l;N!==null;)o=N,u=o.child,o.tag===22&&o.memoizedState!==null?bs(l):u!==null?(u.return=o,N=u):bs(l);for(;i!==null;)N=i,sc(i),i=i.sibling;N=l,Pr=a,ue=c}Js(e)}else l.subtreeFlags&8772&&i!==null?(i.return=l,N=i):Js(e)}}function Js(e){for(;N!==null;){var t=N;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ue||Nl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ue)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:De(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Os(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Os(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var y=c.memoizedState;if(y!==null){var g=y.dehydrated;g!==null&&bn(g)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(S(163))}ue||t.flags&512&&Qi(t)}catch(m){Y(t,t.return,m)}}if(t===e){N=null;break}if(n=t.sibling,n!==null){n.return=t.return,N=n;break}N=t.return}}function qs(e){for(;N!==null;){var t=N;if(t===e){N=null;break}var n=t.sibling;if(n!==null){n.return=t.return,N=n;break}N=t.return}}function bs(e){for(;N!==null;){var t=N;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Nl(4,t)}catch(u){Y(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(u){Y(t,l,u)}}var i=t.return;try{Qi(t)}catch(u){Y(t,i,u)}break;case 5:var o=t.return;try{Qi(t)}catch(u){Y(t,o,u)}}}catch(u){Y(t,t.return,u)}if(t===e){N=null;break}var a=t.sibling;if(a!==null){a.return=t.return,N=a;break}N=t.return}}var Hf=Math.ceil,dl=it.ReactCurrentDispatcher,Do=it.ReactCurrentOwner,Pe=it.ReactCurrentBatchConfig,D=0,re=null,q=null,ie=0,we=0,on=Nt(0),te=0,cr=null,At=0,_l=0,$o=0,Kn=null,me=null,Ao=0,xn=1/0,Ze=null,fl=!1,Yi=null,xt=null,Mr=!1,pt=null,pl=0,Gn=0,Xi=null,Vr=-1,Hr=0;function fe(){return D&6?J():Vr!==-1?Vr:Vr=J()}function kt(e){return e.mode&1?D&2&&ie!==0?ie&-ie:Ef.transition!==null?(Hr===0&&(Hr=Qa()),Hr):(e=$,e!==0||(e=window.event,e=e===void 0?16:qa(e.type)),e):1}function We(e,t,n,r){if(50<Gn)throw Gn=0,Xi=null,Error(S(185));fr(e,n,r),(!(D&2)||e!==re)&&(e===re&&(!(D&2)&&(_l|=n),te===4&&dt(e,ie)),xe(e,r),n===1&&D===0&&!(t.mode&1)&&(xn=J()+500,Sl&&_t()))}function xe(e,t){var n=e.callbackNode;_d(e,t);var r=Zr(e,e===re?ie:0);if(r===0)n!==null&&as(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&as(n),t===1)e.tag===0?_f(ea.bind(null,e)):gu(ea.bind(null,e)),Sf(function(){!(D&6)&&_t()}),n=null;else{switch(Ka(r)){case 1:n=co;break;case 4:n=Va;break;case 16:n=Xr;break;case 536870912:n=Ha;break;default:n=Xr}n=mc(n,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ac(e,t){if(Vr=-1,Hr=0,D&6)throw Error(S(327));var n=e.callbackNode;if(fn()&&e.callbackNode!==n)return null;var r=Zr(e,e===re?ie:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=hl(e,r);else{t=r;var l=D;D|=2;var i=cc();(re!==e||ie!==t)&&(Ze=null,xn=J()+500,It(e,t));do try{Gf();break}catch(a){uc(e,a)}while(!0);Co(),dl.current=i,D=l,q!==null?t=0:(re=null,ie=0,t=te)}if(t!==0){if(t===2&&(l=Si(e),l!==0&&(r=l,t=Zi(e,l))),t===1)throw n=cr,It(e,0),dt(e,r),xe(e,J()),n;if(t===6)dt(e,r);else{if(l=e.current.alternate,!(r&30)&&!Qf(l)&&(t=hl(e,r),t===2&&(i=Si(e),i!==0&&(r=i,t=Zi(e,i))),t===1))throw n=cr,It(e,0),dt(e,r),xe(e,J()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(S(345));case 2:Tt(e,me,Ze);break;case 3:if(dt(e,r),(r&130023424)===r&&(t=Ao+500-J(),10<t)){if(Zr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){fe(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Li(Tt.bind(null,e,me,Ze),t);break}Tt(e,me,Ze);break;case 4:if(dt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-Ue(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=J()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Hf(r/1960))-r,10<r){e.timeoutHandle=Li(Tt.bind(null,e,me,Ze),r);break}Tt(e,me,Ze);break;case 5:Tt(e,me,Ze);break;default:throw Error(S(329))}}}return xe(e,J()),e.callbackNode===n?ac.bind(null,e):null}function Zi(e,t){var n=Kn;return e.current.memoizedState.isDehydrated&&(It(e,t).flags|=256),e=hl(e,t),e!==2&&(t=me,me=n,t!==null&&Ji(t)),e}function Ji(e){me===null?me=e:me.push.apply(me,e)}function Qf(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],i=l.getSnapshot;l=l.value;try{if(!Be(i(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function dt(e,t){for(t&=~$o,t&=~_l,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ue(t),r=1<<n;e[n]=-1,t&=~r}}function ea(e){if(D&6)throw Error(S(327));fn();var t=Zr(e,0);if(!(t&1))return xe(e,J()),null;var n=hl(e,t);if(e.tag!==0&&n===2){var r=Si(e);r!==0&&(t=r,n=Zi(e,r))}if(n===1)throw n=cr,It(e,0),dt(e,t),xe(e,J()),n;if(n===6)throw Error(S(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Tt(e,me,Ze),xe(e,J()),null}function Uo(e,t){var n=D;D|=1;try{return e(t)}finally{D=n,D===0&&(xn=J()+500,Sl&&_t())}}function Ut(e){pt!==null&&pt.tag===0&&!(D&6)&&fn();var t=D;D|=1;var n=Pe.transition,r=$;try{if(Pe.transition=null,$=1,e)return e()}finally{$=r,Pe.transition=n,D=t,!(D&6)&&_t()}}function Wo(){we=on.current,V(on)}function It(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,wf(n)),q!==null)for(n=q.return;n!==null;){var r=n;switch(wo(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&tl();break;case 3:gn(),V(ge),V(ce),Lo();break;case 5:To(r);break;case 4:gn();break;case 13:V(Q);break;case 19:V(Q);break;case 10:No(r.type._context);break;case 22:case 23:Wo()}n=n.return}if(re=e,q=e=wt(e.current,null),ie=we=t,te=0,cr=null,$o=_l=At=0,me=Kn=null,Mt!==null){for(t=0;t<Mt.length;t++)if(n=Mt[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=l,r.next=o}n.pending=r}Mt=null}return e}function uc(e,t){do{var n=q;try{if(Co(),Ur.current=cl,ul){for(var r=K.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}ul=!1}if($t=0,ne=ee=K=null,Hn=!1,sr=0,Do.current=null,n===null||n.return===null){te=1,cr=t,q=null;break}e:{var i=e,o=n.return,a=n,u=t;if(t=ie,a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=u,y=a,g=y.tag;if(!(y.mode&1)&&(g===0||g===11||g===15)){var m=y.alternate;m?(y.updateQueue=m.updateQueue,y.memoizedState=m.memoizedState,y.lanes=m.lanes):(y.updateQueue=null,y.memoizedState=null)}var h=Ws(o);if(h!==null){h.flags&=-257,Bs(h,o,a,i,t),h.mode&1&&Us(i,c,t),t=h,u=c;var v=t.updateQueue;if(v===null){var x=new Set;x.add(u),t.updateQueue=x}else v.add(u);break e}else{if(!(t&1)){Us(i,c,t),Bo();break e}u=Error(S(426))}}else if(H&&a.mode&1){var T=Ws(o);if(T!==null){!(T.flags&65536)&&(T.flags|=256),Bs(T,o,a,i,t),So(vn(u,a));break e}}i=u=vn(u,a),te!==4&&(te=2),Kn===null?Kn=[i]:Kn.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var f=Ku(i,u,t);Is(i,f);break e;case 1:a=u;var d=i.type,p=i.stateNode;if(!(i.flags&128)&&(typeof d.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(xt===null||!xt.has(p)))){i.flags|=65536,t&=-t,i.lanes|=t;var k=Gu(i,a,t);Is(i,k);break e}}i=i.return}while(i!==null)}fc(n)}catch(j){t=j,q===n&&n!==null&&(q=n=n.return);continue}break}while(!0)}function cc(){var e=dl.current;return dl.current=cl,e===null?cl:e}function Bo(){(te===0||te===3||te===2)&&(te=4),re===null||!(At&268435455)&&!(_l&268435455)||dt(re,ie)}function hl(e,t){var n=D;D|=2;var r=cc();(re!==e||ie!==t)&&(Ze=null,It(e,t));do try{Kf();break}catch(l){uc(e,l)}while(!0);if(Co(),D=n,dl.current=r,q!==null)throw Error(S(261));return re=null,ie=0,te}function Kf(){for(;q!==null;)dc(q)}function Gf(){for(;q!==null&&!gd();)dc(q)}function dc(e){var t=hc(e.alternate,e,we);e.memoizedProps=e.pendingProps,t===null?fc(e):q=t,Do.current=null}function fc(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Uf(n,t),n!==null){n.flags&=32767,q=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{te=6,q=null;return}}else if(n=Af(n,t,we),n!==null){q=n;return}if(t=t.sibling,t!==null){q=t;return}q=t=e}while(t!==null);te===0&&(te=5)}function Tt(e,t,n){var r=$,l=Pe.transition;try{Pe.transition=null,$=1,Yf(e,t,n,r)}finally{Pe.transition=l,$=r}return null}function Yf(e,t,n,r){do fn();while(pt!==null);if(D&6)throw Error(S(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(S(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Ed(e,i),e===re&&(q=re=null,ie=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Mr||(Mr=!0,mc(Xr,function(){return fn(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Pe.transition,Pe.transition=null;var o=$;$=1;var a=D;D|=4,Do.current=null,Bf(e,n),oc(n,e),hf(zi),Jr=!!Ei,zi=Ei=null,e.current=n,Vf(n),vd(),D=a,$=o,Pe.transition=i}else e.current=n;if(Mr&&(Mr=!1,pt=e,pl=l),i=e.pendingLanes,i===0&&(xt=null),wd(n.stateNode),xe(e,J()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(fl)throw fl=!1,e=Yi,Yi=null,e;return pl&1&&e.tag!==0&&fn(),i=e.pendingLanes,i&1?e===Xi?Gn++:(Gn=0,Xi=e):Gn=0,_t(),null}function fn(){if(pt!==null){var e=Ka(pl),t=Pe.transition,n=$;try{if(Pe.transition=null,$=16>e?16:e,pt===null)var r=!1;else{if(e=pt,pt=null,pl=0,D&6)throw Error(S(331));var l=D;for(D|=4,N=e.current;N!==null;){var i=N,o=i.child;if(N.flags&16){var a=i.deletions;if(a!==null){for(var u=0;u<a.length;u++){var c=a[u];for(N=c;N!==null;){var y=N;switch(y.tag){case 0:case 11:case 15:Qn(8,y,i)}var g=y.child;if(g!==null)g.return=y,N=g;else for(;N!==null;){y=N;var m=y.sibling,h=y.return;if(rc(y),y===c){N=null;break}if(m!==null){m.return=h,N=m;break}N=h}}}var v=i.alternate;if(v!==null){var x=v.child;if(x!==null){v.child=null;do{var T=x.sibling;x.sibling=null,x=T}while(x!==null)}}N=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,N=o;else e:for(;N!==null;){if(i=N,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Qn(9,i,i.return)}var f=i.sibling;if(f!==null){f.return=i.return,N=f;break e}N=i.return}}var d=e.current;for(N=d;N!==null;){o=N;var p=o.child;if(o.subtreeFlags&2064&&p!==null)p.return=o,N=p;else e:for(o=d;N!==null;){if(a=N,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Nl(9,a)}}catch(j){Y(a,a.return,j)}if(a===o){N=null;break e}var k=a.sibling;if(k!==null){k.return=a.return,N=k;break e}N=a.return}}if(D=l,_t(),Ye&&typeof Ye.onPostCommitFiberRoot=="function")try{Ye.onPostCommitFiberRoot(gl,e)}catch{}r=!0}return r}finally{$=n,Pe.transition=t}}return!1}function ta(e,t,n){t=vn(n,t),t=Ku(e,t,1),e=vt(e,t,1),t=fe(),e!==null&&(fr(e,1,t),xe(e,t))}function Y(e,t,n){if(e.tag===3)ta(e,e,n);else for(;t!==null;){if(t.tag===3){ta(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(xt===null||!xt.has(r))){e=vn(n,e),e=Gu(t,e,1),t=vt(t,e,1),e=fe(),t!==null&&(fr(t,1,e),xe(t,e));break}}t=t.return}}function Xf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=fe(),e.pingedLanes|=e.suspendedLanes&n,re===e&&(ie&n)===n&&(te===4||te===3&&(ie&130023424)===ie&&500>J()-Ao?It(e,0):$o|=n),xe(e,t)}function pc(e,t){t===0&&(e.mode&1?(t=Sr,Sr<<=1,!(Sr&130023424)&&(Sr=4194304)):t=1);var n=fe();e=rt(e,t),e!==null&&(fr(e,t,n),xe(e,n))}function Zf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),pc(e,n)}function Jf(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),pc(e,n)}var hc;hc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ge.current)ye=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ye=!1,$f(e,t,n);ye=!!(e.flags&131072)}else ye=!1,H&&t.flags&1048576&&vu(t,ll,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Br(e,t),e=t.pendingProps;var l=hn(t,ce.current);dn(t,n),l=Mo(null,t,r,e,l,n);var i=Ro();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ve(r)?(i=!0,nl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Eo(t),l.updater=Cl,t.stateNode=l,l._reactInternals=t,Di(t,r,e,n),t=Ui(null,t,r,!0,i,n)):(t.tag=0,H&&i&&ko(t),de(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Br(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=bf(r),e=De(r,e),l){case 0:t=Ai(null,t,r,e,n);break e;case 1:t=Qs(null,t,r,e,n);break e;case 11:t=Vs(null,t,r,e,n);break e;case 14:t=Hs(null,t,r,De(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Ai(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Qs(e,t,r,l,n);case 3:e:{if(Ju(t),e===null)throw Error(S(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Cu(e,t),sl(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=vn(Error(S(423)),t),t=Ks(e,t,r,n,l);break e}else if(r!==l){l=vn(Error(S(424)),t),t=Ks(e,t,r,n,l);break e}else for(Se=gt(t.stateNode.containerInfo.firstChild),je=t,H=!0,Ae=null,n=Su(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mn(),r===l){t=lt(e,t,n);break e}de(e,t,r,n)}t=t.child}return t;case 5:return Nu(t),e===null&&Ii(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Ti(r,l)?o=null:i!==null&&Ti(r,i)&&(t.flags|=32),Zu(e,t),de(e,t,o,n),t.child;case 6:return e===null&&Ii(t),null;case 13:return qu(e,t,n);case 4:return zo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=yn(t,null,r,n):de(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Vs(e,t,r,l,n);case 7:return de(e,t,t.pendingProps,n),t.child;case 8:return de(e,t,t.pendingProps.children,n),t.child;case 12:return de(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,W(il,r._currentValue),r._currentValue=o,i!==null)if(Be(i.value,o)){if(i.children===l.children&&!ge.current){t=lt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=et(-1,n&-n),u.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var y=c.pending;y===null?u.next=u:(u.next=y.next,y.next=u),c.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Oi(i.return,n,t),a.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(S(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Oi(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}de(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,dn(t,n),l=Me(l),r=r(l),t.flags|=1,de(e,t,r,n),t.child;case 14:return r=t.type,l=De(r,t.pendingProps),l=De(r.type,l),Hs(e,t,r,l,n);case 15:return Yu(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Br(e,t),t.tag=1,ve(r)?(e=!0,nl(t)):e=!1,dn(t,n),Qu(t,r,l),Di(t,r,l,n),Ui(null,t,r,!0,e,n);case 19:return bu(e,t,n);case 22:return Xu(e,t,n)}throw Error(S(156,t.tag))};function mc(e,t){return Ba(e,t)}function qf(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Le(e,t,n,r){return new qf(e,t,n,r)}function Vo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function bf(e){if(typeof e=="function")return Vo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===so)return 11;if(e===ao)return 14}return 2}function wt(e,t){var n=e.alternate;return n===null?(n=Le(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Qr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Vo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Xt:return Ot(n.children,l,i,t);case oo:o=8,l|=8;break;case si:return e=Le(12,n,t,l|2),e.elementType=si,e.lanes=i,e;case ai:return e=Le(13,n,t,l),e.elementType=ai,e.lanes=i,e;case ui:return e=Le(19,n,t,l),e.elementType=ui,e.lanes=i,e;case Na:return El(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ja:o=10;break e;case Ca:o=9;break e;case so:o=11;break e;case ao:o=14;break e;case at:o=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=Le(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Ot(e,t,n,r){return e=Le(7,e,r,t),e.lanes=n,e}function El(e,t,n,r){return e=Le(22,e,r,t),e.elementType=Na,e.lanes=n,e.stateNode={isHidden:!1},e}function ri(e,t,n){return e=Le(6,e,null,t),e.lanes=n,e}function li(e,t,n){return t=Le(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ep(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$l(0),this.expirationTimes=$l(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$l(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ho(e,t,n,r,l,i,o,a,u){return e=new ep(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Le(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Eo(i),e}function tp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Yt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function yc(e){if(!e)return jt;e=e._reactInternals;e:{if(Bt(e)!==e||e.tag!==1)throw Error(S(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ve(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(S(171))}if(e.tag===1){var n=e.type;if(ve(n))return yu(e,n,t)}return t}function gc(e,t,n,r,l,i,o,a,u){return e=Ho(n,r,!0,e,l,i,o,a,u),e.context=yc(null),n=e.current,r=fe(),l=kt(n),i=et(r,l),i.callback=t??null,vt(n,i,l),e.current.lanes=l,fr(e,l,r),xe(e,r),e}function zl(e,t,n,r){var l=t.current,i=fe(),o=kt(l);return n=yc(n),t.context===null?t.context=n:t.pendingContext=n,t=et(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=vt(l,t,o),e!==null&&(We(e,l,o,i),Ar(e,l,o)),o}function ml(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function na(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Qo(e,t){na(e,t),(e=e.alternate)&&na(e,t)}function np(){return null}var vc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ko(e){this._internalRoot=e}Tl.prototype.render=Ko.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(S(409));zl(e,t,null,null)};Tl.prototype.unmount=Ko.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ut(function(){zl(null,e,null,null)}),t[nt]=null}};function Tl(e){this._internalRoot=e}Tl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xa();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ct.length&&t!==0&&t<ct[n].priority;n++);ct.splice(n,0,e),n===0&&Ja(e)}};function Go(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ll(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function ra(){}function rp(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var c=ml(o);i.call(c)}}var o=gc(t,r,e,0,null,!1,!1,"",ra);return e._reactRootContainer=o,e[nt]=o.current,nr(e.nodeType===8?e.parentNode:e),Ut(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var a=r;r=function(){var c=ml(u);a.call(c)}}var u=Ho(e,0,!1,null,null,!1,!1,"",ra);return e._reactRootContainer=u,e[nt]=u.current,nr(e.nodeType===8?e.parentNode:e),Ut(function(){zl(t,u,n,r)}),u}function Pl(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var a=l;l=function(){var u=ml(o);a.call(u)}}zl(t,o,e,l)}else o=rp(n,t,e,l,r);return ml(o)}Ga=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Dn(t.pendingLanes);n!==0&&(fo(t,n|1),xe(t,J()),!(D&6)&&(xn=J()+500,_t()))}break;case 13:Ut(function(){var r=rt(e,1);if(r!==null){var l=fe();We(r,e,1,l)}}),Qo(e,1)}};po=function(e){if(e.tag===13){var t=rt(e,134217728);if(t!==null){var n=fe();We(t,e,134217728,n)}Qo(e,134217728)}};Ya=function(e){if(e.tag===13){var t=kt(e),n=rt(e,t);if(n!==null){var r=fe();We(n,e,t,r)}Qo(e,t)}};Xa=function(){return $};Za=function(e,t){var n=$;try{return $=e,t()}finally{$=n}};xi=function(e,t,n){switch(t){case"input":if(fi(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=wl(r);if(!l)throw Error(S(90));Ea(r),fi(r,l)}}}break;case"textarea":Ta(e,n);break;case"select":t=n.value,t!=null&&sn(e,!!n.multiple,t,!1)}};Fa=Uo;Da=Ut;var lp={usingClientEntryPoint:!1,Events:[hr,bt,wl,Ia,Oa,Uo]},Rn={findFiberByHostInstance:Pt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ip={bundleType:Rn.bundleType,version:Rn.version,rendererPackageName:Rn.rendererPackageName,rendererConfig:Rn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:it.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ua(e),e===null?null:e.stateNode},findFiberByHostInstance:Rn.findFiberByHostInstance||np,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Rr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Rr.isDisabled&&Rr.supportsFiber)try{gl=Rr.inject(ip),Ye=Rr}catch{}}Ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lp;Ne.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Go(t))throw Error(S(200));return tp(e,t,null,n)};Ne.createRoot=function(e,t){if(!Go(e))throw Error(S(299));var n=!1,r="",l=vc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Ho(e,1,!1,null,null,n,!1,r,l),e[nt]=t.current,nr(e.nodeType===8?e.parentNode:e),new Ko(t)};Ne.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(S(188)):(e=Object.keys(e).join(","),Error(S(268,e)));return e=Ua(t),e=e===null?null:e.stateNode,e};Ne.flushSync=function(e){return Ut(e)};Ne.hydrate=function(e,t,n){if(!Ll(t))throw Error(S(200));return Pl(null,e,t,!0,n)};Ne.hydrateRoot=function(e,t,n){if(!Go(e))throw Error(S(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=vc;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=gc(t,null,e,1,n??null,l,!1,i,o),e[nt]=t.current,nr(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new Tl(t)};Ne.render=function(e,t,n){if(!Ll(t))throw Error(S(200));return Pl(null,e,t,!1,n)};Ne.unmountComponentAtNode=function(e){if(!Ll(e))throw Error(S(40));return e._reactRootContainer?(Ut(function(){Pl(null,null,e,!1,function(){e._reactRootContainer=null,e[nt]=null})}),!0):!1};Ne.unstable_batchedUpdates=Uo;Ne.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ll(n))throw Error(S(200));if(e==null||e._reactInternals===void 0)throw Error(S(38));return Pl(e,t,n,!1,r)};Ne.version="18.3.1-next-f1338f8080-20240426";function xc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xc)}catch(e){console.error(e)}}xc(),xa.exports=Ne;var op=xa.exports,kc,la=op;kc=la.createRoot,la.hydrateRoot;const sp=new URLSearchParams(window.location.search),ia=sp.get("token");ia&&(localStorage.setItem("nyxora_token",ia),window.history.replaceState({},document.title,window.location.pathname));const ap=()=>localStorage.getItem("nyxora_token")||"",up="";async function b(e,t){const n=ap(),r=new Headers(t==null?void 0:t.headers);n&&r.set("x-nyxora-token",n);const l=typeof e=="string"&&e.startsWith("/")?`${up}${e}`:e;return fetch(l,{...t,headers:r})}/**
|
|
40
|
+
`+i.stack}return{value:e,source:t,stack:l,digest:null}}function ti(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function $i(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Of=typeof WeakMap=="function"?WeakMap:Map;function Ku(e,t,n){n=et(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){fl||(fl=!0,Yi=r),$i(e,t)},n}function Gu(e,t,n){n=et(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){$i(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){$i(e,t),typeof r!="function"&&(xt===null?xt=new Set([this]):xt.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Us(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Of;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Xf.bind(null,e,t,n),t.then(e,e))}function Ws(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Bs(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=et(-1,1),t.tag=2,vt(n,t,1))),n.lanes|=1),e)}var Ff=it.ReactCurrentOwner,ye=!1;function de(e,t,n,r){t.child=e===null?Su(t,null,n,r):yn(t,e.child,n,r)}function Vs(e,t,n,r,l){n=n.render;var i=t.ref;return dn(t,l),r=Mo(e,t,n,r,i,l),n=Ro(),e!==null&&!ye?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,lt(e,t,l)):(H&&n&&ko(t),t.flags|=1,de(e,t,r,l),t.child)}function Hs(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!Vo(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Yu(e,t,i,r,l)):(e=Qr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:er,n(o,r)&&e.ref===t.ref)return lt(e,t,l)}return t.flags|=1,e=wt(i,r),e.ref=t.ref,e.return=t,t.child=e}function Yu(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(er(i,r)&&e.ref===t.ref)if(ye=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(ye=!0);else return t.lanes=e.lanes,lt(e,t,l)}return Ai(e,t,n,r,l)}function Xu(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},W(on,we),we|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,W(on,we),we|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,W(on,we),we|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,W(on,we),we|=r;return de(e,t,l,n),t.child}function Zu(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ai(e,t,n,r,l){var i=ve(n)?Ft:ce.current;return i=hn(t,i),dn(t,l),n=Mo(e,t,n,r,i,l),r=Ro(),e!==null&&!ye?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,lt(e,t,l)):(H&&r&&ko(t),t.flags|=1,de(e,t,n,l),t.child)}function Qs(e,t,n,r,l){if(ve(n)){var i=!0;nl(t)}else i=!1;if(dn(t,l),t.stateNode===null)Br(e,t),Qu(t,n,r),Di(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var u=o.context,c=n.contextType;typeof c=="object"&&c!==null?c=Me(c):(c=ve(n)?Ft:ce.current,c=hn(t,c));var y=n.getDerivedStateFromProps,g=typeof y=="function"||typeof o.getSnapshotBeforeUpdate=="function";g||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||u!==c)&&As(t,o,r,c),ut=!1;var m=t.memoizedState;o.state=m,sl(t,r,o,l),u=t.memoizedState,a!==r||m!==u||ge.current||ut?(typeof y=="function"&&(Fi(t,n,y,r),u=t.memoizedState),(a=ut||$s(t,n,a,r,m,u,c))?(g||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=c,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Cu(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:De(t.type,a),o.props=c,g=t.pendingProps,m=o.context,u=n.contextType,typeof u=="object"&&u!==null?u=Me(u):(u=ve(n)?Ft:ce.current,u=hn(t,u));var h=n.getDerivedStateFromProps;(y=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==g||m!==u)&&As(t,o,r,u),ut=!1,m=t.memoizedState,o.state=m,sl(t,r,o,l);var v=t.memoizedState;a!==g||m!==v||ge.current||ut?(typeof h=="function"&&(Fi(t,n,h,r),v=t.memoizedState),(c=ut||$s(t,n,c,r,m,v,u)||!1)?(y||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,v,u),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,v,u)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),o.props=r,o.state=v,o.context=u,r=c):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Ui(e,t,n,r,i,l)}function Ui(e,t,n,r,l,i){Zu(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&Ls(t,n,!1),lt(e,t,i);r=t.stateNode,Ff.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=yn(t,e.child,null,i),t.child=yn(t,null,a,i)):de(e,t,a,i),t.memoizedState=r.state,l&&Ls(t,n,!0),t.child}function Ju(e){var t=e.stateNode;t.pendingContext?Ts(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ts(e,t.context,!1),zo(e,t.containerInfo)}function Ks(e,t,n,r,l){return mn(),So(l),t.flags|=256,de(e,t,n,r),t.child}var Wi={dehydrated:null,treeContext:null,retryLane:0};function Bi(e){return{baseLanes:e,cachePool:null,transitions:null}}function qu(e,t,n){var r=t.pendingProps,l=Q.current,i=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(l&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),W(Q,l&1),e===null)return Ii(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=El(o,r,0,null),e=Ot(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Bi(n),t.memoizedState=Wi,e):Fo(t,o));if(l=e.memoizedState,l!==null&&(a=l.dehydrated,a!==null))return Df(e,t,o,r,a,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,a=l.sibling;var u={mode:"hidden",children:r.children};return!(o&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=wt(l,u),r.subtreeFlags=l.subtreeFlags&14680064),a!==null?i=wt(a,i):(i=Ot(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?Bi(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Wi,r}return i=e.child,e=i.sibling,r=wt(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Fo(e,t){return t=El({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Lr(e,t,n,r){return r!==null&&So(r),yn(t,e.child,null,n),e=Fo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Df(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=ti(Error(w(422))),Lr(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=El({mode:"visible",children:r.children},l,0,null),i=Ot(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&yn(t,e.child,null,o),t.child.memoizedState=Bi(o),t.memoizedState=Wi,i);if(!(t.mode&1))return Lr(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(w(419)),r=ti(i,r,void 0),Lr(e,t,o,r)}if(a=(o&e.childLanes)!==0,ye||a){if(r=re,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,rt(e,l),We(r,e,l,-1))}return Bo(),r=ti(Error(w(421))),Lr(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=Zf.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,Se=gt(l.nextSibling),je=t,H=!0,Ae=null,e!==null&&(ze[Te++]=qe,ze[Te++]=be,ze[Te++]=Dt,qe=e.id,be=e.overflow,Dt=t),t=Fo(t,r.children),t.flags|=4096,t)}function Gs(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Oi(e.return,t,n)}function ni(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function bu(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(de(e,t,r.children,n),r=Q.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gs(e,n,t);else if(e.tag===19)Gs(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(W(Q,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&al(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),ni(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&al(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}ni(t,!0,n,null,i);break;case"together":ni(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Br(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function lt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),At|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(w(153));if(t.child!==null){for(e=t.child,n=wt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=wt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function $f(e,t,n){switch(t.tag){case 3:Ju(t),mn();break;case 5:Nu(t);break;case 1:ve(t.type)&&nl(t);break;case 4:zo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;W(il,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(W(Q,Q.current&1),t.flags|=128,null):n&t.child.childLanes?qu(e,t,n):(W(Q,Q.current&1),e=lt(e,t,n),e!==null?e.sibling:null);W(Q,Q.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return bu(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),W(Q,Q.current),r)break;return null;case 22:case 23:return t.lanes=0,Xu(e,t,n)}return lt(e,t,n)}var ec,Vi,tc,nc;ec=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Vi=function(){};tc=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Rt(Xe.current);var i=null;switch(n){case"input":l=di(e,l),r=di(e,r),i=[];break;case"select":l=G({},l,{value:void 0}),r=G({},r,{value:void 0}),i=[];break;case"textarea":l=hi(e,l),r=hi(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=el)}yi(n,r);var o;n=null;for(c in l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&l[c]!=null)if(c==="style"){var a=l[c];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Gn.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(a=l!=null?l[c]:void 0,r.hasOwnProperty(c)&&u!==a&&(u!=null||a!=null))if(c==="style")if(a){for(o in a)!a.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&a[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(i=i||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Gn.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&B("scroll",e),i||a===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};nc=function(e,t,n,r){n!==r&&(t.flags|=4)};function Pn(e,t){if(!H)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ae(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Af(e,t,n){var r=t.pendingProps;switch(wo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ae(t),null;case 1:return ve(t.type)&&tl(),ae(t),null;case 3:return r=t.stateNode,gn(),V(ge),V(ce),Lo(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(zr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ae!==null&&(Ji(Ae),Ae=null))),Vi(e,t),ae(t),null;case 5:To(t);var l=Rt(ir.current);if(n=t.type,e!==null&&t.stateNode!=null)tc(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(w(166));return ae(t),null}if(e=Rt(Xe.current),zr(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Ge]=t,r[rr]=i,e=(t.mode&1)!==0,n){case"dialog":B("cancel",r),B("close",r);break;case"iframe":case"object":case"embed":B("load",r);break;case"video":case"audio":for(l=0;l<Dn.length;l++)B(Dn[l],r);break;case"source":B("error",r);break;case"img":case"image":case"link":B("error",r),B("load",r);break;case"details":B("toggle",r);break;case"input":ns(r,i),B("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},B("invalid",r);break;case"textarea":ls(r,i),B("invalid",r)}yi(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];o==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Er(r.textContent,a,e),l=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Er(r.textContent,a,e),l=["children",""+a]):Gn.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&B("scroll",r)}switch(n){case"input":xr(r),rs(r,i,!0);break;case"textarea":xr(r),is(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=el)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=La(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ge]=t,e[rr]=r,ec(e,t,!1,!1),t.stateNode=e;e:{switch(o=gi(n,r),n){case"dialog":B("cancel",e),B("close",e),l=r;break;case"iframe":case"object":case"embed":B("load",e),l=r;break;case"video":case"audio":for(l=0;l<Dn.length;l++)B(Dn[l],e);l=r;break;case"source":B("error",e),l=r;break;case"img":case"image":case"link":B("error",e),B("load",e),l=r;break;case"details":B("toggle",e),l=r;break;case"input":ns(e,r),l=di(e,r),B("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=G({},r,{value:void 0}),B("invalid",e);break;case"textarea":ls(e,r),l=hi(e,r),B("invalid",e);break;default:l=r}yi(n,l),a=l;for(i in a)if(a.hasOwnProperty(i)){var u=a[i];i==="style"?Ra(e,u):i==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Pa(e,u)):i==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&Yn(e,u):typeof u=="number"&&Yn(e,""+u):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Gn.hasOwnProperty(i)?u!=null&&i==="onScroll"&&B("scroll",e):u!=null&&io(e,i,u,o))}switch(n){case"input":xr(e),rs(e,r,!1);break;case"textarea":xr(e),is(e);break;case"option":r.value!=null&&e.setAttribute("value",""+St(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?sn(e,!!r.multiple,i,!1):r.defaultValue!=null&&sn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=el)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ae(t),null;case 6:if(e&&t.stateNode!=null)nc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(w(166));if(n=Rt(ir.current),Rt(Xe.current),zr(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ge]=t,(i=r.nodeValue!==n)&&(e=je,e!==null))switch(e.tag){case 3:Er(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Er(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ge]=t,t.stateNode=r}return ae(t),null;case 13:if(V(Q),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(H&&Se!==null&&t.mode&1&&!(t.flags&128))ku(),mn(),t.flags|=98560,i=!1;else if(i=zr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(w(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(w(317));i[Ge]=t}else mn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ae(t),i=!1}else Ae!==null&&(Ji(Ae),Ae=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Q.current&1?te===0&&(te=3):Bo())),t.updateQueue!==null&&(t.flags|=4),ae(t),null);case 4:return gn(),Vi(e,t),e===null&&tr(t.stateNode.containerInfo),ae(t),null;case 10:return No(t.type._context),ae(t),null;case 17:return ve(t.type)&&tl(),ae(t),null;case 19:if(V(Q),i=t.memoizedState,i===null)return ae(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)Pn(i,!1);else{if(te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=al(e),o!==null){for(t.flags|=128,Pn(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return W(Q,Q.current&1|2),t.child}e=e.sibling}i.tail!==null&&J()>xn&&(t.flags|=128,r=!0,Pn(i,!1),t.lanes=4194304)}else{if(!r)if(e=al(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Pn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!H)return ae(t),null}else 2*J()-i.renderingStartTime>xn&&n!==1073741824&&(t.flags|=128,r=!0,Pn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=J(),t.sibling=null,n=Q.current,W(Q,r?n&1|2:n&1),t):(ae(t),null);case 22:case 23:return Wo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?we&1073741824&&(ae(t),t.subtreeFlags&6&&(t.flags|=8192)):ae(t),null;case 24:return null;case 25:return null}throw Error(w(156,t.tag))}function Uf(e,t){switch(wo(t),t.tag){case 1:return ve(t.type)&&tl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return gn(),V(ge),V(ce),Lo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return To(t),null;case 13:if(V(Q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(w(340));mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return V(Q),null;case 4:return gn(),null;case 10:return No(t.type._context),null;case 22:case 23:return Wo(),null;case 24:return null;default:return null}}var Pr=!1,ue=!1,Wf=typeof WeakSet=="function"?WeakSet:Set,N=null;function ln(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Y(e,t,r)}else n.current=null}function Hi(e,t,n){try{n()}catch(r){Y(e,t,r)}}var Ys=!1;function Bf(e,t){if(Ei=Jr,e=su(),xo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,u=-1,c=0,y=0,g=e,m=null;t:for(;;){for(var h;g!==n||l!==0&&g.nodeType!==3||(a=o+l),g!==i||r!==0&&g.nodeType!==3||(u=o+r),g.nodeType===3&&(o+=g.nodeValue.length),(h=g.firstChild)!==null;)m=g,g=h;for(;;){if(g===e)break t;if(m===n&&++c===l&&(a=o),m===i&&++y===r&&(u=o),(h=g.nextSibling)!==null)break;g=m,m=g.parentNode}g=h}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(zi={focusedElem:e,selectionRange:n},Jr=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var x=v.memoizedProps,T=v.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?x:De(t.type,x),T);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(w(163))}}catch(k){Y(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return v=Ys,Ys=!1,v}function Hn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Hi(t,n,i)}l=l.next}while(l!==r)}}function Nl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Qi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function rc(e){var t=e.alternate;t!==null&&(e.alternate=null,rc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ge],delete t[rr],delete t[Pi],delete t[Cf],delete t[Nf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function lc(e){return e.tag===5||e.tag===3||e.tag===4}function Xs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ki(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=el));else if(r!==4&&(e=e.child,e!==null))for(Ki(e,t,n),e=e.sibling;e!==null;)Ki(e,t,n),e=e.sibling}function Gi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Gi(e,t,n),e=e.sibling;e!==null;)Gi(e,t,n),e=e.sibling}var le=null,$e=!1;function st(e,t,n){for(n=n.child;n!==null;)ic(e,t,n),n=n.sibling}function ic(e,t,n){if(Ye&&typeof Ye.onCommitFiberUnmount=="function")try{Ye.onCommitFiberUnmount(gl,n)}catch{}switch(n.tag){case 5:ue||ln(n,t);case 6:var r=le,l=$e;le=null,st(e,t,n),le=r,$e=l,le!==null&&($e?(e=le,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):le.removeChild(n.stateNode));break;case 18:le!==null&&($e?(e=le,n=n.stateNode,e.nodeType===8?Xl(e.parentNode,n):e.nodeType===1&&Xl(e,n),qn(e)):Xl(le,n.stateNode));break;case 4:r=le,l=$e,le=n.stateNode.containerInfo,$e=!0,st(e,t,n),le=r,$e=l;break;case 0:case 11:case 14:case 15:if(!ue&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Hi(n,t,o),l=l.next}while(l!==r)}st(e,t,n);break;case 1:if(!ue&&(ln(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Y(n,t,a)}st(e,t,n);break;case 21:st(e,t,n);break;case 22:n.mode&1?(ue=(r=ue)||n.memoizedState!==null,st(e,t,n),ue=r):st(e,t,n);break;default:st(e,t,n)}}function Zs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Wf),t.forEach(function(r){var l=Jf.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Fe(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var i=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:le=a.stateNode,$e=!1;break e;case 3:le=a.stateNode.containerInfo,$e=!0;break e;case 4:le=a.stateNode.containerInfo,$e=!0;break e}a=a.return}if(le===null)throw Error(w(160));ic(i,o,l),le=null,$e=!1;var u=l.alternate;u!==null&&(u.return=null),l.return=null}catch(c){Y(l,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)oc(t,e),t=t.sibling}function oc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Fe(t,e),Qe(e),r&4){try{Hn(3,e,e.return),Nl(3,e)}catch(x){Y(e,e.return,x)}try{Hn(5,e,e.return)}catch(x){Y(e,e.return,x)}}break;case 1:Fe(t,e),Qe(e),r&512&&n!==null&&ln(n,n.return);break;case 5:if(Fe(t,e),Qe(e),r&512&&n!==null&&ln(n,n.return),e.flags&32){var l=e.stateNode;try{Yn(l,"")}catch(x){Y(e,e.return,x)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,a=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&za(l,i),gi(a,o);var c=gi(a,i);for(o=0;o<u.length;o+=2){var y=u[o],g=u[o+1];y==="style"?Ra(l,g):y==="dangerouslySetInnerHTML"?Pa(l,g):y==="children"?Yn(l,g):io(l,y,g,c)}switch(a){case"input":fi(l,i);break;case"textarea":Ta(l,i);break;case"select":var m=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?sn(l,!!i.multiple,h,!1):m!==!!i.multiple&&(i.defaultValue!=null?sn(l,!!i.multiple,i.defaultValue,!0):sn(l,!!i.multiple,i.multiple?[]:"",!1))}l[rr]=i}catch(x){Y(e,e.return,x)}}break;case 6:if(Fe(t,e),Qe(e),r&4){if(e.stateNode===null)throw Error(w(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(x){Y(e,e.return,x)}}break;case 3:if(Fe(t,e),Qe(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{qn(t.containerInfo)}catch(x){Y(e,e.return,x)}break;case 4:Fe(t,e),Qe(e);break;case 13:Fe(t,e),Qe(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(Ao=J())),r&4&&Zs(e);break;case 22:if(y=n!==null&&n.memoizedState!==null,e.mode&1?(ue=(c=ue)||y,Fe(t,e),ue=c):Fe(t,e),Qe(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!y&&e.mode&1)for(N=e,y=e.child;y!==null;){for(g=N=y;N!==null;){switch(m=N,h=m.child,m.tag){case 0:case 11:case 14:case 15:Hn(4,m,m.return);break;case 1:ln(m,m.return);var v=m.stateNode;if(typeof v.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(x){Y(r,n,x)}}break;case 5:ln(m,m.return);break;case 22:if(m.memoizedState!==null){qs(g);continue}}h!==null?(h.return=m,N=h):qs(g)}y=y.sibling}e:for(y=null,g=e;;){if(g.tag===5){if(y===null){y=g;try{l=g.stateNode,c?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=g.stateNode,u=g.memoizedProps.style,o=u!=null&&u.hasOwnProperty("display")?u.display:null,a.style.display=Ma("display",o))}catch(x){Y(e,e.return,x)}}}else if(g.tag===6){if(y===null)try{g.stateNode.nodeValue=c?"":g.memoizedProps}catch(x){Y(e,e.return,x)}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===e)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break e;for(;g.sibling===null;){if(g.return===null||g.return===e)break e;y===g&&(y=null),g=g.return}y===g&&(y=null),g.sibling.return=g.return,g=g.sibling}}break;case 19:Fe(t,e),Qe(e),r&4&&Zs(e);break;case 21:break;default:Fe(t,e),Qe(e)}}function Qe(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(lc(n)){var r=n;break e}n=n.return}throw Error(w(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Yn(l,""),r.flags&=-33);var i=Xs(e);Gi(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,a=Xs(e);Ki(e,a,o);break;default:throw Error(w(161))}}catch(u){Y(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Vf(e,t,n){N=e,sc(e)}function sc(e,t,n){for(var r=(e.mode&1)!==0;N!==null;){var l=N,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||Pr;if(!o){var a=l.alternate,u=a!==null&&a.memoizedState!==null||ue;a=Pr;var c=ue;if(Pr=o,(ue=u)&&!c)for(N=l;N!==null;)o=N,u=o.child,o.tag===22&&o.memoizedState!==null?bs(l):u!==null?(u.return=o,N=u):bs(l);for(;i!==null;)N=i,sc(i),i=i.sibling;N=l,Pr=a,ue=c}Js(e)}else l.subtreeFlags&8772&&i!==null?(i.return=l,N=i):Js(e)}}function Js(e){for(;N!==null;){var t=N;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ue||Nl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ue)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:De(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Os(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Os(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var y=c.memoizedState;if(y!==null){var g=y.dehydrated;g!==null&&qn(g)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(w(163))}ue||t.flags&512&&Qi(t)}catch(m){Y(t,t.return,m)}}if(t===e){N=null;break}if(n=t.sibling,n!==null){n.return=t.return,N=n;break}N=t.return}}function qs(e){for(;N!==null;){var t=N;if(t===e){N=null;break}var n=t.sibling;if(n!==null){n.return=t.return,N=n;break}N=t.return}}function bs(e){for(;N!==null;){var t=N;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Nl(4,t)}catch(u){Y(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(u){Y(t,l,u)}}var i=t.return;try{Qi(t)}catch(u){Y(t,i,u)}break;case 5:var o=t.return;try{Qi(t)}catch(u){Y(t,o,u)}}}catch(u){Y(t,t.return,u)}if(t===e){N=null;break}var a=t.sibling;if(a!==null){a.return=t.return,N=a;break}N=t.return}}var Hf=Math.ceil,dl=it.ReactCurrentDispatcher,Do=it.ReactCurrentOwner,Pe=it.ReactCurrentBatchConfig,D=0,re=null,q=null,ie=0,we=0,on=Nt(0),te=0,ur=null,At=0,_l=0,$o=0,Qn=null,me=null,Ao=0,xn=1/0,Ze=null,fl=!1,Yi=null,xt=null,Mr=!1,pt=null,pl=0,Kn=0,Xi=null,Vr=-1,Hr=0;function fe(){return D&6?J():Vr!==-1?Vr:Vr=J()}function kt(e){return e.mode&1?D&2&&ie!==0?ie&-ie:Ef.transition!==null?(Hr===0&&(Hr=Qa()),Hr):(e=$,e!==0||(e=window.event,e=e===void 0?16:qa(e.type)),e):1}function We(e,t,n,r){if(50<Kn)throw Kn=0,Xi=null,Error(w(185));dr(e,n,r),(!(D&2)||e!==re)&&(e===re&&(!(D&2)&&(_l|=n),te===4&&dt(e,ie)),xe(e,r),n===1&&D===0&&!(t.mode&1)&&(xn=J()+500,Sl&&_t()))}function xe(e,t){var n=e.callbackNode;_d(e,t);var r=Zr(e,e===re?ie:0);if(r===0)n!==null&&as(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&as(n),t===1)e.tag===0?_f(ea.bind(null,e)):gu(ea.bind(null,e)),Sf(function(){!(D&6)&&_t()}),n=null;else{switch(Ka(r)){case 1:n=co;break;case 4:n=Va;break;case 16:n=Xr;break;case 536870912:n=Ha;break;default:n=Xr}n=mc(n,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ac(e,t){if(Vr=-1,Hr=0,D&6)throw Error(w(327));var n=e.callbackNode;if(fn()&&e.callbackNode!==n)return null;var r=Zr(e,e===re?ie:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=hl(e,r);else{t=r;var l=D;D|=2;var i=cc();(re!==e||ie!==t)&&(Ze=null,xn=J()+500,It(e,t));do try{Gf();break}catch(a){uc(e,a)}while(!0);Co(),dl.current=i,D=l,q!==null?t=0:(re=null,ie=0,t=te)}if(t!==0){if(t===2&&(l=Si(e),l!==0&&(r=l,t=Zi(e,l))),t===1)throw n=ur,It(e,0),dt(e,r),xe(e,J()),n;if(t===6)dt(e,r);else{if(l=e.current.alternate,!(r&30)&&!Qf(l)&&(t=hl(e,r),t===2&&(i=Si(e),i!==0&&(r=i,t=Zi(e,i))),t===1))throw n=ur,It(e,0),dt(e,r),xe(e,J()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(w(345));case 2:Tt(e,me,Ze);break;case 3:if(dt(e,r),(r&130023424)===r&&(t=Ao+500-J(),10<t)){if(Zr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){fe(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Li(Tt.bind(null,e,me,Ze),t);break}Tt(e,me,Ze);break;case 4:if(dt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-Ue(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=J()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Hf(r/1960))-r,10<r){e.timeoutHandle=Li(Tt.bind(null,e,me,Ze),r);break}Tt(e,me,Ze);break;case 5:Tt(e,me,Ze);break;default:throw Error(w(329))}}}return xe(e,J()),e.callbackNode===n?ac.bind(null,e):null}function Zi(e,t){var n=Qn;return e.current.memoizedState.isDehydrated&&(It(e,t).flags|=256),e=hl(e,t),e!==2&&(t=me,me=n,t!==null&&Ji(t)),e}function Ji(e){me===null?me=e:me.push.apply(me,e)}function Qf(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],i=l.getSnapshot;l=l.value;try{if(!Be(i(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function dt(e,t){for(t&=~$o,t&=~_l,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ue(t),r=1<<n;e[n]=-1,t&=~r}}function ea(e){if(D&6)throw Error(w(327));fn();var t=Zr(e,0);if(!(t&1))return xe(e,J()),null;var n=hl(e,t);if(e.tag!==0&&n===2){var r=Si(e);r!==0&&(t=r,n=Zi(e,r))}if(n===1)throw n=ur,It(e,0),dt(e,t),xe(e,J()),n;if(n===6)throw Error(w(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Tt(e,me,Ze),xe(e,J()),null}function Uo(e,t){var n=D;D|=1;try{return e(t)}finally{D=n,D===0&&(xn=J()+500,Sl&&_t())}}function Ut(e){pt!==null&&pt.tag===0&&!(D&6)&&fn();var t=D;D|=1;var n=Pe.transition,r=$;try{if(Pe.transition=null,$=1,e)return e()}finally{$=r,Pe.transition=n,D=t,!(D&6)&&_t()}}function Wo(){we=on.current,V(on)}function It(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,wf(n)),q!==null)for(n=q.return;n!==null;){var r=n;switch(wo(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&tl();break;case 3:gn(),V(ge),V(ce),Lo();break;case 5:To(r);break;case 4:gn();break;case 13:V(Q);break;case 19:V(Q);break;case 10:No(r.type._context);break;case 22:case 23:Wo()}n=n.return}if(re=e,q=e=wt(e.current,null),ie=we=t,te=0,ur=null,$o=_l=At=0,me=Qn=null,Mt!==null){for(t=0;t<Mt.length;t++)if(n=Mt[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=l,r.next=o}n.pending=r}Mt=null}return e}function uc(e,t){do{var n=q;try{if(Co(),Ur.current=cl,ul){for(var r=K.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}ul=!1}if($t=0,ne=ee=K=null,Vn=!1,or=0,Do.current=null,n===null||n.return===null){te=1,ur=t,q=null;break}e:{var i=e,o=n.return,a=n,u=t;if(t=ie,a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=u,y=a,g=y.tag;if(!(y.mode&1)&&(g===0||g===11||g===15)){var m=y.alternate;m?(y.updateQueue=m.updateQueue,y.memoizedState=m.memoizedState,y.lanes=m.lanes):(y.updateQueue=null,y.memoizedState=null)}var h=Ws(o);if(h!==null){h.flags&=-257,Bs(h,o,a,i,t),h.mode&1&&Us(i,c,t),t=h,u=c;var v=t.updateQueue;if(v===null){var x=new Set;x.add(u),t.updateQueue=x}else v.add(u);break e}else{if(!(t&1)){Us(i,c,t),Bo();break e}u=Error(w(426))}}else if(H&&a.mode&1){var T=Ws(o);if(T!==null){!(T.flags&65536)&&(T.flags|=256),Bs(T,o,a,i,t),So(vn(u,a));break e}}i=u=vn(u,a),te!==4&&(te=2),Qn===null?Qn=[i]:Qn.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var f=Ku(i,u,t);Is(i,f);break e;case 1:a=u;var d=i.type,p=i.stateNode;if(!(i.flags&128)&&(typeof d.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(xt===null||!xt.has(p)))){i.flags|=65536,t&=-t,i.lanes|=t;var k=Gu(i,a,t);Is(i,k);break e}}i=i.return}while(i!==null)}fc(n)}catch(j){t=j,q===n&&n!==null&&(q=n=n.return);continue}break}while(!0)}function cc(){var e=dl.current;return dl.current=cl,e===null?cl:e}function Bo(){(te===0||te===3||te===2)&&(te=4),re===null||!(At&268435455)&&!(_l&268435455)||dt(re,ie)}function hl(e,t){var n=D;D|=2;var r=cc();(re!==e||ie!==t)&&(Ze=null,It(e,t));do try{Kf();break}catch(l){uc(e,l)}while(!0);if(Co(),D=n,dl.current=r,q!==null)throw Error(w(261));return re=null,ie=0,te}function Kf(){for(;q!==null;)dc(q)}function Gf(){for(;q!==null&&!gd();)dc(q)}function dc(e){var t=hc(e.alternate,e,we);e.memoizedProps=e.pendingProps,t===null?fc(e):q=t,Do.current=null}function fc(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Uf(n,t),n!==null){n.flags&=32767,q=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{te=6,q=null;return}}else if(n=Af(n,t,we),n!==null){q=n;return}if(t=t.sibling,t!==null){q=t;return}q=t=e}while(t!==null);te===0&&(te=5)}function Tt(e,t,n){var r=$,l=Pe.transition;try{Pe.transition=null,$=1,Yf(e,t,n,r)}finally{Pe.transition=l,$=r}return null}function Yf(e,t,n,r){do fn();while(pt!==null);if(D&6)throw Error(w(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(w(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Ed(e,i),e===re&&(q=re=null,ie=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Mr||(Mr=!0,mc(Xr,function(){return fn(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Pe.transition,Pe.transition=null;var o=$;$=1;var a=D;D|=4,Do.current=null,Bf(e,n),oc(n,e),hf(zi),Jr=!!Ei,zi=Ei=null,e.current=n,Vf(n),vd(),D=a,$=o,Pe.transition=i}else e.current=n;if(Mr&&(Mr=!1,pt=e,pl=l),i=e.pendingLanes,i===0&&(xt=null),wd(n.stateNode),xe(e,J()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(fl)throw fl=!1,e=Yi,Yi=null,e;return pl&1&&e.tag!==0&&fn(),i=e.pendingLanes,i&1?e===Xi?Kn++:(Kn=0,Xi=e):Kn=0,_t(),null}function fn(){if(pt!==null){var e=Ka(pl),t=Pe.transition,n=$;try{if(Pe.transition=null,$=16>e?16:e,pt===null)var r=!1;else{if(e=pt,pt=null,pl=0,D&6)throw Error(w(331));var l=D;for(D|=4,N=e.current;N!==null;){var i=N,o=i.child;if(N.flags&16){var a=i.deletions;if(a!==null){for(var u=0;u<a.length;u++){var c=a[u];for(N=c;N!==null;){var y=N;switch(y.tag){case 0:case 11:case 15:Hn(8,y,i)}var g=y.child;if(g!==null)g.return=y,N=g;else for(;N!==null;){y=N;var m=y.sibling,h=y.return;if(rc(y),y===c){N=null;break}if(m!==null){m.return=h,N=m;break}N=h}}}var v=i.alternate;if(v!==null){var x=v.child;if(x!==null){v.child=null;do{var T=x.sibling;x.sibling=null,x=T}while(x!==null)}}N=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,N=o;else e:for(;N!==null;){if(i=N,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Hn(9,i,i.return)}var f=i.sibling;if(f!==null){f.return=i.return,N=f;break e}N=i.return}}var d=e.current;for(N=d;N!==null;){o=N;var p=o.child;if(o.subtreeFlags&2064&&p!==null)p.return=o,N=p;else e:for(o=d;N!==null;){if(a=N,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Nl(9,a)}}catch(j){Y(a,a.return,j)}if(a===o){N=null;break e}var k=a.sibling;if(k!==null){k.return=a.return,N=k;break e}N=a.return}}if(D=l,_t(),Ye&&typeof Ye.onPostCommitFiberRoot=="function")try{Ye.onPostCommitFiberRoot(gl,e)}catch{}r=!0}return r}finally{$=n,Pe.transition=t}}return!1}function ta(e,t,n){t=vn(n,t),t=Ku(e,t,1),e=vt(e,t,1),t=fe(),e!==null&&(dr(e,1,t),xe(e,t))}function Y(e,t,n){if(e.tag===3)ta(e,e,n);else for(;t!==null;){if(t.tag===3){ta(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(xt===null||!xt.has(r))){e=vn(n,e),e=Gu(t,e,1),t=vt(t,e,1),e=fe(),t!==null&&(dr(t,1,e),xe(t,e));break}}t=t.return}}function Xf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=fe(),e.pingedLanes|=e.suspendedLanes&n,re===e&&(ie&n)===n&&(te===4||te===3&&(ie&130023424)===ie&&500>J()-Ao?It(e,0):$o|=n),xe(e,t)}function pc(e,t){t===0&&(e.mode&1?(t=Sr,Sr<<=1,!(Sr&130023424)&&(Sr=4194304)):t=1);var n=fe();e=rt(e,t),e!==null&&(dr(e,t,n),xe(e,n))}function Zf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),pc(e,n)}function Jf(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(w(314))}r!==null&&r.delete(t),pc(e,n)}var hc;hc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ge.current)ye=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ye=!1,$f(e,t,n);ye=!!(e.flags&131072)}else ye=!1,H&&t.flags&1048576&&vu(t,ll,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Br(e,t),e=t.pendingProps;var l=hn(t,ce.current);dn(t,n),l=Mo(null,t,r,e,l,n);var i=Ro();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ve(r)?(i=!0,nl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Eo(t),l.updater=Cl,t.stateNode=l,l._reactInternals=t,Di(t,r,e,n),t=Ui(null,t,r,!0,i,n)):(t.tag=0,H&&i&&ko(t),de(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Br(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=bf(r),e=De(r,e),l){case 0:t=Ai(null,t,r,e,n);break e;case 1:t=Qs(null,t,r,e,n);break e;case 11:t=Vs(null,t,r,e,n);break e;case 14:t=Hs(null,t,r,De(r.type,e),n);break e}throw Error(w(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Ai(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Qs(e,t,r,l,n);case 3:e:{if(Ju(t),e===null)throw Error(w(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Cu(e,t),sl(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=vn(Error(w(423)),t),t=Ks(e,t,r,n,l);break e}else if(r!==l){l=vn(Error(w(424)),t),t=Ks(e,t,r,n,l);break e}else for(Se=gt(t.stateNode.containerInfo.firstChild),je=t,H=!0,Ae=null,n=Su(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mn(),r===l){t=lt(e,t,n);break e}de(e,t,r,n)}t=t.child}return t;case 5:return Nu(t),e===null&&Ii(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Ti(r,l)?o=null:i!==null&&Ti(r,i)&&(t.flags|=32),Zu(e,t),de(e,t,o,n),t.child;case 6:return e===null&&Ii(t),null;case 13:return qu(e,t,n);case 4:return zo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=yn(t,null,r,n):de(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Vs(e,t,r,l,n);case 7:return de(e,t,t.pendingProps,n),t.child;case 8:return de(e,t,t.pendingProps.children,n),t.child;case 12:return de(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,W(il,r._currentValue),r._currentValue=o,i!==null)if(Be(i.value,o)){if(i.children===l.children&&!ge.current){t=lt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=et(-1,n&-n),u.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var y=c.pending;y===null?u.next=u:(u.next=y.next,y.next=u),c.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Oi(i.return,n,t),a.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(w(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Oi(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}de(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,dn(t,n),l=Me(l),r=r(l),t.flags|=1,de(e,t,r,n),t.child;case 14:return r=t.type,l=De(r,t.pendingProps),l=De(r.type,l),Hs(e,t,r,l,n);case 15:return Yu(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Br(e,t),t.tag=1,ve(r)?(e=!0,nl(t)):e=!1,dn(t,n),Qu(t,r,l),Di(t,r,l,n),Ui(null,t,r,!0,e,n);case 19:return bu(e,t,n);case 22:return Xu(e,t,n)}throw Error(w(156,t.tag))};function mc(e,t){return Ba(e,t)}function qf(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Le(e,t,n,r){return new qf(e,t,n,r)}function Vo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function bf(e){if(typeof e=="function")return Vo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===so)return 11;if(e===ao)return 14}return 2}function wt(e,t){var n=e.alternate;return n===null?(n=Le(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Qr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Vo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Xt:return Ot(n.children,l,i,t);case oo:o=8,l|=8;break;case si:return e=Le(12,n,t,l|2),e.elementType=si,e.lanes=i,e;case ai:return e=Le(13,n,t,l),e.elementType=ai,e.lanes=i,e;case ui:return e=Le(19,n,t,l),e.elementType=ui,e.lanes=i,e;case Na:return El(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ja:o=10;break e;case Ca:o=9;break e;case so:o=11;break e;case ao:o=14;break e;case at:o=16,r=null;break e}throw Error(w(130,e==null?e:typeof e,""))}return t=Le(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Ot(e,t,n,r){return e=Le(7,e,r,t),e.lanes=n,e}function El(e,t,n,r){return e=Le(22,e,r,t),e.elementType=Na,e.lanes=n,e.stateNode={isHidden:!1},e}function ri(e,t,n){return e=Le(6,e,null,t),e.lanes=n,e}function li(e,t,n){return t=Le(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ep(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$l(0),this.expirationTimes=$l(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$l(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ho(e,t,n,r,l,i,o,a,u){return e=new ep(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Le(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Eo(i),e}function tp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Yt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function yc(e){if(!e)return jt;e=e._reactInternals;e:{if(Bt(e)!==e||e.tag!==1)throw Error(w(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ve(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(w(171))}if(e.tag===1){var n=e.type;if(ve(n))return yu(e,n,t)}return t}function gc(e,t,n,r,l,i,o,a,u){return e=Ho(n,r,!0,e,l,i,o,a,u),e.context=yc(null),n=e.current,r=fe(),l=kt(n),i=et(r,l),i.callback=t??null,vt(n,i,l),e.current.lanes=l,dr(e,l,r),xe(e,r),e}function zl(e,t,n,r){var l=t.current,i=fe(),o=kt(l);return n=yc(n),t.context===null?t.context=n:t.pendingContext=n,t=et(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=vt(l,t,o),e!==null&&(We(e,l,o,i),Ar(e,l,o)),o}function ml(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function na(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Qo(e,t){na(e,t),(e=e.alternate)&&na(e,t)}function np(){return null}var vc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ko(e){this._internalRoot=e}Tl.prototype.render=Ko.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(w(409));zl(e,t,null,null)};Tl.prototype.unmount=Ko.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ut(function(){zl(null,e,null,null)}),t[nt]=null}};function Tl(e){this._internalRoot=e}Tl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xa();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ct.length&&t!==0&&t<ct[n].priority;n++);ct.splice(n,0,e),n===0&&Ja(e)}};function Go(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ll(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function ra(){}function rp(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var c=ml(o);i.call(c)}}var o=gc(t,r,e,0,null,!1,!1,"",ra);return e._reactRootContainer=o,e[nt]=o.current,tr(e.nodeType===8?e.parentNode:e),Ut(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var a=r;r=function(){var c=ml(u);a.call(c)}}var u=Ho(e,0,!1,null,null,!1,!1,"",ra);return e._reactRootContainer=u,e[nt]=u.current,tr(e.nodeType===8?e.parentNode:e),Ut(function(){zl(t,u,n,r)}),u}function Pl(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var a=l;l=function(){var u=ml(o);a.call(u)}}zl(t,o,e,l)}else o=rp(n,t,e,l,r);return ml(o)}Ga=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Fn(t.pendingLanes);n!==0&&(fo(t,n|1),xe(t,J()),!(D&6)&&(xn=J()+500,_t()))}break;case 13:Ut(function(){var r=rt(e,1);if(r!==null){var l=fe();We(r,e,1,l)}}),Qo(e,1)}};po=function(e){if(e.tag===13){var t=rt(e,134217728);if(t!==null){var n=fe();We(t,e,134217728,n)}Qo(e,134217728)}};Ya=function(e){if(e.tag===13){var t=kt(e),n=rt(e,t);if(n!==null){var r=fe();We(n,e,t,r)}Qo(e,t)}};Xa=function(){return $};Za=function(e,t){var n=$;try{return $=e,t()}finally{$=n}};xi=function(e,t,n){switch(t){case"input":if(fi(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=wl(r);if(!l)throw Error(w(90));Ea(r),fi(r,l)}}}break;case"textarea":Ta(e,n);break;case"select":t=n.value,t!=null&&sn(e,!!n.multiple,t,!1)}};Fa=Uo;Da=Ut;var lp={usingClientEntryPoint:!1,Events:[pr,bt,wl,Ia,Oa,Uo]},Mn={findFiberByHostInstance:Pt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ip={bundleType:Mn.bundleType,version:Mn.version,rendererPackageName:Mn.rendererPackageName,rendererConfig:Mn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:it.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ua(e),e===null?null:e.stateNode},findFiberByHostInstance:Mn.findFiberByHostInstance||np,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Rr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Rr.isDisabled&&Rr.supportsFiber)try{gl=Rr.inject(ip),Ye=Rr}catch{}}Ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lp;Ne.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Go(t))throw Error(w(200));return tp(e,t,null,n)};Ne.createRoot=function(e,t){if(!Go(e))throw Error(w(299));var n=!1,r="",l=vc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Ho(e,1,!1,null,null,n,!1,r,l),e[nt]=t.current,tr(e.nodeType===8?e.parentNode:e),new Ko(t)};Ne.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(w(188)):(e=Object.keys(e).join(","),Error(w(268,e)));return e=Ua(t),e=e===null?null:e.stateNode,e};Ne.flushSync=function(e){return Ut(e)};Ne.hydrate=function(e,t,n){if(!Ll(t))throw Error(w(200));return Pl(null,e,t,!0,n)};Ne.hydrateRoot=function(e,t,n){if(!Go(e))throw Error(w(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=vc;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=gc(t,null,e,1,n??null,l,!1,i,o),e[nt]=t.current,tr(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new Tl(t)};Ne.render=function(e,t,n){if(!Ll(t))throw Error(w(200));return Pl(null,e,t,!1,n)};Ne.unmountComponentAtNode=function(e){if(!Ll(e))throw Error(w(40));return e._reactRootContainer?(Ut(function(){Pl(null,null,e,!1,function(){e._reactRootContainer=null,e[nt]=null})}),!0):!1};Ne.unstable_batchedUpdates=Uo;Ne.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ll(n))throw Error(w(200));if(e==null||e._reactInternals===void 0)throw Error(w(38));return Pl(e,t,n,!1,r)};Ne.version="18.3.1-next-f1338f8080-20240426";function xc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xc)}catch(e){console.error(e)}}xc(),xa.exports=Ne;var op=xa.exports,kc,la=op;kc=la.createRoot,la.hydrateRoot;const sp=new URLSearchParams(window.location.search),ia=sp.get("token");ia&&(localStorage.setItem("nyxora_token",ia),window.history.replaceState({},document.title,window.location.pathname));const ap=()=>localStorage.getItem("nyxora_token")||"",up="";async function b(e,t){const n=ap(),r=new Headers(t==null?void 0:t.headers);n&&r.set("x-nyxora-token",n);const l=typeof e=="string"&&e.startsWith("/")?`${up}${e}`:e;return fetch(l,{...t,headers:r})}/**
|
|
41
41
|
* @license lucide-react v0.474.0 - ISC
|
|
42
42
|
*
|
|
43
43
|
* This source code is licensed under the ISC license.
|
|
@@ -132,7 +132,7 @@ Error generating stack: `+i.message+`
|
|
|
132
132
|
*
|
|
133
133
|
* This source code is licensed under the ISC license.
|
|
134
134
|
* See the LICENSE file in the root directory of this source tree.
|
|
135
|
-
*/const Op=[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]],
|
|
135
|
+
*/const Op=[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]],Rn=M("Cpu",Op);/**
|
|
136
136
|
* @license lucide-react v0.474.0 - ISC
|
|
137
137
|
*
|
|
138
138
|
* This source code is licensed under the ISC license.
|
|
@@ -292,4 +292,4 @@ Error generating stack: `+i.message+`
|
|
|
292
292
|
*
|
|
293
293
|
* This source code is licensed under the ISC license.
|
|
294
294
|
* See the LICENSE file in the root directory of this source tree.
|
|
295
|
-
*/const D0=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Tc=M("Zap",D0),$0=({config:e})=>{const[t,n]=L.useState({cost:0,tokens:0,messages:0}),[r,l]=L.useState([]),[i,o]=L.useState([]),a=L.useRef(null),u=L.useRef(null);return L.useEffect(()=>{const c=async()=>{try{const g=await b("/api/stats");g.ok&&n(await g.json());const m=await b("/api/logs");if(m.ok){const h=await m.json();l(h.events),o(h.gateway)}}catch{console.error("Failed to fetch analytics")}};c();const y=setInterval(c,2e3);return()=>clearInterval(y)},[]),e?s.jsxs("div",{className:"overview-container",children:[s.jsxs("div",{className:"overview-header",children:[s.jsx("h1",{children:"Nyxora Status"}),s.jsx("p",{children:"System health, active configuration, and loaded Web3 skills."})]}),s.jsxs("div",{className:"panel gateway-access",children:[s.jsxs("div",{className:"panel-header",children:[s.jsx("h3",{children:"System Configuration"}),s.jsx("p",{children:"Current runtime parameters for your Web3 Agent."})]}),s.jsxs("div",{className:"form-row",children:[s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{children:"API Endpoint"}),s.jsx("input",{type:"text",value:"/api/chat",readOnly:!0})]}),s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{children:"Agent Name"}),s.jsx("input",{type:"text",value:e.agent.name,readOnly:!0})]}),s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{children:"Memory Storage"}),s.jsx("input",{type:"text",value:"./memory.json",readOnly:!0})]})]})]}),s.jsxs("div",{className:"metrics-grid",children:[s.jsxs("div",{className:"metric-card",children:[s.jsx("label",{children:"COST"}),s.jsxs("div",{className:"metric-val",children:["$",t.cost.toFixed(4)]}),s.jsxs("div",{className:"metric-sub",children:[t.tokens," tokens - ",t.messages," msgs"]})]}),s.jsxs("div",{className:"metric-card",children:[s.jsx("label",{children:"SESSIONS"}),s.jsx("div",{className:"metric-val",children:"1"}),s.jsx("div",{className:"metric-sub",children:"Local chat session active"})]}),s.jsxs("div",{className:"metric-card",children:[s.jsx("label",{children:"SKILLS"}),s.jsx("div",{className:"metric-val",children:"2/2"}),s.jsx("div",{className:"metric-sub",children:"2 Web3 skills loaded"})]}),s.jsxs("div",{className:"metric-card",children:[s.jsx("label",{children:"CRON"}),s.jsx("div",{className:"metric-val",children:"0 jobs"}),s.jsx("div",{className:"metric-sub",children:"No scheduled tasks"})]}),s.jsxs("div",{className:"metric-card",children:[s.jsx("label",{children:"MODEL AUTH"}),s.jsx("div",{className:"metric-val text-green",children:"1 ok"}),s.jsxs("div",{className:"metric-sub",children:[e.llm.provider.toUpperCase()," provider connected"]})]})]}),s.jsxs("div",{className:"logs-grid",children:[s.jsxs("div",{className:"log-panel",children:[s.jsx("div",{className:"log-header",children:s.jsxs("span",{children:["Event Log ",s.jsx("span",{className:"badge",children:r.length})]})}),s.jsxs("div",{className:"log-content",children:[r.map((c,y)=>s.jsxs("div",{className:"log-row",children:[s.jsx("span",{className:"log-time",children:c.timestamp}),s.jsxs("span",{className:"log-msg",children:[c.event," ",s.jsx("span",{className:"log-meta",children:JSON.stringify(c.meta)})]})]},y)),s.jsx("div",{ref:a})]})]}),s.jsxs("div",{className:"log-panel",children:[s.jsx("div",{className:"log-header",children:s.jsxs("span",{children:["Gateway Logs ",s.jsx("span",{className:"badge",children:i.length})]})}),s.jsxs("div",{className:"log-content",children:[i.map((c,y)=>s.jsx("div",{className:"log-row gateway-row",children:s.jsx("span",{className:"log-json",children:`{"timestamp":"${c.timestamp}","message":${JSON.stringify(c.message)}${c.meta?`,"meta":${JSON.stringify(c.meta)}`:""}}`})},y)),s.jsx("div",{ref:u})]})]})]})]}):s.jsx("div",{className:"overview-container",children:"Loading..."})},sa=({value:e,options:t,onChange:n,pillColor:r="#88c0d0",textColor:l="#000000"})=>{const[i,o]=L.useState(!1),a=L.useRef(null);L.useEffect(()=>{const c=y=>{a.current&&!a.current.contains(y.target)&&o(!1)};return document.addEventListener("mousedown",c),()=>document.removeEventListener("mousedown",c)},[]);const u=t.find(c=>c.id===e)||t[0];return s.jsxs("div",{className:"custom-network-selector",ref:a,style:{width:"100%"},children:[s.jsxs("button",{className:"network-selector-pill",style:{background:r,color:l,padding:"10px 20px",fontSize:"0.9rem",width:"100%",justifyContent:"space-between"},onClick:()=>o(!i),type:"button",children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(u==null?void 0:u.icon)&&s.jsx("div",{children:u.icon}),s.jsx("span",{className:"network-label",style:{fontWeight:600},children:u==null?void 0:u.label})]}),s.jsx(jc,{size:14,className:"network-chevron"})]}),i&&s.jsx("ul",{className:"network-dropdown-menu",style:{width:"100%",top:"calc(100% + 8px)",padding:"8px",zIndex:1e3},children:t.map(c=>s.jsxs("li",{className:`network-dropdown-item ${c.id===e?"active":""}`,onClick:()=>{n(c.id),o(!1)},style:{display:"flex",alignItems:"center",gap:"12px",padding:"10px 16px",borderRadius:"8px",cursor:"pointer",transition:"background 0.2s",fontWeight:500},onMouseEnter:y=>y.currentTarget.style.background="rgba(255,255,255,0.05)",onMouseLeave:y=>y.currentTarget.style.background="transparent",children:[c.icon&&s.jsx("div",{children:c.icon}),c.label]},c.id))})]})},A0=({config:e,onConfigChange:t})=>{var m;const[n,r]=L.useState(null),[l,i]=L.useState(!1);if(L.useEffect(()=>{var h,v,x,T,f,d,p,k;e&&r({agent:{name:((h=e.agent)==null?void 0:h.name)||"Nyxora",default_chain:((v=e.agent)==null?void 0:v.default_chain)||"base"},llm:{provider:((x=e.llm)==null?void 0:x.provider)||"openai",model:((T=e.llm)==null?void 0:T.model)||"gpt-4o-mini",temperature:((f=e.llm)==null?void 0:f.temperature)??.2,api_keys:Array.isArray((d=e.llm)==null?void 0:d.api_keys)?e.llm.api_keys:(p=e.llm)!=null&&p.api_keys?[e.llm.api_keys]:[]},web3:{rpc_urls:((k=e.web3)==null?void 0:k.rpc_urls)||{}}})},[e]),!n)return s.jsx("div",{className:"overview-container",children:"Loading settings..."});const o=(h,v,x)=>{r(T=>T&&{...T,[h]:{...T[h],[v]:v==="temperature"?Number(x):x}})},a=(h,v)=>{r(x=>{var d;if(!x)return x;const T=v.split(",").map(p=>p.trim()).filter(p=>p),f={...((d=x.web3)==null?void 0:d.rpc_urls)||{}};return T.length===0?delete f[h]:T.length===1?f[h]=T[0]:f[h]=T,{...x,web3:{...x.web3,rpc_urls:f}}})},u=()=>{r(h=>{if(!h)return h;const v=h.llm.api_keys||[];return v.length>=10?h:{...h,llm:{...h.llm,api_keys:[...v,""]}}})},c=(h,v)=>{r(x=>{if(!x)return x;const T=[...x.llm.api_keys||[]];return T[h]=v,{...x,llm:{...x.llm,api_keys:T}}})},y=h=>{r(v=>{if(!v)return v;const x=[...v.llm.api_keys||[]];return x.splice(h,1),{...v,llm:{...v.llm,api_keys:x}}})},g=async()=>{i(!0);try{(await b("/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})).ok&&(t(n),alert("Settings saved successfully!"))}catch(h){console.error(h),alert("Failed to save settings")}finally{i(!1)}};return s.jsxs("div",{className:"overview-container",style:{maxWidth:"900px",margin:"0 auto"},children:[s.jsxs("div",{className:"overview-header",style:{marginBottom:"32px"},children:[s.jsx("h1",{style:{color:"#eceff4"},children:"Configuration"}),s.jsx("p",{style:{color:"#d8dee9"},children:"Modify the core behaviors and parameters of the Nyxora Agent."})]}),s.jsxs("div",{className:"panel",style:{background:"transparent",border:"none",padding:0},children:[s.jsxs("div",{className:"nord-panel-header",children:[s.jsx(Ec,{size:18,color:"#81a1c1"}),s.jsx("h3",{children:"Agent Profile"})]}),s.jsxs("div",{className:"form-row",children:[s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{className:"nord-label",children:"Agent Name"}),s.jsx("input",{className:"nord-pill-input",type:"text",value:n.agent.name,onChange:h=>o("agent","name",h.target.value)})]}),s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{className:"nord-label",children:"Default Web3 Chain"}),s.jsx(sa,{value:n.agent.default_chain,onChange:h=>o("agent","default_chain",h),pillColor:"#88c0d0",textColor:"#000000",options:[{id:"ethereum",label:"Ethereum Mainnet",icon:s.jsx(Lt,{size:14})},{id:"bsc",label:"BNB Chain",icon:s.jsx(Lt,{size:14})},{id:"base",label:"Base",icon:s.jsx(Lt,{size:14})},{id:"optimism",label:"Optimism",icon:s.jsx(Lt,{size:14})},{id:"arbitrum",label:"Arbitrum",icon:s.jsx(Lt,{size:14})},{id:"sepolia",label:"Sepolia Testnet",icon:s.jsx(Lt,{size:14})}]})]})]})]}),s.jsxs("div",{className:"panel",style:{background:"transparent",border:"none",padding:0,marginTop:"32px"},children:[s.jsxs("div",{className:"nord-panel-header",children:[s.jsx(In,{size:18,color:"#81a1c1"}),s.jsx("h3",{children:"LLM Engine"})]}),s.jsxs("div",{className:"form-row",children:[s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{className:"nord-label",children:"Provider"}),s.jsx(sa,{value:n.llm.provider,onChange:h=>o("llm","provider",h),pillColor:"#81a1c1",textColor:"#000000",options:[{id:"gemini",label:"Google Gemini",icon:s.jsx(In,{size:14})},{id:"openai",label:"OpenAI",icon:s.jsx(In,{size:14})},{id:"openrouter",label:"OpenRouter",icon:s.jsx(In,{size:14})},{id:"ollama",label:"Ollama (Local)",icon:s.jsx(In,{size:14})}]})]}),s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{className:"nord-label",children:"Model Name"}),s.jsx("input",{className:"nord-pill-input",style:{color:"#81a1c1"},type:"text",value:n.llm.model,onChange:h=>o("llm","model",h.target.value)})]}),s.jsxs("div",{className:"form-group flex-1",children:[s.jsxs("label",{className:"nord-label",children:["Temperature (",n.llm.temperature,")"]}),s.jsx("input",{className:"nord-slider",type:"range",min:"0",max:"1",step:"0.1",value:n.llm.temperature,onChange:h=>o("llm","temperature",h.target.value)})]})]})]}),s.jsxs("div",{className:"panel",style:{background:"transparent",border:"none",padding:0,marginTop:"32px"},children:[s.jsxs("div",{className:"nord-panel-header",style:{justifyContent:"space-between"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[s.jsx(Kp,{size:18,color:"#81a1c1"}),s.jsx("h3",{children:"API Keys (Rotation)"})]}),s.jsxs("span",{style:{fontSize:"0.8rem",color:"#81a1c1",fontWeight:600},children:[((m=n.llm.api_keys)==null?void 0:m.length)||0," / 10 Keys"]})]}),s.jsx("p",{style:{fontSize:"0.85rem",color:"#d8dee9",marginBottom:"20px"},children:"Add up to 10 API keys. The system will automatically rotate through them (Round-Robin) for each request to prevent rate limits. Leave empty to fallback to default credentials set via CLI (nyxora setup)."}),s.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},children:[(n.llm.api_keys||[]).map((h,v)=>s.jsxs("div",{style:{display:"flex",gap:"12px",alignItems:"center"},children:[s.jsx("input",{className:"nord-input",type:"password",value:h,placeholder:"sk-...",onChange:x=>c(v,x.target.value)}),s.jsx("button",{onClick:()=>y(v),style:{background:"rgba(191, 97, 106, 0.15)",color:"#bf616a",border:"1px solid rgba(191, 97, 106, 0.3)",borderRadius:"6px",padding:"10px 16px",cursor:"pointer",transition:"all 0.2s",fontWeight:600,fontSize:"0.85rem"},onMouseEnter:x=>x.currentTarget.style.background="rgba(191, 97, 106, 0.25)",onMouseLeave:x=>x.currentTarget.style.background="rgba(191, 97, 106, 0.15)",children:"Delete"})]},v)),(!n.llm.api_keys||n.llm.api_keys.length<10)&&s.jsx("button",{onClick:u,style:{alignSelf:"flex-start",background:"transparent",color:"#81a1c1",border:"1px dashed #434c5e",borderRadius:"6px",padding:"10px 20px",cursor:"pointer",marginTop:"8px",transition:"all 0.2s",fontWeight:600,fontSize:"0.85rem"},onMouseEnter:h=>{h.currentTarget.style.borderColor="#81a1c1",h.currentTarget.style.background="rgba(129, 161, 193, 0.1)"},onMouseLeave:h=>{h.currentTarget.style.borderColor="#434c5e",h.currentTarget.style.background="transparent"},children:"+ Add API Key"})]})]}),s.jsxs("div",{className:"panel",style:{background:"transparent",border:"none",padding:0,marginTop:"40px"},children:[s.jsxs("div",{className:"nord-panel-header",children:[s.jsx(Nc,{size:18,color:"#81a1c1"}),s.jsx("h3",{children:"Web3 & RPC Settings"})]}),s.jsx("p",{style:{fontSize:"0.85rem",color:"#d8dee9",marginBottom:"20px"},children:"Override the default public RPCs with your own Premium endpoints (Alchemy/Infura). Separate multiple URLs with a comma for Fallback High-Availability."}),s.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"20px"},children:["ethereum","base","bsc","arbitrum","optimism","sepolia"].map(h=>{var T,f;const v=(f=(T=n.web3)==null?void 0:T.rpc_urls)==null?void 0:f[h],x=Array.isArray(v)?v.join(", "):v||"";return s.jsxs("div",{className:"form-group",style:{position:"relative"},children:[s.jsxs("label",{className:"nord-label",style:{display:"flex",alignItems:"center",gap:"6px"},children:[s.jsx("img",{src:`https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/${h==="bsc"?"smartchain":h}/info/logo.png`,alt:h,style:{width:"14px",height:"14px",borderRadius:"50%"},onError:d=>d.currentTarget.style.display="none"}),h," RPC"]}),s.jsx("input",{className:"nord-input",type:"text",placeholder:"https://...",value:x,onChange:d=>a(h,d.target.value)})]},h)})})]}),s.jsx("div",{className:"form-actions",style:{justifyContent:"flex-end",marginTop:"48px",paddingTop:"24px",borderTop:"1px solid rgba(216, 222, 233, 0.05)"},children:s.jsxs("button",{className:"nord-btn-primary",onClick:g,disabled:l,children:[s.jsx(p0,{size:16,style:{marginRight:"8px"}}),l?"Saving...":"Save Configuration"]})})]})},Lc=e=>e.split("_").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "),U0=(e,t)=>{const n=t!==!1?"#88c0d0":"#4c566a",r=20;switch(Lc(e).toLowerCase()){case"get balance":return s.jsx(zc,{size:r,color:n});case"transfer token":return s.jsx(_c,{size:r,color:n});case"get price":return s.jsx(Tc,{size:r,color:n});case"swap token":return s.jsx(gp,{size:r,color:n});case"bridge token":return s.jsx(d0,{size:r,color:n});case"mint nft":return s.jsx(Hp,{size:r,color:n});case"custom tx":return s.jsx(Xo,{size:r,color:n});case"check address":return s.jsx(Ml,{size:r,color:n});case"get my address":return s.jsx(Ec,{size:r,color:n});case"check token security":return s.jsx(w0,{size:r,color:n});case"check portfolio":return s.jsx(Np,{size:r,color:n});case"analyze market":return s.jsx(jp,{size:r,color:n});case"create wallet":return s.jsx(O0,{size:r,color:n});case"create limit order":return s.jsx(j0,{size:r,color:n});case"list limit orders":return s.jsx(Zp,{size:r,color:n});case"cancel limit order":return s.jsx(Lp,{size:r,color:n});default:return s.jsx(Cc,{size:r,color:n})}},W0=()=>{const[e,t]=L.useState([]),[n,r]=L.useState(""),[l,i]=L.useState(!0);L.useEffect(()=>{(async()=>{try{const c=await b("/api/skills");c.ok&&t(await c.json())}catch(c){console.error(c)}finally{i(!1)}})()},[]);const o=async(u,c)=>{const y=!c;t(g=>g.map(m=>m.function.name===u?{...m,isActive:y}:m));try{await b("/api/skills/toggle",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({skillName:u,active:y})})}catch(g){t(m=>m.map(h=>h.function.name===u?{...h,isActive:c}:h)),console.error("Failed to toggle skill",g)}};if(l)return s.jsx("div",{className:"overview-container",children:"Loading skills..."});const a=e.filter(u=>u.function.name.toLowerCase().includes(n.toLowerCase())||u.function.description.toLowerCase().includes(n.toLowerCase()));return s.jsxs("div",{className:"overview-container",style:{maxWidth:"1000px",margin:"0 auto",width:"100%"},children:[s.jsxs("div",{className:"overview-header",style:{marginBottom:"24px"},children:[s.jsx("h1",{style:{color:"#eceff4"},children:"Skills"}),s.jsx("p",{style:{color:"#d8dee9"},children:"Installed skills and their status."})]}),s.jsxs("div",{style:{display:"flex",alignItems:"center",background:"rgba(46, 52, 64, 0.4)",border:"1px solid rgba(216, 222, 233, 0.1)",borderRadius:"8px",padding:"0 16px",marginBottom:"24px"},children:[s.jsx(Ml,{size:18,color:"#9ca3af"}),s.jsx("input",{type:"text",placeholder:"Filter installed skills...",value:n,onChange:u=>r(u.target.value),style:{background:"transparent",border:"none",outline:"none",color:"#eceff4",padding:"16px",width:"100%",fontSize:"0.95rem"}}),s.jsxs("span",{style:{color:"#6b7280",fontSize:"0.85rem"},children:[a.length," shown"]})]}),s.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:a.map((u,c)=>s.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"#3b4252",padding:"20px 24px",borderRadius:"8px",border:"1px solid rgba(216, 222, 233, 0.05)"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"16px",flex:1},children:[s.jsx("div",{style:{marginTop:"2px"},children:U0(u.function.name,u.isActive!==!1)}),s.jsxs("div",{children:[s.jsx("h3",{style:{margin:"0 0 6px 0",fontSize:"1rem",color:u.isActive!==!1?"#eceff4":"#d8dee9",fontWeight:600},children:Lc(u.function.name)}),s.jsx("p",{style:{margin:0,color:"#9ca3af",fontSize:"0.85rem",lineHeight:"1.5",maxWidth:"800px"},children:u.function.description})]})]}),s.jsx("div",{style:{marginLeft:"24px"},children:s.jsx("button",{onClick:()=>o(u.function.name,u.isActive!==!1),style:{position:"relative",width:"40px",height:"22px",borderRadius:"11px",background:u.isActive!==!1?"#88c0d0":"#4c566a",border:"none",cursor:"pointer",transition:"background 0.3s ease",padding:0},children:s.jsx("div",{style:{position:"absolute",top:"2px",left:u.isActive!==!1?"20px":"2px",width:"18px",height:"18px",borderRadius:"50%",background:"#fff",transition:"left 0.3s cubic-bezier(0.4, 0.0, 0.2, 1)",boxShadow:"0 1px 3px rgba(0,0,0,0.3)"}})})})]},c))})]})},Pc=e=>e.split("_").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "),B0=(e,t)=>{const n=t!==!1?"#88c0d0":"#4c566a",r=20;switch(Pc(e).toLowerCase()){case"run terminal command":return s.jsx(Xo,{size:r,color:n});case"read local file":return s.jsx(Wp,{size:r,color:n});case"write local file":return s.jsx(Dp,{size:r,color:n});case"browse website":return s.jsx(Lt,{size:r,color:n});case"update security policy":return s.jsx(x0,{size:r,color:n});case"install external skill":return s.jsx(Mp,{size:r,color:n});case"analyze document":return s.jsx(Ap,{size:r,color:n});case"search web":return s.jsx(Ml,{size:r,color:n});case"read gmail inbox":return s.jsx(qp,{size:r,color:n});case"list calendar events":return s.jsx(wp,{size:r,color:n});default:return s.jsx(Cc,{size:r,color:n})}},V0=()=>{const[e,t]=L.useState([]),[n,r]=L.useState(""),[l,i]=L.useState(!0),[o,a]=L.useState(null),[u,c]=L.useState(!1);L.useEffect(()=>{const h=async()=>{try{const x=await b("/api/skills/system");x.ok&&t(await x.json())}catch(x){console.error(x)}finally{i(!1)}},v=async()=>{try{const x=await b("/api/auth/google/status");if(x.ok){const T=await x.json();c(T.connected)}}catch(x){console.error("Failed to fetch Google Auth status",x)}};h(),v()},[]);const y=async(h,v)=>{if(h==="run_terminal_command"&&!v){a({skillName:h,currentStatus:v});return}await g(h,v)},g=async(h,v)=>{const x=!v;t(T=>T.map(f=>f.function.name===h?{...f,isActive:x}:f));try{await b("/api/skills/toggle",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({skillName:h,active:x})})}catch(T){t(f=>f.map(d=>d.function.name===h?{...d,isActive:v}:d)),console.error("Failed to toggle OS skill",T)}};if(l)return s.jsx("div",{className:"overview-container",children:"Loading OS skills..."});const m=e.filter(h=>h.function.name.toLowerCase().includes(n.toLowerCase())||h.function.description.toLowerCase().includes(n.toLowerCase()));return s.jsxs("div",{className:"overview-container",style:{maxWidth:"1000px",margin:"0 auto",width:"100%"},children:[s.jsxs("div",{className:"overview-header",style:{marginBottom:"24px"},children:[s.jsx("h1",{style:{color:"#eceff4"},children:"OS Skills"}),s.jsx("p",{style:{color:"#d8dee9"},children:"System-level capabilities for the agent OS."})]}),s.jsxs("div",{style:{background:"#3b4252",border:"1px solid rgba(216, 222, 233, 0.1)",borderRadius:"8px",padding:"24px",marginBottom:"24px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[s.jsxs("div",{children:[s.jsx("h3",{style:{margin:"0 0 8px 0",color:"#eceff4",fontSize:"1.1rem"},children:"Account Linking"}),s.jsx("p",{style:{margin:0,color:"#d8dee9",fontSize:"0.9rem"},children:"Connect your Google Workspace to unlock Gmail and Calendar skills."})]}),s.jsx("div",{children:u?s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",background:"rgba(163, 190, 140, 0.1)",color:"#a3be8c",padding:"8px 16px",borderRadius:"6px",fontWeight:600},children:[s.jsx("span",{style:{width:"8px",height:"8px",background:"#a3be8c",borderRadius:"50%",display:"inline-block"}}),"Connected to Google"]}):s.jsxs("button",{onClick:async()=>{try{const h=await b("/api/auth/google/url"),v=await h.json();h.ok?window.open(v.url,"_blank","width=600,height=700"):alert("Setup Required: "+(v.error||"Please add google-credentials.json to ~/.nyxora/"))}catch{alert("Failed to initiate Google Auth. Is the backend running?")}},style:{background:"#eceff4",color:"#2e3440",border:"none",padding:"10px 20px",borderRadius:"6px",fontWeight:600,cursor:"pointer",display:"flex",alignItems:"center",gap:"8px"},children:[s.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),s.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),s.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),s.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),"Sign in with Google"]})})]}),s.jsxs("div",{style:{display:"flex",alignItems:"center",background:"rgba(46, 52, 64, 0.4)",border:"1px solid rgba(216, 222, 233, 0.1)",borderRadius:"8px",padding:"0 16px",marginBottom:"24px"},children:[s.jsx(Ml,{size:18,color:"#9ca3af"}),s.jsx("input",{type:"text",placeholder:"Filter OS skills...",value:n,onChange:h=>r(h.target.value),style:{background:"transparent",border:"none",outline:"none",color:"#eceff4",padding:"16px",width:"100%",fontSize:"0.95rem"}}),s.jsxs("span",{style:{color:"#6b7280",fontSize:"0.85rem"},children:[m.length," shown"]})]}),s.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:m.map((h,v)=>s.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"#3b4252",padding:"20px 24px",borderRadius:"8px",border:"1px solid rgba(216, 222, 233, 0.05)"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"16px",flex:1},children:[s.jsx("div",{style:{marginTop:"2px"},children:B0(h.function.name,h.isActive!==!1)}),s.jsxs("div",{children:[s.jsx("h3",{style:{margin:"0 0 6px 0",fontSize:"1rem",color:h.isActive!==!1?"#eceff4":"#d8dee9",fontWeight:600},children:Pc(h.function.name)}),s.jsx("p",{style:{margin:0,color:"#9ca3af",fontSize:"0.85rem",lineHeight:"1.5",maxWidth:"800px"},children:h.function.description})]})]}),s.jsx("div",{style:{marginLeft:"24px"},children:s.jsx("button",{onClick:()=>y(h.function.name,h.isActive!==!1),style:{position:"relative",width:"40px",height:"22px",borderRadius:"11px",background:h.isActive!==!1?"#88c0d0":"#4c566a",border:"none",cursor:"pointer",transition:"background 0.3s ease",padding:0},children:s.jsx("div",{style:{position:"absolute",top:"2px",left:h.isActive!==!1?"20px":"2px",width:"18px",height:"18px",borderRadius:"50%",background:"#fff",transition:"left 0.3s cubic-bezier(0.4, 0.0, 0.2, 1)",boxShadow:"0 1px 3px rgba(0,0,0,0.3)"}})})})]},v))}),o&&s.jsx("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,background:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1e3},children:s.jsxs("div",{style:{background:"#2e3440",border:"1px solid rgba(191, 97, 106, 0.4)",borderRadius:"12px",padding:"32px",maxWidth:"500px",width:"100%",boxShadow:"0 20px 40px rgba(0,0,0,0.4)"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"16px",marginBottom:"16px"},children:[s.jsx("div",{style:{background:"rgba(191, 97, 106, 0.1)",padding:"12px",borderRadius:"50%"},children:s.jsx(M0,{size:32,color:"#bf616a"})}),s.jsx("h2",{style:{margin:0,color:"#eceff4",fontSize:"1.25rem"},children:"DANGER ZONE: System Access"})]}),s.jsxs("p",{style:{color:"#d8dee9",lineHeight:"1.6",marginBottom:"24px"},children:["You are about to enable ",s.jsx("strong",{children:"Terminal Execution"}),". This grants the AI agent",s.jsx("strong",{children:" full, unrestrained access"})," to execute arbitrary shell scripts on your host operating system."]}),s.jsx("p",{style:{color:"#bf616a",fontWeight:"bold",fontSize:"0.9rem",marginBottom:"32px"},children:"⚠️ The agent could read sensitive files, modify your system, or execute harmful commands if prompted maliciously."}),s.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",gap:"12px"},children:[s.jsx("button",{onClick:()=>a(null),style:{background:"transparent",border:"1px solid #4c566a",color:"#d8dee9",padding:"10px 20px",borderRadius:"6px",cursor:"pointer",fontWeight:600},children:"Cancel"}),s.jsx("button",{onClick:()=>{g(o.skillName,o.currentStatus),a(null)},style:{background:"#bf616a",border:"none",color:"#eceff4",padding:"10px 20px",borderRadius:"6px",cursor:"pointer",fontWeight:600},children:"I Understand the Risks, Enable"})]})]})})]})},ii=[{id:"ethereum",label:"Ethereum"},{id:"bsc",label:"BNB Smart Chain"},{id:"base",label:"Base"},{id:"optimism",label:"Optimism"},{id:"arbitrum",label:"Arbitrum"},{id:"sepolia",label:"Sepolia (Testnet)"}],H0=({value:e,onChange:t})=>{const[n,r]=L.useState(!1),l=L.useRef(null);L.useEffect(()=>{const o=a=>{l.current&&!l.current.contains(a.target)&&r(!1)};return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[]);const i=ii.find(o=>o.id===e)||ii[0];return s.jsxs("div",{className:"custom-network-selector",ref:l,children:[s.jsxs("button",{className:"network-selector-pill",onClick:()=>r(!n),"aria-expanded":n,children:[s.jsx(Nc,{size:16,className:"network-icon"}),s.jsx("span",{className:"network-label",children:i.label}),s.jsx(jc,{size:14,className:"network-chevron"})]}),n&&s.jsx("ul",{className:"network-dropdown-menu",children:ii.map(o=>s.jsx("li",{className:`network-dropdown-item ${o.id===e?"active":""}`,onClick:()=>{t(o.id),r(!1)},children:o.label},o.id))})]})},Q0=({data:e})=>{let t="0.00",n="Unknown";if(e.includes(" on ")){const r=e.split(" on "),l=r[0];n=r[1].toUpperCase();const i=parseFloat(l);isNaN(i)?t=l:t=i.toLocaleString("en-US",{maximumFractionDigits:6})}return s.jsxs("div",{style:{background:"linear-gradient(135deg, rgba(30,41,59,0.8) 0%, rgba(15,23,42,0.9) 100%)",borderRadius:"24px",padding:"32px",border:"1px solid rgba(255,255,255,0.1)",boxShadow:"0 20px 40px -10px rgba(0,0,0,0.5)",width:"100%",maxWidth:"400px",margin:"0 auto",animation:"fadeIn 0.5s ease-out forwards"},children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"32px"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[s.jsx("div",{style:{background:"rgba(59,130,246,0.2)",padding:"10px",borderRadius:"12px"},children:s.jsx(zc,{size:24,color:"#3b82f6"})}),s.jsx("span",{style:{color:"#94a3b8",fontWeight:500,fontSize:"0.9rem",letterSpacing:"1px"},children:"WALLET BALANCE"})]}),s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px",background:"rgba(34,197,94,0.1)",padding:"6px 12px",borderRadius:"20px"},children:[s.jsx(Yo,{size:14,color:"#4ade80"}),s.jsx("span",{style:{color:"#4ade80",fontSize:"0.75rem",fontWeight:600},children:"LIVE"})]})]}),s.jsxs("div",{style:{marginBottom:"12px",display:"flex",alignItems:"baseline",flexWrap:"wrap",overflow:"hidden"},children:[s.jsx("span",{style:{fontSize:"2.5rem",fontWeight:800,color:"white",letterSpacing:"-1px",wordBreak:"break-all"},children:t}),s.jsx("span",{style:{fontSize:"1.2rem",color:"#94a3b8",marginLeft:"8px",fontWeight:500},children:"ETH"})]}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginTop:"32px",paddingTop:"20px",borderTop:"1px solid rgba(255,255,255,0.05)"},children:[s.jsx("span",{style:{color:"#64748b",fontSize:"0.85rem"},children:"Network"}),s.jsx("span",{style:{color:"#e2e8f0",fontSize:"0.9rem",fontWeight:600,fontFamily:"monospace"},children:n})]})]})},K0=({data:e})=>{if(e.startsWith("TRANSACTION_PENDING"))return s.jsxs("div",{className:"widget-card",style:{background:"#1e293b",border:"1px solid #eab308",padding:"24px",borderRadius:"16px"},children:[s.jsx("h3",{className:"widget-title",style:{color:"#eab308",margin:0,marginBottom:"8px"},children:"Action Required"}),s.jsx("p",{style:{color:"#cbd5e1",fontSize:"0.9rem",margin:0},children:"Please review and approve the transfer transaction."})]});let t="0.00",n="UNKNOWN",r="0x...";try{const i=e.match(/transferred ([\d.]+) on/i);i&&(t=i[1]);const o=e.match(/on (\w+) to/i);o&&(n=o[1].toUpperCase());const a=e.match(/to (0x[a-fA-F0-9]+)/i);a&&(r=a[1])}catch{}const l=i=>i.substring(0,6)+"..."+i.substring(i.length-4);return s.jsxs("div",{style:{background:"#0f172a",borderRadius:"24px",padding:"32px",border:"1px solid rgba(255,255,255,0.1)",width:"100%",maxWidth:"400px",margin:"0 auto",animation:"fadeIn 0.5s ease-out forwards",boxShadow:"0 20px 40px -10px rgba(0,0,0,0.5)"},children:[s.jsxs("div",{style:{textAlign:"center",marginBottom:"24px"},children:[s.jsx("div",{style:{width:"64px",height:"64px",background:"rgba(34,197,94,0.1)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 16px"},children:s.jsx(Yo,{size:32,color:"#4ade80"})}),s.jsx("h2",{style:{color:"white",margin:0,fontSize:"1.25rem"},children:"Transaction Sent"}),s.jsxs("span",{style:{color:"#94a3b8",fontSize:"0.9rem"},children:["Successfully confirmed on ",n]})]}),s.jsxs("div",{style:{background:"#1e293b",borderRadius:"16px",padding:"20px",marginBottom:"24px"},children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"16px"},children:[s.jsx("span",{style:{color:"#94a3b8",fontSize:"0.85rem"},children:"Amount Sent"}),s.jsxs("span",{style:{color:"white",fontWeight:600},children:[t," NATIVE"]})]}),s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"16px"},children:[s.jsxs("div",{style:{flex:1},children:[s.jsx("div",{style:{color:"#64748b",fontSize:"0.75rem",marginBottom:"4px"},children:"FROM"}),s.jsx("div",{style:{color:"#e2e8f0",fontSize:"0.85rem",fontFamily:"monospace"},children:"Agent Wallet"})]}),s.jsx(xp,{size:16,color:"#64748b"}),s.jsxs("div",{style:{flex:1,textAlign:"right"},children:[s.jsx("div",{style:{color:"#64748b",fontSize:"0.75rem",marginBottom:"4px"},children:"TO"}),s.jsxs("div",{style:{color:"#e2e8f0",fontSize:"0.85rem",fontFamily:"monospace",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"4px"},children:[l(r)," ",s.jsx(qi,{size:12,color:"#64748b",style:{cursor:"pointer"}})]})]})]})]}),s.jsx("button",{style:{width:"100%",padding:"14px",background:"transparent",border:"1px solid rgba(255,255,255,0.1)",color:"white",borderRadius:"12px",fontWeight:600,cursor:"pointer"},children:"View on Explorer"})]})},G0=({data:e})=>{let t=null;try{t=JSON.parse(e)}catch{return null}if(t.error)return s.jsx("div",{style:{background:"rgba(239, 68, 68, 0.1)",border:"1px solid rgba(239, 68, 68, 0.3)",padding:"16px",borderRadius:"16px"},children:s.jsx("p",{style:{color:"#ef4444"},children:t.error})});const{coin:n,priceUsd:r,change24h:l}=t,i=l>=0,o=i?"#4ade80":"#ef4444",a=i?"rgba(74, 222, 128, 0.1)":"rgba(239, 68, 68, 0.1)",u=i?L0:z0;return s.jsxs("div",{style:{background:"linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%)",border:"1px solid rgba(255, 255, 255, 0.1)",borderRadius:"24px",padding:"24px",boxShadow:"0 10px 40px -10px rgba(0,0,0,0.5)"},children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:"24px"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[s.jsx("div",{style:{background:"rgba(59, 130, 246, 0.2)",padding:"12px",borderRadius:"16px",border:"1px solid rgba(59, 130, 246, 0.3)"},children:s.jsx(Sc,{size:24,color:"#3b82f6"})}),s.jsxs("div",{children:[s.jsx("h3",{style:{margin:0,fontSize:"1.2rem",color:"white",textTransform:"capitalize"},children:n}),s.jsx("span",{style:{fontSize:"0.85rem",color:"#94a3b8"},children:"Live Price (USD)"})]})]}),s.jsxs("div",{style:{background:a,color:o,padding:"6px 12px",borderRadius:"12px",display:"flex",alignItems:"center",gap:"6px",fontWeight:600,fontSize:"0.9rem"},children:[s.jsx(u,{size:16}),i?"+":"",l.toFixed(2),"%"]})]}),s.jsx("div",{style:{display:"flex",alignItems:"baseline",gap:"8px",overflow:"hidden"},children:s.jsxs("span",{style:{fontSize:"3rem",fontWeight:800,color:"white",letterSpacing:"-1px",wordBreak:"break-all"},children:["$",r.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:6})]})})]})},Y0=({size:e=28,className:t=""})=>s.jsxs("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"210 210 835 835",width:e,height:e,className:t,children:[s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M391.558502,864.562012 C414.770752,831.424988 437.898010,798.228088 461.224091,765.171326 C477.741455,741.763550 494.530212,718.547302 511.188538,695.238953 C512.325684,693.647888 513.384827,692.001099 514.827759,689.865967 C416.111115,669.324341 317.944061,648.897095 219.777023,628.469910 C219.745956,628.100342 219.714890,627.730774 219.683807,627.361206 C317.965973,607.048096 416.248169,586.734985 515.386597,566.244934 C489.683167,530.326538 464.441345,495.053223 438.641846,459.000580 C437.294037,462.427734 436.131836,465.046661 435.221252,467.750305 C426.203400,494.526520 419.706848,521.833374 418.307770,550.164917 C418.161621,553.124207 417.398041,554.463074 414.247314,555.063660 C403.349243,557.141052 392.525635,559.609436 380.672791,562.142944 C381.955139,549.287842 382.795654,537.188110 384.428314,525.196289 C389.018463,491.482178 398.703979,459.225067 412.769470,428.242523 C413.487701,426.660400 412.872864,423.774323 411.822296,422.200531 C404.613678,411.401794 397.123077,400.791260 389.753174,389.651367 C389.905334,389.067993 390.027649,388.953430 390.149933,388.838837 C400.609253,396.183838 411.068604,403.528839 421.732483,411.017487 C448.953796,360.083954 488.595703,321.332672 537.556702,291.163635 C536.430664,291.357513 535.276550,291.451691 534.182617,291.759583 C473.404877,308.867706 421.375061,340.392334 377.824371,386.130768 C332.064423,434.189392 302.581238,490.723297 288.788391,555.519043 C287.160980,563.164368 286.307709,570.972107 284.888123,578.666321 C284.643646,579.991333 283.544373,581.987549 282.517700,582.214172 C268.590088,585.289429 254.605560,588.106750 239.666290,591.187622 C249.186905,504.342407 281.266876,428.187378 339.867310,364.210388 C407.528534,290.341309 491.608215,248.142334 592.349182,237.331238 C590.731506,245.370377 589.307007,252.614029 587.812500,259.843231 C584.407288,276.314758 580.834412,292.753448 577.645447,309.266479 C576.937866,312.930328 574.568787,313.922150 571.855469,315.234436 C518.939209,340.827637 479.413025,380.264313 451.142212,432.059692 C489.395081,459.635254 527.531799,487.127106 566.385315,515.135681 C586.988159,416.540558 607.394653,318.885071 627.801086,221.229568 C628.032654,221.259720 628.264160,221.289856 628.495667,221.320007 C648.896179,318.988525 669.296631,416.657074 689.808777,514.860291 C749.231628,472.484833 808.059265,430.533875 867.341919,388.626953 C867.900818,388.812653 868.004700,388.954315 868.108582,389.096008 C849.003479,415.756317 829.905701,442.421814 810.791443,469.075500 C788.267273,500.484131 765.727478,531.881470 743.204163,563.290710 C742.647949,564.066345 742.205200,564.923340 741.467285,566.142639 C840.231323,586.608215 938.625000,606.997070 1037.018677,627.385925 C1037.040283,627.731873 1037.062012,628.077881 1037.083618,628.423828 C938.778198,648.880981 840.472778,669.338074 741.484985,689.937195 C780.034912,744.140015 818.287720,797.925110 856.739441,851.989746 C857.870544,851.388916 859.027100,850.855286 860.102966,850.191101 C891.392395,830.875427 918.577148,806.818420 939.357849,776.533569 C947.590210,764.536194 953.158813,750.218750 957.569092,736.211121 C963.550171,717.214111 967.202209,697.487122 972.020630,678.114868 C972.446899,676.400879 973.864685,673.918213 975.231079,673.610779 C988.701538,670.579590 1002.258545,667.933167 1015.850098,665.165710 C1006.960327,831.437073 859.668823,998.586304 665.964600,1014.599609 C666.161560,1012.942749 666.229980,1011.378174 666.546021,1009.865417 C669.031982,997.967957 671.659729,986.098999 674.013733,974.175842 C674.563416,971.391418 675.734192,970.367493 678.503540,969.994568 C730.376587,963.009094 778.243225,945.312073 821.729614,916.054871 C827.915039,911.893494 833.889709,907.418823 839.719055,902.229187 C789.737976,922.594238 738.281250,931.719971 684.053101,924.868225 C686.495605,912.886902 688.875671,901.211975 691.358215,889.034485 C719.122437,891.573181 746.474426,890.263916 773.529236,884.649719 C800.425781,879.068298 825.987671,869.833374 850.707886,855.726074 C796.893921,817.308716 743.624573,779.280273 689.712219,740.792725 C669.298584,840.439758 649.062561,939.219666 628.826538,1037.999634 C628.337769,1038.062988 627.848999,1038.126343 627.360229,1038.189697 C607.031616,939.372681 586.703064,840.555603 566.225220,741.013123 C508.181274,782.548218 450.532928,823.800232 392.387512,864.971436 C391.890411,864.890564 391.558502,864.562012 391.558502,864.562012 M671.054382,685.592590 C683.651733,669.250977 700.426758,659.979492 720.473022,655.958557 C760.160095,647.997925 799.813110,639.867310 839.477173,631.792114 C844.905396,630.686890 850.316223,629.496033 856.934082,628.090088 C855.240906,627.423645 854.855042,627.202271 854.441284,627.118713 C809.391235,618.015625 764.324524,608.994141 719.292053,599.805237 C687.129700,593.242493 666.357849,573.794189 658.085388,542.310303 C652.000183,519.150879 647.862915,495.475311 642.997131,472.000824 C638.094788,448.350525 633.364502,424.664551 628.366150,400.044769 C627.805237,401.719086 627.470642,402.460938 627.308472,403.238739 C618.164917,447.087311 609.088989,490.950134 599.887695,534.786621 C592.838074,568.371887 574.333862,591.798584 539.707825,599.260986 C497.549194,608.346741 455.186249,616.484192 412.913910,625.042847 C409.059052,625.823303 405.220459,626.683960 400.609985,627.671082 C401.828217,628.367615 402.088959,628.612732 402.387390,628.673767 C446.942963,637.790649 491.531921,646.747131 536.049377,656.046265 C569.849854,663.106689 591.605042,683.306885 598.985901,717.262268 C608.430969,760.713928 616.988403,804.358521 625.937500,847.918152 C626.558655,850.941589 627.255554,853.949463 628.215210,858.322327 C637.018921,814.944580 645.550049,773.068237 654.003601,731.176331 C657.208618,715.293640 660.428406,699.446167 671.054382,685.592590 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M386.726410,932.261108 C301.744720,862.964966 252.860352,774.276062 239.571213,664.782349 C243.640167,665.623230 246.658188,666.259705 249.681610,666.869385 C260.132385,668.976929 270.570435,671.152649 281.047028,673.123108 C283.713837,673.624695 284.803009,674.577637 285.264160,677.483826 C299.943695,769.993530 344.846649,844.861694 418.412781,902.306030 C465.297638,938.916199 518.736572,961.112610 577.599609,970.152466 C579.135315,970.388245 581.405090,971.909729 581.702209,973.205444 C584.604919,985.865601 587.168518,998.603699 589.797119,1011.326111 C589.988586,1012.252930 589.933960,1013.230591 590.033508,1014.819641 C514.202637,1006.650635 446.673218,979.319702 386.726410,932.261108 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M717.095459,286.762451 C702.518005,285.946136 688.403137,285.164001 673.635620,284.345703 C670.496094,269.397308 667.259644,253.987091 663.812012,237.571594 C699.948914,240.829361 734.403198,248.649704 767.807129,261.272522 C801.262024,273.914642 832.392090,290.666199 860.278870,313.266907 C813.130981,301.801331 765.908508,291.274475 717.095459,286.762451 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M508.385742,845.601562 C503.292084,841.116760 498.462646,836.867615 493.256165,832.286682 C503.293274,824.734863 512.820435,817.566772 522.083801,810.597107 C532.372131,818.453186 542.291443,825.997009 552.154602,833.613647 C552.996399,834.263733 553.846802,835.322083 554.047241,836.320496 C557.123535,851.643250 560.092407,866.987488 563.338562,883.619385 C542.903259,872.819641 525.360107,859.943787 508.385742,845.601562 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M443.739258,707.133484 C445.894348,709.609070 447.759094,711.954102 449.403809,714.444519 C453.212250,720.211304 452.803345,725.074036 447.955048,730.693237 C441.574707,738.088135 436.480682,746.592834 429.788666,756.105713 C420.586670,736.813904 411.856506,718.511169 403.126312,700.208496 C403.546173,699.856079 403.966003,699.503662 404.385864,699.151184 C417.373566,701.790466 430.361298,704.429749 443.739258,707.133484 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M389.592651,389.346680 C389.291229,389.122070 389.180267,388.733337 389.069275,388.344666 C389.338684,388.340118 389.608063,388.335571 390.013702,388.584961 C390.027649,388.953430 389.905334,389.067993 389.592651,389.346680 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M867.646118,388.454865 C867.856812,388.036652 868.218323,387.834564 868.579834,387.632507 C868.601868,388.016388 868.623962,388.400299 868.377319,388.940094 C868.004700,388.954315 867.900818,388.812653 867.646118,388.454865 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M392.055237,865.056030 C391.863586,865.412903 391.507172,865.604370 391.150757,865.795837 C391.133575,865.521484 391.116425,865.247192 391.328857,864.767456 C391.558502,864.562012 391.890411,864.890564 392.055237,865.056030 z"})]}),X0=({data:e})=>{if(e.startsWith("TRANSACTION_PENDING"))return s.jsxs("div",{className:"widget-card",style:{background:"#1e293b",border:"1px solid #eab308"},children:[s.jsx("h3",{className:"widget-title",style:{color:"#eab308",display:"flex",alignItems:"center",gap:"8px",margin:0,marginBottom:"8px"},children:"Action Required"}),s.jsx("p",{style:{color:"#cbd5e1",fontSize:"0.9rem",margin:0},children:"Please review and approve the swap transaction."})]});let t=null;try{t=JSON.parse(e)}catch{return s.jsxs("div",{className:"widget-card error",children:[s.jsx("h3",{className:"widget-title",children:"Swap Error"}),s.jsx("p",{children:"Failed to parse swap data."})]})}return t.error?s.jsxs("div",{className:"widget-card error",children:[s.jsx("h3",{className:"widget-title",children:"Transaction Failed"}),s.jsx("p",{children:t.error})]}):s.jsxs("div",{className:"widget-card swap-widget",style:{background:"rgba(30, 41, 59, 0.7)",backdropFilter:"blur(20px)",border:"1px solid rgba(255, 255, 255, 0.1)",borderRadius:"24px",padding:"28px",color:"white",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.5)",width:"100%",maxWidth:"420px",margin:"0 auto",animation:"fadeIn 0.5s ease-out"},children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"24px"},children:[s.jsxs("h3",{style:{margin:0,fontSize:"1.1rem",fontWeight:600,display:"flex",alignItems:"center",gap:"8px"},children:[s.jsx(u0,{size:18,color:"#a855f7"}),"DeFi Swap Execution"]}),s.jsxs("span",{style:{background:"rgba(34, 197, 94, 0.2)",color:"#4ade80",padding:"4px 10px",borderRadius:"12px",fontSize:"0.75rem",fontWeight:600,display:"flex",alignItems:"center",gap:"4px"},children:[s.jsx(Yo,{size:14})," ",t.status]})]}),s.jsxs("div",{style:{background:"rgba(15, 23, 42, 0.5)",borderRadius:"16px",padding:"20px",marginBottom:"12px",border:"1px solid rgba(255,255,255,0.03)"},children:[s.jsx("div",{style:{fontSize:"0.8rem",color:"#94a3b8",marginBottom:"8px"},children:"Pay"}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[s.jsx("span",{style:{fontSize:"1.8rem",fontWeight:700},children:t.fromAmount}),s.jsx("span",{style:{background:"rgba(255,255,255,0.1)",padding:"6px 12px",borderRadius:"12px",fontWeight:600},children:t.fromToken})]})]}),s.jsx("div",{style:{display:"flex",justifyContent:"center",margin:"-20px 0",position:"relative",zIndex:10},children:s.jsx("div",{style:{background:"#1e293b",border:"1px solid rgba(255,255,255,0.1)",padding:"8px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 4px 12px rgba(0,0,0,0.5)"},children:s.jsx(mp,{size:20,color:"#a855f7"})})}),s.jsxs("div",{style:{background:"rgba(168, 85, 247, 0.1)",borderRadius:"16px",padding:"20px",marginBottom:"24px",border:"1px solid rgba(168, 85, 247, 0.2)"},children:[s.jsx("div",{style:{fontSize:"0.8rem",color:"#c084fc",marginBottom:"8px"},children:"Receive"}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[s.jsx("span",{style:{fontSize:"1.8rem",fontWeight:700,color:"#e9d5ff"},children:t.toAmount}),s.jsx("span",{style:{background:"rgba(168, 85, 247, 0.2)",color:"#e9d5ff",padding:"6px 12px",borderRadius:"12px",fontWeight:600},children:t.toToken})]})]}),s.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"12px",fontSize:"0.85rem",color:"#94a3b8"},children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[s.jsx("span",{children:"Exchange Rate"}),s.jsxs("span",{style:{color:"white"},children:["1 ",t.fromToken," = ",t.exchangeRate," ",t.toToken]})]}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[s.jsx("span",{children:"Network"}),s.jsx("span",{style:{color:"white",textTransform:"capitalize"},children:t.chain})]}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[s.jsx("span",{children:"Network Fee (Gas)"}),s.jsx("span",{style:{color:"#f59e0b"},children:t.gasFee})]}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginTop:"8px",paddingTop:"12px",borderTop:"1px dashed rgba(255,255,255,0.1)"},children:[s.jsx("span",{children:"Transaction Hash"}),s.jsxs("a",{href:"#",style:{color:"#3b82f6",textDecoration:"none",display:"flex",alignItems:"center",gap:"4px"},children:[t.txHash.substring(0,8),"...",t.txHash.substring(60)]})]})]}),s.jsx("div",{style:{marginTop:"24px",width:"100%",height:"4px",background:"rgba(255,255,255,0.1)",borderRadius:"2px",overflow:"hidden"},children:s.jsx("div",{style:{height:"100%",width:"100%",background:"linear-gradient(90deg, #3b82f6, #a855f7)",animation:"progress 2s ease-in-out"}})})]})};function Z0(){const[e,t]=L.useState("chat"),[n,r]=L.useState(["$BTC","$ETH","$SOL","$SUI"]),[l,i]=L.useState([]),[o,a]=L.useState([]),[u,c]=L.useState(null),[y,g]=L.useState(null),[m,h]=L.useState(""),[v,x]=L.useState(""),[T,f]=L.useState(!1),[d,p]=L.useState(!1),[k,j]=L.useState(!1),_=L.useRef(!1),[E,z]=L.useState(!1),[A,O]=L.useState(null),[Ee,Vt]=L.useState(70),[ot,jn]=L.useState(null),Cn=L.useRef(null),ke=L.useRef(null);L.useEffect(()=>{var w;(w=Cn.current)==null||w.scrollIntoView({behavior:"smooth"})},[l,T]),L.useEffect(()=>{const w=window.SpeechRecognition||window.webkitSpeechRecognition;w&&(ke.current=new w,ke.current.continuous=!1,ke.current.interimResults=!1,ke.current.lang="en-US",ke.current.onresult=P=>{const Z=P.results[0][0].transcript;x(Z),p(!1)},ke.current.onerror=P=>{console.error("Speech recognition error",P.error),p(!1)},ke.current.onend=()=>{p(!1)})},[]);const Ht=()=>{var w;try{(w=ke.current)==null||w.start(),p(!0)}catch{}},C=w=>{if(!("speechSynthesis"in window))return;window.speechSynthesis.cancel();const P=w.replace(/[*#_`]/g,""),Z=new SpeechSynthesisUtterance(P);Z.lang="id-ID",Z.onstart=()=>z(!0),Z.onend=()=>{z(!1),_.current&&Ht()},window.speechSynthesis.speak(Z)},R=()=>{var P;const w=!k;j(w),_.current=w,w?Ht():((P=ke.current)==null||P.stop(),p(!1),window.speechSynthesis.cancel(),z(!1))},I=async()=>{if(!u){i([]);return}try{const w=`/api/history?session_id=${u}`,P=await b(w);if(P.ok){const Z=await P.json();i(Z)}}catch{console.warn("Backend not ready, retrying history fetch in 2s...")}},U=async()=>{try{const w=await b("/api/sessions");if(w.ok){const P=await w.json();a(P),P.length>0&&!u&&c(P[0].id)}}catch{}},X=async()=>{try{const w=await b("/api/trending");w.ok&&r(await w.json())}catch{}},Qt=async()=>{try{const w=await b("/api/sessions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:"New Chat"})});if(w.ok){const{id:P}=await w.json();c(P),i([]),await U(),t("chat")}}catch{}},Ie=async(w,P)=>{try{await b(`/api/sessions/${w}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:P})}),g(null),await U()}catch{}},Nn=async(w,P)=>{P.stopPropagation();try{await b(`/api/sessions/${w}`,{method:"DELETE"}),u===w&&(c(null),i([])),await U()}catch{}},Oe=async()=>{try{const w=await b("/api/config");if(w.ok){const P=await w.json();O(P)}else setTimeout(Oe,2e3)}catch{console.warn("Backend not ready, retrying config fetch in 2s..."),setTimeout(Oe,2e3)}},Kt=async w=>{O(w);try{await b("/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(w)})}catch(P){console.error("Failed to save config",P)}};L.useEffect(()=>{I(),Oe(),U(),X();const w=setInterval(()=>{I(),U(),X()},2e3);return()=>clearInterval(w)},[u]),L.useEffect(()=>{setTimeout(()=>{var w;(w=Cn.current)==null||w.scrollIntoView({behavior:"auto"})},10)},[l,T,e]);const Mc=async w=>{if(w.preventDefault(),!v.trim()||T)return;const P=v.trim();x(""),f(!0);let Z=u;if(!Z)try{const He=P.length>25?P.substring(0,25)+"...":P,Et=await b("/api/sessions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:He})});if(Et.ok){const{id:yr}=await Et.json();Z=yr,c(yr),await U()}}catch(He){console.error("Failed to auto-create session",He)}i(He=>[...He,{role:"user",content:P}]);try{const Et=await(await b("/api/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:P,session_id:Z})})).json();if(await I(),l.length===0&&Z){const yr=P.length>25?P.substring(0,25)+"...":P;Ie(Z,yr)}_.current&&Et.response&&C(Et.response)}catch(He){console.error("Error sending message:",He)}finally{f(!1)}},Ve=[...l].reverse().find(w=>w.role==="tool");Ve&&Ve.name&&(Ve.name==="get_balance"||Ve.name==="transfer_native"||Ve.name==="get_price"||Ve.name==="swap_token")&&Ve.content;const Rc=w=>w.split(/(\*\*.*?\*\*)/g).map((P,Z)=>P.startsWith("**")&&P.endsWith("**")?s.jsx("strong",{style:{color:"#fff"},children:P.slice(2,-2)},Z):P);return s.jsxs(s.Fragment,{children:[s.jsxs("aside",{className:"sidebar",children:[s.jsxs("div",{className:"agent-identity-card",children:[s.jsx("div",{className:"agent-avatar",children:s.jsx(Y0,{size:48})}),s.jsxs("div",{className:"agent-info",children:[s.jsx("div",{className:"agent-name",children:"Nyxora AI"}),s.jsxs("div",{className:"agent-status",children:[s.jsx("span",{className:"status-dot"})," ONLINE"]})]})]}),s.jsxs("div",{className:"sidebar-scroll-area",children:[s.jsxs("nav",{className:"sidebar-nav",style:{paddingTop:"16px"},children:[s.jsxs("div",{className:"nav-item",onClick:Qt,children:[s.jsx(s0,{size:15,className:"nav-icon"})," New Chat"]}),s.jsxs("div",{className:`nav-item ${e==="overview"?"active":""}`,onClick:()=>t("overview"),children:[s.jsx(Yp,{size:15,className:"nav-icon"})," Overview"]}),s.jsxs("div",{className:`nav-item ${e==="skills"?"active":""}`,onClick:()=>t("skills"),children:[s.jsx(Tc,{size:15,className:"nav-icon"})," Web3 Skills"]}),s.jsxs("div",{className:`nav-item ${e==="osskills"?"active":""}`,onClick:()=>t("osskills"),children:[s.jsx(Xo,{size:15,className:"nav-icon"})," OS Skills"]}),s.jsxs("div",{className:`nav-item ${e==="settings"?"active":""}`,onClick:()=>t("settings"),children:[s.jsx(g0,{size:15,className:"nav-icon"})," Settings"]})]}),s.jsx("div",{className:"sidebar-section",children:s.jsx("span",{children:"Recent"})}),s.jsx("nav",{className:"sidebar-nav sessions-list",children:o.map(w=>s.jsxs("div",{className:`nav-item session-item ${u===w.id&&e==="chat"?"active":""}`,onClick:()=>{c(w.id),t("chat")},children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",overflow:"hidden",flex:1},children:[s.jsx(e0,{size:14,className:"nav-icon"}),s.jsx("span",{style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontSize:"0.85rem"},children:w.title})]}),s.jsxs("div",{style:{display:"flex",gap:"4px"},children:[s.jsx("button",{className:"delete-session-btn",onClick:P=>{P.stopPropagation(),g(w.id),h(w.title)},title:"Rename Session",children:s.jsx(i0,{size:12})}),s.jsx("button",{className:"delete-session-btn",onClick:P=>Nn(w.id,P),title:"Delete Session",children:s.jsx(_0,{size:14})})]})]},w.id))})]})]}),s.jsxs("main",{className:"main-content",children:[s.jsxs("header",{className:"topbar",children:[s.jsxs("div",{className:"topbar-left",children:[s.jsx("span",{children:"Nyxora"}),s.jsx("span",{style:{color:"#3b82f6"},children:"•"}),s.jsx("span",{style:{color:"#fff"},children:"Chat"})]}),s.jsx("div",{className:"topbar-right",children:A?s.jsx(s.Fragment,{children:s.jsx(H0,{value:A.agent.default_chain,onChange:w=>Kt({...A,agent:{...A.agent,default_chain:w}})})}):s.jsxs("span",{style:{color:"#f59e0b",fontSize:"0.85rem",display:"flex",alignItems:"center",gap:"6px"},children:[s.jsx("span",{className:"dot",style:{background:"#f59e0b",animation:"pulse 1s infinite"}})," Waiting for API Gateway..."]})})]}),e==="overview"?s.jsx($0,{config:A}):e==="skills"?s.jsx(W0,{}):e==="osskills"?s.jsx(V0,{}):e==="settings"?s.jsx(A0,{config:A,onConfigChange:O}):s.jsx("div",{className:"workspace-container",children:s.jsxs("div",{className:"chat-wrapper",style:{width:"100%",margin:"0 auto",maxWidth:"1000px"},children:[s.jsxs("div",{className:"chat-container",children:[l.map((w,P)=>{const Z=()=>{navigator.clipboard.writeText(w.content),jn(P),setTimeout(()=>jn(null),2e3)};return w.role==="user"?s.jsxs("div",{className:"message-wrapper user",children:[s.jsx("div",{className:"message-bubble",children:w.content}),s.jsx("button",{className:"copy-btn",onClick:Z,title:"Copy message",children:ot===P?s.jsx(oa,{size:14,color:"#a3be8c"}):s.jsx(qi,{size:14})})]},P):w.role==="assistant"&&w.content?s.jsxs("div",{className:"message-wrapper agent",children:[s.jsx("div",{className:"message-bubble",children:Rc(w.content)}),s.jsx("button",{className:"copy-btn",onClick:Z,title:"Copy message",children:ot===P?s.jsx(oa,{size:14,color:"#a3be8c"}):s.jsx(qi,{size:14})})]},P):w.role==="assistant"&&w.tool_calls?s.jsx("div",{className:"message-wrapper agent",children:w.tool_calls.map((He,Et)=>s.jsxs("div",{className:"tool-call",children:[s.jsx(Sc,{size:16,color:"#22c55e"}),"Executing: ",s.jsx("code",{children:He.function.name})]},Et))},P):null}),T&&s.jsxs("div",{className:"typing-indicator",children:[s.jsx("div",{className:"dot"}),s.jsx("div",{className:"dot"}),s.jsx("div",{className:"dot"})]}),s.jsx("div",{ref:Cn})]}),s.jsxs("div",{className:"input-area",children:[s.jsxs("form",{className:"input-form",onSubmit:Mc,children:[s.jsx("button",{type:"button",className:`voice-button ${d?"listening":""} ${E?"speaking":""} ${k&&!d&&!E?"active-mode":""}`,onClick:R,title:k?"Disable Voice Mode":"Enable Hands-Free Voice Mode",children:s.jsx(n0,{size:20})}),s.jsx("input",{type:"text",className:"chat-input",placeholder:"Message Nyxora Agent (Enter to send)...",value:v,onChange:w=>x(w.target.value),disabled:T}),s.jsx("button",{type:"submit",className:"send-button",disabled:T||!v.trim(),children:s.jsx(_c,{size:20})})]}),s.jsxs("div",{className:"trending-tokens",children:[s.jsx("span",{children:"Trending Tokens:"}),n.map((w,P)=>s.jsx("span",{className:"token-tag",onClick:()=>x(`Tolong berikan analisis pasar terbaru untuk ${w}`),title:`Click to analyze ${w}`,style:{cursor:"pointer"},children:w},P))]})]})]})})]}),y&&s.jsx("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:9999},children:s.jsxs("div",{style:{background:"#1e1e24",borderRadius:"16px",padding:"24px",width:"400px",boxShadow:"0 10px 25px rgba(0,0,0,0.5)",border:"1px solid rgba(255,255,255,0.1)"},children:[s.jsx("h3",{style:{margin:"0 0 16px 0",fontSize:"1.2rem",color:"#e2e8f0",fontWeight:500},children:"Rename this chat"}),s.jsx("input",{type:"text",value:m,onChange:w=>h(w.target.value),onKeyDown:w=>{w.key==="Enter"&&Ie(y,m),w.key==="Escape"&&g(null)},autoFocus:!0,style:{width:"100%",background:"transparent",color:"#fff",border:"1px solid #3f4451",borderRadius:"8px",padding:"14px 16px",fontSize:"0.95rem",outline:"none",boxSizing:"border-box"},onFocus:w=>w.target.style.borderColor="#88c0d0",onBlur:w=>w.target.style.borderColor="#3f4451"}),s.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",gap:"8px",marginTop:"24px"},children:[s.jsx("button",{onClick:()=>g(null),style:{background:"transparent",border:"none",color:"#a0aec0",cursor:"pointer",padding:"10px 20px",borderRadius:"24px",fontWeight:500,fontSize:"0.9rem"},onMouseEnter:w=>w.currentTarget.style.background="rgba(255,255,255,0.05)",onMouseLeave:w=>w.currentTarget.style.background="transparent",children:"Cancel"}),s.jsx("button",{onClick:()=>Ie(y,m),style:{background:"#88c0d0",border:"none",color:"#13131a",cursor:"pointer",padding:"10px 20px",borderRadius:"24px",fontWeight:600,fontSize:"0.9rem"},onMouseEnter:w=>w.currentTarget.style.opacity="0.9",onMouseLeave:w=>w.currentTarget.style.opacity="1",children:"Rename"})]})]})})]})}kc(document.getElementById("root")).render(s.jsx(L.StrictMode,{children:s.jsx(Z0,{})}));
|
|
295
|
+
*/const D0=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Tc=M("Zap",D0),$0=({config:e})=>{const[t,n]=L.useState({cost:0,tokens:0,messages:0}),[r,l]=L.useState([]),[i,o]=L.useState([]),a=L.useRef(null),u=L.useRef(null);return L.useEffect(()=>{const c=async()=>{try{const g=await b("/api/stats");g.ok&&n(await g.json());const m=await b("/api/logs");if(m.ok){const h=await m.json();l(h.events),o(h.gateway)}}catch{console.error("Failed to fetch analytics")}};c();const y=setInterval(c,2e3);return()=>clearInterval(y)},[]),e?s.jsxs("div",{className:"overview-container",children:[s.jsxs("div",{className:"overview-header",children:[s.jsx("h1",{children:"Nyxora Status"}),s.jsx("p",{children:"System health, active configuration, and loaded Web3 skills."})]}),s.jsxs("div",{className:"panel gateway-access",children:[s.jsxs("div",{className:"panel-header",children:[s.jsx("h3",{children:"System Configuration"}),s.jsx("p",{children:"Current runtime parameters for your Web3 Agent."})]}),s.jsxs("div",{className:"form-row",children:[s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{children:"API Endpoint"}),s.jsx("input",{type:"text",value:"/api/chat",readOnly:!0})]}),s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{children:"Agent Name"}),s.jsx("input",{type:"text",value:e.agent.name,readOnly:!0})]}),s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{children:"Memory Storage"}),s.jsx("input",{type:"text",value:"./memory.json",readOnly:!0})]})]})]}),s.jsxs("div",{className:"metrics-grid",children:[s.jsxs("div",{className:"metric-card",children:[s.jsx("label",{children:"COST"}),s.jsxs("div",{className:"metric-val",children:["$",t.cost.toFixed(4)]}),s.jsxs("div",{className:"metric-sub",children:[t.tokens," tokens - ",t.messages," msgs"]})]}),s.jsxs("div",{className:"metric-card",children:[s.jsx("label",{children:"SESSIONS"}),s.jsx("div",{className:"metric-val",children:"1"}),s.jsx("div",{className:"metric-sub",children:"Local chat session active"})]}),s.jsxs("div",{className:"metric-card",children:[s.jsx("label",{children:"SKILLS"}),s.jsx("div",{className:"metric-val",children:"2/2"}),s.jsx("div",{className:"metric-sub",children:"2 Web3 skills loaded"})]}),s.jsxs("div",{className:"metric-card",children:[s.jsx("label",{children:"CRON"}),s.jsx("div",{className:"metric-val",children:"0 jobs"}),s.jsx("div",{className:"metric-sub",children:"No scheduled tasks"})]}),s.jsxs("div",{className:"metric-card",children:[s.jsx("label",{children:"MODEL AUTH"}),s.jsx("div",{className:"metric-val text-green",children:"1 ok"}),s.jsxs("div",{className:"metric-sub",children:[e.llm.provider.toUpperCase()," provider connected"]})]})]}),s.jsxs("div",{className:"logs-grid",children:[s.jsxs("div",{className:"log-panel",children:[s.jsx("div",{className:"log-header",children:s.jsxs("span",{children:["Event Log ",s.jsx("span",{className:"badge",children:r.length})]})}),s.jsxs("div",{className:"log-content",children:[r.map((c,y)=>s.jsxs("div",{className:"log-row",children:[s.jsx("span",{className:"log-time",children:c.timestamp}),s.jsxs("span",{className:"log-msg",children:[c.event," ",s.jsx("span",{className:"log-meta",children:JSON.stringify(c.meta)})]})]},y)),s.jsx("div",{ref:a})]})]}),s.jsxs("div",{className:"log-panel",children:[s.jsx("div",{className:"log-header",children:s.jsxs("span",{children:["Gateway Logs ",s.jsx("span",{className:"badge",children:i.length})]})}),s.jsxs("div",{className:"log-content",children:[i.map((c,y)=>s.jsx("div",{className:"log-row gateway-row",children:s.jsx("span",{className:"log-json",children:`{"timestamp":"${c.timestamp}","message":${JSON.stringify(c.message)}${c.meta?`,"meta":${JSON.stringify(c.meta)}`:""}}`})},y)),s.jsx("div",{ref:u})]})]})]})]}):s.jsx("div",{className:"overview-container",children:"Loading..."})},sa=({value:e,options:t,onChange:n,pillColor:r="#88c0d0",textColor:l="#000000"})=>{const[i,o]=L.useState(!1),a=L.useRef(null);L.useEffect(()=>{const c=y=>{a.current&&!a.current.contains(y.target)&&o(!1)};return document.addEventListener("mousedown",c),()=>document.removeEventListener("mousedown",c)},[]);const u=t.find(c=>c.id===e)||t[0];return s.jsxs("div",{className:"custom-network-selector",ref:a,style:{width:"100%"},children:[s.jsxs("button",{className:"network-selector-pill",style:{background:r,color:l,padding:"10px 20px",fontSize:"0.9rem",width:"100%",justifyContent:"space-between"},onClick:()=>o(!i),type:"button",children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(u==null?void 0:u.icon)&&s.jsx("div",{children:u.icon}),s.jsx("span",{className:"network-label",style:{fontWeight:600},children:u==null?void 0:u.label})]}),s.jsx(jc,{size:14,className:"network-chevron"})]}),i&&s.jsx("ul",{className:"network-dropdown-menu",style:{width:"100%",top:"calc(100% + 8px)",padding:"8px",zIndex:1e3},children:t.map(c=>s.jsxs("li",{className:`network-dropdown-item ${c.id===e?"active":""}`,onClick:()=>{n(c.id),o(!1)},style:{display:"flex",alignItems:"center",gap:"12px",padding:"10px 16px",borderRadius:"8px",cursor:"pointer",transition:"background 0.2s",fontWeight:500},onMouseEnter:y=>y.currentTarget.style.background="rgba(255,255,255,0.05)",onMouseLeave:y=>y.currentTarget.style.background="transparent",children:[c.icon&&s.jsx("div",{children:c.icon}),c.label]},c.id))})]})},A0=({config:e,onConfigChange:t})=>{var m;const[n,r]=L.useState(null),[l,i]=L.useState(!1);if(L.useEffect(()=>{var h,v,x,T,f,d,p,k;e&&r({agent:{name:((h=e.agent)==null?void 0:h.name)||"Nyxora",default_chain:((v=e.agent)==null?void 0:v.default_chain)||"base"},llm:{provider:((x=e.llm)==null?void 0:x.provider)||"openai",model:((T=e.llm)==null?void 0:T.model)||"gpt-4o-mini",temperature:((f=e.llm)==null?void 0:f.temperature)??.2,api_keys:Array.isArray((d=e.llm)==null?void 0:d.api_keys)?e.llm.api_keys:(p=e.llm)!=null&&p.api_keys?[e.llm.api_keys]:[]},web3:{rpc_urls:((k=e.web3)==null?void 0:k.rpc_urls)||{}}})},[e]),!n)return s.jsx("div",{className:"overview-container",children:"Loading settings..."});const o=(h,v,x)=>{r(T=>T&&{...T,[h]:{...T[h],[v]:v==="temperature"?Number(x):x}})},a=(h,v)=>{r(x=>{var d;if(!x)return x;const T=v.split(",").map(p=>p.trim()).filter(p=>p),f={...((d=x.web3)==null?void 0:d.rpc_urls)||{}};return T.length===0?delete f[h]:T.length===1?f[h]=T[0]:f[h]=T,{...x,web3:{...x.web3,rpc_urls:f}}})},u=()=>{r(h=>{if(!h)return h;const v=h.llm.api_keys||[];return v.length>=10?h:{...h,llm:{...h.llm,api_keys:[...v,""]}}})},c=(h,v)=>{r(x=>{if(!x)return x;const T=[...x.llm.api_keys||[]];return T[h]=v,{...x,llm:{...x.llm,api_keys:T}}})},y=h=>{r(v=>{if(!v)return v;const x=[...v.llm.api_keys||[]];return x.splice(h,1),{...v,llm:{...v.llm,api_keys:x}}})},g=async()=>{i(!0);try{(await b("/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})).ok&&(t(n),alert("Settings saved successfully!"))}catch(h){console.error(h),alert("Failed to save settings")}finally{i(!1)}};return s.jsxs("div",{className:"overview-container",style:{maxWidth:"900px",margin:"0 auto"},children:[s.jsxs("div",{className:"overview-header",style:{marginBottom:"32px"},children:[s.jsx("h1",{style:{color:"#eceff4"},children:"Configuration"}),s.jsx("p",{style:{color:"#d8dee9"},children:"Modify the core behaviors and parameters of the Nyxora Agent."})]}),s.jsxs("div",{className:"panel",style:{background:"transparent",border:"none",padding:0},children:[s.jsxs("div",{className:"nord-panel-header",children:[s.jsx(Ec,{size:18,color:"#81a1c1"}),s.jsx("h3",{children:"Agent Profile"})]}),s.jsxs("div",{className:"form-row",children:[s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{className:"nord-label",children:"Agent Name"}),s.jsx("input",{className:"nord-pill-input",type:"text",value:n.agent.name,onChange:h=>o("agent","name",h.target.value)})]}),s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{className:"nord-label",children:"Default Web3 Chain"}),s.jsx(sa,{value:n.agent.default_chain,onChange:h=>o("agent","default_chain",h),pillColor:"#88c0d0",textColor:"#000000",options:[{id:"ethereum",label:"Ethereum Mainnet",icon:s.jsx(Lt,{size:14})},{id:"bsc",label:"BNB Chain",icon:s.jsx(Lt,{size:14})},{id:"base",label:"Base",icon:s.jsx(Lt,{size:14})},{id:"optimism",label:"Optimism",icon:s.jsx(Lt,{size:14})},{id:"arbitrum",label:"Arbitrum",icon:s.jsx(Lt,{size:14})},{id:"sepolia",label:"Sepolia Testnet",icon:s.jsx(Lt,{size:14})}]})]})]})]}),s.jsxs("div",{className:"panel",style:{background:"transparent",border:"none",padding:0,marginTop:"32px"},children:[s.jsxs("div",{className:"nord-panel-header",children:[s.jsx(Rn,{size:18,color:"#81a1c1"}),s.jsx("h3",{children:"LLM Engine"})]}),s.jsxs("div",{className:"form-row",children:[s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{className:"nord-label",children:"Provider"}),s.jsx(sa,{value:n.llm.provider,onChange:h=>o("llm","provider",h),pillColor:"#81a1c1",textColor:"#000000",options:[{id:"gemini",label:"Google Gemini",icon:s.jsx(Rn,{size:14})},{id:"openai",label:"OpenAI",icon:s.jsx(Rn,{size:14})},{id:"openrouter",label:"OpenRouter",icon:s.jsx(Rn,{size:14})},{id:"ollama",label:"Ollama (Local)",icon:s.jsx(Rn,{size:14})}]})]}),s.jsxs("div",{className:"form-group flex-1",children:[s.jsx("label",{className:"nord-label",children:"Model Name"}),s.jsx("input",{className:"nord-pill-input",style:{color:"#81a1c1"},type:"text",value:n.llm.model,onChange:h=>o("llm","model",h.target.value)})]}),s.jsxs("div",{className:"form-group flex-1",children:[s.jsxs("label",{className:"nord-label",children:["Temperature (",n.llm.temperature,")"]}),s.jsx("input",{className:"nord-slider",type:"range",min:"0",max:"1",step:"0.1",value:n.llm.temperature,onChange:h=>o("llm","temperature",h.target.value)})]})]})]}),s.jsxs("div",{className:"panel",style:{background:"transparent",border:"none",padding:0,marginTop:"32px"},children:[s.jsxs("div",{className:"nord-panel-header",style:{justifyContent:"space-between"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[s.jsx(Kp,{size:18,color:"#81a1c1"}),s.jsx("h3",{children:"API Keys (Rotation)"})]}),s.jsxs("span",{style:{fontSize:"0.8rem",color:"#81a1c1",fontWeight:600},children:[((m=n.llm.api_keys)==null?void 0:m.length)||0," / 10 Keys"]})]}),s.jsx("p",{style:{fontSize:"0.85rem",color:"#d8dee9",marginBottom:"20px"},children:"Add up to 10 API keys. The system will automatically rotate through them (Round-Robin) for each request to prevent rate limits. Leave empty to fallback to default credentials set via CLI (nyxora setup)."}),s.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},children:[(n.llm.api_keys||[]).map((h,v)=>s.jsxs("div",{style:{display:"flex",gap:"12px",alignItems:"center"},children:[s.jsx("input",{className:"nord-input",type:"password",value:h,placeholder:"sk-...",onChange:x=>c(v,x.target.value)}),s.jsx("button",{onClick:()=>y(v),style:{background:"rgba(191, 97, 106, 0.15)",color:"#bf616a",border:"1px solid rgba(191, 97, 106, 0.3)",borderRadius:"6px",padding:"10px 16px",cursor:"pointer",transition:"all 0.2s",fontWeight:600,fontSize:"0.85rem"},onMouseEnter:x=>x.currentTarget.style.background="rgba(191, 97, 106, 0.25)",onMouseLeave:x=>x.currentTarget.style.background="rgba(191, 97, 106, 0.15)",children:"Delete"})]},v)),(!n.llm.api_keys||n.llm.api_keys.length<10)&&s.jsx("button",{onClick:u,style:{alignSelf:"flex-start",background:"transparent",color:"#81a1c1",border:"1px dashed #434c5e",borderRadius:"6px",padding:"10px 20px",cursor:"pointer",marginTop:"8px",transition:"all 0.2s",fontWeight:600,fontSize:"0.85rem"},onMouseEnter:h=>{h.currentTarget.style.borderColor="#81a1c1",h.currentTarget.style.background="rgba(129, 161, 193, 0.1)"},onMouseLeave:h=>{h.currentTarget.style.borderColor="#434c5e",h.currentTarget.style.background="transparent"},children:"+ Add API Key"})]})]}),s.jsxs("div",{className:"panel",style:{background:"transparent",border:"none",padding:0,marginTop:"40px"},children:[s.jsxs("div",{className:"nord-panel-header",children:[s.jsx(Nc,{size:18,color:"#81a1c1"}),s.jsx("h3",{children:"Web3 & RPC Settings"})]}),s.jsx("p",{style:{fontSize:"0.85rem",color:"#d8dee9",marginBottom:"20px"},children:"Override the default public RPCs with your own Premium endpoints (Alchemy/Infura). Separate multiple URLs with a comma for Fallback High-Availability."}),s.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"20px"},children:["ethereum","base","bsc","arbitrum","optimism","sepolia"].map(h=>{var T,f;const v=(f=(T=n.web3)==null?void 0:T.rpc_urls)==null?void 0:f[h],x=Array.isArray(v)?v.join(", "):v||"";return s.jsxs("div",{className:"form-group",style:{position:"relative"},children:[s.jsxs("label",{className:"nord-label",style:{display:"flex",alignItems:"center",gap:"6px"},children:[s.jsx("img",{src:`https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/${h==="bsc"?"smartchain":h}/info/logo.png`,alt:h,style:{width:"14px",height:"14px",borderRadius:"50%"},onError:d=>d.currentTarget.style.display="none"}),h," RPC"]}),s.jsx("input",{className:"nord-input",type:"text",placeholder:"https://...",value:x,onChange:d=>a(h,d.target.value)})]},h)})})]}),s.jsx("div",{className:"form-actions",style:{justifyContent:"flex-end",marginTop:"48px",paddingTop:"24px",borderTop:"1px solid rgba(216, 222, 233, 0.05)"},children:s.jsxs("button",{className:"nord-btn-primary",onClick:g,disabled:l,children:[s.jsx(p0,{size:16,style:{marginRight:"8px"}}),l?"Saving...":"Save Configuration"]})})]})},Lc=e=>e.split("_").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "),U0=(e,t)=>{const n=t!==!1?"#88c0d0":"#4c566a",r=20;switch(Lc(e).toLowerCase()){case"get balance":return s.jsx(zc,{size:r,color:n});case"transfer token":return s.jsx(_c,{size:r,color:n});case"get price":return s.jsx(Tc,{size:r,color:n});case"swap token":return s.jsx(gp,{size:r,color:n});case"bridge token":return s.jsx(d0,{size:r,color:n});case"mint nft":return s.jsx(Hp,{size:r,color:n});case"custom tx":return s.jsx(Xo,{size:r,color:n});case"check address":return s.jsx(Ml,{size:r,color:n});case"get my address":return s.jsx(Ec,{size:r,color:n});case"check token security":return s.jsx(w0,{size:r,color:n});case"check portfolio":return s.jsx(Np,{size:r,color:n});case"analyze market":return s.jsx(jp,{size:r,color:n});case"create wallet":return s.jsx(O0,{size:r,color:n});case"create limit order":return s.jsx(j0,{size:r,color:n});case"list limit orders":return s.jsx(Zp,{size:r,color:n});case"cancel limit order":return s.jsx(Lp,{size:r,color:n});default:return s.jsx(Cc,{size:r,color:n})}},W0=()=>{const[e,t]=L.useState([]),[n,r]=L.useState(""),[l,i]=L.useState(!0);L.useEffect(()=>{(async()=>{try{const c=await b("/api/skills");c.ok&&t(await c.json())}catch(c){console.error(c)}finally{i(!1)}})()},[]);const o=async(u,c)=>{const y=!c;t(g=>g.map(m=>m.function.name===u?{...m,isActive:y}:m));try{await b("/api/skills/toggle",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({skillName:u,active:y})})}catch(g){t(m=>m.map(h=>h.function.name===u?{...h,isActive:c}:h)),console.error("Failed to toggle skill",g)}};if(l)return s.jsx("div",{className:"overview-container",children:"Loading skills..."});const a=e.filter(u=>u.function.name.toLowerCase().includes(n.toLowerCase())||u.function.description.toLowerCase().includes(n.toLowerCase()));return s.jsxs("div",{className:"overview-container",style:{maxWidth:"1000px",margin:"0 auto",width:"100%"},children:[s.jsxs("div",{className:"overview-header",style:{marginBottom:"24px"},children:[s.jsx("h1",{style:{color:"#eceff4"},children:"Skills"}),s.jsx("p",{style:{color:"#d8dee9"},children:"Installed skills and their status."})]}),s.jsxs("div",{style:{display:"flex",alignItems:"center",background:"rgba(46, 52, 64, 0.4)",border:"1px solid rgba(216, 222, 233, 0.1)",borderRadius:"8px",padding:"0 16px",marginBottom:"24px"},children:[s.jsx(Ml,{size:18,color:"#9ca3af"}),s.jsx("input",{type:"text",placeholder:"Filter installed skills...",value:n,onChange:u=>r(u.target.value),style:{background:"transparent",border:"none",outline:"none",color:"#eceff4",padding:"16px",width:"100%",fontSize:"0.95rem"}}),s.jsxs("span",{style:{color:"#6b7280",fontSize:"0.85rem"},children:[a.length," shown"]})]}),s.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:a.map((u,c)=>s.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"#3b4252",padding:"20px 24px",borderRadius:"8px",border:"1px solid rgba(216, 222, 233, 0.05)"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"16px",flex:1},children:[s.jsx("div",{style:{marginTop:"2px"},children:U0(u.function.name,u.isActive!==!1)}),s.jsxs("div",{children:[s.jsx("h3",{style:{margin:"0 0 6px 0",fontSize:"1rem",color:u.isActive!==!1?"#eceff4":"#d8dee9",fontWeight:600},children:Lc(u.function.name)}),s.jsx("p",{style:{margin:0,color:"#9ca3af",fontSize:"0.85rem",lineHeight:"1.5",maxWidth:"800px"},children:u.function.description})]})]}),s.jsx("div",{style:{marginLeft:"24px"},children:s.jsx("button",{onClick:()=>o(u.function.name,u.isActive!==!1),style:{position:"relative",width:"40px",height:"22px",borderRadius:"11px",background:u.isActive!==!1?"#88c0d0":"#4c566a",border:"none",cursor:"pointer",transition:"background 0.3s ease",padding:0},children:s.jsx("div",{style:{position:"absolute",top:"2px",left:u.isActive!==!1?"20px":"2px",width:"18px",height:"18px",borderRadius:"50%",background:"#fff",transition:"left 0.3s cubic-bezier(0.4, 0.0, 0.2, 1)",boxShadow:"0 1px 3px rgba(0,0,0,0.3)"}})})})]},c))})]})},Pc=e=>e.split("_").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "),B0=(e,t)=>{const n=t!==!1?"#88c0d0":"#4c566a",r=20;switch(Pc(e).toLowerCase()){case"run terminal command":return s.jsx(Xo,{size:r,color:n});case"read local file":return s.jsx(Wp,{size:r,color:n});case"write local file":return s.jsx(Dp,{size:r,color:n});case"browse website":return s.jsx(Lt,{size:r,color:n});case"update security policy":return s.jsx(x0,{size:r,color:n});case"install external skill":return s.jsx(Mp,{size:r,color:n});case"analyze document":return s.jsx(Ap,{size:r,color:n});case"search web":return s.jsx(Ml,{size:r,color:n});case"read gmail inbox":return s.jsx(qp,{size:r,color:n});case"list calendar events":return s.jsx(wp,{size:r,color:n});default:return s.jsx(Cc,{size:r,color:n})}},V0=()=>{const[e,t]=L.useState([]),[n,r]=L.useState(""),[l,i]=L.useState(!0),[o,a]=L.useState(null),[u,c]=L.useState(!1);L.useEffect(()=>{const h=async()=>{try{const x=await b("/api/skills/system");x.ok&&t(await x.json())}catch(x){console.error(x)}finally{i(!1)}},v=async()=>{try{const x=await b("/api/auth/google/status");if(x.ok){const T=await x.json();c(T.connected)}}catch(x){console.error("Failed to fetch Google Auth status",x)}};h(),v()},[]);const y=async(h,v)=>{if(h==="run_terminal_command"&&!v){a({skillName:h,currentStatus:v});return}await g(h,v)},g=async(h,v)=>{const x=!v;t(T=>T.map(f=>f.function.name===h?{...f,isActive:x}:f));try{await b("/api/skills/toggle",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({skillName:h,active:x})})}catch(T){t(f=>f.map(d=>d.function.name===h?{...d,isActive:v}:d)),console.error("Failed to toggle OS skill",T)}};if(l)return s.jsx("div",{className:"overview-container",children:"Loading OS skills..."});const m=e.filter(h=>h.function.name.toLowerCase().includes(n.toLowerCase())||h.function.description.toLowerCase().includes(n.toLowerCase()));return s.jsxs("div",{className:"overview-container",style:{maxWidth:"1000px",margin:"0 auto",width:"100%"},children:[s.jsxs("div",{className:"overview-header",style:{marginBottom:"24px"},children:[s.jsx("h1",{style:{color:"#eceff4"},children:"OS Skills"}),s.jsx("p",{style:{color:"#d8dee9"},children:"System-level capabilities for the agent OS."})]}),s.jsxs("div",{style:{background:"#3b4252",border:"1px solid rgba(216, 222, 233, 0.1)",borderRadius:"8px",padding:"24px",marginBottom:"24px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[s.jsxs("div",{children:[s.jsx("h3",{style:{margin:"0 0 8px 0",color:"#eceff4",fontSize:"1.1rem"},children:"Account Linking"}),s.jsx("p",{style:{margin:0,color:"#d8dee9",fontSize:"0.9rem"},children:"Connect your Google Workspace to unlock Gmail and Calendar skills."})]}),s.jsx("div",{children:u?s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",background:"rgba(163, 190, 140, 0.1)",color:"#a3be8c",padding:"8px 16px",borderRadius:"6px",fontWeight:600},children:[s.jsx("span",{style:{width:"8px",height:"8px",background:"#a3be8c",borderRadius:"50%",display:"inline-block"}}),"Connected to Google"]}):s.jsxs("button",{onClick:async()=>{try{const h=await b("/api/auth/google/url"),v=await h.json();h.ok?window.open(v.url,"_blank","width=600,height=700"):alert("Setup Required: "+(v.error||"Please add google-credentials.json to ~/.nyxora/"))}catch{alert("Failed to initiate Google Auth. Is the backend running?")}},style:{background:"#eceff4",color:"#2e3440",border:"none",padding:"10px 20px",borderRadius:"6px",fontWeight:600,cursor:"pointer",display:"flex",alignItems:"center",gap:"8px"},children:[s.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),s.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),s.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),s.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),"Sign in with Google"]})})]}),s.jsxs("div",{style:{display:"flex",alignItems:"center",background:"rgba(46, 52, 64, 0.4)",border:"1px solid rgba(216, 222, 233, 0.1)",borderRadius:"8px",padding:"0 16px",marginBottom:"24px"},children:[s.jsx(Ml,{size:18,color:"#9ca3af"}),s.jsx("input",{type:"text",placeholder:"Filter OS skills...",value:n,onChange:h=>r(h.target.value),style:{background:"transparent",border:"none",outline:"none",color:"#eceff4",padding:"16px",width:"100%",fontSize:"0.95rem"}}),s.jsxs("span",{style:{color:"#6b7280",fontSize:"0.85rem"},children:[m.length," shown"]})]}),s.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:m.map((h,v)=>s.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"#3b4252",padding:"20px 24px",borderRadius:"8px",border:"1px solid rgba(216, 222, 233, 0.05)"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"16px",flex:1},children:[s.jsx("div",{style:{marginTop:"2px"},children:B0(h.function.name,h.isActive!==!1)}),s.jsxs("div",{children:[s.jsx("h3",{style:{margin:"0 0 6px 0",fontSize:"1rem",color:h.isActive!==!1?"#eceff4":"#d8dee9",fontWeight:600},children:Pc(h.function.name)}),s.jsx("p",{style:{margin:0,color:"#9ca3af",fontSize:"0.85rem",lineHeight:"1.5",maxWidth:"800px"},children:h.function.description})]})]}),s.jsx("div",{style:{marginLeft:"24px"},children:s.jsx("button",{onClick:()=>y(h.function.name,h.isActive!==!1),style:{position:"relative",width:"40px",height:"22px",borderRadius:"11px",background:h.isActive!==!1?"#88c0d0":"#4c566a",border:"none",cursor:"pointer",transition:"background 0.3s ease",padding:0},children:s.jsx("div",{style:{position:"absolute",top:"2px",left:h.isActive!==!1?"20px":"2px",width:"18px",height:"18px",borderRadius:"50%",background:"#fff",transition:"left 0.3s cubic-bezier(0.4, 0.0, 0.2, 1)",boxShadow:"0 1px 3px rgba(0,0,0,0.3)"}})})})]},v))}),o&&s.jsx("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,background:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1e3},children:s.jsxs("div",{style:{background:"#2e3440",border:"1px solid rgba(191, 97, 106, 0.4)",borderRadius:"12px",padding:"32px",maxWidth:"500px",width:"100%",boxShadow:"0 20px 40px rgba(0,0,0,0.4)"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"16px",marginBottom:"16px"},children:[s.jsx("div",{style:{background:"rgba(191, 97, 106, 0.1)",padding:"12px",borderRadius:"50%"},children:s.jsx(M0,{size:32,color:"#bf616a"})}),s.jsx("h2",{style:{margin:0,color:"#eceff4",fontSize:"1.25rem"},children:"DANGER ZONE: System Access"})]}),s.jsxs("p",{style:{color:"#d8dee9",lineHeight:"1.6",marginBottom:"24px"},children:["You are about to enable ",s.jsx("strong",{children:"Terminal Execution"}),". This grants the AI agent",s.jsx("strong",{children:" full, unrestrained access"})," to execute arbitrary shell scripts on your host operating system."]}),s.jsx("p",{style:{color:"#bf616a",fontWeight:"bold",fontSize:"0.9rem",marginBottom:"32px"},children:"⚠️ The agent could read sensitive files, modify your system, or execute harmful commands if prompted maliciously."}),s.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",gap:"12px"},children:[s.jsx("button",{onClick:()=>a(null),style:{background:"transparent",border:"1px solid #4c566a",color:"#d8dee9",padding:"10px 20px",borderRadius:"6px",cursor:"pointer",fontWeight:600},children:"Cancel"}),s.jsx("button",{onClick:()=>{g(o.skillName,o.currentStatus),a(null)},style:{background:"#bf616a",border:"none",color:"#eceff4",padding:"10px 20px",borderRadius:"6px",cursor:"pointer",fontWeight:600},children:"I Understand the Risks, Enable"})]})]})})]})},ii=[{id:"ethereum",label:"Ethereum"},{id:"bsc",label:"BNB Smart Chain"},{id:"base",label:"Base"},{id:"optimism",label:"Optimism"},{id:"arbitrum",label:"Arbitrum"},{id:"sepolia",label:"Sepolia (Testnet)"}],H0=({value:e,onChange:t})=>{const[n,r]=L.useState(!1),l=L.useRef(null);L.useEffect(()=>{const o=a=>{l.current&&!l.current.contains(a.target)&&r(!1)};return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[]);const i=ii.find(o=>o.id===e)||ii[0];return s.jsxs("div",{className:"custom-network-selector",ref:l,children:[s.jsxs("button",{className:"network-selector-pill",onClick:()=>r(!n),"aria-expanded":n,children:[s.jsx(Nc,{size:16,className:"network-icon"}),s.jsx("span",{className:"network-label",children:i.label}),s.jsx(jc,{size:14,className:"network-chevron"})]}),n&&s.jsx("ul",{className:"network-dropdown-menu",children:ii.map(o=>s.jsx("li",{className:`network-dropdown-item ${o.id===e?"active":""}`,onClick:()=>{t(o.id),r(!1)},children:o.label},o.id))})]})},Q0=({data:e})=>{let t="0.00",n="Unknown";if(e.includes(" on ")){const r=e.split(" on "),l=r[0];n=r[1].toUpperCase();const i=parseFloat(l);isNaN(i)?t=l:t=i.toLocaleString("en-US",{maximumFractionDigits:6})}return s.jsxs("div",{style:{background:"linear-gradient(135deg, rgba(30,41,59,0.8) 0%, rgba(15,23,42,0.9) 100%)",borderRadius:"24px",padding:"32px",border:"1px solid rgba(255,255,255,0.1)",boxShadow:"0 20px 40px -10px rgba(0,0,0,0.5)",width:"100%",maxWidth:"400px",margin:"0 auto",animation:"fadeIn 0.5s ease-out forwards"},children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"32px"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[s.jsx("div",{style:{background:"rgba(59,130,246,0.2)",padding:"10px",borderRadius:"12px"},children:s.jsx(zc,{size:24,color:"#3b82f6"})}),s.jsx("span",{style:{color:"#94a3b8",fontWeight:500,fontSize:"0.9rem",letterSpacing:"1px"},children:"WALLET BALANCE"})]}),s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px",background:"rgba(34,197,94,0.1)",padding:"6px 12px",borderRadius:"20px"},children:[s.jsx(Yo,{size:14,color:"#4ade80"}),s.jsx("span",{style:{color:"#4ade80",fontSize:"0.75rem",fontWeight:600},children:"LIVE"})]})]}),s.jsxs("div",{style:{marginBottom:"12px",display:"flex",alignItems:"baseline",flexWrap:"wrap",overflow:"hidden"},children:[s.jsx("span",{style:{fontSize:"2.5rem",fontWeight:800,color:"white",letterSpacing:"-1px",wordBreak:"break-all"},children:t}),s.jsx("span",{style:{fontSize:"1.2rem",color:"#94a3b8",marginLeft:"8px",fontWeight:500},children:"ETH"})]}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginTop:"32px",paddingTop:"20px",borderTop:"1px solid rgba(255,255,255,0.05)"},children:[s.jsx("span",{style:{color:"#64748b",fontSize:"0.85rem"},children:"Network"}),s.jsx("span",{style:{color:"#e2e8f0",fontSize:"0.9rem",fontWeight:600,fontFamily:"monospace"},children:n})]})]})},K0=({data:e})=>{if(e.startsWith("TRANSACTION_PENDING"))return s.jsxs("div",{className:"widget-card",style:{background:"#1e293b",border:"1px solid #eab308",padding:"24px",borderRadius:"16px"},children:[s.jsx("h3",{className:"widget-title",style:{color:"#eab308",margin:0,marginBottom:"8px"},children:"Action Required"}),s.jsx("p",{style:{color:"#cbd5e1",fontSize:"0.9rem",margin:0},children:"Please review and approve the transfer transaction."})]});let t="0.00",n="UNKNOWN",r="0x...";try{const i=e.match(/transferred ([\d.]+) on/i);i&&(t=i[1]);const o=e.match(/on (\w+) to/i);o&&(n=o[1].toUpperCase());const a=e.match(/to (0x[a-fA-F0-9]+)/i);a&&(r=a[1])}catch{}const l=i=>i.substring(0,6)+"..."+i.substring(i.length-4);return s.jsxs("div",{style:{background:"#0f172a",borderRadius:"24px",padding:"32px",border:"1px solid rgba(255,255,255,0.1)",width:"100%",maxWidth:"400px",margin:"0 auto",animation:"fadeIn 0.5s ease-out forwards",boxShadow:"0 20px 40px -10px rgba(0,0,0,0.5)"},children:[s.jsxs("div",{style:{textAlign:"center",marginBottom:"24px"},children:[s.jsx("div",{style:{width:"64px",height:"64px",background:"rgba(34,197,94,0.1)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 16px"},children:s.jsx(Yo,{size:32,color:"#4ade80"})}),s.jsx("h2",{style:{color:"white",margin:0,fontSize:"1.25rem"},children:"Transaction Sent"}),s.jsxs("span",{style:{color:"#94a3b8",fontSize:"0.9rem"},children:["Successfully confirmed on ",n]})]}),s.jsxs("div",{style:{background:"#1e293b",borderRadius:"16px",padding:"20px",marginBottom:"24px"},children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"16px"},children:[s.jsx("span",{style:{color:"#94a3b8",fontSize:"0.85rem"},children:"Amount Sent"}),s.jsxs("span",{style:{color:"white",fontWeight:600},children:[t," NATIVE"]})]}),s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"16px"},children:[s.jsxs("div",{style:{flex:1},children:[s.jsx("div",{style:{color:"#64748b",fontSize:"0.75rem",marginBottom:"4px"},children:"FROM"}),s.jsx("div",{style:{color:"#e2e8f0",fontSize:"0.85rem",fontFamily:"monospace"},children:"Agent Wallet"})]}),s.jsx(xp,{size:16,color:"#64748b"}),s.jsxs("div",{style:{flex:1,textAlign:"right"},children:[s.jsx("div",{style:{color:"#64748b",fontSize:"0.75rem",marginBottom:"4px"},children:"TO"}),s.jsxs("div",{style:{color:"#e2e8f0",fontSize:"0.85rem",fontFamily:"monospace",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"4px"},children:[l(r)," ",s.jsx(qi,{size:12,color:"#64748b",style:{cursor:"pointer"}})]})]})]})]}),s.jsx("button",{style:{width:"100%",padding:"14px",background:"transparent",border:"1px solid rgba(255,255,255,0.1)",color:"white",borderRadius:"12px",fontWeight:600,cursor:"pointer"},children:"View on Explorer"})]})},G0=({data:e})=>{let t=null;try{t=JSON.parse(e)}catch{return null}if(t.error)return s.jsx("div",{style:{background:"rgba(239, 68, 68, 0.1)",border:"1px solid rgba(239, 68, 68, 0.3)",padding:"16px",borderRadius:"16px"},children:s.jsx("p",{style:{color:"#ef4444"},children:t.error})});const{coin:n,priceUsd:r,change24h:l}=t,i=l>=0,o=i?"#4ade80":"#ef4444",a=i?"rgba(74, 222, 128, 0.1)":"rgba(239, 68, 68, 0.1)",u=i?L0:z0;return s.jsxs("div",{style:{background:"linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%)",border:"1px solid rgba(255, 255, 255, 0.1)",borderRadius:"24px",padding:"24px",boxShadow:"0 10px 40px -10px rgba(0,0,0,0.5)"},children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:"24px"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[s.jsx("div",{style:{background:"rgba(59, 130, 246, 0.2)",padding:"12px",borderRadius:"16px",border:"1px solid rgba(59, 130, 246, 0.3)"},children:s.jsx(Sc,{size:24,color:"#3b82f6"})}),s.jsxs("div",{children:[s.jsx("h3",{style:{margin:0,fontSize:"1.2rem",color:"white",textTransform:"capitalize"},children:n}),s.jsx("span",{style:{fontSize:"0.85rem",color:"#94a3b8"},children:"Live Price (USD)"})]})]}),s.jsxs("div",{style:{background:a,color:o,padding:"6px 12px",borderRadius:"12px",display:"flex",alignItems:"center",gap:"6px",fontWeight:600,fontSize:"0.9rem"},children:[s.jsx(u,{size:16}),i?"+":"",l.toFixed(2),"%"]})]}),s.jsx("div",{style:{display:"flex",alignItems:"baseline",gap:"8px",overflow:"hidden"},children:s.jsxs("span",{style:{fontSize:"3rem",fontWeight:800,color:"white",letterSpacing:"-1px",wordBreak:"break-all"},children:["$",r.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:6})]})})]})},Y0=({size:e=28,className:t=""})=>s.jsxs("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"210 210 835 835",width:e,height:e,className:t,children:[s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M391.558502,864.562012 C414.770752,831.424988 437.898010,798.228088 461.224091,765.171326 C477.741455,741.763550 494.530212,718.547302 511.188538,695.238953 C512.325684,693.647888 513.384827,692.001099 514.827759,689.865967 C416.111115,669.324341 317.944061,648.897095 219.777023,628.469910 C219.745956,628.100342 219.714890,627.730774 219.683807,627.361206 C317.965973,607.048096 416.248169,586.734985 515.386597,566.244934 C489.683167,530.326538 464.441345,495.053223 438.641846,459.000580 C437.294037,462.427734 436.131836,465.046661 435.221252,467.750305 C426.203400,494.526520 419.706848,521.833374 418.307770,550.164917 C418.161621,553.124207 417.398041,554.463074 414.247314,555.063660 C403.349243,557.141052 392.525635,559.609436 380.672791,562.142944 C381.955139,549.287842 382.795654,537.188110 384.428314,525.196289 C389.018463,491.482178 398.703979,459.225067 412.769470,428.242523 C413.487701,426.660400 412.872864,423.774323 411.822296,422.200531 C404.613678,411.401794 397.123077,400.791260 389.753174,389.651367 C389.905334,389.067993 390.027649,388.953430 390.149933,388.838837 C400.609253,396.183838 411.068604,403.528839 421.732483,411.017487 C448.953796,360.083954 488.595703,321.332672 537.556702,291.163635 C536.430664,291.357513 535.276550,291.451691 534.182617,291.759583 C473.404877,308.867706 421.375061,340.392334 377.824371,386.130768 C332.064423,434.189392 302.581238,490.723297 288.788391,555.519043 C287.160980,563.164368 286.307709,570.972107 284.888123,578.666321 C284.643646,579.991333 283.544373,581.987549 282.517700,582.214172 C268.590088,585.289429 254.605560,588.106750 239.666290,591.187622 C249.186905,504.342407 281.266876,428.187378 339.867310,364.210388 C407.528534,290.341309 491.608215,248.142334 592.349182,237.331238 C590.731506,245.370377 589.307007,252.614029 587.812500,259.843231 C584.407288,276.314758 580.834412,292.753448 577.645447,309.266479 C576.937866,312.930328 574.568787,313.922150 571.855469,315.234436 C518.939209,340.827637 479.413025,380.264313 451.142212,432.059692 C489.395081,459.635254 527.531799,487.127106 566.385315,515.135681 C586.988159,416.540558 607.394653,318.885071 627.801086,221.229568 C628.032654,221.259720 628.264160,221.289856 628.495667,221.320007 C648.896179,318.988525 669.296631,416.657074 689.808777,514.860291 C749.231628,472.484833 808.059265,430.533875 867.341919,388.626953 C867.900818,388.812653 868.004700,388.954315 868.108582,389.096008 C849.003479,415.756317 829.905701,442.421814 810.791443,469.075500 C788.267273,500.484131 765.727478,531.881470 743.204163,563.290710 C742.647949,564.066345 742.205200,564.923340 741.467285,566.142639 C840.231323,586.608215 938.625000,606.997070 1037.018677,627.385925 C1037.040283,627.731873 1037.062012,628.077881 1037.083618,628.423828 C938.778198,648.880981 840.472778,669.338074 741.484985,689.937195 C780.034912,744.140015 818.287720,797.925110 856.739441,851.989746 C857.870544,851.388916 859.027100,850.855286 860.102966,850.191101 C891.392395,830.875427 918.577148,806.818420 939.357849,776.533569 C947.590210,764.536194 953.158813,750.218750 957.569092,736.211121 C963.550171,717.214111 967.202209,697.487122 972.020630,678.114868 C972.446899,676.400879 973.864685,673.918213 975.231079,673.610779 C988.701538,670.579590 1002.258545,667.933167 1015.850098,665.165710 C1006.960327,831.437073 859.668823,998.586304 665.964600,1014.599609 C666.161560,1012.942749 666.229980,1011.378174 666.546021,1009.865417 C669.031982,997.967957 671.659729,986.098999 674.013733,974.175842 C674.563416,971.391418 675.734192,970.367493 678.503540,969.994568 C730.376587,963.009094 778.243225,945.312073 821.729614,916.054871 C827.915039,911.893494 833.889709,907.418823 839.719055,902.229187 C789.737976,922.594238 738.281250,931.719971 684.053101,924.868225 C686.495605,912.886902 688.875671,901.211975 691.358215,889.034485 C719.122437,891.573181 746.474426,890.263916 773.529236,884.649719 C800.425781,879.068298 825.987671,869.833374 850.707886,855.726074 C796.893921,817.308716 743.624573,779.280273 689.712219,740.792725 C669.298584,840.439758 649.062561,939.219666 628.826538,1037.999634 C628.337769,1038.062988 627.848999,1038.126343 627.360229,1038.189697 C607.031616,939.372681 586.703064,840.555603 566.225220,741.013123 C508.181274,782.548218 450.532928,823.800232 392.387512,864.971436 C391.890411,864.890564 391.558502,864.562012 391.558502,864.562012 M671.054382,685.592590 C683.651733,669.250977 700.426758,659.979492 720.473022,655.958557 C760.160095,647.997925 799.813110,639.867310 839.477173,631.792114 C844.905396,630.686890 850.316223,629.496033 856.934082,628.090088 C855.240906,627.423645 854.855042,627.202271 854.441284,627.118713 C809.391235,618.015625 764.324524,608.994141 719.292053,599.805237 C687.129700,593.242493 666.357849,573.794189 658.085388,542.310303 C652.000183,519.150879 647.862915,495.475311 642.997131,472.000824 C638.094788,448.350525 633.364502,424.664551 628.366150,400.044769 C627.805237,401.719086 627.470642,402.460938 627.308472,403.238739 C618.164917,447.087311 609.088989,490.950134 599.887695,534.786621 C592.838074,568.371887 574.333862,591.798584 539.707825,599.260986 C497.549194,608.346741 455.186249,616.484192 412.913910,625.042847 C409.059052,625.823303 405.220459,626.683960 400.609985,627.671082 C401.828217,628.367615 402.088959,628.612732 402.387390,628.673767 C446.942963,637.790649 491.531921,646.747131 536.049377,656.046265 C569.849854,663.106689 591.605042,683.306885 598.985901,717.262268 C608.430969,760.713928 616.988403,804.358521 625.937500,847.918152 C626.558655,850.941589 627.255554,853.949463 628.215210,858.322327 C637.018921,814.944580 645.550049,773.068237 654.003601,731.176331 C657.208618,715.293640 660.428406,699.446167 671.054382,685.592590 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M386.726410,932.261108 C301.744720,862.964966 252.860352,774.276062 239.571213,664.782349 C243.640167,665.623230 246.658188,666.259705 249.681610,666.869385 C260.132385,668.976929 270.570435,671.152649 281.047028,673.123108 C283.713837,673.624695 284.803009,674.577637 285.264160,677.483826 C299.943695,769.993530 344.846649,844.861694 418.412781,902.306030 C465.297638,938.916199 518.736572,961.112610 577.599609,970.152466 C579.135315,970.388245 581.405090,971.909729 581.702209,973.205444 C584.604919,985.865601 587.168518,998.603699 589.797119,1011.326111 C589.988586,1012.252930 589.933960,1013.230591 590.033508,1014.819641 C514.202637,1006.650635 446.673218,979.319702 386.726410,932.261108 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M717.095459,286.762451 C702.518005,285.946136 688.403137,285.164001 673.635620,284.345703 C670.496094,269.397308 667.259644,253.987091 663.812012,237.571594 C699.948914,240.829361 734.403198,248.649704 767.807129,261.272522 C801.262024,273.914642 832.392090,290.666199 860.278870,313.266907 C813.130981,301.801331 765.908508,291.274475 717.095459,286.762451 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M508.385742,845.601562 C503.292084,841.116760 498.462646,836.867615 493.256165,832.286682 C503.293274,824.734863 512.820435,817.566772 522.083801,810.597107 C532.372131,818.453186 542.291443,825.997009 552.154602,833.613647 C552.996399,834.263733 553.846802,835.322083 554.047241,836.320496 C557.123535,851.643250 560.092407,866.987488 563.338562,883.619385 C542.903259,872.819641 525.360107,859.943787 508.385742,845.601562 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M443.739258,707.133484 C445.894348,709.609070 447.759094,711.954102 449.403809,714.444519 C453.212250,720.211304 452.803345,725.074036 447.955048,730.693237 C441.574707,738.088135 436.480682,746.592834 429.788666,756.105713 C420.586670,736.813904 411.856506,718.511169 403.126312,700.208496 C403.546173,699.856079 403.966003,699.503662 404.385864,699.151184 C417.373566,701.790466 430.361298,704.429749 443.739258,707.133484 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M389.592651,389.346680 C389.291229,389.122070 389.180267,388.733337 389.069275,388.344666 C389.338684,388.340118 389.608063,388.335571 390.013702,388.584961 C390.027649,388.953430 389.905334,389.067993 389.592651,389.346680 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M867.646118,388.454865 C867.856812,388.036652 868.218323,387.834564 868.579834,387.632507 C868.601868,388.016388 868.623962,388.400299 868.377319,388.940094 C868.004700,388.954315 867.900818,388.812653 867.646118,388.454865 z"}),s.jsx("path",{fill:"#88c0d0",opacity:"1.0",stroke:"none",d:"M392.055237,865.056030 C391.863586,865.412903 391.507172,865.604370 391.150757,865.795837 C391.133575,865.521484 391.116425,865.247192 391.328857,864.767456 C391.558502,864.562012 391.890411,864.890564 392.055237,865.056030 z"})]}),X0=({data:e})=>{if(e.startsWith("TRANSACTION_PENDING"))return s.jsxs("div",{className:"widget-card",style:{background:"#1e293b",border:"1px solid #eab308"},children:[s.jsx("h3",{className:"widget-title",style:{color:"#eab308",display:"flex",alignItems:"center",gap:"8px",margin:0,marginBottom:"8px"},children:"Action Required"}),s.jsx("p",{style:{color:"#cbd5e1",fontSize:"0.9rem",margin:0},children:"Please review and approve the swap transaction."})]});let t=null;try{t=JSON.parse(e)}catch{return s.jsxs("div",{className:"widget-card error",children:[s.jsx("h3",{className:"widget-title",children:"Swap Error"}),s.jsx("p",{children:"Failed to parse swap data."})]})}return t.error?s.jsxs("div",{className:"widget-card error",children:[s.jsx("h3",{className:"widget-title",children:"Transaction Failed"}),s.jsx("p",{children:t.error})]}):s.jsxs("div",{className:"widget-card swap-widget",style:{background:"rgba(30, 41, 59, 0.7)",backdropFilter:"blur(20px)",border:"1px solid rgba(255, 255, 255, 0.1)",borderRadius:"24px",padding:"28px",color:"white",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.5)",width:"100%",maxWidth:"420px",margin:"0 auto",animation:"fadeIn 0.5s ease-out"},children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"24px"},children:[s.jsxs("h3",{style:{margin:0,fontSize:"1.1rem",fontWeight:600,display:"flex",alignItems:"center",gap:"8px"},children:[s.jsx(u0,{size:18,color:"#a855f7"}),"DeFi Swap Execution"]}),s.jsxs("span",{style:{background:"rgba(34, 197, 94, 0.2)",color:"#4ade80",padding:"4px 10px",borderRadius:"12px",fontSize:"0.75rem",fontWeight:600,display:"flex",alignItems:"center",gap:"4px"},children:[s.jsx(Yo,{size:14})," ",t.status]})]}),s.jsxs("div",{style:{background:"rgba(15, 23, 42, 0.5)",borderRadius:"16px",padding:"20px",marginBottom:"12px",border:"1px solid rgba(255,255,255,0.03)"},children:[s.jsx("div",{style:{fontSize:"0.8rem",color:"#94a3b8",marginBottom:"8px"},children:"Pay"}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[s.jsx("span",{style:{fontSize:"1.8rem",fontWeight:700},children:t.fromAmount}),s.jsx("span",{style:{background:"rgba(255,255,255,0.1)",padding:"6px 12px",borderRadius:"12px",fontWeight:600},children:t.fromToken})]})]}),s.jsx("div",{style:{display:"flex",justifyContent:"center",margin:"-20px 0",position:"relative",zIndex:10},children:s.jsx("div",{style:{background:"#1e293b",border:"1px solid rgba(255,255,255,0.1)",padding:"8px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 4px 12px rgba(0,0,0,0.5)"},children:s.jsx(mp,{size:20,color:"#a855f7"})})}),s.jsxs("div",{style:{background:"rgba(168, 85, 247, 0.1)",borderRadius:"16px",padding:"20px",marginBottom:"24px",border:"1px solid rgba(168, 85, 247, 0.2)"},children:[s.jsx("div",{style:{fontSize:"0.8rem",color:"#c084fc",marginBottom:"8px"},children:"Receive"}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[s.jsx("span",{style:{fontSize:"1.8rem",fontWeight:700,color:"#e9d5ff"},children:t.toAmount}),s.jsx("span",{style:{background:"rgba(168, 85, 247, 0.2)",color:"#e9d5ff",padding:"6px 12px",borderRadius:"12px",fontWeight:600},children:t.toToken})]})]}),s.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"12px",fontSize:"0.85rem",color:"#94a3b8"},children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[s.jsx("span",{children:"Exchange Rate"}),s.jsxs("span",{style:{color:"white"},children:["1 ",t.fromToken," = ",t.exchangeRate," ",t.toToken]})]}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[s.jsx("span",{children:"Network"}),s.jsx("span",{style:{color:"white",textTransform:"capitalize"},children:t.chain})]}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[s.jsx("span",{children:"Network Fee (Gas)"}),s.jsx("span",{style:{color:"#f59e0b"},children:t.gasFee})]}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginTop:"8px",paddingTop:"12px",borderTop:"1px dashed rgba(255,255,255,0.1)"},children:[s.jsx("span",{children:"Transaction Hash"}),s.jsxs("a",{href:"#",style:{color:"#3b82f6",textDecoration:"none",display:"flex",alignItems:"center",gap:"4px"},children:[t.txHash.substring(0,8),"...",t.txHash.substring(60)]})]})]}),s.jsx("div",{style:{marginTop:"24px",width:"100%",height:"4px",background:"rgba(255,255,255,0.1)",borderRadius:"2px",overflow:"hidden"},children:s.jsx("div",{style:{height:"100%",width:"100%",background:"linear-gradient(90deg, #3b82f6, #a855f7)",animation:"progress 2s ease-in-out"}})})]})};function Z0(){const[e,t]=L.useState("chat"),[n,r]=L.useState(["$BTC","$ETH","$SOL","$SUI"]),[l,i]=L.useState([]),[o,a]=L.useState([]),[u,c]=L.useState(null),[y,g]=L.useState(null),[m,h]=L.useState(""),[v,x]=L.useState(""),[T,f]=L.useState(!1),[d,p]=L.useState(!1),[k,j]=L.useState(!1),_=L.useRef(!1),[E,z]=L.useState(!1),[A,O]=L.useState(null),[Ee,Vt]=L.useState(70),[ot,jn]=L.useState(null),mr=L.useRef(null),ke=L.useRef(null);L.useEffect(()=>{const S=window.SpeechRecognition||window.webkitSpeechRecognition;S&&(ke.current=new S,ke.current.continuous=!1,ke.current.interimResults=!1,ke.current.lang="en-US",ke.current.onresult=P=>{const Z=P.results[0][0].transcript;x(Z),p(!1)},ke.current.onerror=P=>{console.error("Speech recognition error",P.error),p(!1)},ke.current.onend=()=>{p(!1)})},[]);const Ht=()=>{var S;try{(S=ke.current)==null||S.start(),p(!0)}catch{}},C=S=>{if(!("speechSynthesis"in window))return;window.speechSynthesis.cancel();const P=S.replace(/[*#_`]/g,""),Z=new SpeechSynthesisUtterance(P);Z.lang="id-ID",Z.onstart=()=>z(!0),Z.onend=()=>{z(!1),_.current&&Ht()},window.speechSynthesis.speak(Z)},R=()=>{var P;const S=!k;j(S),_.current=S,S?Ht():((P=ke.current)==null||P.stop(),p(!1),window.speechSynthesis.cancel(),z(!1))},I=async()=>{if(!u){i([]);return}try{const S=`/api/history?session_id=${u}`,P=await b(S);if(P.ok){const Z=await P.json();i(Z)}}catch{console.warn("Backend not ready, retrying history fetch in 2s...")}},U=async()=>{try{const S=await b("/api/sessions");if(S.ok){const P=await S.json();a(P),P.length>0&&!u&&c(P[0].id)}}catch{}},X=async()=>{try{const S=await b("/api/trending");S.ok&&r(await S.json())}catch{}},Qt=async()=>{try{const S=await b("/api/sessions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:"New Chat"})});if(S.ok){const{id:P}=await S.json();c(P),i([]),await U(),t("chat")}}catch{}},Ie=async(S,P)=>{try{await b(`/api/sessions/${S}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:P})}),g(null),await U()}catch{}},Cn=async(S,P)=>{P.stopPropagation();try{await b(`/api/sessions/${S}`,{method:"DELETE"}),u===S&&(c(null),i([])),await U()}catch{}},Oe=async()=>{try{const S=await b("/api/config");if(S.ok){const P=await S.json();O(P)}else setTimeout(Oe,2e3)}catch{console.warn("Backend not ready, retrying config fetch in 2s..."),setTimeout(Oe,2e3)}},Kt=async S=>{O(S);try{await b("/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(S)})}catch(P){console.error("Failed to save config",P)}};L.useEffect(()=>{I(),Oe(),U(),X();const S=setInterval(()=>{I(),U(),X()},2e3);return()=>clearInterval(S)},[u]),L.useEffect(()=>{setTimeout(()=>{var S;(S=mr.current)==null||S.scrollIntoView({behavior:"smooth"})},10)},[l.length,T,e]);const Mc=async S=>{if(S.preventDefault(),!v.trim()||T)return;const P=v.trim();x(""),f(!0);let Z=u;if(!Z)try{const He=P.length>25?P.substring(0,25)+"...":P,Et=await b("/api/sessions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:He})});if(Et.ok){const{id:yr}=await Et.json();Z=yr,c(yr),await U()}}catch(He){console.error("Failed to auto-create session",He)}i(He=>[...He,{role:"user",content:P}]);try{const Et=await(await b("/api/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:P,session_id:Z})})).json();if(await I(),l.length===0&&Z){const yr=P.length>25?P.substring(0,25)+"...":P;Ie(Z,yr)}_.current&&Et.response&&C(Et.response)}catch(He){console.error("Error sending message:",He)}finally{f(!1)}},Ve=[...l].reverse().find(S=>S.role==="tool");Ve&&Ve.name&&(Ve.name==="get_balance"||Ve.name==="transfer_native"||Ve.name==="get_price"||Ve.name==="swap_token")&&Ve.content;const Rc=S=>S.split(/(\*\*.*?\*\*)/g).map((P,Z)=>P.startsWith("**")&&P.endsWith("**")?s.jsx("strong",{style:{color:"#fff"},children:P.slice(2,-2)},Z):P);return s.jsxs(s.Fragment,{children:[s.jsxs("aside",{className:"sidebar",children:[s.jsxs("div",{className:"agent-identity-card",children:[s.jsx("div",{className:"agent-avatar",children:s.jsx(Y0,{size:48})}),s.jsxs("div",{className:"agent-info",children:[s.jsx("div",{className:"agent-name",children:"Nyxora AI"}),s.jsxs("div",{className:"agent-status",children:[s.jsx("span",{className:"status-dot"})," ONLINE"]})]})]}),s.jsxs("div",{className:"sidebar-scroll-area",children:[s.jsxs("nav",{className:"sidebar-nav",style:{paddingTop:"16px"},children:[s.jsxs("div",{className:"nav-item",onClick:Qt,children:[s.jsx(s0,{size:15,className:"nav-icon"})," New Chat"]}),s.jsxs("div",{className:`nav-item ${e==="overview"?"active":""}`,onClick:()=>t("overview"),children:[s.jsx(Yp,{size:15,className:"nav-icon"})," Overview"]}),s.jsxs("div",{className:`nav-item ${e==="skills"?"active":""}`,onClick:()=>t("skills"),children:[s.jsx(Tc,{size:15,className:"nav-icon"})," Web3 Skills"]}),s.jsxs("div",{className:`nav-item ${e==="osskills"?"active":""}`,onClick:()=>t("osskills"),children:[s.jsx(Xo,{size:15,className:"nav-icon"})," OS Skills"]}),s.jsxs("div",{className:`nav-item ${e==="settings"?"active":""}`,onClick:()=>t("settings"),children:[s.jsx(g0,{size:15,className:"nav-icon"})," Settings"]})]}),s.jsx("div",{className:"sidebar-section",children:s.jsx("span",{children:"Recent"})}),s.jsx("nav",{className:"sidebar-nav sessions-list",children:o.map(S=>s.jsxs("div",{className:`nav-item session-item ${u===S.id&&e==="chat"?"active":""}`,onClick:()=>{c(S.id),t("chat")},children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",overflow:"hidden",flex:1},children:[s.jsx(e0,{size:14,className:"nav-icon"}),s.jsx("span",{style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontSize:"0.85rem"},children:S.title})]}),s.jsxs("div",{style:{display:"flex",gap:"4px"},children:[s.jsx("button",{className:"delete-session-btn",onClick:P=>{P.stopPropagation(),g(S.id),h(S.title)},title:"Rename Session",children:s.jsx(i0,{size:12})}),s.jsx("button",{className:"delete-session-btn",onClick:P=>Cn(S.id,P),title:"Delete Session",children:s.jsx(_0,{size:14})})]})]},S.id))})]})]}),s.jsxs("main",{className:"main-content",children:[s.jsxs("header",{className:"topbar",children:[s.jsxs("div",{className:"topbar-left",children:[s.jsx("span",{children:"Nyxora"}),s.jsx("span",{style:{color:"#3b82f6"},children:"•"}),s.jsx("span",{style:{color:"#fff"},children:"Chat"})]}),s.jsx("div",{className:"topbar-right",children:A?s.jsx(s.Fragment,{children:s.jsx(H0,{value:A.agent.default_chain,onChange:S=>Kt({...A,agent:{...A.agent,default_chain:S}})})}):s.jsxs("span",{style:{color:"#f59e0b",fontSize:"0.85rem",display:"flex",alignItems:"center",gap:"6px"},children:[s.jsx("span",{className:"dot",style:{background:"#f59e0b",animation:"pulse 1s infinite"}})," Waiting for API Gateway..."]})})]}),e==="overview"?s.jsx($0,{config:A}):e==="skills"?s.jsx(W0,{}):e==="osskills"?s.jsx(V0,{}):e==="settings"?s.jsx(A0,{config:A,onConfigChange:O}):s.jsx("div",{className:"workspace-container",children:s.jsxs("div",{className:"chat-wrapper",style:{width:"100%",margin:"0 auto",maxWidth:"1000px"},children:[s.jsxs("div",{className:"chat-container",children:[l.map((S,P)=>{const Z=()=>{navigator.clipboard.writeText(S.content),jn(P),setTimeout(()=>jn(null),2e3)};return S.role==="user"?s.jsxs("div",{className:"message-wrapper user",children:[s.jsx("div",{className:"message-bubble",children:S.content}),s.jsx("button",{className:"copy-btn",onClick:Z,title:"Copy message",children:ot===P?s.jsx(oa,{size:14,color:"#a3be8c"}):s.jsx(qi,{size:14})})]},P):S.role==="assistant"&&S.content?s.jsxs("div",{className:"message-wrapper agent",children:[s.jsx("div",{className:"message-bubble",children:Rc(S.content)}),s.jsx("button",{className:"copy-btn",onClick:Z,title:"Copy message",children:ot===P?s.jsx(oa,{size:14,color:"#a3be8c"}):s.jsx(qi,{size:14})})]},P):S.role==="assistant"&&S.tool_calls?s.jsx("div",{className:"message-wrapper agent",children:S.tool_calls.map((He,Et)=>s.jsxs("div",{className:"tool-call",children:[s.jsx(Sc,{size:16,color:"#22c55e"}),"Executing: ",s.jsx("code",{children:He.function.name})]},Et))},P):null}),T&&s.jsxs("div",{className:"typing-indicator",children:[s.jsx("div",{className:"dot"}),s.jsx("div",{className:"dot"}),s.jsx("div",{className:"dot"})]}),s.jsx("div",{ref:mr})]}),s.jsxs("div",{className:"input-area",children:[s.jsxs("form",{className:"input-form",onSubmit:Mc,children:[s.jsx("button",{type:"button",className:`voice-button ${d?"listening":""} ${E?"speaking":""} ${k&&!d&&!E?"active-mode":""}`,onClick:R,title:k?"Disable Voice Mode":"Enable Hands-Free Voice Mode",children:s.jsx(n0,{size:20})}),s.jsx("input",{type:"text",className:"chat-input",placeholder:"Message Nyxora Agent (Enter to send)...",value:v,onChange:S=>x(S.target.value),disabled:T}),s.jsx("button",{type:"submit",className:"send-button",disabled:T||!v.trim(),children:s.jsx(_c,{size:20})})]}),s.jsxs("div",{className:"trending-tokens",children:[s.jsx("span",{children:"Trending Tokens:"}),n.map((S,P)=>s.jsx("span",{className:"token-tag",onClick:()=>x(`Tolong berikan analisis pasar terbaru untuk ${S}`),title:`Click to analyze ${S}`,style:{cursor:"pointer"},children:S},P))]})]})]})})]}),y&&s.jsx("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:9999},children:s.jsxs("div",{style:{background:"#1e1e24",borderRadius:"16px",padding:"24px",width:"400px",boxShadow:"0 10px 25px rgba(0,0,0,0.5)",border:"1px solid rgba(255,255,255,0.1)"},children:[s.jsx("h3",{style:{margin:"0 0 16px 0",fontSize:"1.2rem",color:"#e2e8f0",fontWeight:500},children:"Rename this chat"}),s.jsx("input",{type:"text",value:m,onChange:S=>h(S.target.value),onKeyDown:S=>{S.key==="Enter"&&Ie(y,m),S.key==="Escape"&&g(null)},autoFocus:!0,style:{width:"100%",background:"transparent",color:"#fff",border:"1px solid #3f4451",borderRadius:"8px",padding:"14px 16px",fontSize:"0.95rem",outline:"none",boxSizing:"border-box"},onFocus:S=>S.target.style.borderColor="#88c0d0",onBlur:S=>S.target.style.borderColor="#3f4451"}),s.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",gap:"8px",marginTop:"24px"},children:[s.jsx("button",{onClick:()=>g(null),style:{background:"transparent",border:"none",color:"#a0aec0",cursor:"pointer",padding:"10px 20px",borderRadius:"24px",fontWeight:500,fontSize:"0.9rem"},onMouseEnter:S=>S.currentTarget.style.background="rgba(255,255,255,0.05)",onMouseLeave:S=>S.currentTarget.style.background="transparent",children:"Cancel"}),s.jsx("button",{onClick:()=>Ie(y,m),style:{background:"#88c0d0",border:"none",color:"#13131a",cursor:"pointer",padding:"10px 20px",borderRadius:"24px",fontWeight:600,fontSize:"0.9rem"},onMouseEnter:S=>S.currentTarget.style.opacity="0.9",onMouseLeave:S=>S.currentTarget.style.opacity="1",children:"Rename"})]})]})})]})}kc(document.getElementById("root")).render(s.jsx(L.StrictMode,{children:s.jsx(Z0,{})}));
|