llonebot-dist 7.0.1 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/llonebot.js +2336 -10459
- package/llonebot.js.map +1 -1
- package/node_modules/cosmokit/LICENSE +21 -0
- package/node_modules/cosmokit/README.md +24 -0
- package/node_modules/cosmokit/lib/index.cjs +463 -0
- package/node_modules/cosmokit/lib/index.cjs.map +6 -0
- package/node_modules/cosmokit/lib/index.d.ts +142 -0
- package/node_modules/cosmokit/lib/index.mjs +403 -0
- package/node_modules/cosmokit/lib/index.mjs.map +6 -0
- package/node_modules/cosmokit/package.json +56 -0
- package/node_modules/cosmokit/src/array.ts +35 -0
- package/node_modules/cosmokit/src/index.ts +5 -0
- package/node_modules/cosmokit/src/misc.ts +57 -0
- package/node_modules/cosmokit/src/string.ts +101 -0
- package/node_modules/cosmokit/src/time.ts +91 -0
- package/node_modules/cosmokit/src/types.ts +129 -0
- package/node_modules/has-flag/index.d.ts +39 -0
- package/node_modules/has-flag/index.js +8 -0
- package/node_modules/has-flag/license +9 -0
- package/node_modules/has-flag/package.json +46 -0
- package/node_modules/has-flag/readme.md +89 -0
- package/node_modules/object-inspect/CHANGELOG.md +424 -0
- package/node_modules/object-inspect/LICENSE +21 -0
- package/node_modules/object-inspect/example/all.js +23 -0
- package/node_modules/object-inspect/example/circular.js +6 -0
- package/node_modules/object-inspect/example/fn.js +5 -0
- package/node_modules/object-inspect/example/inspect.js +10 -0
- package/node_modules/object-inspect/index.js +544 -0
- package/node_modules/object-inspect/package-support.json +20 -0
- package/node_modules/object-inspect/package.json +105 -0
- package/node_modules/object-inspect/readme.markdown +84 -0
- package/node_modules/object-inspect/test/bigint.js +58 -0
- package/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/node_modules/object-inspect/test/circular.js +16 -0
- package/node_modules/object-inspect/test/deep.js +12 -0
- package/node_modules/object-inspect/test/element.js +53 -0
- package/node_modules/object-inspect/test/err.js +48 -0
- package/node_modules/object-inspect/test/fakes.js +29 -0
- package/node_modules/object-inspect/test/fn.js +76 -0
- package/node_modules/object-inspect/test/global.js +17 -0
- package/node_modules/object-inspect/test/has.js +15 -0
- package/node_modules/object-inspect/test/holes.js +15 -0
- package/node_modules/object-inspect/test/indent-option.js +271 -0
- package/node_modules/object-inspect/test/inspect.js +139 -0
- package/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/node_modules/object-inspect/test/number.js +58 -0
- package/node_modules/object-inspect/test/quoteStyle.js +26 -0
- package/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/node_modules/object-inspect/test/undef.js +12 -0
- package/node_modules/object-inspect/test/values.js +261 -0
- package/node_modules/object-inspect/test-core-js.js +26 -0
- package/node_modules/object-inspect/util.inspect.js +1 -0
- package/node_modules/reggol/LICENSE +21 -0
- package/node_modules/reggol/README.md +8 -0
- package/node_modules/reggol/index.d.ts +79 -0
- package/node_modules/reggol/lib/browser.mjs +299 -0
- package/node_modules/reggol/lib/node.js +31 -0
- package/node_modules/reggol/lib/shared.js +258 -0
- package/node_modules/reggol/lib/shared.mjs +266 -0
- package/node_modules/reggol/node_modules/supports-color/browser.js +24 -0
- package/node_modules/reggol/node_modules/supports-color/index.js +152 -0
- package/node_modules/reggol/node_modules/supports-color/license +9 -0
- package/node_modules/reggol/node_modules/supports-color/package.json +58 -0
- package/node_modules/reggol/node_modules/supports-color/readme.md +77 -0
- package/node_modules/reggol/package.json +65 -0
- package/node_modules/reggol/src/browser.ts +8 -0
- package/node_modules/reggol/src/index.ts +3 -0
- package/node_modules/reggol/src/node.ts +8 -0
- package/node_modules/reggol/src/shared.ts +249 -0
- package/node_modules/supports-color/browser.d.ts +1 -0
- package/node_modules/supports-color/browser.js +35 -0
- package/node_modules/supports-color/index.d.ts +55 -0
- package/node_modules/supports-color/index.js +202 -0
- package/node_modules/supports-color/license +9 -0
- package/node_modules/supports-color/package.json +64 -0
- package/node_modules/supports-color/readme.md +75 -0
- package/package.json +1 -1
- package/webui/assets/index-CO7Tbtyt.css +1 -0
- package/webui/assets/index-D7SfQ8t3.js +308 -0
- package/webui/favicon.ico +0 -0
- package/webui/index.html +2 -2
- package//344/275/277/347/224/250/350/257/264/346/230/216.txt +2 -2
- package//346/233/264/346/226/260/346/227/245/345/277/227.txt +24 -0
- package/webui/assets/index-DH65Wt1j.css +0 -1
- package/webui/assets/index-fRyBxWld.js +0 -273
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const s of l)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(l){if(l.ep)return;l.ep=!0;const s=n(l);fetch(l.href,s)}})();function Dc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ka={exports:{}},xl={},wa={exports:{}},A={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var or=Symbol.for("react.element"),Ac=Symbol.for("react.portal"),Uc=Symbol.for("react.fragment"),$c=Symbol.for("react.strict_mode"),Vc=Symbol.for("react.profiler"),Bc=Symbol.for("react.provider"),Hc=Symbol.for("react.context"),Qc=Symbol.for("react.forward_ref"),Wc=Symbol.for("react.suspense"),Kc=Symbol.for("react.memo"),qc=Symbol.for("react.lazy"),ni=Symbol.iterator;function Gc(e){return e===null||typeof e!="object"?null:(e=ni&&e[ni]||e["@@iterator"],typeof e=="function"?e:null)}var ja={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Na=Object.assign,Sa={};function yn(e,t,n){this.props=e,this.context=t,this.refs=Sa,this.updater=n||ja}yn.prototype.isReactComponent={};yn.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")};yn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ca(){}Ca.prototype=yn.prototype;function oo(e,t,n){this.props=e,this.context=t,this.refs=Sa,this.updater=n||ja}var io=oo.prototype=new Ca;io.constructor=oo;Na(io,yn.prototype);io.isPureReactComponent=!0;var ri=Array.isArray,Ea=Object.prototype.hasOwnProperty,ao={current:null},Pa={key:!0,ref:!0,__self:!0,__source:!0};function za(e,t,n){var r,l={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)Ea.call(t,r)&&!Pa.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),d=0;d<a;d++)u[d]=arguments[d+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:or,type:e,key:s,ref:i,props:l,_owner:ao.current}}function Yc(e,t){return{$$typeof:or,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function uo(e){return typeof e=="object"&&e!==null&&e.$$typeof===or}function Xc(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var li=/\/+/g;function Il(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Xc(""+e.key):t.toString(36)}function Tr(e,t,n,r,l){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case or:case Ac:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+Il(i,0):r,ri(l)?(n="",e!=null&&(n=e.replace(li,"$&/")+"/"),Tr(l,t,n,"",function(d){return d})):l!=null&&(uo(l)&&(l=Yc(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(li,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",ri(e))for(var a=0;a<e.length;a++){s=e[a];var u=r+Il(s,a);i+=Tr(s,t,n,u,l)}else if(u=Gc(e),typeof u=="function")for(e=u.call(e),a=0;!(s=e.next()).done;)s=s.value,u=r+Il(s,a++),i+=Tr(s,t,n,u,l);else if(s==="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 i}function pr(e,t,n){if(e==null)return e;var r=[],l=0;return Tr(e,r,"","",function(s){return t.call(n,s,l++)}),r}function Zc(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 ye={current:null},Lr={transition:null},Jc={ReactCurrentDispatcher:ye,ReactCurrentBatchConfig:Lr,ReactCurrentOwner:ao};function ba(){throw Error("act(...) is not supported in production builds of React.")}A.Children={map:pr,forEach:function(e,t,n){pr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return pr(e,function(){t++}),t},toArray:function(e){return pr(e,function(t){return t})||[]},only:function(e){if(!uo(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};A.Component=yn;A.Fragment=Uc;A.Profiler=Vc;A.PureComponent=oo;A.StrictMode=$c;A.Suspense=Wc;A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jc;A.act=ba;A.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=Na({},e.props),l=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=ao.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)Ea.call(t,u)&&!Pa.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 d=0;d<u;d++)a[d]=arguments[d+2];r.children=a}return{$$typeof:or,type:e.type,key:l,ref:s,props:r,_owner:i}};A.createContext=function(e){return e={$$typeof:Hc,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Bc,_context:e},e.Consumer=e};A.createElement=za;A.createFactory=function(e){var t=za.bind(null,e);return t.type=e,t};A.createRef=function(){return{current:null}};A.forwardRef=function(e){return{$$typeof:Qc,render:e}};A.isValidElement=uo;A.lazy=function(e){return{$$typeof:qc,_payload:{_status:-1,_result:e},_init:Zc}};A.memo=function(e,t){return{$$typeof:Kc,type:e,compare:t===void 0?null:t}};A.startTransition=function(e){var t=Lr.transition;Lr.transition={};try{e()}finally{Lr.transition=t}};A.unstable_act=ba;A.useCallback=function(e,t){return ye.current.useCallback(e,t)};A.useContext=function(e){return ye.current.useContext(e)};A.useDebugValue=function(){};A.useDeferredValue=function(e){return ye.current.useDeferredValue(e)};A.useEffect=function(e,t){return ye.current.useEffect(e,t)};A.useId=function(){return ye.current.useId()};A.useImperativeHandle=function(e,t,n){return ye.current.useImperativeHandle(e,t,n)};A.useInsertionEffect=function(e,t){return ye.current.useInsertionEffect(e,t)};A.useLayoutEffect=function(e,t){return ye.current.useLayoutEffect(e,t)};A.useMemo=function(e,t){return ye.current.useMemo(e,t)};A.useReducer=function(e,t,n){return ye.current.useReducer(e,t,n)};A.useRef=function(e){return ye.current.useRef(e)};A.useState=function(e){return ye.current.useState(e)};A.useSyncExternalStore=function(e,t,n){return ye.current.useSyncExternalStore(e,t,n)};A.useTransition=function(){return ye.current.useTransition()};A.version="18.3.1";wa.exports=A;var C=wa.exports;const ed=Dc(C);/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.production.min.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var td=C,nd=Symbol.for("react.element"),rd=Symbol.for("react.fragment"),ld=Object.prototype.hasOwnProperty,sd=td.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,od={key:!0,ref:!0,__self:!0,__source:!0};function _a(e,t,n){var r,l={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)ld.call(t,r)&&!od.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:nd,type:e,key:s,ref:i,props:l,_owner:sd.current}}xl.Fragment=rd;xl.jsx=_a;xl.jsxs=_a;ka.exports=xl;var o=ka.exports,cs={},Ta={exports:{}},ze={},La={exports:{}},Ma={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.min.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/(function(e){function t(P,R){var D=P.length;P.push(R);e:for(;0<D;){var Z=D-1>>>1,re=P[Z];if(0<l(re,R))P[Z]=R,P[D]=re,D=Z;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var R=P[0],D=P.pop();if(D!==R){P[0]=D;e:for(var Z=0,re=P.length,dr=re>>>1;Z<dr;){var Ct=2*(Z+1)-1,Rl=P[Ct],Et=Ct+1,fr=P[Et];if(0>l(Rl,D))Et<re&&0>l(fr,Rl)?(P[Z]=fr,P[Et]=D,Z=Et):(P[Z]=Rl,P[Ct]=D,Z=Ct);else if(Et<re&&0>l(fr,D))P[Z]=fr,P[Et]=D,Z=Et;else break e}}return R}function l(P,R){var D=P.sortIndex-R.sortIndex;return D!==0?D:P.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var u=[],d=[],g=1,h=null,m=3,v=!1,y=!1,k=!1,w=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=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(P){for(var R=n(d);R!==null;){if(R.callback===null)r(d);else if(R.startTime<=P)r(d),R.sortIndex=R.expirationTime,t(u,R);else break;R=n(d)}}function x(P){if(k=!1,p(P),!y)if(n(u)!==null)y=!0,I(N);else{var R=n(d);R!==null&&oe(x,R.startTime-P)}}function N(P,R){y=!1,k&&(k=!1,f(_),_=-1),v=!0;var D=m;try{for(p(R),h=n(u);h!==null&&(!(h.expirationTime>R)||P&&!L());){var Z=h.callback;if(typeof Z=="function"){h.callback=null,m=h.priorityLevel;var re=Z(h.expirationTime<=R);R=e.unstable_now(),typeof re=="function"?h.callback=re:h===n(u)&&r(u),p(R)}else r(u);h=n(u)}if(h!==null)var dr=!0;else{var Ct=n(d);Ct!==null&&oe(x,Ct.startTime-R),dr=!1}return dr}finally{h=null,m=D,v=!1}}var E=!1,z=null,_=-1,F=5,b=-1;function L(){return!(e.unstable_now()-b<F)}function M(){if(z!==null){var P=e.unstable_now();b=P;var R=!0;try{R=z(!0,P)}finally{R?S():(E=!1,z=null)}}else E=!1}var S;if(typeof c=="function")S=function(){c(M)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,X=O.port2;O.port1.onmessage=M,S=function(){X.postMessage(null)}}else S=function(){w(M,0)};function I(P){z=P,E||(E=!0,S())}function oe(P,R){_=w(function(){P(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(P){P.callback=null},e.unstable_continueExecution=function(){y||v||(y=!0,I(N))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(P){switch(m){case 1:case 2:case 3:var R=3;break;default:R=m}var D=m;m=R;try{return P()}finally{m=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,R){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var D=m;m=P;try{return R()}finally{m=D}},e.unstable_scheduleCallback=function(P,R,D){var Z=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?Z+D:Z):D=Z,P){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=D+re,P={id:g++,callback:R,priorityLevel:P,startTime:D,expirationTime:re,sortIndex:-1},D>Z?(P.sortIndex=D,t(d,P),n(u)===null&&P===n(d)&&(k?(f(_),_=-1):k=!0,oe(x,D-Z))):(P.sortIndex=re,t(u,P),y||v||(y=!0,I(N))),P},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(P){var R=m;return function(){var D=m;m=R;try{return P.apply(this,arguments)}finally{m=D}}}})(Ma);La.exports=Ma;var id=La.exports;/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.min.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/var ad=C,Pe=id;function j(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 Ra=new Set,Vn={};function At(e,t){an(e,t),an(e+"Capture",t)}function an(e,t){for(Vn[e]=t,e=0;e<t.length;e++)Ra.add(t[e])}var Je=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ds=Object.prototype.hasOwnProperty,ud=/^[: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]*$/,si={},oi={};function cd(e){return ds.call(oi,e)?!0:ds.call(si,e)?!1:ud.test(e)?oi[e]=!0:(si[e]=!0,!1)}function dd(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 fd(e,t,n,r){if(t===null||typeof t>"u"||dd(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 xe(e,t,n,r,l,s,i){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=s,this.removeEmptyString=i}var ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ce[e]=new xe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ce[t]=new xe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ce[e]=new xe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ce[e]=new xe(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){ce[e]=new xe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ce[e]=new xe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ce[e]=new xe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ce[e]=new xe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ce[e]=new xe(e,5,!1,e.toLowerCase(),null,!1,!1)});var co=/[\-:]([a-z])/g;function fo(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(co,fo);ce[t]=new xe(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(co,fo);ce[t]=new xe(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(co,fo);ce[t]=new xe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ce[e]=new xe(e,1,!1,e.toLowerCase(),null,!1,!1)});ce.xlinkHref=new xe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ce[e]=new xe(e,1,!1,e.toLowerCase(),null,!0,!0)});function po(e,t,n,r){var l=ce.hasOwnProperty(t)?ce[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(fd(t,n,l,r)&&(n=null),r||l===null?cd(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 rt=ad.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,mr=Symbol.for("react.element"),Bt=Symbol.for("react.portal"),Ht=Symbol.for("react.fragment"),mo=Symbol.for("react.strict_mode"),fs=Symbol.for("react.profiler"),Ia=Symbol.for("react.provider"),Fa=Symbol.for("react.context"),ho=Symbol.for("react.forward_ref"),ps=Symbol.for("react.suspense"),ms=Symbol.for("react.suspense_list"),go=Symbol.for("react.memo"),st=Symbol.for("react.lazy"),Oa=Symbol.for("react.offscreen"),ii=Symbol.iterator;function kn(e){return e===null||typeof e!="object"?null:(e=ii&&e[ii]||e["@@iterator"],typeof e=="function"?e:null)}var G=Object.assign,Fl;function zn(e){if(Fl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Fl=t&&t[1]||""}return`
|
|
34
|
+
`+Fl+e}var Ol=!1;function Dl(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(d){var r=d}Reflect.construct(e,[],t)}else{try{t.call()}catch(d){r=d}e.call(t.prototype)}else{try{throw Error()}catch(d){r=d}e()}}catch(d){if(d&&r&&typeof d.stack=="string"){for(var l=d.stack.split(`
|
|
35
|
+
`),s=r.stack.split(`
|
|
36
|
+
`),i=l.length-1,a=s.length-1;1<=i&&0<=a&&l[i]!==s[a];)a--;for(;1<=i&&0<=a;i--,a--)if(l[i]!==s[a]){if(i!==1||a!==1)do if(i--,a--,0>a||l[i]!==s[a]){var u=`
|
|
37
|
+
`+l[i].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=i&&0<=a);break}}}finally{Ol=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?zn(e):""}function pd(e){switch(e.tag){case 5:return zn(e.type);case 16:return zn("Lazy");case 13:return zn("Suspense");case 19:return zn("SuspenseList");case 0:case 2:case 15:return e=Dl(e.type,!1),e;case 11:return e=Dl(e.type.render,!1),e;case 1:return e=Dl(e.type,!0),e;default:return""}}function hs(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 Ht:return"Fragment";case Bt:return"Portal";case fs:return"Profiler";case mo:return"StrictMode";case ps:return"Suspense";case ms:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Fa:return(e.displayName||"Context")+".Consumer";case Ia:return(e._context.displayName||"Context")+".Provider";case ho:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case go:return t=e.displayName||null,t!==null?t:hs(e.type)||"Memo";case st:t=e._payload,e=e._init;try{return hs(e(t))}catch{}}return null}function md(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 hs(t);case 8:return t===mo?"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 kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Da(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hd(e){var t=Da(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,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function hr(e){e._valueTracker||(e._valueTracker=hd(e))}function Aa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Da(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qr(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 gs(e,t){var n=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ai(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=kt(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 Ua(e,t){t=t.checked,t!=null&&po(e,"checked",t,!1)}function ys(e,t){Ua(e,t);var n=kt(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")?xs(e,t.type,n):t.hasOwnProperty("defaultValue")&&xs(e,t.type,kt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ui(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 xs(e,t,n){(t!=="number"||Qr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var bn=Array.isArray;function tn(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=""+kt(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 vs(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return G({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ci(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if(bn(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:kt(n)}}function $a(e,t){var n=kt(t.value),r=kt(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 di(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Va(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 ks(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Va(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var gr,Ba=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(gr=gr||document.createElement("div"),gr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=gr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Bn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Mn={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},gd=["Webkit","ms","Moz","O"];Object.keys(Mn).forEach(function(e){gd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Mn[t]=Mn[e]})});function Ha(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Mn.hasOwnProperty(e)&&Mn[e]?(""+t).trim():t+"px"}function Qa(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ha(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var yd=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 ws(e,t){if(t){if(yd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function js(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 Ns=null;function yo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ss=null,nn=null,rn=null;function fi(e){if(e=ur(e)){if(typeof Ss!="function")throw Error(j(280));var t=e.stateNode;t&&(t=Nl(t),Ss(e.stateNode,e.type,t))}}function Wa(e){nn?rn?rn.push(e):rn=[e]:nn=e}function Ka(){if(nn){var e=nn,t=rn;if(rn=nn=null,fi(e),t)for(e=0;e<t.length;e++)fi(t[e])}}function qa(e,t){return e(t)}function Ga(){}var Al=!1;function Ya(e,t,n){if(Al)return e(t,n);Al=!0;try{return qa(e,t,n)}finally{Al=!1,(nn!==null||rn!==null)&&(Ga(),Ka())}}function Hn(e,t){var n=e.stateNode;if(n===null)return null;var r=Nl(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(j(231,t,typeof n));return n}var Cs=!1;if(Je)try{var wn={};Object.defineProperty(wn,"passive",{get:function(){Cs=!0}}),window.addEventListener("test",wn,wn),window.removeEventListener("test",wn,wn)}catch{Cs=!1}function xd(e,t,n,r,l,s,i,a,u){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(g){this.onError(g)}}var Rn=!1,Wr=null,Kr=!1,Es=null,vd={onError:function(e){Rn=!0,Wr=e}};function kd(e,t,n,r,l,s,i,a,u){Rn=!1,Wr=null,xd.apply(vd,arguments)}function wd(e,t,n,r,l,s,i,a,u){if(kd.apply(this,arguments),Rn){if(Rn){var d=Wr;Rn=!1,Wr=null}else throw Error(j(198));Kr||(Kr=!0,Es=d)}}function Ut(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 Xa(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 pi(e){if(Ut(e)!==e)throw Error(j(188))}function jd(e){var t=e.alternate;if(!t){if(t=Ut(e),t===null)throw Error(j(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var s=l.alternate;if(s===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===s.child){for(s=l.child;s;){if(s===n)return pi(l),e;if(s===r)return pi(l),t;s=s.sibling}throw Error(j(188))}if(n.return!==r.return)n=l,r=s;else{for(var i=!1,a=l.child;a;){if(a===n){i=!0,n=l,r=s;break}if(a===r){i=!0,r=l,n=s;break}a=a.sibling}if(!i){for(a=s.child;a;){if(a===n){i=!0,n=s,r=l;break}if(a===r){i=!0,r=s,n=l;break}a=a.sibling}if(!i)throw Error(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function Za(e){return e=jd(e),e!==null?Ja(e):null}function Ja(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ja(e);if(t!==null)return t;e=e.sibling}return null}var eu=Pe.unstable_scheduleCallback,mi=Pe.unstable_cancelCallback,Nd=Pe.unstable_shouldYield,Sd=Pe.unstable_requestPaint,J=Pe.unstable_now,Cd=Pe.unstable_getCurrentPriorityLevel,xo=Pe.unstable_ImmediatePriority,tu=Pe.unstable_UserBlockingPriority,qr=Pe.unstable_NormalPriority,Ed=Pe.unstable_LowPriority,nu=Pe.unstable_IdlePriority,vl=null,We=null;function Pd(e){if(We&&typeof We.onCommitFiberRoot=="function")try{We.onCommitFiberRoot(vl,e,void 0,(e.current.flags&128)===128)}catch{}}var Ue=Math.clz32?Math.clz32:_d,zd=Math.log,bd=Math.LN2;function _d(e){return e>>>=0,e===0?32:31-(zd(e)/bd|0)|0}var yr=64,xr=4194304;function _n(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 Gr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~l;a!==0?r=_n(a):(s&=i,s!==0&&(r=_n(s)))}else i=n&~l,i!==0?r=_n(i):s!==0&&(r=_n(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,s=t&-t,l>=s||l===16&&(s&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 Td(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 Ld(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-Ue(s),a=1<<i,u=l[i];u===-1?(!(a&n)||a&r)&&(l[i]=Td(a,t)):u<=t&&(e.expiredLanes|=a),s&=~a}}function Ps(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ru(){var e=yr;return yr<<=1,!(yr&4194240)&&(yr=64),e}function Ul(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ir(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 Md(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),s=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~s}}function vo(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 V=0;function lu(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var su,ko,ou,iu,au,zs=!1,vr=[],ft=null,pt=null,mt=null,Qn=new Map,Wn=new Map,it=[],Rd="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 hi(e,t){switch(e){case"focusin":case"focusout":ft=null;break;case"dragenter":case"dragleave":pt=null;break;case"mouseover":case"mouseout":mt=null;break;case"pointerover":case"pointerout":Qn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Wn.delete(t.pointerId)}}function jn(e,t,n,r,l,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[l]},t!==null&&(t=ur(t),t!==null&&ko(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Id(e,t,n,r,l){switch(t){case"focusin":return ft=jn(ft,e,t,n,r,l),!0;case"dragenter":return pt=jn(pt,e,t,n,r,l),!0;case"mouseover":return mt=jn(mt,e,t,n,r,l),!0;case"pointerover":var s=l.pointerId;return Qn.set(s,jn(Qn.get(s)||null,e,t,n,r,l)),!0;case"gotpointercapture":return s=l.pointerId,Wn.set(s,jn(Wn.get(s)||null,e,t,n,r,l)),!0}return!1}function uu(e){var t=bt(e.target);if(t!==null){var n=Ut(t);if(n!==null){if(t=n.tag,t===13){if(t=Xa(n),t!==null){e.blockedOn=t,au(e.priority,function(){ou(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 Mr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=bs(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ns=r,n.target.dispatchEvent(r),Ns=null}else return t=ur(n),t!==null&&ko(t),e.blockedOn=n,!1;t.shift()}return!0}function gi(e,t,n){Mr(e)&&n.delete(t)}function Fd(){zs=!1,ft!==null&&Mr(ft)&&(ft=null),pt!==null&&Mr(pt)&&(pt=null),mt!==null&&Mr(mt)&&(mt=null),Qn.forEach(gi),Wn.forEach(gi)}function Nn(e,t){e.blockedOn===t&&(e.blockedOn=null,zs||(zs=!0,Pe.unstable_scheduleCallback(Pe.unstable_NormalPriority,Fd)))}function Kn(e){function t(l){return Nn(l,e)}if(0<vr.length){Nn(vr[0],e);for(var n=1;n<vr.length;n++){var r=vr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ft!==null&&Nn(ft,e),pt!==null&&Nn(pt,e),mt!==null&&Nn(mt,e),Qn.forEach(t),Wn.forEach(t),n=0;n<it.length;n++)r=it[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<it.length&&(n=it[0],n.blockedOn===null);)uu(n),n.blockedOn===null&&it.shift()}var ln=rt.ReactCurrentBatchConfig,Yr=!0;function Od(e,t,n,r){var l=V,s=ln.transition;ln.transition=null;try{V=1,wo(e,t,n,r)}finally{V=l,ln.transition=s}}function Dd(e,t,n,r){var l=V,s=ln.transition;ln.transition=null;try{V=4,wo(e,t,n,r)}finally{V=l,ln.transition=s}}function wo(e,t,n,r){if(Yr){var l=bs(e,t,n,r);if(l===null)Yl(e,t,r,Xr,n),hi(e,r);else if(Id(l,e,t,n,r))r.stopPropagation();else if(hi(e,r),t&4&&-1<Rd.indexOf(e)){for(;l!==null;){var s=ur(l);if(s!==null&&su(s),s=bs(e,t,n,r),s===null&&Yl(e,t,r,Xr,n),s===l)break;l=s}l!==null&&r.stopPropagation()}else Yl(e,t,r,null,n)}}var Xr=null;function bs(e,t,n,r){if(Xr=null,e=yo(r),e=bt(e),e!==null)if(t=Ut(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Xa(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 Xr=e,null}function cu(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(Cd()){case xo:return 1;case tu:return 4;case qr:case Ed:return 16;case nu:return 536870912;default:return 16}default:return 16}}var ut=null,jo=null,Rr=null;function du(){if(Rr)return Rr;var e,t=jo,n=t.length,r,l="value"in ut?ut.value:ut.textContent,s=l.length;for(e=0;e<n&&t[e]===l[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===l[s-r];r++);return Rr=l.slice(e,1<r?1-r:void 0)}function Ir(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 kr(){return!0}function yi(){return!1}function be(e){function t(n,r,l,s,i){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?kr:yi,this.isPropagationStopped=yi,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=kr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=kr)},persist:function(){},isPersistent:kr}),t}var xn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},No=be(xn),ar=G({},xn,{view:0,detail:0}),Ad=be(ar),$l,Vl,Sn,kl=G({},ar,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:So,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!==Sn&&(Sn&&e.type==="mousemove"?($l=e.screenX-Sn.screenX,Vl=e.screenY-Sn.screenY):Vl=$l=0,Sn=e),$l)},movementY:function(e){return"movementY"in e?e.movementY:Vl}}),xi=be(kl),Ud=G({},kl,{dataTransfer:0}),$d=be(Ud),Vd=G({},ar,{relatedTarget:0}),Bl=be(Vd),Bd=G({},xn,{animationName:0,elapsedTime:0,pseudoElement:0}),Hd=be(Bd),Qd=G({},xn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Wd=be(Qd),Kd=G({},xn,{data:0}),vi=be(Kd),qd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Gd={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"},Yd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Xd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Yd[e])?!!t[e]:!1}function So(){return Xd}var Zd=G({},ar,{key:function(e){if(e.key){var t=qd[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ir(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Gd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:So,charCode:function(e){return e.type==="keypress"?Ir(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ir(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Jd=be(Zd),ef=G({},kl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ki=be(ef),tf=G({},ar,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:So}),nf=be(tf),rf=G({},xn,{propertyName:0,elapsedTime:0,pseudoElement:0}),lf=be(rf),sf=G({},kl,{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}),of=be(sf),af=[9,13,27,32],Co=Je&&"CompositionEvent"in window,In=null;Je&&"documentMode"in document&&(In=document.documentMode);var uf=Je&&"TextEvent"in window&&!In,fu=Je&&(!Co||In&&8<In&&11>=In),wi=" ",ji=!1;function pu(e,t){switch(e){case"keyup":return af.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function mu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qt=!1;function cf(e,t){switch(e){case"compositionend":return mu(t);case"keypress":return t.which!==32?null:(ji=!0,wi);case"textInput":return e=t.data,e===wi&&ji?null:e;default:return null}}function df(e,t){if(Qt)return e==="compositionend"||!Co&&pu(e,t)?(e=du(),Rr=jo=ut=null,Qt=!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 fu&&t.locale!=="ko"?null:t.data;default:return null}}var ff={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 Ni(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ff[e.type]:t==="textarea"}function hu(e,t,n,r){Wa(r),t=Zr(t,"onChange"),0<t.length&&(n=new No("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Fn=null,qn=null;function pf(e){Eu(e,0)}function wl(e){var t=qt(e);if(Aa(t))return e}function mf(e,t){if(e==="change")return t}var gu=!1;if(Je){var Hl;if(Je){var Ql="oninput"in document;if(!Ql){var Si=document.createElement("div");Si.setAttribute("oninput","return;"),Ql=typeof Si.oninput=="function"}Hl=Ql}else Hl=!1;gu=Hl&&(!document.documentMode||9<document.documentMode)}function Ci(){Fn&&(Fn.detachEvent("onpropertychange",yu),qn=Fn=null)}function yu(e){if(e.propertyName==="value"&&wl(qn)){var t=[];hu(t,qn,e,yo(e)),Ya(pf,t)}}function hf(e,t,n){e==="focusin"?(Ci(),Fn=t,qn=n,Fn.attachEvent("onpropertychange",yu)):e==="focusout"&&Ci()}function gf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return wl(qn)}function yf(e,t){if(e==="click")return wl(t)}function xf(e,t){if(e==="input"||e==="change")return wl(t)}function vf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ve=typeof Object.is=="function"?Object.is:vf;function Gn(e,t){if(Ve(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(!ds.call(t,l)||!Ve(e[l],t[l]))return!1}return!0}function Ei(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Pi(e,t){var n=Ei(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=Ei(n)}}function xu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function vu(){for(var e=window,t=Qr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qr(e.document)}return t}function Eo(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 kf(e){var t=vu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&xu(n.ownerDocument.documentElement,n)){if(r!==null&&Eo(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,s=Math.min(r.start,l);r=r.end===void 0?s:Math.min(r.end,l),!e.extend&&s>r&&(l=r,r=s,s=l),l=Pi(n,s);var i=Pi(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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 wf=Je&&"documentMode"in document&&11>=document.documentMode,Wt=null,_s=null,On=null,Ts=!1;function zi(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ts||Wt==null||Wt!==Qr(r)||(r=Wt,"selectionStart"in r&&Eo(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}),On&&Gn(On,r)||(On=r,r=Zr(_s,"onSelect"),0<r.length&&(t=new No("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Wt)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Kt={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Wl={},ku={};Je&&(ku=document.createElement("div").style,"AnimationEvent"in window||(delete Kt.animationend.animation,delete Kt.animationiteration.animation,delete Kt.animationstart.animation),"TransitionEvent"in window||delete Kt.transitionend.transition);function jl(e){if(Wl[e])return Wl[e];if(!Kt[e])return e;var t=Kt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ku)return Wl[e]=t[n];return e}var wu=jl("animationend"),ju=jl("animationiteration"),Nu=jl("animationstart"),Su=jl("transitionend"),Cu=new Map,bi="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 jt(e,t){Cu.set(e,t),At(t,[e])}for(var Kl=0;Kl<bi.length;Kl++){var ql=bi[Kl],jf=ql.toLowerCase(),Nf=ql[0].toUpperCase()+ql.slice(1);jt(jf,"on"+Nf)}jt(wu,"onAnimationEnd");jt(ju,"onAnimationIteration");jt(Nu,"onAnimationStart");jt("dblclick","onDoubleClick");jt("focusin","onFocus");jt("focusout","onBlur");jt(Su,"onTransitionEnd");an("onMouseEnter",["mouseout","mouseover"]);an("onMouseLeave",["mouseout","mouseover"]);an("onPointerEnter",["pointerout","pointerover"]);an("onPointerLeave",["pointerout","pointerover"]);At("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));At("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));At("onBeforeInput",["compositionend","keypress","textInput","paste"]);At("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));At("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));At("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Tn="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(" "),Sf=new Set("cancel close invalid load scroll toggle".split(" ").concat(Tn));function _i(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,wd(r,t,void 0,e),e.currentTarget=null}function Eu(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 s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var a=r[i],u=a.instance,d=a.currentTarget;if(a=a.listener,u!==s&&l.isPropagationStopped())break e;_i(l,a,d),s=u}else for(i=0;i<r.length;i++){if(a=r[i],u=a.instance,d=a.currentTarget,a=a.listener,u!==s&&l.isPropagationStopped())break e;_i(l,a,d),s=u}}}if(Kr)throw e=Es,Kr=!1,Es=null,e}function H(e,t){var n=t[Fs];n===void 0&&(n=t[Fs]=new Set);var r=e+"__bubble";n.has(r)||(Pu(t,e,2,!1),n.add(r))}function Gl(e,t,n){var r=0;t&&(r|=4),Pu(n,e,r,t)}var jr="_reactListening"+Math.random().toString(36).slice(2);function Yn(e){if(!e[jr]){e[jr]=!0,Ra.forEach(function(n){n!=="selectionchange"&&(Sf.has(n)||Gl(n,!1,e),Gl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[jr]||(t[jr]=!0,Gl("selectionchange",!1,t))}}function Pu(e,t,n,r){switch(cu(t)){case 1:var l=Od;break;case 4:l=Dd;break;default:l=wo}n=l.bind(null,t,n,e),l=void 0,!Cs||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 s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var a=r.stateNode.containerInfo;if(a===l||a.nodeType===8&&a.parentNode===l)break;if(i===4)for(i=r.return;i!==null;){var u=i.tag;if((u===3||u===4)&&(u=i.stateNode.containerInfo,u===l||u.nodeType===8&&u.parentNode===l))return;i=i.return}for(;a!==null;){if(i=bt(a),i===null)return;if(u=i.tag,u===5||u===6){r=s=i;continue e}a=a.parentNode}}r=r.return}Ya(function(){var d=s,g=yo(n),h=[];e:{var m=Cu.get(e);if(m!==void 0){var v=No,y=e;switch(e){case"keypress":if(Ir(n)===0)break e;case"keydown":case"keyup":v=Jd;break;case"focusin":y="focus",v=Bl;break;case"focusout":y="blur",v=Bl;break;case"beforeblur":case"afterblur":v=Bl;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":v=xi;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=$d;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=nf;break;case wu:case ju:case Nu:v=Hd;break;case Su:v=lf;break;case"scroll":v=Ad;break;case"wheel":v=of;break;case"copy":case"cut":case"paste":v=Wd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=ki}var k=(t&4)!==0,w=!k&&e==="scroll",f=k?m!==null?m+"Capture":null:m;k=[];for(var c=d,p;c!==null;){p=c;var x=p.stateNode;if(p.tag===5&&x!==null&&(p=x,f!==null&&(x=Hn(c,f),x!=null&&k.push(Xn(c,x,p)))),w)break;c=c.return}0<k.length&&(m=new v(m,y,null,n,g),h.push({event:m,listeners:k}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",m&&n!==Ns&&(y=n.relatedTarget||n.fromElement)&&(bt(y)||y[et]))break e;if((v||m)&&(m=g.window===g?g:(m=g.ownerDocument)?m.defaultView||m.parentWindow:window,v?(y=n.relatedTarget||n.toElement,v=d,y=y?bt(y):null,y!==null&&(w=Ut(y),y!==w||y.tag!==5&&y.tag!==6)&&(y=null)):(v=null,y=d),v!==y)){if(k=xi,x="onMouseLeave",f="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(k=ki,x="onPointerLeave",f="onPointerEnter",c="pointer"),w=v==null?m:qt(v),p=y==null?m:qt(y),m=new k(x,c+"leave",v,n,g),m.target=w,m.relatedTarget=p,x=null,bt(g)===d&&(k=new k(f,c+"enter",y,n,g),k.target=p,k.relatedTarget=w,x=k),w=x,v&&y)t:{for(k=v,f=y,c=0,p=k;p;p=$t(p))c++;for(p=0,x=f;x;x=$t(x))p++;for(;0<c-p;)k=$t(k),c--;for(;0<p-c;)f=$t(f),p--;for(;c--;){if(k===f||f!==null&&k===f.alternate)break t;k=$t(k),f=$t(f)}k=null}else k=null;v!==null&&Ti(h,m,v,k,!1),y!==null&&w!==null&&Ti(h,w,y,k,!0)}}e:{if(m=d?qt(d):window,v=m.nodeName&&m.nodeName.toLowerCase(),v==="select"||v==="input"&&m.type==="file")var N=mf;else if(Ni(m))if(gu)N=xf;else{N=gf;var E=hf}else(v=m.nodeName)&&v.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(N=yf);if(N&&(N=N(e,d))){hu(h,N,n,g);break e}E&&E(e,m,d),e==="focusout"&&(E=m._wrapperState)&&E.controlled&&m.type==="number"&&xs(m,"number",m.value)}switch(E=d?qt(d):window,e){case"focusin":(Ni(E)||E.contentEditable==="true")&&(Wt=E,_s=d,On=null);break;case"focusout":On=_s=Wt=null;break;case"mousedown":Ts=!0;break;case"contextmenu":case"mouseup":case"dragend":Ts=!1,zi(h,n,g);break;case"selectionchange":if(wf)break;case"keydown":case"keyup":zi(h,n,g)}var z;if(Co)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else Qt?pu(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(fu&&n.locale!=="ko"&&(Qt||_!=="onCompositionStart"?_==="onCompositionEnd"&&Qt&&(z=du()):(ut=g,jo="value"in ut?ut.value:ut.textContent,Qt=!0)),E=Zr(d,_),0<E.length&&(_=new vi(_,e,null,n,g),h.push({event:_,listeners:E}),z?_.data=z:(z=mu(n),z!==null&&(_.data=z)))),(z=uf?cf(e,n):df(e,n))&&(d=Zr(d,"onBeforeInput"),0<d.length&&(g=new vi("onBeforeInput","beforeinput",null,n,g),h.push({event:g,listeners:d}),g.data=z))}Eu(h,t)})}function Xn(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Zr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,s=l.stateNode;l.tag===5&&s!==null&&(l=s,s=Hn(e,n),s!=null&&r.unshift(Xn(e,s,l)),s=Hn(e,t),s!=null&&r.push(Xn(e,s,l))),e=e.return}return r}function $t(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ti(e,t,n,r,l){for(var s=t._reactName,i=[];n!==null&&n!==r;){var a=n,u=a.alternate,d=a.stateNode;if(u!==null&&u===r)break;a.tag===5&&d!==null&&(a=d,l?(u=Hn(n,s),u!=null&&i.unshift(Xn(n,u,a))):l||(u=Hn(n,s),u!=null&&i.push(Xn(n,u,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var Cf=/\r\n?/g,Ef=/\u0000|\uFFFD/g;function Li(e){return(typeof e=="string"?e:""+e).replace(Cf,`
|
|
38
|
+
`).replace(Ef,"")}function Nr(e,t,n){if(t=Li(t),Li(e)!==t&&n)throw Error(j(425))}function Jr(){}var Ls=null,Ms=null;function Rs(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 Is=typeof setTimeout=="function"?setTimeout:void 0,Pf=typeof clearTimeout=="function"?clearTimeout:void 0,Mi=typeof Promise=="function"?Promise:void 0,zf=typeof queueMicrotask=="function"?queueMicrotask:typeof Mi<"u"?function(e){return Mi.resolve(null).then(e).catch(bf)}:Is;function bf(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),Kn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Kn(t)}function ht(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 Ri(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 vn=Math.random().toString(36).slice(2),Qe="__reactFiber$"+vn,Zn="__reactProps$"+vn,et="__reactContainer$"+vn,Fs="__reactEvents$"+vn,_f="__reactListeners$"+vn,Tf="__reactHandles$"+vn;function bt(e){var t=e[Qe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[et]||n[Qe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ri(e);e!==null;){if(n=e[Qe])return n;e=Ri(e)}return t}e=n,n=e.parentNode}return null}function ur(e){return e=e[Qe]||e[et],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function qt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function Nl(e){return e[Zn]||null}var Os=[],Gt=-1;function Nt(e){return{current:e}}function Q(e){0>Gt||(e.current=Os[Gt],Os[Gt]=null,Gt--)}function B(e,t){Gt++,Os[Gt]=e.current,e.current=t}var wt={},me=Nt(wt),we=Nt(!1),Rt=wt;function un(e,t){var n=e.type.contextTypes;if(!n)return wt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},s;for(s in n)l[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function je(e){return e=e.childContextTypes,e!=null}function el(){Q(we),Q(me)}function Ii(e,t,n){if(me.current!==wt)throw Error(j(168));B(me,t),B(we,n)}function zu(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(j(108,md(e)||"Unknown",l));return G({},n,r)}function tl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wt,Rt=me.current,B(me,e),B(we,we.current),!0}function Fi(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=zu(e,t,Rt),r.__reactInternalMemoizedMergedChildContext=e,Q(we),Q(me),B(me,e)):Q(we),B(we,n)}var Ge=null,Sl=!1,Zl=!1;function bu(e){Ge===null?Ge=[e]:Ge.push(e)}function Lf(e){Sl=!0,bu(e)}function St(){if(!Zl&&Ge!==null){Zl=!0;var e=0,t=V;try{var n=Ge;for(V=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ge=null,Sl=!1}catch(l){throw Ge!==null&&(Ge=Ge.slice(e+1)),eu(xo,St),l}finally{V=t,Zl=!1}}return null}var Yt=[],Xt=0,nl=null,rl=0,_e=[],Te=0,It=null,Ye=1,Xe="";function Pt(e,t){Yt[Xt++]=rl,Yt[Xt++]=nl,nl=e,rl=t}function _u(e,t,n){_e[Te++]=Ye,_e[Te++]=Xe,_e[Te++]=It,It=e;var r=Ye;e=Xe;var l=32-Ue(r)-1;r&=~(1<<l),n+=1;var s=32-Ue(t)+l;if(30<s){var i=l-l%5;s=(r&(1<<i)-1).toString(32),r>>=i,l-=i,Ye=1<<32-Ue(t)+l|n<<l|r,Xe=s+e}else Ye=1<<s|n<<l|r,Xe=e}function Po(e){e.return!==null&&(Pt(e,1),_u(e,1,0))}function zo(e){for(;e===nl;)nl=Yt[--Xt],Yt[Xt]=null,rl=Yt[--Xt],Yt[Xt]=null;for(;e===It;)It=_e[--Te],_e[Te]=null,Xe=_e[--Te],_e[Te]=null,Ye=_e[--Te],_e[Te]=null}var Ee=null,Ce=null,W=!1,Ae=null;function Tu(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 Oi(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,Ee=e,Ce=ht(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ee=e,Ce=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=It!==null?{id:Ye,overflow:Xe}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Le(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ee=e,Ce=null,!0):!1;default:return!1}}function Ds(e){return(e.mode&1)!==0&&(e.flags&128)===0}function As(e){if(W){var t=Ce;if(t){var n=t;if(!Oi(e,t)){if(Ds(e))throw Error(j(418));t=ht(n.nextSibling);var r=Ee;t&&Oi(e,t)?Tu(r,n):(e.flags=e.flags&-4097|2,W=!1,Ee=e)}}else{if(Ds(e))throw Error(j(418));e.flags=e.flags&-4097|2,W=!1,Ee=e}}}function Di(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ee=e}function Sr(e){if(e!==Ee)return!1;if(!W)return Di(e),W=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Rs(e.type,e.memoizedProps)),t&&(t=Ce)){if(Ds(e))throw Lu(),Error(j(418));for(;t;)Tu(e,t),t=ht(t.nextSibling)}if(Di(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ce=ht(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ce=null}}else Ce=Ee?ht(e.stateNode.nextSibling):null;return!0}function Lu(){for(var e=Ce;e;)e=ht(e.nextSibling)}function cn(){Ce=Ee=null,W=!1}function bo(e){Ae===null?Ae=[e]:Ae.push(e)}var Mf=rt.ReactCurrentBatchConfig;function Cn(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(j(309));var r=n.stateNode}if(!r)throw Error(j(147,e));var l=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var a=l.refs;i===null?delete a[s]:a[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function Cr(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ai(e){var t=e._init;return t(e._payload)}function Mu(e){function t(f,c){if(e){var p=f.deletions;p===null?(f.deletions=[c],f.flags|=16):p.push(c)}}function n(f,c){if(!e)return null;for(;c!==null;)t(f,c),c=c.sibling;return null}function r(f,c){for(f=new Map;c!==null;)c.key!==null?f.set(c.key,c):f.set(c.index,c),c=c.sibling;return f}function l(f,c){return f=vt(f,c),f.index=0,f.sibling=null,f}function s(f,c,p){return f.index=p,e?(p=f.alternate,p!==null?(p=p.index,p<c?(f.flags|=2,c):p):(f.flags|=2,c)):(f.flags|=1048576,c)}function i(f){return e&&f.alternate===null&&(f.flags|=2),f}function a(f,c,p,x){return c===null||c.tag!==6?(c=ss(p,f.mode,x),c.return=f,c):(c=l(c,p),c.return=f,c)}function u(f,c,p,x){var N=p.type;return N===Ht?g(f,c,p.props.children,x,p.key):c!==null&&(c.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===st&&Ai(N)===c.type)?(x=l(c,p.props),x.ref=Cn(f,c,p),x.return=f,x):(x=Vr(p.type,p.key,p.props,null,f.mode,x),x.ref=Cn(f,c,p),x.return=f,x)}function d(f,c,p,x){return c===null||c.tag!==4||c.stateNode.containerInfo!==p.containerInfo||c.stateNode.implementation!==p.implementation?(c=os(p,f.mode,x),c.return=f,c):(c=l(c,p.children||[]),c.return=f,c)}function g(f,c,p,x,N){return c===null||c.tag!==7?(c=Mt(p,f.mode,x,N),c.return=f,c):(c=l(c,p),c.return=f,c)}function h(f,c,p){if(typeof c=="string"&&c!==""||typeof c=="number")return c=ss(""+c,f.mode,p),c.return=f,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case mr:return p=Vr(c.type,c.key,c.props,null,f.mode,p),p.ref=Cn(f,null,c),p.return=f,p;case Bt:return c=os(c,f.mode,p),c.return=f,c;case st:var x=c._init;return h(f,x(c._payload),p)}if(bn(c)||kn(c))return c=Mt(c,f.mode,p,null),c.return=f,c;Cr(f,c)}return null}function m(f,c,p,x){var N=c!==null?c.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return N!==null?null:a(f,c,""+p,x);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case mr:return p.key===N?u(f,c,p,x):null;case Bt:return p.key===N?d(f,c,p,x):null;case st:return N=p._init,m(f,c,N(p._payload),x)}if(bn(p)||kn(p))return N!==null?null:g(f,c,p,x,null);Cr(f,p)}return null}function v(f,c,p,x,N){if(typeof x=="string"&&x!==""||typeof x=="number")return f=f.get(p)||null,a(c,f,""+x,N);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case mr:return f=f.get(x.key===null?p:x.key)||null,u(c,f,x,N);case Bt:return f=f.get(x.key===null?p:x.key)||null,d(c,f,x,N);case st:var E=x._init;return v(f,c,p,E(x._payload),N)}if(bn(x)||kn(x))return f=f.get(p)||null,g(c,f,x,N,null);Cr(c,x)}return null}function y(f,c,p,x){for(var N=null,E=null,z=c,_=c=0,F=null;z!==null&&_<p.length;_++){z.index>_?(F=z,z=null):F=z.sibling;var b=m(f,z,p[_],x);if(b===null){z===null&&(z=F);break}e&&z&&b.alternate===null&&t(f,z),c=s(b,c,_),E===null?N=b:E.sibling=b,E=b,z=F}if(_===p.length)return n(f,z),W&&Pt(f,_),N;if(z===null){for(;_<p.length;_++)z=h(f,p[_],x),z!==null&&(c=s(z,c,_),E===null?N=z:E.sibling=z,E=z);return W&&Pt(f,_),N}for(z=r(f,z);_<p.length;_++)F=v(z,f,_,p[_],x),F!==null&&(e&&F.alternate!==null&&z.delete(F.key===null?_:F.key),c=s(F,c,_),E===null?N=F:E.sibling=F,E=F);return e&&z.forEach(function(L){return t(f,L)}),W&&Pt(f,_),N}function k(f,c,p,x){var N=kn(p);if(typeof N!="function")throw Error(j(150));if(p=N.call(p),p==null)throw Error(j(151));for(var E=N=null,z=c,_=c=0,F=null,b=p.next();z!==null&&!b.done;_++,b=p.next()){z.index>_?(F=z,z=null):F=z.sibling;var L=m(f,z,b.value,x);if(L===null){z===null&&(z=F);break}e&&z&&L.alternate===null&&t(f,z),c=s(L,c,_),E===null?N=L:E.sibling=L,E=L,z=F}if(b.done)return n(f,z),W&&Pt(f,_),N;if(z===null){for(;!b.done;_++,b=p.next())b=h(f,b.value,x),b!==null&&(c=s(b,c,_),E===null?N=b:E.sibling=b,E=b);return W&&Pt(f,_),N}for(z=r(f,z);!b.done;_++,b=p.next())b=v(z,f,_,b.value,x),b!==null&&(e&&b.alternate!==null&&z.delete(b.key===null?_:b.key),c=s(b,c,_),E===null?N=b:E.sibling=b,E=b);return e&&z.forEach(function(M){return t(f,M)}),W&&Pt(f,_),N}function w(f,c,p,x){if(typeof p=="object"&&p!==null&&p.type===Ht&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case mr:e:{for(var N=p.key,E=c;E!==null;){if(E.key===N){if(N=p.type,N===Ht){if(E.tag===7){n(f,E.sibling),c=l(E,p.props.children),c.return=f,f=c;break e}}else if(E.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===st&&Ai(N)===E.type){n(f,E.sibling),c=l(E,p.props),c.ref=Cn(f,E,p),c.return=f,f=c;break e}n(f,E);break}else t(f,E);E=E.sibling}p.type===Ht?(c=Mt(p.props.children,f.mode,x,p.key),c.return=f,f=c):(x=Vr(p.type,p.key,p.props,null,f.mode,x),x.ref=Cn(f,c,p),x.return=f,f=x)}return i(f);case Bt:e:{for(E=p.key;c!==null;){if(c.key===E)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=l(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=os(p,f.mode,x),c.return=f,f=c}return i(f);case st:return E=p._init,w(f,c,E(p._payload),x)}if(bn(p))return y(f,c,p,x);if(kn(p))return k(f,c,p,x);Cr(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,p),c.return=f,f=c):(n(f,c),c=ss(p,f.mode,x),c.return=f,f=c),i(f)):n(f,c)}return w}var dn=Mu(!0),Ru=Mu(!1),ll=Nt(null),sl=null,Zt=null,_o=null;function To(){_o=Zt=sl=null}function Lo(e){var t=ll.current;Q(ll),e._currentValue=t}function Us(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 sn(e,t){sl=e,_o=Zt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ke=!0),e.firstContext=null)}function Re(e){var t=e._currentValue;if(_o!==e)if(e={context:e,memoizedValue:t,next:null},Zt===null){if(sl===null)throw Error(j(308));Zt=e,sl.dependencies={lanes:0,firstContext:e}}else Zt=Zt.next=e;return t}var _t=null;function Mo(e){_t===null?_t=[e]:_t.push(e)}function Iu(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Mo(t)):(n.next=l.next,l.next=n),t.interleaved=n,tt(e,r)}function tt(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 ot=!1;function Ro(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fu(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 Ze(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function gt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,$&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,tt(e,n)}return l=r.interleaved,l===null?(t.next=t,Mo(r)):(t.next=l.next,l.next=t),r.interleaved=t,tt(e,n)}function Fr(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,vo(e,n)}}function Ui(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?l=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?l=s=t:s=s.next=t}else l=s=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:s,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 ol(e,t,n,r){var l=e.updateQueue;ot=!1;var s=l.firstBaseUpdate,i=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var u=a,d=u.next;u.next=null,i===null?s=d:i.next=d,i=u;var g=e.alternate;g!==null&&(g=g.updateQueue,a=g.lastBaseUpdate,a!==i&&(a===null?g.firstBaseUpdate=d:a.next=d,g.lastBaseUpdate=u))}if(s!==null){var h=l.baseState;i=0,g=d=u=null,a=s;do{var m=a.lane,v=a.eventTime;if((r&m)===m){g!==null&&(g=g.next={eventTime:v,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,k=a;switch(m=t,v=n,k.tag){case 1:if(y=k.payload,typeof y=="function"){h=y.call(v,h,m);break e}h=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=k.payload,m=typeof y=="function"?y.call(v,h,m):y,m==null)break e;h=G({},h,m);break e;case 2:ot=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[a]:m.push(a))}else v={eventTime:v,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},g===null?(d=g=v,u=h):g=g.next=v,i|=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(g===null&&(u=h),l.baseState=u,l.firstBaseUpdate=d,l.lastBaseUpdate=g,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else s===null&&(l.shared.lanes=0);Ot|=i,e.lanes=i,e.memoizedState=h}}function $i(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(j(191,l));l.call(r)}}}var cr={},Ke=Nt(cr),Jn=Nt(cr),er=Nt(cr);function Tt(e){if(e===cr)throw Error(j(174));return e}function Io(e,t){switch(B(er,t),B(Jn,e),B(Ke,cr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ks(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ks(t,e)}Q(Ke),B(Ke,t)}function fn(){Q(Ke),Q(Jn),Q(er)}function Ou(e){Tt(er.current);var t=Tt(Ke.current),n=ks(t,e.type);t!==n&&(B(Jn,e),B(Ke,n))}function Fo(e){Jn.current===e&&(Q(Ke),Q(Jn))}var K=Nt(0);function il(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 Oo(){for(var e=0;e<Jl.length;e++)Jl[e]._workInProgressVersionPrimary=null;Jl.length=0}var Or=rt.ReactCurrentDispatcher,es=rt.ReactCurrentBatchConfig,Ft=0,q=null,te=null,le=null,al=!1,Dn=!1,tr=0,Rf=0;function de(){throw Error(j(321))}function Do(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ve(e[n],t[n]))return!1;return!0}function Ao(e,t,n,r,l,s){if(Ft=s,q=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Or.current=e===null||e.memoizedState===null?Df:Af,e=n(r,l),Dn){s=0;do{if(Dn=!1,tr=0,25<=s)throw Error(j(301));s+=1,le=te=null,t.updateQueue=null,Or.current=Uf,e=n(r,l)}while(Dn)}if(Or.current=ul,t=te!==null&&te.next!==null,Ft=0,le=te=q=null,al=!1,t)throw Error(j(300));return e}function Uo(){var e=tr!==0;return tr=0,e}function He(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return le===null?q.memoizedState=le=e:le=le.next=e,le}function Ie(){if(te===null){var e=q.alternate;e=e!==null?e.memoizedState:null}else e=te.next;var t=le===null?q.memoizedState:le.next;if(t!==null)le=t,te=e;else{if(e===null)throw Error(j(310));te=e,e={memoizedState:te.memoizedState,baseState:te.baseState,baseQueue:te.baseQueue,queue:te.queue,next:null},le===null?q.memoizedState=le=e:le=le.next=e}return le}function nr(e,t){return typeof t=="function"?t(e):t}function ts(e){var t=Ie(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=te,l=r.baseQueue,s=n.pending;if(s!==null){if(l!==null){var i=l.next;l.next=s.next,s.next=i}r.baseQueue=l=s,n.pending=null}if(l!==null){s=l.next,r=r.baseState;var a=i=null,u=null,d=s;do{var g=d.lane;if((Ft&g)===g)u!==null&&(u=u.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),r=d.hasEagerState?d.eagerState:e(r,d.action);else{var h={lane:g,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};u===null?(a=u=h,i=r):u=u.next=h,q.lanes|=g,Ot|=g}d=d.next}while(d!==null&&d!==s);u===null?i=r:u.next=a,Ve(r,t.memoizedState)||(ke=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do s=l.lane,q.lanes|=s,Ot|=s,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ns(e){var t=Ie(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,s=t.memoizedState;if(l!==null){n.pending=null;var i=l=l.next;do s=e(s,i.action),i=i.next;while(i!==l);Ve(s,t.memoizedState)||(ke=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Du(){}function Au(e,t){var n=q,r=Ie(),l=t(),s=!Ve(r.memoizedState,l);if(s&&(r.memoizedState=l,ke=!0),r=r.queue,$o(Vu.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||le!==null&&le.memoizedState.tag&1){if(n.flags|=2048,rr(9,$u.bind(null,n,r,l,t),void 0,null),se===null)throw Error(j(349));Ft&30||Uu(n,t,l)}return l}function Uu(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=q.updateQueue,t===null?(t={lastEffect:null,stores:null},q.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function $u(e,t,n,r){t.value=n,t.getSnapshot=r,Bu(t)&&Hu(e)}function Vu(e,t,n){return n(function(){Bu(t)&&Hu(e)})}function Bu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ve(e,n)}catch{return!0}}function Hu(e){var t=tt(e,1);t!==null&&$e(t,e,1,-1)}function Vi(e){var t=He();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:nr,lastRenderedState:e},t.queue=e,e=e.dispatch=Of.bind(null,q,e),[t.memoizedState,e]}function rr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=q.updateQueue,t===null?(t={lastEffect:null,stores:null},q.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 Qu(){return Ie().memoizedState}function Dr(e,t,n,r){var l=He();q.flags|=e,l.memoizedState=rr(1|t,n,void 0,r===void 0?null:r)}function Cl(e,t,n,r){var l=Ie();r=r===void 0?null:r;var s=void 0;if(te!==null){var i=te.memoizedState;if(s=i.destroy,r!==null&&Do(r,i.deps)){l.memoizedState=rr(t,n,s,r);return}}q.flags|=e,l.memoizedState=rr(1|t,n,s,r)}function Bi(e,t){return Dr(8390656,8,e,t)}function $o(e,t){return Cl(2048,8,e,t)}function Wu(e,t){return Cl(4,2,e,t)}function Ku(e,t){return Cl(4,4,e,t)}function qu(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 Gu(e,t,n){return n=n!=null?n.concat([e]):null,Cl(4,4,qu.bind(null,t,e),n)}function Vo(){}function Yu(e,t){var n=Ie();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Do(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xu(e,t){var n=Ie();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Do(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Zu(e,t,n){return Ft&21?(Ve(n,t)||(n=ru(),q.lanes|=n,Ot|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ke=!0),e.memoizedState=n)}function If(e,t){var n=V;V=n!==0&&4>n?n:4,e(!0);var r=es.transition;es.transition={};try{e(!1),t()}finally{V=n,es.transition=r}}function Ju(){return Ie().memoizedState}function Ff(e,t,n){var r=xt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ec(e))tc(t,n);else if(n=Iu(e,t,n,r),n!==null){var l=ge();$e(n,e,r,l),nc(n,t,r)}}function Of(e,t,n){var r=xt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ec(e))tc(t,l);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,a=s(i,n);if(l.hasEagerState=!0,l.eagerState=a,Ve(a,i)){var u=t.interleaved;u===null?(l.next=l,Mo(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Iu(e,t,l,r),n!==null&&(l=ge(),$e(n,e,r,l),nc(n,t,r))}}function ec(e){var t=e.alternate;return e===q||t!==null&&t===q}function tc(e,t){Dn=al=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vo(e,n)}}var ul={readContext:Re,useCallback:de,useContext:de,useEffect:de,useImperativeHandle:de,useInsertionEffect:de,useLayoutEffect:de,useMemo:de,useReducer:de,useRef:de,useState:de,useDebugValue:de,useDeferredValue:de,useTransition:de,useMutableSource:de,useSyncExternalStore:de,useId:de,unstable_isNewReconciler:!1},Df={readContext:Re,useCallback:function(e,t){return He().memoizedState=[e,t===void 0?null:t],e},useContext:Re,useEffect:Bi,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Dr(4194308,4,qu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Dr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Dr(4,2,e,t)},useMemo:function(e,t){var n=He();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=He();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=Ff.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=He();return e={current:e},t.memoizedState=e},useState:Vi,useDebugValue:Vo,useDeferredValue:function(e){return He().memoizedState=e},useTransition:function(){var e=Vi(!1),t=e[0];return e=If.bind(null,e[1]),He().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=q,l=He();if(W){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),se===null)throw Error(j(349));Ft&30||Uu(r,t,n)}l.memoizedState=n;var s={value:n,getSnapshot:t};return l.queue=s,Bi(Vu.bind(null,r,s,e),[e]),r.flags|=2048,rr(9,$u.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=He(),t=se.identifierPrefix;if(W){var n=Xe,r=Ye;n=(r&~(1<<32-Ue(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=tr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Rf++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Af={readContext:Re,useCallback:Yu,useContext:Re,useEffect:$o,useImperativeHandle:Gu,useInsertionEffect:Wu,useLayoutEffect:Ku,useMemo:Xu,useReducer:ts,useRef:Qu,useState:function(){return ts(nr)},useDebugValue:Vo,useDeferredValue:function(e){var t=Ie();return Zu(t,te.memoizedState,e)},useTransition:function(){var e=ts(nr)[0],t=Ie().memoizedState;return[e,t]},useMutableSource:Du,useSyncExternalStore:Au,useId:Ju,unstable_isNewReconciler:!1},Uf={readContext:Re,useCallback:Yu,useContext:Re,useEffect:$o,useImperativeHandle:Gu,useInsertionEffect:Wu,useLayoutEffect:Ku,useMemo:Xu,useReducer:ns,useRef:Qu,useState:function(){return ns(nr)},useDebugValue:Vo,useDeferredValue:function(e){var t=Ie();return te===null?t.memoizedState=e:Zu(t,te.memoizedState,e)},useTransition:function(){var e=ns(nr)[0],t=Ie().memoizedState;return[e,t]},useMutableSource:Du,useSyncExternalStore:Au,useId:Ju,unstable_isNewReconciler:!1};function Oe(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 $s(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 El={isMounted:function(e){return(e=e._reactInternals)?Ut(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ge(),l=xt(e),s=Ze(r,l);s.payload=t,n!=null&&(s.callback=n),t=gt(e,s,l),t!==null&&($e(t,e,l,r),Fr(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ge(),l=xt(e),s=Ze(r,l);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=gt(e,s,l),t!==null&&($e(t,e,l,r),Fr(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ge(),r=xt(e),l=Ze(n,r);l.tag=2,t!=null&&(l.callback=t),t=gt(e,l,r),t!==null&&($e(t,e,r,n),Fr(t,e,r))}};function Hi(e,t,n,r,l,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!Gn(n,r)||!Gn(l,s):!0}function rc(e,t,n){var r=!1,l=wt,s=t.contextType;return typeof s=="object"&&s!==null?s=Re(s):(l=je(t)?Rt:me.current,r=t.contextTypes,s=(r=r!=null)?un(e,l):wt),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=El,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=s),t}function Qi(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&&El.enqueueReplaceState(t,t.state,null)}function Vs(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Ro(e);var s=t.contextType;typeof s=="object"&&s!==null?l.context=Re(s):(s=je(t)?Rt:me.current,l.context=un(e,s)),l.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&($s(e,t,s,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&&El.enqueueReplaceState(l,l.state,null),ol(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function pn(e,t){try{var n="",r=t;do n+=pd(r),r=r.return;while(r);var l=n}catch(s){l=`
|
|
39
|
+
Error generating stack: `+s.message+`
|
|
40
|
+
`+s.stack}return{value:e,source:t,stack:l,digest:null}}function rs(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Bs(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var $f=typeof WeakMap=="function"?WeakMap:Map;function lc(e,t,n){n=Ze(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){dl||(dl=!0,Js=r),Bs(e,t)},n}function sc(e,t,n){n=Ze(-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(){Bs(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Bs(e,t),typeof r!="function"&&(yt===null?yt=new Set([this]):yt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Wi(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $f;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=tp.bind(null,e,t,n),t.then(e,e))}function Ki(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 qi(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=Ze(-1,1),t.tag=2,gt(n,t,1))),n.lanes|=1),e)}var Vf=rt.ReactCurrentOwner,ke=!1;function he(e,t,n,r){t.child=e===null?Ru(t,null,n,r):dn(t,e.child,n,r)}function Gi(e,t,n,r,l){n=n.render;var s=t.ref;return sn(t,l),r=Ao(e,t,n,r,s,l),n=Uo(),e!==null&&!ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,nt(e,t,l)):(W&&n&&Po(t),t.flags|=1,he(e,t,r,l),t.child)}function Yi(e,t,n,r,l){if(e===null){var s=n.type;return typeof s=="function"&&!Yo(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,oc(e,t,s,r,l)):(e=Vr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&l)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:Gn,n(i,r)&&e.ref===t.ref)return nt(e,t,l)}return t.flags|=1,e=vt(s,r),e.ref=t.ref,e.return=t,t.child=e}function oc(e,t,n,r,l){if(e!==null){var s=e.memoizedProps;if(Gn(s,r)&&e.ref===t.ref)if(ke=!1,t.pendingProps=r=s,(e.lanes&l)!==0)e.flags&131072&&(ke=!0);else return t.lanes=e.lanes,nt(e,t,l)}return Hs(e,t,n,r,l)}function ic(e,t,n){var r=t.pendingProps,l=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},B(en,Se),Se|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,B(en,Se),Se|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,B(en,Se),Se|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,B(en,Se),Se|=r;return he(e,t,l,n),t.child}function ac(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Hs(e,t,n,r,l){var s=je(n)?Rt:me.current;return s=un(t,s),sn(t,l),n=Ao(e,t,n,r,s,l),r=Uo(),e!==null&&!ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,nt(e,t,l)):(W&&r&&Po(t),t.flags|=1,he(e,t,n,l),t.child)}function Xi(e,t,n,r,l){if(je(n)){var s=!0;tl(t)}else s=!1;if(sn(t,l),t.stateNode===null)Ar(e,t),rc(t,n,r),Vs(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var u=i.context,d=n.contextType;typeof d=="object"&&d!==null?d=Re(d):(d=je(n)?Rt:me.current,d=un(t,d));var g=n.getDerivedStateFromProps,h=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function";h||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||u!==d)&&Qi(t,i,r,d),ot=!1;var m=t.memoizedState;i.state=m,ol(t,r,i,l),u=t.memoizedState,a!==r||m!==u||we.current||ot?(typeof g=="function"&&($s(t,n,g,r),u=t.memoizedState),(a=ot||Hi(t,n,a,r,m,u,d))?(h||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=d,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Fu(e,t),a=t.memoizedProps,d=t.type===t.elementType?a:Oe(t.type,a),i.props=d,h=t.pendingProps,m=i.context,u=n.contextType,typeof u=="object"&&u!==null?u=Re(u):(u=je(n)?Rt:me.current,u=un(t,u));var v=n.getDerivedStateFromProps;(g=typeof v=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==h||m!==u)&&Qi(t,i,r,u),ot=!1,m=t.memoizedState,i.state=m,ol(t,r,i,l);var y=t.memoizedState;a!==h||m!==y||we.current||ot?(typeof v=="function"&&($s(t,n,v,r),y=t.memoizedState),(d=ot||Hi(t,n,d,r,m,y,u)||!1)?(g||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,y,u),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,y,u)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),i.props=r,i.state=y,i.context=u,r=d):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Qs(e,t,n,r,s,l)}function Qs(e,t,n,r,l,s){ac(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return l&&Fi(t,n,!1),nt(e,t,s);r=t.stateNode,Vf.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=dn(t,e.child,null,s),t.child=dn(t,null,a,s)):he(e,t,a,s),t.memoizedState=r.state,l&&Fi(t,n,!0),t.child}function uc(e){var t=e.stateNode;t.pendingContext?Ii(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ii(e,t.context,!1),Io(e,t.containerInfo)}function Zi(e,t,n,r,l){return cn(),bo(l),t.flags|=256,he(e,t,n,r),t.child}var Ws={dehydrated:null,treeContext:null,retryLane:0};function Ks(e){return{baseLanes:e,cachePool:null,transitions:null}}function cc(e,t,n){var r=t.pendingProps,l=K.current,s=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(l&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),B(K,l&1),e===null)return As(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):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=bl(i,r,0,null),e=Mt(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ks(n),t.memoizedState=Ws,e):Bo(t,i));if(l=e.memoizedState,l!==null&&(a=l.dehydrated,a!==null))return Bf(e,t,i,r,a,l,n);if(s){s=r.fallback,i=t.mode,l=e.child,a=l.sibling;var u={mode:"hidden",children:r.children};return!(i&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=vt(l,u),r.subtreeFlags=l.subtreeFlags&14680064),a!==null?s=vt(a,s):(s=Mt(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?Ks(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=Ws,r}return s=e.child,e=s.sibling,r=vt(s,{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 Bo(e,t){return t=bl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Er(e,t,n,r){return r!==null&&bo(r),dn(t,e.child,null,n),e=Bo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Bf(e,t,n,r,l,s,i){if(n)return t.flags&256?(t.flags&=-257,r=rs(Error(j(422))),Er(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,l=t.mode,r=bl({mode:"visible",children:r.children},l,0,null),s=Mt(s,l,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&dn(t,e.child,null,i),t.child.memoizedState=Ks(i),t.memoizedState=Ws,s);if(!(t.mode&1))return Er(e,t,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(j(419)),r=rs(s,r,void 0),Er(e,t,i,r)}if(a=(i&e.childLanes)!==0,ke||a){if(r=se,r!==null){switch(i&-i){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|i)?0:l,l!==0&&l!==s.retryLane&&(s.retryLane=l,tt(e,l),$e(r,e,l,-1))}return Go(),r=rs(Error(j(421))),Er(e,t,i,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=np.bind(null,e),l._reactRetry=t,null):(e=s.treeContext,Ce=ht(l.nextSibling),Ee=t,W=!0,Ae=null,e!==null&&(_e[Te++]=Ye,_e[Te++]=Xe,_e[Te++]=It,Ye=e.id,Xe=e.overflow,It=t),t=Bo(t,r.children),t.flags|=4096,t)}function Ji(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Us(e.return,t,n)}function ls(e,t,n,r,l){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=l)}function dc(e,t,n){var r=t.pendingProps,l=r.revealOrder,s=r.tail;if(he(e,t,r.children,n),r=K.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&&Ji(e,n,t);else if(e.tag===19)Ji(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(B(K,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&&il(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),ls(t,!1,l,n,s);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&il(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}ls(t,!0,n,null,s);break;case"together":ls(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ar(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function nt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ot|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=vt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=vt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Hf(e,t,n){switch(t.tag){case 3:uc(t),cn();break;case 5:Ou(t);break;case 1:je(t.type)&&tl(t);break;case 4:Io(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;B(ll,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(B(K,K.current&1),t.flags|=128,null):n&t.child.childLanes?cc(e,t,n):(B(K,K.current&1),e=nt(e,t,n),e!==null?e.sibling:null);B(K,K.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return dc(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),B(K,K.current),r)break;return null;case 22:case 23:return t.lanes=0,ic(e,t,n)}return nt(e,t,n)}var fc,qs,pc,mc;fc=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}};qs=function(){};pc=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Tt(Ke.current);var s=null;switch(n){case"input":l=gs(e,l),r=gs(e,r),s=[];break;case"select":l=G({},l,{value:void 0}),r=G({},r,{value:void 0}),s=[];break;case"textarea":l=vs(e,l),r=vs(e,r),s=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Jr)}ws(n,r);var i;n=null;for(d in l)if(!r.hasOwnProperty(d)&&l.hasOwnProperty(d)&&l[d]!=null)if(d==="style"){var a=l[d];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Vn.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in r){var u=r[d];if(a=l!=null?l[d]:void 0,r.hasOwnProperty(d)&&u!==a&&(u!=null||a!=null))if(d==="style")if(a){for(i in a)!a.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&a[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(s||(s=[]),s.push(d,n)),n=u;else d==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(s=s||[]).push(d,u)):d==="children"?typeof u!="string"&&typeof u!="number"||(s=s||[]).push(d,""+u):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Vn.hasOwnProperty(d)?(u!=null&&d==="onScroll"&&H("scroll",e),s||a===u||(s=[])):(s=s||[]).push(d,u))}n&&(s=s||[]).push("style",n);var d=s;(t.updateQueue=d)&&(t.flags|=4)}};mc=function(e,t,n,r){n!==r&&(t.flags|=4)};function En(e,t){if(!W)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 fe(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 Qf(e,t,n){var r=t.pendingProps;switch(zo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return fe(t),null;case 1:return je(t.type)&&el(),fe(t),null;case 3:return r=t.stateNode,fn(),Q(we),Q(me),Oo(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Sr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ae!==null&&(no(Ae),Ae=null))),qs(e,t),fe(t),null;case 5:Fo(t);var l=Tt(er.current);if(n=t.type,e!==null&&t.stateNode!=null)pc(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return fe(t),null}if(e=Tt(Ke.current),Sr(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Qe]=t,r[Zn]=s,e=(t.mode&1)!==0,n){case"dialog":H("cancel",r),H("close",r);break;case"iframe":case"object":case"embed":H("load",r);break;case"video":case"audio":for(l=0;l<Tn.length;l++)H(Tn[l],r);break;case"source":H("error",r);break;case"img":case"image":case"link":H("error",r),H("load",r);break;case"details":H("toggle",r);break;case"input":ai(r,s),H("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},H("invalid",r);break;case"textarea":ci(r,s),H("invalid",r)}ws(n,s),l=null;for(var i in s)if(s.hasOwnProperty(i)){var a=s[i];i==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Nr(r.textContent,a,e),l=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Nr(r.textContent,a,e),l=["children",""+a]):Vn.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&H("scroll",r)}switch(n){case"input":hr(r),ui(r,s,!0);break;case"textarea":hr(r),di(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Jr)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Va(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Qe]=t,e[Zn]=r,fc(e,t,!1,!1),t.stateNode=e;e:{switch(i=js(n,r),n){case"dialog":H("cancel",e),H("close",e),l=r;break;case"iframe":case"object":case"embed":H("load",e),l=r;break;case"video":case"audio":for(l=0;l<Tn.length;l++)H(Tn[l],e);l=r;break;case"source":H("error",e),l=r;break;case"img":case"image":case"link":H("error",e),H("load",e),l=r;break;case"details":H("toggle",e),l=r;break;case"input":ai(e,r),l=gs(e,r),H("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=G({},r,{value:void 0}),H("invalid",e);break;case"textarea":ci(e,r),l=vs(e,r),H("invalid",e);break;default:l=r}ws(n,l),a=l;for(s in a)if(a.hasOwnProperty(s)){var u=a[s];s==="style"?Qa(e,u):s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Ba(e,u)):s==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&Bn(e,u):typeof u=="number"&&Bn(e,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Vn.hasOwnProperty(s)?u!=null&&s==="onScroll"&&H("scroll",e):u!=null&&po(e,s,u,i))}switch(n){case"input":hr(e),ui(e,r,!1);break;case"textarea":hr(e),di(e);break;case"option":r.value!=null&&e.setAttribute("value",""+kt(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?tn(e,!!r.multiple,s,!1):r.defaultValue!=null&&tn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Jr)}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 fe(t),null;case 6:if(e&&t.stateNode!=null)mc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(j(166));if(n=Tt(er.current),Tt(Ke.current),Sr(t)){if(r=t.stateNode,n=t.memoizedProps,r[Qe]=t,(s=r.nodeValue!==n)&&(e=Ee,e!==null))switch(e.tag){case 3:Nr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Nr(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Qe]=t,t.stateNode=r}return fe(t),null;case 13:if(Q(K),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(W&&Ce!==null&&t.mode&1&&!(t.flags&128))Lu(),cn(),t.flags|=98560,s=!1;else if(s=Sr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(j(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(j(317));s[Qe]=t}else cn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;fe(t),s=!1}else Ae!==null&&(no(Ae),Ae=null),s=!0;if(!s)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||K.current&1?ne===0&&(ne=3):Go())),t.updateQueue!==null&&(t.flags|=4),fe(t),null);case 4:return fn(),qs(e,t),e===null&&Yn(t.stateNode.containerInfo),fe(t),null;case 10:return Lo(t.type._context),fe(t),null;case 17:return je(t.type)&&el(),fe(t),null;case 19:if(Q(K),s=t.memoizedState,s===null)return fe(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)En(s,!1);else{if(ne!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=il(e),i!==null){for(t.flags|=128,En(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return B(K,K.current&1|2),t.child}e=e.sibling}s.tail!==null&&J()>mn&&(t.flags|=128,r=!0,En(s,!1),t.lanes=4194304)}else{if(!r)if(e=il(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),En(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!W)return fe(t),null}else 2*J()-s.renderingStartTime>mn&&n!==1073741824&&(t.flags|=128,r=!0,En(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=J(),t.sibling=null,n=K.current,B(K,r?n&1|2:n&1),t):(fe(t),null);case 22:case 23:return qo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Se&1073741824&&(fe(t),t.subtreeFlags&6&&(t.flags|=8192)):fe(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function Wf(e,t){switch(zo(t),t.tag){case 1:return je(t.type)&&el(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return fn(),Q(we),Q(me),Oo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Fo(t),null;case 13:if(Q(K),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));cn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Q(K),null;case 4:return fn(),null;case 10:return Lo(t.type._context),null;case 22:case 23:return qo(),null;case 24:return null;default:return null}}var Pr=!1,pe=!1,Kf=typeof WeakSet=="function"?WeakSet:Set,T=null;function Jt(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 Gs(e,t,n){try{n()}catch(r){Y(e,t,r)}}var ea=!1;function qf(e,t){if(Ls=Yr,e=vu(),Eo(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,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,a=-1,u=-1,d=0,g=0,h=e,m=null;t:for(;;){for(var v;h!==n||l!==0&&h.nodeType!==3||(a=i+l),h!==s||r!==0&&h.nodeType!==3||(u=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(v=h.firstChild)!==null;)m=h,h=v;for(;;){if(h===e)break t;if(m===n&&++d===l&&(a=i),m===s&&++g===r&&(u=i),(v=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=v}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ms={focusedElem:e,selectionRange:n},Yr=!1,T=t;T!==null;)if(t=T,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,T=e;else for(;T!==null;){t=T;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var k=y.memoizedProps,w=y.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:Oe(t.type,k),w);f.__reactInternalSnapshotBeforeUpdate=c}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(j(163))}}catch(x){Y(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,T=e;break}T=t.return}return y=ea,ea=!1,y}function An(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 s=l.destroy;l.destroy=void 0,s!==void 0&&Gs(t,n,s)}l=l.next}while(l!==r)}}function Pl(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 Ys(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 hc(e){var t=e.alternate;t!==null&&(e.alternate=null,hc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Qe],delete t[Zn],delete t[Fs],delete t[_f],delete t[Tf])),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 gc(e){return e.tag===5||e.tag===3||e.tag===4}function ta(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gc(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 Xs(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=Jr));else if(r!==4&&(e=e.child,e!==null))for(Xs(e,t,n),e=e.sibling;e!==null;)Xs(e,t,n),e=e.sibling}function Zs(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(Zs(e,t,n),e=e.sibling;e!==null;)Zs(e,t,n),e=e.sibling}var ie=null,De=!1;function lt(e,t,n){for(n=n.child;n!==null;)yc(e,t,n),n=n.sibling}function yc(e,t,n){if(We&&typeof We.onCommitFiberUnmount=="function")try{We.onCommitFiberUnmount(vl,n)}catch{}switch(n.tag){case 5:pe||Jt(n,t);case 6:var r=ie,l=De;ie=null,lt(e,t,n),ie=r,De=l,ie!==null&&(De?(e=ie,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ie.removeChild(n.stateNode));break;case 18:ie!==null&&(De?(e=ie,n=n.stateNode,e.nodeType===8?Xl(e.parentNode,n):e.nodeType===1&&Xl(e,n),Kn(e)):Xl(ie,n.stateNode));break;case 4:r=ie,l=De,ie=n.stateNode.containerInfo,De=!0,lt(e,t,n),ie=r,De=l;break;case 0:case 11:case 14:case 15:if(!pe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var s=l,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&Gs(n,t,i),l=l.next}while(l!==r)}lt(e,t,n);break;case 1:if(!pe&&(Jt(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)}lt(e,t,n);break;case 21:lt(e,t,n);break;case 22:n.mode&1?(pe=(r=pe)||n.memoizedState!==null,lt(e,t,n),pe=r):lt(e,t,n);break;default:lt(e,t,n)}}function na(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Kf),t.forEach(function(r){var l=rp.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 s=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:ie=a.stateNode,De=!1;break e;case 3:ie=a.stateNode.containerInfo,De=!0;break e;case 4:ie=a.stateNode.containerInfo,De=!0;break e}a=a.return}if(ie===null)throw Error(j(160));yc(s,i,l),ie=null,De=!1;var u=l.alternate;u!==null&&(u.return=null),l.return=null}catch(d){Y(l,t,d)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)xc(t,e),t=t.sibling}function xc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Fe(t,e),Be(e),r&4){try{An(3,e,e.return),Pl(3,e)}catch(k){Y(e,e.return,k)}try{An(5,e,e.return)}catch(k){Y(e,e.return,k)}}break;case 1:Fe(t,e),Be(e),r&512&&n!==null&&Jt(n,n.return);break;case 5:if(Fe(t,e),Be(e),r&512&&n!==null&&Jt(n,n.return),e.flags&32){var l=e.stateNode;try{Bn(l,"")}catch(k){Y(e,e.return,k)}}if(r&4&&(l=e.stateNode,l!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,a=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Ua(l,s),js(a,i);var d=js(a,s);for(i=0;i<u.length;i+=2){var g=u[i],h=u[i+1];g==="style"?Qa(l,h):g==="dangerouslySetInnerHTML"?Ba(l,h):g==="children"?Bn(l,h):po(l,g,h,d)}switch(a){case"input":ys(l,s);break;case"textarea":$a(l,s);break;case"select":var m=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!s.multiple;var v=s.value;v!=null?tn(l,!!s.multiple,v,!1):m!==!!s.multiple&&(s.defaultValue!=null?tn(l,!!s.multiple,s.defaultValue,!0):tn(l,!!s.multiple,s.multiple?[]:"",!1))}l[Zn]=s}catch(k){Y(e,e.return,k)}}break;case 6:if(Fe(t,e),Be(e),r&4){if(e.stateNode===null)throw Error(j(162));l=e.stateNode,s=e.memoizedProps;try{l.nodeValue=s}catch(k){Y(e,e.return,k)}}break;case 3:if(Fe(t,e),Be(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Kn(t.containerInfo)}catch(k){Y(e,e.return,k)}break;case 4:Fe(t,e),Be(e);break;case 13:Fe(t,e),Be(e),l=e.child,l.flags&8192&&(s=l.memoizedState!==null,l.stateNode.isHidden=s,!s||l.alternate!==null&&l.alternate.memoizedState!==null||(Wo=J())),r&4&&na(e);break;case 22:if(g=n!==null&&n.memoizedState!==null,e.mode&1?(pe=(d=pe)||g,Fe(t,e),pe=d):Fe(t,e),Be(e),r&8192){if(d=e.memoizedState!==null,(e.stateNode.isHidden=d)&&!g&&e.mode&1)for(T=e,g=e.child;g!==null;){for(h=T=g;T!==null;){switch(m=T,v=m.child,m.tag){case 0:case 11:case 14:case 15:An(4,m,m.return);break;case 1:Jt(m,m.return);var y=m.stateNode;if(typeof y.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(k){Y(r,n,k)}}break;case 5:Jt(m,m.return);break;case 22:if(m.memoizedState!==null){la(h);continue}}v!==null?(v.return=m,T=v):la(h)}g=g.sibling}e:for(g=null,h=e;;){if(h.tag===5){if(g===null){g=h;try{l=h.stateNode,d?(s=l.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=h.stateNode,u=h.memoizedProps.style,i=u!=null&&u.hasOwnProperty("display")?u.display:null,a.style.display=Ha("display",i))}catch(k){Y(e,e.return,k)}}}else if(h.tag===6){if(g===null)try{h.stateNode.nodeValue=d?"":h.memoizedProps}catch(k){Y(e,e.return,k)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;g===h&&(g=null),h=h.return}g===h&&(g=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:Fe(t,e),Be(e),r&4&&na(e);break;case 21:break;default:Fe(t,e),Be(e)}}function Be(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(gc(n)){var r=n;break e}n=n.return}throw Error(j(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Bn(l,""),r.flags&=-33);var s=ta(e);Zs(e,s,l);break;case 3:case 4:var i=r.stateNode.containerInfo,a=ta(e);Xs(e,a,i);break;default:throw Error(j(161))}}catch(u){Y(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Gf(e,t,n){T=e,vc(e)}function vc(e,t,n){for(var r=(e.mode&1)!==0;T!==null;){var l=T,s=l.child;if(l.tag===22&&r){var i=l.memoizedState!==null||Pr;if(!i){var a=l.alternate,u=a!==null&&a.memoizedState!==null||pe;a=Pr;var d=pe;if(Pr=i,(pe=u)&&!d)for(T=l;T!==null;)i=T,u=i.child,i.tag===22&&i.memoizedState!==null?sa(l):u!==null?(u.return=i,T=u):sa(l);for(;s!==null;)T=s,vc(s),s=s.sibling;T=l,Pr=a,pe=d}ra(e)}else l.subtreeFlags&8772&&s!==null?(s.return=l,T=s):ra(e)}}function ra(e){for(;T!==null;){var t=T;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:pe||Pl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!pe)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:Oe(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&$i(t,s,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}$i(t,i,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 d=t.alternate;if(d!==null){var g=d.memoizedState;if(g!==null){var h=g.dehydrated;h!==null&&Kn(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}pe||t.flags&512&&Ys(t)}catch(m){Y(t,t.return,m)}}if(t===e){T=null;break}if(n=t.sibling,n!==null){n.return=t.return,T=n;break}T=t.return}}function la(e){for(;T!==null;){var t=T;if(t===e){T=null;break}var n=t.sibling;if(n!==null){n.return=t.return,T=n;break}T=t.return}}function sa(e){for(;T!==null;){var t=T;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Pl(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 s=t.return;try{Ys(t)}catch(u){Y(t,s,u)}break;case 5:var i=t.return;try{Ys(t)}catch(u){Y(t,i,u)}}}catch(u){Y(t,t.return,u)}if(t===e){T=null;break}var a=t.sibling;if(a!==null){a.return=t.return,T=a;break}T=t.return}}var Yf=Math.ceil,cl=rt.ReactCurrentDispatcher,Ho=rt.ReactCurrentOwner,Me=rt.ReactCurrentBatchConfig,$=0,se=null,ee=null,ue=0,Se=0,en=Nt(0),ne=0,lr=null,Ot=0,zl=0,Qo=0,Un=null,ve=null,Wo=0,mn=1/0,qe=null,dl=!1,Js=null,yt=null,zr=!1,ct=null,fl=0,$n=0,eo=null,Ur=-1,$r=0;function ge(){return $&6?J():Ur!==-1?Ur:Ur=J()}function xt(e){return e.mode&1?$&2&&ue!==0?ue&-ue:Mf.transition!==null?($r===0&&($r=ru()),$r):(e=V,e!==0||(e=window.event,e=e===void 0?16:cu(e.type)),e):1}function $e(e,t,n,r){if(50<$n)throw $n=0,eo=null,Error(j(185));ir(e,n,r),(!($&2)||e!==se)&&(e===se&&(!($&2)&&(zl|=n),ne===4&&at(e,ue)),Ne(e,r),n===1&&$===0&&!(t.mode&1)&&(mn=J()+500,Sl&&St()))}function Ne(e,t){var n=e.callbackNode;Ld(e,t);var r=Gr(e,e===se?ue:0);if(r===0)n!==null&&mi(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&mi(n),t===1)e.tag===0?Lf(oa.bind(null,e)):bu(oa.bind(null,e)),zf(function(){!($&6)&&St()}),n=null;else{switch(lu(r)){case 1:n=xo;break;case 4:n=tu;break;case 16:n=qr;break;case 536870912:n=nu;break;default:n=qr}n=Pc(n,kc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function kc(e,t){if(Ur=-1,$r=0,$&6)throw Error(j(327));var n=e.callbackNode;if(on()&&e.callbackNode!==n)return null;var r=Gr(e,e===se?ue:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=pl(e,r);else{t=r;var l=$;$|=2;var s=jc();(se!==e||ue!==t)&&(qe=null,mn=J()+500,Lt(e,t));do try{Jf();break}catch(a){wc(e,a)}while(!0);To(),cl.current=s,$=l,ee!==null?t=0:(se=null,ue=0,t=ne)}if(t!==0){if(t===2&&(l=Ps(e),l!==0&&(r=l,t=to(e,l))),t===1)throw n=lr,Lt(e,0),at(e,r),Ne(e,J()),n;if(t===6)at(e,r);else{if(l=e.current.alternate,!(r&30)&&!Xf(l)&&(t=pl(e,r),t===2&&(s=Ps(e),s!==0&&(r=s,t=to(e,s))),t===1))throw n=lr,Lt(e,0),at(e,r),Ne(e,J()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:zt(e,ve,qe);break;case 3:if(at(e,r),(r&130023424)===r&&(t=Wo+500-J(),10<t)){if(Gr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){ge(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Is(zt.bind(null,e,ve,qe),t);break}zt(e,ve,qe);break;case 4:if(at(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var i=31-Ue(r);s=1<<i,i=t[i],i>l&&(l=i),r&=~s}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*Yf(r/1960))-r,10<r){e.timeoutHandle=Is(zt.bind(null,e,ve,qe),r);break}zt(e,ve,qe);break;case 5:zt(e,ve,qe);break;default:throw Error(j(329))}}}return Ne(e,J()),e.callbackNode===n?kc.bind(null,e):null}function to(e,t){var n=Un;return e.current.memoizedState.isDehydrated&&(Lt(e,t).flags|=256),e=pl(e,t),e!==2&&(t=ve,ve=n,t!==null&&no(t)),e}function no(e){ve===null?ve=e:ve.push.apply(ve,e)}function Xf(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],s=l.getSnapshot;l=l.value;try{if(!Ve(s(),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 at(e,t){for(t&=~Qo,t&=~zl,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 oa(e){if($&6)throw Error(j(327));on();var t=Gr(e,0);if(!(t&1))return Ne(e,J()),null;var n=pl(e,t);if(e.tag!==0&&n===2){var r=Ps(e);r!==0&&(t=r,n=to(e,r))}if(n===1)throw n=lr,Lt(e,0),at(e,t),Ne(e,J()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,zt(e,ve,qe),Ne(e,J()),null}function Ko(e,t){var n=$;$|=1;try{return e(t)}finally{$=n,$===0&&(mn=J()+500,Sl&&St())}}function Dt(e){ct!==null&&ct.tag===0&&!($&6)&&on();var t=$;$|=1;var n=Me.transition,r=V;try{if(Me.transition=null,V=1,e)return e()}finally{V=r,Me.transition=n,$=t,!($&6)&&St()}}function qo(){Se=en.current,Q(en)}function Lt(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Pf(n)),ee!==null)for(n=ee.return;n!==null;){var r=n;switch(zo(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&el();break;case 3:fn(),Q(we),Q(me),Oo();break;case 5:Fo(r);break;case 4:fn();break;case 13:Q(K);break;case 19:Q(K);break;case 10:Lo(r.type._context);break;case 22:case 23:qo()}n=n.return}if(se=e,ee=e=vt(e.current,null),ue=Se=t,ne=0,lr=null,Qo=zl=Ot=0,ve=Un=null,_t!==null){for(t=0;t<_t.length;t++)if(n=_t[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=l,r.next=i}n.pending=r}_t=null}return e}function wc(e,t){do{var n=ee;try{if(To(),Or.current=ul,al){for(var r=q.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}al=!1}if(Ft=0,le=te=q=null,Dn=!1,tr=0,Ho.current=null,n===null||n.return===null){ne=1,lr=t,ee=null;break}e:{var s=e,i=n.return,a=n,u=t;if(t=ue,a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var d=u,g=a,h=g.tag;if(!(g.mode&1)&&(h===0||h===11||h===15)){var m=g.alternate;m?(g.updateQueue=m.updateQueue,g.memoizedState=m.memoizedState,g.lanes=m.lanes):(g.updateQueue=null,g.memoizedState=null)}var v=Ki(i);if(v!==null){v.flags&=-257,qi(v,i,a,s,t),v.mode&1&&Wi(s,d,t),t=v,u=d;var y=t.updateQueue;if(y===null){var k=new Set;k.add(u),t.updateQueue=k}else y.add(u);break e}else{if(!(t&1)){Wi(s,d,t),Go();break e}u=Error(j(426))}}else if(W&&a.mode&1){var w=Ki(i);if(w!==null){!(w.flags&65536)&&(w.flags|=256),qi(w,i,a,s,t),bo(pn(u,a));break e}}s=u=pn(u,a),ne!==4&&(ne=2),Un===null?Un=[s]:Un.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var f=lc(s,u,t);Ui(s,f);break e;case 1:a=u;var c=s.type,p=s.stateNode;if(!(s.flags&128)&&(typeof c.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(yt===null||!yt.has(p)))){s.flags|=65536,t&=-t,s.lanes|=t;var x=sc(s,a,t);Ui(s,x);break e}}s=s.return}while(s!==null)}Sc(n)}catch(N){t=N,ee===n&&n!==null&&(ee=n=n.return);continue}break}while(!0)}function jc(){var e=cl.current;return cl.current=ul,e===null?ul:e}function Go(){(ne===0||ne===3||ne===2)&&(ne=4),se===null||!(Ot&268435455)&&!(zl&268435455)||at(se,ue)}function pl(e,t){var n=$;$|=2;var r=jc();(se!==e||ue!==t)&&(qe=null,Lt(e,t));do try{Zf();break}catch(l){wc(e,l)}while(!0);if(To(),$=n,cl.current=r,ee!==null)throw Error(j(261));return se=null,ue=0,ne}function Zf(){for(;ee!==null;)Nc(ee)}function Jf(){for(;ee!==null&&!Nd();)Nc(ee)}function Nc(e){var t=Ec(e.alternate,e,Se);e.memoizedProps=e.pendingProps,t===null?Sc(e):ee=t,Ho.current=null}function Sc(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Wf(n,t),n!==null){n.flags&=32767,ee=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ne=6,ee=null;return}}else if(n=Qf(n,t,Se),n!==null){ee=n;return}if(t=t.sibling,t!==null){ee=t;return}ee=t=e}while(t!==null);ne===0&&(ne=5)}function zt(e,t,n){var r=V,l=Me.transition;try{Me.transition=null,V=1,ep(e,t,n,r)}finally{Me.transition=l,V=r}return null}function ep(e,t,n,r){do on();while(ct!==null);if($&6)throw Error(j(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(j(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Md(e,s),e===se&&(ee=se=null,ue=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||zr||(zr=!0,Pc(qr,function(){return on(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=Me.transition,Me.transition=null;var i=V;V=1;var a=$;$|=4,Ho.current=null,qf(e,n),xc(n,e),kf(Ms),Yr=!!Ls,Ms=Ls=null,e.current=n,Gf(n),Sd(),$=a,V=i,Me.transition=s}else e.current=n;if(zr&&(zr=!1,ct=e,fl=l),s=e.pendingLanes,s===0&&(yt=null),Pd(n.stateNode),Ne(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(dl)throw dl=!1,e=Js,Js=null,e;return fl&1&&e.tag!==0&&on(),s=e.pendingLanes,s&1?e===eo?$n++:($n=0,eo=e):$n=0,St(),null}function on(){if(ct!==null){var e=lu(fl),t=Me.transition,n=V;try{if(Me.transition=null,V=16>e?16:e,ct===null)var r=!1;else{if(e=ct,ct=null,fl=0,$&6)throw Error(j(331));var l=$;for($|=4,T=e.current;T!==null;){var s=T,i=s.child;if(T.flags&16){var a=s.deletions;if(a!==null){for(var u=0;u<a.length;u++){var d=a[u];for(T=d;T!==null;){var g=T;switch(g.tag){case 0:case 11:case 15:An(8,g,s)}var h=g.child;if(h!==null)h.return=g,T=h;else for(;T!==null;){g=T;var m=g.sibling,v=g.return;if(hc(g),g===d){T=null;break}if(m!==null){m.return=v,T=m;break}T=v}}}var y=s.alternate;if(y!==null){var k=y.child;if(k!==null){y.child=null;do{var w=k.sibling;k.sibling=null,k=w}while(k!==null)}}T=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,T=i;else e:for(;T!==null;){if(s=T,s.flags&2048)switch(s.tag){case 0:case 11:case 15:An(9,s,s.return)}var f=s.sibling;if(f!==null){f.return=s.return,T=f;break e}T=s.return}}var c=e.current;for(T=c;T!==null;){i=T;var p=i.child;if(i.subtreeFlags&2064&&p!==null)p.return=i,T=p;else e:for(i=c;T!==null;){if(a=T,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Pl(9,a)}}catch(N){Y(a,a.return,N)}if(a===i){T=null;break e}var x=a.sibling;if(x!==null){x.return=a.return,T=x;break e}T=a.return}}if($=l,St(),We&&typeof We.onPostCommitFiberRoot=="function")try{We.onPostCommitFiberRoot(vl,e)}catch{}r=!0}return r}finally{V=n,Me.transition=t}}return!1}function ia(e,t,n){t=pn(n,t),t=lc(e,t,1),e=gt(e,t,1),t=ge(),e!==null&&(ir(e,1,t),Ne(e,t))}function Y(e,t,n){if(e.tag===3)ia(e,e,n);else for(;t!==null;){if(t.tag===3){ia(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(yt===null||!yt.has(r))){e=pn(n,e),e=sc(t,e,1),t=gt(t,e,1),e=ge(),t!==null&&(ir(t,1,e),Ne(t,e));break}}t=t.return}}function tp(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ge(),e.pingedLanes|=e.suspendedLanes&n,se===e&&(ue&n)===n&&(ne===4||ne===3&&(ue&130023424)===ue&&500>J()-Wo?Lt(e,0):Qo|=n),Ne(e,t)}function Cc(e,t){t===0&&(e.mode&1?(t=xr,xr<<=1,!(xr&130023424)&&(xr=4194304)):t=1);var n=ge();e=tt(e,t),e!==null&&(ir(e,t,n),Ne(e,n))}function np(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Cc(e,n)}function rp(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(j(314))}r!==null&&r.delete(t),Cc(e,n)}var Ec;Ec=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||we.current)ke=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ke=!1,Hf(e,t,n);ke=!!(e.flags&131072)}else ke=!1,W&&t.flags&1048576&&_u(t,rl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ar(e,t),e=t.pendingProps;var l=un(t,me.current);sn(t,n),l=Ao(null,t,r,e,l,n);var s=Uo();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,je(r)?(s=!0,tl(t)):s=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ro(t),l.updater=El,t.stateNode=l,l._reactInternals=t,Vs(t,r,e,n),t=Qs(null,t,r,!0,s,n)):(t.tag=0,W&&s&&Po(t),he(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ar(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=sp(r),e=Oe(r,e),l){case 0:t=Hs(null,t,r,e,n);break e;case 1:t=Xi(null,t,r,e,n);break e;case 11:t=Gi(null,t,r,e,n);break e;case 14:t=Yi(null,t,r,Oe(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Oe(r,l),Hs(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Oe(r,l),Xi(e,t,r,l,n);case 3:e:{if(uc(t),e===null)throw Error(j(387));r=t.pendingProps,s=t.memoizedState,l=s.element,Fu(e,t),ol(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){l=pn(Error(j(423)),t),t=Zi(e,t,r,n,l);break e}else if(r!==l){l=pn(Error(j(424)),t),t=Zi(e,t,r,n,l);break e}else for(Ce=ht(t.stateNode.containerInfo.firstChild),Ee=t,W=!0,Ae=null,n=Ru(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(cn(),r===l){t=nt(e,t,n);break e}he(e,t,r,n)}t=t.child}return t;case 5:return Ou(t),e===null&&As(t),r=t.type,l=t.pendingProps,s=e!==null?e.memoizedProps:null,i=l.children,Rs(r,l)?i=null:s!==null&&Rs(r,s)&&(t.flags|=32),ac(e,t),he(e,t,i,n),t.child;case 6:return e===null&&As(t),null;case 13:return cc(e,t,n);case 4:return Io(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=dn(t,null,r,n):he(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Oe(r,l),Gi(e,t,r,l,n);case 7:return he(e,t,t.pendingProps,n),t.child;case 8:return he(e,t,t.pendingProps.children,n),t.child;case 12:return he(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,s=t.memoizedProps,i=l.value,B(ll,r._currentValue),r._currentValue=i,s!==null)if(Ve(s.value,i)){if(s.children===l.children&&!we.current){t=nt(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(s.tag===1){u=Ze(-1,n&-n),u.tag=2;var d=s.updateQueue;if(d!==null){d=d.shared;var g=d.pending;g===null?u.next=u:(u.next=g.next,g.next=u),d.pending=u}}s.lanes|=n,u=s.alternate,u!==null&&(u.lanes|=n),Us(s.return,n,t),a.lanes|=n;break}u=u.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(j(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Us(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}he(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,sn(t,n),l=Re(l),r=r(l),t.flags|=1,he(e,t,r,n),t.child;case 14:return r=t.type,l=Oe(r,t.pendingProps),l=Oe(r.type,l),Yi(e,t,r,l,n);case 15:return oc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Oe(r,l),Ar(e,t),t.tag=1,je(r)?(e=!0,tl(t)):e=!1,sn(t,n),rc(t,r,l),Vs(t,r,l,n),Qs(null,t,r,!0,e,n);case 19:return dc(e,t,n);case 22:return ic(e,t,n)}throw Error(j(156,t.tag))};function Pc(e,t){return eu(e,t)}function lp(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 lp(e,t,n,r)}function Yo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sp(e){if(typeof e=="function")return Yo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ho)return 11;if(e===go)return 14}return 2}function vt(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 Vr(e,t,n,r,l,s){var i=2;if(r=e,typeof e=="function")Yo(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ht:return Mt(n.children,l,s,t);case mo:i=8,l|=8;break;case fs:return e=Le(12,n,t,l|2),e.elementType=fs,e.lanes=s,e;case ps:return e=Le(13,n,t,l),e.elementType=ps,e.lanes=s,e;case ms:return e=Le(19,n,t,l),e.elementType=ms,e.lanes=s,e;case Oa:return bl(n,l,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ia:i=10;break e;case Fa:i=9;break e;case ho:i=11;break e;case go:i=14;break e;case st:i=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=Le(i,n,t,l),t.elementType=e,t.type=r,t.lanes=s,t}function Mt(e,t,n,r){return e=Le(7,e,r,t),e.lanes=n,e}function bl(e,t,n,r){return e=Le(22,e,r,t),e.elementType=Oa,e.lanes=n,e.stateNode={isHidden:!1},e}function ss(e,t,n){return e=Le(6,e,null,t),e.lanes=n,e}function os(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 op(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=Ul(0),this.expirationTimes=Ul(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ul(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Xo(e,t,n,r,l,s,i,a,u){return e=new op(e,t,n,a,u),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Le(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ro(s),e}function ip(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Bt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function zc(e){if(!e)return wt;e=e._reactInternals;e:{if(Ut(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(je(n))return zu(e,n,t)}return t}function bc(e,t,n,r,l,s,i,a,u){return e=Xo(n,r,!0,e,l,s,i,a,u),e.context=zc(null),n=e.current,r=ge(),l=xt(n),s=Ze(r,l),s.callback=t??null,gt(n,s,l),e.current.lanes=l,ir(e,l,r),Ne(e,r),e}function _l(e,t,n,r){var l=t.current,s=ge(),i=xt(l);return n=zc(n),t.context===null?t.context=n:t.pendingContext=n,t=Ze(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=gt(l,t,i),e!==null&&($e(e,l,i,s),Fr(e,l,i)),i}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 aa(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Zo(e,t){aa(e,t),(e=e.alternate)&&aa(e,t)}function ap(){return null}var _c=typeof reportError=="function"?reportError:function(e){console.error(e)};function Jo(e){this._internalRoot=e}Tl.prototype.render=Jo.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));_l(e,t,null,null)};Tl.prototype.unmount=Jo.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Dt(function(){_l(null,e,null,null)}),t[et]=null}};function Tl(e){this._internalRoot=e}Tl.prototype.unstable_scheduleHydration=function(e){if(e){var t=iu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<it.length&&t!==0&&t<it[n].priority;n++);it.splice(n,0,e),n===0&&uu(e)}};function ei(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 ua(){}function up(e,t,n,r,l){if(l){if(typeof r=="function"){var s=r;r=function(){var d=ml(i);s.call(d)}}var i=bc(t,r,e,0,null,!1,!1,"",ua);return e._reactRootContainer=i,e[et]=i.current,Yn(e.nodeType===8?e.parentNode:e),Dt(),i}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var a=r;r=function(){var d=ml(u);a.call(d)}}var u=Xo(e,0,!1,null,null,!1,!1,"",ua);return e._reactRootContainer=u,e[et]=u.current,Yn(e.nodeType===8?e.parentNode:e),Dt(function(){_l(t,u,n,r)}),u}function Ml(e,t,n,r,l){var s=n._reactRootContainer;if(s){var i=s;if(typeof l=="function"){var a=l;l=function(){var u=ml(i);a.call(u)}}_l(t,i,e,l)}else i=up(n,t,e,l,r);return ml(i)}su=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=_n(t.pendingLanes);n!==0&&(vo(t,n|1),Ne(t,J()),!($&6)&&(mn=J()+500,St()))}break;case 13:Dt(function(){var r=tt(e,1);if(r!==null){var l=ge();$e(r,e,1,l)}}),Zo(e,1)}};ko=function(e){if(e.tag===13){var t=tt(e,134217728);if(t!==null){var n=ge();$e(t,e,134217728,n)}Zo(e,134217728)}};ou=function(e){if(e.tag===13){var t=xt(e),n=tt(e,t);if(n!==null){var r=ge();$e(n,e,t,r)}Zo(e,t)}};iu=function(){return V};au=function(e,t){var n=V;try{return V=e,t()}finally{V=n}};Ss=function(e,t,n){switch(t){case"input":if(ys(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=Nl(r);if(!l)throw Error(j(90));Aa(r),ys(r,l)}}}break;case"textarea":$a(e,n);break;case"select":t=n.value,t!=null&&tn(e,!!n.multiple,t,!1)}};qa=Ko;Ga=Dt;var cp={usingClientEntryPoint:!1,Events:[ur,qt,Nl,Wa,Ka,Ko]},Pn={findFiberByHostInstance:bt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},dp={bundleType:Pn.bundleType,version:Pn.version,rendererPackageName:Pn.rendererPackageName,rendererConfig:Pn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:rt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Za(e),e===null?null:e.stateNode},findFiberByHostInstance:Pn.findFiberByHostInstance||ap,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 br=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!br.isDisabled&&br.supportsFiber)try{vl=br.inject(dp),We=br}catch{}}ze.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=cp;ze.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ei(t))throw Error(j(200));return ip(e,t,null,n)};ze.createRoot=function(e,t){if(!ei(e))throw Error(j(299));var n=!1,r="",l=_c;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Xo(e,1,!1,null,null,n,!1,r,l),e[et]=t.current,Yn(e.nodeType===8?e.parentNode:e),new Jo(t)};ze.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(j(188)):(e=Object.keys(e).join(","),Error(j(268,e)));return e=Za(t),e=e===null?null:e.stateNode,e};ze.flushSync=function(e){return Dt(e)};ze.hydrate=function(e,t,n){if(!Ll(t))throw Error(j(200));return Ml(null,e,t,!0,n)};ze.hydrateRoot=function(e,t,n){if(!ei(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,l=!1,s="",i=_c;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=bc(t,null,e,1,n??null,l,!1,s,i),e[et]=t.current,Yn(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)};ze.render=function(e,t,n){if(!Ll(t))throw Error(j(200));return Ml(null,e,t,!1,n)};ze.unmountComponentAtNode=function(e){if(!Ll(e))throw Error(j(40));return e._reactRootContainer?(Dt(function(){Ml(null,null,e,!1,function(){e._reactRootContainer=null,e[et]=null})}),!0):!1};ze.unstable_batchedUpdates=Ko;ze.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ll(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return Ml(e,t,n,!1,r)};ze.version="18.3.1-next-f1338f8080-20240426";function Tc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Tc)}catch(e){console.error(e)}}Tc(),Ta.exports=ze;var ti=Ta.exports,ca=ti;cs.createRoot=ca.createRoot,cs.hydrateRoot=ca.hydrateRoot;/**
|
|
41
|
+
* @license lucide-react v0.294.0 - ISC
|
|
42
|
+
*
|
|
43
|
+
* This source code is licensed under the ISC license.
|
|
44
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
45
|
+
*/var fp={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
46
|
+
* @license lucide-react v0.294.0 - ISC
|
|
47
|
+
*
|
|
48
|
+
* This source code is licensed under the ISC license.
|
|
49
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
50
|
+
*/const pp=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),U=(e,t)=>{const n=C.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:s=2,absoluteStrokeWidth:i,className:a="",children:u,...d},g)=>C.createElement("svg",{ref:g,...fp,width:l,height:l,stroke:r,strokeWidth:i?Number(s)*24/Number(l):s,className:["lucide",`lucide-${pp(e)}`,a].join(" "),...d},[...t.map(([h,m])=>C.createElement(h,m)),...Array.isArray(u)?u:[u]]));return n.displayName=`${e}`,n};/**
|
|
51
|
+
* @license lucide-react v0.294.0 - ISC
|
|
52
|
+
*
|
|
53
|
+
* This source code is licensed under the ISC license.
|
|
54
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
55
|
+
*/const mp=U("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|
56
|
+
* @license lucide-react v0.294.0 - ISC
|
|
57
|
+
*
|
|
58
|
+
* This source code is licensed under the ISC license.
|
|
59
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
60
|
+
*/const hp=U("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
|
|
61
|
+
* @license lucide-react v0.294.0 - ISC
|
|
62
|
+
*
|
|
63
|
+
* This source code is licensed under the ISC license.
|
|
64
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
65
|
+
*/const gp=U("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
|
|
66
|
+
* @license lucide-react v0.294.0 - ISC
|
|
67
|
+
*
|
|
68
|
+
* This source code is licensed under the ISC license.
|
|
69
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
70
|
+
*/const Br=U("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
|
|
71
|
+
* @license lucide-react v0.294.0 - ISC
|
|
72
|
+
*
|
|
73
|
+
* This source code is licensed under the ISC license.
|
|
74
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
75
|
+
*/const Lc=U("Cpu",[["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"9",y:"9",width:"6",height:"6",key:"o3kz5p"}],["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"}]]);/**
|
|
76
|
+
* @license lucide-react v0.294.0 - ISC
|
|
77
|
+
*
|
|
78
|
+
* This source code is licensed under the ISC license.
|
|
79
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
80
|
+
*/const hn=U("EyeOff",[["path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24",key:"1jxqfv"}],["path",{d:"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68",key:"9wicm4"}],["path",{d:"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61",key:"1jreej"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
|
|
81
|
+
* @license lucide-react v0.294.0 - ISC
|
|
82
|
+
*
|
|
83
|
+
* This source code is licensed under the ISC license.
|
|
84
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
85
|
+
*/const gn=U("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
86
|
+
* @license lucide-react v0.294.0 - ISC
|
|
87
|
+
*
|
|
88
|
+
* This source code is licensed under the ISC license.
|
|
89
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
90
|
+
*/const yp=U("FileText",[["path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z",key:"1nnpy2"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["line",{x1:"16",x2:"8",y1:"13",y2:"13",key:"14keom"}],["line",{x1:"16",x2:"8",y1:"17",y2:"17",key:"17nazh"}],["line",{x1:"10",x2:"8",y1:"9",y2:"9",key:"1a5vjj"}]]);/**
|
|
91
|
+
* @license lucide-react v0.294.0 - ISC
|
|
92
|
+
*
|
|
93
|
+
* This source code is licensed under the ISC license.
|
|
94
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
95
|
+
*/const hl=U("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
|
|
96
|
+
* @license lucide-react v0.294.0 - ISC
|
|
97
|
+
*
|
|
98
|
+
* This source code is licensed under the ISC license.
|
|
99
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
100
|
+
*/const xp=U("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]]);/**
|
|
101
|
+
* @license lucide-react v0.294.0 - ISC
|
|
102
|
+
*
|
|
103
|
+
* This source code is licensed under the ISC license.
|
|
104
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
105
|
+
*/const vp=U("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
106
|
+
* @license lucide-react v0.294.0 - ISC
|
|
107
|
+
*
|
|
108
|
+
* This source code is licensed under the ISC license.
|
|
109
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
110
|
+
*/const kp=U("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
|
|
111
|
+
* @license lucide-react v0.294.0 - ISC
|
|
112
|
+
*
|
|
113
|
+
* This source code is licensed under the ISC license.
|
|
114
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
115
|
+
*/const Vt=U("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
116
|
+
* @license lucide-react v0.294.0 - ISC
|
|
117
|
+
*
|
|
118
|
+
* This source code is licensed under the ISC license.
|
|
119
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
120
|
+
*/const Mc=U("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
|
|
121
|
+
* @license lucide-react v0.294.0 - ISC
|
|
122
|
+
*
|
|
123
|
+
* This source code is licensed under the ISC license.
|
|
124
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
125
|
+
*/const wp=U("MessageCircle",[["path",{d:"m3 21 1.9-5.7a8.5 8.5 0 1 1 3.8 3.8z",key:"v2veuj"}]]);/**
|
|
126
|
+
* @license lucide-react v0.294.0 - ISC
|
|
127
|
+
*
|
|
128
|
+
* This source code is licensed under the ISC license.
|
|
129
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
130
|
+
*/const jp=U("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
|
|
131
|
+
* @license lucide-react v0.294.0 - ISC
|
|
132
|
+
*
|
|
133
|
+
* This source code is licensed under the ISC license.
|
|
134
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
135
|
+
*/const Np=U("Milk",[["path",{d:"M8 2h8",key:"1ssgc1"}],["path",{d:"M9 2v2.789a4 4 0 0 1-.672 2.219l-.656.984A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-9.789a4 4 0 0 0-.672-2.219l-.656-.984A4 4 0 0 1 15 4.788V2",key:"qtp12x"}],["path",{d:"M7 15a6.472 6.472 0 0 1 5 0 6.47 6.47 0 0 0 5 0",key:"ygeh44"}]]);/**
|
|
136
|
+
* @license lucide-react v0.294.0 - ISC
|
|
137
|
+
*
|
|
138
|
+
* This source code is licensed under the ISC license.
|
|
139
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
140
|
+
*/const da=U("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/**
|
|
141
|
+
* @license lucide-react v0.294.0 - ISC
|
|
142
|
+
*
|
|
143
|
+
* This source code is licensed under the ISC license.
|
|
144
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
145
|
+
*/const Sp=U("Paperclip",[["path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48",key:"1u3ebp"}]]);/**
|
|
146
|
+
* @license lucide-react v0.294.0 - ISC
|
|
147
|
+
*
|
|
148
|
+
* This source code is licensed under the ISC license.
|
|
149
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
150
|
+
*/const Cp=U("PenSquare",[["path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1qinfi"}],["path",{d:"M18.5 2.5a2.12 2.12 0 0 1 3 3L12 15l-4 1 1-4Z",key:"w2jsv5"}]]);/**
|
|
151
|
+
* @license lucide-react v0.294.0 - ISC
|
|
152
|
+
*
|
|
153
|
+
* This source code is licensed under the ISC license.
|
|
154
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
155
|
+
*/const Ep=U("Pen",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}]]);/**
|
|
156
|
+
* @license lucide-react v0.294.0 - ISC
|
|
157
|
+
*
|
|
158
|
+
* This source code is licensed under the ISC license.
|
|
159
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
160
|
+
*/const Rc=U("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
|
161
|
+
* @license lucide-react v0.294.0 - ISC
|
|
162
|
+
*
|
|
163
|
+
* This source code is licensed under the ISC license.
|
|
164
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
165
|
+
*/const ro=U("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);/**
|
|
166
|
+
* @license lucide-react v0.294.0 - ISC
|
|
167
|
+
*
|
|
168
|
+
* This source code is licensed under the ISC license.
|
|
169
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
170
|
+
*/const Pp=U("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
|
171
|
+
* @license lucide-react v0.294.0 - ISC
|
|
172
|
+
*
|
|
173
|
+
* This source code is licensed under the ISC license.
|
|
174
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
175
|
+
*/const is=U("Save",[["path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z",key:"1owoqh"}],["polyline",{points:"17 21 17 13 7 13 7 21",key:"1md35c"}],["polyline",{points:"7 3 7 8 15 8",key:"8nz8an"}]]);/**
|
|
176
|
+
* @license lucide-react v0.294.0 - ISC
|
|
177
|
+
*
|
|
178
|
+
* This source code is licensed under the ISC license.
|
|
179
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
180
|
+
*/const lo=U("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]);/**
|
|
181
|
+
* @license lucide-react v0.294.0 - ISC
|
|
182
|
+
*
|
|
183
|
+
* This source code is licensed under the ISC license.
|
|
184
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
185
|
+
*/const so=U("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
186
|
+
* @license lucide-react v0.294.0 - ISC
|
|
187
|
+
*
|
|
188
|
+
* This source code is licensed under the ISC license.
|
|
189
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
190
|
+
*/const zp=U("Shield",[["path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10",key:"1irkt0"}]]);/**
|
|
191
|
+
* @license lucide-react v0.294.0 - ISC
|
|
192
|
+
*
|
|
193
|
+
* This source code is licensed under the ISC license.
|
|
194
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
195
|
+
*/const bp=U("Sliders",[["line",{x1:"4",x2:"4",y1:"21",y2:"14",key:"1p332r"}],["line",{x1:"4",x2:"4",y1:"10",y2:"3",key:"gb41h5"}],["line",{x1:"12",x2:"12",y1:"21",y2:"12",key:"hf2csr"}],["line",{x1:"12",x2:"12",y1:"8",y2:"3",key:"1kfi7u"}],["line",{x1:"20",x2:"20",y1:"21",y2:"16",key:"1lhrwl"}],["line",{x1:"20",x2:"20",y1:"12",y2:"3",key:"16vvfq"}],["line",{x1:"2",x2:"6",y1:"14",y2:"14",key:"1uebub"}],["line",{x1:"10",x2:"14",y1:"8",y2:"8",key:"1yglbp"}],["line",{x1:"18",x2:"22",y1:"16",y2:"16",key:"1jxqpz"}]]);/**
|
|
196
|
+
* @license lucide-react v0.294.0 - ISC
|
|
197
|
+
*
|
|
198
|
+
* This source code is licensed under the ISC license.
|
|
199
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
200
|
+
*/const gl=U("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
|
|
201
|
+
* @license lucide-react v0.294.0 - ISC
|
|
202
|
+
*
|
|
203
|
+
* This source code is licensed under the ISC license.
|
|
204
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
205
|
+
*/const _p=U("UsersRound",[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]]);/**
|
|
206
|
+
* @license lucide-react v0.294.0 - ISC
|
|
207
|
+
*
|
|
208
|
+
* This source code is licensed under the ISC license.
|
|
209
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
210
|
+
*/const Tp=U("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
|
|
211
|
+
* @license lucide-react v0.294.0 - ISC
|
|
212
|
+
*
|
|
213
|
+
* This source code is licensed under the ISC license.
|
|
214
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
215
|
+
*/const fa=U("Wifi",[["path",{d:"M5 13a10 10 0 0 1 14 0",key:"6v8j51"}],["path",{d:"M8.5 16.5a5 5 0 0 1 7 0",key:"sej527"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["line",{x1:"12",x2:"12.01",y1:"20",y2:"20",key:"of4bc4"}]]);/**
|
|
216
|
+
* @license lucide-react v0.294.0 - ISC
|
|
217
|
+
*
|
|
218
|
+
* This source code is licensed under the ISC license.
|
|
219
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
220
|
+
*/const Lp=U("XCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
|
|
221
|
+
* @license lucide-react v0.294.0 - ISC
|
|
222
|
+
*
|
|
223
|
+
* This source code is licensed under the ISC license.
|
|
224
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
225
|
+
*/const sr=U("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
|
|
226
|
+
* @license lucide-react v0.294.0 - ISC
|
|
227
|
+
*
|
|
228
|
+
* This source code is licensed under the ISC license.
|
|
229
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
230
|
+
*/const Mp=U("Zap",[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2",key:"45s27k"}]]),Rp=({activeTab:e,onTabChange:t,accountInfo:n})=>{const r=[{id:"dashboard",icon:kp,label:"Dashboard"},{id:"onebot",icon:ro,label:"OneBot 11"},{id:"satori",icon:Lc,label:"Satori"},{id:"milky",icon:Np,label:"Milky"},{id:"other",icon:bp,label:"其他配置"},{id:"about",icon:vp,label:"关于"}];return o.jsxs("div",{className:"w-64 bg-white/50 backdrop-blur-2xl h-screen flex flex-col shadow-xl border-r border-white/30 sticky top-0",children:[o.jsx("div",{className:"p-6 border-b border-white/20",children:o.jsxs("div",{className:"flex items-center gap-4",children:[o.jsx("div",{className:"w-12 h-12 rounded-2xl overflow-hidden shadow-lg flex-shrink-0",children:o.jsx("img",{src:"/logo.jpg",alt:"Logo",className:"w-full h-full object-cover"})}),o.jsxs("div",{className:"flex-1 min-w-0",children:[o.jsx("h1",{className:"text-xl font-bold text-gray-800 truncate",children:"LLBot"}),o.jsx("p",{className:"text-xs text-gray-500",children:"WebUI"})]})]})}),o.jsx("nav",{className:"flex-1 p-4 space-y-1",children:r.map(l=>{const s=l.icon,i=e===l.id;return o.jsxs("button",{onClick:()=>t(l.id),className:`w-full flex items-center space-x-3 px-4 py-3 rounded-2xl transition-all duration-200 ${i?"bg-gradient-to-r from-blue-500 to-purple-600 text-white shadow-lg scale-105":"text-gray-700 hover:bg-white/50 hover:backdrop-blur-sm"}`,children:[o.jsx(s,{size:20}),o.jsx("span",{className:"font-medium",children:l.label})]},l.id)})}),n&&o.jsx("div",{className:"p-4 border-t border-white/20",children:o.jsxs("div",{className:"flex items-center space-x-3 px-3 py-2",children:[o.jsx("img",{src:`https://thirdqq.qlogo.cn/g?b=qq&nk=${n.uin}&s=640`,alt:"头像",className:"w-10 h-10 rounded-full object-cover ring-2 ring-white/50",onError:l=>{const s=l.target;s.style.display="none";const i=s.nextElementSibling;i&&(i.style.display="flex")}}),o.jsx("div",{className:"w-10 h-10 bg-gradient-to-br from-green-400 to-blue-500 rounded-full items-center justify-center text-white font-semibold hidden",style:{display:"none"},children:n.nick.charAt(0).toUpperCase()}),o.jsxs("div",{className:"flex-1 min-w-0",children:[o.jsx("p",{className:"text-sm font-medium text-gray-900 truncate",children:n.nick}),o.jsx("p",{className:"text-xs text-gray-500 truncate",children:n.uin})]})]})})]})},pa=({children:e})=>{const t=C.useRef(null);return t.current||(t.current=document.createElement("div")),C.useEffect(()=>{const n=document.body,r=t.current;return n.appendChild(r),()=>{n.removeChild(r)}},[]),ti.createPortal(e,t.current)},Ip=({message:e,type:t="success",duration:n=3e3,onClose:r})=>{const[l,s]=C.useState(!0);C.useEffect(()=>{const u=setTimeout(()=>{s(!1),setTimeout(r,300)},n);return()=>clearTimeout(u)},[n,r]);const i={success:o.jsx(gp,{className:"w-5 h-5"}),error:o.jsx(Lp,{className:"w-5 h-5"}),warning:o.jsx(mp,{className:"w-5 h-5"})},a={success:"bg-green-50/90 backdrop-blur-md border-green-200/50 text-green-800",error:"bg-red-50/90 backdrop-blur-md border-red-200/50 text-red-800",warning:"bg-yellow-50/90 backdrop-blur-md border-yellow-200/50 text-yellow-800"};return o.jsxs("div",{className:`fixed top-4 right-4 flex items-center gap-3 px-4 py-3 rounded-2xl border shadow-lg transition-all duration-300 ${a[t]} ${l?"translate-x-0 opacity-100":"translate-x-full opacity-0"}`,style:{minWidth:"300px",maxWidth:"500px",zIndex:99999},children:[o.jsx("div",{className:"flex-shrink-0",children:i[t]}),o.jsx("p",{className:"flex-1 text-sm font-medium",children:e}),o.jsx("button",{onClick:()=>{s(!1),setTimeout(r,300)},className:"flex-shrink-0 hover:opacity-70 transition-opacity",children:o.jsx(sr,{size:18})})]})};let Fp=0;const Hr=[];let yl=[];const Ic=()=>{Hr.forEach(e=>e([...yl]))},ae=(e,t="success",n=3e3)=>{const r=Fp++;yl.push({id:r,message:e,type:t,duration:n}),Ic()},ma=()=>{const[e,t]=C.useState([]);C.useEffect(()=>{const l=s=>t(s);return Hr.push(l),()=>{const s=Hr.indexOf(l);s>-1&&Hr.splice(s,1)}},[]);const n=l=>{yl=yl.filter(s=>s.id!==l),Ic()},r=o.jsx(o.Fragment,{children:e.map((l,s)=>o.jsx("div",{style:{top:`${1+s*4.5}rem`,zIndex:99999},className:"fixed right-4",children:o.jsx(Ip,{message:l.message,type:l.type,duration:l.duration,onClose:()=>n(l.id)})},l.id))});return ti.createPortal(r,document.body)},Op=({config:e,onChange:t,onSave:n,globalConfig:r})=>{const[l,s]=C.useState(null),[i,a]=C.useState(-1),[u,d]=C.useState(!1),[g,h]=C.useState(!1),[m,v]=C.useState(!1),[y,k]=C.useState(!1),[w,f]=C.useState(""),[c,p]=C.useState(!1),x={ws:{icon:ro,name:"WebSocket正向",desc:"提供WebSocket服务器"},"ws-reverse":{icon:fa,name:"WebSocket反向",desc:"作为客户端连接到WebSocket服务"},http:{icon:hl,name:"HTTP服务",desc:"提供HTTP API服务"},"http-post":{icon:lo,name:"HTTP上报",desc:"上报事件到HTTP服务器"}},N=(S,O)=>{s(S),a(O),v(!1),k(!1),f(S.name||""),p(!1),d(!0)},E=S=>{S.stopPropagation(),k(!0)},z=()=>{if(!l)return;const S={...l,name:w.trim()};s(S),k(!1)},_=()=>{f((l==null?void 0:l.name)||""),k(!1)},F=()=>{var I;if(!l)return;if((l.type==="ws"||l.type==="http")&&!r.onlyLocalhost&&!((I=l.token)!=null&&I.trim())){ae('当"只监听本地地址"关闭时,必须设置 Token!',"error");return}let O;if(m)O=[...e.connect,l];else{if(i<0)return;O=[...e.connect],O[i]=l}const X={...e,connect:O};t(X),d(!1),v(!1),n(X)},b=()=>{if(m){d(!1),v(!1);return}if(i<0)return;const S=e.connect.filter((X,I)=>I!==i),O={...e,connect:S};t(O),d(!1),n(O)},L=S=>{const O={enable:!0,token:"",messageFormat:"array",reportSelfMessage:!1,reportOfflineMessage:!1,debug:!1};let X;switch(S){case"ws":X={...O,type:"ws",port:3001,heartInterval:6e4};break;case"ws-reverse":X={...O,type:"ws-reverse",url:"",heartInterval:6e4};break;case"http":X={...O,type:"http",port:3e3};break;case"http-post":X={...O,type:"http-post",url:"",enableHeart:!1,heartInterval:6e4};break}h(!1),s(X),a(-1),v(!0),p(!1),d(!0)},M=(S,O)=>{l&&s({...l,[S]:O})};return o.jsxs("div",{className:"space-y-6",children:[o.jsx("div",{className:"card p-6",children:o.jsxs("label",{className:"flex items-center justify-between",children:[o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"OneBot 11 协议"}),o.jsx("p",{className:"text-sm text-gray-600 mt-1",children:"启用或禁用 OneBot 11 适配器"})]}),o.jsx("input",{type:"checkbox",checked:e.enable,onChange:S=>{const O={...e,enable:S.target.checked};t(O),console.log("Config updated:",O),n(O)},className:`w-14 h-7 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
231
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
232
|
+
transition-colors duration-200 ease-in-out\r
|
|
233
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
234
|
+
before:w-6 before:h-6 before:rounded-full before:bg-white\r
|
|
235
|
+
before:transition-transform before:duration-200\r
|
|
236
|
+
checked:before:translate-x-7`})]})}),e.enable&&e.connect&&Array.isArray(e.connect)&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.connect.map((S,O)=>{const X=x[S.type],I=X.icon;return o.jsxs("div",{className:`card p-6 cursor-pointer hover:scale-105 transition-all ${S.enable?"ring-2 ring-blue-500":""}`,onClick:()=>N(S,O),children:[o.jsxs("div",{className:"flex items-start justify-between mb-4",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:`w-12 h-12 rounded-2xl flex items-center justify-center ${S.enable?"bg-gradient-to-br from-blue-500 to-purple-600 text-white":"bg-gray-200 text-gray-600"}`,children:o.jsx(I,{size:24})}),o.jsxs("div",{className:"flex-1",children:[o.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:S.name||X.name}),o.jsx("p",{className:"text-sm text-gray-600",children:X.desc})]})]}),o.jsx(so,{size:20,className:"text-gray-400"})]}),o.jsxs("div",{className:"flex items-center justify-between mt-4 pt-4 border-t border-gray-200",children:[o.jsx("span",{className:`text-xs font-medium px-3 py-1 rounded-full ${S.enable?"bg-green-100 text-green-800":"bg-gray-100 text-gray-600"}`,children:S.enable?"已启用":"未启用"}),S.enable&&o.jsxs(o.Fragment,{children:[(S.type==="ws"||S.type==="http")&&o.jsxs("span",{className:"text-sm text-gray-600",children:["端口: ",S.port]}),(S.type==="ws-reverse"||S.type==="http-post")&&o.jsxs("span",{className:"text-sm text-gray-600 truncate max-w-[180px]",title:S.url||"未配置",children:["URL: ",S.url||"未配置"]})]})]})]},O)})}),o.jsx("div",{className:"flex justify-center mt-6",children:o.jsxs("button",{onClick:()=>h(!0),className:"btn-primary flex items-center gap-2",children:[o.jsx(Rc,{size:20}),"添加适配器"]})})]}),u&&l&&o.jsx(pa,{children:o.jsx("div",{className:"fixed inset-0 bg-black/30 backdrop-blur-sm flex items-center justify-center p-4",style:{zIndex:9e3},children:o.jsxs("div",{className:"bg-white/60 backdrop-blur-xl rounded-3xl shadow-2xl w-full max-w-2xl max-h-[80vh] flex flex-col border border-white/50",children:[o.jsxs("div",{className:"flex items-center justify-between p-6 border-b border-white/20",children:[o.jsx("div",{className:"flex items-center gap-3 flex-1",children:y?o.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[o.jsx("input",{type:"text",value:w,onChange:S=>f(S.target.value),onKeyDown:S=>{S.key==="Enter"&&z(),S.key==="Escape"&&_()},placeholder:"输入自定义名称",className:"flex-1 px-3 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500",autoFocus:!0}),o.jsx("button",{onClick:z,className:"px-4 py-2 bg-blue-500 text-white rounded-xl hover:bg-blue-600 transition-colors",children:"确定"}),o.jsx("button",{onClick:_,className:"px-4 py-2 bg-gray-200 text-gray-700 rounded-xl hover:bg-gray-300 transition-colors",children:"取消"})]}):o.jsxs(o.Fragment,{children:[o.jsxs("h3",{className:"text-xl font-semibold text-gray-900",children:[m?"新建 - ":"",l.name||x[l.type].name]}),o.jsx("button",{onClick:E,className:"p-2 text-gray-400 hover:text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",title:"编辑名称",children:o.jsx(Ep,{size:18})})]})}),o.jsx("button",{onClick:()=>{d(!1),v(!1),k(!1)},className:"text-gray-400 hover:text-gray-600",children:o.jsx(sr,{size:24})})]}),o.jsxs("div",{className:"p-6 space-y-6 overflow-y-auto flex-1",children:[o.jsx("div",{children:o.jsxs("label",{className:"flex items-center justify-between",children:[o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"启用此适配器"}),o.jsx("input",{type:"checkbox",checked:l.enable,onChange:S=>M("enable",S.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
237
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
238
|
+
transition-colors duration-200 ease-in-out\r
|
|
239
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
240
|
+
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
241
|
+
before:transition-transform before:duration-200\r
|
|
242
|
+
checked:before:translate-x-6`})]})}),l.type==="ws"&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"端口"}),o.jsx("input",{type:"number",value:l.port,onChange:S=>M("port",parseInt(S.target.value)),className:"input-field"})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"心跳间隔 (ms)"}),o.jsx("input",{type:"number",value:l.heartInterval,onChange:S=>M("heartInterval",parseInt(S.target.value)),className:"input-field"})]})]}),l.type==="ws-reverse"&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"连接地址"}),o.jsx("input",{type:"text",value:l.url,onChange:S=>M("url",S.target.value),placeholder:"ws://example.com:8080",className:"input-field"})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"心跳间隔 (ms)"}),o.jsx("input",{type:"number",value:l.heartInterval,onChange:S=>M("heartInterval",parseInt(S.target.value)),className:"input-field"})]})]}),l.type==="http"&&o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"端口"}),o.jsx("input",{type:"number",value:l.port,onChange:S=>M("port",parseInt(S.target.value)),className:"input-field"})]}),l.type==="http-post"&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"上报地址"}),o.jsx("input",{type:"text",value:l.url,onChange:S=>M("url",S.target.value),placeholder:"http://example.com:8080/webhook",className:"input-field"})]}),o.jsx("div",{children:o.jsxs("label",{className:"flex items-center justify-between mb-2",children:[o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"启用心跳"}),o.jsx("input",{type:"checkbox",checked:l.enableHeart,onChange:S=>M("enableHeart",S.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
243
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
244
|
+
transition-colors duration-200 ease-in-out\r
|
|
245
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
246
|
+
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
247
|
+
before:transition-transform before:duration-200\r
|
|
248
|
+
checked:before:translate-x-6`})]})}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"心跳间隔 (ms)"}),o.jsx("input",{type:"number",value:l.heartInterval,onChange:S=>M("heartInterval",parseInt(S.target.value)),className:"input-field"})]})]}),o.jsxs("div",{className:"border-t border-gray-200 pt-6",children:[o.jsx("h4",{className:"text-md font-semibold text-gray-800 mb-4",children:"通用配置"}),o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Token"}),o.jsxs("div",{className:"relative",children:[o.jsx("input",{type:c?"text":"password",value:l.token,onChange:S=>M("token",S.target.value),placeholder:"访问令牌",className:"input-field pr-12"}),o.jsx("button",{type:"button",onClick:()=>p(!c),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors p-1",children:c?o.jsx(hn,{size:20}):o.jsx(gn,{size:20})})]})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"消息格式"}),o.jsxs("div",{className:"flex gap-4",children:[o.jsxs("label",{className:"flex items-center",children:[o.jsx("input",{type:"radio",value:"array",checked:l.messageFormat==="array",onChange:S=>M("messageFormat",S.target.value),className:"mr-2"}),"消息段 (array)"]}),o.jsxs("label",{className:"flex items-center",children:[o.jsx("input",{type:"radio",value:"string",checked:l.messageFormat==="string",onChange:S=>M("messageFormat",S.target.value),className:"mr-2"}),"CQ码 (string)"]})]})]}),o.jsx("div",{children:o.jsxs("label",{className:"flex items-center justify-between",children:[o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"上报自己发送的消息"}),o.jsx("input",{type:"checkbox",checked:l.reportSelfMessage,onChange:S=>M("reportSelfMessage",S.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
249
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
250
|
+
transition-colors duration-200 ease-in-out\r
|
|
251
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
252
|
+
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
253
|
+
before:transition-transform before:duration-200\r
|
|
254
|
+
checked:before:translate-x-6`})]})}),o.jsx("div",{children:o.jsxs("label",{className:"flex items-center justify-between",children:[o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"上报离线消息"}),o.jsx("input",{type:"checkbox",checked:l.reportOfflineMessage,onChange:S=>M("reportOfflineMessage",S.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
255
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
256
|
+
transition-colors duration-200 ease-in-out\r
|
|
257
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
258
|
+
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
259
|
+
before:transition-transform before:duration-200\r
|
|
260
|
+
checked:before:translate-x-6`})]})}),o.jsx("div",{children:o.jsxs("label",{className:"flex items-center justify-between",children:[o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"调试模式"}),o.jsx("input",{type:"checkbox",checked:l.debug,onChange:S=>M("debug",S.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
261
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
262
|
+
transition-colors duration-200 ease-in-out\r
|
|
263
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
264
|
+
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
265
|
+
before:transition-transform before:duration-200\r
|
|
266
|
+
checked:before:translate-x-6`})]})})]})]})]}),o.jsxs("div",{className:"flex items-center justify-between p-6 border-t border-white/20",children:[!m&&o.jsxs("button",{onClick:b,className:"px-6 py-2.5 bg-red-500 hover:bg-red-600 text-white rounded-xl font-medium transition-colors flex items-center gap-2",children:[o.jsx(gl,{size:18}),"删除"]}),m&&o.jsx("div",{})," ",o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("button",{onClick:()=>d(!1),className:"px-6 py-2.5 text-gray-700 hover:bg-gray-100 rounded-xl font-medium transition-colors",children:"取消"}),o.jsx("button",{onClick:F,className:"btn-primary",children:"保存"})]})]})]})})}),g&&o.jsx(pa,{children:o.jsx("div",{className:"fixed inset-0 bg-black/30 backdrop-blur-sm flex items-center justify-center p-4",style:{zIndex:9e3},children:o.jsxs("div",{className:"bg-white/60 backdrop-blur-xl rounded-3xl shadow-2xl w-full max-w-md border border-white/50",children:[o.jsxs("div",{className:"flex items-center justify-between p-6 border-b border-white/20",children:[o.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:"选择适配器类型"}),o.jsx("button",{onClick:()=>h(!1),className:"text-gray-400 hover:text-gray-600",children:o.jsx(sr,{size:24})})]}),o.jsxs("div",{className:"p-6 space-y-3",children:[o.jsxs("button",{onClick:()=>L("ws"),className:"w-full p-4 rounded-2xl bg-gradient-to-br from-blue-50 to-purple-50 hover:from-blue-100 hover:to-purple-100 transition-all flex items-center gap-4 group",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-blue-500 to-purple-600 text-white flex items-center justify-center group-hover:scale-110 transition-transform",children:o.jsx(ro,{size:24})}),o.jsxs("div",{className:"text-left",children:[o.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:"WebSocket正向"}),o.jsx("p",{className:"text-sm text-gray-600",children:"作为WebSocket服务器"})]})]}),o.jsxs("button",{onClick:()=>L("ws-reverse"),className:"w-full p-4 rounded-2xl bg-gradient-to-br from-green-50 to-teal-50 hover:from-green-100 hover:to-teal-100 transition-all flex items-center gap-4 group",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-green-500 to-teal-600 text-white flex items-center justify-center group-hover:scale-110 transition-transform",children:o.jsx(fa,{size:24})}),o.jsxs("div",{className:"text-left",children:[o.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:"WebSocket反向"}),o.jsx("p",{className:"text-sm text-gray-600",children:"作为客户端连接到WebSocket服务端"})]})]}),o.jsxs("button",{onClick:()=>L("http"),className:"w-full p-4 rounded-2xl bg-gradient-to-br from-orange-50 to-red-50 hover:from-orange-100 hover:to-red-100 transition-all flex items-center gap-4 group",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-orange-500 to-red-600 text-white flex items-center justify-center group-hover:scale-110 transition-transform",children:o.jsx(hl,{size:24})}),o.jsxs("div",{className:"text-left",children:[o.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:"HTTP服务"}),o.jsx("p",{className:"text-sm text-gray-600",children:"提供HTTP API服务"})]})]}),o.jsxs("button",{onClick:()=>L("http-post"),className:"w-full p-4 rounded-2xl bg-gradient-to-br from-pink-50 to-rose-50 hover:from-pink-100 hover:to-rose-100 transition-all flex items-center gap-4 group",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-pink-500 to-rose-600 text-white flex items-center justify-center group-hover:scale-110 transition-transform",children:o.jsx(lo,{size:24})}),o.jsxs("div",{className:"text-left",children:[o.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:"HTTP上报"}),o.jsx("p",{className:"text-sm text-gray-600",children:"上报事件到HTTP服务器"})]})]})]}),o.jsx("div",{className:"flex justify-end p-6 border-t border-white/20",children:o.jsx("button",{onClick:()=>h(!1),className:"px-6 py-2.5 text-gray-700 hover:bg-gray-100 rounded-xl font-medium transition-colors",children:"取消"})})]})})})]})},Dp=({config:e,onChange:t,onOpenChangePassword:n})=>{const r=(l,s)=>{t({...e,[l]:s})};return o.jsxs("div",{className:"space-y-6",children:[o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center",children:o.jsx(hl,{size:20,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"系统功能"}),o.jsx("p",{className:"text-sm text-gray-600",children:"基础功能开关配置"})]})]}),o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx(yp,{size:20,className:"text-green-600"}),o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"日志记录"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"启用后记录详细的运行日志"})]})]}),o.jsx("input",{type:"checkbox",checked:e.log,onChange:l=>r("log",l.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
267
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
268
|
+
transition-colors duration-200 ease-in-out\r
|
|
269
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
270
|
+
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
271
|
+
before:transition-transform before:duration-200\r
|
|
272
|
+
checked:before:translate-x-6`})]}),o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx(hl,{size:20,className:"text-blue-600"}),o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"只监听本地地址"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"取消后可能会暴露在公网"})]})]}),o.jsx("input",{type:"checkbox",checked:e.onlyLocalhost,onChange:l=>r("onlyLocalhost",l.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
273
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
274
|
+
transition-colors duration-200 ease-in-out\r
|
|
275
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
276
|
+
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
277
|
+
before:transition-transform before:duration-200\r
|
|
278
|
+
checked:before:translate-x-6`})]}),o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx(Sp,{size:20,className:"text-blue-600"}),o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"本地文件转URL"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"启用后可将本地文件转换为URL链接"})]})]}),o.jsx("input",{type:"checkbox",checked:e.enableLocalFile2Url,onChange:l=>r("enableLocalFile2Url",l.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
279
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
280
|
+
transition-colors duration-200 ease-in-out\r
|
|
281
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
282
|
+
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
283
|
+
before:transition-transform before:duration-200\r
|
|
284
|
+
checked:before:translate-x-6`})]})]})]}),o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-orange-500 to-red-600 flex items-center justify-center",children:o.jsx(gl,{size:20,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"文件管理"}),o.jsx("p",{className:"text-sm text-gray-600",children:"自动清理文件相关配置"})]})]}),o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx(gl,{size:20,className:"text-red-600"}),o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"自动删除收到的文件"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"启用后将自动清理接收的临时文件"})]})]}),o.jsx("input",{type:"checkbox",checked:e.autoDeleteFile,onChange:l=>r("autoDeleteFile",l.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
285
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
286
|
+
transition-colors duration-200 ease-in-out\r
|
|
287
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
288
|
+
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
289
|
+
before:transition-transform before:duration-200\r
|
|
290
|
+
checked:before:translate-x-6`})]}),e.autoDeleteFile&&o.jsx("div",{className:"pl-4",children:o.jsxs("label",{className:"block",children:[o.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[o.jsx(Br,{size:16,className:"text-gray-600"}),o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"自动删除时间(秒)"})]}),o.jsx("input",{type:"number",value:e.autoDeleteFileSecond,onChange:l=>r("autoDeleteFileSecond",parseInt(l.target.value)),min:"1",max:"3600",className:"input-field",placeholder:"60"}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"文件接收后多少秒自动删除(1-3600秒)"})]})})]})]}),o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-purple-500 to-pink-600 flex items-center justify-center",children:o.jsx(Br,{size:20,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"缓存设置"}),o.jsx("p",{className:"text-sm text-gray-600",children:"消息缓存相关配置"})]})]}),o.jsxs("label",{className:"block",children:[o.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[o.jsx(Br,{size:16,className:"text-purple-600"}),o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"消息缓存过期时间(秒)"})]}),o.jsx("input",{type:"number",value:e.msgCacheExpire,onChange:l=>r("msgCacheExpire",parseInt(l.target.value)),min:"1",max:"86400",className:"input-field",placeholder:"3600"}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"消息在缓存中保留的时间(1-86400秒)"})]})]}),o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-green-500 to-teal-600 flex items-center justify-center",children:o.jsx(da,{size:20,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"扩展功能"}),o.jsx("p",{className:"text-sm text-gray-600",children:"第三方服务配置"})]})]}),o.jsxs("label",{className:"block",children:[o.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[o.jsx(da,{size:16,className:"text-green-600"}),o.jsx("span",{className:"text-sm font-medium text-gray-700",children:"音乐签名地址"})]}),o.jsx("input",{type:"text",value:e.musicSignUrl,onChange:l=>r("musicSignUrl",l.target.value),placeholder:"https://example.com/sign",className:"input-field"}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"用于音乐卡片签名的服务地址"})]})]}),o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-red-500 to-pink-600 flex items-center justify-center",children:o.jsx(zp,{size:20,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"安全设置"}),o.jsx("p",{className:"text-sm text-gray-600",children:"WebUI 访问控制"})]})]}),o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx(Mc,{size:20,className:"text-red-600"}),o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"WebUI 访问密码"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"用于保护 WebUI 访问的密码"})]})]}),o.jsxs("button",{onClick:n,className:"px-4 py-2 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-lg text-sm font-medium hover:shadow-lg transition-all flex items-center gap-2",children:[o.jsx(Cp,{size:16}),"修改密码"]})]})]})]})};function Fc(e,t){const n=e.trim();return n?t!==void 0&&n.length<t?{isValid:!1,error:`密码长度不能少于${t}位`}:/[\r\n]/.test(n)?{isValid:!1,error:"密码不能包含换行符!"}:/[^\x20-\x7E\t]/.test(n)?{isValid:!1,error:"密码不能包含中文等特殊字符!"}:/[\x00-\x08\x0A-\x1F\x7F]/.test(n)?{isValid:!1,error:"密码包含不可见的控制字符!"}:{isValid:!0}:{isValid:!1,error:"密码不能为空"}}const as=({visible:e,onConfirm:t,onClose:n,error:r})=>{const[l,s]=C.useState(""),[i,a]=C.useState(!1),[u,d]=C.useState(""),g=C.useRef(null);C.useEffect(()=>{e&&g.current&&setTimeout(()=>{var v;return(v=g.current)==null?void 0:v.focus()},100)},[e]),C.useEffect(()=>{e&&(s(""),a(!1),d(""))},[e]);const h=()=>{const v=Fc(l);if(!v.isValid){d(v.error||"密码验证失败");return}d(""),t(l.trim())},m=v=>{v.key==="Enter"&&h()};return C.useEffect(()=>{if(!e)return;const v=y=>{y.key==="Escape"&&(y.preventDefault(),y.stopPropagation())};return window.addEventListener("keydown",v),()=>window.removeEventListener("keydown",v)},[e]),e?o.jsx(o.Fragment,{children:o.jsx("div",{className:"fixed inset-0 bg-black/30 backdrop-blur-sm flex items-center justify-center p-4",style:{zIndex:9e3},onClick:v=>v.target===v.currentTarget&&(n==null?void 0:n()),children:o.jsxs("div",{className:"bg-white/90 backdrop-blur-xl rounded-3xl shadow-2xl w-full max-w-md transform transition-all",children:[o.jsxs("div",{className:"flex items-center justify-between p-6 border-b border-white/20",children:[o.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:r||"WebUI 密码"}),n&&o.jsx("button",{onClick:n,className:"text-gray-400 hover:text-gray-600 transition-colors",children:o.jsx(sr,{size:24})})]}),o.jsx("div",{className:"p-6",children:o.jsxs("div",{className:"space-y-2",children:[o.jsxs("div",{className:"relative",children:[o.jsx("input",{ref:g,type:i?"text":"password",value:l,onChange:v=>{s(v.target.value),u&&d("")},onKeyPress:m,placeholder:"请输入密码(支持数字、字母、符号)",className:`w-full px-4 py-3 pr-12 border rounded-xl focus:outline-none focus:ring-2 transition-all bg-white/50 backdrop-blur-sm ${u?"border-red-300 focus:ring-red-500 focus:border-red-500":"border-gray-300 focus:ring-blue-500 focus:border-transparent"}`,autoComplete:"off"}),o.jsx("button",{type:"button",onClick:()=>a(!i),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors",children:i?o.jsx(hn,{size:20}):o.jsx(gn,{size:20})})]}),u&&o.jsx("p",{className:"text-sm text-red-500 px-1",children:u})]})}),o.jsxs("div",{className:"flex items-center justify-end gap-3 p-6 border-t border-white/20",children:[n&&o.jsx("button",{onClick:n,className:"px-6 py-2.5 text-gray-700 hover:bg-gray-100 rounded-lg font-medium transition-colors",children:"取消"}),o.jsx("button",{onClick:h,disabled:!l.trim(),className:"px-6 py-2.5 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-lg font-medium hover:shadow-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:shadow-none",children:"确定"})]})]})})}):null};function Ap(e){const t=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],r=new TextEncoder().encode(e),l=r.length*8,s=Math.ceil((l+65)/512)*64,i=new Uint8Array(s);i.set(r),i[r.length]=128;const a=new DataView(i.buffer);a.setUint32(s-4,l&4294967295,!1);let u=1779033703,d=3144134277,g=1013904242,h=2773480762,m=1359893119,v=2600822924,y=528734635,k=1541459225;for(let w=0;w<s;w+=64){const f=new Uint32Array(64);for(let b=0;b<16;b++)f[b]=a.getUint32(w+b*4,!1);for(let b=16;b<64;b++){const L=(f[b-15]>>>7|f[b-15]<<25)^(f[b-15]>>>18|f[b-15]<<14)^f[b-15]>>>3,M=(f[b-2]>>>17|f[b-2]<<15)^(f[b-2]>>>19|f[b-2]<<13)^f[b-2]>>>10;f[b]=f[b-16]+L+f[b-7]+M>>>0}let c=u,p=d,x=g,N=h,E=m,z=v,_=y,F=k;for(let b=0;b<64;b++){const L=(E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7),M=E&z^~E&_,S=F+L+M+t[b]+f[b]>>>0,O=(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),X=c&p^c&x^p&x,I=O+X>>>0;F=_,_=z,z=E,E=N+S>>>0,N=x,x=p,p=c,c=S+I>>>0}u=u+c>>>0,d=d+p>>>0,g=g+x>>>0,h=h+N>>>0,m=m+E>>>0,v=v+z>>>0,y=y+_>>>0,k=k+F>>>0}return[u.toString(16).padStart(8,"0"),d.toString(16).padStart(8,"0"),g.toString(16).padStart(8,"0"),h.toString(16).padStart(8,"0"),m.toString(16).padStart(8,"0"),v.toString(16).padStart(8,"0"),y.toString(16).padStart(8,"0"),k.toString(16).padStart(8,"0")].join("")}async function Up(e){try{return Ap(e)}catch(t){if(console.error("[PasswordHash] 纯JS SHA-256实现失败:",t),typeof crypto<"u"&&crypto.subtle)try{const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n);return Array.from(new Uint8Array(r)).map(s=>s.toString(16).padStart(2,"0")).join("")}catch(n){console.error("[PasswordHash] Web Crypto API失败:",n)}throw new Error("无法计算SHA-256哈希")}}async function ha(e){return await Up(e)}function $p(e,t,n=30){const r=new Date;r.setTime(r.getTime()+n*24*60*60*1e3);const l=`expires=${r.toUTCString()}`,i=window.location.protocol==="https:"?"; Secure":"",a=window.location.hostname,d=/^\d+\.\d+\.\d+\.\d+$/.test(a)?"":"; SameSite=Lax",g=`${e}=${t}; ${l}; path=/${d}${i}`;document.cookie=g}function Vp(e){const t=e+"=",n=document.cookie.split(";");for(let r=0;r<n.length;r++){let l=n[r];for(;l.charAt(0)===" ";)l=l.substring(1,l.length);if(l.indexOf(t)===0)return l.substring(t.length,l.length)}return console.log("[Cookie] 未找到Cookie:",{name:e,allCookies:document.cookie}),null}const Oc="webui_token",Bp=30;let Ln=null;function Hp(e){Ln=e}function Qp(){return Vp(Oc)}function ga(e){$p(Oc,e,Bp)}async function dt(e,t={}){const n=async r=>{const l={...t.headers};return r&&(l["x-webui-token"]=r),fetch(e,{...t,headers:l})};try{let r=await n(Qp());if(r.status===401&&Ln){console.log("401 - Password not set, prompting to set password...");const l=await Ln("请设置密码");if(!l||!l.trim())throw new Error("密码不能为空");if(!(await fetch("/api/set-token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:l.trim()})})).ok)throw new Error("设置密码失败");const i=await ha(l.trim());ga(i),r=await n(i)}if(r.status===403&&Ln){console.log("403 - Token verification failed, prompting for password...");let l=null;try{l=await r.clone().json()}catch{}l!=null&&l.locked&&ae(l.message||"账户已被锁定","error");let s=0;const i=5;for(;r.status===403&&s<i;)try{const a=s>0?"密码错误,请重新输入":"请输入密码",u=await Ln(a);if(!u||!u.trim())throw new Error("密码不能为空");const d=await ha(u.trim());if(ga(d),r=await n(d),r.status===200){console.log("Authentication successful!");break}try{if(l=await r.clone().json(),l!=null&&l.locked)throw new Error(l.message||"账户已被锁定")}catch{}s++}catch(a){throw console.error("Password prompt error:",a),a}if(r.status===403)throw new Error((l==null?void 0:l.message)||"认证失败")}if(!r.ok){const l=await r.text();throw new Error(`HTTP error! status: ${r.status}, message: ${l}`)}return await r.json()}catch(r){throw console.error("API fetch error:",r),r}}const Wp=({visible:e,onClose:t,onSuccess:n})=>{const[r,l]=C.useState(""),[s,i]=C.useState(""),[a,u]=C.useState(!1),[d,g]=C.useState(!1),[h,m]=C.useState(!1),[v,y]=C.useState(""),k=C.useRef(null);C.useEffect(()=>{e&&k.current&&setTimeout(()=>{var c;return(c=k.current)==null?void 0:c.focus()},100)},[e]),C.useEffect(()=>{e&&(l(""),i(""),u(!1),g(!1),y(""))},[e]);const w=async()=>{const c=Fc(r,6);if(!c.isValid){y(c.error||"密码验证失败");return}if(r!==s){y("两次输入的密码不一致");return}m(!0),y("");try{const p=await dt("/api/set-token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:r})});p.success?(ae("密码修改成功","success"),n(),t()):y(p.message||"密码修改失败")}catch(p){y(p.message||"密码修改失败")}finally{m(!1)}},f=c=>{c.key==="Enter"&&w()};return e?o.jsx(o.Fragment,{children:o.jsx("div",{className:"fixed inset-0 bg-black/30 backdrop-blur-sm flex items-center justify-center p-4",style:{zIndex:9e3},onClick:c=>c.target===c.currentTarget&&t(),children:o.jsxs("div",{className:"bg-white/90 backdrop-blur-xl rounded-3xl shadow-2xl w-full max-w-md transform transition-all",children:[o.jsxs("div",{className:"flex items-center gap-3 p-6 border-b border-white/20",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-red-500 to-pink-600 flex items-center justify-center",children:o.jsx(Mc,{size:20,className:"text-white"})}),o.jsxs("div",{className:"flex-1",children:[o.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:"修改 WebUI 密码"}),o.jsx("p",{className:"text-sm text-gray-600 mt-0.5",children:"请输入新密码"})]}),o.jsx("button",{onClick:t,className:"text-gray-400 hover:text-gray-600 transition-colors",children:o.jsx(sr,{size:24})})]}),o.jsxs("div",{className:"p-6 space-y-4",children:[v&&o.jsx("div",{className:"p-3 bg-red-50 border border-red-200 rounded-xl text-red-600 text-sm",children:v}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"新密码"}),o.jsxs("div",{className:"relative",children:[o.jsx("input",{ref:k,type:a?"text":"password",value:r,onChange:c=>{l(c.target.value),y("")},onKeyPress:f,placeholder:"请输入新密码(支持数字、字母、符号)",className:"w-full px-4 py-3 pr-12 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all bg-white/50 backdrop-blur-sm",autoComplete:"new-password"}),o.jsx("button",{type:"button",onClick:()=>u(!a),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors",children:a?o.jsx(hn,{size:20}):o.jsx(gn,{size:20})})]}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"密码长度至少6位"})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"确认密码"}),o.jsxs("div",{className:"relative",children:[o.jsx("input",{type:d?"text":"password",value:s,onChange:c=>{i(c.target.value),y("")},onKeyPress:f,placeholder:"请再次输入新密码",className:"w-full px-4 py-3 pr-12 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all bg-white/50 backdrop-blur-sm",autoComplete:"new-password"}),o.jsx("button",{type:"button",onClick:()=>g(!d),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors",children:d?o.jsx(hn,{size:20}):o.jsx(gn,{size:20})})]})]})]}),o.jsxs("div",{className:"flex items-center justify-end gap-3 p-6 border-t border-white/20",children:[o.jsx("button",{onClick:t,disabled:h,className:"px-6 py-2.5 text-gray-700 hover:bg-gray-100 rounded-lg font-medium transition-colors disabled:opacity-50",children:"取消"}),o.jsx("button",{onClick:w,disabled:h||!r.trim()||!s.trim(),className:"px-6 py-2.5 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-lg font-medium hover:shadow-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:shadow-none",children:h?"修改中...":"确定修改"})]})]})})}):null},Kp=({onLoginSuccess:e})=>{const[t,n]=C.useState("quick"),[r,l]=C.useState(!1),[s,i]=C.useState(!1),[a,u]=C.useState(!1),[d,g]=C.useState(""),[h,m]=C.useState([]),[v,y]=C.useState(null),[k,w]=C.useState(!1),f=C.useRef(null),c=C.useRef(null),p=C.useRef(null),x=C.useRef(!1),N={scanning:"扫描成功,请在手机上确认",success:"登录成功",expired:"二维码已过期,请刷新",error:"登录失败,请重试","":""},E=C.useCallback(()=>{x.current=!1,p.current&&(clearTimeout(p.current),p.current=null)},[]),z=C.useCallback(async()=>{if(x.current)return;x.current=!0,console.log("开始轮询登录状态...");const I=60;let oe=0;const P=async()=>{if(oe>=I){E(),ae("登录超时,请重试","error"),t==="qr"&&g("error");return}oe++;try{const R=await dt("/api/login-info");if(R.success&&R.data.online===!0){E(),ae("登录成功!正在跳转到主页面...","success"),t==="qr"&&g("success"),setTimeout(()=>{e()},1e3);return}p.current=setTimeout(P,3e3)}catch(R){console.warn("轮询登录状态失败:",R),p.current=setTimeout(P,3e3)}};await P()},[t,e,E]),_=C.useCallback(I=>{if(!f.current)return;const P=f.current.getContext("2d");if(!P)return;const R=new Image;R.onload=()=>{P.clearRect(0,0,200,200),P.drawImage(R,0,0,200,200)},R.src=I},[]),F=C.useCallback(async()=>{if(f.current)try{const I=await dt("/api/login-qrcode");if(I.success&&I.data){_(I.data.pngBase64QrcodeData);const oe=I.data.expireTime*1e3;c.current&&clearInterval(c.current),c.current=setTimeout(()=>{u(!0),g("expired"),E()},oe),u(!1),g(""),ae("请使用手机QQ扫码登录","warning"),await z()}else throw new Error(I.message||"获取二维码失败")}catch(I){ae(I.message||"获取二维码失败","error"),console.error("QR code generation error:",I)}},[_,z,E]),b=C.useCallback(async()=>{await F(),ae("二维码已刷新","success")},[F]),L=C.useRef(!1),M=C.useCallback(async()=>{if(!L.current){L.current=!0;try{const I=await dt("/api/quick-login-list");if(console.log("Quick login list response:",I),I.success&&I.data&&I.data.LocalLoginInfoList){const oe=I.data.LocalLoginInfoList.filter(P=>P.isQuickLogin&&!P.isUserLogin);m(oe),console.log("Accounts loaded:",oe),oe.length>0?y(P=>P??oe[0]):n("qr")}else console.warn("No quick login accounts available:",I.message),m([])}catch(I){console.error("Failed to fetch quick login list:",I),ae("获取快速登录列表失败","error"),m([])}}},[]),S=C.useCallback(async()=>{if(v){i(!0);try{const oe=(await dt("/api/quick-login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({uin:v.uin})})).data;if(oe.result==="0")ae(`正在登录 ${v.nickName}...`,"success"),await z();else throw new Error(oe.loginErrorInfo.errMsg||"登录失败")}catch(I){ae(I.message,"error"),console.error("Quick login error:",I),n("qr")}finally{i(!1)}}},[v,z]),O=()=>{l(!r)},X=I=>{y(I),l(!1)};return C.useEffect(()=>(L.current||M(),()=>{c.current&&clearInterval(c.current),E()}),[]),C.useEffect(()=>{t==="qr"?setTimeout(()=>F(),100):c.current&&clearInterval(c.current),t==="quick"&&h.length===0&&!L.current&&M()},[t,h.length,F]),o.jsx("div",{className:"relative min-h-screen flex flex-col items-center justify-center p-5",children:o.jsxs("div",{className:"bg-white/50 backdrop-blur-2xl rounded-3xl p-10 shadow-xl border border-white/30 min-w-[320px] text-center relative z-10",children:[t==="quick"&&o.jsxs("div",{className:"flex flex-col items-center gap-6",children:[!r&&v&&o.jsxs("div",{className:"flex flex-col items-center cursor-pointer p-4 rounded-2xl transition-colors hover:bg-blue-50",onClick:O,children:[o.jsx("div",{className:"w-20 h-20 rounded-full overflow-hidden mb-3 shadow-lg",children:o.jsx("img",{src:v.faceUrl,alt:v.nickName,className:"w-full h-full object-cover"})}),o.jsx("div",{className:"text-base text-gray-800 mb-2",children:v.nickName})]}),r&&o.jsx("div",{className:"grid grid-cols-2 gap-4 my-5 w-full max-w-md",children:h.map(I=>o.jsxs("div",{className:"flex flex-col items-center p-4 rounded-2xl cursor-pointer transition-all border-2 border-transparent hover:bg-blue-50 hover:border-blue-500",onClick:()=>X(I),children:[o.jsx("div",{className:"w-[60px] h-[60px] rounded-full overflow-hidden mb-2 shadow-md",children:o.jsx("img",{src:I.faceUrl,alt:I.nickName,className:"w-full h-full object-cover"})}),o.jsx("div",{className:"text-sm text-gray-800 text-center truncate w-full px-1",children:I.nickName})]},I.uin))}),!r&&o.jsx("button",{onClick:S,disabled:!v||s,className:"w-[280px] h-11 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-full font-medium text-base disabled:opacity-50 disabled:cursor-not-allowed hover:shadow-lg transition-all flex items-center justify-center gap-2",children:s?o.jsxs(o.Fragment,{children:[o.jsx(Vt,{size:20,className:"animate-spin"}),"登录中..."]}):"登录"}),o.jsxs("div",{className:"flex gap-6 justify-center",children:[!r&&o.jsx("button",{onClick:O,className:"text-blue-600 text-sm hover:underline",children:"切换账号"}),o.jsx("button",{onClick:()=>n("qr"),className:"text-blue-600 text-sm hover:underline",children:"扫码登录"})]})]}),t==="qr"&&o.jsxs("div",{className:"flex flex-col items-center gap-5",children:[o.jsx("div",{className:"relative inline-block",children:o.jsxs("div",{className:"relative p-5 bg-white rounded-2xl shadow-lg",children:[o.jsx("canvas",{ref:f,width:"200",height:"200",className:"block rounded-lg"}),a&&o.jsxs("div",{className:"absolute inset-0 bg-black/70 flex flex-col items-center justify-center text-white cursor-pointer rounded-2xl transition-opacity hover:opacity-90",onClick:b,children:[o.jsx(Pp,{size:32,className:"mb-2"}),o.jsx("div",{children:"点击刷新"})]})]})}),o.jsx("div",{className:"text-gray-600",children:"请使用手机QQ扫码登录"}),d&&o.jsx("div",{className:`text-sm px-4 py-2 rounded-lg ${d==="success"?"bg-green-100 text-green-800":d==="error"||d==="expired"?"bg-red-100 text-red-800":"bg-blue-100 text-blue-800"}`,children:N[d]})]}),o.jsx("div",{className:"mt-6",children:t==="qr"&&h.length>0&&o.jsx("button",{onClick:()=>n("quick"),className:"text-blue-600 text-sm hover:underline",children:"快速登录"})})]})})},qp=!1,Gp=()=>({friendCount:128,groupCount:45,messageReceived:12580,messageSent:3842,startupTime:Math.floor(Date.now()/1e3)-3600*5-1234,lastMessageTime:Math.floor(Date.now()/1e3)-30,bot:{memory:(80+Math.random()*40)*1024*1024,totalMemory:16*1024*1024*1024,memoryPercent:2+Math.random()*3,cpu:3+Math.random()*10},qq:{memory:(200+Math.random()*100)*1024*1024,totalMemory:16*1024*1024*1024,memoryPercent:5+Math.random()*8,cpu:5+Math.random()*15}}),ya=e=>!e||e<=0?"0 MB":e<1024?e+" B":e<1024*1024?(e/1024).toFixed(1)+" KB":e<1024*1024*1024?(e/1024/1024).toFixed(0)+" MB":(e/1024/1024/1024).toFixed(2)+" GB",Yp=e=>{const n=Math.floor(Date.now()/1e3)-e,r=Math.floor(n/86400),l=Math.floor(n%86400/3600),s=Math.floor(n%3600/60),i=n%60;return r>0?`${r}天 ${l}时 ${s}分`:l>0?`${l}时 ${s}分 ${i}秒`:s>0?`${s}分 ${i}秒`:`${i}秒`},Xp=e=>e?new Date(e*1e3).toLocaleString("zh-CN"):"暂无",_r=({icon:e,label:t,value:n,gradient:r})=>o.jsxs("div",{className:"flex items-center gap-3 p-3 rounded-xl bg-white/30 hover:bg-white/50 transition-all duration-200 hover:scale-[1.02]",children:[o.jsx("div",{className:`w-10 h-10 rounded-xl ${r} flex items-center justify-center shadow-md`,children:e}),o.jsxs("div",{className:"flex-1 min-w-0",children:[o.jsx("p",{className:"text-xs text-gray-500",children:t}),o.jsx("p",{className:"text-lg font-bold text-gray-800 truncate",children:n})]})]}),xa=({value:e,size:t=100,strokeWidth:n=8,gradientId:r,gradientColors:l,label:s,displayValue:i,icon:a})=>{const u=(t-n)/2,d=u*2*Math.PI,g=Math.min(Math.max(e,0),100),h=d-g/100*d;return o.jsxs("div",{className:"flex flex-col items-center",children:[o.jsxs("div",{className:"relative",style:{width:t,height:t},children:[o.jsxs("svg",{width:t,height:t,className:"transform -rotate-90",children:[o.jsx("defs",{children:o.jsxs("linearGradient",{id:r,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[o.jsx("stop",{offset:"0%",stopColor:l[0]}),o.jsx("stop",{offset:"100%",stopColor:l[1]})]})}),o.jsx("circle",{cx:t/2,cy:t/2,r:u,fill:"none",stroke:"rgba(0,0,0,0.06)",strokeWidth:n}),o.jsx("circle",{cx:t/2,cy:t/2,r:u,fill:"none",stroke:`url(#${r})`,strokeWidth:n,strokeDasharray:d,strokeDashoffset:h,strokeLinecap:"round",className:"transition-all duration-1000 ease-out"})]}),o.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[o.jsx("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center shadow-md",style:{background:`linear-gradient(135deg, ${l[0]}, ${l[1]})`},children:a}),o.jsxs("span",{className:"text-sm font-bold text-gray-800 mt-1",children:[g.toFixed(1),"%"]})]})]}),o.jsx("p",{className:"text-xs font-semibold text-gray-700 mt-2",children:s}),o.jsx("p",{className:"text-xs text-gray-500",children:i})]})},va=({title:e,icon:t,gradient:n,cpu:r,memory:l,totalMemory:s,memoryPercent:i,cpuGradientId:a,memGradientId:u,cpuColors:d,memColors:g})=>o.jsxs("div",{className:"card p-4",children:[o.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[o.jsx("div",{className:`w-8 h-8 rounded-lg ${n} flex items-center justify-center shadow-md`,children:t}),o.jsx("h4",{className:"text-sm font-semibold text-gray-800",children:e})]}),o.jsxs("div",{className:"flex justify-around",children:[o.jsx(xa,{value:r,gradientId:a,gradientColors:d,label:"CPU",displayValue:`${r.toFixed(1)}%`,icon:o.jsx(Lc,{size:16,className:"text-white"})}),o.jsx(xa,{value:i,gradientId:u,gradientColors:g,label:"内存",displayValue:`${ya(l)} / ${ya(s)}`,icon:o.jsx(xp,{size:16,className:"text-white"})})]})]}),Zp=()=>{const[e,t]=C.useState(null),[n,r]=C.useState(!0),[l,s]=C.useState(""),i=C.useRef(),a=async()=>{try{const u=qp?Gp():(await dt("/api/dashboard/stats")).data;u&&t(u)}catch(u){console.error("Failed to fetch dashboard stats:",u)}finally{r(!1)}};return C.useEffect(()=>(a(),i.current=window.setInterval(a,5e3),()=>{i.current&&clearInterval(i.current)}),[]),C.useEffect(()=>{if(!(e!=null&&e.startupTime))return;const u=()=>s(Yp(e.startupTime));u();const d=setInterval(u,1e3);return()=>clearInterval(d)},[e==null?void 0:e.startupTime]),n?o.jsx("div",{className:"flex items-center justify-center h-64",children:o.jsx("div",{className:"w-12 h-12 border-4 border-blue-500 border-t-transparent rounded-full animate-spin"})}):e?o.jsxs("div",{className:"space-y-5",children:[o.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[o.jsxs("div",{className:"card p-4 flex flex-col",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-indigo-500 to-purple-600 flex items-center justify-center shadow-md",children:o.jsx(Br,{size:20,className:"text-white"})}),o.jsx("h3",{className:"text-base font-semibold text-gray-800",children:"运行时间"}),o.jsxs("div",{className:"ml-auto flex items-center gap-1 px-2 py-0.5 rounded-full bg-green-100 text-green-600 text-xs font-medium",children:[o.jsx(Mp,{size:12}),"运行中"]})]}),o.jsxs("div",{className:"flex-1 flex flex-col justify-center space-y-2",children:[o.jsxs("div",{className:"p-3 rounded-xl bg-gradient-to-r from-indigo-50 to-purple-50",children:[o.jsx("p",{className:"text-xs text-gray-500",children:"已运行"}),o.jsx("p",{className:"text-xl font-bold bg-gradient-to-r from-indigo-600 to-purple-600 bg-clip-text text-transparent",children:l})]}),o.jsxs("div",{className:"px-3 py-2",children:[o.jsx("p",{className:"text-xs text-gray-500",children:"启动时间"}),o.jsx("p",{className:"text-sm font-medium text-gray-700",children:Xp(e.startupTime)})]})]})]}),o.jsxs("div",{className:"card p-4 space-y-3",children:[o.jsx(_r,{icon:o.jsx(Tp,{size:20,className:"text-white"}),label:"好友数量",value:e.friendCount.toLocaleString(),gradient:"bg-gradient-to-br from-blue-500 to-cyan-500"}),o.jsx(_r,{icon:o.jsx(_p,{size:20,className:"text-white"}),label:"群组数量",value:e.groupCount.toLocaleString(),gradient:"bg-gradient-to-br from-purple-500 to-pink-500"})]}),o.jsxs("div",{className:"card p-4 space-y-3",children:[o.jsx(_r,{icon:o.jsx(jp,{size:20,className:"text-white"}),label:"收到消息",value:e.messageReceived.toLocaleString(),gradient:"bg-gradient-to-br from-green-500 to-emerald-500"}),o.jsx(_r,{icon:o.jsx(lo,{size:20,className:"text-white"}),label:"发送消息",value:e.messageSent.toLocaleString(),gradient:"bg-gradient-to-br from-orange-500 to-amber-500"})]})]}),o.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[o.jsx(va,{title:"QQ 资源",icon:o.jsx(wp,{size:16,className:"text-white"}),gradient:"bg-gradient-to-br from-blue-500 to-cyan-500",cpu:e.qq.cpu,memory:e.qq.memory,totalMemory:e.qq.totalMemory,memoryPercent:e.qq.memoryPercent,cpuGradientId:"qqCpuGradient",memGradientId:"qqMemGradient",cpuColors:["#3b82f6","#06b6d4"],memColors:["#0ea5e9","#22d3ee"]}),o.jsx(va,{title:"Bot 资源",icon:o.jsx(hp,{size:16,className:"text-white"}),gradient:"bg-gradient-to-br from-violet-500 to-purple-600",cpu:e.bot.cpu,memory:e.bot.memory,totalMemory:e.bot.totalMemory,memoryPercent:e.bot.memoryPercent,cpuGradientId:"botCpuGradient",memGradientId:"botMemGradient",cpuColors:["#8b5cf6","#a855f7"],memColors:["#6366f1","#8b5cf6"]})]})]}):o.jsx("div",{className:"card p-8 text-center",children:o.jsx("p",{className:"text-gray-500",children:"无法加载统计数据"})})},us=()=>{const e=C.useRef(null),t=C.useRef([]),n=C.useRef(),r=C.useRef(0);return C.useEffect(()=>{const l=e.current;if(!l)return;const s=l.getContext("2d",{alpha:!0});if(!s)return;const a=1e3/30,u=()=>{l.width=window.innerWidth,l.height=window.innerHeight,t.current.forEach(y=>{y.offscreenCanvas=g(y)})},d=["rgba(139, 92, 246, 0.6)","rgba(59, 130, 246, 0.6)","rgba(236, 72, 153, 0.6)","rgba(16, 185, 129, 0.6)","rgba(245, 158, 11, 0.6)","rgba(168, 85, 247, 0.6)","rgba(14, 165, 233, 0.6)","rgba(251, 113, 133, 0.6)"],g=y=>{const k=Math.ceil(y.baseRadius*2.5),w=document.createElement("canvas");w.width=k,w.height=k;const f=w.getContext("2d");if(!f)return w;const c=k/2,p=k/2,x=y.baseRadius,N=f.createRadialGradient(c,p,0,c,p,x);return N.addColorStop(0,y.color.replace("0.6","0.8")),N.addColorStop(.5,y.color),N.addColorStop(1,y.color.replace("0.6","0")),f.fillStyle=N,f.beginPath(),f.arc(c,p,x,0,Math.PI*2),f.fill(),w},h=()=>{const y=[];for(let w=0;w<8;w++){const f=Math.random()*80+60,c={x:Math.random()*l.width,y:Math.random()*l.height,vx:(Math.random()-.5)*.8,vy:(Math.random()-.5)*.8,radius:f,baseRadius:f,scale:1,scaleSpeed:Math.random()*.002+.001,color:d[Math.floor(Math.random()*d.length)]};c.offscreenCanvas=g(c),y.push(c)}t.current=y},m=(y,k)=>{const w=k.x-y.x,f=k.y-y.y,c=Math.sqrt(w*w+f*f);if(c<y.radius+k.radius){const p=Math.atan2(f,w),x=Math.sin(p),N=Math.cos(p),E=y.vx*N+y.vy*x,z=y.vy*N-y.vx*x,_=k.vx*N+k.vy*x,F=k.vy*N-k.vx*x;y.vx=_*N-z*x,y.vy=z*N+_*x,k.vx=E*N-F*x,k.vy=F*N+E*x;const b=(y.radius+k.radius-c)/2;y.x-=b*N,y.y-=b*x,k.x+=b*N,k.y+=b*x}},v=y=>{n.current=requestAnimationFrame(v);const k=y-r.current;k<a||(r.current=y-k%a,s.clearRect(0,0,l.width,l.height),t.current.forEach((w,f)=>{w.x+=w.vx,w.y+=w.vy,w.scale+=w.scaleSpeed,(w.scale>1.2||w.scale<.8)&&(w.scaleSpeed=-w.scaleSpeed),w.radius=w.baseRadius*w.scale,(w.x-w.radius<0||w.x+w.radius>l.width)&&(w.vx=-w.vx,w.x=Math.max(w.radius,Math.min(l.width-w.radius,w.x))),(w.y-w.radius<0||w.y+w.radius>l.height)&&(w.vy=-w.vy,w.y=Math.max(w.radius,Math.min(l.height-w.radius,w.y)));for(let c=f+1;c<t.current.length;c++)m(w,t.current[c]);if(w.offscreenCanvas){const c=w.offscreenCanvas.width*w.scale;s.drawImage(w.offscreenCanvas,w.x-c/2,w.y-c/2,c,c)}}))};return u(),window.addEventListener("resize",u),h(),n.current=requestAnimationFrame(v),()=>{window.removeEventListener("resize",u),n.current&&cancelAnimationFrame(n.current)}},[]),o.jsx("canvas",{ref:e,className:"fixed inset-0 w-full h-full pointer-events-none",style:{zIndex:0}})},Jp={enable:!0,connect:[]},e0={enable:!1,port:5600,token:""},t0={enable:!1,reportSelfMessage:!1,http:{port:3010,prefix:"",accessToken:""},webhook:{urls:[]}},n0={enable:!0,port:3080},r0={webui:n0,onlyLocalhost:!0,milky:t0,satori:e0,ob11:Jp,enableLocalFile2Url:!1,log:!0,autoDeleteFile:!1,autoDeleteFileSecond:60,musicSignUrl:"https://llob.linyuchen.net/sign/music",msgCacheExpire:120,ffmpeg:"",rawMsgPB:!1},l0="7.1.1";function s0(){const[e,t]=C.useState("dashboard"),[n,r]=C.useState(r0),[l,s]=C.useState(!1),[i,a]=C.useState(!1),[u,d]=C.useState(!0),[g,h]=C.useState(null),[m,v]=C.useState(!1),[y,k]=C.useState(""),[w,f]=C.useState(null),[c,p]=C.useState(!1),[x,N]=C.useState(!1),[E,z]=C.useState(!1);C.useEffect(()=>{Hp(async L=>new Promise(M=>{k(L||""),v(!0),f(()=>M)}))},[]);const _=C.useCallback(L=>{L.trim()?(v(!1),k(""),w&&(w(L),f(null))):k("密码不能为空")},[w]);C.useEffect(()=>{(async()=>{try{const M=await dt("/api/config");M.success&&M.data.selfInfo.online?(a(!0),h({nick:M.data.selfInfo.nick||"",uin:M.data.selfInfo.uin}),r(M.data.config)):a(!1)}catch(M){console.error("Failed to check login status:",M),a(!1)}finally{d(!1)}})()},[]);const F=C.useCallback(async L=>{try{s(!0);const S=await dt("/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({config:L||n})});S.success?ae("配置保存成功","success"):ae("保存失败:"+S.message,"error")}catch(M){ae("保存失败:"+M.message,"error")}finally{s(!1)}},[n]),b=C.useCallback(()=>{window.location.reload()},[]);return u?o.jsxs(o.Fragment,{children:[o.jsx(us,{}),o.jsx("div",{className:"relative flex items-center justify-center min-h-screen z-10",children:o.jsx(Vt,{size:48,className:"animate-spin text-blue-500"})}),o.jsx(as,{visible:m,onConfirm:_,error:y})]}):i?o.jsxs("div",{className:"flex min-h-screen",children:[o.jsx(us,{}),o.jsx(Rp,{activeTab:e,onTabChange:t,accountInfo:g||void 0}),o.jsx("main",{className:"flex-1 p-8 overflow-auto z-10",children:o.jsxs("div",{className:"max-w-6xl mx-auto",children:[o.jsxs("div",{className:"mb-8",children:[o.jsx("h2",{className:"text-3xl font-bold text-white mb-2",children:e==="dashboard"&&"Dashboard"}),o.jsx("p",{className:"text-white/80",children:e==="dashboard"&&"欢迎使用 Lucky Lillia Bot"})]}),e==="dashboard"&&o.jsx(Zp,{}),e==="onebot"&&o.jsx(Op,{config:n.ob11,globalConfig:n,onChange:L=>{const M={...n,ob11:L};r(M)},onSave:L=>{if(L){const M={...n,ob11:L};F(M)}else F()}}),e==="satori"&&o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-indigo-500 to-purple-600 flex items-center justify-center",children:o.jsx(so,{size:24,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"Satori 协议"}),o.jsx("p",{className:"text-sm text-gray-600",children:"配置 Satori 协议相关设置"})]})]}),o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"启用 Satori 协议"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"开启后将支持 Satori 协议连接"})]}),o.jsx("input",{type:"checkbox",checked:n.satori.enable,onChange:L=>r({...n,satori:{...n.satori,enable:L.target.checked}}),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
291
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
292
|
+
transition-colors duration-200 ease-in-out\r
|
|
293
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
294
|
+
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
295
|
+
before:transition-transform before:duration-200\r
|
|
296
|
+
checked:before:translate-x-6`})]}),n.satori.enable&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Satori 端口"}),o.jsx("input",{type:"number",value:n.satori.port,onChange:L=>r({...n,satori:{...n.satori,port:parseInt(L.target.value)}}),min:"1",max:"65535",placeholder:"5500",className:"input-field"}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Satori 服务监听端口(1-65535)"})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Satori Token"}),o.jsxs("div",{className:"relative",children:[o.jsx("input",{type:c?"text":"password",value:n.satori.token,onChange:L=>r({...n,satori:{...n.satori,token:L.target.value}}),placeholder:"请输入 Satori Token",className:"input-field pr-12"}),o.jsx("button",{type:"button",onClick:()=>p(!c),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors p-1",children:c?o.jsx(hn,{size:20}):o.jsx(gn,{size:20})})]}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"用于 Satori 连接验证的 Token"})]})]})]}),o.jsx("div",{className:"mt-6 flex justify-end",children:o.jsx("button",{onClick:()=>{var L;if(!n.onlyLocalhost&&n.satori.enable&&!((L=n.satori.token)!=null&&L.trim())){ae('当"只监听本地地址"关闭时,必须设置 Satori Token!',"error");return}F()},disabled:l,className:"btn-primary flex items-center gap-2",children:l?o.jsxs(o.Fragment,{children:[o.jsx(Vt,{size:20,className:"animate-spin"}),"保存中..."]}):o.jsxs(o.Fragment,{children:[o.jsx(is,{size:20}),"保存配置"]})})})]}),e==="milky"&&o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-pink-500 to-rose-600 flex items-center justify-center",children:o.jsx(so,{size:24,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"Milky 协议"}),o.jsx("p",{className:"text-sm text-gray-600",children:"配置 Milky 协议相关设置"})]})]}),o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"启用 Milky 协议"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"开启后将支持 Milky 协议连接"})]}),o.jsx("input",{type:"checkbox",checked:n.milky.enable,onChange:L=>r({...n,milky:{...n.milky,enable:L.target.checked}}),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
297
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
298
|
+
transition-colors duration-200 ease-in-out\r
|
|
299
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
300
|
+
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
301
|
+
before:transition-transform before:duration-200\r
|
|
302
|
+
checked:before:translate-x-6`})]}),n.milky.enable&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"flex items-center justify-between p-4 bg-gray-50/50 rounded-xl hover:bg-gray-100/50 transition-colors",children:[o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"上报自己发送的消息"}),o.jsx("div",{className:"text-xs text-gray-500 mt-0.5",children:"启用后将上报自己发送的消息"})]}),o.jsx("input",{type:"checkbox",checked:n.milky.reportSelfMessage,onChange:L=>r({...n,milky:{...n.milky,reportSelfMessage:L.target.checked}}),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none\r
|
|
303
|
+
checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600\r
|
|
304
|
+
transition-colors duration-200 ease-in-out\r
|
|
305
|
+
before:content-[''] before:absolute before:top-0.5 before:left-0.5\r
|
|
306
|
+
before:w-5 before:h-5 before:rounded-full before:bg-white\r
|
|
307
|
+
before:transition-transform before:duration-200\r
|
|
308
|
+
checked:before:translate-x-6`})]}),o.jsxs("div",{className:"border-t border-gray-200 pt-4 mt-4",children:[o.jsx("h4",{className:"text-md font-semibold text-gray-800 mb-4",children:"HTTP 配置"}),o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"HTTP 端口"}),o.jsx("input",{type:"number",value:n.milky.http.port,onChange:L=>r({...n,milky:{...n.milky,http:{...n.milky.http,port:parseInt(L.target.value)}}}),min:"1",max:"65535",placeholder:"3010",className:"input-field"}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Milky HTTP 服务监听端口(1-65535)"})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"路径前缀"}),o.jsx("input",{type:"text",value:n.milky.http.prefix,onChange:L=>r({...n,milky:{...n.milky,http:{...n.milky.http,prefix:L.target.value}}}),placeholder:"/api",className:"input-field"}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"HTTP API 路径前缀(可选)"})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Access Token"}),o.jsxs("div",{className:"relative",children:[o.jsx("input",{type:x?"text":"password",value:n.milky.http.accessToken,onChange:L=>r({...n,milky:{...n.milky,http:{...n.milky.http,accessToken:L.target.value}}}),placeholder:"请输入 Access Token",className:"input-field pr-12"}),o.jsx("button",{type:"button",onClick:()=>N(!x),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors p-1",children:x?o.jsx(hn,{size:20}):o.jsx(gn,{size:20})})]}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"用于 Milky HTTP 连接验证的 Token"})]})]})]}),o.jsxs("div",{className:"border-t border-gray-200 pt-4 mt-4",children:[o.jsx("h4",{className:"text-md font-semibold text-gray-800 mb-4",children:"Webhook 配置"}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Webhook URLs"}),o.jsxs("div",{className:"space-y-2",children:[n.milky.webhook.urls.map((L,M)=>o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx("input",{type:"text",value:L,onChange:S=>{const O=[...n.milky.webhook.urls];O[M]=S.target.value,r({...n,milky:{...n.milky,webhook:{...n.milky.webhook,urls:O}}})},placeholder:"http:// 或 https://",className:`input-field flex-1 ${L&&!L.match(/^https?:\/\//)?"border-red-300 focus:ring-red-500":""}`}),o.jsx("button",{type:"button",onClick:()=>{const S=n.milky.webhook.urls.filter((O,X)=>X!==M);r({...n,milky:{...n.milky,webhook:{...n.milky.webhook,urls:S}}})},className:"p-2 text-red-500 hover:bg-red-50 rounded-lg transition-colors",title:"删除",children:o.jsx(gl,{size:18})})]},M)),n.milky.webhook.urls.some(L=>L&&!L.match(/^https?:\/\//))&&o.jsx("p",{className:"text-xs text-red-500",children:"URL 必须以 http:// 或 https:// 开头"}),o.jsxs("button",{type:"button",onClick:()=>{r({...n,milky:{...n.milky,webhook:{...n.milky.webhook,urls:[...n.milky.webhook.urls,""]}}})},className:"flex items-center gap-2 px-4 py-2 text-blue-600 hover:bg-blue-50 rounded-lg transition-colors text-sm font-medium",children:[o.jsx(Rc,{size:18}),"添加 Webhook URL"]})]}),o.jsx("p",{className:"text-xs text-gray-500 mt-2",children:"事件上报的 Webhook 地址"})]})]})]})]}),o.jsx("div",{className:"mt-6 flex justify-end",children:o.jsx("button",{onClick:()=>{var S;if(!n.onlyLocalhost&&n.milky.enable&&!((S=n.milky.http.accessToken)!=null&&S.trim())){ae('当"只监听本地地址"关闭时,必须设置 Milky Access Token!',"error");return}if(n.milky.webhook.urls.filter(O=>O.trim()&&!O.match(/^https?:\/\//)).length>0){ae("Webhook URL 必须以 http:// 或 https:// 开头","error");return}const M={...n,milky:{...n.milky,webhook:{...n.milky.webhook,urls:n.milky.webhook.urls.filter(O=>O.trim())}}};r(M),F(M)},disabled:l,className:"btn-primary flex items-center gap-2",children:l?o.jsxs(o.Fragment,{children:[o.jsx(Vt,{size:20,className:"animate-spin"}),"保存中..."]}):o.jsxs(o.Fragment,{children:[o.jsx(is,{size:20}),"保存配置"]})})})]}),e==="other"&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"pb-24",children:o.jsx(Dp,{config:n,onChange:r,onOpenChangePassword:()=>z(!0)})}),o.jsx("div",{className:"fixed bottom-8 right-8 z-40",children:o.jsx("button",{onClick:()=>F(),disabled:l,className:"btn-primary flex items-center gap-2 shadow-2xl hover:shadow-3xl",children:l?o.jsxs(o.Fragment,{children:[o.jsx(Vt,{size:20,className:"animate-spin"}),"保存中..."]}):o.jsxs(o.Fragment,{children:[o.jsx(is,{size:20}),"保存配置"]})})})]}),e==="about"&&o.jsxs("div",{className:"space-y-6",children:[o.jsxs("div",{className:"card p-8 text-center",children:[o.jsx("div",{className:"w-20 h-20 rounded-3xl overflow-hidden mx-auto mb-6 shadow-lg",children:o.jsx("img",{src:"/logo.jpg",alt:"Logo",className:"w-full h-full object-cover"})}),o.jsx("h1",{className:"text-3xl font-bold text-gray-800 mb-2",children:"Lucky Lillia Bot"}),o.jsx("p",{className:"text-gray-600 mb-6",children:"使你的 QQNT 支持 OneBot 11 协议、Satori 协议、Milky 协议进行 QQ 机器人开发"}),o.jsxs("div",{className:"flex items-center justify-center gap-4",children:[o.jsxs("a",{href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer",className:"px-6 py-2.5 bg-gray-800 text-white rounded-xl hover:bg-gray-900 transition-colors flex items-center gap-2",children:[o.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{fillRule:"evenodd",d:"M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z",clipRule:"evenodd"})}),"GitHub"]}),o.jsxs("a",{href:"https://llonebot.com",target:"_blank",rel:"noopener noreferrer",className:"px-6 py-2.5 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-xl hover:shadow-lg transition-all flex items-center gap-2",children:[o.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"})}),"文档"]})]})]}),o.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-blue-500 to-cyan-600 flex items-center justify-center",children:o.jsx("svg",{className:"w-6 h-6 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{d:"M16.5 3c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 4.171 4.912 8.213 6.281 9.49a2.94 2.94 0 0 0 2.438.94 2.94 2.94 0 0 0 2.438-.94C14.588 16.713 19.5 12.671 19.5 8.5 19.5 5.462 17.038 3 16.5 3z"})})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"Telegram 群"}),o.jsx("p",{className:"text-sm text-gray-600"})]})]}),o.jsx("a",{href:"https://t.me/+nLZEnpne-pQ1OWFl",target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-700 hover:underline text-sm break-all",children:"https://t.me/+nLZEnpne-pQ1OWFl"})]}),o.jsxs("div",{className:"card p-6",children:[o.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[o.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-green-500 to-emerald-600 flex items-center justify-center",children:o.jsx("svg",{className:"w-6 h-6 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{d:"M16.5 3c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 4.171 4.912 8.213 6.281 9.49a2.94 2.94 0 0 0 2.438.94 2.94 2.94 0 0 0 2.438-.94C14.588 16.713 19.5 12.671 19.5 8.5 19.5 5.462 17.038 3 16.5 3z"})})}),o.jsx("div",{children:o.jsx("h3",{className:"text-lg font-semibold text-gray-800",children:"QQ 群"})})]}),o.jsx("div",{className:"flex items-center gap-3",children:o.jsx("a",{href:"https://qm.qq.com/q/EZndy3xntQ",target:"_blank",rel:"noopener noreferrer",className:" text-blue-600 hover:text-blue-700 hover:underline",children:"545402644"})})]})]}),o.jsx("div",{className:"card p-6",children:o.jsxs("div",{className:"flex items-center justify-between",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-purple-500 to-pink-600 flex items-center justify-center",children:o.jsx("svg",{className:"w-5 h-5 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-800",children:"版本信息"}),o.jsxs("div",{className:"text-xs text-gray-500",children:["Lucky Lillia Bot ",l0]})]})]}),o.jsxs("div",{className:"text-sm text-gray-600",children:["WebUI Powered by ",o.jsx("span",{className:"font-semibold text-purple-600",children:"React + Tailwind"})]})]})})]})]})}),l&&o.jsx("div",{className:"fixed inset-0 bg-black/20 flex items-center justify-center",style:{zIndex:9e3},children:o.jsxs("div",{className:"bg-white rounded-2xl p-6 shadow-2xl",children:[o.jsx(Vt,{size:48,className:"animate-spin text-blue-600 mx-auto"}),o.jsx("p",{className:"mt-4 text-gray-700",children:"加载中..."})]})}),o.jsx(as,{visible:m,onConfirm:_,error:y}),o.jsx(Wp,{visible:E,onClose:()=>z(!1),onSuccess:()=>{window.location.reload()}}),o.jsx(ma,{})]}):o.jsxs(o.Fragment,{children:[o.jsx(us,{}),o.jsx(Kp,{onLoginSuccess:b}),o.jsx(as,{visible:m,onConfirm:_,error:y}),o.jsx(ma,{})]})}cs.createRoot(document.getElementById("root")).render(o.jsx(ed.StrictMode,{children:o.jsx(s0,{})}));
|