@caddis/cli 0.4.77 → 0.4.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/claude-deepseek.js +29 -1
- package/dist/claude-glm.js +29 -1
- package/dist/claude-oss.js +29 -1
- package/dist/cli.js +238 -146
- package/dist/ui/assets/favicon-DtHQyAC1.svg +8 -0
- package/dist/ui/assets/favicon-dot-DHAVYP15.svg +9 -0
- package/dist/ui/assets/index-AaPwxAoF.js +220 -0
- package/dist/ui/assets/index-DWiypj6N.css +1 -0
- package/dist/ui/assets/mark-small-CwCIyjyC.svg +8 -0
- package/dist/ui/assets/wordmark-CD0s2ofS.svg +99 -0
- package/dist/ui/fonts/OFL-Atkinson.txt +93 -0
- package/dist/ui/fonts/OFL-MapleMono.txt +93 -0
- package/dist/ui/fonts/atkinson-400.849ae6f0.woff2 +0 -0
- package/dist/ui/fonts/atkinson-700.3a9cc18a.woff2 +0 -0
- package/dist/ui/fonts/maple-mono-400.071799fd.woff2 +0 -0
- package/dist/ui/fonts/maple-mono-700.1e17b237.woff2 +0 -0
- package/dist/ui/index.html +14 -0
- package/package.json +13 -3
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
var Oi={exports:{}},_r={},Ii={exports:{}},Z={};/**
|
|
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 Xa;function ep(){if(Xa)return Z;Xa=1;var s=Symbol.for("react.element"),a=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),j=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),$=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),C=Symbol.iterator;function R(h){return h===null||typeof h!="object"?null:(h=C&&h[C]||h["@@iterator"],typeof h=="function"?h:null)}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},W=Object.assign,X={};function O(h,_,q){this.props=h,this.context=_,this.refs=X,this.updater=q||B}O.prototype.isReactComponent={},O.prototype.setState=function(h,_){if(typeof h!="object"&&typeof h!="function"&&h!=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,h,_,"setState")},O.prototype.forceUpdate=function(h){this.updater.enqueueForceUpdate(this,h,"forceUpdate")};function je(){}je.prototype=O.prototype;function _e(h,_,q){this.props=h,this.context=_,this.refs=X,this.updater=q||B}var F=_e.prototype=new je;F.constructor=_e,W(F,O.prototype),F.isPureReactComponent=!0;var se=Array.isArray,ze=Object.prototype.hasOwnProperty,xe={current:null},Ne={key:!0,ref:!0,__self:!0,__source:!0};function Y(h,_,q){var J,ne={},re=null,ue=null;if(_!=null)for(J in _.ref!==void 0&&(ue=_.ref),_.key!==void 0&&(re=""+_.key),_)ze.call(_,J)&&!Ne.hasOwnProperty(J)&&(ne[J]=_[J]);var oe=arguments.length-2;if(oe===1)ne.children=q;else if(1<oe){for(var pe=Array(oe),qe=0;qe<oe;qe++)pe[qe]=arguments[qe+2];ne.children=pe}if(h&&h.defaultProps)for(J in oe=h.defaultProps,oe)ne[J]===void 0&&(ne[J]=oe[J]);return{$$typeof:s,type:h,key:re,ref:ue,props:ne,_owner:xe.current}}function te(h,_){return{$$typeof:s,type:h.type,key:_,ref:h.ref,props:h.props,_owner:h._owner}}function Re(h){return typeof h=="object"&&h!==null&&h.$$typeof===s}function vt(h){var _={"=":"=0",":":"=2"};return"$"+h.replace(/[=:]/g,function(q){return _[q]})}var Be=/\/+/g;function Me(h,_){return typeof h=="object"&&h!==null&&h.key!=null?vt(""+h.key):_.toString(36)}function st(h,_,q,J,ne){var re=typeof h;(re==="undefined"||re==="boolean")&&(h=null);var ue=!1;if(h===null)ue=!0;else switch(re){case"string":case"number":ue=!0;break;case"object":switch(h.$$typeof){case s:case a:ue=!0}}if(ue)return ue=h,ne=ne(ue),h=J===""?"."+Me(ue,0):J,se(ne)?(q="",h!=null&&(q=h.replace(Be,"$&/")+"/"),st(ne,_,q,"",function(qe){return qe})):ne!=null&&(Re(ne)&&(ne=te(ne,q+(!ne.key||ue&&ue.key===ne.key?"":(""+ne.key).replace(Be,"$&/")+"/")+h)),_.push(ne)),1;if(ue=0,J=J===""?".":J+":",se(h))for(var oe=0;oe<h.length;oe++){re=h[oe];var pe=J+Me(re,oe);ue+=st(re,_,q,pe,ne)}else if(pe=R(h),typeof pe=="function")for(h=pe.call(h),oe=0;!(re=h.next()).done;)re=re.value,pe=J+Me(re,oe++),ue+=st(re,_,q,pe,ne);else if(re==="object")throw _=String(h),Error("Objects are not valid as a React child (found: "+(_==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":_)+"). If you meant to render a collection of children, use an array instead.");return ue}function yt(h,_,q){if(h==null)return h;var J=[],ne=0;return st(h,J,"","",function(re){return _.call(q,re,ne++)}),J}function We(h){if(h._status===-1){var _=h._result;_=_(),_.then(function(q){(h._status===0||h._status===-1)&&(h._status=1,h._result=q)},function(q){(h._status===0||h._status===-1)&&(h._status=2,h._result=q)}),h._status===-1&&(h._status=0,h._result=_)}if(h._status===1)return h._result.default;throw h._result}var ye={current:null},T={transition:null},K={ReactCurrentDispatcher:ye,ReactCurrentBatchConfig:T,ReactCurrentOwner:xe};function D(){throw Error("act(...) is not supported in production builds of React.")}return Z.Children={map:yt,forEach:function(h,_,q){yt(h,function(){_.apply(this,arguments)},q)},count:function(h){var _=0;return yt(h,function(){_++}),_},toArray:function(h){return yt(h,function(_){return _})||[]},only:function(h){if(!Re(h))throw Error("React.Children.only expected to receive a single React element child.");return h}},Z.Component=O,Z.Fragment=u,Z.Profiler=w,Z.PureComponent=_e,Z.StrictMode=y,Z.Suspense=P,Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=K,Z.act=D,Z.cloneElement=function(h,_,q){if(h==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+h+".");var J=W({},h.props),ne=h.key,re=h.ref,ue=h._owner;if(_!=null){if(_.ref!==void 0&&(re=_.ref,ue=xe.current),_.key!==void 0&&(ne=""+_.key),h.type&&h.type.defaultProps)var oe=h.type.defaultProps;for(pe in _)ze.call(_,pe)&&!Ne.hasOwnProperty(pe)&&(J[pe]=_[pe]===void 0&&oe!==void 0?oe[pe]:_[pe])}var pe=arguments.length-2;if(pe===1)J.children=q;else if(1<pe){oe=Array(pe);for(var qe=0;qe<pe;qe++)oe[qe]=arguments[qe+2];J.children=oe}return{$$typeof:s,type:h.type,key:ne,ref:re,props:J,_owner:ue}},Z.createContext=function(h){return h={$$typeof:j,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},h.Provider={$$typeof:x,_context:h},h.Consumer=h},Z.createElement=Y,Z.createFactory=function(h){var _=Y.bind(null,h);return _.type=h,_},Z.createRef=function(){return{current:null}},Z.forwardRef=function(h){return{$$typeof:k,render:h}},Z.isValidElement=Re,Z.lazy=function(h){return{$$typeof:H,_payload:{_status:-1,_result:h},_init:We}},Z.memo=function(h,_){return{$$typeof:$,type:h,compare:_===void 0?null:_}},Z.startTransition=function(h){var _=T.transition;T.transition={};try{h()}finally{T.transition=_}},Z.unstable_act=D,Z.useCallback=function(h,_){return ye.current.useCallback(h,_)},Z.useContext=function(h){return ye.current.useContext(h)},Z.useDebugValue=function(){},Z.useDeferredValue=function(h){return ye.current.useDeferredValue(h)},Z.useEffect=function(h,_){return ye.current.useEffect(h,_)},Z.useId=function(){return ye.current.useId()},Z.useImperativeHandle=function(h,_,q){return ye.current.useImperativeHandle(h,_,q)},Z.useInsertionEffect=function(h,_){return ye.current.useInsertionEffect(h,_)},Z.useLayoutEffect=function(h,_){return ye.current.useLayoutEffect(h,_)},Z.useMemo=function(h,_){return ye.current.useMemo(h,_)},Z.useReducer=function(h,_,q){return ye.current.useReducer(h,_,q)},Z.useRef=function(h){return ye.current.useRef(h)},Z.useState=function(h){return ye.current.useState(h)},Z.useSyncExternalStore=function(h,_,q){return ye.current.useSyncExternalStore(h,_,q)},Z.useTransition=function(){return ye.current.useTransition()},Z.version="18.3.1",Z}var qa;function qi(){return qa||(qa=1,Ii.exports=ep()),Ii.exports}/**
|
|
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 Za;function tp(){if(Za)return _r;Za=1;var s=qi(),a=Symbol.for("react.element"),u=Symbol.for("react.fragment"),y=Object.prototype.hasOwnProperty,w=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,x={key:!0,ref:!0,__self:!0,__source:!0};function j(k,P,$){var H,C={},R=null,B=null;$!==void 0&&(R=""+$),P.key!==void 0&&(R=""+P.key),P.ref!==void 0&&(B=P.ref);for(H in P)y.call(P,H)&&!x.hasOwnProperty(H)&&(C[H]=P[H]);if(k&&k.defaultProps)for(H in P=k.defaultProps,P)C[H]===void 0&&(C[H]=P[H]);return{$$typeof:a,type:k,key:R,ref:B,props:C,_owner:w.current}}return _r.Fragment=u,_r.jsx=j,_r.jsxs=j,_r}var Ja;function np(){return Ja||(Ja=1,Oi.exports=tp()),Oi.exports}var f=np(),b=qi(),Il={},Ai={exports:{}},Xe={},Fi={exports:{}},Ui={};/**
|
|
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
|
+
*/var ba;function rp(){return ba||(ba=1,(function(s){function a(T,K){var D=T.length;T.push(K);e:for(;0<D;){var h=D-1>>>1,_=T[h];if(0<w(_,K))T[h]=K,T[D]=_,D=h;else break e}}function u(T){return T.length===0?null:T[0]}function y(T){if(T.length===0)return null;var K=T[0],D=T.pop();if(D!==K){T[0]=D;e:for(var h=0,_=T.length,q=_>>>1;h<q;){var J=2*(h+1)-1,ne=T[J],re=J+1,ue=T[re];if(0>w(ne,D))re<_&&0>w(ue,ne)?(T[h]=ue,T[re]=D,h=re):(T[h]=ne,T[J]=D,h=J);else if(re<_&&0>w(ue,D))T[h]=ue,T[re]=D,h=re;else break e}}return K}function w(T,K){var D=T.sortIndex-K.sortIndex;return D!==0?D:T.id-K.id}if(typeof performance=="object"&&typeof performance.now=="function"){var x=performance;s.unstable_now=function(){return x.now()}}else{var j=Date,k=j.now();s.unstable_now=function(){return j.now()-k}}var P=[],$=[],H=1,C=null,R=3,B=!1,W=!1,X=!1,O=typeof setTimeout=="function"?setTimeout:null,je=typeof clearTimeout=="function"?clearTimeout:null,_e=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function F(T){for(var K=u($);K!==null;){if(K.callback===null)y($);else if(K.startTime<=T)y($),K.sortIndex=K.expirationTime,a(P,K);else break;K=u($)}}function se(T){if(X=!1,F(T),!W)if(u(P)!==null)W=!0,We(ze);else{var K=u($);K!==null&&ye(se,K.startTime-T)}}function ze(T,K){W=!1,X&&(X=!1,je(Y),Y=-1),B=!0;var D=R;try{for(F(K),C=u(P);C!==null&&(!(C.expirationTime>K)||T&&!vt());){var h=C.callback;if(typeof h=="function"){C.callback=null,R=C.priorityLevel;var _=h(C.expirationTime<=K);K=s.unstable_now(),typeof _=="function"?C.callback=_:C===u(P)&&y(P),F(K)}else y(P);C=u(P)}if(C!==null)var q=!0;else{var J=u($);J!==null&&ye(se,J.startTime-K),q=!1}return q}finally{C=null,R=D,B=!1}}var xe=!1,Ne=null,Y=-1,te=5,Re=-1;function vt(){return!(s.unstable_now()-Re<te)}function Be(){if(Ne!==null){var T=s.unstable_now();Re=T;var K=!0;try{K=Ne(!0,T)}finally{K?Me():(xe=!1,Ne=null)}}else xe=!1}var Me;if(typeof _e=="function")Me=function(){_e(Be)};else if(typeof MessageChannel<"u"){var st=new MessageChannel,yt=st.port2;st.port1.onmessage=Be,Me=function(){yt.postMessage(null)}}else Me=function(){O(Be,0)};function We(T){Ne=T,xe||(xe=!0,Me())}function ye(T,K){Y=O(function(){T(s.unstable_now())},K)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(T){T.callback=null},s.unstable_continueExecution=function(){W||B||(W=!0,We(ze))},s.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):te=0<T?Math.floor(1e3/T):5},s.unstable_getCurrentPriorityLevel=function(){return R},s.unstable_getFirstCallbackNode=function(){return u(P)},s.unstable_next=function(T){switch(R){case 1:case 2:case 3:var K=3;break;default:K=R}var D=R;R=K;try{return T()}finally{R=D}},s.unstable_pauseExecution=function(){},s.unstable_requestPaint=function(){},s.unstable_runWithPriority=function(T,K){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var D=R;R=T;try{return K()}finally{R=D}},s.unstable_scheduleCallback=function(T,K,D){var h=s.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?h+D:h):D=h,T){case 1:var _=-1;break;case 2:_=250;break;case 5:_=1073741823;break;case 4:_=1e4;break;default:_=5e3}return _=D+_,T={id:H++,callback:K,priorityLevel:T,startTime:D,expirationTime:_,sortIndex:-1},D>h?(T.sortIndex=D,a($,T),u(P)===null&&T===u($)&&(X?(je(Y),Y=-1):X=!0,ye(se,D-h))):(T.sortIndex=_,a(P,T),W||B||(W=!0,We(ze))),T},s.unstable_shouldYield=vt,s.unstable_wrapCallback=function(T){var K=R;return function(){var D=R;R=K;try{return T.apply(this,arguments)}finally{R=D}}}})(Ui)),Ui}var ec;function lp(){return ec||(ec=1,Fi.exports=rp()),Fi.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 tc;function op(){if(tc)return Xe;tc=1;var s=qi(),a=lp();function u(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 y=new Set,w={};function x(e,t){j(e,t),j(e+"Capture",t)}function j(e,t){for(w[e]=t,e=0;e<t.length;e++)y.add(t[e])}var k=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),P=Object.prototype.hasOwnProperty,$=/^[: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]*$/,H={},C={};function R(e){return P.call(C,e)?!0:P.call(H,e)?!1:$.test(e)?C[e]=!0:(H[e]=!0,!1)}function B(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 W(e,t,n,r){if(t===null||typeof t>"u"||B(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 X(e,t,n,r,l,o,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=o,this.removeEmptyString=i}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){O[e]=new X(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];O[t]=new X(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){O[e]=new X(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){O[e]=new X(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){O[e]=new X(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){O[e]=new X(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){O[e]=new X(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){O[e]=new X(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){O[e]=new X(e,5,!1,e.toLowerCase(),null,!1,!1)});var je=/[\-:]([a-z])/g;function _e(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(je,_e);O[t]=new X(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(je,_e);O[t]=new X(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(je,_e);O[t]=new X(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){O[e]=new X(e,1,!1,e.toLowerCase(),null,!1,!1)}),O.xlinkHref=new X("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){O[e]=new X(e,1,!1,e.toLowerCase(),null,!0,!0)});function F(e,t,n,r){var l=O.hasOwnProperty(t)?O[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(W(t,n,l,r)&&(n=null),r||l===null?R(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 se=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ze=Symbol.for("react.element"),xe=Symbol.for("react.portal"),Ne=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),te=Symbol.for("react.profiler"),Re=Symbol.for("react.provider"),vt=Symbol.for("react.context"),Be=Symbol.for("react.forward_ref"),Me=Symbol.for("react.suspense"),st=Symbol.for("react.suspense_list"),yt=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),ye=Symbol.for("react.offscreen"),T=Symbol.iterator;function K(e){return e===null||typeof e!="object"?null:(e=T&&e[T]||e["@@iterator"],typeof e=="function"?e:null)}var D=Object.assign,h;function _(e){if(h===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);h=t&&t[1]||""}return`
|
|
34
|
+
`+h+e}var q=!1;function J(e,t){if(!e||q)return"";q=!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(g){var r=g}Reflect.construct(e,[],t)}else{try{t.call()}catch(g){r=g}e.call(t.prototype)}else{try{throw Error()}catch(g){r=g}e()}}catch(g){if(g&&r&&typeof g.stack=="string"){for(var l=g.stack.split(`
|
|
35
|
+
`),o=r.stack.split(`
|
|
36
|
+
`),i=l.length-1,c=o.length-1;1<=i&&0<=c&&l[i]!==o[c];)c--;for(;1<=i&&0<=c;i--,c--)if(l[i]!==o[c]){if(i!==1||c!==1)do if(i--,c--,0>c||l[i]!==o[c]){var d=`
|
|
37
|
+
`+l[i].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),d}while(1<=i&&0<=c);break}}}finally{q=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_(e):""}function ne(e){switch(e.tag){case 5:return _(e.type);case 16:return _("Lazy");case 13:return _("Suspense");case 19:return _("SuspenseList");case 0:case 2:case 15:return e=J(e.type,!1),e;case 11:return e=J(e.type.render,!1),e;case 1:return e=J(e.type,!0),e;default:return""}}function re(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 Ne:return"Fragment";case xe:return"Portal";case te:return"Profiler";case Y:return"StrictMode";case Me:return"Suspense";case st:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case vt:return(e.displayName||"Context")+".Consumer";case Re:return(e._context.displayName||"Context")+".Provider";case Be:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case yt:return t=e.displayName||null,t!==null?t:re(e.type)||"Memo";case We:t=e._payload,e=e._init;try{return re(e(t))}catch{}}return null}function ue(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 re(t);case 8:return t===Y?"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 oe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function qe(e){var t=pe(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.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 jr(e){e._valueTracker||(e._valueTracker=qe(e))}function ts(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=pe(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function zr(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 Bl(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ns(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=oe(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 rs(e,t){t=t.checked,t!=null&&F(e,"checked",t,!1)}function Wl(e,t){rs(e,t);var n=oe(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")?Vl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Vl(e,t.type,oe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ls(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 Vl(e,t,n){(t!=="number"||zr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var An=Array.isArray;function pn(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=""+oe(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 Ql(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(u(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function os(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(u(92));if(An(n)){if(1<n.length)throw Error(u(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:oe(n)}}function is(e,t){var n=oe(t.value),r=oe(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 ss(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function us(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 Kl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?us(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Pr,as=(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(Pr=Pr||document.createElement("div"),Pr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Pr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Un={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},rd=["Webkit","ms","Moz","O"];Object.keys(Un).forEach(function(e){rd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Un[t]=Un[e]})});function cs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Un.hasOwnProperty(e)&&Un[e]?(""+t).trim():t+"px"}function ds(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=cs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var ld=D({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 Yl(e,t){if(t){if(ld[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(u(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(u(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(u(61))}if(t.style!=null&&typeof t.style!="object")throw Error(u(62))}}function Gl(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 Xl=null;function ql(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zl=null,hn=null,mn=null;function fs(e){if(e=ur(e)){if(typeof Zl!="function")throw Error(u(280));var t=e.stateNode;t&&(t=Jr(t),Zl(e.stateNode,e.type,t))}}function ps(e){hn?mn?mn.push(e):mn=[e]:hn=e}function hs(){if(hn){var e=hn,t=mn;if(mn=hn=null,fs(e),t)for(e=0;e<t.length;e++)fs(t[e])}}function ms(e,t){return e(t)}function vs(){}var Jl=!1;function ys(e,t,n){if(Jl)return e(t,n);Jl=!0;try{return ms(e,t,n)}finally{Jl=!1,(hn!==null||mn!==null)&&(vs(),hs())}}function Hn(e,t){var n=e.stateNode;if(n===null)return null;var r=Jr(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(u(231,t,typeof n));return n}var bl=!1;if(k)try{var Bn={};Object.defineProperty(Bn,"passive",{get:function(){bl=!0}}),window.addEventListener("test",Bn,Bn),window.removeEventListener("test",Bn,Bn)}catch{bl=!1}function od(e,t,n,r,l,o,i,c,d){var g=Array.prototype.slice.call(arguments,3);try{t.apply(n,g)}catch(N){this.onError(N)}}var Wn=!1,Tr=null,Lr=!1,eo=null,id={onError:function(e){Wn=!0,Tr=e}};function sd(e,t,n,r,l,o,i,c,d){Wn=!1,Tr=null,od.apply(id,arguments)}function ud(e,t,n,r,l,o,i,c,d){if(sd.apply(this,arguments),Wn){if(Wn){var g=Tr;Wn=!1,Tr=null}else throw Error(u(198));Lr||(Lr=!0,eo=g)}}function Jt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function gs(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 ws(e){if(Jt(e)!==e)throw Error(u(188))}function ad(e){var t=e.alternate;if(!t){if(t=Jt(e),t===null)throw Error(u(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var o=l.alternate;if(o===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===o.child){for(o=l.child;o;){if(o===n)return ws(l),e;if(o===r)return ws(l),t;o=o.sibling}throw Error(u(188))}if(n.return!==r.return)n=l,r=o;else{for(var i=!1,c=l.child;c;){if(c===n){i=!0,n=l,r=o;break}if(c===r){i=!0,r=l,n=o;break}c=c.sibling}if(!i){for(c=o.child;c;){if(c===n){i=!0,n=o,r=l;break}if(c===r){i=!0,r=o,n=l;break}c=c.sibling}if(!i)throw Error(u(189))}}if(n.alternate!==r)throw Error(u(190))}if(n.tag!==3)throw Error(u(188));return n.stateNode.current===n?e:t}function ks(e){return e=ad(e),e!==null?xs(e):null}function xs(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=xs(e);if(t!==null)return t;e=e.sibling}return null}var Ss=a.unstable_scheduleCallback,_s=a.unstable_cancelCallback,cd=a.unstable_shouldYield,dd=a.unstable_requestPaint,we=a.unstable_now,fd=a.unstable_getCurrentPriorityLevel,to=a.unstable_ImmediatePriority,Ns=a.unstable_UserBlockingPriority,Rr=a.unstable_NormalPriority,pd=a.unstable_LowPriority,Es=a.unstable_IdlePriority,Mr=null,gt=null;function hd(e){if(gt&&typeof gt.onCommitFiberRoot=="function")try{gt.onCommitFiberRoot(Mr,e,void 0,(e.current.flags&128)===128)}catch{}}var ut=Math.clz32?Math.clz32:yd,md=Math.log,vd=Math.LN2;function yd(e){return e>>>=0,e===0?32:31-(md(e)/vd|0)|0}var Dr=64,$r=4194304;function Vn(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 Or(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var c=i&~l;c!==0?r=Vn(c):(o&=i,o!==0&&(r=Vn(o)))}else i=n&~l,i!==0?r=Vn(i):o!==0&&(r=Vn(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&l)===0&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ut(t),l=1<<n,r|=e[n],t&=~l;return r}function gd(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 wd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-ut(o),c=1<<i,d=l[i];d===-1?((c&n)===0||(c&r)!==0)&&(l[i]=gd(c,t)):d<=t&&(e.expiredLanes|=c),o&=~c}}function no(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Cs(){var e=Dr;return Dr<<=1,(Dr&4194240)===0&&(Dr=64),e}function ro(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Qn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ut(t),e[t]=n}function kd(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-ut(n),o=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~o}}function lo(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ut(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var ie=0;function js(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var zs,oo,Ps,Ts,Ls,io=!1,Ir=[],Rt=null,Mt=null,Dt=null,Kn=new Map,Yn=new Map,$t=[],xd="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 Rs(e,t){switch(e){case"focusin":case"focusout":Rt=null;break;case"dragenter":case"dragleave":Mt=null;break;case"mouseover":case"mouseout":Dt=null;break;case"pointerover":case"pointerout":Kn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yn.delete(t.pointerId)}}function Gn(e,t,n,r,l,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[l]},t!==null&&(t=ur(t),t!==null&&oo(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Sd(e,t,n,r,l){switch(t){case"focusin":return Rt=Gn(Rt,e,t,n,r,l),!0;case"dragenter":return Mt=Gn(Mt,e,t,n,r,l),!0;case"mouseover":return Dt=Gn(Dt,e,t,n,r,l),!0;case"pointerover":var o=l.pointerId;return Kn.set(o,Gn(Kn.get(o)||null,e,t,n,r,l)),!0;case"gotpointercapture":return o=l.pointerId,Yn.set(o,Gn(Yn.get(o)||null,e,t,n,r,l)),!0}return!1}function Ms(e){var t=bt(e.target);if(t!==null){var n=Jt(t);if(n!==null){if(t=n.tag,t===13){if(t=gs(n),t!==null){e.blockedOn=t,Ls(e.priority,function(){Ps(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 Ar(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=uo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Xl=r,n.target.dispatchEvent(r),Xl=null}else return t=ur(n),t!==null&&oo(t),e.blockedOn=n,!1;t.shift()}return!0}function Ds(e,t,n){Ar(e)&&n.delete(t)}function _d(){io=!1,Rt!==null&&Ar(Rt)&&(Rt=null),Mt!==null&&Ar(Mt)&&(Mt=null),Dt!==null&&Ar(Dt)&&(Dt=null),Kn.forEach(Ds),Yn.forEach(Ds)}function Xn(e,t){e.blockedOn===t&&(e.blockedOn=null,io||(io=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,_d)))}function qn(e){function t(l){return Xn(l,e)}if(0<Ir.length){Xn(Ir[0],e);for(var n=1;n<Ir.length;n++){var r=Ir[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Rt!==null&&Xn(Rt,e),Mt!==null&&Xn(Mt,e),Dt!==null&&Xn(Dt,e),Kn.forEach(t),Yn.forEach(t),n=0;n<$t.length;n++)r=$t[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<$t.length&&(n=$t[0],n.blockedOn===null);)Ms(n),n.blockedOn===null&&$t.shift()}var vn=se.ReactCurrentBatchConfig,Fr=!0;function Nd(e,t,n,r){var l=ie,o=vn.transition;vn.transition=null;try{ie=1,so(e,t,n,r)}finally{ie=l,vn.transition=o}}function Ed(e,t,n,r){var l=ie,o=vn.transition;vn.transition=null;try{ie=4,so(e,t,n,r)}finally{ie=l,vn.transition=o}}function so(e,t,n,r){if(Fr){var l=uo(e,t,n,r);if(l===null)Co(e,t,r,Ur,n),Rs(e,r);else if(Sd(l,e,t,n,r))r.stopPropagation();else if(Rs(e,r),t&4&&-1<xd.indexOf(e)){for(;l!==null;){var o=ur(l);if(o!==null&&zs(o),o=uo(e,t,n,r),o===null&&Co(e,t,r,Ur,n),o===l)break;l=o}l!==null&&r.stopPropagation()}else Co(e,t,r,null,n)}}var Ur=null;function uo(e,t,n,r){if(Ur=null,e=ql(r),e=bt(e),e!==null)if(t=Jt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=gs(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 Ur=e,null}function $s(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(fd()){case to:return 1;case Ns:return 4;case Rr:case pd:return 16;case Es:return 536870912;default:return 16}default:return 16}}var Ot=null,ao=null,Hr=null;function Os(){if(Hr)return Hr;var e,t=ao,n=t.length,r,l="value"in Ot?Ot.value:Ot.textContent,o=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[o-r];r++);return Hr=l.slice(e,1<r?1-r:void 0)}function Br(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 Wr(){return!0}function Is(){return!1}function Ze(e){function t(n,r,l,o,i){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var c in e)e.hasOwnProperty(c)&&(n=e[c],this[c]=n?n(o):o[c]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Wr:Is,this.isPropagationStopped=Is,this}return D(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=Wr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Wr)},persist:function(){},isPersistent:Wr}),t}var yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},co=Ze(yn),Zn=D({},yn,{view:0,detail:0}),Cd=Ze(Zn),fo,po,Jn,Vr=D({},Zn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mo,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!==Jn&&(Jn&&e.type==="mousemove"?(fo=e.screenX-Jn.screenX,po=e.screenY-Jn.screenY):po=fo=0,Jn=e),fo)},movementY:function(e){return"movementY"in e?e.movementY:po}}),As=Ze(Vr),jd=D({},Vr,{dataTransfer:0}),zd=Ze(jd),Pd=D({},Zn,{relatedTarget:0}),ho=Ze(Pd),Td=D({},yn,{animationName:0,elapsedTime:0,pseudoElement:0}),Ld=Ze(Td),Rd=D({},yn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Md=Ze(Rd),Dd=D({},yn,{data:0}),Fs=Ze(Dd),$d={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Od={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"},Id={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ad(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Id[e])?!!t[e]:!1}function mo(){return Ad}var Fd=D({},Zn,{key:function(e){if(e.key){var t=$d[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Br(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Od[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mo,charCode:function(e){return e.type==="keypress"?Br(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Br(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ud=Ze(Fd),Hd=D({},Vr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Us=Ze(Hd),Bd=D({},Zn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mo}),Wd=Ze(Bd),Vd=D({},yn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Qd=Ze(Vd),Kd=D({},Vr,{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}),Yd=Ze(Kd),Gd=[9,13,27,32],vo=k&&"CompositionEvent"in window,bn=null;k&&"documentMode"in document&&(bn=document.documentMode);var Xd=k&&"TextEvent"in window&&!bn,Hs=k&&(!vo||bn&&8<bn&&11>=bn),Bs=" ",Ws=!1;function Vs(e,t){switch(e){case"keyup":return Gd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var gn=!1;function qd(e,t){switch(e){case"compositionend":return Qs(t);case"keypress":return t.which!==32?null:(Ws=!0,Bs);case"textInput":return e=t.data,e===Bs&&Ws?null:e;default:return null}}function Zd(e,t){if(gn)return e==="compositionend"||!vo&&Vs(e,t)?(e=Os(),Hr=ao=Ot=null,gn=!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 Hs&&t.locale!=="ko"?null:t.data;default:return null}}var Jd={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 Ks(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Jd[e.type]:t==="textarea"}function Ys(e,t,n,r){ps(r),t=Xr(t,"onChange"),0<t.length&&(n=new co("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var er=null,tr=null;function bd(e){du(e,0)}function Qr(e){var t=_n(e);if(ts(t))return e}function ef(e,t){if(e==="change")return t}var Gs=!1;if(k){var yo;if(k){var go="oninput"in document;if(!go){var Xs=document.createElement("div");Xs.setAttribute("oninput","return;"),go=typeof Xs.oninput=="function"}yo=go}else yo=!1;Gs=yo&&(!document.documentMode||9<document.documentMode)}function qs(){er&&(er.detachEvent("onpropertychange",Zs),tr=er=null)}function Zs(e){if(e.propertyName==="value"&&Qr(tr)){var t=[];Ys(t,tr,e,ql(e)),ys(bd,t)}}function tf(e,t,n){e==="focusin"?(qs(),er=t,tr=n,er.attachEvent("onpropertychange",Zs)):e==="focusout"&&qs()}function nf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Qr(tr)}function rf(e,t){if(e==="click")return Qr(t)}function lf(e,t){if(e==="input"||e==="change")return Qr(t)}function of(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var at=typeof Object.is=="function"?Object.is:of;function nr(e,t){if(at(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(!P.call(t,l)||!at(e[l],t[l]))return!1}return!0}function Js(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function bs(e,t){var n=Js(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=Js(n)}}function eu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?eu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function tu(){for(var e=window,t=zr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=zr(e.document)}return t}function wo(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 sf(e){var t=tu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&eu(n.ownerDocument.documentElement,n)){if(r!==null&&wo(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,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=bs(n,o);var i=bs(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(),o>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 uf=k&&"documentMode"in document&&11>=document.documentMode,wn=null,ko=null,rr=null,xo=!1;function nu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xo||wn==null||wn!==zr(r)||(r=wn,"selectionStart"in r&&wo(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}),rr&&nr(rr,r)||(rr=r,r=Xr(ko,"onSelect"),0<r.length&&(t=new co("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=wn)))}function Kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kn={animationend:Kr("Animation","AnimationEnd"),animationiteration:Kr("Animation","AnimationIteration"),animationstart:Kr("Animation","AnimationStart"),transitionend:Kr("Transition","TransitionEnd")},So={},ru={};k&&(ru=document.createElement("div").style,"AnimationEvent"in window||(delete kn.animationend.animation,delete kn.animationiteration.animation,delete kn.animationstart.animation),"TransitionEvent"in window||delete kn.transitionend.transition);function Yr(e){if(So[e])return So[e];if(!kn[e])return e;var t=kn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ru)return So[e]=t[n];return e}var lu=Yr("animationend"),ou=Yr("animationiteration"),iu=Yr("animationstart"),su=Yr("transitionend"),uu=new Map,au="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 It(e,t){uu.set(e,t),x(t,[e])}for(var _o=0;_o<au.length;_o++){var No=au[_o],af=No.toLowerCase(),cf=No[0].toUpperCase()+No.slice(1);It(af,"on"+cf)}It(lu,"onAnimationEnd"),It(ou,"onAnimationIteration"),It(iu,"onAnimationStart"),It("dblclick","onDoubleClick"),It("focusin","onFocus"),It("focusout","onBlur"),It(su,"onTransitionEnd"),j("onMouseEnter",["mouseout","mouseover"]),j("onMouseLeave",["mouseout","mouseover"]),j("onPointerEnter",["pointerout","pointerover"]),j("onPointerLeave",["pointerout","pointerover"]),x("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),x("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),x("onBeforeInput",["compositionend","keypress","textInput","paste"]),x("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),x("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),x("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lr="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(" "),df=new Set("cancel close invalid load scroll toggle".split(" ").concat(lr));function cu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,ud(r,t,void 0,e),e.currentTarget=null}function du(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 o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var c=r[i],d=c.instance,g=c.currentTarget;if(c=c.listener,d!==o&&l.isPropagationStopped())break e;cu(l,c,g),o=d}else for(i=0;i<r.length;i++){if(c=r[i],d=c.instance,g=c.currentTarget,c=c.listener,d!==o&&l.isPropagationStopped())break e;cu(l,c,g),o=d}}}if(Lr)throw e=eo,Lr=!1,eo=null,e}function de(e,t){var n=t[Ro];n===void 0&&(n=t[Ro]=new Set);var r=e+"__bubble";n.has(r)||(fu(t,e,2,!1),n.add(r))}function Eo(e,t,n){var r=0;t&&(r|=4),fu(n,e,r,t)}var Gr="_reactListening"+Math.random().toString(36).slice(2);function or(e){if(!e[Gr]){e[Gr]=!0,y.forEach(function(n){n!=="selectionchange"&&(df.has(n)||Eo(n,!1,e),Eo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Gr]||(t[Gr]=!0,Eo("selectionchange",!1,t))}}function fu(e,t,n,r){switch($s(t)){case 1:var l=Nd;break;case 4:l=Ed;break;default:l=so}n=l.bind(null,t,n,e),l=void 0,!bl||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 Co(e,t,n,r,l){var o=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var c=r.stateNode.containerInfo;if(c===l||c.nodeType===8&&c.parentNode===l)break;if(i===4)for(i=r.return;i!==null;){var d=i.tag;if((d===3||d===4)&&(d=i.stateNode.containerInfo,d===l||d.nodeType===8&&d.parentNode===l))return;i=i.return}for(;c!==null;){if(i=bt(c),i===null)return;if(d=i.tag,d===5||d===6){r=o=i;continue e}c=c.parentNode}}r=r.return}ys(function(){var g=o,N=ql(n),E=[];e:{var S=uu.get(e);if(S!==void 0){var L=co,I=e;switch(e){case"keypress":if(Br(n)===0)break e;case"keydown":case"keyup":L=Ud;break;case"focusin":I="focus",L=ho;break;case"focusout":I="blur",L=ho;break;case"beforeblur":case"afterblur":L=ho;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":L=As;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":L=zd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":L=Wd;break;case lu:case ou:case iu:L=Ld;break;case su:L=Qd;break;case"scroll":L=Cd;break;case"wheel":L=Yd;break;case"copy":case"cut":case"paste":L=Md;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":L=Us}var A=(t&4)!==0,ke=!A&&e==="scroll",m=A?S!==null?S+"Capture":null:S;A=[];for(var p=g,v;p!==null;){v=p;var z=v.stateNode;if(v.tag===5&&z!==null&&(v=z,m!==null&&(z=Hn(p,m),z!=null&&A.push(ir(p,z,v)))),ke)break;p=p.return}0<A.length&&(S=new L(S,I,null,n,N),E.push({event:S,listeners:A}))}}if((t&7)===0){e:{if(S=e==="mouseover"||e==="pointerover",L=e==="mouseout"||e==="pointerout",S&&n!==Xl&&(I=n.relatedTarget||n.fromElement)&&(bt(I)||I[_t]))break e;if((L||S)&&(S=N.window===N?N:(S=N.ownerDocument)?S.defaultView||S.parentWindow:window,L?(I=n.relatedTarget||n.toElement,L=g,I=I?bt(I):null,I!==null&&(ke=Jt(I),I!==ke||I.tag!==5&&I.tag!==6)&&(I=null)):(L=null,I=g),L!==I)){if(A=As,z="onMouseLeave",m="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(A=Us,z="onPointerLeave",m="onPointerEnter",p="pointer"),ke=L==null?S:_n(L),v=I==null?S:_n(I),S=new A(z,p+"leave",L,n,N),S.target=ke,S.relatedTarget=v,z=null,bt(N)===g&&(A=new A(m,p+"enter",I,n,N),A.target=v,A.relatedTarget=ke,z=A),ke=z,L&&I)t:{for(A=L,m=I,p=0,v=A;v;v=xn(v))p++;for(v=0,z=m;z;z=xn(z))v++;for(;0<p-v;)A=xn(A),p--;for(;0<v-p;)m=xn(m),v--;for(;p--;){if(A===m||m!==null&&A===m.alternate)break t;A=xn(A),m=xn(m)}A=null}else A=null;L!==null&&pu(E,S,L,A,!1),I!==null&&ke!==null&&pu(E,ke,I,A,!0)}}e:{if(S=g?_n(g):window,L=S.nodeName&&S.nodeName.toLowerCase(),L==="select"||L==="input"&&S.type==="file")var U=ef;else if(Ks(S))if(Gs)U=lf;else{U=nf;var V=tf}else(L=S.nodeName)&&L.toLowerCase()==="input"&&(S.type==="checkbox"||S.type==="radio")&&(U=rf);if(U&&(U=U(e,g))){Ys(E,U,n,N);break e}V&&V(e,S,g),e==="focusout"&&(V=S._wrapperState)&&V.controlled&&S.type==="number"&&Vl(S,"number",S.value)}switch(V=g?_n(g):window,e){case"focusin":(Ks(V)||V.contentEditable==="true")&&(wn=V,ko=g,rr=null);break;case"focusout":rr=ko=wn=null;break;case"mousedown":xo=!0;break;case"contextmenu":case"mouseup":case"dragend":xo=!1,nu(E,n,N);break;case"selectionchange":if(uf)break;case"keydown":case"keyup":nu(E,n,N)}var Q;if(vo)e:{switch(e){case"compositionstart":var G="onCompositionStart";break e;case"compositionend":G="onCompositionEnd";break e;case"compositionupdate":G="onCompositionUpdate";break e}G=void 0}else gn?Vs(e,n)&&(G="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(G="onCompositionStart");G&&(Hs&&n.locale!=="ko"&&(gn||G!=="onCompositionStart"?G==="onCompositionEnd"&&gn&&(Q=Os()):(Ot=N,ao="value"in Ot?Ot.value:Ot.textContent,gn=!0)),V=Xr(g,G),0<V.length&&(G=new Fs(G,e,null,n,N),E.push({event:G,listeners:V}),Q?G.data=Q:(Q=Qs(n),Q!==null&&(G.data=Q)))),(Q=Xd?qd(e,n):Zd(e,n))&&(g=Xr(g,"onBeforeInput"),0<g.length&&(N=new Fs("onBeforeInput","beforeinput",null,n,N),E.push({event:N,listeners:g}),N.data=Q))}du(E,t)})}function ir(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Xr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,o=l.stateNode;l.tag===5&&o!==null&&(l=o,o=Hn(e,n),o!=null&&r.unshift(ir(e,o,l)),o=Hn(e,t),o!=null&&r.push(ir(e,o,l))),e=e.return}return r}function xn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function pu(e,t,n,r,l){for(var o=t._reactName,i=[];n!==null&&n!==r;){var c=n,d=c.alternate,g=c.stateNode;if(d!==null&&d===r)break;c.tag===5&&g!==null&&(c=g,l?(d=Hn(n,o),d!=null&&i.unshift(ir(n,d,c))):l||(d=Hn(n,o),d!=null&&i.push(ir(n,d,c)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var ff=/\r\n?/g,pf=/\u0000|\uFFFD/g;function hu(e){return(typeof e=="string"?e:""+e).replace(ff,`
|
|
38
|
+
`).replace(pf,"")}function qr(e,t,n){if(t=hu(t),hu(e)!==t&&n)throw Error(u(425))}function Zr(){}var jo=null,zo=null;function Po(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 To=typeof setTimeout=="function"?setTimeout:void 0,hf=typeof clearTimeout=="function"?clearTimeout:void 0,mu=typeof Promise=="function"?Promise:void 0,mf=typeof queueMicrotask=="function"?queueMicrotask:typeof mu<"u"?function(e){return mu.resolve(null).then(e).catch(vf)}:To;function vf(e){setTimeout(function(){throw e})}function Lo(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 At(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 vu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Sn=Math.random().toString(36).slice(2),wt="__reactFiber$"+Sn,sr="__reactProps$"+Sn,_t="__reactContainer$"+Sn,Ro="__reactEvents$"+Sn,yf="__reactListeners$"+Sn,gf="__reactHandles$"+Sn;function bt(e){var t=e[wt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_t]||n[wt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=vu(e);e!==null;){if(n=e[wt])return n;e=vu(e)}return t}e=n,n=e.parentNode}return null}function ur(e){return e=e[wt]||e[_t],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function _n(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(u(33))}function Jr(e){return e[sr]||null}var Mo=[],Nn=-1;function Ft(e){return{current:e}}function fe(e){0>Nn||(e.current=Mo[Nn],Mo[Nn]=null,Nn--)}function ae(e,t){Nn++,Mo[Nn]=e.current,e.current=t}var Ut={},Oe=Ft(Ut),Ve=Ft(!1),en=Ut;function En(e,t){var n=e.type.contextTypes;if(!n)return Ut;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Qe(e){return e=e.childContextTypes,e!=null}function br(){fe(Ve),fe(Oe)}function yu(e,t,n){if(Oe.current!==Ut)throw Error(u(168));ae(Oe,t),ae(Ve,n)}function gu(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(u(108,ue(e)||"Unknown",l));return D({},n,r)}function el(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ut,en=Oe.current,ae(Oe,e),ae(Ve,Ve.current),!0}function wu(e,t,n){var r=e.stateNode;if(!r)throw Error(u(169));n?(e=gu(e,t,en),r.__reactInternalMemoizedMergedChildContext=e,fe(Ve),fe(Oe),ae(Oe,e)):fe(Ve),ae(Ve,n)}var Nt=null,tl=!1,Do=!1;function ku(e){Nt===null?Nt=[e]:Nt.push(e)}function wf(e){tl=!0,ku(e)}function Ht(){if(!Do&&Nt!==null){Do=!0;var e=0,t=ie;try{var n=Nt;for(ie=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Nt=null,tl=!1}catch(l){throw Nt!==null&&(Nt=Nt.slice(e+1)),Ss(to,Ht),l}finally{ie=t,Do=!1}}return null}var Cn=[],jn=0,nl=null,rl=0,tt=[],nt=0,tn=null,Et=1,Ct="";function nn(e,t){Cn[jn++]=rl,Cn[jn++]=nl,nl=e,rl=t}function xu(e,t,n){tt[nt++]=Et,tt[nt++]=Ct,tt[nt++]=tn,tn=e;var r=Et;e=Ct;var l=32-ut(r)-1;r&=~(1<<l),n+=1;var o=32-ut(t)+l;if(30<o){var i=l-l%5;o=(r&(1<<i)-1).toString(32),r>>=i,l-=i,Et=1<<32-ut(t)+l|n<<l|r,Ct=o+e}else Et=1<<o|n<<l|r,Ct=e}function $o(e){e.return!==null&&(nn(e,1),xu(e,1,0))}function Oo(e){for(;e===nl;)nl=Cn[--jn],Cn[jn]=null,rl=Cn[--jn],Cn[jn]=null;for(;e===tn;)tn=tt[--nt],tt[nt]=null,Ct=tt[--nt],tt[nt]=null,Et=tt[--nt],tt[nt]=null}var Je=null,be=null,he=!1,ct=null;function Su(e,t){var n=it(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 _u(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Je=e,be=At(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Je=e,be=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=tn!==null?{id:Et,overflow:Ct}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=it(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Je=e,be=null,!0):!1;default:return!1}}function Io(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ao(e){if(he){var t=be;if(t){var n=t;if(!_u(e,t)){if(Io(e))throw Error(u(418));t=At(n.nextSibling);var r=Je;t&&_u(e,t)?Su(r,n):(e.flags=e.flags&-4097|2,he=!1,Je=e)}}else{if(Io(e))throw Error(u(418));e.flags=e.flags&-4097|2,he=!1,Je=e}}}function Nu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Je=e}function ll(e){if(e!==Je)return!1;if(!he)return Nu(e),he=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Po(e.type,e.memoizedProps)),t&&(t=be)){if(Io(e))throw Eu(),Error(u(418));for(;t;)Su(e,t),t=At(t.nextSibling)}if(Nu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){be=At(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}be=null}}else be=Je?At(e.stateNode.nextSibling):null;return!0}function Eu(){for(var e=be;e;)e=At(e.nextSibling)}function zn(){be=Je=null,he=!1}function Fo(e){ct===null?ct=[e]:ct.push(e)}var kf=se.ReactCurrentBatchConfig;function ar(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(u(309));var r=n.stateNode}if(!r)throw Error(u(147,e));var l=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(i){var c=l.refs;i===null?delete c[o]:c[o]=i},t._stringRef=o,t)}if(typeof e!="string")throw Error(u(284));if(!n._owner)throw Error(u(290,e))}return e}function ol(e,t){throw e=Object.prototype.toString.call(t),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Cu(e){var t=e._init;return t(e._payload)}function ju(e){function t(m,p){if(e){var v=m.deletions;v===null?(m.deletions=[p],m.flags|=16):v.push(p)}}function n(m,p){if(!e)return null;for(;p!==null;)t(m,p),p=p.sibling;return null}function r(m,p){for(m=new Map;p!==null;)p.key!==null?m.set(p.key,p):m.set(p.index,p),p=p.sibling;return m}function l(m,p){return m=Xt(m,p),m.index=0,m.sibling=null,m}function o(m,p,v){return m.index=v,e?(v=m.alternate,v!==null?(v=v.index,v<p?(m.flags|=2,p):v):(m.flags|=2,p)):(m.flags|=1048576,p)}function i(m){return e&&m.alternate===null&&(m.flags|=2),m}function c(m,p,v,z){return p===null||p.tag!==6?(p=Ti(v,m.mode,z),p.return=m,p):(p=l(p,v),p.return=m,p)}function d(m,p,v,z){var U=v.type;return U===Ne?N(m,p,v.props.children,z,v.key):p!==null&&(p.elementType===U||typeof U=="object"&&U!==null&&U.$$typeof===We&&Cu(U)===p.type)?(z=l(p,v.props),z.ref=ar(m,p,v),z.return=m,z):(z=Pl(v.type,v.key,v.props,null,m.mode,z),z.ref=ar(m,p,v),z.return=m,z)}function g(m,p,v,z){return p===null||p.tag!==4||p.stateNode.containerInfo!==v.containerInfo||p.stateNode.implementation!==v.implementation?(p=Li(v,m.mode,z),p.return=m,p):(p=l(p,v.children||[]),p.return=m,p)}function N(m,p,v,z,U){return p===null||p.tag!==7?(p=dn(v,m.mode,z,U),p.return=m,p):(p=l(p,v),p.return=m,p)}function E(m,p,v){if(typeof p=="string"&&p!==""||typeof p=="number")return p=Ti(""+p,m.mode,v),p.return=m,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case ze:return v=Pl(p.type,p.key,p.props,null,m.mode,v),v.ref=ar(m,null,p),v.return=m,v;case xe:return p=Li(p,m.mode,v),p.return=m,p;case We:var z=p._init;return E(m,z(p._payload),v)}if(An(p)||K(p))return p=dn(p,m.mode,v,null),p.return=m,p;ol(m,p)}return null}function S(m,p,v,z){var U=p!==null?p.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return U!==null?null:c(m,p,""+v,z);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case ze:return v.key===U?d(m,p,v,z):null;case xe:return v.key===U?g(m,p,v,z):null;case We:return U=v._init,S(m,p,U(v._payload),z)}if(An(v)||K(v))return U!==null?null:N(m,p,v,z,null);ol(m,v)}return null}function L(m,p,v,z,U){if(typeof z=="string"&&z!==""||typeof z=="number")return m=m.get(v)||null,c(p,m,""+z,U);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case ze:return m=m.get(z.key===null?v:z.key)||null,d(p,m,z,U);case xe:return m=m.get(z.key===null?v:z.key)||null,g(p,m,z,U);case We:var V=z._init;return L(m,p,v,V(z._payload),U)}if(An(z)||K(z))return m=m.get(v)||null,N(p,m,z,U,null);ol(p,z)}return null}function I(m,p,v,z){for(var U=null,V=null,Q=p,G=p=0,Le=null;Q!==null&&G<v.length;G++){Q.index>G?(Le=Q,Q=null):Le=Q.sibling;var le=S(m,Q,v[G],z);if(le===null){Q===null&&(Q=Le);break}e&&Q&&le.alternate===null&&t(m,Q),p=o(le,p,G),V===null?U=le:V.sibling=le,V=le,Q=Le}if(G===v.length)return n(m,Q),he&&nn(m,G),U;if(Q===null){for(;G<v.length;G++)Q=E(m,v[G],z),Q!==null&&(p=o(Q,p,G),V===null?U=Q:V.sibling=Q,V=Q);return he&&nn(m,G),U}for(Q=r(m,Q);G<v.length;G++)Le=L(Q,m,G,v[G],z),Le!==null&&(e&&Le.alternate!==null&&Q.delete(Le.key===null?G:Le.key),p=o(Le,p,G),V===null?U=Le:V.sibling=Le,V=Le);return e&&Q.forEach(function(qt){return t(m,qt)}),he&&nn(m,G),U}function A(m,p,v,z){var U=K(v);if(typeof U!="function")throw Error(u(150));if(v=U.call(v),v==null)throw Error(u(151));for(var V=U=null,Q=p,G=p=0,Le=null,le=v.next();Q!==null&&!le.done;G++,le=v.next()){Q.index>G?(Le=Q,Q=null):Le=Q.sibling;var qt=S(m,Q,le.value,z);if(qt===null){Q===null&&(Q=Le);break}e&&Q&&qt.alternate===null&&t(m,Q),p=o(qt,p,G),V===null?U=qt:V.sibling=qt,V=qt,Q=Le}if(le.done)return n(m,Q),he&&nn(m,G),U;if(Q===null){for(;!le.done;G++,le=v.next())le=E(m,le.value,z),le!==null&&(p=o(le,p,G),V===null?U=le:V.sibling=le,V=le);return he&&nn(m,G),U}for(Q=r(m,Q);!le.done;G++,le=v.next())le=L(Q,m,G,le.value,z),le!==null&&(e&&le.alternate!==null&&Q.delete(le.key===null?G:le.key),p=o(le,p,G),V===null?U=le:V.sibling=le,V=le);return e&&Q.forEach(function(bf){return t(m,bf)}),he&&nn(m,G),U}function ke(m,p,v,z){if(typeof v=="object"&&v!==null&&v.type===Ne&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case ze:e:{for(var U=v.key,V=p;V!==null;){if(V.key===U){if(U=v.type,U===Ne){if(V.tag===7){n(m,V.sibling),p=l(V,v.props.children),p.return=m,m=p;break e}}else if(V.elementType===U||typeof U=="object"&&U!==null&&U.$$typeof===We&&Cu(U)===V.type){n(m,V.sibling),p=l(V,v.props),p.ref=ar(m,V,v),p.return=m,m=p;break e}n(m,V);break}else t(m,V);V=V.sibling}v.type===Ne?(p=dn(v.props.children,m.mode,z,v.key),p.return=m,m=p):(z=Pl(v.type,v.key,v.props,null,m.mode,z),z.ref=ar(m,p,v),z.return=m,m=z)}return i(m);case xe:e:{for(V=v.key;p!==null;){if(p.key===V)if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){n(m,p.sibling),p=l(p,v.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=Li(v,m.mode,z),p.return=m,m=p}return i(m);case We:return V=v._init,ke(m,p,V(v._payload),z)}if(An(v))return I(m,p,v,z);if(K(v))return A(m,p,v,z);ol(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,p!==null&&p.tag===6?(n(m,p.sibling),p=l(p,v),p.return=m,m=p):(n(m,p),p=Ti(v,m.mode,z),p.return=m,m=p),i(m)):n(m,p)}return ke}var Pn=ju(!0),zu=ju(!1),il=Ft(null),sl=null,Tn=null,Uo=null;function Ho(){Uo=Tn=sl=null}function Bo(e){var t=il.current;fe(il),e._currentValue=t}function Wo(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 Ln(e,t){sl=e,Uo=Tn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ke=!0),e.firstContext=null)}function rt(e){var t=e._currentValue;if(Uo!==e)if(e={context:e,memoizedValue:t,next:null},Tn===null){if(sl===null)throw Error(u(308));Tn=e,sl.dependencies={lanes:0,firstContext:e}}else Tn=Tn.next=e;return t}var rn=null;function Vo(e){rn===null?rn=[e]:rn.push(e)}function Pu(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Vo(t)):(n.next=l.next,l.next=n),t.interleaved=n,jt(e,r)}function jt(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 Bt=!1;function Qo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Tu(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 zt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(ee&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,jt(e,n)}return l=r.interleaved,l===null?(t.next=t,Vo(r)):(t.next=l.next,l.next=t),r.interleaved=t,jt(e,n)}function ul(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,lo(e,n)}}function Lu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=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};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,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 al(e,t,n,r){var l=e.updateQueue;Bt=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,c=l.shared.pending;if(c!==null){l.shared.pending=null;var d=c,g=d.next;d.next=null,i===null?o=g:i.next=g,i=d;var N=e.alternate;N!==null&&(N=N.updateQueue,c=N.lastBaseUpdate,c!==i&&(c===null?N.firstBaseUpdate=g:c.next=g,N.lastBaseUpdate=d))}if(o!==null){var E=l.baseState;i=0,N=g=d=null,c=o;do{var S=c.lane,L=c.eventTime;if((r&S)===S){N!==null&&(N=N.next={eventTime:L,lane:0,tag:c.tag,payload:c.payload,callback:c.callback,next:null});e:{var I=e,A=c;switch(S=t,L=n,A.tag){case 1:if(I=A.payload,typeof I=="function"){E=I.call(L,E,S);break e}E=I;break e;case 3:I.flags=I.flags&-65537|128;case 0:if(I=A.payload,S=typeof I=="function"?I.call(L,E,S):I,S==null)break e;E=D({},E,S);break e;case 2:Bt=!0}}c.callback!==null&&c.lane!==0&&(e.flags|=64,S=l.effects,S===null?l.effects=[c]:S.push(c))}else L={eventTime:L,lane:S,tag:c.tag,payload:c.payload,callback:c.callback,next:null},N===null?(g=N=L,d=E):N=N.next=L,i|=S;if(c=c.next,c===null){if(c=l.shared.pending,c===null)break;S=c,c=S.next,S.next=null,l.lastBaseUpdate=S,l.shared.pending=null}}while(!0);if(N===null&&(d=E),l.baseState=d,l.firstBaseUpdate=g,l.lastBaseUpdate=N,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);sn|=i,e.lanes=i,e.memoizedState=E}}function Ru(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(u(191,l));l.call(r)}}}var cr={},kt=Ft(cr),dr=Ft(cr),fr=Ft(cr);function ln(e){if(e===cr)throw Error(u(174));return e}function Ko(e,t){switch(ae(fr,t),ae(dr,e),ae(kt,cr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Kl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Kl(t,e)}fe(kt),ae(kt,t)}function Rn(){fe(kt),fe(dr),fe(fr)}function Mu(e){ln(fr.current);var t=ln(kt.current),n=Kl(t,e.type);t!==n&&(ae(dr,e),ae(kt,n))}function Yo(e){dr.current===e&&(fe(kt),fe(dr))}var me=Ft(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)!==0)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 Go=[];function Xo(){for(var e=0;e<Go.length;e++)Go[e]._workInProgressVersionPrimary=null;Go.length=0}var dl=se.ReactCurrentDispatcher,qo=se.ReactCurrentBatchConfig,on=0,ve=null,Ee=null,Pe=null,fl=!1,pr=!1,hr=0,xf=0;function Ie(){throw Error(u(321))}function Zo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!at(e[n],t[n]))return!1;return!0}function Jo(e,t,n,r,l,o){if(on=o,ve=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,dl.current=e===null||e.memoizedState===null?Ef:Cf,e=n(r,l),pr){o=0;do{if(pr=!1,hr=0,25<=o)throw Error(u(301));o+=1,Pe=Ee=null,t.updateQueue=null,dl.current=jf,e=n(r,l)}while(pr)}if(dl.current=ml,t=Ee!==null&&Ee.next!==null,on=0,Pe=Ee=ve=null,fl=!1,t)throw Error(u(300));return e}function bo(){var e=hr!==0;return hr=0,e}function xt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?ve.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function lt(){if(Ee===null){var e=ve.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=Pe===null?ve.memoizedState:Pe.next;if(t!==null)Pe=t,Ee=e;else{if(e===null)throw Error(u(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},Pe===null?ve.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function mr(e,t){return typeof t=="function"?t(e):t}function ei(e){var t=lt(),n=t.queue;if(n===null)throw Error(u(311));n.lastRenderedReducer=e;var r=Ee,l=r.baseQueue,o=n.pending;if(o!==null){if(l!==null){var i=l.next;l.next=o.next,o.next=i}r.baseQueue=l=o,n.pending=null}if(l!==null){o=l.next,r=r.baseState;var c=i=null,d=null,g=o;do{var N=g.lane;if((on&N)===N)d!==null&&(d=d.next={lane:0,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),r=g.hasEagerState?g.eagerState:e(r,g.action);else{var E={lane:N,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};d===null?(c=d=E,i=r):d=d.next=E,ve.lanes|=N,sn|=N}g=g.next}while(g!==null&&g!==o);d===null?i=r:d.next=c,at(r,t.memoizedState)||(Ke=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=d,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do o=l.lane,ve.lanes|=o,sn|=o,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ti(e){var t=lt(),n=t.queue;if(n===null)throw Error(u(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,o=t.memoizedState;if(l!==null){n.pending=null;var i=l=l.next;do o=e(o,i.action),i=i.next;while(i!==l);at(o,t.memoizedState)||(Ke=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Du(){}function $u(e,t){var n=ve,r=lt(),l=t(),o=!at(r.memoizedState,l);if(o&&(r.memoizedState=l,Ke=!0),r=r.queue,ni(Au.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,vr(9,Iu.bind(null,n,r,l,t),void 0,null),Te===null)throw Error(u(349));(on&30)!==0||Ou(n,t,l)}return l}function Ou(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ve.updateQueue,t===null?(t={lastEffect:null,stores:null},ve.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Iu(e,t,n,r){t.value=n,t.getSnapshot=r,Fu(t)&&Uu(e)}function Au(e,t,n){return n(function(){Fu(t)&&Uu(e)})}function Fu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!at(e,n)}catch{return!0}}function Uu(e){var t=jt(e,1);t!==null&&ht(t,e,1,-1)}function Hu(e){var t=xt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:mr,lastRenderedState:e},t.queue=e,e=e.dispatch=Nf.bind(null,ve,e),[t.memoizedState,e]}function vr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ve.updateQueue,t===null?(t={lastEffect:null,stores:null},ve.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 Bu(){return lt().memoizedState}function pl(e,t,n,r){var l=xt();ve.flags|=e,l.memoizedState=vr(1|t,n,void 0,r===void 0?null:r)}function hl(e,t,n,r){var l=lt();r=r===void 0?null:r;var o=void 0;if(Ee!==null){var i=Ee.memoizedState;if(o=i.destroy,r!==null&&Zo(r,i.deps)){l.memoizedState=vr(t,n,o,r);return}}ve.flags|=e,l.memoizedState=vr(1|t,n,o,r)}function Wu(e,t){return pl(8390656,8,e,t)}function ni(e,t){return hl(2048,8,e,t)}function Vu(e,t){return hl(4,2,e,t)}function Qu(e,t){return hl(4,4,e,t)}function Ku(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 Yu(e,t,n){return n=n!=null?n.concat([e]):null,hl(4,4,Ku.bind(null,t,e),n)}function ri(){}function Gu(e,t){var n=lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Zo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xu(e,t){var n=lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Zo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function qu(e,t,n){return(on&21)===0?(e.baseState&&(e.baseState=!1,Ke=!0),e.memoizedState=n):(at(n,t)||(n=Cs(),ve.lanes|=n,sn|=n,e.baseState=!0),t)}function Sf(e,t){var n=ie;ie=n!==0&&4>n?n:4,e(!0);var r=qo.transition;qo.transition={};try{e(!1),t()}finally{ie=n,qo.transition=r}}function Zu(){return lt().memoizedState}function _f(e,t,n){var r=Yt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ju(e))bu(t,n);else if(n=Pu(e,t,n,r),n!==null){var l=He();ht(n,e,r,l),ea(n,t,r)}}function Nf(e,t,n){var r=Yt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ju(e))bu(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,c=o(i,n);if(l.hasEagerState=!0,l.eagerState=c,at(c,i)){var d=t.interleaved;d===null?(l.next=l,Vo(t)):(l.next=d.next,d.next=l),t.interleaved=l;return}}catch{}finally{}n=Pu(e,t,l,r),n!==null&&(l=He(),ht(n,e,r,l),ea(n,t,r))}}function Ju(e){var t=e.alternate;return e===ve||t!==null&&t===ve}function bu(e,t){pr=fl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ea(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lo(e,n)}}var ml={readContext:rt,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useInsertionEffect:Ie,useLayoutEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useMutableSource:Ie,useSyncExternalStore:Ie,useId:Ie,unstable_isNewReconciler:!1},Ef={readContext:rt,useCallback:function(e,t){return xt().memoizedState=[e,t===void 0?null:t],e},useContext:rt,useEffect:Wu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,pl(4194308,4,Ku.bind(null,t,e),n)},useLayoutEffect:function(e,t){return pl(4194308,4,e,t)},useInsertionEffect:function(e,t){return pl(4,2,e,t)},useMemo:function(e,t){var n=xt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xt();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,ve,e),[r.memoizedState,e]},useRef:function(e){var t=xt();return e={current:e},t.memoizedState=e},useState:Hu,useDebugValue:ri,useDeferredValue:function(e){return xt().memoizedState=e},useTransition:function(){var e=Hu(!1),t=e[0];return e=Sf.bind(null,e[1]),xt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ve,l=xt();if(he){if(n===void 0)throw Error(u(407));n=n()}else{if(n=t(),Te===null)throw Error(u(349));(on&30)!==0||Ou(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Wu(Au.bind(null,r,o,e),[e]),r.flags|=2048,vr(9,Iu.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=xt(),t=Te.identifierPrefix;if(he){var n=Ct,r=Et;n=(r&~(1<<32-ut(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=hr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=xf++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Cf={readContext:rt,useCallback:Gu,useContext:rt,useEffect:ni,useImperativeHandle:Yu,useInsertionEffect:Vu,useLayoutEffect:Qu,useMemo:Xu,useReducer:ei,useRef:Bu,useState:function(){return ei(mr)},useDebugValue:ri,useDeferredValue:function(e){var t=lt();return qu(t,Ee.memoizedState,e)},useTransition:function(){var e=ei(mr)[0],t=lt().memoizedState;return[e,t]},useMutableSource:Du,useSyncExternalStore:$u,useId:Zu,unstable_isNewReconciler:!1},jf={readContext:rt,useCallback:Gu,useContext:rt,useEffect:ni,useImperativeHandle:Yu,useInsertionEffect:Vu,useLayoutEffect:Qu,useMemo:Xu,useReducer:ti,useRef:Bu,useState:function(){return ti(mr)},useDebugValue:ri,useDeferredValue:function(e){var t=lt();return Ee===null?t.memoizedState=e:qu(t,Ee.memoizedState,e)},useTransition:function(){var e=ti(mr)[0],t=lt().memoizedState;return[e,t]},useMutableSource:Du,useSyncExternalStore:$u,useId:Zu,unstable_isNewReconciler:!1};function dt(e,t){if(e&&e.defaultProps){t=D({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function li(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:D({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var vl={isMounted:function(e){return(e=e._reactInternals)?Jt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=He(),l=Yt(e),o=zt(r,l);o.payload=t,n!=null&&(o.callback=n),t=Wt(e,o,l),t!==null&&(ht(t,e,l,r),ul(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=He(),l=Yt(e),o=zt(r,l);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Wt(e,o,l),t!==null&&(ht(t,e,l,r),ul(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=He(),r=Yt(e),l=zt(n,r);l.tag=2,t!=null&&(l.callback=t),t=Wt(e,l,r),t!==null&&(ht(t,e,r,n),ul(t,e,r))}};function ta(e,t,n,r,l,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,i):t.prototype&&t.prototype.isPureReactComponent?!nr(n,r)||!nr(l,o):!0}function na(e,t,n){var r=!1,l=Ut,o=t.contextType;return typeof o=="object"&&o!==null?o=rt(o):(l=Qe(t)?en:Oe.current,r=t.contextTypes,o=(r=r!=null)?En(e,l):Ut),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=vl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),t}function ra(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&&vl.enqueueReplaceState(t,t.state,null)}function oi(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Qo(e);var o=t.contextType;typeof o=="object"&&o!==null?l.context=rt(o):(o=Qe(t)?en:Oe.current,l.context=En(e,o)),l.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(li(e,t,o,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&&vl.enqueueReplaceState(l,l.state,null),al(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Mn(e,t){try{var n="",r=t;do n+=ne(r),r=r.return;while(r);var l=n}catch(o){l=`
|
|
39
|
+
Error generating stack: `+o.message+`
|
|
40
|
+
`+o.stack}return{value:e,source:t,stack:l,digest:null}}function ii(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function si(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var zf=typeof WeakMap=="function"?WeakMap:Map;function la(e,t,n){n=zt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){_l||(_l=!0,Si=r),si(e,t)},n}function oa(e,t,n){n=zt(-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(){si(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){si(e,t),typeof r!="function"&&(Qt===null?Qt=new Set([this]):Qt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function ia(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new zf;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=Bf.bind(null,e,t,n),t.then(e,e))}function sa(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 ua(e,t,n,r,l){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=zt(-1,1),t.tag=2,Wt(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var Pf=se.ReactCurrentOwner,Ke=!1;function Ue(e,t,n,r){t.child=e===null?zu(t,null,n,r):Pn(t,e.child,n,r)}function aa(e,t,n,r,l){n=n.render;var o=t.ref;return Ln(t,l),r=Jo(e,t,n,r,o,l),n=bo(),e!==null&&!Ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Pt(e,t,l)):(he&&n&&$o(t),t.flags|=1,Ue(e,t,r,l),t.child)}function ca(e,t,n,r,l){if(e===null){var o=n.type;return typeof o=="function"&&!Pi(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,da(e,t,o,r,l)):(e=Pl(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&l)===0){var i=o.memoizedProps;if(n=n.compare,n=n!==null?n:nr,n(i,r)&&e.ref===t.ref)return Pt(e,t,l)}return t.flags|=1,e=Xt(o,r),e.ref=t.ref,e.return=t,t.child=e}function da(e,t,n,r,l){if(e!==null){var o=e.memoizedProps;if(nr(o,r)&&e.ref===t.ref)if(Ke=!1,t.pendingProps=r=o,(e.lanes&l)!==0)(e.flags&131072)!==0&&(Ke=!0);else return t.lanes=e.lanes,Pt(e,t,l)}return ui(e,t,n,r,l)}function fa(e,t,n){var r=t.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ae($n,et),et|=n;else{if((n&1073741824)===0)return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ae($n,et),et|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ae($n,et),et|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ae($n,et),et|=r;return Ue(e,t,l,n),t.child}function pa(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ui(e,t,n,r,l){var o=Qe(n)?en:Oe.current;return o=En(t,o),Ln(t,l),n=Jo(e,t,n,r,o,l),r=bo(),e!==null&&!Ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Pt(e,t,l)):(he&&r&&$o(t),t.flags|=1,Ue(e,t,n,l),t.child)}function ha(e,t,n,r,l){if(Qe(n)){var o=!0;el(t)}else o=!1;if(Ln(t,l),t.stateNode===null)gl(e,t),na(t,n,r),oi(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,c=t.memoizedProps;i.props=c;var d=i.context,g=n.contextType;typeof g=="object"&&g!==null?g=rt(g):(g=Qe(n)?en:Oe.current,g=En(t,g));var N=n.getDerivedStateFromProps,E=typeof N=="function"||typeof i.getSnapshotBeforeUpdate=="function";E||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c!==r||d!==g)&&ra(t,i,r,g),Bt=!1;var S=t.memoizedState;i.state=S,al(t,r,i,l),d=t.memoizedState,c!==r||S!==d||Ve.current||Bt?(typeof N=="function"&&(li(t,n,N,r),d=t.memoizedState),(c=Bt||ta(t,n,c,r,S,d,g))?(E||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=d),i.props=r,i.state=d,i.context=g,r=c):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Tu(e,t),c=t.memoizedProps,g=t.type===t.elementType?c:dt(t.type,c),i.props=g,E=t.pendingProps,S=i.context,d=n.contextType,typeof d=="object"&&d!==null?d=rt(d):(d=Qe(n)?en:Oe.current,d=En(t,d));var L=n.getDerivedStateFromProps;(N=typeof L=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c!==E||S!==d)&&ra(t,i,r,d),Bt=!1,S=t.memoizedState,i.state=S,al(t,r,i,l);var I=t.memoizedState;c!==E||S!==I||Ve.current||Bt?(typeof L=="function"&&(li(t,n,L,r),I=t.memoizedState),(g=Bt||ta(t,n,g,r,S,I,d)||!1)?(N||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,I,d),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,I,d)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&S===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&S===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=I),i.props=r,i.state=I,i.context=d,r=g):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&S===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&S===e.memoizedState||(t.flags|=1024),r=!1)}return ai(e,t,n,r,o,l)}function ai(e,t,n,r,l,o){pa(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return l&&wu(t,n,!1),Pt(e,t,o);r=t.stateNode,Pf.current=t;var c=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Pn(t,e.child,null,o),t.child=Pn(t,null,c,o)):Ue(e,t,c,o),t.memoizedState=r.state,l&&wu(t,n,!0),t.child}function ma(e){var t=e.stateNode;t.pendingContext?yu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&yu(e,t.context,!1),Ko(e,t.containerInfo)}function va(e,t,n,r,l){return zn(),Fo(l),t.flags|=256,Ue(e,t,n,r),t.child}var ci={dehydrated:null,treeContext:null,retryLane:0};function di(e){return{baseLanes:e,cachePool:null,transitions:null}}function ya(e,t,n){var r=t.pendingProps,l=me.current,o=!1,i=(t.flags&128)!==0,c;if((c=i)||(c=e!==null&&e.memoizedState===null?!1:(l&2)!==0),c?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),ae(me,l&1),e===null)return Ao(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},(r&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=i):o=Tl(i,r,0,null),e=dn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=di(n),t.memoizedState=ci,e):fi(t,i));if(l=e.memoizedState,l!==null&&(c=l.dehydrated,c!==null))return Tf(e,t,i,r,c,l,n);if(o){o=r.fallback,i=t.mode,l=e.child,c=l.sibling;var d={mode:"hidden",children:r.children};return(i&1)===0&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=d,t.deletions=null):(r=Xt(l,d),r.subtreeFlags=l.subtreeFlags&14680064),c!==null?o=Xt(c,o):(o=dn(o,i,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,i=e.child.memoizedState,i=i===null?di(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=ci,r}return o=e.child,e=o.sibling,r=Xt(o,{mode:"visible",children:r.children}),(t.mode&1)===0&&(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 fi(e,t){return t=Tl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function yl(e,t,n,r){return r!==null&&Fo(r),Pn(t,e.child,null,n),e=fi(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Tf(e,t,n,r,l,o,i){if(n)return t.flags&256?(t.flags&=-257,r=ii(Error(u(422))),yl(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,l=t.mode,r=Tl({mode:"visible",children:r.children},l,0,null),o=dn(o,l,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,(t.mode&1)!==0&&Pn(t,e.child,null,i),t.child.memoizedState=di(i),t.memoizedState=ci,o);if((t.mode&1)===0)return yl(e,t,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var c=r.dgst;return r=c,o=Error(u(419)),r=ii(o,r,void 0),yl(e,t,i,r)}if(c=(i&e.childLanes)!==0,Ke||c){if(r=Te,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?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,jt(e,l),ht(r,e,l,-1))}return zi(),r=ii(Error(u(421))),yl(e,t,i,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=Wf.bind(null,e),l._reactRetry=t,null):(e=o.treeContext,be=At(l.nextSibling),Je=t,he=!0,ct=null,e!==null&&(tt[nt++]=Et,tt[nt++]=Ct,tt[nt++]=tn,Et=e.id,Ct=e.overflow,tn=t),t=fi(t,r.children),t.flags|=4096,t)}function ga(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Wo(e.return,t,n)}function pi(e,t,n,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l)}function wa(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(Ue(e,t,r.children,n),r=me.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ga(e,n,t);else if(e.tag===19)ga(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(ae(me,r),(t.mode&1)===0)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),pi(t,!1,l,n,o);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}pi(t,!0,n,null,o);break;case"together":pi(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function gl(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Pt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),sn|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(u(153));if(t.child!==null){for(e=t.child,n=Xt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Xt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Lf(e,t,n){switch(t.tag){case 3:ma(t),zn();break;case 5:Mu(t);break;case 1:Qe(t.type)&&el(t);break;case 4:Ko(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;ae(il,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ae(me,me.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?ya(e,t,n):(ae(me,me.current&1),e=Pt(e,t,n),e!==null?e.sibling:null);ae(me,me.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return wa(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ae(me,me.current),r)break;return null;case 22:case 23:return t.lanes=0,fa(e,t,n)}return Pt(e,t,n)}var ka,hi,xa,Sa;ka=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}},hi=function(){},xa=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,ln(kt.current);var o=null;switch(n){case"input":l=Bl(e,l),r=Bl(e,r),o=[];break;case"select":l=D({},l,{value:void 0}),r=D({},r,{value:void 0}),o=[];break;case"textarea":l=Ql(e,l),r=Ql(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Zr)}Yl(n,r);var i;n=null;for(g in l)if(!r.hasOwnProperty(g)&&l.hasOwnProperty(g)&&l[g]!=null)if(g==="style"){var c=l[g];for(i in c)c.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else g!=="dangerouslySetInnerHTML"&&g!=="children"&&g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(w.hasOwnProperty(g)?o||(o=[]):(o=o||[]).push(g,null));for(g in r){var d=r[g];if(c=l!=null?l[g]:void 0,r.hasOwnProperty(g)&&d!==c&&(d!=null||c!=null))if(g==="style")if(c){for(i in c)!c.hasOwnProperty(i)||d&&d.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in d)d.hasOwnProperty(i)&&c[i]!==d[i]&&(n||(n={}),n[i]=d[i])}else n||(o||(o=[]),o.push(g,n)),n=d;else g==="dangerouslySetInnerHTML"?(d=d?d.__html:void 0,c=c?c.__html:void 0,d!=null&&c!==d&&(o=o||[]).push(g,d)):g==="children"?typeof d!="string"&&typeof d!="number"||(o=o||[]).push(g,""+d):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&(w.hasOwnProperty(g)?(d!=null&&g==="onScroll"&&de("scroll",e),o||c===d||(o=[])):(o=o||[]).push(g,d))}n&&(o=o||[]).push("style",n);var g=o;(t.updateQueue=g)&&(t.flags|=4)}},Sa=function(e,t,n,r){n!==r&&(t.flags|=4)};function yr(e,t){if(!he)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ae(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Rf(e,t,n){var r=t.pendingProps;switch(Oo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ae(t),null;case 1:return Qe(t.type)&&br(),Ae(t),null;case 3:return r=t.stateNode,Rn(),fe(Ve),fe(Oe),Xo(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ll(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ct!==null&&(Ei(ct),ct=null))),hi(e,t),Ae(t),null;case 5:Yo(t);var l=ln(fr.current);if(n=t.type,e!==null&&t.stateNode!=null)xa(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(u(166));return Ae(t),null}if(e=ln(kt.current),ll(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[wt]=t,r[sr]=o,e=(t.mode&1)!==0,n){case"dialog":de("cancel",r),de("close",r);break;case"iframe":case"object":case"embed":de("load",r);break;case"video":case"audio":for(l=0;l<lr.length;l++)de(lr[l],r);break;case"source":de("error",r);break;case"img":case"image":case"link":de("error",r),de("load",r);break;case"details":de("toggle",r);break;case"input":ns(r,o),de("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},de("invalid",r);break;case"textarea":os(r,o),de("invalid",r)}Yl(n,o),l=null;for(var i in o)if(o.hasOwnProperty(i)){var c=o[i];i==="children"?typeof c=="string"?r.textContent!==c&&(o.suppressHydrationWarning!==!0&&qr(r.textContent,c,e),l=["children",c]):typeof c=="number"&&r.textContent!==""+c&&(o.suppressHydrationWarning!==!0&&qr(r.textContent,c,e),l=["children",""+c]):w.hasOwnProperty(i)&&c!=null&&i==="onScroll"&&de("scroll",r)}switch(n){case"input":jr(r),ls(r,o,!0);break;case"textarea":jr(r),ss(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Zr)}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=us(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[wt]=t,e[sr]=r,ka(e,t,!1,!1),t.stateNode=e;e:{switch(i=Gl(n,r),n){case"dialog":de("cancel",e),de("close",e),l=r;break;case"iframe":case"object":case"embed":de("load",e),l=r;break;case"video":case"audio":for(l=0;l<lr.length;l++)de(lr[l],e);l=r;break;case"source":de("error",e),l=r;break;case"img":case"image":case"link":de("error",e),de("load",e),l=r;break;case"details":de("toggle",e),l=r;break;case"input":ns(e,r),l=Bl(e,r),de("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=D({},r,{value:void 0}),de("invalid",e);break;case"textarea":os(e,r),l=Ql(e,r),de("invalid",e);break;default:l=r}Yl(n,l),c=l;for(o in c)if(c.hasOwnProperty(o)){var d=c[o];o==="style"?ds(e,d):o==="dangerouslySetInnerHTML"?(d=d?d.__html:void 0,d!=null&&as(e,d)):o==="children"?typeof d=="string"?(n!=="textarea"||d!=="")&&Fn(e,d):typeof d=="number"&&Fn(e,""+d):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(w.hasOwnProperty(o)?d!=null&&o==="onScroll"&&de("scroll",e):d!=null&&F(e,o,d,i))}switch(n){case"input":jr(e),ls(e,r,!1);break;case"textarea":jr(e),ss(e);break;case"option":r.value!=null&&e.setAttribute("value",""+oe(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?pn(e,!!r.multiple,o,!1):r.defaultValue!=null&&pn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ae(t),null;case 6:if(e&&t.stateNode!=null)Sa(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(u(166));if(n=ln(fr.current),ln(kt.current),ll(t)){if(r=t.stateNode,n=t.memoizedProps,r[wt]=t,(o=r.nodeValue!==n)&&(e=Je,e!==null))switch(e.tag){case 3:qr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&qr(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[wt]=t,t.stateNode=r}return Ae(t),null;case 13:if(fe(me),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(he&&be!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Eu(),zn(),t.flags|=98560,o=!1;else if(o=ll(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(u(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(u(317));o[wt]=t}else zn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ae(t),o=!1}else ct!==null&&(Ei(ct),ct=null),o=!0;if(!o)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(me.current&1)!==0?Ce===0&&(Ce=3):zi())),t.updateQueue!==null&&(t.flags|=4),Ae(t),null);case 4:return Rn(),hi(e,t),e===null&&or(t.stateNode.containerInfo),Ae(t),null;case 10:return Bo(t.type._context),Ae(t),null;case 17:return Qe(t.type)&&br(),Ae(t),null;case 19:if(fe(me),o=t.memoizedState,o===null)return Ae(t),null;if(r=(t.flags&128)!==0,i=o.rendering,i===null)if(r)yr(o,!1);else{if(Ce!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=cl(e),i!==null){for(t.flags|=128,yr(o,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ae(me,me.current&1|2),t.child}e=e.sibling}o.tail!==null&&we()>On&&(t.flags|=128,r=!0,yr(o,!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),yr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!he)return Ae(t),null}else 2*we()-o.renderingStartTime>On&&n!==1073741824&&(t.flags|=128,r=!0,yr(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=we(),t.sibling=null,n=me.current,ae(me,r?n&1|2:n&1),t):(Ae(t),null);case 22:case 23:return ji(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(et&1073741824)!==0&&(Ae(t),t.subtreeFlags&6&&(t.flags|=8192)):Ae(t),null;case 24:return null;case 25:return null}throw Error(u(156,t.tag))}function Mf(e,t){switch(Oo(t),t.tag){case 1:return Qe(t.type)&&br(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Rn(),fe(Ve),fe(Oe),Xo(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Yo(t),null;case 13:if(fe(me),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));zn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fe(me),null;case 4:return Rn(),null;case 10:return Bo(t.type._context),null;case 22:case 23:return ji(),null;case 24:return null;default:return null}}var wl=!1,Fe=!1,Df=typeof WeakSet=="function"?WeakSet:Set,M=null;function Dn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function mi(e,t,n){try{n()}catch(r){ge(e,t,r)}}var _a=!1;function $f(e,t){if(jo=Fr,e=tu(),wo(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,c=-1,d=-1,g=0,N=0,E=e,S=null;t:for(;;){for(var L;E!==n||l!==0&&E.nodeType!==3||(c=i+l),E!==o||r!==0&&E.nodeType!==3||(d=i+r),E.nodeType===3&&(i+=E.nodeValue.length),(L=E.firstChild)!==null;)S=E,E=L;for(;;){if(E===e)break t;if(S===n&&++g===l&&(c=i),S===o&&++N===r&&(d=i),(L=E.nextSibling)!==null)break;E=S,S=E.parentNode}E=L}n=c===-1||d===-1?null:{start:c,end:d}}else n=null}n=n||{start:0,end:0}}else n=null;for(zo={focusedElem:e,selectionRange:n},Fr=!1,M=t;M!==null;)if(t=M,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,M=e;else for(;M!==null;){t=M;try{var I=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(I!==null){var A=I.memoizedProps,ke=I.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?A:dt(t.type,A),ke);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(u(163))}}catch(z){ge(t,t.return,z)}if(e=t.sibling,e!==null){e.return=t.return,M=e;break}M=t.return}return I=_a,_a=!1,I}function gr(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 o=l.destroy;l.destroy=void 0,o!==void 0&&mi(t,n,o)}l=l.next}while(l!==r)}}function kl(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 vi(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 Na(e){var t=e.alternate;t!==null&&(e.alternate=null,Na(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[wt],delete t[sr],delete t[Ro],delete t[yf],delete t[gf])),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 Ea(e){return e.tag===5||e.tag===3||e.tag===4}function Ca(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ea(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 yi(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=Zr));else if(r!==4&&(e=e.child,e!==null))for(yi(e,t,n),e=e.sibling;e!==null;)yi(e,t,n),e=e.sibling}function gi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(gi(e,t,n),e=e.sibling;e!==null;)gi(e,t,n),e=e.sibling}var De=null,ft=!1;function Vt(e,t,n){for(n=n.child;n!==null;)ja(e,t,n),n=n.sibling}function ja(e,t,n){if(gt&&typeof gt.onCommitFiberUnmount=="function")try{gt.onCommitFiberUnmount(Mr,n)}catch{}switch(n.tag){case 5:Fe||Dn(n,t);case 6:var r=De,l=ft;De=null,Vt(e,t,n),De=r,ft=l,De!==null&&(ft?(e=De,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):De.removeChild(n.stateNode));break;case 18:De!==null&&(ft?(e=De,n=n.stateNode,e.nodeType===8?Lo(e.parentNode,n):e.nodeType===1&&Lo(e,n),qn(e)):Lo(De,n.stateNode));break;case 4:r=De,l=ft,De=n.stateNode.containerInfo,ft=!0,Vt(e,t,n),De=r,ft=l;break;case 0:case 11:case 14:case 15:if(!Fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&((o&2)!==0||(o&4)!==0)&&mi(n,t,i),l=l.next}while(l!==r)}Vt(e,t,n);break;case 1:if(!Fe&&(Dn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(c){ge(n,t,c)}Vt(e,t,n);break;case 21:Vt(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,Vt(e,t,n),Fe=r):Vt(e,t,n);break;default:Vt(e,t,n)}}function za(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Df),t.forEach(function(r){var l=Vf.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var o=e,i=t,c=i;e:for(;c!==null;){switch(c.tag){case 5:De=c.stateNode,ft=!1;break e;case 3:De=c.stateNode.containerInfo,ft=!0;break e;case 4:De=c.stateNode.containerInfo,ft=!0;break e}c=c.return}if(De===null)throw Error(u(160));ja(o,i,l),De=null,ft=!1;var d=l.alternate;d!==null&&(d.return=null),l.return=null}catch(g){ge(l,t,g)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Pa(t,e),t=t.sibling}function Pa(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(pt(t,e),St(e),r&4){try{gr(3,e,e.return),kl(3,e)}catch(A){ge(e,e.return,A)}try{gr(5,e,e.return)}catch(A){ge(e,e.return,A)}}break;case 1:pt(t,e),St(e),r&512&&n!==null&&Dn(n,n.return);break;case 5:if(pt(t,e),St(e),r&512&&n!==null&&Dn(n,n.return),e.flags&32){var l=e.stateNode;try{Fn(l,"")}catch(A){ge(e,e.return,A)}}if(r&4&&(l=e.stateNode,l!=null)){var o=e.memoizedProps,i=n!==null?n.memoizedProps:o,c=e.type,d=e.updateQueue;if(e.updateQueue=null,d!==null)try{c==="input"&&o.type==="radio"&&o.name!=null&&rs(l,o),Gl(c,i);var g=Gl(c,o);for(i=0;i<d.length;i+=2){var N=d[i],E=d[i+1];N==="style"?ds(l,E):N==="dangerouslySetInnerHTML"?as(l,E):N==="children"?Fn(l,E):F(l,N,E,g)}switch(c){case"input":Wl(l,o);break;case"textarea":is(l,o);break;case"select":var S=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!o.multiple;var L=o.value;L!=null?pn(l,!!o.multiple,L,!1):S!==!!o.multiple&&(o.defaultValue!=null?pn(l,!!o.multiple,o.defaultValue,!0):pn(l,!!o.multiple,o.multiple?[]:"",!1))}l[sr]=o}catch(A){ge(e,e.return,A)}}break;case 6:if(pt(t,e),St(e),r&4){if(e.stateNode===null)throw Error(u(162));l=e.stateNode,o=e.memoizedProps;try{l.nodeValue=o}catch(A){ge(e,e.return,A)}}break;case 3:if(pt(t,e),St(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{qn(t.containerInfo)}catch(A){ge(e,e.return,A)}break;case 4:pt(t,e),St(e);break;case 13:pt(t,e),St(e),l=e.child,l.flags&8192&&(o=l.memoizedState!==null,l.stateNode.isHidden=o,!o||l.alternate!==null&&l.alternate.memoizedState!==null||(xi=we())),r&4&&za(e);break;case 22:if(N=n!==null&&n.memoizedState!==null,e.mode&1?(Fe=(g=Fe)||N,pt(t,e),Fe=g):pt(t,e),St(e),r&8192){if(g=e.memoizedState!==null,(e.stateNode.isHidden=g)&&!N&&(e.mode&1)!==0)for(M=e,N=e.child;N!==null;){for(E=M=N;M!==null;){switch(S=M,L=S.child,S.tag){case 0:case 11:case 14:case 15:gr(4,S,S.return);break;case 1:Dn(S,S.return);var I=S.stateNode;if(typeof I.componentWillUnmount=="function"){r=S,n=S.return;try{t=r,I.props=t.memoizedProps,I.state=t.memoizedState,I.componentWillUnmount()}catch(A){ge(r,n,A)}}break;case 5:Dn(S,S.return);break;case 22:if(S.memoizedState!==null){Ra(E);continue}}L!==null?(L.return=S,M=L):Ra(E)}N=N.sibling}e:for(N=null,E=e;;){if(E.tag===5){if(N===null){N=E;try{l=E.stateNode,g?(o=l.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(c=E.stateNode,d=E.memoizedProps.style,i=d!=null&&d.hasOwnProperty("display")?d.display:null,c.style.display=cs("display",i))}catch(A){ge(e,e.return,A)}}}else if(E.tag===6){if(N===null)try{E.stateNode.nodeValue=g?"":E.memoizedProps}catch(A){ge(e,e.return,A)}}else if((E.tag!==22&&E.tag!==23||E.memoizedState===null||E===e)&&E.child!==null){E.child.return=E,E=E.child;continue}if(E===e)break e;for(;E.sibling===null;){if(E.return===null||E.return===e)break e;N===E&&(N=null),E=E.return}N===E&&(N=null),E.sibling.return=E.return,E=E.sibling}}break;case 19:pt(t,e),St(e),r&4&&za(e);break;case 21:break;default:pt(t,e),St(e)}}function St(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Ea(n)){var r=n;break e}n=n.return}throw Error(u(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Fn(l,""),r.flags&=-33);var o=Ca(e);gi(e,o,l);break;case 3:case 4:var i=r.stateNode.containerInfo,c=Ca(e);yi(e,c,i);break;default:throw Error(u(161))}}catch(d){ge(e,e.return,d)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Of(e,t,n){M=e,Ta(e)}function Ta(e,t,n){for(var r=(e.mode&1)!==0;M!==null;){var l=M,o=l.child;if(l.tag===22&&r){var i=l.memoizedState!==null||wl;if(!i){var c=l.alternate,d=c!==null&&c.memoizedState!==null||Fe;c=wl;var g=Fe;if(wl=i,(Fe=d)&&!g)for(M=l;M!==null;)i=M,d=i.child,i.tag===22&&i.memoizedState!==null?Ma(l):d!==null?(d.return=i,M=d):Ma(l);for(;o!==null;)M=o,Ta(o),o=o.sibling;M=l,wl=c,Fe=g}La(e)}else(l.subtreeFlags&8772)!==0&&o!==null?(o.return=l,M=o):La(e)}}function La(e){for(;M!==null;){var t=M;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Fe||kl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Fe)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:dt(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Ru(t,o,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}Ru(t,i,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var d=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":d.autoFocus&&n.focus();break;case"img":d.src&&(n.src=d.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var g=t.alternate;if(g!==null){var N=g.memoizedState;if(N!==null){var E=N.dehydrated;E!==null&&qn(E)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(u(163))}Fe||t.flags&512&&vi(t)}catch(S){ge(t,t.return,S)}}if(t===e){M=null;break}if(n=t.sibling,n!==null){n.return=t.return,M=n;break}M=t.return}}function Ra(e){for(;M!==null;){var t=M;if(t===e){M=null;break}var n=t.sibling;if(n!==null){n.return=t.return,M=n;break}M=t.return}}function Ma(e){for(;M!==null;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{kl(4,t)}catch(d){ge(t,n,d)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(d){ge(t,l,d)}}var o=t.return;try{vi(t)}catch(d){ge(t,o,d)}break;case 5:var i=t.return;try{vi(t)}catch(d){ge(t,i,d)}}}catch(d){ge(t,t.return,d)}if(t===e){M=null;break}var c=t.sibling;if(c!==null){c.return=t.return,M=c;break}M=t.return}}var If=Math.ceil,xl=se.ReactCurrentDispatcher,wi=se.ReactCurrentOwner,ot=se.ReactCurrentBatchConfig,ee=0,Te=null,Se=null,$e=0,et=0,$n=Ft(0),Ce=0,wr=null,sn=0,Sl=0,ki=0,kr=null,Ye=null,xi=0,On=1/0,Tt=null,_l=!1,Si=null,Qt=null,Nl=!1,Kt=null,El=0,xr=0,_i=null,Cl=-1,jl=0;function He(){return(ee&6)!==0?we():Cl!==-1?Cl:Cl=we()}function Yt(e){return(e.mode&1)===0?1:(ee&2)!==0&&$e!==0?$e&-$e:kf.transition!==null?(jl===0&&(jl=Cs()),jl):(e=ie,e!==0||(e=window.event,e=e===void 0?16:$s(e.type)),e)}function ht(e,t,n,r){if(50<xr)throw xr=0,_i=null,Error(u(185));Qn(e,n,r),((ee&2)===0||e!==Te)&&(e===Te&&((ee&2)===0&&(Sl|=n),Ce===4&&Gt(e,$e)),Ge(e,r),n===1&&ee===0&&(t.mode&1)===0&&(On=we()+500,tl&&Ht()))}function Ge(e,t){var n=e.callbackNode;wd(e,t);var r=Or(e,e===Te?$e:0);if(r===0)n!==null&&_s(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&_s(n),t===1)e.tag===0?wf($a.bind(null,e)):ku($a.bind(null,e)),mf(function(){(ee&6)===0&&Ht()}),n=null;else{switch(js(r)){case 1:n=to;break;case 4:n=Ns;break;case 16:n=Rr;break;case 536870912:n=Es;break;default:n=Rr}n=Wa(n,Da.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Da(e,t){if(Cl=-1,jl=0,(ee&6)!==0)throw Error(u(327));var n=e.callbackNode;if(In()&&e.callbackNode!==n)return null;var r=Or(e,e===Te?$e:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=zl(e,r);else{t=r;var l=ee;ee|=2;var o=Ia();(Te!==e||$e!==t)&&(Tt=null,On=we()+500,an(e,t));do try{Uf();break}catch(c){Oa(e,c)}while(!0);Ho(),xl.current=o,ee=l,Se!==null?t=0:(Te=null,$e=0,t=Ce)}if(t!==0){if(t===2&&(l=no(e),l!==0&&(r=l,t=Ni(e,l))),t===1)throw n=wr,an(e,0),Gt(e,r),Ge(e,we()),n;if(t===6)Gt(e,r);else{if(l=e.current.alternate,(r&30)===0&&!Af(l)&&(t=zl(e,r),t===2&&(o=no(e),o!==0&&(r=o,t=Ni(e,o))),t===1))throw n=wr,an(e,0),Gt(e,r),Ge(e,we()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(u(345));case 2:cn(e,Ye,Tt);break;case 3:if(Gt(e,r),(r&130023424)===r&&(t=xi+500-we(),10<t)){if(Or(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){He(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=To(cn.bind(null,e,Ye,Tt),t);break}cn(e,Ye,Tt);break;case 4:if(Gt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var i=31-ut(r);o=1<<i,i=t[i],i>l&&(l=i),r&=~o}if(r=l,r=we()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*If(r/1960))-r,10<r){e.timeoutHandle=To(cn.bind(null,e,Ye,Tt),r);break}cn(e,Ye,Tt);break;case 5:cn(e,Ye,Tt);break;default:throw Error(u(329))}}}return Ge(e,we()),e.callbackNode===n?Da.bind(null,e):null}function Ni(e,t){var n=kr;return e.current.memoizedState.isDehydrated&&(an(e,t).flags|=256),e=zl(e,t),e!==2&&(t=Ye,Ye=n,t!==null&&Ei(t)),e}function Ei(e){Ye===null?Ye=e:Ye.push.apply(Ye,e)}function Af(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],o=l.getSnapshot;l=l.value;try{if(!at(o(),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 Gt(e,t){for(t&=~ki,t&=~Sl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ut(t),r=1<<n;e[n]=-1,t&=~r}}function $a(e){if((ee&6)!==0)throw Error(u(327));In();var t=Or(e,0);if((t&1)===0)return Ge(e,we()),null;var n=zl(e,t);if(e.tag!==0&&n===2){var r=no(e);r!==0&&(t=r,n=Ni(e,r))}if(n===1)throw n=wr,an(e,0),Gt(e,t),Ge(e,we()),n;if(n===6)throw Error(u(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,cn(e,Ye,Tt),Ge(e,we()),null}function Ci(e,t){var n=ee;ee|=1;try{return e(t)}finally{ee=n,ee===0&&(On=we()+500,tl&&Ht())}}function un(e){Kt!==null&&Kt.tag===0&&(ee&6)===0&&In();var t=ee;ee|=1;var n=ot.transition,r=ie;try{if(ot.transition=null,ie=1,e)return e()}finally{ie=r,ot.transition=n,ee=t,(ee&6)===0&&Ht()}}function ji(){et=$n.current,fe($n)}function an(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,hf(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(Oo(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&br();break;case 3:Rn(),fe(Ve),fe(Oe),Xo();break;case 5:Yo(r);break;case 4:Rn();break;case 13:fe(me);break;case 19:fe(me);break;case 10:Bo(r.type._context);break;case 22:case 23:ji()}n=n.return}if(Te=e,Se=e=Xt(e.current,null),$e=et=t,Ce=0,wr=null,ki=Sl=sn=0,Ye=kr=null,rn!==null){for(t=0;t<rn.length;t++)if(n=rn[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,o=n.pending;if(o!==null){var i=o.next;o.next=l,r.next=i}n.pending=r}rn=null}return e}function Oa(e,t){do{var n=Se;try{if(Ho(),dl.current=ml,fl){for(var r=ve.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}fl=!1}if(on=0,Pe=Ee=ve=null,pr=!1,hr=0,wi.current=null,n===null||n.return===null){Ce=1,wr=t,Se=null;break}e:{var o=e,i=n.return,c=n,d=t;if(t=$e,c.flags|=32768,d!==null&&typeof d=="object"&&typeof d.then=="function"){var g=d,N=c,E=N.tag;if((N.mode&1)===0&&(E===0||E===11||E===15)){var S=N.alternate;S?(N.updateQueue=S.updateQueue,N.memoizedState=S.memoizedState,N.lanes=S.lanes):(N.updateQueue=null,N.memoizedState=null)}var L=sa(i);if(L!==null){L.flags&=-257,ua(L,i,c,o,t),L.mode&1&&ia(o,g,t),t=L,d=g;var I=t.updateQueue;if(I===null){var A=new Set;A.add(d),t.updateQueue=A}else I.add(d);break e}else{if((t&1)===0){ia(o,g,t),zi();break e}d=Error(u(426))}}else if(he&&c.mode&1){var ke=sa(i);if(ke!==null){(ke.flags&65536)===0&&(ke.flags|=256),ua(ke,i,c,o,t),Fo(Mn(d,c));break e}}o=d=Mn(d,c),Ce!==4&&(Ce=2),kr===null?kr=[o]:kr.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var m=la(o,d,t);Lu(o,m);break e;case 1:c=d;var p=o.type,v=o.stateNode;if((o.flags&128)===0&&(typeof p.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Qt===null||!Qt.has(v)))){o.flags|=65536,t&=-t,o.lanes|=t;var z=oa(o,c,t);Lu(o,z);break e}}o=o.return}while(o!==null)}Fa(n)}catch(U){t=U,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function Ia(){var e=xl.current;return xl.current=ml,e===null?ml:e}function zi(){(Ce===0||Ce===3||Ce===2)&&(Ce=4),Te===null||(sn&268435455)===0&&(Sl&268435455)===0||Gt(Te,$e)}function zl(e,t){var n=ee;ee|=2;var r=Ia();(Te!==e||$e!==t)&&(Tt=null,an(e,t));do try{Ff();break}catch(l){Oa(e,l)}while(!0);if(Ho(),ee=n,xl.current=r,Se!==null)throw Error(u(261));return Te=null,$e=0,Ce}function Ff(){for(;Se!==null;)Aa(Se)}function Uf(){for(;Se!==null&&!cd();)Aa(Se)}function Aa(e){var t=Ba(e.alternate,e,et);e.memoizedProps=e.pendingProps,t===null?Fa(e):Se=t,wi.current=null}function Fa(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=Rf(n,t,et),n!==null){Se=n;return}}else{if(n=Mf(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ce=6,Se=null;return}}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);Ce===0&&(Ce=5)}function cn(e,t,n){var r=ie,l=ot.transition;try{ot.transition=null,ie=1,Hf(e,t,n,r)}finally{ot.transition=l,ie=r}return null}function Hf(e,t,n,r){do In();while(Kt!==null);if((ee&6)!==0)throw Error(u(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(u(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(kd(e,o),e===Te&&(Se=Te=null,$e=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||Nl||(Nl=!0,Wa(Rr,function(){return In(),null})),o=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||o){o=ot.transition,ot.transition=null;var i=ie;ie=1;var c=ee;ee|=4,wi.current=null,$f(e,n),Pa(n,e),sf(zo),Fr=!!jo,zo=jo=null,e.current=n,Of(n),dd(),ee=c,ie=i,ot.transition=o}else e.current=n;if(Nl&&(Nl=!1,Kt=e,El=l),o=e.pendingLanes,o===0&&(Qt=null),hd(n.stateNode),Ge(e,we()),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(_l)throw _l=!1,e=Si,Si=null,e;return(El&1)!==0&&e.tag!==0&&In(),o=e.pendingLanes,(o&1)!==0?e===_i?xr++:(xr=0,_i=e):xr=0,Ht(),null}function In(){if(Kt!==null){var e=js(El),t=ot.transition,n=ie;try{if(ot.transition=null,ie=16>e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,El=0,(ee&6)!==0)throw Error(u(331));var l=ee;for(ee|=4,M=e.current;M!==null;){var o=M,i=o.child;if((M.flags&16)!==0){var c=o.deletions;if(c!==null){for(var d=0;d<c.length;d++){var g=c[d];for(M=g;M!==null;){var N=M;switch(N.tag){case 0:case 11:case 15:gr(8,N,o)}var E=N.child;if(E!==null)E.return=N,M=E;else for(;M!==null;){N=M;var S=N.sibling,L=N.return;if(Na(N),N===g){M=null;break}if(S!==null){S.return=L,M=S;break}M=L}}}var I=o.alternate;if(I!==null){var A=I.child;if(A!==null){I.child=null;do{var ke=A.sibling;A.sibling=null,A=ke}while(A!==null)}}M=o}}if((o.subtreeFlags&2064)!==0&&i!==null)i.return=o,M=i;else e:for(;M!==null;){if(o=M,(o.flags&2048)!==0)switch(o.tag){case 0:case 11:case 15:gr(9,o,o.return)}var m=o.sibling;if(m!==null){m.return=o.return,M=m;break e}M=o.return}}var p=e.current;for(M=p;M!==null;){i=M;var v=i.child;if((i.subtreeFlags&2064)!==0&&v!==null)v.return=i,M=v;else e:for(i=p;M!==null;){if(c=M,(c.flags&2048)!==0)try{switch(c.tag){case 0:case 11:case 15:kl(9,c)}}catch(U){ge(c,c.return,U)}if(c===i){M=null;break e}var z=c.sibling;if(z!==null){z.return=c.return,M=z;break e}M=c.return}}if(ee=l,Ht(),gt&&typeof gt.onPostCommitFiberRoot=="function")try{gt.onPostCommitFiberRoot(Mr,e)}catch{}r=!0}return r}finally{ie=n,ot.transition=t}}return!1}function Ua(e,t,n){t=Mn(n,t),t=la(e,t,1),e=Wt(e,t,1),t=He(),e!==null&&(Qn(e,1,t),Ge(e,t))}function ge(e,t,n){if(e.tag===3)Ua(e,e,n);else for(;t!==null;){if(t.tag===3){Ua(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Qt===null||!Qt.has(r))){e=Mn(n,e),e=oa(t,e,1),t=Wt(t,e,1),e=He(),t!==null&&(Qn(t,1,e),Ge(t,e));break}}t=t.return}}function Bf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=He(),e.pingedLanes|=e.suspendedLanes&n,Te===e&&($e&n)===n&&(Ce===4||Ce===3&&($e&130023424)===$e&&500>we()-xi?an(e,0):ki|=n),Ge(e,t)}function Ha(e,t){t===0&&((e.mode&1)===0?t=1:(t=$r,$r<<=1,($r&130023424)===0&&($r=4194304)));var n=He();e=jt(e,t),e!==null&&(Qn(e,t,n),Ge(e,n))}function Wf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ha(e,n)}function Vf(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(u(314))}r!==null&&r.delete(t),Ha(e,n)}var Ba;Ba=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ve.current)Ke=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Ke=!1,Lf(e,t,n);Ke=(e.flags&131072)!==0}else Ke=!1,he&&(t.flags&1048576)!==0&&xu(t,rl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;gl(e,t),e=t.pendingProps;var l=En(t,Oe.current);Ln(t,n),l=Jo(null,t,r,e,l,n);var o=bo();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,Qe(r)?(o=!0,el(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Qo(t),l.updater=vl,t.stateNode=l,l._reactInternals=t,oi(t,r,e,n),t=ai(null,t,r,!0,o,n)):(t.tag=0,he&&o&&$o(t),Ue(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(gl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Kf(r),e=dt(r,e),l){case 0:t=ui(null,t,r,e,n);break e;case 1:t=ha(null,t,r,e,n);break e;case 11:t=aa(null,t,r,e,n);break e;case 14:t=ca(null,t,r,dt(r.type,e),n);break e}throw Error(u(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),ui(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),ha(e,t,r,l,n);case 3:e:{if(ma(t),e===null)throw Error(u(387));r=t.pendingProps,o=t.memoizedState,l=o.element,Tu(e,t),al(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=Mn(Error(u(423)),t),t=va(e,t,r,n,l);break e}else if(r!==l){l=Mn(Error(u(424)),t),t=va(e,t,r,n,l);break e}else for(be=At(t.stateNode.containerInfo.firstChild),Je=t,he=!0,ct=null,n=zu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(zn(),r===l){t=Pt(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return Mu(t),e===null&&Ao(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Po(r,l)?i=null:o!==null&&Po(r,o)&&(t.flags|=32),pa(e,t),Ue(e,t,i,n),t.child;case 6:return e===null&&Ao(t),null;case 13:return ya(e,t,n);case 4:return Ko(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Pn(t,null,r,n):Ue(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),aa(e,t,r,l,n);case 7:return Ue(e,t,t.pendingProps,n),t.child;case 8:return Ue(e,t,t.pendingProps.children,n),t.child;case 12:return Ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,ae(il,r._currentValue),r._currentValue=i,o!==null)if(at(o.value,i)){if(o.children===l.children&&!Ve.current){t=Pt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){i=o.child;for(var d=c.firstContext;d!==null;){if(d.context===r){if(o.tag===1){d=zt(-1,n&-n),d.tag=2;var g=o.updateQueue;if(g!==null){g=g.shared;var N=g.pending;N===null?d.next=d:(d.next=N.next,N.next=d),g.pending=d}}o.lanes|=n,d=o.alternate,d!==null&&(d.lanes|=n),Wo(o.return,n,t),c.lanes|=n;break}d=d.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(u(341));i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),Wo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}Ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Ln(t,n),l=rt(l),r=r(l),t.flags|=1,Ue(e,t,r,n),t.child;case 14:return r=t.type,l=dt(r,t.pendingProps),l=dt(r.type,l),ca(e,t,r,l,n);case 15:return da(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),gl(e,t),t.tag=1,Qe(r)?(e=!0,el(t)):e=!1,Ln(t,n),na(t,r,l),oi(t,r,l,n),ai(null,t,r,!0,e,n);case 19:return wa(e,t,n);case 22:return fa(e,t,n)}throw Error(u(156,t.tag))};function Wa(e,t){return Ss(e,t)}function Qf(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function it(e,t,n,r){return new Qf(e,t,n,r)}function Pi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Kf(e){if(typeof e=="function")return Pi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Be)return 11;if(e===yt)return 14}return 2}function Xt(e,t){var n=e.alternate;return n===null?(n=it(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 Pl(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")Pi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ne:return dn(n.children,l,o,t);case Y:i=8,l|=8;break;case te:return e=it(12,n,t,l|2),e.elementType=te,e.lanes=o,e;case Me:return e=it(13,n,t,l),e.elementType=Me,e.lanes=o,e;case st:return e=it(19,n,t,l),e.elementType=st,e.lanes=o,e;case ye:return Tl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Re:i=10;break e;case vt:i=9;break e;case Be:i=11;break e;case yt:i=14;break e;case We:i=16,r=null;break e}throw Error(u(130,e==null?e:typeof e,""))}return t=it(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function dn(e,t,n,r){return e=it(7,e,r,t),e.lanes=n,e}function Tl(e,t,n,r){return e=it(22,e,r,t),e.elementType=ye,e.lanes=n,e.stateNode={isHidden:!1},e}function Ti(e,t,n){return e=it(6,e,null,t),e.lanes=n,e}function Li(e,t,n){return t=it(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yf(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=ro(0),this.expirationTimes=ro(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ro(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ri(e,t,n,r,l,o,i,c,d){return e=new Yf(e,t,n,c,d),t===1?(t=1,o===!0&&(t|=8)):t=0,o=it(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qo(o),e}function Gf(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:xe,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Va(e){if(!e)return Ut;e=e._reactInternals;e:{if(Jt(e)!==e||e.tag!==1)throw Error(u(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Qe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(u(171))}if(e.tag===1){var n=e.type;if(Qe(n))return gu(e,n,t)}return t}function Qa(e,t,n,r,l,o,i,c,d){return e=Ri(n,r,!0,e,l,o,i,c,d),e.context=Va(null),n=e.current,r=He(),l=Yt(n),o=zt(r,l),o.callback=t??null,Wt(n,o,l),e.current.lanes=l,Qn(e,l,r),Ge(e,r),e}function Ll(e,t,n,r){var l=t.current,o=He(),i=Yt(l);return n=Va(n),t.context===null?t.context=n:t.pendingContext=n,t=zt(o,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Wt(l,t,i),e!==null&&(ht(e,l,i,o),ul(e,l,i)),i}function Rl(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 Ka(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Mi(e,t){Ka(e,t),(e=e.alternate)&&Ka(e,t)}function Xf(){return null}var Ya=typeof reportError=="function"?reportError:function(e){console.error(e)};function Di(e){this._internalRoot=e}Ml.prototype.render=Di.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(u(409));Ll(e,t,null,null)},Ml.prototype.unmount=Di.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;un(function(){Ll(null,e,null,null)}),t[_t]=null}};function Ml(e){this._internalRoot=e}Ml.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ts();e={blockedOn:null,target:e,priority:t};for(var n=0;n<$t.length&&t!==0&&t<$t[n].priority;n++);$t.splice(n,0,e),n===0&&Ms(e)}};function $i(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Dl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ga(){}function qf(e,t,n,r,l){if(l){if(typeof r=="function"){var o=r;r=function(){var g=Rl(i);o.call(g)}}var i=Qa(t,r,e,0,null,!1,!1,"",Ga);return e._reactRootContainer=i,e[_t]=i.current,or(e.nodeType===8?e.parentNode:e),un(),i}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var c=r;r=function(){var g=Rl(d);c.call(g)}}var d=Ri(e,0,!1,null,null,!1,!1,"",Ga);return e._reactRootContainer=d,e[_t]=d.current,or(e.nodeType===8?e.parentNode:e),un(function(){Ll(t,d,n,r)}),d}function $l(e,t,n,r,l){var o=n._reactRootContainer;if(o){var i=o;if(typeof l=="function"){var c=l;l=function(){var d=Rl(i);c.call(d)}}Ll(t,i,e,l)}else i=qf(n,t,e,l,r);return Rl(i)}zs=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Vn(t.pendingLanes);n!==0&&(lo(t,n|1),Ge(t,we()),(ee&6)===0&&(On=we()+500,Ht()))}break;case 13:un(function(){var r=jt(e,1);if(r!==null){var l=He();ht(r,e,1,l)}}),Mi(e,1)}},oo=function(e){if(e.tag===13){var t=jt(e,134217728);if(t!==null){var n=He();ht(t,e,134217728,n)}Mi(e,134217728)}},Ps=function(e){if(e.tag===13){var t=Yt(e),n=jt(e,t);if(n!==null){var r=He();ht(n,e,t,r)}Mi(e,t)}},Ts=function(){return ie},Ls=function(e,t){var n=ie;try{return ie=e,t()}finally{ie=n}},Zl=function(e,t,n){switch(t){case"input":if(Wl(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=Jr(r);if(!l)throw Error(u(90));ts(r),Wl(r,l)}}}break;case"textarea":is(e,n);break;case"select":t=n.value,t!=null&&pn(e,!!n.multiple,t,!1)}},ms=Ci,vs=un;var Zf={usingClientEntryPoint:!1,Events:[ur,_n,Jr,ps,hs,Ci]},Sr={findFiberByHostInstance:bt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Jf={bundleType:Sr.bundleType,version:Sr.version,rendererPackageName:Sr.rendererPackageName,rendererConfig:Sr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:se.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ks(e),e===null?null:e.stateNode},findFiberByHostInstance:Sr.findFiberByHostInstance||Xf,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 Ol=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ol.isDisabled&&Ol.supportsFiber)try{Mr=Ol.inject(Jf),gt=Ol}catch{}}return Xe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Zf,Xe.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!$i(t))throw Error(u(200));return Gf(e,t,null,n)},Xe.createRoot=function(e,t){if(!$i(e))throw Error(u(299));var n=!1,r="",l=Ya;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Ri(e,1,!1,null,null,n,!1,r,l),e[_t]=t.current,or(e.nodeType===8?e.parentNode:e),new Di(t)},Xe.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(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=ks(t),e=e===null?null:e.stateNode,e},Xe.flushSync=function(e){return un(e)},Xe.hydrate=function(e,t,n){if(!Dl(t))throw Error(u(200));return $l(null,e,t,!0,n)},Xe.hydrateRoot=function(e,t,n){if(!$i(e))throw Error(u(405));var r=n!=null&&n.hydratedSources||null,l=!1,o="",i=Ya;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Qa(t,null,e,1,n??null,l,!1,o,i),e[_t]=t.current,or(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)},Xe.render=function(e,t,n){if(!Dl(t))throw Error(u(200));return $l(null,e,t,!1,n)},Xe.unmountComponentAtNode=function(e){if(!Dl(e))throw Error(u(40));return e._reactRootContainer?(un(function(){$l(null,null,e,!1,function(){e._reactRootContainer=null,e[_t]=null})}),!0):!1},Xe.unstable_batchedUpdates=Ci,Xe.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Dl(n))throw Error(u(200));if(e==null||e._reactInternals===void 0)throw Error(u(38));return $l(e,t,n,!1,r)},Xe.version="18.3.1-next-f1338f8080-20240426",Xe}var nc;function ip(){if(nc)return Ai.exports;nc=1;function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(a){console.error(a)}}return s(),Ai.exports=op(),Ai.exports}var rc;function sp(){if(rc)return Il;rc=1;var s=ip();return Il.createRoot=s.createRoot,Il.hydrateRoot=s.hydrateRoot,Il}var up=sp();/**
|
|
41
|
+
* @license lucide-react v1.61.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
|
+
*/const ap=s=>s==null?void 0:s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
46
|
+
* @license lucide-react v1.61.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
|
+
*/function cp(s,a,u=[]){if(a==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:ap(s),size:24,node:a,...u.length>0?{aliases:u}:{}}}/**
|
|
51
|
+
* @license lucide-react v1.61.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 dp=s=>{let a="",u=!1;for(const y of s){if(y==="-"||y==="_"||y<=" "){u=a.length>0;continue}a.length===0?a+=y.toLowerCase():a+=u?y.toUpperCase():y,u=!1}return a};/**
|
|
56
|
+
* @license lucide-react v1.61.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 fp=s=>{const a=dp(s);return a.charAt(0).toUpperCase()+a.slice(1)};/**
|
|
61
|
+
* @license lucide-react v1.61.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 Ki=(...s)=>s.filter((a,u,y)=>!!a&&a.trim()!==""&&y.indexOf(a)===u).join(" ").trim();/**
|
|
66
|
+
* @license lucide-react v1.61.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 fn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
|
|
71
|
+
* @license lucide-react v1.61.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
|
+
*/function Hi(s){return s!=null}function pp(s,a={}){var R,B;const u=a.attributeNames??{},y=W=>u[W]??W,w=s.size??s.width??fn.width,x=s.size??s.height??fn.height,j=((R=s.aliases)==null?void 0:R.filter(W=>typeof W=="string"&&W.trim()!=="").map(W=>`lucide-${W}`))??[],k=[...s.name?[`lucide-${s.name}`]:[],...j],P=((B=a.className)==null?void 0:B.split(" ").filter(Boolean))??[],$=a.includeDefaultClasses===!1?Ki(...P):Ki("lucide",...k,...P),H=a.absoluteStrokeWidth?Number(a.strokeWidth??fn["stroke-width"])*Number(s.size??s.width??fn.width)/Number(a.size??a.width??fn.width):a.strokeWidth??fn["stroke-width"];return["svg",{...Object.entries(fn).reduce((W,[X,O])=>(W[y(X)]=O,W),{}),..."color"in a&&a.color&&{[y("stroke")]:a.color},..."size"in a&&Hi(a.size)&&{[y("width")]:a.size,[y("height")]:a.size},..."width"in a&&Hi(a.width)&&{[y("width")]:a.width},..."height"in a&&Hi(a.height)&&{[y("height")]:a.height},[y("stroke-width")]:H,...$&&{[y("class")]:$},[y("viewBox")]:`0 0 ${w} ${x}`,...a.hasA11yProp===!1?{[y("aria-hidden")]:"true"}:{},..."attributes"in a&&a.attributes},s.node.map(W=>{const[X,O,je]=W,_e=a.nonScalingStroke?{[y("vector-effect")]:"non-scaling-stroke",...O}:O;return je?[X,_e,je]:[X,_e]})]}/**
|
|
76
|
+
* @license lucide-react v1.61.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
|
+
*/function hp(s,a={}){return pp(s,{...a,attributeNames:{...a.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}/**
|
|
81
|
+
* @license lucide-react v1.61.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 mp=s=>{for(const a in s)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1},vp=b.createContext({}),yp=()=>b.useContext(vp),gp=b.forwardRef(({color:s,size:a,width:u,height:y,strokeWidth:w,absoluteStrokeWidth:x,nonScalingStroke:j,className:k="",children:P,iconNode:$=[],icon:H={node:$,aliases:[],size:24},...C},R)=>{const{size:B=24,strokeWidth:W=2,absoluteStrokeWidth:X=!1,nonScalingStroke:O=!1,color:je="currentColor",className:_e=""}=yp()??{},F=!!P||mp(C),[se,ze,xe=[]]=hp(H,{color:s??je,width:u??a??B,height:y??a??B,strokeWidth:w??W,absoluteStrokeWidth:x??X,nonScalingStroke:j??O,className:Ki(_e,k),hasA11yProp:F,attributes:C});return b.createElement(se,{ref:R,...ze},[...xe.map(([Ne,Y])=>b.createElement(Ne,Y)),...Array.isArray(P)?P:[P]])});/**
|
|
86
|
+
* @license lucide-react v1.61.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
|
+
*/function ce(s,a=[],u=[]){const y=typeof s=="string"?cp(s,a,u):s,w=b.forwardRef(({className:x,...j},k)=>b.createElement(gp,{ref:k,icon:y,className:x,...j}));return y.name&&(w.displayName=fp(y.name)),w}/**
|
|
91
|
+
* @license lucide-react v1.61.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 wc={name:"activity",size:24,node:[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]};wc.node;const wp=ce(wc);/**
|
|
96
|
+
* @license lucide-react v1.61.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 kc={name:"archive",size:24,node:[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]};kc.node;const kp=ce(kc);/**
|
|
101
|
+
* @license lucide-react v1.61.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 xc={name:"arrow-left",size:24,node:[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]};xc.node;const xp=ce(xc);/**
|
|
106
|
+
* @license lucide-react v1.61.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 Sc={name:"ban",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]]};Sc.node;const Sp=ce(Sc);/**
|
|
111
|
+
* @license lucide-react v1.61.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 _c={name:"bell",size:24,node:[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]};_c.node;const Nc=ce(_c);/**
|
|
116
|
+
* @license lucide-react v1.61.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 Ec={name:"book-open",size:24,node:[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]]};Ec.node;const _p=ce(Ec);/**
|
|
121
|
+
* @license lucide-react v1.61.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 Cc={name:"check",size:24,node:[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]};Cc.node;const Np=ce(Cc);/**
|
|
126
|
+
* @license lucide-react v1.61.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 jc={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};jc.node;const Ep=ce(jc);/**
|
|
131
|
+
* @license lucide-react v1.61.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 zc={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};zc.node;const Cp=ce(zc);/**
|
|
136
|
+
* @license lucide-react v1.61.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 Pc={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};Pc.node;const jp=ce(Pc);/**
|
|
141
|
+
* @license lucide-react v1.61.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 Tc={name:"folder-plus",size:24,node:[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]};Tc.node;const zp=ce(Tc);/**
|
|
146
|
+
* @license lucide-react v1.61.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 Lc={name:"git-merge",size:24,node:[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]]};Lc.node;const Pp=ce(Lc);/**
|
|
151
|
+
* @license lucide-react v1.61.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 Rc={name:"inbox",size:24,node:[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["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"}]]};Rc.node;const Tp=ce(Rc);/**
|
|
156
|
+
* @license lucide-react v1.61.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 Mc={name:"layout-dashboard",size:24,node:[["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"}]]};Mc.node;const Lp=ce(Mc);/**
|
|
161
|
+
* @license lucide-react v1.61.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 Dc={name:"menu",size:24,node:[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]};Dc.node;const Rp=ce(Dc);/**
|
|
166
|
+
* @license lucide-react v1.61.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 $c={name:"monitor",size:24,node:[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]};$c.node;const Mp=ce($c);/**
|
|
171
|
+
* @license lucide-react v1.61.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 Oc={name:"moon",size:24,node:[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]};Oc.node;const Dp=ce(Oc);/**
|
|
176
|
+
* @license lucide-react v1.61.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 Ic={name:"octagon-x",size:24,node:[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-octagon"]};Ic.node;const $p=ce(Ic);/**
|
|
181
|
+
* @license lucide-react v1.61.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 Ac={name:"rocket",size:24,node:[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]};Ac.node;const Op=ce(Ac);/**
|
|
186
|
+
* @license lucide-react v1.61.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 Fc={name:"shield-check",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]};Fc.node;const Ip=ce(Fc);/**
|
|
191
|
+
* @license lucide-react v1.61.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 Uc={name:"shield-off",size:24,node:[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71",key:"1jlk70"}],["path",{d:"M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264",key:"18rp1v"}]]};Uc.node;const Ap=ce(Uc);/**
|
|
196
|
+
* @license lucide-react v1.61.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 Hc={name:"sun",size:24,node:[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]};Hc.node;const Fp=ce(Hc);/**
|
|
201
|
+
* @license lucide-react v1.61.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 Bc={name:"terminal",size:24,node:[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]};Bc.node;const Wc=ce(Bc);/**
|
|
206
|
+
* @license lucide-react v1.61.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 Vc={name:"triangle-alert",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle"]};Vc.node;const Up=ce(Vc);/**
|
|
211
|
+
* @license lucide-react v1.61.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 Qc={name:"user",size:24,node:[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]};Qc.node;const Hp=ce(Qc);/**
|
|
216
|
+
* @license lucide-react v1.61.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 Kc={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};Kc.node;const Bp=ce(Kc),lc="caddis hub";function Wp(s){return s>0?`(${s}) ${lc}`:lc}function Zi(s,a){if(!s)return"unknown";const u=Date.parse(s);if(Number.isNaN(u))return"unknown";const y=Math.max(0,Math.round((a-u)/1e3));if(y<5)return"just now";if(y<60)return`${y} s ago`;const w=Math.floor(y/60);if(w<60)return`${w} min ago`;const x=Math.floor(w/60);return x<24?`${x} h ago`:`${Math.floor(x/24)} d ago`}const Vp=(s,a)=>`Updated ${Zi(s,a)}`;function Yc(s){if(!s)return"unknown";const a=new Date(s);return Number.isNaN(a.getTime())?"unknown":a.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}function Qp(s){const a=Number(s==null?void 0:s.cap_eur),u=Number(s==null?void 0:s.committed_eur),y=(s==null?void 0:s.configured)===!0&&Number.isFinite(a)&&a>0,w=Number.isFinite(u)?u:0;return{configured:y,capEur:y?a:0,committedEur:w,pct:y?Math.min(100,Math.max(0,w/a*100)):0}}const Yi=s=>Object.values(s.sources??{}).some(a=>!a.ok||a.stale),Kp=500;function Yp(s){const a=s==null?void 0:s.github_rate;if(!a||typeof a!="object")return null;let u=null;for(const[y,w]of Object.entries(a)){const x=w,j=typeof(x==null?void 0:x.remaining)=="number"?x.remaining:NaN;j<Kp&&(!u||j<u.remaining)&&(u={account:y,remaining:j,resetAt:typeof(x==null?void 0:x.reset_at)=="string"?x.reset_at:null})}return u}const oc={waiting:"Waiting","owner-gate":"Owner gate",blocked:"Blocked","blocked-merge":"Blocked merge",coordinator:"Coordinator",hub:"Hub"},Gp={collector:"Roadmap and relay data",agents:"Session list",github:"GitHub data",coordinator:"Coordinator data"},Hl=s=>Array.isArray(s)?s:[],Lt=s=>s&&typeof s=="object"&&!Array.isArray(s)?s:{},mt=s=>typeof s=="string"&&s?s:null,Cr=s=>typeof s=="number"&&Number.isFinite(s)?s:null,Fl=s=>{var a;return((a=s.github)==null?void 0:a.repo)??s.name},ic=s=>s.replace(/\\/g,"/").replace(/\/+$/,"").toLowerCase(),Ul=(s,a)=>!!s&&!!a&&ic(s)===ic(a);function Xp(s){var u;const a=[];for(const y of Hl((u=s.relays)==null?void 0:u.relays)){const w=Lt(y),x=mt(w.name),j=mt(w.status);!x||!j||a.push({name:x,status:j,statusArg:mt(w.status_arg)??"",updatedAt:mt(w.updated_at),nextStep:mt(w.next_step)})}return a}function Ji(s){var u;const a=[];for(const y of Hl((u=s.coordinator)==null?void 0:u.queue)){const w=Lt(y),x=Cr(w.pr);x!==null&&a.push({pr:x,title:mt(w.title)??"",state:mt(w.state)??"waiting",whyWaiting:mt(w.why_waiting)??"",hotfix:w.hotfix===!0,held:w.held===!0,since:mt(w.entered_ready_at)})}return a}function qp(s){var u;const a=(u=s.coordinator)==null?void 0:u.merging_now;return Cr(a)??Cr(Lt(a).pr)}function Zp(s){const a=new Set,u=[];for(const y of s)y.waiting_class!=="owner"||a.has(y.session_id)||(a.add(y.session_id),u.push(y));return u}function Jp(s,a){var x,j;let u=null;for(const k of s.repos){const P=Fl(k);for(const $ of Hl((x=k.coordinator)==null?void 0:x.deploy_checks)){const H=Lt($),C=Date.parse(mt(H.at)??""),R=Cr(H.pr);if(Number.isNaN(C)||R===null)continue;const B=mt(H.health);(!u||C>u.at)&&(u={at:C,label:`${P} #${R}`,ok:B==="ok"?!0:B==="failed"?!1:null,how:`health ${B??"unknown"}`})}for(const $ of((j=k.github)==null?void 0:j.merges)??[]){const H=Date.parse($.merged_at);if(Number.isNaN(H)||u&&u.at>=H)continue;const C=$.runs??[],R=C.some(W=>W.conclusion==="failure"),B=C.length>0&&C.every(W=>W.conclusion==="success");u={at:H,label:`${P} #${$.number}`,ok:R?!1:B?!0:null,how:R?"deploy failed":B?"deploy pass":"merged"}}}if(!u)return null;const y=Math.max(0,Math.round((a-u.at)/6e4)),w=y<60?`${y} min ago`:y<1440?`${Math.floor(y/60)} h ago`:`${Math.floor(y/1440)} d ago`;return{label:u.label,sub:`${w} · ${u.how}`,ok:u.ok}}function bp(s,a,u){var x;let y=0;for(const j of s.repos)(x=j.coordinator)!=null&&x.responding&&(y+=Ji(j).filter(k=>k.state!=="blocked").length);const w=s.sessions.filter(j=>!["idle","done","unknown"].includes(j.status)).length;return{waitingOnYou:u.filter(j=>j.folder==="needs").length,blockedMerges:u.filter(j=>j.kind==="blocked-merge").length,inQueue:y,workingSessions:w,lastDeploy:Jp(s,a)}}function eh(s){const a=new Date(s);return Number.isNaN(a.getTime())?"unknown":a.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}const sc=(s,a)=>{var u;return(u=s.github)!=null&&u.repo?`gh pr checks ${a} -R ${s.github.repo}`:`gh pr checks ${a}`};function th(s,a){var j;const u=[],y=new Set,w=k=>{y.has(k.id)||(y.add(k.id),u.push(k))},x=k=>s.repos.find(P=>Ul(P.path,k));for(const k of Zp(s.sessions)){const P=x(k.repo_path),$=k.name??k.session_id.slice(0,8);w({id:`waiting:${k.session_id}`,kind:"waiting",folder:"needs",repo:P?Fl(P):"no repo",title:`${$} waits on ${k.waiting_for??"you"}`,why:"The session cannot continue until you answer.",next:"Open the session and answer.",cmd:$,since:k.waiting_since,action:"Open session",source:"agents"})}for(const k of s.repos){const P=Fl(k);for(const C of Xp(k))C.status==="OWNER-GATE"?w({id:`gate:${k.path}:${C.name}:${C.statusArg}`,kind:"owner-gate",folder:"approvals",repo:P,repoPath:k.path,title:`Gate ${C.statusArg||C.name}: owner approval needed`,why:"The plan stops at this owner gate. The next phase cannot start without you.",next:C.nextStep??"Read the relay, then record the decision.",cmd:`.caddis/relay/${C.name}.md`,since:C.updatedAt,action:"Approve",source:"collector"}):C.status==="BLOCKED"&&C.statusArg.toLowerCase().startsWith("owner")&&w({id:`blocked:${k.path}:${C.name}`,kind:"blocked",folder:"needs",repo:P,repoPath:k.path,title:`Relay ${C.name}: STATUS: BLOCKED owner`,why:"The relay says the owner must decide before the next step.",next:C.nextStep??"Read the relay and decide.",cmd:`.caddis/relay/${C.name}.md`,since:C.updatedAt,action:"Mark decided",source:"collector"});const $=!!k.coordinator&&k.coordinator.responding;for(const C of Ji(k))C.state==="blocked"&&w({id:`merge:${k.path}:${C.pr}`,kind:"blocked-merge",folder:"blocked",repo:P,repoPath:k.path,title:`PR #${C.pr}${C.title?` ${C.title}`:""}: blocked`,why:C.whyWaiting||"The coordinator skips it until it is unblocked.",next:"Ask the PR session to fix it, or hold the PR.",cmd:sc(k,C.pr),since:C.since,action:"Hold",source:"coordinator"});for(const C of((j=k.github)==null?void 0:j.prs)??[]){if(C.draft||C.required_state!=="fail")continue;const R=C.checks.filter(B=>B.required&&B.conclusion==="failure").map(B=>B.name);w({id:`merge:${k.path}:${C.number}`,kind:"blocked-merge",folder:"blocked",repo:P,repoPath:k.path,title:`PR #${C.number}: required check ${R.length>0?`${R.join(", ")} `:""}failed`,why:$?"The coordinator skips it until the check passes at the head.":"This repo has no live coordinator, so its session merges its own PRs.",next:"Fix the check in the PR session.",cmd:sc(k,C.number),since:C.updated_at,action:"Hold",source:"github"})}const H=k.coordinator;H&&!H.responding&&H.heartbeat_at&&w({id:`coordinator:${k.path}`,kind:"coordinator",folder:"needs",repo:P,repoPath:k.path,title:`Coordinator not responding since ${eh(H.heartbeat_at)}`,why:"No heartbeat for 3 min. Its queue is frozen; the lane shows GitHub data.",next:"Check the coordinator session, then restart it.",cmd:"/caddis:coordinate",since:H.heartbeat_at,action:"Restart coordinator",source:"coordinator"})}for(const k of["collector","agents","github","coordinator"]){const P=s.sources[k];P.ok||!P.stale||w({id:`hub:${k}`,kind:"hub",folder:"needs",repo:"hub",title:`${Gp[k]} has failed for over 3 min`,why:P.last_error??"The source has not answered.",next:"Read the error. The hub keeps the last good data.",cmd:"caddis hub status",since:P.last_ok_at,action:null})}return{items:u,tiles:bp(s,a,u)}}const nh=24*36e5,rh=()=>({open:{},resolved:[]}),lh=(s,a)=>{var y;const u=(y=s.sources)==null?void 0:y[a];return!!u&&(!u.ok||u.stale)};function oh(s,a){var y;if(!a.repoPath)return!1;const u=(y=s.repos)==null?void 0:y.find(w=>Ul(w.path,a.repoPath));if(!u)return!1;if(a.source==="github"){const w=u.github;return!!w&&typeof w.error=="string"&&!Array.isArray(w.prs)}if(a.source==="collector"){const w=Lt(u.relays);return(typeof u.error=="string"||typeof w.error=="string")&&!Array.isArray(w.relays)}return!1}function uc(s,a,u){const y=new Set(a.map(x=>x.id)),w=a.map(x=>x.stale?{...x,stale:!1}:x);for(const[x,j]of Object.entries(s))y.has(x)||!j.source||!lh(u,j.source)&&!oh(u,j)||w.push({...j,stale:!0});return w}function ih(s,a,u){const y=new Map(a.map(x=>[x.id,x])),w=s.resolved.filter(x=>u-x.resolvedAt<nh&&!y.has(x.item.id));for(const[x,j]of Object.entries(s.open))!y.has(x)&&!w.some(k=>k.item.id===x)&&w.push({item:j,resolvedAt:u});return w.sort((x,j)=>j.resolvedAt-x.resolvedAt),{open:Object.fromEntries(y),resolved:w}}function ac(s){const a=Lt(s);return typeof a.id=="string"&&typeof a.title=="string"&&typeof a.kind=="string"&&typeof a.folder=="string"}function sh(s){const a=Lt(s),u={};for(const[w,x]of Object.entries(Lt(a.open)))ac(x)&&(u[w]=x);const y=[];for(const w of Hl(a.resolved)){const x=Lt(w),j=Cr(x.resolvedAt);ac(x.item)&&j!==null&&y.push({item:x.item,resolvedAt:j})}return{open:u,resolved:y}}const cc="Actions arrive in H3";function Gc(){return f.jsxs("section",{className:"first-run","data-testid":"first-run","aria-label":"Get started",children:[f.jsx("h2",{children:"No repos yet"}),f.jsxs("p",{children:[f.jsx(Wc,{size:16,"aria-hidden":"true"})," Start a Claude Code session in a repo. The hub finds it by itself."]}),f.jsx("p",{children:"Or add a folder. The hub checks that it is a git repo."}),f.jsxs("button",{type:"button",className:"btn",disabled:!0,title:cc,"data-testid":"add-folder",children:[f.jsx(zp,{size:16,"aria-hidden":"true"}),"Add a folder"]}),f.jsxs("span",{className:"first-run-reason",children:[" ",cc]})]})}const Nr={size:15,"aria-hidden":!0};function Xc({tiles:s,stale:a=!1}){const u=s.lastDeploy;return f.jsxs("div",{className:`kpi-strip${a?" stale":""}`,"data-testid":"tiles","data-stale":a?"true":void 0,children:[f.jsxs("div",{className:`kpi-tile${s.waitingOnYou>0?" urgent":""}`,children:[f.jsxs("span",{className:"kpi-label",children:[f.jsx(Hp,{...Nr}),"Waiting on you"]}),f.jsx("span",{className:"kpi-num accent","data-testid":"tile-waiting",children:s.waitingOnYou})]}),f.jsxs("div",{className:`kpi-tile${s.blockedMerges>0?" danger":""}`,children:[f.jsxs("span",{className:"kpi-label",children:[f.jsx(Sp,{...Nr}),"Blocked merges"]}),f.jsx("span",{className:"kpi-num bad","data-testid":"tile-blocked",children:s.blockedMerges})]}),f.jsxs("div",{className:"kpi-tile",children:[f.jsxs("span",{className:"kpi-label",children:[f.jsx(Pp,{...Nr}),"In merge queue"]}),f.jsx("span",{className:"kpi-num","data-testid":"tile-queue",children:s.inQueue})]}),f.jsxs("div",{className:"kpi-tile",children:[f.jsxs("span",{className:"kpi-label",children:[f.jsx(Wc,{...Nr}),"Working sessions"]}),f.jsx("span",{className:"kpi-num","data-testid":"tile-working",children:s.workingSessions})]}),f.jsxs("div",{className:"kpi-tile deploy",children:[f.jsxs("span",{className:"kpi-label",children:[f.jsx(Op,{...Nr}),"Last prod deploy"]}),u?f.jsxs(f.Fragment,{children:[f.jsx("span",{className:`kpi-val ${u.ok===!0?"tone-good":u.ok===!1?"tone-bad":""}`,children:u.label}),f.jsx("span",{className:"kpi-sub tone-muted",children:u.sub})]}):f.jsx("span",{className:"kpi-val tone-muted",children:"No deploy yet"})]})]})}const uh=[{id:"needs",label:"Needs you",Icon:Nc},{id:"approvals",label:"Approvals",Icon:Ip},{id:"blocked",label:"Blocked",Icon:Ap},{id:"resolved",label:"Resolved, 24 h",Icon:kp}],dc=(s,a)=>s?Zi(s,a).replace(/ ago$/,""):"unknown";function ah(s){var a;try{(a=navigator.clipboard)==null||a.writeText(s)}catch{}}function ch({state:s,nowMs:a,api:u}){const[y,w]=b.useState("needs"),[x,j]=b.useState(null),[k,P]=b.useState(!1),[$,H]=b.useState(!1),{model:C,resolved:R,read:B}=u,W={needs:C.items.filter(F=>F.folder==="needs").length,approvals:C.items.filter(F=>F.folder==="approvals").length,blocked:C.items.filter(F=>F.folder==="blocked").length,resolved:R.length},X=y==="resolved"?R.map(F=>({item:F.item,resolved:!0,since:new Date(F.resolvedAt).toISOString()})):C.items.filter(F=>F.folder===y).map(F=>({item:F,resolved:!1,since:F.since})),O=X.find(F=>F.item.id===x)??X[0]??null,je=F=>{w(F),j(null),P(!1)},_e=F=>{j(F.item.id),P(!0),F.resolved||u.markRead(F.item.id)};return f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:"page-header",children:[f.jsx("h1",{className:"page-title",children:"Inbox"}),f.jsxs("span",{className:"page-subtitle",children:[s.repos.length," repos · ",s.sessions.length," sessions"]})]}),s.repos.length===0&&f.jsx(Gc,{}),f.jsx(Xc,{tiles:C.tiles,stale:Yi(s)}),u.notify.supported&&f.jsxs("div",{className:"notify-row",children:[f.jsxs("button",{type:"button",className:"btn",onClick:u.notify.enable,disabled:u.notify.enabled,children:[f.jsx(Nc,{size:16,"aria-hidden":"true"}),u.notify.enabled?"Notifications on":"Notify me"]}),f.jsx("span",{children:u.notify.enabled?"One browser notification per new item.":"Opt in to a browser notification for each new item."})]}),f.jsxs("div",{className:`mailbox${k&&O?" show-detail":""}`,children:[f.jsx("div",{className:"mailbox-folders",role:"tablist","aria-label":"Folders",children:uh.map(({id:F,label:se,Icon:ze})=>f.jsxs("button",{type:"button",role:"tab","aria-selected":y===F,className:`folder-btn${y===F?" sel":""}`,onClick:()=>je(F),"data-testid":`folder-${F}`,children:[f.jsx(ze,{size:16,"aria-hidden":"true"}),f.jsx("span",{children:se}),f.jsx("strong",{children:W[F]})]},F))}),f.jsxs("div",{className:"mailbox-list","data-testid":"inbox-list",children:[X.map(F=>{const se=!F.resolved&&!B.has(F.item.id);return f.jsxs("button",{type:"button",className:`item-btn${(O==null?void 0:O.item.id)===F.item.id?" sel":""}`,onClick:()=>_e(F),"data-testid":"inbox-item",children:[f.jsx("span",{className:`unread-dot${se?" on":""}`,role:"img","aria-label":se?"Unread":"Read"}),f.jsxs("span",{className:"item-main",children:[f.jsxs("span",{className:"item-meta",children:[f.jsx("span",{className:`chip chip-${F.resolved?"resolved":F.item.kind}`,children:F.resolved?"Resolved":oc[F.item.kind]}),f.jsx("span",{className:"mono",children:F.item.repo}),f.jsxs("span",{children:["· ",dc(F.since,a)]}),!F.resolved&&F.item.stale&&f.jsx("span",{className:"chip chip-stale","data-testid":"stale-chip",title:"Its source is failing. Last good data is shown.",children:"stale"})]}),f.jsx("span",{className:"item-title",children:F.item.title})]})]},F.item.id)}),X.length===0&&f.jsxs("div",{className:"list-empty","data-testid":"inbox-empty",children:[f.jsx("strong",{children:y==="resolved"?"Nothing resolved in the last 24 h":"Nothing needs you"}),f.jsxs("div",{children:["Last check ",Zi(s.generated_at,a),"."]})]})]}),O&&f.jsxs("article",{className:"mailbox-detail","data-testid":"inbox-detail","aria-label":"Item detail",children:[f.jsxs("button",{type:"button",className:"btn back-btn",onClick:()=>P(!1),children:[f.jsx(xp,{size:16,"aria-hidden":"true"}),"Back"]}),f.jsxs("span",{className:"item-meta",children:[f.jsx("span",{className:`chip chip-${O.resolved?"resolved":O.item.kind}`,children:O.resolved?"Resolved":oc[O.item.kind]}),f.jsx("span",{className:"mono",children:O.item.repo}),f.jsxs("span",{children:["· ",O.resolved?"resolved":"since"," ",dc(O.since,a)]}),!O.resolved&&O.item.stale&&f.jsx("span",{className:"chip chip-stale",children:"stale"})]}),f.jsx("h2",{children:O.item.title}),f.jsxs("div",{className:"detail-block",children:[f.jsx("span",{className:"detail-label",children:"Why it matters"}),f.jsx("span",{children:O.resolved?"The source cleared. No action is needed.":O.item.why})]}),f.jsxs("div",{className:"detail-block",children:[f.jsx("span",{className:"detail-label",children:"Next step"}),f.jsx("span",{children:O.resolved?"Nothing.":O.item.next}),f.jsx("code",{className:"cmd",children:O.item.cmd})]}),f.jsxs("div",{className:"detail-actions",children:[f.jsxs("button",{type:"button",className:"btn",onClick:()=>{ah(O.item.cmd),H(!0),window.setTimeout(()=>H(!1),1500)},children:[$?f.jsx(Np,{size:16,"aria-hidden":"true"}):f.jsx(jp,{size:16,"aria-hidden":"true"}),O.item.kind==="waiting"?"Copy session name":"Copy command"]}),!O.resolved&&O.item.action&&f.jsxs("button",{type:"button",className:"btn",disabled:!0,title:"Actions arrive in H3",children:[O.item.action," (H3)"]})]})]})]})]})}const qc="caddis-hub-inbox-history",fc="caddis-hub-inbox-read",Al="caddis-hub-inbox-notified",pc="caddis-hub-inbox-notify",Zc="caddis-hub-lanes-folded";function Zt(){try{return window.localStorage}catch{return null}}function bi(s,a){try{const u=a==null?void 0:a.getItem(s);return u?JSON.parse(u):null}catch{return null}}function es(s,a,u){try{u==null||u.setItem(s,JSON.stringify(a))}catch{}}const dh=(s=Zt())=>{const a=bi(qc,s);return a?sh(a):rh()},fh=(s,a=Zt())=>es(qc,s,a);function Bi(s,a=Zt()){const u=bi(s,a);return new Set(Array.isArray(u)?u.filter(y=>typeof y=="string"):[])}function Wi(s,a,u=Zt()){es(s,[...a].slice(-500),u)}const ph={items:[],tiles:{waitingOnYou:0,blockedMerges:0,inQueue:0,workingSessions:0,lastDeploy:null}},Vi=()=>typeof window<"u"&&"Notification"in window;function hh(s,a){const u=b.useMemo(()=>s?th(s,a):ph,[s,a]),[y,w]=b.useState(()=>dh()),x=b.useMemo(()=>{if(!s)return u;const R=uc(y.open,u.items,s),B=W=>R.filter(W).length;return{items:R,tiles:{...u.tiles,waitingOnYou:B(W=>W.folder==="needs"),blockedMerges:B(W=>W.kind==="blocked-merge")}}},[s,u,y.open]),[j,k]=b.useState(()=>Bi(fc)),[P,$]=b.useState(()=>{var R;try{return Vi()&&((R=Zt())==null?void 0:R.getItem(pc))==="1"&&Notification.permission==="granted"}catch{return!1}});b.useEffect(()=>{s&&w(R=>{const B=ih(R,uc(R.open,u.items,s),Date.now());return fh(B),B})},[s,u]),b.useEffect(()=>{if(!P||!s)return;const R=Bi(Al);let B=!1;for(const W of x.items)if(!R.has(W.id)){R.add(W.id),B=!0;try{new Notification(`caddis hub: ${W.repo}`,{body:W.title,tag:W.id})}catch{}}B&&Wi(Al,R)},[P,s,x]);const H=b.useCallback(R=>{k(B=>{if(B.has(R))return B;const W=new Set(B).add(R);return Wi(fc,W),W})},[]),C=b.useCallback(()=>{Vi()&&Notification.requestPermission().then(R=>{var W;if(R!=="granted")return;try{(W=Zt())==null||W.setItem(pc,"1")}catch{}const B=Bi(Al);for(const X of x.items)B.add(X.id);Wi(Al,B),$(!0)})},[x]);return{model:x,resolved:y.resolved,read:j,markRead:H,notify:{supported:Vi(),enabled:P,enable:C}}}const hc="No coordinator: each session merges its own PRs.",mh="/caddis:coordinate",vh="gh auth login -h github.com",yh=s=>{const a=s?new Date(s):null;return a&&!Number.isNaN(a.getTime())?a.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):"unknown"},mc=s=>`Coordinator not responding since ${yh(s)}`;function gh(s,a){const u=s?Date.parse(s):NaN;if(Number.isNaN(u))return"unknown";const y=Math.max(0,Math.round((a-u)/6e4));return y<60?`${y} min ago`:y<1440?`${Math.floor(y/60)} h ago`:`${Math.floor(y/1440)} d ago`}const wh=(s,a,u)=>s==="waiting"?{sub:`waiting: ${a??"unknown"}`,tone:u==="peer"?"muted":"warn"}:s==="busy"||s==="running"||s==="working"?{sub:"busy",tone:"good"}:{sub:s,tone:"muted"},Qi=(s,a)=>{const u=s.whyWaiting||s.state,y=[s.hotfix?"hotfix":"",s.held&&!u.includes("held")?"held":"",u].filter(Boolean);return{key:`q${s.pr}`,title:`#${s.pr} ${s.title}`.trim(),sub:a?"last known queue":y.join(" · "),tone:s.hotfix||s.held?"warn":"muted",grey:a}};function kh(s,a,u){var F,se,ze,xe,Ne;const y=a.coordinator,w=y?y.responding?"coordinator":"down":"none",x=Fl(a),j=s.sessions.filter(Y=>Ul(Y.repo_path,a.path)).map(Y=>{const te=wh(Y.status,Y.waiting_for,Y.waiting_class);return{key:`s${Y.session_id}`,title:Y.name??Y.session_id.slice(0,8),sub:te.sub,tone:te.tone}}),k=[],P=new Set;for(const Y of((F=a.github)==null?void 0:F.prs)??[]){if(Y.draft||Y.required_state!=="fail")continue;const te=Y.checks.filter(Re=>Re.required&&Re.conclusion==="failure").map(Re=>Re.name);P.add(Y.number),k.push({key:`b${Y.number}`,title:`#${Y.number} ${Y.title}`,sub:te.length>0?`${te.join(", ")} failed`:"required check failed",tone:"bad"})}const $=Ji(a),H=[],C=[];if(w==="coordinator"){const Y=qp(a);for(const te of $)te.state==="blocked"?P.has(te.pr)||(P.add(te.pr),k.push({key:`b${te.pr}`,title:`#${te.pr} ${te.title}`.trim(),sub:te.whyWaiting||"blocked",tone:"bad"})):te.state==="merging"||te.pr===Y?C.push(Qi(te,!1)):H.push(Qi(te,!1))}else if(w==="down")for(const Y of $)Y.state!=="blocked"&&H.push(Qi(Y,!0));const R=(((se=a.github)==null?void 0:se.merges)??[]).slice().sort((Y,te)=>Date.parse(te.merged_at)-Date.parse(Y.merged_at)).slice(0,3).map(Y=>{const te=Y.runs??[],Re=te.some(Me=>Me.conclusion==="failure"),vt=te.length>0&&te.every(Me=>Me.conclusion==="success"),Be=gh(Y.merged_at,u);return{key:`d${Y.number}`,title:`#${Y.number} ${Y.title}`,sub:Re?`deploy failed · ${Be}`:vt?`deployed ${Be}`:`merged ${Be}`,tone:Re?"bad":vt?"good":"muted"}});let B=null;w==="none"?B=`${hc} Start one with ${mh}.`:w==="down"&&(B=`${mc((y==null?void 0:y.heartbeat_at)??null)}. The lane shows GitHub data; the last known queue is greyed.`);const W=(ze=s.sources)!=null&&ze.agents?!s.sources.agents.ok:!1,X=(xe=a.github)!=null&&xe.error?{account:a.github.account??null,error:a.github.error,command:vh}:null;let O;w==="down"?O=mc((y==null?void 0:y.heartbeat_at)??null):O=[w==="none"?"No coordinator":"",W?"sessions unknown":j.length>0?`${j.length} session${j.length===1?"":"s"}`:"no sessions running",k.length>0?`${k.length} blocked`:"",H.length>0?`${H.length} waiting`:"",C.length>0?`${C.length} merging`:"",R.length>0?`${R.length} deployed`:""].filter(Boolean).join(" · ");const je=s.sessions.some(Y=>Ul(Y.repo_path,a.path)&&Y.waiting_class==="owner"),_e=w==="down"||a.error||(Ne=a.github)!=null&&Ne.error?"blocked":je?"attention":w==="none"?"idle":"ok";return{id:a.path,name:x,mode:w,tone:_e,note:B,github:X,summary:O,columns:[{id:"sessions",title:"Sessions",cards:j,emptyText:W?'Sessions unknown: "claude agents" failed':"No sessions running"},{id:"blocked",title:"Blocked",cards:k,emptyText:"None"},{id:"waiting",title:"Waiting for its turn",cards:H,emptyText:w==="none"?hc:"None"},{id:"merging",title:"Merging now",cards:C,emptyText:"None"},{id:"done",title:"Done and deployed",cards:R,emptyText:"None"}]}}const xh=(s,a)=>s.repos.map(u=>kh(s,u,a)),Sh={ok:"var(--green)",attention:"var(--mk-warn)",blocked:"var(--mk-bad)",idle:"var(--text-dim)"};function _h(){const s=bi(Zc,Zt());return s&&typeof s=="object"&&!Array.isArray(s)?s:{}}function Nh({state:s,nowMs:a,api:u}){const[y,w]=b.useState(()=>_h()),x=xh(s,a),j=k=>{w(P=>{const $={...P,[k]:!P[k]};return es(Zc,$,Zt()),$})};return f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:"page-header",children:[f.jsx("h1",{className:"page-title",children:"Overview"}),f.jsxs("span",{className:"page-subtitle",children:[s.repos.length," repos · ",s.sessions.length," sessions"]})]}),s.repos.length===0&&f.jsx(Gc,{}),f.jsx(Xc,{tiles:u.model.tiles,stale:Yi(s)}),f.jsx("div",{className:`lanes${Yi(s)?" stale":""}`,"data-testid":"lanes",children:x.map(k=>{const P=!y[k.id];return f.jsxs("section",{className:`lane ${k.mode}`,"data-testid":"lane","aria-label":k.name,children:[f.jsxs("button",{type:"button",className:"lane-head","aria-expanded":P,onClick:()=>j(k.id),children:[f.jsx("span",{"aria-hidden":"true",style:{width:9,height:9,borderRadius:"50%",background:Sh[k.tone],flexShrink:0}}),f.jsx("span",{className:"lane-name",children:k.name}),f.jsx("span",{className:"lane-summary","data-testid":"lane-summary",children:k.summary}),f.jsx(Ep,{className:"chev",size:18,"aria-hidden":"true",style:{transform:P?"rotate(180deg)":"none"}})]}),P&&f.jsxs("div",{className:"lane-body",children:[k.github&&f.jsxs("div",{className:"lane-note gh-fail","data-testid":"gh-fail",role:"status",children:["GitHub access failed for ",k.github.account?`account ${k.github.account}`:"this repo",k.github.error?` (${k.github.error})`:"",". Sign in again with"," ",f.jsx("code",{className:"cmd",children:k.github.command})]}),k.note&&f.jsx("div",{className:"lane-note","data-testid":"lane-note",children:k.note}),f.jsx("div",{className:"lane-cols",children:k.columns.map($=>f.jsxs("div",{className:"lane-col","data-testid":`col-${$.id}`,children:[f.jsxs("span",{className:"col-title",children:[$.title," · ",$.cards.length]}),$.cards.map(H=>f.jsxs("div",{className:`card${H.grey?" grey":""}`,children:[f.jsx("span",{className:"card-title",children:H.title}),f.jsx("span",{className:`card-sub tone-${H.tone}`,children:H.sub})]},H.key)),$.cards.length===0&&f.jsx("span",{className:"col-empty",children:$.emptyText})]},$.id))})]})]},k.id)})})]})}const Eh=1,vc={collector:"Plans and roadmaps",agents:"Claude sessions",github:"GitHub",coordinator:"Coordinator"};function Ch(s){var y,w;const a=[];(s.schema>Eh||s.update_needed)&&a.push({id:"schema",tone:"bad",text:"This hub is older than its data. Update the hub:",command:"npm i -g @caddis/cli@latest"});const u=(y=s.sources)==null?void 0:y.agents;u&&!u.ok&&a.push({id:"agents-failed",tone:"bad",text:`Session list unavailable: "claude agents" failed${u.last_error?` (${u.last_error})`:""}.`});for(const x of Object.keys(vc)){const j=(w=s.sources)==null?void 0:w[x];j!=null&&j.stale&&(x==="agents"&&!j.ok||a.push({id:`stale-${x}`,tone:"warn",text:`${vc[x]} data is stale. Last good read: ${j.last_ok_at?Yc(j.last_ok_at):"never"}.`}))}return a}function jh({state:s}){const a=Ch(s);return a.length===0?null:f.jsx("div",{className:"banners",role:"region","aria-label":"Warnings",children:a.map(u=>f.jsxs("div",{className:`banner ${u.tone}`,role:"status","data-testid":`banner-${u.id}`,children:[u.tone==="bad"?f.jsx($p,{size:16,"aria-hidden":"true"}):f.jsx(Up,{size:16,"aria-hidden":"true"}),f.jsxs("span",{children:[u.text,u.command&&f.jsxs(f.Fragment,{children:[" ",f.jsx("code",{className:"cmd",children:u.command})]})]})]},u.id))})}const Jc="caddis-hub-theme",zh=["dark","light","system"];function bc(){try{return window.localStorage}catch{return null}}function Ph(s=bc()){try{const a=s==null?void 0:s.getItem(Jc);return a==="dark"||a==="light"||a==="system"?a:"system"}catch{return"system"}}function Th(s,a=bc()){try{a==null||a.setItem(Jc,s)}catch{}}function Lh(s,a){return s==="system"?a?"dark":"light":s}const Rh={dark:Dp,light:Fp,system:Mp};function Mh({state:s,nowMs:a,theme:u,onTheme:y}){const w=Qp(s==null?void 0:s.spend),x=s==null?void 0:s.versions,j=Yp(s);return f.jsxs("footer",{className:"sidebar-footer",children:[f.jsxs("div",{className:"footer-meta",children:[f.jsxs("div",{className:"updated-line",children:[f.jsx(Cp,{size:14,"aria-hidden":"true"}),f.jsx("span",{"data-testid":"data-age",children:s?Vp(s.generated_at,a):"Waiting for data"})]}),f.jsxs("div",{className:"spend-box",children:[f.jsxs("div",{className:"spend-row",children:[f.jsx("span",{children:"agy spend (24 h)"}),f.jsx("span",{className:"mono",children:w.configured?`${w.committedEur.toFixed(2)} / ${w.capEur.toFixed(0)} EUR`:"no cap set"})]}),f.jsx("div",{className:"meter-track",role:"progressbar","aria-label":"agy spend","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(w.pct),children:f.jsx("div",{className:`meter-fill${w.pct>=80?" hot":""}`,style:{width:`${w.pct}%`}})})]}),j&&f.jsxs("div",{className:"quota-low","data-testid":"quota-low",role:"status",children:["GitHub quota low: ",j.remaining," left (",j.account,")",j.resetAt?`, resets ${Yc(j.resetAt)}`:"",". Polling slows."]}),x&&f.jsxs("div",{className:"versions mono",children:["hub ",x.hub," | pool ",x.pool??"-"," | plugin ",x.plugin??"-"]})]}),f.jsx("div",{className:"theme-switch",role:"group","aria-label":"Theme",children:zh.map(k=>{const P=Rh[k];return f.jsxs("button",{type:"button",className:`theme-btn${u===k?" active":""}`,"aria-pressed":u===k,title:k,onClick:()=>y(k),children:[f.jsx(P,{size:15,"aria-hidden":"true"}),f.jsx("span",{children:k})]},k)})})]})}const Dh="/assets/mark-small-CwCIyjyC.svg",$h="/assets/wordmark-CD0s2ofS.svg";function yc(){return f.jsxs("span",{className:"brand-logo",children:[f.jsx("img",{src:Dh,alt:"",width:36,height:36,className:"brand-mark"}),f.jsxs("span",{className:"brand-stack",children:[f.jsx("img",{src:$h,alt:"CADDIS",width:100,height:20,className:"brand-wordmark"}),f.jsx("span",{className:"brand-sub",children:"hub"})]})]})}function Oh(s){const a=s.replace(/^#\/?/,"").split("/"),u=a[0];if(u==="overview")return{page:"overview"};if(u==="activity")return{page:"activity"};if(u==="guide")return{page:"guide"};if(u==="repo"&&a[1])try{return{page:"repo",id:decodeURIComponent(a.slice(1).join("/"))}}catch{return{page:"inbox"}}return{page:"inbox"}}const Ih=s=>`#/repo/${encodeURIComponent(s)}`;function Ah(s,a){var w;return s.error||(w=s.github)!=null&&w.error?"blocked":a.sessions.some(x=>x.repo_path===s.path&&x.waiting_class==="owner")||s.coordinator&&a.sources.coordinator.stale?"attention":!s.coordinator&&!a.sessions.some(x=>x.repo_path===s.path)?"idle":"ok"}const ed=s=>s.repo_id??s.path;function Er({href:s,active:a,icon:u,label:y,badge:w,onGo:x}){return f.jsx("li",{children:f.jsxs("a",{className:`nav-link${a?" active":""}`,href:s,"aria-current":a?"page":void 0,onClick:x,children:[f.jsxs("span",{className:"nav-link-left",children:[u,f.jsx("span",{className:"nav-text",children:y})]}),w]})})}function Fh({route:s,state:a,inbox:u,open:y,onToggle:w,children:x}){const j=()=>w(!1);return f.jsxs(f.Fragment,{children:[f.jsxs("header",{className:"mobile-topbar",children:[f.jsxs("button",{type:"button",className:"menu-btn","aria-label":"Open navigation menu","aria-expanded":y,"aria-controls":"app-sidebar",onClick:()=>w(!y),children:[y?f.jsx(Bp,{size:18}):f.jsx(Rp,{size:18}),f.jsx("span",{children:"Menu"})]}),f.jsx(yc,{})]}),f.jsx("div",{className:`drawer-backdrop${y?" open":""}`,onClick:j,"aria-hidden":"true"}),f.jsxs("aside",{className:`sidebar${y?" drawer-open":""}`,id:"app-sidebar",children:[f.jsxs("nav",{className:"sidebar-top","aria-label":"Main",children:[f.jsx("div",{className:"brand-row",children:f.jsx(yc,{})}),f.jsxs("ul",{className:"nav-list",children:[f.jsx(Er,{href:"#/inbox",active:s.page==="inbox",icon:f.jsx(Tp,{size:18}),label:"Inbox",badge:u>0?f.jsx("span",{className:"inbox-badge",children:u}):void 0,onGo:j}),f.jsx(Er,{href:"#/overview",active:s.page==="overview",icon:f.jsx(Lp,{size:18}),label:"Overview",onGo:j})]}),f.jsx("div",{className:"nav-section-label",children:"Repos"}),f.jsxs("ul",{className:"nav-list",children:[(a==null?void 0:a.repos.length)===0&&f.jsx("li",{className:"nav-empty",children:"No repos yet"}),a==null?void 0:a.repos.map(k=>{const P=ed(k),$=s.page==="repo"&&s.id===P;return f.jsx(Er,{href:Ih(P),active:$,icon:f.jsx("span",{className:`repo-dot ${Ah(k,a)}`,"aria-hidden":"true"}),label:k.name,onGo:j},k.path)})]}),f.jsx("div",{className:"nav-section-label",children:"More"}),f.jsxs("ul",{className:"nav-list",children:[f.jsx(Er,{href:"#/activity",active:s.page==="activity",icon:f.jsx(wp,{size:18}),label:"Activity",badge:f.jsx("span",{className:"soon",children:"soon"}),onGo:j}),f.jsx(Er,{href:"#/guide",active:s.page==="guide",icon:f.jsx(_p,{size:18}),label:"caddis guide",badge:f.jsx("span",{className:"soon",children:"soon"}),onGo:j})]})]}),x]})]})}const Uh="/assets/favicon-DtHQyAC1.svg",Hh="/assets/favicon-dot-DHAVYP15.svg",Bh=s=>s?Hh:Uh;function Wh(s){let a=document.querySelector('link[rel="icon"]');a||(a=document.createElement("link"),a.rel="icon",document.head.appendChild(a)),a.type="image/svg+xml",a.href=Bh(s)}const td="caddis-hub-tab",Vh="X-Caddis-Hub-Tab";class Gi extends Error{constructor(a,u){super(u),this.status=a}}function nd(){try{return window.sessionStorage}catch{return null}}let Xi=null;function Qh(s=window.location,a=window.history,u=nd()){const y=/(?:^#|&)tab=([^&]+)/.exec(s.hash);if(!(y!=null&&y[1]))return;let w;try{w=decodeURIComponent(y[1])}catch{return}Xi=w;try{u==null||u.setItem(td,w)}catch{}a.replaceState(null,"",s.pathname+s.search)}function Kh(s=nd()){try{return(s==null?void 0:s.getItem(td))||Xi}catch{return Xi}}function Yh(s,a){const u={Accept:"application/json"};return s&&(u[Vh]=s),u}async function Gh(s){const a=Kh();if(!a)throw new Gi(401,"no tab token");const u=await fetch(s,{headers:Yh(a),credentials:"same-origin",cache:"no-store"});if(!u.ok)throw new Gi(u.status,`${s} answered ${u.status}`);return await u.json()}const Xh=()=>Gh("/api/state"),qh=1e4;function Zh(){const[s,a]=b.useState(null),[u,y]=b.useState(null),[w,x]=b.useState(!0),j=b.useRef(void 0),k=b.useRef(!0),P=b.useCallback(async()=>{try{const $=await Xh();if(!k.current)return;a($),y(null)}catch($){if(!k.current)return;y($ instanceof Gi&&$.status===401?"unauthorized":"network")}finally{k.current&&x(!1)}},[]);return b.useEffect(()=>{k.current=!0;const $=()=>window.clearInterval(j.current),H=()=>{$(),j.current=window.setInterval(()=>void P(),qh)},C=()=>{document.hidden?$():(P(),H())};return P(),document.hidden||H(),document.addEventListener("visibilitychange",C),()=>{k.current=!1,$(),document.removeEventListener("visibilitychange",C)}},[P]),{state:s,error:u,loading:w,refresh:()=>void P()}}const Jh=()=>{var s;return((s=window.matchMedia)==null?void 0:s.call(window,"(prefers-color-scheme: dark)").matches)??!0};function bh(s){const[a,u]=b.useState(()=>Date.now());return b.useEffect(()=>{const y=window.setInterval(()=>u(Date.now()),s);return()=>window.clearInterval(y)},[s]),a}function em(){const[s,a]=b.useState(()=>window.location.hash);return b.useEffect(()=>{const u=()=>a(window.location.hash);return window.addEventListener("hashchange",u),()=>window.removeEventListener("hashchange",u)},[]),Oh(s)}function tm(){const[s,a]=b.useState(()=>Ph());return b.useEffect(()=>{const u=()=>{document.documentElement.dataset.theme=Lh(s,Jh())};if(u(),s!=="system"||!window.matchMedia)return;const y=window.matchMedia("(prefers-color-scheme: dark)");return y.addEventListener("change",u),()=>y.removeEventListener("change",u)},[s]),[s,u=>{Th(u),a(u)}]}function nm(){const{state:s,error:a,loading:u}=Zh(),y=bh(5e3),w=em(),[x,j]=tm(),[k,P]=b.useState(!1),$=hh(s,y),H=$.model.items.length;b.useEffect(()=>{document.title=Wp(H),Wh(H>0)},[H]);let C;if(a==="unauthorized")C=f.jsxs("div",{className:"notice","data-testid":"signin",children:[f.jsx("h1",{className:"page-title",children:"Signed out"}),f.jsxs("p",{children:["Run ",f.jsx("code",{className:"cmd",children:"caddis hub open"})," to sign in."]})]});else if(!s)C=f.jsx("p",{className:"page-subtitle",children:u?"Loading...":"The hub did not answer. Retrying."});else if(w.page==="inbox")C=f.jsx(ch,{state:s,nowMs:y,api:$});else if(w.page==="overview")C=f.jsx(Nh,{state:s,nowMs:y,api:$});else if(w.page==="repo"){const R=s.repos.find(B=>ed(B)===w.id);C=f.jsxs("div",{className:"notice",children:[f.jsx("h1",{className:"page-title",children:(R==null?void 0:R.name)??w.id}),f.jsx("p",{children:"Repo page arrives in H4."})]})}else C=f.jsxs("div",{className:"notice",children:[f.jsx("h1",{className:"page-title",children:w.page==="activity"?"Activity":"caddis guide"}),f.jsx("p",{children:"Coming soon."})]});return f.jsxs("div",{className:"app-shell",children:[f.jsx(Fh,{route:w,state:s,inbox:H,open:k,onToggle:P,children:f.jsx(Mh,{state:s,nowMs:y,theme:x,onTheme:j})}),f.jsx("main",{className:"main-area",id:"main-content",children:f.jsxs("div",{className:"page-wrap",children:[s&&f.jsx(jh,{state:s}),a==="network"&&s&&f.jsx("div",{className:"banner warn",role:"status",children:"The hub did not answer. Showing the last data."}),C]})})]})}Qh();const gc=document.getElementById("root");gc&&up.createRoot(gc).render(f.jsx(b.StrictMode,{children:f.jsx(nm,{})}));
|