shorts-maker 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,248 @@
1
+ var WU=Object.create;var{getPrototypeOf:qU,defineProperty:p_,getOwnPropertyNames:lU}=Object;var AU=Object.prototype.hasOwnProperty;function MU(z){return this[z]}var LU,OU,W0=(z,Z,Y)=>{var $=z!=null&&typeof z==="object";if($){var B=Z?LU??=new WeakMap:OU??=new WeakMap,Q=B.get(z);if(Q)return Q}Y=z!=null?WU(qU(z)):{};let q=Z||!z||!z.__esModule?p_(Y,"default",{value:z,enumerable:!0}):Y;for(let H of lU(z))if(!AU.call(q,H))p_(q,H,{get:MU.bind(z,H),enumerable:!0});if($)B.set(z,q);return q};var Q5=(z,Z)=>()=>(Z||z((Z={exports:{}}).exports,Z),Z.exports);var t_=Q5((NU)=>{(function(){function z(){if(L0=!1,v0){var P=NU.unstable_now();D0=P;var e=!0;try{w:{x0=!1,D&&(D=!1,e0(bw),bw=-1),a0=!0;var y=f;try{g:{Q(P);for(c=Y(R);c!==null&&!(c.expirationTime>P&&H());){var Y0=c.callback;if(typeof Y0==="function"){c.callback=null,f=c.priorityLevel;var Q0=Y0(c.expirationTime<=P);if(P=NU.unstable_now(),typeof Q0==="function"){c.callback=Q0,Q(P),e=!0;break g}c===Y(R)&&$(R),Q(P)}else $(R);c=Y(R)}if(c!==null)e=!0;else{var C=Y(o);C!==null&&N(q,C.startTime-P),e=!1}}break w}finally{c=null,f=y,a0=!1}e=void 0}}finally{e?O0():v0=!1}}}function Z(P,e){var y=P.length;P.push(e);w:for(;0<y;){var Y0=y-1>>>1,Q0=P[Y0];if(0<B(Q0,e))P[Y0]=e,P[y]=Q0,y=Y0;else break w}}function Y(P){return P.length===0?null:P[0]}function $(P){if(P.length===0)return null;var e=P[0],y=P.pop();if(y!==e){P[0]=y;w:for(var Y0=0,Q0=P.length,C=Q0>>>1;Y0<C;){var z0=2*(Y0+1)-1,y0=P[z0],$0=z0+1,m0=P[$0];if(0>B(y0,y))$0<Q0&&0>B(m0,y0)?(P[Y0]=m0,P[$0]=y,Y0=$0):(P[Y0]=y0,P[z0]=y,Y0=z0);else if($0<Q0&&0>B(m0,y))P[Y0]=m0,P[$0]=y,Y0=$0;else break w}}return e}function B(P,e){var y=P.sortIndex-e.sortIndex;return y!==0?y:P.id-e.id}function Q(P){for(var e=Y(o);e!==null;){if(e.callback===null)$(o);else if(e.startTime<=P)$(o),e.sortIndex=e.expirationTime,Z(R,e);else break;e=Y(o)}}function q(P){if(D=!1,Q(P),!x0)if(Y(R)!==null)x0=!0,v0||(v0=!0,O0());else{var e=Y(o);e!==null&&N(q,e.startTime-P)}}function H(){return L0?!0:NU.unstable_now()-D0<j?!1:!0}function N(P,e){bw=P0(function(){P(NU.unstable_now())},e)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),NU.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var F=performance;NU.unstable_now=function(){return F.now()}}else{var A=Date,U=A.now();NU.unstable_now=function(){return A.now()-U}}var R=[],o=[],n=1,c=null,f=3,a0=!1,x0=!1,D=!1,L0=!1,P0=typeof setTimeout==="function"?setTimeout:null,e0=typeof clearTimeout==="function"?clearTimeout:null,q0=typeof setImmediate<"u"?setImmediate:null,v0=!1,bw=-1,j=5,D0=-1;if(typeof q0==="function")var O0=function(){q0(z)};else if(typeof MessageChannel<"u"){var l0=new MessageChannel,rw=l0.port2;l0.port1.onmessage=z,O0=function(){rw.postMessage(null)}}else O0=function(){P0(z,0)};NU.unstable_IdlePriority=5,NU.unstable_ImmediatePriority=1,NU.unstable_LowPriority=4,NU.unstable_NormalPriority=3,NU.unstable_Profiling=null,NU.unstable_UserBlockingPriority=2,NU.unstable_cancelCallback=function(P){P.callback=null},NU.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<P?Math.floor(1000/P):5},NU.unstable_getCurrentPriorityLevel=function(){return f},NU.unstable_next=function(P){switch(f){case 1:case 2:case 3:var e=3;break;default:e=f}var y=f;f=e;try{return P()}finally{f=y}},NU.unstable_requestPaint=function(){L0=!0},NU.unstable_runWithPriority=function(P,e){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var y=f;f=P;try{return e()}finally{f=y}},NU.unstable_scheduleCallback=function(P,e,y){var Y0=NU.unstable_now();switch(typeof y==="object"&&y!==null?(y=y.delay,y=typeof y==="number"&&0<y?Y0+y:Y0):y=Y0,P){case 1:var Q0=-1;break;case 2:Q0=250;break;case 5:Q0=1073741823;break;case 4:Q0=1e4;break;default:Q0=5000}return Q0=y+Q0,P={id:n++,callback:e,priorityLevel:P,startTime:y,expirationTime:Q0,sortIndex:-1},y>Y0?(P.sortIndex=y,Z(o,P),Y(R)===null&&P===Y(o)&&(D?(e0(bw),bw=-1):D=!0,N(q,y-Y0))):(P.sortIndex=Q0,Z(R,P),x0||a0||(x0=!0,v0||(v0=!0,O0()))),P},NU.unstable_shouldYield=H,NU.unstable_wrapCallback=function(P){var e=f;return function(){var y=f;f=e;try{return P.apply(this,arguments)}finally{f=y}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var iw=Q5((FU,ha)=>{(function(){function z(_,O){Object.defineProperty($.prototype,_,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",O[0],O[1])}})}function Z(_){if(_===null||typeof _!=="object")return null;return _=l5&&_[l5]||_["@@iterator"],typeof _==="function"?_:null}function Y(_,O){_=(_=_.constructor)&&(_.displayName||_.name)||"ReactClass";var V=_+"."+O;w0[V]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",O,_),w0[V]=!0)}function $(_,O,V){this.props=_,this.context=O,this.refs=p1,this.updater=V||S}function B(){}function Q(_,O,V){this.props=_,this.context=O,this.refs=p1,this.updater=V||S}function q(){}function H(_){return""+_}function N(_){try{H(_);var O=!1}catch(b0){O=!0}if(O){O=console;var V=O.error,p=typeof Symbol==="function"&&Symbol.toStringTag&&_[Symbol.toStringTag]||_.constructor.name||"Object";return V.call(O,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",p),H(_)}}function F(_){if(_==null)return null;if(typeof _==="function")return _.$$typeof===Ib?null:_.displayName||_.name||null;if(typeof _==="string")return _;switch(_){case Q0:return"Fragment";case z0:return"Profiler";case C:return"StrictMode";case L1:return"Suspense";case p0:return"SuspenseList";case O1:return"Activity"}if(typeof _==="object")switch(typeof _.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),_.$$typeof){case Y0:return"Portal";case $0:return _.displayName||"Context";case y0:return(_._context.displayName||"Context")+".Consumer";case m0:var O=_.render;return _=_.displayName,_||(_=O.displayName||O.name||"",_=_!==""?"ForwardRef("+_+")":"ForwardRef"),_;case pw:return O=_.displayName||null,O!==null?O:F(_.type)||"Memo";case H1:O=_._payload,_=_._init;try{return F(_(O))}catch(V){}}return null}function A(_){if(_===Q0)return"<>";if(typeof _==="object"&&_!==null&&_.$$typeof===H1)return"<...>";try{var O=F(_);return O?"<"+O+">":"<...>"}catch(V){return"<...>"}}function U(){var _=F0.A;return _===null?null:_.getOwner()}function R(){return Error("react-stack-top-frame")}function o(_){if(A5.call(_,"key")){var O=Object.getOwnPropertyDescriptor(_,"key").get;if(O&&O.isReactWarning)return!1}return _.key!==void 0}function n(_,O){function V(){Q4||(Q4=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",O))}V.isReactWarning=!0,Object.defineProperty(_,"key",{get:V,configurable:!0})}function c(){var _=F(this.type);return Lv[_]||(Lv[_]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),_=this.props.ref,_!==void 0?_:null}function f(_,O,V,p,b0,A0){var M0=V.ref;return _={$$typeof:y,type:_,key:O,props:V,_owner:p},(M0!==void 0?M0:null)!==null?Object.defineProperty(_,"ref",{enumerable:!1,get:c}):Object.defineProperty(_,"ref",{enumerable:!1,value:null}),_._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(_,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(_,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:b0}),Object.defineProperty(_,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A0}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_}function a0(_,O){return O=f(_.type,O,_.props,_._owner,_._debugStack,_._debugTask),_._store&&(O._store.validated=_._store.validated),O}function x0(_){D(_)?_._store&&(_._store.validated=1):typeof _==="object"&&_!==null&&_.$$typeof===H1&&(_._payload.status==="fulfilled"?D(_._payload.value)&&_._payload.value._store&&(_._payload.value._store.validated=1):_._store&&(_._store.validated=1))}function D(_){return typeof _==="object"&&_!==null&&_.$$typeof===y}function L0(_){var O={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(V){return O[V]})}function P0(_,O){return typeof _==="object"&&_!==null&&_.key!=null?(N(_.key),L0(""+_.key)):O.toString(36)}function e0(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status==="string"?_.then(q,q):(_.status="pending",_.then(function(O){_.status==="pending"&&(_.status="fulfilled",_.value=O)},function(O){_.status==="pending"&&(_.status="rejected",_.reason=O)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function q0(_,O,V,p,b0){var A0=typeof _;if(A0==="undefined"||A0==="boolean")_=null;var M0=!1;if(_===null)M0=!0;else switch(A0){case"bigint":case"string":case"number":M0=!0;break;case"object":switch(_.$$typeof){case y:case Y0:M0=!0;break;case H1:return M0=_._init,q0(M0(_._payload),O,V,p,b0)}}if(M0){M0=_,b0=b0(M0);var u0=p===""?"."+P0(M0,0):p;return dw(b0)?(V="",u0!=null&&(V=u0.replace(L5,"$&/")+"/"),q0(b0,O,V,"",function(v1){return v1})):b0!=null&&(D(b0)&&(b0.key!=null&&(M0&&M0.key===b0.key||N(b0.key)),V=a0(b0,V+(b0.key==null||M0&&M0.key===b0.key?"":(""+b0.key).replace(L5,"$&/")+"/")+u0),p!==""&&M0!=null&&D(M0)&&M0.key==null&&M0._store&&!M0._store.validated&&(V._store.validated=2),b0=V),O.push(b0)),1}if(M0=0,u0=p===""?".":p+":",dw(_))for(var X0=0;X0<_.length;X0++)p=_[X0],A0=u0+P0(p,X0),M0+=q0(p,O,V,A0,b0);else if(X0=Z(_),typeof X0==="function")for(X0===_.entries&&(M5||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),M5=!0),_=X0.call(_),X0=0;!(p=_.next()).done;)p=p.value,A0=u0+P0(p,X0++),M0+=q0(p,O,V,A0,b0);else if(A0==="object"){if(typeof _.then==="function")return q0(e0(_),O,V,p,b0);throw O=String(_),Error("Objects are not valid as a React child (found: "+(O==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":O)+"). If you meant to render a collection of children, use an array instead.")}return M0}function v0(_,O,V){if(_==null)return _;var p=[],b0=0;return q0(_,p,"","",function(A0){return O.call(V,A0,b0++)}),p}function bw(_){if(_._status===-1){var O=_._ioInfo;O!=null&&(O.start=O.end=performance.now()),O=_._result;var V=O();if(V.then(function(b0){if(_._status===0||_._status===-1){_._status=1,_._result=b0;var A0=_._ioInfo;A0!=null&&(A0.end=performance.now()),V.status===void 0&&(V.status="fulfilled",V.value=b0)}},function(b0){if(_._status===0||_._status===-1){_._status=2,_._result=b0;var A0=_._ioInfo;A0!=null&&(A0.end=performance.now()),V.status===void 0&&(V.status="rejected",V.reason=b0)}}),O=_._ioInfo,O!=null){O.value=V;var p=V.displayName;typeof p==="string"&&(O.name=p)}_._status===-1&&(_._status=0,_._result=V)}if(_._status===1)return O=_._result,O===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
+
3
+ Your code should look like:
4
+ const MyComponent = lazy(() => import('./MyComponent'))
5
+
6
+ Did you accidentally put curly braces around the import?`,O),"default"in O||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
+
8
+ Your code should look like:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,O),O.default;throw _._result}function j(){var _=F0.H;return _===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
10
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
11
+ 2. You might be breaking the Rules of Hooks
12
+ 3. You might have more than one copy of React in the same app
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),_}function D0(){F0.asyncTransitions--}function O0(_){if(Nv===null)try{var O=("require"+Math.random()).slice(0,7);Nv=(ha&&ha[O]).call(ha,"timers").setImmediate}catch(V){Nv=function(p){H4===!1&&(H4=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var b0=new MessageChannel;b0.port1.onmessage=p,b0.port2.postMessage(void 0)}}return Nv(_)}function l0(_){return 1<_.length&&typeof AggregateError==="function"?AggregateError(_):_[0]}function rw(_,O){O!==Fv-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Fv=O}function P(_,O,V){var p=F0.actQueue;if(p!==null)if(p.length!==0)try{e(p),O0(function(){return P(_,O,V)});return}catch(b0){F0.thrownErrors.push(b0)}else F0.actQueue=null;0<F0.thrownErrors.length?(p=l0(F0.thrownErrors),F0.thrownErrors.length=0,V(p)):O(_)}function e(_){if(!Rv){Rv=!0;var O=0;try{for(;O<_.length;O++){var V=_[O];do{F0.didUsePromise=!1;var p=V(!1);if(p!==null){if(F0.didUsePromise){_[O]=V,_.splice(0,O);return}V=p}else break}while(1)}_.length=0}catch(b0){_.splice(0,O+1),F0.thrownErrors.push(b0)}finally{Rv=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var y=Symbol.for("react.transitional.element"),Y0=Symbol.for("react.portal"),Q0=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),z0=Symbol.for("react.profiler"),y0=Symbol.for("react.consumer"),$0=Symbol.for("react.context"),m0=Symbol.for("react.forward_ref"),L1=Symbol.for("react.suspense"),p0=Symbol.for("react.suspense_list"),pw=Symbol.for("react.memo"),H1=Symbol.for("react.lazy"),O1=Symbol.for("react.activity"),l5=Symbol.iterator,w0={},S={isMounted:function(){return!1},enqueueForceUpdate:function(_){Y(_,"forceUpdate")},enqueueReplaceState:function(_){Y(_,"replaceState")},enqueueSetState:function(_){Y(_,"setState")}},$w=Object.assign,p1={};Object.freeze(p1),$.prototype.isReactComponent={},$.prototype.setState=function(_,O){if(typeof _!=="object"&&typeof _!=="function"&&_!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,_,O,"setState")},$.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};var Ow={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Tg in Ow)Ow.hasOwnProperty(Tg)&&z(Tg,Ow[Tg]);B.prototype=$.prototype,Ow=Q.prototype=new B,Ow.constructor=Q,$w(Ow,$.prototype),Ow.isPureReactComponent=!0;var dw=Array.isArray,Ib=Symbol.for("react.client.reference"),F0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},A5=Object.prototype.hasOwnProperty,Gw=console.createTask?console.createTask:function(){return null};Ow={react_stack_bottom_frame:function(_){return _()}};var Q4,A2,Lv={},Ov=Ow.react_stack_bottom_frame.bind(Ow,R)(),w6=Gw(A(R)),M5=!1,L5=/\/+/g,mg=typeof reportError==="function"?reportError:function(_){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var O=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _==="object"&&_!==null&&typeof _.message==="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(O))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",_);return}console.error(_)},H4=!1,Nv=null,Fv=0,Kv=!1,Rv=!1,Cb=typeof queueMicrotask==="function"?function(_){queueMicrotask(function(){return queueMicrotask(_)})}:O0;Ow=Object.freeze({__proto__:null,c:function(_){return j().useMemoCache(_)}});var Tg={map:v0,forEach:function(_,O,V){v0(_,function(){O.apply(this,arguments)},V)},count:function(_){var O=0;return v0(_,function(){O++}),O},toArray:function(_){return v0(_,function(O){return O})||[]},only:function(_){if(!D(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};FU.Activity=O1,FU.Children=Tg,FU.Component=$,FU.Fragment=Q0,FU.Profiler=z0,FU.PureComponent=Q,FU.StrictMode=C,FU.Suspense=L1,FU.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F0,FU.__COMPILER_RUNTIME=Ow,FU.act=function(_){var O=F0.actQueue,V=Fv;Fv++;var p=F0.actQueue=O!==null?O:[],b0=!1;try{var A0=_()}catch(X0){F0.thrownErrors.push(X0)}if(0<F0.thrownErrors.length)throw rw(O,V),_=l0(F0.thrownErrors),F0.thrownErrors.length=0,_;if(A0!==null&&typeof A0==="object"&&typeof A0.then==="function"){var M0=A0;return Cb(function(){b0||Kv||(Kv=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(X0,v1){b0=!0,M0.then(function(N1){if(rw(O,V),V===0){try{e(p),O0(function(){return P(N1,X0,v1)})}catch(fb){F0.thrownErrors.push(fb)}if(0<F0.thrownErrors.length){var Ig=l0(F0.thrownErrors);F0.thrownErrors.length=0,v1(Ig)}}else X0(N1)},function(N1){rw(O,V),0<F0.thrownErrors.length?(N1=l0(F0.thrownErrors),F0.thrownErrors.length=0,v1(N1)):v1(N1)})}}}var u0=A0;if(rw(O,V),V===0&&(e(p),p.length!==0&&Cb(function(){b0||Kv||(Kv=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),F0.actQueue=null),0<F0.thrownErrors.length)throw _=l0(F0.thrownErrors),F0.thrownErrors.length=0,_;return{then:function(X0,v1){b0=!0,V===0?(F0.actQueue=p,O0(function(){return P(u0,X0,v1)})):X0(u0)}}},FU.cache=function(_){return function(){return _.apply(null,arguments)}},FU.cacheSignal=function(){return null},FU.captureOwnerStack=function(){var _=F0.getCurrentStack;return _===null?null:_()},FU.cloneElement=function(_,O,V){if(_===null||_===void 0)throw Error("The argument must be a React element, but you passed "+_+".");var p=$w({},_.props),b0=_.key,A0=_._owner;if(O!=null){var M0;w:{if(A5.call(O,"ref")&&(M0=Object.getOwnPropertyDescriptor(O,"ref").get)&&M0.isReactWarning){M0=!1;break w}M0=O.ref!==void 0}M0&&(A0=U()),o(O)&&(N(O.key),b0=""+O.key);for(u0 in O)!A5.call(O,u0)||u0==="key"||u0==="__self"||u0==="__source"||u0==="ref"&&O.ref===void 0||(p[u0]=O[u0])}var u0=arguments.length-2;if(u0===1)p.children=V;else if(1<u0){M0=Array(u0);for(var X0=0;X0<u0;X0++)M0[X0]=arguments[X0+2];p.children=M0}p=f(_.type,b0,p,A0,_._debugStack,_._debugTask);for(b0=2;b0<arguments.length;b0++)x0(arguments[b0]);return p},FU.createContext=function(_){return _={$$typeof:$0,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:y0,_context:_},_._currentRenderer=null,_._currentRenderer2=null,_},FU.createElement=function(_,O,V){for(var p=2;p<arguments.length;p++)x0(arguments[p]);p={};var b0=null;if(O!=null)for(X0 in A2||!("__self"in O)||"key"in O||(A2=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),o(O)&&(N(O.key),b0=""+O.key),O)A5.call(O,X0)&&X0!=="key"&&X0!=="__self"&&X0!=="__source"&&(p[X0]=O[X0]);var A0=arguments.length-2;if(A0===1)p.children=V;else if(1<A0){for(var M0=Array(A0),u0=0;u0<A0;u0++)M0[u0]=arguments[u0+2];Object.freeze&&Object.freeze(M0),p.children=M0}if(_&&_.defaultProps)for(X0 in A0=_.defaultProps,A0)p[X0]===void 0&&(p[X0]=A0[X0]);b0&&n(p,typeof _==="function"?_.displayName||_.name||"Unknown":_);var X0=1e4>F0.recentlyCreatedOwnerStacks++;return f(_,b0,p,U(),X0?Error("react-stack-top-frame"):Ov,X0?Gw(A(_)):w6)},FU.createRef=function(){var _={current:null};return Object.seal(_),_},FU.forwardRef=function(_){_!=null&&_.$$typeof===pw?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof _!=="function"?console.error("forwardRef requires a render function but was given %s.",_===null?"null":typeof _):_.length!==0&&_.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",_.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),_!=null&&_.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var O={$$typeof:m0,render:_},V;return Object.defineProperty(O,"displayName",{enumerable:!1,configurable:!0,get:function(){return V},set:function(p){V=p,_.name||_.displayName||(Object.defineProperty(_,"name",{value:p}),_.displayName=p)}}),O},FU.isValidElement=D,FU.lazy=function(_){_={_status:-1,_result:_};var O={$$typeof:H1,_payload:_,_init:bw},V={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return _._ioInfo=V,O._debugInfo=[{awaited:V}],O},FU.memo=function(_,O){_==null&&console.error("memo: The first argument must be a component. Instead received: %s",_===null?"null":typeof _),O={$$typeof:pw,type:_,compare:O===void 0?null:O};var V;return Object.defineProperty(O,"displayName",{enumerable:!1,configurable:!0,get:function(){return V},set:function(p){V=p,_.name||_.displayName||(Object.defineProperty(_,"name",{value:p}),_.displayName=p)}}),O},FU.startTransition=function(_){var O=F0.T,V={};V._updatedFibers=new Set,F0.T=V;try{var p=_(),b0=F0.S;b0!==null&&b0(V,p),typeof p==="object"&&p!==null&&typeof p.then==="function"&&(F0.asyncTransitions++,p.then(D0,D0),p.then(q,mg))}catch(A0){mg(A0)}finally{O===null&&V._updatedFibers&&(_=V._updatedFibers.size,V._updatedFibers.clear(),10<_&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),O!==null&&V.types!==null&&(O.types!==null&&O.types!==V.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),O.types=V.types),F0.T=O}},FU.unstable_useCacheRefresh=function(){return j().useCacheRefresh()},FU.use=function(_){return j().use(_)},FU.useActionState=function(_,O,V){return j().useActionState(_,O,V)},FU.useCallback=function(_,O){return j().useCallback(_,O)},FU.useContext=function(_){var O=j();return _.$$typeof===y0&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),O.useContext(_)},FU.useDebugValue=function(_,O){return j().useDebugValue(_,O)},FU.useDeferredValue=function(_,O){return j().useDeferredValue(_,O)},FU.useEffect=function(_,O){return _==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),j().useEffect(_,O)},FU.useEffectEvent=function(_){return j().useEffectEvent(_)},FU.useId=function(){return j().useId()},FU.useImperativeHandle=function(_,O,V){return j().useImperativeHandle(_,O,V)},FU.useInsertionEffect=function(_,O){return _==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),j().useInsertionEffect(_,O)},FU.useLayoutEffect=function(_,O){return _==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),j().useLayoutEffect(_,O)},FU.useMemo=function(_,O){return j().useMemo(_,O)},FU.useOptimistic=function(_,O){return j().useOptimistic(_,O)},FU.useReducer=function(_,O,V){return j().useReducer(_,O,V)},FU.useRef=function(_){return j().useRef(_)},FU.useState=function(_){return j().useState(_)},FU.useSyncExternalStore=function(_,O,V){return j().useSyncExternalStore(_,O,V)},FU.useTransition=function(){return j().useTransition()},FU.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var s_=Q5((KU)=>{var Tx=W0(iw());(function(){function z(){}function Z(A){return""+A}function Y(A,U,R){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{Z(o);var n=!1}catch(c){n=!0}return n&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&o[Symbol.toStringTag]||o.constructor.name||"Object"),Z(o)),{$$typeof:N,key:o==null?null:""+o,children:A,containerInfo:U,implementation:R}}function $(A,U){if(A==="font")return"";if(typeof U==="string")return U==="use-credentials"?U:""}function B(A){return A===null?"`null`":A===void 0?"`undefined`":A===""?"an empty string":'something with type "'+typeof A+'"'}function Q(A){return A===null?"`null`":A===void 0?"`undefined`":A===""?"an empty string":typeof A==="string"?JSON.stringify(A):typeof A==="number"?"`"+A+"`":'something with type "'+typeof A+'"'}function q(){var A=F.H;return A===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
14
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
15
+ 2. You might be breaking the Rules of Hooks
16
+ 3. You might have more than one copy of React in the same app
17
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),A}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var H={d:{f:z,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:z,C:z,L:z,m:z,X:z,S:z,M:z},p:0,findDOMNode:null},N=Symbol.for("react.portal"),F=Tx.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),KU.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=H,KU.createPortal=function(A,U){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!U||U.nodeType!==1&&U.nodeType!==9&&U.nodeType!==11)throw Error("Target container is not a DOM element.");return Y(A,U,null,R)},KU.flushSync=function(A){var U=F.T,R=H.p;try{if(F.T=null,H.p=2,A)return A()}finally{F.T=U,H.p=R,H.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},KU.preconnect=function(A,U){typeof A==="string"&&A?U!=null&&typeof U!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",Q(U)):U!=null&&typeof U.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",B(U.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",B(A)),typeof A==="string"&&(U?(U=U.crossOrigin,U=typeof U==="string"?U==="use-credentials"?U:"":void 0):U=null,H.d.C(A,U))},KU.prefetchDNS=function(A){if(typeof A!=="string"||!A)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",B(A));else if(1<arguments.length){var U=arguments[1];typeof U==="object"&&U.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",Q(U)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",Q(U))}typeof A==="string"&&H.d.D(A)},KU.preinit=function(A,U){if(typeof A==="string"&&A?U==null||typeof U!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",Q(U)):U.as!=="style"&&U.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',Q(U.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",B(A)),typeof A==="string"&&U&&typeof U.as==="string"){var R=U.as,o=$(R,U.crossOrigin),n=typeof U.integrity==="string"?U.integrity:void 0,c=typeof U.fetchPriority==="string"?U.fetchPriority:void 0;R==="style"?H.d.S(A,typeof U.precedence==="string"?U.precedence:void 0,{crossOrigin:o,integrity:n,fetchPriority:c}):R==="script"&&H.d.X(A,{crossOrigin:o,integrity:n,fetchPriority:c,nonce:typeof U.nonce==="string"?U.nonce:void 0})}},KU.preinitModule=function(A,U){var R="";if(typeof A==="string"&&A||(R+=" The `href` argument encountered was "+B(A)+"."),U!==void 0&&typeof U!=="object"?R+=" The `options` argument encountered was "+B(U)+".":U&&("as"in U)&&U.as!=="script"&&(R+=" The `as` option encountered was "+Q(U.as)+"."),R)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",R);else switch(R=U&&typeof U.as==="string"?U.as:"script",R){case"script":break;default:R=Q(R),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',R,A)}if(typeof A==="string")if(typeof U==="object"&&U!==null){if(U.as==null||U.as==="script")R=$(U.as,U.crossOrigin),H.d.M(A,{crossOrigin:R,integrity:typeof U.integrity==="string"?U.integrity:void 0,nonce:typeof U.nonce==="string"?U.nonce:void 0})}else U==null&&H.d.M(A)},KU.preload=function(A,U){var R="";if(typeof A==="string"&&A||(R+=" The `href` argument encountered was "+B(A)+"."),U==null||typeof U!=="object"?R+=" The `options` argument encountered was "+B(U)+".":typeof U.as==="string"&&U.as||(R+=" The `as` option encountered was "+B(U.as)+"."),R&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',R),typeof A==="string"&&typeof U==="object"&&U!==null&&typeof U.as==="string"){R=U.as;var o=$(R,U.crossOrigin);H.d.L(A,R,{crossOrigin:o,integrity:typeof U.integrity==="string"?U.integrity:void 0,nonce:typeof U.nonce==="string"?U.nonce:void 0,type:typeof U.type==="string"?U.type:void 0,fetchPriority:typeof U.fetchPriority==="string"?U.fetchPriority:void 0,referrerPolicy:typeof U.referrerPolicy==="string"?U.referrerPolicy:void 0,imageSrcSet:typeof U.imageSrcSet==="string"?U.imageSrcSet:void 0,imageSizes:typeof U.imageSizes==="string"?U.imageSizes:void 0,media:typeof U.media==="string"?U.media:void 0})}},KU.preloadModule=function(A,U){var R="";typeof A==="string"&&A||(R+=" The `href` argument encountered was "+B(A)+"."),U!==void 0&&typeof U!=="object"?R+=" The `options` argument encountered was "+B(U)+".":U&&("as"in U)&&typeof U.as!=="string"&&(R+=" The `as` option encountered was "+B(U.as)+"."),R&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',R),typeof A==="string"&&(U?(R=$(U.as,U.crossOrigin),H.d.m(A,{as:typeof U.as==="string"&&U.as!=="script"?U.as:void 0,crossOrigin:R,integrity:typeof U.integrity==="string"?U.integrity:void 0})):H.d.m(A))},KU.requestFormReset=function(A){H.d.r(A)},KU.unstable_batchedUpdates=function(A,U){return A(U)},KU.useFormState=function(A,U,R){return q().useFormState(A,U,R)},KU.useFormStatus=function(){return q().useHostTransitionStatus()},KU.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var ma=Q5((eW,e_)=>{var RU=W0(s_());e_.exports=RU});var wY=Q5((hU)=>{var n0=W0(t_()),Nb=W0(iw()),Ix=W0(ma());(function(){function z(w,g){for(w=w.memoizedState;w!==null&&0<g;)w=w.next,g--;return w}function Z(w,g,v,b){if(v>=g.length)return b;var r=g[v],d=ow(w)?w.slice():C0({},w);return d[r]=Z(w[r],g,v+1,b),d}function Y(w,g,v){if(g.length!==v.length)console.warn("copyWithRename() expects paths of the same length");else{for(var b=0;b<v.length-1;b++)if(g[b]!==v[b]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return $(w,g,v,0)}}function $(w,g,v,b){var r=g[b],d=ow(w)?w.slice():C0({},w);return b+1===g.length?(d[v[b]]=d[r],ow(d)?d.splice(r,1):delete d[r]):d[r]=$(w[r],g,v,b+1),d}function B(w,g,v){var b=g[v],r=ow(w)?w.slice():C0({},w);if(v+1===g.length)return ow(r)?r.splice(b,1):delete r[b],r;return r[b]=B(w[b],g,v+1),r}function Q(){return!1}function q(){return null}function H(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function N(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function F(){}function A(){}function U(w){var g=[];return w.forEach(function(v){g.push(v)}),g.sort().join(", ")}function R(w,g,v,b){return new ZB(w,g,v,b)}function o(w,g){w.context===gv&&(w3(w.current,2,g,w,null,null),i5())}function n(w,g){if(v2!==null){var v=g.staleFamilies;g=g.updatedFamilies,Gr(),v9(w.current,g,v),i5()}}function c(w){v2=w}function f(w){return!(!w||w.nodeType!==1&&w.nodeType!==9&&w.nodeType!==11)}function a0(w){var g=w,v=w;if(w.alternate)for(;g.return;)g=g.return;else{w=g;do g=w,(g.flags&4098)!==0&&(v=g.return),w=g.return;while(w)}return g.tag===3?v:null}function x0(w){if(w.tag===13){var g=w.memoizedState;if(g===null&&(w=w.alternate,w!==null&&(g=w.memoizedState)),g!==null)return g.dehydrated}return null}function D(w){if(w.tag===31){var g=w.memoizedState;if(g===null&&(w=w.alternate,w!==null&&(g=w.memoizedState)),g!==null)return g.dehydrated}return null}function L0(w){if(a0(w)!==w)throw Error("Unable to find node on an unmounted component.")}function P0(w){var g=w.alternate;if(!g){if(g=a0(w),g===null)throw Error("Unable to find node on an unmounted component.");return g!==w?null:w}for(var v=w,b=g;;){var r=v.return;if(r===null)break;var d=r.alternate;if(d===null){if(b=r.return,b!==null){v=b;continue}break}if(r.child===d.child){for(d=r.child;d;){if(d===v)return L0(r),w;if(d===b)return L0(r),g;d=d.sibling}throw Error("Unable to find node on an unmounted component.")}if(v.return!==b.return)v=r,b=d;else{for(var a=!1,x=r.child;x;){if(x===v){a=!0,v=r,b=d;break}if(x===b){a=!0,b=r,v=d;break}x=x.sibling}if(!a){for(x=d.child;x;){if(x===v){a=!0,v=d,b=r;break}if(x===b){a=!0,b=d,v=r;break}x=x.sibling}if(!a)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(v.alternate!==b)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(v.tag!==3)throw Error("Unable to find node on an unmounted component.");return v.stateNode.current===v?w:g}function e0(w){var g=w.tag;if(g===5||g===26||g===27||g===6)return w;for(w=w.child;w!==null;){if(g=e0(w),g!==null)return g;w=w.sibling}return null}function q0(w){if(w===null||typeof w!=="object")return null;return w=GZ&&w[GZ]||w["@@iterator"],typeof w==="function"?w:null}function v0(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===RQ?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case j5:return"Fragment";case a3:return"Profiler";case Ld:return"StrictMode";case z3:return"Suspense";case G3:return"SuspenseList";case Z3:return"Activity"}if(typeof w==="object")switch(typeof w.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case E5:return"Portal";case y2:return w.displayName||"Context";case x3:return(w._context.displayName||"Context")+".Consumer";case kr:var g=w.render;return w=w.displayName,w||(w=g.displayName||g.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case Od:return g=w.displayName||null,g!==null?g:v0(w.type)||"Memo";case f1:g=w._payload,w=w._init;try{return v0(w(g))}catch(v){}}return null}function bw(w){return typeof w.tag==="number"?j(w):typeof w.name==="string"?w.name:null}function j(w){var g=w.type;switch(w.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(g._context.displayName||"Context")+".Consumer";case 10:return g.displayName||"Context";case 18:return"DehydratedFragment";case 11:return w=g.render,w=w.displayName||w.name||"",g.displayName||(w!==""?"ForwardRef("+w+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return g;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return v0(g);case 8:return g===Ld?"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 14:case 15:if(typeof g==="function")return g.displayName||g.name||null;if(typeof g==="string")return g;break;case 29:if(g=w._debugInfo,g!=null){for(var v=g.length-1;0<=v;v--)if(typeof g[v].name==="string")return g[v].name}if(w.return!==null)return j(w.return)}return null}function D0(w){return{current:w}}function O0(w,g){0>Xg?console.error("Unexpected pop."):(g!==_3[Xg]&&console.error("Unexpected Fiber popped."),w.current=X3[Xg],X3[Xg]=null,_3[Xg]=null,Xg--)}function l0(w,g,v){Xg++,X3[Xg]=w.current,_3[Xg]=v,w.current=g}function rw(w){return w===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),w}function P(w,g){l0(ng,g,w),l0(Jr,w,w),l0(ug,null,w);var v=g.nodeType;switch(v){case 9:case 11:v=v===9?"#document":"#fragment",g=(g=g.documentElement)?(g=g.namespaceURI)?mG(g):Mg:Mg;break;default:if(v=g.tagName,g=g.namespaceURI)g=mG(g),g=TG(g,v);else switch(v){case"svg":g=Lb;break;case"math":g=Ma;break;default:g=Mg}}v=v.toLowerCase(),v=O7(null,v),v={context:g,ancestorInfo:v},O0(ug,w),l0(ug,v,w)}function e(w){O0(ug,w),O0(Jr,w),O0(ng,w)}function y(){return rw(ug.current)}function Y0(w){w.memoizedState!==null&&l0(Nd,w,w);var g=rw(ug.current),v=w.type,b=TG(g.context,v);v=O7(g.ancestorInfo,v),b={context:b,ancestorInfo:v},g!==b&&(l0(Jr,w,w),l0(ug,b,w))}function Q0(w){Jr.current===w&&(O0(ug,w),O0(Jr,w)),Nd.current===w&&(O0(Nd,w),X4._currentValue=B5)}function C(){}function z0(){if(Wr===0){ZZ=console.log,XZ=console.info,_Z=console.warn,YZ=console.error,$Z=console.group,BZ=console.groupCollapsed,QZ=console.groupEnd;var w={configurable:!0,enumerable:!0,value:C,writable:!0};Object.defineProperties(console,{info:w,log:w,warn:w,error:w,group:w,groupCollapsed:w,groupEnd:w})}Wr++}function y0(){if(Wr--,Wr===0){var w={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:C0({},w,{value:ZZ}),info:C0({},w,{value:XZ}),warn:C0({},w,{value:_Z}),error:C0({},w,{value:YZ}),group:C0({},w,{value:$Z}),groupCollapsed:C0({},w,{value:BZ}),groupEnd:C0({},w,{value:QZ})})}0>Wr&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function $0(w){var g=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,w=w.stack,Error.prepareStackTrace=g,w.startsWith(`Error: react-stack-top-frame
18
+ `)&&(w=w.slice(29)),g=w.indexOf(`
19
+ `),g!==-1&&(w=w.slice(g+1)),g=w.indexOf("react_stack_bottom_frame"),g!==-1&&(g=w.lastIndexOf(`
20
+ `,g)),g!==-1)w=w.slice(0,g);else return"";return w}function m0(w){if(Y3===void 0)try{throw Error()}catch(v){var g=v.stack.trim().match(/\n( *(at )?)/);Y3=g&&g[1]||"",HZ=-1<v.stack.indexOf(`
21
+ at`)?" (<anonymous>)":-1<v.stack.indexOf("@")?"@unknown:0:0":""}return`
22
+ `+Y3+w+HZ}function L1(w,g){if(!w||$3)return"";var v=B3.get(w);if(v!==void 0)return v;$3=!0,v=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var b=null;b=m.H,m.H=null,z0();try{var r={DetermineComponentFrameRoot:function(){try{if(g){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(u){var K=u}Reflect.construct(w,[],J)}else{try{J.call()}catch(u){K=u}w.call(J.prototype)}}else{try{throw Error()}catch(u){K=u}(J=w())&&typeof J.catch==="function"&&J.catch(function(){})}}catch(u){if(u&&K&&typeof u.stack==="string")return[u.stack,K.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var d=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");d&&d.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),x=a[0],G=a[1];if(x&&G){var X=x.split(`
23
+ `),M=G.split(`
24
+ `);for(a=d=0;d<X.length&&!X[d].includes("DetermineComponentFrameRoot");)d++;for(;a<M.length&&!M[a].includes("DetermineComponentFrameRoot");)a++;if(d===X.length||a===M.length)for(d=X.length-1,a=M.length-1;1<=d&&0<=a&&X[d]!==M[a];)a--;for(;1<=d&&0<=a;d--,a--)if(X[d]!==M[a]){if(d!==1||a!==1)do if(d--,a--,0>a||X[d]!==M[a]){var L=`
25
+ `+X[d].replace(" at new "," at ");return w.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",w.displayName)),typeof w==="function"&&B3.set(w,L),L}while(1<=d&&0<=a);break}}}finally{$3=!1,m.H=b,y0(),Error.prepareStackTrace=v}return X=(X=w?w.displayName||w.name:"")?m0(X):"",typeof w==="function"&&B3.set(w,X),X}function p0(w,g){switch(w.tag){case 26:case 27:case 5:return m0(w.type);case 16:return m0("Lazy");case 13:return w.child!==g&&g!==null?m0("Suspense Fallback"):m0("Suspense");case 19:return m0("SuspenseList");case 0:case 15:return L1(w.type,!1);case 11:return L1(w.type.render,!1);case 1:return L1(w.type,!0);case 31:return m0("Activity");default:return""}}function pw(w){try{var g="",v=null;do{g+=p0(w,v);var b=w._debugInfo;if(b)for(var r=b.length-1;0<=r;r--){var d=b[r];if(typeof d.name==="string"){var a=g;w:{var{name:x,env:G,debugLocation:X}=d;if(X!=null){var M=$0(X),L=M.lastIndexOf(`
26
+ `),J=L===-1?M:M.slice(L+1);if(J.indexOf(x)!==-1){var K=`
27
+ `+J;break w}}K=m0(x+(G?" ["+G+"]":""))}g=a+K}}v=w,w=w.return}while(w);return g}catch(u){return`
28
+ Error generating stack: `+u.message+`
29
+ `+u.stack}}function H1(w){return(w=w?w.displayName||w.name:"")?m0(w):""}function O1(){if(c1===null)return null;var w=c1._debugOwner;return w!=null?bw(w):null}function l5(){if(c1===null)return"";var w=c1;try{var g="";switch(w.tag===6&&(w=w.return),w.tag){case 26:case 27:case 5:g+=m0(w.type);break;case 13:g+=m0("Suspense");break;case 19:g+=m0("SuspenseList");break;case 31:g+=m0("Activity");break;case 30:case 0:case 15:case 1:w._debugOwner||g!==""||(g+=H1(w.type));break;case 11:w._debugOwner||g!==""||(g+=H1(w.type.render))}for(;w;)if(typeof w.tag==="number"){var v=w;w=v._debugOwner;var b=v._debugStack;if(w&&b){var r=$0(b);r!==""&&(g+=`
30
+ `+r)}}else if(w.debugStack!=null){var d=w.debugStack;(w=w.owner)&&d&&(g+=`
31
+ `+$0(d))}else break;var a=g}catch(x){a=`
32
+ Error generating stack: `+x.message+`
33
+ `+x.stack}return a}function w0(w,g,v,b,r,d,a){var x=c1;S(w);try{return w!==null&&w._debugTask?w._debugTask.run(g.bind(null,v,b,r,d,a)):g(v,b,r,d,a)}finally{S(x)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function S(w){m.getCurrentStack=w===null?null:l5,S2=!1,c1=w}function $w(w){return typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object"}function p1(w){try{return Ow(w),!1}catch(g){return!0}}function Ow(w){return""+w}function dw(w,g){if(p1(w))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",g,$w(w)),Ow(w)}function Ib(w,g){if(p1(w))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",g,$w(w)),Ow(w)}function F0(w){if(p1(w))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",$w(w)),Ow(w)}function A5(w){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var g=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(g.isDisabled)return!0;if(!g.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{u5=g.inject(w),r1=g}catch(v){console.error("React instrumentation encountered an error: %o.",v)}return g.checkDCE?!0:!1}function Gw(w){if(typeof cQ==="function"&&iQ(w),r1&&typeof r1.setStrictMode==="function")try{r1.setStrictMode(u5,w)}catch(g){V2||(V2=!0,console.error("React instrumentation encountered an error: %o",g))}}function Q4(w){return w>>>=0,w===0?32:31-(oQ(w)/PQ|0)|0}function A2(w){var g=w&42;if(g!==0)return g;switch(w&-w){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return w&261888;case 262144:case 524288:case 1048576:case 2097152:return w&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return w&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),w}}function Lv(w,g,v){var b=w.pendingLanes;if(b===0)return 0;var r=0,d=w.suspendedLanes,a=w.pingedLanes;w=w.warmLanes;var x=b&134217727;return x!==0?(b=x&~d,b!==0?r=A2(b):(a&=x,a!==0?r=A2(a):v||(v=x&~w,v!==0&&(r=A2(v))))):(x=b&~d,x!==0?r=A2(x):a!==0?r=A2(a):v||(v=b&~w,v!==0&&(r=A2(v)))),r===0?0:g!==0&&g!==r&&(g&d)===0&&(d=r&-r,v=g&-g,d>=v||d===32&&(v&4194048)!==0)?g:r}function Ov(w,g){return(w.pendingLanes&~(w.suspendedLanes&~w.pingedLanes)&g)===0}function w6(w,g){switch(w){case 1:case 2:case 4:case 8:case 64:return g+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return g+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function M5(){var w=Rd;return Rd<<=1,(Rd&62914560)===0&&(Rd=4194304),w}function L5(w){for(var g=[],v=0;31>v;v++)g.push(w);return g}function mg(w,g){w.pendingLanes|=g,g!==268435456&&(w.suspendedLanes=0,w.pingedLanes=0,w.warmLanes=0)}function H4(w,g,v,b,r,d){var a=w.pendingLanes;w.pendingLanes=v,w.suspendedLanes=0,w.pingedLanes=0,w.warmLanes=0,w.expiredLanes&=v,w.entangledLanes&=v,w.errorRecoveryDisabledLanes&=v,w.shellSuspendCounter=0;var{entanglements:x,expirationTimes:G,hiddenUpdates:X}=w;for(v=a&~v;0<v;){var M=31-G1(v),L=1<<M;x[M]=0,G[M]=-1;var J=X[M];if(J!==null)for(X[M]=null,M=0;M<J.length;M++){var K=J[M];K!==null&&(K.lane&=-536870913)}v&=~L}b!==0&&Nv(w,b,0),d!==0&&r===0&&w.tag!==0&&(w.suspendedLanes|=d&~(a&~g))}function Nv(w,g,v){w.pendingLanes|=g,w.suspendedLanes&=~g;var b=31-G1(g);w.entangledLanes|=g,w.entanglements[b]=w.entanglements[b]|1073741824|v&261930}function Fv(w,g){var v=w.entangledLanes|=g;for(w=w.entanglements;v;){var b=31-G1(v),r=1<<b;r&g|w[b]&g&&(w[b]|=g),v&=~r}}function Kv(w,g){var v=g&-g;return v=(v&42)!==0?1:Rv(v),(v&(w.suspendedLanes|g))!==0?0:v}function Rv(w){switch(w){case 2:w=1;break;case 8:w=4;break;case 32:w=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:w=128;break;case 268435456:w=134217728;break;default:w=0}return w}function Cb(w,g,v){if(E2)for(w=w.pendingUpdatersLaneMap;0<v;){var b=31-G1(v),r=1<<b;w[b].add(g),v&=~r}}function Tg(w,g){if(E2)for(var{pendingUpdatersLaneMap:v,memoizedUpdaters:b}=w;0<g;){var r=31-G1(g);w=1<<r,r=v[r],0<r.size&&(r.forEach(function(d){var a=d.alternate;a!==null&&b.has(a)||b.add(d)}),r.clear()),g&=~w}}function _(w){return w&=-w,i1!==0&&i1<w?Q2!==0&&Q2<w?(w&134217727)!==0?j2:hd:Q2:i1}function O(){var w=s0.p;if(w!==0)return w;return w=window.event,w===void 0?j2:vZ(w.type)}function V(w,g){var v=s0.p;try{return s0.p=w,g()}finally{s0.p=v}}function p(w){delete w[w1],delete w[Z1],delete w[J3],delete w[yQ],delete w[SQ]}function b0(w){var g=w[w1];if(g)return g;for(var v=w.parentNode;v;){if(g=v[tg]||v[w1]){if(v=g.alternate,g.child!==null||v!==null&&v.child!==null)for(w=yG(w);w!==null;){if(v=w[w1])return v;w=yG(w)}return g}w=v,v=w.parentNode}return null}function A0(w){if(w=w[w1]||w[tg]){var g=w.tag;if(g===5||g===6||g===13||g===31||g===26||g===27||g===3)return w}return null}function M0(w){var g=w.tag;if(g===5||g===26||g===27||g===6)return w.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function u0(w){var g=w[UZ];return g||(g=w[UZ]={hoistableStyles:new Map,hoistableScripts:new Map}),g}function X0(w){w[qr]=!0}function v1(w,g){N1(w,g),N1(w+"Capture",g)}function N1(w,g){Dv[w]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",w),Dv[w]=g;var v=w.toLowerCase();W3[v]=w,w==="onDoubleClick"&&(W3.ondblclick=w);for(w=0;w<g.length;w++)kZ.add(g[w])}function Ig(w,g){VQ[g.type]||g.onChange||g.onInput||g.readOnly||g.disabled||g.value==null||(w==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),g.onChange||g.readOnly||g.disabled||g.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function fb(w){if(B2.call(WZ,w))return!0;if(B2.call(JZ,w))return!1;if(EQ.test(w))return WZ[w]=!0;return JZ[w]=!0,console.error("Invalid attribute name: `%s`",w),!1}function _7(w,g,v){if(fb(g)){if(!w.hasAttribute(g)){switch(typeof v){case"symbol":case"object":return v;case"function":return v;case"boolean":if(v===!1)return v}return v===void 0?void 0:null}if(w=w.getAttribute(g),w===""&&v===!0)return!0;return dw(v,g),w===""+v?v:w}}function U4(w,g,v){if(fb(g))if(v===null)w.removeAttribute(g);else{switch(typeof v){case"undefined":case"function":case"symbol":w.removeAttribute(g);return;case"boolean":var b=g.toLowerCase().slice(0,5);if(b!=="data-"&&b!=="aria-"){w.removeAttribute(g);return}}dw(v,g),w.setAttribute(g,""+v)}}function k4(w,g,v){if(v===null)w.removeAttribute(g);else{switch(typeof v){case"undefined":case"function":case"symbol":case"boolean":w.removeAttribute(g);return}dw(v,g),w.setAttribute(g,""+v)}}function vg(w,g,v,b){if(b===null)w.removeAttribute(v);else{switch(typeof b){case"undefined":case"function":case"symbol":case"boolean":w.removeAttribute(v);return}dw(b,v),w.setAttributeNS(g,v,""+b)}}function t1(w){switch(typeof w){case"bigint":case"boolean":case"number":case"string":case"undefined":return w;case"object":return F0(w),w;default:return""}}function Y7(w){var g=w.type;return(w=w.nodeName)&&w.toLowerCase()==="input"&&(g==="checkbox"||g==="radio")}function P$(w,g,v){var b=Object.getOwnPropertyDescriptor(w.constructor.prototype,g);if(!w.hasOwnProperty(g)&&typeof b<"u"&&typeof b.get==="function"&&typeof b.set==="function"){var{get:r,set:d}=b;return Object.defineProperty(w,g,{configurable:!0,get:function(){return r.call(this)},set:function(a){F0(a),v=""+a,d.call(this,a)}}),Object.defineProperty(w,g,{enumerable:b.enumerable}),{getValue:function(){return v},setValue:function(a){F0(a),v=""+a},stopTracking:function(){w._valueTracker=null,delete w[g]}}}}function g6(w){if(!w._valueTracker){var g=Y7(w)?"checked":"value";w._valueTracker=P$(w,g,""+w[g])}}function $7(w){if(!w)return!1;var g=w._valueTracker;if(!g)return!0;var v=g.getValue(),b="";return w&&(b=Y7(w)?w.checked?"true":"false":w.value),w=b,w!==v?(g.setValue(w),!0):!1}function J4(w){if(w=w||(typeof document<"u"?document:void 0),typeof w>"u")return null;try{return w.activeElement||w.body}catch(g){return w.body}}function s1(w){return w.replace(jQ,function(g){return"\\"+g.charCodeAt(0).toString(16)+" "})}function B7(w,g){g.checked===void 0||g.defaultChecked===void 0||lZ||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",O1()||"A component",g.type),lZ=!0),g.value===void 0||g.defaultValue===void 0||qZ||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",O1()||"A component",g.type),qZ=!0)}function v6(w,g,v,b,r,d,a,x){if(w.name="",a!=null&&typeof a!=="function"&&typeof a!=="symbol"&&typeof a!=="boolean"?(dw(a,"type"),w.type=a):w.removeAttribute("type"),g!=null)if(a==="number"){if(g===0&&w.value===""||w.value!=g)w.value=""+t1(g)}else w.value!==""+t1(g)&&(w.value=""+t1(g));else a!=="submit"&&a!=="reset"||w.removeAttribute("value");g!=null?b6(w,a,t1(g)):v!=null?b6(w,a,t1(v)):b!=null&&w.removeAttribute("value"),r==null&&d!=null&&(w.defaultChecked=!!d),r!=null&&(w.checked=r&&typeof r!=="function"&&typeof r!=="symbol"),x!=null&&typeof x!=="function"&&typeof x!=="symbol"&&typeof x!=="boolean"?(dw(x,"name"),w.name=""+t1(x)):w.removeAttribute("name")}function Q7(w,g,v,b,r,d,a,x){if(d!=null&&typeof d!=="function"&&typeof d!=="symbol"&&typeof d!=="boolean"&&(dw(d,"type"),w.type=d),g!=null||v!=null){if(!(d!=="submit"&&d!=="reset"||g!==void 0&&g!==null)){g6(w);return}v=v!=null?""+t1(v):"",g=g!=null?""+t1(g):v,x||g===w.value||(w.value=g),w.defaultValue=g}b=b!=null?b:r,b=typeof b!=="function"&&typeof b!=="symbol"&&!!b,w.checked=x?w.checked:!!b,w.defaultChecked=!!b,a!=null&&typeof a!=="function"&&typeof a!=="symbol"&&typeof a!=="boolean"&&(dw(a,"name"),w.name=a),g6(w)}function b6(w,g,v){g==="number"&&J4(w.ownerDocument)===w||w.defaultValue===""+v||(w.defaultValue=""+v)}function H7(w,g){g.value==null&&(typeof g.children==="object"&&g.children!==null?Nb.Children.forEach(g.children,function(v){v==null||typeof v==="string"||typeof v==="number"||typeof v==="bigint"||MZ||(MZ=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):g.dangerouslySetInnerHTML==null||LZ||(LZ=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),g.selected==null||AZ||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),AZ=!0)}function U7(){var w=O1();return w?`
34
+
35
+ Check the render method of \``+w+"`.":""}function O5(w,g,v,b){if(w=w.options,g){g={};for(var r=0;r<v.length;r++)g["$"+v[r]]=!0;for(v=0;v<w.length;v++)r=g.hasOwnProperty("$"+w[v].value),w[v].selected!==r&&(w[v].selected=r),r&&b&&(w[v].defaultSelected=!0)}else{v=""+t1(v),g=null;for(r=0;r<w.length;r++){if(w[r].value===v){w[r].selected=!0,b&&(w[r].defaultSelected=!0);return}g!==null||w[r].disabled||(g=w[r])}g!==null&&(g.selected=!0)}}function k7(w,g){for(w=0;w<NZ.length;w++){var v=NZ[w];if(g[v]!=null){var b=ow(g[v]);g.multiple&&!b?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",v,U7()):!g.multiple&&b&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",v,U7())}}g.value===void 0||g.defaultValue===void 0||OZ||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),OZ=!0)}function J7(w,g){g.value===void 0||g.defaultValue===void 0||FZ||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",O1()||"A component"),FZ=!0),g.children!=null&&g.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function W7(w,g,v){if(g!=null&&(g=""+t1(g),g!==w.value&&(w.value=g),v==null)){w.defaultValue!==g&&(w.defaultValue=g);return}w.defaultValue=v!=null?""+t1(v):""}function q7(w,g,v,b){if(g==null){if(b!=null){if(v!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ow(b)){if(1<b.length)throw Error("<textarea> can only have at most one child.");b=b[0]}v=b}v==null&&(v=""),g=v}v=t1(g),w.defaultValue=v,b=w.textContent,b===v&&b!==""&&b!==null&&(w.value=b),g6(w)}function l7(w,g){return w.serverProps===void 0&&w.serverTail.length===0&&w.children.length===1&&3<w.distanceFromLeaf&&w.distanceFromLeaf>15-g?l7(w.children[0],g):w}function F1(w){return" "+" ".repeat(w)}function N5(w){return"+ "+" ".repeat(w)}function hv(w){return"- "+" ".repeat(w)}function A7(w){switch(w.tag){case 26:case 27:case 5:return w.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return w=w.type,w.displayName||w.name||null;case 11:return w=w.type.render,w.displayName||w.name||null;case 1:return w=w.type,w.displayName||w.name||null;default:return null}}function cb(w,g){return KZ.test(w)?(w=JSON.stringify(w),w.length>g-2?8>g?'{"..."}':"{"+w.slice(0,g-7)+'..."}':"{"+w+"}"):w.length>g?5>g?'{"..."}':w.slice(0,g-3)+"...":w}function W4(w,g,v){var b=120-2*v;if(g===null)return N5(v)+cb(w,b)+`
36
+ `;if(typeof g==="string"){for(var r=0;r<g.length&&r<w.length&&g.charCodeAt(r)===w.charCodeAt(r);r++);return r>b-8&&10<r&&(w="..."+w.slice(r-8),g="..."+g.slice(r-8)),N5(v)+cb(w,b)+`
37
+ `+hv(v)+cb(g,b)+`
38
+ `}return F1(v)+cb(w,b)+`
39
+ `}function r6(w){return Object.prototype.toString.call(w).replace(/^\[object (.*)\]$/,function(g,v){return v})}function ib(w,g){switch(typeof w){case"string":return w=JSON.stringify(w),w.length>g?5>g?'"..."':w.slice(0,g-4)+'..."':w;case"object":if(w===null)return"null";if(ow(w))return"[...]";if(w.$$typeof===P2)return(g=v0(w.type))?"<"+g+">":"<...>";var v=r6(w);if(v==="Object"){v="",g-=2;for(var b in w)if(w.hasOwnProperty(b)){var r=JSON.stringify(b);if(r!=='"'+b+'"'&&(b=r),g-=b.length-2,r=ib(w[b],15>g?g:15),g-=r.length,0>g){v+=v===""?"...":", ...";break}v+=(v===""?"":",")+b+":"+r}return"{"+v+"}"}return v;case"function":return(g=w.displayName||w.name)?"function "+g:"function";default:return String(w)}}function F5(w,g){return typeof w!=="string"||KZ.test(w)?"{"+ib(w,g-2)+"}":w.length>g-2?5>g?'"..."':'"'+w.slice(0,g-5)+'..."':'"'+w+'"'}function d6(w,g,v){var b=120-v.length-w.length,r=[],d;for(d in g)if(g.hasOwnProperty(d)&&d!=="children"){var a=F5(g[d],120-v.length-d.length-1);b-=d.length+a.length+2,r.push(d+"="+a)}return r.length===0?v+"<"+w+`>
40
+ `:0<b?v+"<"+w+" "+r.join(" ")+`>
41
+ `:v+"<"+w+`
42
+ `+v+" "+r.join(`
43
+ `+v+" ")+`
44
+ `+v+`>
45
+ `}function y$(w,g,v){var b="",r=C0({},g),d;for(d in w)if(w.hasOwnProperty(d)){delete r[d];var a=120-2*v-d.length-2,x=ib(w[d],a);g.hasOwnProperty(d)?(a=ib(g[d],a),b+=N5(v)+d+": "+x+`
46
+ `,b+=hv(v)+d+": "+a+`
47
+ `):b+=N5(v)+d+": "+x+`
48
+ `}for(var G in r)r.hasOwnProperty(G)&&(w=ib(r[G],120-2*v-G.length-2),b+=hv(v)+G+": "+w+`
49
+ `);return b}function S$(w,g,v,b){var r="",d=new Map;for(X in v)v.hasOwnProperty(X)&&d.set(X.toLowerCase(),X);if(d.size===1&&d.has("children"))r+=d6(w,g,F1(b));else{for(var a in g)if(g.hasOwnProperty(a)&&a!=="children"){var x=120-2*(b+1)-a.length-1,G=d.get(a.toLowerCase());if(G!==void 0){d.delete(a.toLowerCase());var X=g[a];G=v[G];var M=F5(X,x);x=F5(G,x),typeof X==="object"&&X!==null&&typeof G==="object"&&G!==null&&r6(X)==="Object"&&r6(G)==="Object"&&(2<Object.keys(X).length||2<Object.keys(G).length||-1<M.indexOf("...")||-1<x.indexOf("..."))?r+=F1(b+1)+a+`={{
50
+ `+y$(X,G,b+2)+F1(b+1)+`}}
51
+ `:(r+=N5(b+1)+a+"="+M+`
52
+ `,r+=hv(b+1)+a+"="+x+`
53
+ `)}else r+=F1(b+1)+a+"="+F5(g[a],x)+`
54
+ `}d.forEach(function(L){if(L!=="children"){var J=120-2*(b+1)-L.length-1;r+=hv(b+1)+L+"="+F5(v[L],J)+`
55
+ `}}),r=r===""?F1(b)+"<"+w+`>
56
+ `:F1(b)+"<"+w+`
57
+ `+r+F1(b)+`>
58
+ `}if(w=v.children,g=g.children,typeof w==="string"||typeof w==="number"||typeof w==="bigint"){if(d="",typeof g==="string"||typeof g==="number"||typeof g==="bigint")d=""+g;r+=W4(d,""+w,b+1)}else if(typeof g==="string"||typeof g==="number"||typeof g==="bigint")r=w==null?r+W4(""+g,null,b+1):r+W4(""+g,void 0,b+1);return r}function M7(w,g){var v=A7(w);if(v===null){v="";for(w=w.child;w;)v+=M7(w,g),w=w.sibling;return v}return F1(g)+"<"+v+`>
59
+ `}function a6(w,g){var v=l7(w,g);if(v!==w&&(w.children.length!==1||w.children[0]!==v))return F1(g)+`...
60
+ `+a6(v,g+1);v="";var b=w.fiber._debugInfo;if(b)for(var r=0;r<b.length;r++){var d=b[r].name;typeof d==="string"&&(v+=F1(g)+"<"+d+`>
61
+ `,g++)}if(b="",r=w.fiber.pendingProps,w.fiber.tag===6)b=W4(r,w.serverProps,g),g++;else if(d=A7(w.fiber),d!==null)if(w.serverProps===void 0){b=g;var a=120-2*b-d.length-2,x="";for(X in r)if(r.hasOwnProperty(X)&&X!=="children"){var G=F5(r[X],15);if(a-=X.length+G.length+2,0>a){x+=" ...";break}x+=" "+X+"="+G}b=F1(b)+"<"+d+x+`>
62
+ `,g++}else w.serverProps===null?(b=d6(d,r,N5(g)),g++):typeof w.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(b=S$(d,r,w.serverProps,g),g++);var X="";r=w.fiber.child;for(d=0;r&&d<w.children.length;)a=w.children[d],a.fiber===r?(X+=a6(a,g),d++):X+=M7(r,g),r=r.sibling;r&&0<w.children.length&&(X+=F1(g)+`...
63
+ `),r=w.serverTail,w.serverProps===null&&g--;for(w=0;w<r.length;w++)d=r[w],X=typeof d==="string"?X+(hv(g)+cb(d,120-2*g)+`
64
+ `):X+d6(d.type,d.props,hv(g));return v+b+X}function x6(w){try{return`
65
+
66
+ `+a6(w,0)}catch(g){return""}}function L7(w,g,v){for(var b=g,r=null,d=0;b;)b===w&&(d=0),r={fiber:b,children:r!==null?[r]:[],serverProps:b===g?v:b===w?null:void 0,serverTail:[],distanceFromLeaf:d},d++,b=b.return;return r!==null?x6(r).replaceAll(/^[+-]/gm,">"):""}function O7(w,g){var v=C0({},w||hZ),b={tag:g};if(RZ.indexOf(g)!==-1&&(v.aTagInScope=null,v.buttonTagInScope=null,v.nobrTagInScope=null),uQ.indexOf(g)!==-1&&(v.pTagInButtonScope=null),DQ.indexOf(g)!==-1&&g!=="address"&&g!=="div"&&g!=="p"&&(v.listItemTagAutoclosing=null,v.dlItemTagAutoclosing=null),v.current=b,g==="form"&&(v.formTag=b),g==="a"&&(v.aTagInScope=b),g==="button"&&(v.buttonTagInScope=b),g==="nobr"&&(v.nobrTagInScope=b),g==="p"&&(v.pTagInButtonScope=b),g==="li"&&(v.listItemTagAutoclosing=b),g==="dd"||g==="dt")v.dlItemTagAutoclosing=b;return g==="#document"||g==="html"?v.containerTagInScope=null:v.containerTagInScope||(v.containerTagInScope=b),w!==null||g!=="#document"&&g!=="html"&&g!=="body"?v.implicitRootScope===!0&&(v.implicitRootScope=!1):v.implicitRootScope=!0,v}function N7(w,g,v){switch(g){case"select":return w==="hr"||w==="option"||w==="optgroup"||w==="script"||w==="template"||w==="#text";case"optgroup":return w==="option"||w==="#text";case"option":return w==="#text";case"tr":return w==="th"||w==="td"||w==="style"||w==="script"||w==="template";case"tbody":case"thead":case"tfoot":return w==="tr"||w==="style"||w==="script"||w==="template";case"colgroup":return w==="col"||w==="template";case"table":return w==="caption"||w==="colgroup"||w==="tbody"||w==="tfoot"||w==="thead"||w==="style"||w==="script"||w==="template";case"head":return w==="base"||w==="basefont"||w==="bgsound"||w==="link"||w==="meta"||w==="title"||w==="noscript"||w==="noframes"||w==="style"||w==="script"||w==="template";case"html":if(v)break;return w==="head"||w==="body"||w==="frameset";case"frameset":return w==="frame";case"#document":if(!v)return w==="html"}switch(w){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return g!=="h1"&&g!=="h2"&&g!=="h3"&&g!=="h4"&&g!=="h5"&&g!=="h6";case"rp":case"rt":return nQ.indexOf(g)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return g==null;case"head":return v||g===null;case"html":return v&&g==="#document"||g===null;case"body":return v&&(g==="#document"||g==="html")||g===null}return!0}function V$(w,g){switch(w){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return g.pTagInButtonScope;case"form":return g.formTag||g.pTagInButtonScope;case"li":return g.listItemTagAutoclosing;case"dd":case"dt":return g.dlItemTagAutoclosing;case"button":return g.buttonTagInScope;case"a":return g.aTagInScope;case"nobr":return g.nobrTagInScope}return null}function F7(w,g){for(;w;){switch(w.tag){case 5:case 26:case 27:if(w.type===g)return w}w=w.return}return null}function z6(w,g){g=g||hZ;var v=g.current;if(g=(v=N7(w,v&&v.tag,g.implicitRootScope)?null:v)?null:V$(w,g),g=v||g,!g)return!0;var b=g.tag;if(g=String(!!v)+"|"+w+"|"+b,md[g])return!1;md[g]=!0;var r=(g=c1)?F7(g.return,b):null,d=g!==null&&r!==null?L7(r,g,null):"",a="<"+w+">";return v?(v="",b==="table"&&w==="tr"&&(v+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
67
+ This will cause a hydration error.%s`,a,b,v,d)):console.error(`In HTML, %s cannot be a descendant of <%s>.
68
+ This will cause a hydration error.%s`,a,b,d),g&&(w=g.return,r===null||w===null||r===w&&w._debugOwner===g._debugOwner||w0(r,function(){console.error(`<%s> cannot contain a nested %s.
69
+ See this log for the ancestor stack trace.`,b,a)})),!1}function q4(w,g,v){if(v||N7("#text",g,!1))return!0;if(v="#text|"+g,md[v])return!1;md[v]=!0;var b=(v=c1)?F7(v,g):null;return v=v!==null&&b!==null?L7(b,v,v.tag!==6?{children:null}:null):"",/\S/.test(w)?console.error(`In HTML, text nodes cannot be a child of <%s>.
70
+ This will cause a hydration error.%s`,g,v):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
71
+ This will cause a hydration error.%s`,g,v),!1}function ob(w,g){if(g){var v=w.firstChild;if(v&&v===w.lastChild&&v.nodeType===3){v.nodeValue=g;return}}w.textContent=g}function E$(w){return w.replace(sQ,function(g,v){return v.toUpperCase()})}function K7(w,g,v){var b=g.indexOf("--")===0;b||(-1<g.indexOf("-")?n5.hasOwnProperty(g)&&n5[g]||(n5[g]=!0,console.error("Unsupported style property %s. Did you mean %s?",g,E$(g.replace(tQ,"ms-")))):pQ.test(g)?n5.hasOwnProperty(g)&&n5[g]||(n5[g]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",g,g.charAt(0).toUpperCase()+g.slice(1))):!IZ.test(v)||l3.hasOwnProperty(v)&&l3[v]||(l3[v]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,g,v.replace(IZ,""))),typeof v==="number"&&(isNaN(v)?CZ||(CZ=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",g)):isFinite(v)||fZ||(fZ=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",g)))),v==null||typeof v==="boolean"||v===""?b?w.setProperty(g,""):g==="float"?w.cssFloat="":w[g]="":b?w.setProperty(g,v):typeof v!=="number"||v===0||cZ.has(g)?g==="float"?w.cssFloat=v:(Ib(v,g),w[g]=(""+v).trim()):w[g]=v+"px"}function R7(w,g,v){if(g!=null&&typeof g!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(g&&Object.freeze(g),w=w.style,v!=null){if(g){var b={};if(v){for(var r in v)if(v.hasOwnProperty(r)&&!g.hasOwnProperty(r))for(var d=q3[r]||[r],a=0;a<d.length;a++)b[d[a]]=r}for(var x in g)if(g.hasOwnProperty(x)&&(!v||v[x]!==g[x]))for(r=q3[x]||[x],d=0;d<r.length;d++)b[r[d]]=x;x={};for(var G in g)for(r=q3[G]||[G],d=0;d<r.length;d++)x[r[d]]=G;G={};for(var X in b)if(r=b[X],(d=x[X])&&r!==d&&(a=r+","+d,!G[a])){G[a]=!0,a=console;var M=g[r];a.error.call(a,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",M==null||typeof M==="boolean"||M===""?"Removing":"Updating",r,d)}}for(var L in v)!v.hasOwnProperty(L)||g!=null&&g.hasOwnProperty(L)||(L.indexOf("--")===0?w.setProperty(L,""):L==="float"?w.cssFloat="":w[L]="");for(var J in g)X=g[J],g.hasOwnProperty(J)&&v[J]!==X&&K7(w,J,X)}else for(b in g)g.hasOwnProperty(b)&&K7(w,b,g[b])}function Pb(w){if(w.indexOf("-")===-1)return!1;switch(w){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}}function h7(w){return eQ.get(w)||w}function j$(w,g){if(B2.call(t5,g)&&t5[g])return!0;if(gH.test(g)){if(w="aria-"+g.slice(4).toLowerCase(),w=iZ.hasOwnProperty(w)?w:null,w==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",g),t5[g]=!0;if(g!==w)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",g,w),t5[g]=!0}if(wH.test(g)){if(w=g.toLowerCase(),w=iZ.hasOwnProperty(w)?w:null,w==null)return t5[g]=!0,!1;g!==w&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",g,w),t5[g]=!0)}return!0}function D$(w,g){var v=[],b;for(b in g)j$(w,b)||v.push(b);g=v.map(function(r){return"`"+r+"`"}).join(", "),v.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",g,w):1<v.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",g,w)}function u$(w,g,v,b){if(B2.call(X1,g)&&X1[g])return!0;var r=g.toLowerCase();if(r==="onfocusin"||r==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),X1[g]=!0;if(typeof v==="function"&&(w==="form"&&g==="action"||w==="input"&&g==="formAction"||w==="button"&&g==="formAction"))return!0;if(b!=null){if(w=b.possibleRegistrationNames,b.registrationNameDependencies.hasOwnProperty(g))return!0;if(b=w.hasOwnProperty(r)?w[r]:null,b!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",g,b),X1[g]=!0;if(PZ.test(g))return console.error("Unknown event handler property `%s`. It will be ignored.",g),X1[g]=!0}else if(PZ.test(g))return vH.test(g)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",g),X1[g]=!0;if(bH.test(g)||rH.test(g))return!0;if(r==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),X1[g]=!0;if(r==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),X1[g]=!0;if(r==="is"&&v!==null&&v!==void 0&&typeof v!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof v),X1[g]=!0;if(typeof v==="number"&&isNaN(v))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",g),X1[g]=!0;if(Id.hasOwnProperty(r)){if(r=Id[r],r!==g)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",g,r),X1[g]=!0}else if(g!==r)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",g,r),X1[g]=!0;switch(g){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof v){case"boolean":switch(g){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(r=g.toLowerCase().slice(0,5),r==="data-"||r==="aria-")return!0;return v?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',v,g,g,v,g):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',v,g,g,v,g,g,g),X1[g]=!0}case"function":case"symbol":return X1[g]=!0,!1;case"string":if(v==="false"||v==="true"){switch(g){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",v,g,v==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',g,v),X1[g]=!0}}return!0}function n$(w,g,v){var b=[],r;for(r in g)u$(w,r,g[r],v)||b.push(r);g=b.map(function(d){return"`"+d+"`"}).join(", "),b.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",g,w):1<b.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",g,w)}function yb(w){return dH.test(""+w)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":w}function bg(){}function G6(w){return w=w.target||w.srcElement||window,w.correspondingUseElement&&(w=w.correspondingUseElement),w.nodeType===3?w.parentNode:w}function m7(w){var g=A0(w);if(g&&(w=g.stateNode)){var v=w[Z1]||null;w:switch(w=g.stateNode,g.type){case"input":if(v6(w,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name),g=v.name,v.type==="radio"&&g!=null){for(v=w;v.parentNode;)v=v.parentNode;dw(g,"name"),v=v.querySelectorAll('input[name="'+s1(""+g)+'"][type="radio"]');for(g=0;g<v.length;g++){var b=v[g];if(b!==w&&b.form===w.form){var r=b[Z1]||null;if(!r)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");v6(b,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(g=0;g<v.length;g++)b=v[g],b.form===w.form&&$7(b)}break w;case"textarea":W7(w,v.value,v.defaultValue);break w;case"select":g=v.value,g!=null&&O5(w,!!v.multiple,g,!1)}}}function T7(w,g,v){if(A3)return w(g,v);A3=!0;try{var b=w(g);return b}finally{if(A3=!1,s5!==null||e5!==null){if(i5(),s5&&(g=s5,w=e5,e5=s5=null,m7(g),w))for(g=0;g<w.length;g++)m7(w[g])}}}function Sb(w,g){var v=w.stateNode;if(v===null)return null;var b=v[Z1]||null;if(b===null)return null;v=b[g];w:switch(g){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(b=!b.disabled)||(w=w.type,b=!(w==="button"||w==="input"||w==="select"||w==="textarea")),w=!b;break w;default:w=!1}if(w)return null;if(v&&typeof v!=="function")throw Error("Expected `"+g+"` listener to be a function, instead got a value of `"+typeof v+"` type.");return v}function I7(){if(Cd)return Cd;var w,g=L3,v=g.length,b,r="value"in sg?sg.value:sg.textContent,d=r.length;for(w=0;w<v&&g[w]===r[w];w++);var a=v-w;for(b=1;b<=a&&g[v-b]===r[d-b];b++);return Cd=r.slice(w,1<b?1-b:void 0)}function l4(w){var g=w.keyCode;return"charCode"in w?(w=w.charCode,w===0&&g===13&&(w=13)):w=g,w===10&&(w=13),32<=w||w===13?w:0}function A4(){return!0}function C7(){return!1}function U1(w){function g(v,b,r,d,a){this._reactName=v,this._targetInst=r,this.type=b,this.nativeEvent=d,this.target=a,this.currentTarget=null;for(var x in w)w.hasOwnProperty(x)&&(v=w[x],this[x]=v?v(d):d[x]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?A4:C7,this.isPropagationStopped=C7,this}return C0(g.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!=="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=A4)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!=="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=A4)},persist:function(){},isPersistent:A4}),g}function p$(w){var g=this.nativeEvent;return g.getModifierState?g.getModifierState(w):(w=UH[w])?!!g[w]:!1}function Z6(){return p$}function f7(w,g){switch(w){case"keyup":return KH.indexOf(g.keyCode)!==-1;case"keydown":return g.keyCode!==EZ;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function c7(w){return w=w.detail,typeof w==="object"&&"data"in w?w.data:null}function t$(w,g){switch(w){case"compositionend":return c7(g);case"keypress":if(g.which!==DZ)return null;return nZ=!0,uZ;case"textInput":return w=g.data,w===uZ&&nZ?null:w;default:return null}}function s$(w,g){if(wb)return w==="compositionend"||!K3&&f7(w,g)?(w=I7(),Cd=L3=sg=null,wb=!1,w):null;switch(w){case"paste":return null;case"keypress":if(!(g.ctrlKey||g.altKey||g.metaKey)||g.ctrlKey&&g.altKey){if(g.char&&1<g.char.length)return g.char;if(g.which)return String.fromCharCode(g.which)}return null;case"compositionend":return jZ&&g.locale!=="ko"?null:g.data;default:return null}}function i7(w){var g=w&&w.nodeName&&w.nodeName.toLowerCase();return g==="input"?!!hH[w.type]:g==="textarea"?!0:!1}function e$(w){if(!D2)return!1;w="on"+w;var g=w in document;return g||(g=document.createElement("div"),g.setAttribute(w,"return;"),g=typeof g[w]==="function"),g}function o7(w,g,v,b){s5?e5?e5.push(b):e5=[b]:s5=b,g=Qd(g,"onChange"),0<g.length&&(v=new fd("onChange","change",null,v,b),w.push({event:v,listeners:g}))}function wB(w){qG(w,0)}function M4(w){var g=M0(w);if($7(g))return w}function P7(w,g){if(w==="change")return g}function y7(){Nr&&(Nr.detachEvent("onpropertychange",S7),Fr=Nr=null)}function S7(w){if(w.propertyName==="value"&&M4(Fr)){var g=[];o7(g,Fr,w,G6(w)),T7(wB,g)}}function gB(w,g,v){w==="focusin"?(y7(),Nr=g,Fr=v,Nr.attachEvent("onpropertychange",S7)):w==="focusout"&&y7()}function vB(w){if(w==="selectionchange"||w==="keyup"||w==="keydown")return M4(Fr)}function bB(w,g){if(w==="click")return M4(g)}function rB(w,g){if(w==="input"||w==="change")return M4(g)}function dB(w,g){return w===g&&(w!==0||1/w===1/g)||w!==w&&g!==g}function Vb(w,g){if(_1(w,g))return!0;if(typeof w!=="object"||w===null||typeof g!=="object"||g===null)return!1;var v=Object.keys(w),b=Object.keys(g);if(v.length!==b.length)return!1;for(b=0;b<v.length;b++){var r=v[b];if(!B2.call(g,r)||!_1(w[r],g[r]))return!1}return!0}function V7(w){for(;w&&w.firstChild;)w=w.firstChild;return w}function E7(w,g){var v=V7(w);w=0;for(var b;v;){if(v.nodeType===3){if(b=w+v.textContent.length,w<=g&&b>=g)return{node:v,offset:g-w};w=b}w:{for(;v;){if(v.nextSibling){v=v.nextSibling;break w}v=v.parentNode}v=void 0}v=V7(v)}}function j7(w,g){return w&&g?w===g?!0:w&&w.nodeType===3?!1:g&&g.nodeType===3?j7(w,g.parentNode):("contains"in w)?w.contains(g):w.compareDocumentPosition?!!(w.compareDocumentPosition(g)&16):!1:!1}function D7(w){w=w!=null&&w.ownerDocument!=null&&w.ownerDocument.defaultView!=null?w.ownerDocument.defaultView:window;for(var g=J4(w.document);g instanceof w.HTMLIFrameElement;){try{var v=typeof g.contentWindow.location.href==="string"}catch(b){v=!1}if(v)w=g.contentWindow;else break;g=J4(w.document)}return g}function X6(w){var g=w&&w.nodeName&&w.nodeName.toLowerCase();return g&&(g==="input"&&(w.type==="text"||w.type==="search"||w.type==="tel"||w.type==="url"||w.type==="password")||g==="textarea"||w.contentEditable==="true")}function u7(w,g,v){var b=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;h3||gb==null||gb!==J4(b)||(b=gb,("selectionStart"in b)&&X6(b)?b={start:b.selectionStart,end:b.selectionEnd}:(b=(b.ownerDocument&&b.ownerDocument.defaultView||window).getSelection(),b={anchorNode:b.anchorNode,anchorOffset:b.anchorOffset,focusNode:b.focusNode,focusOffset:b.focusOffset}),Kr&&Vb(Kr,b)||(Kr=b,b=Qd(R3,"onSelect"),0<b.length&&(g=new fd("onSelect","select",null,g,v),w.push({event:g,listeners:b}),g.target=gb)))}function mv(w,g){var v={};return v[w.toLowerCase()]=g.toLowerCase(),v["Webkit"+w]="webkit"+g,v["Moz"+w]="moz"+g,v}function Tv(w){if(m3[w])return m3[w];if(!vb[w])return w;var g=vb[w],v;for(v in g)if(g.hasOwnProperty(v)&&v in tZ)return m3[w]=g[v];return w}function _2(w,g){vX.set(w,g),v1(g,[w])}function aB(w){for(var g=id,v=0;v<w.length;v++){var b=w[v];if(typeof b==="object"&&b!==null)if(ow(b)&&b.length===2&&typeof b[0]==="string"){if(g!==id&&g!==c3)return C3;g=c3}else return C3;else{if(typeof b==="function"||typeof b==="string"&&50<b.length||g!==id&&g!==f3)return C3;g=f3}}return g}function _6(w,g,v,b){for(var r in w)B2.call(w,r)&&r[0]!=="_"&&M2(r,w[r],g,v,b)}function M2(w,g,v,b,r){switch(typeof g){case"object":if(g===null){g="null";break}else{if(g.$$typeof===P2){var d=v0(g.type)||"…",a=g.key;g=g.props;var x=Object.keys(g),G=x.length;if(a==null&&G===0){g="<"+d+" />";break}if(3>b||G===1&&x[0]==="children"&&a==null){g="<"+d+" … />";break}v.push([r+"  ".repeat(b)+w,"<"+d]),a!==null&&M2("key",a,v,b+1,r),w=!1;for(var X in g)X==="children"?g.children!=null&&(!ow(g.children)||0<g.children.length)&&(w=!0):B2.call(g,X)&&X[0]!=="_"&&M2(X,g[X],v,b+1,r);v.push(["",w?">…</"+d+">":"/>"]);return}if(d=Object.prototype.toString.call(g),d=d.slice(8,d.length-1),d==="Array"){if(X=aB(g),X===f3||X===id){g=JSON.stringify(g);break}else if(X===c3){v.push([r+"  ".repeat(b)+w,""]);for(w=0;w<g.length;w++)d=g[w],M2(d[0],d[1],v,b+1,r);return}}if(d==="Promise"){if(g.status==="fulfilled"){if(d=v.length,M2(w,g.value,v,b,r),v.length>d){v=v[d],v[1]="Promise<"+(v[1]||"Object")+">";return}}else if(g.status==="rejected"&&(d=v.length,M2(w,g.reason,v,b,r),v.length>d)){v=v[d],v[1]="Rejected Promise<"+v[1]+">";return}v.push(["  ".repeat(b)+w,"Promise"]);return}d==="Object"&&(X=Object.getPrototypeOf(g))&&typeof X.constructor==="function"&&(d=X.constructor.name),v.push([r+"  ".repeat(b)+w,d==="Object"?3>b?"":"…":d]),3>b&&_6(g,v,b+1,r);return}case"function":g=g.name===""?"() => {}":g.name+"() {}";break;case"string":g=g===iH?"…":JSON.stringify(g);break;case"undefined":g="undefined";break;case"boolean":g=g?"true":"false";break;default:g=String(g)}v.push([r+"  ".repeat(b)+w,g])}function n7(w,g,v,b){var r=!0;for(a in w)a in g||(v.push([od+"  ".repeat(b)+a,"…"]),r=!1);for(var d in g)if(d in w){var a=w[d],x=g[d];if(a!==x){if(b===0&&d==="children")r="  ".repeat(b)+d,v.push([od+r,"…"],[Pd+r,"…"]);else{if(!(3<=b)){if(typeof a==="object"&&typeof x==="object"&&a!==null&&x!==null&&a.$$typeof===x.$$typeof)if(x.$$typeof===P2){if(a.type===x.type&&a.key===x.key){a=v0(x.type)||"…",r="  ".repeat(b)+d,a="<"+a+" … />",v.push([od+r,a],[Pd+r,a]),r=!1;continue}}else{var G=Object.prototype.toString.call(a),X=Object.prototype.toString.call(x);if(G===X&&(X==="[object Object]"||X==="[object Array]")){G=[dX+"  ".repeat(b)+d,X==="[object Array]"?"Array":""],v.push(G),X=v.length,n7(a,x,v,b+1)?X===v.length&&(G[1]="Referentially unequal but deeply equal objects. Consider memoization."):r=!1;continue}}else if(typeof a==="function"&&typeof x==="function"&&a.name===x.name&&a.length===x.length&&(G=Function.prototype.toString.call(a),X=Function.prototype.toString.call(x),G===X)){a=x.name===""?"() => {}":x.name+"() {}",v.push([dX+"  ".repeat(b)+d,a+" Referentially unequal function closure. Consider memoization."]);continue}}M2(d,a,v,b,od),M2(d,x,v,b,Pd)}r=!1}}else v.push([Pd+"  ".repeat(b)+d,"…"]),r=!1;return r}function K1(w){i0=w&63?"Blocking":w&64?"Gesture":w&4194176?"Transition":w&62914560?"Suspense":w&2080374784?"Idle":"Other"}function L2(w,g,v,b){Bw&&(wv.start=g,wv.end=v,_g.color="warning",_g.tooltipText=b,_g.properties=null,(w=w._debugTask)?w.run(performance.measure.bind(performance,b,wv)):performance.measure(b,wv))}function L4(w,g,v){L2(w,g,v,"Reconnect")}function O4(w,g,v,b,r){var d=j(w);if(d!==null&&Bw){var{alternate:a,actualDuration:x}=w;if(a===null||a.child!==w.child)for(var G=w.child;G!==null;G=G.sibling)x-=G.actualDuration;b=0.5>x?b?"tertiary-light":"primary-light":10>x?b?"tertiary":"primary":100>x?b?"tertiary-dark":"primary-dark":"error";var X=w.memoizedProps;x=w._debugTask,X!==null&&a!==null&&a.memoizedProps!==X?(G=[oH],X=n7(a.memoizedProps,X,G,0),1<G.length&&(X&&!eg&&(a.lanes&r)===0&&100<w.actualDuration?(eg=!0,G[0]=PH,_g.color="warning",_g.tooltipText=aX):(_g.color=b,_g.tooltipText=d),_g.properties=G,wv.start=g,wv.end=v,x!=null?x.run(performance.measure.bind(performance,"​"+d,wv)):performance.measure("​"+d,wv))):x!=null?x.run(console.timeStamp.bind(console,d,g,v,w2,void 0,b)):console.timeStamp(d,g,v,w2,void 0,b)}}function Y6(w,g,v,b){if(Bw){var r=j(w);if(r!==null){for(var d=null,a=[],x=0;x<b.length;x++){var G=b[x];d==null&&G.source!==null&&(d=G.source._debugTask),G=G.value,a.push(["Error",typeof G==="object"&&G!==null&&typeof G.message==="string"?String(G.message):String(G)])}w.key!==null&&M2("key",w.key,a,0,""),w.memoizedProps!==null&&_6(w.memoizedProps,a,0,""),d==null&&(d=w._debugTask),w={start:g,end:v,detail:{devtools:{color:"error",track:w2,tooltipText:w.tag===13?"Hydration failed":"Error boundary caught an error",properties:a}}},d?d.run(performance.measure.bind(performance,"​"+r,w)):performance.measure("​"+r,w)}}}function O2(w,g,v,b,r){if(r!==null){if(Bw){var d=j(w);if(d!==null){b=[];for(var a=0;a<r.length;a++){var x=r[a].value;b.push(["Error",typeof x==="object"&&x!==null&&typeof x.message==="string"?String(x.message):String(x)])}w.key!==null&&M2("key",w.key,b,0,""),w.memoizedProps!==null&&_6(w.memoizedProps,b,0,""),g={start:g,end:v,detail:{devtools:{color:"error",track:w2,tooltipText:"A lifecycle or effect errored",properties:b}}},(w=w._debugTask)?w.run(performance.measure.bind(performance,"​"+d,g)):performance.measure("​"+d,g)}}}else d=j(w),d!==null&&Bw&&(r=1>b?"secondary-light":100>b?"secondary":500>b?"secondary-dark":"error",(w=w._debugTask)?w.run(console.timeStamp.bind(console,d,g,v,w2,void 0,r)):console.timeStamp(d,g,v,w2,void 0,r))}function xB(w,g,v,b){if(Bw&&!(g<=w)){var r=(v&738197653)===v?"tertiary-dark":"primary-dark";v=(v&536870912)===v?"Prepared":(v&201326741)===v?"Hydrated":"Render",b?b.run(console.timeStamp.bind(console,v,w,g,i0,f0,r)):console.timeStamp(v,w,g,i0,f0,r)}}function p7(w,g,v,b){!Bw||g<=w||(v=(v&738197653)===v?"tertiary-dark":"primary-dark",b?b.run(console.timeStamp.bind(console,"Prewarm",w,g,i0,f0,v)):console.timeStamp("Prewarm",w,g,i0,f0,v))}function t7(w,g,v,b){!Bw||g<=w||(v=(v&738197653)===v?"tertiary-dark":"primary-dark",b?b.run(console.timeStamp.bind(console,"Suspended",w,g,i0,f0,v)):console.timeStamp("Suspended",w,g,i0,f0,v))}function zB(w,g,v,b,r,d){if(Bw&&!(g<=w)){v=[];for(var a=0;a<b.length;a++){var x=b[a].value;v.push(["Recoverable Error",typeof x==="object"&&x!==null&&typeof x.message==="string"?String(x.message):String(x)])}w={start:w,end:g,detail:{devtools:{color:"primary-dark",track:i0,trackGroup:f0,tooltipText:r?"Hydration Failed":"Recovered after Error",properties:v}}},d?d.run(performance.measure.bind(performance,"Recovered",w)):performance.measure("Recovered",w)}}function $6(w,g,v,b){!Bw||g<=w||(b?b.run(console.timeStamp.bind(console,"Errored",w,g,i0,f0,"error")):console.timeStamp("Errored",w,g,i0,f0,"error"))}function GB(w,g,v,b){!Bw||g<=w||(b?b.run(console.timeStamp.bind(console,v,w,g,i0,f0,"secondary-light")):console.timeStamp(v,w,g,i0,f0,"secondary-light"))}function s7(w,g,v,b,r){if(Bw&&!(g<=w)){for(var d=[],a=0;a<v.length;a++){var x=v[a].value;d.push(["Error",typeof x==="object"&&x!==null&&typeof x.message==="string"?String(x.message):String(x)])}w={start:w,end:g,detail:{devtools:{color:"error",track:i0,trackGroup:f0,tooltipText:b?"Remaining Effects Errored":"Commit Errored",properties:d}}},r?r.run(performance.measure.bind(performance,"Errored",w)):performance.measure("Errored",w)}}function Eb(w,g,v){!Bw||g<=w||(v?v.run(console.timeStamp.bind(console,"Animating",w,g,i0,f0,"secondary-dark")):console.timeStamp("Animating",w,g,i0,f0,"secondary-dark"))}function N4(){for(var w=bb,g=i3=bb=0;g<w;){var v=g2[g];g2[g++]=null;var b=g2[g];g2[g++]=null;var r=g2[g];g2[g++]=null;var d=g2[g];if(g2[g++]=null,b!==null&&r!==null){var a=b.pending;a===null?r.next=r:(r.next=a.next,a.next=r),b.pending=r}d!==0&&e7(v,r,d)}}function F4(w,g,v,b){g2[bb++]=w,g2[bb++]=g,g2[bb++]=v,g2[bb++]=b,i3|=b,w.lanes|=b,w=w.alternate,w!==null&&(w.lanes|=b)}function B6(w,g,v,b){return F4(w,g,v,b),K4(w)}function b1(w,g){return F4(w,null,null,g),K4(w)}function e7(w,g,v){w.lanes|=v;var b=w.alternate;b!==null&&(b.lanes|=v);for(var r=!1,d=w.return;d!==null;)d.childLanes|=v,b=d.alternate,b!==null&&(b.childLanes|=v),d.tag===22&&(w=d.stateNode,w===null||w._visibility&Rr||(r=!0)),w=d,d=d.return;return w.tag===3?(d=w.stateNode,r&&g!==null&&(r=31-G1(v),w=d.hiddenUpdates,b=w[r],b===null?w[r]=[g]:b.push(g),g.lane=v|536870912),d):null}function K4(w){if(r4>vU)throw G5=r4=0,d4=Ux=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");G5>bU&&(G5=0,d4=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),w.alternate===null&&(w.flags&4098)!==0&&BG(w);for(var g=w,v=g.return;v!==null;)g.alternate===null&&(g.flags&4098)!==0&&BG(w),g=v,v=g.return;return g.tag===3?g.stateNode:null}function Iv(w){if(v2===null)return w;var g=v2(w);return g===void 0?w:g.current}function Q6(w){if(v2===null)return w;var g=v2(w);return g===void 0?w!==null&&w!==void 0&&typeof w.render==="function"&&(g=Iv(w.render),w.render!==g)?(g={$$typeof:kr,render:g},w.displayName!==void 0&&(g.displayName=w.displayName),g):w:g.current}function w9(w,g){if(v2===null)return!1;var v=w.elementType;g=g.type;var b=!1,r=typeof g==="object"&&g!==null?g.$$typeof:null;switch(w.tag){case 1:typeof g==="function"&&(b=!0);break;case 0:typeof g==="function"?b=!0:r===f1&&(b=!0);break;case 11:r===kr?b=!0:r===f1&&(b=!0);break;case 14:case 15:r===Od?b=!0:r===f1&&(b=!0);break;default:return!1}return b&&(w=v2(v),w!==void 0&&w===v2(g))?!0:!1}function g9(w){v2!==null&&typeof WeakSet==="function"&&(rb===null&&(rb=new WeakSet),rb.add(w))}function v9(w,g,v){do{var b=w,r=b.alternate,d=b.child,a=b.sibling,x=b.tag;b=b.type;var G=null;switch(x){case 0:case 15:case 1:G=b;break;case 11:G=b.render}if(v2===null)throw Error("Expected resolveFamily to be set during hot reload.");var X=!1;if(b=!1,G!==null&&(G=v2(G),G!==void 0&&(v.has(G)?b=!0:g.has(G)&&(x===1?b=!0:X=!0))),rb!==null&&(rb.has(w)||r!==null&&rb.has(r))&&(b=!0),b&&(w._debugNeedsRemount=!0),b||X)r=b1(w,2),r!==null&&lw(r,w,2);if(d===null||b||v9(d,g,v),a===null)break;w=a}while(1)}function ZB(w,g,v,b){this.tag=w,this.key=v,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=g,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=b,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,xX||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function H6(w){return w=w.prototype,!(!w||!w.isReactComponent)}function rg(w,g){var v=w.alternate;switch(v===null?(v=R(w.tag,g,w.key,w.mode),v.elementType=w.elementType,v.type=w.type,v.stateNode=w.stateNode,v._debugOwner=w._debugOwner,v._debugStack=w._debugStack,v._debugTask=w._debugTask,v._debugHookTypes=w._debugHookTypes,v.alternate=w,w.alternate=v):(v.pendingProps=g,v.type=w.type,v.flags=0,v.subtreeFlags=0,v.deletions=null,v.actualDuration=-0,v.actualStartTime=-1.1),v.flags=w.flags&65011712,v.childLanes=w.childLanes,v.lanes=w.lanes,v.child=w.child,v.memoizedProps=w.memoizedProps,v.memoizedState=w.memoizedState,v.updateQueue=w.updateQueue,g=w.dependencies,v.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext,_debugThenableState:g._debugThenableState},v.sibling=w.sibling,v.index=w.index,v.ref=w.ref,v.refCleanup=w.refCleanup,v.selfBaseDuration=w.selfBaseDuration,v.treeBaseDuration=w.treeBaseDuration,v._debugInfo=w._debugInfo,v._debugNeedsRemount=w._debugNeedsRemount,v.tag){case 0:case 15:v.type=Iv(w.type);break;case 1:v.type=Iv(w.type);break;case 11:v.type=Q6(w.type)}return v}function b9(w,g){w.flags&=65011714;var v=w.alternate;return v===null?(w.childLanes=0,w.lanes=g,w.child=null,w.subtreeFlags=0,w.memoizedProps=null,w.memoizedState=null,w.updateQueue=null,w.dependencies=null,w.stateNode=null,w.selfBaseDuration=0,w.treeBaseDuration=0):(w.childLanes=v.childLanes,w.lanes=v.lanes,w.child=v.child,w.subtreeFlags=0,w.deletions=null,w.memoizedProps=v.memoizedProps,w.memoizedState=v.memoizedState,w.updateQueue=v.updateQueue,w.type=v.type,g=v.dependencies,w.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext,_debugThenableState:g._debugThenableState},w.selfBaseDuration=v.selfBaseDuration,w.treeBaseDuration=v.treeBaseDuration),w}function U6(w,g,v,b,r,d){var a=0,x=w;if(typeof w==="function")H6(w)&&(a=1),x=Iv(x);else if(typeof w==="string")a=y(),a=kQ(w,v,a)?26:w==="html"||w==="head"||w==="body"?27:5;else w:switch(w){case Z3:return g=R(31,v,g,r),g.elementType=Z3,g.lanes=d,g;case j5:return Cv(v.children,r,d,g);case Ld:a=8,r|=d1,r|=H2;break;case a3:return w=v,b=r,typeof w.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof w.id),g=R(12,w,g,b|K0),g.elementType=a3,g.lanes=d,g.stateNode={effectDuration:0,passiveEffectDuration:0},g;case z3:return g=R(13,v,g,r),g.elementType=z3,g.lanes=d,g;case G3:return g=R(19,v,g,r),g.elementType=G3,g.lanes=d,g;default:if(typeof w==="object"&&w!==null)switch(w.$$typeof){case y2:a=10;break w;case x3:a=9;break w;case kr:a=11,x=Q6(x);break w;case Od:a=14;break w;case f1:a=16,x=null;break w}if(x="",w===void 0||typeof w==="object"&&w!==null&&Object.keys(w).length===0)x+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";w===null?v="null":ow(w)?v="array":w!==void 0&&w.$$typeof===P2?(v="<"+(v0(w.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):v=typeof w,(a=b?bw(b):null)&&(x+=`
72
+
73
+ Check the render method of \``+a+"`."),a=29,v=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(v+"."+x)),x=null}return g=R(a,v,g,r),g.elementType=w,g.type=x,g.lanes=d,g._debugOwner=b,g}function R4(w,g,v){return g=U6(w.type,w.key,w.props,w._owner,g,v),g._debugOwner=w._owner,g._debugStack=w._debugStack,g._debugTask=w._debugTask,g}function Cv(w,g,v,b){return w=R(7,w,b,g),w.lanes=v,w}function k6(w,g,v){return w=R(6,w,null,g),w.lanes=v,w}function r9(w){var g=R(18,null,null,H0);return g.stateNode=w,g}function J6(w,g,v){return g=R(4,w.children!==null?w.children:[],w.key,g),g.lanes=v,g.stateNode={containerInfo:w.containerInfo,pendingChildren:null,implementation:w.implementation},g}function R1(w,g){if(typeof w==="object"&&w!==null){var v=o3.get(w);if(v!==void 0)return v;return g={value:w,source:g,stack:pw(g)},o3.set(w,g),g}return{value:w,source:g,stack:pw(g)}}function dg(w,g){Cg(),db[ab++]=hr,db[ab++]=yd,yd=w,hr=g}function d9(w,g,v){Cg(),b2[r2++]=$g,b2[r2++]=Bg,b2[r2++]=nv,nv=w;var b=$g;w=Bg;var r=32-G1(b)-1;b&=~(1<<r),v+=1;var d=32-G1(g)+r;if(30<d){var a=r-r%5;d=(b&(1<<a)-1).toString(32),b>>=a,r-=a,$g=1<<32-G1(g)+r|v<<r|b,Bg=d+w}else $g=1<<d|v<<r|b,Bg=w}function W6(w){Cg(),w.return!==null&&(dg(w,1),d9(w,1,0))}function q6(w){for(;w===yd;)yd=db[--ab],db[ab]=null,hr=db[--ab],db[ab]=null;for(;w===nv;)nv=b2[--r2],b2[r2]=null,Bg=b2[--r2],b2[r2]=null,$g=b2[--r2],b2[r2]=null}function a9(){return Cg(),nv!==null?{id:$g,overflow:Bg}:null}function x9(w,g){Cg(),b2[r2++]=$g,b2[r2++]=Bg,b2[r2++]=nv,$g=g.id,Bg=g.overflow,nv=w}function Cg(){o0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function fv(w,g){if(w.return===null){if(o1===null)o1={fiber:w,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:g};else{if(o1.fiber!==w)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");o1.distanceFromLeaf>g&&(o1.distanceFromLeaf=g)}return o1}var v=fv(w.return,g+1).children;if(0<v.length&&v[v.length-1].fiber===w)return v=v[v.length-1],v.distanceFromLeaf>g&&(v.distanceFromLeaf=g),v;return g={fiber:w,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:g},v.push(g),g}function z9(){o0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function h4(w,g){u2||(w=fv(w,0),w.serverProps=null,g!==null&&(g=oG(g),w.serverTail.push(g)))}function fg(w){var g=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,v="",b=o1;throw b!==null&&(o1=null,v=x6(b)),jb(R1(Error("Hydration failed because the server rendered "+(g?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
74
+
75
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
76
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
77
+ - Date formatting in a user's locale which doesn't match the server.
78
+ - External changing data without sending a snapshot of it along with the HTML.
79
+ - Invalid HTML tag nesting.
80
+
81
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
82
+
83
+ https://react.dev/link/hydration-mismatch`+v),w)),P3}function G9(w){var{stateNode:g,type:v,memoizedProps:b}=w;switch(g[w1]=w,g[Z1]=b,y8(v,b),v){case"dialog":S0("cancel",g),S0("close",g);break;case"iframe":case"object":case"embed":S0("load",g);break;case"video":case"audio":for(v=0;v<a4.length;v++)S0(a4[v],g);break;case"source":S0("error",g);break;case"img":case"image":case"link":S0("error",g),S0("load",g);break;case"details":S0("toggle",g);break;case"input":Ig("input",b),S0("invalid",g),B7(g,b),Q7(g,b.value,b.defaultValue,b.checked,b.defaultChecked,b.type,b.name,!0);break;case"option":H7(g,b);break;case"select":Ig("select",b),S0("invalid",g),k7(g,b);break;case"textarea":Ig("textarea",b),S0("invalid",g),J7(g,b),q7(g,b.value,b.defaultValue,b.children)}v=b.children,typeof v!=="string"&&typeof v!=="number"&&typeof v!=="bigint"||g.textContent===""+v||b.suppressHydrationWarning===!0||LG(g.textContent,v)?(b.popover!=null&&(S0("beforetoggle",g),S0("toggle",g)),b.onScroll!=null&&S0("scroll",g),b.onScrollEnd!=null&&S0("scrollend",g),b.onClick!=null&&(g.onclick=bg),g=!0):g=!1,g||fg(w,!0)}function Z9(w){for(g1=w.return;g1;)switch(g1.tag){case 5:case 31:case 13:d2=!1;return;case 27:case 3:d2=!0;return;default:g1=g1.return}}function K5(w){if(w!==g1)return!1;if(!o0)return Z9(w),o0=!0,!1;var g=w.tag,v;if(v=g!==3&&g!==27){if(v=g===5)v=w.type,v=!(v!=="form"&&v!=="button")||D8(w.type,w.memoizedProps);v=!v}if(v&&Qw){for(v=Qw;v;){var b=fv(w,0),r=oG(v);b.serverTail.push(r),v=r.type==="Suspense"?t8(v):C1(v.nextSibling)}fg(w)}if(Z9(w),g===13){if(w=w.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Qw=t8(w)}else if(g===31){if(w=w.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Qw=t8(w)}else g===27?(g=Qw,Dg(w.type)?(w=Kx,Kx=null,Qw=w):Qw=g):Qw=g1?C1(w.stateNode.nextSibling):null;return!0}function cv(){Qw=g1=null,u2=o0=!1}function l6(){var w=vv;return w!==null&&(Q1===null?Q1=w:Q1.push.apply(Q1,w),vv=null),w}function jb(w){vv===null?vv=[w]:vv.push(w)}function A6(){var w=o1;if(w!==null){o1=null;for(var g=x6(w);0<w.children.length;)w=w.children[0];w0(w.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
84
+
85
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
86
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
87
+ - Date formatting in a user's locale which doesn't match the server.
88
+ - External changing data without sending a snapshot of it along with the HTML.
89
+ - Invalid HTML tag nesting.
90
+
91
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
92
+
93
+ %s%s`,"https://react.dev/link/hydration-mismatch",g)})}}function m4(){xb=Sd=null,zb=!1}function cg(w,g,v){l0(y3,g._currentValue,w),g._currentValue=v,l0(S3,g._currentRenderer,w),g._currentRenderer!==void 0&&g._currentRenderer!==null&&g._currentRenderer!==GX&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),g._currentRenderer=GX}function ag(w,g){w._currentValue=y3.current;var v=S3.current;O0(S3,g),w._currentRenderer=v,O0(y3,g)}function M6(w,g,v){for(;w!==null;){var b=w.alternate;if((w.childLanes&g)!==g?(w.childLanes|=g,b!==null&&(b.childLanes|=g)):b!==null&&(b.childLanes&g)!==g&&(b.childLanes|=g),w===v)break;w=w.return}w!==v&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function L6(w,g,v,b){var r=w.child;r!==null&&(r.return=w);for(;r!==null;){var d=r.dependencies;if(d!==null){var a=r.child;d=d.firstContext;w:for(;d!==null;){var x=d;d=r;for(var G=0;G<g.length;G++)if(x.context===g[G]){d.lanes|=v,x=d.alternate,x!==null&&(x.lanes|=v),M6(d.return,v,w),b||(a=null);break w}d=x.next}}else if(r.tag===18){if(a=r.return,a===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");a.lanes|=v,d=a.alternate,d!==null&&(d.lanes|=v),M6(a,v,w),a=null}else a=r.child;if(a!==null)a.return=r;else for(a=r;a!==null;){if(a===w){a=null;break}if(r=a.sibling,r!==null){r.return=a.return,a=r;break}a=a.return}r=a}}function R5(w,g,v,b){w=null;for(var r=g,d=!1;r!==null;){if(!d){if((r.flags&524288)!==0)d=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var a=r.alternate;if(a===null)throw Error("Should have a current fiber. This is a bug in React.");if(a=a.memoizedProps,a!==null){var x=r.type;_1(r.pendingProps.value,a.value)||(w!==null?w.push(x):w=[x])}}else if(r===Nd.current){if(a=r.alternate,a===null)throw Error("Should have a current fiber. This is a bug in React.");a.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(w!==null?w.push(X4):w=[X4])}r=r.return}w!==null&&L6(g,w,v,b),g.flags|=262144}function T4(w){for(w=w.firstContext;w!==null;){if(!_1(w.context._currentValue,w.memoizedValue))return!0;w=w.next}return!1}function iv(w){Sd=w,xb=null,w=w.dependencies,w!==null&&(w.firstContext=null)}function Uw(w){return zb&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),X9(Sd,w)}function I4(w,g){return Sd===null&&iv(w),X9(w,g)}function X9(w,g){var v=g._currentValue;if(g={context:g,memoizedValue:v,next:null},xb===null){if(w===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");xb=g,w.dependencies={lanes:0,firstContext:g,_debugThenableState:null},w.flags|=524288}else xb=xb.next=g;return v}function O6(){return{controller:new VH,data:new Map,refCount:0}}function ov(w){w.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),w.refCount++}function Db(w){w.refCount--,0>w.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),w.refCount===0&&EH(jH,function(){w.controller.abort()})}function N2(w,g,v){if((w&127)!==0)0>n2&&(n2=mw(),Tr=Vd(g),V3=g,v!=null&&(E3=j(v)),(j0&(yw|S1))!==uw&&(Aw=!0,dv=mr),w=$r(),g=Yr(),w!==Gb||g!==Ir?Gb=-1.1:g!==null&&(dv=mr),tv=w,Ir=g);else if((w&4194048)!==0&&0>a2&&(a2=mw(),Cr=Vd(g),ZX=g,v!=null&&(XX=j(v)),0>Ug)){if(w=$r(),g=Yr(),w!==xv||g!==sv)xv=-1.1;av=w,sv=g}}function XB(w){if(0>n2){n2=mw(),Tr=w._debugTask!=null?w._debugTask:null,(j0&(yw|S1))!==uw&&(dv=mr);var g=$r(),v=Yr();g!==Gb||v!==Ir?Gb=-1.1:v!==null&&(dv=mr),tv=g,Ir=v}if(0>a2&&(a2=mw(),Cr=w._debugTask!=null?w._debugTask:null,0>Ug)){if(w=$r(),g=Yr(),w!==xv||g!==sv)xv=-1.1;av=w,sv=g}}function xg(){var w=pv;return pv=0,w}function C4(w){var g=pv;return pv=w,g}function ub(w){var g=pv;return pv+=w,g}function f4(){B0=_0=-1.1}function h1(){var w=_0;return _0=-1.1,w}function m1(w){0<=w&&(_0=w)}function F2(){var w=Ww;return Ww=-0,w}function K2(w){0<=w&&(Ww=w)}function R2(){var w=kw;return kw=null,w}function h2(){var w=Aw;return Aw=!1,w}function N6(w){Y1=mw(),0>w.actualStartTime&&(w.actualStartTime=Y1)}function F6(w){if(0<=Y1){var g=mw()-Y1;w.actualDuration+=g,w.selfBaseDuration=g,Y1=-1}}function _9(w){if(0<=Y1){var g=mw()-Y1;w.actualDuration+=g,Y1=-1}}function m2(){if(0<=Y1){var w=mw(),g=w-Y1;Y1=-1,pv+=g,Ww+=g,B0=w}}function Y9(w){kw===null&&(kw=[]),kw.push(w),Hg===null&&(Hg=[]),Hg.push(w)}function T2(){Y1=mw(),0>_0&&(_0=Y1)}function nb(w){for(var g=w.child;g;)w.actualDuration+=g.actualDuration,g=g.sibling}function _B(w,g){if(cr===null){var v=cr=[];D3=0,ev=c8(),Zb={status:"pending",value:void 0,then:function(b){v.push(b)}}}return D3++,g.then($9,$9),g}function $9(){if(--D3===0&&(-1<a2||(Ug=-1.1),cr!==null)){Zb!==null&&(Zb.status="fulfilled");var w=cr;cr=null,ev=0,Zb=null;for(var g=0;g<w.length;g++)(0,w[g])()}}function YB(w,g){var v=[],b={status:"pending",value:null,reason:null,then:function(r){v.push(r)}};return w.then(function(){b.status="fulfilled",b.value=g;for(var r=0;r<v.length;r++)(0,v[r])(g)},function(r){b.status="rejected",b.reason=r;for(r=0;r<v.length;r++)(0,v[r])(void 0)}),b}function K6(){var w=w5.current;return w!==null?w:zw.pooledCache}function c4(w,g){g===null?l0(w5,w5.current,w):l0(w5,g.pool,w)}function B9(){var w=K6();return w===null?null:{parent:hw._currentValue,pool:w}}function Q9(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function H9(w){return w=w.status,w==="fulfilled"||w==="rejected"}function U9(w,g,v){m.actQueue!==null&&(m.didUsePromise=!0);var b=w.thenables;if(v=b[v],v===void 0?b.push(g):v!==g&&(w.didWarnAboutUncachedPromise||(w.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),g.then(bg,bg),g=v),g._debugInfo===void 0){w=performance.now(),b=g.displayName;var r={name:typeof b==="string"?b:"Promise",start:w,end:w,value:g};g._debugInfo=[{awaited:r}],g.status!=="fulfilled"&&g.status!=="rejected"&&(w=function(){r.end=performance.now()},g.then(w,w))}switch(g.status){case"fulfilled":return g.value;case"rejected":throw w=g.reason,J9(w),w;default:if(typeof g.status==="string")g.then(bg,bg);else{if(w=zw,w!==null&&100<w.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");w=g,w.status="pending",w.then(function(d){if(g.status==="pending"){var a=g;a.status="fulfilled",a.value=d}},function(d){if(g.status==="pending"){var a=g;a.status="rejected",a.reason=d}})}switch(g.status){case"fulfilled":return g.value;case"rejected":throw w=g.reason,J9(w),w}throw v5=g,Er=!0,Xb}}function ig(w){try{return pH(w)}catch(g){if(g!==null&&typeof g==="object"&&typeof g.then==="function")throw v5=g,Er=!0,Xb;throw g}}function k9(){if(v5===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var w=v5;return v5=null,Er=!1,w}function J9(w){if(w===Xb||w===sd)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function tw(w){var g=R0;return w!=null&&(R0=g===null?w:g.concat(w)),g}function R6(){var w=R0;if(w!=null){for(var g=w.length-1;0<=g;g--)if(w[g].name!=null){var v=w[g].debugTask;if(v!=null)return v}}return null}function i4(w,g,v){for(var b=Object.keys(w.props),r=0;r<b.length;r++){var d=b[r];if(d!=="children"&&d!=="key"){g===null&&(g=R4(w,v.mode,0),g._debugInfo=R0,g.return=v),w0(g,function(a){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a)},d);break}}}function o4(w){var g=jr;return jr+=1,_b===null&&(_b=Q9()),U9(_b,w,g)}function pb(w,g){g=g.props.ref,w.ref=g!==void 0?g:null}function W9(w,g){if(g.$$typeof===FQ)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
94
+ - Multiple copies of the "react" package is used.
95
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
96
+ - A compiler tries to "inline" JSX instead of using the runtime.`);throw w=Object.prototype.toString.call(g),Error("Objects are not valid as a React child (found: "+(w==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.")}function P4(w,g){var v=R6();v!==null?v.run(W9.bind(null,w,g)):W9(w,g)}function q9(w,g){var v=j(w)||"Component";RX[v]||(RX[v]=!0,g=g.displayName||g.name||"Component",w.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
97
+ root.render(%s)`,g,g,g):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
98
+ <%s>{%s}</%s>`,g,g,v,g,v))}function y4(w,g){var v=R6();v!==null?v.run(q9.bind(null,w,g)):q9(w,g)}function l9(w,g){var v=j(w)||"Component";hX[v]||(hX[v]=!0,g=String(g),w.tag===3?console.error(`Symbols are not valid as a React child.
99
+ root.render(%s)`,g):console.error(`Symbols are not valid as a React child.
100
+ <%s>%s</%s>`,v,g,v))}function S4(w,g){var v=R6();v!==null?v.run(l9.bind(null,w,g)):l9(w,g)}function A9(w){function g(k,W){if(w){var l=k.deletions;l===null?(k.deletions=[W],k.flags|=16):l.push(W)}}function v(k,W){if(!w)return null;for(;W!==null;)g(k,W),W=W.sibling;return null}function b(k){for(var W=new Map;k!==null;)k.key!==null?W.set(k.key,k):W.set(k.index,k),k=k.sibling;return W}function r(k,W){return k=rg(k,W),k.index=0,k.sibling=null,k}function d(k,W,l){if(k.index=l,!w)return k.flags|=1048576,W;if(l=k.alternate,l!==null)return l=l.index,l<W?(k.flags|=67108866,W):l;return k.flags|=67108866,W}function a(k){return w&&k.alternate===null&&(k.flags|=67108866),k}function x(k,W,l,I){if(W===null||W.tag!==6)return W=k6(l,k.mode,I),W.return=k,W._debugOwner=k,W._debugTask=k._debugTask,W._debugInfo=R0,W;return W=r(W,l),W.return=k,W._debugInfo=R0,W}function G(k,W,l,I){var t=l.type;if(t===j5)return W=M(k,W,l.props.children,I,l.key),i4(l,W,k),W;if(W!==null&&(W.elementType===t||w9(W,l)||typeof t==="object"&&t!==null&&t.$$typeof===f1&&ig(t)===W.type))return W=r(W,l.props),pb(W,l),W.return=k,W._debugOwner=l._owner,W._debugInfo=R0,W;return W=R4(l,k.mode,I),pb(W,l),W.return=k,W._debugInfo=R0,W}function X(k,W,l,I){if(W===null||W.tag!==4||W.stateNode.containerInfo!==l.containerInfo||W.stateNode.implementation!==l.implementation)return W=J6(l,k.mode,I),W.return=k,W._debugInfo=R0,W;return W=r(W,l.children||[]),W.return=k,W._debugInfo=R0,W}function M(k,W,l,I,t){if(W===null||W.tag!==7)return W=Cv(l,k.mode,I,t),W.return=k,W._debugOwner=k,W._debugTask=k._debugTask,W._debugInfo=R0,W;return W=r(W,l),W.return=k,W._debugInfo=R0,W}function L(k,W,l){if(typeof W==="string"&&W!==""||typeof W==="number"||typeof W==="bigint")return W=k6(""+W,k.mode,l),W.return=k,W._debugOwner=k,W._debugTask=k._debugTask,W._debugInfo=R0,W;if(typeof W==="object"&&W!==null){switch(W.$$typeof){case P2:return l=R4(W,k.mode,l),pb(l,W),l.return=k,k=tw(W._debugInfo),l._debugInfo=R0,R0=k,l;case E5:return W=J6(W,k.mode,l),W.return=k,W._debugInfo=R0,W;case f1:var I=tw(W._debugInfo);return W=ig(W),k=L(k,W,l),R0=I,k}if(ow(W)||q0(W))return l=Cv(W,k.mode,l,null),l.return=k,l._debugOwner=k,l._debugTask=k._debugTask,k=tw(W._debugInfo),l._debugInfo=R0,R0=k,l;if(typeof W.then==="function")return I=tw(W._debugInfo),k=L(k,o4(W),l),R0=I,k;if(W.$$typeof===y2)return L(k,I4(k,W),l);P4(k,W)}return typeof W==="function"&&y4(k,W),typeof W==="symbol"&&S4(k,W),null}function J(k,W,l,I){var t=W!==null?W.key:null;if(typeof l==="string"&&l!==""||typeof l==="number"||typeof l==="bigint")return t!==null?null:x(k,W,""+l,I);if(typeof l==="object"&&l!==null){switch(l.$$typeof){case P2:return l.key===t?(t=tw(l._debugInfo),k=G(k,W,l,I),R0=t,k):null;case E5:return l.key===t?X(k,W,l,I):null;case f1:return t=tw(l._debugInfo),l=ig(l),k=J(k,W,l,I),R0=t,k}if(ow(l)||q0(l)){if(t!==null)return null;return t=tw(l._debugInfo),k=M(k,W,l,I,null),R0=t,k}if(typeof l.then==="function")return t=tw(l._debugInfo),k=J(k,W,o4(l),I),R0=t,k;if(l.$$typeof===y2)return J(k,W,I4(k,l),I);P4(k,l)}return typeof l==="function"&&y4(k,l),typeof l==="symbol"&&S4(k,l),null}function K(k,W,l,I,t){if(typeof I==="string"&&I!==""||typeof I==="number"||typeof I==="bigint")return k=k.get(l)||null,x(W,k,""+I,t);if(typeof I==="object"&&I!==null){switch(I.$$typeof){case P2:return l=k.get(I.key===null?l:I.key)||null,k=tw(I._debugInfo),W=G(W,l,I,t),R0=k,W;case E5:return k=k.get(I.key===null?l:I.key)||null,X(W,k,I,t);case f1:var J0=tw(I._debugInfo);return I=ig(I),W=K(k,W,l,I,t),R0=J0,W}if(ow(I)||q0(I))return l=k.get(l)||null,k=tw(I._debugInfo),W=M(W,l,I,t,null),R0=k,W;if(typeof I.then==="function")return J0=tw(I._debugInfo),W=K(k,W,l,o4(I),t),R0=J0,W;if(I.$$typeof===y2)return K(k,W,l,I4(W,I),t);P4(W,I)}return typeof I==="function"&&y4(W,I),typeof I==="symbol"&&S4(W,I),null}function u(k,W,l,I){if(typeof l!=="object"||l===null)return I;switch(l.$$typeof){case P2:case E5:A(k,W,l);var t=l.key;if(typeof t!=="string")break;if(I===null){I=new Set,I.add(t);break}if(!I.has(t)){I.add(t);break}w0(W,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",t)});break;case f1:l=ig(l),u(k,W,l,I)}return I}function s(k,W,l,I){for(var t=null,J0=null,G0=null,r0=W,N0=W=0,Hw=null;r0!==null&&N0<l.length;N0++){r0.index>N0?(Hw=r0,r0=null):Hw=r0.sibling;var Rw=J(k,r0,l[N0],I);if(Rw===null){r0===null&&(r0=Hw);break}t=u(k,Rw,l[N0],t),w&&r0&&Rw.alternate===null&&g(k,r0),W=d(Rw,W,N0),G0===null?J0=Rw:G0.sibling=Rw,G0=Rw,r0=Hw}if(N0===l.length)return v(k,r0),o0&&dg(k,N0),J0;if(r0===null){for(;N0<l.length;N0++)r0=L(k,l[N0],I),r0!==null&&(t=u(k,r0,l[N0],t),W=d(r0,W,N0),G0===null?J0=r0:G0.sibling=r0,G0=r0);return o0&&dg(k,N0),J0}for(r0=b(r0);N0<l.length;N0++)Hw=K(r0,k,N0,l[N0],I),Hw!==null&&(t=u(k,Hw,l[N0],t),w&&Hw.alternate!==null&&r0.delete(Hw.key===null?N0:Hw.key),W=d(Hw,W,N0),G0===null?J0=Hw:G0.sibling=Hw,G0=Hw);return w&&r0.forEach(function(Og){return g(k,Og)}),o0&&dg(k,N0),J0}function Xw(k,W,l,I){if(l==null)throw Error("An iterable object provided no iterator.");for(var t=null,J0=null,G0=W,r0=W=0,N0=null,Hw=null,Rw=l.next();G0!==null&&!Rw.done;r0++,Rw=l.next()){G0.index>r0?(N0=G0,G0=null):N0=G0.sibling;var Og=J(k,G0,Rw.value,I);if(Og===null){G0===null&&(G0=N0);break}Hw=u(k,Og,Rw.value,Hw),w&&G0&&Og.alternate===null&&g(k,G0),W=d(Og,W,r0),J0===null?t=Og:J0.sibling=Og,J0=Og,G0=N0}if(Rw.done)return v(k,G0),o0&&dg(k,r0),t;if(G0===null){for(;!Rw.done;r0++,Rw=l.next())G0=L(k,Rw.value,I),G0!==null&&(Hw=u(k,G0,Rw.value,Hw),W=d(G0,W,r0),J0===null?t=G0:J0.sibling=G0,J0=G0);return o0&&dg(k,r0),t}for(G0=b(G0);!Rw.done;r0++,Rw=l.next())N0=K(G0,k,r0,Rw.value,I),N0!==null&&(Hw=u(k,N0,Rw.value,Hw),w&&N0.alternate!==null&&G0.delete(N0.key===null?r0:N0.key),W=d(N0,W,r0),J0===null?t=N0:J0.sibling=N0,J0=N0);return w&&G0.forEach(function(JU){return g(k,JU)}),o0&&dg(k,r0),t}function V0(k,W,l,I){if(typeof l==="object"&&l!==null&&l.type===j5&&l.key===null&&(i4(l,null,k),l=l.props.children),typeof l==="object"&&l!==null){switch(l.$$typeof){case P2:var t=tw(l._debugInfo);w:{for(var J0=l.key;W!==null;){if(W.key===J0){if(J0=l.type,J0===j5){if(W.tag===7){v(k,W.sibling),I=r(W,l.props.children),I.return=k,I._debugOwner=l._owner,I._debugInfo=R0,i4(l,I,k),k=I;break w}}else if(W.elementType===J0||w9(W,l)||typeof J0==="object"&&J0!==null&&J0.$$typeof===f1&&ig(J0)===W.type){v(k,W.sibling),I=r(W,l.props),pb(I,l),I.return=k,I._debugOwner=l._owner,I._debugInfo=R0,k=I;break w}v(k,W);break}else g(k,W);W=W.sibling}l.type===j5?(I=Cv(l.props.children,k.mode,I,l.key),I.return=k,I._debugOwner=k,I._debugTask=k._debugTask,I._debugInfo=R0,i4(l,I,k),k=I):(I=R4(l,k.mode,I),pb(I,l),I.return=k,I._debugInfo=R0,k=I)}return k=a(k),R0=t,k;case E5:w:{t=l;for(l=t.key;W!==null;){if(W.key===l)if(W.tag===4&&W.stateNode.containerInfo===t.containerInfo&&W.stateNode.implementation===t.implementation){v(k,W.sibling),I=r(W,t.children||[]),I.return=k,k=I;break w}else{v(k,W);break}else g(k,W);W=W.sibling}I=J6(t,k.mode,I),I.return=k,k=I}return a(k);case f1:return t=tw(l._debugInfo),l=ig(l),k=V0(k,W,l,I),R0=t,k}if(ow(l))return t=tw(l._debugInfo),k=s(k,W,l,I),R0=t,k;if(q0(l)){if(t=tw(l._debugInfo),J0=q0(l),typeof J0!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var G0=J0.call(l);if(G0===l){if(k.tag!==0||Object.prototype.toString.call(k.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(G0)!=="[object Generator]")FX||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),FX=!0}else l.entries!==J0||t3||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),t3=!0);return k=Xw(k,W,G0,I),R0=t,k}if(typeof l.then==="function")return t=tw(l._debugInfo),k=V0(k,W,o4(l),I),R0=t,k;if(l.$$typeof===y2)return V0(k,W,I4(k,l),I);P4(k,l)}if(typeof l==="string"&&l!==""||typeof l==="number"||typeof l==="bigint")return t=""+l,W!==null&&W.tag===6?(v(k,W.sibling),I=r(W,t),I.return=k,k=I):(v(k,W),I=k6(t,k.mode,I),I.return=k,I._debugOwner=k,I._debugTask=k._debugTask,I._debugInfo=R0,k=I),a(k);return typeof l==="function"&&y4(k,l),typeof l==="symbol"&&S4(k,l),v(k,W)}return function(k,W,l,I){var t=R0;R0=null;try{jr=0;var J0=V0(k,W,l,I);return _b=null,J0}catch(Hw){if(Hw===Xb||Hw===sd)throw Hw;var G0=R(29,Hw,null,k.mode);G0.lanes=I,G0.return=k;var r0=G0._debugInfo=R0;if(G0._debugOwner=k._debugOwner,G0._debugTask=k._debugTask,r0!=null){for(var N0=r0.length-1;0<=N0;N0--)if(typeof r0[N0].stack==="string"){G0._debugOwner=r0[N0],G0._debugTask=r0[N0].debugTask;break}}return G0}finally{R0=t}}}function M9(w,g){var v=ow(w);return w=!v&&typeof q0(w)==="function",v||w?(v=v?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",v,g,v),!1):!0}function h6(w){w.updateQueue={baseState:w.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function m6(w,g){w=w.updateQueue,g.updateQueue===w&&(g.updateQueue={baseState:w.baseState,firstBaseUpdate:w.firstBaseUpdate,lastBaseUpdate:w.lastBaseUpdate,shared:w.shared,callbacks:null})}function og(w){return{lane:w,tag:TX,payload:null,callback:null,next:null}}function Pg(w,g,v){var b=w.updateQueue;if(b===null)return null;if(b=b.shared,e3===b&&!fX){var r=j(w);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
101
+
102
+ Please update the following component: %s`,r),fX=!0}if((j0&yw)!==uw)return r=b.pending,r===null?g.next=g:(g.next=r.next,r.next=g),b.pending=g,g=K4(w),e7(w,null,v),g;return F4(w,b,g,v),K4(w)}function tb(w,g,v){if(g=g.updateQueue,g!==null&&(g=g.shared,(v&4194048)!==0)){var b=g.lanes;b&=w.pendingLanes,v|=b,g.lanes=v,Fv(w,v)}}function V4(w,g){var{updateQueue:v,alternate:b}=w;if(b!==null&&(b=b.updateQueue,v===b)){var r=null,d=null;if(v=v.firstBaseUpdate,v!==null){do{var a={lane:v.lane,tag:v.tag,payload:v.payload,callback:null,next:null};d===null?r=d=a:d=d.next=a,v=v.next}while(v!==null);d===null?r=d=g:d=d.next=g}else r=d=g;v={baseState:b.baseState,firstBaseUpdate:r,lastBaseUpdate:d,shared:b.shared,callbacks:b.callbacks},w.updateQueue=v;return}w=v.lastBaseUpdate,w===null?v.firstBaseUpdate=g:w.next=g,v.lastBaseUpdate=g}function sb(){if(wx){var w=Zb;if(w!==null)throw w}}function eb(w,g,v,b){wx=!1;var r=w.updateQueue;zv=!1,e3=r.shared;var{firstBaseUpdate:d,lastBaseUpdate:a}=r,x=r.shared.pending;if(x!==null){r.shared.pending=null;var G=x,X=G.next;G.next=null,a===null?d=X:a.next=X,a=G;var M=w.alternate;M!==null&&(M=M.updateQueue,x=M.lastBaseUpdate,x!==a&&(x===null?M.firstBaseUpdate=X:x.next=X,M.lastBaseUpdate=G))}if(d!==null){var L=r.baseState;a=0,M=X=G=null,x=d;do{var J=x.lane&-536870913,K=J!==x.lane;if(K?(h0&J)===J:(b&J)===J){J!==0&&J===ev&&(wx=!0),M!==null&&(M=M.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});w:{J=w;var u=x,s=g,Xw=v;switch(u.tag){case IX:if(u=u.payload,typeof u==="function"){zb=!0;var V0=u.call(Xw,L,s);if(J.mode&d1){Gw(!0);try{u.call(Xw,L,s)}finally{Gw(!1)}}zb=!1,L=V0;break w}L=u;break w;case s3:J.flags=J.flags&-65537|128;case TX:if(V0=u.payload,typeof V0==="function"){if(zb=!0,u=V0.call(Xw,L,s),J.mode&d1){Gw(!0);try{V0.call(Xw,L,s)}finally{Gw(!1)}}zb=!1}else u=V0;if(u===null||u===void 0)break w;L=C0({},L,u);break w;case CX:zv=!0}}J=x.callback,J!==null&&(w.flags|=64,K&&(w.flags|=8192),K=r.callbacks,K===null?r.callbacks=[J]:K.push(J))}else K={lane:J,tag:x.tag,payload:x.payload,callback:x.callback,next:null},M===null?(X=M=K,G=L):M=M.next=K,a|=J;if(x=x.next,x===null)if(x=r.shared.pending,x===null)break;else K=x,x=K.next,K.next=null,r.lastBaseUpdate=K,r.shared.pending=null}while(1);M===null&&(G=L),r.baseState=G,r.firstBaseUpdate=X,r.lastBaseUpdate=M,d===null&&(r.shared.lanes=0),Xv|=a,w.lanes=a,w.memoizedState=L}e3=null}function L9(w,g){if(typeof w!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+w);w.call(g)}function $B(w,g){var v=w.shared.hiddenCallbacks;if(v!==null)for(w.shared.hiddenCallbacks=null,w=0;w<v.length;w++)L9(v[w],g)}function O9(w,g){var v=w.callbacks;if(v!==null)for(w.callbacks=null,w=0;w<v.length;w++)L9(v[w],g)}function N9(w,g){var v=s2;l0(wa,v,w),l0(Yb,g,w),s2=v|g.baseLanes}function T6(w){l0(wa,s2,w),l0(Yb,Yb.current,w)}function I6(w){s2=wa.current,O0(Yb,w),O0(wa,w)}function yg(w){var g=w.alternate;l0(Kw,Kw.current&$b,w),l0(P1,w,w),x2===null&&(g===null||Yb.current!==null?x2=w:g.memoizedState!==null&&(x2=w))}function C6(w){l0(Kw,Kw.current,w),l0(P1,w,w),x2===null&&(x2=w)}function F9(w){w.tag===22?(l0(Kw,Kw.current,w),l0(P1,w,w),x2===null&&(x2=w)):Sg(w)}function Sg(w){l0(Kw,Kw.current,w),l0(P1,P1.current,w)}function T1(w){O0(P1,w),x2===w&&(x2=null),O0(Kw,w)}function E4(w){for(var g=w;g!==null;){if(g.tag===13){var v=g.memoizedState;if(v!==null&&(v=v.dehydrated,v===null||n8(v)||p8(v)))return g}else if(g.tag===19&&(g.memoizedProps.revealOrder==="forwards"||g.memoizedProps.revealOrder==="backwards"||g.memoizedProps.revealOrder==="unstable_legacy-backwards"||g.memoizedProps.revealOrder==="together")){if((g.flags&128)!==0)return g}else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===w)break;for(;g.sibling===null;){if(g.return===null||g.return===w)return null;g=g.return}g.sibling.return=g.return,g=g.sibling}return null}function I0(){var w=h;G2===null?G2=[w]:G2.push(w)}function i(){var w=h;if(G2!==null&&(qg++,G2[qg]!==w)){var g=j(k0);if(!cX.has(g)&&(cX.add(g),G2!==null)){for(var v="",b=0;b<=qg;b++){var r=G2[b],d=b===qg?w:r;for(r=b+1+". "+r;30>r.length;)r+=" ";r+=d+`
103
+ `,v+=r}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
104
+
105
+ Previous render Next render
106
+ ------------------------------------------------------
107
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
+ `,g,v)}}}function h5(w){w===void 0||w===null||ow(w)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",h,typeof w)}function j4(){var w=j(k0);oX.has(w)||(oX.add(w),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",w))}function Nw(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
109
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
110
+ 2. You might be breaking the Rules of Hooks
111
+ 3. You might have more than one copy of React in the same app
112
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function f6(w,g){if(nr)return!1;if(g===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",h),!1;w.length!==g.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
113
+
114
+ Previous: %s
115
+ Incoming: %s`,h,"["+g.join(", ")+"]","["+w.join(", ")+"]");for(var v=0;v<g.length&&v<w.length;v++)if(!_1(w[v],g[v]))return!1;return!0}function c6(w,g,v,b,r,d){if(Jg=d,k0=g,G2=w!==null?w._debugHookTypes:null,qg=-1,nr=w!==null&&w.type!==g.type,Object.prototype.toString.call(v)==="[object AsyncFunction]"||Object.prototype.toString.call(v)==="[object AsyncGeneratorFunction]")d=j(k0),gx.has(d)||(gx.add(d),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",d===null?"An unknown Component":"<"+d+">"));g.memoizedState=null,g.updateQueue=null,g.lanes=0,m.H=w!==null&&w.memoizedState!==null?bx:G2!==null?PX:vx,r5=d=(g.mode&d1)!==H0;var a=u3(v,b,r);if(r5=!1,Qb&&(a=i6(g,v,b,r)),d){Gw(!0);try{a=i6(g,v,b,r)}finally{Gw(!1)}}return K9(w,g),a}function K9(w,g){g._debugHookTypes=G2,g.dependencies===null?Wg!==null&&(g.dependencies={lanes:0,firstContext:null,_debugThenableState:Wg}):g.dependencies._debugThenableState=Wg,m.H=pr;var v=xw!==null&&xw.next!==null;if(Jg=0,G2=h=Tw=xw=k0=null,qg=-1,w!==null&&(w.flags&65011712)!==(g.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),va=!1,ur=0,Wg=null,v)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");w===null||Iw||(w=w.dependencies,w!==null&&T4(w)&&(Iw=!0)),Er?(Er=!1,w=!0):w=!1,w&&(g=j(g)||"Unknown",iX.has(g)||gx.has(g)||(iX.add(g),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function i6(w,g,v,b){k0=w;var r=0;do{if(Qb&&(Wg=null),ur=0,Qb=!1,r>=sH)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(r+=1,nr=!1,Tw=xw=null,w.updateQueue!=null){var d=w.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}qg=-1,m.H=yX,d=u3(g,v,b)}while(Qb);return d}function BB(){var w=m.H,g=w.useState()[0];return g=typeof g.then==="function"?wr(g):g,w=w.useState()[0],(xw!==null?xw.memoizedState:null)!==w&&(k0.flags|=1024),g}function o6(){var w=ba!==0;return ba=0,w}function P6(w,g,v){g.updateQueue=w.updateQueue,g.flags=(g.mode&H2)!==H0?g.flags&-402655237:g.flags&-2053,w.lanes&=~v}function y6(w){if(va){for(w=w.memoizedState;w!==null;){var g=w.queue;g!==null&&(g.pending=null),w=w.next}va=!1}Jg=0,G2=Tw=xw=k0=null,qg=-1,h=null,Qb=!1,ur=ba=0,Wg=null}function z1(){var w={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Tw===null?k0.memoizedState=Tw=w:Tw=Tw.next=w,Tw}function ww(){if(xw===null){var w=k0.alternate;w=w!==null?w.memoizedState:null}else w=xw.next;var g=Tw===null?k0.memoizedState:Tw.next;if(g!==null)Tw=g,xw=w;else{if(w===null){if(k0.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}xw=w,w={memoizedState:xw.memoizedState,baseState:xw.baseState,baseQueue:xw.baseQueue,queue:xw.queue,next:null},Tw===null?k0.memoizedState=Tw=w:Tw=Tw.next=w}return Tw}function D4(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function wr(w){var g=ur;return ur+=1,Wg===null&&(Wg=Q9()),w=U9(Wg,w,g),g=k0,(Tw===null?g.memoizedState:Tw.next)===null&&(g=g.alternate,m.H=g!==null&&g.memoizedState!==null?bx:vx),w}function Vg(w){if(w!==null&&typeof w==="object"){if(typeof w.then==="function")return wr(w);if(w.$$typeof===y2)return Uw(w)}throw Error("An unsupported type was passed to use(): "+String(w))}function Pv(w){var g=null,v=k0.updateQueue;if(v!==null&&(g=v.memoCache),g==null){var b=k0.alternate;b!==null&&(b=b.updateQueue,b!==null&&(b=b.memoCache,b!=null&&(g={data:b.data.map(function(r){return r.slice()}),index:0})))}if(g==null&&(g={data:[],index:0}),v===null&&(v=D4(),k0.updateQueue=v),v.memoCache=g,v=g.data[g.index],v===void 0||nr)for(v=g.data[g.index]=Array(w),b=0;b<w;b++)v[b]=KQ;else v.length!==w&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",v.length,w);return g.index++,v}function Y2(w,g){return typeof g==="function"?g(w):g}function S6(w,g,v){var b=z1();if(v!==void 0){var r=v(g);if(r5){Gw(!0);try{v(g)}finally{Gw(!1)}}}else r=g;return b.memoizedState=b.baseState=r,w={pending:null,lanes:0,dispatch:null,lastRenderedReducer:w,lastRenderedState:r},b.queue=w,w=w.dispatch=JB.bind(null,k0,w),[b.memoizedState,w]}function m5(w){var g=ww();return V6(g,xw,w)}function V6(w,g,v){var b=w.queue;if(b===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");b.lastRenderedReducer=v;var r=w.baseQueue,d=b.pending;if(d!==null){if(r!==null){var a=r.next;r.next=d.next,d.next=a}g.baseQueue!==r&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=r=d,b.pending=null}if(d=w.baseState,r===null)w.memoizedState=d;else{g=r.next;var x=a=null,G=null,X=g,M=!1;do{var L=X.lane&-536870913;if(L!==X.lane?(h0&L)===L:(Jg&L)===L){var J=X.revertLane;if(J===0)G!==null&&(G=G.next={lane:0,revertLane:0,gesture:null,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null}),L===ev&&(M=!0);else if((Jg&J)===J){X=X.next,J===ev&&(M=!0);continue}else L={lane:0,revertLane:X.revertLane,gesture:null,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},G===null?(x=G=L,a=d):G=G.next=L,k0.lanes|=J,Xv|=J;L=X.action,r5&&v(d,L),d=X.hasEagerState?X.eagerState:v(d,L)}else J={lane:L,revertLane:X.revertLane,gesture:X.gesture,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},G===null?(x=G=J,a=d):G=G.next=J,k0.lanes|=L,Xv|=L;X=X.next}while(X!==null&&X!==g);if(G===null?a=d:G.next=x,!_1(d,w.memoizedState)&&(Iw=!0,M&&(v=Zb,v!==null)))throw v;w.memoizedState=d,w.baseState=a,w.baseQueue=G,b.lastRenderedState=d}return r===null&&(b.lanes=0),[w.memoizedState,b.dispatch]}function gr(w){var g=ww(),v=g.queue;if(v===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");v.lastRenderedReducer=w;var{dispatch:b,pending:r}=v,d=g.memoizedState;if(r!==null){v.pending=null;var a=r=r.next;do d=w(d,a.action),a=a.next;while(a!==r);_1(d,g.memoizedState)||(Iw=!0),g.memoizedState=d,g.baseQueue===null&&(g.baseState=d),v.lastRenderedState=d}return[d,b]}function E6(w,g,v){var b=k0,r=z1();if(o0){if(v===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var d=v();Bb||d===v()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Bb=!0)}else{if(d=g(),Bb||(v=g(),_1(d,v)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Bb=!0)),zw===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(h0&127)!==0||R9(b,g,d)}return r.memoizedState=d,v={value:d,getSnapshot:g},r.queue=v,t4(m9.bind(null,b,v,w),[w]),b.flags|=2048,I5(z2|B1,{destroy:void 0},h9.bind(null,b,v,d,g),null),d}function u4(w,g,v){var b=k0,r=ww(),d=o0;if(d){if(v===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");v=v()}else if(v=g(),!Bb){var a=g();_1(v,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Bb=!0)}if(a=!_1((xw||r).memoizedState,v))r.memoizedState=v,Iw=!0;r=r.queue;var x=m9.bind(null,b,r,w);if(k1(2048,B1,x,[w]),r.getSnapshot!==g||a||Tw!==null&&Tw.memoizedState.tag&z2){if(b.flags|=2048,I5(z2|B1,{destroy:void 0},h9.bind(null,b,r,v,g),null),zw===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");d||(Jg&127)!==0||R9(b,g,v)}return v}function R9(w,g,v){w.flags|=16384,w={getSnapshot:g,value:v},g=k0.updateQueue,g===null?(g=D4(),k0.updateQueue=g,g.stores=[w]):(v=g.stores,v===null?g.stores=[w]:v.push(w))}function h9(w,g,v,b){g.value=v,g.getSnapshot=b,T9(g)&&I9(w)}function m9(w,g,v){return v(function(){T9(g)&&(N2(2,"updateSyncExternalStore()",w),I9(w))})}function T9(w){var g=w.getSnapshot;w=w.value;try{var v=g();return!_1(w,v)}catch(b){return!0}}function I9(w){var g=b1(w,2);g!==null&&lw(g,w,2)}function j6(w){var g=z1();if(typeof w==="function"){var v=w;if(w=v(),r5){Gw(!0);try{v()}finally{Gw(!1)}}}return g.memoizedState=g.baseState=w,g.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Y2,lastRenderedState:w},g}function D6(w){w=j6(w);var g=w.queue,v=wz.bind(null,k0,g);return g.dispatch=v,[w.memoizedState,v]}function u6(w){var g=z1();g.memoizedState=g.baseState=w;var v={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return g.queue=v,g=z8.bind(null,k0,!0,v),v.dispatch=g,[w,g]}function C9(w,g){var v=ww();return f9(v,xw,w,g)}function f9(w,g,v,b){return w.baseState=v,V6(w,xw,typeof b==="function"?b:Y2)}function c9(w,g){var v=ww();if(xw!==null)return f9(v,xw,w,g);return v.baseState=w,[w,v.queue.dispatch]}function QB(w,g,v,b,r){if(bd(w))throw Error("Cannot update form state while rendering.");if(w=g.action,w!==null){var d={payload:r,action:w,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(a){d.listeners.push(a)}};m.T!==null?v(!0):d.isTransition=!1,b(d),v=g.pending,v===null?(d.next=g.pending=d,i9(g,d)):(d.next=v.next,g.pending=v.next=d)}}function i9(w,g){var{action:v,payload:b}=g,r=w.state;if(g.isTransition){var d=m.T,a={};a._updatedFibers=new Set,m.T=a;try{var x=v(r,b),G=m.S;G!==null&&G(a,x),o9(w,g,x)}catch(X){n6(w,g,X)}finally{d!==null&&a.types!==null&&(d.types!==null&&d.types!==a.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),d.types=a.types),m.T=d,d===null&&a._updatedFibers&&(w=a._updatedFibers.size,a._updatedFibers.clear(),10<w&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{a=v(r,b),o9(w,g,a)}catch(X){n6(w,g,X)}}function o9(w,g,v){v!==null&&typeof v==="object"&&typeof v.then==="function"?(m.asyncTransitions++,v.then(vd,vd),v.then(function(b){P9(w,g,b)},function(b){return n6(w,g,b)}),g.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):P9(w,g,v)}function P9(w,g,v){g.status="fulfilled",g.value=v,y9(g),w.state=v,g=w.pending,g!==null&&(v=g.next,v===g?w.pending=null:(v=v.next,g.next=v,i9(w,v)))}function n6(w,g,v){var b=w.pending;if(w.pending=null,b!==null){b=b.next;do g.status="rejected",g.reason=v,y9(g),g=g.next;while(g!==b)}w.action=null}function y9(w){w=w.listeners;for(var g=0;g<w.length;g++)(0,w[g])()}function S9(w,g){return g}function T5(w,g){if(o0){var v=zw.formState;if(v!==null){w:{var b=k0;if(o0){if(Qw){g:{var r=Qw;for(var d=d2;r.nodeType!==8;){if(!d){r=null;break g}if(r=C1(r.nextSibling),r===null){r=null;break g}}d=r.data,r=d===Lx||d===O_?r:null}if(r){Qw=C1(r.nextSibling),b=r.data===Lx;break w}}fg(b)}b=!1}b&&(g=v[0])}}return v=z1(),v.memoizedState=v.baseState=g,b={pending:null,lanes:0,dispatch:null,lastRenderedReducer:S9,lastRenderedState:g},v.queue=b,v=wz.bind(null,k0,b),b.dispatch=v,b=j6(!1),d=z8.bind(null,k0,!1,b.queue),b=z1(),r={state:g,dispatch:null,action:w,pending:null},b.queue=r,v=QB.bind(null,k0,r,d,v),r.dispatch=v,b.memoizedState=w,[g,v,!1]}function n4(w){var g=ww();return V9(g,xw,w)}function V9(w,g,v){if(g=V6(w,g,S9)[0],w=m5(Y2)[0],typeof g==="object"&&g!==null&&typeof g.then==="function")try{var b=wr(g)}catch(a){if(a===Xb)throw sd;throw a}else b=g;g=ww();var r=g.queue,d=r.dispatch;return v!==g.memoizedState&&(k0.flags|=2048,I5(z2|B1,{destroy:void 0},HB.bind(null,r,v),null)),[b,d,w]}function HB(w,g){w.action=g}function p4(w){var g=ww(),v=xw;if(v!==null)return V9(g,v,w);ww(),g=g.memoizedState,v=ww();var b=v.queue.dispatch;return v.memoizedState=w,[g,b,!1]}function I5(w,g,v,b){return w={tag:w,create:v,deps:b,inst:g,next:null},g=k0.updateQueue,g===null&&(g=D4(),k0.updateQueue=g),v=g.lastEffect,v===null?g.lastEffect=w.next=w:(b=v.next,v.next=w,w.next=b,g.lastEffect=w),w}function p6(w){var g=z1();return w={current:w},g.memoizedState=w}function yv(w,g,v,b){var r=z1();k0.flags|=w,r.memoizedState=I5(z2|g,{destroy:void 0},v,b===void 0?null:b)}function k1(w,g,v,b){var r=ww();b=b===void 0?null:b;var d=r.memoizedState.inst;xw!==null&&b!==null&&f6(b,xw.memoizedState.deps)?r.memoizedState=I5(g,d,v,b):(k0.flags|=w,r.memoizedState=I5(z2|g,d,v,b))}function t4(w,g){(k0.mode&H2)!==H0?yv(276826112,B1,w,g):yv(8390656,B1,w,g)}function UB(w){k0.flags|=4;var g=k0.updateQueue;if(g===null)g=D4(),k0.updateQueue=g,g.events=[w];else{var v=g.events;v===null?g.events=[w]:v.push(w)}}function t6(w){var g=z1(),v={impl:w};return g.memoizedState=v,function(){if((j0&yw)!==uw)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return v.impl.apply(void 0,arguments)}}function s4(w){var g=ww().memoizedState;return UB({ref:g,nextImpl:w}),function(){if((j0&yw)!==uw)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return g.impl.apply(void 0,arguments)}}function s6(w,g){var v=4194308;return(k0.mode&H2)!==H0&&(v|=134217728),yv(v,y1,w,g)}function E9(w,g){if(typeof g==="function"){w=w();var v=g(w);return function(){typeof v==="function"?v():g(null)}}if(g!==null&&g!==void 0)return g.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(g).join(", ")+"}"),w=w(),g.current=w,function(){g.current=null}}function e6(w,g,v){typeof g!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",g!==null?typeof g:"null"),v=v!==null&&v!==void 0?v.concat([w]):null;var b=4194308;(k0.mode&H2)!==H0&&(b|=134217728),yv(b,y1,E9.bind(null,g,w),v)}function e4(w,g,v){typeof g!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",g!==null?typeof g:"null"),v=v!==null&&v!==void 0?v.concat([w]):null,k1(4,y1,E9.bind(null,g,w),v)}function w8(w,g){return z1().memoizedState=[w,g===void 0?null:g],w}function wd(w,g){var v=ww();g=g===void 0?null:g;var b=v.memoizedState;if(g!==null&&f6(g,b[1]))return b[0];return v.memoizedState=[w,g],w}function g8(w,g){var v=z1();g=g===void 0?null:g;var b=w();if(r5){Gw(!0);try{w()}finally{Gw(!1)}}return v.memoizedState=[b,g],b}function gd(w,g){var v=ww();g=g===void 0?null:g;var b=v.memoizedState;if(g!==null&&f6(g,b[1]))return b[0];if(b=w(),r5){Gw(!0);try{w()}finally{Gw(!1)}}return v.memoizedState=[b,g],b}function v8(w,g){var v=z1();return b8(v,w,g)}function j9(w,g){var v=ww();return u9(v,xw.memoizedState,w,g)}function D9(w,g){var v=ww();return xw===null?b8(v,w,g):u9(v,xw.memoizedState,w,g)}function b8(w,g,v){if(v===void 0||(Jg&1073741824)!==0&&(h0&261930)===0)return w.memoizedState=g;return w.memoizedState=v,w=nz(),k0.lanes|=w,Xv|=w,v}function u9(w,g,v,b){if(_1(v,g))return v;if(Yb.current!==null)return w=b8(w,v,b),_1(w,g)||(Iw=!0),w;if((Jg&42)===0||(Jg&1073741824)!==0&&(h0&261930)===0)return Iw=!0,w.memoizedState=v;return w=nz(),k0.lanes|=w,Xv|=w,g}function vd(){m.asyncTransitions--}function n9(w,g,v,b,r){var d=s0.p;s0.p=d!==0&&d<Q2?d:Q2;var a=m.T,x={};x._updatedFibers=new Set,m.T=x,z8(w,!1,g,v);try{var G=r(),X=m.S;if(X!==null&&X(x,G),G!==null&&typeof G==="object"&&typeof G.then==="function"){m.asyncTransitions++,G.then(vd,vd);var M=YB(G,b);vr(w,g,M,I1(w))}else vr(w,g,b,I1(w))}catch(L){vr(w,g,{then:function(){},status:"rejected",reason:L},I1(w))}finally{s0.p=d,a!==null&&x.types!==null&&(a.types!==null&&a.types!==x.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),a.types=x.types),m.T=a,a===null&&x._updatedFibers&&(w=x._updatedFibers.size,x._updatedFibers.clear(),10<w&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function r8(w,g,v,b){if(w.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var r=p9(w).queue;XB(w),n9(w,r,g,B5,v===null?F:function(){return t9(w),v(b)})}function p9(w){var g=w.memoizedState;if(g!==null)return g;g={memoizedState:B5,baseState:B5,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Y2,lastRenderedState:B5},next:null};var v={};return g.next={memoizedState:v,baseState:v,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Y2,lastRenderedState:v},next:null},w.memoizedState=g,w=w.alternate,w!==null&&(w.memoizedState=g),g}function t9(w){m.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var g=p9(w);g.next===null&&(g=w.alternate.memoizedState),vr(w,g.next.queue,{},I1(w))}function d8(){var w=j6(!1);return w=n9.bind(null,k0,w.queue,!0,!1),z1().memoizedState=w,[!1,w]}function s9(){var w=m5(Y2)[0],g=ww().memoizedState;return[typeof w==="boolean"?w:wr(w),g]}function e9(){var w=gr(Y2)[0],g=ww().memoizedState;return[typeof w==="boolean"?w:wr(w),g]}function Sv(){return Uw(X4)}function a8(){var w=z1(),g=zw.identifierPrefix;if(o0){var v=Bg,b=$g;v=(b&~(1<<32-G1(b)-1)).toString(32)+v,g="_"+g+"R_"+v,v=ba++,0<v&&(g+="H"+v.toString(32)),g+="_"}else v=tH++,g="_"+g+"r_"+v.toString(32)+"_";return w.memoizedState=g}function x8(){return z1().memoizedState=kB.bind(null,k0)}function kB(w,g){for(var v=w.return;v!==null;){switch(v.tag){case 24:case 3:var b=I1(v),r=og(b),d=Pg(v,r,b);d!==null&&(N2(b,"refresh()",w),lw(d,v,b),tb(d,v,b)),w=O6(),g!==null&&g!==void 0&&d!==null&&console.error("The seed argument is not enabled outside experimental channels."),r.payload={cache:w};return}v=v.return}}function JB(w,g,v){var b=arguments;typeof b[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),b=I1(w);var r={lane:b,revertLane:0,gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null};bd(w)?gz(g,r):(r=B6(w,g,r,b),r!==null&&(N2(b,"dispatch()",w),lw(r,w,b),vz(r,g,b)))}function wz(w,g,v){var b=arguments;typeof b[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),b=I1(w),vr(w,g,v,b)&&N2(b,"setState()",w)}function vr(w,g,v,b){var r={lane:b,revertLane:0,gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null};if(bd(w))gz(g,r);else{var d=w.alternate;if(w.lanes===0&&(d===null||d.lanes===0)&&(d=g.lastRenderedReducer,d!==null)){var a=m.H;m.H=k2;try{var x=g.lastRenderedState,G=d(x,v);if(r.hasEagerState=!0,r.eagerState=G,_1(G,x))return F4(w,g,r,0),zw===null&&N4(),!1}catch(X){}finally{m.H=a}}if(v=B6(w,g,r,b),v!==null)return lw(v,w,b),vz(v,g,b),!0}return!1}function z8(w,g,v,b){if(m.T===null&&ev===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),b={lane:2,revertLane:c8(),gesture:null,action:b,hasEagerState:!1,eagerState:null,next:null},bd(w)){if(g)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else g=B6(w,v,b,2),g!==null&&(N2(2,"setOptimistic()",w),lw(g,w,2))}function bd(w){var g=w.alternate;return w===k0||g!==null&&g===k0}function gz(w,g){Qb=va=!0;var v=w.pending;v===null?g.next=g:(g.next=v.next,v.next=g),w.pending=g}function vz(w,g,v){if((v&4194048)!==0){var b=g.lanes;b&=w.pendingLanes,v|=b,g.lanes=v,Fv(w,v)}}function G8(w){if(w!==null&&typeof w!=="function"){var g=String(w);eX.has(g)||(eX.add(g),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",w))}}function Z8(w,g,v,b){var r=w.memoizedState,d=v(b,r);if(w.mode&d1){Gw(!0);try{d=v(b,r)}finally{Gw(!1)}}d===void 0&&(g=v0(g)||"Component",nX.has(g)||(nX.add(g),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",g))),r=d===null||d===void 0?r:C0({},r,d),w.memoizedState=r,w.lanes===0&&(w.updateQueue.baseState=r)}function bz(w,g,v,b,r,d,a){var x=w.stateNode;if(typeof x.shouldComponentUpdate==="function"){if(v=x.shouldComponentUpdate(b,d,a),w.mode&d1){Gw(!0);try{v=x.shouldComponentUpdate(b,d,a)}finally{Gw(!1)}}return v===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",v0(g)||"Component"),v}return g.prototype&&g.prototype.isPureReactComponent?!Vb(v,b)||!Vb(r,d):!0}function rz(w,g,v,b){var r=g.state;typeof g.componentWillReceiveProps==="function"&&g.componentWillReceiveProps(v,b),typeof g.UNSAFE_componentWillReceiveProps==="function"&&g.UNSAFE_componentWillReceiveProps(v,b),g.state!==r&&(w=j(w)||"Component",VX.has(w)||(VX.add(w),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",w)),rx.enqueueReplaceState(g,g.state,null))}function Vv(w,g){var v=g;if("ref"in g){v={};for(var b in g)b!=="ref"&&(v[b]=g[b])}if(w=w.defaultProps){v===g&&(v=C0({},v));for(var r in w)v[r]===void 0&&(v[r]=w[r])}return v}function dz(w){I3(w),console.warn(`%s
116
+
117
+ %s
118
+ `,Hb?"An error occurred in the <"+Hb+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
119
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function az(w){var g=Hb?"The above error occurred in the <"+Hb+"> component.":"The above error occurred in one of your React components.",v="React will try to recreate this component tree from scratch using the error boundary you provided, "+((dx||"Anonymous")+".");if(typeof w==="object"&&w!==null&&typeof w.environmentName==="string"){var b=w.environmentName;w=[`%o
120
+
121
+ %s
122
+
123
+ %s
124
+ `,w,g,v].slice(0),typeof w[0]==="string"?w.splice(0,1,I_+" "+w[0],C_,Na+b+Na,f_):w.splice(0,0,I_,C_,Na+b+Na,f_),w.unshift(console),b=UU.apply(console.error,w),b()}else console.error(`%o
125
+
126
+ %s
127
+
128
+ %s
129
+ `,w,g,v)}function xz(w){I3(w)}function rd(w,g){try{Hb=g.source?j(g.source):null,dx=null;var v=g.value;if(m.actQueue!==null)m.thrownErrors.push(v);else{var b=w.onUncaughtError;b(v,{componentStack:g.stack})}}catch(r){setTimeout(function(){throw r})}}function zz(w,g,v){try{Hb=v.source?j(v.source):null,dx=j(g);var b=w.onCaughtError;b(v.value,{componentStack:v.stack,errorBoundary:g.tag===1?g.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function X8(w,g,v){return v=og(v),v.tag=s3,v.payload={element:null},v.callback=function(){w0(g.source,rd,w,g)},v}function _8(w){return w=og(w),w.tag=s3,w}function Y8(w,g,v,b){var r=v.type.getDerivedStateFromError;if(typeof r==="function"){var d=b.value;w.payload=function(){return r(d)},w.callback=function(){g9(v),w0(b.source,zz,g,v,b)}}var a=v.stateNode;a!==null&&typeof a.componentDidCatch==="function"&&(w.callback=function(){g9(v),w0(b.source,zz,g,v,b),typeof r!=="function"&&(Yv===null?Yv=new Set([this]):Yv.add(this)),DH(this,b),typeof r==="function"||(v.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",j(v)||"Unknown")})}function WB(w,g,v,b,r){if(v.flags|=32768,E2&&Zr(w,r),b!==null&&typeof b==="object"&&typeof b.then==="function"){if(g=v.alternate,g!==null&&R5(g,v,r,!0),o0&&(u2=!0),v=P1.current,v!==null){switch(v.tag){case 31:case 13:return x2===null?Yd():v.alternate===null&&qw===Ag&&(qw=aa),v.flags&=-257,v.flags|=65536,v.lanes=r,b===ed?v.flags|=16384:(g=v.updateQueue,g===null?v.updateQueue=new Set([b]):g.add(b),T8(w,b,r)),!1;case 22:return v.flags|=65536,b===ed?v.flags|=16384:(g=v.updateQueue,g===null?(g={transitions:null,markerInstances:null,retryQueue:new Set([b])},v.updateQueue=g):(v=g.retryQueue,v===null?g.retryQueue=new Set([b]):v.add(b)),T8(w,b,r)),!1}throw Error("Unexpected Suspense handler tag ("+v.tag+"). This is a bug in React.")}return T8(w,b,r),Yd(),!1}if(o0)return u2=!0,g=P1.current,g!==null?((g.flags&65536)===0&&(g.flags|=256),g.flags|=65536,g.lanes=r,b!==P3&&jb(R1(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:b}),v))):(b!==P3&&jb(R1(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:b}),v)),w=w.current.alternate,w.flags|=65536,r&=-r,w.lanes|=r,b=R1(b,v),r=X8(w.stateNode,b,r),V4(w,r),qw!==Gv&&(qw=d5)),!1;var d=R1(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:b}),v);if(v4===null?v4=[d]:v4.push(d),qw!==Gv&&(qw=d5),g===null)return!0;b=R1(b,v),v=g;do{switch(v.tag){case 3:return v.flags|=65536,w=r&-r,v.lanes|=w,w=X8(v.stateNode,b,w),V4(v,w),!1;case 1:if(g=v.type,d=v.stateNode,(v.flags&128)===0&&(typeof g.getDerivedStateFromError==="function"||d!==null&&typeof d.componentDidCatch==="function"&&(Yv===null||!Yv.has(d))))return v.flags|=65536,r&=-r,v.lanes|=r,r=_8(r),Y8(r,w,v,b),V4(v,r),!1}v=v.return}while(v!==null);return!1}function sw(w,g,v,b){g.child=w===null?mX(g,null,v,b):b5(g,w.child,v,b)}function Gz(w,g,v,b,r){v=v.render;var d=g.ref;if("ref"in b){var a={};for(var x in b)x!=="ref"&&(a[x]=b[x])}else a=b;if(iv(g),b=c6(w,g,v,a,d,r),x=o6(),w!==null&&!Iw)return P6(w,g,r),zg(w,g,r);return o0&&x&&W6(g),g.flags|=1,sw(w,g,b,r),g.child}function Zz(w,g,v,b,r){if(w===null){var d=v.type;if(typeof d==="function"&&!H6(d)&&d.defaultProps===void 0&&v.compare===null)return v=Iv(d),g.tag=15,g.type=v,B8(g,d),Xz(w,g,v,b,r);return w=U6(v.type,null,b,g,g.mode,r),w.ref=g.ref,w.return=g,g.child=w}if(d=w.child,!W8(w,r)){var a=d.memoizedProps;if(v=v.compare,v=v!==null?v:Vb,v(a,b)&&w.ref===g.ref)return zg(w,g,r)}return g.flags|=1,w=rg(d,b),w.ref=g.ref,w.return=g,g.child=w}function Xz(w,g,v,b,r){if(w!==null){var d=w.memoizedProps;if(Vb(d,b)&&w.ref===g.ref&&g.type===w.type)if(Iw=!1,g.pendingProps=b=d,W8(w,r))(w.flags&131072)!==0&&(Iw=!0);else return g.lanes=w.lanes,zg(w,g,r)}return $8(w,g,v,b,r)}function _z(w,g,v,b){var r=b.children,d=w!==null?w.memoizedState:null;if(w===null&&g.stateNode===null&&(g.stateNode={_visibility:Rr,_pendingMarkers:null,_retryCache:null,_transitions:null}),b.mode==="hidden"){if((g.flags&128)!==0){if(d=d!==null?d.baseLanes|v:v,w!==null){b=g.child=w.child;for(r=0;b!==null;)r=r|b.lanes|b.childLanes,b=b.sibling;b=r&~d}else b=0,g.child=null;return Yz(w,g,d,v,b)}if((v&536870912)!==0)g.memoizedState={baseLanes:0,cachePool:null},w!==null&&c4(g,d!==null?d.cachePool:null),d!==null?N9(g,d):T6(g),F9(g);else return b=g.lanes=536870912,Yz(w,g,d!==null?d.baseLanes|v:v,v,b)}else d!==null?(c4(g,d.cachePool),N9(g,d),Sg(g),g.memoizedState=null):(w!==null&&c4(g,null),T6(g),Sg(g));return sw(w,g,r,v),g.child}function br(w,g){return w!==null&&w.tag===22||g.stateNode!==null||(g.stateNode={_visibility:Rr,_pendingMarkers:null,_retryCache:null,_transitions:null}),g.sibling}function Yz(w,g,v,b,r){var d=K6();return d=d===null?null:{parent:hw._currentValue,pool:d},g.memoizedState={baseLanes:v,cachePool:d},w!==null&&c4(g,null),T6(g),F9(g),w!==null&&R5(w,g,b,!0),g.childLanes=r,null}function dd(w,g){var v=g.hidden;return v!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
130
+ - <Activity %s>
131
+ + <Activity %s>`,v===!0?"hidden":v===!1?"hidden={false}":"hidden={...}",v?'mode="hidden"':'mode="visible"'),g=xd({mode:g.mode,children:g.children},w.mode),g.ref=w.ref,w.child=g,g.return=w,g}function $z(w,g,v){return b5(g,w.child,null,v),w=dd(g,g.pendingProps),w.flags|=2,T1(g),g.memoizedState=null,w}function qB(w,g,v){var b=g.pendingProps,r=(g.flags&128)!==0;if(g.flags&=-129,w===null){if(o0){if(b.mode==="hidden")return w=dd(g,b),g.lanes=536870912,br(null,w);if(C6(g),(w=Qw)?(v=iG(w,d2),v=v!==null&&v.data===X5?v:null,v!==null&&(b={dehydrated:v,treeContext:a9(),retryLane:536870912,hydrationErrors:null},g.memoizedState=b,b=r9(v),b.return=g,g.child=b,g1=g,Qw=null)):v=null,v===null)throw h4(g,w),fg(g);return g.lanes=536870912,null}return dd(g,b)}var d=w.memoizedState;if(d!==null){var a=d.dehydrated;if(C6(g),r)if(g.flags&256)g.flags&=-257,g=$z(w,g,v);else if(g.memoizedState!==null)g.child=w.child,g.flags|=128,g=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(z9(),(v&536870912)!==0&&_d(g),Iw||R5(w,g,v,!1),r=(v&w.childLanes)!==0,Iw||r){if(b=zw,b!==null&&(a=Kv(b,v),a!==0&&a!==d.retryLane))throw d.retryLane=a,b1(w,a),lw(b,w,a),ax;Yd(),g=$z(w,g,v)}else w=d.treeContext,Qw=C1(a.nextSibling),g1=g,o0=!0,vv=null,u2=!1,o1=null,d2=!1,w!==null&&x9(g,w),g=dd(g,b),g.flags|=4096;return g}return d=w.child,b={mode:b.mode,children:b.children},(v&536870912)!==0&&(v&w.lanes)!==0&&_d(g),w=rg(d,b),w.ref=g.ref,g.child=w,w.return=g,w}function ad(w,g){var v=g.ref;if(v===null)w!==null&&w.ref!==null&&(g.flags|=4194816);else{if(typeof v!=="function"&&typeof v!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(w===null||w.ref!==v)g.flags|=4194816}}function $8(w,g,v,b,r){if(v.prototype&&typeof v.prototype.render==="function"){var d=v0(v)||"Unknown";w_[d]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",d,d),w_[d]=!0)}if(g.mode&d1&&U2.recordLegacyContextWarning(g,null),w===null&&(B8(g,g.type),v.contextTypes&&(d=v0(v)||"Unknown",v_[d]||(v_[d]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",d)))),iv(g),v=c6(w,g,v,b,void 0,r),b=o6(),w!==null&&!Iw)return P6(w,g,r),zg(w,g,r);return o0&&b&&W6(g),g.flags|=1,sw(w,g,v,r),g.child}function Bz(w,g,v,b,r,d){if(iv(g),qg=-1,nr=w!==null&&w.type!==g.type,g.updateQueue=null,v=i6(g,b,v,r),K9(w,g),b=o6(),w!==null&&!Iw)return P6(w,g,d),zg(w,g,d);return o0&&b&&W6(g),g.flags|=1,sw(w,g,v,d),g.child}function Qz(w,g,v,b,r){switch(q(g)){case!1:var d=g.stateNode,a=new g.type(g.memoizedProps,d.context).state;d.updater.enqueueSetState(d,a,null);break;case!0:g.flags|=128,g.flags|=65536,d=Error("Simulated error coming from DevTools");var x=r&-r;if(g.lanes|=x,a=zw,a===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");x=_8(x),Y8(x,a,g,R1(d,g)),V4(g,x)}if(iv(g),g.stateNode===null){if(a=gv,d=v.contextType,"contextType"in v&&d!==null&&(d===void 0||d.$$typeof!==y2)&&!sX.has(v)&&(sX.add(v),x=d===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof d!=="object"?" However, it is set to a "+typeof d+".":d.$$typeof===x3?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(d).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",v0(v)||"Component",x)),typeof d==="object"&&d!==null&&(a=Uw(d)),d=new v(b,a),g.mode&d1){Gw(!0);try{d=new v(b,a)}finally{Gw(!1)}}if(a=g.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=rx,g.stateNode=d,d._reactInternals=g,d._reactInternalInstance=SX,typeof v.getDerivedStateFromProps==="function"&&a===null&&(a=v0(v)||"Component",EX.has(a)||(EX.add(a),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",a,d.state===null?"null":"undefined",a))),typeof v.getDerivedStateFromProps==="function"||typeof d.getSnapshotBeforeUpdate==="function"){var G=x=a=null;if(typeof d.componentWillMount==="function"&&d.componentWillMount.__suppressDeprecationWarning!==!0?a="componentWillMount":typeof d.UNSAFE_componentWillMount==="function"&&(a="UNSAFE_componentWillMount"),typeof d.componentWillReceiveProps==="function"&&d.componentWillReceiveProps.__suppressDeprecationWarning!==!0?x="componentWillReceiveProps":typeof d.UNSAFE_componentWillReceiveProps==="function"&&(x="UNSAFE_componentWillReceiveProps"),typeof d.componentWillUpdate==="function"&&d.componentWillUpdate.__suppressDeprecationWarning!==!0?G="componentWillUpdate":typeof d.UNSAFE_componentWillUpdate==="function"&&(G="UNSAFE_componentWillUpdate"),a!==null||x!==null||G!==null){d=v0(v)||"Component";var X=typeof v.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";DX.has(d)||(DX.add(d),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
132
+
133
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
134
+
135
+ The above lifecycles should be removed. Learn more about this warning here:
136
+ https://react.dev/link/unsafe-component-lifecycles`,d,X,a!==null?`
137
+ `+a:"",x!==null?`
138
+ `+x:"",G!==null?`
139
+ `+G:""))}}d=g.stateNode,a=v0(v)||"Component",d.render||(v.prototype&&typeof v.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",a):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",a)),!d.getInitialState||d.getInitialState.isReactClassApproved||d.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",a),d.getDefaultProps&&!d.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",a),d.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",a),v.childContextTypes&&!tX.has(v)&&(tX.add(v),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",a)),v.contextTypes&&!pX.has(v)&&(pX.add(v),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",a)),typeof d.componentShouldUpdate==="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",a),v.prototype&&v.prototype.isPureReactComponent&&typeof d.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",v0(v)||"A pure component"),typeof d.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",a),typeof d.componentDidReceiveProps==="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",a),typeof d.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",a),typeof d.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",a),x=d.props!==b,d.props!==void 0&&x&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",a),d.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",a,a),typeof d.getSnapshotBeforeUpdate!=="function"||typeof d.componentDidUpdate==="function"||jX.has(v)||(jX.add(v),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",v0(v))),typeof d.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),typeof d.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),typeof v.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",a),(x=d.state)&&(typeof x!=="object"||ow(x))&&console.error("%s.state: must be set to an object or null",a),typeof d.getChildContext==="function"&&typeof v.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",a),d=g.stateNode,d.props=b,d.state=g.memoizedState,d.refs={},h6(g),a=v.contextType,d.context=typeof a==="object"&&a!==null?Uw(a):gv,d.state===b&&(a=v0(v)||"Component",uX.has(a)||(uX.add(a),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",a))),g.mode&d1&&U2.recordLegacyContextWarning(g,d),U2.recordUnsafeLifecycleWarnings(g,d),d.state=g.memoizedState,a=v.getDerivedStateFromProps,typeof a==="function"&&(Z8(g,v,a,b),d.state=g.memoizedState),typeof v.getDerivedStateFromProps==="function"||typeof d.getSnapshotBeforeUpdate==="function"||typeof d.UNSAFE_componentWillMount!=="function"&&typeof d.componentWillMount!=="function"||(a=d.state,typeof d.componentWillMount==="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount==="function"&&d.UNSAFE_componentWillMount(),a!==d.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",j(g)||"Component"),rx.enqueueReplaceState(d,d.state,null)),eb(g,b,d,r),sb(),d.state=g.memoizedState),typeof d.componentDidMount==="function"&&(g.flags|=4194308),(g.mode&H2)!==H0&&(g.flags|=134217728),d=!0}else if(w===null){d=g.stateNode;var M=g.memoizedProps;x=Vv(v,M),d.props=x;var L=d.context;G=v.contextType,a=gv,typeof G==="object"&&G!==null&&(a=Uw(G)),X=v.getDerivedStateFromProps,G=typeof X==="function"||typeof d.getSnapshotBeforeUpdate==="function",M=g.pendingProps!==M,G||typeof d.UNSAFE_componentWillReceiveProps!=="function"&&typeof d.componentWillReceiveProps!=="function"||(M||L!==a)&&rz(g,d,b,a),zv=!1;var J=g.memoizedState;d.state=J,eb(g,b,d,r),sb(),L=g.memoizedState,M||J!==L||zv?(typeof X==="function"&&(Z8(g,v,X,b),L=g.memoizedState),(x=zv||bz(g,v,x,b,J,L,a))?(G||typeof d.UNSAFE_componentWillMount!=="function"&&typeof d.componentWillMount!=="function"||(typeof d.componentWillMount==="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount==="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount==="function"&&(g.flags|=4194308),(g.mode&H2)!==H0&&(g.flags|=134217728)):(typeof d.componentDidMount==="function"&&(g.flags|=4194308),(g.mode&H2)!==H0&&(g.flags|=134217728),g.memoizedProps=b,g.memoizedState=L),d.props=b,d.state=L,d.context=a,d=x):(typeof d.componentDidMount==="function"&&(g.flags|=4194308),(g.mode&H2)!==H0&&(g.flags|=134217728),d=!1)}else{d=g.stateNode,m6(w,g),a=g.memoizedProps,G=Vv(v,a),d.props=G,X=g.pendingProps,J=d.context,L=v.contextType,x=gv,typeof L==="object"&&L!==null&&(x=Uw(L)),M=v.getDerivedStateFromProps,(L=typeof M==="function"||typeof d.getSnapshotBeforeUpdate==="function")||typeof d.UNSAFE_componentWillReceiveProps!=="function"&&typeof d.componentWillReceiveProps!=="function"||(a!==X||J!==x)&&rz(g,d,b,x),zv=!1,J=g.memoizedState,d.state=J,eb(g,b,d,r),sb();var K=g.memoizedState;a!==X||J!==K||zv||w!==null&&w.dependencies!==null&&T4(w.dependencies)?(typeof M==="function"&&(Z8(g,v,M,b),K=g.memoizedState),(G=zv||bz(g,v,G,b,J,K,x)||w!==null&&w.dependencies!==null&&T4(w.dependencies))?(L||typeof d.UNSAFE_componentWillUpdate!=="function"&&typeof d.componentWillUpdate!=="function"||(typeof d.componentWillUpdate==="function"&&d.componentWillUpdate(b,K,x),typeof d.UNSAFE_componentWillUpdate==="function"&&d.UNSAFE_componentWillUpdate(b,K,x)),typeof d.componentDidUpdate==="function"&&(g.flags|=4),typeof d.getSnapshotBeforeUpdate==="function"&&(g.flags|=1024)):(typeof d.componentDidUpdate!=="function"||a===w.memoizedProps&&J===w.memoizedState||(g.flags|=4),typeof d.getSnapshotBeforeUpdate!=="function"||a===w.memoizedProps&&J===w.memoizedState||(g.flags|=1024),g.memoizedProps=b,g.memoizedState=K),d.props=b,d.state=K,d.context=x,d=G):(typeof d.componentDidUpdate!=="function"||a===w.memoizedProps&&J===w.memoizedState||(g.flags|=4),typeof d.getSnapshotBeforeUpdate!=="function"||a===w.memoizedProps&&J===w.memoizedState||(g.flags|=1024),d=!1)}if(x=d,ad(w,g),a=(g.flags&128)!==0,x||a){if(x=g.stateNode,S(g),a&&typeof v.getDerivedStateFromError!=="function")v=null,Y1=-1;else if(v=kX(x),g.mode&d1){Gw(!0);try{kX(x)}finally{Gw(!1)}}g.flags|=1,w!==null&&a?(g.child=b5(g,w.child,null,r),g.child=b5(g,null,v,r)):sw(w,g,v,r),g.memoizedState=x.state,w=g.child}else w=zg(w,g,r);return r=g.stateNode,d&&r.props!==b&&(Ub||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",j(g)||"a component"),Ub=!0),w}function Hz(w,g,v,b){return cv(),g.flags|=256,sw(w,g,v,b),g.child}function B8(w,g){g&&g.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
140
+ %s.childContextTypes = ...`,g.displayName||g.name||"Component"),typeof g.getDerivedStateFromProps==="function"&&(w=v0(g)||"Unknown",b_[w]||(console.error("%s: Function components do not support getDerivedStateFromProps.",w),b_[w]=!0)),typeof g.contextType==="object"&&g.contextType!==null&&(g=v0(g)||"Unknown",g_[g]||(console.error("%s: Function components do not support contextType.",g),g_[g]=!0))}function Q8(w){return{baseLanes:w,cachePool:B9()}}function H8(w,g,v){return w=w!==null?w.childLanes&~v:0,g&&(w|=A1),w}function Uz(w,g,v){var b,r=g.pendingProps;Q(g)&&(g.flags|=128);var d=!1,a=(g.flags&128)!==0;if((b=a)||(b=w!==null&&w.memoizedState===null?!1:(Kw.current&Dr)!==0),b&&(d=!0,g.flags&=-129),b=(g.flags&32)!==0,g.flags&=-33,w===null){if(o0){if(d?yg(g):Sg(g),(w=Qw)?(v=iG(w,d2),v=v!==null&&v.data!==X5?v:null,v!==null&&(b={dehydrated:v,treeContext:a9(),retryLane:536870912,hydrationErrors:null},g.memoizedState=b,b=r9(v),b.return=g,g.child=b,g1=g,Qw=null)):v=null,v===null)throw h4(g,w),fg(g);return p8(v)?g.lanes=32:g.lanes=536870912,null}var x=r.children;if(r=r.fallback,d){Sg(g);var G=g.mode;return x=xd({mode:"hidden",children:x},G),r=Cv(r,G,v,null),x.return=g,r.return=g,x.sibling=r,g.child=x,r=g.child,r.memoizedState=Q8(v),r.childLanes=H8(w,b,v),g.memoizedState=xx,br(null,r)}return yg(g),U8(g,x)}var X=w.memoizedState;if(X!==null){var M=X.dehydrated;if(M!==null){if(a)g.flags&256?(yg(g),g.flags&=-257,g=k8(w,g,v)):g.memoizedState!==null?(Sg(g),g.child=w.child,g.flags|=128,g=null):(Sg(g),x=r.fallback,G=g.mode,r=xd({mode:"visible",children:r.children},G),x=Cv(x,G,v,null),x.flags|=2,r.return=g,x.return=g,r.sibling=x,g.child=r,b5(g,w.child,null,v),r=g.child,r.memoizedState=Q8(v),r.childLanes=H8(w,b,v),g.memoizedState=xx,g=br(null,r));else if(yg(g),z9(),(v&536870912)!==0&&_d(g),p8(M)){if(b=M.nextSibling&&M.nextSibling.dataset,b){x=b.dgst;var L=b.msg;G=b.stck;var J=b.cstck}d=L,b=x,r=G,M=J,x=d,G=M,x=x?Error(x):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),x.stack=r||"",x.digest=b,b=G===void 0?null:G,r={value:x,source:null,stack:b},typeof b==="string"&&o3.set(x,r),jb(r),g=k8(w,g,v)}else if(Iw||R5(w,g,v,!1),b=(v&w.childLanes)!==0,Iw||b){if(b=zw,b!==null&&(r=Kv(b,v),r!==0&&r!==X.retryLane))throw X.retryLane=r,b1(w,r),lw(b,w,r),ax;n8(M)||Yd(),g=k8(w,g,v)}else n8(M)?(g.flags|=192,g.child=w.child,g=null):(w=X.treeContext,Qw=C1(M.nextSibling),g1=g,o0=!0,vv=null,u2=!1,o1=null,d2=!1,w!==null&&x9(g,w),g=U8(g,r.children),g.flags|=4096);return g}}if(d)return Sg(g),x=r.fallback,G=g.mode,J=w.child,M=J.sibling,r=rg(J,{mode:"hidden",children:r.children}),r.subtreeFlags=J.subtreeFlags&65011712,M!==null?x=rg(M,x):(x=Cv(x,G,v,null),x.flags|=2),x.return=g,r.return=g,r.sibling=x,g.child=r,br(null,r),r=g.child,x=w.child.memoizedState,x===null?x=Q8(v):(G=x.cachePool,G!==null?(J=hw._currentValue,G=G.parent!==J?{parent:J,pool:J}:G):G=B9(),x={baseLanes:x.baseLanes|v,cachePool:G}),r.memoizedState=x,r.childLanes=H8(w,b,v),g.memoizedState=xx,br(w.child,r);return X!==null&&(v&62914560)===v&&(v&w.lanes)!==0&&_d(g),yg(g),v=w.child,w=v.sibling,v=rg(v,{mode:"visible",children:r.children}),v.return=g,v.sibling=null,w!==null&&(b=g.deletions,b===null?(g.deletions=[w],g.flags|=16):b.push(w)),g.child=v,g.memoizedState=null,v}function U8(w,g){return g=xd({mode:"visible",children:g},w.mode),g.return=w,w.child=g}function xd(w,g){return w=R(22,w,null,g),w.lanes=0,w}function k8(w,g,v){return b5(g,w.child,null,v),w=U8(g,g.pendingProps.children),w.flags|=2,g.memoizedState=null,w}function kz(w,g,v){w.lanes|=g;var b=w.alternate;b!==null&&(b.lanes|=g),M6(w.return,g,v)}function J8(w,g,v,b,r,d){var a=w.memoizedState;a===null?w.memoizedState={isBackwards:g,rendering:null,renderingStartTime:0,last:b,tail:v,tailMode:r,treeForkCount:d}:(a.isBackwards=g,a.rendering=null,a.renderingStartTime=0,a.last=b,a.tail=v,a.tailMode=r,a.treeForkCount=d)}function Jz(w,g,v){var b=g.pendingProps,r=b.revealOrder,d=b.tail,a=b.children,x=Kw.current;if((b=(x&Dr)!==0)?(x=x&$b|Dr,g.flags|=128):x&=$b,l0(Kw,x,g),x=r==null?"null":r,r!=="forwards"&&r!=="unstable_legacy-backwards"&&r!=="together"&&r!=="independent"&&!r_[x])if(r_[x]=!0,r==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(r==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof r==="string")switch(r.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',r,r.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',r,r.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',r)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',r);if(x=d==null?"null":d,!da[x])if(d==null){if(r==="forwards"||r==="backwards"||r==="unstable_legacy-backwards")da[x]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else d!=="visible"&&d!=="collapsed"&&d!=="hidden"?(da[x]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',d)):r!=="forwards"&&r!=="backwards"&&r!=="unstable_legacy-backwards"&&(da[x]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',d));w:if((r==="forwards"||r==="backwards"||r==="unstable_legacy-backwards")&&a!==void 0&&a!==null&&a!==!1)if(ow(a)){for(x=0;x<a.length;x++)if(!M9(a[x],x))break w}else if(x=q0(a),typeof x==="function"){if(x=x.call(a))for(var G=x.next(),X=0;!G.done;G=x.next()){if(!M9(G.value,X))break w;X++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',r);if(sw(w,g,a,v),o0?(Cg(),a=hr):a=0,!b&&w!==null&&(w.flags&128)!==0)w:for(w=g.child;w!==null;){if(w.tag===13)w.memoizedState!==null&&kz(w,v,g);else if(w.tag===19)kz(w,v,g);else if(w.child!==null){w.child.return=w,w=w.child;continue}if(w===g)break w;for(;w.sibling===null;){if(w.return===null||w.return===g)break w;w=w.return}w.sibling.return=w.return,w=w.sibling}switch(r){case"forwards":v=g.child;for(r=null;v!==null;)w=v.alternate,w!==null&&E4(w)===null&&(r=v),v=v.sibling;v=r,v===null?(r=g.child,g.child=null):(r=v.sibling,v.sibling=null),J8(g,!1,r,v,d,a);break;case"backwards":case"unstable_legacy-backwards":v=null,r=g.child;for(g.child=null;r!==null;){if(w=r.alternate,w!==null&&E4(w)===null){g.child=r;break}w=r.sibling,r.sibling=v,v=r,r=w}J8(g,!0,v,null,d,a);break;case"together":J8(g,!1,null,null,void 0,a);break;default:g.memoizedState=null}return g.child}function zg(w,g,v){if(w!==null&&(g.dependencies=w.dependencies),Y1=-1,Xv|=g.lanes,(v&g.childLanes)===0)if(w!==null){if(R5(w,g,v,!1),(v&g.childLanes)===0)return null}else return null;if(w!==null&&g.child!==w.child)throw Error("Resuming work not yet implemented.");if(g.child!==null){w=g.child,v=rg(w,w.pendingProps),g.child=v;for(v.return=g;w.sibling!==null;)w=w.sibling,v=v.sibling=rg(w,w.pendingProps),v.return=g;v.sibling=null}return g.child}function W8(w,g){if((w.lanes&g)!==0)return!0;return w=w.dependencies,w!==null&&T4(w)?!0:!1}function lB(w,g,v){switch(g.tag){case 3:P(g,g.stateNode.containerInfo),cg(g,hw,w.memoizedState.cache),cv();break;case 27:case 5:Y0(g);break;case 4:P(g,g.stateNode.containerInfo);break;case 10:cg(g,g.type,g.memoizedProps.value);break;case 12:(v&g.childLanes)!==0&&(g.flags|=4),g.flags|=2048;var b=g.stateNode;b.effectDuration=-0,b.passiveEffectDuration=-0;break;case 31:if(g.memoizedState!==null)return g.flags|=128,C6(g),null;break;case 13:if(b=g.memoizedState,b!==null){if(b.dehydrated!==null)return yg(g),g.flags|=128,null;if((v&g.child.childLanes)!==0)return Uz(w,g,v);return yg(g),w=zg(w,g,v),w!==null?w.sibling:null}yg(g);break;case 19:var r=(w.flags&128)!==0;if(b=(v&g.childLanes)!==0,b||(R5(w,g,v,!1),b=(v&g.childLanes)!==0),r){if(b)return Jz(w,g,v);g.flags|=128}if(r=g.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),l0(Kw,Kw.current,g),b)break;else return null;case 22:return g.lanes=0,_z(w,g,v,g.pendingProps);case 24:cg(g,hw,w.memoizedState.cache)}return zg(w,g,v)}function q8(w,g,v){if(g._debugNeedsRemount&&w!==null){v=U6(g.type,g.key,g.pendingProps,g._debugOwner||null,g.mode,g.lanes),v._debugStack=g._debugStack,v._debugTask=g._debugTask;var b=g.return;if(b===null)throw Error("Cannot swap the root fiber.");if(w.alternate=null,g.alternate=null,v.index=g.index,v.sibling=g.sibling,v.return=g.return,v.ref=g.ref,v._debugInfo=g._debugInfo,g===b.child)b.child=v;else{var r=b.child;if(r===null)throw Error("Expected parent to have a child.");for(;r.sibling!==g;)if(r=r.sibling,r===null)throw Error("Expected to find the previous sibling.");r.sibling=v}return g=b.deletions,g===null?(b.deletions=[w],b.flags|=16):g.push(w),v.flags|=2,v}if(w!==null)if(w.memoizedProps!==g.pendingProps||g.type!==w.type)Iw=!0;else{if(!W8(w,v)&&(g.flags&128)===0)return Iw=!1,lB(w,g,v);Iw=(w.flags&131072)!==0?!0:!1}else{if(Iw=!1,b=o0)Cg(),b=(g.flags&1048576)!==0;b&&(b=g.index,Cg(),d9(g,hr,b))}switch(g.lanes=0,g.tag){case 16:w:if(b=g.pendingProps,w=ig(g.elementType),g.type=w,typeof w==="function")H6(w)?(b=Vv(w,b),g.tag=1,g.type=w=Iv(w),g=Qz(null,g,w,b,v)):(g.tag=0,B8(g,w),g.type=w=Iv(w),g=$8(null,g,w,b,v));else{if(w!==void 0&&w!==null){if(r=w.$$typeof,r===kr){g.tag=11,g.type=w=Q6(w),g=Gz(null,g,w,b,v);break w}else if(r===Od){g.tag=14,g=Zz(null,g,w,b,v);break w}}throw g="",w!==null&&typeof w==="object"&&w.$$typeof===f1&&(g=" Did you wrap a component in React.lazy() more than once?"),v=v0(w)||w,Error("Element type is invalid. Received a promise that resolves to: "+v+". Lazy element type must resolve to a class or function."+g)}return g;case 0:return $8(w,g,g.type,g.pendingProps,v);case 1:return b=g.type,r=Vv(b,g.pendingProps),Qz(w,g,b,r,v);case 3:w:{if(P(g,g.stateNode.containerInfo),w===null)throw Error("Should have a current fiber. This is a bug in React.");b=g.pendingProps;var d=g.memoizedState;r=d.element,m6(w,g),eb(g,b,null,v);var a=g.memoizedState;if(b=a.cache,cg(g,hw,b),b!==d.cache&&L6(g,[hw],v,!0),sb(),b=a.element,d.isDehydrated)if(d={element:b,isDehydrated:!1,cache:a.cache},g.updateQueue.baseState=d,g.memoizedState=d,g.flags&256){g=Hz(w,g,b,v);break w}else if(b!==r){r=R1(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),g),jb(r),g=Hz(w,g,b,v);break w}else{switch(w=g.stateNode.containerInfo,w.nodeType){case 9:w=w.body;break;default:w=w.nodeName==="HTML"?w.ownerDocument.body:w}Qw=C1(w.firstChild),g1=g,o0=!0,vv=null,u2=!1,o1=null,d2=!0,v=mX(g,null,b,v);for(g.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling}else{if(cv(),b===r){g=zg(w,g,v);break w}sw(w,g,b,v)}g=g.child}return g;case 26:return ad(w,g),w===null?(v=EG(g.type,null,g.pendingProps,null))?g.memoizedState=v:o0||(v=g.type,w=g.pendingProps,b=rw(ng.current),b=Hd(b).createElement(v),b[w1]=g,b[Z1]=w,ew(b,v,w),X0(b),g.stateNode=b):g.memoizedState=EG(g.type,w.memoizedProps,g.pendingProps,w.memoizedState),null;case 27:return Y0(g),w===null&&o0&&(b=rw(ng.current),r=y(),b=g.stateNode=SG(g.type,g.pendingProps,b,r,!1),u2||(r=RG(b,g.type,g.pendingProps,r),r!==null&&(fv(g,0).serverProps=r)),g1=g,d2=!0,r=Qw,Dg(g.type)?(Kx=r,Qw=C1(b.firstChild)):Qw=r),sw(w,g,g.pendingProps.children,v),ad(w,g),w===null&&(g.flags|=4194304),g.child;case 5:return w===null&&o0&&(d=y(),b=z6(g.type,d.ancestorInfo),r=Qw,(a=!r)||(a=XQ(r,g.type,g.pendingProps,d2),a!==null?(g.stateNode=a,u2||(d=RG(a,g.type,g.pendingProps,d),d!==null&&(fv(g,0).serverProps=d)),g1=g,Qw=C1(a.firstChild),d2=!1,d=!0):d=!1,a=!d),a&&(b&&h4(g,r),fg(g))),Y0(g),r=g.type,d=g.pendingProps,a=w!==null?w.memoizedProps:null,b=d.children,D8(r,d)?b=null:a!==null&&D8(r,a)&&(g.flags|=32),g.memoizedState!==null&&(r=c6(w,g,BB,null,null,v),X4._currentValue=r),ad(w,g),sw(w,g,b,v),g.child;case 6:return w===null&&o0&&(v=g.pendingProps,w=y(),b=w.ancestorInfo.current,v=b!=null?q4(v,b.tag,w.ancestorInfo.implicitRootScope):!0,w=Qw,(b=!w)||(b=_Q(w,g.pendingProps,d2),b!==null?(g.stateNode=b,g1=g,Qw=null,b=!0):b=!1,b=!b),b&&(v&&h4(g,w),fg(g))),null;case 13:return Uz(w,g,v);case 4:return P(g,g.stateNode.containerInfo),b=g.pendingProps,w===null?g.child=b5(g,null,b,v):sw(w,g,b,v),g.child;case 11:return Gz(w,g,g.type,g.pendingProps,v);case 7:return sw(w,g,g.pendingProps,v),g.child;case 8:return sw(w,g,g.pendingProps.children,v),g.child;case 12:return g.flags|=4,g.flags|=2048,b=g.stateNode,b.effectDuration=-0,b.passiveEffectDuration=-0,sw(w,g,g.pendingProps.children,v),g.child;case 10:return b=g.type,r=g.pendingProps,d=r.value,"value"in r||d_||(d_=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),cg(g,b,d),sw(w,g,r.children,v),g.child;case 9:return r=g.type._context,b=g.pendingProps.children,typeof b!=="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),iv(g),r=Uw(r),b=u3(b,r,void 0),g.flags|=1,sw(w,g,b,v),g.child;case 14:return Zz(w,g,g.type,g.pendingProps,v);case 15:return Xz(w,g,g.type,g.pendingProps,v);case 19:return Jz(w,g,v);case 31:return qB(w,g,v);case 22:return _z(w,g,v,g.pendingProps);case 24:return iv(g),b=Uw(hw),w===null?(r=K6(),r===null&&(r=zw,d=O6(),r.pooledCache=d,ov(d),d!==null&&(r.pooledCacheLanes|=v),r=d),g.memoizedState={parent:b,cache:r},h6(g),cg(g,hw,r)):((w.lanes&v)!==0&&(m6(w,g),eb(g,null,null,v),sb()),r=w.memoizedState,d=g.memoizedState,r.parent!==b?(r={parent:b,cache:b},g.memoizedState=r,g.lanes===0&&(g.memoizedState=g.updateQueue.baseState=r),cg(g,hw,b)):(b=d.cache,cg(g,hw,b),b!==r.cache&&L6(g,[hw],v,!0))),sw(w,g,g.pendingProps.children,v),g.child;case 29:throw g.pendingProps}throw Error("Unknown unit of work tag ("+g.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Gg(w){w.flags|=4}function l8(w,g,v,b,r){if(g=(w.mode&SH)!==H0)g=!1;if(g){if(w.flags|=16777216,(r&335544128)===r)if(w.stateNode.complete)w.flags|=8192;else if(ez())w.flags|=8192;else throw v5=ed,p3}else w.flags&=-16777217}function Wz(w,g){if(g.type!=="stylesheet"||(g.state.loading&Z2)!==$5)w.flags&=-16777217;else if(w.flags|=16777216,!pG(g))if(ez())w.flags|=8192;else throw v5=ed,p3}function zd(w,g){g!==null&&(w.flags|=4),w.flags&16384&&(g=w.tag!==22?M5():536870912,w.lanes|=g,z5|=g)}function rr(w,g){if(!o0)switch(w.tailMode){case"hidden":g=w.tail;for(var v=null;g!==null;)g.alternate!==null&&(v=g),g=g.sibling;v===null?w.tail=null:v.sibling=null;break;case"collapsed":v=w.tail;for(var b=null;v!==null;)v.alternate!==null&&(b=v),v=v.sibling;b===null?g||w.tail===null?w.tail=null:w.tail.sibling=null:b.sibling=null}}function Zw(w){var g=w.alternate!==null&&w.alternate.child===w.child,v=0,b=0;if(g)if((w.mode&K0)!==H0){for(var{selfBaseDuration:r,child:d}=w;d!==null;)v|=d.lanes|d.childLanes,b|=d.subtreeFlags&65011712,b|=d.flags&65011712,r+=d.treeBaseDuration,d=d.sibling;w.treeBaseDuration=r}else for(r=w.child;r!==null;)v|=r.lanes|r.childLanes,b|=r.subtreeFlags&65011712,b|=r.flags&65011712,r.return=w,r=r.sibling;else if((w.mode&K0)!==H0){r=w.actualDuration,d=w.selfBaseDuration;for(var a=w.child;a!==null;)v|=a.lanes|a.childLanes,b|=a.subtreeFlags,b|=a.flags,r+=a.actualDuration,d+=a.treeBaseDuration,a=a.sibling;w.actualDuration=r,w.treeBaseDuration=d}else for(r=w.child;r!==null;)v|=r.lanes|r.childLanes,b|=r.subtreeFlags,b|=r.flags,r.return=w,r=r.sibling;return w.subtreeFlags|=b,w.childLanes=v,g}function AB(w,g,v){var b=g.pendingProps;switch(q6(g),g.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zw(g),null;case 1:return Zw(g),null;case 3:if(v=g.stateNode,b=null,w!==null&&(b=w.memoizedState.cache),g.memoizedState.cache!==b&&(g.flags|=2048),ag(hw,g),e(g),v.pendingContext&&(v.context=v.pendingContext,v.pendingContext=null),w===null||w.child===null)K5(g)?(A6(),Gg(g)):w===null||w.memoizedState.isDehydrated&&(g.flags&256)===0||(g.flags|=1024,l6());return Zw(g),null;case 26:var{type:r,memoizedState:d}=g;return w===null?(Gg(g),d!==null?(Zw(g),Wz(g,d)):(Zw(g),l8(g,r,null,b,v))):d?d!==w.memoizedState?(Gg(g),Zw(g),Wz(g,d)):(Zw(g),g.flags&=-16777217):(w=w.memoizedProps,w!==b&&Gg(g),Zw(g),l8(g,r,w,b,v)),null;case 27:if(Q0(g),v=rw(ng.current),r=g.type,w!==null&&g.stateNode!=null)w.memoizedProps!==b&&Gg(g);else{if(!b){if(g.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Zw(g),null}w=y(),K5(g)?G9(g,w):(w=SG(r,b,v,w,!0),g.stateNode=w,Gg(g))}return Zw(g),null;case 5:if(Q0(g),r=g.type,w!==null&&g.stateNode!=null)w.memoizedProps!==b&&Gg(g);else{if(!b){if(g.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Zw(g),null}var a=y();if(K5(g))G9(g,a);else{switch(d=rw(ng.current),z6(r,a.ancestorInfo),a=a.context,d=Hd(d),a){case Lb:d=d.createElementNS(p5,r);break;case Ma:d=d.createElementNS(Td,r);break;default:switch(r){case"svg":d=d.createElementNS(p5,r);break;case"math":d=d.createElementNS(Td,r);break;case"script":d=d.createElement("div"),d.innerHTML="<script></script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof b.is==="string"?d.createElement("select",{is:b.is}):d.createElement("select"),b.multiple?d.multiple=!0:b.size&&(d.size=b.size);break;default:d=typeof b.is==="string"?d.createElement(r,{is:b.is}):d.createElement(r),r.indexOf("-")===-1&&(r!==r.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",r),Object.prototype.toString.call(d)!=="[object HTMLUnknownElement]"||B2.call(F_,r)||(F_[r]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",r)))}}d[w1]=g,d[Z1]=b;w:for(a=g.child;a!==null;){if(a.tag===5||a.tag===6)d.appendChild(a.stateNode);else if(a.tag!==4&&a.tag!==27&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===g)break w;for(;a.sibling===null;){if(a.return===null||a.return===g)break w;a=a.return}a.sibling.return=a.return,a=a.sibling}g.stateNode=d;w:switch(ew(d,r,b),r){case"button":case"input":case"select":case"textarea":b=!!b.autoFocus;break w;case"img":b=!0;break w;default:b=!1}b&&Gg(g)}}return Zw(g),l8(g,g.type,w===null?null:w.memoizedProps,g.pendingProps,v),null;case 6:if(w&&g.stateNode!=null)w.memoizedProps!==b&&Gg(g);else{if(typeof b!=="string"&&g.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(w=rw(ng.current),v=y(),K5(g)){if(w=g.stateNode,v=g.memoizedProps,r=!u2,b=null,d=g1,d!==null)switch(d.tag){case 3:r&&(r=PG(w,v,b),r!==null&&(fv(g,0).serverProps=r));break;case 27:case 5:b=d.memoizedProps,r&&(r=PG(w,v,b),r!==null&&(fv(g,0).serverProps=r))}w[w1]=g,w=w.nodeValue===v||b!==null&&b.suppressHydrationWarning===!0||LG(w.nodeValue,v)?!0:!1,w||fg(g,!0)}else r=v.ancestorInfo.current,r!=null&&q4(b,r.tag,v.ancestorInfo.implicitRootScope),w=Hd(w).createTextNode(b),w[w1]=g,g.stateNode=w}return Zw(g),null;case 31:if(v=g.memoizedState,w===null||w.memoizedState!==null){if(b=K5(g),v!==null){if(w===null){if(!b)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(w=g.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");w[w1]=g,Zw(g),(g.mode&K0)!==H0&&v!==null&&(w=g.child,w!==null&&(g.treeBaseDuration-=w.treeBaseDuration))}else A6(),cv(),(g.flags&128)===0&&(v=g.memoizedState=null),g.flags|=4,Zw(g),(g.mode&K0)!==H0&&v!==null&&(w=g.child,w!==null&&(g.treeBaseDuration-=w.treeBaseDuration));w=!1}else v=l6(),w!==null&&w.memoizedState!==null&&(w.memoizedState.hydrationErrors=v),w=!0;if(!w){if(g.flags&256)return T1(g),g;return T1(g),null}if((g.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Zw(g),null;case 13:if(b=g.memoizedState,w===null||w.memoizedState!==null&&w.memoizedState.dehydrated!==null){if(r=b,d=K5(g),r!==null&&r.dehydrated!==null){if(w===null){if(!d)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(d=g.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");d[w1]=g,Zw(g),(g.mode&K0)!==H0&&r!==null&&(r=g.child,r!==null&&(g.treeBaseDuration-=r.treeBaseDuration))}else A6(),cv(),(g.flags&128)===0&&(r=g.memoizedState=null),g.flags|=4,Zw(g),(g.mode&K0)!==H0&&r!==null&&(r=g.child,r!==null&&(g.treeBaseDuration-=r.treeBaseDuration));r=!1}else r=l6(),w!==null&&w.memoizedState!==null&&(w.memoizedState.hydrationErrors=r),r=!0;if(!r){if(g.flags&256)return T1(g),g;return T1(g),null}}if(T1(g),(g.flags&128)!==0)return g.lanes=v,(g.mode&K0)!==H0&&nb(g),g;return v=b!==null,w=w!==null&&w.memoizedState!==null,v&&(b=g.child,r=null,b.alternate!==null&&b.alternate.memoizedState!==null&&b.alternate.memoizedState.cachePool!==null&&(r=b.alternate.memoizedState.cachePool.pool),d=null,b.memoizedState!==null&&b.memoizedState.cachePool!==null&&(d=b.memoizedState.cachePool.pool),d!==r&&(b.flags|=2048)),v!==w&&v&&(g.child.flags|=8192),zd(g,g.updateQueue),Zw(g),(g.mode&K0)!==H0&&v&&(w=g.child,w!==null&&(g.treeBaseDuration-=w.treeBaseDuration)),null;case 4:return e(g),w===null&&o8(g.stateNode.containerInfo),Zw(g),null;case 10:return ag(g.type,g),Zw(g),null;case 19:if(O0(Kw,g),b=g.memoizedState,b===null)return Zw(g),null;if(r=(g.flags&128)!==0,d=b.rendering,d===null)if(r)rr(b,!1);else{if(qw!==Ag||w!==null&&(w.flags&128)!==0)for(w=g.child;w!==null;){if(d=E4(w),d!==null){g.flags|=128,rr(b,!1),w=d.updateQueue,g.updateQueue=w,zd(g,w),g.subtreeFlags=0,w=v;for(v=g.child;v!==null;)b9(v,w),v=v.sibling;return l0(Kw,Kw.current&$b|Dr,g),o0&&dg(g,b.treeForkCount),g.child}w=w.sibling}b.tail!==null&&Ew()>_a&&(g.flags|=128,r=!0,rr(b,!1),g.lanes=4194304)}else{if(!r)if(w=E4(d),w!==null){if(g.flags|=128,r=!0,w=w.updateQueue,g.updateQueue=w,zd(g,w),rr(b,!0),b.tail===null&&b.tailMode==="hidden"&&!d.alternate&&!o0)return Zw(g),null}else 2*Ew()-b.renderingStartTime>_a&&v!==536870912&&(g.flags|=128,r=!0,rr(b,!1),g.lanes=4194304);b.isBackwards?(d.sibling=g.child,g.child=d):(w=b.last,w!==null?w.sibling=d:g.child=d,b.last=d)}if(b.tail!==null)return w=b.tail,b.rendering=w,b.tail=w.sibling,b.renderingStartTime=Ew(),w.sibling=null,v=Kw.current,v=r?v&$b|Dr:v&$b,l0(Kw,v,g),o0&&dg(g,b.treeForkCount),w;return Zw(g),null;case 22:case 23:return T1(g),I6(g),b=g.memoizedState!==null,w!==null?w.memoizedState!==null!==b&&(g.flags|=8192):b&&(g.flags|=8192),b?(v&536870912)!==0&&(g.flags&128)===0&&(Zw(g),g.subtreeFlags&6&&(g.flags|=8192)):Zw(g),v=g.updateQueue,v!==null&&zd(g,v.retryQueue),v=null,w!==null&&w.memoizedState!==null&&w.memoizedState.cachePool!==null&&(v=w.memoizedState.cachePool.pool),b=null,g.memoizedState!==null&&g.memoizedState.cachePool!==null&&(b=g.memoizedState.cachePool.pool),b!==v&&(g.flags|=2048),w!==null&&O0(w5,g),null;case 24:return v=null,w!==null&&(v=w.memoizedState.cache),g.memoizedState.cache!==v&&(g.flags|=2048),ag(hw,g),Zw(g),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+g.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function MB(w,g){switch(q6(g),g.tag){case 1:return w=g.flags,w&65536?(g.flags=w&-65537|128,(g.mode&K0)!==H0&&nb(g),g):null;case 3:return ag(hw,g),e(g),w=g.flags,(w&65536)!==0&&(w&128)===0?(g.flags=w&-65537|128,g):null;case 26:case 27:case 5:return Q0(g),null;case 31:if(g.memoizedState!==null){if(T1(g),g.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");cv()}return w=g.flags,w&65536?(g.flags=w&-65537|128,(g.mode&K0)!==H0&&nb(g),g):null;case 13:if(T1(g),w=g.memoizedState,w!==null&&w.dehydrated!==null){if(g.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");cv()}return w=g.flags,w&65536?(g.flags=w&-65537|128,(g.mode&K0)!==H0&&nb(g),g):null;case 19:return O0(Kw,g),null;case 4:return e(g),null;case 10:return ag(g.type,g),null;case 22:case 23:return T1(g),I6(g),w!==null&&O0(w5,g),w=g.flags,w&65536?(g.flags=w&-65537|128,(g.mode&K0)!==H0&&nb(g),g):null;case 24:return ag(hw,g),null;case 25:return null;default:return null}}function qz(w,g){switch(q6(g),g.tag){case 3:ag(hw,g),e(g);break;case 26:case 27:case 5:Q0(g);break;case 4:e(g);break;case 31:g.memoizedState!==null&&T1(g);break;case 13:T1(g);break;case 19:O0(Kw,g);break;case 10:ag(g.type,g);break;case 22:case 23:T1(g),I6(g),w!==null&&O0(w5,g);break;case 24:ag(hw,g)}}function I2(w){return(w.mode&K0)!==H0}function lz(w,g){I2(w)?(T2(),dr(g,w),m2()):dr(g,w)}function A8(w,g,v){I2(w)?(T2(),C5(v,w,g),m2()):C5(v,w,g)}function dr(w,g){try{var v=g.updateQueue,b=v!==null?v.lastEffect:null;if(b!==null){var r=b.next;v=r;do{if((v.tag&w)===w&&(b=void 0,(w&$1)!==ga&&(lb=!0),b=w0(g,uH,v),(w&$1)!==ga&&(lb=!1),b!==void 0&&typeof b!=="function")){var d=void 0;d=(v.tag&y1)!==0?"useLayoutEffect":(v.tag&$1)!==0?"useInsertionEffect":"useEffect";var a=void 0;a=b===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof b.then==="function"?`
141
+
142
+ It looks like you wrote `+d+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
143
+
144
+ `+d+`(() => {
145
+ async function fetchData() {
146
+ // You can await here
147
+ const response = await MyAPI.getData(someId);
148
+ // ...
149
+ }
150
+ fetchData();
151
+ }, [someId]); // Or [] if effect doesn't need props or state
152
+
153
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+b,w0(g,function(x,G){console.error("%s must not return anything besides a function, which is used for clean-up.%s",x,G)},d,a)}v=v.next}while(v!==r)}}catch(x){t0(g,g.return,x)}}function C5(w,g,v){try{var b=g.updateQueue,r=b!==null?b.lastEffect:null;if(r!==null){var d=r.next;b=d;do{if((b.tag&w)===w){var a=b.inst,x=a.destroy;x!==void 0&&(a.destroy=void 0,(w&$1)!==ga&&(lb=!0),r=g,w0(r,nH,r,v,x),(w&$1)!==ga&&(lb=!1))}b=b.next}while(b!==d)}}catch(G){t0(g,g.return,G)}}function Az(w,g){I2(w)?(T2(),dr(g,w),m2()):dr(g,w)}function M8(w,g,v){I2(w)?(T2(),C5(v,w,g),m2()):C5(v,w,g)}function Mz(w){var g=w.updateQueue;if(g!==null){var v=w.stateNode;w.type.defaultProps||"ref"in w.memoizedProps||Ub||(v.props!==w.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(w)||"instance"),v.state!==w.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(w)||"instance"));try{w0(w,O9,g,v)}catch(b){t0(w,w.return,b)}}}function LB(w,g,v){return w.getSnapshotBeforeUpdate(g,v)}function OB(w,g){var{memoizedProps:v,memoizedState:b}=g;g=w.stateNode,w.type.defaultProps||"ref"in w.memoizedProps||Ub||(g.props!==w.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(w)||"instance"),g.state!==w.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(w)||"instance"));try{var r=Vv(w.type,v),d=w0(w,LB,g,r,b);v=a_,d!==void 0||v.has(w.type)||(v.add(w.type),w0(w,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",j(w))})),g.__reactInternalSnapshotBeforeUpdate=d}catch(a){t0(w,w.return,a)}}function Lz(w,g,v){v.props=Vv(w.type,w.memoizedProps),v.state=w.memoizedState,I2(w)?(T2(),w0(w,MX,w,g,v),m2()):w0(w,MX,w,g,v)}function NB(w){var g=w.ref;if(g!==null){switch(w.tag){case 26:case 27:case 5:var v=w.stateNode;break;case 30:v=w.stateNode;break;default:v=w.stateNode}if(typeof g==="function")if(I2(w))try{T2(),w.refCleanup=g(v)}finally{m2()}else w.refCleanup=g(v);else typeof g==="string"?console.error("String refs are no longer supported."):g.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",j(w)),g.current=v}}function ar(w,g){try{w0(w,NB,w)}catch(v){t0(w,g,v)}}function C2(w,g){var{ref:v,refCleanup:b}=w;if(v!==null)if(typeof b==="function")try{if(I2(w))try{T2(),w0(w,b)}finally{m2(w)}else w0(w,b)}catch(r){t0(w,g,r)}finally{w.refCleanup=null,w=w.alternate,w!=null&&(w.refCleanup=null)}else if(typeof v==="function")try{if(I2(w))try{T2(),w0(w,v,null)}finally{m2(w)}else w0(w,v,null)}catch(r){t0(w,g,r)}else v.current=null}function Oz(w,g,v,b){var r=w.memoizedProps,d=r.id,a=r.onCommit;r=r.onRender,g=g===null?"mount":"update",nd&&(g="nested-update"),typeof r==="function"&&r(d,g,w.actualDuration,w.treeBaseDuration,w.actualStartTime,v),typeof a==="function"&&a(d,g,b,v)}function FB(w,g,v,b){var r=w.memoizedProps;w=r.id,r=r.onPostCommit,g=g===null?"mount":"update",nd&&(g="nested-update"),typeof r==="function"&&r(w,g,b,v)}function Nz(w){var{type:g,memoizedProps:v,stateNode:b}=w;try{w0(w,eB,b,g,v,w)}catch(r){t0(w,w.return,r)}}function L8(w,g,v){try{w0(w,gQ,w.stateNode,w.type,v,g,w)}catch(b){t0(w,w.return,b)}}function Fz(w){return w.tag===5||w.tag===3||w.tag===26||w.tag===27&&Dg(w.type)||w.tag===4}function O8(w){w:for(;;){for(;w.sibling===null;){if(w.return===null||Fz(w.return))return null;w=w.return}w.sibling.return=w.return;for(w=w.sibling;w.tag!==5&&w.tag!==6&&w.tag!==18;){if(w.tag===27&&Dg(w.type))continue w;if(w.flags&2)continue w;if(w.child===null||w.tag===4)continue w;else w.child.return=w,w=w.child}if(!(w.flags&2))return w.stateNode}}function N8(w,g,v){var b=w.tag;if(b===5||b===6)w=w.stateNode,g?(CG(v),(v.nodeType===9?v.body:v.nodeName==="HTML"?v.ownerDocument.body:v).insertBefore(w,g)):(CG(v),g=v.nodeType===9?v.body:v.nodeName==="HTML"?v.ownerDocument.body:v,g.appendChild(w),v=v._reactRootContainer,v!==null&&v!==void 0||g.onclick!==null||(g.onclick=bg));else if(b!==4&&(b===27&&Dg(w.type)&&(v=w.stateNode,g=null),w=w.child,w!==null))for(N8(w,g,v),w=w.sibling;w!==null;)N8(w,g,v),w=w.sibling}function Gd(w,g,v){var b=w.tag;if(b===5||b===6)w=w.stateNode,g?v.insertBefore(w,g):v.appendChild(w);else if(b!==4&&(b===27&&Dg(w.type)&&(v=w.stateNode),w=w.child,w!==null))for(Gd(w,g,v),w=w.sibling;w!==null;)Gd(w,g,v),w=w.sibling}function KB(w){for(var g,v=w.return;v!==null;){if(Fz(v)){g=v;break}v=v.return}if(g==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(g.tag){case 27:g=g.stateNode,v=O8(w),Gd(w,v,g);break;case 5:v=g.stateNode,g.flags&32&&(IG(v),g.flags&=-33),g=O8(w),Gd(w,g,v);break;case 3:case 4:g=g.stateNode.containerInfo,v=O8(w),N8(w,v,g);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Kz(w){var{stateNode:g,memoizedProps:v}=w;try{w0(w,HQ,w.type,v,g,w)}catch(b){t0(w,w.return,b)}}function Rz(w,g){return g.tag===31?(g=g.memoizedState,w.memoizedState!==null&&g===null):g.tag===13?(w=w.memoizedState,g=g.memoizedState,w!==null&&w.dehydrated!==null&&(g===null||g.dehydrated===null)):g.tag===3?w.memoizedState.isDehydrated&&(g.flags&256)===0:!1}function RB(w,g){if(w=w.containerInfo,Ox=Fa,w=D7(w),X6(w)){if("selectionStart"in w)var v={start:w.selectionStart,end:w.selectionEnd};else w:{v=(v=w.ownerDocument)&&v.defaultView||window;var b=v.getSelection&&v.getSelection();if(b&&b.rangeCount!==0){v=b.anchorNode;var{anchorOffset:r,focusNode:d}=b;b=b.focusOffset;try{v.nodeType,d.nodeType}catch(u){v=null;break w}var a=0,x=-1,G=-1,X=0,M=0,L=w,J=null;g:for(;;){for(var K;;){if(L!==v||r!==0&&L.nodeType!==3||(x=a+r),L!==d||b!==0&&L.nodeType!==3||(G=a+b),L.nodeType===3&&(a+=L.nodeValue.length),(K=L.firstChild)===null)break;J=L,L=K}for(;;){if(L===w)break g;if(J===v&&++X===r&&(x=a),J===d&&++M===b&&(G=a),(K=L.nextSibling)!==null)break;L=J,J=L.parentNode}L=K}v=x===-1||G===-1?null:{start:x,end:G}}else v=null}v=v||{start:0,end:0}}else v=null;Nx={focusedElem:w,selectionRange:v},Fa=!1;for(Dw=g;Dw!==null;)if(g=Dw,w=g.child,(g.subtreeFlags&1028)!==0&&w!==null)w.return=g,Dw=w;else for(;Dw!==null;){switch(w=g=Dw,v=w.alternate,r=w.flags,w.tag){case 0:if((r&4)!==0&&(w=w.updateQueue,w=w!==null?w.events:null,w!==null))for(v=0;v<w.length;v++)r=w[v],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:(r&1024)!==0&&v!==null&&OB(w,v);break;case 3:if((r&1024)!==0){if(w=w.stateNode.containerInfo,v=w.nodeType,v===9)u8(w);else if(v===1)switch(w.nodeName){case"HEAD":case"HTML":case"BODY":u8(w);break;default:w.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(w=g.sibling,w!==null){w.return=g.return,Dw=w;break}Dw=g.return}}function hz(w,g,v){var b=h1(),r=F2(),d=R2(),a=h2(),x=v.flags;switch(v.tag){case 0:case 11:case 15:f2(w,v),x&4&&lz(v,y1|z2);break;case 1:if(f2(w,v),x&4)if(w=v.stateNode,g===null)v.type.defaultProps||"ref"in v.memoizedProps||Ub||(w.props!==v.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(v)||"instance"),w.state!==v.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(v)||"instance")),I2(v)?(T2(),w0(v,n3,v,w),m2()):w0(v,n3,v,w);else{var G=Vv(v.type,g.memoizedProps);g=g.memoizedState,v.type.defaultProps||"ref"in v.memoizedProps||Ub||(w.props!==v.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(v)||"instance"),w.state!==v.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(v)||"instance")),I2(v)?(T2(),w0(v,qX,v,w,G,g,w.__reactInternalSnapshotBeforeUpdate),m2()):w0(v,qX,v,w,G,g,w.__reactInternalSnapshotBeforeUpdate)}x&64&&Mz(v),x&512&&ar(v,v.return);break;case 3:if(g=xg(),f2(w,v),x&64&&(x=v.updateQueue,x!==null)){if(G=null,v.child!==null)switch(v.child.tag){case 27:case 5:G=v.child.stateNode;break;case 1:G=v.child.stateNode}try{w0(v,O9,x,G)}catch(M){t0(v,v.return,M)}}w.effectDuration+=C4(g);break;case 27:g===null&&x&4&&Kz(v);case 26:case 5:if(f2(w,v),g===null){if(x&4)Nz(v);else if(x&64){w=v.type,g=v.memoizedProps,G=v.stateNode;try{w0(v,wQ,G,w,g,v)}catch(M){t0(v,v.return,M)}}}x&512&&ar(v,v.return);break;case 12:if(x&4){x=xg(),f2(w,v),w=v.stateNode,w.effectDuration+=ub(x);try{w0(v,Oz,v,g,bv,w.effectDuration)}catch(M){t0(v,v.return,M)}}else f2(w,v);break;case 31:f2(w,v),x&4&&Iz(w,v);break;case 13:f2(w,v),x&4&&Cz(w,v),x&64&&(w=v.memoizedState,w!==null&&(w=w.dehydrated,w!==null&&(x=oB.bind(null,v),YQ(w,x))));break;case 22:if(x=v.memoizedState!==null||lg,!x){g=g!==null&&g.memoizedState!==null||Cw,G=lg;var X=Cw;lg=x,(Cw=g)&&!X?(c2(w,v,(v.subtreeFlags&8772)!==0),(v.mode&K0)!==H0&&0<=_0&&0<=B0&&0.05<B0-_0&&L4(v,_0,B0)):f2(w,v),lg=G,Cw=X}break;case 30:break;default:f2(w,v)}(v.mode&K0)!==H0&&0<=_0&&0<=B0&&((Aw||0.05<Ww)&&O2(v,_0,B0,Ww,kw),v.alternate===null&&v.return!==null&&v.return.alternate!==null&&0.05<B0-_0&&(Rz(v.return.alternate,v.return)||L2(v,_0,B0,"Mount"))),m1(b),K2(r),kw=d,Aw=a}function mz(w){var g=w.alternate;g!==null&&(w.alternate=null,mz(g)),w.child=null,w.deletions=null,w.sibling=null,w.tag===5&&(g=w.stateNode,g!==null&&p(g)),w.stateNode=null,w._debugOwner=null,w.return=null,w.dependencies=null,w.memoizedProps=null,w.memoizedState=null,w.pendingProps=null,w.stateNode=null,w.updateQueue=null}function Zg(w,g,v){for(v=v.child;v!==null;)Tz(w,g,v),v=v.sibling}function Tz(w,g,v){if(r1&&typeof r1.onCommitFiberUnmount==="function")try{r1.onCommitFiberUnmount(u5,v)}catch(X){V2||(V2=!0,console.error("React instrumentation encountered an error: %o",X))}var b=h1(),r=F2(),d=R2(),a=h2();switch(v.tag){case 26:Cw||C2(v,g),Zg(w,g,v),v.memoizedState?v.memoizedState.count--:v.stateNode&&(w=v.stateNode,w.parentNode.removeChild(w));break;case 27:Cw||C2(v,g);var x=fw,G=q1;Dg(v.type)&&(fw=v.stateNode,q1=!1),Zg(w,g,v),w0(v,Br,v.stateNode),fw=x,q1=G;break;case 5:Cw||C2(v,g);case 6:if(x=fw,G=q1,fw=null,Zg(w,g,v),fw=x,q1=G,fw!==null)if(q1)try{w0(v,rQ,fw,v.stateNode)}catch(X){t0(v,g,X)}else try{w0(v,bQ,fw,v.stateNode)}catch(X){t0(v,g,X)}break;case 18:fw!==null&&(q1?(w=fw,fG(w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w,v.stateNode),V5(w)):fG(fw,v.stateNode));break;case 4:x=fw,G=q1,fw=v.stateNode.containerInfo,q1=!0,Zg(w,g,v),fw=x,q1=G;break;case 0:case 11:case 14:case 15:C5($1,v,g),Cw||A8(v,g,y1),Zg(w,g,v);break;case 1:Cw||(C2(v,g),x=v.stateNode,typeof x.componentWillUnmount==="function"&&Lz(v,g,x)),Zg(w,g,v);break;case 21:Zg(w,g,v);break;case 22:Cw=(x=Cw)||v.memoizedState!==null,Zg(w,g,v),Cw=x;break;default:Zg(w,g,v)}(v.mode&K0)!==H0&&0<=_0&&0<=B0&&(Aw||0.05<Ww)&&O2(v,_0,B0,Ww,kw),m1(b),K2(r),kw=d,Aw=a}function Iz(w,g){if(g.memoizedState===null&&(w=g.alternate,w!==null&&(w=w.memoizedState,w!==null))){w=w.dehydrated;try{w0(g,BQ,w)}catch(v){t0(g,g.return,v)}}}function Cz(w,g){if(g.memoizedState===null&&(w=g.alternate,w!==null&&(w=w.memoizedState,w!==null&&(w=w.dehydrated,w!==null))))try{w0(g,QQ,w)}catch(v){t0(g,g.return,v)}}function hB(w){switch(w.tag){case 31:case 13:case 19:var g=w.stateNode;return g===null&&(g=w.stateNode=new x_),g;case 22:return w=w.stateNode,g=w._retryCache,g===null&&(g=w._retryCache=new x_),g;default:throw Error("Unexpected Suspense handler tag ("+w.tag+"). This is a bug in React.")}}function Zd(w,g){var v=hB(w);g.forEach(function(b){if(!v.has(b)){if(v.add(b),E2)if(kb!==null&&Jb!==null)Zr(Jb,kb);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var r=PB.bind(null,w,b);b.then(r,r)}})}function J1(w,g){var v=g.deletions;if(v!==null)for(var b=0;b<v.length;b++){var r=w,d=g,a=v[b],x=h1(),G=d;w:for(;G!==null;){switch(G.tag){case 27:if(Dg(G.type)){fw=G.stateNode,q1=!1;break w}break;case 5:fw=G.stateNode,q1=!1;break w;case 3:case 4:fw=G.stateNode.containerInfo,q1=!0;break w}G=G.return}if(fw===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Tz(r,d,a),fw=null,q1=!1,(a.mode&K0)!==H0&&0<=_0&&0<=B0&&0.05<B0-_0&&L2(a,_0,B0,"Unmount"),m1(x),r=a,d=r.alternate,d!==null&&(d.return=null),r.return=null}if(g.subtreeFlags&13886)for(g=g.child;g!==null;)fz(g,w),g=g.sibling}function fz(w,g){var v=h1(),b=F2(),r=R2(),d=h2(),a=w.alternate,x=w.flags;switch(w.tag){case 0:case 11:case 14:case 15:J1(g,w),W1(w),x&4&&(C5($1|z2,w,w.return),dr($1|z2,w),A8(w,w.return,y1|z2));break;case 1:if(J1(g,w),W1(w),x&512&&(Cw||a===null||C2(a,a.return)),x&64&&lg&&(x=w.updateQueue,x!==null&&(a=x.callbacks,a!==null))){var G=x.shared.hiddenCallbacks;x.shared.hiddenCallbacks=G===null?a:G.concat(a)}break;case 26:if(G=J2,J1(g,w),W1(w),x&512&&(Cw||a===null||C2(a,a.return)),x&4){var X=a!==null?a.memoizedState:null;if(x=w.memoizedState,a===null)if(x===null)if(w.stateNode===null){w:{x=w.type,a=w.memoizedProps,G=G.ownerDocument||G;g:switch(x){case"title":if(X=G.getElementsByTagName("title")[0],!X||X[qr]||X[w1]||X.namespaceURI===p5||X.hasAttribute("itemprop"))X=G.createElement(x),G.head.insertBefore(X,G.querySelector("head > title"));ew(X,x,a),X[w1]=w,X0(X),x=X;break w;case"link":var M=uG("link","href",G).get(x+(a.href||""));if(M){for(var L=0;L<M.length;L++)if(X=M[L],X.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&X.getAttribute("rel")===(a.rel==null?null:a.rel)&&X.getAttribute("title")===(a.title==null?null:a.title)&&X.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){M.splice(L,1);break g}}X=G.createElement(x),ew(X,x,a),G.head.appendChild(X);break;case"meta":if(M=uG("meta","content",G).get(x+(a.content||""))){for(L=0;L<M.length;L++)if(X=M[L],dw(a.content,"content"),X.getAttribute("content")===(a.content==null?null:""+a.content)&&X.getAttribute("name")===(a.name==null?null:a.name)&&X.getAttribute("property")===(a.property==null?null:a.property)&&X.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&X.getAttribute("charset")===(a.charSet==null?null:a.charSet)){M.splice(L,1);break g}}X=G.createElement(x),ew(X,x,a),G.head.appendChild(X);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+x+'". This is a bug in React.')}X[w1]=w,X0(X),x=X}w.stateNode=x}else nG(G,w.type,w.stateNode);else w.stateNode=DG(G,x,w.memoizedProps);else X!==x?(X===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):X.count--,x===null?nG(G,w.type,w.stateNode):DG(G,x,w.memoizedProps)):x===null&&w.stateNode!==null&&L8(w,w.memoizedProps,a.memoizedProps)}break;case 27:J1(g,w),W1(w),x&512&&(Cw||a===null||C2(a,a.return)),a!==null&&x&4&&L8(w,w.memoizedProps,a.memoizedProps);break;case 5:if(J1(g,w),W1(w),x&512&&(Cw||a===null||C2(a,a.return)),w.flags&32){G=w.stateNode;try{w0(w,IG,G)}catch(s){t0(w,w.return,s)}}x&4&&w.stateNode!=null&&(G=w.memoizedProps,L8(w,G,a!==null?a.memoizedProps:G)),x&1024&&(zx=!0,w.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(J1(g,w),W1(w),x&4){if(w.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");x=w.memoizedProps,a=a!==null?a.memoizedProps:x,G=w.stateNode;try{w0(w,vQ,G,a,x)}catch(s){t0(w,w.return,s)}}break;case 3:if(G=xg(),La=null,X=J2,J2=Ud(g.containerInfo),J1(g,w),J2=X,W1(w),x&4&&a!==null&&a.memoizedState.isDehydrated)try{w0(w,$Q,g.containerInfo)}catch(s){t0(w,w.return,s)}zx&&(zx=!1,cz(w)),g.effectDuration+=C4(G);break;case 4:x=J2,J2=Ud(w.stateNode.containerInfo),J1(g,w),W1(w),J2=x;break;case 12:x=xg(),J1(g,w),W1(w),w.stateNode.effectDuration+=ub(x);break;case 31:J1(g,w),W1(w),x&4&&(x=w.updateQueue,x!==null&&(w.updateQueue=null,Zd(w,x)));break;case 13:J1(g,w),W1(w),w.child.flags&8192&&w.memoizedState!==null!==(a!==null&&a.memoizedState!==null)&&(Xa=Ew()),x&4&&(x=w.updateQueue,x!==null&&(w.updateQueue=null,Zd(w,x)));break;case 22:G=w.memoizedState!==null;var J=a!==null&&a.memoizedState!==null,K=lg,u=Cw;if(lg=K||G,Cw=u||J,J1(g,w),Cw=u,lg=K,J&&!G&&!K&&!u&&(w.mode&K0)!==H0&&0<=_0&&0<=B0&&0.05<B0-_0&&L4(w,_0,B0),W1(w),x&8192)w:for(g=w.stateNode,g._visibility=G?g._visibility&~Rr:g._visibility|Rr,!G||a===null||J||lg||Cw||(Ev(w),(w.mode&K0)!==H0&&0<=_0&&0<=B0&&0.05<B0-_0&&L2(w,_0,B0,"Disconnect")),a=null,g=w;;){if(g.tag===5||g.tag===26){if(a===null){J=a=g;try{X=J.stateNode,G?w0(J,aQ,X):w0(J,GQ,J.stateNode,J.memoizedProps)}catch(s){t0(J,J.return,s)}}}else if(g.tag===6){if(a===null){J=g;try{M=J.stateNode,G?w0(J,xQ,M):w0(J,ZQ,M,J.memoizedProps)}catch(s){t0(J,J.return,s)}}}else if(g.tag===18){if(a===null){J=g;try{L=J.stateNode,G?w0(J,dQ,L):w0(J,zQ,J.stateNode)}catch(s){t0(J,J.return,s)}}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===w)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===w)break w;for(;g.sibling===null;){if(g.return===null||g.return===w)break w;a===g&&(a=null),g=g.return}a===g&&(a=null),g.sibling.return=g.return,g=g.sibling}x&4&&(x=w.updateQueue,x!==null&&(a=x.retryQueue,a!==null&&(x.retryQueue=null,Zd(w,a))));break;case 19:J1(g,w),W1(w),x&4&&(x=w.updateQueue,x!==null&&(w.updateQueue=null,Zd(w,x)));break;case 30:break;case 21:break;default:J1(g,w),W1(w)}(w.mode&K0)!==H0&&0<=_0&&0<=B0&&((Aw||0.05<Ww)&&O2(w,_0,B0,Ww,kw),w.alternate===null&&w.return!==null&&w.return.alternate!==null&&0.05<B0-_0&&(Rz(w.return.alternate,w.return)||L2(w,_0,B0,"Mount"))),m1(v),K2(b),kw=r,Aw=d}function W1(w){var g=w.flags;if(g&2){try{w0(w,KB,w)}catch(v){t0(w,w.return,v)}w.flags&=-3}g&4096&&(w.flags&=-4097)}function cz(w){if(w.subtreeFlags&1024)for(w=w.child;w!==null;){var g=w;cz(g),g.tag===5&&g.flags&1024&&g.stateNode.reset(),w=w.sibling}}function f2(w,g){if(g.subtreeFlags&8772)for(g=g.child;g!==null;)hz(w,g.alternate,g),g=g.sibling}function iz(w){var g=h1(),v=F2(),b=R2(),r=h2();switch(w.tag){case 0:case 11:case 14:case 15:A8(w,w.return,y1),Ev(w);break;case 1:C2(w,w.return);var d=w.stateNode;typeof d.componentWillUnmount==="function"&&Lz(w,w.return,d),Ev(w);break;case 27:w0(w,Br,w.stateNode);case 26:case 5:C2(w,w.return),Ev(w);break;case 22:w.memoizedState===null&&Ev(w);break;case 30:Ev(w);break;default:Ev(w)}(w.mode&K0)!==H0&&0<=_0&&0<=B0&&(Aw||0.05<Ww)&&O2(w,_0,B0,Ww,kw),m1(g),K2(v),kw=b,Aw=r}function Ev(w){for(w=w.child;w!==null;)iz(w),w=w.sibling}function oz(w,g,v,b){var r=h1(),d=F2(),a=R2(),x=h2(),G=v.flags;switch(v.tag){case 0:case 11:case 15:c2(w,v,b),lz(v,y1);break;case 1:if(c2(w,v,b),g=v.stateNode,typeof g.componentDidMount==="function"&&w0(v,n3,v,g),g=v.updateQueue,g!==null){w=v.stateNode;try{w0(v,$B,g,w)}catch(X){t0(v,v.return,X)}}b&&G&64&&Mz(v),ar(v,v.return);break;case 27:Kz(v);case 26:case 5:c2(w,v,b),b&&g===null&&G&4&&Nz(v),ar(v,v.return);break;case 12:if(b&&G&4){G=xg(),c2(w,v,b),b=v.stateNode,b.effectDuration+=ub(G);try{w0(v,Oz,v,g,bv,b.effectDuration)}catch(X){t0(v,v.return,X)}}else c2(w,v,b);break;case 31:c2(w,v,b),b&&G&4&&Iz(w,v);break;case 13:c2(w,v,b),b&&G&4&&Cz(w,v);break;case 22:v.memoizedState===null&&c2(w,v,b),ar(v,v.return);break;case 30:break;default:c2(w,v,b)}(v.mode&K0)!==H0&&0<=_0&&0<=B0&&(Aw||0.05<Ww)&&O2(v,_0,B0,Ww,kw),m1(r),K2(d),kw=a,Aw=x}function c2(w,g,v){v=v&&(g.subtreeFlags&8772)!==0;for(g=g.child;g!==null;)oz(w,g.alternate,g,v),g=g.sibling}function F8(w,g){var v=null;w!==null&&w.memoizedState!==null&&w.memoizedState.cachePool!==null&&(v=w.memoizedState.cachePool.pool),w=null,g.memoizedState!==null&&g.memoizedState.cachePool!==null&&(w=g.memoizedState.cachePool.pool),w!==v&&(w!=null&&ov(w),v!=null&&Db(v))}function K8(w,g){w=null,g.alternate!==null&&(w=g.alternate.memoizedState.cache),g=g.memoizedState.cache,g!==w&&(ov(g),w!=null&&Db(w))}function $2(w,g,v,b,r){if(g.subtreeFlags&10256||g.actualDuration!==0&&(g.alternate===null||g.alternate.child!==g.child))for(g=g.child;g!==null;){var d=g.sibling;Pz(w,g,v,b,d!==null?d.actualStartTime:r),g=d}}function Pz(w,g,v,b,r){var d=h1(),a=F2(),x=R2(),G=h2(),X=eg,M=g.flags;switch(g.tag){case 0:case 11:case 15:(g.mode&K0)!==H0&&0<g.actualStartTime&&(g.flags&1)!==0&&O4(g,g.actualStartTime,r,Pw,v),$2(w,g,v,b,r),M&2048&&Az(g,B1|z2);break;case 1:(g.mode&K0)!==H0&&0<g.actualStartTime&&((g.flags&128)!==0?Y6(g,g.actualStartTime,r,[]):(g.flags&1)!==0&&O4(g,g.actualStartTime,r,Pw,v)),$2(w,g,v,b,r);break;case 3:var L=xg(),J=Pw;Pw=g.alternate!==null&&g.alternate.memoizedState.isDehydrated&&(g.flags&256)===0,$2(w,g,v,b,r),Pw=J,M&2048&&(v=null,g.alternate!==null&&(v=g.alternate.memoizedState.cache),b=g.memoizedState.cache,b!==v&&(ov(b),v!=null&&Db(v))),w.passiveEffectDuration+=C4(L);break;case 12:if(M&2048){M=xg(),$2(w,g,v,b,r),w=g.stateNode,w.passiveEffectDuration+=ub(M);try{w0(g,FB,g,g.alternate,bv,w.passiveEffectDuration)}catch(K){t0(g,g.return,K)}}else $2(w,g,v,b,r);break;case 31:M=Pw,L=g.alternate!==null?g.alternate.memoizedState:null,J=g.memoizedState,L!==null&&J===null?(J=g.deletions,J!==null&&0<J.length&&J[0].tag===18?(Pw=!1,L=L.hydrationErrors,L!==null&&Y6(g,g.actualStartTime,r,L)):Pw=!0):Pw=!1,$2(w,g,v,b,r),Pw=M;break;case 13:M=Pw,L=g.alternate!==null?g.alternate.memoizedState:null,J=g.memoizedState,L===null||L.dehydrated===null||J!==null&&J.dehydrated!==null?Pw=!1:(J=g.deletions,J!==null&&0<J.length&&J[0].tag===18?(Pw=!1,L=L.hydrationErrors,L!==null&&Y6(g,g.actualStartTime,r,L)):Pw=!0),$2(w,g,v,b,r),Pw=M;break;case 23:break;case 22:J=g.stateNode,L=g.alternate,g.memoizedState!==null?J._visibility&Yg?$2(w,g,v,b,r):xr(w,g,v,b,r):J._visibility&Yg?$2(w,g,v,b,r):(J._visibility|=Yg,f5(w,g,v,b,(g.subtreeFlags&10256)!==0||g.actualDuration!==0&&(g.alternate===null||g.alternate.child!==g.child),r),(g.mode&K0)===H0||Pw||(w=g.actualStartTime,0<=w&&0.05<r-w&&L4(g,w,r),0<=_0&&0<=B0&&0.05<B0-_0&&L4(g,_0,B0))),M&2048&&F8(L,g);break;case 24:$2(w,g,v,b,r),M&2048&&K8(g.alternate,g);break;default:$2(w,g,v,b,r)}if((g.mode&K0)!==H0){if(w=!Pw&&g.alternate===null&&g.return!==null&&g.return.alternate!==null)v=g.actualStartTime,0<=v&&0.05<r-v&&L2(g,v,r,"Mount");0<=_0&&0<=B0&&((Aw||0.05<Ww)&&O2(g,_0,B0,Ww,kw),w&&0.05<B0-_0&&L2(g,_0,B0,"Mount"))}m1(d),K2(a),kw=x,Aw=G,eg=X}function f5(w,g,v,b,r,d){r=r&&((g.subtreeFlags&10256)!==0||g.actualDuration!==0&&(g.alternate===null||g.alternate.child!==g.child));for(g=g.child;g!==null;){var a=g.sibling;yz(w,g,v,b,r,a!==null?a.actualStartTime:d),g=a}}function yz(w,g,v,b,r,d){var a=h1(),x=F2(),G=R2(),X=h2(),M=eg;r&&(g.mode&K0)!==H0&&0<g.actualStartTime&&(g.flags&1)!==0&&O4(g,g.actualStartTime,d,Pw,v);var L=g.flags;switch(g.tag){case 0:case 11:case 15:f5(w,g,v,b,r,d),Az(g,B1);break;case 23:break;case 22:var J=g.stateNode;g.memoizedState!==null?J._visibility&Yg?f5(w,g,v,b,r,d):xr(w,g,v,b,d):(J._visibility|=Yg,f5(w,g,v,b,r,d)),r&&L&2048&&F8(g.alternate,g);break;case 24:f5(w,g,v,b,r,d),r&&L&2048&&K8(g.alternate,g);break;default:f5(w,g,v,b,r,d)}(g.mode&K0)!==H0&&0<=_0&&0<=B0&&(Aw||0.05<Ww)&&O2(g,_0,B0,Ww,kw),m1(a),K2(x),kw=G,Aw=X,eg=M}function xr(w,g,v,b,r){if(g.subtreeFlags&10256||g.actualDuration!==0&&(g.alternate===null||g.alternate.child!==g.child))for(var d=g.child;d!==null;){g=d.sibling;var a=w,x=v,G=b,X=g!==null?g.actualStartTime:r,M=eg;(d.mode&K0)!==H0&&0<d.actualStartTime&&(d.flags&1)!==0&&O4(d,d.actualStartTime,X,Pw,x);var L=d.flags;switch(d.tag){case 22:xr(a,d,x,G,X),L&2048&&F8(d.alternate,d);break;case 24:xr(a,d,x,G,X),L&2048&&K8(d.alternate,d);break;default:xr(a,d,x,G,X)}eg=M,d=g}}function c5(w,g,v){if(w.subtreeFlags&tr)for(w=w.child;w!==null;)Sz(w,g,v),w=w.sibling}function Sz(w,g,v){switch(w.tag){case 26:c5(w,g,v),w.flags&tr&&w.memoizedState!==null&&JQ(v,J2,w.memoizedState,w.memoizedProps);break;case 5:c5(w,g,v);break;case 3:case 4:var b=J2;J2=Ud(w.stateNode.containerInfo),c5(w,g,v),J2=b;break;case 22:w.memoizedState===null&&(b=w.alternate,b!==null&&b.memoizedState!==null?(b=tr,tr=16777216,c5(w,g,v),tr=b):c5(w,g,v));break;default:c5(w,g,v)}}function Vz(w){var g=w.alternate;if(g!==null&&(w=g.child,w!==null)){g.child=null;do g=w.sibling,w.sibling=null,w=g;while(w!==null)}}function zr(w){var g=w.deletions;if((w.flags&16)!==0){if(g!==null)for(var v=0;v<g.length;v++){var b=g[v],r=h1();Dw=b,Dz(b,w),(b.mode&K0)!==H0&&0<=_0&&0<=B0&&0.05<B0-_0&&L2(b,_0,B0,"Unmount"),m1(r)}Vz(w)}if(w.subtreeFlags&10256)for(w=w.child;w!==null;)Ez(w),w=w.sibling}function Ez(w){var g=h1(),v=F2(),b=R2(),r=h2();switch(w.tag){case 0:case 11:case 15:zr(w),w.flags&2048&&M8(w,w.return,B1|z2);break;case 3:var d=xg();zr(w),w.stateNode.passiveEffectDuration+=C4(d);break;case 12:d=xg(),zr(w),w.stateNode.passiveEffectDuration+=ub(d);break;case 22:d=w.stateNode,w.memoizedState!==null&&d._visibility&Yg&&(w.return===null||w.return.tag!==13)?(d._visibility&=~Yg,Xd(w),(w.mode&K0)!==H0&&0<=_0&&0<=B0&&0.05<B0-_0&&L2(w,_0,B0,"Disconnect")):zr(w);break;default:zr(w)}(w.mode&K0)!==H0&&0<=_0&&0<=B0&&(Aw||0.05<Ww)&&O2(w,_0,B0,Ww,kw),m1(g),K2(v),Aw=r,kw=b}function Xd(w){var g=w.deletions;if((w.flags&16)!==0){if(g!==null)for(var v=0;v<g.length;v++){var b=g[v],r=h1();Dw=b,Dz(b,w),(b.mode&K0)!==H0&&0<=_0&&0<=B0&&0.05<B0-_0&&L2(b,_0,B0,"Unmount"),m1(r)}Vz(w)}for(w=w.child;w!==null;)jz(w),w=w.sibling}function jz(w){var g=h1(),v=F2(),b=R2(),r=h2();switch(w.tag){case 0:case 11:case 15:M8(w,w.return,B1),Xd(w);break;case 22:var d=w.stateNode;d._visibility&Yg&&(d._visibility&=~Yg,Xd(w));break;default:Xd(w)}(w.mode&K0)!==H0&&0<=_0&&0<=B0&&(Aw||0.05<Ww)&&O2(w,_0,B0,Ww,kw),m1(g),K2(v),Aw=r,kw=b}function Dz(w,g){for(;Dw!==null;){var v=Dw,b=v,r=g,d=h1(),a=F2(),x=R2(),G=h2();switch(b.tag){case 0:case 11:case 15:M8(b,r,B1);break;case 23:case 22:b.memoizedState!==null&&b.memoizedState.cachePool!==null&&(r=b.memoizedState.cachePool.pool,r!=null&&ov(r));break;case 24:Db(b.memoizedState.cache)}if((b.mode&K0)!==H0&&0<=_0&&0<=B0&&(Aw||0.05<Ww)&&O2(b,_0,B0,Ww,kw),m1(d),K2(a),Aw=G,kw=x,b=v.child,b!==null)b.return=v,Dw=b;else w:for(v=w;Dw!==null;){if(b=Dw,d=b.sibling,a=b.return,mz(b),b===v){Dw=null;break w}if(d!==null){d.return=a,Dw=d;break w}Dw=a}}}function mB(){wU.forEach(function(w){return w()})}function uz(){var w=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return w||m.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),w}function I1(w){if((j0&yw)!==uw&&h0!==0)return h0&-h0;var g=m.T;return g!==null?(g._updatedFibers||(g._updatedFibers=new Set),g._updatedFibers.add(w),c8()):O()}function nz(){if(A1===0)if((h0&536870912)===0||o0){var w=Kd;Kd<<=1,(Kd&3932160)===0&&(Kd=262144),A1=w}else A1=536870912;return w=P1.current,w!==null&&(w.flags|=32),A1}function lw(w,g,v){if(lb&&console.error("useInsertionEffect must not schedule updates."),kx&&(Ba=!0),w===zw&&(gw===a5||gw===x5)||w.cancelPendingCommit!==null)o5(w,0),Eg(w,h0,A1,!1);if(mg(w,v),(j0&yw)!==uw&&w===zw){if(S2)switch(g.tag){case 0:case 11:case 15:w=T0&&j(T0)||"Unknown",q_.has(w)||(q_.add(w),g=j(g)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",g,w,w));break;case 1:W_||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),W_=!0)}}else E2&&Cb(w,g,v),SB(g),w===zw&&((j0&yw)===uw&&(_v|=v),qw===Gv&&Eg(w,h0,A1,!1)),i2(w)}function pz(w,g,v){if((j0&(yw|S1))!==uw)throw Error("Should not already be working.");if(h0!==0&&T0!==null){var b=T0,r=Ew();switch($X){case w4:case a5:var d=fr;Bw&&((b=b._debugTask)?b.run(console.timeStamp.bind(console,"Suspended",d,r,w2,void 0,"primary-light")):console.timeStamp("Suspended",d,r,w2,void 0,"primary-light"));break;case x5:d=fr,Bw&&((b=b._debugTask)?b.run(console.timeStamp.bind(console,"Action",d,r,w2,void 0,"primary-light")):console.timeStamp("Action",d,r,w2,void 0,"primary-light"));break;default:Bw&&(b=r-fr,3>b||console.timeStamp("Blocked",fr,r,w2,void 0,5>b?"primary-light":10>b?"primary":100>b?"primary-dark":"error"))}}d=(v=!v&&(g&127)===0&&(g&w.expiredLanes)===0||Ov(w,g))?IB(w,g):h8(w,g,!0);var a=v;do{if(d===Ag){Wb&&!v&&Eg(w,g,0,!1),g=gw,fr=mw(),$X=g;break}else{if(b=Ew(),r=w.current.alternate,a&&!TB(r)){K1(g),r=jw,d=b,!Bw||d<=r||(Fw?Fw.run(console.timeStamp.bind(console,"Teared Render",r,d,i0,f0,"error")):console.timeStamp("Teared Render",r,d,i0,f0,"error")),jv(g,b),d=h8(w,g,!1),a=!1;continue}if(d===d5){if(a=g,w.errorRecoveryDisabledLanes&a)var x=0;else x=w.pendingLanes&-536870913,x=x!==0?x:x&536870912?536870912:0;if(x!==0){K1(g),$6(jw,b,g,Fw),jv(g,b),g=x;w:{b=w,d=a,a=v4;var G=b.current.memoizedState.isDehydrated;if(G&&(o5(b,x).flags|=256),x=h8(b,x,!1),x!==d5){if(Xx&&!G){b.errorRecoveryDisabledLanes|=d,_v|=d,d=Gv;break w}b=Q1,Q1=a,b!==null&&(Q1===null?Q1=b:Q1.push.apply(Q1,b))}d=x}if(a=!1,d!==d5)continue;else b=Ew()}}if(d===er){K1(g),$6(jw,b,g,Fw),jv(g,b),o5(w,0),Eg(w,g,0,!0);break}w:{switch(v=w,d){case Ag:case er:throw Error("Root did not complete. This is a bug in React.");case Gv:if((g&4194048)!==g)break;case xa:K1(g),p7(jw,b,g,Fw),jv(g,b),r=g,(r&127)!==0?jd=b:(r&4194048)!==0&&(Dd=b),Eg(v,g,A1,!Zv);break w;case d5:Q1=null;break;case aa:case z_:break;default:throw Error("Unknown root exit status.")}if(m.actQueue!==null)m8(v,r,g,Q1,b4,Za,A1,_v,z5,d,null,null,jw,b);else{if((g&62914560)===g&&(a=Xa+X_-Ew(),10<a)){if(Eg(v,g,A1,!Zv),Lv(v,0,!0)!==0)break w;W2=g,v.timeoutHandle=K_(tz.bind(null,v,r,Q1,b4,Za,g,A1,_v,z5,Zv,d,"Throttled",jw,b),a);break w}tz(v,r,Q1,b4,Za,g,A1,_v,z5,Zv,d,null,jw,b)}}}break}while(1);i2(w)}function tz(w,g,v,b,r,d,a,x,G,X,M,L,J,K){w.timeoutHandle=Y5;var u=g.subtreeFlags,s=null;if(u&8192||(u&16785408)===16785408){if(s={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:bg},Sz(g,d,s),u=(d&62914560)===d?Xa-Ew():(d&4194048)===d?Z_-Ew():0,u=WQ(s,u),u!==null){W2=d,w.cancelPendingCommit=u(m8.bind(null,w,g,d,v,b,r,a,x,G,M,s,s.waitingForViewTransition?"Waiting for the previous Animation":0<s.count?0<s.imgCount?"Suspended on CSS and Images":"Suspended on CSS":s.imgCount===1?"Suspended on an Image":0<s.imgCount?"Suspended on Images":null,J,K)),Eg(w,d,a,!X);return}}m8(w,g,d,v,b,r,a,x,G,M,s,L,J,K)}function TB(w){for(var g=w;;){var v=g.tag;if((v===0||v===11||v===15)&&g.flags&16384&&(v=g.updateQueue,v!==null&&(v=v.stores,v!==null)))for(var b=0;b<v.length;b++){var r=v[b],d=r.getSnapshot;r=r.value;try{if(!_1(d(),r))return!1}catch(a){return!1}}if(v=g.child,g.subtreeFlags&16384&&v!==null)v.return=g,g=v;else{if(g===w)break;for(;g.sibling===null;){if(g.return===null||g.return===w)return!0;g=g.return}g.sibling.return=g.return,g=g.sibling}}return!0}function Eg(w,g,v,b){g&=~_x,g&=~_v,w.suspendedLanes|=g,w.pingedLanes&=~g,b&&(w.warmLanes|=g),b=w.expirationTimes;for(var r=g;0<r;){var d=31-G1(r),a=1<<d;b[d]=-1,r&=~a}v!==0&&Nv(w,v,g)}function i5(){return(j0&(yw|S1))===uw?(Xr(0,!1),!1):!0}function R8(){if(T0!==null){if(gw===l1)var w=T0.return;else w=T0,m4(),y6(w),_b=null,jr=0,w=T0;for(;w!==null;)qz(w.alternate,w),w=w.return;T0=null}}function jv(w,g){(w&127)!==0&&(rv=g),(w&4194048)!==0&&(p2=g),(w&62914560)!==0&&(_X=g),(w&2080374784)!==0&&(YX=g)}function o5(w,g){Bw&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",f0,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",f0,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",f0,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",f0,"primary-light"));var v=jw;if(jw=mw(),h0!==0&&0<v){if(K1(h0),qw===aa||qw===Gv)p7(v,jw,g,Fw);else{var b=jw,r=Fw;if(Bw&&!(b<=v)){var d=(g&738197653)===g?"tertiary-dark":"primary-dark",a=(g&536870912)===g?"Prewarm":(g&201326741)===g?"Interrupted Hydration":"Interrupted Render";r?r.run(console.timeStamp.bind(console,a,v,b,i0,f0,d)):console.timeStamp(a,v,b,i0,f0,d)}}jv(h0,jw)}if(v=Fw,Fw=null,(g&127)!==0){Fw=Tr,r=0<=n2&&n2<rv?rv:n2,b=0<=tv&&tv<rv?rv:tv,d=0<=b?b:0<=r?r:jw,0<=jd?(K1(2),t7(jd,d,g,v)):(ud&127)!==0&&(K1(2),Eb(rv,d,kg)),v=r;var x=b,G=Ir,X=0<Gb,M=dv===mr,L=dv===Ed;if(r=jw,b=Tr,d=V3,a=E3,Bw){if(i0="Blocking",0<v?v>r&&(v=r):v=r,0<x?x>v&&(x=v):x=v,G!==null&&v>x){var J=X?"secondary-light":"warning";b?b.run(console.timeStamp.bind(console,X?"Consecutive":"Event: "+G,x,v,i0,f0,J)):console.timeStamp(X?"Consecutive":"Event: "+G,x,v,i0,f0,J)}r>v&&(x=M?"error":(g&738197653)===g?"tertiary-light":"primary-light",M=L?"Promise Resolved":M?"Cascading Update":5<r-v?"Update Blocked":"Update",L=[],a!=null&&L.push(["Component name",a]),d!=null&&L.push(["Method name",d]),v={start:v,end:r,detail:{devtools:{properties:L,track:i0,trackGroup:f0,color:x}}},b?b.run(performance.measure.bind(performance,M,v)):performance.measure(M,v))}n2=-1.1,dv=0,E3=V3=null,jd=-1.1,Gb=tv,tv=-1.1,rv=mw()}if((g&4194048)!==0&&(Fw=Cr,r=0<=Ug&&Ug<p2?p2:Ug,v=0<=a2&&a2<p2?p2:a2,b=0<=av&&av<p2?p2:av,d=0<=b?b:0<=v?v:jw,0<=Dd?(K1(256),t7(Dd,d,g,Fw)):(ud&4194048)!==0&&(K1(256),Eb(p2,d,kg)),L=b,x=sv,G=0<xv,X=j3===Ed,d=jw,b=Cr,a=ZX,M=XX,Bw&&(i0="Transition",0<v?v>d&&(v=d):v=d,0<r?r>v&&(r=v):r=v,0<L?L>r&&(L=r):L=r,r>L&&x!==null&&(J=G?"secondary-light":"warning",b?b.run(console.timeStamp.bind(console,G?"Consecutive":"Event: "+x,L,r,i0,f0,J)):console.timeStamp(G?"Consecutive":"Event: "+x,L,r,i0,f0,J)),v>r&&(b?b.run(console.timeStamp.bind(console,"Action",r,v,i0,f0,"primary-dark")):console.timeStamp("Action",r,v,i0,f0,"primary-dark")),d>v&&(r=X?"Promise Resolved":5<d-v?"Update Blocked":"Update",L=[],M!=null&&L.push(["Component name",M]),a!=null&&L.push(["Method name",a]),v={start:v,end:d,detail:{devtools:{properties:L,track:i0,trackGroup:f0,color:"primary-light"}}},b?b.run(performance.measure.bind(performance,r,v)):performance.measure(r,v))),a2=Ug=-1.1,j3=0,Dd=-1.1,xv=av,av=-1.1,p2=mw()),(g&62914560)!==0&&(ud&62914560)!==0&&(K1(4194304),Eb(_X,jw,kg)),(g&2080374784)!==0&&(ud&2080374784)!==0&&(K1(268435456),Eb(YX,jw,kg)),v=w.timeoutHandle,v!==Y5&&(w.timeoutHandle=Y5,YU(v)),v=w.cancelPendingCommit,v!==null&&(w.cancelPendingCommit=null,v()),W2=0,R8(),zw=w,T0=v=rg(w.current,null),h0=g,gw=l1,V1=null,Zv=!1,Wb=Ov(w,g),Xx=!1,qw=Ag,z5=A1=_x=_v=Xv=0,Q1=v4=null,Za=!1,(g&8)!==0&&(g|=g&32),b=w.entangledLanes,b!==0)for(w=w.entanglements,b&=g;0<b;)r=31-G1(b),d=1<<r,g|=w[r],b&=~d;return s2=g,N4(),w=rX(),1000<w-bX&&(m.recentlyCreatedOwnerStacks=0,bX=w),U2.discardPendingWarnings(),v}function sz(w,g){k0=null,m.H=pr,m.getCurrentStack=null,S2=!1,c1=null,g===Xb||g===sd?(g=k9(),gw=w4):g===p3?(g=k9(),gw=G_):gw=g===ax?Zx:g!==null&&typeof g==="object"&&typeof g.then==="function"?g4:za,V1=g;var v=T0;v===null?(qw=er,rd(w,R1(g,w.current))):v.mode&K0&&F6(v)}function ez(){var w=P1.current;return w===null?!0:(h0&4194048)===h0?x2===null?!0:!1:(h0&62914560)===h0||(h0&536870912)!==0?w===x2:!1}function wG(){var w=m.H;return m.H=pr,w===null?pr:w}function gG(){var w=m.A;return m.A=eH,w}function _d(w){Fw===null&&(Fw=w._debugTask==null?null:w._debugTask)}function Yd(){qw=Gv,Zv||(h0&4194048)!==h0&&P1.current!==null||(Wb=!0),(Xv&134217727)===0&&(_v&134217727)===0||zw===null||Eg(zw,h0,A1,!1)}function h8(w,g,v){var b=j0;j0|=yw;var r=wG(),d=gG();if(zw!==w||h0!==g){if(E2){var a=w.memoizedUpdaters;0<a.size&&(Zr(w,h0),a.clear()),Tg(w,g)}b4=null,o5(w,g)}g=!1,a=qw;w:do try{if(gw!==l1&&T0!==null){var x=T0,G=V1;switch(gw){case Zx:R8(),a=xa;break w;case w4:case a5:case x5:case g4:P1.current===null&&(g=!0);var X=gw;if(gw=l1,V1=null,P5(w,x,G,X),v&&Wb){a=Ag;break w}break;default:X=gw,gw=l1,V1=null,P5(w,x,G,X)}}vG(),a=qw;break}catch(M){sz(w,M)}while(1);return g&&w.shellSuspendCounter++,m4(),j0=b,m.H=r,m.A=d,T0===null&&(zw=null,h0=0,N4()),a}function vG(){for(;T0!==null;)bG(T0)}function IB(w,g){var v=j0;j0|=yw;var b=wG(),r=gG();if(zw!==w||h0!==g){if(E2){var d=w.memoizedUpdaters;0<d.size&&(Zr(w,h0),d.clear()),Tg(w,g)}b4=null,_a=Ew()+__,o5(w,g)}else Wb=Ov(w,g);w:do try{if(gw!==l1&&T0!==null)g:switch(g=T0,d=V1,gw){case za:gw=l1,V1=null,P5(w,g,d,za);break;case a5:case x5:if(H9(d)){gw=l1,V1=null,rG(g);break}g=function(){gw!==a5&&gw!==x5||zw!==w||(gw=Ga),i2(w)},d.then(g,g);break w;case w4:gw=Ga;break w;case G_:gw=Gx;break w;case Ga:H9(d)?(gw=l1,V1=null,rG(g)):(gw=l1,V1=null,P5(w,g,d,Ga));break;case Gx:var a=null;switch(T0.tag){case 26:a=T0.memoizedState;case 5:case 27:var x=T0;if(a?pG(a):x.stateNode.complete){gw=l1,V1=null;var G=x.sibling;if(G!==null)T0=G;else{var X=x.return;X!==null?(T0=X,$d(X)):T0=null}break g}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}gw=l1,V1=null,P5(w,g,d,Gx);break;case g4:gw=l1,V1=null,P5(w,g,d,g4);break;case Zx:R8(),qw=xa;break w;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}m.actQueue!==null?vG():CB();break}catch(M){sz(w,M)}while(1);if(m4(),m.H=b,m.A=r,j0=v,T0!==null)return Ag;return zw=null,h0=0,N4(),qw}function CB(){for(;T0!==null&&!TQ();)bG(T0)}function bG(w){var g=w.alternate;(w.mode&K0)!==H0?(N6(w),g=w0(w,q8,g,w,s2),F6(w)):g=w0(w,q8,g,w,s2),w.memoizedProps=w.pendingProps,g===null?$d(w):T0=g}function rG(w){var g=w0(w,fB,w);w.memoizedProps=w.pendingProps,g===null?$d(w):T0=g}function fB(w){var g=w.alternate,v=(w.mode&K0)!==H0;switch(v&&N6(w),w.tag){case 15:case 0:g=Bz(g,w,w.pendingProps,w.type,void 0,h0);break;case 11:g=Bz(g,w,w.pendingProps,w.type.render,w.ref,h0);break;case 5:y6(w);default:qz(g,w),w=T0=b9(w,s2),g=q8(g,w,s2)}return v&&F6(w),g}function P5(w,g,v,b){m4(),y6(g),_b=null,jr=0;var r=g.return;try{if(WB(w,r,g,v,h0)){qw=er,rd(w,R1(v,w.current)),T0=null;return}}catch(d){if(r!==null)throw T0=r,d;qw=er,rd(w,R1(v,w.current)),T0=null;return}if(g.flags&32768){if(o0||b===za)w=!0;else if(Wb||(h0&536870912)!==0)w=!1;else if(Zv=w=!0,b===a5||b===x5||b===w4||b===g4)b=P1.current,b!==null&&b.tag===13&&(b.flags|=16384);dG(g,w)}else $d(g)}function $d(w){var g=w;do{if((g.flags&32768)!==0){dG(g,Zv);return}var v=g.alternate;if(w=g.return,N6(g),v=w0(g,AB,v,g,s2),(g.mode&K0)!==H0&&_9(g),v!==null){T0=v;return}if(g=g.sibling,g!==null){T0=g;return}T0=g=w}while(g!==null);qw===Ag&&(qw=z_)}function dG(w,g){do{var v=MB(w.alternate,w);if(v!==null){v.flags&=32767,T0=v;return}if((w.mode&K0)!==H0){_9(w),v=w.actualDuration;for(var b=w.child;b!==null;)v+=b.actualDuration,b=b.sibling;w.actualDuration=v}if(v=w.return,v!==null&&(v.flags|=32768,v.subtreeFlags=0,v.deletions=null),!g&&(w=w.sibling,w!==null)){T0=w;return}T0=w=v}while(w!==null);qw=xa,T0=null}function m8(w,g,v,b,r,d,a,x,G,X,M,L,J,K){w.cancelPendingCommit=null;do Gr();while(cw!==$v);if(U2.flushLegacyContextWarning(),U2.flushPendingUnsafeLifecycleWarnings(),(j0&(yw|S1))!==uw)throw Error("Should not already be working.");if(K1(v),X===d5?$6(J,K,v,Fw):b!==null?zB(J,K,v,b,g!==null&&g.alternate!==null&&g.alternate.memoizedState.isDehydrated&&(g.flags&256)!==0,Fw):xB(J,K,v,Fw),g!==null){if(v===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),g===w.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(d=g.lanes|g.childLanes,d|=i3,H4(w,v,d,a,x,G),w===zw&&(T0=zw=null,h0=0),qb=g,Bv=w,W2=v,Bx=d,Hx=r,U_=b,Qx=K,k_=L,q2=Ya,J_=null,g.actualDuration!==0||(g.subtreeFlags&10256)!==0||(g.flags&10256)!==0?(w.callbackNode=null,w.callbackPriority=0,yB(D5,function(){return G4=window.event,q2===Ya&&(q2=$x),ZG(),null})):(w.callbackNode=null,w.callbackPriority=0),Hg=null,bv=mw(),L!==null&&GB(K,bv,L,Fw),b=(g.flags&13878)!==0,(g.subtreeFlags&13878)!==0||b){b=m.T,m.T=null,r=s0.p,s0.p=i1,a=j0,j0|=S1;try{RB(w,g,v)}finally{j0=a,s0.p=r,m.T=b}}cw=$_,aG(),xG(),zG()}}function aG(){if(cw===$_){cw=$v;var w=Bv,g=qb,v=W2,b=(g.flags&13878)!==0;if((g.subtreeFlags&13878)!==0||b){b=m.T,m.T=null;var r=s0.p;s0.p=i1;var d=j0;j0|=S1;try{kb=v,Jb=w,f4(),fz(g,w),Jb=kb=null,v=Nx;var a=D7(w.containerInfo),x=v.focusedElem,G=v.selectionRange;if(a!==x&&x&&x.ownerDocument&&j7(x.ownerDocument.documentElement,x)){if(G!==null&&X6(x)){var{start:X,end:M}=G;if(M===void 0&&(M=X),"selectionStart"in x)x.selectionStart=X,x.selectionEnd=Math.min(M,x.value.length);else{var L=x.ownerDocument||document,J=L&&L.defaultView||window;if(J.getSelection){var K=J.getSelection(),u=x.textContent.length,s=Math.min(G.start,u),Xw=G.end===void 0?s:Math.min(G.end,u);!K.extend&&s>Xw&&(a=Xw,Xw=s,s=a);var V0=E7(x,s),k=E7(x,Xw);if(V0&&k&&(K.rangeCount!==1||K.anchorNode!==V0.node||K.anchorOffset!==V0.offset||K.focusNode!==k.node||K.focusOffset!==k.offset)){var W=L.createRange();W.setStart(V0.node,V0.offset),K.removeAllRanges(),s>Xw?(K.addRange(W),K.extend(k.node,k.offset)):(W.setEnd(k.node,k.offset),K.addRange(W))}}}}L=[];for(K=x;K=K.parentNode;)K.nodeType===1&&L.push({element:K,left:K.scrollLeft,top:K.scrollTop});typeof x.focus==="function"&&x.focus();for(x=0;x<L.length;x++){var l=L[x];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}Fa=!!Ox,Nx=Ox=null}finally{j0=d,s0.p=r,m.T=b}}w.current=g,cw=B_}}function xG(){if(cw===B_){cw=$v;var w=J_;if(w!==null){bv=mw();var g=Qg,v=bv;!Bw||v<=g||(kg?kg.run(console.timeStamp.bind(console,w,g,v,i0,f0,"secondary-light")):console.timeStamp(w,g,v,i0,f0,"secondary-light"))}w=Bv,g=qb,v=W2;var b=(g.flags&8772)!==0;if((g.subtreeFlags&8772)!==0||b){b=m.T,m.T=null;var r=s0.p;s0.p=i1;var d=j0;j0|=S1;try{kb=v,Jb=w,f4(),hz(w,g.alternate,g),Jb=kb=null}finally{j0=d,s0.p=r,m.T=b}}w=Qx,g=k_,Qg=mw(),w=g===null?w:bv,g=Qg,v=q2===Yx,b=Fw,Hg!==null?s7(w,g,Hg,!1,b):!Bw||g<=w||(b?b.run(console.timeStamp.bind(console,v?"Commit Interrupted View Transition":"Commit",w,g,i0,f0,v?"error":"secondary-dark")):console.timeStamp(v?"Commit Interrupted View Transition":"Commit",w,g,i0,f0,v?"error":"secondary-dark")),cw=Q_}}function zG(){if(cw===H_||cw===Q_){if(cw===H_){var w=Qg;Qg=mw();var g=Qg,v=q2===Yx;!Bw||g<=w||(kg?kg.run(console.timeStamp.bind(console,v?"Interrupted View Transition":"Starting Animation",w,g,i0,f0,v?"error":"secondary-light")):console.timeStamp(v?"Interrupted View Transition":"Starting Animation",w,g,i0,f0,v?" error":"secondary-light")),q2!==Yx&&(q2=Y_)}cw=$v,IQ(),w=Bv;var b=qb;g=W2,v=U_;var r=b.actualDuration!==0||(b.subtreeFlags&10256)!==0||(b.flags&10256)!==0;r?cw=$a:(cw=$v,qb=Bv=null,GG(w,w.pendingLanes),G5=0,d4=null);var d=w.pendingLanes;if(d===0&&(Yv=null),r||$G(w),d=_(g),b=b.stateNode,r1&&typeof r1.onCommitFiberRoot==="function")try{var a=(b.current.flags&128)===128;switch(d){case i1:var x=H3;break;case Q2:x=U3;break;case j2:x=D5;break;case hd:x=k3;break;default:x=D5}r1.onCommitFiberRoot(u5,b,x,a)}catch(L){V2||(V2=!0,console.error("React instrumentation encountered an error: %o",L))}if(E2&&w.memoizedUpdaters.clear(),mB(),v!==null){a=m.T,x=s0.p,s0.p=i1,m.T=null;try{var G=w.onRecoverableError;for(b=0;b<v.length;b++){var X=v[b],M=cB(X.stack);w0(X.source,G,X.value,M)}}finally{m.T=a,s0.p=x}}(W2&3)!==0&&Gr(),i2(w),d=w.pendingLanes,(g&261930)!==0&&(d&42)!==0?(pd=!0,w===Ux?r4++:(r4=0,Ux=w)):r4=0,r||jv(g,Qg),Xr(0,!1)}}function cB(w){return w={componentStack:w},Object.defineProperty(w,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),w}function GG(w,g){(w.pooledCacheLanes&=g)===0&&(g=w.pooledCache,g!=null&&(w.pooledCache=null,Db(g)))}function Gr(){return aG(),xG(),zG(),ZG()}function ZG(){if(cw!==$a)return!1;var w=Bv,g=Bx;Bx=0;var v=_(W2),b=j2===0||j2>v?j2:v;v=m.T;var r=s0.p;try{s0.p=b,m.T=null;var d=Hx;Hx=null,b=Bv;var a=W2;if(cw=$v,qb=Bv=null,W2=0,(j0&(yw|S1))!==uw)throw Error("Cannot flush passive effects while already rendering.");K1(a),kx=!0,Ba=!1;var x=0;if(Hg=null,x=Ew(),q2===Y_)Eb(Qg,x,kg);else{var G=Qg,X=x,M=q2===$x;!Bw||X<=G||(Fw?Fw.run(console.timeStamp.bind(console,M?"Waiting for Paint":"Waiting",G,X,i0,f0,"secondary-light")):console.timeStamp(M?"Waiting for Paint":"Waiting",G,X,i0,f0,"secondary-light"))}G=j0,j0|=S1;var L=b.current;f4(),Ez(L);var J=b.current;L=Qx,f4(),Pz(b,J,a,d,L),$G(b),j0=G;var K=Ew();if(J=x,L=Fw,Hg!==null?s7(J,K,Hg,!0,L):!Bw||K<=J||(L?L.run(console.timeStamp.bind(console,"Remaining Effects",J,K,i0,f0,"secondary-dark")):console.timeStamp("Remaining Effects",J,K,i0,f0,"secondary-dark")),jv(a,K),Xr(0,!1),Ba?b===d4?G5++:(G5=0,d4=b):G5=0,Ba=kx=!1,r1&&typeof r1.onPostCommitFiberRoot==="function")try{r1.onPostCommitFiberRoot(u5,b)}catch(s){V2||(V2=!0,console.error("React instrumentation encountered an error: %o",s))}var u=b.current.stateNode;return u.effectDuration=0,u.passiveEffectDuration=0,!0}finally{s0.p=r,m.T=v,GG(w,g)}}function XG(w,g,v){g=R1(v,g),Y9(g),g=X8(w.stateNode,g,2),w=Pg(w,g,2),w!==null&&(mg(w,2),i2(w))}function t0(w,g,v){if(lb=!1,w.tag===3)XG(w,w,v);else{for(;g!==null;){if(g.tag===3){XG(g,w,v);return}if(g.tag===1){var b=g.stateNode;if(typeof g.type.getDerivedStateFromError==="function"||typeof b.componentDidCatch==="function"&&(Yv===null||!Yv.has(b))){w=R1(v,w),Y9(w),v=_8(2),b=Pg(g,v,2),b!==null&&(Y8(v,b,g,w),mg(b,2),i2(b));return}}g=g.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
154
+
155
+ Error message:
156
+
157
+ %s`,v)}}function T8(w,g,v){var b=w.pingCache;if(b===null){b=w.pingCache=new gU;var r=new Set;b.set(g,r)}else r=b.get(g),r===void 0&&(r=new Set,b.set(g,r));r.has(v)||(Xx=!0,r.add(v),b=iB.bind(null,w,g,v),E2&&Zr(w,v),g.then(b,b))}function iB(w,g,v){var b=w.pingCache;b!==null&&b.delete(g),w.pingedLanes|=w.suspendedLanes&v,w.warmLanes&=~v,(v&127)!==0?0>n2&&(rv=n2=mw(),Tr=Vd("Promise Resolved"),dv=Ed):(v&4194048)!==0&&0>a2&&(p2=a2=mw(),Cr=Vd("Promise Resolved"),j3=Ed),uz()&&m.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
158
+
159
+ When testing, code that resolves suspended data should be wrapped into act(...):
160
+
161
+ act(() => {
162
+ /* finish loading suspended data */
163
+ });
164
+ /* assert on the output */
165
+
166
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),zw===w&&(h0&v)===v&&(qw===Gv||qw===aa&&(h0&62914560)===h0&&Ew()-Xa<X_?(j0&yw)===uw&&o5(w,0):_x|=v,z5===h0&&(z5=0)),i2(w)}function _G(w,g){g===0&&(g=M5()),w=b1(w,g),w!==null&&(mg(w,g),i2(w))}function oB(w){var g=w.memoizedState,v=0;g!==null&&(v=g.retryLane),_G(w,v)}function PB(w,g){var v=0;switch(w.tag){case 31:case 13:var{stateNode:b,memoizedState:r}=w;r!==null&&(v=r.retryLane);break;case 19:b=w.stateNode;break;case 22:b=w.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}b!==null&&b.delete(g),_G(w,v)}function I8(w,g,v){if((g.subtreeFlags&67117056)!==0)for(g=g.child;g!==null;){var b=w,r=g,d=r.type===Ld;d=v||d,r.tag!==22?r.flags&67108864?d&&w0(r,YG,b,r):I8(b,r,d):r.memoizedState===null&&(d&&r.flags&8192?w0(r,YG,b,r):r.subtreeFlags&67108864&&w0(r,I8,b,r,d)),g=g.sibling}}function YG(w,g){Gw(!0);try{iz(g),jz(g),oz(w,g.alternate,g,!1),yz(w,g,0,null,!1,0)}finally{Gw(!1)}}function $G(w){var g=!0;w.current.mode&(d1|H2)||(g=!1),I8(w,w.current,g)}function BG(w){if((j0&yw)===uw){var g=w.tag;if(g===3||g===1||g===0||g===11||g===14||g===15){if(g=j(w)||"ReactComponent",Qa!==null){if(Qa.has(g))return;Qa.add(g)}else Qa=new Set([g]);w0(w,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Zr(w,g){E2&&w.memoizedUpdaters.forEach(function(v){Cb(w,v,g)})}function yB(w,g){var v=m.actQueue;return v!==null?(v.push(g),rU):Q3(w,g)}function SB(w){uz()&&m.actQueue===null&&w0(w,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
167
+
168
+ When testing, code that causes React state updates should be wrapped into act(...):
169
+
170
+ act(() => {
171
+ /* fire events that update state */
172
+ });
173
+ /* assert on the output */
174
+
175
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,j(w))})}function i2(w){w!==Ab&&w.next===null&&(Ab===null?Ha=Ab=w:Ab=Ab.next=w),Ua=!0,m.actQueue!==null?Wx||(Wx=!0,kG()):Jx||(Jx=!0,kG())}function Xr(w,g){if(!qx&&Ua){qx=!0;do{var v=!1;for(var b=Ha;b!==null;){if(!g)if(w!==0){var r=b.pendingLanes;if(r===0)var d=0;else{var{suspendedLanes:a,pingedLanes:x}=b;d=(1<<31-G1(42|w)+1)-1,d&=r&~(a&~x),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(v=!0,UG(b,d))}else d=h0,d=Lv(b,b===zw?d:0,b.cancelPendingCommit!==null||b.timeoutHandle!==Y5),(d&3)===0||Ov(b,d)||(v=!0,UG(b,d));b=b.next}}while(v);qx=!1}}function VB(){G4=window.event,C8()}function C8(){Ua=Wx=Jx=!1;var w=0;Qv!==0&&tB()&&(w=Qv);for(var g=Ew(),v=null,b=Ha;b!==null;){var r=b.next,d=QG(b,g);if(d===0)b.next=null,v===null?Ha=r:v.next=r,r===null&&(Ab=v);else if(v=b,w!==0||(d&3)!==0)Ua=!0;b=r}cw!==$v&&cw!==$a||Xr(w,!1),Qv!==0&&(Qv=0)}function QG(w,g){for(var{suspendedLanes:v,pingedLanes:b,expirationTimes:r}=w,d=w.pendingLanes&-62914561;0<d;){var a=31-G1(d),x=1<<a,G=r[a];if(G===-1){if((x&v)===0||(x&b)!==0)r[a]=w6(x,g)}else G<=g&&(w.expiredLanes|=x);d&=~x}if(g=zw,v=h0,v=Lv(w,w===g?v:0,w.cancelPendingCommit!==null||w.timeoutHandle!==Y5),b=w.callbackNode,v===0||w===g&&(gw===a5||gw===x5)||w.cancelPendingCommit!==null)return b!==null&&f8(b),w.callbackNode=null,w.callbackPriority=0;if((v&3)===0||Ov(w,v)){if(g=v&-v,g!==w.callbackPriority||m.actQueue!==null&&b!==lx)f8(b);else return g;switch(_(v)){case i1:case Q2:v=U3;break;case j2:v=D5;break;case hd:v=k3;break;default:v=D5}return b=HG.bind(null,w),m.actQueue!==null?(m.actQueue.push(b),v=lx):v=Q3(v,b),w.callbackPriority=g,w.callbackNode=v,g}return b!==null&&f8(b),w.callbackPriority=2,w.callbackNode=null,2}function HG(w,g){if(pd=nd=!1,G4=window.event,cw!==$v&&cw!==$a)return w.callbackNode=null,w.callbackPriority=0,null;var v=w.callbackNode;if(q2===Ya&&(q2=$x),Gr()&&w.callbackNode!==v)return null;var b=h0;if(b=Lv(w,w===zw?b:0,w.cancelPendingCommit!==null||w.timeoutHandle!==Y5),b===0)return null;return pz(w,b,g),QG(w,Ew()),w.callbackNode!=null&&w.callbackNode===v?HG.bind(null,w):null}function UG(w,g){if(Gr())return null;nd=pd,pd=!1,pz(w,g,!0)}function f8(w){w!==lx&&w!==null&&mQ(w)}function kG(){m.actQueue!==null&&m.actQueue.push(function(){return C8(),null}),$U(function(){(j0&(yw|S1))!==uw?Q3(H3,VB):C8()})}function c8(){if(Qv===0){var w=ev;w===0&&(w=Fd,Fd<<=1,(Fd&261888)===0&&(Fd=256)),Qv=w}return Qv}function JG(w){if(w==null||typeof w==="symbol"||typeof w==="boolean")return null;if(typeof w==="function")return w;return dw(w,"action"),yb(""+w)}function WG(w,g){var v=g.ownerDocument.createElement("input");return v.name=g.name,v.value=g.value,w.id&&v.setAttribute("form",w.id),g.parentNode.insertBefore(v,g),w=new FormData(w),v.parentNode.removeChild(v),w}function EB(w,g,v,b,r){if(g==="submit"&&v&&v.stateNode===r){var d=JG((r[Z1]||null).action),a=b.submitter;a&&(g=(g=a[Z1]||null)?JG(g.formAction):a.getAttribute("formAction"),g!==null&&(d=g,a=null));var x=new fd("action","action",null,b,r);w.push({event:x,listeners:[{instance:null,listener:function(){if(b.defaultPrevented){if(Qv!==0){var G=a?WG(r,a):new FormData(r),X={pending:!0,data:G,method:r.method,action:d};Object.freeze(X),r8(v,X,null,G)}}else typeof d==="function"&&(x.preventDefault(),G=a?WG(r,a):new FormData(r),X={pending:!0,data:G,method:r.method,action:d},Object.freeze(X),r8(v,X,d,G))},currentTarget:r}]})}}function Bd(w,g,v){w.currentTarget=v;try{g(w)}catch(b){I3(b)}w.currentTarget=null}function qG(w,g){g=(g&4)!==0;for(var v=0;v<w.length;v++){var b=w[v];w:{var r=void 0,d=b.event;if(b=b.listeners,g)for(var a=b.length-1;0<=a;a--){var x=b[a],G=x.instance,X=x.currentTarget;if(x=x.listener,G!==r&&d.isPropagationStopped())break w;G!==null?w0(G,Bd,d,x,X):Bd(d,x,X),r=G}else for(a=0;a<b.length;a++){if(x=b[a],G=x.instance,X=x.currentTarget,x=x.listener,G!==r&&d.isPropagationStopped())break w;G!==null?w0(G,Bd,d,x,X):Bd(d,x,X),r=G}}}}function S0(w,g){Ax.has(w)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',w);var v=g[J3];v===void 0&&(v=g[J3]=new Set);var b=w+"__bubble";v.has(b)||(lG(g,w,2,!1),v.add(b))}function i8(w,g,v){Ax.has(w)&&!g&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',w);var b=0;g&&(b|=4),lG(v,w,b,g)}function o8(w){if(!w[ka]){w[ka]=!0,kZ.forEach(function(v){v!=="selectionchange"&&(Ax.has(v)||i8(v,!1,w),i8(v,!0,w))});var g=w.nodeType===9?w:w.ownerDocument;g===null||g[ka]||(g[ka]=!0,i8("selectionchange",!1,g))}}function lG(w,g,v,b){switch(vZ(g)){case i1:var r=MQ;break;case Q2:r=LQ;break;default:r=v3}v=r.bind(null,g,v,w),r=void 0,!M3||g!=="touchstart"&&g!=="touchmove"&&g!=="wheel"||(r=!0),b?r!==void 0?w.addEventListener(g,v,{capture:!0,passive:r}):w.addEventListener(g,v,!0):r!==void 0?w.addEventListener(g,v,{passive:r}):w.addEventListener(g,v,!1)}function P8(w,g,v,b,r){var d=b;if((g&1)===0&&(g&2)===0&&b!==null)w:for(;;){if(b===null)return;var a=b.tag;if(a===3||a===4){var x=b.stateNode.containerInfo;if(x===r)break;if(a===4)for(a=b.return;a!==null;){var G=a.tag;if((G===3||G===4)&&a.stateNode.containerInfo===r)return;a=a.return}for(;x!==null;){if(a=b0(x),a===null)return;if(G=a.tag,G===5||G===6||G===26||G===27){b=d=a;continue w}x=x.parentNode}}b=b.return}T7(function(){var X=d,M=G6(v),L=[];w:{var J=vX.get(w);if(J!==void 0){var K=fd,u=w;switch(w){case"keypress":if(l4(v)===0)break w;case"keydown":case"keyup":K=JH;break;case"focusin":u="focus",K=F3;break;case"focusout":u="blur",K=F3;break;case"beforeblur":case"afterblur":K=F3;break;case"click":if(v.button===2)break w;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":K=yZ;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=zH;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=lH;break;case sZ:case eZ:case wX:K=XH;break;case gX:K=MH;break;case"scroll":case"scrollend":K=aH;break;case"wheel":K=OH;break;case"copy":case"cut":case"paste":K=YH;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=VZ;break;case"toggle":case"beforetoggle":K=FH}var s=(g&4)!==0,Xw=!s&&(w==="scroll"||w==="scrollend"),V0=s?J!==null?J+"Capture":null:J;s=[];for(var k=X,W;k!==null;){var l=k;if(W=l.stateNode,l=l.tag,l!==5&&l!==26&&l!==27||W===null||V0===null||(l=Sb(k,V0),l!=null&&s.push(_r(k,l,W))),Xw)break;k=k.return}0<s.length&&(J=new K(J,u,null,v,M),L.push({event:J,listeners:s}))}}if((g&7)===0){w:{if(J=w==="mouseover"||w==="pointerover",K=w==="mouseout"||w==="pointerout",J&&v!==lr&&(u=v.relatedTarget||v.fromElement)&&(b0(u)||u[tg]))break w;if(K||J){if(J=M.window===M?M:(J=M.ownerDocument)?J.defaultView||J.parentWindow:window,K){if(u=v.relatedTarget||v.toElement,K=X,u=u?b0(u):null,u!==null&&(Xw=a0(u),s=u.tag,u!==Xw||s!==5&&s!==27&&s!==6))u=null}else K=null,u=X;if(K!==u){if(s=yZ,l="onMouseLeave",V0="onMouseEnter",k="mouse",w==="pointerout"||w==="pointerover")s=VZ,l="onPointerLeave",V0="onPointerEnter",k="pointer";if(Xw=K==null?J:M0(K),W=u==null?J:M0(u),J=new s(l,k+"leave",K,v,M),J.target=Xw,J.relatedTarget=W,l=null,b0(M)===X&&(s=new s(V0,k+"enter",u,v,M),s.target=W,s.relatedTarget=Xw,l=s),Xw=l,K&&u)g:{s=jB,V0=K,k=u,W=0;for(l=V0;l;l=s(l))W++;l=0;for(var I=k;I;I=s(I))l++;for(;0<W-l;)V0=s(V0),W--;for(;0<l-W;)k=s(k),l--;for(;W--;){if(V0===k||k!==null&&V0===k.alternate){s=V0;break g}V0=s(V0),k=s(k)}s=null}else s=null;K!==null&&AG(L,J,K,s,!1),u!==null&&Xw!==null&&AG(L,Xw,u,s,!0)}}}w:{if(J=X?M0(X):window,K=J.nodeName&&J.nodeName.toLowerCase(),K==="select"||K==="input"&&J.type==="file")var t=P7;else if(i7(J))if(pZ)t=rB;else{t=vB;var J0=gB}else K=J.nodeName,!K||K.toLowerCase()!=="input"||J.type!=="checkbox"&&J.type!=="radio"?X&&Pb(X.elementType)&&(t=P7):t=bB;if(t&&(t=t(w,X))){o7(L,t,v,M);break w}J0&&J0(w,J,X),w==="focusout"&&X&&J.type==="number"&&X.memoizedProps.value!=null&&b6(J,"number",J.value)}switch(J0=X?M0(X):window,w){case"focusin":if(i7(J0)||J0.contentEditable==="true")gb=J0,R3=X,Kr=null;break;case"focusout":Kr=R3=gb=null;break;case"mousedown":h3=!0;break;case"contextmenu":case"mouseup":case"dragend":h3=!1,u7(L,v,M);break;case"selectionchange":if(mH)break;case"keydown":case"keyup":u7(L,v,M)}var G0;if(K3)w:{switch(w){case"compositionstart":var r0="onCompositionStart";break w;case"compositionend":r0="onCompositionEnd";break w;case"compositionupdate":r0="onCompositionUpdate";break w}r0=void 0}else wb?f7(w,v)&&(r0="onCompositionEnd"):w==="keydown"&&v.keyCode===EZ&&(r0="onCompositionStart");if(r0&&(jZ&&v.locale!=="ko"&&(wb||r0!=="onCompositionStart"?r0==="onCompositionEnd"&&wb&&(G0=I7()):(sg=M,L3=("value"in sg)?sg.value:sg.textContent,wb=!0)),J0=Qd(X,r0),0<J0.length&&(r0=new SZ(r0,w,null,v,M),L.push({event:r0,listeners:J0}),G0?r0.data=G0:(G0=c7(v),G0!==null&&(r0.data=G0)))),G0=RH?t$(w,v):s$(w,v))r0=Qd(X,"onBeforeInput"),0<r0.length&&(J0=new BH("onBeforeInput","beforeinput",null,v,M),L.push({event:J0,listeners:r0}),J0.data=G0);EB(L,w,X,v,M)}qG(L,g)})}function _r(w,g,v){return{instance:w,listener:g,currentTarget:v}}function Qd(w,g){for(var v=g+"Capture",b=[];w!==null;){var r=w,d=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||d===null||(r=Sb(w,v),r!=null&&b.unshift(_r(w,r,d)),r=Sb(w,g),r!=null&&b.push(_r(w,r,d))),w.tag===3)return b;w=w.return}return[]}function jB(w){if(w===null)return null;do w=w.return;while(w&&w.tag!==5&&w.tag!==27);return w?w:null}function AG(w,g,v,b,r){for(var d=g._reactName,a=[];v!==null&&v!==b;){var x=v,G=x.alternate,X=x.stateNode;if(x=x.tag,G!==null&&G===b)break;x!==5&&x!==26&&x!==27||X===null||(G=X,r?(X=Sb(v,d),X!=null&&a.unshift(_r(v,X,G))):r||(X=Sb(v,d),X!=null&&a.push(_r(v,X,G)))),v=v.return}a.length!==0&&w.push({event:g,listeners:a})}function y8(w,g){D$(w,g),w!=="input"&&w!=="textarea"&&w!=="select"||g==null||g.value!==null||oZ||(oZ=!0,w==="select"&&g.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",w):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",w));var v={registrationNameDependencies:Dv,possibleRegistrationNames:W3};Pb(w)||typeof g.is==="string"||n$(w,g,v),g.contentEditable&&!g.suppressContentEditableWarning&&g.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Vw(w,g,v,b){g!==v&&(v=jg(v),jg(g)!==v&&(b[w]=g))}function DB(w,g,v){g.forEach(function(b){v[OG(b)]=b==="style"?V8(w):w.getAttribute(b)})}function o2(w,g){g===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",w,w,w):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",w,typeof g)}function MG(w,g){return w=w.namespaceURI===Td||w.namespaceURI===p5?w.ownerDocument.createElementNS(w.namespaceURI,w.tagName):w.ownerDocument.createElement(w.tagName),w.innerHTML=g,w.innerHTML}function jg(w){return p1(w)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",$w(w)),Ow(w)),(typeof w==="string"?w:""+w).replace(dU,`
176
+ `).replace(aU,"")}function LG(w,g){return g=jg(g),jg(w)===g?!0:!1}function aw(w,g,v,b,r,d){switch(v){case"children":if(typeof b==="string")q4(b,g,!1),g==="body"||g==="textarea"&&b===""||ob(w,b);else if(typeof b==="number"||typeof b==="bigint")q4(""+b,g,!1),g!=="body"&&ob(w,""+b);break;case"className":k4(w,"class",b);break;case"tabIndex":k4(w,"tabindex",b);break;case"dir":case"role":case"viewBox":case"width":case"height":k4(w,v,b);break;case"style":R7(w,b,d);break;case"data":if(g!=="object"){k4(w,"data",b);break}case"src":case"href":if(b===""&&(g!=="a"||v!=="href")){v==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',v,v):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',v,v),w.removeAttribute(v);break}if(b==null||typeof b==="function"||typeof b==="symbol"||typeof b==="boolean"){w.removeAttribute(v);break}dw(b,v),b=yb(""+b),w.setAttribute(v,b);break;case"action":case"formAction":if(b!=null&&(g==="form"?v==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof b==="function"&&(r.encType==null&&r.method==null||qa||(qa=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),r.target==null||Wa||(Wa=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):g==="input"||g==="button"?v==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):g!=="input"||r.type==="submit"||r.type==="image"||Ja?g!=="button"||r.type==null||r.type==="submit"||Ja?typeof b==="function"&&(r.name==null||M_||(M_=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),r.formEncType==null&&r.formMethod==null||qa||(qa=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),r.formTarget==null||Wa||(Wa=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(Ja=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Ja=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):v==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof b==="function"){w.setAttribute(v,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d==="function"&&(v==="formAction"?(g!=="input"&&aw(w,g,"name",r.name,r,null),aw(w,g,"formEncType",r.formEncType,r,null),aw(w,g,"formMethod",r.formMethod,r,null),aw(w,g,"formTarget",r.formTarget,r,null)):(aw(w,g,"encType",r.encType,r,null),aw(w,g,"method",r.method,r,null),aw(w,g,"target",r.target,r,null)));if(b==null||typeof b==="symbol"||typeof b==="boolean"){w.removeAttribute(v);break}dw(b,v),b=yb(""+b),w.setAttribute(v,b);break;case"onClick":b!=null&&(typeof b!=="function"&&o2(v,b),w.onclick=bg);break;case"onScroll":b!=null&&(typeof b!=="function"&&o2(v,b),S0("scroll",w));break;case"onScrollEnd":b!=null&&(typeof b!=="function"&&o2(v,b),S0("scrollend",w));break;case"dangerouslySetInnerHTML":if(b!=null){if(typeof b!=="object"||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(v=b.__html,v!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");w.innerHTML=v}}break;case"multiple":w.multiple=b&&typeof b!=="function"&&typeof b!=="symbol";break;case"muted":w.muted=b&&typeof b!=="function"&&typeof b!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(b==null||typeof b==="function"||typeof b==="boolean"||typeof b==="symbol"){w.removeAttribute("xlink:href");break}dw(b,v),v=yb(""+b),w.setAttributeNS(Z5,"xlink:href",v);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":b!=null&&typeof b!=="function"&&typeof b!=="symbol"?(dw(b,v),w.setAttribute(v,""+b)):w.removeAttribute(v);break;case"inert":b!==""||la[v]||(la[v]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",v));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":b&&typeof b!=="function"&&typeof b!=="symbol"?w.setAttribute(v,""):w.removeAttribute(v);break;case"capture":case"download":b===!0?w.setAttribute(v,""):b!==!1&&b!=null&&typeof b!=="function"&&typeof b!=="symbol"?(dw(b,v),w.setAttribute(v,b)):w.removeAttribute(v);break;case"cols":case"rows":case"size":case"span":b!=null&&typeof b!=="function"&&typeof b!=="symbol"&&!isNaN(b)&&1<=b?(dw(b,v),w.setAttribute(v,b)):w.removeAttribute(v);break;case"rowSpan":case"start":b==null||typeof b==="function"||typeof b==="symbol"||isNaN(b)?w.removeAttribute(v):(dw(b,v),w.setAttribute(v,b));break;case"popover":S0("beforetoggle",w),S0("toggle",w),U4(w,"popover",b);break;case"xlinkActuate":vg(w,Z5,"xlink:actuate",b);break;case"xlinkArcrole":vg(w,Z5,"xlink:arcrole",b);break;case"xlinkRole":vg(w,Z5,"xlink:role",b);break;case"xlinkShow":vg(w,Z5,"xlink:show",b);break;case"xlinkTitle":vg(w,Z5,"xlink:title",b);break;case"xlinkType":vg(w,Z5,"xlink:type",b);break;case"xmlBase":vg(w,Mx,"xml:base",b);break;case"xmlLang":vg(w,Mx,"xml:lang",b);break;case"xmlSpace":vg(w,Mx,"xml:space",b);break;case"is":d!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),U4(w,"is",b);break;case"innerText":case"textContent":break;case"popoverTarget":L_||b==null||typeof b!=="object"||(L_=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",b));default:!(2<v.length)||v[0]!=="o"&&v[0]!=="O"||v[1]!=="n"&&v[1]!=="N"?(v=h7(v),U4(w,v,b)):Dv.hasOwnProperty(v)&&b!=null&&typeof b!=="function"&&o2(v,b)}}function S8(w,g,v,b,r,d){switch(v){case"style":R7(w,b,d);break;case"dangerouslySetInnerHTML":if(b!=null){if(typeof b!=="object"||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(v=b.__html,v!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");w.innerHTML=v}}break;case"children":typeof b==="string"?ob(w,b):(typeof b==="number"||typeof b==="bigint")&&ob(w,""+b);break;case"onScroll":b!=null&&(typeof b!=="function"&&o2(v,b),S0("scroll",w));break;case"onScrollEnd":b!=null&&(typeof b!=="function"&&o2(v,b),S0("scrollend",w));break;case"onClick":b!=null&&(typeof b!=="function"&&o2(v,b),w.onclick=bg);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Dv.hasOwnProperty(v))b!=null&&typeof b!=="function"&&o2(v,b);else w:{if(v[0]==="o"&&v[1]==="n"&&(r=v.endsWith("Capture"),g=v.slice(2,r?v.length-7:void 0),d=w[Z1]||null,d=d!=null?d[v]:null,typeof d==="function"&&w.removeEventListener(g,d,r),typeof b==="function")){typeof d!=="function"&&d!==null&&(v in w?w[v]=null:w.hasAttribute(v)&&w.removeAttribute(v)),w.addEventListener(g,b,r);break w}v in w?w[v]=b:b===!0?w.setAttribute(v,""):U4(w,v,b)}}}function ew(w,g,v){switch(y8(g,v),g){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":S0("error",w),S0("load",w);var b=!1,r=!1,d;for(d in v)if(v.hasOwnProperty(d)){var a=v[d];if(a!=null)switch(d){case"src":b=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:aw(w,g,d,a,v,null)}}r&&aw(w,g,"srcSet",v.srcSet,v,null),b&&aw(w,g,"src",v.src,v,null);return;case"input":Ig("input",v),S0("invalid",w);var x=d=a=r=null,G=null,X=null;for(b in v)if(v.hasOwnProperty(b)){var M=v[b];if(M!=null)switch(b){case"name":r=M;break;case"type":a=M;break;case"checked":G=M;break;case"defaultChecked":X=M;break;case"value":d=M;break;case"defaultValue":x=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:aw(w,g,b,M,v,null)}}B7(w,v),Q7(w,d,x,G,X,a,r,!1);return;case"select":Ig("select",v),S0("invalid",w),b=a=d=null;for(r in v)if(v.hasOwnProperty(r)&&(x=v[r],x!=null))switch(r){case"value":d=x;break;case"defaultValue":a=x;break;case"multiple":b=x;default:aw(w,g,r,x,v,null)}k7(w,v),g=d,v=a,w.multiple=!!b,g!=null?O5(w,!!b,g,!1):v!=null&&O5(w,!!b,v,!0);return;case"textarea":Ig("textarea",v),S0("invalid",w),d=r=b=null;for(a in v)if(v.hasOwnProperty(a)&&(x=v[a],x!=null))switch(a){case"value":b=x;break;case"defaultValue":r=x;break;case"children":d=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:aw(w,g,a,x,v,null)}J7(w,v),q7(w,b,r,d);return;case"option":H7(w,v);for(G in v)if(v.hasOwnProperty(G)&&(b=v[G],b!=null))switch(G){case"selected":w.selected=b&&typeof b!=="function"&&typeof b!=="symbol";break;default:aw(w,g,G,b,v,null)}return;case"dialog":S0("beforetoggle",w),S0("toggle",w),S0("cancel",w),S0("close",w);break;case"iframe":case"object":S0("load",w);break;case"video":case"audio":for(b=0;b<a4.length;b++)S0(a4[b],w);break;case"image":S0("error",w),S0("load",w);break;case"details":S0("toggle",w);break;case"embed":case"source":case"link":S0("error",w),S0("load",w);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(X in v)if(v.hasOwnProperty(X)&&(b=v[X],b!=null))switch(X){case"children":case"dangerouslySetInnerHTML":throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:aw(w,g,X,b,v,null)}return;default:if(Pb(g)){for(M in v)v.hasOwnProperty(M)&&(b=v[M],b!==void 0&&S8(w,g,M,b,v,void 0));return}}for(x in v)v.hasOwnProperty(x)&&(b=v[x],b!=null&&aw(w,g,x,b,v,null))}function uB(w,g,v,b){switch(y8(g,b),g){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,d=null,a=null,x=null,G=null,X=null,M=null;for(K in v){var L=v[K];if(v.hasOwnProperty(K)&&L!=null)switch(K){case"checked":break;case"value":break;case"defaultValue":G=L;default:b.hasOwnProperty(K)||aw(w,g,K,null,b,L)}}for(var J in b){var K=b[J];if(L=v[J],b.hasOwnProperty(J)&&(K!=null||L!=null))switch(J){case"type":d=K;break;case"name":r=K;break;case"checked":X=K;break;case"defaultChecked":M=K;break;case"value":a=K;break;case"defaultValue":x=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:K!==L&&aw(w,g,J,K,b,L)}}g=v.type==="checkbox"||v.type==="radio"?v.checked!=null:v.value!=null,b=b.type==="checkbox"||b.type==="radio"?b.checked!=null:b.value!=null,g||!b||A_||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),A_=!0),!g||b||l_||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),l_=!0),v6(w,a,x,G,X,M,d,r);return;case"select":K=a=x=J=null;for(d in v)if(G=v[d],v.hasOwnProperty(d)&&G!=null)switch(d){case"value":break;case"multiple":K=G;default:b.hasOwnProperty(d)||aw(w,g,d,null,b,G)}for(r in b)if(d=b[r],G=v[r],b.hasOwnProperty(r)&&(d!=null||G!=null))switch(r){case"value":J=d;break;case"defaultValue":x=d;break;case"multiple":a=d;default:d!==G&&aw(w,g,r,d,b,G)}b=x,g=a,v=K,J!=null?O5(w,!!g,J,!1):!!v!==!!g&&(b!=null?O5(w,!!g,b,!0):O5(w,!!g,g?[]:"",!1));return;case"textarea":K=J=null;for(x in v)if(r=v[x],v.hasOwnProperty(x)&&r!=null&&!b.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:aw(w,g,x,null,b,r)}for(a in b)if(r=b[a],d=v[a],b.hasOwnProperty(a)&&(r!=null||d!=null))switch(a){case"value":J=r;break;case"defaultValue":K=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:r!==d&&aw(w,g,a,r,b,d)}W7(w,J,K);return;case"option":for(var u in v)if(J=v[u],v.hasOwnProperty(u)&&J!=null&&!b.hasOwnProperty(u))switch(u){case"selected":w.selected=!1;break;default:aw(w,g,u,null,b,J)}for(G in b)if(J=b[G],K=v[G],b.hasOwnProperty(G)&&J!==K&&(J!=null||K!=null))switch(G){case"selected":w.selected=J&&typeof J!=="function"&&typeof J!=="symbol";break;default:aw(w,g,G,J,b,K)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var s in v)J=v[s],v.hasOwnProperty(s)&&J!=null&&!b.hasOwnProperty(s)&&aw(w,g,s,null,b,J);for(X in b)if(J=b[X],K=v[X],b.hasOwnProperty(X)&&J!==K&&(J!=null||K!=null))switch(X){case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:aw(w,g,X,J,b,K)}return;default:if(Pb(g)){for(var Xw in v)J=v[Xw],v.hasOwnProperty(Xw)&&J!==void 0&&!b.hasOwnProperty(Xw)&&S8(w,g,Xw,void 0,b,J);for(M in b)J=b[M],K=v[M],!b.hasOwnProperty(M)||J===K||J===void 0&&K===void 0||S8(w,g,M,J,b,K);return}}for(var V0 in v)J=v[V0],v.hasOwnProperty(V0)&&J!=null&&!b.hasOwnProperty(V0)&&aw(w,g,V0,null,b,J);for(L in b)J=b[L],K=v[L],!b.hasOwnProperty(L)||J===K||J==null&&K==null||aw(w,g,L,J,b,K)}function OG(w){switch(w){case"class":return"className";case"for":return"htmlFor";default:return w}}function V8(w){var g={};w=w.style;for(var v=0;v<w.length;v++){var b=w[v];g[b]=w.getPropertyValue(b)}return g}function NG(w,g,v){if(g!=null&&typeof g!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var b,r=b="",d;for(d in g)if(g.hasOwnProperty(d)){var a=g[d];a!=null&&typeof a!=="boolean"&&a!==""&&(d.indexOf("--")===0?(Ib(a,d),b+=r+d+":"+(""+a).trim()):typeof a!=="number"||a===0||cZ.has(d)?(Ib(a,d),b+=r+d.replace(mZ,"-$1").toLowerCase().replace(TZ,"-ms-")+":"+(""+a).trim()):b+=r+d.replace(mZ,"-$1").toLowerCase().replace(TZ,"-ms-")+":"+a+"px",r=";")}b=b||null,g=w.getAttribute("style"),g!==b&&(b=jg(b),jg(g)!==b&&(v.style=V8(w)))}}function e1(w,g,v,b,r,d){if(r.delete(v),w=w.getAttribute(v),w===null)switch(typeof b){case"undefined":case"function":case"symbol":case"boolean":return}else if(b!=null)switch(typeof b){case"function":case"symbol":case"boolean":break;default:if(dw(b,g),w===""+b)return}Vw(g,w,b,d)}function FG(w,g,v,b,r,d){if(r.delete(v),w=w.getAttribute(v),w===null){switch(typeof b){case"function":case"symbol":return}if(!b)return}else switch(typeof b){case"function":case"symbol":break;default:if(b)return}Vw(g,w,b,d)}function E8(w,g,v,b,r,d){if(r.delete(v),w=w.getAttribute(v),w===null)switch(typeof b){case"undefined":case"function":case"symbol":return}else if(b!=null)switch(typeof b){case"function":case"symbol":break;default:if(dw(b,v),w===""+b)return}Vw(g,w,b,d)}function KG(w,g,v,b,r,d){if(r.delete(v),w=w.getAttribute(v),w===null)switch(typeof b){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(b))return}else if(b!=null)switch(typeof b){case"function":case"symbol":case"boolean":break;default:if(!isNaN(b)&&(dw(b,g),w===""+b))return}Vw(g,w,b,d)}function j8(w,g,v,b,r,d){if(r.delete(v),w=w.getAttribute(v),w===null)switch(typeof b){case"undefined":case"function":case"symbol":case"boolean":return}else if(b!=null)switch(typeof b){case"function":case"symbol":case"boolean":break;default:if(dw(b,g),v=yb(""+b),w===v)return}Vw(g,w,b,d)}function RG(w,g,v,b){for(var r={},d=new Set,a=w.attributes,x=0;x<a.length;x++)switch(a[x].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:d.add(a[x].name)}if(Pb(g)){for(var G in v)if(v.hasOwnProperty(G)){var X=v[G];if(X!=null){if(Dv.hasOwnProperty(G))typeof X!=="function"&&o2(G,X);else if(v.suppressHydrationWarning!==!0)switch(G){case"children":typeof X!=="string"&&typeof X!=="number"||Vw("children",w.textContent,X,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":a=w.innerHTML,X=X?X.__html:void 0,X!=null&&(X=MG(w,X),Vw(G,a,X,r));continue;case"style":d.delete(G),NG(w,X,r);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":d.delete(G.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",G);continue;case"className":d.delete("class"),a=_7(w,"class",X),Vw("className",a,X,r);continue;default:b.context===Mg&&g!=="svg"&&g!=="math"?d.delete(G.toLowerCase()):d.delete(G),a=_7(w,G,X),Vw(G,a,X,r)}}}}else for(X in v)if(v.hasOwnProperty(X)&&(G=v[X],G!=null)){if(Dv.hasOwnProperty(X))typeof G!=="function"&&o2(X,G);else if(v.suppressHydrationWarning!==!0)switch(X){case"children":typeof G!=="string"&&typeof G!=="number"||Vw("children",w.textContent,G,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":a=w.innerHTML,G=G?G.__html:void 0,G!=null&&(G=MG(w,G),a!==G&&(r[X]={__html:a}));continue;case"className":e1(w,X,"class",G,d,r);continue;case"tabIndex":e1(w,X,"tabindex",G,d,r);continue;case"style":d.delete(X),NG(w,G,r);continue;case"multiple":d.delete(X),Vw(X,w.multiple,G,r);continue;case"muted":d.delete(X),Vw(X,w.muted,G,r);continue;case"autoFocus":d.delete("autofocus"),Vw(X,w.autofocus,G,r);continue;case"data":if(g!=="object"){d.delete(X),a=w.getAttribute("data"),Vw(X,a,G,r);continue}case"src":case"href":if(!(G!==""||g==="a"&&X==="href"||g==="object"&&X==="data")){X==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',X,X):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',X,X);continue}j8(w,X,X,G,d,r);continue;case"action":case"formAction":if(a=w.getAttribute(X),typeof G==="function"){d.delete(X.toLowerCase()),X==="formAction"?(d.delete("name"),d.delete("formenctype"),d.delete("formmethod"),d.delete("formtarget")):(d.delete("enctype"),d.delete("method"),d.delete("target"));continue}else if(a===xU){d.delete(X.toLowerCase()),Vw(X,"function",G,r);continue}j8(w,X,X.toLowerCase(),G,d,r);continue;case"xlinkHref":j8(w,X,"xlink:href",G,d,r);continue;case"contentEditable":E8(w,X,"contenteditable",G,d,r);continue;case"spellCheck":E8(w,X,"spellcheck",G,d,r);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":E8(w,X,X,G,d,r);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":FG(w,X,X.toLowerCase(),G,d,r);continue;case"capture":case"download":w:{x=w;var M=a=X,L=r;if(d.delete(M),x=x.getAttribute(M),x===null)switch(typeof G){case"undefined":case"function":case"symbol":break w;default:if(G===!1)break w}else if(G!=null)switch(typeof G){case"function":case"symbol":break;case"boolean":if(G===!0&&x==="")break w;break;default:if(dw(G,a),x===""+G)break w}Vw(a,x,G,L)}continue;case"cols":case"rows":case"size":case"span":w:{if(x=w,M=a=X,L=r,d.delete(M),x=x.getAttribute(M),x===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":break w;default:if(isNaN(G)||1>G)break w}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(G)||1>G)&&(dw(G,a),x===""+G))break w}Vw(a,x,G,L)}continue;case"rowSpan":KG(w,X,"rowspan",G,d,r);continue;case"start":KG(w,X,X,G,d,r);continue;case"xHeight":e1(w,X,"x-height",G,d,r);continue;case"xlinkActuate":e1(w,X,"xlink:actuate",G,d,r);continue;case"xlinkArcrole":e1(w,X,"xlink:arcrole",G,d,r);continue;case"xlinkRole":e1(w,X,"xlink:role",G,d,r);continue;case"xlinkShow":e1(w,X,"xlink:show",G,d,r);continue;case"xlinkTitle":e1(w,X,"xlink:title",G,d,r);continue;case"xlinkType":e1(w,X,"xlink:type",G,d,r);continue;case"xmlBase":e1(w,X,"xml:base",G,d,r);continue;case"xmlLang":e1(w,X,"xml:lang",G,d,r);continue;case"xmlSpace":e1(w,X,"xml:space",G,d,r);continue;case"inert":G!==""||la[X]||(la[X]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",X)),FG(w,X,X,G,d,r);continue;default:if(!(2<X.length)||X[0]!=="o"&&X[0]!=="O"||X[1]!=="n"&&X[1]!=="N"){x=h7(X),a=!1,b.context===Mg&&g!=="svg"&&g!=="math"?d.delete(x.toLowerCase()):(M=X.toLowerCase(),M=Id.hasOwnProperty(M)?Id[M]||null:null,M!==null&&M!==X&&(a=!0,d.delete(M)),d.delete(x));w:if(M=w,L=x,x=G,fb(L))if(M.hasAttribute(L))M=M.getAttribute(L),dw(x,L),x=M===""+x?x:M;else{switch(typeof x){case"function":case"symbol":break w;case"boolean":if(M=L.toLowerCase().slice(0,5),M!=="data-"&&M!=="aria-")break w}x=x===void 0?void 0:null}else x=void 0;a||Vw(X,x,G,r)}}}return 0<d.size&&v.suppressHydrationWarning!==!0&&DB(w,d,r),Object.keys(r).length===0?null:r}function nB(w,g){switch(w.length){case 0:return"";case 1:return w[0];case 2:return w[0]+" "+g+" "+w[1];default:return w.slice(0,-1).join(", ")+", "+g+" "+w[w.length-1]}}function hG(w){switch(w){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function pB(){if(typeof performance.getEntriesByType==="function"){for(var w=0,g=0,v=performance.getEntriesByType("resource"),b=0;b<v.length;b++){var r=v[b],d=r.transferSize,a=r.initiatorType,x=r.duration;if(d&&x&&hG(a)){a=0,x=r.responseEnd;for(b+=1;b<v.length;b++){var G=v[b],X=G.startTime;if(X>x)break;var{transferSize:M,initiatorType:L}=G;M&&hG(L)&&(G=G.responseEnd,a+=M*(G<x?1:(x-X)/(G-X)))}if(--b,g+=8*(d+a)/(r.duration/1000),w++,10<w)break}}if(0<w)return g/w/1e6}return navigator.connection&&(w=navigator.connection.downlink,typeof w==="number")?w:5}function Hd(w){return w.nodeType===9?w:w.ownerDocument}function mG(w){switch(w){case p5:return Lb;case Td:return Ma;default:return Mg}}function TG(w,g){if(w===Mg)switch(g){case"svg":return Lb;case"math":return Ma;default:return Mg}return w===Lb&&g==="foreignObject"?Mg:w}function D8(w,g){return w==="textarea"||w==="noscript"||typeof g.children==="string"||typeof g.children==="number"||typeof g.children==="bigint"||typeof g.dangerouslySetInnerHTML==="object"&&g.dangerouslySetInnerHTML!==null&&g.dangerouslySetInnerHTML.__html!=null}function tB(){var w=window.event;if(w&&w.type==="popstate"){if(w===Fx)return!1;return Fx=w,!0}return Fx=null,!1}function Yr(){var w=window.event;return w&&w!==G4?w.type:null}function $r(){var w=window.event;return w&&w!==G4?w.timeStamp:-1.1}function sB(w){setTimeout(function(){throw w})}function eB(w,g,v){switch(g){case"button":case"input":case"select":case"textarea":v.autoFocus&&w.focus();break;case"img":v.src?w.src=v.src:v.srcSet&&(w.srcset=v.srcSet)}}function wQ(){}function gQ(w,g,v,b){uB(w,g,v,b),w[Z1]=b}function IG(w){ob(w,"")}function vQ(w,g,v){w.nodeValue=v}function CG(w){if(!w.__reactWarnedAboutChildrenConflict){var g=w[Z1]||null;if(g!==null){var v=A0(w);v!==null&&(typeof g.children==="string"||typeof g.children==="number"?(w.__reactWarnedAboutChildrenConflict=!0,w0(v,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):g.dangerouslySetInnerHTML!=null&&(w.__reactWarnedAboutChildrenConflict=!0,w0(v,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Dg(w){return w==="head"}function bQ(w,g){w.removeChild(g)}function rQ(w,g){(w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w).removeChild(g)}function fG(w,g){var v=g,b=0;do{var r=v.nextSibling;if(w.removeChild(v),r&&r.nodeType===8)if(v=r.data,v===z4||v===Aa){if(b===0){w.removeChild(r),V5(g);return}b--}else if(v===x4||v===Hv||v===_5||v===Mb||v===X5)b++;else if(v===GU)Br(w.ownerDocument.documentElement);else if(v===XU){v=w.ownerDocument.head,Br(v);for(var d=v.firstChild;d;){var{nextSibling:a,nodeName:x}=d;d[qr]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&d.rel.toLowerCase()==="stylesheet"||v.removeChild(d),d=a}}else v===ZU&&Br(w.ownerDocument.body);v=r}while(v);V5(g)}function cG(w,g){var v=w;w=0;do{var b=v.nextSibling;if(v.nodeType===1?g?(v._stashedDisplay=v.style.display,v.style.display="none"):(v.style.display=v._stashedDisplay||"",v.getAttribute("style")===""&&v.removeAttribute("style")):v.nodeType===3&&(g?(v._stashedText=v.nodeValue,v.nodeValue=""):v.nodeValue=v._stashedText||""),b&&b.nodeType===8)if(v=b.data,v===z4)if(w===0)break;else w--;else v!==x4&&v!==Hv&&v!==_5&&v!==Mb||w++;v=b}while(v)}function dQ(w){cG(w,!0)}function aQ(w){w=w.style,typeof w.setProperty==="function"?w.setProperty("display","none","important"):w.display="none"}function xQ(w){w.nodeValue=""}function zQ(w){cG(w,!1)}function GQ(w,g){g=g[_U],g=g!==void 0&&g!==null&&g.hasOwnProperty("display")?g.display:null,w.style.display=g==null||typeof g==="boolean"?"":(""+g).trim()}function ZQ(w,g){w.nodeValue=g}function u8(w){var g=w.firstChild;g&&g.nodeType===10&&(g=g.nextSibling);for(;g;){var v=g;switch(g=g.nextSibling,v.nodeName){case"HTML":case"HEAD":case"BODY":u8(v),p(v);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(v.rel.toLowerCase()==="stylesheet")continue}w.removeChild(v)}}function XQ(w,g,v,b){for(;w.nodeType===1;){var r=v;if(w.nodeName.toLowerCase()!==g.toLowerCase()){if(!b&&(w.nodeName!=="INPUT"||w.type!=="hidden"))break}else if(!b)if(g==="input"&&w.type==="hidden"){dw(r.name,"name");var d=r.name==null?null:""+r.name;if(r.type==="hidden"&&w.getAttribute("name")===d)return w}else return w;else if(!w[qr])switch(g){case"meta":if(!w.hasAttribute("itemprop"))break;return w;case"link":if(d=w.getAttribute("rel"),d==="stylesheet"&&w.hasAttribute("data-precedence"))break;else if(d!==r.rel||w.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||w.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||w.getAttribute("title")!==(r.title==null?null:r.title))break;return w;case"style":if(w.hasAttribute("data-precedence"))break;return w;case"script":if(d=w.getAttribute("src"),(d!==(r.src==null?null:r.src)||w.getAttribute("type")!==(r.type==null?null:r.type)||w.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&d&&w.hasAttribute("async")&&!w.hasAttribute("itemprop"))break;return w;default:return w}if(w=C1(w.nextSibling),w===null)break}return null}function _Q(w,g,v){if(g==="")return null;for(;w.nodeType!==3;){if((w.nodeType!==1||w.nodeName!=="INPUT"||w.type!=="hidden")&&!v)return null;if(w=C1(w.nextSibling),w===null)return null}return w}function iG(w,g){for(;w.nodeType!==8;){if((w.nodeType!==1||w.nodeName!=="INPUT"||w.type!=="hidden")&&!g)return null;if(w=C1(w.nextSibling),w===null)return null}return w}function n8(w){return w.data===Hv||w.data===_5}function p8(w){return w.data===Mb||w.data===Hv&&w.ownerDocument.readyState!==N_}function YQ(w,g){var v=w.ownerDocument;if(w.data===_5)w._reactRetry=g;else if(w.data!==Hv||v.readyState!==N_)g();else{var b=function(){g(),v.removeEventListener("DOMContentLoaded",b)};v.addEventListener("DOMContentLoaded",b),w._reactRetry=b}}function C1(w){for(;w!=null;w=w.nextSibling){var g=w.nodeType;if(g===1||g===3)break;if(g===8){if(g=w.data,g===x4||g===Mb||g===Hv||g===_5||g===X5||g===Lx||g===O_)break;if(g===z4||g===Aa)return null}}return w}function oG(w){if(w.nodeType===1){for(var g=w.nodeName.toLowerCase(),v={},b=w.attributes,r=0;r<b.length;r++){var d=b[r];v[OG(d.name)]=d.name.toLowerCase()==="style"?V8(w):d.value}return{type:g,props:v}}return w.nodeType===8?w.data===X5?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:w.nodeValue}function PG(w,g,v){return v===null||v[zU]!==!0?(w.nodeValue===g?w=null:(g=jg(g),w=jg(w.nodeValue)===g?null:w.nodeValue),w):null}function t8(w){w=w.nextSibling;for(var g=0;w;){if(w.nodeType===8){var v=w.data;if(v===z4||v===Aa){if(g===0)return C1(w.nextSibling);g--}else v!==x4&&v!==Mb&&v!==Hv&&v!==_5&&v!==X5||g++}w=w.nextSibling}return null}function yG(w){w=w.previousSibling;for(var g=0;w;){if(w.nodeType===8){var v=w.data;if(v===x4||v===Mb||v===Hv||v===_5||v===X5){if(g===0)return w;g--}else v!==z4&&v!==Aa||g++}w=w.previousSibling}return null}function $Q(w){V5(w)}function BQ(w){V5(w)}function QQ(w){V5(w)}function SG(w,g,v,b,r){switch(r&&z6(w,b.ancestorInfo),g=Hd(v),w){case"html":if(w=g.documentElement,!w)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return w;case"head":if(w=g.head,!w)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return w;case"body":if(w=g.body,!w)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return w;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function HQ(w,g,v,b){if(!v[tg]&&A0(v)){var r=v.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",r,r,r)}switch(w){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(r=v.attributes;r.length;)v.removeAttributeNode(r[0]);ew(v,w,g),v[w1]=b,v[Z1]=g}function Br(w){for(var g=w.attributes;g.length;)w.removeAttributeNode(g[0]);p(w)}function Ud(w){return typeof w.getRootNode==="function"?w.getRootNode():w.nodeType===9?w:w.ownerDocument}function VG(w,g,v){var b=Ob;if(b&&typeof g==="string"&&g){var r=s1(g);r='link[rel="'+w+'"][href="'+r+'"]',typeof v==="string"&&(r+='[crossorigin="'+v+'"]'),T_.has(r)||(T_.add(r),w={rel:w,crossOrigin:v,href:g},b.querySelector(r)===null&&(g=b.createElement("link"),ew(g,"link",w),X0(g),b.head.appendChild(g)))}}function EG(w,g,v,b){var r=(r=ng.current)?Ud(r):null;if(!r)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(w){case"meta":case"title":return null;case"style":return typeof v.precedence==="string"&&typeof v.href==="string"?(v=y5(v.href),g=u0(r).hoistableStyles,b=g.get(v),b||(b={type:"style",instance:null,count:0,state:null},g.set(v,b)),b):{type:"void",instance:null,count:0,state:null};case"link":if(v.rel==="stylesheet"&&typeof v.href==="string"&&typeof v.precedence==="string"){w=y5(v.href);var d=u0(r).hoistableStyles,a=d.get(w);if(!a&&(r=r.ownerDocument||r,a={type:"stylesheet",instance:null,count:0,state:{loading:$5,preload:null}},d.set(w,a),(d=r.querySelector(Qr(w)))&&!d._p&&(a.instance=d,a.state.loading=Z4|Z2),!X2.has(w))){var x={rel:"preload",as:"style",href:v.href,crossOrigin:v.crossOrigin,integrity:v.integrity,media:v.media,hrefLang:v.hrefLang,referrerPolicy:v.referrerPolicy};X2.set(w,x),d||UQ(r,w,x,a.state)}if(g&&b===null)throw v=`
177
+
178
+ - `+kd(g)+`
179
+ + `+kd(v),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+v);return a}if(g&&b!==null)throw v=`
180
+
181
+ - `+kd(g)+`
182
+ + `+kd(v),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+v);return null;case"script":return g=v.async,v=v.src,typeof v==="string"&&g&&typeof g!=="function"&&typeof g!=="symbol"?(v=S5(v),g=u0(r).hoistableScripts,b=g.get(v),b||(b={type:"script",instance:null,count:0,state:null},g.set(v,b)),b):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+w+'". this is a bug in React.')}}function kd(w){var g=0,v="<link";return typeof w.rel==="string"?(g++,v+=' rel="'+w.rel+'"'):B2.call(w,"rel")&&(g++,v+=' rel="'+(w.rel===null?"null":"invalid type "+typeof w.rel)+'"'),typeof w.href==="string"?(g++,v+=' href="'+w.href+'"'):B2.call(w,"href")&&(g++,v+=' href="'+(w.href===null?"null":"invalid type "+typeof w.href)+'"'),typeof w.precedence==="string"?(g++,v+=' precedence="'+w.precedence+'"'):B2.call(w,"precedence")&&(g++,v+=" precedence={"+(w.precedence===null?"null":"invalid type "+typeof w.precedence)+"}"),Object.getOwnPropertyNames(w).length>g&&(v+=" ..."),v+" />"}function y5(w){return'href="'+s1(w)+'"'}function Qr(w){return'link[rel="stylesheet"]['+w+"]"}function jG(w){return C0({},w,{"data-precedence":w.precedence,precedence:null})}function UQ(w,g,v,b){w.querySelector('link[rel="preload"][as="style"]['+g+"]")?b.loading=Z4:(g=w.createElement("link"),b.preload=g,g.addEventListener("load",function(){return b.loading|=Z4}),g.addEventListener("error",function(){return b.loading|=h_}),ew(g,"link",v),X0(g),w.head.appendChild(g))}function S5(w){return'[src="'+s1(w)+'"]'}function Hr(w){return"script[async]"+w}function DG(w,g,v){if(g.count++,g.instance===null)switch(g.type){case"style":var b=w.querySelector('style[data-href~="'+s1(v.href)+'"]');if(b)return g.instance=b,X0(b),b;var r=C0({},v,{"data-href":v.href,"data-precedence":v.precedence,href:null,precedence:null});return b=(w.ownerDocument||w).createElement("style"),X0(b),ew(b,"style",r),Jd(b,v.precedence,w),g.instance=b;case"stylesheet":r=y5(v.href);var d=w.querySelector(Qr(r));if(d)return g.state.loading|=Z2,g.instance=d,X0(d),d;b=jG(v),(r=X2.get(r))&&s8(b,r),d=(w.ownerDocument||w).createElement("link"),X0(d);var a=d;return a._p=new Promise(function(x,G){a.onload=x,a.onerror=G}),ew(d,"link",b),g.state.loading|=Z2,Jd(d,v.precedence,w),g.instance=d;case"script":if(d=S5(v.src),r=w.querySelector(Hr(d)))return g.instance=r,X0(r),r;if(b=v,r=X2.get(d))b=C0({},v),e8(b,r);return w=w.ownerDocument||w,r=w.createElement("script"),X0(r),ew(r,"link",b),w.head.appendChild(r),g.instance=r;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+g.type+'". this is a bug in React.')}else g.type==="stylesheet"&&(g.state.loading&Z2)===$5&&(b=g.instance,g.state.loading|=Z2,Jd(b,v.precedence,w));return g.instance}function Jd(w,g,v){for(var b=v.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=b.length?b[b.length-1]:null,d=r,a=0;a<b.length;a++){var x=b[a];if(x.dataset.precedence===g)d=x;else if(d!==r)break}d?d.parentNode.insertBefore(w,d.nextSibling):(g=v.nodeType===9?v.head:v,g.insertBefore(w,g.firstChild))}function s8(w,g){w.crossOrigin==null&&(w.crossOrigin=g.crossOrigin),w.referrerPolicy==null&&(w.referrerPolicy=g.referrerPolicy),w.title==null&&(w.title=g.title)}function e8(w,g){w.crossOrigin==null&&(w.crossOrigin=g.crossOrigin),w.referrerPolicy==null&&(w.referrerPolicy=g.referrerPolicy),w.integrity==null&&(w.integrity=g.integrity)}function uG(w,g,v){if(La===null){var b=new Map,r=La=new Map;r.set(v,b)}else r=La,b=r.get(v),b||(b=new Map,r.set(v,b));if(b.has(w))return b;b.set(w,null),v=v.getElementsByTagName(w);for(r=0;r<v.length;r++){var d=v[r];if(!(d[qr]||d[w1]||w==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!==p5){var a=d.getAttribute(g)||"";a=w+a;var x=b.get(a);x?x.push(d):b.set(a,[d])}}return b}function nG(w,g,v){w=w.ownerDocument||w,w.head.insertBefore(v,g==="title"?w.querySelector("head > title"):null)}function kQ(w,g,v){var b=!v.ancestorInfo.containerTagInScope;if(v.context===Lb||g.itemProp!=null)return!b||g.itemProp==null||w!=="meta"&&w!=="title"&&w!=="style"&&w!=="link"&&w!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",w,w),!1;switch(w){case"meta":case"title":return!0;case"style":if(typeof g.precedence!=="string"||typeof g.href!=="string"||g.href===""){b&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof g.rel!=="string"||typeof g.href!=="string"||g.href===""||g.onLoad||g.onError){if(g.rel==="stylesheet"&&typeof g.precedence==="string"){w=g.href;var{onError:r,disabled:d}=g;v=[],g.onLoad&&v.push("`onLoad`"),r&&v.push("`onError`"),d!=null&&v.push("`disabled`"),r=nB(v,"and"),r+=v.length===1?" prop":" props",d=v.length===1?"an "+r:"the "+r,v.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',w,d,r)}b&&(typeof g.rel!=="string"||typeof g.href!=="string"||g.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(g.onError||g.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(g.rel){case"stylesheet":return w=g.precedence,g=g.disabled,typeof w!=="string"&&b&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof w==="string"&&g==null;default:return!0}case"script":if(w=g.async&&typeof g.async!=="function"&&typeof g.async!=="symbol",!w||g.onLoad||g.onError||!g.src||typeof g.src!=="string"){b&&(w?g.onLoad||g.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":b&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",w)}return!1}function pG(w){return w.type==="stylesheet"&&(w.state.loading&m_)===$5?!1:!0}function JQ(w,g,v,b){if(v.type==="stylesheet"&&(typeof b.media!=="string"||matchMedia(b.media).matches!==!1)&&(v.state.loading&Z2)===$5){if(v.instance===null){var r=y5(b.href),d=g.querySelector(Qr(r));if(d){g=d._p,g!==null&&typeof g==="object"&&typeof g.then==="function"&&(w.count++,w=Wd.bind(w),g.then(w,w)),v.state.loading|=Z2,v.instance=d,X0(d);return}d=g.ownerDocument||g,b=jG(b),(r=X2.get(r))&&s8(b,r),d=d.createElement("link"),X0(d);var a=d;a._p=new Promise(function(x,G){a.onload=x,a.onerror=G}),ew(d,"link",b),v.instance=d}w.stylesheets===null&&(w.stylesheets=new Map),w.stylesheets.set(v,g),(g=v.state.preload)&&(v.state.loading&m_)===$5&&(w.count++,v=Wd.bind(w),g.addEventListener("load",v),g.addEventListener("error",v))}}function WQ(w,g){return w.stylesheets&&w.count===0&&qd(w,w.stylesheets),0<w.count||0<w.imgCount?function(v){var b=setTimeout(function(){if(w.stylesheets&&qd(w,w.stylesheets),w.unsuspend){var d=w.unsuspend;w.unsuspend=null,d()}},BU+g);0<w.imgBytes&&Rx===0&&(Rx=125*pB()*HU);var r=setTimeout(function(){if(w.waitingForImages=!1,w.count===0&&(w.stylesheets&&qd(w,w.stylesheets),w.unsuspend)){var d=w.unsuspend;w.unsuspend=null,d()}},(w.imgBytes>Rx?50:QU)+g);return w.unsuspend=v,function(){w.unsuspend=null,clearTimeout(b),clearTimeout(r)}}:null}function Wd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qd(this,this.stylesheets);else if(this.unsuspend){var w=this.unsuspend;this.unsuspend=null,w()}}}function qd(w,g){w.stylesheets=null,w.unsuspend!==null&&(w.count++,Oa=new Map,g.forEach(qQ,w),Oa=null,Wd.call(w))}function qQ(w,g){if(!(g.state.loading&Z2)){var v=Oa.get(w);if(v)var b=v.get(hx);else{v=new Map,Oa.set(w,v);for(var r=w.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<r.length;d++){var a=r[d];if(a.nodeName==="LINK"||a.getAttribute("media")!=="not all")v.set(a.dataset.precedence,a),b=a}b&&v.set(hx,b)}r=g.instance,a=r.getAttribute("data-precedence"),d=v.get(a)||b,d===b&&v.set(hx,r),v.set(a,r),this.count++,b=Wd.bind(this),r.addEventListener("load",b),r.addEventListener("error",b),d?d.parentNode.insertBefore(r,d.nextSibling):(w=w.nodeType===9?w.head:w,w.insertBefore(r,w.firstChild)),g.state.loading|=Z2}}function lQ(w,g,v,b,r,d,a,x,G){this.tag=1,this.containerInfo=w,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Y5,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=L5(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=L5(0),this.hiddenUpdates=L5(null),this.identifierPrefix=b,this.onUncaughtError=r,this.onCaughtError=d,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=G,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,w=this.pendingUpdatersLaneMap=[];for(g=0;31>g;g++)w.push(new Set);this._debugRootType=v?"hydrateRoot()":"createRoot()"}function tG(w,g,v,b,r,d,a,x,G,X,M,L){return w=new lQ(w,g,v,a,G,X,M,L,x),g=yH,d===!0&&(g|=d1|H2),g|=K0,d=R(3,null,null,g),w.current=d,d.stateNode=w,g=O6(),ov(g),w.pooledCache=g,ov(g),d.memoizedState={element:b,isDehydrated:v,cache:g},h6(d),w}function sG(w){if(!w)return gv;return w=gv,w}function w3(w,g,v,b,r,d){if(r1&&typeof r1.onScheduleFiberRoot==="function")try{r1.onScheduleFiberRoot(u5,b,v)}catch(a){V2||(V2=!0,console.error("React instrumentation encountered an error: %o",a))}r=sG(r),b.context===null?b.context=r:b.pendingContext=r,S2&&c1!==null&&!c_&&(c_=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
183
+
184
+ Check the render method of %s.`,j(c1)||"Unknown")),b=og(g),b.payload={element:v},d=d===void 0?null:d,d!==null&&(typeof d!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",d),b.callback=d),v=Pg(w,b,g),v!==null&&(N2(g,"root.render()",null),lw(v,w,g),tb(v,w,g))}function eG(w,g){if(w=w.memoizedState,w!==null&&w.dehydrated!==null){var v=w.retryLane;w.retryLane=v!==0&&v<g?v:g}}function g3(w,g){eG(w,g),(w=w.alternate)&&eG(w,g)}function wZ(w){if(w.tag===13||w.tag===31){var g=b1(w,67108864);g!==null&&lw(g,w,67108864),g3(w,67108864)}}function gZ(w){if(w.tag===13||w.tag===31){var g=I1(w);g=Rv(g);var v=b1(w,g);v!==null&&lw(v,w,g),g3(w,g)}}function AQ(){return c1}function MQ(w,g,v,b){var r=m.T;m.T=null;var d=s0.p;try{s0.p=i1,v3(w,g,v,b)}finally{s0.p=d,m.T=r}}function LQ(w,g,v,b){var r=m.T;m.T=null;var d=s0.p;try{s0.p=Q2,v3(w,g,v,b)}finally{s0.p=d,m.T=r}}function v3(w,g,v,b){if(Fa){var r=b3(b);if(r===null)P8(w,g,b,Ka,v),bZ(w,b);else if(OQ(r,w,g,v,b))b.stopPropagation();else if(bZ(w,b),g&4&&-1<kU.indexOf(w)){for(;r!==null;){var d=A0(r);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var a=A2(d.pendingLanes);if(a!==0){var x=d;x.pendingLanes|=2;for(x.entangledLanes|=2;a;){var G=1<<31-G1(a);x.entanglements[1]|=G,a&=~G}i2(d),(j0&(yw|S1))===uw&&(_a=Ew()+__,Xr(0,!1))}}break;case 31:case 13:x=b1(d,2),x!==null&&lw(x,d,2),i5(),g3(d,2)}if(d=b3(b),d===null&&P8(w,g,b,Ka,v),d===r)break;r=d}r!==null&&b.stopPropagation()}else P8(w,g,b,null,v)}}function b3(w){return w=G6(w),r3(w)}function r3(w){if(Ka=null,w=b0(w),w!==null){var g=a0(w);if(g===null)w=null;else{var v=g.tag;if(v===13){if(w=x0(g),w!==null)return w;w=null}else if(v===31){if(w=D(g),w!==null)return w;w=null}else if(v===3){if(g.stateNode.current.memoizedState.isDehydrated)return g.tag===3?g.stateNode.containerInfo:null;w=null}else g!==w&&(w=null)}}return Ka=w,null}function vZ(w){switch(w){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return i1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Q2;case"message":switch(CQ()){case H3:return i1;case U3:return Q2;case D5:case fQ:return j2;case k3:return hd;default:return j2}default:return j2}}function bZ(w,g){switch(w){case"focusin":case"focusout":Uv=null;break;case"dragenter":case"dragleave":kv=null;break;case"mouseover":case"mouseout":Jv=null;break;case"pointerover":case"pointerout":_4.delete(g.pointerId);break;case"gotpointercapture":case"lostpointercapture":Y4.delete(g.pointerId)}}function Ur(w,g,v,b,r,d){if(w===null||w.nativeEvent!==d)return w={blockedOn:g,domEventName:v,eventSystemFlags:b,nativeEvent:d,targetContainers:[r]},g!==null&&(g=A0(g),g!==null&&wZ(g)),w;return w.eventSystemFlags|=b,g=w.targetContainers,r!==null&&g.indexOf(r)===-1&&g.push(r),w}function OQ(w,g,v,b,r){switch(g){case"focusin":return Uv=Ur(Uv,w,g,v,b,r),!0;case"dragenter":return kv=Ur(kv,w,g,v,b,r),!0;case"mouseover":return Jv=Ur(Jv,w,g,v,b,r),!0;case"pointerover":var d=r.pointerId;return _4.set(d,Ur(_4.get(d)||null,w,g,v,b,r)),!0;case"gotpointercapture":return d=r.pointerId,Y4.set(d,Ur(Y4.get(d)||null,w,g,v,b,r)),!0}return!1}function rZ(w){var g=b0(w.target);if(g!==null){var v=a0(g);if(v!==null){if(g=v.tag,g===13){if(g=x0(v),g!==null){w.blockedOn=g,V(w.priority,function(){gZ(v)});return}}else if(g===31){if(g=D(v),g!==null){w.blockedOn=g,V(w.priority,function(){gZ(v)});return}}else if(g===3&&v.stateNode.current.memoizedState.isDehydrated){w.blockedOn=v.tag===3?v.stateNode.containerInfo:null;return}}}w.blockedOn=null}function ld(w){if(w.blockedOn!==null)return!1;for(var g=w.targetContainers;0<g.length;){var v=b3(w.nativeEvent);if(v===null){v=w.nativeEvent;var b=new v.constructor(v.type,v),r=b;lr!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),lr=r,v.target.dispatchEvent(b),lr===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),lr=null}else return g=A0(v),g!==null&&wZ(g),w.blockedOn=v,!1;g.shift()}return!0}function dZ(w,g,v){ld(w)&&v.delete(g)}function NQ(){mx=!1,Uv!==null&&ld(Uv)&&(Uv=null),kv!==null&&ld(kv)&&(kv=null),Jv!==null&&ld(Jv)&&(Jv=null),_4.forEach(dZ),Y4.forEach(dZ)}function Ad(w,g){w.blockedOn===g&&(w.blockedOn=null,mx||(mx=!0,n0.unstable_scheduleCallback(n0.unstable_NormalPriority,NQ)))}function aZ(w){Ra!==w&&(Ra=w,n0.unstable_scheduleCallback(n0.unstable_NormalPriority,function(){Ra===w&&(Ra=null);for(var g=0;g<w.length;g+=3){var v=w[g],b=w[g+1],r=w[g+2];if(typeof b!=="function")if(r3(b||v)===null)continue;else break;var d=A0(v);d!==null&&(w.splice(g,3),g-=3,v={pending:!0,data:r,method:v.method,action:b},Object.freeze(v),r8(d,v,b,r))}}))}function V5(w){function g(G){return Ad(G,w)}Uv!==null&&Ad(Uv,w),kv!==null&&Ad(kv,w),Jv!==null&&Ad(Jv,w),_4.forEach(g),Y4.forEach(g);for(var v=0;v<Wv.length;v++){var b=Wv[v];b.blockedOn===w&&(b.blockedOn=null)}for(;0<Wv.length&&(v=Wv[0],v.blockedOn===null);)rZ(v),v.blockedOn===null&&Wv.shift();if(v=(w.ownerDocument||w).$$reactFormReplay,v!=null)for(b=0;b<v.length;b+=3){var r=v[b],d=v[b+1],a=r[Z1]||null;if(typeof d==="function")a||aZ(v);else if(a){var x=null;if(d&&d.hasAttribute("formAction")){if(r=d,a=d[Z1]||null)x=a.formAction;else if(r3(r)!==null)continue}else x=a.action;typeof x==="function"?v[b+1]=x:(v.splice(b,3),b-=3),aZ(v)}}}function xZ(){function w(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(a){return r=a})},focusReset:"manual",scroll:"manual"})}function g(){r!==null&&(r(),r=null),b||setTimeout(v,20)}function v(){if(!b&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var b=!1,r=null;return navigation.addEventListener("navigate",w),navigation.addEventListener("navigatesuccess",g),navigation.addEventListener("navigateerror",g),setTimeout(v,100),function(){b=!0,navigation.removeEventListener("navigate",w),navigation.removeEventListener("navigatesuccess",g),navigation.removeEventListener("navigateerror",g),r!==null&&(r(),r=null)}}}function d3(w){this._internalRoot=w}function Md(w){this._internalRoot=w}function zZ(w){w[tg]&&(w._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var C0=Object.assign,FQ=Symbol.for("react.element"),P2=Symbol.for("react.transitional.element"),E5=Symbol.for("react.portal"),j5=Symbol.for("react.fragment"),Ld=Symbol.for("react.strict_mode"),a3=Symbol.for("react.profiler"),x3=Symbol.for("react.consumer"),y2=Symbol.for("react.context"),kr=Symbol.for("react.forward_ref"),z3=Symbol.for("react.suspense"),G3=Symbol.for("react.suspense_list"),Od=Symbol.for("react.memo"),f1=Symbol.for("react.lazy"),Z3=Symbol.for("react.activity"),KQ=Symbol.for("react.memo_cache_sentinel"),GZ=Symbol.iterator,RQ=Symbol.for("react.client.reference"),ow=Array.isArray,m=Nb.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,s0=Ix.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,hQ=Object.freeze({pending:!1,data:null,method:null,action:null}),X3=[],_3=[],Xg=-1,ug=D0(null),Jr=D0(null),ng=D0(null),Nd=D0(null),Wr=0,ZZ,XZ,_Z,YZ,$Z,BZ,QZ;C.__reactDisabledLog=!0;var Y3,HZ,$3=!1,B3=new(typeof WeakMap==="function"?WeakMap:Map),c1=null,S2=!1,B2=Object.prototype.hasOwnProperty,Q3=n0.unstable_scheduleCallback,mQ=n0.unstable_cancelCallback,TQ=n0.unstable_shouldYield,IQ=n0.unstable_requestPaint,Ew=n0.unstable_now,CQ=n0.unstable_getCurrentPriorityLevel,H3=n0.unstable_ImmediatePriority,U3=n0.unstable_UserBlockingPriority,D5=n0.unstable_NormalPriority,fQ=n0.unstable_LowPriority,k3=n0.unstable_IdlePriority,cQ=n0.log,iQ=n0.unstable_setDisableYieldValue,u5=null,r1=null,V2=!1,E2=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",G1=Math.clz32?Math.clz32:Q4,oQ=Math.log,PQ=Math.LN2,Fd=256,Kd=262144,Rd=4194304,i1=2,Q2=8,j2=32,hd=268435456,pg=Math.random().toString(36).slice(2),w1="__reactFiber$"+pg,Z1="__reactProps$"+pg,tg="__reactContainer$"+pg,J3="__reactEvents$"+pg,yQ="__reactListeners$"+pg,SQ="__reactHandles$"+pg,UZ="__reactResources$"+pg,qr="__reactMarker$"+pg,kZ=new Set,Dv={},W3={},VQ={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},EQ=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),JZ={},WZ={},jQ=/[\n"\\]/g,qZ=!1,lZ=!1,AZ=!1,MZ=!1,LZ=!1,OZ=!1,NZ=["value","defaultValue"],FZ=!1,KZ=/["'&<>\n\t]|^\s|\s$/,DQ="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),RZ="applet caption html table td th marquee object template foreignObject desc title".split(" "),uQ=RZ.concat(["button"]),nQ="dd dt li option optgroup p rp rt".split(" "),hZ={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},md={},q3={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},mZ=/([A-Z])/g,TZ=/^ms-/,pQ=/^(?:webkit|moz|o)[A-Z]/,tQ=/^-ms-/,sQ=/-(.)/g,IZ=/;\s*$/,n5={},l3={},CZ=!1,fZ=!1,cZ=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Td="http://www.w3.org/1998/Math/MathML",p5="http://www.w3.org/2000/svg",eQ=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Id={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},iZ={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},t5={},wH=RegExp("^(aria)-[: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]*$"),gH=RegExp("^(aria)[A-Z][: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]*$"),oZ=!1,X1={},PZ=/^on./,vH=/^on[^A-Z]/,bH=RegExp("^(aria)-[: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]*$"),rH=RegExp("^(aria)[A-Z][: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]*$"),dH=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,lr=null,s5=null,e5=null,A3=!1,D2=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),M3=!1;if(D2)try{var Ar={};Object.defineProperty(Ar,"passive",{get:function(){M3=!0}}),window.addEventListener("test",Ar,Ar),window.removeEventListener("test",Ar,Ar)}catch(w){M3=!1}var sg=null,L3=null,Cd=null,uv={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(w){return w.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fd=U1(uv),Mr=C0({},uv,{view:0,detail:0}),aH=U1(Mr),O3,N3,Lr,cd=C0({},Mr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Z6,button:0,buttons:0,relatedTarget:function(w){return w.relatedTarget===void 0?w.fromElement===w.srcElement?w.toElement:w.fromElement:w.relatedTarget},movementX:function(w){if("movementX"in w)return w.movementX;return w!==Lr&&(Lr&&w.type==="mousemove"?(O3=w.screenX-Lr.screenX,N3=w.screenY-Lr.screenY):N3=O3=0,Lr=w),O3},movementY:function(w){return"movementY"in w?w.movementY:N3}}),yZ=U1(cd),xH=C0({},cd,{dataTransfer:0}),zH=U1(xH),GH=C0({},Mr,{relatedTarget:0}),F3=U1(GH),ZH=C0({},uv,{animationName:0,elapsedTime:0,pseudoElement:0}),XH=U1(ZH),_H=C0({},uv,{clipboardData:function(w){return"clipboardData"in w?w.clipboardData:window.clipboardData}}),YH=U1(_H),$H=C0({},uv,{data:0}),SZ=U1($H),BH=SZ,QH={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},HH={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"},UH={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},kH=C0({},Mr,{key:function(w){if(w.key){var g=QH[w.key]||w.key;if(g!=="Unidentified")return g}return w.type==="keypress"?(w=l4(w),w===13?"Enter":String.fromCharCode(w)):w.type==="keydown"||w.type==="keyup"?HH[w.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Z6,charCode:function(w){return w.type==="keypress"?l4(w):0},keyCode:function(w){return w.type==="keydown"||w.type==="keyup"?w.keyCode:0},which:function(w){return w.type==="keypress"?l4(w):w.type==="keydown"||w.type==="keyup"?w.keyCode:0}}),JH=U1(kH),WH=C0({},cd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),VZ=U1(WH),qH=C0({},Mr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Z6}),lH=U1(qH),AH=C0({},uv,{propertyName:0,elapsedTime:0,pseudoElement:0}),MH=U1(AH),LH=C0({},cd,{deltaX:function(w){return"deltaX"in w?w.deltaX:("wheelDeltaX"in w)?-w.wheelDeltaX:0},deltaY:function(w){return"deltaY"in w?w.deltaY:("wheelDeltaY"in w)?-w.wheelDeltaY:("wheelDelta"in w)?-w.wheelDelta:0},deltaZ:0,deltaMode:0}),OH=U1(LH),NH=C0({},uv,{newState:0,oldState:0}),FH=U1(NH),KH=[9,13,27,32],EZ=229,K3=D2&&"CompositionEvent"in window,Or=null;D2&&"documentMode"in document&&(Or=document.documentMode);var RH=D2&&"TextEvent"in window&&!Or,jZ=D2&&(!K3||Or&&8<Or&&11>=Or),DZ=32,uZ=String.fromCharCode(DZ),nZ=!1,wb=!1,hH={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},Nr=null,Fr=null,pZ=!1;D2&&(pZ=e$("input")&&(!document.documentMode||9<document.documentMode));var _1=typeof Object.is==="function"?Object.is:dB,mH=D2&&"documentMode"in document&&11>=document.documentMode,gb=null,R3=null,Kr=null,h3=!1,vb={animationend:mv("Animation","AnimationEnd"),animationiteration:mv("Animation","AnimationIteration"),animationstart:mv("Animation","AnimationStart"),transitionrun:mv("Transition","TransitionRun"),transitionstart:mv("Transition","TransitionStart"),transitioncancel:mv("Transition","TransitionCancel"),transitionend:mv("Transition","TransitionEnd")},m3={},tZ={};D2&&(tZ=document.createElement("div").style,("AnimationEvent"in window)||(delete vb.animationend.animation,delete vb.animationiteration.animation,delete vb.animationstart.animation),("TransitionEvent"in window)||delete vb.transitionend.transition);var sZ=Tv("animationend"),eZ=Tv("animationiteration"),wX=Tv("animationstart"),TH=Tv("transitionrun"),IH=Tv("transitionstart"),CH=Tv("transitioncancel"),gX=Tv("transitionend"),vX=new Map,T3="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");T3.push("scrollEnd");var bX=0;if(typeof performance==="object"&&typeof performance.now==="function")var fH=performance,rX=function(){return fH.now()};else{var cH=Date;rX=function(){return cH.now()}}var I3=typeof reportError==="function"?reportError:function(w){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var g=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof w==="object"&&w!==null&&typeof w.message==="string"?String(w.message):String(w),error:w});if(!window.dispatchEvent(g))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",w);return}console.error(w)},iH="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",id=0,C3=1,f3=2,c3=3,od="– ",Pd="+ ",dX="  ",Bw=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",w2="Components ⚛",f0="Scheduler ⚛",i0="Blocking",eg=!1,_g={color:"primary",properties:null,tooltipText:"",track:w2},wv={start:-0,end:-0,detail:{devtools:_g}},oH=["Changed Props",""],aX="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",PH=["Changed Props",aX],Rr=1,Yg=2,g2=[],bb=0,i3=0,gv={};Object.freeze(gv);var v2=null,rb=null,H0=0,yH=1,K0=2,d1=8,H2=16,SH=32,xX=!1;try{var zX=Object.preventExtensions({})}catch(w){xX=!0}var o3=new WeakMap,db=[],ab=0,yd=null,hr=0,b2=[],r2=0,nv=null,$g=1,Bg="",g1=null,Qw=null,o0=!1,u2=!1,o1=null,vv=null,d2=!1,P3=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),y3=D0(null),S3=D0(null),GX={},Sd=null,xb=null,zb=!1,VH=typeof AbortController<"u"?AbortController:function(){var w=[],g=this.signal={aborted:!1,addEventListener:function(v,b){w.push(b)}};this.abort=function(){g.aborted=!0,w.forEach(function(v){return v()})}},EH=n0.unstable_scheduleCallback,jH=n0.unstable_NormalPriority,hw={$$typeof:y2,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},mw=n0.unstable_now,Vd=console.createTask?console.createTask:function(){return null},mr=1,Ed=2,jw=-0,bv=-0,Qg=-0,Hg=null,Y1=-1.1,pv=-0,Ww=-0,_0=-1.1,B0=-1.1,kw=null,Aw=!1,rv=-0,n2=-1.1,Tr=null,dv=0,V3=null,E3=null,tv=-1.1,Ir=null,Gb=-1.1,jd=-1.1,p2=-0,Ug=-1.1,a2=-1.1,j3=0,Cr=null,ZX=null,XX=null,av=-1.1,sv=null,xv=-1.1,Dd=-1.1,_X=-0,YX=-0,ud=0,kg=null,$X=0,fr=-1.1,nd=!1,pd=!1,cr=null,D3=0,ev=0,Zb=null,BX=m.S;m.S=function(w,g){if(Z_=Ew(),typeof g==="object"&&g!==null&&typeof g.then==="function"){if(0>Ug&&0>a2){Ug=mw();var v=$r(),b=Yr();if(v!==xv||b!==sv)xv=-1.1;av=v,sv=b}_B(w,g)}BX!==null&&BX(w,g)};var w5=D0(null),U2={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},ir=[],or=[],Pr=[],yr=[],Sr=[],Vr=[],g5=new Set;U2.recordUnsafeLifecycleWarnings=function(w,g){g5.has(w.type)||(typeof g.componentWillMount==="function"&&g.componentWillMount.__suppressDeprecationWarning!==!0&&ir.push(w),w.mode&d1&&typeof g.UNSAFE_componentWillMount==="function"&&or.push(w),typeof g.componentWillReceiveProps==="function"&&g.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Pr.push(w),w.mode&d1&&typeof g.UNSAFE_componentWillReceiveProps==="function"&&yr.push(w),typeof g.componentWillUpdate==="function"&&g.componentWillUpdate.__suppressDeprecationWarning!==!0&&Sr.push(w),w.mode&d1&&typeof g.UNSAFE_componentWillUpdate==="function"&&Vr.push(w))},U2.flushPendingUnsafeLifecycleWarnings=function(){var w=new Set;0<ir.length&&(ir.forEach(function(x){w.add(j(x)||"Component"),g5.add(x.type)}),ir=[]);var g=new Set;0<or.length&&(or.forEach(function(x){g.add(j(x)||"Component"),g5.add(x.type)}),or=[]);var v=new Set;0<Pr.length&&(Pr.forEach(function(x){v.add(j(x)||"Component"),g5.add(x.type)}),Pr=[]);var b=new Set;0<yr.length&&(yr.forEach(function(x){b.add(j(x)||"Component"),g5.add(x.type)}),yr=[]);var r=new Set;0<Sr.length&&(Sr.forEach(function(x){r.add(j(x)||"Component"),g5.add(x.type)}),Sr=[]);var d=new Set;if(0<Vr.length&&(Vr.forEach(function(x){d.add(j(x)||"Component"),g5.add(x.type)}),Vr=[]),0<g.size){var a=U(g);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
185
+
186
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
187
+
188
+ Please update the following components: %s`,a)}0<b.size&&(a=U(b),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
189
+
190
+ * Move data fetching code or side effects to componentDidUpdate.
191
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
192
+
193
+ Please update the following components: %s`,a)),0<d.size&&(a=U(d),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
194
+
195
+ * Move data fetching code or side effects to componentDidUpdate.
196
+
197
+ Please update the following components: %s`,a)),0<w.size&&(a=U(w),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
198
+
199
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
200
+ * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
201
+
202
+ Please update the following components: %s`,a)),0<v.size&&(a=U(v),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
203
+
204
+ * Move data fetching code or side effects to componentDidUpdate.
205
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
206
+ * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
207
+
208
+ Please update the following components: %s`,a)),0<r.size&&(a=U(r),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
209
+
210
+ * Move data fetching code or side effects to componentDidUpdate.
211
+ * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
212
+
213
+ Please update the following components: %s`,a))};var td=new Map,QX=new Set;U2.recordLegacyContextWarning=function(w,g){var v=null;for(var b=w;b!==null;)b.mode&d1&&(v=b),b=b.return;v===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!QX.has(w.type)&&(b=td.get(v),w.type.contextTypes!=null||w.type.childContextTypes!=null||g!==null&&typeof g.getChildContext==="function")&&(b===void 0&&(b=[],td.set(v,b)),b.push(w))},U2.flushLegacyContextWarning=function(){td.forEach(function(w){if(w.length!==0){var g=w[0],v=new Set;w.forEach(function(r){v.add(j(r)||"Component"),QX.add(r.type)});var b=U(v);w0(g,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
214
+
215
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
216
+
217
+ Please update the following components: %s
218
+
219
+ Learn more about this warning here: https://react.dev/link/legacy-context`,b)})}})},U2.discardPendingWarnings=function(){ir=[],or=[],Pr=[],yr=[],Sr=[],Vr=[],td=new Map};var HX={react_stack_bottom_frame:function(w,g,v){var b=S2;S2=!0;try{return w(g,v)}finally{S2=b}}},u3=HX.react_stack_bottom_frame.bind(HX),UX={react_stack_bottom_frame:function(w){var g=S2;S2=!0;try{return w.render()}finally{S2=g}}},kX=UX.react_stack_bottom_frame.bind(UX),JX={react_stack_bottom_frame:function(w,g){try{g.componentDidMount()}catch(v){t0(w,w.return,v)}}},n3=JX.react_stack_bottom_frame.bind(JX),WX={react_stack_bottom_frame:function(w,g,v,b,r){try{g.componentDidUpdate(v,b,r)}catch(d){t0(w,w.return,d)}}},qX=WX.react_stack_bottom_frame.bind(WX),lX={react_stack_bottom_frame:function(w,g){var v=g.stack;w.componentDidCatch(g.value,{componentStack:v!==null?v:""})}},DH=lX.react_stack_bottom_frame.bind(lX),AX={react_stack_bottom_frame:function(w,g,v){try{v.componentWillUnmount()}catch(b){t0(w,g,b)}}},MX=AX.react_stack_bottom_frame.bind(AX),LX={react_stack_bottom_frame:function(w){var g=w.create;return w=w.inst,g=g(),w.destroy=g}},uH=LX.react_stack_bottom_frame.bind(LX),OX={react_stack_bottom_frame:function(w,g,v){try{v()}catch(b){t0(w,g,b)}}},nH=OX.react_stack_bottom_frame.bind(OX),NX={react_stack_bottom_frame:function(w){var g=w._init;return g(w._payload)}},pH=NX.react_stack_bottom_frame.bind(NX),Xb=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),p3=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),sd=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),ed={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},v5=null,Er=!1,_b=null,jr=0,R0=null,t3,FX=t3=!1,KX={},RX={},hX={};A=function(w,g,v){if(v!==null&&typeof v==="object"&&v._store&&(!v._store.validated&&v.key==null||v._store.validated===2)){if(typeof v._store!=="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");v._store.validated=1;var b=j(w),r=b||"null";if(!KX[r]){KX[r]=!0,v=v._owner,w=w._debugOwner;var d="";w&&typeof w.tag==="number"&&(r=j(w))&&(d=`
220
+
221
+ Check the render method of \``+r+"`."),d||b&&(d=`
222
+
223
+ Check the top-level render call using <`+b+">.");var a="";v!=null&&w!==v&&(b=null,typeof v.tag==="number"?b=j(v):typeof v.name==="string"&&(b=v.name),b&&(a=" It was passed a child from "+b+".")),w0(g,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',d,a)})}}};var b5=A9(!0),mX=A9(!1),TX=0,IX=1,CX=2,s3=3,zv=!1,fX=!1,e3=null,wx=!1,Yb=D0(null),wa=D0(0),P1=D0(null),x2=null,$b=1,Dr=2,Kw=D0(0),ga=0,z2=1,$1=2,y1=4,B1=8,Bb,cX=new Set,iX=new Set,gx=new Set,oX=new Set,Jg=0,k0=null,xw=null,Tw=null,va=!1,Qb=!1,r5=!1,ba=0,ur=0,Wg=null,tH=0,sH=25,h=null,G2=null,qg=-1,nr=!1,pr={readContext:Uw,use:Vg,useCallback:Nw,useContext:Nw,useEffect:Nw,useImperativeHandle:Nw,useLayoutEffect:Nw,useInsertionEffect:Nw,useMemo:Nw,useReducer:Nw,useRef:Nw,useState:Nw,useDebugValue:Nw,useDeferredValue:Nw,useTransition:Nw,useSyncExternalStore:Nw,useId:Nw,useHostTransitionStatus:Nw,useFormState:Nw,useActionState:Nw,useOptimistic:Nw,useMemoCache:Nw,useCacheRefresh:Nw};pr.useEffectEvent=Nw;var vx=null,PX=null,bx=null,yX=null,t2=null,k2=null,ra=null;vx={readContext:function(w){return Uw(w)},use:Vg,useCallback:function(w,g){return h="useCallback",I0(),h5(g),w8(w,g)},useContext:function(w){return h="useContext",I0(),Uw(w)},useEffect:function(w,g){return h="useEffect",I0(),h5(g),t4(w,g)},useImperativeHandle:function(w,g,v){return h="useImperativeHandle",I0(),h5(v),e6(w,g,v)},useInsertionEffect:function(w,g){h="useInsertionEffect",I0(),h5(g),yv(4,$1,w,g)},useLayoutEffect:function(w,g){return h="useLayoutEffect",I0(),h5(g),s6(w,g)},useMemo:function(w,g){h="useMemo",I0(),h5(g);var v=m.H;m.H=t2;try{return g8(w,g)}finally{m.H=v}},useReducer:function(w,g,v){h="useReducer",I0();var b=m.H;m.H=t2;try{return S6(w,g,v)}finally{m.H=b}},useRef:function(w){return h="useRef",I0(),p6(w)},useState:function(w){h="useState",I0();var g=m.H;m.H=t2;try{return D6(w)}finally{m.H=g}},useDebugValue:function(){h="useDebugValue",I0()},useDeferredValue:function(w,g){return h="useDeferredValue",I0(),v8(w,g)},useTransition:function(){return h="useTransition",I0(),d8()},useSyncExternalStore:function(w,g,v){return h="useSyncExternalStore",I0(),E6(w,g,v)},useId:function(){return h="useId",I0(),a8()},useFormState:function(w,g){return h="useFormState",I0(),j4(),T5(w,g)},useActionState:function(w,g){return h="useActionState",I0(),T5(w,g)},useOptimistic:function(w){return h="useOptimistic",I0(),u6(w)},useHostTransitionStatus:Sv,useMemoCache:Pv,useCacheRefresh:function(){return h="useCacheRefresh",I0(),x8()},useEffectEvent:function(w){return h="useEffectEvent",I0(),t6(w)}},PX={readContext:function(w){return Uw(w)},use:Vg,useCallback:function(w,g){return h="useCallback",i(),w8(w,g)},useContext:function(w){return h="useContext",i(),Uw(w)},useEffect:function(w,g){return h="useEffect",i(),t4(w,g)},useImperativeHandle:function(w,g,v){return h="useImperativeHandle",i(),e6(w,g,v)},useInsertionEffect:function(w,g){h="useInsertionEffect",i(),yv(4,$1,w,g)},useLayoutEffect:function(w,g){return h="useLayoutEffect",i(),s6(w,g)},useMemo:function(w,g){h="useMemo",i();var v=m.H;m.H=t2;try{return g8(w,g)}finally{m.H=v}},useReducer:function(w,g,v){h="useReducer",i();var b=m.H;m.H=t2;try{return S6(w,g,v)}finally{m.H=b}},useRef:function(w){return h="useRef",i(),p6(w)},useState:function(w){h="useState",i();var g=m.H;m.H=t2;try{return D6(w)}finally{m.H=g}},useDebugValue:function(){h="useDebugValue",i()},useDeferredValue:function(w,g){return h="useDeferredValue",i(),v8(w,g)},useTransition:function(){return h="useTransition",i(),d8()},useSyncExternalStore:function(w,g,v){return h="useSyncExternalStore",i(),E6(w,g,v)},useId:function(){return h="useId",i(),a8()},useActionState:function(w,g){return h="useActionState",i(),T5(w,g)},useFormState:function(w,g){return h="useFormState",i(),j4(),T5(w,g)},useOptimistic:function(w){return h="useOptimistic",i(),u6(w)},useHostTransitionStatus:Sv,useMemoCache:Pv,useCacheRefresh:function(){return h="useCacheRefresh",i(),x8()},useEffectEvent:function(w){return h="useEffectEvent",i(),t6(w)}},bx={readContext:function(w){return Uw(w)},use:Vg,useCallback:function(w,g){return h="useCallback",i(),wd(w,g)},useContext:function(w){return h="useContext",i(),Uw(w)},useEffect:function(w,g){h="useEffect",i(),k1(2048,B1,w,g)},useImperativeHandle:function(w,g,v){return h="useImperativeHandle",i(),e4(w,g,v)},useInsertionEffect:function(w,g){return h="useInsertionEffect",i(),k1(4,$1,w,g)},useLayoutEffect:function(w,g){return h="useLayoutEffect",i(),k1(4,y1,w,g)},useMemo:function(w,g){h="useMemo",i();var v=m.H;m.H=k2;try{return gd(w,g)}finally{m.H=v}},useReducer:function(w,g,v){h="useReducer",i();var b=m.H;m.H=k2;try{return m5(w,g,v)}finally{m.H=b}},useRef:function(){return h="useRef",i(),ww().memoizedState},useState:function(){h="useState",i();var w=m.H;m.H=k2;try{return m5(Y2)}finally{m.H=w}},useDebugValue:function(){h="useDebugValue",i()},useDeferredValue:function(w,g){return h="useDeferredValue",i(),j9(w,g)},useTransition:function(){return h="useTransition",i(),s9()},useSyncExternalStore:function(w,g,v){return h="useSyncExternalStore",i(),u4(w,g,v)},useId:function(){return h="useId",i(),ww().memoizedState},useFormState:function(w){return h="useFormState",i(),j4(),n4(w)},useActionState:function(w){return h="useActionState",i(),n4(w)},useOptimistic:function(w,g){return h="useOptimistic",i(),C9(w,g)},useHostTransitionStatus:Sv,useMemoCache:Pv,useCacheRefresh:function(){return h="useCacheRefresh",i(),ww().memoizedState},useEffectEvent:function(w){return h="useEffectEvent",i(),s4(w)}},yX={readContext:function(w){return Uw(w)},use:Vg,useCallback:function(w,g){return h="useCallback",i(),wd(w,g)},useContext:function(w){return h="useContext",i(),Uw(w)},useEffect:function(w,g){h="useEffect",i(),k1(2048,B1,w,g)},useImperativeHandle:function(w,g,v){return h="useImperativeHandle",i(),e4(w,g,v)},useInsertionEffect:function(w,g){return h="useInsertionEffect",i(),k1(4,$1,w,g)},useLayoutEffect:function(w,g){return h="useLayoutEffect",i(),k1(4,y1,w,g)},useMemo:function(w,g){h="useMemo",i();var v=m.H;m.H=ra;try{return gd(w,g)}finally{m.H=v}},useReducer:function(w,g,v){h="useReducer",i();var b=m.H;m.H=ra;try{return gr(w,g,v)}finally{m.H=b}},useRef:function(){return h="useRef",i(),ww().memoizedState},useState:function(){h="useState",i();var w=m.H;m.H=ra;try{return gr(Y2)}finally{m.H=w}},useDebugValue:function(){h="useDebugValue",i()},useDeferredValue:function(w,g){return h="useDeferredValue",i(),D9(w,g)},useTransition:function(){return h="useTransition",i(),e9()},useSyncExternalStore:function(w,g,v){return h="useSyncExternalStore",i(),u4(w,g,v)},useId:function(){return h="useId",i(),ww().memoizedState},useFormState:function(w){return h="useFormState",i(),j4(),p4(w)},useActionState:function(w){return h="useActionState",i(),p4(w)},useOptimistic:function(w,g){return h="useOptimistic",i(),c9(w,g)},useHostTransitionStatus:Sv,useMemoCache:Pv,useCacheRefresh:function(){return h="useCacheRefresh",i(),ww().memoizedState},useEffectEvent:function(w){return h="useEffectEvent",i(),s4(w)}},t2={readContext:function(w){return N(),Uw(w)},use:function(w){return H(),Vg(w)},useCallback:function(w,g){return h="useCallback",H(),I0(),w8(w,g)},useContext:function(w){return h="useContext",H(),I0(),Uw(w)},useEffect:function(w,g){return h="useEffect",H(),I0(),t4(w,g)},useImperativeHandle:function(w,g,v){return h="useImperativeHandle",H(),I0(),e6(w,g,v)},useInsertionEffect:function(w,g){h="useInsertionEffect",H(),I0(),yv(4,$1,w,g)},useLayoutEffect:function(w,g){return h="useLayoutEffect",H(),I0(),s6(w,g)},useMemo:function(w,g){h="useMemo",H(),I0();var v=m.H;m.H=t2;try{return g8(w,g)}finally{m.H=v}},useReducer:function(w,g,v){h="useReducer",H(),I0();var b=m.H;m.H=t2;try{return S6(w,g,v)}finally{m.H=b}},useRef:function(w){return h="useRef",H(),I0(),p6(w)},useState:function(w){h="useState",H(),I0();var g=m.H;m.H=t2;try{return D6(w)}finally{m.H=g}},useDebugValue:function(){h="useDebugValue",H(),I0()},useDeferredValue:function(w,g){return h="useDeferredValue",H(),I0(),v8(w,g)},useTransition:function(){return h="useTransition",H(),I0(),d8()},useSyncExternalStore:function(w,g,v){return h="useSyncExternalStore",H(),I0(),E6(w,g,v)},useId:function(){return h="useId",H(),I0(),a8()},useFormState:function(w,g){return h="useFormState",H(),I0(),T5(w,g)},useActionState:function(w,g){return h="useActionState",H(),I0(),T5(w,g)},useOptimistic:function(w){return h="useOptimistic",H(),I0(),u6(w)},useMemoCache:function(w){return H(),Pv(w)},useHostTransitionStatus:Sv,useCacheRefresh:function(){return h="useCacheRefresh",I0(),x8()},useEffectEvent:function(w){return h="useEffectEvent",H(),I0(),t6(w)}},k2={readContext:function(w){return N(),Uw(w)},use:function(w){return H(),Vg(w)},useCallback:function(w,g){return h="useCallback",H(),i(),wd(w,g)},useContext:function(w){return h="useContext",H(),i(),Uw(w)},useEffect:function(w,g){h="useEffect",H(),i(),k1(2048,B1,w,g)},useImperativeHandle:function(w,g,v){return h="useImperativeHandle",H(),i(),e4(w,g,v)},useInsertionEffect:function(w,g){return h="useInsertionEffect",H(),i(),k1(4,$1,w,g)},useLayoutEffect:function(w,g){return h="useLayoutEffect",H(),i(),k1(4,y1,w,g)},useMemo:function(w,g){h="useMemo",H(),i();var v=m.H;m.H=k2;try{return gd(w,g)}finally{m.H=v}},useReducer:function(w,g,v){h="useReducer",H(),i();var b=m.H;m.H=k2;try{return m5(w,g,v)}finally{m.H=b}},useRef:function(){return h="useRef",H(),i(),ww().memoizedState},useState:function(){h="useState",H(),i();var w=m.H;m.H=k2;try{return m5(Y2)}finally{m.H=w}},useDebugValue:function(){h="useDebugValue",H(),i()},useDeferredValue:function(w,g){return h="useDeferredValue",H(),i(),j9(w,g)},useTransition:function(){return h="useTransition",H(),i(),s9()},useSyncExternalStore:function(w,g,v){return h="useSyncExternalStore",H(),i(),u4(w,g,v)},useId:function(){return h="useId",H(),i(),ww().memoizedState},useFormState:function(w){return h="useFormState",H(),i(),n4(w)},useActionState:function(w){return h="useActionState",H(),i(),n4(w)},useOptimistic:function(w,g){return h="useOptimistic",H(),i(),C9(w,g)},useMemoCache:function(w){return H(),Pv(w)},useHostTransitionStatus:Sv,useCacheRefresh:function(){return h="useCacheRefresh",i(),ww().memoizedState},useEffectEvent:function(w){return h="useEffectEvent",H(),i(),s4(w)}},ra={readContext:function(w){return N(),Uw(w)},use:function(w){return H(),Vg(w)},useCallback:function(w,g){return h="useCallback",H(),i(),wd(w,g)},useContext:function(w){return h="useContext",H(),i(),Uw(w)},useEffect:function(w,g){h="useEffect",H(),i(),k1(2048,B1,w,g)},useImperativeHandle:function(w,g,v){return h="useImperativeHandle",H(),i(),e4(w,g,v)},useInsertionEffect:function(w,g){return h="useInsertionEffect",H(),i(),k1(4,$1,w,g)},useLayoutEffect:function(w,g){return h="useLayoutEffect",H(),i(),k1(4,y1,w,g)},useMemo:function(w,g){h="useMemo",H(),i();var v=m.H;m.H=k2;try{return gd(w,g)}finally{m.H=v}},useReducer:function(w,g,v){h="useReducer",H(),i();var b=m.H;m.H=k2;try{return gr(w,g,v)}finally{m.H=b}},useRef:function(){return h="useRef",H(),i(),ww().memoizedState},useState:function(){h="useState",H(),i();var w=m.H;m.H=k2;try{return gr(Y2)}finally{m.H=w}},useDebugValue:function(){h="useDebugValue",H(),i()},useDeferredValue:function(w,g){return h="useDeferredValue",H(),i(),D9(w,g)},useTransition:function(){return h="useTransition",H(),i(),e9()},useSyncExternalStore:function(w,g,v){return h="useSyncExternalStore",H(),i(),u4(w,g,v)},useId:function(){return h="useId",H(),i(),ww().memoizedState},useFormState:function(w){return h="useFormState",H(),i(),p4(w)},useActionState:function(w){return h="useActionState",H(),i(),p4(w)},useOptimistic:function(w,g){return h="useOptimistic",H(),i(),c9(w,g)},useMemoCache:function(w){return H(),Pv(w)},useHostTransitionStatus:Sv,useCacheRefresh:function(){return h="useCacheRefresh",i(),ww().memoizedState},useEffectEvent:function(w){return h="useEffectEvent",H(),i(),s4(w)}};var SX={},VX=new Set,EX=new Set,jX=new Set,DX=new Set,uX=new Set,nX=new Set,pX=new Set,tX=new Set,sX=new Set,eX=new Set;Object.freeze(SX);var rx={enqueueSetState:function(w,g,v){w=w._reactInternals;var b=I1(w),r=og(b);r.payload=g,v!==void 0&&v!==null&&(G8(v),r.callback=v),g=Pg(w,r,b),g!==null&&(N2(b,"this.setState()",w),lw(g,w,b),tb(g,w,b))},enqueueReplaceState:function(w,g,v){w=w._reactInternals;var b=I1(w),r=og(b);r.tag=IX,r.payload=g,v!==void 0&&v!==null&&(G8(v),r.callback=v),g=Pg(w,r,b),g!==null&&(N2(b,"this.replaceState()",w),lw(g,w,b),tb(g,w,b))},enqueueForceUpdate:function(w,g){w=w._reactInternals;var v=I1(w),b=og(v);b.tag=CX,g!==void 0&&g!==null&&(G8(g),b.callback=g),g=Pg(w,b,v),g!==null&&(N2(v,"this.forceUpdate()",w),lw(g,w,v),tb(g,w,v))}},Hb=null,dx=null,ax=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Iw=!1,w_={},g_={},v_={},b_={},Ub=!1,r_={},da={},xx={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},d_=!1,a_=null;a_=new Set;var lg=!1,Cw=!1,zx=!1,x_=typeof WeakSet==="function"?WeakSet:Set,Dw=null,kb=null,Jb=null,fw=null,q1=!1,J2=null,Pw=!1,tr=8192,eH={getCacheForType:function(w){var g=Uw(hw),v=g.data.get(w);return v===void 0&&(v=w(),g.data.set(w,v)),v},cacheSignal:function(){return Uw(hw).controller.signal},getOwner:function(){return c1}};if(typeof Symbol==="function"&&Symbol.for){var sr=Symbol.for;sr("selector.component"),sr("selector.has_pseudo_class"),sr("selector.role"),sr("selector.test_id"),sr("selector.text")}var wU=[],gU=typeof WeakMap==="function"?WeakMap:Map,uw=0,yw=2,S1=4,Ag=0,er=1,d5=2,aa=3,Gv=4,xa=6,z_=5,j0=uw,zw=null,T0=null,h0=0,l1=0,za=1,a5=2,w4=3,G_=4,Gx=5,g4=6,Ga=7,Zx=8,x5=9,gw=l1,V1=null,Zv=!1,Wb=!1,Xx=!1,s2=0,qw=Ag,Xv=0,_v=0,_x=0,A1=0,z5=0,v4=null,Q1=null,Za=!1,Xa=0,Z_=0,X_=300,_a=1/0,__=500,b4=null,Fw=null,Yv=null,Ya=0,Yx=1,$x=2,Y_=3,$v=0,$_=1,B_=2,Q_=3,H_=4,$a=5,cw=0,Bv=null,qb=null,W2=0,Bx=0,Qx=-0,Hx=null,U_=null,k_=null,q2=Ya,J_=null,vU=50,r4=0,Ux=null,kx=!1,Ba=!1,bU=50,G5=0,d4=null,lb=!1,Qa=null,W_=!1,q_=new Set,rU={},Ha=null,Ab=null,Jx=!1,Wx=!1,Ua=!1,qx=!1,Qv=0,lx={};(function(){for(var w=0;w<T3.length;w++){var g=T3[w],v=g.toLowerCase();g=g[0].toUpperCase()+g.slice(1),_2(v,"on"+g)}_2(sZ,"onAnimationEnd"),_2(eZ,"onAnimationIteration"),_2(wX,"onAnimationStart"),_2("dblclick","onDoubleClick"),_2("focusin","onFocus"),_2("focusout","onBlur"),_2(TH,"onTransitionRun"),_2(IH,"onTransitionStart"),_2(CH,"onTransitionCancel"),_2(gX,"onTransitionEnd")})(),N1("onMouseEnter",["mouseout","mouseover"]),N1("onMouseLeave",["mouseout","mouseover"]),N1("onPointerEnter",["pointerout","pointerover"]),N1("onPointerLeave",["pointerout","pointerover"]),v1("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),v1("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),v1("onBeforeInput",["compositionend","keypress","textInput","paste"]),v1("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),v1("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),v1("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var a4="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(" "),Ax=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(a4)),ka="_reactListening"+Math.random().toString(36).slice(2),l_=!1,A_=!1,Ja=!1,M_=!1,Wa=!1,qa=!1,L_=!1,la={},dU=/\r\n?/g,aU=/\u0000|\uFFFD/g,Z5="http://www.w3.org/1999/xlink",Mx="http://www.w3.org/XML/1998/namespace",xU="javascript:throw new Error('React form unexpectedly submitted.')",zU="suppressHydrationWarning",X5="&",Aa="/&",x4="$",z4="/$",Hv="$?",_5="$~",Mb="$!",GU="html",ZU="body",XU="head",Lx="F!",O_="F",N_="loading",_U="style",Mg=0,Lb=1,Ma=2,Ox=null,Nx=null,F_={dialog:!0,webview:!0},Fx=null,G4=void 0,K_=typeof setTimeout==="function"?setTimeout:void 0,YU=typeof clearTimeout==="function"?clearTimeout:void 0,Y5=-1,R_=typeof Promise==="function"?Promise:void 0,$U=typeof queueMicrotask==="function"?queueMicrotask:typeof R_<"u"?function(w){return R_.resolve(null).then(w).catch(sB)}:K_,Kx=null,$5=0,Z4=1,h_=2,m_=3,Z2=4,X2=new Map,T_=new Set,Lg=s0.d;s0.d={f:function(){var w=Lg.f(),g=i5();return w||g},r:function(w){var g=A0(w);g!==null&&g.tag===5&&g.type==="form"?t9(g):Lg.r(w)},D:function(w){Lg.D(w),VG("dns-prefetch",w,null)},C:function(w,g){Lg.C(w,g),VG("preconnect",w,g)},L:function(w,g,v){Lg.L(w,g,v);var b=Ob;if(b&&w&&g){var r='link[rel="preload"][as="'+s1(g)+'"]';g==="image"?v&&v.imageSrcSet?(r+='[imagesrcset="'+s1(v.imageSrcSet)+'"]',typeof v.imageSizes==="string"&&(r+='[imagesizes="'+s1(v.imageSizes)+'"]')):r+='[href="'+s1(w)+'"]':r+='[href="'+s1(w)+'"]';var d=r;switch(g){case"style":d=y5(w);break;case"script":d=S5(w)}X2.has(d)||(w=C0({rel:"preload",href:g==="image"&&v&&v.imageSrcSet?void 0:w,as:g},v),X2.set(d,w),b.querySelector(r)!==null||g==="style"&&b.querySelector(Qr(d))||g==="script"&&b.querySelector(Hr(d))||(g=b.createElement("link"),ew(g,"link",w),X0(g),b.head.appendChild(g)))}},m:function(w,g){Lg.m(w,g);var v=Ob;if(v&&w){var b=g&&typeof g.as==="string"?g.as:"script",r='link[rel="modulepreload"][as="'+s1(b)+'"][href="'+s1(w)+'"]',d=r;switch(b){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=S5(w)}if(!X2.has(d)&&(w=C0({rel:"modulepreload",href:w},g),X2.set(d,w),v.querySelector(r)===null)){switch(b){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(v.querySelector(Hr(d)))return}b=v.createElement("link"),ew(b,"link",w),X0(b),v.head.appendChild(b)}}},X:function(w,g){Lg.X(w,g);var v=Ob;if(v&&w){var b=u0(v).hoistableScripts,r=S5(w),d=b.get(r);d||(d=v.querySelector(Hr(r)),d||(w=C0({src:w,async:!0},g),(g=X2.get(r))&&e8(w,g),d=v.createElement("script"),X0(d),ew(d,"link",w),v.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},b.set(r,d))}},S:function(w,g,v){Lg.S(w,g,v);var b=Ob;if(b&&w){var r=u0(b).hoistableStyles,d=y5(w);g=g||"default";var a=r.get(d);if(!a){var x={loading:$5,preload:null};if(a=b.querySelector(Qr(d)))x.loading=Z4|Z2;else{w=C0({rel:"stylesheet",href:w,"data-precedence":g},v),(v=X2.get(d))&&s8(w,v);var G=a=b.createElement("link");X0(G),ew(G,"link",w),G._p=new Promise(function(X,M){G.onload=X,G.onerror=M}),G.addEventListener("load",function(){x.loading|=Z4}),G.addEventListener("error",function(){x.loading|=h_}),x.loading|=Z2,Jd(a,g,b)}a={type:"stylesheet",instance:a,count:1,state:x},r.set(d,a)}}},M:function(w,g){Lg.M(w,g);var v=Ob;if(v&&w){var b=u0(v).hoistableScripts,r=S5(w),d=b.get(r);d||(d=v.querySelector(Hr(r)),d||(w=C0({src:w,async:!0,type:"module"},g),(g=X2.get(r))&&e8(w,g),d=v.createElement("script"),X0(d),ew(d,"link",w),v.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},b.set(r,d))}}};var Ob=typeof document>"u"?null:document,La=null,BU=60000,QU=800,HU=500,Rx=0,hx=null,Oa=null,B5=hQ,X4={$$typeof:y2,Provider:null,Consumer:null,_currentValue:B5,_currentValue2:B5,_threadCount:0},I_="%c%s%c",C_="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",f_="",Na=" ",UU=Function.prototype.bind,c_=!1,i_=null,o_=null,P_=null,y_=null,S_=null,V_=null,E_=null,j_=null,D_=null,u_=null;i_=function(w,g,v,b){g=z(w,g),g!==null&&(v=Z(g.memoizedState,v,0,b),g.memoizedState=v,g.baseState=v,w.memoizedProps=C0({},w.memoizedProps),v=b1(w,2),v!==null&&lw(v,w,2))},o_=function(w,g,v){g=z(w,g),g!==null&&(v=B(g.memoizedState,v,0),g.memoizedState=v,g.baseState=v,w.memoizedProps=C0({},w.memoizedProps),v=b1(w,2),v!==null&&lw(v,w,2))},P_=function(w,g,v,b){g=z(w,g),g!==null&&(v=Y(g.memoizedState,v,b),g.memoizedState=v,g.baseState=v,w.memoizedProps=C0({},w.memoizedProps),v=b1(w,2),v!==null&&lw(v,w,2))},y_=function(w,g,v){w.pendingProps=Z(w.memoizedProps,g,0,v),w.alternate&&(w.alternate.pendingProps=w.pendingProps),g=b1(w,2),g!==null&&lw(g,w,2)},S_=function(w,g){w.pendingProps=B(w.memoizedProps,g,0),w.alternate&&(w.alternate.pendingProps=w.pendingProps),g=b1(w,2),g!==null&&lw(g,w,2)},V_=function(w,g,v){w.pendingProps=Y(w.memoizedProps,g,v),w.alternate&&(w.alternate.pendingProps=w.pendingProps),g=b1(w,2),g!==null&&lw(g,w,2)},E_=function(w){var g=b1(w,2);g!==null&&lw(g,w,2)},j_=function(w){var g=M5(),v=b1(w,g);v!==null&&lw(v,w,g)},D_=function(w){q=w},u_=function(w){Q=w};var Fa=!0,Ka=null,mx=!1,Uv=null,kv=null,Jv=null,_4=new Map,Y4=new Map,Wv=[],kU="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),Ra=null;if(Md.prototype.render=d3.prototype.render=function(w){var g=this._internalRoot;if(g===null)throw Error("Cannot update an unmounted root.");var v=arguments;typeof v[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):f(v[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof v[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),v=w;var b=g.current,r=I1(b);w3(b,r,v,g,null,null)},Md.prototype.unmount=d3.prototype.unmount=function(){var w=arguments;if(typeof w[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),w=this._internalRoot,w!==null){this._internalRoot=null;var g=w.containerInfo;(j0&(yw|S1))!==uw&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),w3(w.current,2,null,w,null,null),i5(),g[tg]=null}},Md.prototype.unstable_scheduleHydration=function(w){if(w){var g=O();w={blockedOn:null,target:w,priority:g};for(var v=0;v<Wv.length&&g!==0&&g<Wv[v].priority;v++);Wv.splice(v,0,w),v===0&&rZ(w)}},function(){var w=Nb.version;if(w!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
224
+ - react: `+(w+`
225
+ - react-dom: 19.2.7
226
+ Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),s0.findDOMNode=function(w){var g=w._reactInternals;if(g===void 0){if(typeof w.render==="function")throw Error("Unable to find node on an unmounted component.");throw w=Object.keys(w).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+w)}return w=P0(g),w=w!==null?e0(w):null,w=w===null?null:w.stateNode,w},!function(){var w={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:m,reconcilerVersion:"19.2.7"};return w.overrideHookState=i_,w.overrideHookStateDeletePath=o_,w.overrideHookStateRenamePath=P_,w.overrideProps=y_,w.overridePropsDeletePath=S_,w.overridePropsRenamePath=V_,w.scheduleUpdate=E_,w.scheduleRetry=j_,w.setErrorHandler=D_,w.setSuspenseHandler=u_,w.scheduleRefresh=n,w.scheduleRoot=o,w.setRefreshHandler=c,w.getCurrentFiber=AQ,A5(w)}()&&D2&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var n_=window.location.protocol;/^(https?|file):$/.test(n_)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(n_==="file:"?`
227
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}hU.createRoot=function(w,g){if(!f(w))throw Error("Target container is not a DOM element.");zZ(w);var v=!1,b="",r=dz,d=az,a=xz;return g!==null&&g!==void 0&&(g.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof g==="object"&&g!==null&&g.$$typeof===P2&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
228
+
229
+ let root = createRoot(domContainer);
230
+ root.render(<App />);`),g.unstable_strictMode===!0&&(v=!0),g.identifierPrefix!==void 0&&(b=g.identifierPrefix),g.onUncaughtError!==void 0&&(r=g.onUncaughtError),g.onCaughtError!==void 0&&(d=g.onCaughtError),g.onRecoverableError!==void 0&&(a=g.onRecoverableError)),g=tG(w,1,!1,null,null,v,b,null,r,d,a,xZ),w[tg]=g.current,o8(w),new d3(g)},hU.hydrateRoot=function(w,g,v){if(!f(w))throw Error("Target container is not a DOM element.");zZ(w),g===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var b=!1,r="",d=dz,a=az,x=xz,G=null;return v!==null&&v!==void 0&&(v.unstable_strictMode===!0&&(b=!0),v.identifierPrefix!==void 0&&(r=v.identifierPrefix),v.onUncaughtError!==void 0&&(d=v.onUncaughtError),v.onCaughtError!==void 0&&(a=v.onCaughtError),v.onRecoverableError!==void 0&&(x=v.onRecoverableError),v.formState!==void 0&&(G=v.formState)),g=tG(w,1,!0,g,v!=null?v:null,b,r,G,d,a,x,xZ),g.context=sG(null),v=g.current,b=I1(v),b=Rv(b),r=og(b),r.callback=null,Pg(v,r,b),N2(b,"hydrateRoot()",null),v=b,g.current.lanes=v,mg(g,v),i2(g),w[tg]=g.current,o8(w),new Md(g)},hU.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var vY=Q5((xq,gY)=>{var mU=W0(wY());gY.exports=mU});var Mw=Q5((zJ)=>{var W5=W0(iw());(function(){function z(C){if(C==null)return null;if(typeof C==="function")return C.$$typeof===j?null:C.displayName||C.name||null;if(typeof C==="string")return C;switch(C){case c:return"Fragment";case a0:return"Profiler";case f:return"StrictMode";case P0:return"Suspense";case e0:return"SuspenseList";case bw:return"Activity"}if(typeof C==="object")switch(typeof C.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),C.$$typeof){case n:return"Portal";case D:return C.displayName||"Context";case x0:return(C._context.displayName||"Context")+".Consumer";case L0:var z0=C.render;return C=C.displayName,C||(C=z0.displayName||z0.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case q0:return z0=C.displayName||null,z0!==null?z0:z(C.type)||"Memo";case v0:z0=C._payload,C=C._init;try{return z(C(z0))}catch(y0){}}return null}function Z(C){return""+C}function Y(C){try{Z(C);var z0=!1}catch(m0){z0=!0}if(z0){z0=console;var y0=z0.error,$0=typeof Symbol==="function"&&Symbol.toStringTag&&C[Symbol.toStringTag]||C.constructor.name||"Object";return y0.call(z0,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",$0),Z(C)}}function $(C){if(C===c)return"<>";if(typeof C==="object"&&C!==null&&C.$$typeof===v0)return"<...>";try{var z0=z(C);return z0?"<"+z0+">":"<...>"}catch(y0){return"<...>"}}function B(){var C=D0.A;return C===null?null:C.getOwner()}function Q(){return Error("react-stack-top-frame")}function q(C){if(O0.call(C,"key")){var z0=Object.getOwnPropertyDescriptor(C,"key").get;if(z0&&z0.isReactWarning)return!1}return C.key!==void 0}function H(C,z0){function y0(){P||(P=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",z0))}y0.isReactWarning=!0,Object.defineProperty(C,"key",{get:y0,configurable:!0})}function N(){var C=z(this.type);return e[C]||(e[C]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),C=this.props.ref,C!==void 0?C:null}function F(C,z0,y0,$0,m0,L1){var p0=y0.ref;return C={$$typeof:o,type:C,key:z0,props:y0,_owner:$0},(p0!==void 0?p0:null)!==null?Object.defineProperty(C,"ref",{enumerable:!1,get:N}):Object.defineProperty(C,"ref",{enumerable:!1,value:null}),C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(C,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(C,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:m0}),Object.defineProperty(C,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:L1}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C}function A(C,z0,y0,$0,m0,L1){var p0=z0.children;if(p0!==void 0)if($0)if(l0(p0)){for($0=0;$0<p0.length;$0++)U(p0[$0]);Object.freeze&&Object.freeze(p0)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else U(p0);if(O0.call(z0,"key")){p0=z(C);var pw=Object.keys(z0).filter(function(O1){return O1!=="key"});$0=0<pw.length?"{key: someKey, "+pw.join(": ..., ")+": ...}":"{key: someKey}",Q0[p0+$0]||(pw=0<pw.length?"{"+pw.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
231
+ let props = %s;
232
+ <%s {...props} />
233
+ React keys must be passed directly to JSX without using spread:
234
+ let props = %s;
235
+ <%s key={someKey} {...props} />`,$0,p0,pw,p0),Q0[p0+$0]=!0)}if(p0=null,y0!==void 0&&(Y(y0),p0=""+y0),q(z0)&&(Y(z0.key),p0=""+z0.key),"key"in z0){y0={};for(var H1 in z0)H1!=="key"&&(y0[H1]=z0[H1])}else y0=z0;return p0&&H(y0,typeof C==="function"?C.displayName||C.name||"Unknown":C),F(C,p0,y0,B(),m0,L1)}function U(C){R(C)?C._store&&(C._store.validated=1):typeof C==="object"&&C!==null&&C.$$typeof===v0&&(C._payload.status==="fulfilled"?R(C._payload.value)&&C._payload.value._store&&(C._payload.value._store.validated=1):C._store&&(C._store.validated=1))}function R(C){return typeof C==="object"&&C!==null&&C.$$typeof===o}var o=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),a0=Symbol.for("react.profiler"),x0=Symbol.for("react.consumer"),D=Symbol.for("react.context"),L0=Symbol.for("react.forward_ref"),P0=Symbol.for("react.suspense"),e0=Symbol.for("react.suspense_list"),q0=Symbol.for("react.memo"),v0=Symbol.for("react.lazy"),bw=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),D0=W5.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O0=Object.prototype.hasOwnProperty,l0=Array.isArray,rw=console.createTask?console.createTask:function(){return null};W5={react_stack_bottom_frame:function(C){return C()}};var P,e={},y=W5.react_stack_bottom_frame.bind(W5,Q)(),Y0=rw($(Q)),Q0={};zJ.Fragment=c,zJ.jsxDEV=function(C,z0,y0,$0){var m0=1e4>D0.recentlyCreatedOwnerStacks++;return A(C,z0,y0,$0,m0?Error("react-stack-top-frame"):y,m0?rw($(C)):Y0)}})()});var o$=W0(vY(),1);var M1=W0(iw(),1),g0=W0(iw(),1),Yw=W0(iw(),1),v7=W0(iw(),1),oY=W0(iw(),1),E0=W0(iw(),1),Dk=W0(iw(),1),uk=W0(iw(),1),nk=W0(iw(),1),Z0=W0(iw(),1),sY=W0(iw(),1);var Sx=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,XY=/^[\\/]{2}/;function TU(z,Z){return Z+z.replace(/\\/g,"/")}var bY="popstate";function rY(z){return typeof z==="object"&&z!=null&&"pathname"in z&&"search"in z&&"hash"in z&&"state"in z&&"key"in z}function _Y(z={}){function Z($,B){let Q=B.state?.masked,{pathname:q,search:H,hash:N}=Q||$.location;return ix("",{pathname:q,search:H,hash:N},B.state&&B.state.usr||null,B.state&&B.state.key||"default",Q?{pathname:$.location.pathname,search:$.location.search,hash:$.location.hash}:void 0)}function Y($,B){return typeof B==="string"?B:Fb(B)}return CU(Z,Y,null,z)}function _w(z,Z){if(z===!1||z===null||typeof z>"u")throw Error(Z)}function E1(z,Z){if(!z){if(typeof console<"u")console.warn(Z);try{throw Error(Z)}catch(Y){}}}function IU(){return Math.random().toString(36).substring(2,10)}function dY(z,Z){return{usr:z.state,key:z.key,idx:Z,masked:z.mask?{pathname:z.pathname,search:z.search,hash:z.hash}:void 0}}function ix(z,Z,Y=null,$,B){return{pathname:typeof z==="string"?z:z.pathname,search:"",hash:"",...typeof Z==="string"?U5(Z):Z,state:Y,key:Z&&Z.key||$||IU(),mask:B}}function Fb({pathname:z="/",search:Z="",hash:Y=""}){if(Z&&Z!=="?")z+=Z.charAt(0)==="?"?Z:"?"+Z;if(Y&&Y!=="#")z+=Y.charAt(0)==="#"?Y:"#"+Y;return z}function U5(z){let Z={};if(z){let Y=z.indexOf("#");if(Y>=0)Z.hash=z.substring(Y),z=z.substring(0,Y);let $=z.indexOf("?");if($>=0)Z.search=z.substring($),z=z.substring(0,$);if(z)Z.pathname=z}return Z}function CU(z,Z,Y,$={}){let{window:B=document.defaultView,v5Compat:Q=!1}=$,q=B.history,H="POP",N=null,F=A();if(F==null)F=0,q.replaceState({...q.state,idx:F},"");function A(){return(q.state||{idx:null}).idx}function U(){H="POP";let f=A(),a0=f==null?null:f-F;if(F=f,N)N({action:H,location:c.location,delta:a0})}function R(f,a0){H="PUSH";let x0=rY(f)?f:ix(c.location,f,a0);if(Y)Y(x0,f);F=A()+1;let D=dY(x0,F),L0=c.createHref(x0.mask||x0);try{q.pushState(D,"",L0)}catch(P0){if(P0 instanceof DOMException&&P0.name==="DataCloneError")throw P0;B.location.assign(L0)}if(Q&&N)N({action:H,location:c.location,delta:1})}function o(f,a0){H="REPLACE";let x0=rY(f)?f:ix(c.location,f,a0);if(Y)Y(x0,f);F=A();let D=dY(x0,F),L0=c.createHref(x0.mask||x0);if(q.replaceState(D,"",L0),Q&&N)N({action:H,location:c.location,delta:0})}function n(f){return fU(B,f)}let c={get action(){return H},get location(){return z(B,q)},listen(f){if(N)throw Error("A history only accepts one active listener");return B.addEventListener(bY,U),N=f,()=>{B.removeEventListener(bY,U),N=null}},createHref(f){return Z(B,f)},createURL:n,encodeLocation(f){let a0=n(f);return{pathname:a0.pathname,search:a0.search,hash:a0.hash}},push:R,replace:o,go(f){return q.go(f)}};return c}function fU(z,Z,Y=!1){let $="http://localhost";if(z)$=z.location.origin!=="null"?z.location.origin:z.location.href;_w($,"No window.location.(origin|href) available to create URL");let B=typeof Z==="string"?Z:Fb(Z);if(B=B.replace(/ $/,"%20"),!Y&&XY.test(B))B=$+B;return new URL(B,$)}var cU;cU=new WeakMap;function Vx(z,Z,Y="/"){return iU(z,Z,Y,!1)}function iU(z,Z,Y,$,B){let Q=typeof Z==="string"?U5(Z):Z,q=e2(Q.pathname||"/",Y);if(q==null)return null;let H=B??PU(z),N=null,F=HY(q);for(let A=0;N==null&&A<H.length;++A)N=tU(H[A],F,$);return N}function oU(z,Z){let{route:Y,pathname:$,params:B}=z;return{id:Y.id,pathname:$,params:B,data:Z[Y.id],loaderData:Z[Y.id],handle:Y.handle}}function PU(z){let Z=YY(z);return yU(Z),Z}function YY(z,Z=[],Y=[],$="",B=!1){let Q=(q,H,N=B,F)=>{let A={relativePath:F===void 0?q.path||"":F,caseSensitive:q.caseSensitive===!0,childrenIndex:H,route:q};if(A.relativePath.startsWith("/")){if(!A.relativePath.startsWith($)&&N)return;_w(A.relativePath.startsWith($),`Absolute route path "${A.relativePath}" nested under path "${$}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),A.relativePath=A.relativePath.slice($.length)}let U=l2([$,A.relativePath]),R=Y.concat(A);if(q.children&&q.children.length>0)_w(q.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${U}".`),YY(q.children,Z,R,U,N);if(q.path==null&&!q.index)return;Z.push({path:U,score:nU(U,q.index),routesMeta:R.map((o,n)=>{let[c,f]=QY(o.relativePath,o.caseSensitive,n===R.length-1);return{...o,matcher:c,compiledParams:f}})})};return z.forEach((q,H)=>{if(q.path===""||!q.path?.includes("?"))Q(q,H);else for(let N of $Y(q.path))Q(q,H,!0,N)}),Z}function $Y(z){let Z=z.split("/");if(Z.length===0)return[];let[Y,...$]=Z,B=Y.endsWith("?"),Q=Y.replace(/\?$/,"");if($.length===0)return B?[Q,""]:[Q];let q=$Y($.join("/")),H=[];if(H.push(...q.map((N)=>N===""?Q:[Q,N].join("/"))),B)H.push(...q);return H.map((N)=>z.startsWith("/")&&N===""?"/":N)}function yU(z){z.sort((Z,Y)=>Z.score!==Y.score?Y.score-Z.score:pU(Z.routesMeta.map(($)=>$.childrenIndex),Y.routesMeta.map(($)=>$.childrenIndex)))}var SU=/^:[\w-]+$/,VU=3,EU=2,jU=1,DU=10,uU=-2,aY=(z)=>z==="*";function nU(z,Z){let Y=z.split("/"),$=Y.length;if(Y.some(aY))$+=uU;if(Z)$+=EU;return Y.filter((B)=>!aY(B)).reduce((B,Q)=>B+(SU.test(Q)?VU:Q===""?jU:DU),$)}function pU(z,Z){return z.length===Z.length&&z.slice(0,-1).every(($,B)=>$===Z[B])?z[z.length-1]-Z[Z.length-1]:0}function tU(z,Z,Y=!1){let{routesMeta:$}=z,B={},Q="/",q=[];for(let H=0;H<$.length;++H){let N=$[H],F=H===$.length-1,A=Q==="/"?Z:Z.slice(Q.length)||"/",U={path:N.relativePath,caseSensitive:N.caseSensitive,end:F},R=N.matcher&&N.compiledParams?BY(U,A,N.matcher,N.compiledParams):Kb(U,A),o=N.route;if(!R&&F&&Y&&!$[$.length-1].route.index)R=Kb({path:N.relativePath,caseSensitive:N.caseSensitive,end:!1},A);if(!R)return null;if(Object.assign(B,R.params),q.push({params:B,pathname:l2([Q,R.pathname]),pathnameBase:eU(l2([Q,R.pathnameBase])),route:o}),R.pathnameBase!=="/")Q=l2([Q,R.pathnameBase])}return q}function Kb(z,Z){if(typeof z==="string")z={path:z,caseSensitive:!1,end:!0};let[Y,$]=QY(z.path,z.caseSensitive,z.end);return BY(z,Z,Y,$)}function BY(z,Z,Y,$){let B=Z.match(Y);if(!B)return null;let Q=B[0],q=Q.replace(/(.)\/+$/,"$1"),H=B.slice(1);return{params:$.reduce((F,{paramName:A,isOptional:U},R)=>{if(A==="*"){let n=H[R]||"";q=Q.slice(0,Q.length-n.length).replace(/(.)\/+$/,"$1")}let o=H[R];if(U&&!o)F[A]=void 0;else F[A]=(o||"").replace(/%2F/g,"/");return F},{}),pathname:Q,pathnameBase:q,pattern:z}}function QY(z,Z=!1,Y=!0){E1(z==="*"||!z.endsWith("*")||z.endsWith("/*"),`Route path "${z}" will be treated as if it were "${z.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${z.replace(/\*$/,"/*")}".`);let $=[],B="^"+z.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(q,H,N,F,A)=>{if($.push({paramName:H,isOptional:N!=null}),N){let U=A.charAt(F+q.length);if(U&&U!=="/")return"/([^\\/]*)";return"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");if(z.endsWith("*"))$.push({paramName:"*"}),B+=z==="*"||z==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$";else if(Y)B+="\\/*$";else if(z!==""&&z!=="/")B+="(?:(?=\\/|$))";return[new RegExp(B,Z?void 0:"i"),$]}function HY(z){try{return z.split("/").map((Z)=>decodeURIComponent(Z).replace(/\//g,"%2F")).join("/")}catch(Z){return E1(!1,`The URL path "${z}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${Z}).`),z}}function e2(z,Z){if(Z==="/")return z;if(!z.toLowerCase().startsWith(Z.toLowerCase()))return null;let Y=Z.endsWith("/")?Z.length-1:Z.length,$=z.charAt(Y);if($&&$!=="/")return null;return z.slice(Y)||"/"}function UY(z,Z="/"){let{pathname:Y,search:$="",hash:B=""}=typeof z==="string"?U5(z):z,Q;if(Y)if(Y=kY(Y),Y.startsWith("/"))Q=xY(Y.substring(1),"/");else Q=xY(Y,Z);else Q=Z;return{pathname:Q,search:wk($),hash:gk(B)}}function xY(z,Z){let Y=ca(Z).split("/");return z.split("/").forEach((B)=>{if(B===".."){if(Y.length>1)Y.pop()}else if(B!==".")Y.push(B)}),Y.length>1?Y.join("/"):"/"}function Cx(z,Z,Y,$){return`Cannot include a '${z}' character in a manually specified \`to.${Z}\` field [${JSON.stringify($)}]. Please separate it out to the \`to.${Y}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function sU(z){return z.filter((Z,Y)=>Y===0||Z.route.path&&Z.route.path.length>0)}function Ex(z){let Z=sU(z);return Z.map((Y,$)=>$===Z.length-1?Y.pathname:Y.pathnameBase)}function oa(z,Z,Y,$=!1){let B;if(typeof z==="string")B=U5(z);else B={...z},_w(!B.pathname||!B.pathname.includes("?"),Cx("?","pathname","search",B)),_w(!B.pathname||!B.pathname.includes("#"),Cx("#","pathname","hash",B)),_w(!B.search||!B.search.includes("#"),Cx("#","search","hash",B));let Q=z===""||B.pathname==="",q=Q?"/":B.pathname,H;if(q==null)H=Y;else{let U=Z.length-1;if(!$&&q.startsWith("..")){let R=q.split("/");while(R[0]==="..")R.shift(),U-=1;B.pathname=R.join("/")}H=U>=0?Z[U]:"/"}let N=UY(B,H),F=q&&q!=="/"&&q.endsWith("/"),A=(Q||q===".")&&Y.endsWith("/");if(!N.pathname.endsWith("/")&&(F||A))N.pathname+="/";return N}var kY=(z)=>z.replace(/[\\/]{2,}/g,"/"),l2=(z)=>kY(z.join("/")),ca=(z)=>z.replace(/\/+$/,""),eU=(z)=>ca(z).replace(/^\/*/,"/"),wk=(z)=>!z||z==="?"?"":z.startsWith("?")?z:"?"+z,gk=(z)=>!z||z==="#"?"":z.startsWith("#")?z:"#"+z;var JY=class{constructor(z,Z,Y,$=!1){if(this.status=z,this.statusText=Z||"",this.internal=$,Y instanceof Error)this.data=Y.toString(),this.error=Y;else this.data=Y}};function WY(z){return z!=null&&typeof z.status==="number"&&typeof z.statusText==="string"&&typeof z.internal==="boolean"&&"data"in z}function vk(z){let Z=z.map((Y)=>Y.route.path).filter(Boolean);return l2(Z)||"/"}var qY=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function lY(z,Z){let Y=z;if(typeof Y!=="string"||!Sx.test(Y))return{absoluteURL:void 0,isExternal:!1,to:Y};let $=Y,B=!1;if(qY)try{let Q=new URL(window.location.href),q=XY.test(Y)?new URL(TU(Y,Q.protocol)):new URL(Y),H=e2(q.pathname,Z);if(q.origin===Q.origin&&H!=null)Y=H+q.search+q.hash;else B=!0}catch(Q){E1(!1,`<Link to="${Y}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:$,isExternal:B,to:Y}}var zq=Symbol("Uninstrumented");var Gq=Object.getOwnPropertyNames(Object.prototype).sort().join("\x00");var AY=["POST","PUT","PATCH","DELETE"],Zq=new Set(AY),bk=["GET",...AY],Xq=new Set(bk);var _q=Symbol("ResetLoaderData"),rk,dk,ak,xk;rk=new WeakMap;dk=new WeakMap;ak=new WeakMap;xk=new WeakMap;var zk=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Gk(z){try{return zk.includes(new URL(z).protocol)}catch{return!1}}var k5=M1.createContext(null);k5.displayName="DataRouter";var Rb=M1.createContext(null);Rb.displayName="DataRouterState";var MY=M1.createContext(!1);function Zk(){return M1.useContext(MY)}var jx=M1.createContext({isTransitioning:!1});jx.displayName="ViewTransition";var LY=M1.createContext(new Map);LY.displayName="Fetchers";var Xk=M1.createContext(null);Xk.displayName="Await";var a1=M1.createContext(null);a1.displayName="Navigation";var hb=M1.createContext(null);hb.displayName="Location";var j1=M1.createContext({outlet:null,matches:[],isDataRoute:!1});j1.displayName="Route";var Dx=M1.createContext(null);Dx.displayName="RouteError";var ox=!0,OY="REACT_ROUTER_ERROR",_k="REDIRECT",Yk="ROUTE_ERROR_RESPONSE";function $k(z){if(z.startsWith(`${OY}:${_k}:{`))try{let Z=JSON.parse(z.slice(28));if(typeof Z==="object"&&Z&&typeof Z.status==="number"&&typeof Z.statusText==="string"&&typeof Z.location==="string"&&typeof Z.reloadDocument==="boolean"&&typeof Z.replace==="boolean")return Z}catch{}}function Bk(z){if(z.startsWith(`${OY}:${Yk}:{`))try{let Z=JSON.parse(z.slice(40));if(typeof Z==="object"&&Z&&typeof Z.status==="number"&&typeof Z.statusText==="string")return new JY(Z.status,Z.statusText,Z.data)}catch{}}function NY(z,{relative:Z}={}){_w(qv(),"useHref() may be used only in the context of a <Router> component.");let{basename:Y,navigator:$}=g0.useContext(a1),{hash:B,pathname:Q,search:q}=mb(z,{relative:Z}),H=Q;if(Y!=="/")H=Q==="/"?Y:l2([Y,Q]);return $.createHref({pathname:H,search:q,hash:B})}function qv(){return g0.useContext(hb)!=null}function x1(){return _w(qv(),"useLocation() may be used only in the context of a <Router> component."),g0.useContext(hb).location}function Pa(z){_w(qv(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:Z}=x1();return g0.useMemo(()=>Kb(z,HY(Z)),[Z,z])}var FY="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function KY(z){if(!g0.useContext(a1).static)g0.useLayoutEffect(z)}function wg(){let{isDataRoute:z}=g0.useContext(j1);return z?Mk():Qk()}function Qk(){_w(qv(),"useNavigate() may be used only in the context of a <Router> component.");let z=g0.useContext(k5),{basename:Z,navigator:Y}=g0.useContext(a1),{matches:$}=g0.useContext(j1),{pathname:B}=x1(),Q=JSON.stringify(Ex($)),q=g0.useRef(!1);return KY(()=>{q.current=!0}),g0.useCallback((N,F={})=>{if(E1(q.current,FY),!q.current)return;if(typeof N==="number"){Y.go(N);return}let A=oa(N,JSON.parse(Q),B,F.relative==="path");if(z==null&&Z!=="/")A.pathname=A.pathname==="/"?Z:l2([Z,A.pathname]);(F.replace?Y.replace:Y.push)(A,F.state,F)},[Z,Y,Q,B,z])}var RY=g0.createContext(null);function ux(){return g0.useContext(RY)}function hY(z){let Z=g0.useContext(j1).outlet;return g0.useMemo(()=>Z&&g0.createElement(RY.Provider,{value:z},Z),[Z,z])}function ya(){let{matches:z}=g0.useContext(j1);return z[z.length-1]?.params??{}}function mb(z,{relative:Z}={}){let{matches:Y}=g0.useContext(j1),{pathname:$}=x1(),B=JSON.stringify(Ex(Y));return g0.useMemo(()=>oa(z,JSON.parse(B),$,Z==="path"),[z,B,$,Z])}function mY(z,Z){return TY(z,Z)}function TY(z,Z,Y){_w(qv(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:$}=g0.useContext(a1),{matches:B}=g0.useContext(j1),Q=B[B.length-1],q=Q?Q.params:{},H=Q?Q.pathname:"/",N=Q?Q.pathnameBase:"/",F=Q&&Q.route;if(ox){let f=F&&F.path||"";cY(H,!F||f.endsWith("*")||f.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${H}" (under <Route path="${f}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
236
+
237
+ Please change the parent <Route path="${f}"> to <Route path="${f==="/"?"*":`${f}/*`}">.`)}let A=x1(),U;if(Z){let f=typeof Z==="string"?U5(Z):Z;_w(N==="/"||f.pathname?.startsWith(N),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${N}" but pathname "${f.pathname}" was given in the \`location\` prop.`),U=f}else U=A;let R=U.pathname||"/",o=R;if(N!=="/"){let f=N.replace(/^\//,"").split("/");o="/"+R.replace(/^\//,"").split("/").slice(f.length).join("/")}let n=Y&&Y.state.matches.length?Y.state.matches.map((f)=>Object.assign(f,{route:Y.manifest[f.route.id]||f.route})):Vx(z,{pathname:o});if(ox)E1(F||n!=null,`No routes matched location "${U.pathname}${U.search}${U.hash}" `),E1(n==null||n[n.length-1].route.element!==void 0||n[n.length-1].route.Component!==void 0||n[n.length-1].route.lazy!==void 0,`Matched leaf route at location "${U.pathname}${U.search}${U.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let c=Wk(n&&n.map((f)=>Object.assign({},f,{params:Object.assign({},q,f.params),pathname:l2([N,$.encodeLocation?$.encodeLocation(f.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:f.pathname]),pathnameBase:f.pathnameBase==="/"?N:l2([N,$.encodeLocation?$.encodeLocation(f.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:f.pathnameBase])})),B,Y);if(Z&&c)return g0.createElement(hb.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...U},navigationType:"POP"}},c);return c}function Hk(){let z=fY(),Z=WY(z)?`${z.status} ${z.statusText}`:z instanceof Error?z.message:JSON.stringify(z),Y=z instanceof Error?z.stack:null,$="rgba(200,200,200, 0.5)",B={padding:"0.5rem",backgroundColor:$},Q={padding:"2px 4px",backgroundColor:$},q=null;if(ox)console.error("Error handled by React Router default ErrorBoundary:",z),q=g0.createElement(g0.Fragment,null,g0.createElement("p",null,"\uD83D\uDCBF Hey developer \uD83D\uDC4B"),g0.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",g0.createElement("code",{style:Q},"ErrorBoundary")," or"," ",g0.createElement("code",{style:Q},"errorElement")," prop on your route."));return g0.createElement(g0.Fragment,null,g0.createElement("h2",null,"Unexpected Application Error!"),g0.createElement("h3",{style:{fontStyle:"italic"}},Z),Y?g0.createElement("pre",{style:B},Y):null,q)}var Uk=g0.createElement(Hk,null),IY=class extends g0.Component{constructor(z){super(z);this.state={location:z.location,revalidation:z.revalidation,error:z.error}}static getDerivedStateFromError(z){return{error:z}}static getDerivedStateFromProps(z,Z){if(Z.location!==z.location||Z.revalidation!=="idle"&&z.revalidation==="idle")return{error:z.error,location:z.location,revalidation:z.revalidation};return{error:z.error!==void 0?z.error:Z.error,location:Z.location,revalidation:z.revalidation||Z.revalidation}}componentDidCatch(z,Z){if(this.props.onError)this.props.onError(z,Z);else console.error("React Router caught the following error during render",z)}render(){let z=this.state.error;if(this.context&&typeof z==="object"&&z&&"digest"in z&&typeof z.digest==="string"){let Y=Bk(z.digest);if(Y)z=Y}let Z=z!==void 0?g0.createElement(j1.Provider,{value:this.props.routeContext},g0.createElement(Dx.Provider,{value:z,children:this.props.component})):this.props.children;if(this.context)return g0.createElement(kk,{error:z},Z);return Z}};IY.contextType=MY;var fx=new WeakMap;function kk({children:z,error:Z}){let{basename:Y}=g0.useContext(a1);if(typeof Z==="object"&&Z&&"digest"in Z&&typeof Z.digest==="string"){let $=$k(Z.digest);if($){let B=fx.get(Z);if(B)throw B;let Q=lY($.location,Y),q=Q.absoluteURL||Q.to;if(Gk(q))throw Error("Invalid redirect location");if(qY&&!fx.get(Z))if(Q.isExternal||$.reloadDocument)window.location.href=q;else{let H=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(Q.to,{replace:$.replace}));throw fx.set(Z,H),H}return g0.createElement("meta",{httpEquiv:"refresh",content:`0;url=${q}`})}}return z}function Jk({routeContext:z,match:Z,children:Y}){let $=g0.useContext(k5);if($&&$.static&&$.staticContext&&(Z.route.errorElement||Z.route.ErrorBoundary))$.staticContext._deepestRenderedBoundaryId=Z.route.id;return g0.createElement(j1.Provider,{value:z},Y)}function Wk(z,Z=[],Y){let $=Y?.state;if(z==null){if(!$)return null;if($.errors)z=$.matches;else if(Z.length===0&&!$.initialized&&$.matches.length>0)z=$.matches;else return null}let B=z,Q=$?.errors;if(Q!=null){let A=B.findIndex((U)=>U.route.id&&Q?.[U.route.id]!==void 0);_w(A>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(Q).join(",")}`),B=B.slice(0,Math.min(B.length,A+1))}let q=!1,H=-1;if(Y&&$){q=$.renderFallback;for(let A=0;A<B.length;A++){let U=B[A];if(U.route.HydrateFallback||U.route.hydrateFallbackElement)H=A;if(U.route.id){let{loaderData:R,errors:o}=$,n=U.route.loader&&!R.hasOwnProperty(U.route.id)&&(!o||o[U.route.id]===void 0);if(U.route.lazy||n){if(Y.isStatic)q=!0;if(H>=0)B=B.slice(0,H+1);else B=[B[0]];break}}}}let N=Y?.onError,F=$&&N?(A,U)=>{N(A,{location:$.location,params:$.matches?.[0]?.params??{},pattern:vk($.matches),errorInfo:U})}:void 0;return B.reduceRight((A,U,R)=>{let o,n=!1,c=null,f=null;if($){if(o=Q&&U.route.id?Q[U.route.id]:void 0,c=U.route.errorElement||Uk,q){if(H<0&&R===0)cY("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),n=!0,f=null;else if(H===R)n=!0,f=U.route.hydrateFallbackElement||null}}let a0=Z.concat(B.slice(0,R+1)),x0=()=>{let D;if(o)D=c;else if(n)D=f;else if(U.route.Component)D=g0.createElement(U.route.Component,null);else if(U.route.element)D=U.route.element;else D=A;return g0.createElement(Jk,{match:U,routeContext:{outlet:A,matches:a0,isDataRoute:$!=null},children:D})};return $&&(U.route.ErrorBoundary||U.route.errorElement||R===0)?g0.createElement(IY,{location:$.location,revalidation:$.revalidation,component:c,error:o,children:x0(),routeContext:{outlet:null,matches:a0,isDataRoute:!0},onError:F}):x0()},null)}function nx(z){return`${z} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function qk(z){let Z=g0.useContext(k5);return _w(Z,nx(z)),Z}function px(z){let Z=g0.useContext(Rb);return _w(Z,nx(z)),Z}function lk(z){let Z=g0.useContext(j1);return _w(Z,nx(z)),Z}function tx(z){let Z=lk(z),Y=Z.matches[Z.matches.length-1];return _w(Y.route.id,`${z} can only be used on routes that contain a unique "id"`),Y.route.id}function Ak(){return tx("useRouteId")}function CY(){let z=px("useNavigation");return g0.useMemo(()=>{let{matches:Z,historyAction:Y,...$}=z.navigation;return $},[z.navigation])}function sx(){let{matches:z,loaderData:Z}=px("useMatches");return g0.useMemo(()=>z.map((Y)=>oU(Y,Z)),[z,Z])}function fY(){let z=g0.useContext(Dx),Z=px("useRouteError"),Y=tx("useRouteError");if(z!==void 0)return z;return Z.errors?.[Y]}function Mk(){let{router:z}=qk("useNavigate"),Z=tx("useNavigate"),Y=g0.useRef(!1);return KY(()=>{Y.current=!0}),g0.useCallback(async(B,Q={})=>{if(E1(Y.current,FY),!Y.current)return;if(typeof B==="number")await z.navigate(B);else await z.navigate(B,{fromRouteId:Z,...Q})},[z,Z])}var zY={};function cY(z,Z,Y){if(!Z&&!zY[z])zY[z]=!0,E1(!1,Y)}var Lk="useOptimistic",Yq=Yw[Lk];var $q=Yw.memo(Ok);function Ok({routes:z,manifest:Z,future:Y,state:$,isStatic:B,onError:Q}){return TY(z,void 0,{manifest:Z,state:$,isStatic:B,onError:Q,future:Y})}function Sa({to:z,replace:Z,state:Y,relative:$}){_w(qv(),"<Navigate> may be used only in the context of a <Router> component.");let{static:B}=Yw.useContext(a1);E1(!B,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:Q}=Yw.useContext(j1),{pathname:q}=x1(),H=wg(),N=oa(z,Ex(Q),q,$==="path"),F=JSON.stringify(N);return Yw.useEffect(()=>{H(JSON.parse(F),{replace:Z,state:Y,relative:$})},[H,F,$,Z,Y]),null}function ex(z){return hY(z.context)}function Ng(z){_w(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function w7({basename:z="/",children:Z=null,location:Y,navigationType:$="POP",navigator:B,static:Q=!1,useTransitions:q}){_w(!qv(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let H=z.replace(/^\/*/,"/"),N=Yw.useMemo(()=>({basename:H,navigator:B,static:Q,useTransitions:q,future:{}}),[H,B,Q,q]);if(typeof Y==="string")Y=U5(Y);let{pathname:F="/",search:A="",hash:U="",state:R=null,key:o="default",mask:n}=Y,c=Yw.useMemo(()=>{let f=e2(F,H);if(f==null)return null;return{location:{pathname:f,search:A,hash:U,state:R,key:o,mask:n},navigationType:$}},[H,F,A,U,R,o,$,n]);if(E1(c!=null,`<Router basename="${H}"> is not able to match the URL "${F}${A}${U}" because it does not start with the basename, so the <Router> won't render anything.`),c==null)return null;return Yw.createElement(a1.Provider,{value:N},Yw.createElement(hb.Provider,{children:Z,value:c}))}function g7({children:z,location:Z}){return mY(ia(z),Z)}function ia(z,Z=[]){let Y=[];return Yw.Children.forEach(z,($,B)=>{if(!Yw.isValidElement($))return;let Q=[...Z,B];if($.type===Yw.Fragment){Y.push.apply(Y,ia($.props.children,Q));return}_w($.type===Ng,`[${typeof $.type==="string"?$.type:$.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),_w(!$.props.index||!$.props.children,"An index route cannot have child routes.");let q={id:$.props.id||Q.join("-"),caseSensitive:$.props.caseSensitive,element:$.props.element,Component:$.props.Component,index:$.props.index,path:$.props.path,middleware:$.props.middleware,loader:$.props.loader,action:$.props.action,hydrateFallbackElement:$.props.hydrateFallbackElement,HydrateFallback:$.props.HydrateFallback,errorElement:$.props.errorElement,ErrorBoundary:$.props.ErrorBoundary,hasErrorBoundary:$.props.hasErrorBoundary===!0||$.props.ErrorBoundary!=null||$.props.errorElement!=null,shouldRevalidate:$.props.shouldRevalidate,handle:$.props.handle,lazy:$.props.lazy};if($.props.children)q.children=ia($.props.children,Q);Y.push(q)}),Y}var Ca="get",fa="application/x-www-form-urlencoded";function Va(z){return typeof HTMLElement<"u"&&z instanceof HTMLElement}function Nk(z){return Va(z)&&z.tagName.toLowerCase()==="button"}function Fk(z){return Va(z)&&z.tagName.toLowerCase()==="form"}function Kk(z){return Va(z)&&z.tagName.toLowerCase()==="input"}function Rk(z){return!!(z.metaKey||z.altKey||z.ctrlKey||z.shiftKey)}function hk(z,Z){return z.button===0&&(!Z||Z==="_self")&&!Rk(z)}var Ta=null;function mk(){if(Ta===null)try{new FormData(document.createElement("form"),0),Ta=!1}catch(z){Ta=!0}return Ta}var Tk=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function cx(z){if(z!=null&&!Tk.has(z))return E1(!1,`"${z}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${fa}"`),null;return z}function Ik(z,Z){let Y,$,B,Q,q;if(Fk(z)){let H=z.getAttribute("action");$=H?e2(H,Z):null,Y=z.getAttribute("method")||Ca,B=cx(z.getAttribute("enctype"))||fa,Q=new FormData(z)}else if(Nk(z)||Kk(z)&&(z.type==="submit"||z.type==="image")){let H=z.form;if(H==null)throw Error('Cannot submit a <button> or <input type="submit"> without a <form>');let N=z.getAttribute("formaction")||H.getAttribute("action");if($=N?e2(N,Z):null,Y=z.getAttribute("formmethod")||H.getAttribute("method")||Ca,B=cx(z.getAttribute("formenctype"))||cx(H.getAttribute("enctype"))||fa,Q=new FormData(H,z),!mk()){let{name:F,type:A,value:U}=z;if(A==="image"){let R=F?`${F}.`:"";Q.append(`${R}x`,"0"),Q.append(`${R}y`,"0")}else if(F)Q.append(F,U)}}else if(Va(z))throw Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');else Y=Ca,$=null,B=fa,q=z;if(Q&&B==="text/plain")q=Q,Q=void 0;return{action:$,method:Y.toLowerCase(),encType:B,formData:Q,body:q}}var Bq=Object.getOwnPropertyNames(Object.prototype).sort().join("\x00");var Ck={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},fk=/[&><\u2028\u2029]/g;function GY(z){return z.replace(fk,(Z)=>Ck[Z])}function b7(z,Z){if(z===!1||z===null||typeof z>"u")throw Error(Z)}var ck=Symbol("SingleFetchRedirect");function iY(z,Z,Y,$){let B=typeof z==="string"?new URL(z,typeof window>"u"?"server://singlefetch/":window.location.origin):z;if(Y)if(B.pathname.endsWith("/"))B.pathname=`${B.pathname}_.${$}`;else B.pathname=`${B.pathname}.${$}`;else if(B.pathname==="/")B.pathname=`_root.${$}`;else if(Z&&e2(B.pathname,Z)==="/")B.pathname=`${ca(Z)}/_root.${$}`;else B.pathname=`${ca(B.pathname)}.${$}`;return B}async function ik(z,Z){if(z.id in Z)return Z[z.id];try{let Y=await import(z.module);return Z[z.id]=Y,Y}catch(Y){return console.error(`Error loading route module \`${z.module}\`, reloading page...`),console.error(Y),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode&&void 0,window.location.reload(),new Promise(()=>{})}}function ok(z){return z!=null&&typeof z.page==="string"}function Pk(z){if(z==null)return!1;if(z.href==null)return z.rel==="preload"&&typeof z.imageSrcSet==="string"&&typeof z.imageSizes==="string";return typeof z.rel==="string"&&typeof z.href==="string"}async function yk(z,Z,Y){let $=await Promise.all(z.map(async(B)=>{let Q=Z.routes[B.route.id];if(Q){let q=await ik(Q,Y);return q.links?q.links():[]}return[]}));return jk($.flat(1).filter(Pk).filter((B)=>B.rel==="stylesheet"||B.rel==="preload").map((B)=>B.rel==="stylesheet"?{...B,rel:"prefetch",as:"style"}:{...B,rel:"prefetch"}))}function ZY(z,Z,Y,$,B,Q){let q=(N,F)=>{if(!Y[F])return!0;return N.route.id!==Y[F].route.id},H=(N,F)=>{return Y[F].pathname!==N.pathname||Y[F].route.path?.endsWith("*")&&Y[F].params["*"]!==N.params["*"]};if(Q==="assets")return Z.filter((N,F)=>q(N,F)||H(N,F));if(Q==="data")return Z.filter((N,F)=>{let A=$.routes[N.route.id];if(!A||!A.hasLoader)return!1;if(q(N,F)||H(N,F))return!0;if(N.route.shouldRevalidate){let U=N.route.shouldRevalidate({currentUrl:new URL(B.pathname+B.search+B.hash,window.origin),currentParams:Y[0]?.params||{},nextUrl:new URL(z,window.origin),nextParams:N.params,defaultShouldRevalidate:!0});if(typeof U==="boolean")return U}return!0});return[]}function Sk(z,Z,{includeHydrateFallback:Y}={}){return Vk(z.map(($)=>{let B=Z.routes[$.route.id];if(!B)return[];let Q=[B.module];if(B.clientActionModule)Q=Q.concat(B.clientActionModule);if(B.clientLoaderModule)Q=Q.concat(B.clientLoaderModule);if(Y&&B.hydrateFallbackModule)Q=Q.concat(B.hydrateFallbackModule);if(B.imports)Q=Q.concat(B.imports);return Q}).flat(1))}function Vk(z){return[...new Set(z)]}function Ek(z){let Z={},Y=Object.keys(z).sort();for(let $ of Y)Z[$]=z[$];return Z}function jk(z,Z){let Y=new Set,$=new Set(Z);return z.reduce((B,Q)=>{if(Z&&!ok(Q)&&Q.as==="script"&&Q.href&&$.has(Q.href))return B;let H=JSON.stringify(Ek(Q));if(!Y.has(H))Y.add(H),B.push({key:H,link:Q});return B},[])}function r7(){let z=E0.useContext(k5);return b7(z,"You must render this element inside a <DataRouterContext.Provider> element"),z}function pk(){let z=E0.useContext(Rb);return b7(z,"You must render this element inside a <DataRouterStateContext.Provider> element"),z}var B4=E0.createContext(void 0);B4.displayName="FrameworkContext";function Ea(){let z=E0.useContext(B4);return b7(z,"You must render this element inside a <HydratedRouter> element"),z}function tk(z,Z){let Y=E0.useContext(B4),[$,B]=E0.useState(!1),[Q,q]=E0.useState(!1),{onFocus:H,onBlur:N,onMouseEnter:F,onMouseLeave:A,onTouchStart:U}=Z,R=E0.useRef(null);E0.useEffect(()=>{if(z==="render")q(!0);if(z==="viewport"){let f=new IntersectionObserver((a0)=>{a0.forEach((x0)=>{q(x0.isIntersecting)})},{threshold:0.5});if(R.current)f.observe(R.current);return()=>{f.disconnect()}}},[z]),E0.useEffect(()=>{if($){let c=setTimeout(()=>{q(!0)},100);return()=>{clearTimeout(c)}}},[$]);let o=()=>{B(!0)},n=()=>{B(!1),q(!1)};if(!Y)return[!1,R,{}];if(z!=="intent")return[Q,R,{}];return[Q,R,{onFocus:$4(H,o),onBlur:$4(N,n),onMouseEnter:$4(F,o),onMouseLeave:$4(A,n),onTouchStart:$4(U,o)}]}function $4(z,Z){return(Y)=>{if(z&&z(Y),!Y.defaultPrevented)Z(Y)}}function PY({page:z,...Z}){let Y=Zk(),{nonce:$}=Ea(),{router:B}=r7(),Q=E0.useMemo(()=>Vx(B.routes,z,B.basename),[B.routes,z,B.basename]);if(!Q)return null;if(Z.nonce==null&&$)Z={...Z,nonce:$};if(Y)return E0.createElement(ek,{page:z,matches:Q,...Z});return E0.createElement(wJ,{page:z,matches:Q,...Z})}function sk(z){let{manifest:Z,routeModules:Y}=Ea(),[$,B]=E0.useState([]);return E0.useEffect(()=>{let Q=!1;return yk(z,Z,Y).then((q)=>{if(!Q)B(q)}),()=>{Q=!0}},[z,Z,Y]),$}function ek({page:z,matches:Z,...Y}){let $=x1(),{future:B}=Ea(),{basename:Q}=r7(),q=E0.useMemo(()=>{if(z===$.pathname+$.search+$.hash)return[];let H=iY(z,Q,B.v8_trailingSlashAwareDataRequests,"rsc"),N=!1,F=[];for(let A of Z)if(typeof A.route.shouldRevalidate==="function")N=!0;else F.push(A.route.id);if(N&&F.length>0)H.searchParams.set("_routes",F.join(","));return[H.pathname+H.search]},[Q,B.v8_trailingSlashAwareDataRequests,z,$,Z]);return E0.createElement(E0.Fragment,null,q.map((H)=>E0.createElement("link",{key:H,rel:"prefetch",as:"fetch",href:H,...Y})))}function wJ({page:z,matches:Z,...Y}){let $=x1(),{future:B,manifest:Q,routeModules:q}=Ea(),{basename:H}=r7(),{loaderData:N,matches:F}=pk(),A=E0.useMemo(()=>ZY(z,Z,F,Q,$,"data"),[z,Z,F,Q,$]),U=E0.useMemo(()=>ZY(z,Z,F,Q,$,"assets"),[z,Z,F,Q,$]),R=E0.useMemo(()=>{if(z===$.pathname+$.search+$.hash)return[];let c=new Set,f=!1;if(Z.forEach((x0)=>{let D=Q.routes[x0.route.id];if(!D||!D.hasLoader)return;if(!A.some((L0)=>L0.route.id===x0.route.id)&&x0.route.id in N&&q[x0.route.id]?.shouldRevalidate)f=!0;else if(D.hasClientLoader)f=!0;else c.add(x0.route.id)}),c.size===0)return[];let a0=iY(z,H,B.v8_trailingSlashAwareDataRequests,"data");if(f&&c.size>0)a0.searchParams.set("_routes",Z.filter((x0)=>c.has(x0.route.id)).map((x0)=>x0.route.id).join(","));return[a0.pathname+a0.search]},[H,B.v8_trailingSlashAwareDataRequests,N,$,Q,A,Z,z,q]),o=E0.useMemo(()=>Sk(U,Q),[U,Q]),n=sk(U);return E0.createElement(E0.Fragment,null,R.map((c)=>E0.createElement("link",{key:c,rel:"prefetch",as:"fetch",href:c,...Y})),o.map((c)=>E0.createElement("link",{key:c,rel:"modulepreload",href:c,...Y})),n.map(({key:c,link:f})=>E0.createElement("link",{key:c,nonce:Y.nonce,...f,crossOrigin:f.crossOrigin??Y.crossOrigin})))}function gJ(...z){return(Z)=>{z.forEach((Y)=>{if(typeof Y==="function")Y(Z);else if(Y!=null)Y.current=Z})}}var vJ=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{if(vJ)window.__reactRouterVersion="7.18.1"}catch(z){}function d7({basename:z,children:Z,useTransitions:Y,window:$}){let B=Z0.useRef();if(B.current==null)B.current=_Y({window:$,v5Compat:!0});let Q=B.current,[q,H]=Z0.useState({action:Q.action,location:Q.location}),N=Z0.useCallback((F)=>{if(Y===!1)H(F);else Z0.startTransition(()=>H(F))},[Y]);return Z0.useLayoutEffect(()=>Q.listen(N),[Q,N]),Z0.createElement(w7,{basename:z,children:Z,location:q.location,navigationType:q.action,navigator:Q,useTransitions:Y})}function yY({basename:z,children:Z,history:Y,useTransitions:$}){let[B,Q]=Z0.useState({action:Y.action,location:Y.location}),q=Z0.useCallback((H)=>{if($===!1)Q(H);else Z0.startTransition(()=>Q(H))},[$]);return Z0.useLayoutEffect(()=>Y.listen(q),[Y,q]),Z0.createElement(w7,{basename:z,children:Z,location:B.location,navigationType:B.action,navigator:Y,useTransitions:$})}yY.displayName="unstable_HistoryRouter";var a7=Z0.forwardRef(function({onClick:Z,discover:Y="render",prefetch:$="none",relative:B,reloadDocument:Q,replace:q,mask:H,state:N,target:F,to:A,preventScrollReset:U,viewTransition:R,defaultShouldRevalidate:o,...n},c){let{basename:f,navigator:a0,useTransitions:x0}=Z0.useContext(a1),D=typeof A==="string"&&Sx.test(A),L0=lY(A,f);A=L0.to;let P0=NY(A,{relative:B}),e0=x1(),q0=null;if(H){let P=oa(H,[],e0.mask?e0.mask.pathname:"/",!0);if(f!=="/")P.pathname=P.pathname==="/"?f:l2([f,P.pathname]);q0=a0.createHref(P)}let[v0,bw,j]=tk($,n),D0=DY(A,{replace:q,mask:H,state:N,target:F,preventScrollReset:U,relative:B,viewTransition:R,defaultShouldRevalidate:o,useTransitions:x0});function O0(P){if(Z)Z(P);if(!P.defaultPrevented)D0(P)}let l0=!(L0.isExternal||Q),rw=Z0.createElement("a",{...n,...j,href:(l0?q0:void 0)||L0.absoluteURL||P0,onClick:l0?O0:Z,ref:gJ(c,bw),target:F,"data-discover":!D&&Y==="render"?"true":void 0});return v0&&!D?Z0.createElement(Z0.Fragment,null,rw,Z0.createElement(PY,{page:P0})):rw});a7.displayName="Link";var SY=Z0.forwardRef(function({"aria-current":Z="page",caseSensitive:Y=!1,className:$="",end:B=!1,style:Q,to:q,viewTransition:H,children:N,...F},A){let U=mb(q,{relative:F.relative}),R=x1(),o=Z0.useContext(Rb),{navigator:n,basename:c}=Z0.useContext(a1),f=o!=null&&tY(U)&&H===!0,a0=n.encodeLocation?n.encodeLocation(U).pathname:U.pathname,x0=R.pathname,D=o&&o.navigation&&o.navigation.location?o.navigation.location.pathname:null;if(!Y)x0=x0.toLowerCase(),D=D?D.toLowerCase():null,a0=a0.toLowerCase();if(D&&c)D=e2(D,c)||D;let L0=a0!=="/"&&a0.endsWith("/")?a0.length-1:a0.length,P0=x0===a0||!B&&x0.startsWith(a0)&&x0.charAt(L0)==="/",e0=D!=null&&(D===a0||!B&&D.startsWith(a0)&&D.charAt(a0.length)==="/"),q0={isActive:P0,isPending:e0,isTransitioning:f},v0=P0?Z:void 0,bw;if(typeof $==="function")bw=$(q0);else bw=[$,P0?"active":null,e0?"pending":null,f?"transitioning":null].filter(Boolean).join(" ");let j=typeof Q==="function"?Q(q0):Q;return Z0.createElement(a7,{...F,"aria-current":v0,className:bw,ref:A,style:j,to:q,viewTransition:H},typeof N==="function"?N(q0):N)});SY.displayName="NavLink";var VY=Z0.forwardRef(({discover:z="render",fetcherKey:Z,navigate:Y,reloadDocument:$,replace:B,state:Q,method:q=Ca,action:H,onSubmit:N,relative:F,preventScrollReset:A,viewTransition:U,defaultShouldRevalidate:R,...o},n)=>{let{useTransitions:c}=Z0.useContext(a1),f=uY(),a0=nY(H,{relative:F}),x0=q.toLowerCase()==="get"?"get":"post",D=typeof H==="string"&&Sx.test(H);return Z0.createElement("form",{ref:n,method:x0,action:a0,onSubmit:$?N:(P0)=>{if(N&&N(P0),P0.defaultPrevented)return;P0.preventDefault();let e0=P0.nativeEvent.submitter,q0=e0?.getAttribute("formmethod")||q,v0=()=>f(e0||P0.currentTarget,{fetcherKey:Z,method:q0,navigate:Y,replace:B,state:Q,relative:F,preventScrollReset:A,viewTransition:U,defaultShouldRevalidate:R});if(c&&Y!==!1)Z0.startTransition(()=>v0());else v0()},...o,"data-discover":!D&&z==="render"?"true":void 0})});VY.displayName="Form";function EY({getKey:z,storageKey:Z,...Y}){let $=Z0.useContext(B4),{basename:B}=Z0.useContext(a1),Q=x1(),q=sx();pY({getKey:z,storageKey:Z});let H=Z0.useMemo(()=>{if(!$||!z)return null;let F=yx(Q,q,B,z);return F!==Q.key?F:null},[]);if(!$||$.isSpaMode)return null;let N=((F,A)=>{if(!window.history.state||!window.history.state.key){let U=Math.random().toString(32).slice(2);window.history.replaceState({key:U},"")}try{let R=JSON.parse(sessionStorage.getItem(F)||"{}")[A||window.history.state.key];if(typeof R==="number")window.scrollTo(0,R)}catch(U){console.error(U),sessionStorage.removeItem(F)}}).toString();if(Y.nonce==null&&$?.nonce)Y.nonce=$.nonce;return Z0.createElement("script",{...Y,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${N})(${GY(JSON.stringify(Z||Px))}, ${GY(JSON.stringify(H))})`}})}EY.displayName="ScrollRestoration";function jY(z){return`${z} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function x7(z){let Z=Z0.useContext(k5);return _w(Z,jY(z)),Z}function bJ(z){let Z=Z0.useContext(Rb);return _w(Z,jY(z)),Z}function DY(z,{target:Z,replace:Y,mask:$,state:B,preventScrollReset:Q,relative:q,viewTransition:H,defaultShouldRevalidate:N,useTransitions:F}={}){let A=wg(),U=x1(),R=mb(z,{relative:q});return Z0.useCallback((o)=>{if(hk(o,Z)){o.preventDefault();let n=Y!==void 0?Y:Fb(U)===Fb(R),c=()=>A(z,{replace:n,mask:$,state:B,preventScrollReset:Q,relative:q,viewTransition:H,defaultShouldRevalidate:N});if(F)Z0.startTransition(()=>c());else c()}},[U,A,R,Y,$,B,Z,z,Q,q,H,N,F])}var rJ=0,dJ=()=>`__${String(++rJ)}__`;function uY(){let{router:z}=x7("useSubmit"),{basename:Z}=Z0.useContext(a1),Y=Ak(),$=z.fetch,B=z.navigate;return Z0.useCallback(async(Q,q={})=>{let{action:H,method:N,encType:F,formData:A,body:U}=Ik(Q,Z);if(q.navigate===!1){let R=q.fetcherKey||dJ();await $(R,Y,q.action||H,{defaultShouldRevalidate:q.defaultShouldRevalidate,preventScrollReset:q.preventScrollReset,formData:A,body:U,formMethod:q.method||N,formEncType:q.encType||F,flushSync:q.flushSync})}else await B(q.action||H,{defaultShouldRevalidate:q.defaultShouldRevalidate,preventScrollReset:q.preventScrollReset,formData:A,body:U,formMethod:q.method||N,formEncType:q.encType||F,replace:q.replace,state:q.state,fromRouteId:Y,flushSync:q.flushSync,viewTransition:q.viewTransition})},[$,B,Z,Y])}function nY(z,{relative:Z}={}){let{basename:Y}=Z0.useContext(a1),$=Z0.useContext(j1);_w($,"useFormAction must be used inside a RouteContext");let[B]=$.matches.slice(-1),Q={...mb(z?z:".",{relative:Z})},q=x1();if(z==null){Q.search=q.search;let H=new URLSearchParams(Q.search),N=H.getAll("index");if(N.some((A)=>A==="")){H.delete("index"),N.filter((U)=>U).forEach((U)=>H.append("index",U));let A=H.toString();Q.search=A?`?${A}`:""}}if((!z||z===".")&&B.route.index)Q.search=Q.search?Q.search.replace(/^\?/,"?index&"):"?index";if(Y!=="/")Q.pathname=Q.pathname==="/"?Y:l2([Y,Q.pathname]);return Fb(Q)}var Px="react-router-scroll-positions",Ia={};function yx(z,Z,Y,$){let B=null;if($)if(Y!=="/")B=$({...z,pathname:e2(z.pathname,Y)||z.pathname},Z);else B=$(z,Z);if(B==null)B=z.key;return B}function pY({getKey:z,storageKey:Z}={}){let{router:Y}=x7("useScrollRestoration"),{restoreScrollPosition:$,preventScrollReset:B}=bJ("useScrollRestoration"),{basename:Q}=Z0.useContext(a1),q=x1(),H=sx(),N=CY();if(Z0.useEffect(()=>{return window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}},[]),aJ(Z0.useCallback(()=>{if(N.state==="idle"){let F=yx(q,H,Q,z);Ia[F]=window.scrollY}try{sessionStorage.setItem(Z||Px,JSON.stringify(Ia))}catch(F){E1(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${F}).`)}window.history.scrollRestoration="auto"},[N.state,z,Q,q,H,Z])),typeof document<"u")Z0.useLayoutEffect(()=>{try{let F=sessionStorage.getItem(Z||Px);if(F)Ia=JSON.parse(F)}catch(F){}},[Z]),Z0.useLayoutEffect(()=>{let F=Y?.enableScrollRestoration(Ia,()=>window.scrollY,z?(A,U)=>yx(A,U,Q,z):void 0);return()=>F&&F()},[Y,Q,z]),Z0.useLayoutEffect(()=>{if($===!1)return;if(typeof $==="number"){window.scrollTo(0,$);return}try{if(q.hash){let F=document.getElementById(decodeURIComponent(q.hash.slice(1)));if(F){F.scrollIntoView();return}}}catch{E1(!1,`"${q.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}if(B===!0)return;window.scrollTo(0,0)},[q,$,B])}function aJ(z,Z){let{capture:Y}=Z||{};Z0.useEffect(()=>{let $=Y!=null?{capture:Y}:void 0;return window.addEventListener("pagehide",z,$),()=>{window.removeEventListener("pagehide",z,$)}},[z,Y])}function tY(z,{relative:Z}={}){let Y=Z0.useContext(jx);_w(Y!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:$}=x7("useViewTransitionState"),B=mb(z,{relative:Z});if(!Y.isTransitioning)return!1;let Q=e2(Y.currentLocation.pathname,$)||Y.currentLocation.pathname,q=e2(Y.nextLocation.pathname,$)||Y.nextLocation.pathname;return Kb(B.pathname,q)!=null||Kb(B.pathname,Q)!=null}var n1=W0(iw(),1);async function Sw(z,Z){let Y=await fetch(z,Z),$=await Y.json().catch(()=>({}));if(!Y.ok)throw Error($.error||`HTTP ${Y.status}`);return $}var z7=()=>Sw("/api/jobs"),ja=(z)=>Sw(`/api/jobs/${z}`),eY=(z)=>Sw(`/api/jobs/${z}`,{method:"DELETE"}),w$=()=>Sw("/api/hashtags").then((z)=>z.hashtags),Da=(z)=>Sw("/api/jobs",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(z)}),g$=()=>Sw("/api/uploads"),v$=(z)=>Sw(`/api/uploads/${encodeURIComponent(z)}`,{method:"DELETE"}),b$=()=>Sw("/api/uploads",{method:"DELETE"}),r$=(z,Z,Y=!1)=>`/api/jobs/${z}/parts/${encodeURIComponent(Z)}${Y?"?download":""}`,d$=(z,Z,Y)=>Sw(`/api/jobs/${z}/parts/${encodeURIComponent(Z)}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({caption:Y})}),xJ=null,a$=()=>xJ??=Sw("/api/env"),x$=(z,Z)=>Sw("/api/reveal",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({jobId:z,file:Z})}),Tb=()=>Sw("/api/settings"),z$=(z)=>Sw("/api/settings",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({facebook:z})}),G$=(z)=>Sw("/api/settings/facebook/test",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(z??{})}),Z$=()=>Sw("/api/settings/facebook",{method:"DELETE"}),X$=(z,Z,Y="facebook")=>Sw("/api/publish",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({jobId:z,file:Z,platform:Y})}),_$=(z,Z,Y,$="facebook")=>Sw("/api/comment",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({jobId:z,files:Z,message:Y,platform:$})}),Y$=(z,Z="facebook")=>Sw("/api/comment/sync",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({jobId:z,platform:Z})}),$$=(z,Z,Y="facebook")=>Sw("/api/publish",{method:"DELETE",headers:{"content-type":"application/json"},body:JSON.stringify({jobId:z,file:Z,platform:Y})});function B$(z,Z){return new Promise((Y,$)=>{let B=new XMLHttpRequest;B.open("PUT","/api/upload?name="+encodeURIComponent(z.name)),B.upload.onprogress=(Q)=>{if(Q.lengthComputable)Z(Q.loaded/Q.total)},B.onload=()=>{let Q={};try{Q=JSON.parse(B.responseText)}catch{}if(B.status<300&&Q.name)Y({name:Q.name,size:Q.size??z.size});else $(Error(Q.error||`Upload failed (${B.status})`))},B.onerror=()=>$(Error("Upload failed — network error.")),B.send(z)})}function D1(z){if(!z)return"";let Z=["B","KB","MB","GB"],Y=0;while(z>=1024&&Y<Z.length-1)z/=1024,Y++;return`${z.toFixed(z<10&&Y>0?1:0)} ${Z[Y]}`}function ua(z){if(!z)return"";let Z=new Date(z),Y=(Date.now()-z)/1000;if(Y<60)return"just now";if(Y<3600)return`${Math.floor(Y/60)}m ago`;if(Y<86400)return`${Math.floor(Y/3600)}h ago`;return Z.toLocaleDateString(void 0,{month:"short",day:"numeric"})}function na(z){let Z=Math.floor(z),Y=Math.floor(Z/3600),$=Math.floor(Z%3600/60),B=Z%60,Q=(q)=>String(q).padStart(2,"0");return Y?`${Y}:${Q($)}:${Q(B)}`:`${Q($)}:${Q(B)}`}function Fg(z){return z.replace(/\.[^.]+$/,"")}function Q$(z){if(z.startsWith("✓"))return"ok";if(z.startsWith("✗"))return"err";if(/^[①②▶]/.test(z.trim()))return"step";if(/^\s*\[\d+\/\d+\]/.test(z))return"part";return""}var U$=W0(iw(),1),k$=W0(ma(),1);var Kg="border border-white/8 bg-white/[0.035] backdrop-blur-xl rounded-2xl shadow-[0_10px_50px_-12px_rgba(0,0,0,0.7)]",gg="mb-2 block text-[11px] font-semibold tracking-[0.12em] text-faint uppercase",Rg="w-full rounded-xl border border-white/10 bg-black/30 px-4 py-3 text-text outline-none transition placeholder:text-faint focus:border-brand/70 focus:bg-black/40 focus:shadow-[0_0_0_4px_rgba(124,92,255,0.16)]",pa="group relative inline-flex items-center justify-center gap-2 rounded-xl px-5 py-3 font-semibold text-white transition-all duration-200 bg-gradient-to-r from-brand via-brand to-accent shadow-[0_8px_30px_-6px_rgba(124,92,255,0.6)] hover:shadow-[0_10px_38px_-4px_rgba(124,92,255,0.75)] hover:-translate-y-0.5 active:translate-y-0 disabled:cursor-default disabled:opacity-50 disabled:hover:translate-y-0 disabled:shadow-none",J5="inline-flex items-center justify-center gap-2 rounded-xl border border-white/10 bg-white/[0.03] px-4 py-2.5 text-sm font-medium text-text transition hover:border-white/20 hover:bg-white/[0.07]",H$="inline-flex items-center gap-1.5 rounded-full border px-3 py-1 text-xs font-semibold";var hg=W0(Mw(),1),GJ="inline-flex items-center justify-center rounded-xl px-5 py-2.5 text-sm font-semibold transition";function q5({open:z,title:Z,confirmLabel:Y,danger:$,onConfirm:B,onCancel:Q,children:q}){if(U$.useEffect(()=>{if(!z)return;let H=(N)=>{if(N.key==="Escape")Q()};return window.addEventListener("keydown",H),()=>window.removeEventListener("keydown",H)},[z,Q]),!z)return null;return k$.createPortal(hg.jsxDEV("div",{className:"animate-in fixed inset-0 z-50 grid place-items-center p-4",role:"dialog","aria-modal":"true",children:[hg.jsxDEV("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:Q},void 0,!1,void 0,this),hg.jsxDEV("div",{className:"relative w-full max-w-md rounded-2xl border border-white/10 bg-panel p-6 shadow-[0_24px_80px_-16px_rgba(0,0,0,0.9)]",children:[hg.jsxDEV("h3",{className:"text-lg font-bold",children:Z},void 0,!1,void 0,this),hg.jsxDEV("div",{className:"mt-2 text-sm leading-relaxed text-muted",children:q},void 0,!1,void 0,this),hg.jsxDEV("div",{className:"mt-5 flex justify-end gap-3",children:[hg.jsxDEV("button",{className:J5,onClick:Q,children:"Cancel"},void 0,!1,void 0,this),hg.jsxDEV("button",{className:GJ+($?" border border-danger/40 bg-danger/10 text-danger hover:bg-danger/25":" bg-gradient-to-r from-brand to-accent text-white shadow-[0_8px_30px_-6px_rgba(124,92,255,0.6)] hover:opacity-95"),onClick:B,children:Y},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),document.body)}var J$=W0(Mw(),1),ZJ={running:"bg-warn animate-pulse-dot",done:"bg-accent shadow-[0_0_8px_rgba(45,212,191,0.8)]",error:"bg-danger shadow-[0_0_8px_rgba(255,93,108,0.8)]"};function ta({status:z}){return J$.jsxDEV("span",{className:`h-[7px] w-[7px] shrink-0 rounded-full ${ZJ[z]}`},void 0,!1,void 0,this)}var u1=W0(Mw(),1);function sa({compact:z=!1}){return u1.jsxDEV("div",{className:"flex items-center gap-2.5",children:[u1.jsxDEV("div",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-xl bg-gradient-to-br from-brand to-accent shadow-[0_6px_18px_-4px_rgba(124,92,255,0.75)] ring-1 ring-white/25 ring-inset",children:u1.jsxDEV("svg",{width:"17",height:"17",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[u1.jsxDEV("circle",{cx:"6",cy:"6",r:"3"},void 0,!1,void 0,this),u1.jsxDEV("circle",{cx:"6",cy:"18",r:"3"},void 0,!1,void 0,this),u1.jsxDEV("line",{x1:"20",y1:"4",x2:"8.12",y2:"15.88"},void 0,!1,void 0,this),u1.jsxDEV("line",{x1:"14.47",y1:"14.48",x2:"20",y2:"20"},void 0,!1,void 0,this),u1.jsxDEV("line",{x1:"8.12",y1:"8.12",x2:"12",y2:"12"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),u1.jsxDEV("div",{className:"leading-none",children:[u1.jsxDEV("h1",{className:"text-[16px] font-extrabold tracking-tight text-white",children:["Shorts",u1.jsxDEV("span",{className:"bg-gradient-to-r from-brand2 to-accent bg-clip-text text-transparent",children:"Maker"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),!z&&u1.jsxDEV("p",{className:"mt-1.5 text-[9px] font-semibold tracking-[0.16em] text-muted uppercase",children:"Split · Caption · Post"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var Lw=W0(Mw(),1);function lv({className:z="h-4 w-4"}){return Lw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:z,"aria-hidden":!0,children:Lw.jsxDEV("path",{d:"M24 12.07C24 5.4 18.63 0 12 0S0 5.4 0 12.07c0 6 4.39 10.98 10.13 11.85v-8.38H7.08v-3.47h3.05V9.41c0-3.02 1.79-4.7 4.53-4.7 1.31 0 2.68.24 2.68.24v2.97h-1.51c-1.49 0-1.96.93-1.96 1.89v2.26h3.33l-.53 3.47h-2.8v8.38C19.61 23.05 24 18.07 24 12.07Z"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function W$({className:z="h-4 w-4"}){return Lw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:[Lw.jsxDEV("circle",{cx:"12",cy:"12",r:"3"},void 0,!1,void 0,this),Lw.jsxDEV("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1Z"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function q$({className:z="h-4 w-4"}){return Lw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Lw.jsxDEV("path",{d:"M19 12H5M12 19l-7-7 7-7"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function l$({className:z="h-3.5 w-3.5"}){return Lw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Lw.jsxDEV("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14 21 3"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function A$({className:z="h-4 w-4"}){return Lw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:[Lw.jsxDEV("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2"},void 0,!1,void 0,this),Lw.jsxDEV("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function M$({className:z="h-4 w-4"}){return Lw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Lw.jsxDEV("path",{d:"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function ea({className:z="h-4 w-4"}){return Lw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Lw.jsxDEV("path",{d:"M3 6h18M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M10 11v6M14 11v6"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function L$({className:z="h-4 w-4"}){return Lw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Lw.jsxDEV("path",{d:"M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function O$({className:z="h-4 w-4"}){return Lw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Lw.jsxDEV("path",{d:"M21 11.5a8.4 8.4 0 0 1-9 8.4 9 9 0 0 1-3.9-.9L3 20.5l1.6-4.6A8.4 8.4 0 0 1 12 3.1a8.4 8.4 0 0 1 9 8.4z"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function G7({className:z="h-4 w-4"}){return Lw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Lw.jsxDEV("path",{d:"M20 6 9 17l-5-5"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}var nw=W0(Mw(),1);function N$({jobs:z,selectedId:Z,settingsActive:Y,onNew:$,onSelect:B,onDelete:Q,onSettings:q}){return nw.jsxDEV("div",{className:"flex h-full flex-col gap-4 p-4",children:[nw.jsxDEV("div",{className:"px-1 pt-1",children:nw.jsxDEV(sa,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),nw.jsxDEV("button",{onClick:$,className:"group flex w-full items-center justify-center gap-2 rounded-xl border border-brand/40 bg-brand/10 px-4 py-2.5 font-semibold text-brand2 transition hover:border-brand/60 hover:bg-brand/20",children:[nw.jsxDEV("span",{className:"text-lg leading-none transition-transform group-hover:rotate-90",children:"+"},void 0,!1,void 0,this),"New split"]},void 0,!0,void 0,this),nw.jsxDEV("div",{className:"px-1 text-[10px] font-semibold tracking-[0.18em] text-faint uppercase",children:"History"},void 0,!1,void 0,this),nw.jsxDEV("div",{className:"-mx-1 flex-1 space-y-1.5 overflow-y-auto px-1",children:z.length===0?nw.jsxDEV("div",{className:"mt-6 rounded-xl border border-dashed border-white/10 px-4 py-8 text-center text-xs text-faint",children:["No splits yet.",nw.jsxDEV("br",{},void 0,!1,void 0,this),"Create one to get started."]},void 0,!0,void 0,this):z.map((H)=>{let N=H.id===Z;return nw.jsxDEV("div",{onClick:()=>B(H.id),className:"group relative cursor-pointer rounded-xl border px-3 py-2.5 transition "+(N?"border-brand/40 bg-brand/10 shadow-[0_0_24px_-8px_rgba(124,92,255,0.6)]":"border-transparent hover:border-white/10 hover:bg-white/[0.04]"),children:[nw.jsxDEV("div",{className:"flex items-center gap-2 pr-6",children:[nw.jsxDEV(ta,{status:H.status},void 0,!1,void 0,this),nw.jsxDEV("span",{className:"truncate text-[13px] font-semibold",children:Fg(H.title||H.videoName||"Untitled")},void 0,!1,void 0,this)]},void 0,!0,void 0,this),nw.jsxDEV("div",{className:"mt-1 pl-4 text-[11px] text-faint",children:[H.status==="running"?"processing…":`${H.parts.length} parts`," · ",ua(H.createdAt)]},void 0,!0,void 0,this),nw.jsxDEV("button",{title:"Delete",onClick:(F)=>{F.stopPropagation(),Q(H.id)},className:"absolute top-2 right-2 grid h-6 w-6 place-items-center rounded-lg text-faint opacity-0 transition group-hover:opacity-100 hover:bg-danger/15 hover:text-danger",children:"✕"},void 0,!1,void 0,this)]},H.id,!0,void 0,this)})},void 0,!1,void 0,this),nw.jsxDEV("button",{onClick:q,className:"flex items-center gap-2.5 rounded-xl border px-3 py-2.5 text-sm font-medium transition "+(Y?"border-brand/40 bg-brand/10 text-brand2":"border-white/8 text-muted hover:border-white/15 hover:bg-white/[0.04] hover:text-text"),children:[nw.jsxDEV(W$,{className:"h-[18px] w-[18px]"},void 0,!1,void 0,this)," Settings"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var Jw=W0(iw(),1);var E=W0(Mw(),1),XJ=[{key:"upload",label:"Upload file"},{key:"library",label:"From uploads"},{key:"link",label:"Paste link"}],_J=["top-left","top-center","top-right",null,"center",null,"bottom-left","bottom-center","bottom-right"],YJ=(z)=>z.startsWith("bottom");function F$({onCreated:z}){let[Z,Y]=Jw.useState("upload"),[$,B]=Jw.useState(null),[Q,q]=Jw.useState(""),[H,N]=Jw.useState([]),[F,A]=Jw.useState(""),[U,R]=Jw.useState(null),[o,n]=Jw.useState(null),[c,f]=Jw.useState(""),[a0,x0]=Jw.useState(!1),[D,L0]=Jw.useState("15"),[P0,e0]=Jw.useState("8"),[q0,v0]=Jw.useState(""),[bw,j]=Jw.useState(!1),[D0,O0]=Jw.useState("top-center"),[l0,rw]=Jw.useState(!1),[P,e]=Jw.useState(""),[y,Y0]=Jw.useState(!1),[Q0,C]=Jw.useState(null),[z0,y0]=Jw.useState(""),$0=Jw.useRef(null);Jw.useEffect(()=>{w$().then((S)=>v0(S.join(`
238
+ `))).catch(()=>{}),g$().then(N).catch(()=>{})},[]),Jw.useEffect(()=>{if(F&&!a0)f(Fg(F))},[F,a0]);let m0=async(S)=>{R(S.name),e("");try{if(await v$(S.name),N(($w)=>$w.filter((p1)=>p1.name!==S.name)),F===S.name)A("")}catch($w){e($w.message)}finally{R(null)}},L1=async()=>{R("*"),e("");try{await b$(),N([]),A("")}catch(S){e(S.message)}finally{R(null)}},p0=(S)=>{if(B(S),S&&!a0)f(Fg(S.name))},pw=(S)=>{S.preventDefault(),rw(!1);let $w=S.dataTransfer.files?.[0];if($w)p0($w)},H1=q0.split(`
239
+ `).map((S)=>S.trim()).filter(Boolean).length,O1=()=>({title:c.trim()||void 0,partLen:Math.round(Number(D)*60),numHashtags:Number(P0),hashtags:q0.split(`
240
+ `).map((S)=>S.trim()).filter(Boolean),overlay:bw?D0:void 0});async function l5(){if(e(""),Z==="link"){if(!Q.trim()){e("Paste a video link first.");return}Y0(!0);try{let S=await Da({url:Q.trim(),...O1()});z(S.id)}catch(S){e(S.message),Y0(!1)}return}if(Z==="library"){if(!F){e("Pick a video from your uploads first.");return}Y0(!0);try{let S=await Da({video:F,...O1()});z(S.id)}catch(S){e(S.message),Y0(!1)}return}if(!$){e("Choose a video to upload first.");return}Y0(!0);try{let S=$.size;C(0),y0(`Uploading 0% · ${D1(0)} / ${D1(S)}`);let{name:$w}=await B$($,(Ow)=>{C(Ow),y0(`Uploading ${(Ow*100).toFixed(0)}% · ${D1(Ow*S)} / ${D1(S)}`)});y0("Upload complete ✓");let p1=await Da({video:$w,...O1()});z(p1.id)}catch(S){e(S.message),C(null),y0(""),Y0(!1)}}let w0="flex cursor-pointer flex-col items-center justify-center gap-2 rounded-2xl border-2 border-dashed p-7 text-center transition "+($?"border-accent/60 bg-accent/[0.06] text-text":l0?"border-brand/70 bg-brand/10 text-text":"border-white/12 text-muted hover:border-brand/50 hover:bg-white/[0.03]");return E.jsxDEV(E.Fragment,{children:[E.jsxDEV("div",{className:"mb-8",children:[E.jsxDEV("h2",{className:"bg-gradient-to-br from-white via-white to-white/50 bg-clip-text text-3xl font-bold tracking-tight text-transparent sm:text-4xl",children:"New split"},void 0,!1,void 0,this),E.jsxDEV("p",{className:"mt-2 max-w-xl text-muted",children:"Upload a video or paste a link — it’s split into consecutive, pause-aligned parts, each captioned and ready to post."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P&&E.jsxDEV("div",{className:"mb-5 rounded-xl border border-danger/40 bg-danger/10 px-4 py-3 text-sm text-[#ffb3ba]",children:P},void 0,!1,void 0,this),E.jsxDEV("div",{className:Kg+" p-5 sm:p-7",children:[E.jsxDEV("div",{className:"mb-6",children:[E.jsxDEV("span",{className:gg,children:"Video"},void 0,!1,void 0,this),E.jsxDEV("div",{className:"mb-3 inline-flex rounded-xl border border-white/10 bg-black/20 p-0.5 text-sm",children:XJ.map((S)=>E.jsxDEV("button",{type:"button",onClick:()=>{Y(S.key),e("")},className:"rounded-lg px-3.5 py-1.5 font-medium transition "+(Z===S.key?"bg-brand/20 text-brand2":"text-muted hover:text-text"),children:S.label},S.key,!1,void 0,this))},void 0,!1,void 0,this),Z==="library"?H.length===0?E.jsxDEV("div",{className:"rounded-2xl border border-dashed border-white/12 px-4 py-8 text-center text-sm text-faint",children:"No source videos yet — upload one or paste a link, and it’ll be kept here for reuse."},void 0,!1,void 0,this):E.jsxDEV(E.Fragment,{children:[E.jsxDEV("div",{className:"mb-2 flex items-center justify-between gap-3 text-[11px] text-faint",children:[E.jsxDEV("span",{children:[H.length," file",H.length===1?"":"s"," ·"," ",D1(H.reduce((S,$w)=>S+$w.size,0))]},void 0,!0,void 0,this),E.jsxDEV("button",{type:"button",className:"font-semibold text-faint transition hover:text-danger disabled:opacity-50",disabled:U!==null,onClick:()=>n("all"),children:U==="*"?"Clearing…":"Clear all"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),E.jsxDEV("div",{className:"max-h-[260px] space-y-1.5 overflow-y-auto rounded-2xl border border-white/10 bg-black/20 p-1.5",children:H.map((S)=>{let $w=F===S.name;return E.jsxDEV("div",{className:"flex items-center gap-1 rounded-xl border pr-1.5 transition "+($w?"border-brand/50 bg-brand/10":"border-transparent hover:border-white/10 hover:bg-white/[0.04]"),children:[E.jsxDEV("button",{type:"button",onClick:()=>A(S.name),className:"flex min-w-0 flex-1 items-center gap-3 px-3 py-2.5 text-left",children:[E.jsxDEV("span",{className:"grid h-4 w-4 shrink-0 place-items-center rounded-full border "+($w?"border-brand2 bg-brand2":"border-white/25"),children:$w&&E.jsxDEV("span",{className:"h-1.5 w-1.5 rounded-full bg-bg"},void 0,!1,void 0,this)},void 0,!1,void 0,this),E.jsxDEV("span",{className:"min-w-0 flex-1",children:[E.jsxDEV("span",{className:"block truncate text-[13.5px] font-semibold text-text",children:S.name},void 0,!1,void 0,this),E.jsxDEV("span",{className:"mt-0.5 block font-mono text-[11px] text-faint",children:[D1(S.size)," · ",ua(S.mtime)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),E.jsxDEV("button",{type:"button",title:`Delete ${S.name} from disk`,"aria-label":`Delete ${S.name}`,disabled:U!==null,onClick:()=>n(S),className:"grid h-8 w-8 shrink-0 place-items-center rounded-lg text-faint transition hover:bg-danger/10 hover:text-danger disabled:opacity-50",children:E.jsxDEV(ea,{className:"h-4 w-4"+(U===S.name?" animate-pulse":"")},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},S.name,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Z==="upload"?E.jsxDEV("label",{className:w0,onDragEnter:(S)=>{S.preventDefault(),rw(!0)},onDragOver:(S)=>{S.preventDefault(),rw(!0)},onDragLeave:(S)=>{S.preventDefault(),rw(!1)},onDrop:pw,children:[E.jsxDEV("input",{ref:$0,type:"file",accept:"video/*,.mkv,.mp4,.mov,.avi,.webm,.m4v,.ts,.flv",hidden:!0,onChange:(S)=>p0(S.target.files?.[0]||null)},void 0,!1,void 0,this),$?E.jsxDEV("div",{className:"flex flex-wrap items-center justify-center gap-2",children:[E.jsxDEV("span",{className:"grid h-10 w-10 place-items-center rounded-xl bg-accent/15 text-lg text-accent",children:"\uD83C\uDFAC"},void 0,!1,void 0,this),E.jsxDEV("span",{className:"font-semibold break-all",children:$.name},void 0,!1,void 0,this),E.jsxDEV("span",{className:"text-sm text-faint",children:D1($.size)},void 0,!1,void 0,this),E.jsxDEV("button",{type:"button",title:"Clear",className:"ml-1 grid h-6 w-6 place-items-center rounded-lg bg-white/5 text-muted transition hover:bg-danger/20 hover:text-danger",onClick:(S)=>{if(S.preventDefault(),S.stopPropagation(),p0(null),$0.current)$0.current.value=""},children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):E.jsxDEV(E.Fragment,{children:[E.jsxDEV("span",{className:"grid h-12 w-12 place-items-center rounded-2xl bg-brand/15 text-2xl text-brand2",children:"⬆"},void 0,!1,void 0,this),E.jsxDEV("span",{className:"font-semibold text-text",children:"Drag & drop your video"},void 0,!1,void 0,this),E.jsxDEV("span",{className:"text-sm text-faint",children:"or click to browse — MKV, MP4, MOV, WEBM…"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):E.jsxDEV(E.Fragment,{children:[E.jsxDEV("input",{className:Rg,placeholder:"https://youtube.com/watch?v=… · Dailymotion · direct video URL",value:Q,onChange:(S)=>q(S.target.value),autoComplete:"off",spellCheck:!1},void 0,!1,void 0,this),E.jsxDEV("p",{className:"mt-1.5 text-[11px] text-faint",children:["Fetched on this machine with ",E.jsxDEV("code",{className:"text-muted",children:"yt-dlp"},void 0,!1,void 0,this)," — YouTube, Dailymotion, or a direct video link. Download progress streams into the job log."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q0!==null&&E.jsxDEV("div",{className:"mt-3",children:[E.jsxDEV("div",{className:"h-2 overflow-hidden rounded-full border border-white/10 bg-black/40",children:E.jsxDEV("div",{className:"h-full rounded-full bg-[linear-gradient(90deg,var(--color-brand),var(--color-accent),var(--color-brand))] bg-[length:200%_100%] animate-shimmer",style:{width:`${(Q0*100).toFixed(1)}%`}},void 0,!1,void 0,this)},void 0,!1,void 0,this),E.jsxDEV("div",{className:"mt-1.5 text-xs text-muted",children:z0},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),E.jsxDEV("div",{className:"mb-6",children:[E.jsxDEV("label",{className:gg,children:"Title"},void 0,!1,void 0,this),E.jsxDEV("input",{className:Rg,placeholder:"Auto-filled from the video — edit if you like",value:c,onChange:(S)=>{f(S.target.value),x0(!0)}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),E.jsxDEV("div",{className:"mb-6 grid grid-cols-1 gap-4 sm:grid-cols-2",children:[E.jsxDEV("div",{children:[E.jsxDEV("label",{className:gg,children:"Part length (min)"},void 0,!1,void 0,this),E.jsxDEV("input",{className:Rg,type:"number",min:"1",step:"1",value:D,onChange:(S)=>L0(S.target.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),E.jsxDEV("div",{children:[E.jsxDEV("label",{className:gg,children:"Hashtags / part"},void 0,!1,void 0,this),E.jsxDEV("input",{className:Rg,type:"number",min:"0",step:"1",value:P0,onChange:(S)=>e0(S.target.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),E.jsxDEV("div",{className:"mb-6",children:[E.jsxDEV("div",{className:"mb-2 flex items-center justify-between gap-3",children:[E.jsxDEV("label",{className:gg+" mb-0",children:"Part badge"},void 0,!1,void 0,this),E.jsxDEV("button",{type:"button",role:"switch","aria-checked":bw,"aria-label":"Burn a part badge into each clip",onClick:()=>j((S)=>!S),className:"relative h-6 w-11 shrink-0 rounded-full border transition "+(bw?"border-brand/60 bg-brand/60":"border-white/15 bg-black/40"),children:E.jsxDEV("span",{className:"absolute top-0.5 h-4.5 w-4.5 rounded-full bg-white transition-all "+(bw?"left-5.5":"left-0.5")},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),E.jsxDEV("p",{className:"text-[11px] text-faint",children:["Burns ",E.jsxDEV("span",{className:"font-semibold text-muted",children:"PART 1"},void 0,!1,void 0,this),","," ",E.jsxDEV("span",{className:"font-semibold text-muted",children:"PART 2"},void 0,!1,void 0,this)," …"," ",E.jsxDEV("span",{className:"font-semibold text-muted",children:"FINAL PART"},void 0,!1,void 0,this)," into the first 4 seconds of each clip, fading out."," ",bw&&E.jsxDEV("span",{className:"text-[#ffca7a]",children:"Each part is re-encoded, so splitting takes longer."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),bw&&E.jsxDEV("div",{className:"mt-3 flex flex-col gap-4 rounded-2xl border border-white/10 bg-black/20 p-3 sm:flex-row sm:items-center",children:[E.jsxDEV("div",{className:"grid aspect-video w-full shrink-0 grid-cols-3 grid-rows-3 gap-1 rounded-xl border border-white/10 bg-[radial-gradient(circle_at_50%_40%,rgba(124,92,255,0.15),transparent_70%)] p-1 sm:w-56",children:_J.map((S,$w)=>S===null?E.jsxDEV("span",{},$w,!1,void 0,this):E.jsxDEV("button",{type:"button",title:S.replace("-"," "),"aria-label":S.replace("-"," "),"aria-pressed":D0===S,onClick:()=>O0(S),className:"grid place-items-center rounded-md border text-[8px] font-bold tracking-tight transition "+(D0===S?"border-brand2/70 bg-brand/30 text-white":"border-white/10 text-transparent hover:border-white/25 hover:bg-white/6 hover:text-faint"),children:"PART 2"},S,!1,void 0,this))},void 0,!1,void 0,this),E.jsxDEV("div",{className:"min-w-0 text-[11px] leading-relaxed text-faint",children:[E.jsxDEV("div",{className:"mb-1 text-[13px] font-semibold text-text capitalize",children:D0.replace("-"," ")},void 0,!1,void 0,this),YJ(D0)?E.jsxDEV("p",{className:"text-[#ffca7a]",children:"Facebook Reels and YouTube Shorts draw their own captions and buttons over the bottom of the frame — a badge here may be partly hidden."},void 0,!1,void 0,this):E.jsxDEV("p",{children:"Clear of the interface Reels and Shorts overlay on the bottom and right edge."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),E.jsxDEV("div",{className:"mb-6",children:[E.jsxDEV("div",{className:"mb-2 flex items-center justify-between",children:[E.jsxDEV("label",{className:gg+" mb-0",children:"Hashtag pool"},void 0,!1,void 0,this),E.jsxDEV("span",{className:"text-[11px] text-faint",children:[H1," tags · one per line"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),E.jsxDEV("textarea",{spellCheck:!1,className:Rg+" min-h-[120px] resize-y font-mono text-[12.5px] leading-relaxed",value:q0,onChange:(S)=>v0(S.target.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),E.jsxDEV("button",{className:pa+" w-full py-3.5 text-base",disabled:y||Z==="link"&&!Q.trim()||Z==="library"&&!F,onClick:l5,children:y?Q0!==null&&Q0<1?"Uploading…":"Starting…":"Split video →"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),E.jsxDEV(q5,{open:o!==null,title:o==="all"?"Delete all source videos?":"Delete this source video?",confirmLabel:o==="all"?"Delete all":"Delete file",danger:!0,onConfirm:()=>{let S=o;if(n(null),S==="all")L1();else if(S)m0(S)},onCancel:()=>n(null),children:o==="all"?E.jsxDEV("p",{children:["All ",H.length," source video",H.length===1?"":"s"," (",D1(H.reduce((S,$w)=>S+$w.size,0)),") are permanently deleted from"," ",E.jsxDEV("code",{className:"text-faint",children:"uploads/"},void 0,!1,void 0,this),". Clips already produced from them are kept."]},void 0,!0,void 0,this):E.jsxDEV("p",{children:[E.jsxDEV("span",{className:"font-semibold text-text",children:o?.name},void 0,!1,void 0,this)," is permanently deleted from"," ",E.jsxDEV("code",{className:"text-faint",children:"uploads/"},void 0,!1,void 0,this),o?` (${D1(o.size)})`:"",". Clips already produced from it are kept."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var c0=W0(iw(),1),R$=W0(ma(),1);var T=W0(Mw(),1),$J=(z,Z="facebook")=>z.filter((Y)=>Y.published?.[Z]?.status==="done"&&Y.published[Z]?.id),BJ=["localhost","127.0.0.1","[::1]"].includes(location.hostname),QJ=(z)=>z==="darwin"?"Reveal in Finder":z==="win32"?"Show in Explorer":"Show in folder",HJ={running:"border-warn/40 bg-warn/10 text-warn",done:"border-accent/40 bg-accent/10 text-accent",error:"border-danger/40 bg-danger/10 text-danger"},K$={"":"text-[#c3ccdb]",step:"text-brand2 font-semibold",ok:"text-accent",err:"text-danger",part:"text-[#dfe6f1]"},h$="text-xs font-semibold tracking-[0.14em] text-faint uppercase",m$="mb-3 "+h$;function T$({jobId:z,onDelete:Z,onSettled:Y,onOpenSettings:$}){let[B,Q]=c0.useState(null),[q,H]=c0.useState([]),[N,F]=c0.useState(!1),[A,U]=c0.useState(!1),R=c0.useRef(null),o=c0.useRef(!0);c0.useEffect(()=>{let D=null,L0=!1;return Q(null),H([]),F(!1),U(!1),ja(z).then((P0)=>{if(L0)return;if(Q(P0),P0.status==="running")H([]),F(!0),D=new EventSource(`/api/jobs/${z}/stream`),D.onmessage=(e0)=>{let q0=JSON.parse(e0.data);if(q0.type==="log")H((v0)=>[...v0,q0.line]);else if(q0.type==="status"&&q0.status!=="running")D?.close(),F(!1),Q((v0)=>v0?{...v0,status:q0.status,error:q0.error,parts:q0.parts??v0.parts}:v0),Y()},D.onerror=()=>{D?.close(),F(!1)};else H(P0.logs??[])}).catch(()=>U(!0)),()=>{L0=!0,D?.close()}},[z,Y]),c0.useLayoutEffect(()=>{let D=R.current;if(D&&o.current)D.scrollTop=D.scrollHeight},[q]);let n=c0.useCallback(()=>{ja(z).then((D)=>Q((L0)=>L0&&L0.id===D.id?{...L0,parts:D.parts}:L0)).catch(()=>{})},[z]),c=()=>{let D=R.current;if(D)o.current=D.scrollHeight-D.scrollTop-D.clientHeight<40};if(A)return T.jsxDEV("div",{className:"rounded-xl border border-danger/40 bg-danger/10 px-4 py-3 text-sm text-[#ffb3ba]",children:"Couldn’t load this job."},void 0,!1,void 0,this);if(!B)return T.jsxDEV("div",{className:"text-muted",children:"Loading…"},void 0,!1,void 0,this);let f=Fg(B.title||B.videoName),a0=B.status==="running"?"Processing":B.status==="done"?"Done":"Failed",x0=[...new Set(B.parts.flatMap((D)=>D.hashtags??[]))];return T.jsxDEV(T.Fragment,{children:[T.jsxDEV("div",{className:"mb-7 flex items-start justify-between gap-4",children:[T.jsxDEV("div",{className:"min-w-0",children:[T.jsxDEV("div",{className:"mb-2.5 flex flex-wrap items-center gap-3",children:[T.jsxDEV("h2",{className:"bg-gradient-to-br from-white to-white/60 bg-clip-text text-2xl font-bold tracking-tight text-transparent break-words sm:text-3xl",children:f},void 0,!1,void 0,this),T.jsxDEV("span",{className:H$+" "+HJ[B.status],children:[T.jsxDEV(ta,{status:B.status},void 0,!1,void 0,this),a0]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("p",{className:"text-[13px] text-muted",children:[T.jsxDEV("span",{className:"font-semibold text-text",children:B.videoName},void 0,!1,void 0,this)," · ",B.partLen/60,"-min parts ·"," ",B.numHashtags," hashtags each"]},void 0,!0,void 0,this),x0.length>0&&T.jsxDEV("div",{className:"mt-2.5 flex flex-wrap gap-1.5",children:x0.map((D)=>T.jsxDEV("span",{className:"rounded-md border border-white/8 bg-white/[0.03] px-2 py-0.5 text-[11px] text-muted",children:[T.jsxDEV("span",{className:"text-brand2",children:"#"},void 0,!1,void 0,this),D]},D,!0,void 0,this))},void 0,!1,void 0,this),B.error&&T.jsxDEV("p",{className:"mt-1.5 text-[13px] text-danger",children:B.error},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("button",{onClick:()=>Z(B.id),className:"shrink-0 rounded-xl border border-white/10 bg-white/[0.03] px-4 py-2 text-sm font-medium text-muted transition hover:border-danger/40 hover:bg-danger/10 hover:text-danger",children:"Delete"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("div",{className:m$,children:"Process"},void 0,!1,void 0,this),T.jsxDEV("div",{className:Kg+" mb-8 overflow-hidden",children:[T.jsxDEV("div",{className:"flex items-center gap-2 border-b border-white/8 bg-white/[0.02] px-4 py-2.5",children:[T.jsxDEV("span",{className:"flex gap-1.5",children:[T.jsxDEV("span",{className:"h-3 w-3 rounded-full bg-[#ff5f57]"},void 0,!1,void 0,this),T.jsxDEV("span",{className:"h-3 w-3 rounded-full bg-[#febc2e]"},void 0,!1,void 0,this),T.jsxDEV("span",{className:"h-3 w-3 rounded-full bg-[#28c840]"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("span",{className:"ml-1 font-mono text-xs text-faint",children:"process.log"},void 0,!1,void 0,this),N&&T.jsxDEV("span",{className:"ml-auto flex items-center gap-1.5 text-[11px] font-semibold text-accent",children:[T.jsxDEV("span",{className:"h-1.5 w-1.5 animate-pulse-dot rounded-full bg-accent"},void 0,!1,void 0,this)," live"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("div",{ref:R,onScroll:c,className:"max-h-[380px] overflow-y-auto bg-black/40 px-4 py-3.5 font-mono text-[12.5px] leading-[1.75] break-words whitespace-pre-wrap",children:[q.length===0?T.jsxDEV("div",{className:"text-faint",children:"Waiting for output…"},void 0,!1,void 0,this):q.map((D,L0)=>T.jsxDEV("div",{className:"min-h-[1.2em] "+(K$[Q$(D)]??K$[""]),children:D||" "},L0,!1,void 0,this)),N&&T.jsxDEV("span",{className:"inline-block h-3.5 w-2 animate-blink bg-brand2 align-[-2px]"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.status!=="running"&&T.jsxDEV(WJ,{jobId:B.id,parts:B.parts,failed:B.status==="error",onOpenSettings:$,onPublishChange:n},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function UJ(z){let Z=(B)=>z.filter((Q)=>Q.ok&&Q.status===B).length,Y=[];if(Z("linked"))Y.push(`linked ${Z("linked")}`);if(Z("tracked"))Y.push(`${Z("tracked")} already tracked`);if(Z("ambiguous"))Y.push(`${Z("ambiguous")} need picking manually`);if(Z("none"))Y.push(`${Z("none")} have no comment yet`);let $=z.filter((B)=>!B.ok).length;if($)Y.push(`${$} couldn’t be checked`);return`Checked ${z.length} post${z.length===1?"":"s"}: ${Y.join(", ")}.`}function kJ(z,Z){let Y=z.length===Z?"❤️ Enjoyed the series? Follow us for more content!":"\uD83D\uDD14 Follow us — more parts coming soon!";return`\uD83D\uDCFA All parts:
241
+ ${z.map((B)=>{let Q=B.published.facebook;return`▶ Part ${B.part}: ${Q.url??`https://www.facebook.com/${Q.id}`}`}).join(`
242
+ `)}
243
+
244
+ ${Y}`}function JJ({jobId:z,parts:Z,onOpenSettings:Y,onCommented:$}){let B=$J(Z),[Q,q]=c0.useState(!1),[H,N]=c0.useState(""),[F,A]=c0.useState(new Set),[U,R]=c0.useState(!1),[o,n]=c0.useState(!1),[c,f]=c0.useState(null),[a0,x0]=c0.useState(null),[D,L0]=c0.useState(null),[P0,e0]=c0.useState(!1),q0=B.map((y)=>y.file).join(`
245
+ `);if(c0.useEffect(()=>{A(new Set(q0?q0.split(`
246
+ `):[]))},[q0]),c0.useEffect(()=>{if(!Q)return;let y=(Y0)=>{if(Y0.key==="Escape"&&!U)q(!1)};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[Q,U]),B.length<2)return null;let v0=()=>{f(null),x0(null),L0(null),e0(!1),N((y)=>y||kJ(B,Z.length)),q(!0)},bw=(y)=>A((Y0)=>{let Q0=new Set(Y0);if(!Q0.delete(y))Q0.add(y);return Q0}),j=F.size===B.length,D0=H.trim(),O0=!U&&D0.length>0&&F.size>0,l0=async()=>{L0(null),f(null),x0(null),e0(!1),n(!0);try{if(!(await Tb()).facebook.connected){e0(!0);return}let Y0=await Y$(z);x0(Y0.results),$()}catch(y){L0(y.message)}finally{n(!1)}},rw=async()=>{L0(null),f(null),x0(null),e0(!1),R(!0);try{if(!(await Tb()).facebook.connected){e0(!0);return}let Y0=await _$(z,[...F],D0);if(f(Y0.results),Y0.results.some((Q0)=>Q0.action==="created"))$()}catch(y){L0(y.message)}finally{R(!1)}},P=c?.filter((y)=>!y.ok)??[],e=c?.filter((y)=>y.ok).length??0;return T.jsxDEV(T.Fragment,{children:[T.jsxDEV("button",{className:J5+" border-[#1877F2]/40 hover:border-[#1877F2]/60 hover:bg-[#1877F2]/10",onClick:v0,children:[T.jsxDEV(O$,{className:"h-4 w-4 text-[#4293ff]"},void 0,!1,void 0,this),"Comment on posts"]},void 0,!0,void 0,this),Q&&R$.createPortal(T.jsxDEV("div",{className:"animate-in fixed inset-0 z-50 grid place-items-center p-4",role:"dialog","aria-modal":"true",children:[T.jsxDEV("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:()=>!U&&q(!1)},void 0,!1,void 0,this),T.jsxDEV("div",{className:"relative flex max-h-[90vh] w-full max-w-lg flex-col rounded-2xl border border-white/10 bg-panel p-6 shadow-[0_24px_80px_-16px_rgba(0,0,0,0.9)]",children:[T.jsxDEV("h3",{className:"text-lg font-bold",children:"Comment on posts"},void 0,!1,void 0,this),T.jsxDEV("p",{className:"mt-1 text-sm text-muted",children:"Posted as your Page on each part you pick below. A post that already has a comment from here has it rewritten rather than doubled."},void 0,!1,void 0,this),T.jsxDEV("div",{className:"-mx-1 mt-4 flex-1 overflow-y-auto px-1",children:[T.jsxDEV("textarea",{className:"w-full resize-y rounded-xl border border-white/10 bg-black/30 px-3.5 py-3 text-sm leading-relaxed text-text outline-none transition placeholder:text-faint focus:border-brand/70 focus:shadow-[0_0_0_4px_rgba(124,92,255,0.16)]",rows:5,placeholder:"Watch the full series here…",value:H,onChange:(y)=>N(y.target.value),autoFocus:!0},void 0,!1,void 0,this),T.jsxDEV("div",{className:"mt-3.5 flex items-center justify-between",children:[T.jsxDEV("span",{className:"text-[11px] font-semibold tracking-[0.12em] text-faint uppercase",children:"Post it on"},void 0,!1,void 0,this),T.jsxDEV("button",{className:"text-[11px] font-semibold text-brand2 transition hover:underline",onClick:()=>A(j?new Set:new Set(B.map((y)=>y.file))),children:j?"Clear all":"Select all"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("div",{className:"mt-2 flex flex-col gap-1.5",children:B.map((y)=>{let Y0=y.published.facebook,Q0=c?.find((z0)=>z0.file===y.file),C=a0?.find((z0)=>z0.file===y.file);return T.jsxDEV("label",{className:"flex cursor-pointer items-center gap-3 rounded-xl border border-white/8 bg-white/[0.03] px-3.5 py-2.5 text-[13px] transition hover:border-white/15 select-none",children:[T.jsxDEV("input",{type:"checkbox",className:"h-4 w-4 shrink-0 cursor-pointer accent-brand",checked:F.has(y.file),onChange:()=>bw(y.file),disabled:U},void 0,!1,void 0,this),T.jsxDEV("span",{className:"min-w-0 flex-1 truncate font-medium text-text",children:[T.jsxDEV("span",{className:"mr-2 text-faint",children:["Part ",y.part]},void 0,!0,void 0,this),y.title]},void 0,!0,void 0,this),Q0?T.jsxDEV("span",{className:"shrink-0 text-[11px] font-semibold "+(Q0.ok?"text-accent":"text-danger"),title:Q0.error,children:Q0.ok?Q0.action==="updated"?"✓ Updated":"✓ Commented":"Failed"},void 0,!1,void 0,this):C&&!C.ok?T.jsxDEV("span",{className:"shrink-0 text-[11px] font-semibold text-danger",title:C.error,children:"Sync failed"},void 0,!1,void 0,this):C?.status==="ambiguous"?T.jsxDEV("span",{className:"shrink-0 rounded-md border border-warn/40 bg-warn/10 px-1.5 py-0.5 text-[10px] font-semibold text-warn",title:C.candidates?.map((z0)=>z0.message||"(no text)").join(`
247
+
248
+ `),children:[C.candidates?.length," comments — pick manually"]},void 0,!0,void 0,this):C?.status==="linked"?T.jsxDEV("span",{className:"shrink-0 rounded-md border border-accent/30 bg-accent/10 px-1.5 py-0.5 text-[10px] font-semibold text-accent",children:"✓ Linked"},void 0,!1,void 0,this):Y0.indexCommentId?T.jsxDEV("span",{className:"shrink-0 rounded-md border border-accent/30 bg-accent/10 px-1.5 py-0.5 text-[10px] font-semibold text-accent",title:"Posting will rewrite this comment in place",children:"Has comment"},void 0,!1,void 0,this):T.jsxDEV("span",{className:"shrink-0 rounded-md border border-white/10 px-1.5 py-0.5 text-[10px] font-semibold text-faint",title:"Posting will add a new comment",children:"No comment"},void 0,!1,void 0,this),T.jsxDEV("a",{className:"shrink-0 text-[11px] font-semibold text-brand2 hover:underline",href:Y0.url||`https://www.facebook.com/${Y0.id}`,target:"_blank",rel:"noreferrer",onClick:(z0)=>z0.stopPropagation(),children:"View ↗"},void 0,!1,void 0,this)]},y.file,!0,void 0,this)})},void 0,!1,void 0,this),a0&&T.jsxDEV("div",{className:"mt-2.5 text-xs text-muted",children:UJ(a0)},void 0,!1,void 0,this),c&&!P.length&&T.jsxDEV("div",{className:"mt-2.5 text-xs font-semibold text-accent",children:["✓ Commented on ",e," post",e===1?"":"s","."]},void 0,!0,void 0,this),P.length>0&&T.jsxDEV("div",{className:"mt-2.5 text-xs text-danger",children:[e>0&&T.jsxDEV("span",{className:"text-warn",children:["Commented on ",e," of ",c.length," posts."," "]},void 0,!0,void 0,this),P.map((y)=>T.jsxDEV("div",{children:["Part ",y.part,": ",y.error]},y.file,!0,void 0,this))]},void 0,!0,void 0,this),D&&T.jsxDEV("div",{className:"mt-2.5 text-xs text-danger",children:D},void 0,!1,void 0,this),P0&&T.jsxDEV("div",{className:"mt-2.5 flex flex-wrap items-center gap-x-2 gap-y-1 rounded-lg border border-warn/40 bg-warn/10 px-3 py-2 text-xs text-warn",children:[T.jsxDEV("span",{children:"Facebook isn’t connected yet."},void 0,!1,void 0,this),T.jsxDEV("button",{className:"font-semibold text-brand2 underline hover:no-underline",onClick:Y,children:"Connect it in Settings →"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("div",{className:"mt-5 flex items-center justify-between gap-3",children:[T.jsxDEV("button",{className:"text-xs font-semibold text-brand2 transition hover:underline disabled:opacity-50 disabled:hover:no-underline",title:"Look up the comments already on these posts and re-link the ones written from here. Nothing is posted.",disabled:U||o,onClick:()=>void l0(),children:o?"Syncing…":"↻ Sync comments"},void 0,!1,void 0,this),T.jsxDEV("div",{className:"flex gap-3",children:[T.jsxDEV("button",{className:J5,disabled:U,onClick:()=>q(!1),children:c?"Done":"Cancel"},void 0,!1,void 0,this),T.jsxDEV("button",{className:"inline-flex items-center justify-center gap-2 rounded-xl bg-[#1877F2] px-5 py-2.5 text-sm font-semibold text-white transition hover:bg-[#1877F2]/85 disabled:cursor-default disabled:opacity-50",disabled:!O0||o,onClick:()=>void rw(),children:U?"Posting…":`Post on ${F.size} post${F.size===1?"":"s"}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),document.body)]},void 0,!0,void 0,this)}function WJ({jobId:z,parts:Z,failed:Y,onOpenSettings:$,onPublishChange:B}){if(!Z.length)return Y?T.jsxDEV("div",{className:m$,children:"No parts produced."},void 0,!1,void 0,this):null;return T.jsxDEV(T.Fragment,{children:[T.jsxDEV("div",{className:"mb-3 flex flex-wrap items-center justify-between gap-3",children:[T.jsxDEV("div",{className:h$,children:[Z.length," parts"]},void 0,!0,void 0,this),T.jsxDEV(JJ,{jobId:z,parts:Z,onOpenSettings:$,onCommented:B},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("div",{className:"flex flex-col gap-4",children:Z.map((Q)=>T.jsxDEV(qJ,{jobId:z,part:Q,onOpenSettings:$,onPublishChange:B},Q.file,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function qJ({jobId:z,part:Z,onOpenSettings:Y,onPublishChange:$}){let[B,Q]=c0.useState(!1),[q,H]=c0.useState(Z.published?.facebook??null),[N,F]=c0.useState(!1),[A,U]=c0.useState(!1),[R,o]=c0.useState(null),[n,c]=c0.useState(null),[f,a0]=c0.useState(null),[x0,D]=c0.useState(null),L0=r$(z,Z.file),P0="inline-flex items-center gap-1.5 rounded-lg border border-white/10 bg-white/[0.03] px-3 py-1.5 text-xs font-semibold text-text transition hover:border-white/20 hover:bg-white/[0.08]";c0.useEffect(()=>{if(!BJ)return;let $0=!0;return a$().then((m0)=>$0&&m0.local&&a0({label:QJ(m0.platform)})).catch(()=>{}),()=>{$0=!1}},[]);let e0=async()=>{D(null);try{await x$(z,Z.file)}catch($0){D($0.message)}},q0=N||q?.status==="pending",v0=q?.status==="pending"&&q.total?Math.min(100,Math.round((q.sent??0)/q.total*100)):null;c0.useEffect(()=>{if(q?.status!=="pending")return;let $0=!0,m0=setInterval(async()=>{try{let p0=(await ja(z)).parts.find((pw)=>pw.file===Z.file)?.published?.facebook??null;if(!$0||!p0)return;if(H(p0),p0.status==="done")$()}catch{}},2000);return()=>{$0=!1,clearInterval(m0)}},[q?.status,z,Z.file,$]);let bw=async()=>{await navigator.clipboard.writeText(O0||""),Q(!0),setTimeout(()=>Q(!1),1400)},[j,D0]=c0.useState(!1),[O0,l0]=c0.useState(Z.caption),[rw,P]=c0.useState(!1),[e,y]=c0.useState(""),[Y0,Q0]=c0.useState(!1),C=async()=>{Q0(!0),o(null);try{let $0=await d$(z,Z.file,e);l0($0.caption),P(!1)}catch($0){o($0.message)}finally{Q0(!1)}},z0=async()=>{D0(!0),o(null);try{await $$(z,Z.file,"facebook"),H(null),$()}catch($0){o($0.message)}finally{D0(!1)}},y0=async()=>{U(!1),F(!0);try{if(!(await Tb()).facebook.connected){U(!0);return}H({status:"pending",at:Date.now()});let m0=await X$(z,Z.file,"facebook");H({status:m0.status,id:m0.id,url:m0.url,at:m0.at}),$()}catch($0){H({status:"error",error:$0.message,at:Date.now()})}finally{F(!1)}};return T.jsxDEV("div",{className:"grid grid-cols-1 overflow-hidden rounded-2xl border border-white/8 bg-panel shadow-[0_10px_50px_-12px_rgba(0,0,0,0.7)] sm:grid-cols-[210px_1fr]",children:[T.jsxDEV("div",{className:"relative mx-auto w-full max-w-[240px] self-start bg-black sm:max-w-none",children:[T.jsxDEV("video",{className:"block aspect-[9/16] w-full cursor-pointer object-cover",src:L0,preload:"metadata",playsInline:!0,controls:!0},void 0,!1,void 0,this),T.jsxDEV("span",{className:"pointer-events-none absolute top-2 right-2 rounded-md bg-black/75 px-1.5 py-0.5 text-[11px] font-semibold text-white tabular-nums backdrop-blur-sm",children:na(Z.end-Z.start)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("div",{className:"min-w-0 p-4 sm:p-5",children:[T.jsxDEV("div",{className:"font-bold",children:Z.title},void 0,!1,void 0,this),T.jsxDEV("div",{className:"mt-0.5 font-mono text-xs text-faint",children:[na(Z.start)," – ",na(Z.end),Z.size?` · ${D1(Z.size)}`:""]},void 0,!0,void 0,this),f&&T.jsxDEV("div",{className:"mt-1.5 mb-3",children:[T.jsxDEV("button",{onClick:e0,title:"Open your file manager with this clip selected",className:"inline-flex items-center gap-1.5 text-[11px] font-medium text-faint transition hover:text-brand2",children:[T.jsxDEV(L$,{className:"h-3.5 w-3.5"},void 0,!1,void 0,this)," ",f.label]},void 0,!0,void 0,this),x0&&T.jsxDEV("div",{className:"mt-1 text-[11px] text-danger",children:x0},void 0,!1,void 0,this)]},void 0,!0,void 0,this),!f&&T.jsxDEV("div",{className:"mb-3"},void 0,!1,void 0,this),rw?T.jsxDEV(T.Fragment,{children:[T.jsxDEV("textarea",{className:"w-full resize-y rounded-xl border border-brand/50 bg-black/30 px-3 py-2.5 text-xs leading-relaxed text-text outline-none focus:shadow-[0_0_0_4px_rgba(124,92,255,0.16)]",rows:4,value:e,onChange:($0)=>y($0.target.value),autoFocus:!0},void 0,!1,void 0,this),T.jsxDEV("div",{className:"mt-2 flex gap-2",children:[T.jsxDEV("button",{className:"inline-flex items-center gap-1.5 rounded-lg border border-white/10 bg-white/[0.03] px-3 py-1.5 text-xs font-semibold text-text transition hover:border-white/20 hover:bg-white/[0.08] border-accent/50 text-accent",disabled:Y0||!e.trim(),onClick:C,children:Y0?"Saving…":"✓ Save caption"},void 0,!1,void 0,this),T.jsxDEV("button",{className:"inline-flex items-center gap-1.5 rounded-lg border border-white/10 bg-white/[0.03] px-3 py-1.5 text-xs font-semibold text-text transition hover:border-white/20 hover:bg-white/[0.08]",disabled:Y0,onClick:()=>P(!1),children:"Cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):T.jsxDEV("div",{className:"relative rounded-xl border border-white/8 bg-black/30",children:[T.jsxDEV("div",{className:"absolute top-1.5 right-1.5 flex gap-1",children:[T.jsxDEV("button",{className:"grid h-7 w-7 place-items-center rounded-lg border border-white/10 bg-panel/90 transition hover:border-white/25 hover:text-text "+(B?"text-accent":"text-faint"),title:B?"Copied!":"Copy caption","aria-label":"Copy caption",onClick:bw,children:B?T.jsxDEV(G7,{className:"h-3.5 w-3.5"},void 0,!1,void 0,this):T.jsxDEV(A$,{className:"h-3.5 w-3.5"},void 0,!1,void 0,this)},void 0,!1,void 0,this),T.jsxDEV("button",{className:"grid h-7 w-7 place-items-center rounded-lg border border-white/10 bg-panel/90 text-faint transition hover:border-white/25 hover:text-text",title:"Edit caption","aria-label":"Edit caption",onClick:()=>{y(O0),P(!0)},children:T.jsxDEV(M$,{className:"h-3.5 w-3.5"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("div",{className:"max-h-[100px] overflow-y-auto px-3 py-2.5 pr-20 text-xs leading-relaxed text-muted whitespace-pre-wrap",children:O0},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("div",{className:"mt-3 flex flex-wrap gap-2",children:q?.status==="done"?T.jsxDEV("div",{className:"flex items-center gap-3 rounded-xl border border-white/8 bg-white/[0.03] py-2 pr-2 pl-2.5",children:[T.jsxDEV("span",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-[#1877F2]/15 text-[#4293ff]",children:T.jsxDEV(lv,{className:"h-4.5 w-4.5"},void 0,!1,void 0,this)},void 0,!1,void 0,this),T.jsxDEV("div",{className:"min-w-0",children:[T.jsxDEV("div",{className:"flex items-center gap-1.5 text-[13px] leading-tight font-semibold text-text",children:["Posted to Facebook ",T.jsxDEV(G7,{className:"h-3.5 w-3.5 shrink-0 text-accent"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("div",{className:"mt-0.5 text-[11px] text-faint",children:[new Date(q.at).toLocaleString(void 0,{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"})," · ",T.jsxDEV("a",{className:"font-semibold text-brand2 hover:underline",href:q.url||`https://www.facebook.com/${q.id}`,target:"_blank",rel:"noreferrer",children:"View post ↗"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV("button",{className:"ml-1 grid h-8 w-8 shrink-0 place-items-center rounded-lg text-faint transition hover:bg-danger/10 hover:text-danger disabled:opacity-50",title:"Remove post from Facebook","aria-label":"Remove post from Facebook",disabled:j,onClick:()=>c("remove"),children:T.jsxDEV(ea,{className:"h-4 w-4"+(j?" animate-pulse":"")},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):q0?T.jsxDEV("span",{className:"flex items-center gap-3 rounded-xl border border-white/8 bg-white/[0.03] py-2 pr-4 pl-2.5 text-[13px] font-semibold text-[#4293ff]",children:[T.jsxDEV("span",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-[#1877F2]/15 text-[#4293ff]",children:T.jsxDEV(lv,{className:"h-4.5 w-4.5"},void 0,!1,void 0,this)},void 0,!1,void 0,this),v0!=null?`Uploading ${v0}%`:"Publishing…",T.jsxDEV("span",{className:"h-2 w-2 animate-pulse-dot rounded-full bg-[#4293ff]"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):T.jsxDEV("button",{className:"flex items-center gap-3 rounded-xl border border-white/8 bg-white/[0.03] py-2 pr-4 pl-2.5 text-[13px] font-semibold text-text transition hover:border-[#1877F2]/50 hover:bg-[#1877F2]/10",onClick:()=>c("publish"),children:[T.jsxDEV("span",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-[#1877F2]/15 text-[#4293ff]",children:T.jsxDEV(lv,{className:"h-4.5 w-4.5"},void 0,!1,void 0,this)},void 0,!1,void 0,this),q?.status==="error"?"Retry publish to Facebook":"Publish to Facebook"]},void 0,!0,void 0,this)},void 0,!1,void 0,this),R&&T.jsxDEV("div",{className:"mt-2 text-xs text-warn",children:R},void 0,!1,void 0,this),q0&&T.jsxDEV("div",{className:"mt-2.5 max-w-[260px]",children:[T.jsxDEV("div",{className:"h-1.5 w-full overflow-hidden rounded-full bg-white/10",children:T.jsxDEV("div",{className:"h-full rounded-full bg-[#4293ff] transition-[width] duration-500 "+(v0==null?"w-1/3 animate-pulse":""),style:v0!=null?{width:`${v0}%`}:void 0},void 0,!1,void 0,this)},void 0,!1,void 0,this),T.jsxDEV("div",{className:"mt-1 text-[11px] text-faint",children:v0!=null?`Uploading to Facebook — ${v0}%`:"Starting upload…"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),A&&T.jsxDEV("div",{className:"mt-2 flex flex-wrap items-center gap-x-2 gap-y-1 rounded-lg border border-warn/40 bg-warn/10 px-3 py-2 text-xs text-warn",children:[T.jsxDEV("span",{children:"Facebook isn’t connected yet."},void 0,!1,void 0,this),T.jsxDEV("button",{className:"font-semibold text-brand2 underline hover:no-underline",onClick:Y,children:"Connect it in Settings →"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q?.status==="error"&&q.error&&T.jsxDEV("div",{className:"mt-2 text-xs text-danger",children:q.error},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T.jsxDEV(q5,{open:n==="publish",title:"Publish to Facebook?",confirmLabel:"Publish",onConfirm:()=>{c(null),y0()},onCancel:()=>c(null),children:T.jsxDEV("p",{children:[T.jsxDEV("span",{className:"font-semibold text-text",children:Z.title},void 0,!1,void 0,this)," will be posted to your Page with its caption",Z.size?` (${D1(Z.size)})`:"","."]},void 0,!0,void 0,this)},void 0,!1,void 0,this),T.jsxDEV(q5,{open:n==="remove",title:"Remove this post?",confirmLabel:"Delete post",danger:!0,onConfirm:()=>{c(null),z0()},onCancel:()=>c(null),children:T.jsxDEV("p",{children:"The post is deleted from your Facebook Page. The clip stays here — you can publish it again anytime."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Av=W0(iw(),1);var vw=W0(Mw(),1);function I$({onOpenGuide:z}){let[Z,Y]=Av.useState(null),[$,B]=Av.useState(""),[Q,q]=Av.useState(""),[H,N]=Av.useState(null),[F,A]=Av.useState(null);Av.useEffect(()=>{Tb().then((c)=>{Y(c),B(c.facebook.pageId)}).catch(()=>{})},[]);let U=Z?.facebook;async function R(){if(!$.trim()){A({kind:"err",text:"A Page ID is required."});return}N("save"),A(null);try{let c=await z$({pageId:$.trim(),token:Q.trim()||void 0});Y(c),q(""),A({kind:"ok",text:c.facebook.pageName?`Saved — connected to “${c.facebook.pageName}”.`:"Saved."})}catch(c){A({kind:"err",text:c.message})}finally{N(null)}}async function o(){if(!confirm("Remove the Facebook connection? You’ll need to re-enter the token to publish again."))return;N("remove"),A(null);try{let c=await Z$();Y(c),B(""),q(""),A({kind:"ok",text:"Facebook connection removed."})}catch(c){A({kind:"err",text:c.message})}finally{N(null)}}async function n(){N("test"),A(null);try{let c=await G$({pageId:$.trim(),token:Q.trim()||void 0});if(c.missing.length)A({kind:"err",text:`Connected to “${c.pageName}”, but the token is missing ${c.missing.join(", ")} — video publishing will fail. Regenerate the token with that permission enabled.`});else A({kind:"ok",text:`Token works — page “${c.pageName}” with publish access. Click Save to store it.`})}catch(c){A({kind:"err",text:c.message})}finally{N(null)}}return vw.jsxDEV(vw.Fragment,{children:[vw.jsxDEV("div",{className:"mb-8",children:[vw.jsxDEV("h2",{className:"bg-gradient-to-br from-white via-white to-white/50 bg-clip-text text-3xl font-bold tracking-tight text-transparent sm:text-4xl",children:"Settings"},void 0,!1,void 0,this),vw.jsxDEV("p",{className:"mt-2 max-w-xl text-muted",children:"Connect your social accounts so you can publish parts straight from a card."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),vw.jsxDEV("div",{className:Kg+" p-5 sm:p-7",children:[vw.jsxDEV("div",{className:"mb-5 flex items-center justify-between gap-3",children:[vw.jsxDEV("div",{className:"flex items-center gap-3",children:[vw.jsxDEV("span",{className:"grid h-10 w-10 place-items-center rounded-xl bg-[#1877F2]/15 text-[#4293ff]",children:vw.jsxDEV(lv,{className:"h-5 w-5"},void 0,!1,void 0,this)},void 0,!1,void 0,this),vw.jsxDEV("div",{children:[vw.jsxDEV("div",{className:"font-semibold",children:"Facebook Page"},void 0,!1,void 0,this),U?.connected?vw.jsxDEV("div",{className:"text-xs text-accent",children:["● Connected",U.pageName?` · ${U.pageName}`:""]},void 0,!0,void 0,this):vw.jsxDEV("div",{className:"text-xs text-faint",children:"Not connected"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),vw.jsxDEV("button",{className:"text-xs font-semibold text-brand2 hover:underline",onClick:()=>z("facebook"),children:"Setup guide →"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),vw.jsxDEV("div",{className:"mb-4",children:[vw.jsxDEV("label",{className:gg,children:"Page ID"},void 0,!1,void 0,this),vw.jsxDEV("input",{className:Rg,placeholder:"e.g. 1234567890",value:$,onChange:(c)=>B(c.target.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),vw.jsxDEV("div",{className:"mb-5",children:[vw.jsxDEV("label",{className:gg,children:"Page Access Token"},void 0,!1,void 0,this),vw.jsxDEV("input",{className:Rg+" font-mono text-[12.5px]",type:"password",autoComplete:"off",placeholder:U?.hasToken?"•••••••• (leave blank to keep current)":"Paste your long-lived page token",value:Q,onChange:(c)=>q(c.target.value)},void 0,!1,void 0,this),vw.jsxDEV("p",{className:"mt-1.5 text-[11px] text-faint",children:["Stored locally on this machine in ",vw.jsxDEV("code",{className:"text-muted",children:"config/social.json"},void 0,!1,void 0,this),". Never uploaded."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),F&&vw.jsxDEV("div",{className:"mb-4 rounded-xl border px-4 py-2.5 text-sm "+(F.kind==="ok"?"border-accent/40 bg-accent/10 text-accent":"border-danger/40 bg-danger/10 text-[#ffb3ba]"),children:F.text},void 0,!1,void 0,this),vw.jsxDEV("div",{className:"flex flex-wrap items-center gap-3",children:[vw.jsxDEV("button",{className:pa,disabled:H!==null||!$.trim()||!Q.trim()&&!U?.hasToken,onClick:R,children:H==="save"?"Verifying & saving…":"Save"},void 0,!1,void 0,this),vw.jsxDEV("button",{className:J5,disabled:H!==null||!$.trim()||!Q.trim()&&!U?.hasToken,onClick:n,children:H==="test"?"Testing…":"Test connection"},void 0,!1,void 0,this),U?.hasToken&&vw.jsxDEV("button",{className:"ml-auto rounded-xl px-4 py-2.5 text-sm font-medium text-danger transition hover:bg-danger/10 disabled:opacity-50",disabled:H!==null,onClick:o,children:H==="remove"?"Removing…":"Disconnect"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var d0=W0(Mw(),1);function Z7({href:z,children:Z}){return d0.jsxDEV("a",{href:z,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-1 font-medium text-brand2 hover:underline",children:[Z,d0.jsxDEV(l$,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Mv({children:z}){return d0.jsxDEV("code",{className:"rounded bg-black/40 px-1.5 py-0.5 font-mono text-[12px] text-accent",children:z},void 0,!1,void 0,this)}var lJ=[{title:"Create a Facebook app",body:d0.jsxDEV(d0.Fragment,{children:["Go to ",d0.jsxDEV(Z7,{href:"https://developers.facebook.com/apps/",children:"developers.facebook.com/apps"},void 0,!1,void 0,this)," → ",d0.jsxDEV("b",{children:"Create app"},void 0,!1,void 0,this),". Choose the ",d0.jsxDEV("b",{children:"Business"},void 0,!1,void 0,this)," type, give it a name, and finish. The app is only used to generate your access token in the next steps — nothing from it needs to be copied into ShortsMaker."]},void 0,!0,void 0,this)},{title:"Open the Graph API Explorer",body:d0.jsxDEV(d0.Fragment,{children:["Go to ",d0.jsxDEV(Z7,{href:"https://developers.facebook.com/tools/explorer/",children:"Graph API Explorer"},void 0,!1,void 0,this),". In the top-right, select your app under ",d0.jsxDEV("b",{children:"Meta App"},void 0,!1,void 0,this),", then set ",d0.jsxDEV("b",{children:"User or Page"},void 0,!1,void 0,this)," to ",d0.jsxDEV("b",{children:"Get User Access Token"},void 0,!1,void 0,this),"."]},void 0,!0,void 0,this)},{title:"Grant the publishing permissions",body:d0.jsxDEV(d0.Fragment,{children:["Click ",d0.jsxDEV("b",{children:"Add permissions"},void 0,!1,void 0,this)," and enable: ",d0.jsxDEV(Mv,{children:"pages_show_list"},void 0,!1,void 0,this),", ",d0.jsxDEV(Mv,{children:"pages_read_engagement"},void 0,!1,void 0,this),","," ",d0.jsxDEV(Mv,{children:"pages_manage_posts"},void 0,!1,void 0,this),", and ",d0.jsxDEV(Mv,{children:"publish_video"},void 0,!1,void 0,this),". Click ",d0.jsxDEV("b",{children:"Generate Access Token"},void 0,!1,void 0,this)," and approve access to the Page you want to post to."]},void 0,!0,void 0,this)},{title:"Get the Page access token & Page ID",body:d0.jsxDEV(d0.Fragment,{children:["In the Explorer’s query box, request ",d0.jsxDEV(Mv,{children:"me/accounts"},void 0,!1,void 0,this)," and press ",d0.jsxDEV("b",{children:"Submit"},void 0,!1,void 0,this),". Find your Page in the response — copy its ",d0.jsxDEV(Mv,{children:"access_token"},void 0,!1,void 0,this)," (that’s the ",d0.jsxDEV("b",{children:"Page Access Token"},void 0,!1,void 0,this),") and its ",d0.jsxDEV(Mv,{children:"id"},void 0,!1,void 0,this)," ","(that’s your ",d0.jsxDEV("b",{children:"Page ID"},void 0,!1,void 0,this),"). Both go on the Settings page."]},void 0,!0,void 0,this)},{title:"Make it long-lived (recommended)",body:d0.jsxDEV(d0.Fragment,{children:["The token above expires in ~1 hour. To get one that doesn’t expire, paste it into the"," ",d0.jsxDEV(Z7,{href:"https://developers.facebook.com/tools/debug/accesstoken/",children:"Access Token Debugger"},void 0,!1,void 0,this),", click"," ",d0.jsxDEV("b",{children:"Extend Access Token"},void 0,!1,void 0,this),", then repeat the ",d0.jsxDEV(Mv,{children:"me/accounts"},void 0,!1,void 0,this)," step to read a long-lived Page token."]},void 0,!0,void 0,this)},{title:"Paste into Settings",body:d0.jsxDEV(d0.Fragment,{children:["Enter the ",d0.jsxDEV("b",{children:"Page ID"},void 0,!1,void 0,this)," and ",d0.jsxDEV("b",{children:"Page Access Token"},void 0,!1,void 0,this)," on the Settings page, then click ",d0.jsxDEV("b",{children:"Save"},void 0,!1,void 0,this)," (it verifies with Facebook first). Once it shows your page name, each part card gets a one-click"," ",d0.jsxDEV("b",{children:"Publish to Facebook"},void 0,!1,void 0,this)," button — clips are uploaded straight to your Page."]},void 0,!0,void 0,this)}];function C$({platform:z,onBack:Z}){return d0.jsxDEV(d0.Fragment,{children:[d0.jsxDEV("button",{onClick:Z,className:"mb-6 inline-flex items-center gap-1.5 text-sm font-medium text-muted transition hover:text-text",children:[d0.jsxDEV(q$,{},void 0,!1,void 0,this)," Back to settings"]},void 0,!0,void 0,this),d0.jsxDEV("div",{className:"mb-8 flex items-center gap-3",children:[d0.jsxDEV("span",{className:"grid h-11 w-11 place-items-center rounded-2xl bg-[#1877F2]/15 text-[#4293ff]",children:d0.jsxDEV(lv,{className:"h-6 w-6"},void 0,!1,void 0,this)},void 0,!1,void 0,this),d0.jsxDEV("div",{children:[d0.jsxDEV("h2",{className:"text-2xl font-bold tracking-tight sm:text-3xl",children:"Connect a Facebook Page"},void 0,!1,void 0,this),d0.jsxDEV("p",{className:"text-sm text-muted",children:"Get a Page ID and access token so ShortsMaker can post for you."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),!(z==="facebook")?d0.jsxDEV("div",{className:Kg+" p-6 text-muted",children:"A guide for this platform is coming soon."},void 0,!1,void 0,this):d0.jsxDEV("ol",{className:"space-y-3",children:lJ.map(($,B)=>d0.jsxDEV("li",{className:Kg+" flex gap-4 p-4 sm:p-5",children:[d0.jsxDEV("span",{className:"grid h-8 w-8 shrink-0 place-items-center rounded-full bg-brand/15 text-sm font-bold text-brand2",children:B+1},void 0,!1,void 0,this),d0.jsxDEV("div",{className:"min-w-0",children:[d0.jsxDEV("div",{className:"mb-1 font-semibold",children:$.title},void 0,!1,void 0,this),d0.jsxDEV("div",{className:"text-[13.5px] leading-relaxed text-muted",children:$.body},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},B,!0,void 0,this))},void 0,!1,void 0,this),d0.jsxDEV("div",{className:"mt-6 rounded-xl border border-warn/30 bg-warn/5 px-4 py-3 text-[13px] text-warn/90",children:["As the Page and app admin you can publish in the app’s ",d0.jsxDEV("b",{children:"Development"},void 0,!1,void 0,this)," mode — no App Review needed for your own Page."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var U0=W0(Mw(),1),f$=()=>ux();function c$(){let[z,Z]=n1.useState([]),Y=wg(),B=Pa("/jobs/:id")?.params.id??null,Q=n1.useRef(!1),q=n1.useCallback(async()=>{try{Z(await z7())}catch{}},[]);n1.useEffect(()=>{(async()=>{let n=await z7().catch(()=>[]);if(Z(n),!Q.current){Q.current=!0;let c=n.find((f)=>f.status==="running");if(c&&window.location.pathname==="/")Y(`/jobs/${c.id}`)}})()},[Y]),n1.useEffect(()=>{let n=setInterval(q,4000);return()=>clearInterval(n)},[q]);let[H,N]=n1.useState(null),F=H?z.find((n)=>n.id===H)??null:null,A=n1.useCallback((n)=>N(n),[]),U=n1.useCallback(()=>{let n=H;if(N(null),!n)return;(async()=>{if(await eY(n).catch(()=>{}),await q(),B===n)Y("/")})()},[H,q,B,Y]),R={jobs:z,refresh:q,onDelete:A},o=F?.parts.length??0;return U0.jsxDEV(U0.Fragment,{children:[U0.jsxDEV(g7,{children:[U0.jsxDEV(Ng,{element:U0.jsxDEV(NJ,{ctx:R},void 0,!1,void 0,this),children:[U0.jsxDEV(Ng,{index:!0,element:U0.jsxDEV(AJ,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),U0.jsxDEV(Ng,{path:"jobs/:id",element:U0.jsxDEV(MJ,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),U0.jsxDEV(Ng,{path:"settings",element:U0.jsxDEV(LJ,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),U0.jsxDEV(Ng,{path:"settings/guide/:platform",element:U0.jsxDEV(OJ,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),U0.jsxDEV(Ng,{path:"*",element:U0.jsxDEV(Sa,{to:"/",replace:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),U0.jsxDEV(q5,{open:H!==null,title:"Delete this split?",confirmLabel:"Delete split",danger:!0,onConfirm:U,onCancel:()=>N(null),children:U0.jsxDEV("p",{children:[U0.jsxDEV("span",{className:"font-semibold text-text",children:F?Fg(F.title||F.videoName):"This split"},void 0,!1,void 0,this)," ","and ",o>0?`its ${o} generated part${o===1?"":"s"}`:"its output"," are permanently deleted from ",U0.jsxDEV("code",{className:"text-faint",children:"output/"},void 0,!1,void 0,this),". The source video stays in your uploads."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function AJ(){let{refresh:z}=f$(),Z=wg();return U0.jsxDEV(F$,{onCreated:(Y)=>{z(),Z(`/jobs/${Y}`)}},void 0,!1,void 0,this)}function MJ(){let{id:z}=ya(),{refresh:Z,onDelete:Y}=f$(),$=wg();if(!z)return U0.jsxDEV(Sa,{to:"/",replace:!0},void 0,!1,void 0,this);return U0.jsxDEV(T$,{jobId:z,onDelete:Y,onSettled:Z,onOpenSettings:()=>$("/settings")},z,!1,void 0,this)}function LJ(){let z=wg();return U0.jsxDEV(I$,{onOpenGuide:(Z)=>z(`/settings/guide/${Z}`)},void 0,!1,void 0,this)}function OJ(){let{platform:z}=ya(),Z=wg();return U0.jsxDEV(C$,{platform:z??"facebook",onBack:()=>Z("/settings")},void 0,!1,void 0,this)}function NJ({ctx:z}){let[Z,Y]=n1.useState(!1),$=wg(),B=x1(),q=Pa("/jobs/:id")?.params.id??null,H=B.pathname.startsWith("/settings"),N=(A)=>{$(A),Y(!1)},F=U0.jsxDEV(N$,{jobs:z.jobs,selectedId:q,settingsActive:H,onNew:()=>N("/"),onSelect:(A)=>N(`/jobs/${A}`),onDelete:z.onDelete,onSettings:()=>N("/settings")},void 0,!1,void 0,this);return U0.jsxDEV(U0.Fragment,{children:[U0.jsxDEV("div",{className:"app-aurora"},void 0,!1,void 0,this),U0.jsxDEV("div",{className:"app-grid"},void 0,!1,void 0,this),U0.jsxDEV("div",{className:"lg:grid lg:h-screen lg:grid-cols-[288px_1fr]",children:[U0.jsxDEV("aside",{className:"hidden border-r border-white/8 bg-white/[0.02] backdrop-blur-xl lg:block",children:F},void 0,!1,void 0,this),U0.jsxDEV("div",{className:"flex min-h-screen flex-col lg:min-h-0 lg:overflow-y-auto",children:[U0.jsxDEV("header",{className:"sticky top-0 z-30 flex items-center justify-between gap-3 border-b border-white/8 bg-bg/70 px-4 py-3 backdrop-blur-xl lg:hidden",children:[U0.jsxDEV(sa,{compact:!0},void 0,!1,void 0,this),U0.jsxDEV("div",{className:"flex items-center gap-2",children:[U0.jsxDEV("button",{onClick:()=>N("/"),className:"rounded-lg border border-brand/40 bg-brand/10 px-3 py-1.5 text-sm font-semibold text-brand2 transition hover:bg-brand/20",children:"+ New"},void 0,!1,void 0,this),U0.jsxDEV("button",{"aria-label":"Open history",onClick:()=>Y(!0),className:"grid h-9 w-9 place-items-center rounded-lg border border-white/10 bg-white/[0.04] text-muted transition hover:bg-white/[0.08]",children:U0.jsxDEV(FJ,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),U0.jsxDEV("main",{className:"mx-auto w-full max-w-3xl flex-1 px-4 pt-6 pb-24 sm:px-6 lg:px-8 lg:pt-12",children:U0.jsxDEV("div",{className:"animate-in",children:U0.jsxDEV(ex,{context:z},void 0,!1,void 0,this)},B.pathname,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),U0.jsxDEV("div",{className:"fixed inset-0 z-50 lg:hidden "+(Z?"":"pointer-events-none"),children:[U0.jsxDEV("div",{onClick:()=>Y(!1),className:"absolute inset-0 bg-black/60 backdrop-blur-sm transition-opacity "+(Z?"opacity-100":"opacity-0")},void 0,!1,void 0,this),U0.jsxDEV("div",{className:"absolute inset-y-0 right-0 w-[86%] max-w-[320px] border-l border-white/10 bg-surface/95 backdrop-blur-2xl transition-transform duration-300 "+(Z?"translate-x-0":"translate-x-full"),children:[U0.jsxDEV("button",{"aria-label":"Close",onClick:()=>Y(!1),className:"absolute top-4 right-3 z-10 grid h-8 w-8 place-items-center rounded-lg text-faint transition hover:bg-white/10 hover:text-text",children:"✕"},void 0,!1,void 0,this),F]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function FJ(){return U0.jsxDEV("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:U0.jsxDEV("path",{d:"M4 6h16M4 12h16M4 18h16"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}var X7=W0(Mw(),1),i$=document.getElementById("root");if(i$)o$.createRoot(i$).render(X7.jsxDEV(d7,{children:X7.jsxDEV(c$,{},void 0,!1,void 0,this)},void 0,!1,void 0,this));