llonebot-dist 7.1.2 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,328 @@
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 Vc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sa={exports:{}},wl={},Ca={exports:{}},D={};/**
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 ir=Symbol.for("react.element"),Bc=Symbol.for("react.portal"),Wc=Symbol.for("react.fragment"),Qc=Symbol.for("react.strict_mode"),qc=Symbol.for("react.profiler"),Kc=Symbol.for("react.provider"),Gc=Symbol.for("react.context"),Yc=Symbol.for("react.forward_ref"),Xc=Symbol.for("react.suspense"),Zc=Symbol.for("react.memo"),Jc=Symbol.for("react.lazy"),si=Symbol.iterator;function ed(e){return e===null||typeof e!="object"?null:(e=si&&e[si]||e["@@iterator"],typeof e=="function"?e:null)}var Ea={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ba=Object.assign,Pa={};function xn(e,t,n){this.props=e,this.context=t,this.refs=Pa,this.updater=n||Ea}xn.prototype.isReactComponent={};xn.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")};xn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function za(){}za.prototype=xn.prototype;function uo(e,t,n){this.props=e,this.context=t,this.refs=Pa,this.updater=n||Ea}var co=uo.prototype=new za;co.constructor=uo;ba(co,xn.prototype);co.isPureReactComponent=!0;var oi=Array.isArray,Ta=Object.prototype.hasOwnProperty,fo={current:null},_a={key:!0,ref:!0,__self:!0,__source:!0};function La(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)Ta.call(t,r)&&!_a.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:ir,type:e,key:s,ref:i,props:l,_owner:fo.current}}function td(e,t){return{$$typeof:ir,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function po(e){return typeof e=="object"&&e!==null&&e.$$typeof===ir}function nd(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ii=/\/+/g;function Ol(e,t){return typeof e=="object"&&e!==null&&e.key!=null?nd(""+e.key):t.toString(36)}function Rr(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 ir:case Bc:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+Ol(i,0):r,oi(l)?(n="",e!=null&&(n=e.replace(ii,"$&/")+"/"),Rr(l,t,n,"",function(d){return d})):l!=null&&(po(l)&&(l=td(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(ii,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",oi(e))for(var a=0;a<e.length;a++){s=e[a];var u=r+Ol(s,a);i+=Rr(s,t,n,u,l)}else if(u=ed(e),typeof u=="function")for(e=u.call(e),a=0;!(s=e.next()).done;)s=s.value,u=r+Ol(s,a++),i+=Rr(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 mr(e,t,n){if(e==null)return e;var r=[],l=0;return Rr(e,r,"","",function(s){return t.call(n,s,l++)}),r}function rd(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 xe={current:null},Ir={transition:null},ld={ReactCurrentDispatcher:xe,ReactCurrentBatchConfig:Ir,ReactCurrentOwner:fo};function Ma(){throw Error("act(...) is not supported in production builds of React.")}D.Children={map:mr,forEach:function(e,t,n){mr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return mr(e,function(){t++}),t},toArray:function(e){return mr(e,function(t){return t})||[]},only:function(e){if(!po(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};D.Component=xn;D.Fragment=Wc;D.Profiler=qc;D.PureComponent=uo;D.StrictMode=Qc;D.Suspense=Xc;D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ld;D.act=Ma;D.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=ba({},e.props),l=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=fo.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)Ta.call(t,u)&&!_a.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:ir,type:e.type,key:l,ref:s,props:r,_owner:i}};D.createContext=function(e){return e={$$typeof:Gc,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Kc,_context:e},e.Consumer=e};D.createElement=La;D.createFactory=function(e){var t=La.bind(null,e);return t.type=e,t};D.createRef=function(){return{current:null}};D.forwardRef=function(e){return{$$typeof:Yc,render:e}};D.isValidElement=po;D.lazy=function(e){return{$$typeof:Jc,_payload:{_status:-1,_result:e},_init:rd}};D.memo=function(e,t){return{$$typeof:Zc,type:e,compare:t===void 0?null:t}};D.startTransition=function(e){var t=Ir.transition;Ir.transition={};try{e()}finally{Ir.transition=t}};D.unstable_act=Ma;D.useCallback=function(e,t){return xe.current.useCallback(e,t)};D.useContext=function(e){return xe.current.useContext(e)};D.useDebugValue=function(){};D.useDeferredValue=function(e){return xe.current.useDeferredValue(e)};D.useEffect=function(e,t){return xe.current.useEffect(e,t)};D.useId=function(){return xe.current.useId()};D.useImperativeHandle=function(e,t,n){return xe.current.useImperativeHandle(e,t,n)};D.useInsertionEffect=function(e,t){return xe.current.useInsertionEffect(e,t)};D.useLayoutEffect=function(e,t){return xe.current.useLayoutEffect(e,t)};D.useMemo=function(e,t){return xe.current.useMemo(e,t)};D.useReducer=function(e,t,n){return xe.current.useReducer(e,t,n)};D.useRef=function(e){return xe.current.useRef(e)};D.useState=function(e){return xe.current.useState(e)};D.useSyncExternalStore=function(e,t,n){return xe.current.useSyncExternalStore(e,t,n)};D.useTransition=function(){return xe.current.useTransition()};D.version="18.3.1";Ca.exports=D;var j=Ca.exports;const sd=Vc(j);/**
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 od=j,id=Symbol.for("react.element"),ad=Symbol.for("react.fragment"),ud=Object.prototype.hasOwnProperty,cd=od.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dd={key:!0,ref:!0,__self:!0,__source:!0};function Ra(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)ud.call(t,r)&&!dd.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:id,type:e,key:s,ref:i,props:l,_owner:cd.current}}wl.Fragment=ad;wl.jsx=Ra;wl.jsxs=Ra;Sa.exports=wl;var o=Sa.exports,fs={},Ia={exports:{}},Pe={},Fa={exports:{}},Oa={};/**
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(b,R){var F=b.length;b.push(R);e:for(;0<F;){var W=F-1>>>1,le=b[W];if(0<l(le,R))b[W]=R,b[F]=le,F=W;else break e}}function n(b){return b.length===0?null:b[0]}function r(b){if(b.length===0)return null;var R=b[0],F=b.pop();if(F!==R){b[0]=F;e:for(var W=0,le=b.length,fr=le>>>1;W<fr;){var Ct=2*(W+1)-1,Fl=b[Ct],Et=Ct+1,pr=b[Et];if(0>l(Fl,F))Et<le&&0>l(pr,Fl)?(b[W]=pr,b[Et]=F,W=Et):(b[W]=Fl,b[Ct]=F,W=Ct);else if(Et<le&&0>l(pr,F))b[W]=pr,b[Et]=F,W=Et;else break e}}return R}function l(b,R){var F=b.sortIndex-R.sortIndex;return F!==0?F:b.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=[],x=1,g=null,m=3,w=!1,y=!1,k=!1,N=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(b){for(var R=n(d);R!==null;){if(R.callback===null)r(d);else if(R.startTime<=b)r(d),R.sortIndex=R.expirationTime,t(u,R);else break;R=n(d)}}function v(b){if(k=!1,p(b),!y)if(n(u)!==null)y=!0,M(S);else{var R=n(d);R!==null&&J(v,R.startTime-b)}}function S(b,R){y=!1,k&&(k=!1,f(T),T=-1),w=!0;var F=m;try{for(p(R),g=n(u);g!==null&&(!(g.expirationTime>R)||b&&!U());){var W=g.callback;if(typeof W=="function"){g.callback=null,m=g.priorityLevel;var le=W(g.expirationTime<=R);R=e.unstable_now(),typeof le=="function"?g.callback=le:g===n(u)&&r(u),p(R)}else r(u);g=n(u)}if(g!==null)var fr=!0;else{var Ct=n(d);Ct!==null&&J(v,Ct.startTime-R),fr=!1}return fr}finally{g=null,m=F,w=!1}}var E=!1,P=null,T=-1,I=5,z=-1;function U(){return!(e.unstable_now()-z<I)}function $(){if(P!==null){var b=e.unstable_now();z=b;var R=!0;try{R=P(!0,b)}finally{R?h():(E=!1,P=null)}}else E=!1}var h;if(typeof c=="function")h=function(){c($)};else if(typeof MessageChannel<"u"){var _=new MessageChannel,A=_.port2;_.port1.onmessage=$,h=function(){A.postMessage(null)}}else h=function(){N($,0)};function M(b){P=b,E||(E=!0,h())}function J(b,R){T=N(function(){b(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(b){b.callback=null},e.unstable_continueExecution=function(){y||w||(y=!0,M(S))},e.unstable_forceFrameRate=function(b){0>b||125<b?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<b?Math.floor(1e3/b):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(b){switch(m){case 1:case 2:case 3:var R=3;break;default:R=m}var F=m;m=R;try{return b()}finally{m=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(b,R){switch(b){case 1:case 2:case 3:case 4:case 5:break;default:b=3}var F=m;m=b;try{return R()}finally{m=F}},e.unstable_scheduleCallback=function(b,R,F){var W=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?W+F:W):F=W,b){case 1:var le=-1;break;case 2:le=250;break;case 5:le=1073741823;break;case 4:le=1e4;break;default:le=5e3}return le=F+le,b={id:x++,callback:R,priorityLevel:b,startTime:F,expirationTime:le,sortIndex:-1},F>W?(b.sortIndex=F,t(d,b),n(u)===null&&b===n(d)&&(k?(f(T),T=-1):k=!0,J(v,F-W))):(b.sortIndex=le,t(u,b),y||w||(y=!0,M(S))),b},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(b){var R=m;return function(){var F=m;m=R;try{return b.apply(this,arguments)}finally{m=F}}}})(Oa);Fa.exports=Oa;var fd=Fa.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 pd=j,be=fd;function C(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 Da=new Set,Hn={};function $t(e,t){cn(e,t),cn(e+"Capture",t)}function cn(e,t){for(Hn[e]=t,e=0;e<t.length;e++)Da.add(t[e])}var Je=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ps=Object.prototype.hasOwnProperty,md=/^[: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]*$/,ai={},ui={};function hd(e){return ps.call(ui,e)?!0:ps.call(ai,e)?!1:md.test(e)?ui[e]=!0:(ai[e]=!0,!1)}function gd(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 xd(e,t,n,r){if(t===null||typeof t>"u"||gd(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 ye(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 ye(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 ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ce[e]=new ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ce[e]=new ye(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 ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ce[e]=new ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ce[e]=new ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ce[e]=new ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ce[e]=new ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var mo=/[\-:]([a-z])/g;function ho(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(mo,ho);ce[t]=new ye(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(mo,ho);ce[t]=new ye(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(mo,ho);ce[t]=new ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ce[e]=new ye(e,1,!1,e.toLowerCase(),null,!1,!1)});ce.xlinkHref=new ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ce[e]=new ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function go(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")&&(xd(t,n,l,r)&&(n=null),r||l===null?hd(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=pd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,hr=Symbol.for("react.element"),Wt=Symbol.for("react.portal"),Qt=Symbol.for("react.fragment"),xo=Symbol.for("react.strict_mode"),ms=Symbol.for("react.profiler"),Aa=Symbol.for("react.provider"),Ua=Symbol.for("react.context"),yo=Symbol.for("react.forward_ref"),hs=Symbol.for("react.suspense"),gs=Symbol.for("react.suspense_list"),vo=Symbol.for("react.memo"),st=Symbol.for("react.lazy"),$a=Symbol.for("react.offscreen"),ci=Symbol.iterator;function wn(e){return e===null||typeof e!="object"?null:(e=ci&&e[ci]||e["@@iterator"],typeof e=="function"?e:null)}var X=Object.assign,Dl;function Pn(e){if(Dl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Dl=t&&t[1]||""}return`
34
+ `+Dl+e}var Al=!1;function Ul(e,t){if(!e||Al)return"";Al=!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{Al=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Pn(e):""}function yd(e){switch(e.tag){case 5:return Pn(e.type);case 16:return Pn("Lazy");case 13:return Pn("Suspense");case 19:return Pn("SuspenseList");case 0:case 2:case 15:return e=Ul(e.type,!1),e;case 11:return e=Ul(e.type.render,!1),e;case 1:return e=Ul(e.type,!0),e;default:return""}}function xs(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 Qt:return"Fragment";case Wt:return"Portal";case ms:return"Profiler";case xo:return"StrictMode";case hs:return"Suspense";case gs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ua:return(e.displayName||"Context")+".Consumer";case Aa:return(e._context.displayName||"Context")+".Provider";case yo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vo:return t=e.displayName||null,t!==null?t:xs(e.type)||"Memo";case st:t=e._payload,e=e._init;try{return xs(e(t))}catch{}}return null}function vd(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 xs(t);case 8:return t===xo?"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 wt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ha(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wd(e){var t=Ha(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 gr(e){e._valueTracker||(e._valueTracker=wd(e))}function Va(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ha(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Kr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ys(e,t){var n=t.checked;return X({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function di(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=wt(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 Ba(e,t){t=t.checked,t!=null&&go(e,"checked",t,!1)}function vs(e,t){Ba(e,t);var n=wt(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")?ws(e,t.type,n):t.hasOwnProperty("defaultValue")&&ws(e,t.type,wt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function fi(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 ws(e,t,n){(t!=="number"||Kr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zn=Array.isArray;function rn(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=""+wt(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 ks(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(C(91));return X({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function pi(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(C(92));if(zn(n)){if(1<n.length)throw Error(C(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:wt(n)}}function Wa(e,t){var n=wt(t.value),r=wt(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 mi(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Qa(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 js(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Qa(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var xr,qa=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(xr=xr||document.createElement("div"),xr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=xr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Vn(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},kd=["Webkit","ms","Moz","O"];Object.keys(Mn).forEach(function(e){kd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Mn[t]=Mn[e]})});function Ka(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 Ga(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ka(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var jd=X({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 Ns(e,t){if(t){if(jd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function Ss(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 Cs=null;function wo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Es=null,ln=null,sn=null;function hi(e){if(e=cr(e)){if(typeof Es!="function")throw Error(C(280));var t=e.stateNode;t&&(t=Cl(t),Es(e.stateNode,e.type,t))}}function Ya(e){ln?sn?sn.push(e):sn=[e]:ln=e}function Xa(){if(ln){var e=ln,t=sn;if(sn=ln=null,hi(e),t)for(e=0;e<t.length;e++)hi(t[e])}}function Za(e,t){return e(t)}function Ja(){}var $l=!1;function eu(e,t,n){if($l)return e(t,n);$l=!0;try{return Za(e,t,n)}finally{$l=!1,(ln!==null||sn!==null)&&(Ja(),Xa())}}function Bn(e,t){var n=e.stateNode;if(n===null)return null;var r=Cl(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(C(231,t,typeof n));return n}var bs=!1;if(Je)try{var kn={};Object.defineProperty(kn,"passive",{get:function(){bs=!0}}),window.addEventListener("test",kn,kn),window.removeEventListener("test",kn,kn)}catch{bs=!1}function Nd(e,t,n,r,l,s,i,a,u){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(x){this.onError(x)}}var Rn=!1,Gr=null,Yr=!1,Ps=null,Sd={onError:function(e){Rn=!0,Gr=e}};function Cd(e,t,n,r,l,s,i,a,u){Rn=!1,Gr=null,Nd.apply(Sd,arguments)}function Ed(e,t,n,r,l,s,i,a,u){if(Cd.apply(this,arguments),Rn){if(Rn){var d=Gr;Rn=!1,Gr=null}else throw Error(C(198));Yr||(Yr=!0,Ps=d)}}function Ht(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 tu(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 gi(e){if(Ht(e)!==e)throw Error(C(188))}function bd(e){var t=e.alternate;if(!t){if(t=Ht(e),t===null)throw Error(C(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 gi(l),e;if(s===r)return gi(l),t;s=s.sibling}throw Error(C(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(C(189))}}if(n.alternate!==r)throw Error(C(190))}if(n.tag!==3)throw Error(C(188));return n.stateNode.current===n?e:t}function nu(e){return e=bd(e),e!==null?ru(e):null}function ru(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ru(e);if(t!==null)return t;e=e.sibling}return null}var lu=be.unstable_scheduleCallback,xi=be.unstable_cancelCallback,Pd=be.unstable_shouldYield,zd=be.unstable_requestPaint,ee=be.unstable_now,Td=be.unstable_getCurrentPriorityLevel,ko=be.unstable_ImmediatePriority,su=be.unstable_UserBlockingPriority,Xr=be.unstable_NormalPriority,_d=be.unstable_LowPriority,ou=be.unstable_IdlePriority,kl=null,Qe=null;function Ld(e){if(Qe&&typeof Qe.onCommitFiberRoot=="function")try{Qe.onCommitFiberRoot(kl,e,void 0,(e.current.flags&128)===128)}catch{}}var Ue=Math.clz32?Math.clz32:Id,Md=Math.log,Rd=Math.LN2;function Id(e){return e>>>=0,e===0?32:31-(Md(e)/Rd|0)|0}var yr=64,vr=4194304;function Tn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Zr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~l;a!==0?r=Tn(a):(s&=i,s!==0&&(r=Tn(s)))}else i=n&~l,i!==0?r=Tn(i):s!==0&&(r=Tn(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 Fd(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 Od(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]=Fd(a,t)):u<=t&&(e.expiredLanes|=a),s&=~a}}function zs(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function iu(){var e=yr;return yr<<=1,!(yr&4194240)&&(yr=64),e}function Hl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ar(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 Dd(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 jo(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 au(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var uu,No,cu,du,fu,Ts=!1,wr=[],ft=null,pt=null,mt=null,Wn=new Map,Qn=new Map,it=[],Ad="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 yi(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":Wn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qn.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=cr(t),t!==null&&No(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Ud(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 Wn.set(s,jn(Wn.get(s)||null,e,t,n,r,l)),!0;case"gotpointercapture":return s=l.pointerId,Qn.set(s,jn(Qn.get(s)||null,e,t,n,r,l)),!0}return!1}function pu(e){var t=zt(e.target);if(t!==null){var n=Ht(t);if(n!==null){if(t=n.tag,t===13){if(t=tu(n),t!==null){e.blockedOn=t,fu(e.priority,function(){cu(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Fr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=_s(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Cs=r,n.target.dispatchEvent(r),Cs=null}else return t=cr(n),t!==null&&No(t),e.blockedOn=n,!1;t.shift()}return!0}function vi(e,t,n){Fr(e)&&n.delete(t)}function $d(){Ts=!1,ft!==null&&Fr(ft)&&(ft=null),pt!==null&&Fr(pt)&&(pt=null),mt!==null&&Fr(mt)&&(mt=null),Wn.forEach(vi),Qn.forEach(vi)}function Nn(e,t){e.blockedOn===t&&(e.blockedOn=null,Ts||(Ts=!0,be.unstable_scheduleCallback(be.unstable_NormalPriority,$d)))}function qn(e){function t(l){return Nn(l,e)}if(0<wr.length){Nn(wr[0],e);for(var n=1;n<wr.length;n++){var r=wr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ft!==null&&Nn(ft,e),pt!==null&&Nn(pt,e),mt!==null&&Nn(mt,e),Wn.forEach(t),Qn.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);)pu(n),n.blockedOn===null&&it.shift()}var on=rt.ReactCurrentBatchConfig,Jr=!0;function Hd(e,t,n,r){var l=V,s=on.transition;on.transition=null;try{V=1,So(e,t,n,r)}finally{V=l,on.transition=s}}function Vd(e,t,n,r){var l=V,s=on.transition;on.transition=null;try{V=4,So(e,t,n,r)}finally{V=l,on.transition=s}}function So(e,t,n,r){if(Jr){var l=_s(e,t,n,r);if(l===null)Zl(e,t,r,el,n),yi(e,r);else if(Ud(l,e,t,n,r))r.stopPropagation();else if(yi(e,r),t&4&&-1<Ad.indexOf(e)){for(;l!==null;){var s=cr(l);if(s!==null&&uu(s),s=_s(e,t,n,r),s===null&&Zl(e,t,r,el,n),s===l)break;l=s}l!==null&&r.stopPropagation()}else Zl(e,t,r,null,n)}}var el=null;function _s(e,t,n,r){if(el=null,e=wo(r),e=zt(e),e!==null)if(t=Ht(e),t===null)e=null;else if(n=t.tag,n===13){if(e=tu(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 el=e,null}function mu(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(Td()){case ko:return 1;case su:return 4;case Xr:case _d:return 16;case ou:return 536870912;default:return 16}default:return 16}}var ut=null,Co=null,Or=null;function hu(){if(Or)return Or;var e,t=Co,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 Or=l.slice(e,1<r?1-r:void 0)}function Dr(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 wi(){return!1}function ze(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:wi,this.isPropagationStopped=wi,this}return X(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 yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Eo=ze(yn),ur=X({},yn,{view:0,detail:0}),Bd=ze(ur),Vl,Bl,Sn,jl=X({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bo,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"?(Vl=e.screenX-Sn.screenX,Bl=e.screenY-Sn.screenY):Bl=Vl=0,Sn=e),Vl)},movementY:function(e){return"movementY"in e?e.movementY:Bl}}),ki=ze(jl),Wd=X({},jl,{dataTransfer:0}),Qd=ze(Wd),qd=X({},ur,{relatedTarget:0}),Wl=ze(qd),Kd=X({},yn,{animationName:0,elapsedTime:0,pseudoElement:0}),Gd=ze(Kd),Yd=X({},yn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Xd=ze(Yd),Zd=X({},yn,{data:0}),ji=ze(Zd),Jd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ef={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"},tf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=tf[e])?!!t[e]:!1}function bo(){return nf}var rf=X({},ur,{key:function(e){if(e.key){var t=Jd[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Dr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ef[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bo,charCode:function(e){return e.type==="keypress"?Dr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Dr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),lf=ze(rf),sf=X({},jl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ni=ze(sf),of=X({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bo}),af=ze(of),uf=X({},yn,{propertyName:0,elapsedTime:0,pseudoElement:0}),cf=ze(uf),df=X({},jl,{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}),ff=ze(df),pf=[9,13,27,32],Po=Je&&"CompositionEvent"in window,In=null;Je&&"documentMode"in document&&(In=document.documentMode);var mf=Je&&"TextEvent"in window&&!In,gu=Je&&(!Po||In&&8<In&&11>=In),Si=" ",Ci=!1;function xu(e,t){switch(e){case"keyup":return pf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var qt=!1;function hf(e,t){switch(e){case"compositionend":return yu(t);case"keypress":return t.which!==32?null:(Ci=!0,Si);case"textInput":return e=t.data,e===Si&&Ci?null:e;default:return null}}function gf(e,t){if(qt)return e==="compositionend"||!Po&&xu(e,t)?(e=hu(),Or=Co=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 gu&&t.locale!=="ko"?null:t.data;default:return null}}var xf={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 Ei(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!xf[e.type]:t==="textarea"}function vu(e,t,n,r){Ya(r),t=tl(t,"onChange"),0<t.length&&(n=new Eo("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Fn=null,Kn=null;function yf(e){Tu(e,0)}function Nl(e){var t=Yt(e);if(Va(t))return e}function vf(e,t){if(e==="change")return t}var wu=!1;if(Je){var Ql;if(Je){var ql="oninput"in document;if(!ql){var bi=document.createElement("div");bi.setAttribute("oninput","return;"),ql=typeof bi.oninput=="function"}Ql=ql}else Ql=!1;wu=Ql&&(!document.documentMode||9<document.documentMode)}function Pi(){Fn&&(Fn.detachEvent("onpropertychange",ku),Kn=Fn=null)}function ku(e){if(e.propertyName==="value"&&Nl(Kn)){var t=[];vu(t,Kn,e,wo(e)),eu(yf,t)}}function wf(e,t,n){e==="focusin"?(Pi(),Fn=t,Kn=n,Fn.attachEvent("onpropertychange",ku)):e==="focusout"&&Pi()}function kf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Nl(Kn)}function jf(e,t){if(e==="click")return Nl(t)}function Nf(e,t){if(e==="input"||e==="change")return Nl(t)}function Sf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var He=typeof Object.is=="function"?Object.is:Sf;function Gn(e,t){if(He(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(!ps.call(t,l)||!He(e[l],t[l]))return!1}return!0}function zi(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ti(e,t){var n=zi(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=zi(n)}}function ju(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ju(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Nu(){for(var e=window,t=Kr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kr(e.document)}return t}function zo(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 Cf(e){var t=Nu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ju(n.ownerDocument.documentElement,n)){if(r!==null&&zo(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=Ti(n,s);var i=Ti(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 Ef=Je&&"documentMode"in document&&11>=document.documentMode,Kt=null,Ls=null,On=null,Ms=!1;function _i(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ms||Kt==null||Kt!==Kr(r)||(r=Kt,"selectionStart"in r&&zo(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=tl(Ls,"onSelect"),0<r.length&&(t=new Eo("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Kt)))}function jr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Gt={animationend:jr("Animation","AnimationEnd"),animationiteration:jr("Animation","AnimationIteration"),animationstart:jr("Animation","AnimationStart"),transitionend:jr("Transition","TransitionEnd")},Kl={},Su={};Je&&(Su=document.createElement("div").style,"AnimationEvent"in window||(delete Gt.animationend.animation,delete Gt.animationiteration.animation,delete Gt.animationstart.animation),"TransitionEvent"in window||delete Gt.transitionend.transition);function Sl(e){if(Kl[e])return Kl[e];if(!Gt[e])return e;var t=Gt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Su)return Kl[e]=t[n];return e}var Cu=Sl("animationend"),Eu=Sl("animationiteration"),bu=Sl("animationstart"),Pu=Sl("transitionend"),zu=new Map,Li="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){zu.set(e,t),$t(t,[e])}for(var Gl=0;Gl<Li.length;Gl++){var Yl=Li[Gl],bf=Yl.toLowerCase(),Pf=Yl[0].toUpperCase()+Yl.slice(1);jt(bf,"on"+Pf)}jt(Cu,"onAnimationEnd");jt(Eu,"onAnimationIteration");jt(bu,"onAnimationStart");jt("dblclick","onDoubleClick");jt("focusin","onFocus");jt("focusout","onBlur");jt(Pu,"onTransitionEnd");cn("onMouseEnter",["mouseout","mouseover"]);cn("onMouseLeave",["mouseout","mouseover"]);cn("onPointerEnter",["pointerout","pointerover"]);cn("onPointerLeave",["pointerout","pointerover"]);$t("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));$t("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));$t("onBeforeInput",["compositionend","keypress","textInput","paste"]);$t("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));$t("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));$t("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _n="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),zf=new Set("cancel close invalid load scroll toggle".split(" ").concat(_n));function Mi(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Ed(r,t,void 0,e),e.currentTarget=null}function Tu(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;Mi(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;Mi(l,a,d),s=u}}}if(Yr)throw e=Ps,Yr=!1,Ps=null,e}function Q(e,t){var n=t[Ds];n===void 0&&(n=t[Ds]=new Set);var r=e+"__bubble";n.has(r)||(_u(t,e,2,!1),n.add(r))}function Xl(e,t,n){var r=0;t&&(r|=4),_u(n,e,r,t)}var Nr="_reactListening"+Math.random().toString(36).slice(2);function Yn(e){if(!e[Nr]){e[Nr]=!0,Da.forEach(function(n){n!=="selectionchange"&&(zf.has(n)||Xl(n,!1,e),Xl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Nr]||(t[Nr]=!0,Xl("selectionchange",!1,t))}}function _u(e,t,n,r){switch(mu(t)){case 1:var l=Hd;break;case 4:l=Vd;break;default:l=So}n=l.bind(null,t,n,e),l=void 0,!bs||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 Zl(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=zt(a),i===null)return;if(u=i.tag,u===5||u===6){r=s=i;continue e}a=a.parentNode}}r=r.return}eu(function(){var d=s,x=wo(n),g=[];e:{var m=zu.get(e);if(m!==void 0){var w=Eo,y=e;switch(e){case"keypress":if(Dr(n)===0)break e;case"keydown":case"keyup":w=lf;break;case"focusin":y="focus",w=Wl;break;case"focusout":y="blur",w=Wl;break;case"beforeblur":case"afterblur":w=Wl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=ki;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=Qd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=af;break;case Cu:case Eu:case bu:w=Gd;break;case Pu:w=cf;break;case"scroll":w=Bd;break;case"wheel":w=ff;break;case"copy":case"cut":case"paste":w=Xd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=Ni}var k=(t&4)!==0,N=!k&&e==="scroll",f=k?m!==null?m+"Capture":null:m;k=[];for(var c=d,p;c!==null;){p=c;var v=p.stateNode;if(p.tag===5&&v!==null&&(p=v,f!==null&&(v=Bn(c,f),v!=null&&k.push(Xn(c,v,p)))),N)break;c=c.return}0<k.length&&(m=new w(m,y,null,n,x),g.push({event:m,listeners:k}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",w=e==="mouseout"||e==="pointerout",m&&n!==Cs&&(y=n.relatedTarget||n.fromElement)&&(zt(y)||y[et]))break e;if((w||m)&&(m=x.window===x?x:(m=x.ownerDocument)?m.defaultView||m.parentWindow:window,w?(y=n.relatedTarget||n.toElement,w=d,y=y?zt(y):null,y!==null&&(N=Ht(y),y!==N||y.tag!==5&&y.tag!==6)&&(y=null)):(w=null,y=d),w!==y)){if(k=ki,v="onMouseLeave",f="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(k=Ni,v="onPointerLeave",f="onPointerEnter",c="pointer"),N=w==null?m:Yt(w),p=y==null?m:Yt(y),m=new k(v,c+"leave",w,n,x),m.target=N,m.relatedTarget=p,v=null,zt(x)===d&&(k=new k(f,c+"enter",y,n,x),k.target=p,k.relatedTarget=N,v=k),N=v,w&&y)t:{for(k=w,f=y,c=0,p=k;p;p=Vt(p))c++;for(p=0,v=f;v;v=Vt(v))p++;for(;0<c-p;)k=Vt(k),c--;for(;0<p-c;)f=Vt(f),p--;for(;c--;){if(k===f||f!==null&&k===f.alternate)break t;k=Vt(k),f=Vt(f)}k=null}else k=null;w!==null&&Ri(g,m,w,k,!1),y!==null&&N!==null&&Ri(g,N,y,k,!0)}}e:{if(m=d?Yt(d):window,w=m.nodeName&&m.nodeName.toLowerCase(),w==="select"||w==="input"&&m.type==="file")var S=vf;else if(Ei(m))if(wu)S=Nf;else{S=kf;var E=wf}else(w=m.nodeName)&&w.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(S=jf);if(S&&(S=S(e,d))){vu(g,S,n,x);break e}E&&E(e,m,d),e==="focusout"&&(E=m._wrapperState)&&E.controlled&&m.type==="number"&&ws(m,"number",m.value)}switch(E=d?Yt(d):window,e){case"focusin":(Ei(E)||E.contentEditable==="true")&&(Kt=E,Ls=d,On=null);break;case"focusout":On=Ls=Kt=null;break;case"mousedown":Ms=!0;break;case"contextmenu":case"mouseup":case"dragend":Ms=!1,_i(g,n,x);break;case"selectionchange":if(Ef)break;case"keydown":case"keyup":_i(g,n,x)}var P;if(Po)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else qt?xu(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(gu&&n.locale!=="ko"&&(qt||T!=="onCompositionStart"?T==="onCompositionEnd"&&qt&&(P=hu()):(ut=x,Co="value"in ut?ut.value:ut.textContent,qt=!0)),E=tl(d,T),0<E.length&&(T=new ji(T,e,null,n,x),g.push({event:T,listeners:E}),P?T.data=P:(P=yu(n),P!==null&&(T.data=P)))),(P=mf?hf(e,n):gf(e,n))&&(d=tl(d,"onBeforeInput"),0<d.length&&(x=new ji("onBeforeInput","beforeinput",null,n,x),g.push({event:x,listeners:d}),x.data=P))}Tu(g,t)})}function Xn(e,t,n){return{instance:e,listener:t,currentTarget:n}}function tl(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,s=l.stateNode;l.tag===5&&s!==null&&(l=s,s=Bn(e,n),s!=null&&r.unshift(Xn(e,s,l)),s=Bn(e,t),s!=null&&r.push(Xn(e,s,l))),e=e.return}return r}function Vt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ri(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=Bn(n,s),u!=null&&i.unshift(Xn(n,u,a))):l||(u=Bn(n,s),u!=null&&i.push(Xn(n,u,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var Tf=/\r\n?/g,_f=/\u0000|\uFFFD/g;function Ii(e){return(typeof e=="string"?e:""+e).replace(Tf,`
38
+ `).replace(_f,"")}function Sr(e,t,n){if(t=Ii(t),Ii(e)!==t&&n)throw Error(C(425))}function nl(){}var Rs=null,Is=null;function Fs(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 Os=typeof setTimeout=="function"?setTimeout:void 0,Lf=typeof clearTimeout=="function"?clearTimeout:void 0,Fi=typeof Promise=="function"?Promise:void 0,Mf=typeof queueMicrotask=="function"?queueMicrotask:typeof Fi<"u"?function(e){return Fi.resolve(null).then(e).catch(Rf)}:Os;function Rf(e){setTimeout(function(){throw e})}function Jl(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),qn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);qn(t)}function 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 Oi(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),We="__reactFiber$"+vn,Zn="__reactProps$"+vn,et="__reactContainer$"+vn,Ds="__reactEvents$"+vn,If="__reactListeners$"+vn,Ff="__reactHandles$"+vn;function zt(e){var t=e[We];if(t)return t;for(var n=e.parentNode;n;){if(t=n[et]||n[We]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Oi(e);e!==null;){if(n=e[We])return n;e=Oi(e)}return t}e=n,n=e.parentNode}return null}function cr(e){return e=e[We]||e[et],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Yt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(C(33))}function Cl(e){return e[Zn]||null}var As=[],Xt=-1;function Nt(e){return{current:e}}function q(e){0>Xt||(e.current=As[Xt],As[Xt]=null,Xt--)}function B(e,t){Xt++,As[Xt]=e.current,e.current=t}var kt={},me=Nt(kt),ke=Nt(!1),Ft=kt;function dn(e,t){var n=e.type.contextTypes;if(!n)return kt;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 rl(){q(ke),q(me)}function Di(e,t,n){if(me.current!==kt)throw Error(C(168));B(me,t),B(ke,n)}function Lu(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(C(108,vd(e)||"Unknown",l));return X({},n,r)}function ll(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||kt,Ft=me.current,B(me,e),B(ke,ke.current),!0}function Ai(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=Lu(e,t,Ft),r.__reactInternalMemoizedMergedChildContext=e,q(ke),q(me),B(me,e)):q(ke),B(ke,n)}var Ge=null,El=!1,es=!1;function Mu(e){Ge===null?Ge=[e]:Ge.push(e)}function Of(e){El=!0,Mu(e)}function St(){if(!es&&Ge!==null){es=!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,El=!1}catch(l){throw Ge!==null&&(Ge=Ge.slice(e+1)),lu(ko,St),l}finally{V=t,es=!1}}return null}var Zt=[],Jt=0,sl=null,ol=0,Te=[],_e=0,Ot=null,Ye=1,Xe="";function bt(e,t){Zt[Jt++]=ol,Zt[Jt++]=sl,sl=e,ol=t}function Ru(e,t,n){Te[_e++]=Ye,Te[_e++]=Xe,Te[_e++]=Ot,Ot=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 To(e){e.return!==null&&(bt(e,1),Ru(e,1,0))}function _o(e){for(;e===sl;)sl=Zt[--Jt],Zt[Jt]=null,ol=Zt[--Jt],Zt[Jt]=null;for(;e===Ot;)Ot=Te[--_e],Te[_e]=null,Xe=Te[--_e],Te[_e]=null,Ye=Te[--_e],Te[_e]=null}var Ee=null,Ce=null,K=!1,Ae=null;function Iu(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 Ui(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=Ot!==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 Us(e){return(e.mode&1)!==0&&(e.flags&128)===0}function $s(e){if(K){var t=Ce;if(t){var n=t;if(!Ui(e,t)){if(Us(e))throw Error(C(418));t=ht(n.nextSibling);var r=Ee;t&&Ui(e,t)?Iu(r,n):(e.flags=e.flags&-4097|2,K=!1,Ee=e)}}else{if(Us(e))throw Error(C(418));e.flags=e.flags&-4097|2,K=!1,Ee=e}}}function $i(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ee=e}function Cr(e){if(e!==Ee)return!1;if(!K)return $i(e),K=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Fs(e.type,e.memoizedProps)),t&&(t=Ce)){if(Us(e))throw Fu(),Error(C(418));for(;t;)Iu(e,t),t=ht(t.nextSibling)}if($i(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(C(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 Fu(){for(var e=Ce;e;)e=ht(e.nextSibling)}function fn(){Ce=Ee=null,K=!1}function Lo(e){Ae===null?Ae=[e]:Ae.push(e)}var Df=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(C(309));var r=n.stateNode}if(!r)throw Error(C(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(C(284));if(!n._owner)throw Error(C(290,e))}return e}function Er(e,t){throw e=Object.prototype.toString.call(t),Error(C(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Hi(e){var t=e._init;return t(e._payload)}function Ou(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,v){return c===null||c.tag!==6?(c=is(p,f.mode,v),c.return=f,c):(c=l(c,p),c.return=f,c)}function u(f,c,p,v){var S=p.type;return S===Qt?x(f,c,p.props.children,v,p.key):c!==null&&(c.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===st&&Hi(S)===c.type)?(v=l(c,p.props),v.ref=Cn(f,c,p),v.return=f,v):(v=Wr(p.type,p.key,p.props,null,f.mode,v),v.ref=Cn(f,c,p),v.return=f,v)}function d(f,c,p,v){return c===null||c.tag!==4||c.stateNode.containerInfo!==p.containerInfo||c.stateNode.implementation!==p.implementation?(c=as(p,f.mode,v),c.return=f,c):(c=l(c,p.children||[]),c.return=f,c)}function x(f,c,p,v,S){return c===null||c.tag!==7?(c=Mt(p,f.mode,v,S),c.return=f,c):(c=l(c,p),c.return=f,c)}function g(f,c,p){if(typeof c=="string"&&c!==""||typeof c=="number")return c=is(""+c,f.mode,p),c.return=f,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case hr:return p=Wr(c.type,c.key,c.props,null,f.mode,p),p.ref=Cn(f,null,c),p.return=f,p;case Wt:return c=as(c,f.mode,p),c.return=f,c;case st:var v=c._init;return g(f,v(c._payload),p)}if(zn(c)||wn(c))return c=Mt(c,f.mode,p,null),c.return=f,c;Er(f,c)}return null}function m(f,c,p,v){var S=c!==null?c.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return S!==null?null:a(f,c,""+p,v);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case hr:return p.key===S?u(f,c,p,v):null;case Wt:return p.key===S?d(f,c,p,v):null;case st:return S=p._init,m(f,c,S(p._payload),v)}if(zn(p)||wn(p))return S!==null?null:x(f,c,p,v,null);Er(f,p)}return null}function w(f,c,p,v,S){if(typeof v=="string"&&v!==""||typeof v=="number")return f=f.get(p)||null,a(c,f,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case hr:return f=f.get(v.key===null?p:v.key)||null,u(c,f,v,S);case Wt:return f=f.get(v.key===null?p:v.key)||null,d(c,f,v,S);case st:var E=v._init;return w(f,c,p,E(v._payload),S)}if(zn(v)||wn(v))return f=f.get(p)||null,x(c,f,v,S,null);Er(c,v)}return null}function y(f,c,p,v){for(var S=null,E=null,P=c,T=c=0,I=null;P!==null&&T<p.length;T++){P.index>T?(I=P,P=null):I=P.sibling;var z=m(f,P,p[T],v);if(z===null){P===null&&(P=I);break}e&&P&&z.alternate===null&&t(f,P),c=s(z,c,T),E===null?S=z:E.sibling=z,E=z,P=I}if(T===p.length)return n(f,P),K&&bt(f,T),S;if(P===null){for(;T<p.length;T++)P=g(f,p[T],v),P!==null&&(c=s(P,c,T),E===null?S=P:E.sibling=P,E=P);return K&&bt(f,T),S}for(P=r(f,P);T<p.length;T++)I=w(P,f,T,p[T],v),I!==null&&(e&&I.alternate!==null&&P.delete(I.key===null?T:I.key),c=s(I,c,T),E===null?S=I:E.sibling=I,E=I);return e&&P.forEach(function(U){return t(f,U)}),K&&bt(f,T),S}function k(f,c,p,v){var S=wn(p);if(typeof S!="function")throw Error(C(150));if(p=S.call(p),p==null)throw Error(C(151));for(var E=S=null,P=c,T=c=0,I=null,z=p.next();P!==null&&!z.done;T++,z=p.next()){P.index>T?(I=P,P=null):I=P.sibling;var U=m(f,P,z.value,v);if(U===null){P===null&&(P=I);break}e&&P&&U.alternate===null&&t(f,P),c=s(U,c,T),E===null?S=U:E.sibling=U,E=U,P=I}if(z.done)return n(f,P),K&&bt(f,T),S;if(P===null){for(;!z.done;T++,z=p.next())z=g(f,z.value,v),z!==null&&(c=s(z,c,T),E===null?S=z:E.sibling=z,E=z);return K&&bt(f,T),S}for(P=r(f,P);!z.done;T++,z=p.next())z=w(P,f,T,z.value,v),z!==null&&(e&&z.alternate!==null&&P.delete(z.key===null?T:z.key),c=s(z,c,T),E===null?S=z:E.sibling=z,E=z);return e&&P.forEach(function($){return t(f,$)}),K&&bt(f,T),S}function N(f,c,p,v){if(typeof p=="object"&&p!==null&&p.type===Qt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case hr:e:{for(var S=p.key,E=c;E!==null;){if(E.key===S){if(S=p.type,S===Qt){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===S||typeof S=="object"&&S!==null&&S.$$typeof===st&&Hi(S)===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===Qt?(c=Mt(p.props.children,f.mode,v,p.key),c.return=f,f=c):(v=Wr(p.type,p.key,p.props,null,f.mode,v),v.ref=Cn(f,c,p),v.return=f,f=v)}return i(f);case Wt: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=as(p,f.mode,v),c.return=f,f=c}return i(f);case st:return E=p._init,N(f,c,E(p._payload),v)}if(zn(p))return y(f,c,p,v);if(wn(p))return k(f,c,p,v);Er(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=is(p,f.mode,v),c.return=f,f=c),i(f)):n(f,c)}return N}var pn=Ou(!0),Du=Ou(!1),il=Nt(null),al=null,en=null,Mo=null;function Ro(){Mo=en=al=null}function Io(e){var t=il.current;q(il),e._currentValue=t}function Hs(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 an(e,t){al=e,Mo=en=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(we=!0),e.firstContext=null)}function Re(e){var t=e._currentValue;if(Mo!==e)if(e={context:e,memoizedValue:t,next:null},en===null){if(al===null)throw Error(C(308));en=e,al.dependencies={lanes:0,firstContext:e}}else en=en.next=e;return t}var Tt=null;function Fo(e){Tt===null?Tt=[e]:Tt.push(e)}function Au(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Fo(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 Oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Uu(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,H&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,Fo(r)):(t.next=l.next,l.next=t),r.interleaved=t,tt(e,n)}function Ar(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,jo(e,n)}}function Vi(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 ul(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 x=e.alternate;x!==null&&(x=x.updateQueue,a=x.lastBaseUpdate,a!==i&&(a===null?x.firstBaseUpdate=d:a.next=d,x.lastBaseUpdate=u))}if(s!==null){var g=l.baseState;i=0,x=d=u=null,a=s;do{var m=a.lane,w=a.eventTime;if((r&m)===m){x!==null&&(x=x.next={eventTime:w,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,k=a;switch(m=t,w=n,k.tag){case 1:if(y=k.payload,typeof y=="function"){g=y.call(w,g,m);break e}g=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=k.payload,m=typeof y=="function"?y.call(w,g,m):y,m==null)break e;g=X({},g,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 w={eventTime:w,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},x===null?(d=x=w,u=g):x=x.next=w,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(x===null&&(u=g),l.baseState=u,l.firstBaseUpdate=d,l.lastBaseUpdate=x,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);At|=i,e.lanes=i,e.memoizedState=g}}function Bi(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(C(191,l));l.call(r)}}}var dr={},qe=Nt(dr),Jn=Nt(dr),er=Nt(dr);function _t(e){if(e===dr)throw Error(C(174));return e}function Do(e,t){switch(B(er,t),B(Jn,e),B(qe,dr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:js(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=js(t,e)}q(qe),B(qe,t)}function mn(){q(qe),q(Jn),q(er)}function $u(e){_t(er.current);var t=_t(qe.current),n=js(t,e.type);t!==n&&(B(Jn,e),B(qe,n))}function Ao(e){Jn.current===e&&(q(qe),q(Jn))}var G=Nt(0);function cl(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 ts=[];function Uo(){for(var e=0;e<ts.length;e++)ts[e]._workInProgressVersionPrimary=null;ts.length=0}var Ur=rt.ReactCurrentDispatcher,ns=rt.ReactCurrentBatchConfig,Dt=0,Y=null,ne=null,se=null,dl=!1,Dn=!1,tr=0,Af=0;function de(){throw Error(C(321))}function $o(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!He(e[n],t[n]))return!1;return!0}function Ho(e,t,n,r,l,s){if(Dt=s,Y=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ur.current=e===null||e.memoizedState===null?Vf:Bf,e=n(r,l),Dn){s=0;do{if(Dn=!1,tr=0,25<=s)throw Error(C(301));s+=1,se=ne=null,t.updateQueue=null,Ur.current=Wf,e=n(r,l)}while(Dn)}if(Ur.current=fl,t=ne!==null&&ne.next!==null,Dt=0,se=ne=Y=null,dl=!1,t)throw Error(C(300));return e}function Vo(){var e=tr!==0;return tr=0,e}function Be(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return se===null?Y.memoizedState=se=e:se=se.next=e,se}function Ie(){if(ne===null){var e=Y.alternate;e=e!==null?e.memoizedState:null}else e=ne.next;var t=se===null?Y.memoizedState:se.next;if(t!==null)se=t,ne=e;else{if(e===null)throw Error(C(310));ne=e,e={memoizedState:ne.memoizedState,baseState:ne.baseState,baseQueue:ne.baseQueue,queue:ne.queue,next:null},se===null?Y.memoizedState=se=e:se=se.next=e}return se}function nr(e,t){return typeof t=="function"?t(e):t}function rs(e){var t=Ie(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=ne,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 x=d.lane;if((Dt&x)===x)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 g={lane:x,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};u===null?(a=u=g,i=r):u=u.next=g,Y.lanes|=x,At|=x}d=d.next}while(d!==null&&d!==s);u===null?i=r:u.next=a,He(r,t.memoizedState)||(we=!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,Y.lanes|=s,At|=s,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ls(e){var t=Ie(),n=t.queue;if(n===null)throw Error(C(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);He(s,t.memoizedState)||(we=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Hu(){}function Vu(e,t){var n=Y,r=Ie(),l=t(),s=!He(r.memoizedState,l);if(s&&(r.memoizedState=l,we=!0),r=r.queue,Bo(Qu.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||se!==null&&se.memoizedState.tag&1){if(n.flags|=2048,rr(9,Wu.bind(null,n,r,l,t),void 0,null),oe===null)throw Error(C(349));Dt&30||Bu(n,t,l)}return l}function Bu(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Y.updateQueue,t===null?(t={lastEffect:null,stores:null},Y.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Wu(e,t,n,r){t.value=n,t.getSnapshot=r,qu(t)&&Ku(e)}function Qu(e,t,n){return n(function(){qu(t)&&Ku(e)})}function qu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!He(e,n)}catch{return!0}}function Ku(e){var t=tt(e,1);t!==null&&$e(t,e,1,-1)}function Wi(e){var t=Be();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=Hf.bind(null,Y,e),[t.memoizedState,e]}function rr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Y.updateQueue,t===null?(t={lastEffect:null,stores:null},Y.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 Gu(){return Ie().memoizedState}function $r(e,t,n,r){var l=Be();Y.flags|=e,l.memoizedState=rr(1|t,n,void 0,r===void 0?null:r)}function bl(e,t,n,r){var l=Ie();r=r===void 0?null:r;var s=void 0;if(ne!==null){var i=ne.memoizedState;if(s=i.destroy,r!==null&&$o(r,i.deps)){l.memoizedState=rr(t,n,s,r);return}}Y.flags|=e,l.memoizedState=rr(1|t,n,s,r)}function Qi(e,t){return $r(8390656,8,e,t)}function Bo(e,t){return bl(2048,8,e,t)}function Yu(e,t){return bl(4,2,e,t)}function Xu(e,t){return bl(4,4,e,t)}function Zu(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 Ju(e,t,n){return n=n!=null?n.concat([e]):null,bl(4,4,Zu.bind(null,t,e),n)}function Wo(){}function ec(e,t){var n=Ie();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&$o(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function tc(e,t){var n=Ie();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&$o(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function nc(e,t,n){return Dt&21?(He(n,t)||(n=iu(),Y.lanes|=n,At|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,we=!0),e.memoizedState=n)}function Uf(e,t){var n=V;V=n!==0&&4>n?n:4,e(!0);var r=ns.transition;ns.transition={};try{e(!1),t()}finally{V=n,ns.transition=r}}function rc(){return Ie().memoizedState}function $f(e,t,n){var r=yt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lc(e))sc(t,n);else if(n=Au(e,t,n,r),n!==null){var l=ge();$e(n,e,r,l),oc(n,t,r)}}function Hf(e,t,n){var r=yt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lc(e))sc(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,He(a,i)){var u=t.interleaved;u===null?(l.next=l,Fo(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Au(e,t,l,r),n!==null&&(l=ge(),$e(n,e,r,l),oc(n,t,r))}}function lc(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function sc(e,t){Dn=dl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function oc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,jo(e,n)}}var fl={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},Vf={readContext:Re,useCallback:function(e,t){return Be().memoizedState=[e,t===void 0?null:t],e},useContext:Re,useEffect:Qi,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$r(4194308,4,Zu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $r(4194308,4,e,t)},useInsertionEffect:function(e,t){return $r(4,2,e,t)},useMemo:function(e,t){var n=Be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Be();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=$f.bind(null,Y,e),[r.memoizedState,e]},useRef:function(e){var t=Be();return e={current:e},t.memoizedState=e},useState:Wi,useDebugValue:Wo,useDeferredValue:function(e){return Be().memoizedState=e},useTransition:function(){var e=Wi(!1),t=e[0];return e=Uf.bind(null,e[1]),Be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Y,l=Be();if(K){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),oe===null)throw Error(C(349));Dt&30||Bu(r,t,n)}l.memoizedState=n;var s={value:n,getSnapshot:t};return l.queue=s,Qi(Qu.bind(null,r,s,e),[e]),r.flags|=2048,rr(9,Wu.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Be(),t=oe.identifierPrefix;if(K){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=Af++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Bf={readContext:Re,useCallback:ec,useContext:Re,useEffect:Bo,useImperativeHandle:Ju,useInsertionEffect:Yu,useLayoutEffect:Xu,useMemo:tc,useReducer:rs,useRef:Gu,useState:function(){return rs(nr)},useDebugValue:Wo,useDeferredValue:function(e){var t=Ie();return nc(t,ne.memoizedState,e)},useTransition:function(){var e=rs(nr)[0],t=Ie().memoizedState;return[e,t]},useMutableSource:Hu,useSyncExternalStore:Vu,useId:rc,unstable_isNewReconciler:!1},Wf={readContext:Re,useCallback:ec,useContext:Re,useEffect:Bo,useImperativeHandle:Ju,useInsertionEffect:Yu,useLayoutEffect:Xu,useMemo:tc,useReducer:ls,useRef:Gu,useState:function(){return ls(nr)},useDebugValue:Wo,useDeferredValue:function(e){var t=Ie();return ne===null?t.memoizedState=e:nc(t,ne.memoizedState,e)},useTransition:function(){var e=ls(nr)[0],t=Ie().memoizedState;return[e,t]},useMutableSource:Hu,useSyncExternalStore:Vu,useId:rc,unstable_isNewReconciler:!1};function Oe(e,t){if(e&&e.defaultProps){t=X({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Vs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:X({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Pl={isMounted:function(e){return(e=e._reactInternals)?Ht(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ge(),l=yt(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),Ar(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ge(),l=yt(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),Ar(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ge(),r=yt(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),Ar(t,e,r))}};function qi(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 ic(e,t,n){var r=!1,l=kt,s=t.contextType;return typeof s=="object"&&s!==null?s=Re(s):(l=je(t)?Ft:me.current,r=t.contextTypes,s=(r=r!=null)?dn(e,l):kt),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Pl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=s),t}function Ki(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&&Pl.enqueueReplaceState(t,t.state,null)}function Bs(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Oo(e);var s=t.contextType;typeof s=="object"&&s!==null?l.context=Re(s):(s=je(t)?Ft:me.current,l.context=dn(e,s)),l.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Vs(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&&Pl.enqueueReplaceState(l,l.state,null),ul(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function hn(e,t){try{var n="",r=t;do n+=yd(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 ss(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ws(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Qf=typeof WeakMap=="function"?WeakMap:Map;function ac(e,t,n){n=Ze(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ml||(ml=!0,to=r),Ws(e,t)},n}function uc(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(){Ws(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Ws(e,t),typeof r!="function"&&(xt===null?xt=new Set([this]):xt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Gi(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Qf;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=op.bind(null,e,t,n),t.then(e,e))}function Yi(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 Xi(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 qf=rt.ReactCurrentOwner,we=!1;function he(e,t,n,r){t.child=e===null?Du(t,null,n,r):pn(t,e.child,n,r)}function Zi(e,t,n,r,l){n=n.render;var s=t.ref;return an(t,l),r=Ho(e,t,n,r,s,l),n=Vo(),e!==null&&!we?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,nt(e,t,l)):(K&&n&&To(t),t.flags|=1,he(e,t,r,l),t.child)}function Ji(e,t,n,r,l){if(e===null){var s=n.type;return typeof s=="function"&&!Jo(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,cc(e,t,s,r,l)):(e=Wr(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 cc(e,t,n,r,l){if(e!==null){var s=e.memoizedProps;if(Gn(s,r)&&e.ref===t.ref)if(we=!1,t.pendingProps=r=s,(e.lanes&l)!==0)e.flags&131072&&(we=!0);else return t.lanes=e.lanes,nt(e,t,l)}return Qs(e,t,n,r,l)}function dc(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(nn,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(nn,Se),Se|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,B(nn,Se),Se|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,B(nn,Se),Se|=r;return he(e,t,l,n),t.child}function fc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Qs(e,t,n,r,l){var s=je(n)?Ft:me.current;return s=dn(t,s),an(t,l),n=Ho(e,t,n,r,s,l),r=Vo(),e!==null&&!we?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,nt(e,t,l)):(K&&r&&To(t),t.flags|=1,he(e,t,n,l),t.child)}function ea(e,t,n,r,l){if(je(n)){var s=!0;ll(t)}else s=!1;if(an(t,l),t.stateNode===null)Hr(e,t),ic(t,n,r),Bs(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)?Ft:me.current,d=dn(t,d));var x=n.getDerivedStateFromProps,g=typeof x=="function"||typeof i.getSnapshotBeforeUpdate=="function";g||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||u!==d)&&Ki(t,i,r,d),ot=!1;var m=t.memoizedState;i.state=m,ul(t,r,i,l),u=t.memoizedState,a!==r||m!==u||ke.current||ot?(typeof x=="function"&&(Vs(t,n,x,r),u=t.memoizedState),(a=ot||qi(t,n,a,r,m,u,d))?(g||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,Uu(e,t),a=t.memoizedProps,d=t.type===t.elementType?a:Oe(t.type,a),i.props=d,g=t.pendingProps,m=i.context,u=n.contextType,typeof u=="object"&&u!==null?u=Re(u):(u=je(n)?Ft:me.current,u=dn(t,u));var w=n.getDerivedStateFromProps;(x=typeof w=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==g||m!==u)&&Ki(t,i,r,u),ot=!1,m=t.memoizedState,i.state=m,ul(t,r,i,l);var y=t.memoizedState;a!==g||m!==y||ke.current||ot?(typeof w=="function"&&(Vs(t,n,w,r),y=t.memoizedState),(d=ot||qi(t,n,d,r,m,y,u)||!1)?(x||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){fc(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return l&&Ai(t,n,!1),nt(e,t,s);r=t.stateNode,qf.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=pn(t,e.child,null,s),t.child=pn(t,null,a,s)):he(e,t,a,s),t.memoizedState=r.state,l&&Ai(t,n,!0),t.child}function pc(e){var t=e.stateNode;t.pendingContext?Di(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Di(e,t.context,!1),Do(e,t.containerInfo)}function ta(e,t,n,r,l){return fn(),Lo(l),t.flags|=256,he(e,t,n,r),t.child}var Ks={dehydrated:null,treeContext:null,retryLane:0};function Gs(e){return{baseLanes:e,cachePool:null,transitions:null}}function mc(e,t,n){var r=t.pendingProps,l=G.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(G,l&1),e===null)return $s(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=_l(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=Gs(n),t.memoizedState=Ks,e):Qo(t,i));if(l=e.memoizedState,l!==null&&(a=l.dehydrated,a!==null))return Kf(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?Gs(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=Ks,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 Qo(e,t){return t=_l({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function br(e,t,n,r){return r!==null&&Lo(r),pn(t,e.child,null,n),e=Qo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Kf(e,t,n,r,l,s,i){if(n)return t.flags&256?(t.flags&=-257,r=ss(Error(C(422))),br(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,l=t.mode,r=_l({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&&pn(t,e.child,null,i),t.child.memoizedState=Gs(i),t.memoizedState=Ks,s);if(!(t.mode&1))return br(e,t,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(C(419)),r=ss(s,r,void 0),br(e,t,i,r)}if(a=(i&e.childLanes)!==0,we||a){if(r=oe,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 Zo(),r=ss(Error(C(421))),br(e,t,i,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=ip.bind(null,e),l._reactRetry=t,null):(e=s.treeContext,Ce=ht(l.nextSibling),Ee=t,K=!0,Ae=null,e!==null&&(Te[_e++]=Ye,Te[_e++]=Xe,Te[_e++]=Ot,Ye=e.id,Xe=e.overflow,Ot=t),t=Qo(t,r.children),t.flags|=4096,t)}function na(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Hs(e.return,t,n)}function os(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 hc(e,t,n){var r=t.pendingProps,l=r.revealOrder,s=r.tail;if(he(e,t,r.children,n),r=G.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&&na(e,n,t);else if(e.tag===19)na(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(G,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&&cl(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),os(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&&cl(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}os(t,!0,n,null,s);break;case"together":os(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hr(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),At|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(C(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 Gf(e,t,n){switch(t.tag){case 3:pc(t),fn();break;case 5:$u(t);break;case 1:je(t.type)&&ll(t);break;case 4:Do(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;B(il,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(B(G,G.current&1),t.flags|=128,null):n&t.child.childLanes?mc(e,t,n):(B(G,G.current&1),e=nt(e,t,n),e!==null?e.sibling:null);B(G,G.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return hc(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),B(G,G.current),r)break;return null;case 22:case 23:return t.lanes=0,dc(e,t,n)}return nt(e,t,n)}var gc,Ys,xc,yc;gc=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}};Ys=function(){};xc=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,_t(qe.current);var s=null;switch(n){case"input":l=ys(e,l),r=ys(e,r),s=[];break;case"select":l=X({},l,{value:void 0}),r=X({},r,{value:void 0}),s=[];break;case"textarea":l=ks(e,l),r=ks(e,r),s=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=nl)}Ns(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"&&(Hn.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"&&(Hn.hasOwnProperty(d)?(u!=null&&d==="onScroll"&&Q("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)}};yc=function(e,t,n,r){n!==r&&(t.flags|=4)};function En(e,t){if(!K)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 Yf(e,t,n){var r=t.pendingProps;switch(_o(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)&&rl(),fe(t),null;case 3:return r=t.stateNode,mn(),q(ke),q(me),Uo(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Cr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ae!==null&&(lo(Ae),Ae=null))),Ys(e,t),fe(t),null;case 5:Ao(t);var l=_t(er.current);if(n=t.type,e!==null&&t.stateNode!=null)xc(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(C(166));return fe(t),null}if(e=_t(qe.current),Cr(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[We]=t,r[Zn]=s,e=(t.mode&1)!==0,n){case"dialog":Q("cancel",r),Q("close",r);break;case"iframe":case"object":case"embed":Q("load",r);break;case"video":case"audio":for(l=0;l<_n.length;l++)Q(_n[l],r);break;case"source":Q("error",r);break;case"img":case"image":case"link":Q("error",r),Q("load",r);break;case"details":Q("toggle",r);break;case"input":di(r,s),Q("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Q("invalid",r);break;case"textarea":pi(r,s),Q("invalid",r)}Ns(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&&Sr(r.textContent,a,e),l=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Sr(r.textContent,a,e),l=["children",""+a]):Hn.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&Q("scroll",r)}switch(n){case"input":gr(r),fi(r,s,!0);break;case"textarea":gr(r),mi(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=nl)}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=Qa(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[We]=t,e[Zn]=r,gc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ss(n,r),n){case"dialog":Q("cancel",e),Q("close",e),l=r;break;case"iframe":case"object":case"embed":Q("load",e),l=r;break;case"video":case"audio":for(l=0;l<_n.length;l++)Q(_n[l],e);l=r;break;case"source":Q("error",e),l=r;break;case"img":case"image":case"link":Q("error",e),Q("load",e),l=r;break;case"details":Q("toggle",e),l=r;break;case"input":di(e,r),l=ys(e,r),Q("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=X({},r,{value:void 0}),Q("invalid",e);break;case"textarea":pi(e,r),l=ks(e,r),Q("invalid",e);break;default:l=r}Ns(n,l),a=l;for(s in a)if(a.hasOwnProperty(s)){var u=a[s];s==="style"?Ga(e,u):s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&qa(e,u)):s==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&Vn(e,u):typeof u=="number"&&Vn(e,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Hn.hasOwnProperty(s)?u!=null&&s==="onScroll"&&Q("scroll",e):u!=null&&go(e,s,u,i))}switch(n){case"input":gr(e),fi(e,r,!1);break;case"textarea":gr(e),mi(e);break;case"option":r.value!=null&&e.setAttribute("value",""+wt(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?rn(e,!!r.multiple,s,!1):r.defaultValue!=null&&rn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=nl)}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)yc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(C(166));if(n=_t(er.current),_t(qe.current),Cr(t)){if(r=t.stateNode,n=t.memoizedProps,r[We]=t,(s=r.nodeValue!==n)&&(e=Ee,e!==null))switch(e.tag){case 3:Sr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Sr(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[We]=t,t.stateNode=r}return fe(t),null;case 13:if(q(G),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(K&&Ce!==null&&t.mode&1&&!(t.flags&128))Fu(),fn(),t.flags|=98560,s=!1;else if(s=Cr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(C(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(C(317));s[We]=t}else fn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;fe(t),s=!1}else Ae!==null&&(lo(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||G.current&1?re===0&&(re=3):Zo())),t.updateQueue!==null&&(t.flags|=4),fe(t),null);case 4:return mn(),Ys(e,t),e===null&&Yn(t.stateNode.containerInfo),fe(t),null;case 10:return Io(t.type._context),fe(t),null;case 17:return je(t.type)&&rl(),fe(t),null;case 19:if(q(G),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(re!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=cl(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(G,G.current&1|2),t.child}e=e.sibling}s.tail!==null&&ee()>gn&&(t.flags|=128,r=!0,En(s,!1),t.lanes=4194304)}else{if(!r)if(e=cl(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&&!K)return fe(t),null}else 2*ee()-s.renderingStartTime>gn&&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=ee(),t.sibling=null,n=G.current,B(G,r?n&1|2:n&1),t):(fe(t),null);case 22:case 23:return Xo(),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(C(156,t.tag))}function Xf(e,t){switch(_o(t),t.tag){case 1:return je(t.type)&&rl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return mn(),q(ke),q(me),Uo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ao(t),null;case 13:if(q(G),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));fn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return q(G),null;case 4:return mn(),null;case 10:return Io(t.type._context),null;case 22:case 23:return Xo(),null;case 24:return null;default:return null}}var Pr=!1,pe=!1,Zf=typeof WeakSet=="function"?WeakSet:Set,L=null;function tn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Z(e,t,r)}else n.current=null}function Xs(e,t,n){try{n()}catch(r){Z(e,t,r)}}var ra=!1;function Jf(e,t){if(Rs=Jr,e=Nu(),zo(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,x=0,g=e,m=null;t:for(;;){for(var w;g!==n||l!==0&&g.nodeType!==3||(a=i+l),g!==s||r!==0&&g.nodeType!==3||(u=i+r),g.nodeType===3&&(i+=g.nodeValue.length),(w=g.firstChild)!==null;)m=g,g=w;for(;;){if(g===e)break t;if(m===n&&++d===l&&(a=i),m===s&&++x===r&&(u=i),(w=g.nextSibling)!==null)break;g=m,m=g.parentNode}g=w}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Is={focusedElem:e,selectionRange:n},Jr=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;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,N=y.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:Oe(t.type,k),N);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(C(163))}}catch(v){Z(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return y=ra,ra=!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&&Xs(t,n,s)}l=l.next}while(l!==r)}}function zl(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 Zs(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 vc(e){var t=e.alternate;t!==null&&(e.alternate=null,vc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[We],delete t[Zn],delete t[Ds],delete t[If],delete t[Ff])),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 wc(e){return e.tag===5||e.tag===3||e.tag===4}function la(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wc(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 Js(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=nl));else if(r!==4&&(e=e.child,e!==null))for(Js(e,t,n),e=e.sibling;e!==null;)Js(e,t,n),e=e.sibling}function eo(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(eo(e,t,n),e=e.sibling;e!==null;)eo(e,t,n),e=e.sibling}var ie=null,De=!1;function lt(e,t,n){for(n=n.child;n!==null;)kc(e,t,n),n=n.sibling}function kc(e,t,n){if(Qe&&typeof Qe.onCommitFiberUnmount=="function")try{Qe.onCommitFiberUnmount(kl,n)}catch{}switch(n.tag){case 5:pe||tn(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?Jl(e.parentNode,n):e.nodeType===1&&Jl(e,n),qn(e)):Jl(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)&&Xs(n,t,i),l=l.next}while(l!==r)}lt(e,t,n);break;case 1:if(!pe&&(tn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Z(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 sa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Zf),t.forEach(function(r){var l=ap.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(C(160));kc(s,i,l),ie=null,De=!1;var u=l.alternate;u!==null&&(u.return=null),l.return=null}catch(d){Z(l,t,d)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)jc(t,e),t=t.sibling}function jc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Fe(t,e),Ve(e),r&4){try{An(3,e,e.return),zl(3,e)}catch(k){Z(e,e.return,k)}try{An(5,e,e.return)}catch(k){Z(e,e.return,k)}}break;case 1:Fe(t,e),Ve(e),r&512&&n!==null&&tn(n,n.return);break;case 5:if(Fe(t,e),Ve(e),r&512&&n!==null&&tn(n,n.return),e.flags&32){var l=e.stateNode;try{Vn(l,"")}catch(k){Z(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&&Ba(l,s),Ss(a,i);var d=Ss(a,s);for(i=0;i<u.length;i+=2){var x=u[i],g=u[i+1];x==="style"?Ga(l,g):x==="dangerouslySetInnerHTML"?qa(l,g):x==="children"?Vn(l,g):go(l,x,g,d)}switch(a){case"input":vs(l,s);break;case"textarea":Wa(l,s);break;case"select":var m=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!s.multiple;var w=s.value;w!=null?rn(l,!!s.multiple,w,!1):m!==!!s.multiple&&(s.defaultValue!=null?rn(l,!!s.multiple,s.defaultValue,!0):rn(l,!!s.multiple,s.multiple?[]:"",!1))}l[Zn]=s}catch(k){Z(e,e.return,k)}}break;case 6:if(Fe(t,e),Ve(e),r&4){if(e.stateNode===null)throw Error(C(162));l=e.stateNode,s=e.memoizedProps;try{l.nodeValue=s}catch(k){Z(e,e.return,k)}}break;case 3:if(Fe(t,e),Ve(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{qn(t.containerInfo)}catch(k){Z(e,e.return,k)}break;case 4:Fe(t,e),Ve(e);break;case 13:Fe(t,e),Ve(e),l=e.child,l.flags&8192&&(s=l.memoizedState!==null,l.stateNode.isHidden=s,!s||l.alternate!==null&&l.alternate.memoizedState!==null||(Go=ee())),r&4&&sa(e);break;case 22:if(x=n!==null&&n.memoizedState!==null,e.mode&1?(pe=(d=pe)||x,Fe(t,e),pe=d):Fe(t,e),Ve(e),r&8192){if(d=e.memoizedState!==null,(e.stateNode.isHidden=d)&&!x&&e.mode&1)for(L=e,x=e.child;x!==null;){for(g=L=x;L!==null;){switch(m=L,w=m.child,m.tag){case 0:case 11:case 14:case 15:An(4,m,m.return);break;case 1:tn(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){Z(r,n,k)}}break;case 5:tn(m,m.return);break;case 22:if(m.memoizedState!==null){ia(g);continue}}w!==null?(w.return=m,L=w):ia(g)}x=x.sibling}e:for(x=null,g=e;;){if(g.tag===5){if(x===null){x=g;try{l=g.stateNode,d?(s=l.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=g.stateNode,u=g.memoizedProps.style,i=u!=null&&u.hasOwnProperty("display")?u.display:null,a.style.display=Ka("display",i))}catch(k){Z(e,e.return,k)}}}else if(g.tag===6){if(x===null)try{g.stateNode.nodeValue=d?"":g.memoizedProps}catch(k){Z(e,e.return,k)}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===e)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break e;for(;g.sibling===null;){if(g.return===null||g.return===e)break e;x===g&&(x=null),g=g.return}x===g&&(x=null),g.sibling.return=g.return,g=g.sibling}}break;case 19:Fe(t,e),Ve(e),r&4&&sa(e);break;case 21:break;default:Fe(t,e),Ve(e)}}function Ve(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(wc(n)){var r=n;break e}n=n.return}throw Error(C(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Vn(l,""),r.flags&=-33);var s=la(e);eo(e,s,l);break;case 3:case 4:var i=r.stateNode.containerInfo,a=la(e);Js(e,a,i);break;default:throw Error(C(161))}}catch(u){Z(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ep(e,t,n){L=e,Nc(e)}function Nc(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var l=L,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(L=l;L!==null;)i=L,u=i.child,i.tag===22&&i.memoizedState!==null?aa(l):u!==null?(u.return=i,L=u):aa(l);for(;s!==null;)L=s,Nc(s),s=s.sibling;L=l,Pr=a,pe=d}oa(e)}else l.subtreeFlags&8772&&s!==null?(s.return=l,L=s):oa(e)}}function oa(e){for(;L!==null;){var t=L;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:pe||zl(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&&Bi(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}Bi(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 x=d.memoizedState;if(x!==null){var g=x.dehydrated;g!==null&&qn(g)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(C(163))}pe||t.flags&512&&Zs(t)}catch(m){Z(t,t.return,m)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function ia(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function aa(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{zl(4,t)}catch(u){Z(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(u){Z(t,l,u)}}var s=t.return;try{Zs(t)}catch(u){Z(t,s,u)}break;case 5:var i=t.return;try{Zs(t)}catch(u){Z(t,i,u)}}}catch(u){Z(t,t.return,u)}if(t===e){L=null;break}var a=t.sibling;if(a!==null){a.return=t.return,L=a;break}L=t.return}}var tp=Math.ceil,pl=rt.ReactCurrentDispatcher,qo=rt.ReactCurrentOwner,Me=rt.ReactCurrentBatchConfig,H=0,oe=null,te=null,ue=0,Se=0,nn=Nt(0),re=0,lr=null,At=0,Tl=0,Ko=0,Un=null,ve=null,Go=0,gn=1/0,Ke=null,ml=!1,to=null,xt=null,zr=!1,ct=null,hl=0,$n=0,no=null,Vr=-1,Br=0;function ge(){return H&6?ee():Vr!==-1?Vr:Vr=ee()}function yt(e){return e.mode&1?H&2&&ue!==0?ue&-ue:Df.transition!==null?(Br===0&&(Br=iu()),Br):(e=V,e!==0||(e=window.event,e=e===void 0?16:mu(e.type)),e):1}function $e(e,t,n,r){if(50<$n)throw $n=0,no=null,Error(C(185));ar(e,n,r),(!(H&2)||e!==oe)&&(e===oe&&(!(H&2)&&(Tl|=n),re===4&&at(e,ue)),Ne(e,r),n===1&&H===0&&!(t.mode&1)&&(gn=ee()+500,El&&St()))}function Ne(e,t){var n=e.callbackNode;Od(e,t);var r=Zr(e,e===oe?ue:0);if(r===0)n!==null&&xi(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&xi(n),t===1)e.tag===0?Of(ua.bind(null,e)):Mu(ua.bind(null,e)),Mf(function(){!(H&6)&&St()}),n=null;else{switch(au(r)){case 1:n=ko;break;case 4:n=su;break;case 16:n=Xr;break;case 536870912:n=ou;break;default:n=Xr}n=_c(n,Sc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Sc(e,t){if(Vr=-1,Br=0,H&6)throw Error(C(327));var n=e.callbackNode;if(un()&&e.callbackNode!==n)return null;var r=Zr(e,e===oe?ue:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=gl(e,r);else{t=r;var l=H;H|=2;var s=Ec();(oe!==e||ue!==t)&&(Ke=null,gn=ee()+500,Lt(e,t));do try{lp();break}catch(a){Cc(e,a)}while(!0);Ro(),pl.current=s,H=l,te!==null?t=0:(oe=null,ue=0,t=re)}if(t!==0){if(t===2&&(l=zs(e),l!==0&&(r=l,t=ro(e,l))),t===1)throw n=lr,Lt(e,0),at(e,r),Ne(e,ee()),n;if(t===6)at(e,r);else{if(l=e.current.alternate,!(r&30)&&!np(l)&&(t=gl(e,r),t===2&&(s=zs(e),s!==0&&(r=s,t=ro(e,s))),t===1))throw n=lr,Lt(e,0),at(e,r),Ne(e,ee()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(C(345));case 2:Pt(e,ve,Ke);break;case 3:if(at(e,r),(r&130023424)===r&&(t=Go+500-ee(),10<t)){if(Zr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){ge(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Os(Pt.bind(null,e,ve,Ke),t);break}Pt(e,ve,Ke);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=ee()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*tp(r/1960))-r,10<r){e.timeoutHandle=Os(Pt.bind(null,e,ve,Ke),r);break}Pt(e,ve,Ke);break;case 5:Pt(e,ve,Ke);break;default:throw Error(C(329))}}}return Ne(e,ee()),e.callbackNode===n?Sc.bind(null,e):null}function ro(e,t){var n=Un;return e.current.memoizedState.isDehydrated&&(Lt(e,t).flags|=256),e=gl(e,t),e!==2&&(t=ve,ve=n,t!==null&&lo(t)),e}function lo(e){ve===null?ve=e:ve.push.apply(ve,e)}function np(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(!He(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&=~Ko,t&=~Tl,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 ua(e){if(H&6)throw Error(C(327));un();var t=Zr(e,0);if(!(t&1))return Ne(e,ee()),null;var n=gl(e,t);if(e.tag!==0&&n===2){var r=zs(e);r!==0&&(t=r,n=ro(e,r))}if(n===1)throw n=lr,Lt(e,0),at(e,t),Ne(e,ee()),n;if(n===6)throw Error(C(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Pt(e,ve,Ke),Ne(e,ee()),null}function Yo(e,t){var n=H;H|=1;try{return e(t)}finally{H=n,H===0&&(gn=ee()+500,El&&St())}}function Ut(e){ct!==null&&ct.tag===0&&!(H&6)&&un();var t=H;H|=1;var n=Me.transition,r=V;try{if(Me.transition=null,V=1,e)return e()}finally{V=r,Me.transition=n,H=t,!(H&6)&&St()}}function Xo(){Se=nn.current,q(nn)}function Lt(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Lf(n)),te!==null)for(n=te.return;n!==null;){var r=n;switch(_o(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&rl();break;case 3:mn(),q(ke),q(me),Uo();break;case 5:Ao(r);break;case 4:mn();break;case 13:q(G);break;case 19:q(G);break;case 10:Io(r.type._context);break;case 22:case 23:Xo()}n=n.return}if(oe=e,te=e=vt(e.current,null),ue=Se=t,re=0,lr=null,Ko=Tl=At=0,ve=Un=null,Tt!==null){for(t=0;t<Tt.length;t++)if(n=Tt[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}Tt=null}return e}function Cc(e,t){do{var n=te;try{if(Ro(),Ur.current=fl,dl){for(var r=Y.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}dl=!1}if(Dt=0,se=ne=Y=null,Dn=!1,tr=0,qo.current=null,n===null||n.return===null){re=1,lr=t,te=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,x=a,g=x.tag;if(!(x.mode&1)&&(g===0||g===11||g===15)){var m=x.alternate;m?(x.updateQueue=m.updateQueue,x.memoizedState=m.memoizedState,x.lanes=m.lanes):(x.updateQueue=null,x.memoizedState=null)}var w=Yi(i);if(w!==null){w.flags&=-257,Xi(w,i,a,s,t),w.mode&1&&Gi(s,d,t),t=w,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)){Gi(s,d,t),Zo();break e}u=Error(C(426))}}else if(K&&a.mode&1){var N=Yi(i);if(N!==null){!(N.flags&65536)&&(N.flags|=256),Xi(N,i,a,s,t),Lo(hn(u,a));break e}}s=u=hn(u,a),re!==4&&(re=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=ac(s,u,t);Vi(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"&&(xt===null||!xt.has(p)))){s.flags|=65536,t&=-t,s.lanes|=t;var v=uc(s,a,t);Vi(s,v);break e}}s=s.return}while(s!==null)}Pc(n)}catch(S){t=S,te===n&&n!==null&&(te=n=n.return);continue}break}while(!0)}function Ec(){var e=pl.current;return pl.current=fl,e===null?fl:e}function Zo(){(re===0||re===3||re===2)&&(re=4),oe===null||!(At&268435455)&&!(Tl&268435455)||at(oe,ue)}function gl(e,t){var n=H;H|=2;var r=Ec();(oe!==e||ue!==t)&&(Ke=null,Lt(e,t));do try{rp();break}catch(l){Cc(e,l)}while(!0);if(Ro(),H=n,pl.current=r,te!==null)throw Error(C(261));return oe=null,ue=0,re}function rp(){for(;te!==null;)bc(te)}function lp(){for(;te!==null&&!Pd();)bc(te)}function bc(e){var t=Tc(e.alternate,e,Se);e.memoizedProps=e.pendingProps,t===null?Pc(e):te=t,qo.current=null}function Pc(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Xf(n,t),n!==null){n.flags&=32767,te=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{re=6,te=null;return}}else if(n=Yf(n,t,Se),n!==null){te=n;return}if(t=t.sibling,t!==null){te=t;return}te=t=e}while(t!==null);re===0&&(re=5)}function Pt(e,t,n){var r=V,l=Me.transition;try{Me.transition=null,V=1,sp(e,t,n,r)}finally{Me.transition=l,V=r}return null}function sp(e,t,n,r){do un();while(ct!==null);if(H&6)throw Error(C(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(C(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Dd(e,s),e===oe&&(te=oe=null,ue=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||zr||(zr=!0,_c(Xr,function(){return un(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=Me.transition,Me.transition=null;var i=V;V=1;var a=H;H|=4,qo.current=null,Jf(e,n),jc(n,e),Cf(Is),Jr=!!Rs,Is=Rs=null,e.current=n,ep(n),zd(),H=a,V=i,Me.transition=s}else e.current=n;if(zr&&(zr=!1,ct=e,hl=l),s=e.pendingLanes,s===0&&(xt=null),Ld(n.stateNode),Ne(e,ee()),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(ml)throw ml=!1,e=to,to=null,e;return hl&1&&e.tag!==0&&un(),s=e.pendingLanes,s&1?e===no?$n++:($n=0,no=e):$n=0,St(),null}function un(){if(ct!==null){var e=au(hl),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,hl=0,H&6)throw Error(C(331));var l=H;for(H|=4,L=e.current;L!==null;){var s=L,i=s.child;if(L.flags&16){var a=s.deletions;if(a!==null){for(var u=0;u<a.length;u++){var d=a[u];for(L=d;L!==null;){var x=L;switch(x.tag){case 0:case 11:case 15:An(8,x,s)}var g=x.child;if(g!==null)g.return=x,L=g;else for(;L!==null;){x=L;var m=x.sibling,w=x.return;if(vc(x),x===d){L=null;break}if(m!==null){m.return=w,L=m;break}L=w}}}var y=s.alternate;if(y!==null){var k=y.child;if(k!==null){y.child=null;do{var N=k.sibling;k.sibling=null,k=N}while(k!==null)}}L=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,L=i;else e:for(;L!==null;){if(s=L,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,L=f;break e}L=s.return}}var c=e.current;for(L=c;L!==null;){i=L;var p=i.child;if(i.subtreeFlags&2064&&p!==null)p.return=i,L=p;else e:for(i=c;L!==null;){if(a=L,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:zl(9,a)}}catch(S){Z(a,a.return,S)}if(a===i){L=null;break e}var v=a.sibling;if(v!==null){v.return=a.return,L=v;break e}L=a.return}}if(H=l,St(),Qe&&typeof Qe.onPostCommitFiberRoot=="function")try{Qe.onPostCommitFiberRoot(kl,e)}catch{}r=!0}return r}finally{V=n,Me.transition=t}}return!1}function ca(e,t,n){t=hn(n,t),t=ac(e,t,1),e=gt(e,t,1),t=ge(),e!==null&&(ar(e,1,t),Ne(e,t))}function Z(e,t,n){if(e.tag===3)ca(e,e,n);else for(;t!==null;){if(t.tag===3){ca(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(xt===null||!xt.has(r))){e=hn(n,e),e=uc(t,e,1),t=gt(t,e,1),e=ge(),t!==null&&(ar(t,1,e),Ne(t,e));break}}t=t.return}}function op(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ge(),e.pingedLanes|=e.suspendedLanes&n,oe===e&&(ue&n)===n&&(re===4||re===3&&(ue&130023424)===ue&&500>ee()-Go?Lt(e,0):Ko|=n),Ne(e,t)}function zc(e,t){t===0&&(e.mode&1?(t=vr,vr<<=1,!(vr&130023424)&&(vr=4194304)):t=1);var n=ge();e=tt(e,t),e!==null&&(ar(e,t,n),Ne(e,n))}function ip(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),zc(e,n)}function ap(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(C(314))}r!==null&&r.delete(t),zc(e,n)}var Tc;Tc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ke.current)we=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return we=!1,Gf(e,t,n);we=!!(e.flags&131072)}else we=!1,K&&t.flags&1048576&&Ru(t,ol,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hr(e,t),e=t.pendingProps;var l=dn(t,me.current);an(t,n),l=Ho(null,t,r,e,l,n);var s=Vo();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,ll(t)):s=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Oo(t),l.updater=Pl,t.stateNode=l,l._reactInternals=t,Bs(t,r,e,n),t=qs(null,t,r,!0,s,n)):(t.tag=0,K&&s&&To(t),he(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=cp(r),e=Oe(r,e),l){case 0:t=Qs(null,t,r,e,n);break e;case 1:t=ea(null,t,r,e,n);break e;case 11:t=Zi(null,t,r,e,n);break e;case 14:t=Ji(null,t,r,Oe(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Oe(r,l),Qs(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Oe(r,l),ea(e,t,r,l,n);case 3:e:{if(pc(t),e===null)throw Error(C(387));r=t.pendingProps,s=t.memoizedState,l=s.element,Uu(e,t),ul(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=hn(Error(C(423)),t),t=ta(e,t,r,n,l);break e}else if(r!==l){l=hn(Error(C(424)),t),t=ta(e,t,r,n,l);break e}else for(Ce=ht(t.stateNode.containerInfo.firstChild),Ee=t,K=!0,Ae=null,n=Du(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fn(),r===l){t=nt(e,t,n);break e}he(e,t,r,n)}t=t.child}return t;case 5:return $u(t),e===null&&$s(t),r=t.type,l=t.pendingProps,s=e!==null?e.memoizedProps:null,i=l.children,Fs(r,l)?i=null:s!==null&&Fs(r,s)&&(t.flags|=32),fc(e,t),he(e,t,i,n),t.child;case 6:return e===null&&$s(t),null;case 13:return mc(e,t,n);case 4:return Do(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=pn(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),Zi(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(il,r._currentValue),r._currentValue=i,s!==null)if(He(s.value,i)){if(s.children===l.children&&!ke.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 x=d.pending;x===null?u.next=u:(u.next=x.next,x.next=u),d.pending=u}}s.lanes|=n,u=s.alternate,u!==null&&(u.lanes|=n),Hs(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(C(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Hs(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,an(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),Ji(e,t,r,l,n);case 15:return cc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Oe(r,l),Hr(e,t),t.tag=1,je(r)?(e=!0,ll(t)):e=!1,an(t,n),ic(t,r,l),Bs(t,r,l,n),qs(null,t,r,!0,e,n);case 19:return hc(e,t,n);case 22:return dc(e,t,n)}throw Error(C(156,t.tag))};function _c(e,t){return lu(e,t)}function up(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 up(e,t,n,r)}function Jo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function cp(e){if(typeof e=="function")return Jo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yo)return 11;if(e===vo)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 Wr(e,t,n,r,l,s){var i=2;if(r=e,typeof e=="function")Jo(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Qt:return Mt(n.children,l,s,t);case xo:i=8,l|=8;break;case ms:return e=Le(12,n,t,l|2),e.elementType=ms,e.lanes=s,e;case hs:return e=Le(13,n,t,l),e.elementType=hs,e.lanes=s,e;case gs:return e=Le(19,n,t,l),e.elementType=gs,e.lanes=s,e;case $a:return _l(n,l,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Aa:i=10;break e;case Ua:i=9;break e;case yo:i=11;break e;case vo:i=14;break e;case st:i=16,r=null;break e}throw Error(C(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 _l(e,t,n,r){return e=Le(22,e,r,t),e.elementType=$a,e.lanes=n,e.stateNode={isHidden:!1},e}function is(e,t,n){return e=Le(6,e,null,t),e.lanes=n,e}function as(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 dp(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=Hl(0),this.expirationTimes=Hl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function ei(e,t,n,r,l,s,i,a,u){return e=new dp(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},Oo(s),e}function fp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Wt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Lc(e){if(!e)return kt;e=e._reactInternals;e:{if(Ht(e)!==e||e.tag!==1)throw Error(C(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(C(171))}if(e.tag===1){var n=e.type;if(je(n))return Lu(e,n,t)}return t}function Mc(e,t,n,r,l,s,i,a,u){return e=ei(n,r,!0,e,l,s,i,a,u),e.context=Lc(null),n=e.current,r=ge(),l=yt(n),s=Ze(r,l),s.callback=t??null,gt(n,s,l),e.current.lanes=l,ar(e,l,r),Ne(e,r),e}function Ll(e,t,n,r){var l=t.current,s=ge(),i=yt(l);return n=Lc(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),Ar(e,l,i)),i}function xl(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 da(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ti(e,t){da(e,t),(e=e.alternate)&&da(e,t)}function pp(){return null}var Rc=typeof reportError=="function"?reportError:function(e){console.error(e)};function ni(e){this._internalRoot=e}Ml.prototype.render=ni.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(C(409));Ll(e,t,null,null)};Ml.prototype.unmount=ni.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ut(function(){Ll(null,e,null,null)}),t[et]=null}};function Ml(e){this._internalRoot=e}Ml.prototype.unstable_scheduleHydration=function(e){if(e){var t=du();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&&pu(e)}};function ri(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Rl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function fa(){}function mp(e,t,n,r,l){if(l){if(typeof r=="function"){var s=r;r=function(){var d=xl(i);s.call(d)}}var i=Mc(t,r,e,0,null,!1,!1,"",fa);return e._reactRootContainer=i,e[et]=i.current,Yn(e.nodeType===8?e.parentNode:e),Ut(),i}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var a=r;r=function(){var d=xl(u);a.call(d)}}var u=ei(e,0,!1,null,null,!1,!1,"",fa);return e._reactRootContainer=u,e[et]=u.current,Yn(e.nodeType===8?e.parentNode:e),Ut(function(){Ll(t,u,n,r)}),u}function Il(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=xl(i);a.call(u)}}Ll(t,i,e,l)}else i=mp(n,t,e,l,r);return xl(i)}uu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Tn(t.pendingLanes);n!==0&&(jo(t,n|1),Ne(t,ee()),!(H&6)&&(gn=ee()+500,St()))}break;case 13:Ut(function(){var r=tt(e,1);if(r!==null){var l=ge();$e(r,e,1,l)}}),ti(e,1)}};No=function(e){if(e.tag===13){var t=tt(e,134217728);if(t!==null){var n=ge();$e(t,e,134217728,n)}ti(e,134217728)}};cu=function(e){if(e.tag===13){var t=yt(e),n=tt(e,t);if(n!==null){var r=ge();$e(n,e,t,r)}ti(e,t)}};du=function(){return V};fu=function(e,t){var n=V;try{return V=e,t()}finally{V=n}};Es=function(e,t,n){switch(t){case"input":if(vs(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=Cl(r);if(!l)throw Error(C(90));Va(r),vs(r,l)}}}break;case"textarea":Wa(e,n);break;case"select":t=n.value,t!=null&&rn(e,!!n.multiple,t,!1)}};Za=Yo;Ja=Ut;var hp={usingClientEntryPoint:!1,Events:[cr,Yt,Cl,Ya,Xa,Yo]},bn={findFiberByHostInstance:zt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},gp={bundleType:bn.bundleType,version:bn.version,rendererPackageName:bn.rendererPackageName,rendererConfig:bn.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=nu(e),e===null?null:e.stateNode},findFiberByHostInstance:bn.findFiberByHostInstance||pp,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 Tr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tr.isDisabled&&Tr.supportsFiber)try{kl=Tr.inject(gp),Qe=Tr}catch{}}Pe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hp;Pe.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ri(t))throw Error(C(200));return fp(e,t,null,n)};Pe.createRoot=function(e,t){if(!ri(e))throw Error(C(299));var n=!1,r="",l=Rc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=ei(e,1,!1,null,null,n,!1,r,l),e[et]=t.current,Yn(e.nodeType===8?e.parentNode:e),new ni(t)};Pe.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(C(188)):(e=Object.keys(e).join(","),Error(C(268,e)));return e=nu(t),e=e===null?null:e.stateNode,e};Pe.flushSync=function(e){return Ut(e)};Pe.hydrate=function(e,t,n){if(!Rl(t))throw Error(C(200));return Il(null,e,t,!0,n)};Pe.hydrateRoot=function(e,t,n){if(!ri(e))throw Error(C(405));var r=n!=null&&n.hydratedSources||null,l=!1,s="",i=Rc;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Mc(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 Ml(t)};Pe.render=function(e,t,n){if(!Rl(t))throw Error(C(200));return Il(null,e,t,!1,n)};Pe.unmountComponentAtNode=function(e){if(!Rl(e))throw Error(C(40));return e._reactRootContainer?(Ut(function(){Il(null,null,e,!1,function(){e._reactRootContainer=null,e[et]=null})}),!0):!1};Pe.unstable_batchedUpdates=Yo;Pe.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Rl(n))throw Error(C(200));if(e==null||e._reactInternals===void 0)throw Error(C(38));return Il(e,t,n,!1,r)};Pe.version="18.3.1-next-f1338f8080-20240426";function Ic(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ic)}catch(e){console.error(e)}}Ic(),Ia.exports=Pe;var li=Ia.exports,pa=li;fs.createRoot=pa.createRoot,fs.hydrateRoot=pa.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 xp={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 yp=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),O=(e,t)=>{const n=j.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:s=2,absoluteStrokeWidth:i,className:a="",children:u,...d},x)=>j.createElement("svg",{ref:x,...xp,width:l,height:l,stroke:r,strokeWidth:i?Number(s)*24/Number(l):s,className:["lucide",`lucide-${yp(e)}`,a].join(" "),...d},[...t.map(([g,m])=>j.createElement(g,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 vp=O("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 wp=O("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
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 kp=O("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"}]]);/**
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 jp=O("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"}]]);/**
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 Qr=O("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
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 Fc=O("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"}]]);/**
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 Rt=O("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"}]]);/**
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 It=O("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"}]]);/**
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 Np=O("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"}]]);/**
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 yl=O("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"}]]);/**
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 Sp=O("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"}]]);/**
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 Cp=O("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
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 Ep=O("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"}]]);/**
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 Bt=O("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
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 Oc=O("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"}]]);/**
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 bp=O("MessageCircle",[["path",{d:"m3 21 1.9-5.7a8.5 8.5 0 1 1 3.8 3.8z",key:"v2veuj"}]]);/**
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 Pp=O("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"}]]);/**
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 zp=O("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"}]]);/**
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 ma=O("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"}]]);/**
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 Tp=O("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"}]]);/**
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 _p=O("Pause",[["rect",{width:"4",height:"16",x:"6",y:"4",key:"iffhe4"}],["rect",{width:"4",height:"16",x:"14",y:"4",key:"sjin7j"}]]);/**
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 Lp=O("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"}]]);/**
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 Mp=O("Pen",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}]]);/**
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 Rp=O("Play",[["polygon",{points:"5 3 19 12 5 21 5 3",key:"191637"}]]);/**
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 Dc=O("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
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 so=O("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"}]]);/**
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 Ip=O("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"}]]);/**
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 us=O("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"}]]);/**
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 oo=O("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]);/**
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 io=O("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"}]]);/**
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 Fp=O("Shield",[["path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10",key:"1irkt0"}]]);/**
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 Op=O("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"}]]);/**
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 ao=O("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
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 sr=O("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"}]]);/**
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 Dp=O("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"}]]);/**
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 Ap=O("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"}]]);/**
231
+ * @license lucide-react v0.294.0 - ISC
232
+ *
233
+ * This source code is licensed under the ISC license.
234
+ * See the LICENSE file in the root directory of this source tree.
235
+ */const ha=O("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"}]]);/**
236
+ * @license lucide-react v0.294.0 - ISC
237
+ *
238
+ * This source code is licensed under the ISC license.
239
+ * See the LICENSE file in the root directory of this source tree.
240
+ */const Up=O("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"}]]);/**
241
+ * @license lucide-react v0.294.0 - ISC
242
+ *
243
+ * This source code is licensed under the ISC license.
244
+ * See the LICENSE file in the root directory of this source tree.
245
+ */const or=O("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
246
+ * @license lucide-react v0.294.0 - ISC
247
+ *
248
+ * This source code is licensed under the ISC license.
249
+ * See the LICENSE file in the root directory of this source tree.
250
+ */const $p=O("Zap",[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2",key:"45s27k"}]]),Hp=({activeTab:e,onTabChange:t,accountInfo:n})=>{const r=[{id:"dashboard",icon:Ep,label:"Dashboard"},{id:"onebot",icon:so,label:"OneBot 11"},{id:"satori",icon:Fc,label:"Satori"},{id:"milky",icon:zp,label:"Milky"},{id:"logs",icon:ao,label:"日志"},{id:"other",icon:Op,label:"其他配置"},{id:"about",icon:Cp,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})]})]})})]})},ga=({children:e})=>{const t=j.useRef(null);return t.current||(t.current=document.createElement("div")),j.useEffect(()=>{const n=document.body,r=t.current;return n.appendChild(r),()=>{n.removeChild(r)}},[]),li.createPortal(e,t.current)},Vp=({message:e,type:t="success",duration:n=3e3,onClose:r})=>{const[l,s]=j.useState(!0);j.useEffect(()=>{const u=setTimeout(()=>{s(!1),setTimeout(r,300)},n);return()=>clearTimeout(u)},[n,r]);const i={success:o.jsx(jp,{className:"w-5 h-5"}),error:o.jsx(Up,{className:"w-5 h-5"}),warning:o.jsx(vp,{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(or,{size:18})})]})};let Bp=0;const qr=[];let vl=[];const Ac=()=>{qr.forEach(e=>e([...vl]))},ae=(e,t="success",n=3e3)=>{const r=Bp++;vl.push({id:r,message:e,type:t,duration:n}),Ac()},xa=()=>{const[e,t]=j.useState([]);j.useEffect(()=>{const l=s=>t(s);return qr.push(l),()=>{const s=qr.indexOf(l);s>-1&&qr.splice(s,1)}},[]);const n=l=>{vl=vl.filter(s=>s.id!==l),Ac()},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(Vp,{message:l.message,type:l.type,duration:l.duration,onClose:()=>n(l.id)})},l.id))});return li.createPortal(r,document.body)},Wp=({config:e,onChange:t,onSave:n,globalConfig:r})=>{const[l,s]=j.useState(null),[i,a]=j.useState(-1),[u,d]=j.useState(!1),[x,g]=j.useState(!1),[m,w]=j.useState(!1),[y,k]=j.useState(!1),[N,f]=j.useState(""),[c,p]=j.useState(!1),v={ws:{icon:so,name:"WebSocket正向",desc:"提供WebSocket服务器"},"ws-reverse":{icon:ha,name:"WebSocket反向",desc:"作为客户端连接到WebSocket服务"},http:{icon:yl,name:"HTTP服务",desc:"提供HTTP API服务"},"http-post":{icon:oo,name:"HTTP上报",desc:"上报事件到HTTP服务器"}},S=(h,_)=>{s(h),a(_),w(!1),k(!1),f(h.name||""),p(!1),d(!0)},E=h=>{h.stopPropagation(),k(!0)},P=()=>{if(!l)return;const h={...l,name:N.trim()};s(h),k(!1)},T=()=>{f((l==null?void 0:l.name)||""),k(!1)},I=()=>{var M;if(!l)return;if((l.type==="ws"||l.type==="http")&&!r.onlyLocalhost&&!((M=l.token)!=null&&M.trim())){ae('当"只监听本地地址"关闭时,必须设置 Token!',"error");return}let _;if(m)_=[...e.connect,l];else{if(i<0)return;_=[...e.connect],_[i]=l}const A={...e,connect:_};t(A),d(!1),w(!1),n(A)},z=()=>{if(m){d(!1),w(!1);return}if(i<0)return;const h=e.connect.filter((A,M)=>M!==i),_={...e,connect:h};t(_),d(!1),n(_)},U=h=>{const _={enable:!0,token:"",messageFormat:"array",reportSelfMessage:!1,reportOfflineMessage:!1,debug:!1};let A;switch(h){case"ws":A={..._,type:"ws",port:3001,heartInterval:6e4};break;case"ws-reverse":A={..._,type:"ws-reverse",url:"",heartInterval:6e4};break;case"http":A={..._,type:"http",port:3e3};break;case"http-post":A={..._,type:"http-post",url:"",enableHeart:!1,heartInterval:6e4};break}g(!1),s(A),a(-1),w(!0),p(!1),d(!0)},$=(h,_)=>{l&&s({...l,[h]:_})};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:h=>{const _={...e,enable:h.target.checked};t(_),console.log("Config updated:",_),n(_)},className:`w-14 h-7 rounded-full bg-gray-300 relative cursor-pointer appearance-none
251
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
252
+ transition-colors duration-200 ease-in-out
253
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
254
+ before:w-6 before:h-6 before:rounded-full before:bg-white
255
+ before:transition-transform before:duration-200
256
+ 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((h,_)=>{const A=v[h.type],M=A.icon;return o.jsxs("div",{className:`card p-6 cursor-pointer hover:scale-105 transition-all ${h.enable?"ring-2 ring-blue-500":""}`,onClick:()=>S(h,_),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 ${h.enable?"bg-gradient-to-br from-blue-500 to-purple-600 text-white":"bg-gray-200 text-gray-600"}`,children:o.jsx(M,{size:24})}),o.jsxs("div",{className:"flex-1",children:[o.jsx("h4",{className:"text-lg font-semibold text-gray-800",children:h.name||A.name}),o.jsx("p",{className:"text-sm text-gray-600",children:A.desc})]})]}),o.jsx(io,{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 ${h.enable?"bg-green-100 text-green-800":"bg-gray-100 text-gray-600"}`,children:h.enable?"已启用":"未启用"}),h.enable&&o.jsxs(o.Fragment,{children:[(h.type==="ws"||h.type==="http")&&o.jsxs("span",{className:"text-sm text-gray-600",children:["端口: ",h.port]}),(h.type==="ws-reverse"||h.type==="http-post")&&o.jsxs("span",{className:"text-sm text-gray-600 truncate max-w-[180px]",title:h.url||"未配置",children:["URL: ",h.url||"未配置"]})]})]})]},_)})}),o.jsx("div",{className:"flex justify-center mt-6",children:o.jsxs("button",{onClick:()=>g(!0),className:"btn-primary flex items-center gap-2",children:[o.jsx(Dc,{size:20}),"添加适配器"]})})]}),u&&l&&o.jsx(ga,{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:N,onChange:h=>f(h.target.value),onKeyDown:h=>{h.key==="Enter"&&P(),h.key==="Escape"&&T()},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:P,className:"px-4 py-2 bg-blue-500 text-white rounded-xl hover:bg-blue-600 transition-colors",children:"确定"}),o.jsx("button",{onClick:T,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||v[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(Mp,{size:18})})]})}),o.jsx("button",{onClick:()=>{d(!1),w(!1),k(!1)},className:"text-gray-400 hover:text-gray-600",children:o.jsx(or,{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:h=>$("enable",h.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none
257
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
258
+ transition-colors duration-200 ease-in-out
259
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
260
+ before:w-5 before:h-5 before:rounded-full before:bg-white
261
+ before:transition-transform before:duration-200
262
+ 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:h=>$("port",parseInt(h.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:h=>$("heartInterval",parseInt(h.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:h=>$("url",h.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:h=>$("heartInterval",parseInt(h.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:h=>$("port",parseInt(h.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:h=>$("url",h.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:h=>$("enableHeart",h.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none
263
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
264
+ transition-colors duration-200 ease-in-out
265
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
266
+ before:w-5 before:h-5 before:rounded-full before:bg-white
267
+ before:transition-transform before:duration-200
268
+ 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:h=>$("heartInterval",parseInt(h.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:h=>$("token",h.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(Rt,{size:20}):o.jsx(It,{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:h=>$("messageFormat",h.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:h=>$("messageFormat",h.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:h=>$("reportSelfMessage",h.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none
269
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
270
+ transition-colors duration-200 ease-in-out
271
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
272
+ before:w-5 before:h-5 before:rounded-full before:bg-white
273
+ before:transition-transform before:duration-200
274
+ 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:h=>$("reportOfflineMessage",h.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none
275
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
276
+ transition-colors duration-200 ease-in-out
277
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
278
+ before:w-5 before:h-5 before:rounded-full before:bg-white
279
+ before:transition-transform before:duration-200
280
+ 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:h=>$("debug",h.target.checked),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none
281
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
282
+ transition-colors duration-200 ease-in-out
283
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
284
+ before:w-5 before:h-5 before:rounded-full before:bg-white
285
+ before:transition-transform before:duration-200
286
+ 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:z,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(sr,{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:I,className:"btn-primary",children:"保存"})]})]})]})})}),x&&o.jsx(ga,{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:()=>g(!1),className:"text-gray-400 hover:text-gray-600",children:o.jsx(or,{size:24})})]}),o.jsxs("div",{className:"p-6 space-y-3",children:[o.jsxs("button",{onClick:()=>U("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(so,{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:()=>U("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(ha,{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:()=>U("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(yl,{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:()=>U("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(oo,{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:()=>g(!1),className:"px-6 py-2.5 text-gray-700 hover:bg-gray-100 rounded-xl font-medium transition-colors",children:"取消"})})]})})})]})},Qp=({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(yl,{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(Np,{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
287
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
288
+ transition-colors duration-200 ease-in-out
289
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
290
+ before:w-5 before:h-5 before:rounded-full before:bg-white
291
+ before:transition-transform before:duration-200
292
+ 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(yl,{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
293
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
294
+ transition-colors duration-200 ease-in-out
295
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
296
+ before:w-5 before:h-5 before:rounded-full before:bg-white
297
+ before:transition-transform before:duration-200
298
+ 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(Tp,{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
299
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
300
+ transition-colors duration-200 ease-in-out
301
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
302
+ before:w-5 before:h-5 before:rounded-full before:bg-white
303
+ before:transition-transform before:duration-200
304
+ 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(sr,{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(sr,{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
305
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
306
+ transition-colors duration-200 ease-in-out
307
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
308
+ before:w-5 before:h-5 before:rounded-full before:bg-white
309
+ before:transition-transform before:duration-200
310
+ 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(Qr,{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(Qr,{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(Qr,{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(ma,{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(ma,{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(Fp,{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(Oc,{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(Lp,{size:16}),"修改密码"]})]})]})]})};function Uc(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 cs=({visible:e,onConfirm:t,onClose:n,error:r})=>{const[l,s]=j.useState(""),[i,a]=j.useState(!1),[u,d]=j.useState(""),x=j.useRef(null);j.useEffect(()=>{e&&x.current&&setTimeout(()=>{var w;return(w=x.current)==null?void 0:w.focus()},100)},[e]),j.useEffect(()=>{e&&(s(""),a(!1),d(""))},[e]);const g=()=>{const w=Uc(l);if(!w.isValid){d(w.error||"密码验证失败");return}d(""),t(l.trim())},m=w=>{w.key==="Enter"&&g()};return j.useEffect(()=>{if(!e)return;const w=y=>{y.key==="Escape"&&(y.preventDefault(),y.stopPropagation())};return window.addEventListener("keydown",w),()=>window.removeEventListener("keydown",w)},[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:w=>w.target===w.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(or,{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:x,type:i?"text":"password",value:l,onChange:w=>{s(w.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(Rt,{size:20}):o.jsx(It,{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:g,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 qp(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,x=1013904242,g=2773480762,m=1359893119,w=2600822924,y=528734635,k=1541459225;for(let N=0;N<s;N+=64){const f=new Uint32Array(64);for(let z=0;z<16;z++)f[z]=a.getUint32(N+z*4,!1);for(let z=16;z<64;z++){const U=(f[z-15]>>>7|f[z-15]<<25)^(f[z-15]>>>18|f[z-15]<<14)^f[z-15]>>>3,$=(f[z-2]>>>17|f[z-2]<<15)^(f[z-2]>>>19|f[z-2]<<13)^f[z-2]>>>10;f[z]=f[z-16]+U+f[z-7]+$>>>0}let c=u,p=d,v=x,S=g,E=m,P=w,T=y,I=k;for(let z=0;z<64;z++){const U=(E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7),$=E&P^~E&T,h=I+U+$+t[z]+f[z]>>>0,_=(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),A=c&p^c&v^p&v,M=_+A>>>0;I=T,T=P,P=E,E=S+h>>>0,S=v,v=p,p=c,c=h+M>>>0}u=u+c>>>0,d=d+p>>>0,x=x+v>>>0,g=g+S>>>0,m=m+E>>>0,w=w+P>>>0,y=y+T>>>0,k=k+I>>>0}return[u.toString(16).padStart(8,"0"),d.toString(16).padStart(8,"0"),x.toString(16).padStart(8,"0"),g.toString(16).padStart(8,"0"),m.toString(16).padStart(8,"0"),w.toString(16).padStart(8,"0"),y.toString(16).padStart(8,"0"),k.toString(16).padStart(8,"0")].join("")}async function Kp(e){try{return qp(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 ya(e){return await Kp(e)}function Gp(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",x=`${e}=${t}; ${l}; path=/${d}${i}`;document.cookie=x}function $c(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 Hc="webui_token",Yp=30;let Ln=null;function Xp(e){Ln=e}function Zp(){return $c(Hc)}function va(e){Gp(Hc,e,Yp)}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(Zp());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 ya(l.trim());va(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 ya(u.trim());if(va(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 Jp=({visible:e,onClose:t,onSuccess:n})=>{const[r,l]=j.useState(""),[s,i]=j.useState(""),[a,u]=j.useState(!1),[d,x]=j.useState(!1),[g,m]=j.useState(!1),[w,y]=j.useState(""),k=j.useRef(null);j.useEffect(()=>{e&&k.current&&setTimeout(()=>{var c;return(c=k.current)==null?void 0:c.focus()},100)},[e]),j.useEffect(()=>{e&&(l(""),i(""),u(!1),x(!1),y(""))},[e]);const N=async()=>{const c=Uc(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"&&N()};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(Oc,{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(or,{size:24})})]}),o.jsxs("div",{className:"p-6 space-y-4",children:[w&&o.jsx("div",{className:"p-3 bg-red-50 border border-red-200 rounded-xl text-red-600 text-sm",children:w}),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(Rt,{size:20}):o.jsx(It,{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:()=>x(!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(Rt,{size:20}):o.jsx(It,{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:g,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:N,disabled:g||!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:g?"修改中...":"确定修改"})]})]})})}):null},e0=({onLoginSuccess:e})=>{const[t,n]=j.useState("quick"),[r,l]=j.useState(!1),[s,i]=j.useState(!1),[a,u]=j.useState(!1),[d,x]=j.useState(""),[g,m]=j.useState([]),[w,y]=j.useState(null),[k,N]=j.useState(!1),f=j.useRef(null),c=j.useRef(null),p=j.useRef(null),v=j.useRef(!1),S={scanning:"扫描成功,请在手机上确认",success:"登录成功",expired:"二维码已过期,请刷新",error:"登录失败,请重试","":""},E=j.useCallback(()=>{v.current=!1,p.current&&(clearTimeout(p.current),p.current=null)},[]),P=j.useCallback(async()=>{if(v.current)return;v.current=!0,console.log("开始轮询登录状态...");const M=60;let J=0;const b=async()=>{if(J>=M){E(),ae("登录超时,请重试","error"),t==="qr"&&x("error");return}J++;try{const R=await dt("/api/login-info");if(R.success&&R.data.online===!0){E(),ae("登录成功!正在跳转到主页面...","success"),t==="qr"&&x("success"),setTimeout(()=>{e()},1e3);return}p.current=setTimeout(b,3e3)}catch(R){console.warn("轮询登录状态失败:",R),p.current=setTimeout(b,3e3)}};await b()},[t,e,E]),T=j.useCallback(M=>{if(!f.current)return;const b=f.current.getContext("2d");if(!b)return;const R=new Image;R.onload=()=>{b.clearRect(0,0,200,200),b.drawImage(R,0,0,200,200)},R.src=M},[]),I=j.useCallback(async()=>{if(f.current)try{const M=await dt("/api/login-qrcode");if(M.success&&M.data){T(M.data.pngBase64QrcodeData);const J=M.data.expireTime*1e3;c.current&&clearInterval(c.current),c.current=setTimeout(()=>{u(!0),x("expired"),E()},J),u(!1),x(""),ae("请使用手机QQ扫码登录","warning"),await P()}else throw new Error(M.message||"获取二维码失败")}catch(M){ae(M.message||"获取二维码失败","error"),console.error("QR code generation error:",M)}},[T,P,E]),z=j.useCallback(async()=>{await I(),ae("二维码已刷新","success")},[I]),U=j.useRef(!1),$=j.useCallback(async()=>{if(!U.current){U.current=!0;try{const M=await dt("/api/quick-login-list");if(console.log("Quick login list response:",M),M.success&&M.data&&M.data.LocalLoginInfoList){const J=M.data.LocalLoginInfoList.filter(b=>b.isQuickLogin&&!b.isUserLogin);m(J),console.log("Accounts loaded:",J),J.length>0?y(b=>b??J[0]):n("qr")}else console.warn("No quick login accounts available:",M.message),m([])}catch(M){console.error("Failed to fetch quick login list:",M),ae("获取快速登录列表失败","error"),m([])}}},[]),h=j.useCallback(async()=>{if(w){i(!0);try{const J=(await dt("/api/quick-login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({uin:w.uin})})).data;if(J.result==="0")ae(`正在登录 ${w.nickName}...`,"success"),await P();else throw new Error(J.loginErrorInfo.errMsg||"登录失败")}catch(M){ae(M.message,"error"),console.error("Quick login error:",M),n("qr")}finally{i(!1)}}},[w,P]),_=()=>{l(!r)},A=M=>{y(M),l(!1)};return j.useEffect(()=>(U.current||$(),()=>{c.current&&clearInterval(c.current),E()}),[]),j.useEffect(()=>{t==="qr"?setTimeout(()=>I(),100):c.current&&clearInterval(c.current),t==="quick"&&g.length===0&&!U.current&&$()},[t,g.length,I]),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&&w&&o.jsxs("div",{className:"flex flex-col items-center cursor-pointer p-4 rounded-2xl transition-colors hover:bg-blue-50",onClick:_,children:[o.jsx("div",{className:"w-20 h-20 rounded-full overflow-hidden mb-3 shadow-lg",children:o.jsx("img",{src:w.faceUrl,alt:w.nickName,className:"w-full h-full object-cover"})}),o.jsx("div",{className:"text-base text-gray-800 mb-2",children:w.nickName})]}),r&&o.jsx("div",{className:"grid grid-cols-2 gap-4 my-5 w-full max-w-md",children:g.map(M=>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:()=>A(M),children:[o.jsx("div",{className:"w-[60px] h-[60px] rounded-full overflow-hidden mb-2 shadow-md",children:o.jsx("img",{src:M.faceUrl,alt:M.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:M.nickName})]},M.uin))}),!r&&o.jsx("button",{onClick:h,disabled:!w||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(Bt,{size:20,className:"animate-spin"}),"登录中..."]}):"登录"}),o.jsxs("div",{className:"flex gap-6 justify-center",children:[!r&&o.jsx("button",{onClick:_,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:z,children:[o.jsx(Ip,{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:S[d]})]}),o.jsx("div",{className:"mt-6",children:t==="qr"&&g.length>0&&o.jsx("button",{onClick:()=>n("quick"),className:"text-blue-600 text-sm hover:underline",children:"快速登录"})})]})})},t0=!1,n0=()=>({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}}),wa=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",r0=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}秒`},l0=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})]})]}),ka=({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,x=Math.min(Math.max(e,0),100),g=d-x/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:g,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:[x.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})]})},ja=({title:e,icon:t,gradient:n,cpu:r,memory:l,totalMemory:s,memoryPercent:i,cpuGradientId:a,memGradientId:u,cpuColors:d,memColors:x})=>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(ka,{value:r,gradientId:a,gradientColors:d,label:"CPU",displayValue:`${r.toFixed(1)}%`,icon:o.jsx(Fc,{size:16,className:"text-white"})}),o.jsx(ka,{value:i,gradientId:u,gradientColors:x,label:"内存",displayValue:`${wa(l)} / ${wa(s)}`,icon:o.jsx(Sp,{size:16,className:"text-white"})})]})]}),s0=()=>{const[e,t]=j.useState(null),[n,r]=j.useState(!0),[l,s]=j.useState(""),i=j.useRef(),a=async()=>{try{const u=t0?n0():(await dt("/api/dashboard/stats")).data;u&&t(u)}catch(u){console.error("Failed to fetch dashboard stats:",u)}finally{r(!1)}};return j.useEffect(()=>(a(),i.current=window.setInterval(a,5e3),()=>{i.current&&clearInterval(i.current)}),[]),j.useEffect(()=>{if(!(e!=null&&e.startupTime))return;const u=()=>s(r0(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(Qr,{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($p,{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:l0(e.startupTime)})]})]})]}),o.jsxs("div",{className:"card p-4 space-y-3",children:[o.jsx(_r,{icon:o.jsx(Ap,{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(Dp,{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(Pp,{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(oo,{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(ja,{title:"QQ 资源",icon:o.jsx(bp,{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(ja,{title:"Bot 资源",icon:o.jsx(kp,{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:"无法加载统计数据"})})},Lr=72,Mr=1e3,Na=10,o0=()=>{var $;const[e,t]=j.useState([]),[n,r]=j.useState(!1),[l,s]=j.useState(!0),[i,a]=j.useState(""),[u,d]=j.useState("all"),[x,g]=j.useState(!1),[m,w]=j.useState(0),y=j.useRef(null),k=j.useRef([]),N=j.useCallback(()=>{y.current&&l&&(y.current.scrollTop=y.current.scrollHeight)},[l]);j.useEffect(()=>{let h=null,_=!0;return(()=>{const M=$c("webui_token")||"",J=`/api/logs/stream?token=${encodeURIComponent(M)}`;h=new EventSource(J),h.addEventListener("connected",()=>{_&&g(!0)}),h.onmessage=b=>{if(_)try{const R=JSON.parse(b.data);n?k.current.push(R):t(F=>{const W=[...F,R];return W.length>Mr?W.slice(-Mr):W})}catch(R){console.error("[LogViewer] Failed to parse log:",R)}},h.onerror=()=>{_&&g(!1)}})(),()=>{_=!1,h&&h.close()}},[n]),j.useEffect(()=>{N()},[e,N]);const f=j.useCallback(h=>{w(h.currentTarget.scrollTop)},[]),c=()=>{r(!1),t(h=>{const _=[...h,...k.current];return k.current=[],_.length>Mr?_.slice(-Mr):_})},p=()=>{t([]),k.current=[]},v=h=>{switch(h.toLowerCase()){case"error":return{bg:"bg-red-50/50",badge:"text-red-600 bg-red-100/70"};case"warn":return{bg:"bg-amber-50/50",badge:"text-amber-600 bg-amber-100/70"};case"info":return{bg:"bg-blue-50/50",badge:"text-blue-600 bg-blue-100/70"};case"debug":return{bg:"bg-gray-50/50",badge:"text-gray-500 bg-gray-100/70"};default:return{bg:"bg-green-50/50",badge:"text-green-600 bg-green-100/70"}}},S=j.useMemo(()=>{let h=e;if(u!=="all"&&(h=h.filter(_=>_.type.toLowerCase()===u)),i){const _=i.toLowerCase();h=h.filter(A=>A.content.toLowerCase().includes(_)||A.type.toLowerCase().includes(_))}return h},[e,i,u]),E=(($=y.current)==null?void 0:$.clientHeight)||500,P=S.length*Lr,T=Math.max(0,Math.floor(m/Lr)-Na),I=Math.min(S.length,Math.ceil((m+E)/Lr)+Na),z=S.slice(T,I),U=T*Lr;return o.jsxs("div",{className:"space-y-4",children:[o.jsx("div",{className:"card p-4",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-emerald-500 to-teal-600 flex items-center justify-center shadow-md",children:o.jsx(ao,{size:20,className:"text-white"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-base font-semibold text-gray-800",children:"实时日志"}),o.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[o.jsxs("span",{className:`flex items-center gap-1 px-2 py-0.5 rounded-full ${x?"bg-green-100 text-green-600":"bg-red-100 text-red-600"}`,children:[o.jsx("span",{className:`w-1.5 h-1.5 rounded-full ${x?"bg-green-500":"bg-red-500"}`}),x?"已连接":"未连接"]}),o.jsx("span",{className:"text-gray-500",children:n?`已暂停 (${k.current.length} 条待显示)`:`${e.length} 条日志`})]})]})]}),o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx("div",{className:"flex rounded-lg overflow-hidden border border-gray-200",children:[{value:"all",label:"全部"},{value:"info",label:"Info"},{value:"warn",label:"Warn"},{value:"error",label:"Error"}].map(h=>o.jsx("button",{onClick:()=>d(h.value),className:`px-3 py-1.5 text-xs font-medium transition-all ${u===h.value?"bg-gradient-to-br from-blue-500 to-purple-600 text-white":"bg-white/50 text-gray-600 hover:bg-white/80"}`,children:h.label},h.value))}),o.jsx("input",{type:"text",placeholder:"搜索日志...",value:i,onChange:h=>a(h.target.value),className:"px-3 py-1.5 text-sm bg-white/50 border border-gray-200 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent w-40"}),o.jsx("button",{onClick:()=>s(!l),className:`p-2 rounded-lg transition-all ${l?"bg-gradient-to-br from-blue-500 to-cyan-500 text-white shadow-md":"bg-white/50 text-gray-600 hover:bg-white/80"}`,title:l?"自动滚动已开启":"自动滚动已关闭",children:o.jsx(wp,{size:18})}),o.jsx("button",{onClick:n?c:()=>r(!0),className:`p-2 rounded-lg transition-all ${n?"bg-gradient-to-br from-green-500 to-emerald-500 text-white shadow-md":"bg-gradient-to-br from-amber-500 to-orange-500 text-white shadow-md"}`,title:n?"继续":"暂停",children:n?o.jsx(Rp,{size:18}):o.jsx(_p,{size:18})}),o.jsx("button",{onClick:p,className:"p-2 bg-gradient-to-br from-red-500 to-pink-500 text-white rounded-lg shadow-md hover:shadow-lg transition-all",title:"清空日志",children:o.jsx(sr,{size:18})})]})]})}),o.jsx("div",{className:"card p-4",children:o.jsx("div",{ref:y,onScroll:f,className:"h-[calc(100vh-240px)] overflow-auto pr-2",children:S.length===0?o.jsxs("div",{className:"flex flex-col items-center justify-center h-full text-gray-400",children:[o.jsx(ao,{size:48,className:"mb-3 opacity-50"}),o.jsx("p",{className:"text-sm",children:"等待日志..."})]}):o.jsx("div",{style:{height:P,position:"relative"},children:o.jsx("div",{style:{transform:`translateY(${U}px)`},className:"space-y-1.5",children:z.map((h,_)=>{const A=v(h.type);return o.jsx("div",{className:`p-2.5 rounded-lg ${A.bg} hover:shadow-sm transition-shadow`,children:o.jsx("div",{className:"flex items-start gap-2",children:o.jsxs("div",{className:"flex-1 min-w-0",children:[o.jsxs("div",{className:"flex items-center gap-2 mb-0.5",children:[o.jsx("span",{className:"text-xs text-gray-400 font-mono",children:h.dateTimeStr}),o.jsx("span",{className:`text-xs font-medium px-1.5 py-0.5 rounded ${A.badge}`,children:h.type.toUpperCase()})]}),o.jsx("p",{className:"text-sm text-gray-700 whitespace-pre-wrap break-all font-mono",children:h.content})]})})},`${h.timestamp}-${T+_}`)})})})})})]})},ds=()=>{const e=j.useRef(null),t=j.useRef([]),n=j.useRef(),r=j.useRef(0);return j.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=x(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)"],x=y=>{const k=Math.ceil(y.baseRadius*2.5),N=document.createElement("canvas");N.width=k,N.height=k;const f=N.getContext("2d");if(!f)return N;const c=k/2,p=k/2,v=y.baseRadius,S=f.createRadialGradient(c,p,0,c,p,v);return S.addColorStop(0,y.color.replace("0.6","0.8")),S.addColorStop(.5,y.color),S.addColorStop(1,y.color.replace("0.6","0")),f.fillStyle=S,f.beginPath(),f.arc(c,p,v,0,Math.PI*2),f.fill(),N},g=()=>{const y=[];for(let N=0;N<8;N++){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=x(c),y.push(c)}t.current=y},m=(y,k)=>{const N=k.x-y.x,f=k.y-y.y,c=Math.sqrt(N*N+f*f);if(c<y.radius+k.radius){const p=Math.atan2(f,N),v=Math.sin(p),S=Math.cos(p),E=y.vx*S+y.vy*v,P=y.vy*S-y.vx*v,T=k.vx*S+k.vy*v,I=k.vy*S-k.vx*v;y.vx=T*S-P*v,y.vy=P*S+T*v,k.vx=E*S-I*v,k.vy=I*S+E*v;const z=(y.radius+k.radius-c)/2;y.x-=z*S,y.y-=z*v,k.x+=z*S,k.y+=z*v}},w=y=>{n.current=requestAnimationFrame(w);const k=y-r.current;k<a||(r.current=y-k%a,s.clearRect(0,0,l.width,l.height),t.current.forEach((N,f)=>{N.x+=N.vx,N.y+=N.vy,N.scale+=N.scaleSpeed,(N.scale>1.2||N.scale<.8)&&(N.scaleSpeed=-N.scaleSpeed),N.radius=N.baseRadius*N.scale,(N.x-N.radius<0||N.x+N.radius>l.width)&&(N.vx=-N.vx,N.x=Math.max(N.radius,Math.min(l.width-N.radius,N.x))),(N.y-N.radius<0||N.y+N.radius>l.height)&&(N.vy=-N.vy,N.y=Math.max(N.radius,Math.min(l.height-N.radius,N.y)));for(let c=f+1;c<t.current.length;c++)m(N,t.current[c]);if(N.offscreenCanvas){const c=N.offscreenCanvas.width*N.scale;s.drawImage(N.offscreenCanvas,N.x-c/2,N.y-c/2,c,c)}}))};return u(),window.addEventListener("resize",u),g(),n.current=requestAnimationFrame(w),()=>{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}})},i0={enable:!0,connect:[]},a0={enable:!1,port:5600,token:""},u0={enable:!1,reportSelfMessage:!1,http:{port:3010,prefix:"",accessToken:""},webhook:{urls:[],accessToken:""}},c0={enable:!0,port:3080},d0={webui:c0,onlyLocalhost:!0,milky:u0,satori:a0,ob11:i0,enableLocalFile2Url:!1,log:!0,autoDeleteFile:!1,autoDeleteFileSecond:60,musicSignUrl:"https://llob.linyuchen.net/sign/music",msgCacheExpire:120,ffmpeg:"",rawMsgPB:!1},f0="7.2.0";function p0(){const[e,t]=j.useState("dashboard"),[n,r]=j.useState(d0),[l,s]=j.useState(!1),[i,a]=j.useState(!1),[u,d]=j.useState(!0),[x,g]=j.useState(null),[m,w]=j.useState(!1),[y,k]=j.useState(""),[N,f]=j.useState(null),[c,p]=j.useState(!1),[v,S]=j.useState(!1),[E,P]=j.useState(!1),[T,I]=j.useState(!1);j.useEffect(()=>{Xp(async h=>new Promise(_=>{k(h||""),w(!0),f(()=>_)}))},[]);const z=j.useCallback(h=>{h.trim()?(w(!1),k(""),N&&(N(h),f(null))):k("密码不能为空")},[N]);j.useEffect(()=>{(async()=>{try{const _=await dt("/api/config");_.success&&_.data.selfInfo.online?(a(!0),g({nick:_.data.selfInfo.nick||"",uin:_.data.selfInfo.uin}),r(_.data.config)):a(!1)}catch(_){console.error("Failed to check login status:",_),a(!1)}finally{d(!1)}})()},[]);const U=j.useCallback(async h=>{try{s(!0);const A=await dt("/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({config:h||n})});A.success?ae("配置保存成功","success"):ae("保存失败:"+A.message,"error")}catch(_){ae("保存失败:"+_.message,"error")}finally{s(!1)}},[n]),$=j.useCallback(()=>{window.location.reload()},[]);return u?o.jsxs(o.Fragment,{children:[o.jsx(ds,{}),o.jsx("div",{className:"relative flex items-center justify-center min-h-screen z-10",children:o.jsx(Bt,{size:48,className:"animate-spin text-blue-500"})}),o.jsx(cs,{visible:m,onConfirm:z,error:y})]}):i?o.jsxs("div",{className:"flex min-h-screen",children:[o.jsx(ds,{}),o.jsx(Hp,{activeTab:e,onTabChange:t,accountInfo:x||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(s0,{}),e==="logs"&&o.jsx(o0,{}),e==="onebot"&&o.jsx(Wp,{config:n.ob11,globalConfig:n,onChange:h=>{const _={...n,ob11:h};r(_)},onSave:h=>{if(h){const _={...n,ob11:h};U(_)}else U()}}),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(io,{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:h=>r({...n,satori:{...n.satori,enable:h.target.checked}}),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none
311
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
312
+ transition-colors duration-200 ease-in-out
313
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
314
+ before:w-5 before:h-5 before:rounded-full before:bg-white
315
+ before:transition-transform before:duration-200
316
+ 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:h=>r({...n,satori:{...n.satori,port:parseInt(h.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:h=>r({...n,satori:{...n.satori,token:h.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(Rt,{size:20}):o.jsx(It,{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 h;if(!n.onlyLocalhost&&n.satori.enable&&!((h=n.satori.token)!=null&&h.trim())){ae('当"只监听本地地址"关闭时,必须设置 Satori Token!',"error");return}U()},disabled:l,className:"btn-primary flex items-center gap-2",children:l?o.jsxs(o.Fragment,{children:[o.jsx(Bt,{size:20,className:"animate-spin"}),"保存中..."]}):o.jsxs(o.Fragment,{children:[o.jsx(us,{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(io,{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:h=>r({...n,milky:{...n.milky,enable:h.target.checked}}),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none
317
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
318
+ transition-colors duration-200 ease-in-out
319
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
320
+ before:w-5 before:h-5 before:rounded-full before:bg-white
321
+ before:transition-transform before:duration-200
322
+ 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:h=>r({...n,milky:{...n.milky,reportSelfMessage:h.target.checked}}),className:`w-12 h-6 rounded-full bg-gray-300 relative cursor-pointer appearance-none
323
+ checked:bg-gradient-to-r checked:from-blue-500 checked:to-purple-600
324
+ transition-colors duration-200 ease-in-out
325
+ before:content-[''] before:absolute before:top-0.5 before:left-0.5
326
+ before:w-5 before:h-5 before:rounded-full before:bg-white
327
+ before:transition-transform before:duration-200
328
+ 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:h=>r({...n,milky:{...n.milky,http:{...n.milky.http,port:parseInt(h.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:h=>r({...n,milky:{...n.milky,http:{...n.milky.http,prefix:h.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:v?"text":"password",value:n.milky.http.accessToken,onChange:h=>r({...n,milky:{...n.milky,http:{...n.milky.http,accessToken:h.target.value}}}),placeholder:"请输入 Access Token",className:"input-field pr-12"}),o.jsx("button",{type:"button",onClick:()=>S(!v),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors p-1",children:v?o.jsx(Rt,{size:20}):o.jsx(It,{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((h,_)=>o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx("input",{type:"text",value:h,onChange:A=>{const M=[...n.milky.webhook.urls];M[_]=A.target.value,r({...n,milky:{...n.milky,webhook:{...n.milky.webhook,urls:M}}})},placeholder:"http:// 或 https://",className:`input-field flex-1 ${h&&!h.match(/^https?:\/\//)?"border-red-300 focus:ring-red-500":""}`}),o.jsx("button",{type:"button",onClick:()=>{const A=n.milky.webhook.urls.filter((M,J)=>J!==_);r({...n,milky:{...n.milky,webhook:{...n.milky.webhook,urls:A}}})},className:"p-2 text-red-500 hover:bg-red-50 rounded-lg transition-colors",title:"删除",children:o.jsx(sr,{size:18})})]},_)),n.milky.webhook.urls.some(h=>h&&!h.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(Dc,{size:18}),"添加 Webhook URL"]})]}),o.jsx("p",{className:"text-xs text-gray-500 mt-2",children:"事件上报的 Webhook 地址"})]}),o.jsxs("div",{className:"mt-4",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:E?"text":"password",value:n.milky.webhook.accessToken,onChange:h=>r({...n,milky:{...n.milky,webhook:{...n.milky.webhook,accessToken:h.target.value}}}),placeholder:"请输入 Access Token",className:"input-field pr-12"}),o.jsx("button",{type:"button",onClick:()=>P(!E),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors p-1",children:E?o.jsx(Rt,{size:20}):o.jsx(It,{size:20})})]}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"用于 Webhook 请求验证的 Token"})]})]})]})]}),o.jsx("div",{className:"mt-6 flex justify-end",children:o.jsx("button",{onClick:()=>{var A;if(!n.onlyLocalhost&&n.milky.enable&&!((A=n.milky.http.accessToken)!=null&&A.trim())){ae('当"只监听本地地址"关闭时,必须设置 Milky Access Token!',"error");return}if(n.milky.webhook.urls.filter(M=>M.trim()&&!M.match(/^https?:\/\//)).length>0){ae("Webhook URL 必须以 http:// 或 https:// 开头","error");return}const _={...n,milky:{...n.milky,webhook:{...n.milky.webhook,urls:n.milky.webhook.urls.filter(M=>M.trim())}}};r(_),U(_)},disabled:l,className:"btn-primary flex items-center gap-2",children:l?o.jsxs(o.Fragment,{children:[o.jsx(Bt,{size:20,className:"animate-spin"}),"保存中..."]}):o.jsxs(o.Fragment,{children:[o.jsx(us,{size:20}),"保存配置"]})})})]}),e==="other"&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"pb-24",children:o.jsx(Qp,{config:n,onChange:r,onOpenChangePassword:()=>I(!0)})}),o.jsx("div",{className:"fixed bottom-8 right-8 z-40",children:o.jsx("button",{onClick:()=>U(),disabled:l,className:"btn-primary flex items-center gap-2 shadow-2xl hover:shadow-3xl",children:l?o.jsxs(o.Fragment,{children:[o.jsx(Bt,{size:20,className:"animate-spin"}),"保存中..."]}):o.jsxs(o.Fragment,{children:[o.jsx(us,{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 ",f0]})]})]}),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(Bt,{size:48,className:"animate-spin text-blue-600 mx-auto"}),o.jsx("p",{className:"mt-4 text-gray-700",children:"加载中..."})]})}),o.jsx(cs,{visible:m,onConfirm:z,error:y}),o.jsx(Jp,{visible:T,onClose:()=>I(!1),onSuccess:()=>{window.location.reload()}}),o.jsx(xa,{})]}):o.jsxs(o.Fragment,{children:[o.jsx(ds,{}),o.jsx(e0,{onLoginSuccess:$}),o.jsx(cs,{visible:m,onConfirm:z,error:y}),o.jsx(xa,{})]})}fs.createRoot(document.getElementById("root")).render(o.jsx(sd.StrictMode,{children:o.jsx(p0,{})}));