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.
@@ -1,240 +0,0 @@
1
- var QU=Object.create;var{getPrototypeOf:HU,defineProperty:t_,getOwnPropertyNames:UU}=Object;var JU=Object.prototype.hasOwnProperty;function WU(z){return this[z]}var kU,qU,U0=(z,Z,Y)=>{var B=z!=null&&typeof z==="object";if(B){var $=Z?kU??=new WeakMap:qU??=new WeakMap,U=$.get(z);if(U)return U}Y=z!=null?QU(HU(z)):{};let q=Z||!z||!z.__esModule?t_(Y,"default",{value:z,enumerable:!0}):Y;for(let Q of UU(z))if(!JU.call(q,Q))t_(q,Q,{get:WU.bind(z,Q),enumerable:!0});if(B)$.set(z,q);return q};var Q5=(z,Z)=>()=>(Z||z((Z={exports:{}}).exports,Z),Z.exports);var s_=Q5((lU)=>{(function(){function z(){if(D0=!1,B0){var y=lU.unstable_now();e0=y;var e=!0;try{w:{p=!1,r0&&(r0=!1,s0(rw),rw=-1),g0=!0;var a0=f;try{g:{U(y);for(I=Y(N);I!==null&&!(I.expirationTime>y&&Q());){var K0=I.callback;if(typeof K0==="function"){I.callback=null,f=I.priorityLevel;var f0=K0(I.expirationTime<=y);if(y=lU.unstable_now(),typeof f0==="function"){I.callback=f0,U(y),e=!0;break g}I===Y(N)&&B(N),U(y)}else B(N);I=Y(N)}if(I!==null)e=!0;else{var C=Y(S);C!==null&&K(q,C.startTime-y),e=!1}}break w}finally{I=null,f=a0,g0=!1}e=void 0}}finally{e?N0():B0=!1}}}function Z(y,e){var a0=y.length;y.push(e);w:for(;0<a0;){var K0=a0-1>>>1,f0=y[K0];if(0<$(f0,e))y[K0]=e,y[a0]=f0,a0=K0;else break w}}function Y(y){return y.length===0?null:y[0]}function B(y){if(y.length===0)return null;var e=y[0],a0=y.pop();if(a0!==e){y[0]=a0;w:for(var K0=0,f0=y.length,C=f0>>>1;K0<C;){var _0=2*(K0+1)-1,c0=y[_0],o0=_0+1,u0=y[o0];if(0>$(c0,a0))o0<f0&&0>$(u0,c0)?(y[K0]=u0,y[o0]=a0,K0=o0):(y[K0]=c0,y[_0]=a0,K0=_0);else if(o0<f0&&0>$(u0,a0))y[K0]=u0,y[o0]=a0,K0=o0;else break w}}return e}function $(y,e){var a0=y.sortIndex-e.sortIndex;return a0!==0?a0:y.id-e.id}function U(y){for(var e=Y(S);e!==null;){if(e.callback===null)B(S);else if(e.startTime<=y)B(S),e.sortIndex=e.expirationTime,Z(N,e);else break;e=Y(S)}}function q(y){if(r0=!1,U(y),!p)if(Y(N)!==null)p=!0,B0||(B0=!0,N0());else{var e=Y(S);e!==null&&K(q,e.startTime-y)}}function Q(){return D0?!0:lU.unstable_now()-e0<E?!1:!0}function K(y,e){rw=S0(function(){y(lU.unstable_now())},e)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),lU.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var R=performance;lU.unstable_now=function(){return R.now()}}else{var O=Date,H=O.now();lU.unstable_now=function(){return O.now()-H}}var N=[],S=[],D=1,I=null,f=3,g0=!1,p=!1,r0=!1,D0=!1,S0=typeof setTimeout==="function"?setTimeout:null,s0=typeof clearTimeout==="function"?clearTimeout:null,h0=typeof setImmediate<"u"?setImmediate:null,B0=!1,rw=-1,E=5,e0=-1;if(typeof h0==="function")var N0=function(){h0(z)};else if(typeof MessageChannel<"u"){var J0=new MessageChannel,bw=J0.port2;J0.port1.onmessage=z,N0=function(){bw.postMessage(null)}}else N0=function(){S0(z,0)};lU.unstable_IdlePriority=5,lU.unstable_ImmediatePriority=1,lU.unstable_LowPriority=4,lU.unstable_NormalPriority=3,lU.unstable_Profiling=null,lU.unstable_UserBlockingPriority=2,lU.unstable_cancelCallback=function(y){y.callback=null},lU.unstable_forceFrameRate=function(y){0>y||125<y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<y?Math.floor(1000/y):5},lU.unstable_getCurrentPriorityLevel=function(){return f},lU.unstable_next=function(y){switch(f){case 1:case 2:case 3:var e=3;break;default:e=f}var a0=f;f=e;try{return y()}finally{f=a0}},lU.unstable_requestPaint=function(){D0=!0},lU.unstable_runWithPriority=function(y,e){switch(y){case 1:case 2:case 3:case 4:case 5:break;default:y=3}var a0=f;f=y;try{return e()}finally{f=a0}},lU.unstable_scheduleCallback=function(y,e,a0){var K0=lU.unstable_now();switch(typeof a0==="object"&&a0!==null?(a0=a0.delay,a0=typeof a0==="number"&&0<a0?K0+a0:K0):a0=K0,y){case 1:var f0=-1;break;case 2:f0=250;break;case 5:f0=1073741823;break;case 4:f0=1e4;break;default:f0=5000}return f0=a0+f0,y={id:D++,callback:e,priorityLevel:y,startTime:a0,expirationTime:f0,sortIndex:-1},a0>K0?(y.sortIndex=a0,Z(S,y),Y(N)===null&&y===Y(S)&&(r0?(s0(rw),rw=-1):r0=!0,K(q,a0-K0))):(y.sortIndex=f0,Z(N,y),p||g0||(p=!0,B0||(B0=!0,N0()))),y},lU.unstable_shouldYield=Q,lU.unstable_wrapCallback=function(y){var e=f;return function(){var a0=f;f=e;try{return y.apply(this,arguments)}finally{f=a0}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Pw=Q5((AU,ha)=>{(function(){function z(_,L){Object.defineProperty(B.prototype,_,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",L[0],L[1])}})}function Z(_){if(_===null||typeof _!=="object")return null;return _=q5&&_[q5]||_["@@iterator"],typeof _==="function"?_:null}function Y(_,L){_=(_=_.constructor)&&(_.displayName||_.name)||"ReactClass";var o=_+"."+L;s[o]||(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.",L,_),s[o]=!0)}function B(_,L,o){this.props=_,this.context=L,this.refs=p1,this.updater=o||P}function $(){}function U(_,L,o){this.props=_,this.context=L,this.refs=p1,this.updater=o||P}function q(){}function Q(_){return""+_}function K(_){try{Q(_);var L=!1}catch(v0){L=!0}if(L){L=console;var o=L.error,u=typeof Symbol==="function"&&Symbol.toStringTag&&_[Symbol.toStringTag]||_.constructor.name||"Object";return o.call(L,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",u),Q(_)}}function R(_){if(_==null)return null;if(typeof _==="function")return _.$$typeof===mb?null:_.displayName||_.name||null;if(typeof _==="string")return _;switch(_){case f0:return"Fragment";case _0:return"Profiler";case C:return"StrictMode";case n0:return"Suspense";case l0:return"SuspenseList";case Z1: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 K0:return"Portal";case o0:return _.displayName||"Context";case c0:return(_._context.displayName||"Context")+".Consumer";case u0:var L=_.render;return _=_.displayName,_||(_=L.displayName||L.name||"",_=_!==""?"ForwardRef("+_+")":"ForwardRef"),_;case b1:return L=_.displayName||null,L!==null?L:R(_.type)||"Memo";case pw:L=_._payload,_=_._init;try{return R(_(L))}catch(o){}}return null}function O(_){if(_===f0)return"<>";if(typeof _==="object"&&_!==null&&_.$$typeof===pw)return"<...>";try{var L=R(_);return L?"<"+L+">":"<...>"}catch(o){return"<...>"}}function H(){var _=A0.A;return _===null?null:_.getOwner()}function N(){return Error("react-stack-top-frame")}function S(_){if(l5.call(_,"key")){var L=Object.getOwnPropertyDescriptor(_,"key").get;if(L&&L.isReactWarning)return!1}return _.key!==void 0}function D(_,L){function o(){Br||(Br=!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)",L))}o.isReactWarning=!0,Object.defineProperty(_,"key",{get:o,configurable:!0})}function I(){var _=R(this.type);return Ov[_]||(Ov[_]=!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(_,L,o,u,v0,W0){var k0=o.ref;return _={$$typeof:a0,type:_,key:L,props:o,_owner:u},(k0!==void 0?k0:null)!==null?Object.defineProperty(_,"ref",{enumerable:!1,get:I}):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:v0}),Object.defineProperty(_,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:W0}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_}function g0(_,L){return L=f(_.type,L,_.props,_._owner,_._debugStack,_._debugTask),_._store&&(L._store.validated=_._store.validated),L}function p(_){r0(_)?_._store&&(_._store.validated=1):typeof _==="object"&&_!==null&&_.$$typeof===pw&&(_._payload.status==="fulfilled"?r0(_._payload.value)&&_._payload.value._store&&(_._payload.value._store.validated=1):_._store&&(_._store.validated=1))}function r0(_){return typeof _==="object"&&_!==null&&_.$$typeof===a0}function D0(_){var L={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(o){return L[o]})}function S0(_,L){return typeof _==="object"&&_!==null&&_.key!=null?(K(_.key),D0(""+_.key)):L.toString(36)}function s0(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status==="string"?_.then(q,q):(_.status="pending",_.then(function(L){_.status==="pending"&&(_.status="fulfilled",_.value=L)},function(L){_.status==="pending"&&(_.status="rejected",_.reason=L)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function h0(_,L,o,u,v0){var W0=typeof _;if(W0==="undefined"||W0==="boolean")_=null;var k0=!1;if(_===null)k0=!0;else switch(W0){case"bigint":case"string":case"number":k0=!0;break;case"object":switch(_.$$typeof){case a0:case K0:k0=!0;break;case pw:return k0=_._init,h0(k0(_._payload),L,o,u,v0)}}if(k0){k0=_,v0=v0(k0);var E0=u===""?"."+S0(k0,0):u;return dw(v0)?(o="",E0!=null&&(o=E0.replace(M5,"$&/")+"/"),h0(v0,L,o,"",function(d1){return d1})):v0!=null&&(r0(v0)&&(v0.key!=null&&(k0&&k0.key===v0.key||K(v0.key)),o=g0(v0,o+(v0.key==null||k0&&k0.key===v0.key?"":(""+v0.key).replace(M5,"$&/")+"/")+E0),u!==""&&k0!=null&&r0(k0)&&k0.key==null&&k0._store&&!k0._store.validated&&(o._store.validated=2),v0=o),L.push(v0)),1}if(k0=0,E0=u===""?".":u+":",dw(_))for(var G0=0;G0<_.length;G0++)u=_[G0],W0=E0+S0(u,G0),k0+=h0(u,L,o,W0,v0);else if(G0=Z(_),typeof G0==="function")for(G0===_.entries&&(A5||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),A5=!0),_=G0.call(_),G0=0;!(u=_.next()).done;)u=u.value,W0=E0+S0(u,G0++),k0+=h0(u,L,o,W0,v0);else if(W0==="object"){if(typeof _.then==="function")return h0(s0(_),L,o,u,v0);throw L=String(_),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return k0}function B0(_,L,o){if(_==null)return _;var u=[],v0=0;return h0(_,u,"","",function(W0){return L.call(o,W0,v0++)}),u}function rw(_){if(_._status===-1){var L=_._ioInfo;L!=null&&(L.start=L.end=performance.now()),L=_._result;var o=L();if(o.then(function(v0){if(_._status===0||_._status===-1){_._status=1,_._result=v0;var W0=_._ioInfo;W0!=null&&(W0.end=performance.now()),o.status===void 0&&(o.status="fulfilled",o.value=v0)}},function(v0){if(_._status===0||_._status===-1){_._status=2,_._result=v0;var W0=_._ioInfo;W0!=null&&(W0.end=performance.now()),o.status===void 0&&(o.status="rejected",o.reason=v0)}}),L=_._ioInfo,L!=null){L.value=o;var u=o.displayName;typeof u==="string"&&(L.name=u)}_._status===-1&&(_._status=0,_._result=o)}if(_._status===1)return L=_._result,L===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?`,L),"default"in L||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'))`,L),L.default;throw _._result}function E(){var _=A0.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 e0(){A0.asyncTransitions--}function N0(_){if(Kv===null)try{var L=("require"+Math.random()).slice(0,7);Kv=(ha&&ha[L]).call(ha,"timers").setImmediate}catch(o){Kv=function(u){$r===!1&&($r=!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 v0=new MessageChannel;v0.port1.onmessage=u,v0.port2.postMessage(void 0)}}return Kv(_)}function J0(_){return 1<_.length&&typeof AggregateError==="function"?AggregateError(_):_[0]}function bw(_,L){L!==Rv-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. "),Rv=L}function y(_,L,o){var u=A0.actQueue;if(u!==null)if(u.length!==0)try{e(u),N0(function(){return y(_,L,o)});return}catch(v0){A0.thrownErrors.push(v0)}else A0.actQueue=null;0<A0.thrownErrors.length?(u=J0(A0.thrownErrors),A0.thrownErrors.length=0,o(u)):L(_)}function e(_){if(!Nv){Nv=!0;var L=0;try{for(;L<_.length;L++){var o=_[L];do{A0.didUsePromise=!1;var u=o(!1);if(u!==null){if(A0.didUsePromise){_[L]=o,_.splice(0,L);return}o=u}else break}while(1)}_.length=0}catch(v0){_.splice(0,L+1),A0.thrownErrors.push(v0)}finally{Nv=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var a0=Symbol.for("react.transitional.element"),K0=Symbol.for("react.portal"),f0=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),_0=Symbol.for("react.profiler"),c0=Symbol.for("react.consumer"),o0=Symbol.for("react.context"),u0=Symbol.for("react.forward_ref"),n0=Symbol.for("react.suspense"),l0=Symbol.for("react.suspense_list"),b1=Symbol.for("react.memo"),pw=Symbol.for("react.lazy"),Z1=Symbol.for("react.activity"),q5=Symbol.iterator,s={},P={isMounted:function(){return!1},enqueueForceUpdate:function(_){Y(_,"forceUpdate")},enqueueReplaceState:function(_){Y(_,"replaceState")},enqueueSetState:function(_){Y(_,"setState")}},$w=Object.assign,p1={};Object.freeze(p1),B.prototype.isReactComponent={},B.prototype.setState=function(_,L){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,_,L,"setState")},B.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};var Lw={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 Lw)Lw.hasOwnProperty(Tg)&&z(Tg,Lw[Tg]);$.prototype=B.prototype,Lw=U.prototype=new $,Lw.constructor=U,$w(Lw,B.prototype),Lw.isPureReactComponent=!0;var dw=Array.isArray,mb=Symbol.for("react.client.reference"),A0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},l5=Object.prototype.hasOwnProperty,Zw=console.createTask?console.createTask:function(){return null};Lw={react_stack_bottom_frame:function(_){return _()}};var Br,A2,Ov={},Lv=Lw.react_stack_bottom_frame.bind(Lw,N)(),sa=Zw(O(N)),A5=!1,M5=/\/+/g,mg=typeof reportError==="function"?reportError:function(_){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _==="object"&&_!==null&&typeof _.message==="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(L))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",_);return}console.error(_)},$r=!1,Kv=null,Rv=0,hv=!1,Nv=!1,Tb=typeof queueMicrotask==="function"?function(_){queueMicrotask(function(){return queueMicrotask(_)})}:N0;Lw=Object.freeze({__proto__:null,c:function(_){return E().useMemoCache(_)}});var Tg={map:B0,forEach:function(_,L,o){B0(_,function(){L.apply(this,arguments)},o)},count:function(_){var L=0;return B0(_,function(){L++}),L},toArray:function(_){return B0(_,function(L){return L})||[]},only:function(_){if(!r0(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};AU.Activity=Z1,AU.Children=Tg,AU.Component=B,AU.Fragment=f0,AU.Profiler=_0,AU.PureComponent=U,AU.StrictMode=C,AU.Suspense=n0,AU.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=A0,AU.__COMPILER_RUNTIME=Lw,AU.act=function(_){var L=A0.actQueue,o=Rv;Rv++;var u=A0.actQueue=L!==null?L:[],v0=!1;try{var W0=_()}catch(G0){A0.thrownErrors.push(G0)}if(0<A0.thrownErrors.length)throw bw(L,o),_=J0(A0.thrownErrors),A0.thrownErrors.length=0,_;if(W0!==null&&typeof W0==="object"&&typeof W0.then==="function"){var k0=W0;return Tb(function(){v0||hv||(hv=!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(G0,d1){v0=!0,k0.then(function(K1){if(bw(L,o),o===0){try{e(u),N0(function(){return y(K1,G0,d1)})}catch(Cb){A0.thrownErrors.push(Cb)}if(0<A0.thrownErrors.length){var Cg=J0(A0.thrownErrors);A0.thrownErrors.length=0,d1(Cg)}}else G0(K1)},function(K1){bw(L,o),0<A0.thrownErrors.length?(K1=J0(A0.thrownErrors),A0.thrownErrors.length=0,d1(K1)):d1(K1)})}}}var E0=W0;if(bw(L,o),o===0&&(e(u),u.length!==0&&Tb(function(){v0||hv||(hv=!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(() => ...)"))}),A0.actQueue=null),0<A0.thrownErrors.length)throw _=J0(A0.thrownErrors),A0.thrownErrors.length=0,_;return{then:function(G0,d1){v0=!0,o===0?(A0.actQueue=u,N0(function(){return y(E0,G0,d1)})):G0(E0)}}},AU.cache=function(_){return function(){return _.apply(null,arguments)}},AU.cacheSignal=function(){return null},AU.captureOwnerStack=function(){var _=A0.getCurrentStack;return _===null?null:_()},AU.cloneElement=function(_,L,o){if(_===null||_===void 0)throw Error("The argument must be a React element, but you passed "+_+".");var u=$w({},_.props),v0=_.key,W0=_._owner;if(L!=null){var k0;w:{if(l5.call(L,"ref")&&(k0=Object.getOwnPropertyDescriptor(L,"ref").get)&&k0.isReactWarning){k0=!1;break w}k0=L.ref!==void 0}k0&&(W0=H()),S(L)&&(K(L.key),v0=""+L.key);for(E0 in L)!l5.call(L,E0)||E0==="key"||E0==="__self"||E0==="__source"||E0==="ref"&&L.ref===void 0||(u[E0]=L[E0])}var E0=arguments.length-2;if(E0===1)u.children=o;else if(1<E0){k0=Array(E0);for(var G0=0;G0<E0;G0++)k0[G0]=arguments[G0+2];u.children=k0}u=f(_.type,v0,u,W0,_._debugStack,_._debugTask);for(v0=2;v0<arguments.length;v0++)p(arguments[v0]);return u},AU.createContext=function(_){return _={$$typeof:o0,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:c0,_context:_},_._currentRenderer=null,_._currentRenderer2=null,_},AU.createElement=function(_,L,o){for(var u=2;u<arguments.length;u++)p(arguments[u]);u={};var v0=null;if(L!=null)for(G0 in A2||!("__self"in L)||"key"in L||(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")),S(L)&&(K(L.key),v0=""+L.key),L)l5.call(L,G0)&&G0!=="key"&&G0!=="__self"&&G0!=="__source"&&(u[G0]=L[G0]);var W0=arguments.length-2;if(W0===1)u.children=o;else if(1<W0){for(var k0=Array(W0),E0=0;E0<W0;E0++)k0[E0]=arguments[E0+2];Object.freeze&&Object.freeze(k0),u.children=k0}if(_&&_.defaultProps)for(G0 in W0=_.defaultProps,W0)u[G0]===void 0&&(u[G0]=W0[G0]);v0&&D(u,typeof _==="function"?_.displayName||_.name||"Unknown":_);var G0=1e4>A0.recentlyCreatedOwnerStacks++;return f(_,v0,u,H(),G0?Error("react-stack-top-frame"):Lv,G0?Zw(O(_)):sa)},AU.createRef=function(){var _={current:null};return Object.seal(_),_},AU.forwardRef=function(_){_!=null&&_.$$typeof===b1?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 L={$$typeof:u0,render:_},o;return Object.defineProperty(L,"displayName",{enumerable:!1,configurable:!0,get:function(){return o},set:function(u){o=u,_.name||_.displayName||(Object.defineProperty(_,"name",{value:u}),_.displayName=u)}}),L},AU.isValidElement=r0,AU.lazy=function(_){_={_status:-1,_result:_};var L={$$typeof:pw,_payload:_,_init:rw},o={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=o,L._debugInfo=[{awaited:o}],L},AU.memo=function(_,L){_==null&&console.error("memo: The first argument must be a component. Instead received: %s",_===null?"null":typeof _),L={$$typeof:b1,type:_,compare:L===void 0?null:L};var o;return Object.defineProperty(L,"displayName",{enumerable:!1,configurable:!0,get:function(){return o},set:function(u){o=u,_.name||_.displayName||(Object.defineProperty(_,"name",{value:u}),_.displayName=u)}}),L},AU.startTransition=function(_){var L=A0.T,o={};o._updatedFibers=new Set,A0.T=o;try{var u=_(),v0=A0.S;v0!==null&&v0(o,u),typeof u==="object"&&u!==null&&typeof u.then==="function"&&(A0.asyncTransitions++,u.then(e0,e0),u.then(q,mg))}catch(W0){mg(W0)}finally{L===null&&o._updatedFibers&&(_=o._updatedFibers.size,o._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.")),L!==null&&o.types!==null&&(L.types!==null&&L.types!==o.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."),L.types=o.types),A0.T=L}},AU.unstable_useCacheRefresh=function(){return E().useCacheRefresh()},AU.use=function(_){return E().use(_)},AU.useActionState=function(_,L,o){return E().useActionState(_,L,o)},AU.useCallback=function(_,L){return E().useCallback(_,L)},AU.useContext=function(_){var L=E();return _.$$typeof===c0&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),L.useContext(_)},AU.useDebugValue=function(_,L){return E().useDebugValue(_,L)},AU.useDeferredValue=function(_,L){return E().useDeferredValue(_,L)},AU.useEffect=function(_,L){return _==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),E().useEffect(_,L)},AU.useEffectEvent=function(_){return E().useEffectEvent(_)},AU.useId=function(){return E().useId()},AU.useImperativeHandle=function(_,L,o){return E().useImperativeHandle(_,L,o)},AU.useInsertionEffect=function(_,L){return _==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),E().useInsertionEffect(_,L)},AU.useLayoutEffect=function(_,L){return _==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),E().useLayoutEffect(_,L)},AU.useMemo=function(_,L){return E().useMemo(_,L)},AU.useOptimistic=function(_,L){return E().useOptimistic(_,L)},AU.useReducer=function(_,L,o){return E().useReducer(_,L,o)},AU.useRef=function(_){return E().useRef(_)},AU.useState=function(_){return E().useState(_)},AU.useSyncExternalStore=function(_,L,o){return E().useSyncExternalStore(_,L,o)},AU.useTransition=function(){return E().useTransition()},AU.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var e_=Q5((MU)=>{var Fx=U0(Pw());(function(){function z(){}function Z(O){return""+O}function Y(O,H,N){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{Z(S);var D=!1}catch(I){D=!0}return D&&(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&&S[Symbol.toStringTag]||S.constructor.name||"Object"),Z(S)),{$$typeof:K,key:S==null?null:""+S,children:O,containerInfo:H,implementation:N}}function B(O,H){if(O==="font")return"";if(typeof H==="string")return H==="use-credentials"?H:""}function $(O){return O===null?"`null`":O===void 0?"`undefined`":O===""?"an empty string":'something with type "'+typeof O+'"'}function U(O){return O===null?"`null`":O===void 0?"`undefined`":O===""?"an empty string":typeof O==="string"?JSON.stringify(O):typeof O==="number"?"`"+O+"`":'something with type "'+typeof O+'"'}function q(){var O=R.H;return O===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.`),O}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Q={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},K=Symbol.for("react.portal"),R=Fx.__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"),MU.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Q,MU.createPortal=function(O,H){var N=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!H||H.nodeType!==1&&H.nodeType!==9&&H.nodeType!==11)throw Error("Target container is not a DOM element.");return Y(O,H,null,N)},MU.flushSync=function(O){var H=R.T,N=Q.p;try{if(R.T=null,Q.p=2,O)return O()}finally{R.T=H,Q.p=N,Q.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.")}},MU.preconnect=function(O,H){typeof O==="string"&&O?H!=null&&typeof H!=="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.",U(H)):H!=null&&typeof H.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.",$(H.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",$(O)),typeof O==="string"&&(H?(H=H.crossOrigin,H=typeof H==="string"?H==="use-credentials"?H:"":void 0):H=null,Q.d.C(O,H))},MU.prefetchDNS=function(O){if(typeof O!=="string"||!O)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",$(O));else if(1<arguments.length){var H=arguments[1];typeof H==="object"&&H.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`.",U(H)):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`.",U(H))}typeof O==="string"&&Q.d.D(O)},MU.preinit=function(O,H){if(typeof O==="string"&&O?H==null||typeof H!=="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.",U(H)):H.as!=="style"&&H.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".',U(H.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",$(O)),typeof O==="string"&&H&&typeof H.as==="string"){var N=H.as,S=B(N,H.crossOrigin),D=typeof H.integrity==="string"?H.integrity:void 0,I=typeof H.fetchPriority==="string"?H.fetchPriority:void 0;N==="style"?Q.d.S(O,typeof H.precedence==="string"?H.precedence:void 0,{crossOrigin:S,integrity:D,fetchPriority:I}):N==="script"&&Q.d.X(O,{crossOrigin:S,integrity:D,fetchPriority:I,nonce:typeof H.nonce==="string"?H.nonce:void 0})}},MU.preinitModule=function(O,H){var N="";if(typeof O==="string"&&O||(N+=" The `href` argument encountered was "+$(O)+"."),H!==void 0&&typeof H!=="object"?N+=" The `options` argument encountered was "+$(H)+".":H&&("as"in H)&&H.as!=="script"&&(N+=" The `as` option encountered was "+U(H.as)+"."),N)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",N);else switch(N=H&&typeof H.as==="string"?H.as:"script",N){case"script":break;default:N=U(N),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)',N,O)}if(typeof O==="string")if(typeof H==="object"&&H!==null){if(H.as==null||H.as==="script")N=B(H.as,H.crossOrigin),Q.d.M(O,{crossOrigin:N,integrity:typeof H.integrity==="string"?H.integrity:void 0,nonce:typeof H.nonce==="string"?H.nonce:void 0})}else H==null&&Q.d.M(O)},MU.preload=function(O,H){var N="";if(typeof O==="string"&&O||(N+=" The `href` argument encountered was "+$(O)+"."),H==null||typeof H!=="object"?N+=" The `options` argument encountered was "+$(H)+".":typeof H.as==="string"&&H.as||(N+=" The `as` option encountered was "+$(H.as)+"."),N&&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',N),typeof O==="string"&&typeof H==="object"&&H!==null&&typeof H.as==="string"){N=H.as;var S=B(N,H.crossOrigin);Q.d.L(O,N,{crossOrigin:S,integrity:typeof H.integrity==="string"?H.integrity:void 0,nonce:typeof H.nonce==="string"?H.nonce:void 0,type:typeof H.type==="string"?H.type:void 0,fetchPriority:typeof H.fetchPriority==="string"?H.fetchPriority:void 0,referrerPolicy:typeof H.referrerPolicy==="string"?H.referrerPolicy:void 0,imageSrcSet:typeof H.imageSrcSet==="string"?H.imageSrcSet:void 0,imageSizes:typeof H.imageSizes==="string"?H.imageSizes:void 0,media:typeof H.media==="string"?H.media:void 0})}},MU.preloadModule=function(O,H){var N="";typeof O==="string"&&O||(N+=" The `href` argument encountered was "+$(O)+"."),H!==void 0&&typeof H!=="object"?N+=" The `options` argument encountered was "+$(H)+".":H&&("as"in H)&&typeof H.as!=="string"&&(N+=" The `as` option encountered was "+$(H.as)+"."),N&&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',N),typeof O==="string"&&(H?(N=B(H.as,H.crossOrigin),Q.d.m(O,{as:typeof H.as==="string"&&H.as!=="script"?H.as:void 0,crossOrigin:N,integrity:typeof H.integrity==="string"?H.integrity:void 0})):Q.d.m(O))},MU.requestFormReset=function(O){Q.d.r(O)},MU.unstable_batchedUpdates=function(O,H){return O(H)},MU.useFormState=function(O,H,N){return q().useFormState(O,H,N)},MU.useFormStatus=function(){return q().useHostTransitionStatus()},MU.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var mx=Q5((Vk,wY)=>{var OU=U0(e_());wY.exports=OU});var gY=Q5((LU)=>{var j0=U0(s_()),Lb=U0(Pw()),Tx=U0(mx());(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 d=g[v],r=ow(w)?w.slice():m0({},w);return r[d]=Z(w[d],g,v+1,b),r}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 B(w,g,v,0)}}function B(w,g,v,b){var d=g[b],r=ow(w)?w.slice():m0({},w);return b+1===g.length?(r[v[b]]=r[d],ow(r)?r.splice(d,1):delete r[d]):r[d]=B(w[d],g,v,b+1),r}function $(w,g,v){var b=g[v],d=ow(w)?w.slice():m0({},w);if(v+1===g.length)return ow(d)?d.splice(b,1):delete d[b],d;return d[b]=$(w[b],g,v+1),d}function U(){return!1}function q(){return null}function Q(){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 K(){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 R(){}function O(){}function H(w){var g=[];return w.forEach(function(v){g.push(v)}),g.sort().join(", ")}function N(w,g,v,b){return new r$(w,g,v,b)}function S(w,g){w.context===gv&&(s3(w.current,2,g,w,null,null),c5())}function D(w,g){if(v2!==null){var v=g.staleFamilies;g=g.updatedFamilies,xd(),b9(w.current,g,v),c5()}}function I(w){v2=w}function f(w){return!(!w||w.nodeType!==1&&w.nodeType!==9&&w.nodeType!==11)}function g0(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 p(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 r0(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 D0(w){if(g0(w)!==w)throw Error("Unable to find node on an unmounted component.")}function S0(w){var g=w.alternate;if(!g){if(g=g0(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 d=v.return;if(d===null)break;var r=d.alternate;if(r===null){if(b=d.return,b!==null){v=b;continue}break}if(d.child===r.child){for(r=d.child;r;){if(r===v)return D0(d),w;if(r===b)return D0(d),g;r=r.sibling}throw Error("Unable to find node on an unmounted component.")}if(v.return!==b.return)v=d,b=r;else{for(var a=!1,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){for(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)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 s0(w){var g=w.tag;if(g===5||g===26||g===27||g===6)return w;for(w=w.child;w!==null;){if(g=s0(w),g!==null)return g;w=w.sibling}return null}function h0(w){if(w===null||typeof w!=="object")return null;return w=ZZ&&w[ZZ]||w["@@iterator"],typeof w==="function"?w:null}function B0(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===OQ?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case E5:return"Fragment";case d8:return"Profiler";case A4:return"StrictMode";case a8:return"Suspense";case x8:return"SuspenseList";case z8: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 V5:return"Portal";case y2:return w.displayName||"Context";case r8:return(w._context.displayName||"Context")+".Consumer";case Hd:var g=w.render;return w=w.displayName,w||(w=g.displayName||g.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case M4:return g=w.displayName||null,g!==null?g:B0(w.type)||"Memo";case I1:g=w._payload,w=w._init;try{return B0(w(g))}catch(v){}}return null}function rw(w){return typeof w.tag==="number"?E(w):typeof w.name==="string"?w.name:null}function E(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 B0(g);case 8:return g===A4?"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 E(w.return)}return null}function e0(w){return{current:w}}function N0(w,g){0>Xg?console.error("Unexpected pop."):(g!==Z8[Xg]&&console.error("Unexpected Fiber popped."),w.current=G8[Xg],G8[Xg]=null,Z8[Xg]=null,Xg--)}function J0(w,g,v){Xg++,G8[Xg]=w.current,Z8[Xg]=v,w.current=g}function bw(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 y(w,g){J0(ng,g,w),J0(Ud,w,w),J0(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)?TG(g):Mg:Mg;break;default:if(v=g.tagName,g=g.namespaceURI)g=TG(g),g=CG(g,v);else switch(v){case"svg":g=Mb;break;case"math":g=la;break;default:g=Mg}}v=v.toLowerCase(),v=K7(null,v),v={context:g,ancestorInfo:v},N0(ug,w),J0(ug,v,w)}function e(w){N0(ug,w),N0(Ud,w),N0(ng,w)}function a0(){return bw(ug.current)}function K0(w){w.memoizedState!==null&&J0(O4,w,w);var g=bw(ug.current),v=w.type,b=CG(g.context,v);v=K7(g.ancestorInfo,v),b={context:b,ancestorInfo:v},g!==b&&(J0(Ud,w,w),J0(ug,b,w))}function f0(w){Ud.current===w&&(N0(ug,w),N0(Ud,w)),O4.current===w&&(N0(O4,w),Gr._currentValue=$5)}function C(){}function _0(){if(Jd===0){XZ=console.log,_Z=console.info,YZ=console.warn,BZ=console.error,$Z=console.group,QZ=console.groupCollapsed,HZ=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})}Jd++}function c0(){if(Jd--,Jd===0){var w={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:m0({},w,{value:XZ}),info:m0({},w,{value:_Z}),warn:m0({},w,{value:YZ}),error:m0({},w,{value:BZ}),group:m0({},w,{value:$Z}),groupCollapsed:m0({},w,{value:QZ}),groupEnd:m0({},w,{value:HZ})})}0>Jd&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function o0(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 u0(w){if(X8===void 0)try{throw Error()}catch(v){var g=v.stack.trim().match(/\n( *(at )?)/);X8=g&&g[1]||"",UZ=-1<v.stack.indexOf(`
21
- at`)?" (<anonymous>)":-1<v.stack.indexOf("@")?"@unknown:0:0":""}return`
22
- `+X8+w+UZ}function n0(w,g){if(!w||_8)return"";var v=Y8.get(w);if(v!==void 0)return v;_8=!0,v=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var b=null;b=m.H,m.H=null,_0();try{var d={DetermineComponentFrameRoot:function(){try{if(g){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(j){var h=j}Reflect.construct(w,[],W)}else{try{W.call()}catch(j){h=j}w.call(W.prototype)}}else{try{throw Error()}catch(j){h=j}(W=w())&&typeof W.catch==="function"&&W.catch(function(){})}}catch(j){if(j&&h&&typeof j.stack==="string")return[j.stack,h.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=d.DetermineComponentFrameRoot(),x=a[0],G=a[1];if(x&&G){var X=x.split(`
23
- `),A=G.split(`
24
- `);for(a=r=0;r<X.length&&!X[r].includes("DetermineComponentFrameRoot");)r++;for(;a<A.length&&!A[a].includes("DetermineComponentFrameRoot");)a++;if(r===X.length||a===A.length)for(r=X.length-1,a=A.length-1;1<=r&&0<=a&&X[r]!==A[a];)a--;for(;1<=r&&0<=a;r--,a--)if(X[r]!==A[a]){if(r!==1||a!==1)do if(r--,a--,0>a||X[r]!==A[a]){var M=`
25
- `+X[r].replace(" at new "," at ");return w.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",w.displayName)),typeof w==="function"&&Y8.set(w,M),M}while(1<=r&&0<=a);break}}}finally{_8=!1,m.H=b,c0(),Error.prepareStackTrace=v}return X=(X=w?w.displayName||w.name:"")?u0(X):"",typeof w==="function"&&Y8.set(w,X),X}function l0(w,g){switch(w.tag){case 26:case 27:case 5:return u0(w.type);case 16:return u0("Lazy");case 13:return w.child!==g&&g!==null?u0("Suspense Fallback"):u0("Suspense");case 19:return u0("SuspenseList");case 0:case 15:return n0(w.type,!1);case 11:return n0(w.type.render,!1);case 1:return n0(w.type,!0);case 31:return u0("Activity");default:return""}}function b1(w){try{var g="",v=null;do{g+=l0(w,v);var b=w._debugInfo;if(b)for(var d=b.length-1;0<=d;d--){var r=b[d];if(typeof r.name==="string"){var a=g;w:{var{name:x,env:G,debugLocation:X}=r;if(X!=null){var A=o0(X),M=A.lastIndexOf(`
26
- `),W=M===-1?A:A.slice(M+1);if(W.indexOf(x)!==-1){var h=`
27
- `+W;break w}}h=u0(x+(G?" ["+G+"]":""))}g=a+h}}v=w,w=w.return}while(w);return g}catch(j){return`
28
- Error generating stack: `+j.message+`
29
- `+j.stack}}function pw(w){return(w=w?w.displayName||w.name:"")?u0(w):""}function Z1(){if(c1===null)return null;var w=c1._debugOwner;return w!=null?rw(w):null}function q5(){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+=u0(w.type);break;case 13:g+=u0("Suspense");break;case 19:g+=u0("SuspenseList");break;case 31:g+=u0("Activity");break;case 30:case 0:case 15:case 1:w._debugOwner||g!==""||(g+=pw(w.type));break;case 11:w._debugOwner||g!==""||(g+=pw(w.type.render))}for(;w;)if(typeof w.tag==="number"){var v=w;w=v._debugOwner;var b=v._debugStack;if(w&&b){var d=o0(b);d!==""&&(g+=`
30
- `+d)}}else if(w.debugStack!=null){var r=w.debugStack;(w=w.owner)&&r&&(g+=`
31
- `+o0(r))}else break;var a=g}catch(x){a=`
32
- Error generating stack: `+x.message+`
33
- `+x.stack}return a}function s(w,g,v,b,d,r,a){var x=c1;P(w);try{return w!==null&&w._debugTask?w._debugTask.run(g.bind(null,v,b,d,r,a)):g(v,b,d,r,a)}finally{P(x)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function P(w){m.getCurrentStack=w===null?null:q5,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 Lw(w),!1}catch(g){return!0}}function Lw(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)),Lw(w)}function mb(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)),Lw(w)}function A0(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)),Lw(w)}function l5(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{D5=g.inject(w),a1=g}catch(v){console.error("React instrumentation encountered an error: %o.",v)}return g.checkDCE?!0:!1}function Zw(w){if(typeof mQ==="function"&&TQ(w),a1&&typeof a1.setStrictMode==="function")try{a1.setStrictMode(D5,w)}catch(g){V2||(V2=!0,console.error("React instrumentation encountered an error: %o",g))}}function Br(w){return w>>>=0,w===0?32:31-(CQ(w)/fQ|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 Ov(w,g,v){var b=w.pendingLanes;if(b===0)return 0;var d=0,r=w.suspendedLanes,a=w.pingedLanes;w=w.warmLanes;var x=b&134217727;return x!==0?(b=x&~r,b!==0?d=A2(b):(a&=x,a!==0?d=A2(a):v||(v=x&~w,v!==0&&(d=A2(v))))):(x=b&~r,x!==0?d=A2(x):a!==0?d=A2(a):v||(v=b&~w,v!==0&&(d=A2(v)))),d===0?0:g!==0&&g!==d&&(g&r)===0&&(r=d&-d,v=g&-g,r>=v||r===32&&(v&4194048)!==0)?g:d}function Lv(w,g){return(w.pendingLanes&~(w.suspendedLanes&~w.pingedLanes)&g)===0}function sa(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 A5(){var w=R4;return R4<<=1,(R4&62914560)===0&&(R4=4194304),w}function M5(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 $r(w,g,v,b,d,r){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 A=31-_1(v),M=1<<A;x[A]=0,G[A]=-1;var W=X[A];if(W!==null)for(X[A]=null,A=0;A<W.length;A++){var h=W[A];h!==null&&(h.lane&=-536870913)}v&=~M}b!==0&&Kv(w,b,0),r!==0&&d===0&&w.tag!==0&&(w.suspendedLanes|=r&~(a&~g))}function Kv(w,g,v){w.pendingLanes|=g,w.suspendedLanes&=~g;var b=31-_1(g);w.entangledLanes|=g,w.entanglements[b]=w.entanglements[b]|1073741824|v&261930}function Rv(w,g){var v=w.entangledLanes|=g;for(w=w.entanglements;v;){var b=31-_1(v),d=1<<b;d&g|w[b]&g&&(w[b]|=g),v&=~d}}function hv(w,g){var v=g&-g;return v=(v&42)!==0?1:Nv(v),(v&(w.suspendedLanes|g))!==0?0:v}function Nv(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 Tb(w,g,v){if(E2)for(w=w.pendingUpdatersLaneMap;0<v;){var b=31-_1(v),d=1<<b;w[b].add(g),v&=~d}}function Tg(w,g){if(E2)for(var{pendingUpdatersLaneMap:v,memoizedUpdaters:b}=w;0<g;){var d=31-_1(g);w=1<<d,d=v[d],0<d.size&&(d.forEach(function(r){var a=r.alternate;a!==null&&b.has(a)||b.add(r)}),d.clear()),g&=~w}}function _(w){return w&=-w,i1!==0&&i1<w?Q2!==0&&Q2<w?(w&134217727)!==0?j2:h4:Q2:i1}function L(){var w=t0.p;if(w!==0)return w;return w=window.event,w===void 0?j2:bZ(w.type)}function o(w,g){var v=t0.p;try{return t0.p=w,g()}finally{t0.p=v}}function u(w){delete w[w1],delete w[Y1],delete w[U8],delete w[IQ],delete w[cQ]}function v0(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=SG(w);w!==null;){if(v=w[w1])return v;w=SG(w)}return g}w=v,v=w.parentNode}return null}function W0(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 k0(w){var g=w.tag;if(g===5||g===26||g===27||g===6)return w.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function E0(w){var g=w[JZ];return g||(g=w[JZ]={hoistableStyles:new Map,hoistableScripts:new Map}),g}function G0(w){w[Wd]=!0}function d1(w,g){K1(w,g),K1(w+"Capture",g)}function K1(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();J8[v]=w,w==="onDoubleClick"&&(J8.ondblclick=w);for(w=0;w<g.length;w++)WZ.add(g[w])}function Cg(w,g){iQ[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 Cb(w){if($2.call(qZ,w))return!0;if($2.call(kZ,w))return!1;if(PQ.test(w))return qZ[w]=!0;return kZ[w]=!0,console.error("Invalid attribute name: `%s`",w),!1}function Y7(w,g,v){if(Cb(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 Qr(w,g,v){if(Cb(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 Hr(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 A0(w),w;default:return""}}function B7(w){var g=w.type;return(w=w.nodeName)&&w.toLowerCase()==="input"&&(g==="checkbox"||g==="radio")}function fB(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:d,set:r}=b;return Object.defineProperty(w,g,{configurable:!0,get:function(){return d.call(this)},set:function(a){A0(a),v=""+a,r.call(this,a)}}),Object.defineProperty(w,g,{enumerable:b.enumerable}),{getValue:function(){return v},setValue:function(a){A0(a),v=""+a},stopTracking:function(){w._valueTracker=null,delete w[g]}}}}function ea(w){if(!w._valueTracker){var g=B7(w)?"checked":"value";w._valueTracker=fB(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=B7(w)?w.checked?"true":"false":w.value),w=b,w!==v?(g.setValue(w),!0):!1}function Ur(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(oQ,function(g){return"\\"+g.charCodeAt(0).toString(16)+" "})}function Q7(w,g){g.checked===void 0||g.defaultChecked===void 0||AZ||(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",Z1()||"A component",g.type),AZ=!0),g.value===void 0||g.defaultValue===void 0||lZ||(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",Z1()||"A component",g.type),lZ=!0)}function w6(w,g,v,b,d,r,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?g6(w,a,t1(g)):v!=null?g6(w,a,t1(v)):b!=null&&w.removeAttribute("value"),d==null&&r!=null&&(w.defaultChecked=!!r),d!=null&&(w.checked=d&&typeof d!=="function"&&typeof d!=="symbol"),x!=null&&typeof x!=="function"&&typeof x!=="symbol"&&typeof x!=="boolean"?(dw(x,"name"),w.name=""+t1(x)):w.removeAttribute("name")}function H7(w,g,v,b,d,r,a,x){if(r!=null&&typeof r!=="function"&&typeof r!=="symbol"&&typeof r!=="boolean"&&(dw(r,"type"),w.type=r),g!=null||v!=null){if(!(r!=="submit"&&r!=="reset"||g!==void 0&&g!==null)){ea(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:d,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),ea(w)}function g6(w,g,v){g==="number"&&Ur(w.ownerDocument)===w||w.defaultValue===""+v||(w.defaultValue=""+v)}function U7(w,g){g.value==null&&(typeof g.children==="object"&&g.children!==null?Lb.Children.forEach(g.children,function(v){v==null||typeof v==="string"||typeof v==="number"||typeof v==="bigint"||OZ||(OZ=!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||MZ||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),MZ=!0)}function J7(){var w=Z1();return w?`
34
-
35
- Check the render method of \``+w+"`.":""}function O5(w,g,v,b){if(w=w.options,g){g={};for(var d=0;d<v.length;d++)g["$"+v[d]]=!0;for(v=0;v<w.length;v++)d=g.hasOwnProperty("$"+w[v].value),w[v].selected!==d&&(w[v].selected=d),d&&b&&(w[v].defaultSelected=!0)}else{v=""+t1(v),g=null;for(d=0;d<w.length;d++){if(w[d].value===v){w[d].selected=!0,b&&(w[d].defaultSelected=!0);return}g!==null||w[d].disabled||(g=w[d])}g!==null&&(g.selected=!0)}}function W7(w,g){for(w=0;w<RZ.length;w++){var v=RZ[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,J7()):!g.multiple&&b&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",v,J7())}}g.value===void 0||g.defaultValue===void 0||KZ||(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"),KZ=!0)}function k7(w,g){g.value===void 0||g.defaultValue===void 0||hZ||(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",Z1()||"A component"),hZ=!0),g.children!=null&&g.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function q7(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 l7(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),ea(w)}function A7(w,g){return w.serverProps===void 0&&w.serverTail.length===0&&w.children.length===1&&3<w.distanceFromLeaf&&w.distanceFromLeaf>15-g?A7(w.children[0],g):w}function R1(w){return" "+" ".repeat(w)}function L5(w){return"+ "+" ".repeat(w)}function Fv(w){return"- "+" ".repeat(w)}function M7(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 fb(w,g){return NZ.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 Jr(w,g,v){var b=120-2*v;if(g===null)return L5(v)+fb(w,b)+`
36
- `;if(typeof g==="string"){for(var d=0;d<g.length&&d<w.length&&g.charCodeAt(d)===w.charCodeAt(d);d++);return d>b-8&&10<d&&(w="..."+w.slice(d-8),g="..."+g.slice(d-8)),L5(v)+fb(w,b)+`
37
- `+Fv(v)+fb(g,b)+`
38
- `}return R1(v)+fb(w,b)+`
39
- `}function v6(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===o2)return(g=B0(w.type))?"<"+g+">":"<...>";var v=v6(w);if(v==="Object"){v="",g-=2;for(var b in w)if(w.hasOwnProperty(b)){var d=JSON.stringify(b);if(d!=='"'+b+'"'&&(b=d),g-=b.length-2,d=Ib(w[b],15>g?g:15),g-=d.length,0>g){v+=v===""?"...":", ...";break}v+=(v===""?"":",")+b+":"+d}return"{"+v+"}"}return v;case"function":return(g=w.displayName||w.name)?"function "+g:"function";default:return String(w)}}function K5(w,g){return typeof w!=="string"||NZ.test(w)?"{"+Ib(w,g-2)+"}":w.length>g-2?5>g?'"..."':'"'+w.slice(0,g-5)+'..."':'"'+w+'"'}function b6(w,g,v){var b=120-v.length-w.length,d=[],r;for(r in g)if(g.hasOwnProperty(r)&&r!=="children"){var a=K5(g[r],120-v.length-r.length-1);b-=r.length+a.length+2,d.push(r+"="+a)}return d.length===0?v+"<"+w+`>
40
- `:0<b?v+"<"+w+" "+d.join(" ")+`>
41
- `:v+"<"+w+`
42
- `+v+" "+d.join(`
43
- `+v+" ")+`
44
- `+v+`>
45
- `}function IB(w,g,v){var b="",d=m0({},g),r;for(r in w)if(w.hasOwnProperty(r)){delete d[r];var a=120-2*v-r.length-2,x=Ib(w[r],a);g.hasOwnProperty(r)?(a=Ib(g[r],a),b+=L5(v)+r+": "+x+`
46
- `,b+=Fv(v)+r+": "+a+`
47
- `):b+=L5(v)+r+": "+x+`
48
- `}for(var G in d)d.hasOwnProperty(G)&&(w=Ib(d[G],120-2*v-G.length-2),b+=Fv(v)+G+": "+w+`
49
- `);return b}function cB(w,g,v,b){var d="",r=new Map;for(X in v)v.hasOwnProperty(X)&&r.set(X.toLowerCase(),X);if(r.size===1&&r.has("children"))d+=b6(w,g,R1(b));else{for(var a in g)if(g.hasOwnProperty(a)&&a!=="children"){var x=120-2*(b+1)-a.length-1,G=r.get(a.toLowerCase());if(G!==void 0){r.delete(a.toLowerCase());var X=g[a];G=v[G];var A=K5(X,x);x=K5(G,x),typeof X==="object"&&X!==null&&typeof G==="object"&&G!==null&&v6(X)==="Object"&&v6(G)==="Object"&&(2<Object.keys(X).length||2<Object.keys(G).length||-1<A.indexOf("...")||-1<x.indexOf("..."))?d+=R1(b+1)+a+`={{
50
- `+IB(X,G,b+2)+R1(b+1)+`}}
51
- `:(d+=L5(b+1)+a+"="+A+`
52
- `,d+=Fv(b+1)+a+"="+x+`
53
- `)}else d+=R1(b+1)+a+"="+K5(g[a],x)+`
54
- `}r.forEach(function(M){if(M!=="children"){var W=120-2*(b+1)-M.length-1;d+=Fv(b+1)+M+"="+K5(v[M],W)+`
55
- `}}),d=d===""?R1(b)+"<"+w+`>
56
- `:R1(b)+"<"+w+`
57
- `+d+R1(b)+`>
58
- `}if(w=v.children,g=g.children,typeof w==="string"||typeof w==="number"||typeof w==="bigint"){if(r="",typeof g==="string"||typeof g==="number"||typeof g==="bigint")r=""+g;d+=Jr(r,""+w,b+1)}else if(typeof g==="string"||typeof g==="number"||typeof g==="bigint")d=w==null?d+Jr(""+g,null,b+1):d+Jr(""+g,void 0,b+1);return d}function O7(w,g){var v=M7(w);if(v===null){v="";for(w=w.child;w;)v+=O7(w,g),w=w.sibling;return v}return R1(g)+"<"+v+`>
59
- `}function d6(w,g){var v=A7(w,g);if(v!==w&&(w.children.length!==1||w.children[0]!==v))return R1(g)+`...
60
- `+d6(v,g+1);v="";var b=w.fiber._debugInfo;if(b)for(var d=0;d<b.length;d++){var r=b[d].name;typeof r==="string"&&(v+=R1(g)+"<"+r+`>
61
- `,g++)}if(b="",d=w.fiber.pendingProps,w.fiber.tag===6)b=Jr(d,w.serverProps,g),g++;else if(r=M7(w.fiber),r!==null)if(w.serverProps===void 0){b=g;var a=120-2*b-r.length-2,x="";for(X in d)if(d.hasOwnProperty(X)&&X!=="children"){var G=K5(d[X],15);if(a-=X.length+G.length+2,0>a){x+=" ...";break}x+=" "+X+"="+G}b=R1(b)+"<"+r+x+`>
62
- `,g++}else w.serverProps===null?(b=b6(r,d,L5(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=cB(r,d,w.serverProps,g),g++);var X="";d=w.fiber.child;for(r=0;d&&r<w.children.length;)a=w.children[r],a.fiber===d?(X+=d6(a,g),r++):X+=O7(d,g),d=d.sibling;d&&0<w.children.length&&(X+=R1(g)+`...
63
- `),d=w.serverTail,w.serverProps===null&&g--;for(w=0;w<d.length;w++)r=d[w],X=typeof r==="string"?X+(Fv(g)+fb(r,120-2*g)+`
64
- `):X+b6(r.type,r.props,Fv(g));return v+b+X}function r6(w){try{return`
65
-
66
- `+d6(w,0)}catch(g){return""}}function L7(w,g,v){for(var b=g,d=null,r=0;b;)b===w&&(r=0),d={fiber:b,children:d!==null?[d]:[],serverProps:b===g?v:b===w?null:void 0,serverTail:[],distanceFromLeaf:r},r++,b=b.return;return d!==null?r6(d).replaceAll(/^[+-]/gm,">"):""}function K7(w,g){var v=m0({},w||mZ),b={tag:g};if(FZ.indexOf(g)!==-1&&(v.aTagInScope=null,v.buttonTagInScope=null,v.nobrTagInScope=null),SQ.indexOf(g)!==-1&&(v.pTagInButtonScope=null),yQ.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 R7(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 VQ.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 iB(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 h7(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 a6(w,g){g=g||mZ;var v=g.current;if(g=(v=R7(w,v&&v.tag,g.implicitRootScope)?null:v)?null:iB(w,g),g=v||g,!g)return!0;var b=g.tag;if(g=String(!!v)+"|"+w+"|"+b,N4[g])return!1;N4[g]=!0;var d=(g=c1)?h7(g.return,b):null,r=g!==null&&d!==null?L7(d,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,r)):console.error(`In HTML, %s cannot be a descendant of <%s>.
68
- This will cause a hydration error.%s`,a,b,r),g&&(w=g.return,d===null||w===null||d===w&&w._debugOwner===g._debugOwner||s(d,function(){console.error(`<%s> cannot contain a nested %s.
69
- See this log for the ancestor stack trace.`,b,a)})),!1}function Wr(w,g,v){if(v||R7("#text",g,!1))return!0;if(v="#text|"+g,N4[v])return!1;N4[v]=!0;var b=(v=c1)?h7(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 cb(w,g){if(g){var v=w.firstChild;if(v&&v===w.lastChild&&v.nodeType===3){v.nodeValue=g;return}}w.textContent=g}function PB(w){return w.replace(DQ,function(g,v){return v.toUpperCase()})}function N7(w,g,v){var b=g.indexOf("--")===0;b||(-1<g.indexOf("-")?u5.hasOwnProperty(g)&&u5[g]||(u5[g]=!0,console.error("Unsupported style property %s. Did you mean %s?",g,PB(g.replace(jQ,"ms-")))):EQ.test(g)?u5.hasOwnProperty(g)&&u5[g]||(u5[g]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",g,g.charAt(0).toUpperCase()+g.slice(1))):!fZ.test(v)||k8.hasOwnProperty(v)&&k8[v]||(k8[v]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,g,v.replace(fZ,""))),typeof v==="number"&&(isNaN(v)?IZ||(IZ=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",g)):isFinite(v)||cZ||(cZ=!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||iZ.has(g)?g==="float"?w.cssFloat=v:(mb(v,g),w[g]=(""+v).trim()):w[g]=v+"px"}function F7(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 d in v)if(v.hasOwnProperty(d)&&!g.hasOwnProperty(d))for(var r=W8[d]||[d],a=0;a<r.length;a++)b[r[a]]=d}for(var x in g)if(g.hasOwnProperty(x)&&(!v||v[x]!==g[x]))for(d=W8[x]||[x],r=0;r<d.length;r++)b[d[r]]=x;x={};for(var G in g)for(d=W8[G]||[G],r=0;r<d.length;r++)x[d[r]]=G;G={};for(var X in b)if(d=b[X],(r=x[X])&&d!==r&&(a=d+","+r,!G[a])){G[a]=!0,a=console;var A=g[d];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.",A==null||typeof A==="boolean"||A===""?"Removing":"Updating",d,r)}}for(var M in v)!v.hasOwnProperty(M)||g!=null&&g.hasOwnProperty(M)||(M.indexOf("--")===0?w.setProperty(M,""):M==="float"?w.cssFloat="":w[M]="");for(var W in g)X=g[W],g.hasOwnProperty(W)&&v[W]!==X&&N7(w,W,X)}else for(b in g)g.hasOwnProperty(b)&&N7(w,b,g[b])}function ib(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 m7(w){return uQ.get(w)||w}function oB(w,g){if($2.call(p5,g)&&p5[g])return!0;if(pQ.test(g)){if(w="aria-"+g.slice(4).toLowerCase(),w=PZ.hasOwnProperty(w)?w:null,w==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",g),p5[g]=!0;if(g!==w)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",g,w),p5[g]=!0}if(nQ.test(g)){if(w=g.toLowerCase(),w=PZ.hasOwnProperty(w)?w:null,w==null)return p5[g]=!0,!1;g!==w&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",g,w),p5[g]=!0)}return!0}function yB(w,g){var v=[],b;for(b in g)oB(w,b)||v.push(b);g=v.map(function(d){return"`"+d+"`"}).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 SB(w,g,v,b){if($2.call(B1,g)&&B1[g])return!0;var d=g.toLowerCase();if(d==="onfocusin"||d==="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."),B1[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(d)?w[d]:null,b!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",g,b),B1[g]=!0;if(yZ.test(g))return console.error("Unknown event handler property `%s`. It will be ignored.",g),B1[g]=!0}else if(yZ.test(g))return tQ.test(g)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",g),B1[g]=!0;if(sQ.test(g)||eQ.test(g))return!0;if(d==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),B1[g]=!0;if(d==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),B1[g]=!0;if(d==="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),B1[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),B1[g]=!0;if(m4.hasOwnProperty(d)){if(d=m4[d],d!==g)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",g,d),B1[g]=!0}else if(g!==d)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,d),B1[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(d=g.toLowerCase().slice(0,5),d==="data-"||d==="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),B1[g]=!0}case"function":case"symbol":return B1[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),B1[g]=!0}}return!0}function VB(w,g,v){var b=[],d;for(d in g)SB(w,d,g[d],v)||b.push(d);g=b.map(function(r){return"`"+r+"`"}).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 Pb(w){return wH.test(""+w)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":w}function bg(){}function x6(w){return w=w.target||w.srcElement||window,w.correspondingUseElement&&(w=w.correspondingUseElement),w.nodeType===3?w.parentNode:w}function T7(w){var g=W0(w);if(g&&(w=g.stateNode)){var v=w[Y1]||null;w:switch(w=g.stateNode,g.type){case"input":if(w6(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 d=b[Y1]||null;if(!d)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");w6(b,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(g=0;g<v.length;g++)b=v[g],b.form===w.form&&$7(b)}break w;case"textarea":q7(w,v.value,v.defaultValue);break w;case"select":g=v.value,g!=null&&O5(w,!!v.multiple,g,!1)}}}function C7(w,g,v){if(q8)return w(g,v);q8=!0;try{var b=w(g);return b}finally{if(q8=!1,t5!==null||s5!==null){if(c5(),t5&&(g=t5,w=s5,s5=t5=null,T7(g),w))for(g=0;g<w.length;g++)T7(w[g])}}}function ob(w,g){var v=w.stateNode;if(v===null)return null;var b=v[Y1]||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 f7(){if(T4)return T4;var w,g=A8,v=g.length,b,d="value"in sg?sg.value:sg.textContent,r=d.length;for(w=0;w<v&&g[w]===d[w];w++);var a=v-w;for(b=1;b<=a&&g[v-b]===d[r-b];b++);return T4=d.slice(w,1<b?1-b:void 0)}function kr(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 qr(){return!0}function I7(){return!1}function W1(w){function g(v,b,d,r,a){this._reactName=v,this._targetInst=d,this.type=b,this.nativeEvent=r,this.target=a,this.currentTarget=null;for(var x in w)w.hasOwnProperty(x)&&(v=w[x],this[x]=v?v(r):r[x]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?qr:I7,this.isPropagationStopped=I7,this}return m0(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=qr)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!=="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=qr)},persist:function(){},isPersistent:qr}),g}function EB(w){var g=this.nativeEvent;return g.getModifierState?g.getModifierState(w):(w=YH[w])?!!g[w]:!1}function z6(){return EB}function c7(w,g){switch(w){case"keyup":return MH.indexOf(g.keyCode)!==-1;case"keydown":return g.keyCode!==jZ;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function i7(w){return w=w.detail,typeof w==="object"&&"data"in w?w.data:null}function jB(w,g){switch(w){case"compositionend":return i7(g);case"keypress":if(g.which!==uZ)return null;return pZ=!0,nZ;case"textInput":return w=g.data,w===nZ&&pZ?null:w;default:return null}}function DB(w,g){if(e5)return w==="compositionend"||!K8&&c7(w,g)?(w=f7(),T4=A8=sg=null,e5=!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 DZ&&g.locale!=="ko"?null:g.data;default:return null}}function P7(w){var g=w&&w.nodeName&&w.nodeName.toLowerCase();return g==="input"?!!LH[w.type]:g==="textarea"?!0:!1}function uB(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){t5?s5?s5.push(b):s5=[b]:t5=b,g=B4(g,"onChange"),0<g.length&&(v=new C4("onChange","change",null,v,b),w.push({event:v,listeners:g}))}function nB(w){lG(w,0)}function lr(w){var g=k0(w);if($7(g))return w}function y7(w,g){if(w==="change")return g}function S7(){Od&&(Od.detachEvent("onpropertychange",V7),Ld=Od=null)}function V7(w){if(w.propertyName==="value"&&lr(Ld)){var g=[];o7(g,Ld,w,x6(w)),C7(nB,g)}}function pB(w,g,v){w==="focusin"?(S7(),Od=g,Ld=v,Od.attachEvent("onpropertychange",V7)):w==="focusout"&&S7()}function tB(w){if(w==="selectionchange"||w==="keyup"||w==="keydown")return lr(Ld)}function sB(w,g){if(w==="click")return lr(g)}function eB(w,g){if(w==="input"||w==="change")return lr(g)}function w$(w,g){return w===g&&(w!==0||1/w===1/g)||w!==w&&g!==g}function yb(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 d=v[b];if(!$2.call(g,d)||!$1(w[d],g[d]))return!1}return!0}function E7(w){for(;w&&w.firstChild;)w=w.firstChild;return w}function j7(w,g){var v=E7(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=E7(v)}}function D7(w,g){return w&&g?w===g?!0:w&&w.nodeType===3?!1:g&&g.nodeType===3?D7(w,g.parentNode):("contains"in w)?w.contains(g):w.compareDocumentPosition?!!(w.compareDocumentPosition(g)&16):!1:!1}function u7(w){w=w!=null&&w.ownerDocument!=null&&w.ownerDocument.defaultView!=null?w.ownerDocument.defaultView:window;for(var g=Ur(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=Ur(w.document)}return g}function G6(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 n7(w,g,v){var b=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;h8||wb==null||wb!==Ur(b)||(b=wb,("selectionStart"in b)&&G6(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}),Kd&&yb(Kd,b)||(Kd=b,b=B4(R8,"onSelect"),0<b.length&&(g=new C4("onSelect","select",null,g,v),w.push({event:g,listeners:b}),g.target=wb)))}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(N8[w])return N8[w];if(!gb[w])return w;var g=gb[w],v;for(v in g)if(g.hasOwnProperty(v)&&v in sZ)return N8[w]=g[v];return w}function _2(w,g){bX.set(w,g),d1(g,[w])}function g$(w){for(var g=I4,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!==I4&&g!==f8)return T8;g=f8}else return T8;else{if(typeof b==="function"||typeof b==="string"&&50<b.length||g!==I4&&g!==C8)return T8;g=C8}}return g}function Z6(w,g,v,b){for(var d in w)$2.call(w,d)&&d[0]!=="_"&&M2(d,w[d],g,v,b)}function M2(w,g,v,b,d){switch(typeof g){case"object":if(g===null){g="null";break}else{if(g.$$typeof===o2){var r=B0(g.type)||"…",a=g.key;g=g.props;var x=Object.keys(g),G=x.length;if(a==null&&G===0){g="<"+r+" />";break}if(3>b||G===1&&x[0]==="children"&&a==null){g="<"+r+" … />";break}v.push([d+"  ".repeat(b)+w,"<"+r]),a!==null&&M2("key",a,v,b+1,d),w=!1;for(var X in g)X==="children"?g.children!=null&&(!ow(g.children)||0<g.children.length)&&(w=!0):$2.call(g,X)&&X[0]!=="_"&&M2(X,g[X],v,b+1,d);v.push(["",w?">…</"+r+">":"/>"]);return}if(r=Object.prototype.toString.call(g),r=r.slice(8,r.length-1),r==="Array"){if(X=g$(g),X===C8||X===I4){g=JSON.stringify(g);break}else if(X===f8){v.push([d+"  ".repeat(b)+w,""]);for(w=0;w<g.length;w++)r=g[w],M2(r[0],r[1],v,b+1,d);return}}if(r==="Promise"){if(g.status==="fulfilled"){if(r=v.length,M2(w,g.value,v,b,d),v.length>r){v=v[r],v[1]="Promise<"+(v[1]||"Object")+">";return}}else if(g.status==="rejected"&&(r=v.length,M2(w,g.reason,v,b,d),v.length>r)){v=v[r],v[1]="Rejected Promise<"+v[1]+">";return}v.push(["  ".repeat(b)+w,"Promise"]);return}r==="Object"&&(X=Object.getPrototypeOf(g))&&typeof X.constructor==="function"&&(r=X.constructor.name),v.push([d+"  ".repeat(b)+w,r==="Object"?3>b?"":"…":r]),3>b&&Z6(g,v,b+1,d);return}case"function":g=g.name===""?"() => {}":g.name+"() {}";break;case"string":g=g===TH?"…":JSON.stringify(g);break;case"undefined":g="undefined";break;case"boolean":g=g?"true":"false";break;default:g=String(g)}v.push([d+"  ".repeat(b)+w,g])}function p7(w,g,v,b){var d=!0;for(a in w)a in g||(v.push([c4+"  ".repeat(b)+a,"…"]),d=!1);for(var r in g)if(r in w){var a=w[r],x=g[r];if(a!==x){if(b===0&&r==="children")d="  ".repeat(b)+r,v.push([c4+d,"…"],[i4+d,"…"]);else{if(!(3<=b)){if(typeof a==="object"&&typeof x==="object"&&a!==null&&x!==null&&a.$$typeof===x.$$typeof)if(x.$$typeof===o2){if(a.type===x.type&&a.key===x.key){a=B0(x.type)||"…",d="  ".repeat(b)+r,a="<"+a+" … />",v.push([c4+d,a],[i4+d,a]),d=!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=[aX+"  ".repeat(b)+r,X==="[object Array]"?"Array":""],v.push(G),X=v.length,p7(a,x,v,b+1)?X===v.length&&(G[1]="Referentially unequal but deeply equal objects. Consider memoization."):d=!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([aX+"  ".repeat(b)+r,a+" Referentially unequal function closure. Consider memoization."]);continue}}M2(r,a,v,b,c4),M2(r,x,v,b,i4)}d=!1}}else v.push([i4+"  ".repeat(b)+r,"…"]),d=!1;return d}function h1(w){C0=w&63?"Blocking":w&64?"Gesture":w&4194176?"Transition":w&62914560?"Suspense":w&2080374784?"Idle":"Other"}function O2(w,g,v,b){Qw&&(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 Ar(w,g,v){O2(w,g,v,"Reconnect")}function Mr(w,g,v,b,d){var r=E(w);if(r!==null&&Qw){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=[CH],X=p7(a.memoizedProps,X,G,0),1<G.length&&(X&&!eg&&(a.lanes&d)===0&&100<w.actualDuration?(eg=!0,G[0]=fH,_g.color="warning",_g.tooltipText=xX):(_g.color=b,_g.tooltipText=r),_g.properties=G,wv.start=g,wv.end=v,x!=null?x.run(performance.measure.bind(performance,"​"+r,wv)):performance.measure("​"+r,wv))):x!=null?x.run(console.timeStamp.bind(console,r,g,v,w2,void 0,b)):console.timeStamp(r,g,v,w2,void 0,b)}}function X6(w,g,v,b){if(Qw){var d=E(w);if(d!==null){for(var r=null,a=[],x=0;x<b.length;x++){var G=b[x];r==null&&G.source!==null&&(r=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&&Z6(w.memoizedProps,a,0,""),r==null&&(r=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}}},r?r.run(performance.measure.bind(performance,"​"+d,w)):performance.measure("​"+d,w)}}}function L2(w,g,v,b,d){if(d!==null){if(Qw){var r=E(w);if(r!==null){b=[];for(var a=0;a<d.length;a++){var x=d[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&&Z6(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,"​"+r,g)):performance.measure("​"+r,g)}}}else r=E(w),r!==null&&Qw&&(d=1>b?"secondary-light":100>b?"secondary":500>b?"secondary-dark":"error",(w=w._debugTask)?w.run(console.timeStamp.bind(console,r,g,v,w2,void 0,d)):console.timeStamp(r,g,v,w2,void 0,d))}function v$(w,g,v,b){if(Qw&&!(g<=w)){var d=(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,C0,T0,d)):console.timeStamp(v,w,g,C0,T0,d)}}function t7(w,g,v,b){!Qw||g<=w||(v=(v&738197653)===v?"tertiary-dark":"primary-dark",b?b.run(console.timeStamp.bind(console,"Prewarm",w,g,C0,T0,v)):console.timeStamp("Prewarm",w,g,C0,T0,v))}function s7(w,g,v,b){!Qw||g<=w||(v=(v&738197653)===v?"tertiary-dark":"primary-dark",b?b.run(console.timeStamp.bind(console,"Suspended",w,g,C0,T0,v)):console.timeStamp("Suspended",w,g,C0,T0,v))}function b$(w,g,v,b,d,r){if(Qw&&!(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:C0,trackGroup:T0,tooltipText:d?"Hydration Failed":"Recovered after Error",properties:v}}},r?r.run(performance.measure.bind(performance,"Recovered",w)):performance.measure("Recovered",w)}}function _6(w,g,v,b){!Qw||g<=w||(b?b.run(console.timeStamp.bind(console,"Errored",w,g,C0,T0,"error")):console.timeStamp("Errored",w,g,C0,T0,"error"))}function d$(w,g,v,b){!Qw||g<=w||(b?b.run(console.timeStamp.bind(console,v,w,g,C0,T0,"secondary-light")):console.timeStamp(v,w,g,C0,T0,"secondary-light"))}function e7(w,g,v,b,d){if(Qw&&!(g<=w)){for(var r=[],a=0;a<v.length;a++){var x=v[a].value;r.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:C0,trackGroup:T0,tooltipText:b?"Remaining Effects Errored":"Commit Errored",properties:r}}},d?d.run(performance.measure.bind(performance,"Errored",w)):performance.measure("Errored",w)}}function Sb(w,g,v){!Qw||g<=w||(v?v.run(console.timeStamp.bind(console,"Animating",w,g,C0,T0,"secondary-dark")):console.timeStamp("Animating",w,g,C0,T0,"secondary-dark"))}function Or(){for(var w=vb,g=I8=vb=0;g<w;){var v=g2[g];g2[g++]=null;var b=g2[g];g2[g++]=null;var d=g2[g];g2[g++]=null;var r=g2[g];if(g2[g++]=null,b!==null&&d!==null){var a=b.pending;a===null?d.next=d:(d.next=a.next,a.next=d),b.pending=d}r!==0&&w9(v,d,r)}}function Lr(w,g,v,b){g2[vb++]=w,g2[vb++]=g,g2[vb++]=v,g2[vb++]=b,I8|=b,w.lanes|=b,w=w.alternate,w!==null&&(w.lanes|=b)}function Y6(w,g,v,b){return Lr(w,g,v,b),Kr(w)}function r1(w,g){return Lr(w,null,null,g),Kr(w)}function w9(w,g,v){w.lanes|=v;var b=w.alternate;b!==null&&(b.lanes|=v);for(var d=!1,r=w.return;r!==null;)r.childLanes|=v,b=r.alternate,b!==null&&(b.childLanes|=v),r.tag===22&&(w=r.stateNode,w===null||w._visibility&Rd||(d=!0)),w=r,r=r.return;return w.tag===3?(r=w.stateNode,d&&g!==null&&(d=31-_1(v),w=r.hiddenUpdates,b=w[d],b===null?w[d]=[g]:b.push(g),g.lane=v|536870912),r):null}function Kr(w){if(vr>tH)throw G5=vr=0,br=Qx=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>sH&&(G5=0,br=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&&QG(w);for(var g=w,v=g.return;v!==null;)g.alternate===null&&(g.flags&4098)!==0&&QG(w),g=v,v=g.return;return g.tag===3?g.stateNode:null}function Cv(w){if(v2===null)return w;var g=v2(w);return g===void 0?w:g.current}function B6(w){if(v2===null)return w;var g=v2(w);return g===void 0?w!==null&&w!==void 0&&typeof w.render==="function"&&(g=Cv(w.render),w.render!==g)?(g={$$typeof:Hd,render:g},w.displayName!==void 0&&(g.displayName=w.displayName),g):w:g.current}function g9(w,g){if(v2===null)return!1;var v=w.elementType;g=g.type;var b=!1,d=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:d===I1&&(b=!0);break;case 11:d===Hd?b=!0:d===I1&&(b=!0);break;case 14:case 15:d===M4?b=!0:d===I1&&(b=!0);break;default:return!1}return b&&(w=v2(v),w!==void 0&&w===v2(g))?!0:!1}function v9(w){v2!==null&&typeof WeakSet==="function"&&(bb===null&&(bb=new WeakSet),bb.add(w))}function b9(w,g,v){do{var b=w,d=b.alternate,r=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))),bb!==null&&(bb.has(w)||d!==null&&bb.has(d))&&(b=!0),b&&(w._debugNeedsRemount=!0),b||X)d=r1(w,2),d!==null&&Aw(d,w,2);if(r===null||b||b9(r,g,v),a===null)break;w=a}while(1)}function r$(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,zX||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function $6(w){return w=w.prototype,!(!w||!w.isReactComponent)}function dg(w,g){var v=w.alternate;switch(v===null?(v=N(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=Cv(w.type);break;case 1:v.type=Cv(w.type);break;case 11:v.type=B6(w.type)}return v}function d9(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 Q6(w,g,v,b,d,r){var a=0,x=w;if(typeof w==="function")$6(w)&&(a=1),x=Cv(x);else if(typeof w==="string")a=a0(),a=BQ(w,v,a)?26:w==="html"||w==="head"||w==="body"?27:5;else w:switch(w){case z8:return g=N(31,v,g,d),g.elementType=z8,g.lanes=r,g;case E5:return fv(v.children,d,r,g);case A4:a=8,d|=x1,d|=H2;break;case d8:return w=v,b=d,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=N(12,w,g,b|M0),g.elementType=d8,g.lanes=r,g.stateNode={effectDuration:0,passiveEffectDuration:0},g;case a8:return g=N(13,v,g,d),g.elementType=a8,g.lanes=r,g;case x8:return g=N(19,v,g,d),g.elementType=x8,g.lanes=r,g;default:if(typeof w==="object"&&w!==null)switch(w.$$typeof){case y2:a=10;break w;case r8:a=9;break w;case Hd:a=11,x=B6(x);break w;case M4:a=14;break w;case I1: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===o2?(v="<"+(B0(w.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):v=typeof w,(a=b?rw(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=N(a,v,g,d),g.elementType=w,g.type=x,g.lanes=r,g._debugOwner=b,g}function Rr(w,g,v){return g=Q6(w.type,w.key,w.props,w._owner,g,v),g._debugOwner=w._owner,g._debugStack=w._debugStack,g._debugTask=w._debugTask,g}function fv(w,g,v,b){return w=N(7,w,b,g),w.lanes=v,w}function H6(w,g,v){return w=N(6,w,null,g),w.lanes=v,w}function r9(w){var g=N(18,null,null,Y0);return g.stateNode=w,g}function U6(w,g,v){return g=N(4,w.children!==null?w.children:[],w.key,g),g.lanes=v,g.stateNode={containerInfo:w.containerInfo,pendingChildren:null,implementation:w.implementation},g}function N1(w,g){if(typeof w==="object"&&w!==null){var v=c8.get(w);if(v!==void 0)return v;return g={value:w,source:g,stack:b1(g)},c8.set(w,g),g}return{value:w,source:g,stack:b1(g)}}function rg(w,g){fg(),db[rb++]=hd,db[rb++]=P4,P4=w,hd=g}function a9(w,g,v){fg(),b2[d2++]=Bg,b2[d2++]=$g,b2[d2++]=nv,nv=w;var b=Bg;w=$g;var d=32-_1(b)-1;b&=~(1<<d),v+=1;var r=32-_1(g)+d;if(30<r){var a=d-d%5;r=(b&(1<<a)-1).toString(32),b>>=a,d-=a,Bg=1<<32-_1(g)+d|v<<d|b,$g=r+w}else Bg=1<<r|v<<d|b,$g=w}function J6(w){fg(),w.return!==null&&(rg(w,1),a9(w,1,0))}function W6(w){for(;w===P4;)P4=db[--rb],db[rb]=null,hd=db[--rb],db[rb]=null;for(;w===nv;)nv=b2[--d2],b2[d2]=null,$g=b2[--d2],b2[d2]=null,Bg=b2[--d2],b2[d2]=null}function x9(){return fg(),nv!==null?{id:Bg,overflow:$g}:null}function z9(w,g){fg(),b2[d2++]=Bg,b2[d2++]=$g,b2[d2++]=nv,Bg=g.id,$g=g.overflow,nv=w}function fg(){I0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Iv(w,g){if(w.return===null){if(P1===null)P1={fiber:w,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:g};else{if(P1.fiber!==w)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");P1.distanceFromLeaf>g&&(P1.distanceFromLeaf=g)}return P1}var v=Iv(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 G9(){I0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function hr(w,g){u2||(w=Iv(w,0),w.serverProps=null,g!==null&&(g=oG(g),w.serverTail.push(g)))}function Ig(w){var g=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,v="",b=P1;throw b!==null&&(P1=null,v=r6(b)),Vb(N1(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)),i8}function Z9(w){var{stateNode:g,type:v,memoizedProps:b}=w;switch(g[w1]=w,g[Y1]=b,P3(v,b),v){case"dialog":i0("cancel",g),i0("close",g);break;case"iframe":case"object":case"embed":i0("load",g);break;case"video":case"audio":for(v=0;v<dr.length;v++)i0(dr[v],g);break;case"source":i0("error",g);break;case"img":case"image":case"link":i0("error",g),i0("load",g);break;case"details":i0("toggle",g);break;case"input":Cg("input",b),i0("invalid",g),Q7(g,b),H7(g,b.value,b.defaultValue,b.checked,b.defaultChecked,b.type,b.name,!0);break;case"option":U7(g,b);break;case"select":Cg("select",b),i0("invalid",g),W7(g,b);break;case"textarea":Cg("textarea",b),i0("invalid",g),k7(g,b),l7(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&&(i0("beforetoggle",g),i0("toggle",g)),b.onScroll!=null&&i0("scroll",g),b.onScrollEnd!=null&&i0("scrollend",g),b.onClick!=null&&(g.onclick=bg),g=!0):g=!1,g||Ig(w,!0)}function X9(w){for(g1=w.return;g1;)switch(g1.tag){case 5:case 31:case 13:r2=!1;return;case 27:case 3:r2=!0;return;default:g1=g1.return}}function R5(w){if(w!==g1)return!1;if(!I0)return X9(w),I0=!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")||E3(w.type,w.memoizedProps);v=!v}if(v&&Hw){for(v=Hw;v;){var b=Iv(w,0),d=oG(v);b.serverTail.push(d),v=d.type==="Suspense"?n3(v):f1(v.nextSibling)}Ig(w)}if(X9(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.");Hw=n3(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.");Hw=n3(w)}else g===27?(g=Hw,Dg(w.type)?(w=Kx,Kx=null,Hw=w):Hw=g):Hw=g1?f1(w.stateNode.nextSibling):null;return!0}function cv(){Hw=g1=null,u2=I0=!1}function k6(){var w=vv;return w!==null&&(J1===null?J1=w:J1.push.apply(J1,w),vv=null),w}function Vb(w){vv===null?vv=[w]:vv.push(w)}function q6(){var w=P1;if(w!==null){P1=null;for(var g=r6(w);0<w.children.length;)w=w.children[0];s(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 Nr(){ab=o4=null,xb=!1}function cg(w,g,v){J0(P8,g._currentValue,w),g._currentValue=v,J0(o8,g._currentRenderer,w),g._currentRenderer!==void 0&&g._currentRenderer!==null&&g._currentRenderer!==ZX&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),g._currentRenderer=ZX}function ag(w,g){w._currentValue=P8.current;var v=o8.current;N0(o8,g),w._currentRenderer=v,N0(P8,g)}function l6(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 A6(w,g,v,b){var d=w.child;d!==null&&(d.return=w);for(;d!==null;){var r=d.dependencies;if(r!==null){var a=d.child;r=r.firstContext;w:for(;r!==null;){var x=r;r=d;for(var G=0;G<g.length;G++)if(x.context===g[G]){r.lanes|=v,x=r.alternate,x!==null&&(x.lanes|=v),l6(r.return,v,w),b||(a=null);break w}r=x.next}}else if(d.tag===18){if(a=d.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,r=a.alternate,r!==null&&(r.lanes|=v),l6(a,v,w),a=null}else a=d.child;if(a!==null)a.return=d;else for(a=d;a!==null;){if(a===w){a=null;break}if(d=a.sibling,d!==null){d.return=a.return,a=d;break}a=a.return}d=a}}function h5(w,g,v,b){w=null;for(var d=g,r=!1;d!==null;){if(!r){if((d.flags&524288)!==0)r=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var a=d.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=d.type;$1(d.pendingProps.value,a.value)||(w!==null?w.push(x):w=[x])}}else if(d===O4.current){if(a=d.alternate,a===null)throw Error("Should have a current fiber. This is a bug in React.");a.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(w!==null?w.push(Gr):w=[Gr])}d=d.return}w!==null&&A6(g,w,v,b),g.flags|=262144}function Fr(w){for(w=w.firstContext;w!==null;){if(!$1(w.context._currentValue,w.memoizedValue))return!0;w=w.next}return!1}function iv(w){o4=w,ab=null,w=w.dependencies,w!==null&&(w.firstContext=null)}function Jw(w){return xb&&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()."),_9(o4,w)}function mr(w,g){return o4===null&&iv(w),_9(w,g)}function _9(w,g){var v=g._currentValue;if(g={context:g,memoizedValue:v,next:null},ab===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().");ab=g,w.dependencies={lanes:0,firstContext:g,_debugThenableState:null},w.flags|=524288}else ab=ab.next=g;return v}function M6(){return{controller:new iH,data:new Map,refCount:0}}function Pv(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 Eb(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&&PH(oH,function(){w.controller.abort()})}function K2(w,g,v){if((w&127)!==0)0>n2&&(n2=Tw(),Fd=y4(g),y8=g,v!=null&&(S8=E(v)),(V0&(Sw|S1))!==uw&&(Mw=!0,rv=Nd),w=_d(),g=Xd(),w!==zb||g!==md?zb=-1.1:g!==null&&(rv=Nd),tv=w,md=g);else if((w&4194048)!==0&&0>a2&&(a2=Tw(),Td=y4(g),XX=g,v!=null&&(_X=E(v)),0>Ug)){if(w=_d(),g=Xd(),w!==xv||g!==sv)xv=-1.1;av=w,sv=g}}function a$(w){if(0>n2){n2=Tw(),Fd=w._debugTask!=null?w._debugTask:null,(V0&(Sw|S1))!==uw&&(rv=Nd);var g=_d(),v=Xd();g!==zb||v!==md?zb=-1.1:v!==null&&(rv=Nd),tv=g,md=v}if(0>a2&&(a2=Tw(),Td=w._debugTask!=null?w._debugTask:null,0>Ug)){if(w=_d(),g=Xd(),w!==xv||g!==sv)xv=-1.1;av=w,sv=g}}function xg(){var w=pv;return pv=0,w}function Tr(w){var g=pv;return pv=w,g}function jb(w){var g=pv;return pv+=w,g}function Cr(){X0=Z0=-1.1}function F1(){var w=Z0;return Z0=-1.1,w}function m1(w){0<=w&&(Z0=w)}function R2(){var w=qw;return qw=-0,w}function h2(w){0<=w&&(qw=w)}function N2(){var w=Ww;return Ww=null,w}function F2(){var w=Mw;return Mw=!1,w}function O6(w){Q1=Tw(),0>w.actualStartTime&&(w.actualStartTime=Q1)}function L6(w){if(0<=Q1){var g=Tw()-Q1;w.actualDuration+=g,w.selfBaseDuration=g,Q1=-1}}function Y9(w){if(0<=Q1){var g=Tw()-Q1;w.actualDuration+=g,Q1=-1}}function m2(){if(0<=Q1){var w=Tw(),g=w-Q1;Q1=-1,pv+=g,qw+=g,X0=w}}function B9(w){Ww===null&&(Ww=[]),Ww.push(w),Hg===null&&(Hg=[]),Hg.push(w)}function T2(){Q1=Tw(),0>Z0&&(Z0=Q1)}function Db(w){for(var g=w.child;g;)w.actualDuration+=g.actualDuration,g=g.sibling}function x$(w,g){if(fd===null){var v=fd=[];E8=0,ev=f3(),Gb={status:"pending",value:void 0,then:function(b){v.push(b)}}}return E8++,g.then($9,$9),g}function $9(){if(--E8===0&&(-1<a2||(Ug=-1.1),fd!==null)){Gb!==null&&(Gb.status="fulfilled");var w=fd;fd=null,ev=0,Gb=null;for(var g=0;g<w.length;g++)(0,w[g])()}}function z$(w,g){var v=[],b={status:"pending",value:null,reason:null,then:function(d){v.push(d)}};return w.then(function(){b.status="fulfilled",b.value=g;for(var d=0;d<v.length;d++)(0,v[d])(g)},function(d){b.status="rejected",b.reason=d;for(d=0;d<v.length;d++)(0,v[d])(void 0)}),b}function K6(){var w=w5.current;return w!==null?w:zw.pooledCache}function fr(w,g){g===null?J0(w5,w5.current,w):J0(w5,g.pool,w)}function Q9(){var w=K6();return w===null?null:{parent:mw._currentValue,pool:w}}function H9(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function U9(w){return w=w.status,w==="fulfilled"||w==="rejected"}function J9(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 d={name:typeof b==="string"?b:"Promise",start:w,end:w,value:g};g._debugInfo=[{awaited:d}],g.status!=="fulfilled"&&g.status!=="rejected"&&(w=function(){d.end=performance.now()},g.then(w,w))}switch(g.status){case"fulfilled":return g.value;case"rejected":throw w=g.reason,k9(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(r){if(g.status==="pending"){var a=g;a.status="fulfilled",a.value=r}},function(r){if(g.status==="pending"){var a=g;a.status="rejected",a.reason=r}})}switch(g.status){case"fulfilled":return g.value;case"rejected":throw w=g.reason,k9(w),w}throw v5=g,Sd=!0,Zb}}function ig(w){try{return EH(w)}catch(g){if(g!==null&&typeof g==="object"&&typeof g.then==="function")throw v5=g,Sd=!0,Zb;throw g}}function W9(){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,Sd=!1,w}function k9(w){if(w===Zb||w===p4)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=O0;return w!=null&&(O0=g===null?w:g.concat(w)),g}function R6(){var w=O0;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 Ir(w,g,v){for(var b=Object.keys(w.props),d=0;d<b.length;d++){var r=b[d];if(r!=="children"&&r!=="key"){g===null&&(g=Rr(w,v.mode,0),g._debugInfo=O0,g.return=v),s(g,function(a){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a)},r);break}}}function cr(w){var g=Vd;return Vd+=1,Xb===null&&(Xb=H9()),J9(Xb,w,g)}function ub(w,g){g=g.props.ref,w.ref=g!==void 0?g:null}function q9(w,g){if(g.$$typeof===AQ)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 ir(w,g){var v=R6();v!==null?v.run(q9.bind(null,w,g)):q9(w,g)}function l9(w,g){var v=E(w)||"Component";FX[v]||(FX[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 Pr(w,g){var v=R6();v!==null?v.run(l9.bind(null,w,g)):l9(w,g)}function A9(w,g){var v=E(w)||"Component";mX[v]||(mX[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 or(w,g){var v=R6();v!==null?v.run(A9.bind(null,w,g)):A9(w,g)}function M9(w){function g(J,k){if(w){var l=J.deletions;l===null?(J.deletions=[k],J.flags|=16):l.push(k)}}function v(J,k){if(!w)return null;for(;k!==null;)g(J,k),k=k.sibling;return null}function b(J){for(var k=new Map;J!==null;)J.key!==null?k.set(J.key,J):k.set(J.index,J),J=J.sibling;return k}function d(J,k){return J=dg(J,k),J.index=0,J.sibling=null,J}function r(J,k,l){if(J.index=l,!w)return J.flags|=1048576,k;if(l=J.alternate,l!==null)return l=l.index,l<k?(J.flags|=67108866,k):l;return J.flags|=67108866,k}function a(J){return w&&J.alternate===null&&(J.flags|=67108866),J}function x(J,k,l,T){if(k===null||k.tag!==6)return k=H6(l,J.mode,T),k.return=J,k._debugOwner=J,k._debugTask=J._debugTask,k._debugInfo=O0,k;return k=d(k,l),k.return=J,k._debugInfo=O0,k}function G(J,k,l,T){var n=l.type;if(n===E5)return k=A(J,k,l.props.children,T,l.key),Ir(l,k,J),k;if(k!==null&&(k.elementType===n||g9(k,l)||typeof n==="object"&&n!==null&&n.$$typeof===I1&&ig(n)===k.type))return k=d(k,l.props),ub(k,l),k.return=J,k._debugOwner=l._owner,k._debugInfo=O0,k;return k=Rr(l,J.mode,T),ub(k,l),k.return=J,k._debugInfo=O0,k}function X(J,k,l,T){if(k===null||k.tag!==4||k.stateNode.containerInfo!==l.containerInfo||k.stateNode.implementation!==l.implementation)return k=U6(l,J.mode,T),k.return=J,k._debugInfo=O0,k;return k=d(k,l.children||[]),k.return=J,k._debugInfo=O0,k}function A(J,k,l,T,n){if(k===null||k.tag!==7)return k=fv(l,J.mode,T,n),k.return=J,k._debugOwner=J,k._debugTask=J._debugTask,k._debugInfo=O0,k;return k=d(k,l),k.return=J,k._debugInfo=O0,k}function M(J,k,l){if(typeof k==="string"&&k!==""||typeof k==="number"||typeof k==="bigint")return k=H6(""+k,J.mode,l),k.return=J,k._debugOwner=J,k._debugTask=J._debugTask,k._debugInfo=O0,k;if(typeof k==="object"&&k!==null){switch(k.$$typeof){case o2:return l=Rr(k,J.mode,l),ub(l,k),l.return=J,J=tw(k._debugInfo),l._debugInfo=O0,O0=J,l;case V5:return k=U6(k,J.mode,l),k.return=J,k._debugInfo=O0,k;case I1:var T=tw(k._debugInfo);return k=ig(k),J=M(J,k,l),O0=T,J}if(ow(k)||h0(k))return l=fv(k,J.mode,l,null),l.return=J,l._debugOwner=J,l._debugTask=J._debugTask,J=tw(k._debugInfo),l._debugInfo=O0,O0=J,l;if(typeof k.then==="function")return T=tw(k._debugInfo),J=M(J,cr(k),l),O0=T,J;if(k.$$typeof===y2)return M(J,mr(J,k),l);ir(J,k)}return typeof k==="function"&&Pr(J,k),typeof k==="symbol"&&or(J,k),null}function W(J,k,l,T){var n=k!==null?k.key:null;if(typeof l==="string"&&l!==""||typeof l==="number"||typeof l==="bigint")return n!==null?null:x(J,k,""+l,T);if(typeof l==="object"&&l!==null){switch(l.$$typeof){case o2:return l.key===n?(n=tw(l._debugInfo),J=G(J,k,l,T),O0=n,J):null;case V5:return l.key===n?X(J,k,l,T):null;case I1:return n=tw(l._debugInfo),l=ig(l),J=W(J,k,l,T),O0=n,J}if(ow(l)||h0(l)){if(n!==null)return null;return n=tw(l._debugInfo),J=A(J,k,l,T,null),O0=n,J}if(typeof l.then==="function")return n=tw(l._debugInfo),J=W(J,k,cr(l),T),O0=n,J;if(l.$$typeof===y2)return W(J,k,mr(J,l),T);ir(J,l)}return typeof l==="function"&&Pr(J,l),typeof l==="symbol"&&or(J,l),null}function h(J,k,l,T,n){if(typeof T==="string"&&T!==""||typeof T==="number"||typeof T==="bigint")return J=J.get(l)||null,x(k,J,""+T,n);if(typeof T==="object"&&T!==null){switch(T.$$typeof){case o2:return l=J.get(T.key===null?l:T.key)||null,J=tw(T._debugInfo),k=G(k,l,T,n),O0=J,k;case V5:return J=J.get(T.key===null?l:T.key)||null,X(k,J,T,n);case I1:var H0=tw(T._debugInfo);return T=ig(T),k=h(J,k,l,T,n),O0=H0,k}if(ow(T)||h0(T))return l=J.get(l)||null,J=tw(T._debugInfo),k=A(k,l,T,n,null),O0=J,k;if(typeof T.then==="function")return H0=tw(T._debugInfo),k=h(J,k,l,cr(T),n),O0=H0,k;if(T.$$typeof===y2)return h(J,k,l,mr(k,T),n);ir(k,T)}return typeof T==="function"&&Pr(k,T),typeof T==="symbol"&&or(k,T),null}function j(J,k,l,T){if(typeof l!=="object"||l===null)return T;switch(l.$$typeof){case o2:case V5:O(J,k,l);var n=l.key;if(typeof n!=="string")break;if(T===null){T=new Set,T.add(n);break}if(!T.has(n)){T.add(n);break}s(k,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.",n)});break;case I1:l=ig(l),j(J,k,l,T)}return T}function t(J,k,l,T){for(var n=null,H0=null,x0=null,b0=k,q0=k=0,Uw=null;b0!==null&&q0<l.length;q0++){b0.index>q0?(Uw=b0,b0=null):Uw=b0.sibling;var Nw=W(J,b0,l[q0],T);if(Nw===null){b0===null&&(b0=Uw);break}n=j(J,Nw,l[q0],n),w&&b0&&Nw.alternate===null&&g(J,b0),k=r(Nw,k,q0),x0===null?H0=Nw:x0.sibling=Nw,x0=Nw,b0=Uw}if(q0===l.length)return v(J,b0),I0&&rg(J,q0),H0;if(b0===null){for(;q0<l.length;q0++)b0=M(J,l[q0],T),b0!==null&&(n=j(J,b0,l[q0],n),k=r(b0,k,q0),x0===null?H0=b0:x0.sibling=b0,x0=b0);return I0&&rg(J,q0),H0}for(b0=b(b0);q0<l.length;q0++)Uw=h(b0,J,q0,l[q0],T),Uw!==null&&(n=j(J,Uw,l[q0],n),w&&Uw.alternate!==null&&b0.delete(Uw.key===null?q0:Uw.key),k=r(Uw,k,q0),x0===null?H0=Uw:x0.sibling=Uw,x0=Uw);return w&&b0.forEach(function(Lg){return g(J,Lg)}),I0&&rg(J,q0),H0}function _w(J,k,l,T){if(l==null)throw Error("An iterable object provided no iterator.");for(var n=null,H0=null,x0=k,b0=k=0,q0=null,Uw=null,Nw=l.next();x0!==null&&!Nw.done;b0++,Nw=l.next()){x0.index>b0?(q0=x0,x0=null):q0=x0.sibling;var Lg=W(J,x0,Nw.value,T);if(Lg===null){x0===null&&(x0=q0);break}Uw=j(J,Lg,Nw.value,Uw),w&&x0&&Lg.alternate===null&&g(J,x0),k=r(Lg,k,b0),H0===null?n=Lg:H0.sibling=Lg,H0=Lg,x0=q0}if(Nw.done)return v(J,x0),I0&&rg(J,b0),n;if(x0===null){for(;!Nw.done;b0++,Nw=l.next())x0=M(J,Nw.value,T),x0!==null&&(Uw=j(J,x0,Nw.value,Uw),k=r(x0,k,b0),H0===null?n=x0:H0.sibling=x0,H0=x0);return I0&&rg(J,b0),n}for(x0=b(x0);!Nw.done;b0++,Nw=l.next())q0=h(x0,J,b0,Nw.value,T),q0!==null&&(Uw=j(J,q0,Nw.value,Uw),w&&q0.alternate!==null&&x0.delete(q0.key===null?b0:q0.key),k=r(q0,k,b0),H0===null?n=q0:H0.sibling=q0,H0=q0);return w&&x0.forEach(function($U){return g(J,$U)}),I0&&rg(J,b0),n}function P0(J,k,l,T){if(typeof l==="object"&&l!==null&&l.type===E5&&l.key===null&&(Ir(l,null,J),l=l.props.children),typeof l==="object"&&l!==null){switch(l.$$typeof){case o2:var n=tw(l._debugInfo);w:{for(var H0=l.key;k!==null;){if(k.key===H0){if(H0=l.type,H0===E5){if(k.tag===7){v(J,k.sibling),T=d(k,l.props.children),T.return=J,T._debugOwner=l._owner,T._debugInfo=O0,Ir(l,T,J),J=T;break w}}else if(k.elementType===H0||g9(k,l)||typeof H0==="object"&&H0!==null&&H0.$$typeof===I1&&ig(H0)===k.type){v(J,k.sibling),T=d(k,l.props),ub(T,l),T.return=J,T._debugOwner=l._owner,T._debugInfo=O0,J=T;break w}v(J,k);break}else g(J,k);k=k.sibling}l.type===E5?(T=fv(l.props.children,J.mode,T,l.key),T.return=J,T._debugOwner=J,T._debugTask=J._debugTask,T._debugInfo=O0,Ir(l,T,J),J=T):(T=Rr(l,J.mode,T),ub(T,l),T.return=J,T._debugInfo=O0,J=T)}return J=a(J),O0=n,J;case V5:w:{n=l;for(l=n.key;k!==null;){if(k.key===l)if(k.tag===4&&k.stateNode.containerInfo===n.containerInfo&&k.stateNode.implementation===n.implementation){v(J,k.sibling),T=d(k,n.children||[]),T.return=J,J=T;break w}else{v(J,k);break}else g(J,k);k=k.sibling}T=U6(n,J.mode,T),T.return=J,J=T}return a(J);case I1:return n=tw(l._debugInfo),l=ig(l),J=P0(J,k,l,T),O0=n,J}if(ow(l))return n=tw(l._debugInfo),J=t(J,k,l,T),O0=n,J;if(h0(l)){if(n=tw(l._debugInfo),H0=h0(l),typeof H0!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var x0=H0.call(l);if(x0===l){if(J.tag!==0||Object.prototype.toString.call(J.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(x0)!=="[object Generator]")hX||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."),hX=!0}else l.entries!==H0||n8||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),n8=!0);return J=_w(J,k,x0,T),O0=n,J}if(typeof l.then==="function")return n=tw(l._debugInfo),J=P0(J,k,cr(l),T),O0=n,J;if(l.$$typeof===y2)return P0(J,k,mr(J,l),T);ir(J,l)}if(typeof l==="string"&&l!==""||typeof l==="number"||typeof l==="bigint")return n=""+l,k!==null&&k.tag===6?(v(J,k.sibling),T=d(k,n),T.return=J,J=T):(v(J,k),T=H6(n,J.mode,T),T.return=J,T._debugOwner=J,T._debugTask=J._debugTask,T._debugInfo=O0,J=T),a(J);return typeof l==="function"&&Pr(J,l),typeof l==="symbol"&&or(J,l),v(J,k)}return function(J,k,l,T){var n=O0;O0=null;try{Vd=0;var H0=P0(J,k,l,T);return Xb=null,H0}catch(Uw){if(Uw===Zb||Uw===p4)throw Uw;var x0=N(29,Uw,null,J.mode);x0.lanes=T,x0.return=J;var b0=x0._debugInfo=O0;if(x0._debugOwner=J._debugOwner,x0._debugTask=J._debugTask,b0!=null){for(var q0=b0.length-1;0<=q0;q0--)if(typeof b0[q0].stack==="string"){x0._debugOwner=b0[q0],x0._debugTask=b0[q0].debugTask;break}}return x0}finally{O0=n}}}function O9(w,g){var v=ow(w);return w=!v&&typeof h0(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 N6(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 Pg(w){return{lane:w,tag:CX,payload:null,callback:null,next:null}}function og(w,g,v){var b=w.updateQueue;if(b===null)return null;if(b=b.shared,t8===b&&!cX){var d=E(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`,d),cX=!0}if((V0&Sw)!==uw)return d=b.pending,d===null?g.next=g:(g.next=d.next,d.next=g),b.pending=g,g=Kr(w),w9(w,null,v),g;return Lr(w,b,g,v),Kr(w)}function nb(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,Rv(w,v)}}function yr(w,g){var{updateQueue:v,alternate:b}=w;if(b!==null&&(b=b.updateQueue,v===b)){var d=null,r=null;if(v=v.firstBaseUpdate,v!==null){do{var a={lane:v.lane,tag:v.tag,payload:v.payload,callback:null,next:null};r===null?d=r=a:r=r.next=a,v=v.next}while(v!==null);r===null?d=r=g:r=r.next=g}else d=r=g;v={baseState:b.baseState,firstBaseUpdate:d,lastBaseUpdate:r,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 pb(){if(s8){var w=Gb;if(w!==null)throw w}}function tb(w,g,v,b){s8=!1;var d=w.updateQueue;zv=!1,t8=d.shared;var{firstBaseUpdate:r,lastBaseUpdate:a}=d,x=d.shared.pending;if(x!==null){d.shared.pending=null;var G=x,X=G.next;G.next=null,a===null?r=X:a.next=X,a=G;var A=w.alternate;A!==null&&(A=A.updateQueue,x=A.lastBaseUpdate,x!==a&&(x===null?A.firstBaseUpdate=X:x.next=X,A.lastBaseUpdate=G))}if(r!==null){var M=d.baseState;a=0,A=X=G=null,x=r;do{var W=x.lane&-536870913,h=W!==x.lane;if(h?(L0&W)===W:(b&W)===W){W!==0&&W===ev&&(s8=!0),A!==null&&(A=A.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});w:{W=w;var j=x,t=g,_w=v;switch(j.tag){case fX:if(j=j.payload,typeof j==="function"){xb=!0;var P0=j.call(_w,M,t);if(W.mode&x1){Zw(!0);try{j.call(_w,M,t)}finally{Zw(!1)}}xb=!1,M=P0;break w}M=j;break w;case p8:W.flags=W.flags&-65537|128;case CX:if(P0=j.payload,typeof P0==="function"){if(xb=!0,j=P0.call(_w,M,t),W.mode&x1){Zw(!0);try{P0.call(_w,M,t)}finally{Zw(!1)}}xb=!1}else j=P0;if(j===null||j===void 0)break w;M=m0({},M,j);break w;case IX:zv=!0}}W=x.callback,W!==null&&(w.flags|=64,h&&(w.flags|=8192),h=d.callbacks,h===null?d.callbacks=[W]:h.push(W))}else h={lane:W,tag:x.tag,payload:x.payload,callback:x.callback,next:null},A===null?(X=A=h,G=M):A=A.next=h,a|=W;if(x=x.next,x===null)if(x=d.shared.pending,x===null)break;else h=x,x=h.next,h.next=null,d.lastBaseUpdate=h,d.shared.pending=null}while(1);A===null&&(G=M),d.baseState=G,d.firstBaseUpdate=X,d.lastBaseUpdate=A,r===null&&(d.shared.lanes=0),Xv|=a,w.lanes=a,w.memoizedState=M}t8=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 G$(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 K9(w,g){var v=w.callbacks;if(v!==null)for(w.callbacks=null,w=0;w<v.length;w++)L9(v[w],g)}function R9(w,g){var v=s2;J0(s4,v,w),J0(_b,g,w),s2=v|g.baseLanes}function F6(w){J0(s4,s2,w),J0(_b,_b.current,w)}function m6(w){s2=s4.current,N0(_b,w),N0(s4,w)}function yg(w){var g=w.alternate;J0(hw,hw.current&Yb,w),J0(o1,w,w),x2===null&&(g===null||_b.current!==null?x2=w:g.memoizedState!==null&&(x2=w))}function T6(w){J0(hw,hw.current,w),J0(o1,w,w),x2===null&&(x2=w)}function h9(w){w.tag===22?(J0(hw,hw.current,w),J0(o1,w,w),x2===null&&(x2=w)):Sg(w)}function Sg(w){J0(hw,hw.current,w),J0(o1,o1.current,w)}function T1(w){N0(o1,w),x2===w&&(x2=null),N0(hw,w)}function Sr(w){for(var g=w;g!==null;){if(g.tag===13){var v=g.memoizedState;if(v!==null&&(v=v.dehydrated,v===null||D3(v)||u3(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 F0(){var w=F;G2===null?G2=[w]:G2.push(w)}function i(){var w=F;if(G2!==null&&(qg++,G2[qg]!==w)){var g=E(Q0);if(!iX.has(g)&&(iX.add(g),G2!==null)){for(var v="",b=0;b<=qg;b++){var d=G2[b],r=b===qg?w:d;for(d=b+1+". "+d;30>d.length;)d+=" ";d+=r+`
103
- `,v+=d}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 N5(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.",F,typeof w)}function Vr(){var w=E(Q0);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 Kw(){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 C6(w,g){if(Dd)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.",F),!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`,F,"["+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 f6(w,g,v,b,d,r){if(Wg=r,Q0=g,G2=w!==null?w._debugHookTypes:null,qg=-1,Dd=w!==null&&w.type!==g.type,Object.prototype.toString.call(v)==="[object AsyncFunction]"||Object.prototype.toString.call(v)==="[object AsyncGeneratorFunction]")r=E(Q0),e8.has(r)||(e8.add(r),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.",r===null?"An unknown Component":"<"+r+">"));g.memoizedState=null,g.updateQueue=null,g.lanes=0,m.H=w!==null&&w.memoizedState!==null?gx:G2!==null?yX:wx,d5=r=(g.mode&x1)!==Y0;var a=j8(v,b,d);if(d5=!1,$b&&(a=I6(g,v,b,d)),r){Zw(!0);try{a=I6(g,v,b,d)}finally{Zw(!1)}}return N9(w,g),a}function N9(w,g){g._debugHookTypes=G2,g.dependencies===null?kg!==null&&(g.dependencies={lanes:0,firstContext:null,_debugThenableState:kg}):g.dependencies._debugThenableState=kg,m.H=ud;var v=xw!==null&&xw.next!==null;if(Wg=0,G2=F=Cw=xw=Q0=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."),wa=!1,jd=0,kg=null,v)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");w===null||fw||(w=w.dependencies,w!==null&&Fr(w)&&(fw=!0)),Sd?(Sd=!1,w=!0):w=!1,w&&(g=E(g)||"Unknown",PX.has(g)||e8.has(g)||(PX.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){Q0=w;var d=0;do{if($b&&(kg=null),jd=0,$b=!1,d>=DH)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(d+=1,Dd=!1,Cw=xw=null,w.updateQueue!=null){var r=w.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}qg=-1,m.H=SX,r=j8(g,v,b)}while($b);return r}function Z$(){var w=m.H,g=w.useState()[0];return g=typeof g.then==="function"?sb(g):g,w=w.useState()[0],(xw!==null?xw.memoizedState:null)!==w&&(Q0.flags|=1024),g}function c6(){var w=ga!==0;return ga=0,w}function i6(w,g,v){g.updateQueue=w.updateQueue,g.flags=(g.mode&H2)!==Y0?g.flags&-402655237:g.flags&-2053,w.lanes&=~v}function P6(w){if(wa){for(w=w.memoizedState;w!==null;){var g=w.queue;g!==null&&(g.pending=null),w=w.next}wa=!1}Wg=0,G2=Cw=xw=Q0=null,qg=-1,F=null,$b=!1,jd=ga=0,kg=null}function X1(){var w={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Cw===null?Q0.memoizedState=Cw=w:Cw=Cw.next=w,Cw}function ww(){if(xw===null){var w=Q0.alternate;w=w!==null?w.memoizedState:null}else w=xw.next;var g=Cw===null?Q0.memoizedState:Cw.next;if(g!==null)Cw=g,xw=w;else{if(w===null){if(Q0.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},Cw===null?Q0.memoizedState=Cw=w:Cw=Cw.next=w}return Cw}function Er(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function sb(w){var g=jd;return jd+=1,kg===null&&(kg=H9()),w=J9(kg,w,g),g=Q0,(Cw===null?g.memoizedState:Cw.next)===null&&(g=g.alternate,m.H=g!==null&&g.memoizedState!==null?gx:wx),w}function Vg(w){if(w!==null&&typeof w==="object"){if(typeof w.then==="function")return sb(w);if(w.$$typeof===y2)return Jw(w)}throw Error("An unsupported type was passed to use(): "+String(w))}function ov(w){var g=null,v=Q0.updateQueue;if(v!==null&&(g=v.memoCache),g==null){var b=Q0.alternate;b!==null&&(b=b.updateQueue,b!==null&&(b=b.memoCache,b!=null&&(g={data:b.data.map(function(d){return d.slice()}),index:0})))}if(g==null&&(g={data:[],index:0}),v===null&&(v=Er(),Q0.updateQueue=v),v.memoCache=g,v=g.data[g.index],v===void 0||Dd)for(v=g.data[g.index]=Array(w),b=0;b<w;b++)v[b]=MQ;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 o6(w,g,v){var b=X1();if(v!==void 0){var d=v(g);if(d5){Zw(!0);try{v(g)}finally{Zw(!1)}}}else d=g;return b.memoizedState=b.baseState=d,w={pending:null,lanes:0,dispatch:null,lastRenderedReducer:w,lastRenderedState:d},b.queue=w,w=w.dispatch=$$.bind(null,Q0,w),[b.memoizedState,w]}function F5(w){var g=ww();return y6(g,xw,w)}function y6(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 d=w.baseQueue,r=b.pending;if(r!==null){if(d!==null){var a=d.next;d.next=r.next,r.next=a}g.baseQueue!==d&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=d=r,b.pending=null}if(r=w.baseState,d===null)w.memoizedState=r;else{g=d.next;var x=a=null,G=null,X=g,A=!1;do{var M=X.lane&-536870913;if(M!==X.lane?(L0&M)===M:(Wg&M)===M){var W=X.revertLane;if(W===0)G!==null&&(G=G.next={lane:0,revertLane:0,gesture:null,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null}),M===ev&&(A=!0);else if((Wg&W)===W){X=X.next,W===ev&&(A=!0);continue}else M={lane:0,revertLane:X.revertLane,gesture:null,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},G===null?(x=G=M,a=r):G=G.next=M,Q0.lanes|=W,Xv|=W;M=X.action,d5&&v(r,M),r=X.hasEagerState?X.eagerState:v(r,M)}else W={lane:M,revertLane:X.revertLane,gesture:X.gesture,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},G===null?(x=G=W,a=r):G=G.next=W,Q0.lanes|=M,Xv|=M;X=X.next}while(X!==null&&X!==g);if(G===null?a=r:G.next=x,!$1(r,w.memoizedState)&&(fw=!0,A&&(v=Gb,v!==null)))throw v;w.memoizedState=r,w.baseState=a,w.baseQueue=G,b.lastRenderedState=r}return d===null&&(b.lanes=0),[w.memoizedState,b.dispatch]}function eb(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:d}=v,r=g.memoizedState;if(d!==null){v.pending=null;var a=d=d.next;do r=w(r,a.action),a=a.next;while(a!==d);$1(r,g.memoizedState)||(fw=!0),g.memoizedState=r,g.baseQueue===null&&(g.baseState=r),v.lastRenderedState=r}return[r,b]}function S6(w,g,v){var b=Q0,d=X1();if(I0){if(v===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var r=v();Bb||r===v()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Bb=!0)}else{if(r=g(),Bb||(v=g(),$1(r,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.");(L0&127)!==0||F9(b,g,r)}return d.memoizedState=r,v={value:r,getSnapshot:g},d.queue=v,nr(T9.bind(null,b,v,w),[w]),b.flags|=2048,T5(z2|U1,{destroy:void 0},m9.bind(null,b,v,r,g),null),r}function jr(w,g,v){var b=Q0,d=ww(),r=I0;if(r){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||d).memoizedState,v))d.memoizedState=v,fw=!0;d=d.queue;var x=T9.bind(null,b,d,w);if(k1(2048,U1,x,[w]),d.getSnapshot!==g||a||Cw!==null&&Cw.memoizedState.tag&z2){if(b.flags|=2048,T5(z2|U1,{destroy:void 0},m9.bind(null,b,d,v,g),null),zw===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");r||(Wg&127)!==0||F9(b,g,v)}return v}function F9(w,g,v){w.flags|=16384,w={getSnapshot:g,value:v},g=Q0.updateQueue,g===null?(g=Er(),Q0.updateQueue=g,g.stores=[w]):(v=g.stores,v===null?g.stores=[w]:v.push(w))}function m9(w,g,v,b){g.value=v,g.getSnapshot=b,C9(g)&&f9(w)}function T9(w,g,v){return v(function(){C9(g)&&(K2(2,"updateSyncExternalStore()",w),f9(w))})}function C9(w){var g=w.getSnapshot;w=w.value;try{var v=g();return!$1(w,v)}catch(b){return!0}}function f9(w){var g=r1(w,2);g!==null&&Aw(g,w,2)}function V6(w){var g=X1();if(typeof w==="function"){var v=w;if(w=v(),d5){Zw(!0);try{v()}finally{Zw(!1)}}}return g.memoizedState=g.baseState=w,g.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Y2,lastRenderedState:w},g}function E6(w){w=V6(w);var g=w.queue,v=gz.bind(null,Q0,g);return g.dispatch=v,[w.memoizedState,v]}function j6(w){var g=X1();g.memoizedState=g.baseState=w;var v={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return g.queue=v,g=a3.bind(null,Q0,!0,v),v.dispatch=g,[w,g]}function I9(w,g){var v=ww();return c9(v,xw,w,g)}function c9(w,g,v,b){return w.baseState=v,y6(w,xw,typeof b==="function"?b:Y2)}function i9(w,g){var v=ww();if(xw!==null)return c9(v,xw,w,g);return v.baseState=w,[w,v.queue.dispatch]}function X$(w,g,v,b,d){if(g4(w))throw Error("Cannot update form state while rendering.");if(w=g.action,w!==null){var r={payload:d,action:w,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(a){r.listeners.push(a)}};m.T!==null?v(!0):r.isTransition=!1,b(r),v=g.pending,v===null?(r.next=g.pending=r,P9(g,r)):(r.next=v.next,g.pending=v.next=r)}}function P9(w,g){var{action:v,payload:b}=g,d=w.state;if(g.isTransition){var r=m.T,a={};a._updatedFibers=new Set,m.T=a;try{var x=v(d,b),G=m.S;G!==null&&G(a,x),o9(w,g,x)}catch(X){D6(w,g,X)}finally{r!==null&&a.types!==null&&(r.types!==null&&r.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."),r.types=a.types),m.T=r,r===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(d,b),o9(w,g,a)}catch(X){D6(w,g,X)}}function o9(w,g,v){v!==null&&typeof v==="object"&&typeof v.then==="function"?(m.asyncTransitions++,v.then(w4,w4),v.then(function(b){y9(w,g,b)},function(b){return D6(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.")):y9(w,g,v)}function y9(w,g,v){g.status="fulfilled",g.value=v,S9(g),w.state=v,g=w.pending,g!==null&&(v=g.next,v===g?w.pending=null:(v=v.next,g.next=v,P9(w,v)))}function D6(w,g,v){var b=w.pending;if(w.pending=null,b!==null){b=b.next;do g.status="rejected",g.reason=v,S9(g),g=g.next;while(g!==b)}w.action=null}function S9(w){w=w.listeners;for(var g=0;g<w.length;g++)(0,w[g])()}function V9(w,g){return g}function m5(w,g){if(I0){var v=zw.formState;if(v!==null){w:{var b=Q0;if(I0){if(Hw){g:{var d=Hw;for(var r=r2;d.nodeType!==8;){if(!r){d=null;break g}if(d=f1(d.nextSibling),d===null){d=null;break g}}r=d.data,d=r===Ax||r===K_?d:null}if(d){Hw=f1(d.nextSibling),b=d.data===Ax;break w}}Ig(b)}b=!1}b&&(g=v[0])}}return v=X1(),v.memoizedState=v.baseState=g,b={pending:null,lanes:0,dispatch:null,lastRenderedReducer:V9,lastRenderedState:g},v.queue=b,v=gz.bind(null,Q0,b),b.dispatch=v,b=V6(!1),r=a3.bind(null,Q0,!1,b.queue),b=X1(),d={state:g,dispatch:null,action:w,pending:null},b.queue=d,v=X$.bind(null,Q0,d,r,v),d.dispatch=v,b.memoizedState=w,[g,v,!1]}function Dr(w){var g=ww();return E9(g,xw,w)}function E9(w,g,v){if(g=y6(w,g,V9)[0],w=F5(Y2)[0],typeof g==="object"&&g!==null&&typeof g.then==="function")try{var b=sb(g)}catch(a){if(a===Zb)throw p4;throw a}else b=g;g=ww();var d=g.queue,r=d.dispatch;return v!==g.memoizedState&&(Q0.flags|=2048,T5(z2|U1,{destroy:void 0},_$.bind(null,d,v),null)),[b,r,w]}function _$(w,g){w.action=g}function ur(w){var g=ww(),v=xw;if(v!==null)return E9(g,v,w);ww(),g=g.memoizedState,v=ww();var b=v.queue.dispatch;return v.memoizedState=w,[g,b,!1]}function T5(w,g,v,b){return w={tag:w,create:v,deps:b,inst:g,next:null},g=Q0.updateQueue,g===null&&(g=Er(),Q0.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 u6(w){var g=X1();return w={current:w},g.memoizedState=w}function yv(w,g,v,b){var d=X1();Q0.flags|=w,d.memoizedState=T5(z2|g,{destroy:void 0},v,b===void 0?null:b)}function k1(w,g,v,b){var d=ww();b=b===void 0?null:b;var r=d.memoizedState.inst;xw!==null&&b!==null&&C6(b,xw.memoizedState.deps)?d.memoizedState=T5(g,r,v,b):(Q0.flags|=w,d.memoizedState=T5(z2|g,r,v,b))}function nr(w,g){(Q0.mode&H2)!==Y0?yv(276826112,U1,w,g):yv(8390656,U1,w,g)}function Y$(w){Q0.flags|=4;var g=Q0.updateQueue;if(g===null)g=Er(),Q0.updateQueue=g,g.events=[w];else{var v=g.events;v===null?g.events=[w]:v.push(w)}}function n6(w){var g=X1(),v={impl:w};return g.memoizedState=v,function(){if((V0&Sw)!==uw)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return v.impl.apply(void 0,arguments)}}function pr(w){var g=ww().memoizedState;return Y$({ref:g,nextImpl:w}),function(){if((V0&Sw)!==uw)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return g.impl.apply(void 0,arguments)}}function p6(w,g){var v=4194308;return(Q0.mode&H2)!==Y0&&(v|=134217728),yv(v,y1,w,g)}function j9(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 t6(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;(Q0.mode&H2)!==Y0&&(b|=134217728),yv(b,y1,j9.bind(null,g,w),v)}function tr(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,j9.bind(null,g,w),v)}function s6(w,g){return X1().memoizedState=[w,g===void 0?null:g],w}function sr(w,g){var v=ww();g=g===void 0?null:g;var b=v.memoizedState;if(g!==null&&C6(g,b[1]))return b[0];return v.memoizedState=[w,g],w}function e6(w,g){var v=X1();g=g===void 0?null:g;var b=w();if(d5){Zw(!0);try{w()}finally{Zw(!1)}}return v.memoizedState=[b,g],b}function er(w,g){var v=ww();g=g===void 0?null:g;var b=v.memoizedState;if(g!==null&&C6(g,b[1]))return b[0];if(b=w(),d5){Zw(!0);try{w()}finally{Zw(!1)}}return v.memoizedState=[b,g],b}function w3(w,g){var v=X1();return g3(v,w,g)}function D9(w,g){var v=ww();return n9(v,xw.memoizedState,w,g)}function u9(w,g){var v=ww();return xw===null?g3(v,w,g):n9(v,xw.memoizedState,w,g)}function g3(w,g,v){if(v===void 0||(Wg&1073741824)!==0&&(L0&261930)===0)return w.memoizedState=g;return w.memoizedState=v,w=pz(),Q0.lanes|=w,Xv|=w,v}function n9(w,g,v,b){if($1(v,g))return v;if(_b.current!==null)return w=g3(w,v,b),$1(w,g)||(fw=!0),w;if((Wg&42)===0||(Wg&1073741824)!==0&&(L0&261930)===0)return fw=!0,w.memoizedState=v;return w=pz(),Q0.lanes|=w,Xv|=w,g}function w4(){m.asyncTransitions--}function p9(w,g,v,b,d){var r=t0.p;t0.p=r!==0&&r<Q2?r:Q2;var a=m.T,x={};x._updatedFibers=new Set,m.T=x,a3(w,!1,g,v);try{var G=d(),X=m.S;if(X!==null&&X(x,G),G!==null&&typeof G==="object"&&typeof G.then==="function"){m.asyncTransitions++,G.then(w4,w4);var A=z$(G,b);wd(w,g,A,C1(w))}else wd(w,g,b,C1(w))}catch(M){wd(w,g,{then:function(){},status:"rejected",reason:M},C1(w))}finally{t0.p=r,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 v3(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 d=t9(w).queue;a$(w),p9(w,d,g,$5,v===null?R:function(){return s9(w),v(b)})}function t9(w){var g=w.memoizedState;if(g!==null)return g;g={memoizedState:$5,baseState:$5,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Y2,lastRenderedState:$5},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 s9(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=t9(w);g.next===null&&(g=w.alternate.memoizedState),wd(w,g.next.queue,{},C1(w))}function b3(){var w=V6(!1);return w=p9.bind(null,Q0,w.queue,!0,!1),X1().memoizedState=w,[!1,w]}function e9(){var w=F5(Y2)[0],g=ww().memoizedState;return[typeof w==="boolean"?w:sb(w),g]}function wz(){var w=eb(Y2)[0],g=ww().memoizedState;return[typeof w==="boolean"?w:sb(w),g]}function Sv(){return Jw(Gr)}function d3(){var w=X1(),g=zw.identifierPrefix;if(I0){var v=$g,b=Bg;v=(b&~(1<<32-_1(b)-1)).toString(32)+v,g="_"+g+"R_"+v,v=ga++,0<v&&(g+="H"+v.toString(32)),g+="_"}else v=jH++,g="_"+g+"r_"+v.toString(32)+"_";return w.memoizedState=g}function r3(){return X1().memoizedState=B$.bind(null,Q0)}function B$(w,g){for(var v=w.return;v!==null;){switch(v.tag){case 24:case 3:var b=C1(v),d=Pg(b),r=og(v,d,b);r!==null&&(K2(b,"refresh()",w),Aw(r,v,b),nb(r,v,b)),w=M6(),g!==null&&g!==void 0&&r!==null&&console.error("The seed argument is not enabled outside experimental channels."),d.payload={cache:w};return}v=v.return}}function $$(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=C1(w);var d={lane:b,revertLane:0,gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null};g4(w)?vz(g,d):(d=Y6(w,g,d,b),d!==null&&(K2(b,"dispatch()",w),Aw(d,w,b),bz(d,g,b)))}function gz(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=C1(w),wd(w,g,v,b)&&K2(b,"setState()",w)}function wd(w,g,v,b){var d={lane:b,revertLane:0,gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null};if(g4(w))vz(g,d);else{var r=w.alternate;if(w.lanes===0&&(r===null||r.lanes===0)&&(r=g.lastRenderedReducer,r!==null)){var a=m.H;m.H=J2;try{var x=g.lastRenderedState,G=r(x,v);if(d.hasEagerState=!0,d.eagerState=G,$1(G,x))return Lr(w,g,d,0),zw===null&&Or(),!1}catch(X){}finally{m.H=a}}if(v=Y6(w,g,d,b),v!==null)return Aw(v,w,b),bz(v,g,b),!0}return!1}function a3(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:f3(),gesture:null,action:b,hasEagerState:!1,eagerState:null,next:null},g4(w)){if(g)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else g=Y6(w,v,b,2),g!==null&&(K2(2,"setOptimistic()",w),Aw(g,w,2))}function g4(w){var g=w.alternate;return w===Q0||g!==null&&g===Q0}function vz(w,g){$b=wa=!0;var v=w.pending;v===null?g.next=g:(g.next=v.next,v.next=g),w.pending=g}function bz(w,g,v){if((v&4194048)!==0){var b=g.lanes;b&=w.pendingLanes,v|=b,g.lanes=v,Rv(w,v)}}function x3(w){if(w!==null&&typeof w!=="function"){var g=String(w);w_.has(g)||(w_.add(g),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",w))}}function z3(w,g,v,b){var d=w.memoizedState,r=v(b,d);if(w.mode&x1){Zw(!0);try{r=v(b,d)}finally{Zw(!1)}}r===void 0&&(g=B0(g)||"Component",pX.has(g)||(pX.add(g),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",g))),d=r===null||r===void 0?d:m0({},d,r),w.memoizedState=d,w.lanes===0&&(w.updateQueue.baseState=d)}function dz(w,g,v,b,d,r,a){var x=w.stateNode;if(typeof x.shouldComponentUpdate==="function"){if(v=x.shouldComponentUpdate(b,r,a),w.mode&x1){Zw(!0);try{v=x.shouldComponentUpdate(b,r,a)}finally{Zw(!1)}}return v===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",B0(g)||"Component"),v}return g.prototype&&g.prototype.isPureReactComponent?!yb(v,b)||!yb(d,r):!0}function rz(w,g,v,b){var d=g.state;typeof g.componentWillReceiveProps==="function"&&g.componentWillReceiveProps(v,b),typeof g.UNSAFE_componentWillReceiveProps==="function"&&g.UNSAFE_componentWillReceiveProps(v,b),g.state!==d&&(w=E(w)||"Component",EX.has(w)||(EX.add(w),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",w)),vx.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=m0({},v));for(var d in w)v[d]===void 0&&(v[d]=w[d])}return v}function az(w){m8(w),console.warn(`%s
116
-
117
- %s
118
- `,Qb?"An error occurred in the <"+Qb+"> 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 xz(w){var g=Qb?"The above error occurred in the <"+Qb+"> 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, "+((bx||"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,f_+" "+w[0],I_,Oa+b+Oa,c_):w.splice(0,0,f_,I_,Oa+b+Oa,c_),w.unshift(console),b=YU.apply(console.error,w),b()}else console.error(`%o
125
-
126
- %s
127
-
128
- %s
129
- `,w,g,v)}function zz(w){m8(w)}function v4(w,g){try{Qb=g.source?E(g.source):null,bx=null;var v=g.value;if(m.actQueue!==null)m.thrownErrors.push(v);else{var b=w.onUncaughtError;b(v,{componentStack:g.stack})}}catch(d){setTimeout(function(){throw d})}}function Gz(w,g,v){try{Qb=v.source?E(v.source):null,bx=E(g);var b=w.onCaughtError;b(v.value,{componentStack:v.stack,errorBoundary:g.tag===1?g.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function G3(w,g,v){return v=Pg(v),v.tag=p8,v.payload={element:null},v.callback=function(){s(g.source,v4,w,g)},v}function Z3(w){return w=Pg(w),w.tag=p8,w}function X3(w,g,v,b){var d=v.type.getDerivedStateFromError;if(typeof d==="function"){var r=b.value;w.payload=function(){return d(r)},w.callback=function(){v9(v),s(b.source,Gz,g,v,b)}}var a=v.stateNode;a!==null&&typeof a.componentDidCatch==="function"&&(w.callback=function(){v9(v),s(b.source,Gz,g,v,b),typeof d!=="function"&&(Yv===null?Yv=new Set([this]):Yv.add(this)),yH(this,b),typeof d==="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.",E(v)||"Unknown")})}function Q$(w,g,v,b,d){if(v.flags|=32768,E2&&zd(w,d),b!==null&&typeof b==="object"&&typeof b.then==="function"){if(g=v.alternate,g!==null&&h5(g,v,d,!0),I0&&(u2=!0),v=o1.current,v!==null){switch(v.tag){case 31:case 13:return x2===null?X4():v.alternate===null&&lw===Ag&&(lw=da),v.flags&=-257,v.flags|=65536,v.lanes=d,b===t4?v.flags|=16384:(g=v.updateQueue,g===null?v.updateQueue=new Set([b]):g.add(b),F3(w,b,d)),!1;case 22:return v.flags|=65536,b===t4?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)),F3(w,b,d)),!1}throw Error("Unexpected Suspense handler tag ("+v.tag+"). This is a bug in React.")}return F3(w,b,d),X4(),!1}if(I0)return u2=!0,g=o1.current,g!==null?((g.flags&65536)===0&&(g.flags|=256),g.flags|=65536,g.lanes=d,b!==i8&&Vb(N1(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!==i8&&Vb(N1(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,d&=-d,w.lanes|=d,b=N1(b,v),d=G3(w.stateNode,b,d),yr(w,d),lw!==Gv&&(lw=r5)),!1;var r=N1(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(wr===null?wr=[r]:wr.push(r),lw!==Gv&&(lw=r5),g===null)return!0;b=N1(b,v),v=g;do{switch(v.tag){case 3:return v.flags|=65536,w=d&-d,v.lanes|=w,w=G3(v.stateNode,b,w),yr(v,w),!1;case 1:if(g=v.type,r=v.stateNode,(v.flags&128)===0&&(typeof g.getDerivedStateFromError==="function"||r!==null&&typeof r.componentDidCatch==="function"&&(Yv===null||!Yv.has(r))))return v.flags|=65536,d&=-d,v.lanes|=d,d=Z3(d),X3(d,w,v,b),yr(v,d),!1}v=v.return}while(v!==null);return!1}function sw(w,g,v,b){g.child=w===null?TX(g,null,v,b):b5(g,w.child,v,b)}function Zz(w,g,v,b,d){v=v.render;var r=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=f6(w,g,v,a,r,d),x=c6(),w!==null&&!fw)return i6(w,g,d),zg(w,g,d);return I0&&x&&J6(g),g.flags|=1,sw(w,g,b,d),g.child}function Xz(w,g,v,b,d){if(w===null){var r=v.type;if(typeof r==="function"&&!$6(r)&&r.defaultProps===void 0&&v.compare===null)return v=Cv(r),g.tag=15,g.type=v,Y3(g,r),_z(w,g,v,b,d);return w=Q6(v.type,null,b,g,g.mode,d),w.ref=g.ref,w.return=g,g.child=w}if(r=w.child,!J3(w,d)){var a=r.memoizedProps;if(v=v.compare,v=v!==null?v:yb,v(a,b)&&w.ref===g.ref)return zg(w,g,d)}return g.flags|=1,w=dg(r,b),w.ref=g.ref,w.return=g,g.child=w}function _z(w,g,v,b,d){if(w!==null){var r=w.memoizedProps;if(yb(r,b)&&w.ref===g.ref&&g.type===w.type)if(fw=!1,g.pendingProps=b=r,J3(w,d))(w.flags&131072)!==0&&(fw=!0);else return g.lanes=w.lanes,zg(w,g,d)}return _3(w,g,v,b,d)}function Yz(w,g,v,b){var d=b.children,r=w!==null?w.memoizedState:null;if(w===null&&g.stateNode===null&&(g.stateNode={_visibility:Rd,_pendingMarkers:null,_retryCache:null,_transitions:null}),b.mode==="hidden"){if((g.flags&128)!==0){if(r=r!==null?r.baseLanes|v:v,w!==null){b=g.child=w.child;for(d=0;b!==null;)d=d|b.lanes|b.childLanes,b=b.sibling;b=d&~r}else b=0,g.child=null;return Bz(w,g,r,v,b)}if((v&536870912)!==0)g.memoizedState={baseLanes:0,cachePool:null},w!==null&&fr(g,r!==null?r.cachePool:null),r!==null?R9(g,r):F6(g),h9(g);else return b=g.lanes=536870912,Bz(w,g,r!==null?r.baseLanes|v:v,v,b)}else r!==null?(fr(g,r.cachePool),R9(g,r),Sg(g),g.memoizedState=null):(w!==null&&fr(g,null),F6(g),Sg(g));return sw(w,g,d,v),g.child}function gd(w,g){return w!==null&&w.tag===22||g.stateNode!==null||(g.stateNode={_visibility:Rd,_pendingMarkers:null,_retryCache:null,_transitions:null}),g.sibling}function Bz(w,g,v,b,d){var r=K6();return r=r===null?null:{parent:mw._currentValue,pool:r},g.memoizedState={baseLanes:v,cachePool:r},w!==null&&fr(g,null),F6(g),h9(g),w!==null&&h5(w,g,b,!0),g.childLanes=d,null}function b4(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=r4({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=b4(g,g.pendingProps),w.flags|=2,T1(g),g.memoizedState=null,w}function H$(w,g,v){var b=g.pendingProps,d=(g.flags&128)!==0;if(g.flags&=-129,w===null){if(I0){if(b.mode==="hidden")return w=b4(g,b),g.lanes=536870912,gd(null,w);if(T6(g),(w=Hw)?(v=PG(w,r2),v=v!==null&&v.data===X5?v:null,v!==null&&(b={dehydrated:v,treeContext:x9(),retryLane:536870912,hydrationErrors:null},g.memoizedState=b,b=r9(v),b.return=g,g.child=b,g1=g,Hw=null)):v=null,v===null)throw hr(g,w),Ig(g);return g.lanes=536870912,null}return b4(g,b)}var r=w.memoizedState;if(r!==null){var a=r.dehydrated;if(T6(g),d)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(G9(),(v&536870912)!==0&&Z4(g),fw||h5(w,g,v,!1),d=(v&w.childLanes)!==0,fw||d){if(b=zw,b!==null&&(a=hv(b,v),a!==0&&a!==r.retryLane))throw r.retryLane=a,r1(w,a),Aw(b,w,a),dx;X4(),g=$z(w,g,v)}else w=r.treeContext,Hw=f1(a.nextSibling),g1=g,I0=!0,vv=null,u2=!1,P1=null,r2=!1,w!==null&&z9(g,w),g=b4(g,b),g.flags|=4096;return g}return r=w.child,b={mode:b.mode,children:b.children},(v&536870912)!==0&&(v&w.lanes)!==0&&Z4(g),w=dg(r,b),w.ref=g.ref,g.child=w,w.return=g,w}function d4(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 _3(w,g,v,b,d){if(v.prototype&&typeof v.prototype.render==="function"){var r=B0(v)||"Unknown";g_[r]||(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.",r,r),g_[r]=!0)}if(g.mode&x1&&U2.recordLegacyContextWarning(g,null),w===null&&(Y3(g,g.type),v.contextTypes&&(r=B0(v)||"Unknown",b_[r]||(b_[r]=!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)",r)))),iv(g),v=f6(w,g,v,b,void 0,d),b=c6(),w!==null&&!fw)return i6(w,g,d),zg(w,g,d);return I0&&b&&J6(g),g.flags|=1,sw(w,g,v,d),g.child}function Qz(w,g,v,b,d,r){if(iv(g),qg=-1,Dd=w!==null&&w.type!==g.type,g.updateQueue=null,v=I6(g,b,v,d),N9(w,g),b=c6(),w!==null&&!fw)return i6(w,g,r),zg(w,g,r);return I0&&b&&J6(g),g.flags|=1,sw(w,g,v,r),g.child}function Hz(w,g,v,b,d){switch(q(g)){case!1:var r=g.stateNode,a=new g.type(g.memoizedProps,r.context).state;r.updater.enqueueSetState(r,a,null);break;case!0:g.flags|=128,g.flags|=65536,r=Error("Simulated error coming from DevTools");var x=d&-d;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=Z3(x),X3(x,a,g,N1(r,g)),yr(g,x)}if(iv(g),g.stateNode===null){if(a=gv,r=v.contextType,"contextType"in v&&r!==null&&(r===void 0||r.$$typeof!==y2)&&!eX.has(v)&&(eX.add(v),x=r===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 r!=="object"?" However, it is set to a "+typeof r+".":r.$$typeof===r8?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(r).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",B0(v)||"Component",x)),typeof r==="object"&&r!==null&&(a=Jw(r)),r=new v(b,a),g.mode&x1){Zw(!0);try{r=new v(b,a)}finally{Zw(!1)}}if(a=g.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=vx,g.stateNode=r,r._reactInternals=g,r._reactInternalInstance=VX,typeof v.getDerivedStateFromProps==="function"&&a===null&&(a=B0(v)||"Component",jX.has(a)||(jX.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,r.state===null?"null":"undefined",a))),typeof v.getDerivedStateFromProps==="function"||typeof r.getSnapshotBeforeUpdate==="function"){var G=x=a=null;if(typeof r.componentWillMount==="function"&&r.componentWillMount.__suppressDeprecationWarning!==!0?a="componentWillMount":typeof r.UNSAFE_componentWillMount==="function"&&(a="UNSAFE_componentWillMount"),typeof r.componentWillReceiveProps==="function"&&r.componentWillReceiveProps.__suppressDeprecationWarning!==!0?x="componentWillReceiveProps":typeof r.UNSAFE_componentWillReceiveProps==="function"&&(x="UNSAFE_componentWillReceiveProps"),typeof r.componentWillUpdate==="function"&&r.componentWillUpdate.__suppressDeprecationWarning!==!0?G="componentWillUpdate":typeof r.UNSAFE_componentWillUpdate==="function"&&(G="UNSAFE_componentWillUpdate"),a!==null||x!==null||G!==null){r=B0(v)||"Component";var X=typeof v.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";uX.has(r)||(uX.add(r),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`,r,X,a!==null?`
137
- `+a:"",x!==null?`
138
- `+x:"",G!==null?`
139
- `+G:""))}}r=g.stateNode,a=B0(v)||"Component",r.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)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.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),r.getDefaultProps&&!r.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),r.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",a),v.childContextTypes&&!sX.has(v)&&(sX.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&&!tX.has(v)&&(tX.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 r.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 r.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.",B0(v)||"A pure component"),typeof r.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",a),typeof r.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 r.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",a),typeof r.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",a),x=r.props!==b,r.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),r.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 r.getSnapshotBeforeUpdate!=="function"||typeof r.componentDidUpdate==="function"||DX.has(v)||(DX.add(v),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",B0(v))),typeof r.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 r.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=r.state)&&(typeof x!=="object"||ow(x))&&console.error("%s.state: must be set to an object or null",a),typeof r.getChildContext==="function"&&typeof v.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",a),r=g.stateNode,r.props=b,r.state=g.memoizedState,r.refs={},h6(g),a=v.contextType,r.context=typeof a==="object"&&a!==null?Jw(a):gv,r.state===b&&(a=B0(v)||"Component",nX.has(a)||(nX.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&x1&&U2.recordLegacyContextWarning(g,r),U2.recordUnsafeLifecycleWarnings(g,r),r.state=g.memoizedState,a=v.getDerivedStateFromProps,typeof a==="function"&&(z3(g,v,a,b),r.state=g.memoizedState),typeof v.getDerivedStateFromProps==="function"||typeof r.getSnapshotBeforeUpdate==="function"||typeof r.UNSAFE_componentWillMount!=="function"&&typeof r.componentWillMount!=="function"||(a=r.state,typeof r.componentWillMount==="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount==="function"&&r.UNSAFE_componentWillMount(),a!==r.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",E(g)||"Component"),vx.enqueueReplaceState(r,r.state,null)),tb(g,b,r,d),pb(),r.state=g.memoizedState),typeof r.componentDidMount==="function"&&(g.flags|=4194308),(g.mode&H2)!==Y0&&(g.flags|=134217728),r=!0}else if(w===null){r=g.stateNode;var A=g.memoizedProps;x=Vv(v,A),r.props=x;var M=r.context;G=v.contextType,a=gv,typeof G==="object"&&G!==null&&(a=Jw(G)),X=v.getDerivedStateFromProps,G=typeof X==="function"||typeof r.getSnapshotBeforeUpdate==="function",A=g.pendingProps!==A,G||typeof r.UNSAFE_componentWillReceiveProps!=="function"&&typeof r.componentWillReceiveProps!=="function"||(A||M!==a)&&rz(g,r,b,a),zv=!1;var W=g.memoizedState;r.state=W,tb(g,b,r,d),pb(),M=g.memoizedState,A||W!==M||zv?(typeof X==="function"&&(z3(g,v,X,b),M=g.memoizedState),(x=zv||dz(g,v,x,b,W,M,a))?(G||typeof r.UNSAFE_componentWillMount!=="function"&&typeof r.componentWillMount!=="function"||(typeof r.componentWillMount==="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount==="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount==="function"&&(g.flags|=4194308),(g.mode&H2)!==Y0&&(g.flags|=134217728)):(typeof r.componentDidMount==="function"&&(g.flags|=4194308),(g.mode&H2)!==Y0&&(g.flags|=134217728),g.memoizedProps=b,g.memoizedState=M),r.props=b,r.state=M,r.context=a,r=x):(typeof r.componentDidMount==="function"&&(g.flags|=4194308),(g.mode&H2)!==Y0&&(g.flags|=134217728),r=!1)}else{r=g.stateNode,N6(w,g),a=g.memoizedProps,G=Vv(v,a),r.props=G,X=g.pendingProps,W=r.context,M=v.contextType,x=gv,typeof M==="object"&&M!==null&&(x=Jw(M)),A=v.getDerivedStateFromProps,(M=typeof A==="function"||typeof r.getSnapshotBeforeUpdate==="function")||typeof r.UNSAFE_componentWillReceiveProps!=="function"&&typeof r.componentWillReceiveProps!=="function"||(a!==X||W!==x)&&rz(g,r,b,x),zv=!1,W=g.memoizedState,r.state=W,tb(g,b,r,d),pb();var h=g.memoizedState;a!==X||W!==h||zv||w!==null&&w.dependencies!==null&&Fr(w.dependencies)?(typeof A==="function"&&(z3(g,v,A,b),h=g.memoizedState),(G=zv||dz(g,v,G,b,W,h,x)||w!==null&&w.dependencies!==null&&Fr(w.dependencies))?(M||typeof r.UNSAFE_componentWillUpdate!=="function"&&typeof r.componentWillUpdate!=="function"||(typeof r.componentWillUpdate==="function"&&r.componentWillUpdate(b,h,x),typeof r.UNSAFE_componentWillUpdate==="function"&&r.UNSAFE_componentWillUpdate(b,h,x)),typeof r.componentDidUpdate==="function"&&(g.flags|=4),typeof r.getSnapshotBeforeUpdate==="function"&&(g.flags|=1024)):(typeof r.componentDidUpdate!=="function"||a===w.memoizedProps&&W===w.memoizedState||(g.flags|=4),typeof r.getSnapshotBeforeUpdate!=="function"||a===w.memoizedProps&&W===w.memoizedState||(g.flags|=1024),g.memoizedProps=b,g.memoizedState=h),r.props=b,r.state=h,r.context=x,r=G):(typeof r.componentDidUpdate!=="function"||a===w.memoizedProps&&W===w.memoizedState||(g.flags|=4),typeof r.getSnapshotBeforeUpdate!=="function"||a===w.memoizedProps&&W===w.memoizedState||(g.flags|=1024),r=!1)}if(x=r,d4(w,g),a=(g.flags&128)!==0,x||a){if(x=g.stateNode,P(g),a&&typeof v.getDerivedStateFromError!=="function")v=null,Q1=-1;else if(v=WX(x),g.mode&x1){Zw(!0);try{WX(x)}finally{Zw(!1)}}g.flags|=1,w!==null&&a?(g.child=b5(g,w.child,null,d),g.child=b5(g,null,v,d)):sw(w,g,v,d),g.memoizedState=x.state,w=g.child}else w=zg(w,g,d);return d=g.stateNode,r&&d.props!==b&&(Hb||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",E(g)||"a component"),Hb=!0),w}function Uz(w,g,v,b){return cv(),g.flags|=256,sw(w,g,v,b),g.child}function Y3(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=B0(g)||"Unknown",d_[w]||(console.error("%s: Function components do not support getDerivedStateFromProps.",w),d_[w]=!0)),typeof g.contextType==="object"&&g.contextType!==null&&(g=B0(g)||"Unknown",v_[g]||(console.error("%s: Function components do not support contextType.",g),v_[g]=!0))}function B3(w){return{baseLanes:w,cachePool:Q9()}}function $3(w,g,v){return w=w!==null?w.childLanes&~v:0,g&&(w|=O1),w}function Jz(w,g,v){var b,d=g.pendingProps;U(g)&&(g.flags|=128);var r=!1,a=(g.flags&128)!==0;if((b=a)||(b=w!==null&&w.memoizedState===null?!1:(hw.current&Ed)!==0),b&&(r=!0,g.flags&=-129),b=(g.flags&32)!==0,g.flags&=-33,w===null){if(I0){if(r?yg(g):Sg(g),(w=Hw)?(v=PG(w,r2),v=v!==null&&v.data!==X5?v:null,v!==null&&(b={dehydrated:v,treeContext:x9(),retryLane:536870912,hydrationErrors:null},g.memoizedState=b,b=r9(v),b.return=g,g.child=b,g1=g,Hw=null)):v=null,v===null)throw hr(g,w),Ig(g);return u3(v)?g.lanes=32:g.lanes=536870912,null}var x=d.children;if(d=d.fallback,r){Sg(g);var G=g.mode;return x=r4({mode:"hidden",children:x},G),d=fv(d,G,v,null),x.return=g,d.return=g,x.sibling=d,g.child=x,d=g.child,d.memoizedState=B3(v),d.childLanes=$3(w,b,v),g.memoizedState=rx,gd(null,d)}return yg(g),Q3(g,x)}var X=w.memoizedState;if(X!==null){var A=X.dehydrated;if(A!==null){if(a)g.flags&256?(yg(g),g.flags&=-257,g=H3(w,g,v)):g.memoizedState!==null?(Sg(g),g.child=w.child,g.flags|=128,g=null):(Sg(g),x=d.fallback,G=g.mode,d=r4({mode:"visible",children:d.children},G),x=fv(x,G,v,null),x.flags|=2,d.return=g,x.return=g,d.sibling=x,g.child=d,b5(g,w.child,null,v),d=g.child,d.memoizedState=B3(v),d.childLanes=$3(w,b,v),g.memoizedState=rx,g=gd(null,d));else if(yg(g),G9(),(v&536870912)!==0&&Z4(g),u3(A)){if(b=A.nextSibling&&A.nextSibling.dataset,b){x=b.dgst;var M=b.msg;G=b.stck;var W=b.cstck}r=M,b=x,d=G,A=W,x=r,G=A,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=d||"",x.digest=b,b=G===void 0?null:G,d={value:x,source:null,stack:b},typeof b==="string"&&c8.set(x,d),Vb(d),g=H3(w,g,v)}else if(fw||h5(w,g,v,!1),b=(v&w.childLanes)!==0,fw||b){if(b=zw,b!==null&&(d=hv(b,v),d!==0&&d!==X.retryLane))throw X.retryLane=d,r1(w,d),Aw(b,w,d),dx;D3(A)||X4(),g=H3(w,g,v)}else D3(A)?(g.flags|=192,g.child=w.child,g=null):(w=X.treeContext,Hw=f1(A.nextSibling),g1=g,I0=!0,vv=null,u2=!1,P1=null,r2=!1,w!==null&&z9(g,w),g=Q3(g,d.children),g.flags|=4096);return g}}if(r)return Sg(g),x=d.fallback,G=g.mode,W=w.child,A=W.sibling,d=dg(W,{mode:"hidden",children:d.children}),d.subtreeFlags=W.subtreeFlags&65011712,A!==null?x=dg(A,x):(x=fv(x,G,v,null),x.flags|=2),x.return=g,d.return=g,d.sibling=x,g.child=d,gd(null,d),d=g.child,x=w.child.memoizedState,x===null?x=B3(v):(G=x.cachePool,G!==null?(W=mw._currentValue,G=G.parent!==W?{parent:W,pool:W}:G):G=Q9(),x={baseLanes:x.baseLanes|v,cachePool:G}),d.memoizedState=x,d.childLanes=$3(w,b,v),g.memoizedState=rx,gd(w.child,d);return X!==null&&(v&62914560)===v&&(v&w.lanes)!==0&&Z4(g),yg(g),v=w.child,w=v.sibling,v=dg(v,{mode:"visible",children:d.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 Q3(w,g){return g=r4({mode:"visible",children:g},w.mode),g.return=w,w.child=g}function r4(w,g){return w=N(22,w,null,g),w.lanes=0,w}function H3(w,g,v){return b5(g,w.child,null,v),w=Q3(g,g.pendingProps.children),w.flags|=2,g.memoizedState=null,w}function Wz(w,g,v){w.lanes|=g;var b=w.alternate;b!==null&&(b.lanes|=g),l6(w.return,g,v)}function U3(w,g,v,b,d,r){var a=w.memoizedState;a===null?w.memoizedState={isBackwards:g,rendering:null,renderingStartTime:0,last:b,tail:v,tailMode:d,treeForkCount:r}:(a.isBackwards=g,a.rendering=null,a.renderingStartTime=0,a.last=b,a.tail=v,a.tailMode=d,a.treeForkCount=r)}function kz(w,g,v){var b=g.pendingProps,d=b.revealOrder,r=b.tail,a=b.children,x=hw.current;if((b=(x&Ed)!==0)?(x=x&Yb|Ed,g.flags|=128):x&=Yb,J0(hw,x,g),x=d==null?"null":d,d!=="forwards"&&d!=="unstable_legacy-backwards"&&d!=="together"&&d!=="independent"&&!r_[x])if(r_[x]=!0,d==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(d==="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 d==="string")switch(d.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.',d,d.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.',d,d.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',d)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',d);if(x=r==null?"null":r,!ba[x])if(r==null){if(d==="forwards"||d==="backwards"||d==="unstable_legacy-backwards")ba[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 r!=="visible"&&r!=="collapsed"&&r!=="hidden"?(ba[x]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',r)):d!=="forwards"&&d!=="backwards"&&d!=="unstable_legacy-backwards"&&(ba[x]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',r));w:if((d==="forwards"||d==="backwards"||d==="unstable_legacy-backwards")&&a!==void 0&&a!==null&&a!==!1)if(ow(a)){for(x=0;x<a.length;x++)if(!O9(a[x],x))break w}else if(x=h0(a),typeof x==="function"){if(x=x.call(a))for(var G=x.next(),X=0;!G.done;G=x.next()){if(!O9(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?',d);if(sw(w,g,a,v),I0?(fg(),a=hd):a=0,!b&&w!==null&&(w.flags&128)!==0)w:for(w=g.child;w!==null;){if(w.tag===13)w.memoizedState!==null&&Wz(w,v,g);else if(w.tag===19)Wz(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(d){case"forwards":v=g.child;for(d=null;v!==null;)w=v.alternate,w!==null&&Sr(w)===null&&(d=v),v=v.sibling;v=d,v===null?(d=g.child,g.child=null):(d=v.sibling,v.sibling=null),U3(g,!1,d,v,r,a);break;case"backwards":case"unstable_legacy-backwards":v=null,d=g.child;for(g.child=null;d!==null;){if(w=d.alternate,w!==null&&Sr(w)===null){g.child=d;break}w=d.sibling,d.sibling=v,v=d,d=w}U3(g,!0,v,null,r,a);break;case"together":U3(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),Q1=-1,Xv|=g.lanes,(v&g.childLanes)===0)if(w!==null){if(h5(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=dg(w,w.pendingProps),g.child=v;for(v.return=g;w.sibling!==null;)w=w.sibling,v=v.sibling=dg(w,w.pendingProps),v.return=g;v.sibling=null}return g.child}function J3(w,g){if((w.lanes&g)!==0)return!0;return w=w.dependencies,w!==null&&Fr(w)?!0:!1}function U$(w,g,v){switch(g.tag){case 3:y(g,g.stateNode.containerInfo),cg(g,mw,w.memoizedState.cache),cv();break;case 27:case 5:K0(g);break;case 4:y(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,T6(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 Jz(w,g,v);return yg(g),w=zg(w,g,v),w!==null?w.sibling:null}yg(g);break;case 19:var d=(w.flags&128)!==0;if(b=(v&g.childLanes)!==0,b||(h5(w,g,v,!1),b=(v&g.childLanes)!==0),d){if(b)return kz(w,g,v);g.flags|=128}if(d=g.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),J0(hw,hw.current,g),b)break;else return null;case 22:return g.lanes=0,Yz(w,g,v,g.pendingProps);case 24:cg(g,mw,w.memoizedState.cache)}return zg(w,g,v)}function W3(w,g,v){if(g._debugNeedsRemount&&w!==null){v=Q6(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 d=b.child;if(d===null)throw Error("Expected parent to have a child.");for(;d.sibling!==g;)if(d=d.sibling,d===null)throw Error("Expected to find the previous sibling.");d.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)fw=!0;else{if(!J3(w,v)&&(g.flags&128)===0)return fw=!1,U$(w,g,v);fw=(w.flags&131072)!==0?!0:!1}else{if(fw=!1,b=I0)fg(),b=(g.flags&1048576)!==0;b&&(b=g.index,fg(),a9(g,hd,b))}switch(g.lanes=0,g.tag){case 16:w:if(b=g.pendingProps,w=ig(g.elementType),g.type=w,typeof w==="function")$6(w)?(b=Vv(w,b),g.tag=1,g.type=w=Cv(w),g=Hz(null,g,w,b,v)):(g.tag=0,Y3(g,w),g.type=w=Cv(w),g=_3(null,g,w,b,v));else{if(w!==void 0&&w!==null){if(d=w.$$typeof,d===Hd){g.tag=11,g.type=w=B6(w),g=Zz(null,g,w,b,v);break w}else if(d===M4){g.tag=14,g=Xz(null,g,w,b,v);break w}}throw g="",w!==null&&typeof w==="object"&&w.$$typeof===I1&&(g=" Did you wrap a component in React.lazy() more than once?"),v=B0(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 _3(w,g,g.type,g.pendingProps,v);case 1:return b=g.type,d=Vv(b,g.pendingProps),Hz(w,g,b,d,v);case 3:w:{if(y(g,g.stateNode.containerInfo),w===null)throw Error("Should have a current fiber. This is a bug in React.");b=g.pendingProps;var r=g.memoizedState;d=r.element,N6(w,g),tb(g,b,null,v);var a=g.memoizedState;if(b=a.cache,cg(g,mw,b),b!==r.cache&&A6(g,[mw],v,!0),pb(),b=a.element,r.isDehydrated)if(r={element:b,isDehydrated:!1,cache:a.cache},g.updateQueue.baseState=r,g.memoizedState=r,g.flags&256){g=Uz(w,g,b,v);break w}else if(b!==d){d=N1(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),g),Vb(d),g=Uz(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}Hw=f1(w.firstChild),g1=g,I0=!0,vv=null,u2=!1,P1=null,r2=!0,v=TX(g,null,b,v);for(g.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling}else{if(cv(),b===d){g=zg(w,g,v);break w}sw(w,g,b,v)}g=g.child}return g;case 26:return d4(w,g),w===null?(v=jG(g.type,null,g.pendingProps,null))?g.memoizedState=v:I0||(v=g.type,w=g.pendingProps,b=bw(ng.current),b=$4(b).createElement(v),b[w1]=g,b[Y1]=w,ew(b,v,w),G0(b),g.stateNode=b):g.memoizedState=jG(g.type,w.memoizedProps,g.pendingProps,w.memoizedState),null;case 27:return K0(g),w===null&&I0&&(b=bw(ng.current),d=a0(),b=g.stateNode=VG(g.type,g.pendingProps,b,d,!1),u2||(d=FG(b,g.type,g.pendingProps,d),d!==null&&(Iv(g,0).serverProps=d)),g1=g,r2=!0,d=Hw,Dg(g.type)?(Kx=d,Hw=f1(b.firstChild)):Hw=d),sw(w,g,g.pendingProps.children,v),d4(w,g),w===null&&(g.flags|=4194304),g.child;case 5:return w===null&&I0&&(r=a0(),b=a6(g.type,r.ancestorInfo),d=Hw,(a=!d)||(a=aQ(d,g.type,g.pendingProps,r2),a!==null?(g.stateNode=a,u2||(r=FG(a,g.type,g.pendingProps,r),r!==null&&(Iv(g,0).serverProps=r)),g1=g,Hw=f1(a.firstChild),r2=!1,r=!0):r=!1,a=!r),a&&(b&&hr(g,d),Ig(g))),K0(g),d=g.type,r=g.pendingProps,a=w!==null?w.memoizedProps:null,b=r.children,E3(d,r)?b=null:a!==null&&E3(d,a)&&(g.flags|=32),g.memoizedState!==null&&(d=f6(w,g,Z$,null,null,v),Gr._currentValue=d),d4(w,g),sw(w,g,b,v),g.child;case 6:return w===null&&I0&&(v=g.pendingProps,w=a0(),b=w.ancestorInfo.current,v=b!=null?Wr(v,b.tag,w.ancestorInfo.implicitRootScope):!0,w=Hw,(b=!w)||(b=xQ(w,g.pendingProps,r2),b!==null?(g.stateNode=b,g1=g,Hw=null,b=!0):b=!1,b=!b),b&&(v&&hr(g,w),Ig(g))),null;case 13:return Jz(w,g,v);case 4:return y(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 Zz(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,d=g.pendingProps,r=d.value,"value"in d||a_||(a_=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),cg(g,b,r),sw(w,g,d.children,v),g.child;case 9:return d=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),d=Jw(d),b=j8(b,d,void 0),g.flags|=1,sw(w,g,b,v),g.child;case 14:return Xz(w,g,g.type,g.pendingProps,v);case 15:return _z(w,g,g.type,g.pendingProps,v);case 19:return kz(w,g,v);case 31:return H$(w,g,v);case 22:return Yz(w,g,v,g.pendingProps);case 24:return iv(g),b=Jw(mw),w===null?(d=K6(),d===null&&(d=zw,r=M6(),d.pooledCache=r,Pv(r),r!==null&&(d.pooledCacheLanes|=v),d=r),g.memoizedState={parent:b,cache:d},h6(g),cg(g,mw,d)):((w.lanes&v)!==0&&(N6(w,g),tb(g,null,null,v),pb()),d=w.memoizedState,r=g.memoizedState,d.parent!==b?(d={parent:b,cache:b},g.memoizedState=d,g.lanes===0&&(g.memoizedState=g.updateQueue.baseState=d),cg(g,mw,b)):(b=r.cache,cg(g,mw,b),b!==d.cache&&A6(g,[mw],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 k3(w,g,v,b,d){if(g=(w.mode&cH)!==Y0)g=!1;if(g){if(w.flags|=16777216,(d&335544128)===d)if(w.stateNode.complete)w.flags|=8192;else if(wG())w.flags|=8192;else throw v5=t4,u8}else w.flags&=-16777217}function qz(w,g){if(g.type!=="stylesheet"||(g.state.loading&Z2)!==B5)w.flags&=-16777217;else if(w.flags|=16777216,!tG(g))if(wG())w.flags|=8192;else throw v5=t4,u8}function a4(w,g){g!==null&&(w.flags|=4),w.flags&16384&&(g=w.tag!==22?A5():536870912,w.lanes|=g,z5|=g)}function vd(w,g){if(!I0)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 Xw(w){var g=w.alternate!==null&&w.alternate.child===w.child,v=0,b=0;if(g)if((w.mode&M0)!==Y0){for(var{selfBaseDuration:d,child:r}=w;r!==null;)v|=r.lanes|r.childLanes,b|=r.subtreeFlags&65011712,b|=r.flags&65011712,d+=r.treeBaseDuration,r=r.sibling;w.treeBaseDuration=d}else for(d=w.child;d!==null;)v|=d.lanes|d.childLanes,b|=d.subtreeFlags&65011712,b|=d.flags&65011712,d.return=w,d=d.sibling;else if((w.mode&M0)!==Y0){d=w.actualDuration,r=w.selfBaseDuration;for(var a=w.child;a!==null;)v|=a.lanes|a.childLanes,b|=a.subtreeFlags,b|=a.flags,d+=a.actualDuration,r+=a.treeBaseDuration,a=a.sibling;w.actualDuration=d,w.treeBaseDuration=r}else for(d=w.child;d!==null;)v|=d.lanes|d.childLanes,b|=d.subtreeFlags,b|=d.flags,d.return=w,d=d.sibling;return w.subtreeFlags|=b,w.childLanes=v,g}function J$(w,g,v){var b=g.pendingProps;switch(W6(g),g.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xw(g),null;case 1:return Xw(g),null;case 3:if(v=g.stateNode,b=null,w!==null&&(b=w.memoizedState.cache),g.memoizedState.cache!==b&&(g.flags|=2048),ag(mw,g),e(g),v.pendingContext&&(v.context=v.pendingContext,v.pendingContext=null),w===null||w.child===null)R5(g)?(q6(),Gg(g)):w===null||w.memoizedState.isDehydrated&&(g.flags&256)===0||(g.flags|=1024,k6());return Xw(g),null;case 26:var{type:d,memoizedState:r}=g;return w===null?(Gg(g),r!==null?(Xw(g),qz(g,r)):(Xw(g),k3(g,d,null,b,v))):r?r!==w.memoizedState?(Gg(g),Xw(g),qz(g,r)):(Xw(g),g.flags&=-16777217):(w=w.memoizedProps,w!==b&&Gg(g),Xw(g),k3(g,d,w,b,v)),null;case 27:if(f0(g),v=bw(ng.current),d=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 Xw(g),null}w=a0(),R5(g)?Z9(g,w):(w=VG(d,b,v,w,!0),g.stateNode=w,Gg(g))}return Xw(g),null;case 5:if(f0(g),d=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 Xw(g),null}var a=a0();if(R5(g))Z9(g,a);else{switch(r=bw(ng.current),a6(d,a.ancestorInfo),a=a.context,r=$4(r),a){case Mb:r=r.createElementNS(n5,d);break;case la:r=r.createElementNS(F4,d);break;default:switch(d){case"svg":r=r.createElementNS(n5,d);break;case"math":r=r.createElementNS(F4,d);break;case"script":r=r.createElement("div"),r.innerHTML="<script></script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof b.is==="string"?r.createElement("select",{is:b.is}):r.createElement("select"),b.multiple?r.multiple=!0:b.size&&(r.size=b.size);break;default:r=typeof b.is==="string"?r.createElement(d,{is:b.is}):r.createElement(d),d.indexOf("-")===-1&&(d!==d.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",d),Object.prototype.toString.call(r)!=="[object HTMLUnknownElement]"||$2.call(h_,d)||(h_[d]=!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.",d)))}}r[w1]=g,r[Y1]=b;w:for(a=g.child;a!==null;){if(a.tag===5||a.tag===6)r.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=r;w:switch(ew(r,d,b),d){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 Xw(g),k3(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=bw(ng.current),v=a0(),R5(g)){if(w=g.stateNode,v=g.memoizedProps,d=!u2,b=null,r=g1,r!==null)switch(r.tag){case 3:d&&(d=yG(w,v,b),d!==null&&(Iv(g,0).serverProps=d));break;case 27:case 5:b=r.memoizedProps,d&&(d=yG(w,v,b),d!==null&&(Iv(g,0).serverProps=d))}w[w1]=g,w=w.nodeValue===v||b!==null&&b.suppressHydrationWarning===!0||LG(w.nodeValue,v)?!0:!1,w||Ig(g,!0)}else d=v.ancestorInfo.current,d!=null&&Wr(b,d.tag,v.ancestorInfo.implicitRootScope),w=$4(w).createTextNode(b),w[w1]=g,g.stateNode=w}return Xw(g),null;case 31:if(v=g.memoizedState,w===null||w.memoizedState!==null){if(b=R5(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,Xw(g),(g.mode&M0)!==Y0&&v!==null&&(w=g.child,w!==null&&(g.treeBaseDuration-=w.treeBaseDuration))}else q6(),cv(),(g.flags&128)===0&&(v=g.memoizedState=null),g.flags|=4,Xw(g),(g.mode&M0)!==Y0&&v!==null&&(w=g.child,w!==null&&(g.treeBaseDuration-=w.treeBaseDuration));w=!1}else v=k6(),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 Xw(g),null;case 13:if(b=g.memoizedState,w===null||w.memoizedState!==null&&w.memoizedState.dehydrated!==null){if(d=b,r=R5(g),d!==null&&d.dehydrated!==null){if(w===null){if(!r)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(r=g.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");r[w1]=g,Xw(g),(g.mode&M0)!==Y0&&d!==null&&(d=g.child,d!==null&&(g.treeBaseDuration-=d.treeBaseDuration))}else q6(),cv(),(g.flags&128)===0&&(d=g.memoizedState=null),g.flags|=4,Xw(g),(g.mode&M0)!==Y0&&d!==null&&(d=g.child,d!==null&&(g.treeBaseDuration-=d.treeBaseDuration));d=!1}else d=k6(),w!==null&&w.memoizedState!==null&&(w.memoizedState.hydrationErrors=d),d=!0;if(!d){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&M0)!==Y0&&Db(g),g;return v=b!==null,w=w!==null&&w.memoizedState!==null,v&&(b=g.child,d=null,b.alternate!==null&&b.alternate.memoizedState!==null&&b.alternate.memoizedState.cachePool!==null&&(d=b.alternate.memoizedState.cachePool.pool),r=null,b.memoizedState!==null&&b.memoizedState.cachePool!==null&&(r=b.memoizedState.cachePool.pool),r!==d&&(b.flags|=2048)),v!==w&&v&&(g.child.flags|=8192),a4(g,g.updateQueue),Xw(g),(g.mode&M0)!==Y0&&v&&(w=g.child,w!==null&&(g.treeBaseDuration-=w.treeBaseDuration)),null;case 4:return e(g),w===null&&c3(g.stateNode.containerInfo),Xw(g),null;case 10:return ag(g.type,g),Xw(g),null;case 19:if(N0(hw,g),b=g.memoizedState,b===null)return Xw(g),null;if(d=(g.flags&128)!==0,r=b.rendering,r===null)if(d)vd(b,!1);else{if(lw!==Ag||w!==null&&(w.flags&128)!==0)for(w=g.child;w!==null;){if(r=Sr(w),r!==null){g.flags|=128,vd(b,!1),w=r.updateQueue,g.updateQueue=w,a4(g,w),g.subtreeFlags=0,w=v;for(v=g.child;v!==null;)d9(v,w),v=v.sibling;return J0(hw,hw.current&Yb|Ed,g),I0&&rg(g,b.treeForkCount),g.child}w=w.sibling}b.tail!==null&&Ew()>Za&&(g.flags|=128,d=!0,vd(b,!1),g.lanes=4194304)}else{if(!d)if(w=Sr(r),w!==null){if(g.flags|=128,d=!0,w=w.updateQueue,g.updateQueue=w,a4(g,w),vd(b,!0),b.tail===null&&b.tailMode==="hidden"&&!r.alternate&&!I0)return Xw(g),null}else 2*Ew()-b.renderingStartTime>Za&&v!==536870912&&(g.flags|=128,d=!0,vd(b,!1),g.lanes=4194304);b.isBackwards?(r.sibling=g.child,g.child=r):(w=b.last,w!==null?w.sibling=r:g.child=r,b.last=r)}if(b.tail!==null)return w=b.tail,b.rendering=w,b.tail=w.sibling,b.renderingStartTime=Ew(),w.sibling=null,v=hw.current,v=d?v&Yb|Ed:v&Yb,J0(hw,v,g),I0&&rg(g,b.treeForkCount),w;return Xw(g),null;case 22:case 23:return T1(g),m6(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&&(Xw(g),g.subtreeFlags&6&&(g.flags|=8192)):Xw(g),v=g.updateQueue,v!==null&&a4(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&&N0(w5,g),null;case 24:return v=null,w!==null&&(v=w.memoizedState.cache),g.memoizedState.cache!==v&&(g.flags|=2048),ag(mw,g),Xw(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 W$(w,g){switch(W6(g),g.tag){case 1:return w=g.flags,w&65536?(g.flags=w&-65537|128,(g.mode&M0)!==Y0&&Db(g),g):null;case 3:return ag(mw,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 f0(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&M0)!==Y0&&Db(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&M0)!==Y0&&Db(g),g):null;case 19:return N0(hw,g),null;case 4:return e(g),null;case 10:return ag(g.type,g),null;case 22:case 23:return T1(g),m6(g),w!==null&&N0(w5,g),w=g.flags,w&65536?(g.flags=w&-65537|128,(g.mode&M0)!==Y0&&Db(g),g):null;case 24:return ag(mw,g),null;case 25:return null;default:return null}}function lz(w,g){switch(W6(g),g.tag){case 3:ag(mw,g),e(g);break;case 26:case 27:case 5:f0(g);break;case 4:e(g);break;case 31:g.memoizedState!==null&&T1(g);break;case 13:T1(g);break;case 19:N0(hw,g);break;case 10:ag(g.type,g);break;case 22:case 23:T1(g),m6(g),w!==null&&N0(w5,g);break;case 24:ag(mw,g)}}function C2(w){return(w.mode&M0)!==Y0}function Az(w,g){C2(w)?(T2(),bd(g,w),m2()):bd(g,w)}function q3(w,g,v){C2(w)?(T2(),C5(v,w,g),m2()):C5(v,w,g)}function bd(w,g){try{var v=g.updateQueue,b=v!==null?v.lastEffect:null;if(b!==null){var d=b.next;v=d;do{if((v.tag&w)===w&&(b=void 0,(w&H1)!==e4&&(qb=!0),b=s(g,SH,v),(w&H1)!==e4&&(qb=!1),b!==void 0&&typeof b!=="function")){var r=void 0;r=(v.tag&y1)!==0?"useLayoutEffect":(v.tag&H1)!==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 `+r+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
143
-
144
- `+r+`(() => {
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,s(g,function(x,G){console.error("%s must not return anything besides a function, which is used for clean-up.%s",x,G)},r,a)}v=v.next}while(v!==d)}}catch(x){p0(g,g.return,x)}}function C5(w,g,v){try{var b=g.updateQueue,d=b!==null?b.lastEffect:null;if(d!==null){var r=d.next;b=r;do{if((b.tag&w)===w){var a=b.inst,x=a.destroy;x!==void 0&&(a.destroy=void 0,(w&H1)!==e4&&(qb=!0),d=g,s(d,VH,d,v,x),(w&H1)!==e4&&(qb=!1))}b=b.next}while(b!==r)}}catch(G){p0(g,g.return,G)}}function Mz(w,g){C2(w)?(T2(),bd(g,w),m2()):bd(g,w)}function l3(w,g,v){C2(w)?(T2(),C5(v,w,g),m2()):C5(v,w,g)}function Oz(w){var g=w.updateQueue;if(g!==null){var v=w.stateNode;w.type.defaultProps||"ref"in w.memoizedProps||Hb||(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.",E(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.",E(w)||"instance"));try{s(w,K9,g,v)}catch(b){p0(w,w.return,b)}}}function k$(w,g,v){return w.getSnapshotBeforeUpdate(g,v)}function q$(w,g){var{memoizedProps:v,memoizedState:b}=g;g=w.stateNode,w.type.defaultProps||"ref"in w.memoizedProps||Hb||(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.",E(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.",E(w)||"instance"));try{var d=Vv(w.type,v),r=s(w,k$,g,d,b);v=x_,r!==void 0||v.has(w.type)||(v.add(w.type),s(w,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",E(w))})),g.__reactInternalSnapshotBeforeUpdate=r}catch(a){p0(w,w.return,a)}}function Lz(w,g,v){v.props=Vv(w.type,w.memoizedProps),v.state=w.memoizedState,C2(w)?(T2(),s(w,OX,w,g,v),m2()):s(w,OX,w,g,v)}function l$(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(C2(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().",E(w)),g.current=v}}function dd(w,g){try{s(w,l$,w)}catch(v){p0(w,g,v)}}function f2(w,g){var{ref:v,refCleanup:b}=w;if(v!==null)if(typeof b==="function")try{if(C2(w))try{T2(),s(w,b)}finally{m2(w)}else s(w,b)}catch(d){p0(w,g,d)}finally{w.refCleanup=null,w=w.alternate,w!=null&&(w.refCleanup=null)}else if(typeof v==="function")try{if(C2(w))try{T2(),s(w,v,null)}finally{m2(w)}else s(w,v,null)}catch(d){p0(w,g,d)}else v.current=null}function Kz(w,g,v,b){var d=w.memoizedProps,r=d.id,a=d.onCommit;d=d.onRender,g=g===null?"mount":"update",D4&&(g="nested-update"),typeof d==="function"&&d(r,g,w.actualDuration,w.treeBaseDuration,w.actualStartTime,v),typeof a==="function"&&a(r,g,b,v)}function A$(w,g,v,b){var d=w.memoizedProps;w=d.id,d=d.onPostCommit,g=g===null?"mount":"update",D4&&(g="nested-update"),typeof d==="function"&&d(w,g,b,v)}function Rz(w){var{type:g,memoizedProps:v,stateNode:b}=w;try{s(w,u$,b,g,v,w)}catch(d){p0(w,w.return,d)}}function A3(w,g,v){try{s(w,p$,w.stateNode,w.type,v,g,w)}catch(b){p0(w,w.return,b)}}function hz(w){return w.tag===5||w.tag===3||w.tag===26||w.tag===27&&Dg(w.type)||w.tag===4}function M3(w){w:for(;;){for(;w.sibling===null;){if(w.return===null||hz(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 O3(w,g,v){var b=w.tag;if(b===5||b===6)w=w.stateNode,g?(IG(v),(v.nodeType===9?v.body:v.nodeName==="HTML"?v.ownerDocument.body:v).insertBefore(w,g)):(IG(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(O3(w,g,v),w=w.sibling;w!==null;)O3(w,g,v),w=w.sibling}function x4(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(x4(w,g,v),w=w.sibling;w!==null;)x4(w,g,v),w=w.sibling}function M$(w){for(var g,v=w.return;v!==null;){if(hz(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=M3(w),x4(w,v,g);break;case 5:v=g.stateNode,g.flags&32&&(fG(v),g.flags&=-33),g=M3(w),x4(w,g,v);break;case 3:case 4:g=g.stateNode.containerInfo,v=M3(w),O3(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 Nz(w){var{stateNode:g,memoizedProps:v}=w;try{s(w,_Q,w.type,v,g,w)}catch(b){p0(w,w.return,b)}}function Fz(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 O$(w,g){if(w=w.containerInfo,Mx=La,w=u7(w),G6(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:d,focusNode:r}=b;b=b.focusOffset;try{v.nodeType,r.nodeType}catch(j){v=null;break w}var a=0,x=-1,G=-1,X=0,A=0,M=w,W=null;g:for(;;){for(var h;;){if(M!==v||d!==0&&M.nodeType!==3||(x=a+d),M!==r||b!==0&&M.nodeType!==3||(G=a+b),M.nodeType===3&&(a+=M.nodeValue.length),(h=M.firstChild)===null)break;W=M,M=h}for(;;){if(M===w)break g;if(W===v&&++X===d&&(x=a),W===r&&++A===b&&(G=a),(h=M.nextSibling)!==null)break;M=W,W=M.parentNode}M=h}v=x===-1||G===-1?null:{start:x,end:G}}else v=null}v=v||{start:0,end:0}}else v=null;Ox={focusedElem:w,selectionRange:v},La=!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,d=w.flags,w.tag){case 0:if((d&4)!==0&&(w=w.updateQueue,w=w!==null?w.events:null,w!==null))for(v=0;v<w.length;v++)d=w[v],d.ref.impl=d.nextImpl;break;case 11:case 15:break;case 1:(d&1024)!==0&&v!==null&&q$(w,v);break;case 3:if((d&1024)!==0){if(w=w.stateNode.containerInfo,v=w.nodeType,v===9)j3(w);else if(v===1)switch(w.nodeName){case"HEAD":case"HTML":case"BODY":j3(w);break;default:w.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((d&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 mz(w,g,v){var b=F1(),d=R2(),r=N2(),a=F2(),x=v.flags;switch(v.tag){case 0:case 11:case 15:I2(w,v),x&4&&Az(v,y1|z2);break;case 1:if(I2(w,v),x&4)if(w=v.stateNode,g===null)v.type.defaultProps||"ref"in v.memoizedProps||Hb||(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.",E(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.",E(v)||"instance")),C2(v)?(T2(),s(v,D8,v,w),m2()):s(v,D8,v,w);else{var G=Vv(v.type,g.memoizedProps);g=g.memoizedState,v.type.defaultProps||"ref"in v.memoizedProps||Hb||(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.",E(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.",E(v)||"instance")),C2(v)?(T2(),s(v,lX,v,w,G,g,w.__reactInternalSnapshotBeforeUpdate),m2()):s(v,lX,v,w,G,g,w.__reactInternalSnapshotBeforeUpdate)}x&64&&Oz(v),x&512&&dd(v,v.return);break;case 3:if(g=xg(),I2(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{s(v,K9,x,G)}catch(A){p0(v,v.return,A)}}w.effectDuration+=Tr(g);break;case 27:g===null&&x&4&&Nz(v);case 26:case 5:if(I2(w,v),g===null){if(x&4)Rz(v);else if(x&64){w=v.type,g=v.memoizedProps,G=v.stateNode;try{s(v,n$,G,w,g,v)}catch(A){p0(v,v.return,A)}}}x&512&&dd(v,v.return);break;case 12:if(x&4){x=xg(),I2(w,v),w=v.stateNode,w.effectDuration+=jb(x);try{s(v,Kz,v,g,bv,w.effectDuration)}catch(A){p0(v,v.return,A)}}else I2(w,v);break;case 31:I2(w,v),x&4&&fz(w,v);break;case 13:I2(w,v),x&4&&Iz(w,v),x&64&&(w=v.memoizedState,w!==null&&(w=w.dehydrated,w!==null&&(x=C$.bind(null,v),zQ(w,x))));break;case 22:if(x=v.memoizedState!==null||lg,!x){g=g!==null&&g.memoizedState!==null||Iw,G=lg;var X=Iw;lg=x,(Iw=g)&&!X?(c2(w,v,(v.subtreeFlags&8772)!==0),(v.mode&M0)!==Y0&&0<=Z0&&0<=X0&&0.05<X0-Z0&&Ar(v,Z0,X0)):I2(w,v),lg=G,Iw=X}break;case 30:break;default:I2(w,v)}(v.mode&M0)!==Y0&&0<=Z0&&0<=X0&&((Mw||0.05<qw)&&L2(v,Z0,X0,qw,Ww),v.alternate===null&&v.return!==null&&v.return.alternate!==null&&0.05<X0-Z0&&(Fz(v.return.alternate,v.return)||O2(v,Z0,X0,"Mount"))),m1(b),h2(d),Ww=r,Mw=a}function Tz(w){var g=w.alternate;g!==null&&(w.alternate=null,Tz(g)),w.child=null,w.deletions=null,w.sibling=null,w.tag===5&&(g=w.stateNode,g!==null&&u(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;)Cz(w,g,v),v=v.sibling}function Cz(w,g,v){if(a1&&typeof a1.onCommitFiberUnmount==="function")try{a1.onCommitFiberUnmount(D5,v)}catch(X){V2||(V2=!0,console.error("React instrumentation encountered an error: %o",X))}var b=F1(),d=R2(),r=N2(),a=F2();switch(v.tag){case 26:Iw||f2(v,g),Zg(w,g,v),v.memoizedState?v.memoizedState.count--:v.stateNode&&(w=v.stateNode,w.parentNode.removeChild(w));break;case 27:Iw||f2(v,g);var x=cw,G=A1;Dg(v.type)&&(cw=v.stateNode,A1=!1),Zg(w,g,v),s(v,Yd,v.stateNode),cw=x,A1=G;break;case 5:Iw||f2(v,g);case 6:if(x=cw,G=A1,cw=null,Zg(w,g,v),cw=x,A1=G,cw!==null)if(A1)try{s(v,e$,cw,v.stateNode)}catch(X){p0(v,g,X)}else try{s(v,s$,cw,v.stateNode)}catch(X){p0(v,g,X)}break;case 18:cw!==null&&(A1?(w=cw,cG(w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w,v.stateNode),S5(w)):cG(cw,v.stateNode));break;case 4:x=cw,G=A1,cw=v.stateNode.containerInfo,A1=!0,Zg(w,g,v),cw=x,A1=G;break;case 0:case 11:case 14:case 15:C5(H1,v,g),Iw||q3(v,g,y1),Zg(w,g,v);break;case 1:Iw||(f2(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:Iw=(x=Iw)||v.memoizedState!==null,Zg(w,g,v),Iw=x;break;default:Zg(w,g,v)}(v.mode&M0)!==Y0&&0<=Z0&&0<=X0&&(Mw||0.05<qw)&&L2(v,Z0,X0,qw,Ww),m1(b),h2(d),Ww=r,Mw=a}function fz(w,g){if(g.memoizedState===null&&(w=g.alternate,w!==null&&(w=w.memoizedState,w!==null))){w=w.dehydrated;try{s(g,ZQ,w)}catch(v){p0(g,g.return,v)}}}function Iz(w,g){if(g.memoizedState===null&&(w=g.alternate,w!==null&&(w=w.memoizedState,w!==null&&(w=w.dehydrated,w!==null))))try{s(g,XQ,w)}catch(v){p0(g,g.return,v)}}function L$(w){switch(w.tag){case 31:case 13:case 19:var g=w.stateNode;return g===null&&(g=w.stateNode=new z_),g;case 22:return w=w.stateNode,g=w._retryCache,g===null&&(g=w._retryCache=new z_),g;default:throw Error("Unexpected Suspense handler tag ("+w.tag+"). This is a bug in React.")}}function z4(w,g){var v=L$(w);g.forEach(function(b){if(!v.has(b)){if(v.add(b),E2)if(Ub!==null&&Jb!==null)zd(Jb,Ub);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var d=f$.bind(null,w,b);b.then(d,d)}})}function q1(w,g){var v=g.deletions;if(v!==null)for(var b=0;b<v.length;b++){var d=w,r=g,a=v[b],x=F1(),G=r;w:for(;G!==null;){switch(G.tag){case 27:if(Dg(G.type)){cw=G.stateNode,A1=!1;break w}break;case 5:cw=G.stateNode,A1=!1;break w;case 3:case 4:cw=G.stateNode.containerInfo,A1=!0;break w}G=G.return}if(cw===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Cz(d,r,a),cw=null,A1=!1,(a.mode&M0)!==Y0&&0<=Z0&&0<=X0&&0.05<X0-Z0&&O2(a,Z0,X0,"Unmount"),m1(x),d=a,r=d.alternate,r!==null&&(r.return=null),d.return=null}if(g.subtreeFlags&13886)for(g=g.child;g!==null;)cz(g,w),g=g.sibling}function cz(w,g){var v=F1(),b=R2(),d=N2(),r=F2(),a=w.alternate,x=w.flags;switch(w.tag){case 0:case 11:case 14:case 15:q1(g,w),l1(w),x&4&&(C5(H1|z2,w,w.return),bd(H1|z2,w),q3(w,w.return,y1|z2));break;case 1:if(q1(g,w),l1(w),x&512&&(Iw||a===null||f2(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=W2,q1(g,w),l1(w),x&512&&(Iw||a===null||f2(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[Wd]||X[w1]||X.namespaceURI===n5||X.hasAttribute("itemprop"))X=G.createElement(x),G.head.insertBefore(X,G.querySelector("head > title"));ew(X,x,a),X[w1]=w,G0(X),x=X;break w;case"link":var A=nG("link","href",G).get(x+(a.href||""));if(A){for(var M=0;M<A.length;M++)if(X=A[M],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)){A.splice(M,1);break g}}X=G.createElement(x),ew(X,x,a),G.head.appendChild(X);break;case"meta":if(A=nG("meta","content",G).get(x+(a.content||""))){for(M=0;M<A.length;M++)if(X=A[M],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)){A.splice(M,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,G0(X),x=X}w.stateNode=x}else pG(G,w.type,w.stateNode);else w.stateNode=uG(G,x,w.memoizedProps);else X!==x?(X===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):X.count--,x===null?pG(G,w.type,w.stateNode):uG(G,x,w.memoizedProps)):x===null&&w.stateNode!==null&&A3(w,w.memoizedProps,a.memoizedProps)}break;case 27:q1(g,w),l1(w),x&512&&(Iw||a===null||f2(a,a.return)),a!==null&&x&4&&A3(w,w.memoizedProps,a.memoizedProps);break;case 5:if(q1(g,w),l1(w),x&512&&(Iw||a===null||f2(a,a.return)),w.flags&32){G=w.stateNode;try{s(w,fG,G)}catch(t){p0(w,w.return,t)}}x&4&&w.stateNode!=null&&(G=w.memoizedProps,A3(w,G,a!==null?a.memoizedProps:G)),x&1024&&(ax=!0,w.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(q1(g,w),l1(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{s(w,t$,G,a,x)}catch(t){p0(w,w.return,t)}}break;case 3:if(G=xg(),Aa=null,X=W2,W2=Q4(g.containerInfo),q1(g,w),W2=X,l1(w),x&4&&a!==null&&a.memoizedState.isDehydrated)try{s(w,GQ,g.containerInfo)}catch(t){p0(w,w.return,t)}ax&&(ax=!1,iz(w)),g.effectDuration+=Tr(G);break;case 4:x=W2,W2=Q4(w.stateNode.containerInfo),q1(g,w),l1(w),W2=x;break;case 12:x=xg(),q1(g,w),l1(w),w.stateNode.effectDuration+=jb(x);break;case 31:q1(g,w),l1(w),x&4&&(x=w.updateQueue,x!==null&&(w.updateQueue=null,z4(w,x)));break;case 13:q1(g,w),l1(w),w.child.flags&8192&&w.memoizedState!==null!==(a!==null&&a.memoizedState!==null)&&(Ga=Ew()),x&4&&(x=w.updateQueue,x!==null&&(w.updateQueue=null,z4(w,x)));break;case 22:G=w.memoizedState!==null;var W=a!==null&&a.memoizedState!==null,h=lg,j=Iw;if(lg=h||G,Iw=j||W,q1(g,w),Iw=j,lg=h,W&&!G&&!h&&!j&&(w.mode&M0)!==Y0&&0<=Z0&&0<=X0&&0.05<X0-Z0&&Ar(w,Z0,X0),l1(w),x&8192)w:for(g=w.stateNode,g._visibility=G?g._visibility&~Rd:g._visibility|Rd,!G||a===null||W||lg||Iw||(Ev(w),(w.mode&M0)!==Y0&&0<=Z0&&0<=X0&&0.05<X0-Z0&&O2(w,Z0,X0,"Disconnect")),a=null,g=w;;){if(g.tag===5||g.tag===26){if(a===null){W=a=g;try{X=W.stateNode,G?s(W,gQ,X):s(W,dQ,W.stateNode,W.memoizedProps)}catch(t){p0(W,W.return,t)}}}else if(g.tag===6){if(a===null){W=g;try{A=W.stateNode,G?s(W,vQ,A):s(W,rQ,A,W.memoizedProps)}catch(t){p0(W,W.return,t)}}}else if(g.tag===18){if(a===null){W=g;try{M=W.stateNode,G?s(W,wQ,M):s(W,bQ,W.stateNode)}catch(t){p0(W,W.return,t)}}}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,z4(w,a))));break;case 19:q1(g,w),l1(w),x&4&&(x=w.updateQueue,x!==null&&(w.updateQueue=null,z4(w,x)));break;case 30:break;case 21:break;default:q1(g,w),l1(w)}(w.mode&M0)!==Y0&&0<=Z0&&0<=X0&&((Mw||0.05<qw)&&L2(w,Z0,X0,qw,Ww),w.alternate===null&&w.return!==null&&w.return.alternate!==null&&0.05<X0-Z0&&(Fz(w.return.alternate,w.return)||O2(w,Z0,X0,"Mount"))),m1(v),h2(b),Ww=d,Mw=r}function l1(w){var g=w.flags;if(g&2){try{s(w,M$,w)}catch(v){p0(w,w.return,v)}w.flags&=-3}g&4096&&(w.flags&=-4097)}function iz(w){if(w.subtreeFlags&1024)for(w=w.child;w!==null;){var g=w;iz(g),g.tag===5&&g.flags&1024&&g.stateNode.reset(),w=w.sibling}}function I2(w,g){if(g.subtreeFlags&8772)for(g=g.child;g!==null;)mz(w,g.alternate,g),g=g.sibling}function Pz(w){var g=F1(),v=R2(),b=N2(),d=F2();switch(w.tag){case 0:case 11:case 14:case 15:q3(w,w.return,y1),Ev(w);break;case 1:f2(w,w.return);var r=w.stateNode;typeof r.componentWillUnmount==="function"&&Lz(w,w.return,r),Ev(w);break;case 27:s(w,Yd,w.stateNode);case 26:case 5:f2(w,w.return),Ev(w);break;case 22:w.memoizedState===null&&Ev(w);break;case 30:Ev(w);break;default:Ev(w)}(w.mode&M0)!==Y0&&0<=Z0&&0<=X0&&(Mw||0.05<qw)&&L2(w,Z0,X0,qw,Ww),m1(g),h2(v),Ww=b,Mw=d}function Ev(w){for(w=w.child;w!==null;)Pz(w),w=w.sibling}function oz(w,g,v,b){var d=F1(),r=R2(),a=N2(),x=F2(),G=v.flags;switch(v.tag){case 0:case 11:case 15:c2(w,v,b),Az(v,y1);break;case 1:if(c2(w,v,b),g=v.stateNode,typeof g.componentDidMount==="function"&&s(v,D8,v,g),g=v.updateQueue,g!==null){w=v.stateNode;try{s(v,G$,g,w)}catch(X){p0(v,v.return,X)}}b&&G&64&&Oz(v),dd(v,v.return);break;case 27:Nz(v);case 26:case 5:c2(w,v,b),b&&g===null&&G&4&&Rz(v),dd(v,v.return);break;case 12:if(b&&G&4){G=xg(),c2(w,v,b),b=v.stateNode,b.effectDuration+=jb(G);try{s(v,Kz,v,g,bv,b.effectDuration)}catch(X){p0(v,v.return,X)}}else c2(w,v,b);break;case 31:c2(w,v,b),b&&G&4&&fz(w,v);break;case 13:c2(w,v,b),b&&G&4&&Iz(w,v);break;case 22:v.memoizedState===null&&c2(w,v,b),dd(v,v.return);break;case 30:break;default:c2(w,v,b)}(v.mode&M0)!==Y0&&0<=Z0&&0<=X0&&(Mw||0.05<qw)&&L2(v,Z0,X0,qw,Ww),m1(d),h2(r),Ww=a,Mw=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 L3(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&&Pv(w),v!=null&&Eb(v))}function K3(w,g){w=null,g.alternate!==null&&(w=g.alternate.memoizedState.cache),g=g.memoizedState.cache,g!==w&&(Pv(g),w!=null&&Eb(w))}function B2(w,g,v,b,d){if(g.subtreeFlags&10256||g.actualDuration!==0&&(g.alternate===null||g.alternate.child!==g.child))for(g=g.child;g!==null;){var r=g.sibling;yz(w,g,v,b,r!==null?r.actualStartTime:d),g=r}}function yz(w,g,v,b,d){var r=F1(),a=R2(),x=N2(),G=F2(),X=eg,A=g.flags;switch(g.tag){case 0:case 11:case 15:(g.mode&M0)!==Y0&&0<g.actualStartTime&&(g.flags&1)!==0&&Mr(g,g.actualStartTime,d,yw,v),B2(w,g,v,b,d),A&2048&&Mz(g,U1|z2);break;case 1:(g.mode&M0)!==Y0&&0<g.actualStartTime&&((g.flags&128)!==0?X6(g,g.actualStartTime,d,[]):(g.flags&1)!==0&&Mr(g,g.actualStartTime,d,yw,v)),B2(w,g,v,b,d);break;case 3:var M=xg(),W=yw;yw=g.alternate!==null&&g.alternate.memoizedState.isDehydrated&&(g.flags&256)===0,B2(w,g,v,b,d),yw=W,A&2048&&(v=null,g.alternate!==null&&(v=g.alternate.memoizedState.cache),b=g.memoizedState.cache,b!==v&&(Pv(b),v!=null&&Eb(v))),w.passiveEffectDuration+=Tr(M);break;case 12:if(A&2048){A=xg(),B2(w,g,v,b,d),w=g.stateNode,w.passiveEffectDuration+=jb(A);try{s(g,A$,g,g.alternate,bv,w.passiveEffectDuration)}catch(h){p0(g,g.return,h)}}else B2(w,g,v,b,d);break;case 31:A=yw,M=g.alternate!==null?g.alternate.memoizedState:null,W=g.memoizedState,M!==null&&W===null?(W=g.deletions,W!==null&&0<W.length&&W[0].tag===18?(yw=!1,M=M.hydrationErrors,M!==null&&X6(g,g.actualStartTime,d,M)):yw=!0):yw=!1,B2(w,g,v,b,d),yw=A;break;case 13:A=yw,M=g.alternate!==null?g.alternate.memoizedState:null,W=g.memoizedState,M===null||M.dehydrated===null||W!==null&&W.dehydrated!==null?yw=!1:(W=g.deletions,W!==null&&0<W.length&&W[0].tag===18?(yw=!1,M=M.hydrationErrors,M!==null&&X6(g,g.actualStartTime,d,M)):yw=!0),B2(w,g,v,b,d),yw=A;break;case 23:break;case 22:W=g.stateNode,M=g.alternate,g.memoizedState!==null?W._visibility&Yg?B2(w,g,v,b,d):rd(w,g,v,b,d):W._visibility&Yg?B2(w,g,v,b,d):(W._visibility|=Yg,f5(w,g,v,b,(g.subtreeFlags&10256)!==0||g.actualDuration!==0&&(g.alternate===null||g.alternate.child!==g.child),d),(g.mode&M0)===Y0||yw||(w=g.actualStartTime,0<=w&&0.05<d-w&&Ar(g,w,d),0<=Z0&&0<=X0&&0.05<X0-Z0&&Ar(g,Z0,X0))),A&2048&&L3(M,g);break;case 24:B2(w,g,v,b,d),A&2048&&K3(g.alternate,g);break;default:B2(w,g,v,b,d)}if((g.mode&M0)!==Y0){if(w=!yw&&g.alternate===null&&g.return!==null&&g.return.alternate!==null)v=g.actualStartTime,0<=v&&0.05<d-v&&O2(g,v,d,"Mount");0<=Z0&&0<=X0&&((Mw||0.05<qw)&&L2(g,Z0,X0,qw,Ww),w&&0.05<X0-Z0&&O2(g,Z0,X0,"Mount"))}m1(r),h2(a),Ww=x,Mw=G,eg=X}function f5(w,g,v,b,d,r){d=d&&((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;Sz(w,g,v,b,d,a!==null?a.actualStartTime:r),g=a}}function Sz(w,g,v,b,d,r){var a=F1(),x=R2(),G=N2(),X=F2(),A=eg;d&&(g.mode&M0)!==Y0&&0<g.actualStartTime&&(g.flags&1)!==0&&Mr(g,g.actualStartTime,r,yw,v);var M=g.flags;switch(g.tag){case 0:case 11:case 15:f5(w,g,v,b,d,r),Mz(g,U1);break;case 23:break;case 22:var W=g.stateNode;g.memoizedState!==null?W._visibility&Yg?f5(w,g,v,b,d,r):rd(w,g,v,b,r):(W._visibility|=Yg,f5(w,g,v,b,d,r)),d&&M&2048&&L3(g.alternate,g);break;case 24:f5(w,g,v,b,d,r),d&&M&2048&&K3(g.alternate,g);break;default:f5(w,g,v,b,d,r)}(g.mode&M0)!==Y0&&0<=Z0&&0<=X0&&(Mw||0.05<qw)&&L2(g,Z0,X0,qw,Ww),m1(a),h2(x),Ww=G,Mw=X,eg=A}function rd(w,g,v,b,d){if(g.subtreeFlags&10256||g.actualDuration!==0&&(g.alternate===null||g.alternate.child!==g.child))for(var r=g.child;r!==null;){g=r.sibling;var a=w,x=v,G=b,X=g!==null?g.actualStartTime:d,A=eg;(r.mode&M0)!==Y0&&0<r.actualStartTime&&(r.flags&1)!==0&&Mr(r,r.actualStartTime,X,yw,x);var M=r.flags;switch(r.tag){case 22:rd(a,r,x,G,X),M&2048&&L3(r.alternate,r);break;case 24:rd(a,r,x,G,X),M&2048&&K3(r.alternate,r);break;default:rd(a,r,x,G,X)}eg=A,r=g}}function I5(w,g,v){if(w.subtreeFlags&nd)for(w=w.child;w!==null;)Vz(w,g,v),w=w.sibling}function Vz(w,g,v){switch(w.tag){case 26:I5(w,g,v),w.flags&nd&&w.memoizedState!==null&&$Q(v,W2,w.memoizedState,w.memoizedProps);break;case 5:I5(w,g,v);break;case 3:case 4:var b=W2;W2=Q4(w.stateNode.containerInfo),I5(w,g,v),W2=b;break;case 22:w.memoizedState===null&&(b=w.alternate,b!==null&&b.memoizedState!==null?(b=nd,nd=16777216,I5(w,g,v),nd=b):I5(w,g,v));break;default:I5(w,g,v)}}function Ez(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 ad(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],d=F1();Dw=b,uz(b,w),(b.mode&M0)!==Y0&&0<=Z0&&0<=X0&&0.05<X0-Z0&&O2(b,Z0,X0,"Unmount"),m1(d)}Ez(w)}if(w.subtreeFlags&10256)for(w=w.child;w!==null;)jz(w),w=w.sibling}function jz(w){var g=F1(),v=R2(),b=N2(),d=F2();switch(w.tag){case 0:case 11:case 15:ad(w),w.flags&2048&&l3(w,w.return,U1|z2);break;case 3:var r=xg();ad(w),w.stateNode.passiveEffectDuration+=Tr(r);break;case 12:r=xg(),ad(w),w.stateNode.passiveEffectDuration+=jb(r);break;case 22:r=w.stateNode,w.memoizedState!==null&&r._visibility&Yg&&(w.return===null||w.return.tag!==13)?(r._visibility&=~Yg,G4(w),(w.mode&M0)!==Y0&&0<=Z0&&0<=X0&&0.05<X0-Z0&&O2(w,Z0,X0,"Disconnect")):ad(w);break;default:ad(w)}(w.mode&M0)!==Y0&&0<=Z0&&0<=X0&&(Mw||0.05<qw)&&L2(w,Z0,X0,qw,Ww),m1(g),h2(v),Mw=d,Ww=b}function G4(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],d=F1();Dw=b,uz(b,w),(b.mode&M0)!==Y0&&0<=Z0&&0<=X0&&0.05<X0-Z0&&O2(b,Z0,X0,"Unmount"),m1(d)}Ez(w)}for(w=w.child;w!==null;)Dz(w),w=w.sibling}function Dz(w){var g=F1(),v=R2(),b=N2(),d=F2();switch(w.tag){case 0:case 11:case 15:l3(w,w.return,U1),G4(w);break;case 22:var r=w.stateNode;r._visibility&Yg&&(r._visibility&=~Yg,G4(w));break;default:G4(w)}(w.mode&M0)!==Y0&&0<=Z0&&0<=X0&&(Mw||0.05<qw)&&L2(w,Z0,X0,qw,Ww),m1(g),h2(v),Mw=d,Ww=b}function uz(w,g){for(;Dw!==null;){var v=Dw,b=v,d=g,r=F1(),a=R2(),x=N2(),G=F2();switch(b.tag){case 0:case 11:case 15:l3(b,d,U1);break;case 23:case 22:b.memoizedState!==null&&b.memoizedState.cachePool!==null&&(d=b.memoizedState.cachePool.pool,d!=null&&Pv(d));break;case 24:Eb(b.memoizedState.cache)}if((b.mode&M0)!==Y0&&0<=Z0&&0<=X0&&(Mw||0.05<qw)&&L2(b,Z0,X0,qw,Ww),m1(r),h2(a),Mw=G,Ww=x,b=v.child,b!==null)b.return=v,Dw=b;else w:for(v=w;Dw!==null;){if(b=Dw,r=b.sibling,a=b.return,Tz(b),b===v){Dw=null;break w}if(r!==null){r.return=a,Dw=r;break w}Dw=a}}}function K$(){nH.forEach(function(w){return w()})}function nz(){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 C1(w){if((V0&Sw)!==uw&&L0!==0)return L0&-L0;var g=m.T;return g!==null?(g._updatedFibers||(g._updatedFibers=new Set),g._updatedFibers.add(w),f3()):L()}function pz(){if(O1===0)if((L0&536870912)===0||I0){var w=K4;K4<<=1,(K4&3932160)===0&&(K4=262144),O1=w}else O1=536870912;return w=o1.current,w!==null&&(w.flags|=32),O1}function Aw(w,g,v){if(qb&&console.error("useInsertionEffect must not schedule updates."),Hx&&(Ya=!0),w===zw&&(gw===a5||gw===x5)||w.cancelPendingCommit!==null)i5(w,0),Eg(w,L0,O1,!1);if(mg(w,v),(V0&Sw)!==uw&&w===zw){if(S2)switch(g.tag){case 0:case 11:case 15:w=R0&&E(R0)||"Unknown",l_.has(w)||(l_.add(w),g=E(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:q_||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),q_=!0)}}else E2&&Tb(w,g,v),c$(g),w===zw&&((V0&Sw)===uw&&(_v|=v),lw===Gv&&Eg(w,L0,O1,!1)),i2(w)}function tz(w,g,v){if((V0&(Sw|S1))!==uw)throw Error("Should not already be working.");if(L0!==0&&R0!==null){var b=R0,d=Ew();switch($X){case sd:case a5:var r=Cd;Qw&&((b=b._debugTask)?b.run(console.timeStamp.bind(console,"Suspended",r,d,w2,void 0,"primary-light")):console.timeStamp("Suspended",r,d,w2,void 0,"primary-light"));break;case x5:r=Cd,Qw&&((b=b._debugTask)?b.run(console.timeStamp.bind(console,"Action",r,d,w2,void 0,"primary-light")):console.timeStamp("Action",r,d,w2,void 0,"primary-light"));break;default:Qw&&(b=d-Cd,3>b||console.timeStamp("Blocked",Cd,d,w2,void 0,5>b?"primary-light":10>b?"primary":100>b?"primary-dark":"error"))}}r=(v=!v&&(g&127)===0&&(g&w.expiredLanes)===0||Lv(w,g))?h$(w,g):h3(w,g,!0);var a=v;do{if(r===Ag){Wb&&!v&&Eg(w,g,0,!1),g=gw,Cd=Tw(),$X=g;break}else{if(b=Ew(),d=w.current.alternate,a&&!R$(d)){h1(g),d=jw,r=b,!Qw||r<=d||(Rw?Rw.run(console.timeStamp.bind(console,"Teared Render",d,r,C0,T0,"error")):console.timeStamp("Teared Render",d,r,C0,T0,"error")),jv(g,b),r=h3(w,g,!1),a=!1;continue}if(r===r5){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){h1(g),_6(jw,b,g,Rw),jv(g,b),g=x;w:{b=w,r=a,a=wr;var G=b.current.memoizedState.isDehydrated;if(G&&(i5(b,x).flags|=256),x=h3(b,x,!1),x!==r5){if(Gx&&!G){b.errorRecoveryDisabledLanes|=r,_v|=r,r=Gv;break w}b=J1,J1=a,b!==null&&(J1===null?J1=b:J1.push.apply(J1,b))}r=x}if(a=!1,r!==r5)continue;else b=Ew()}}if(r===td){h1(g),_6(jw,b,g,Rw),jv(g,b),i5(w,0),Eg(w,g,0,!0);break}w:{switch(v=w,r){case Ag:case td:throw Error("Root did not complete. This is a bug in React.");case Gv:if((g&4194048)!==g)break;case ra:h1(g),t7(jw,b,g,Rw),jv(g,b),d=g,(d&127)!==0?V4=b:(d&4194048)!==0&&(E4=b),Eg(v,g,O1,!Zv);break w;case r5:J1=null;break;case da:case G_:break;default:throw Error("Unknown root exit status.")}if(m.actQueue!==null)N3(v,d,g,J1,gr,za,O1,_v,z5,r,null,null,jw,b);else{if((g&62914560)===g&&(a=Ga+__-Ew(),10<a)){if(Eg(v,g,O1,!Zv),Ov(v,0,!0)!==0)break w;k2=g,v.timeoutHandle=N_(sz.bind(null,v,d,J1,gr,za,g,O1,_v,z5,Zv,r,"Throttled",jw,b),a);break w}sz(v,d,J1,gr,za,g,O1,_v,z5,Zv,r,null,jw,b)}}}break}while(1);i2(w)}function sz(w,g,v,b,d,r,a,x,G,X,A,M,W,h){w.timeoutHandle=Y5;var j=g.subtreeFlags,t=null;if(j&8192||(j&16785408)===16785408){if(t={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:bg},Vz(g,r,t),j=(r&62914560)===r?Ga-Ew():(r&4194048)===r?X_-Ew():0,j=QQ(t,j),j!==null){k2=r,w.cancelPendingCommit=j(N3.bind(null,w,g,r,v,b,d,a,x,G,A,t,t.waitingForViewTransition?"Waiting for the previous Animation":0<t.count?0<t.imgCount?"Suspended on CSS and Images":"Suspended on CSS":t.imgCount===1?"Suspended on an Image":0<t.imgCount?"Suspended on Images":null,W,h)),Eg(w,r,a,!X);return}}N3(w,g,r,v,b,d,a,x,G,A,t,M,W,h)}function R$(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 d=v[b],r=d.getSnapshot;d=d.value;try{if(!$1(r(),d))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&=~Zx,g&=~_v,w.suspendedLanes|=g,w.pingedLanes&=~g,b&&(w.warmLanes|=g),b=w.expirationTimes;for(var d=g;0<d;){var r=31-_1(d),a=1<<r;b[r]=-1,d&=~a}v!==0&&Kv(w,v,g)}function c5(){return(V0&(Sw|S1))===uw?(Gd(0,!1),!1):!0}function R3(){if(R0!==null){if(gw===M1)var w=R0.return;else w=R0,Nr(),P6(w),Xb=null,Vd=0,w=R0;for(;w!==null;)lz(w.alternate,w),w=w.return;R0=null}}function jv(w,g){(w&127)!==0&&(dv=g),(w&4194048)!==0&&(p2=g),(w&62914560)!==0&&(YX=g),(w&2080374784)!==0&&(BX=g)}function i5(w,g){Qw&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",T0,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",T0,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",T0,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",T0,"primary-light"));var v=jw;if(jw=Tw(),L0!==0&&0<v){if(h1(L0),lw===da||lw===Gv)t7(v,jw,g,Rw);else{var b=jw,d=Rw;if(Qw&&!(b<=v)){var r=(g&738197653)===g?"tertiary-dark":"primary-dark",a=(g&536870912)===g?"Prewarm":(g&201326741)===g?"Interrupted Hydration":"Interrupted Render";d?d.run(console.timeStamp.bind(console,a,v,b,C0,T0,r)):console.timeStamp(a,v,b,C0,T0,r)}}jv(L0,jw)}if(v=Rw,Rw=null,(g&127)!==0){Rw=Fd,d=0<=n2&&n2<dv?dv:n2,b=0<=tv&&tv<dv?dv:tv,r=0<=b?b:0<=d?d:jw,0<=V4?(h1(2),s7(V4,r,g,v)):(j4&127)!==0&&(h1(2),Sb(dv,r,Jg)),v=d;var x=b,G=md,X=0<zb,A=rv===Nd,M=rv===S4;if(d=jw,b=Fd,r=y8,a=S8,Qw){if(C0="Blocking",0<v?v>d&&(v=d):v=d,0<x?x>v&&(x=v):x=v,G!==null&&v>x){var W=X?"secondary-light":"warning";b?b.run(console.timeStamp.bind(console,X?"Consecutive":"Event: "+G,x,v,C0,T0,W)):console.timeStamp(X?"Consecutive":"Event: "+G,x,v,C0,T0,W)}d>v&&(x=A?"error":(g&738197653)===g?"tertiary-light":"primary-light",A=M?"Promise Resolved":A?"Cascading Update":5<d-v?"Update Blocked":"Update",M=[],a!=null&&M.push(["Component name",a]),r!=null&&M.push(["Method name",r]),v={start:v,end:d,detail:{devtools:{properties:M,track:C0,trackGroup:T0,color:x}}},b?b.run(performance.measure.bind(performance,A,v)):performance.measure(A,v))}n2=-1.1,rv=0,S8=y8=null,V4=-1.1,zb=tv,tv=-1.1,dv=Tw()}if((g&4194048)!==0&&(Rw=Td,d=0<=Ug&&Ug<p2?p2:Ug,v=0<=a2&&a2<p2?p2:a2,b=0<=av&&av<p2?p2:av,r=0<=b?b:0<=v?v:jw,0<=E4?(h1(256),s7(E4,r,g,Rw)):(j4&4194048)!==0&&(h1(256),Sb(p2,r,Jg)),M=b,x=sv,G=0<xv,X=V8===S4,r=jw,b=Td,a=XX,A=_X,Qw&&(C0="Transition",0<v?v>r&&(v=r):v=r,0<d?d>v&&(d=v):d=v,0<M?M>d&&(M=d):M=d,d>M&&x!==null&&(W=G?"secondary-light":"warning",b?b.run(console.timeStamp.bind(console,G?"Consecutive":"Event: "+x,M,d,C0,T0,W)):console.timeStamp(G?"Consecutive":"Event: "+x,M,d,C0,T0,W)),v>d&&(b?b.run(console.timeStamp.bind(console,"Action",d,v,C0,T0,"primary-dark")):console.timeStamp("Action",d,v,C0,T0,"primary-dark")),r>v&&(d=X?"Promise Resolved":5<r-v?"Update Blocked":"Update",M=[],A!=null&&M.push(["Component name",A]),a!=null&&M.push(["Method name",a]),v={start:v,end:r,detail:{devtools:{properties:M,track:C0,trackGroup:T0,color:"primary-light"}}},b?b.run(performance.measure.bind(performance,d,v)):performance.measure(d,v))),a2=Ug=-1.1,V8=0,E4=-1.1,xv=av,av=-1.1,p2=Tw()),(g&62914560)!==0&&(j4&62914560)!==0&&(h1(4194304),Sb(YX,jw,Jg)),(g&2080374784)!==0&&(j4&2080374784)!==0&&(h1(268435456),Sb(BX,jw,Jg)),v=w.timeoutHandle,v!==Y5&&(w.timeoutHandle=Y5,zU(v)),v=w.cancelPendingCommit,v!==null&&(w.cancelPendingCommit=null,v()),k2=0,R3(),zw=w,R0=v=dg(w.current,null),L0=g,gw=M1,V1=null,Zv=!1,Wb=Lv(w,g),Gx=!1,lw=Ag,z5=O1=Zx=_v=Xv=0,J1=wr=null,za=!1,(g&8)!==0&&(g|=g&32),b=w.entangledLanes,b!==0)for(w=w.entanglements,b&=g;0<b;)d=31-_1(b),r=1<<d,g|=w[d],b&=~r;return s2=g,Or(),w=rX(),1000<w-dX&&(m.recentlyCreatedOwnerStacks=0,dX=w),U2.discardPendingWarnings(),v}function ez(w,g){Q0=null,m.H=ud,m.getCurrentStack=null,S2=!1,c1=null,g===Zb||g===p4?(g=W9(),gw=sd):g===u8?(g=W9(),gw=Z_):gw=g===dx?zx:g!==null&&typeof g==="object"&&typeof g.then==="function"?ed:aa,V1=g;var v=R0;v===null?(lw=td,v4(w,N1(g,w.current))):v.mode&M0&&L6(v)}function wG(){var w=o1.current;return w===null?!0:(L0&4194048)===L0?x2===null?!0:!1:(L0&62914560)===L0||(L0&536870912)!==0?w===x2:!1}function gG(){var w=m.H;return m.H=ud,w===null?ud:w}function vG(){var w=m.A;return m.A=uH,w}function Z4(w){Rw===null&&(Rw=w._debugTask==null?null:w._debugTask)}function X4(){lw=Gv,Zv||(L0&4194048)!==L0&&o1.current!==null||(Wb=!0),(Xv&134217727)===0&&(_v&134217727)===0||zw===null||Eg(zw,L0,O1,!1)}function h3(w,g,v){var b=V0;V0|=Sw;var d=gG(),r=vG();if(zw!==w||L0!==g){if(E2){var a=w.memoizedUpdaters;0<a.size&&(zd(w,L0),a.clear()),Tg(w,g)}gr=null,i5(w,g)}g=!1,a=lw;w:do try{if(gw!==M1&&R0!==null){var x=R0,G=V1;switch(gw){case zx:R3(),a=ra;break w;case sd:case a5:case x5:case ed:o1.current===null&&(g=!0);var X=gw;if(gw=M1,V1=null,P5(w,x,G,X),v&&Wb){a=Ag;break w}break;default:X=gw,gw=M1,V1=null,P5(w,x,G,X)}}bG(),a=lw;break}catch(A){ez(w,A)}while(1);return g&&w.shellSuspendCounter++,Nr(),V0=b,m.H=d,m.A=r,R0===null&&(zw=null,L0=0,Or()),a}function bG(){for(;R0!==null;)dG(R0)}function h$(w,g){var v=V0;V0|=Sw;var b=gG(),d=vG();if(zw!==w||L0!==g){if(E2){var r=w.memoizedUpdaters;0<r.size&&(zd(w,L0),r.clear()),Tg(w,g)}gr=null,Za=Ew()+Y_,i5(w,g)}else Wb=Lv(w,g);w:do try{if(gw!==M1&&R0!==null)g:switch(g=R0,r=V1,gw){case aa:gw=M1,V1=null,P5(w,g,r,aa);break;case a5:case x5:if(U9(r)){gw=M1,V1=null,rG(g);break}g=function(){gw!==a5&&gw!==x5||zw!==w||(gw=xa),i2(w)},r.then(g,g);break w;case sd:gw=xa;break w;case Z_:gw=xx;break w;case xa:U9(r)?(gw=M1,V1=null,rG(g)):(gw=M1,V1=null,P5(w,g,r,xa));break;case xx:var a=null;switch(R0.tag){case 26:a=R0.memoizedState;case 5:case 27:var x=R0;if(a?tG(a):x.stateNode.complete){gw=M1,V1=null;var G=x.sibling;if(G!==null)R0=G;else{var X=x.return;X!==null?(R0=X,_4(X)):R0=null}break g}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}gw=M1,V1=null,P5(w,g,r,xx);break;case ed:gw=M1,V1=null,P5(w,g,r,ed);break;case zx:R3(),lw=ra;break w;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}m.actQueue!==null?bG():N$();break}catch(A){ez(w,A)}while(1);if(Nr(),m.H=b,m.A=d,V0=v,R0!==null)return Ag;return zw=null,L0=0,Or(),lw}function N$(){for(;R0!==null&&!RQ();)dG(R0)}function dG(w){var g=w.alternate;(w.mode&M0)!==Y0?(O6(w),g=s(w,W3,g,w,s2),L6(w)):g=s(w,W3,g,w,s2),w.memoizedProps=w.pendingProps,g===null?_4(w):R0=g}function rG(w){var g=s(w,F$,w);w.memoizedProps=w.pendingProps,g===null?_4(w):R0=g}function F$(w){var g=w.alternate,v=(w.mode&M0)!==Y0;switch(v&&O6(w),w.tag){case 15:case 0:g=Qz(g,w,w.pendingProps,w.type,void 0,L0);break;case 11:g=Qz(g,w,w.pendingProps,w.type.render,w.ref,L0);break;case 5:P6(w);default:lz(g,w),w=R0=d9(w,s2),g=W3(g,w,s2)}return v&&L6(w),g}function P5(w,g,v,b){Nr(),P6(g),Xb=null,Vd=0;var d=g.return;try{if(Q$(w,d,g,v,L0)){lw=td,v4(w,N1(v,w.current)),R0=null;return}}catch(r){if(d!==null)throw R0=d,r;lw=td,v4(w,N1(v,w.current)),R0=null;return}if(g.flags&32768){if(I0||b===aa)w=!0;else if(Wb||(L0&536870912)!==0)w=!1;else if(Zv=w=!0,b===a5||b===x5||b===sd||b===ed)b=o1.current,b!==null&&b.tag===13&&(b.flags|=16384);aG(g,w)}else _4(g)}function _4(w){var g=w;do{if((g.flags&32768)!==0){aG(g,Zv);return}var v=g.alternate;if(w=g.return,O6(g),v=s(g,J$,v,g,s2),(g.mode&M0)!==Y0&&Y9(g),v!==null){R0=v;return}if(g=g.sibling,g!==null){R0=g;return}R0=g=w}while(g!==null);lw===Ag&&(lw=G_)}function aG(w,g){do{var v=W$(w.alternate,w);if(v!==null){v.flags&=32767,R0=v;return}if((w.mode&M0)!==Y0){Y9(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)){R0=w;return}R0=w=v}while(w!==null);lw=ra,R0=null}function N3(w,g,v,b,d,r,a,x,G,X,A,M,W,h){w.cancelPendingCommit=null;do xd();while(iw!==Bv);if(U2.flushLegacyContextWarning(),U2.flushPendingUnsafeLifecycleWarnings(),(V0&(Sw|S1))!==uw)throw Error("Should not already be working.");if(h1(v),X===r5?_6(W,h,v,Rw):b!==null?b$(W,h,v,b,g!==null&&g.alternate!==null&&g.alternate.memoizedState.isDehydrated&&(g.flags&256)!==0,Rw):v$(W,h,v,Rw),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(r=g.lanes|g.childLanes,r|=I8,$r(w,v,r,a,x,G),w===zw&&(R0=zw=null,L0=0),kb=g,$v=w,k2=v,Yx=r,$x=d,J_=b,Bx=h,W_=M,q2=Xa,k_=null,g.actualDuration!==0||(g.subtreeFlags&10256)!==0||(g.flags&10256)!==0?(w.callbackNode=null,w.callbackPriority=0,I$(j5,function(){return xr=window.event,q2===Xa&&(q2=_x),XG(),null})):(w.callbackNode=null,w.callbackPriority=0),Hg=null,bv=Tw(),M!==null&&d$(h,bv,M,Rw),b=(g.flags&13878)!==0,(g.subtreeFlags&13878)!==0||b){b=m.T,m.T=null,d=t0.p,t0.p=i1,a=V0,V0|=S1;try{O$(w,g,v)}finally{V0=a,t0.p=d,m.T=b}}iw=$_,xG(),zG(),GG()}}function xG(){if(iw===$_){iw=Bv;var w=$v,g=kb,v=k2,b=(g.flags&13878)!==0;if((g.subtreeFlags&13878)!==0||b){b=m.T,m.T=null;var d=t0.p;t0.p=i1;var r=V0;V0|=S1;try{Ub=v,Jb=w,Cr(),cz(g,w),Jb=Ub=null,v=Ox;var a=u7(w.containerInfo),x=v.focusedElem,G=v.selectionRange;if(a!==x&&x&&x.ownerDocument&&D7(x.ownerDocument.documentElement,x)){if(G!==null&&G6(x)){var{start:X,end:A}=G;if(A===void 0&&(A=X),"selectionStart"in x)x.selectionStart=X,x.selectionEnd=Math.min(A,x.value.length);else{var M=x.ownerDocument||document,W=M&&M.defaultView||window;if(W.getSelection){var h=W.getSelection(),j=x.textContent.length,t=Math.min(G.start,j),_w=G.end===void 0?t:Math.min(G.end,j);!h.extend&&t>_w&&(a=_w,_w=t,t=a);var P0=j7(x,t),J=j7(x,_w);if(P0&&J&&(h.rangeCount!==1||h.anchorNode!==P0.node||h.anchorOffset!==P0.offset||h.focusNode!==J.node||h.focusOffset!==J.offset)){var k=M.createRange();k.setStart(P0.node,P0.offset),h.removeAllRanges(),t>_w?(h.addRange(k),h.extend(J.node,J.offset)):(k.setEnd(J.node,J.offset),h.addRange(k))}}}}M=[];for(h=x;h=h.parentNode;)h.nodeType===1&&M.push({element:h,left:h.scrollLeft,top:h.scrollTop});typeof x.focus==="function"&&x.focus();for(x=0;x<M.length;x++){var l=M[x];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}La=!!Mx,Ox=Mx=null}finally{V0=r,t0.p=d,m.T=b}}w.current=g,iw=Q_}}function zG(){if(iw===Q_){iw=Bv;var w=k_;if(w!==null){bv=Tw();var g=Qg,v=bv;!Qw||v<=g||(Jg?Jg.run(console.timeStamp.bind(console,w,g,v,C0,T0,"secondary-light")):console.timeStamp(w,g,v,C0,T0,"secondary-light"))}w=$v,g=kb,v=k2;var b=(g.flags&8772)!==0;if((g.subtreeFlags&8772)!==0||b){b=m.T,m.T=null;var d=t0.p;t0.p=i1;var r=V0;V0|=S1;try{Ub=v,Jb=w,Cr(),mz(w,g.alternate,g),Jb=Ub=null}finally{V0=r,t0.p=d,m.T=b}}w=Bx,g=W_,Qg=Tw(),w=g===null?w:bv,g=Qg,v=q2===Xx,b=Rw,Hg!==null?e7(w,g,Hg,!1,b):!Qw||g<=w||(b?b.run(console.timeStamp.bind(console,v?"Commit Interrupted View Transition":"Commit",w,g,C0,T0,v?"error":"secondary-dark")):console.timeStamp(v?"Commit Interrupted View Transition":"Commit",w,g,C0,T0,v?"error":"secondary-dark")),iw=H_}}function GG(){if(iw===U_||iw===H_){if(iw===U_){var w=Qg;Qg=Tw();var g=Qg,v=q2===Xx;!Qw||g<=w||(Jg?Jg.run(console.timeStamp.bind(console,v?"Interrupted View Transition":"Starting Animation",w,g,C0,T0,v?"error":"secondary-light")):console.timeStamp(v?"Interrupted View Transition":"Starting Animation",w,g,C0,T0,v?" error":"secondary-light")),q2!==Xx&&(q2=B_)}iw=Bv,hQ(),w=$v;var b=kb;g=k2,v=J_;var d=b.actualDuration!==0||(b.subtreeFlags&10256)!==0||(b.flags&10256)!==0;d?iw=_a:(iw=Bv,kb=$v=null,ZG(w,w.pendingLanes),G5=0,br=null);var r=w.pendingLanes;if(r===0&&(Yv=null),d||$G(w),r=_(g),b=b.stateNode,a1&&typeof a1.onCommitFiberRoot==="function")try{var a=(b.current.flags&128)===128;switch(r){case i1:var x=$8;break;case Q2:x=Q8;break;case j2:x=j5;break;case h4:x=H8;break;default:x=j5}a1.onCommitFiberRoot(D5,b,x,a)}catch(M){V2||(V2=!0,console.error("React instrumentation encountered an error: %o",M))}if(E2&&w.memoizedUpdaters.clear(),K$(),v!==null){a=m.T,x=t0.p,t0.p=i1,m.T=null;try{var G=w.onRecoverableError;for(b=0;b<v.length;b++){var X=v[b],A=m$(X.stack);s(X.source,G,X.value,A)}}finally{m.T=a,t0.p=x}}(k2&3)!==0&&xd(),i2(w),r=w.pendingLanes,(g&261930)!==0&&(r&42)!==0?(u4=!0,w===Qx?vr++:(vr=0,Qx=w)):vr=0,d||jv(g,Qg),Gd(0,!1)}}function m$(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 ZG(w,g){(w.pooledCacheLanes&=g)===0&&(g=w.pooledCache,g!=null&&(w.pooledCache=null,Eb(g)))}function xd(){return xG(),zG(),GG(),XG()}function XG(){if(iw!==_a)return!1;var w=$v,g=Yx;Yx=0;var v=_(k2),b=j2===0||j2>v?j2:v;v=m.T;var d=t0.p;try{t0.p=b,m.T=null;var r=$x;$x=null,b=$v;var a=k2;if(iw=Bv,kb=$v=null,k2=0,(V0&(Sw|S1))!==uw)throw Error("Cannot flush passive effects while already rendering.");h1(a),Hx=!0,Ya=!1;var x=0;if(Hg=null,x=Ew(),q2===B_)Sb(Qg,x,Jg);else{var G=Qg,X=x,A=q2===_x;!Qw||X<=G||(Rw?Rw.run(console.timeStamp.bind(console,A?"Waiting for Paint":"Waiting",G,X,C0,T0,"secondary-light")):console.timeStamp(A?"Waiting for Paint":"Waiting",G,X,C0,T0,"secondary-light"))}G=V0,V0|=S1;var M=b.current;Cr(),jz(M);var W=b.current;M=Bx,Cr(),yz(b,W,a,r,M),$G(b),V0=G;var h=Ew();if(W=x,M=Rw,Hg!==null?e7(W,h,Hg,!0,M):!Qw||h<=W||(M?M.run(console.timeStamp.bind(console,"Remaining Effects",W,h,C0,T0,"secondary-dark")):console.timeStamp("Remaining Effects",W,h,C0,T0,"secondary-dark")),jv(a,h),Gd(0,!1),Ya?b===br?G5++:(G5=0,br=b):G5=0,Ya=Hx=!1,a1&&typeof a1.onPostCommitFiberRoot==="function")try{a1.onPostCommitFiberRoot(D5,b)}catch(t){V2||(V2=!0,console.error("React instrumentation encountered an error: %o",t))}var j=b.current.stateNode;return j.effectDuration=0,j.passiveEffectDuration=0,!0}finally{t0.p=d,m.T=v,ZG(w,g)}}function _G(w,g,v){g=N1(v,g),B9(g),g=G3(w.stateNode,g,2),w=og(w,g,2),w!==null&&(mg(w,2),i2(w))}function p0(w,g,v){if(qb=!1,w.tag===3)_G(w,w,v);else{for(;g!==null;){if(g.tag===3){_G(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=N1(v,w),B9(w),v=Z3(2),b=og(g,v,2),b!==null&&(X3(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 F3(w,g,v){var b=w.pingCache;if(b===null){b=w.pingCache=new pH;var d=new Set;b.set(g,d)}else d=b.get(g),d===void 0&&(d=new Set,b.set(g,d));d.has(v)||(Gx=!0,d.add(v),b=T$.bind(null,w,g,v),E2&&zd(w,v),g.then(b,b))}function T$(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&&(dv=n2=Tw(),Fd=y4("Promise Resolved"),rv=S4):(v&4194048)!==0&&0>a2&&(p2=a2=Tw(),Td=y4("Promise Resolved"),V8=S4),nz()&&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&&(L0&v)===v&&(lw===Gv||lw===da&&(L0&62914560)===L0&&Ew()-Ga<__?(V0&Sw)===uw&&i5(w,0):Zx|=v,z5===L0&&(z5=0)),i2(w)}function YG(w,g){g===0&&(g=A5()),w=r1(w,g),w!==null&&(mg(w,g),i2(w))}function C$(w){var g=w.memoizedState,v=0;g!==null&&(v=g.retryLane),YG(w,v)}function f$(w,g){var v=0;switch(w.tag){case 31:case 13:var{stateNode:b,memoizedState:d}=w;d!==null&&(v=d.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),YG(w,v)}function m3(w,g,v){if((g.subtreeFlags&67117056)!==0)for(g=g.child;g!==null;){var b=w,d=g,r=d.type===A4;r=v||r,d.tag!==22?d.flags&67108864?r&&s(d,BG,b,d):m3(b,d,r):d.memoizedState===null&&(r&&d.flags&8192?s(d,BG,b,d):d.subtreeFlags&67108864&&s(d,m3,b,d,r)),g=g.sibling}}function BG(w,g){Zw(!0);try{Pz(g),Dz(g),oz(w,g.alternate,g,!1),Sz(w,g,0,null,!1,0)}finally{Zw(!1)}}function $G(w){var g=!0;w.current.mode&(x1|H2)||(g=!1),m3(w,w.current,g)}function QG(w){if((V0&Sw)===uw){var g=w.tag;if(g===3||g===1||g===0||g===11||g===14||g===15){if(g=E(w)||"ReactComponent",Ba!==null){if(Ba.has(g))return;Ba.add(g)}else Ba=new Set([g]);s(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 zd(w,g){E2&&w.memoizedUpdaters.forEach(function(v){Tb(w,v,g)})}function I$(w,g){var v=m.actQueue;return v!==null?(v.push(g),eH):B8(w,g)}function c$(w){nz()&&m.actQueue===null&&s(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`,E(w))})}function i2(w){w!==lb&&w.next===null&&(lb===null?$a=lb=w:lb=lb.next=w),Qa=!0,m.actQueue!==null?Jx||(Jx=!0,WG()):Ux||(Ux=!0,WG())}function Gd(w,g){if(!Wx&&Qa){Wx=!0;do{var v=!1;for(var b=$a;b!==null;){if(!g)if(w!==0){var d=b.pendingLanes;if(d===0)var r=0;else{var{suspendedLanes:a,pingedLanes:x}=b;r=(1<<31-_1(42|w)+1)-1,r&=d&~(a&~x),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(v=!0,JG(b,r))}else r=L0,r=Ov(b,b===zw?r:0,b.cancelPendingCommit!==null||b.timeoutHandle!==Y5),(r&3)===0||Lv(b,r)||(v=!0,JG(b,r));b=b.next}}while(v);Wx=!1}}function i$(){xr=window.event,T3()}function T3(){Qa=Jx=Ux=!1;var w=0;Qv!==0&&j$()&&(w=Qv);for(var g=Ew(),v=null,b=$a;b!==null;){var d=b.next,r=HG(b,g);if(r===0)b.next=null,v===null?$a=d:v.next=d,d===null&&(lb=v);else if(v=b,w!==0||(r&3)!==0)Qa=!0;b=d}iw!==Bv&&iw!==_a||Gd(w,!1),Qv!==0&&(Qv=0)}function HG(w,g){for(var{suspendedLanes:v,pingedLanes:b,expirationTimes:d}=w,r=w.pendingLanes&-62914561;0<r;){var a=31-_1(r),x=1<<a,G=d[a];if(G===-1){if((x&v)===0||(x&b)!==0)d[a]=sa(x,g)}else G<=g&&(w.expiredLanes|=x);r&=~x}if(g=zw,v=L0,v=Ov(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&&C3(b),w.callbackNode=null,w.callbackPriority=0;if((v&3)===0||Lv(w,v)){if(g=v&-v,g!==w.callbackPriority||m.actQueue!==null&&b!==kx)C3(b);else return g;switch(_(v)){case i1:case Q2:v=Q8;break;case j2:v=j5;break;case h4:v=H8;break;default:v=j5}return b=UG.bind(null,w),m.actQueue!==null?(m.actQueue.push(b),v=kx):v=B8(v,b),w.callbackPriority=g,w.callbackNode=v,g}return b!==null&&C3(b),w.callbackPriority=2,w.callbackNode=null,2}function UG(w,g){if(u4=D4=!1,xr=window.event,iw!==Bv&&iw!==_a)return w.callbackNode=null,w.callbackPriority=0,null;var v=w.callbackNode;if(q2===Xa&&(q2=_x),xd()&&w.callbackNode!==v)return null;var b=L0;if(b=Ov(w,w===zw?b:0,w.cancelPendingCommit!==null||w.timeoutHandle!==Y5),b===0)return null;return tz(w,b,g),HG(w,Ew()),w.callbackNode!=null&&w.callbackNode===v?UG.bind(null,w):null}function JG(w,g){if(xd())return null;D4=u4,u4=!1,tz(w,g,!0)}function C3(w){w!==kx&&w!==null&&KQ(w)}function WG(){m.actQueue!==null&&m.actQueue.push(function(){return T3(),null}),GU(function(){(V0&(Sw|S1))!==uw?B8($8,i$):T3()})}function f3(){if(Qv===0){var w=ev;w===0&&(w=L4,L4<<=1,(L4&261888)===0&&(L4=256)),Qv=w}return Qv}function kG(w){if(w==null||typeof w==="symbol"||typeof w==="boolean")return null;if(typeof w==="function")return w;return dw(w,"action"),Pb(""+w)}function qG(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 P$(w,g,v,b,d){if(g==="submit"&&v&&v.stateNode===d){var r=kG((d[Y1]||null).action),a=b.submitter;a&&(g=(g=a[Y1]||null)?kG(g.formAction):a.getAttribute("formAction"),g!==null&&(r=g,a=null));var x=new C4("action","action",null,b,d);w.push({event:x,listeners:[{instance:null,listener:function(){if(b.defaultPrevented){if(Qv!==0){var G=a?qG(d,a):new FormData(d),X={pending:!0,data:G,method:d.method,action:r};Object.freeze(X),v3(v,X,null,G)}}else typeof r==="function"&&(x.preventDefault(),G=a?qG(d,a):new FormData(d),X={pending:!0,data:G,method:d.method,action:r},Object.freeze(X),v3(v,X,r,G))},currentTarget:d}]})}}function Y4(w,g,v){w.currentTarget=v;try{g(w)}catch(b){m8(b)}w.currentTarget=null}function lG(w,g){g=(g&4)!==0;for(var v=0;v<w.length;v++){var b=w[v];w:{var d=void 0,r=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!==d&&r.isPropagationStopped())break w;G!==null?s(G,Y4,r,x,X):Y4(r,x,X),d=G}else for(a=0;a<b.length;a++){if(x=b[a],G=x.instance,X=x.currentTarget,x=x.listener,G!==d&&r.isPropagationStopped())break w;G!==null?s(G,Y4,r,x,X):Y4(r,x,X),d=G}}}}function i0(w,g){qx.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[U8];v===void 0&&(v=g[U8]=new Set);var b=w+"__bubble";v.has(b)||(AG(g,w,2,!1),v.add(b))}function I3(w,g,v){qx.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),AG(v,w,b,g)}function c3(w){if(!w[Ha]){w[Ha]=!0,WZ.forEach(function(v){v!=="selectionchange"&&(qx.has(v)||I3(v,!1,w),I3(v,!0,w))});var g=w.nodeType===9?w:w.ownerDocument;g===null||g[Ha]||(g[Ha]=!0,I3("selectionchange",!1,g))}}function AG(w,g,v,b){switch(bZ(g)){case i1:var d=WQ;break;case Q2:d=kQ;break;default:d=w8}v=d.bind(null,g,v,w),d=void 0,!l8||g!=="touchstart"&&g!=="touchmove"&&g!=="wheel"||(d=!0),b?d!==void 0?w.addEventListener(g,v,{capture:!0,passive:d}):w.addEventListener(g,v,!0):d!==void 0?w.addEventListener(g,v,{passive:d}):w.addEventListener(g,v,!1)}function i3(w,g,v,b,d){var r=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===d)break;if(a===4)for(a=b.return;a!==null;){var G=a.tag;if((G===3||G===4)&&a.stateNode.containerInfo===d)return;a=a.return}for(;x!==null;){if(a=v0(x),a===null)return;if(G=a.tag,G===5||G===6||G===26||G===27){b=r=a;continue w}x=x.parentNode}}b=b.return}C7(function(){var X=r,A=x6(v),M=[];w:{var W=bX.get(w);if(W!==void 0){var h=C4,j=w;switch(w){case"keypress":if(kr(v)===0)break w;case"keydown":case"keyup":h=$H;break;case"focusin":j="focus",h=L8;break;case"focusout":j="blur",h=L8;break;case"beforeblur":case"afterblur":h=L8;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":h=SZ;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=bH;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=UH;break;case eZ:case wX:case gX:h=aH;break;case vX:h=WH;break;case"scroll":case"scrollend":h=gH;break;case"wheel":h=qH;break;case"copy":case"cut":case"paste":h=zH;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=EZ;break;case"toggle":case"beforetoggle":h=AH}var t=(g&4)!==0,_w=!t&&(w==="scroll"||w==="scrollend"),P0=t?W!==null?W+"Capture":null:W;t=[];for(var J=X,k;J!==null;){var l=J;if(k=l.stateNode,l=l.tag,l!==5&&l!==26&&l!==27||k===null||P0===null||(l=ob(J,P0),l!=null&&t.push(Zd(J,l,k))),_w)break;J=J.return}0<t.length&&(W=new h(W,j,null,v,A),M.push({event:W,listeners:t}))}}if((g&7)===0){w:{if(W=w==="mouseover"||w==="pointerover",h=w==="mouseout"||w==="pointerout",W&&v!==kd&&(j=v.relatedTarget||v.fromElement)&&(v0(j)||j[tg]))break w;if(h||W){if(W=A.window===A?A:(W=A.ownerDocument)?W.defaultView||W.parentWindow:window,h){if(j=v.relatedTarget||v.toElement,h=X,j=j?v0(j):null,j!==null&&(_w=g0(j),t=j.tag,j!==_w||t!==5&&t!==27&&t!==6))j=null}else h=null,j=X;if(h!==j){if(t=SZ,l="onMouseLeave",P0="onMouseEnter",J="mouse",w==="pointerout"||w==="pointerover")t=EZ,l="onPointerLeave",P0="onPointerEnter",J="pointer";if(_w=h==null?W:k0(h),k=j==null?W:k0(j),W=new t(l,J+"leave",h,v,A),W.target=_w,W.relatedTarget=k,l=null,v0(A)===X&&(t=new t(P0,J+"enter",j,v,A),t.target=k,t.relatedTarget=_w,l=t),_w=l,h&&j)g:{t=o$,P0=h,J=j,k=0;for(l=P0;l;l=t(l))k++;l=0;for(var T=J;T;T=t(T))l++;for(;0<k-l;)P0=t(P0),k--;for(;0<l-k;)J=t(J),l--;for(;k--;){if(P0===J||J!==null&&P0===J.alternate){t=P0;break g}P0=t(P0),J=t(J)}t=null}else t=null;h!==null&&MG(M,W,h,t,!1),j!==null&&_w!==null&&MG(M,_w,j,t,!0)}}}w:{if(W=X?k0(X):window,h=W.nodeName&&W.nodeName.toLowerCase(),h==="select"||h==="input"&&W.type==="file")var n=y7;else if(P7(W))if(tZ)n=eB;else{n=tB;var H0=pB}else h=W.nodeName,!h||h.toLowerCase()!=="input"||W.type!=="checkbox"&&W.type!=="radio"?X&&ib(X.elementType)&&(n=y7):n=sB;if(n&&(n=n(w,X))){o7(M,n,v,A);break w}H0&&H0(w,W,X),w==="focusout"&&X&&W.type==="number"&&X.memoizedProps.value!=null&&g6(W,"number",W.value)}switch(H0=X?k0(X):window,w){case"focusin":if(P7(H0)||H0.contentEditable==="true")wb=H0,R8=X,Kd=null;break;case"focusout":Kd=R8=wb=null;break;case"mousedown":h8=!0;break;case"contextmenu":case"mouseup":case"dragend":h8=!1,n7(M,v,A);break;case"selectionchange":if(KH)break;case"keydown":case"keyup":n7(M,v,A)}var x0;if(K8)w:{switch(w){case"compositionstart":var b0="onCompositionStart";break w;case"compositionend":b0="onCompositionEnd";break w;case"compositionupdate":b0="onCompositionUpdate";break w}b0=void 0}else e5?c7(w,v)&&(b0="onCompositionEnd"):w==="keydown"&&v.keyCode===jZ&&(b0="onCompositionStart");if(b0&&(DZ&&v.locale!=="ko"&&(e5||b0!=="onCompositionStart"?b0==="onCompositionEnd"&&e5&&(x0=f7()):(sg=A,A8=("value"in sg)?sg.value:sg.textContent,e5=!0)),H0=B4(X,b0),0<H0.length&&(b0=new VZ(b0,w,null,v,A),M.push({event:b0,listeners:H0}),x0?b0.data=x0:(x0=i7(v),x0!==null&&(b0.data=x0)))),x0=OH?jB(w,v):DB(w,v))b0=B4(X,"onBeforeInput"),0<b0.length&&(H0=new ZH("onBeforeInput","beforeinput",null,v,A),M.push({event:H0,listeners:b0}),H0.data=x0);P$(M,w,X,v,A)}lG(M,g)})}function Zd(w,g,v){return{instance:w,listener:g,currentTarget:v}}function B4(w,g){for(var v=g+"Capture",b=[];w!==null;){var d=w,r=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||r===null||(d=ob(w,v),d!=null&&b.unshift(Zd(w,d,r)),d=ob(w,g),d!=null&&b.push(Zd(w,d,r))),w.tag===3)return b;w=w.return}return[]}function o$(w){if(w===null)return null;do w=w.return;while(w&&w.tag!==5&&w.tag!==27);return w?w:null}function MG(w,g,v,b,d){for(var r=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,d?(X=ob(v,r),X!=null&&a.unshift(Zd(v,X,G))):d||(X=ob(v,r),X!=null&&a.push(Zd(v,X,G)))),v=v.return}a.length!==0&&w.push({event:g,listeners:a})}function P3(w,g){yB(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:J8};ib(w)||typeof g.is==="string"||VB(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 y$(w,g,v){g.forEach(function(b){v[KG(b)]=b==="style"?y3(w):w.getAttribute(b)})}function P2(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 OG(w,g){return w=w.namespaceURI===F4||w.namespaceURI===n5?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)),Lw(w)),(typeof w==="string"?w:""+w).replace(wU,`
176
- `).replace(gU,"")}function LG(w,g){return g=jg(g),jg(w)===g?!0:!1}function aw(w,g,v,b,d,r){switch(v){case"children":if(typeof b==="string")Wr(b,g,!1),g==="body"||g==="textarea"&&b===""||cb(w,b);else if(typeof b==="number"||typeof b==="bigint")Wr(""+b,g,!1),g!=="body"&&cb(w,""+b);break;case"className":Hr(w,"class",b);break;case"tabIndex":Hr(w,"tabindex",b);break;case"dir":case"role":case"viewBox":case"width":case"height":Hr(w,v,b);break;case"style":F7(w,b,r);break;case"data":if(g!=="object"){Hr(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=Pb(""+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"&&(d.encType==null&&d.method==null||Wa||(Wa=!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.")),d.target==null||Ja||(Ja=!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"||d.type==="submit"||d.type==="image"||Ua?g!=="button"||d.type==null||d.type==="submit"||Ua?typeof b==="function"&&(d.name==null||O_||(O_=!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.')),d.formEncType==null&&d.formMethod==null||Wa||(Wa=!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.")),d.formTarget==null||Ja||(Ja=!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."))):(Ua=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Ua=!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 r==="function"&&(v==="formAction"?(g!=="input"&&aw(w,g,"name",d.name,d,null),aw(w,g,"formEncType",d.formEncType,d,null),aw(w,g,"formMethod",d.formMethod,d,null),aw(w,g,"formTarget",d.formTarget,d,null)):(aw(w,g,"encType",d.encType,d,null),aw(w,g,"method",d.method,d,null),aw(w,g,"target",d.target,d,null)));if(b==null||typeof b==="symbol"||typeof b==="boolean"){w.removeAttribute(v);break}dw(b,v),b=Pb(""+b),w.setAttribute(v,b);break;case"onClick":b!=null&&(typeof b!=="function"&&P2(v,b),w.onclick=bg);break;case"onScroll":b!=null&&(typeof b!=="function"&&P2(v,b),i0("scroll",w));break;case"onScrollEnd":b!=null&&(typeof b!=="function"&&P2(v,b),i0("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(d.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=Pb(""+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!==""||ka[v]||(ka[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":i0("beforetoggle",w),i0("toggle",w),Qr(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,lx,"xml:base",b);break;case"xmlLang":vg(w,lx,"xml:lang",b);break;case"xmlSpace":vg(w,lx,"xml:space",b);break;case"is":r!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Qr(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=m7(v),Qr(w,v,b)):Dv.hasOwnProperty(v)&&b!=null&&typeof b!=="function"&&P2(v,b)}}function o3(w,g,v,b,d,r){switch(v){case"style":F7(w,b,r);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(d.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");w.innerHTML=v}}break;case"children":typeof b==="string"?cb(w,b):(typeof b==="number"||typeof b==="bigint")&&cb(w,""+b);break;case"onScroll":b!=null&&(typeof b!=="function"&&P2(v,b),i0("scroll",w));break;case"onScrollEnd":b!=null&&(typeof b!=="function"&&P2(v,b),i0("scrollend",w));break;case"onClick":b!=null&&(typeof b!=="function"&&P2(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"&&P2(v,b);else w:{if(v[0]==="o"&&v[1]==="n"&&(d=v.endsWith("Capture"),g=v.slice(2,d?v.length-7:void 0),r=w[Y1]||null,r=r!=null?r[v]:null,typeof r==="function"&&w.removeEventListener(g,r,d),typeof b==="function")){typeof r!=="function"&&r!==null&&(v in w?w[v]=null:w.hasAttribute(v)&&w.removeAttribute(v)),w.addEventListener(g,b,d);break w}v in w?w[v]=b:b===!0?w.setAttribute(v,""):Qr(w,v,b)}}}function ew(w,g,v){switch(P3(g,v),g){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":i0("error",w),i0("load",w);var b=!1,d=!1,r;for(r in v)if(v.hasOwnProperty(r)){var a=v[r];if(a!=null)switch(r){case"src":b=!0;break;case"srcSet":d=!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,r,a,v,null)}}d&&aw(w,g,"srcSet",v.srcSet,v,null),b&&aw(w,g,"src",v.src,v,null);return;case"input":Cg("input",v),i0("invalid",w);var x=r=a=d=null,G=null,X=null;for(b in v)if(v.hasOwnProperty(b)){var A=v[b];if(A!=null)switch(b){case"name":d=A;break;case"type":a=A;break;case"checked":G=A;break;case"defaultChecked":X=A;break;case"value":r=A;break;case"defaultValue":x=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:aw(w,g,b,A,v,null)}}Q7(w,v),H7(w,r,x,G,X,a,d,!1);return;case"select":Cg("select",v),i0("invalid",w),b=a=r=null;for(d in v)if(v.hasOwnProperty(d)&&(x=v[d],x!=null))switch(d){case"value":r=x;break;case"defaultValue":a=x;break;case"multiple":b=x;default:aw(w,g,d,x,v,null)}W7(w,v),g=r,v=a,w.multiple=!!b,g!=null?O5(w,!!b,g,!1):v!=null&&O5(w,!!b,v,!0);return;case"textarea":Cg("textarea",v),i0("invalid",w),r=d=b=null;for(a in v)if(v.hasOwnProperty(a)&&(x=v[a],x!=null))switch(a){case"value":b=x;break;case"defaultValue":d=x;break;case"children":r=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)}k7(w,v),l7(w,b,d,r);return;case"option":U7(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":i0("beforetoggle",w),i0("toggle",w),i0("cancel",w),i0("close",w);break;case"iframe":case"object":i0("load",w);break;case"video":case"audio":for(b=0;b<dr.length;b++)i0(dr[b],w);break;case"image":i0("error",w),i0("load",w);break;case"details":i0("toggle",w);break;case"embed":case"source":case"link":i0("error",w),i0("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(ib(g)){for(A in v)v.hasOwnProperty(A)&&(b=v[A],b!==void 0&&o3(w,g,A,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 S$(w,g,v,b){switch(P3(g,b),g){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,r=null,a=null,x=null,G=null,X=null,A=null;for(h in v){var M=v[h];if(v.hasOwnProperty(h)&&M!=null)switch(h){case"checked":break;case"value":break;case"defaultValue":G=M;default:b.hasOwnProperty(h)||aw(w,g,h,null,b,M)}}for(var W in b){var h=b[W];if(M=v[W],b.hasOwnProperty(W)&&(h!=null||M!=null))switch(W){case"type":r=h;break;case"name":d=h;break;case"checked":X=h;break;case"defaultChecked":A=h;break;case"value":a=h;break;case"defaultValue":x=h;break;case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:h!==M&&aw(w,g,W,h,b,M)}}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||M_||(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"),M_=!0),!g||b||A_||(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"),A_=!0),w6(w,a,x,G,X,A,r,d);return;case"select":h=a=x=W=null;for(r in v)if(G=v[r],v.hasOwnProperty(r)&&G!=null)switch(r){case"value":break;case"multiple":h=G;default:b.hasOwnProperty(r)||aw(w,g,r,null,b,G)}for(d in b)if(r=b[d],G=v[d],b.hasOwnProperty(d)&&(r!=null||G!=null))switch(d){case"value":W=r;break;case"defaultValue":x=r;break;case"multiple":a=r;default:r!==G&&aw(w,g,d,r,b,G)}b=x,g=a,v=h,W!=null?O5(w,!!g,W,!1):!!v!==!!g&&(b!=null?O5(w,!!g,b,!0):O5(w,!!g,g?[]:"",!1));return;case"textarea":h=W=null;for(x in v)if(d=v[x],v.hasOwnProperty(x)&&d!=null&&!b.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:aw(w,g,x,null,b,d)}for(a in b)if(d=b[a],r=v[a],b.hasOwnProperty(a)&&(d!=null||r!=null))switch(a){case"value":W=d;break;case"defaultValue":h=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:d!==r&&aw(w,g,a,d,b,r)}q7(w,W,h);return;case"option":for(var j in v)if(W=v[j],v.hasOwnProperty(j)&&W!=null&&!b.hasOwnProperty(j))switch(j){case"selected":w.selected=!1;break;default:aw(w,g,j,null,b,W)}for(G in b)if(W=b[G],h=v[G],b.hasOwnProperty(G)&&W!==h&&(W!=null||h!=null))switch(G){case"selected":w.selected=W&&typeof W!=="function"&&typeof W!=="symbol";break;default:aw(w,g,G,W,b,h)}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 t in v)W=v[t],v.hasOwnProperty(t)&&W!=null&&!b.hasOwnProperty(t)&&aw(w,g,t,null,b,W);for(X in b)if(W=b[X],h=v[X],b.hasOwnProperty(X)&&W!==h&&(W!=null||h!=null))switch(X){case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:aw(w,g,X,W,b,h)}return;default:if(ib(g)){for(var _w in v)W=v[_w],v.hasOwnProperty(_w)&&W!==void 0&&!b.hasOwnProperty(_w)&&o3(w,g,_w,void 0,b,W);for(A in b)W=b[A],h=v[A],!b.hasOwnProperty(A)||W===h||W===void 0&&h===void 0||o3(w,g,A,W,b,h);return}}for(var P0 in v)W=v[P0],v.hasOwnProperty(P0)&&W!=null&&!b.hasOwnProperty(P0)&&aw(w,g,P0,null,b,W);for(M in b)W=b[M],h=v[M],!b.hasOwnProperty(M)||W===h||W==null&&h==null||aw(w,g,M,W,b,h)}function KG(w){switch(w){case"class":return"className";case"for":return"htmlFor";default:return w}}function y3(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 RG(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,d=b="",r;for(r in g)if(g.hasOwnProperty(r)){var a=g[r];a!=null&&typeof a!=="boolean"&&a!==""&&(r.indexOf("--")===0?(mb(a,r),b+=d+r+":"+(""+a).trim()):typeof a!=="number"||a===0||iZ.has(r)?(mb(a,r),b+=d+r.replace(TZ,"-$1").toLowerCase().replace(CZ,"-ms-")+":"+(""+a).trim()):b+=d+r.replace(TZ,"-$1").toLowerCase().replace(CZ,"-ms-")+":"+a+"px",d=";")}b=b||null,g=w.getAttribute("style"),g!==b&&(b=jg(b),jg(g)!==b&&(v.style=y3(w)))}}function e1(w,g,v,b,d,r){if(d.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,r)}function hG(w,g,v,b,d,r){if(d.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,r)}function S3(w,g,v,b,d,r){if(d.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,r)}function NG(w,g,v,b,d,r){if(d.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,r)}function V3(w,g,v,b,d,r){if(d.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=Pb(""+b),w===v)return}Vw(g,w,b,r)}function FG(w,g,v,b){for(var d={},r=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:r.add(a[x].name)}if(ib(g)){for(var G in v)if(v.hasOwnProperty(G)){var X=v[G];if(X!=null){if(Dv.hasOwnProperty(G))typeof X!=="function"&&P2(G,X);else if(v.suppressHydrationWarning!==!0)switch(G){case"children":typeof X!=="string"&&typeof X!=="number"||Vw("children",w.textContent,X,d);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=OG(w,X),Vw(G,a,X,d));continue;case"style":r.delete(G),RG(w,X,d);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":r.delete(G.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",G);continue;case"className":r.delete("class"),a=Y7(w,"class",X),Vw("className",a,X,d);continue;default:b.context===Mg&&g!=="svg"&&g!=="math"?r.delete(G.toLowerCase()):r.delete(G),a=Y7(w,G,X),Vw(G,a,X,d)}}}}else for(X in v)if(v.hasOwnProperty(X)&&(G=v[X],G!=null)){if(Dv.hasOwnProperty(X))typeof G!=="function"&&P2(X,G);else if(v.suppressHydrationWarning!==!0)switch(X){case"children":typeof G!=="string"&&typeof G!=="number"||Vw("children",w.textContent,G,d);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=OG(w,G),a!==G&&(d[X]={__html:a}));continue;case"className":e1(w,X,"class",G,r,d);continue;case"tabIndex":e1(w,X,"tabindex",G,r,d);continue;case"style":r.delete(X),RG(w,G,d);continue;case"multiple":r.delete(X),Vw(X,w.multiple,G,d);continue;case"muted":r.delete(X),Vw(X,w.muted,G,d);continue;case"autoFocus":r.delete("autofocus"),Vw(X,w.autofocus,G,d);continue;case"data":if(g!=="object"){r.delete(X),a=w.getAttribute("data"),Vw(X,a,G,d);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}V3(w,X,X,G,r,d);continue;case"action":case"formAction":if(a=w.getAttribute(X),typeof G==="function"){r.delete(X.toLowerCase()),X==="formAction"?(r.delete("name"),r.delete("formenctype"),r.delete("formmethod"),r.delete("formtarget")):(r.delete("enctype"),r.delete("method"),r.delete("target"));continue}else if(a===vU){r.delete(X.toLowerCase()),Vw(X,"function",G,d);continue}V3(w,X,X.toLowerCase(),G,r,d);continue;case"xlinkHref":V3(w,X,"xlink:href",G,r,d);continue;case"contentEditable":S3(w,X,"contenteditable",G,r,d);continue;case"spellCheck":S3(w,X,"spellcheck",G,r,d);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":S3(w,X,X,G,r,d);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":hG(w,X,X.toLowerCase(),G,r,d);continue;case"capture":case"download":w:{x=w;var A=a=X,M=d;if(r.delete(A),x=x.getAttribute(A),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,M)}continue;case"cols":case"rows":case"size":case"span":w:{if(x=w,A=a=X,M=d,r.delete(A),x=x.getAttribute(A),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,M)}continue;case"rowSpan":NG(w,X,"rowspan",G,r,d);continue;case"start":NG(w,X,X,G,r,d);continue;case"xHeight":e1(w,X,"x-height",G,r,d);continue;case"xlinkActuate":e1(w,X,"xlink:actuate",G,r,d);continue;case"xlinkArcrole":e1(w,X,"xlink:arcrole",G,r,d);continue;case"xlinkRole":e1(w,X,"xlink:role",G,r,d);continue;case"xlinkShow":e1(w,X,"xlink:show",G,r,d);continue;case"xlinkTitle":e1(w,X,"xlink:title",G,r,d);continue;case"xlinkType":e1(w,X,"xlink:type",G,r,d);continue;case"xmlBase":e1(w,X,"xml:base",G,r,d);continue;case"xmlLang":e1(w,X,"xml:lang",G,r,d);continue;case"xmlSpace":e1(w,X,"xml:space",G,r,d);continue;case"inert":G!==""||ka[X]||(ka[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)),hG(w,X,X,G,r,d);continue;default:if(!(2<X.length)||X[0]!=="o"&&X[0]!=="O"||X[1]!=="n"&&X[1]!=="N"){x=m7(X),a=!1,b.context===Mg&&g!=="svg"&&g!=="math"?r.delete(x.toLowerCase()):(A=X.toLowerCase(),A=m4.hasOwnProperty(A)?m4[A]||null:null,A!==null&&A!==X&&(a=!0,r.delete(A)),r.delete(x));w:if(A=w,M=x,x=G,Cb(M))if(A.hasAttribute(M))A=A.getAttribute(M),dw(x,M),x=A===""+x?x:A;else{switch(typeof x){case"function":case"symbol":break w;case"boolean":if(A=M.toLowerCase().slice(0,5),A!=="data-"&&A!=="aria-")break w}x=x===void 0?void 0:null}else x=void 0;a||Vw(X,x,G,d)}}}return 0<r.size&&v.suppressHydrationWarning!==!0&&y$(w,r,d),Object.keys(d).length===0?null:d}function V$(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 mG(w){switch(w){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function E$(){if(typeof performance.getEntriesByType==="function"){for(var w=0,g=0,v=performance.getEntriesByType("resource"),b=0;b<v.length;b++){var d=v[b],r=d.transferSize,a=d.initiatorType,x=d.duration;if(r&&x&&mG(a)){a=0,x=d.responseEnd;for(b+=1;b<v.length;b++){var G=v[b],X=G.startTime;if(X>x)break;var{transferSize:A,initiatorType:M}=G;A&&mG(M)&&(G=G.responseEnd,a+=A*(G<x?1:(x-X)/(G-X)))}if(--b,g+=8*(r+a)/(d.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 $4(w){return w.nodeType===9?w:w.ownerDocument}function TG(w){switch(w){case n5:return Mb;case F4:return la;default:return Mg}}function CG(w,g){if(w===Mg)switch(g){case"svg":return Mb;case"math":return la;default:return Mg}return w===Mb&&g==="foreignObject"?Mg:w}function E3(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 j$(){var w=window.event;if(w&&w.type==="popstate"){if(w===Lx)return!1;return Lx=w,!0}return Lx=null,!1}function Xd(){var w=window.event;return w&&w!==xr?w.type:null}function _d(){var w=window.event;return w&&w!==xr?w.timeStamp:-1.1}function D$(w){setTimeout(function(){throw w})}function u$(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 n$(){}function p$(w,g,v,b){S$(w,g,v,b),w[Y1]=b}function fG(w){cb(w,"")}function t$(w,g,v){w.nodeValue=v}function IG(w){if(!w.__reactWarnedAboutChildrenConflict){var g=w[Y1]||null;if(g!==null){var v=W0(w);v!==null&&(typeof g.children==="string"||typeof g.children==="number"?(w.__reactWarnedAboutChildrenConflict=!0,s(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,s(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 s$(w,g){w.removeChild(g)}function e$(w,g){(w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w).removeChild(g)}function cG(w,g){var v=g,b=0;do{var d=v.nextSibling;if(w.removeChild(v),d&&d.nodeType===8)if(v=d.data,v===ar||v===qa){if(b===0){w.removeChild(d),S5(g);return}b--}else if(v===rr||v===Hv||v===_5||v===Ab||v===X5)b++;else if(v===dU)Yd(w.ownerDocument.documentElement);else if(v===aU){v=w.ownerDocument.head,Yd(v);for(var r=v.firstChild;r;){var{nextSibling:a,nodeName:x}=r;r[Wd]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&r.rel.toLowerCase()==="stylesheet"||v.removeChild(r),r=a}}else v===rU&&Yd(w.ownerDocument.body);v=d}while(v);S5(g)}function iG(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===ar)if(w===0)break;else w--;else v!==rr&&v!==Hv&&v!==_5&&v!==Ab||w++;v=b}while(v)}function wQ(w){iG(w,!0)}function gQ(w){w=w.style,typeof w.setProperty==="function"?w.setProperty("display","none","important"):w.display="none"}function vQ(w){w.nodeValue=""}function bQ(w){iG(w,!1)}function dQ(w,g){g=g[xU],g=g!==void 0&&g!==null&&g.hasOwnProperty("display")?g.display:null,w.style.display=g==null||typeof g==="boolean"?"":(""+g).trim()}function rQ(w,g){w.nodeValue=g}function j3(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":j3(v),u(v);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(v.rel.toLowerCase()==="stylesheet")continue}w.removeChild(v)}}function aQ(w,g,v,b){for(;w.nodeType===1;){var d=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(d.name,"name");var r=d.name==null?null:""+d.name;if(d.type==="hidden"&&w.getAttribute("name")===r)return w}else return w;else if(!w[Wd])switch(g){case"meta":if(!w.hasAttribute("itemprop"))break;return w;case"link":if(r=w.getAttribute("rel"),r==="stylesheet"&&w.hasAttribute("data-precedence"))break;else if(r!==d.rel||w.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||w.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||w.getAttribute("title")!==(d.title==null?null:d.title))break;return w;case"style":if(w.hasAttribute("data-precedence"))break;return w;case"script":if(r=w.getAttribute("src"),(r!==(d.src==null?null:d.src)||w.getAttribute("type")!==(d.type==null?null:d.type)||w.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&r&&w.hasAttribute("async")&&!w.hasAttribute("itemprop"))break;return w;default:return w}if(w=f1(w.nextSibling),w===null)break}return null}function xQ(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=f1(w.nextSibling),w===null)return null}return w}function PG(w,g){for(;w.nodeType!==8;){if((w.nodeType!==1||w.nodeName!=="INPUT"||w.type!=="hidden")&&!g)return null;if(w=f1(w.nextSibling),w===null)return null}return w}function D3(w){return w.data===Hv||w.data===_5}function u3(w){return w.data===Ab||w.data===Hv&&w.ownerDocument.readyState!==R_}function zQ(w,g){var v=w.ownerDocument;if(w.data===_5)w._reactRetry=g;else if(w.data!==Hv||v.readyState!==R_)g();else{var b=function(){g(),v.removeEventListener("DOMContentLoaded",b)};v.addEventListener("DOMContentLoaded",b),w._reactRetry=b}}function f1(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===rr||g===Ab||g===Hv||g===_5||g===X5||g===Ax||g===K_)break;if(g===ar||g===qa)return null}}return w}function oG(w){if(w.nodeType===1){for(var g=w.nodeName.toLowerCase(),v={},b=w.attributes,d=0;d<b.length;d++){var r=b[d];v[KG(r.name)]=r.name.toLowerCase()==="style"?y3(w):r.value}return{type:g,props:v}}return w.nodeType===8?w.data===X5?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:w.nodeValue}function yG(w,g,v){return v===null||v[bU]!==!0?(w.nodeValue===g?w=null:(g=jg(g),w=jg(w.nodeValue)===g?null:w.nodeValue),w):null}function n3(w){w=w.nextSibling;for(var g=0;w;){if(w.nodeType===8){var v=w.data;if(v===ar||v===qa){if(g===0)return f1(w.nextSibling);g--}else v!==rr&&v!==Ab&&v!==Hv&&v!==_5&&v!==X5||g++}w=w.nextSibling}return null}function SG(w){w=w.previousSibling;for(var g=0;w;){if(w.nodeType===8){var v=w.data;if(v===rr||v===Ab||v===Hv||v===_5||v===X5){if(g===0)return w;g--}else v!==ar&&v!==qa||g++}w=w.previousSibling}return null}function GQ(w){S5(w)}function ZQ(w){S5(w)}function XQ(w){S5(w)}function VG(w,g,v,b,d){switch(d&&a6(w,b.ancestorInfo),g=$4(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 _Q(w,g,v,b){if(!v[tg]&&W0(v)){var d=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.",d,d,d)}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(d=v.attributes;d.length;)v.removeAttributeNode(d[0]);ew(v,w,g),v[w1]=b,v[Y1]=g}function Yd(w){for(var g=w.attributes;g.length;)w.removeAttributeNode(g[0]);u(w)}function Q4(w){return typeof w.getRootNode==="function"?w.getRootNode():w.nodeType===9?w:w.ownerDocument}function EG(w,g,v){var b=Ob;if(b&&typeof g==="string"&&g){var d=s1(g);d='link[rel="'+w+'"][href="'+d+'"]',typeof v==="string"&&(d+='[crossorigin="'+v+'"]'),C_.has(d)||(C_.add(d),w={rel:w,crossOrigin:v,href:g},b.querySelector(d)===null&&(g=b.createElement("link"),ew(g,"link",w),G0(g),b.head.appendChild(g)))}}function jG(w,g,v,b){var d=(d=ng.current)?Q4(d):null;if(!d)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=o5(v.href),g=E0(d).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=o5(v.href);var r=E0(d).hoistableStyles,a=r.get(w);if(!a&&(d=d.ownerDocument||d,a={type:"stylesheet",instance:null,count:0,state:{loading:B5,preload:null}},r.set(w,a),(r=d.querySelector(Bd(w)))&&!r._p&&(a.instance=r,a.state.loading=zr|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),r||YQ(d,w,x,a.state)}if(g&&b===null)throw v=`
177
-
178
- - `+H4(g)+`
179
- + `+H4(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
- - `+H4(g)+`
182
- + `+H4(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=y5(v),g=E0(d).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 H4(w){var g=0,v="<link";return typeof w.rel==="string"?(g++,v+=' rel="'+w.rel+'"'):$2.call(w,"rel")&&(g++,v+=' rel="'+(w.rel===null?"null":"invalid type "+typeof w.rel)+'"'),typeof w.href==="string"?(g++,v+=' href="'+w.href+'"'):$2.call(w,"href")&&(g++,v+=' href="'+(w.href===null?"null":"invalid type "+typeof w.href)+'"'),typeof w.precedence==="string"?(g++,v+=' precedence="'+w.precedence+'"'):$2.call(w,"precedence")&&(g++,v+=" precedence={"+(w.precedence===null?"null":"invalid type "+typeof w.precedence)+"}"),Object.getOwnPropertyNames(w).length>g&&(v+=" ..."),v+" />"}function o5(w){return'href="'+s1(w)+'"'}function Bd(w){return'link[rel="stylesheet"]['+w+"]"}function DG(w){return m0({},w,{"data-precedence":w.precedence,precedence:null})}function YQ(w,g,v,b){w.querySelector('link[rel="preload"][as="style"]['+g+"]")?b.loading=zr:(g=w.createElement("link"),b.preload=g,g.addEventListener("load",function(){return b.loading|=zr}),g.addEventListener("error",function(){return b.loading|=m_}),ew(g,"link",v),G0(g),w.head.appendChild(g))}function y5(w){return'[src="'+s1(w)+'"]'}function $d(w){return"script[async]"+w}function uG(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,G0(b),b;var d=m0({},v,{"data-href":v.href,"data-precedence":v.precedence,href:null,precedence:null});return b=(w.ownerDocument||w).createElement("style"),G0(b),ew(b,"style",d),U4(b,v.precedence,w),g.instance=b;case"stylesheet":d=o5(v.href);var r=w.querySelector(Bd(d));if(r)return g.state.loading|=Z2,g.instance=r,G0(r),r;b=DG(v),(d=X2.get(d))&&p3(b,d),r=(w.ownerDocument||w).createElement("link"),G0(r);var a=r;return a._p=new Promise(function(x,G){a.onload=x,a.onerror=G}),ew(r,"link",b),g.state.loading|=Z2,U4(r,v.precedence,w),g.instance=r;case"script":if(r=y5(v.src),d=w.querySelector($d(r)))return g.instance=d,G0(d),d;if(b=v,d=X2.get(r))b=m0({},v),t3(b,d);return w=w.ownerDocument||w,d=w.createElement("script"),G0(d),ew(d,"link",b),w.head.appendChild(d),g.instance=d;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)===B5&&(b=g.instance,g.state.loading|=Z2,U4(b,v.precedence,w));return g.instance}function U4(w,g,v){for(var b=v.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=b.length?b[b.length-1]:null,r=d,a=0;a<b.length;a++){var x=b[a];if(x.dataset.precedence===g)r=x;else if(r!==d)break}r?r.parentNode.insertBefore(w,r.nextSibling):(g=v.nodeType===9?v.head:v,g.insertBefore(w,g.firstChild))}function p3(w,g){w.crossOrigin==null&&(w.crossOrigin=g.crossOrigin),w.referrerPolicy==null&&(w.referrerPolicy=g.referrerPolicy),w.title==null&&(w.title=g.title)}function t3(w,g){w.crossOrigin==null&&(w.crossOrigin=g.crossOrigin),w.referrerPolicy==null&&(w.referrerPolicy=g.referrerPolicy),w.integrity==null&&(w.integrity=g.integrity)}function nG(w,g,v){if(Aa===null){var b=new Map,d=Aa=new Map;d.set(v,b)}else d=Aa,b=d.get(v),b||(b=new Map,d.set(v,b));if(b.has(w))return b;b.set(w,null),v=v.getElementsByTagName(w);for(d=0;d<v.length;d++){var r=v[d];if(!(r[Wd]||r[w1]||w==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!==n5){var a=r.getAttribute(g)||"";a=w+a;var x=b.get(a);x?x.push(r):b.set(a,[r])}}return b}function pG(w,g,v){w=w.ownerDocument||w,w.head.insertBefore(v,g==="title"?w.querySelector("head > title"):null)}function BQ(w,g,v){var b=!v.ancestorInfo.containerTagInScope;if(v.context===Mb||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:d,disabled:r}=g;v=[],g.onLoad&&v.push("`onLoad`"),d&&v.push("`onError`"),r!=null&&v.push("`disabled`"),d=V$(v,"and"),d+=v.length===1?" prop":" props",r=v.length===1?"an "+d:"the "+d,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,r,d)}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 tG(w){return w.type==="stylesheet"&&(w.state.loading&T_)===B5?!1:!0}function $Q(w,g,v,b){if(v.type==="stylesheet"&&(typeof b.media!=="string"||matchMedia(b.media).matches!==!1)&&(v.state.loading&Z2)===B5){if(v.instance===null){var d=o5(b.href),r=g.querySelector(Bd(d));if(r){g=r._p,g!==null&&typeof g==="object"&&typeof g.then==="function"&&(w.count++,w=J4.bind(w),g.then(w,w)),v.state.loading|=Z2,v.instance=r,G0(r);return}r=g.ownerDocument||g,b=DG(b),(d=X2.get(d))&&p3(b,d),r=r.createElement("link"),G0(r);var a=r;a._p=new Promise(function(x,G){a.onload=x,a.onerror=G}),ew(r,"link",b),v.instance=r}w.stylesheets===null&&(w.stylesheets=new Map),w.stylesheets.set(v,g),(g=v.state.preload)&&(v.state.loading&T_)===B5&&(w.count++,v=J4.bind(w),g.addEventListener("load",v),g.addEventListener("error",v))}}function QQ(w,g){return w.stylesheets&&w.count===0&&W4(w,w.stylesheets),0<w.count||0<w.imgCount?function(v){var b=setTimeout(function(){if(w.stylesheets&&W4(w,w.stylesheets),w.unsuspend){var r=w.unsuspend;w.unsuspend=null,r()}},ZU+g);0<w.imgBytes&&Rx===0&&(Rx=125*E$()*_U);var d=setTimeout(function(){if(w.waitingForImages=!1,w.count===0&&(w.stylesheets&&W4(w,w.stylesheets),w.unsuspend)){var r=w.unsuspend;w.unsuspend=null,r()}},(w.imgBytes>Rx?50:XU)+g);return w.unsuspend=v,function(){w.unsuspend=null,clearTimeout(b),clearTimeout(d)}}:null}function J4(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)W4(this,this.stylesheets);else if(this.unsuspend){var w=this.unsuspend;this.unsuspend=null,w()}}}function W4(w,g){w.stylesheets=null,w.unsuspend!==null&&(w.count++,Ma=new Map,g.forEach(HQ,w),Ma=null,J4.call(w))}function HQ(w,g){if(!(g.state.loading&Z2)){var v=Ma.get(w);if(v)var b=v.get(hx);else{v=new Map,Ma.set(w,v);for(var d=w.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<d.length;r++){var a=d[r];if(a.nodeName==="LINK"||a.getAttribute("media")!=="not all")v.set(a.dataset.precedence,a),b=a}b&&v.set(hx,b)}d=g.instance,a=d.getAttribute("data-precedence"),r=v.get(a)||b,r===b&&v.set(hx,d),v.set(a,d),this.count++,b=J4.bind(this),d.addEventListener("load",b),d.addEventListener("error",b),r?r.parentNode.insertBefore(d,r.nextSibling):(w=w.nodeType===9?w.head:w,w.insertBefore(d,w.firstChild)),g.state.loading|=Z2}}function UQ(w,g,v,b,d,r,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=M5(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=M5(0),this.hiddenUpdates=M5(null),this.identifierPrefix=b,this.onUncaughtError=d,this.onCaughtError=r,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 sG(w,g,v,b,d,r,a,x,G,X,A,M){return w=new UQ(w,g,v,a,G,X,A,M,x),g=IH,r===!0&&(g|=x1|H2),g|=M0,r=N(3,null,null,g),w.current=r,r.stateNode=w,g=M6(),Pv(g),w.pooledCache=g,Pv(g),r.memoizedState={element:b,isDehydrated:v,cache:g},h6(r),w}function eG(w){if(!w)return gv;return w=gv,w}function s3(w,g,v,b,d,r){if(a1&&typeof a1.onScheduleFiberRoot==="function")try{a1.onScheduleFiberRoot(D5,b,v)}catch(a){V2||(V2=!0,console.error("React instrumentation encountered an error: %o",a))}d=eG(d),b.context===null?b.context=d:b.pendingContext=d,S2&&c1!==null&&!i_&&(i_=!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.`,E(c1)||"Unknown")),b=Pg(g),b.payload={element:v},r=r===void 0?null:r,r!==null&&(typeof r!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",r),b.callback=r),v=og(w,b,g),v!==null&&(K2(g,"root.render()",null),Aw(v,w,g),nb(v,w,g))}function wZ(w,g){if(w=w.memoizedState,w!==null&&w.dehydrated!==null){var v=w.retryLane;w.retryLane=v!==0&&v<g?v:g}}function e3(w,g){wZ(w,g),(w=w.alternate)&&wZ(w,g)}function gZ(w){if(w.tag===13||w.tag===31){var g=r1(w,67108864);g!==null&&Aw(g,w,67108864),e3(w,67108864)}}function vZ(w){if(w.tag===13||w.tag===31){var g=C1(w);g=Nv(g);var v=r1(w,g);v!==null&&Aw(v,w,g),e3(w,g)}}function JQ(){return c1}function WQ(w,g,v,b){var d=m.T;m.T=null;var r=t0.p;try{t0.p=i1,w8(w,g,v,b)}finally{t0.p=r,m.T=d}}function kQ(w,g,v,b){var d=m.T;m.T=null;var r=t0.p;try{t0.p=Q2,w8(w,g,v,b)}finally{t0.p=r,m.T=d}}function w8(w,g,v,b){if(La){var d=g8(b);if(d===null)i3(w,g,b,Ka,v),dZ(w,b);else if(qQ(d,w,g,v,b))b.stopPropagation();else if(dZ(w,b),g&4&&-1<BU.indexOf(w)){for(;d!==null;){var r=W0(d);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var a=A2(r.pendingLanes);if(a!==0){var x=r;x.pendingLanes|=2;for(x.entangledLanes|=2;a;){var G=1<<31-_1(a);x.entanglements[1]|=G,a&=~G}i2(r),(V0&(Sw|S1))===uw&&(Za=Ew()+Y_,Gd(0,!1))}}break;case 31:case 13:x=r1(r,2),x!==null&&Aw(x,r,2),c5(),e3(r,2)}if(r=g8(b),r===null&&i3(w,g,b,Ka,v),r===d)break;d=r}d!==null&&b.stopPropagation()}else i3(w,g,b,null,v)}}function g8(w){return w=x6(w),v8(w)}function v8(w){if(Ka=null,w=v0(w),w!==null){var g=g0(w);if(g===null)w=null;else{var v=g.tag;if(v===13){if(w=p(g),w!==null)return w;w=null}else if(v===31){if(w=r0(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 bZ(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(NQ()){case $8:return i1;case Q8:return Q2;case j5:case FQ:return j2;case H8:return h4;default:return j2}default:return j2}}function dZ(w,g){switch(w){case"focusin":case"focusout":Uv=null;break;case"dragenter":case"dragleave":Jv=null;break;case"mouseover":case"mouseout":Wv=null;break;case"pointerover":case"pointerout":Zr.delete(g.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xr.delete(g.pointerId)}}function Qd(w,g,v,b,d,r){if(w===null||w.nativeEvent!==r)return w={blockedOn:g,domEventName:v,eventSystemFlags:b,nativeEvent:r,targetContainers:[d]},g!==null&&(g=W0(g),g!==null&&gZ(g)),w;return w.eventSystemFlags|=b,g=w.targetContainers,d!==null&&g.indexOf(d)===-1&&g.push(d),w}function qQ(w,g,v,b,d){switch(g){case"focusin":return Uv=Qd(Uv,w,g,v,b,d),!0;case"dragenter":return Jv=Qd(Jv,w,g,v,b,d),!0;case"mouseover":return Wv=Qd(Wv,w,g,v,b,d),!0;case"pointerover":var r=d.pointerId;return Zr.set(r,Qd(Zr.get(r)||null,w,g,v,b,d)),!0;case"gotpointercapture":return r=d.pointerId,Xr.set(r,Qd(Xr.get(r)||null,w,g,v,b,d)),!0}return!1}function rZ(w){var g=v0(w.target);if(g!==null){var v=g0(g);if(v!==null){if(g=v.tag,g===13){if(g=p(v),g!==null){w.blockedOn=g,o(w.priority,function(){vZ(v)});return}}else if(g===31){if(g=r0(v),g!==null){w.blockedOn=g,o(w.priority,function(){vZ(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 k4(w){if(w.blockedOn!==null)return!1;for(var g=w.targetContainers;0<g.length;){var v=g8(w.nativeEvent);if(v===null){v=w.nativeEvent;var b=new v.constructor(v.type,v),d=b;kd!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),kd=d,v.target.dispatchEvent(b),kd===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."),kd=null}else return g=W0(v),g!==null&&gZ(g),w.blockedOn=v,!1;g.shift()}return!0}function aZ(w,g,v){k4(w)&&v.delete(g)}function lQ(){Nx=!1,Uv!==null&&k4(Uv)&&(Uv=null),Jv!==null&&k4(Jv)&&(Jv=null),Wv!==null&&k4(Wv)&&(Wv=null),Zr.forEach(aZ),Xr.forEach(aZ)}function q4(w,g){w.blockedOn===g&&(w.blockedOn=null,Nx||(Nx=!0,j0.unstable_scheduleCallback(j0.unstable_NormalPriority,lQ)))}function xZ(w){Ra!==w&&(Ra=w,j0.unstable_scheduleCallback(j0.unstable_NormalPriority,function(){Ra===w&&(Ra=null);for(var g=0;g<w.length;g+=3){var v=w[g],b=w[g+1],d=w[g+2];if(typeof b!=="function")if(v8(b||v)===null)continue;else break;var r=W0(v);r!==null&&(w.splice(g,3),g-=3,v={pending:!0,data:d,method:v.method,action:b},Object.freeze(v),v3(r,v,b,d))}}))}function S5(w){function g(G){return q4(G,w)}Uv!==null&&q4(Uv,w),Jv!==null&&q4(Jv,w),Wv!==null&&q4(Wv,w),Zr.forEach(g),Xr.forEach(g);for(var v=0;v<kv.length;v++){var b=kv[v];b.blockedOn===w&&(b.blockedOn=null)}for(;0<kv.length&&(v=kv[0],v.blockedOn===null);)rZ(v),v.blockedOn===null&&kv.shift();if(v=(w.ownerDocument||w).$$reactFormReplay,v!=null)for(b=0;b<v.length;b+=3){var d=v[b],r=v[b+1],a=d[Y1]||null;if(typeof r==="function")a||xZ(v);else if(a){var x=null;if(r&&r.hasAttribute("formAction")){if(d=r,a=r[Y1]||null)x=a.formAction;else if(v8(d)!==null)continue}else x=a.action;typeof x==="function"?v[b+1]=x:(v.splice(b,3),b-=3),xZ(v)}}}function zZ(){function w(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(a){return d=a})},focusReset:"manual",scroll:"manual"})}function g(){d!==null&&(d(),d=null),b||setTimeout(v,20)}function v(){if(!b&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var b=!1,d=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),d!==null&&(d(),d=null)}}}function b8(w){this._internalRoot=w}function l4(w){this._internalRoot=w}function GZ(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 m0=Object.assign,AQ=Symbol.for("react.element"),o2=Symbol.for("react.transitional.element"),V5=Symbol.for("react.portal"),E5=Symbol.for("react.fragment"),A4=Symbol.for("react.strict_mode"),d8=Symbol.for("react.profiler"),r8=Symbol.for("react.consumer"),y2=Symbol.for("react.context"),Hd=Symbol.for("react.forward_ref"),a8=Symbol.for("react.suspense"),x8=Symbol.for("react.suspense_list"),M4=Symbol.for("react.memo"),I1=Symbol.for("react.lazy"),z8=Symbol.for("react.activity"),MQ=Symbol.for("react.memo_cache_sentinel"),ZZ=Symbol.iterator,OQ=Symbol.for("react.client.reference"),ow=Array.isArray,m=Lb.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,t0=Tx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,LQ=Object.freeze({pending:!1,data:null,method:null,action:null}),G8=[],Z8=[],Xg=-1,ug=e0(null),Ud=e0(null),ng=e0(null),O4=e0(null),Jd=0,XZ,_Z,YZ,BZ,$Z,QZ,HZ;C.__reactDisabledLog=!0;var X8,UZ,_8=!1,Y8=new(typeof WeakMap==="function"?WeakMap:Map),c1=null,S2=!1,$2=Object.prototype.hasOwnProperty,B8=j0.unstable_scheduleCallback,KQ=j0.unstable_cancelCallback,RQ=j0.unstable_shouldYield,hQ=j0.unstable_requestPaint,Ew=j0.unstable_now,NQ=j0.unstable_getCurrentPriorityLevel,$8=j0.unstable_ImmediatePriority,Q8=j0.unstable_UserBlockingPriority,j5=j0.unstable_NormalPriority,FQ=j0.unstable_LowPriority,H8=j0.unstable_IdlePriority,mQ=j0.log,TQ=j0.unstable_setDisableYieldValue,D5=null,a1=null,V2=!1,E2=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",_1=Math.clz32?Math.clz32:Br,CQ=Math.log,fQ=Math.LN2,L4=256,K4=262144,R4=4194304,i1=2,Q2=8,j2=32,h4=268435456,pg=Math.random().toString(36).slice(2),w1="__reactFiber$"+pg,Y1="__reactProps$"+pg,tg="__reactContainer$"+pg,U8="__reactEvents$"+pg,IQ="__reactListeners$"+pg,cQ="__reactHandles$"+pg,JZ="__reactResources$"+pg,Wd="__reactMarker$"+pg,WZ=new Set,Dv={},J8={},iQ={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},PQ=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]*$"),kZ={},qZ={},oQ=/[\n"\\]/g,lZ=!1,AZ=!1,MZ=!1,OZ=!1,LZ=!1,KZ=!1,RZ=["value","defaultValue"],hZ=!1,NZ=/["'&<>\n\t]|^\s|\s$/,yQ="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(" "),FZ="applet caption html table td th marquee object template foreignObject desc title".split(" "),SQ=FZ.concat(["button"]),VQ="dd dt li option optgroup p rp rt".split(" "),mZ={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},N4={},W8={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"]},TZ=/([A-Z])/g,CZ=/^ms-/,EQ=/^(?:webkit|moz|o)[A-Z]/,jQ=/^-ms-/,DQ=/-(.)/g,fZ=/;\s*$/,u5={},k8={},IZ=!1,cZ=!1,iZ=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(" ")),F4="http://www.w3.org/1998/Math/MathML",n5="http://www.w3.org/2000/svg",uQ=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"]]),m4={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"},PZ={"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},p5={},nQ=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]*$"),pQ=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,B1={},yZ=/^on./,tQ=/^on[^A-Z]/,sQ=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]*$"),eQ=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]*$"),wH=/^[\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,kd=null,t5=null,s5=null,q8=!1,D2=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l8=!1;if(D2)try{var qd={};Object.defineProperty(qd,"passive",{get:function(){l8=!0}}),window.addEventListener("test",qd,qd),window.removeEventListener("test",qd,qd)}catch(w){l8=!1}var sg=null,A8=null,T4=null,uv={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(w){return w.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},C4=W1(uv),ld=m0({},uv,{view:0,detail:0}),gH=W1(ld),M8,O8,Ad,f4=m0({},ld,{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!==Ad&&(Ad&&w.type==="mousemove"?(M8=w.screenX-Ad.screenX,O8=w.screenY-Ad.screenY):O8=M8=0,Ad=w),M8},movementY:function(w){return"movementY"in w?w.movementY:O8}}),SZ=W1(f4),vH=m0({},f4,{dataTransfer:0}),bH=W1(vH),dH=m0({},ld,{relatedTarget:0}),L8=W1(dH),rH=m0({},uv,{animationName:0,elapsedTime:0,pseudoElement:0}),aH=W1(rH),xH=m0({},uv,{clipboardData:function(w){return"clipboardData"in w?w.clipboardData:window.clipboardData}}),zH=W1(xH),GH=m0({},uv,{data:0}),VZ=W1(GH),ZH=VZ,XH={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_H={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"},YH={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},BH=m0({},ld,{key:function(w){if(w.key){var g=XH[w.key]||w.key;if(g!=="Unidentified")return g}return w.type==="keypress"?(w=kr(w),w===13?"Enter":String.fromCharCode(w)):w.type==="keydown"||w.type==="keyup"?_H[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"?kr(w):0},keyCode:function(w){return w.type==="keydown"||w.type==="keyup"?w.keyCode:0},which:function(w){return w.type==="keypress"?kr(w):w.type==="keydown"||w.type==="keyup"?w.keyCode:0}}),$H=W1(BH),QH=m0({},f4,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),EZ=W1(QH),HH=m0({},ld,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:z6}),UH=W1(HH),JH=m0({},uv,{propertyName:0,elapsedTime:0,pseudoElement:0}),WH=W1(JH),kH=m0({},f4,{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}),qH=W1(kH),lH=m0({},uv,{newState:0,oldState:0}),AH=W1(lH),MH=[9,13,27,32],jZ=229,K8=D2&&"CompositionEvent"in window,Md=null;D2&&"documentMode"in document&&(Md=document.documentMode);var OH=D2&&"TextEvent"in window&&!Md,DZ=D2&&(!K8||Md&&8<Md&&11>=Md),uZ=32,nZ=String.fromCharCode(uZ),pZ=!1,e5=!1,LH={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},Od=null,Ld=null,tZ=!1;D2&&(tZ=uB("input")&&(!document.documentMode||9<document.documentMode));var $1=typeof Object.is==="function"?Object.is:w$,KH=D2&&"documentMode"in document&&11>=document.documentMode,wb=null,R8=null,Kd=null,h8=!1,gb={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")},N8={},sZ={};D2&&(sZ=document.createElement("div").style,("AnimationEvent"in window)||(delete gb.animationend.animation,delete gb.animationiteration.animation,delete gb.animationstart.animation),("TransitionEvent"in window)||delete gb.transitionend.transition);var eZ=Tv("animationend"),wX=Tv("animationiteration"),gX=Tv("animationstart"),RH=Tv("transitionrun"),hH=Tv("transitionstart"),NH=Tv("transitioncancel"),vX=Tv("transitionend"),bX=new Map,F8="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(" ");F8.push("scrollEnd");var dX=0;if(typeof performance==="object"&&typeof performance.now==="function")var FH=performance,rX=function(){return FH.now()};else{var mH=Date;rX=function(){return mH.now()}}var m8=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)},TH="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.",I4=0,T8=1,C8=2,f8=3,c4="– ",i4="+ ",aX="  ",Qw=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",w2="Components ⚛",T0="Scheduler ⚛",C0="Blocking",eg=!1,_g={color:"primary",properties:null,tooltipText:"",track:w2},wv={start:-0,end:-0,detail:{devtools:_g}},CH=["Changed Props",""],xX="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",fH=["Changed Props",xX],Rd=1,Yg=2,g2=[],vb=0,I8=0,gv={};Object.freeze(gv);var v2=null,bb=null,Y0=0,IH=1,M0=2,x1=8,H2=16,cH=32,zX=!1;try{var GX=Object.preventExtensions({})}catch(w){zX=!0}var c8=new WeakMap,db=[],rb=0,P4=null,hd=0,b2=[],d2=0,nv=null,Bg=1,$g="",g1=null,Hw=null,I0=!1,u2=!1,P1=null,vv=null,r2=!1,i8=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."),P8=e0(null),o8=e0(null),ZX={},o4=null,ab=null,xb=!1,iH=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()})}},PH=j0.unstable_scheduleCallback,oH=j0.unstable_NormalPriority,mw={$$typeof:y2,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Tw=j0.unstable_now,y4=console.createTask?console.createTask:function(){return null},Nd=1,S4=2,jw=-0,bv=-0,Qg=-0,Hg=null,Q1=-1.1,pv=-0,qw=-0,Z0=-1.1,X0=-1.1,Ww=null,Mw=!1,dv=-0,n2=-1.1,Fd=null,rv=0,y8=null,S8=null,tv=-1.1,md=null,zb=-1.1,V4=-1.1,p2=-0,Ug=-1.1,a2=-1.1,V8=0,Td=null,XX=null,_X=null,av=-1.1,sv=null,xv=-1.1,E4=-1.1,YX=-0,BX=-0,j4=0,Jg=null,$X=0,Cd=-1.1,D4=!1,u4=!1,fd=null,E8=0,ev=0,Gb=null,QX=m.S;m.S=function(w,g){if(X_=Ew(),typeof g==="object"&&g!==null&&typeof g.then==="function"){if(0>Ug&&0>a2){Ug=Tw();var v=_d(),b=Xd();if(v!==xv||b!==sv)xv=-1.1;av=v,sv=b}x$(w,g)}QX!==null&&QX(w,g)};var w5=e0(null),U2={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Id=[],cd=[],id=[],Pd=[],od=[],yd=[],g5=new Set;U2.recordUnsafeLifecycleWarnings=function(w,g){g5.has(w.type)||(typeof g.componentWillMount==="function"&&g.componentWillMount.__suppressDeprecationWarning!==!0&&Id.push(w),w.mode&x1&&typeof g.UNSAFE_componentWillMount==="function"&&cd.push(w),typeof g.componentWillReceiveProps==="function"&&g.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&id.push(w),w.mode&x1&&typeof g.UNSAFE_componentWillReceiveProps==="function"&&Pd.push(w),typeof g.componentWillUpdate==="function"&&g.componentWillUpdate.__suppressDeprecationWarning!==!0&&od.push(w),w.mode&x1&&typeof g.UNSAFE_componentWillUpdate==="function"&&yd.push(w))},U2.flushPendingUnsafeLifecycleWarnings=function(){var w=new Set;0<Id.length&&(Id.forEach(function(x){w.add(E(x)||"Component"),g5.add(x.type)}),Id=[]);var g=new Set;0<cd.length&&(cd.forEach(function(x){g.add(E(x)||"Component"),g5.add(x.type)}),cd=[]);var v=new Set;0<id.length&&(id.forEach(function(x){v.add(E(x)||"Component"),g5.add(x.type)}),id=[]);var b=new Set;0<Pd.length&&(Pd.forEach(function(x){b.add(E(x)||"Component"),g5.add(x.type)}),Pd=[]);var d=new Set;0<od.length&&(od.forEach(function(x){d.add(E(x)||"Component"),g5.add(x.type)}),od=[]);var r=new Set;if(0<yd.length&&(yd.forEach(function(x){r.add(E(x)||"Component"),g5.add(x.type)}),yd=[]),0<g.size){var a=H(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=H(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<r.size&&(a=H(r),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=H(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=H(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<d.size&&(a=H(d),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 n4=new Map,HX=new Set;U2.recordLegacyContextWarning=function(w,g){var v=null;for(var b=w;b!==null;)b.mode&x1&&(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."):!HX.has(w.type)&&(b=n4.get(v),w.type.contextTypes!=null||w.type.childContextTypes!=null||g!==null&&typeof g.getChildContext==="function")&&(b===void 0&&(b=[],n4.set(v,b)),b.push(w))},U2.flushLegacyContextWarning=function(){n4.forEach(function(w){if(w.length!==0){var g=w[0],v=new Set;w.forEach(function(d){v.add(E(d)||"Component"),HX.add(d.type)});var b=H(v);s(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(){Id=[],cd=[],id=[],Pd=[],od=[],yd=[],n4=new Map};var UX={react_stack_bottom_frame:function(w,g,v){var b=S2;S2=!0;try{return w(g,v)}finally{S2=b}}},j8=UX.react_stack_bottom_frame.bind(UX),JX={react_stack_bottom_frame:function(w){var g=S2;S2=!0;try{return w.render()}finally{S2=g}}},WX=JX.react_stack_bottom_frame.bind(JX),kX={react_stack_bottom_frame:function(w,g){try{g.componentDidMount()}catch(v){p0(w,w.return,v)}}},D8=kX.react_stack_bottom_frame.bind(kX),qX={react_stack_bottom_frame:function(w,g,v,b,d){try{g.componentDidUpdate(v,b,d)}catch(r){p0(w,w.return,r)}}},lX=qX.react_stack_bottom_frame.bind(qX),AX={react_stack_bottom_frame:function(w,g){var v=g.stack;w.componentDidCatch(g.value,{componentStack:v!==null?v:""})}},yH=AX.react_stack_bottom_frame.bind(AX),MX={react_stack_bottom_frame:function(w,g,v){try{v.componentWillUnmount()}catch(b){p0(w,g,b)}}},OX=MX.react_stack_bottom_frame.bind(MX),LX={react_stack_bottom_frame:function(w){var g=w.create;return w=w.inst,g=g(),w.destroy=g}},SH=LX.react_stack_bottom_frame.bind(LX),KX={react_stack_bottom_frame:function(w,g,v){try{v()}catch(b){p0(w,g,b)}}},VH=KX.react_stack_bottom_frame.bind(KX),RX={react_stack_bottom_frame:function(w){var g=w._init;return g(w._payload)}},EH=RX.react_stack_bottom_frame.bind(RX),Zb=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`."),u8=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."),p4=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."),t4={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,Sd=!1,Xb=null,Vd=0,O0=null,n8,hX=n8=!1,NX={},FX={},mX={};O=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=E(w),d=b||"null";if(!NX[d]){NX[d]=!0,v=v._owner,w=w._debugOwner;var r="";w&&typeof w.tag==="number"&&(d=E(w))&&(r=`
220
-
221
- Check the render method of \``+d+"`."),r||b&&(r=`
222
-
223
- Check the top-level render call using <`+b+">.");var a="";v!=null&&w!==v&&(b=null,typeof v.tag==="number"?b=E(v):typeof v.name==="string"&&(b=v.name),b&&(a=" It was passed a child from "+b+".")),s(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.',r,a)})}}};var b5=M9(!0),TX=M9(!1),CX=0,fX=1,IX=2,p8=3,zv=!1,cX=!1,t8=null,s8=!1,_b=e0(null),s4=e0(0),o1=e0(null),x2=null,Yb=1,Ed=2,hw=e0(0),e4=0,z2=1,H1=2,y1=4,U1=8,Bb,iX=new Set,PX=new Set,e8=new Set,oX=new Set,Wg=0,Q0=null,xw=null,Cw=null,wa=!1,$b=!1,d5=!1,ga=0,jd=0,kg=null,jH=0,DH=25,F=null,G2=null,qg=-1,Dd=!1,ud={readContext:Jw,use:Vg,useCallback:Kw,useContext:Kw,useEffect:Kw,useImperativeHandle:Kw,useLayoutEffect:Kw,useInsertionEffect:Kw,useMemo:Kw,useReducer:Kw,useRef:Kw,useState:Kw,useDebugValue:Kw,useDeferredValue:Kw,useTransition:Kw,useSyncExternalStore:Kw,useId:Kw,useHostTransitionStatus:Kw,useFormState:Kw,useActionState:Kw,useOptimistic:Kw,useMemoCache:Kw,useCacheRefresh:Kw};ud.useEffectEvent=Kw;var wx=null,yX=null,gx=null,SX=null,t2=null,J2=null,va=null;wx={readContext:function(w){return Jw(w)},use:Vg,useCallback:function(w,g){return F="useCallback",F0(),N5(g),s6(w,g)},useContext:function(w){return F="useContext",F0(),Jw(w)},useEffect:function(w,g){return F="useEffect",F0(),N5(g),nr(w,g)},useImperativeHandle:function(w,g,v){return F="useImperativeHandle",F0(),N5(v),t6(w,g,v)},useInsertionEffect:function(w,g){F="useInsertionEffect",F0(),N5(g),yv(4,H1,w,g)},useLayoutEffect:function(w,g){return F="useLayoutEffect",F0(),N5(g),p6(w,g)},useMemo:function(w,g){F="useMemo",F0(),N5(g);var v=m.H;m.H=t2;try{return e6(w,g)}finally{m.H=v}},useReducer:function(w,g,v){F="useReducer",F0();var b=m.H;m.H=t2;try{return o6(w,g,v)}finally{m.H=b}},useRef:function(w){return F="useRef",F0(),u6(w)},useState:function(w){F="useState",F0();var g=m.H;m.H=t2;try{return E6(w)}finally{m.H=g}},useDebugValue:function(){F="useDebugValue",F0()},useDeferredValue:function(w,g){return F="useDeferredValue",F0(),w3(w,g)},useTransition:function(){return F="useTransition",F0(),b3()},useSyncExternalStore:function(w,g,v){return F="useSyncExternalStore",F0(),S6(w,g,v)},useId:function(){return F="useId",F0(),d3()},useFormState:function(w,g){return F="useFormState",F0(),Vr(),m5(w,g)},useActionState:function(w,g){return F="useActionState",F0(),m5(w,g)},useOptimistic:function(w){return F="useOptimistic",F0(),j6(w)},useHostTransitionStatus:Sv,useMemoCache:ov,useCacheRefresh:function(){return F="useCacheRefresh",F0(),r3()},useEffectEvent:function(w){return F="useEffectEvent",F0(),n6(w)}},yX={readContext:function(w){return Jw(w)},use:Vg,useCallback:function(w,g){return F="useCallback",i(),s6(w,g)},useContext:function(w){return F="useContext",i(),Jw(w)},useEffect:function(w,g){return F="useEffect",i(),nr(w,g)},useImperativeHandle:function(w,g,v){return F="useImperativeHandle",i(),t6(w,g,v)},useInsertionEffect:function(w,g){F="useInsertionEffect",i(),yv(4,H1,w,g)},useLayoutEffect:function(w,g){return F="useLayoutEffect",i(),p6(w,g)},useMemo:function(w,g){F="useMemo",i();var v=m.H;m.H=t2;try{return e6(w,g)}finally{m.H=v}},useReducer:function(w,g,v){F="useReducer",i();var b=m.H;m.H=t2;try{return o6(w,g,v)}finally{m.H=b}},useRef:function(w){return F="useRef",i(),u6(w)},useState:function(w){F="useState",i();var g=m.H;m.H=t2;try{return E6(w)}finally{m.H=g}},useDebugValue:function(){F="useDebugValue",i()},useDeferredValue:function(w,g){return F="useDeferredValue",i(),w3(w,g)},useTransition:function(){return F="useTransition",i(),b3()},useSyncExternalStore:function(w,g,v){return F="useSyncExternalStore",i(),S6(w,g,v)},useId:function(){return F="useId",i(),d3()},useActionState:function(w,g){return F="useActionState",i(),m5(w,g)},useFormState:function(w,g){return F="useFormState",i(),Vr(),m5(w,g)},useOptimistic:function(w){return F="useOptimistic",i(),j6(w)},useHostTransitionStatus:Sv,useMemoCache:ov,useCacheRefresh:function(){return F="useCacheRefresh",i(),r3()},useEffectEvent:function(w){return F="useEffectEvent",i(),n6(w)}},gx={readContext:function(w){return Jw(w)},use:Vg,useCallback:function(w,g){return F="useCallback",i(),sr(w,g)},useContext:function(w){return F="useContext",i(),Jw(w)},useEffect:function(w,g){F="useEffect",i(),k1(2048,U1,w,g)},useImperativeHandle:function(w,g,v){return F="useImperativeHandle",i(),tr(w,g,v)},useInsertionEffect:function(w,g){return F="useInsertionEffect",i(),k1(4,H1,w,g)},useLayoutEffect:function(w,g){return F="useLayoutEffect",i(),k1(4,y1,w,g)},useMemo:function(w,g){F="useMemo",i();var v=m.H;m.H=J2;try{return er(w,g)}finally{m.H=v}},useReducer:function(w,g,v){F="useReducer",i();var b=m.H;m.H=J2;try{return F5(w,g,v)}finally{m.H=b}},useRef:function(){return F="useRef",i(),ww().memoizedState},useState:function(){F="useState",i();var w=m.H;m.H=J2;try{return F5(Y2)}finally{m.H=w}},useDebugValue:function(){F="useDebugValue",i()},useDeferredValue:function(w,g){return F="useDeferredValue",i(),D9(w,g)},useTransition:function(){return F="useTransition",i(),e9()},useSyncExternalStore:function(w,g,v){return F="useSyncExternalStore",i(),jr(w,g,v)},useId:function(){return F="useId",i(),ww().memoizedState},useFormState:function(w){return F="useFormState",i(),Vr(),Dr(w)},useActionState:function(w){return F="useActionState",i(),Dr(w)},useOptimistic:function(w,g){return F="useOptimistic",i(),I9(w,g)},useHostTransitionStatus:Sv,useMemoCache:ov,useCacheRefresh:function(){return F="useCacheRefresh",i(),ww().memoizedState},useEffectEvent:function(w){return F="useEffectEvent",i(),pr(w)}},SX={readContext:function(w){return Jw(w)},use:Vg,useCallback:function(w,g){return F="useCallback",i(),sr(w,g)},useContext:function(w){return F="useContext",i(),Jw(w)},useEffect:function(w,g){F="useEffect",i(),k1(2048,U1,w,g)},useImperativeHandle:function(w,g,v){return F="useImperativeHandle",i(),tr(w,g,v)},useInsertionEffect:function(w,g){return F="useInsertionEffect",i(),k1(4,H1,w,g)},useLayoutEffect:function(w,g){return F="useLayoutEffect",i(),k1(4,y1,w,g)},useMemo:function(w,g){F="useMemo",i();var v=m.H;m.H=va;try{return er(w,g)}finally{m.H=v}},useReducer:function(w,g,v){F="useReducer",i();var b=m.H;m.H=va;try{return eb(w,g,v)}finally{m.H=b}},useRef:function(){return F="useRef",i(),ww().memoizedState},useState:function(){F="useState",i();var w=m.H;m.H=va;try{return eb(Y2)}finally{m.H=w}},useDebugValue:function(){F="useDebugValue",i()},useDeferredValue:function(w,g){return F="useDeferredValue",i(),u9(w,g)},useTransition:function(){return F="useTransition",i(),wz()},useSyncExternalStore:function(w,g,v){return F="useSyncExternalStore",i(),jr(w,g,v)},useId:function(){return F="useId",i(),ww().memoizedState},useFormState:function(w){return F="useFormState",i(),Vr(),ur(w)},useActionState:function(w){return F="useActionState",i(),ur(w)},useOptimistic:function(w,g){return F="useOptimistic",i(),i9(w,g)},useHostTransitionStatus:Sv,useMemoCache:ov,useCacheRefresh:function(){return F="useCacheRefresh",i(),ww().memoizedState},useEffectEvent:function(w){return F="useEffectEvent",i(),pr(w)}},t2={readContext:function(w){return K(),Jw(w)},use:function(w){return Q(),Vg(w)},useCallback:function(w,g){return F="useCallback",Q(),F0(),s6(w,g)},useContext:function(w){return F="useContext",Q(),F0(),Jw(w)},useEffect:function(w,g){return F="useEffect",Q(),F0(),nr(w,g)},useImperativeHandle:function(w,g,v){return F="useImperativeHandle",Q(),F0(),t6(w,g,v)},useInsertionEffect:function(w,g){F="useInsertionEffect",Q(),F0(),yv(4,H1,w,g)},useLayoutEffect:function(w,g){return F="useLayoutEffect",Q(),F0(),p6(w,g)},useMemo:function(w,g){F="useMemo",Q(),F0();var v=m.H;m.H=t2;try{return e6(w,g)}finally{m.H=v}},useReducer:function(w,g,v){F="useReducer",Q(),F0();var b=m.H;m.H=t2;try{return o6(w,g,v)}finally{m.H=b}},useRef:function(w){return F="useRef",Q(),F0(),u6(w)},useState:function(w){F="useState",Q(),F0();var g=m.H;m.H=t2;try{return E6(w)}finally{m.H=g}},useDebugValue:function(){F="useDebugValue",Q(),F0()},useDeferredValue:function(w,g){return F="useDeferredValue",Q(),F0(),w3(w,g)},useTransition:function(){return F="useTransition",Q(),F0(),b3()},useSyncExternalStore:function(w,g,v){return F="useSyncExternalStore",Q(),F0(),S6(w,g,v)},useId:function(){return F="useId",Q(),F0(),d3()},useFormState:function(w,g){return F="useFormState",Q(),F0(),m5(w,g)},useActionState:function(w,g){return F="useActionState",Q(),F0(),m5(w,g)},useOptimistic:function(w){return F="useOptimistic",Q(),F0(),j6(w)},useMemoCache:function(w){return Q(),ov(w)},useHostTransitionStatus:Sv,useCacheRefresh:function(){return F="useCacheRefresh",F0(),r3()},useEffectEvent:function(w){return F="useEffectEvent",Q(),F0(),n6(w)}},J2={readContext:function(w){return K(),Jw(w)},use:function(w){return Q(),Vg(w)},useCallback:function(w,g){return F="useCallback",Q(),i(),sr(w,g)},useContext:function(w){return F="useContext",Q(),i(),Jw(w)},useEffect:function(w,g){F="useEffect",Q(),i(),k1(2048,U1,w,g)},useImperativeHandle:function(w,g,v){return F="useImperativeHandle",Q(),i(),tr(w,g,v)},useInsertionEffect:function(w,g){return F="useInsertionEffect",Q(),i(),k1(4,H1,w,g)},useLayoutEffect:function(w,g){return F="useLayoutEffect",Q(),i(),k1(4,y1,w,g)},useMemo:function(w,g){F="useMemo",Q(),i();var v=m.H;m.H=J2;try{return er(w,g)}finally{m.H=v}},useReducer:function(w,g,v){F="useReducer",Q(),i();var b=m.H;m.H=J2;try{return F5(w,g,v)}finally{m.H=b}},useRef:function(){return F="useRef",Q(),i(),ww().memoizedState},useState:function(){F="useState",Q(),i();var w=m.H;m.H=J2;try{return F5(Y2)}finally{m.H=w}},useDebugValue:function(){F="useDebugValue",Q(),i()},useDeferredValue:function(w,g){return F="useDeferredValue",Q(),i(),D9(w,g)},useTransition:function(){return F="useTransition",Q(),i(),e9()},useSyncExternalStore:function(w,g,v){return F="useSyncExternalStore",Q(),i(),jr(w,g,v)},useId:function(){return F="useId",Q(),i(),ww().memoizedState},useFormState:function(w){return F="useFormState",Q(),i(),Dr(w)},useActionState:function(w){return F="useActionState",Q(),i(),Dr(w)},useOptimistic:function(w,g){return F="useOptimistic",Q(),i(),I9(w,g)},useMemoCache:function(w){return Q(),ov(w)},useHostTransitionStatus:Sv,useCacheRefresh:function(){return F="useCacheRefresh",i(),ww().memoizedState},useEffectEvent:function(w){return F="useEffectEvent",Q(),i(),pr(w)}},va={readContext:function(w){return K(),Jw(w)},use:function(w){return Q(),Vg(w)},useCallback:function(w,g){return F="useCallback",Q(),i(),sr(w,g)},useContext:function(w){return F="useContext",Q(),i(),Jw(w)},useEffect:function(w,g){F="useEffect",Q(),i(),k1(2048,U1,w,g)},useImperativeHandle:function(w,g,v){return F="useImperativeHandle",Q(),i(),tr(w,g,v)},useInsertionEffect:function(w,g){return F="useInsertionEffect",Q(),i(),k1(4,H1,w,g)},useLayoutEffect:function(w,g){return F="useLayoutEffect",Q(),i(),k1(4,y1,w,g)},useMemo:function(w,g){F="useMemo",Q(),i();var v=m.H;m.H=J2;try{return er(w,g)}finally{m.H=v}},useReducer:function(w,g,v){F="useReducer",Q(),i();var b=m.H;m.H=J2;try{return eb(w,g,v)}finally{m.H=b}},useRef:function(){return F="useRef",Q(),i(),ww().memoizedState},useState:function(){F="useState",Q(),i();var w=m.H;m.H=J2;try{return eb(Y2)}finally{m.H=w}},useDebugValue:function(){F="useDebugValue",Q(),i()},useDeferredValue:function(w,g){return F="useDeferredValue",Q(),i(),u9(w,g)},useTransition:function(){return F="useTransition",Q(),i(),wz()},useSyncExternalStore:function(w,g,v){return F="useSyncExternalStore",Q(),i(),jr(w,g,v)},useId:function(){return F="useId",Q(),i(),ww().memoizedState},useFormState:function(w){return F="useFormState",Q(),i(),ur(w)},useActionState:function(w){return F="useActionState",Q(),i(),ur(w)},useOptimistic:function(w,g){return F="useOptimistic",Q(),i(),i9(w,g)},useMemoCache:function(w){return Q(),ov(w)},useHostTransitionStatus:Sv,useCacheRefresh:function(){return F="useCacheRefresh",i(),ww().memoizedState},useEffectEvent:function(w){return F="useEffectEvent",Q(),i(),pr(w)}};var VX={},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,w_=new Set;Object.freeze(VX);var vx={enqueueSetState:function(w,g,v){w=w._reactInternals;var b=C1(w),d=Pg(b);d.payload=g,v!==void 0&&v!==null&&(x3(v),d.callback=v),g=og(w,d,b),g!==null&&(K2(b,"this.setState()",w),Aw(g,w,b),nb(g,w,b))},enqueueReplaceState:function(w,g,v){w=w._reactInternals;var b=C1(w),d=Pg(b);d.tag=fX,d.payload=g,v!==void 0&&v!==null&&(x3(v),d.callback=v),g=og(w,d,b),g!==null&&(K2(b,"this.replaceState()",w),Aw(g,w,b),nb(g,w,b))},enqueueForceUpdate:function(w,g){w=w._reactInternals;var v=C1(w),b=Pg(v);b.tag=IX,g!==void 0&&g!==null&&(x3(g),b.callback=g),g=og(w,b,v),g!==null&&(K2(v,"this.forceUpdate()",w),Aw(g,w,v),nb(g,w,v))}},Qb=null,bx=null,dx=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."),fw=!1,g_={},v_={},b_={},d_={},Hb=!1,r_={},ba={},rx={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},a_=!1,x_=null;x_=new Set;var lg=!1,Iw=!1,ax=!1,z_=typeof WeakSet==="function"?WeakSet:Set,Dw=null,Ub=null,Jb=null,cw=null,A1=!1,W2=null,yw=!1,nd=8192,uH={getCacheForType:function(w){var g=Jw(mw),v=g.data.get(w);return v===void 0&&(v=w(),g.data.set(w,v)),v},cacheSignal:function(){return Jw(mw).controller.signal},getOwner:function(){return c1}};if(typeof Symbol==="function"&&Symbol.for){var pd=Symbol.for;pd("selector.component"),pd("selector.has_pseudo_class"),pd("selector.role"),pd("selector.test_id"),pd("selector.text")}var nH=[],pH=typeof WeakMap==="function"?WeakMap:Map,uw=0,Sw=2,S1=4,Ag=0,td=1,r5=2,da=3,Gv=4,ra=6,G_=5,V0=uw,zw=null,R0=null,L0=0,M1=0,aa=1,a5=2,sd=3,Z_=4,xx=5,ed=6,xa=7,zx=8,x5=9,gw=M1,V1=null,Zv=!1,Wb=!1,Gx=!1,s2=0,lw=Ag,Xv=0,_v=0,Zx=0,O1=0,z5=0,wr=null,J1=null,za=!1,Ga=0,X_=0,__=300,Za=1/0,Y_=500,gr=null,Rw=null,Yv=null,Xa=0,Xx=1,_x=2,B_=3,Bv=0,$_=1,Q_=2,H_=3,U_=4,_a=5,iw=0,$v=null,kb=null,k2=0,Yx=0,Bx=-0,$x=null,J_=null,W_=null,q2=Xa,k_=null,tH=50,vr=0,Qx=null,Hx=!1,Ya=!1,sH=50,G5=0,br=null,qb=!1,Ba=null,q_=!1,l_=new Set,eH={},$a=null,lb=null,Ux=!1,Jx=!1,Qa=!1,Wx=!1,Qv=0,kx={};(function(){for(var w=0;w<F8.length;w++){var g=F8[w],v=g.toLowerCase();g=g[0].toUpperCase()+g.slice(1),_2(v,"on"+g)}_2(eZ,"onAnimationEnd"),_2(wX,"onAnimationIteration"),_2(gX,"onAnimationStart"),_2("dblclick","onDoubleClick"),_2("focusin","onFocus"),_2("focusout","onBlur"),_2(RH,"onTransitionRun"),_2(hH,"onTransitionStart"),_2(NH,"onTransitionCancel"),_2(vX,"onTransitionEnd")})(),K1("onMouseEnter",["mouseout","mouseover"]),K1("onMouseLeave",["mouseout","mouseover"]),K1("onPointerEnter",["pointerout","pointerover"]),K1("onPointerLeave",["pointerout","pointerover"]),d1("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d1("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),d1("onBeforeInput",["compositionend","keypress","textInput","paste"]),d1("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d1("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d1("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var dr="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(" "),qx=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(dr)),Ha="_reactListening"+Math.random().toString(36).slice(2),A_=!1,M_=!1,Ua=!1,O_=!1,Ja=!1,Wa=!1,L_=!1,ka={},wU=/\r\n?/g,gU=/\u0000|\uFFFD/g,Z5="http://www.w3.org/1999/xlink",lx="http://www.w3.org/XML/1998/namespace",vU="javascript:throw new Error('React form unexpectedly submitted.')",bU="suppressHydrationWarning",X5="&",qa="/&",rr="$",ar="/$",Hv="$?",_5="$~",Ab="$!",dU="html",rU="body",aU="head",Ax="F!",K_="F",R_="loading",xU="style",Mg=0,Mb=1,la=2,Mx=null,Ox=null,h_={dialog:!0,webview:!0},Lx=null,xr=void 0,N_=typeof setTimeout==="function"?setTimeout:void 0,zU=typeof clearTimeout==="function"?clearTimeout:void 0,Y5=-1,F_=typeof Promise==="function"?Promise:void 0,GU=typeof queueMicrotask==="function"?queueMicrotask:typeof F_<"u"?function(w){return F_.resolve(null).then(w).catch(D$)}:N_,Kx=null,B5=0,zr=1,m_=2,T_=3,Z2=4,X2=new Map,C_=new Set,Og=t0.d;t0.d={f:function(){var w=Og.f(),g=c5();return w||g},r:function(w){var g=W0(w);g!==null&&g.tag===5&&g.type==="form"?s9(g):Og.r(w)},D:function(w){Og.D(w),EG("dns-prefetch",w,null)},C:function(w,g){Og.C(w,g),EG("preconnect",w,g)},L:function(w,g,v){Og.L(w,g,v);var b=Ob;if(b&&w&&g){var d='link[rel="preload"][as="'+s1(g)+'"]';g==="image"?v&&v.imageSrcSet?(d+='[imagesrcset="'+s1(v.imageSrcSet)+'"]',typeof v.imageSizes==="string"&&(d+='[imagesizes="'+s1(v.imageSizes)+'"]')):d+='[href="'+s1(w)+'"]':d+='[href="'+s1(w)+'"]';var r=d;switch(g){case"style":r=o5(w);break;case"script":r=y5(w)}X2.has(r)||(w=m0({rel:"preload",href:g==="image"&&v&&v.imageSrcSet?void 0:w,as:g},v),X2.set(r,w),b.querySelector(d)!==null||g==="style"&&b.querySelector(Bd(r))||g==="script"&&b.querySelector($d(r))||(g=b.createElement("link"),ew(g,"link",w),G0(g),b.head.appendChild(g)))}},m:function(w,g){Og.m(w,g);var v=Ob;if(v&&w){var b=g&&typeof g.as==="string"?g.as:"script",d='link[rel="modulepreload"][as="'+s1(b)+'"][href="'+s1(w)+'"]',r=d;switch(b){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=y5(w)}if(!X2.has(r)&&(w=m0({rel:"modulepreload",href:w},g),X2.set(r,w),v.querySelector(d)===null)){switch(b){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(v.querySelector($d(r)))return}b=v.createElement("link"),ew(b,"link",w),G0(b),v.head.appendChild(b)}}},X:function(w,g){Og.X(w,g);var v=Ob;if(v&&w){var b=E0(v).hoistableScripts,d=y5(w),r=b.get(d);r||(r=v.querySelector($d(d)),r||(w=m0({src:w,async:!0},g),(g=X2.get(d))&&t3(w,g),r=v.createElement("script"),G0(r),ew(r,"link",w),v.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},b.set(d,r))}},S:function(w,g,v){Og.S(w,g,v);var b=Ob;if(b&&w){var d=E0(b).hoistableStyles,r=o5(w);g=g||"default";var a=d.get(r);if(!a){var x={loading:B5,preload:null};if(a=b.querySelector(Bd(r)))x.loading=zr|Z2;else{w=m0({rel:"stylesheet",href:w,"data-precedence":g},v),(v=X2.get(r))&&p3(w,v);var G=a=b.createElement("link");G0(G),ew(G,"link",w),G._p=new Promise(function(X,A){G.onload=X,G.onerror=A}),G.addEventListener("load",function(){x.loading|=zr}),G.addEventListener("error",function(){x.loading|=m_}),x.loading|=Z2,U4(a,g,b)}a={type:"stylesheet",instance:a,count:1,state:x},d.set(r,a)}}},M:function(w,g){Og.M(w,g);var v=Ob;if(v&&w){var b=E0(v).hoistableScripts,d=y5(w),r=b.get(d);r||(r=v.querySelector($d(d)),r||(w=m0({src:w,async:!0,type:"module"},g),(g=X2.get(d))&&t3(w,g),r=v.createElement("script"),G0(r),ew(r,"link",w),v.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},b.set(d,r))}}};var Ob=typeof document>"u"?null:document,Aa=null,ZU=60000,XU=800,_U=500,Rx=0,hx=null,Ma=null,$5=LQ,Gr={$$typeof:y2,Provider:null,Consumer:null,_currentValue:$5,_currentValue2:$5,_threadCount:0},f_="%c%s%c",I_="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",c_="",Oa=" ",YU=Function.prototype.bind,i_=!1,P_=null,o_=null,y_=null,S_=null,V_=null,E_=null,j_=null,D_=null,u_=null,n_=null;P_=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=m0({},w.memoizedProps),v=r1(w,2),v!==null&&Aw(v,w,2))},o_=function(w,g,v){g=z(w,g),g!==null&&(v=$(g.memoizedState,v,0),g.memoizedState=v,g.baseState=v,w.memoizedProps=m0({},w.memoizedProps),v=r1(w,2),v!==null&&Aw(v,w,2))},y_=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=m0({},w.memoizedProps),v=r1(w,2),v!==null&&Aw(v,w,2))},S_=function(w,g,v){w.pendingProps=Z(w.memoizedProps,g,0,v),w.alternate&&(w.alternate.pendingProps=w.pendingProps),g=r1(w,2),g!==null&&Aw(g,w,2)},V_=function(w,g){w.pendingProps=$(w.memoizedProps,g,0),w.alternate&&(w.alternate.pendingProps=w.pendingProps),g=r1(w,2),g!==null&&Aw(g,w,2)},E_=function(w,g,v){w.pendingProps=Y(w.memoizedProps,g,v),w.alternate&&(w.alternate.pendingProps=w.pendingProps),g=r1(w,2),g!==null&&Aw(g,w,2)},j_=function(w){var g=r1(w,2);g!==null&&Aw(g,w,2)},D_=function(w){var g=A5(),v=r1(w,g);v!==null&&Aw(v,w,g)},u_=function(w){q=w},n_=function(w){U=w};var La=!0,Ka=null,Nx=!1,Uv=null,Jv=null,Wv=null,Zr=new Map,Xr=new Map,kv=[],BU="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(l4.prototype.render=b8.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,d=C1(b);s3(b,d,v,g,null,null)},l4.prototype.unmount=b8.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;(V0&(Sw|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."),s3(w.current,2,null,w,null,null),c5(),g[tg]=null}},l4.prototype.unstable_scheduleHydration=function(w){if(w){var g=L();w={blockedOn:null,target:w,priority:g};for(var v=0;v<kv.length&&g!==0&&g<kv[v].priority;v++);kv.splice(v,0,w),v===0&&rZ(w)}},function(){var w=Lb.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"),t0.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=S0(g),w=w!==null?s0(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=P_,w.overrideHookStateDeletePath=o_,w.overrideHookStateRenamePath=y_,w.overrideProps=S_,w.overridePropsDeletePath=V_,w.overridePropsRenamePath=E_,w.scheduleUpdate=j_,w.scheduleRetry=D_,w.setErrorHandler=u_,w.setSuspenseHandler=n_,w.scheduleRefresh=D,w.scheduleRoot=S,w.setRefreshHandler=I,w.getCurrentFiber=JQ,l5(w)}()&&D2&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var p_=window.location.protocol;/^(https?|file):$/.test(p_)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(p_==="file:"?`
227
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}LU.createRoot=function(w,g){if(!f(w))throw Error("Target container is not a DOM element.");GZ(w);var v=!1,b="",d=az,r=xz,a=zz;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===o2&&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&&(d=g.onUncaughtError),g.onCaughtError!==void 0&&(r=g.onCaughtError),g.onRecoverableError!==void 0&&(a=g.onRecoverableError)),g=sG(w,1,!1,null,null,v,b,null,d,r,a,zZ),w[tg]=g.current,c3(w),new b8(g)},LU.hydrateRoot=function(w,g,v){if(!f(w))throw Error("Target container is not a DOM element.");GZ(w),g===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var b=!1,d="",r=az,a=xz,x=zz,G=null;return v!==null&&v!==void 0&&(v.unstable_strictMode===!0&&(b=!0),v.identifierPrefix!==void 0&&(d=v.identifierPrefix),v.onUncaughtError!==void 0&&(r=v.onUncaughtError),v.onCaughtError!==void 0&&(a=v.onCaughtError),v.onRecoverableError!==void 0&&(x=v.onRecoverableError),v.formState!==void 0&&(G=v.formState)),g=sG(w,1,!0,g,v!=null?v:null,b,d,G,r,a,x,zZ),g.context=eG(null),v=g.current,b=C1(v),b=Nv(b),d=Pg(b),d.callback=null,og(v,d,b),K2(b,"hydrateRoot()",null),v=b,g.current.lanes=v,mg(g,v),i2(g),w[tg]=g.current,c3(w),new l4(g)},LU.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var bY=Q5((sk,vY)=>{var KU=U0(gY());vY.exports=KU});var Ow=Q5((bW)=>{var W5=U0(Pw());(function(){function z(C){if(C==null)return null;if(typeof C==="function")return C.$$typeof===E?null:C.displayName||C.name||null;if(typeof C==="string")return C;switch(C){case I:return"Fragment";case g0:return"Profiler";case f:return"StrictMode";case S0:return"Suspense";case s0:return"SuspenseList";case rw: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 D:return"Portal";case r0:return C.displayName||"Context";case p:return(C._context.displayName||"Context")+".Consumer";case D0:var _0=C.render;return C=C.displayName,C||(C=_0.displayName||_0.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case h0:return _0=C.displayName||null,_0!==null?_0:z(C.type)||"Memo";case B0:_0=C._payload,C=C._init;try{return z(C(_0))}catch(c0){}}return null}function Z(C){return""+C}function Y(C){try{Z(C);var _0=!1}catch(u0){_0=!0}if(_0){_0=console;var c0=_0.error,o0=typeof Symbol==="function"&&Symbol.toStringTag&&C[Symbol.toStringTag]||C.constructor.name||"Object";return c0.call(_0,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o0),Z(C)}}function B(C){if(C===I)return"<>";if(typeof C==="object"&&C!==null&&C.$$typeof===B0)return"<...>";try{var _0=z(C);return _0?"<"+_0+">":"<...>"}catch(c0){return"<...>"}}function $(){var C=e0.A;return C===null?null:C.getOwner()}function U(){return Error("react-stack-top-frame")}function q(C){if(N0.call(C,"key")){var _0=Object.getOwnPropertyDescriptor(C,"key").get;if(_0&&_0.isReactWarning)return!1}return C.key!==void 0}function Q(C,_0){function c0(){y||(y=!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)",_0))}c0.isReactWarning=!0,Object.defineProperty(C,"key",{get:c0,configurable:!0})}function K(){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 R(C,_0,c0,o0,u0,n0){var l0=c0.ref;return C={$$typeof:S,type:C,key:_0,props:c0,_owner:o0},(l0!==void 0?l0:null)!==null?Object.defineProperty(C,"ref",{enumerable:!1,get:K}):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:u0}),Object.defineProperty(C,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:n0}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C}function O(C,_0,c0,o0,u0,n0){var l0=_0.children;if(l0!==void 0)if(o0)if(J0(l0)){for(o0=0;o0<l0.length;o0++)H(l0[o0]);Object.freeze&&Object.freeze(l0)}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 H(l0);if(N0.call(_0,"key")){l0=z(C);var b1=Object.keys(_0).filter(function(Z1){return Z1!=="key"});o0=0<b1.length?"{key: someKey, "+b1.join(": ..., ")+": ...}":"{key: someKey}",f0[l0+o0]||(b1=0<b1.length?"{"+b1.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} />`,o0,l0,b1,l0),f0[l0+o0]=!0)}if(l0=null,c0!==void 0&&(Y(c0),l0=""+c0),q(_0)&&(Y(_0.key),l0=""+_0.key),"key"in _0){c0={};for(var pw in _0)pw!=="key"&&(c0[pw]=_0[pw])}else c0=_0;return l0&&Q(c0,typeof C==="function"?C.displayName||C.name||"Unknown":C),R(C,l0,c0,$(),u0,n0)}function H(C){N(C)?C._store&&(C._store.validated=1):typeof C==="object"&&C!==null&&C.$$typeof===B0&&(C._payload.status==="fulfilled"?N(C._payload.value)&&C._payload.value._store&&(C._payload.value._store.validated=1):C._store&&(C._store.validated=1))}function N(C){return typeof C==="object"&&C!==null&&C.$$typeof===S}var S=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),g0=Symbol.for("react.profiler"),p=Symbol.for("react.consumer"),r0=Symbol.for("react.context"),D0=Symbol.for("react.forward_ref"),S0=Symbol.for("react.suspense"),s0=Symbol.for("react.suspense_list"),h0=Symbol.for("react.memo"),B0=Symbol.for("react.lazy"),rw=Symbol.for("react.activity"),E=Symbol.for("react.client.reference"),e0=W5.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N0=Object.prototype.hasOwnProperty,J0=Array.isArray,bw=console.createTask?console.createTask:function(){return null};W5={react_stack_bottom_frame:function(C){return C()}};var y,e={},a0=W5.react_stack_bottom_frame.bind(W5,U)(),K0=bw(B(U)),f0={};bW.Fragment=I,bW.jsxDEV=function(C,_0,c0,o0){var u0=1e4>e0.recentlyCreatedOwnerStacks++;return O(C,_0,c0,o0,u0?Error("react-stack-top-frame"):a0,u0?bw(B(C)):K0)}})()});var CB=U0(bY(),1);var L1=U0(Pw(),1),w0=U0(Pw(),1),Bw=U0(Pw(),1),g7=U0(Pw(),1),oY=U0(Pw(),1),y0=U0(Pw(),1),yJ=U0(Pw(),1),SJ=U0(Pw(),1),VJ=U0(Pw(),1),z0=U0(Pw(),1),eY=U0(Pw(),1);var yx=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,_Y=/^[\\/]{2}/;function RU(z,Z){return Z+z.replace(/\\/g,"/")}var dY="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 YY(z={}){function Z(B,$){let U=$.state?.masked,{pathname:q,search:Q,hash:K}=U||B.location;return cx("",{pathname:q,search:Q,hash:K},$.state&&$.state.usr||null,$.state&&$.state.key||"default",U?{pathname:B.location.pathname,search:B.location.search,hash:B.location.hash}:void 0)}function Y(B,$){return typeof $==="string"?$:Kb($)}return NU(Z,Y,null,z)}function Yw(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 hU(){return Math.random().toString(36).substring(2,10)}function aY(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 cx(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||B||hU(),mask:$}}function Kb({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 B=z.indexOf("?");if(B>=0)Z.search=z.substring(B),z=z.substring(0,B);if(z)Z.pathname=z}return Z}function NU(z,Z,Y,B={}){let{window:$=document.defaultView,v5Compat:U=!1}=B,q=$.history,Q="POP",K=null,R=O();if(R==null)R=0,q.replaceState({...q.state,idx:R},"");function O(){return(q.state||{idx:null}).idx}function H(){Q="POP";let f=O(),g0=f==null?null:f-R;if(R=f,K)K({action:Q,location:I.location,delta:g0})}function N(f,g0){Q="PUSH";let p=rY(f)?f:cx(I.location,f,g0);if(Y)Y(p,f);R=O()+1;let r0=aY(p,R),D0=I.createHref(p.mask||p);try{q.pushState(r0,"",D0)}catch(S0){if(S0 instanceof DOMException&&S0.name==="DataCloneError")throw S0;$.location.assign(D0)}if(U&&K)K({action:Q,location:I.location,delta:1})}function S(f,g0){Q="REPLACE";let p=rY(f)?f:cx(I.location,f,g0);if(Y)Y(p,f);R=O();let r0=aY(p,R),D0=I.createHref(p.mask||p);if(q.replaceState(r0,"",D0),U&&K)K({action:Q,location:I.location,delta:0})}function D(f){return FU($,f)}let I={get action(){return Q},get location(){return z($,q)},listen(f){if(K)throw Error("A history only accepts one active listener");return $.addEventListener(dY,H),K=f,()=>{$.removeEventListener(dY,H),K=null}},createHref(f){return Z($,f)},createURL:D,encodeLocation(f){let g0=D(f);return{pathname:g0.pathname,search:g0.search,hash:g0.hash}},push:N,replace:S,go(f){return q.go(f)}};return I}function FU(z,Z,Y=!1){let B="http://localhost";if(z)B=z.location.origin!=="null"?z.location.origin:z.location.href;Yw(B,"No window.location.(origin|href) available to create URL");let $=typeof Z==="string"?Z:Kb(Z);if($=$.replace(/ $/,"%20"),!Y&&_Y.test($))$=B+$;return new URL($,B)}var mU;mU=new WeakMap;function Sx(z,Z,Y="/"){return TU(z,Z,Y,!1)}function TU(z,Z,Y,B,$){let U=typeof Z==="string"?U5(Z):Z,q=e2(U.pathname||"/",Y);if(q==null)return null;let Q=$??fU(z),K=null,R=UY(q);for(let O=0;K==null&&O<Q.length;++O)K=jU(Q[O],R,B);return K}function CU(z,Z){let{route:Y,pathname:B,params:$}=z;return{id:Y.id,pathname:B,params:$,data:Z[Y.id],loaderData:Z[Y.id],handle:Y.handle}}function fU(z){let Z=BY(z);return IU(Z),Z}function BY(z,Z=[],Y=[],B="",$=!1){let U=(q,Q,K=$,R)=>{let O={relativePath:R===void 0?q.path||"":R,caseSensitive:q.caseSensitive===!0,childrenIndex:Q,route:q};if(O.relativePath.startsWith("/")){if(!O.relativePath.startsWith(B)&&K)return;Yw(O.relativePath.startsWith(B),`Absolute route path "${O.relativePath}" nested under path "${B}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),O.relativePath=O.relativePath.slice(B.length)}let H=l2([B,O.relativePath]),N=Y.concat(O);if(q.children&&q.children.length>0)Yw(q.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${H}".`),BY(q.children,Z,N,H,K);if(q.path==null&&!q.index)return;Z.push({path:H,score:VU(H,q.index),routesMeta:N.map((S,D)=>{let[I,f]=HY(S.relativePath,S.caseSensitive,D===N.length-1);return{...S,matcher:I,compiledParams:f}})})};return z.forEach((q,Q)=>{if(q.path===""||!q.path?.includes("?"))U(q,Q);else for(let K of $Y(q.path))U(q,Q,!0,K)}),Z}function $Y(z){let Z=z.split("/");if(Z.length===0)return[];let[Y,...B]=Z,$=Y.endsWith("?"),U=Y.replace(/\?$/,"");if(B.length===0)return $?[U,""]:[U];let q=$Y(B.join("/")),Q=[];if(Q.push(...q.map((K)=>K===""?U:[U,K].join("/"))),$)Q.push(...q);return Q.map((K)=>z.startsWith("/")&&K===""?"/":K)}function IU(z){z.sort((Z,Y)=>Z.score!==Y.score?Y.score-Z.score:EU(Z.routesMeta.map((B)=>B.childrenIndex),Y.routesMeta.map((B)=>B.childrenIndex)))}var cU=/^:[\w-]+$/,iU=3,PU=2,oU=1,yU=10,SU=-2,xY=(z)=>z==="*";function VU(z,Z){let Y=z.split("/"),B=Y.length;if(Y.some(xY))B+=SU;if(Z)B+=PU;return Y.filter(($)=>!xY($)).reduce(($,U)=>$+(cU.test(U)?iU:U===""?oU:yU),B)}function EU(z,Z){return z.length===Z.length&&z.slice(0,-1).every((B,$)=>B===Z[$])?z[z.length-1]-Z[Z.length-1]:0}function jU(z,Z,Y=!1){let{routesMeta:B}=z,$={},U="/",q=[];for(let Q=0;Q<B.length;++Q){let K=B[Q],R=Q===B.length-1,O=U==="/"?Z:Z.slice(U.length)||"/",H={path:K.relativePath,caseSensitive:K.caseSensitive,end:R},N=K.matcher&&K.compiledParams?QY(H,O,K.matcher,K.compiledParams):Rb(H,O),S=K.route;if(!N&&R&&Y&&!B[B.length-1].route.index)N=Rb({path:K.relativePath,caseSensitive:K.caseSensitive,end:!1},O);if(!N)return null;if(Object.assign($,N.params),q.push({params:$,pathname:l2([U,N.pathname]),pathnameBase:uU(l2([U,N.pathnameBase])),route:S}),N.pathnameBase!=="/")U=l2([U,N.pathnameBase])}return q}function Rb(z,Z){if(typeof z==="string")z={path:z,caseSensitive:!1,end:!0};let[Y,B]=HY(z.path,z.caseSensitive,z.end);return QY(z,Z,Y,B)}function QY(z,Z,Y,B){let $=Z.match(Y);if(!$)return null;let U=$[0],q=U.replace(/(.)\/+$/,"$1"),Q=$.slice(1);return{params:B.reduce((R,{paramName:O,isOptional:H},N)=>{if(O==="*"){let D=Q[N]||"";q=U.slice(0,U.length-D.length).replace(/(.)\/+$/,"$1")}let S=Q[N];if(H&&!S)R[O]=void 0;else R[O]=(S||"").replace(/%2F/g,"/");return R},{}),pathname:U,pathnameBase:q,pattern:z}}function HY(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,Q,K,R,O)=>{if(B.push({paramName:Q,isOptional:K!=null}),K){let H=O.charAt(R+q.length);if(H&&H!=="/")return"/([^\\/]*)";return"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");if(z.endsWith("*"))B.push({paramName:"*"}),$+=z==="*"||z==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$";else if(Y)$+="\\/*$";else if(z!==""&&z!=="/")$+="(?:(?=\\/|$))";return[new RegExp($,Z?void 0:"i"),B]}function UY(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,B=z.charAt(Y);if(B&&B!=="/")return null;return z.slice(Y)||"/"}function JY(z,Z="/"){let{pathname:Y,search:B="",hash:$=""}=typeof z==="string"?U5(z):z,U;if(Y)if(Y=WY(Y),Y.startsWith("/"))U=zY(Y.substring(1),"/");else U=zY(Y,Z);else U=Z;return{pathname:U,search:nU(B),hash:pU($)}}function zY(z,Z){let Y=Ca(Z).split("/");return z.split("/").forEach(($)=>{if($===".."){if(Y.length>1)Y.pop()}else if($!==".")Y.push($)}),Y.length>1?Y.join("/"):"/"}function Cx(z,Z,Y,B){return`Cannot include a '${z}' character in a manually specified \`to.${Z}\` field [${JSON.stringify(B)}]. 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 DU(z){return z.filter((Z,Y)=>Y===0||Z.route.path&&Z.route.path.length>0)}function Vx(z){let Z=DU(z);return Z.map((Y,B)=>B===Z.length-1?Y.pathname:Y.pathnameBase)}function Ia(z,Z,Y,B=!1){let $;if(typeof z==="string")$=U5(z);else $={...z},Yw(!$.pathname||!$.pathname.includes("?"),Cx("?","pathname","search",$)),Yw(!$.pathname||!$.pathname.includes("#"),Cx("#","pathname","hash",$)),Yw(!$.search||!$.search.includes("#"),Cx("#","search","hash",$));let U=z===""||$.pathname==="",q=U?"/":$.pathname,Q;if(q==null)Q=Y;else{let H=Z.length-1;if(!B&&q.startsWith("..")){let N=q.split("/");while(N[0]==="..")N.shift(),H-=1;$.pathname=N.join("/")}Q=H>=0?Z[H]:"/"}let K=JY($,Q),R=q&&q!=="/"&&q.endsWith("/"),O=(U||q===".")&&Y.endsWith("/");if(!K.pathname.endsWith("/")&&(R||O))K.pathname+="/";return K}var WY=(z)=>z.replace(/[\\/]{2,}/g,"/"),l2=(z)=>WY(z.join("/")),Ca=(z)=>z.replace(/\/+$/,""),uU=(z)=>Ca(z).replace(/^\/*/,"/"),nU=(z)=>!z||z==="?"?"":z.startsWith("?")?z:"?"+z,pU=(z)=>!z||z==="#"?"":z.startsWith("#")?z:"#"+z;var kY=class{constructor(z,Z,Y,B=!1){if(this.status=z,this.statusText=Z||"",this.internal=B,Y instanceof Error)this.data=Y.toString(),this.error=Y;else this.data=Y}};function qY(z){return z!=null&&typeof z.status==="number"&&typeof z.statusText==="string"&&typeof z.internal==="boolean"&&"data"in z}function tU(z){let Z=z.map((Y)=>Y.route.path).filter(Boolean);return l2(Z)||"/"}var lY=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function AY(z,Z){let Y=z;if(typeof Y!=="string"||!yx.test(Y))return{absoluteURL:void 0,isExternal:!1,to:Y};let B=Y,$=!1;if(lY)try{let U=new URL(window.location.href),q=_Y.test(Y)?new URL(RU(Y,U.protocol)):new URL(Y),Q=e2(q.pathname,Z);if(q.origin===U.origin&&Q!=null)Y=Q+q.search+q.hash;else $=!0}catch(U){E1(!1,`<Link to="${Y}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:B,isExternal:$,to:Y}}var ek=Symbol("Uninstrumented");var wq=Object.getOwnPropertyNames(Object.prototype).sort().join("\x00");var MY=["POST","PUT","PATCH","DELETE"],gq=new Set(MY),sU=["GET",...MY],vq=new Set(sU);var bq=Symbol("ResetLoaderData"),eU,wJ,gJ,vJ;eU=new WeakMap;wJ=new WeakMap;gJ=new WeakMap;vJ=new WeakMap;var bJ=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function dJ(z){try{return bJ.includes(new URL(z).protocol)}catch{return!1}}var J5=L1.createContext(null);J5.displayName="DataRouter";var hb=L1.createContext(null);hb.displayName="DataRouterState";var OY=L1.createContext(!1);function rJ(){return L1.useContext(OY)}var Ex=L1.createContext({isTransitioning:!1});Ex.displayName="ViewTransition";var LY=L1.createContext(new Map);LY.displayName="Fetchers";var aJ=L1.createContext(null);aJ.displayName="Await";var z1=L1.createContext(null);z1.displayName="Navigation";var Nb=L1.createContext(null);Nb.displayName="Location";var j1=L1.createContext({outlet:null,matches:[],isDataRoute:!1});j1.displayName="Route";var jx=L1.createContext(null);jx.displayName="RouteError";var ix=!0,KY="REACT_ROUTER_ERROR",xJ="REDIRECT",zJ="ROUTE_ERROR_RESPONSE";function GJ(z){if(z.startsWith(`${KY}:${xJ}:{`))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 ZJ(z){if(z.startsWith(`${KY}:${zJ}:{`))try{let Z=JSON.parse(z.slice(40));if(typeof Z==="object"&&Z&&typeof Z.status==="number"&&typeof Z.statusText==="string")return new kY(Z.status,Z.statusText,Z.data)}catch{}}function RY(z,{relative:Z}={}){Yw(qv(),"useHref() may be used only in the context of a <Router> component.");let{basename:Y,navigator:B}=w0.useContext(z1),{hash:$,pathname:U,search:q}=Fb(z,{relative:Z}),Q=U;if(Y!=="/")Q=U==="/"?Y:l2([Y,U]);return B.createHref({pathname:Q,search:q,hash:$})}function qv(){return w0.useContext(Nb)!=null}function G1(){return Yw(qv(),"useLocation() may be used only in the context of a <Router> component."),w0.useContext(Nb).location}function ca(z){Yw(qv(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:Z}=G1();return w0.useMemo(()=>Rb(z,UY(Z)),[Z,z])}var hY="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function NY(z){if(!w0.useContext(z1).static)w0.useLayoutEffect(z)}function wg(){let{isDataRoute:z}=w0.useContext(j1);return z?WJ():XJ()}function XJ(){Yw(qv(),"useNavigate() may be used only in the context of a <Router> component.");let z=w0.useContext(J5),{basename:Z,navigator:Y}=w0.useContext(z1),{matches:B}=w0.useContext(j1),{pathname:$}=G1(),U=JSON.stringify(Vx(B)),q=w0.useRef(!1);return NY(()=>{q.current=!0}),w0.useCallback((K,R={})=>{if(E1(q.current,hY),!q.current)return;if(typeof K==="number"){Y.go(K);return}let O=Ia(K,JSON.parse(U),$,R.relative==="path");if(z==null&&Z!=="/")O.pathname=O.pathname==="/"?Z:l2([Z,O.pathname]);(R.replace?Y.replace:Y.push)(O,R.state,R)},[Z,Y,U,$,z])}var FY=w0.createContext(null);function Dx(){return w0.useContext(FY)}function mY(z){let Z=w0.useContext(j1).outlet;return w0.useMemo(()=>Z&&w0.createElement(FY.Provider,{value:z},Z),[Z,z])}function ia(){let{matches:z}=w0.useContext(j1);return z[z.length-1]?.params??{}}function Fb(z,{relative:Z}={}){let{matches:Y}=w0.useContext(j1),{pathname:B}=G1(),$=JSON.stringify(Vx(Y));return w0.useMemo(()=>Ia(z,JSON.parse($),B,Z==="path"),[z,$,B,Z])}function TY(z,Z){return CY(z,Z)}function CY(z,Z,Y){Yw(qv(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:B}=w0.useContext(z1),{matches:$}=w0.useContext(j1),U=$[$.length-1],q=U?U.params:{},Q=U?U.pathname:"/",K=U?U.pathnameBase:"/",R=U&&U.route;if(ix){let f=R&&R.path||"";iY(Q,!R||f.endsWith("*")||f.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${Q}" (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 O=G1(),H;if(Z){let f=typeof Z==="string"?U5(Z):Z;Yw(K==="/"||f.pathname?.startsWith(K),`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 "${K}" but pathname "${f.pathname}" was given in the \`location\` prop.`),H=f}else H=O;let N=H.pathname||"/",S=N;if(K!=="/"){let f=K.replace(/^\//,"").split("/");S="/"+N.replace(/^\//,"").split("/").slice(f.length).join("/")}let D=Y&&Y.state.matches.length?Y.state.matches.map((f)=>Object.assign(f,{route:Y.manifest[f.route.id]||f.route})):Sx(z,{pathname:S});if(ix)E1(R||D!=null,`No routes matched location "${H.pathname}${H.search}${H.hash}" `),E1(D==null||D[D.length-1].route.element!==void 0||D[D.length-1].route.Component!==void 0||D[D.length-1].route.lazy!==void 0,`Matched leaf route at location "${H.pathname}${H.search}${H.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 I=QJ(D&&D.map((f)=>Object.assign({},f,{params:Object.assign({},q,f.params),pathname:l2([K,B.encodeLocation?B.encodeLocation(f.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:f.pathname]),pathnameBase:f.pathnameBase==="/"?K:l2([K,B.encodeLocation?B.encodeLocation(f.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:f.pathnameBase])})),$,Y);if(Z&&I)return w0.createElement(Nb.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...H},navigationType:"POP"}},I);return I}function _J(){let z=cY(),Z=qY(z)?`${z.status} ${z.statusText}`:z instanceof Error?z.message:JSON.stringify(z),Y=z instanceof Error?z.stack:null,B="rgba(200,200,200, 0.5)",$={padding:"0.5rem",backgroundColor:B},U={padding:"2px 4px",backgroundColor:B},q=null;if(ix)console.error("Error handled by React Router default ErrorBoundary:",z),q=w0.createElement(w0.Fragment,null,w0.createElement("p",null,"\uD83D\uDCBF Hey developer \uD83D\uDC4B"),w0.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",w0.createElement("code",{style:U},"ErrorBoundary")," or"," ",w0.createElement("code",{style:U},"errorElement")," prop on your route."));return w0.createElement(w0.Fragment,null,w0.createElement("h2",null,"Unexpected Application Error!"),w0.createElement("h3",{style:{fontStyle:"italic"}},Z),Y?w0.createElement("pre",{style:$},Y):null,q)}var YJ=w0.createElement(_J,null),fY=class extends w0.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=ZJ(z.digest);if(Y)z=Y}let Z=z!==void 0?w0.createElement(j1.Provider,{value:this.props.routeContext},w0.createElement(jx.Provider,{value:z,children:this.props.component})):this.props.children;if(this.context)return w0.createElement(BJ,{error:z},Z);return Z}};fY.contextType=OY;var fx=new WeakMap;function BJ({children:z,error:Z}){let{basename:Y}=w0.useContext(z1);if(typeof Z==="object"&&Z&&"digest"in Z&&typeof Z.digest==="string"){let B=GJ(Z.digest);if(B){let $=fx.get(Z);if($)throw $;let U=AY(B.location,Y),q=U.absoluteURL||U.to;if(dJ(q))throw Error("Invalid redirect location");if(lY&&!fx.get(Z))if(U.isExternal||B.reloadDocument)window.location.href=q;else{let Q=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(U.to,{replace:B.replace}));throw fx.set(Z,Q),Q}return w0.createElement("meta",{httpEquiv:"refresh",content:`0;url=${q}`})}}return z}function $J({routeContext:z,match:Z,children:Y}){let B=w0.useContext(J5);if(B&&B.static&&B.staticContext&&(Z.route.errorElement||Z.route.ErrorBoundary))B.staticContext._deepestRenderedBoundaryId=Z.route.id;return w0.createElement(j1.Provider,{value:z},Y)}function QJ(z,Z=[],Y){let B=Y?.state;if(z==null){if(!B)return null;if(B.errors)z=B.matches;else if(Z.length===0&&!B.initialized&&B.matches.length>0)z=B.matches;else return null}let $=z,U=B?.errors;if(U!=null){let O=$.findIndex((H)=>H.route.id&&U?.[H.route.id]!==void 0);Yw(O>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(U).join(",")}`),$=$.slice(0,Math.min($.length,O+1))}let q=!1,Q=-1;if(Y&&B){q=B.renderFallback;for(let O=0;O<$.length;O++){let H=$[O];if(H.route.HydrateFallback||H.route.hydrateFallbackElement)Q=O;if(H.route.id){let{loaderData:N,errors:S}=B,D=H.route.loader&&!N.hasOwnProperty(H.route.id)&&(!S||S[H.route.id]===void 0);if(H.route.lazy||D){if(Y.isStatic)q=!0;if(Q>=0)$=$.slice(0,Q+1);else $=[$[0]];break}}}}let K=Y?.onError,R=B&&K?(O,H)=>{K(O,{location:B.location,params:B.matches?.[0]?.params??{},pattern:tU(B.matches),errorInfo:H})}:void 0;return $.reduceRight((O,H,N)=>{let S,D=!1,I=null,f=null;if(B){if(S=U&&H.route.id?U[H.route.id]:void 0,I=H.route.errorElement||YJ,q){if(Q<0&&N===0)iY("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),D=!0,f=null;else if(Q===N)D=!0,f=H.route.hydrateFallbackElement||null}}let g0=Z.concat($.slice(0,N+1)),p=()=>{let r0;if(S)r0=I;else if(D)r0=f;else if(H.route.Component)r0=w0.createElement(H.route.Component,null);else if(H.route.element)r0=H.route.element;else r0=O;return w0.createElement($J,{match:H,routeContext:{outlet:O,matches:g0,isDataRoute:B!=null},children:r0})};return B&&(H.route.ErrorBoundary||H.route.errorElement||N===0)?w0.createElement(fY,{location:B.location,revalidation:B.revalidation,component:I,error:S,children:p(),routeContext:{outlet:null,matches:g0,isDataRoute:!0},onError:R}):p()},null)}function ux(z){return`${z} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function HJ(z){let Z=w0.useContext(J5);return Yw(Z,ux(z)),Z}function nx(z){let Z=w0.useContext(hb);return Yw(Z,ux(z)),Z}function UJ(z){let Z=w0.useContext(j1);return Yw(Z,ux(z)),Z}function px(z){let Z=UJ(z),Y=Z.matches[Z.matches.length-1];return Yw(Y.route.id,`${z} can only be used on routes that contain a unique "id"`),Y.route.id}function JJ(){return px("useRouteId")}function IY(){let z=nx("useNavigation");return w0.useMemo(()=>{let{matches:Z,historyAction:Y,...B}=z.navigation;return B},[z.navigation])}function tx(){let{matches:z,loaderData:Z}=nx("useMatches");return w0.useMemo(()=>z.map((Y)=>CU(Y,Z)),[z,Z])}function cY(){let z=w0.useContext(jx),Z=nx("useRouteError"),Y=px("useRouteError");if(z!==void 0)return z;return Z.errors?.[Y]}function WJ(){let{router:z}=HJ("useNavigate"),Z=px("useNavigate"),Y=w0.useRef(!1);return NY(()=>{Y.current=!0}),w0.useCallback(async($,U={})=>{if(E1(Y.current,hY),!Y.current)return;if(typeof $==="number")await z.navigate($);else await z.navigate($,{fromRouteId:Z,...U})},[z,Z])}var GY={};function iY(z,Z,Y){if(!Z&&!GY[z])GY[z]=!0,E1(!1,Y)}var kJ="useOptimistic",dq=Bw[kJ];var rq=Bw.memo(qJ);function qJ({routes:z,manifest:Z,future:Y,state:B,isStatic:$,onError:U}){return CY(z,void 0,{manifest:Z,state:B,isStatic:$,onError:U,future:Y})}function Pa({to:z,replace:Z,state:Y,relative:B}){Yw(qv(),"<Navigate> may be used only in the context of a <Router> component.");let{static:$}=Bw.useContext(z1);E1(!$,"<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:U}=Bw.useContext(j1),{pathname:q}=G1(),Q=wg(),K=Ia(z,Vx(U),q,B==="path"),R=JSON.stringify(K);return Bw.useEffect(()=>{Q(JSON.parse(R),{replace:Z,state:Y,relative:B})},[Q,R,B,Z,Y]),null}function sx(z){return mY(z.context)}function Kg(z){Yw(!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 ex({basename:z="/",children:Z=null,location:Y,navigationType:B="POP",navigator:$,static:U=!1,useTransitions:q}){Yw(!qv(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Q=z.replace(/^\/*/,"/"),K=Bw.useMemo(()=>({basename:Q,navigator:$,static:U,useTransitions:q,future:{}}),[Q,$,U,q]);if(typeof Y==="string")Y=U5(Y);let{pathname:R="/",search:O="",hash:H="",state:N=null,key:S="default",mask:D}=Y,I=Bw.useMemo(()=>{let f=e2(R,Q);if(f==null)return null;return{location:{pathname:f,search:O,hash:H,state:N,key:S,mask:D},navigationType:B}},[Q,R,O,H,N,S,B,D]);if(E1(I!=null,`<Router basename="${Q}"> is not able to match the URL "${R}${O}${H}" because it does not start with the basename, so the <Router> won't render anything.`),I==null)return null;return Bw.createElement(z1.Provider,{value:K},Bw.createElement(Nb.Provider,{children:Z,value:I}))}function w7({children:z,location:Z}){return TY(fa(z),Z)}function fa(z,Z=[]){let Y=[];return Bw.Children.forEach(z,(B,$)=>{if(!Bw.isValidElement(B))return;let U=[...Z,$];if(B.type===Bw.Fragment){Y.push.apply(Y,fa(B.props.children,U));return}Yw(B.type===Kg,`[${typeof B.type==="string"?B.type:B.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Yw(!B.props.index||!B.props.children,"An index route cannot have child routes.");let q={id:B.props.id||U.join("-"),caseSensitive:B.props.caseSensitive,element:B.props.element,Component:B.props.Component,index:B.props.index,path:B.props.path,middleware:B.props.middleware,loader:B.props.loader,action:B.props.action,hydrateFallbackElement:B.props.hydrateFallbackElement,HydrateFallback:B.props.HydrateFallback,errorElement:B.props.errorElement,ErrorBoundary:B.props.ErrorBoundary,hasErrorBoundary:B.props.hasErrorBoundary===!0||B.props.ErrorBoundary!=null||B.props.errorElement!=null,shouldRevalidate:B.props.shouldRevalidate,handle:B.props.handle,lazy:B.props.lazy};if(B.props.children)q.children=fa(B.props.children,U);Y.push(q)}),Y}var ma="get",Ta="application/x-www-form-urlencoded";function oa(z){return typeof HTMLElement<"u"&&z instanceof HTMLElement}function lJ(z){return oa(z)&&z.tagName.toLowerCase()==="button"}function AJ(z){return oa(z)&&z.tagName.toLowerCase()==="form"}function MJ(z){return oa(z)&&z.tagName.toLowerCase()==="input"}function OJ(z){return!!(z.metaKey||z.altKey||z.ctrlKey||z.shiftKey)}function LJ(z,Z){return z.button===0&&(!Z||Z==="_self")&&!OJ(z)}var Na=null;function KJ(){if(Na===null)try{new FormData(document.createElement("form"),0),Na=!1}catch(z){Na=!0}return Na}var RJ=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Ix(z){if(z!=null&&!RJ.has(z))return E1(!1,`"${z}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ta}"`),null;return z}function hJ(z,Z){let Y,B,$,U,q;if(AJ(z)){let Q=z.getAttribute("action");B=Q?e2(Q,Z):null,Y=z.getAttribute("method")||ma,$=Ix(z.getAttribute("enctype"))||Ta,U=new FormData(z)}else if(lJ(z)||MJ(z)&&(z.type==="submit"||z.type==="image")){let Q=z.form;if(Q==null)throw Error('Cannot submit a <button> or <input type="submit"> without a <form>');let K=z.getAttribute("formaction")||Q.getAttribute("action");if(B=K?e2(K,Z):null,Y=z.getAttribute("formmethod")||Q.getAttribute("method")||ma,$=Ix(z.getAttribute("formenctype"))||Ix(Q.getAttribute("enctype"))||Ta,U=new FormData(Q,z),!KJ()){let{name:R,type:O,value:H}=z;if(O==="image"){let N=R?`${R}.`:"";U.append(`${N}x`,"0"),U.append(`${N}y`,"0")}else if(R)U.append(R,H)}}else if(oa(z))throw Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');else Y=ma,B=null,$=Ta,q=z;if(U&&$==="text/plain")q=U,U=void 0;return{action:B,method:Y.toLowerCase(),encType:$,formData:U,body:q}}var aq=Object.getOwnPropertyNames(Object.prototype).sort().join("\x00");var NJ={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},FJ=/[&><\u2028\u2029]/g;function ZY(z){return z.replace(FJ,(Z)=>NJ[Z])}function v7(z,Z){if(z===!1||z===null||typeof z>"u")throw Error(Z)}var mJ=Symbol("SingleFetchRedirect");function PY(z,Z,Y,B){let $=typeof z==="string"?new URL(z,typeof window>"u"?"server://singlefetch/":window.location.origin):z;if(Y)if($.pathname.endsWith("/"))$.pathname=`${$.pathname}_.${B}`;else $.pathname=`${$.pathname}.${B}`;else if($.pathname==="/")$.pathname=`_root.${B}`;else if(Z&&e2($.pathname,Z)==="/")$.pathname=`${Ca(Z)}/_root.${B}`;else $.pathname=`${Ca($.pathname)}.${B}`;return $}async function TJ(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 CJ(z){return z!=null&&typeof z.page==="string"}function fJ(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 IJ(z,Z,Y){let B=await Promise.all(z.map(async($)=>{let U=Z.routes[$.route.id];if(U){let q=await TJ(U,Y);return q.links?q.links():[]}return[]}));return oJ(B.flat(1).filter(fJ).filter(($)=>$.rel==="stylesheet"||$.rel==="preload").map(($)=>$.rel==="stylesheet"?{...$,rel:"prefetch",as:"style"}:{...$,rel:"prefetch"}))}function XY(z,Z,Y,B,$,U){let q=(K,R)=>{if(!Y[R])return!0;return K.route.id!==Y[R].route.id},Q=(K,R)=>{return Y[R].pathname!==K.pathname||Y[R].route.path?.endsWith("*")&&Y[R].params["*"]!==K.params["*"]};if(U==="assets")return Z.filter((K,R)=>q(K,R)||Q(K,R));if(U==="data")return Z.filter((K,R)=>{let O=B.routes[K.route.id];if(!O||!O.hasLoader)return!1;if(q(K,R)||Q(K,R))return!0;if(K.route.shouldRevalidate){let H=K.route.shouldRevalidate({currentUrl:new URL($.pathname+$.search+$.hash,window.origin),currentParams:Y[0]?.params||{},nextUrl:new URL(z,window.origin),nextParams:K.params,defaultShouldRevalidate:!0});if(typeof H==="boolean")return H}return!0});return[]}function cJ(z,Z,{includeHydrateFallback:Y}={}){return iJ(z.map((B)=>{let $=Z.routes[B.route.id];if(!$)return[];let U=[$.module];if($.clientActionModule)U=U.concat($.clientActionModule);if($.clientLoaderModule)U=U.concat($.clientLoaderModule);if(Y&&$.hydrateFallbackModule)U=U.concat($.hydrateFallbackModule);if($.imports)U=U.concat($.imports);return U}).flat(1))}function iJ(z){return[...new Set(z)]}function PJ(z){let Z={},Y=Object.keys(z).sort();for(let B of Y)Z[B]=z[B];return Z}function oJ(z,Z){let Y=new Set,B=new Set(Z);return z.reduce(($,U)=>{if(Z&&!CJ(U)&&U.as==="script"&&U.href&&B.has(U.href))return $;let Q=JSON.stringify(PJ(U));if(!Y.has(Q))Y.add(Q),$.push({key:Q,link:U});return $},[])}function b7(){let z=y0.useContext(J5);return v7(z,"You must render this element inside a <DataRouterContext.Provider> element"),z}function EJ(){let z=y0.useContext(hb);return v7(z,"You must render this element inside a <DataRouterStateContext.Provider> element"),z}var Yr=y0.createContext(void 0);Yr.displayName="FrameworkContext";function ya(){let z=y0.useContext(Yr);return v7(z,"You must render this element inside a <HydratedRouter> element"),z}function jJ(z,Z){let Y=y0.useContext(Yr),[B,$]=y0.useState(!1),[U,q]=y0.useState(!1),{onFocus:Q,onBlur:K,onMouseEnter:R,onMouseLeave:O,onTouchStart:H}=Z,N=y0.useRef(null);y0.useEffect(()=>{if(z==="render")q(!0);if(z==="viewport"){let f=new IntersectionObserver((g0)=>{g0.forEach((p)=>{q(p.isIntersecting)})},{threshold:0.5});if(N.current)f.observe(N.current);return()=>{f.disconnect()}}},[z]),y0.useEffect(()=>{if(B){let I=setTimeout(()=>{q(!0)},100);return()=>{clearTimeout(I)}}},[B]);let S=()=>{$(!0)},D=()=>{$(!1),q(!1)};if(!Y)return[!1,N,{}];if(z!=="intent")return[U,N,{}];return[U,N,{onFocus:_r(Q,S),onBlur:_r(K,D),onMouseEnter:_r(R,S),onMouseLeave:_r(O,D),onTouchStart:_r(H,S)}]}function _r(z,Z){return(Y)=>{if(z&&z(Y),!Y.defaultPrevented)Z(Y)}}function yY({page:z,...Z}){let Y=rJ(),{nonce:B}=ya(),{router:$}=b7(),U=y0.useMemo(()=>Sx($.routes,z,$.basename),[$.routes,z,$.basename]);if(!U)return null;if(Z.nonce==null&&B)Z={...Z,nonce:B};if(Y)return y0.createElement(uJ,{page:z,matches:U,...Z});return y0.createElement(nJ,{page:z,matches:U,...Z})}function DJ(z){let{manifest:Z,routeModules:Y}=ya(),[B,$]=y0.useState([]);return y0.useEffect(()=>{let U=!1;return IJ(z,Z,Y).then((q)=>{if(!U)$(q)}),()=>{U=!0}},[z,Z,Y]),B}function uJ({page:z,matches:Z,...Y}){let B=G1(),{future:$}=ya(),{basename:U}=b7(),q=y0.useMemo(()=>{if(z===B.pathname+B.search+B.hash)return[];let Q=PY(z,U,$.v8_trailingSlashAwareDataRequests,"rsc"),K=!1,R=[];for(let O of Z)if(typeof O.route.shouldRevalidate==="function")K=!0;else R.push(O.route.id);if(K&&R.length>0)Q.searchParams.set("_routes",R.join(","));return[Q.pathname+Q.search]},[U,$.v8_trailingSlashAwareDataRequests,z,B,Z]);return y0.createElement(y0.Fragment,null,q.map((Q)=>y0.createElement("link",{key:Q,rel:"prefetch",as:"fetch",href:Q,...Y})))}function nJ({page:z,matches:Z,...Y}){let B=G1(),{future:$,manifest:U,routeModules:q}=ya(),{basename:Q}=b7(),{loaderData:K,matches:R}=EJ(),O=y0.useMemo(()=>XY(z,Z,R,U,B,"data"),[z,Z,R,U,B]),H=y0.useMemo(()=>XY(z,Z,R,U,B,"assets"),[z,Z,R,U,B]),N=y0.useMemo(()=>{if(z===B.pathname+B.search+B.hash)return[];let I=new Set,f=!1;if(Z.forEach((p)=>{let r0=U.routes[p.route.id];if(!r0||!r0.hasLoader)return;if(!O.some((D0)=>D0.route.id===p.route.id)&&p.route.id in K&&q[p.route.id]?.shouldRevalidate)f=!0;else if(r0.hasClientLoader)f=!0;else I.add(p.route.id)}),I.size===0)return[];let g0=PY(z,Q,$.v8_trailingSlashAwareDataRequests,"data");if(f&&I.size>0)g0.searchParams.set("_routes",Z.filter((p)=>I.has(p.route.id)).map((p)=>p.route.id).join(","));return[g0.pathname+g0.search]},[Q,$.v8_trailingSlashAwareDataRequests,K,B,U,O,Z,z,q]),S=y0.useMemo(()=>cJ(H,U),[H,U]),D=DJ(H);return y0.createElement(y0.Fragment,null,N.map((I)=>y0.createElement("link",{key:I,rel:"prefetch",as:"fetch",href:I,...Y})),S.map((I)=>y0.createElement("link",{key:I,rel:"modulepreload",href:I,...Y})),D.map(({key:I,link:f})=>y0.createElement("link",{key:I,nonce:Y.nonce,...f,crossOrigin:f.crossOrigin??Y.crossOrigin})))}function pJ(...z){return(Z)=>{z.forEach((Y)=>{if(typeof Y==="function")Y(Z);else if(Y!=null)Y.current=Z})}}var tJ=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{if(tJ)window.__reactRouterVersion="7.18.1"}catch(z){}function d7({basename:z,children:Z,useTransitions:Y,window:B}){let $=z0.useRef();if($.current==null)$.current=YY({window:B,v5Compat:!0});let U=$.current,[q,Q]=z0.useState({action:U.action,location:U.location}),K=z0.useCallback((R)=>{if(Y===!1)Q(R);else z0.startTransition(()=>Q(R))},[Y]);return z0.useLayoutEffect(()=>U.listen(K),[U,K]),z0.createElement(ex,{basename:z,children:Z,location:q.location,navigationType:q.action,navigator:U,useTransitions:Y})}function SY({basename:z,children:Z,history:Y,useTransitions:B}){let[$,U]=z0.useState({action:Y.action,location:Y.location}),q=z0.useCallback((Q)=>{if(B===!1)U(Q);else z0.startTransition(()=>U(Q))},[B]);return z0.useLayoutEffect(()=>Y.listen(q),[Y,q]),z0.createElement(ex,{basename:z,children:Z,location:$.location,navigationType:$.action,navigator:Y,useTransitions:B})}SY.displayName="unstable_HistoryRouter";var r7=z0.forwardRef(function({onClick:Z,discover:Y="render",prefetch:B="none",relative:$,reloadDocument:U,replace:q,mask:Q,state:K,target:R,to:O,preventScrollReset:H,viewTransition:N,defaultShouldRevalidate:S,...D},I){let{basename:f,navigator:g0,useTransitions:p}=z0.useContext(z1),r0=typeof O==="string"&&yx.test(O),D0=AY(O,f);O=D0.to;let S0=RY(O,{relative:$}),s0=G1(),h0=null;if(Q){let y=Ia(Q,[],s0.mask?s0.mask.pathname:"/",!0);if(f!=="/")y.pathname=y.pathname==="/"?f:l2([f,y.pathname]);h0=g0.createHref(y)}let[B0,rw,E]=jJ(B,D),e0=uY(O,{replace:q,mask:Q,state:K,target:R,preventScrollReset:H,relative:$,viewTransition:N,defaultShouldRevalidate:S,useTransitions:p});function N0(y){if(Z)Z(y);if(!y.defaultPrevented)e0(y)}let J0=!(D0.isExternal||U),bw=z0.createElement("a",{...D,...E,href:(J0?h0:void 0)||D0.absoluteURL||S0,onClick:J0?N0:Z,ref:pJ(I,rw),target:R,"data-discover":!r0&&Y==="render"?"true":void 0});return B0&&!r0?z0.createElement(z0.Fragment,null,bw,z0.createElement(yY,{page:S0})):bw});r7.displayName="Link";var VY=z0.forwardRef(function({"aria-current":Z="page",caseSensitive:Y=!1,className:B="",end:$=!1,style:U,to:q,viewTransition:Q,children:K,...R},O){let H=Fb(q,{relative:R.relative}),N=G1(),S=z0.useContext(hb),{navigator:D,basename:I}=z0.useContext(z1),f=S!=null&&sY(H)&&Q===!0,g0=D.encodeLocation?D.encodeLocation(H).pathname:H.pathname,p=N.pathname,r0=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;if(!Y)p=p.toLowerCase(),r0=r0?r0.toLowerCase():null,g0=g0.toLowerCase();if(r0&&I)r0=e2(r0,I)||r0;let D0=g0!=="/"&&g0.endsWith("/")?g0.length-1:g0.length,S0=p===g0||!$&&p.startsWith(g0)&&p.charAt(D0)==="/",s0=r0!=null&&(r0===g0||!$&&r0.startsWith(g0)&&r0.charAt(g0.length)==="/"),h0={isActive:S0,isPending:s0,isTransitioning:f},B0=S0?Z:void 0,rw;if(typeof B==="function")rw=B(h0);else rw=[B,S0?"active":null,s0?"pending":null,f?"transitioning":null].filter(Boolean).join(" ");let E=typeof U==="function"?U(h0):U;return z0.createElement(r7,{...R,"aria-current":B0,className:rw,ref:O,style:E,to:q,viewTransition:Q},typeof K==="function"?K(h0):K)});VY.displayName="NavLink";var EY=z0.forwardRef(({discover:z="render",fetcherKey:Z,navigate:Y,reloadDocument:B,replace:$,state:U,method:q=ma,action:Q,onSubmit:K,relative:R,preventScrollReset:O,viewTransition:H,defaultShouldRevalidate:N,...S},D)=>{let{useTransitions:I}=z0.useContext(z1),f=nY(),g0=pY(Q,{relative:R}),p=q.toLowerCase()==="get"?"get":"post",r0=typeof Q==="string"&&yx.test(Q);return z0.createElement("form",{ref:D,method:p,action:g0,onSubmit:B?K:(S0)=>{if(K&&K(S0),S0.defaultPrevented)return;S0.preventDefault();let s0=S0.nativeEvent.submitter,h0=s0?.getAttribute("formmethod")||q,B0=()=>f(s0||S0.currentTarget,{fetcherKey:Z,method:h0,navigate:Y,replace:$,state:U,relative:R,preventScrollReset:O,viewTransition:H,defaultShouldRevalidate:N});if(I&&Y!==!1)z0.startTransition(()=>B0());else B0()},...S,"data-discover":!r0&&z==="render"?"true":void 0})});EY.displayName="Form";function jY({getKey:z,storageKey:Z,...Y}){let B=z0.useContext(Yr),{basename:$}=z0.useContext(z1),U=G1(),q=tx();tY({getKey:z,storageKey:Z});let Q=z0.useMemo(()=>{if(!B||!z)return null;let R=ox(U,q,$,z);return R!==U.key?R:null},[]);if(!B||B.isSpaMode)return null;let K=((R,O)=>{if(!window.history.state||!window.history.state.key){let H=Math.random().toString(32).slice(2);window.history.replaceState({key:H},"")}try{let N=JSON.parse(sessionStorage.getItem(R)||"{}")[O||window.history.state.key];if(typeof N==="number")window.scrollTo(0,N)}catch(H){console.error(H),sessionStorage.removeItem(R)}}).toString();if(Y.nonce==null&&B?.nonce)Y.nonce=B.nonce;return z0.createElement("script",{...Y,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${K})(${ZY(JSON.stringify(Z||Px))}, ${ZY(JSON.stringify(Q))})`}})}jY.displayName="ScrollRestoration";function DY(z){return`${z} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function a7(z){let Z=z0.useContext(J5);return Yw(Z,DY(z)),Z}function sJ(z){let Z=z0.useContext(hb);return Yw(Z,DY(z)),Z}function uY(z,{target:Z,replace:Y,mask:B,state:$,preventScrollReset:U,relative:q,viewTransition:Q,defaultShouldRevalidate:K,useTransitions:R}={}){let O=wg(),H=G1(),N=Fb(z,{relative:q});return z0.useCallback((S)=>{if(LJ(S,Z)){S.preventDefault();let D=Y!==void 0?Y:Kb(H)===Kb(N),I=()=>O(z,{replace:D,mask:B,state:$,preventScrollReset:U,relative:q,viewTransition:Q,defaultShouldRevalidate:K});if(R)z0.startTransition(()=>I());else I()}},[H,O,N,Y,B,$,Z,z,U,q,Q,K,R])}var eJ=0,wW=()=>`__${String(++eJ)}__`;function nY(){let{router:z}=a7("useSubmit"),{basename:Z}=z0.useContext(z1),Y=JJ(),B=z.fetch,$=z.navigate;return z0.useCallback(async(U,q={})=>{let{action:Q,method:K,encType:R,formData:O,body:H}=hJ(U,Z);if(q.navigate===!1){let N=q.fetcherKey||wW();await B(N,Y,q.action||Q,{defaultShouldRevalidate:q.defaultShouldRevalidate,preventScrollReset:q.preventScrollReset,formData:O,body:H,formMethod:q.method||K,formEncType:q.encType||R,flushSync:q.flushSync})}else await $(q.action||Q,{defaultShouldRevalidate:q.defaultShouldRevalidate,preventScrollReset:q.preventScrollReset,formData:O,body:H,formMethod:q.method||K,formEncType:q.encType||R,replace:q.replace,state:q.state,fromRouteId:Y,flushSync:q.flushSync,viewTransition:q.viewTransition})},[B,$,Z,Y])}function pY(z,{relative:Z}={}){let{basename:Y}=z0.useContext(z1),B=z0.useContext(j1);Yw(B,"useFormAction must be used inside a RouteContext");let[$]=B.matches.slice(-1),U={...Fb(z?z:".",{relative:Z})},q=G1();if(z==null){U.search=q.search;let Q=new URLSearchParams(U.search),K=Q.getAll("index");if(K.some((O)=>O==="")){Q.delete("index"),K.filter((H)=>H).forEach((H)=>Q.append("index",H));let O=Q.toString();U.search=O?`?${O}`:""}}if((!z||z===".")&&$.route.index)U.search=U.search?U.search.replace(/^\?/,"?index&"):"?index";if(Y!=="/")U.pathname=U.pathname==="/"?Y:l2([Y,U.pathname]);return Kb(U)}var Px="react-router-scroll-positions",Fa={};function ox(z,Z,Y,B){let $=null;if(B)if(Y!=="/")$=B({...z,pathname:e2(z.pathname,Y)||z.pathname},Z);else $=B(z,Z);if($==null)$=z.key;return $}function tY({getKey:z,storageKey:Z}={}){let{router:Y}=a7("useScrollRestoration"),{restoreScrollPosition:B,preventScrollReset:$}=sJ("useScrollRestoration"),{basename:U}=z0.useContext(z1),q=G1(),Q=tx(),K=IY();if(z0.useEffect(()=>{return window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}},[]),gW(z0.useCallback(()=>{if(K.state==="idle"){let R=ox(q,Q,U,z);Fa[R]=window.scrollY}try{sessionStorage.setItem(Z||Px,JSON.stringify(Fa))}catch(R){E1(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${R}).`)}window.history.scrollRestoration="auto"},[K.state,z,U,q,Q,Z])),typeof document<"u")z0.useLayoutEffect(()=>{try{let R=sessionStorage.getItem(Z||Px);if(R)Fa=JSON.parse(R)}catch(R){}},[Z]),z0.useLayoutEffect(()=>{let R=Y?.enableScrollRestoration(Fa,()=>window.scrollY,z?(O,H)=>ox(O,H,U,z):void 0);return()=>R&&R()},[Y,U,z]),z0.useLayoutEffect(()=>{if(B===!1)return;if(typeof B==="number"){window.scrollTo(0,B);return}try{if(q.hash){let R=document.getElementById(decodeURIComponent(q.hash.slice(1)));if(R){R.scrollIntoView();return}}}catch{E1(!1,`"${q.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}if($===!0)return;window.scrollTo(0,0)},[q,B,$])}function gW(z,Z){let{capture:Y}=Z||{};z0.useEffect(()=>{let B=Y!=null?{capture:Y}:void 0;return window.addEventListener("pagehide",z,B),()=>{window.removeEventListener("pagehide",z,B)}},[z,Y])}function sY(z,{relative:Z}={}){let Y=z0.useContext(Ex);Yw(Y!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:B}=a7("useViewTransitionState"),$=Fb(z,{relative:Z});if(!Y.isTransitioning)return!1;let U=e2(Y.currentLocation.pathname,B)||Y.currentLocation.pathname,q=e2(Y.nextLocation.pathname,B)||Y.nextLocation.pathname;return Rb($.pathname,q)!=null||Rb($.pathname,U)!=null}var n1=U0(Pw(),1);async function v1(z,Z){let Y=await fetch(z,Z),B=await Y.json().catch(()=>({}));if(!Y.ok)throw Error(B.error||`HTTP ${Y.status}`);return B}var x7=()=>v1("/api/jobs"),z7=(z)=>v1(`/api/jobs/${z}`),wB=(z)=>v1(`/api/jobs/${z}`,{method:"DELETE"}),gB=()=>v1("/api/hashtags").then((z)=>z.hashtags),Sa=(z)=>v1("/api/jobs",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(z)}),vB=()=>v1("/api/uploads"),bB=(z)=>v1(`/api/uploads/${encodeURIComponent(z)}`,{method:"DELETE"}),dB=()=>v1("/api/uploads",{method:"DELETE"}),rB=(z,Z,Y=!1)=>`/api/jobs/${z}/parts/${encodeURIComponent(Z)}${Y?"?download":""}`,aB=(z,Z,Y)=>v1(`/api/jobs/${z}/parts/${encodeURIComponent(Z)}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({caption:Y})}),vW=null,xB=()=>vW??=v1("/api/env"),zB=(z,Z)=>v1("/api/reveal",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({jobId:z,file:Z})}),Va=()=>v1("/api/settings"),GB=(z)=>v1("/api/settings",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({facebook:z})}),ZB=(z)=>v1("/api/settings/facebook/test",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(z??{})}),XB=()=>v1("/api/settings/facebook",{method:"DELETE"}),_B=(z,Z,Y="facebook",B)=>v1("/api/publish",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({jobId:z,file:Z,platform:Y,...B})}),YB=(z,Z,Y="facebook")=>v1("/api/publish",{method:"DELETE",headers:{"content-type":"application/json"},body:JSON.stringify({jobId:z,file:Z,platform:Y})});function BB(z,Z){return new Promise((Y,B)=>{let $=new XMLHttpRequest;$.open("PUT","/api/upload?name="+encodeURIComponent(z.name)),$.upload.onprogress=(U)=>{if(U.lengthComputable)Z(U.loaded/U.total)},$.onload=()=>{let U={};try{U=JSON.parse($.responseText)}catch{}if($.status<300&&U.name)Y({name:U.name,size:U.size??z.size});else B(Error(U.error||`Upload failed (${$.status})`))},$.onerror=()=>B(Error("Upload failed — network error.")),$.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 Ea(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 ja(z){let Z=Math.floor(z),Y=Math.floor(Z/3600),B=Math.floor(Z%3600/60),$=Z%60,U=(q)=>String(q).padStart(2,"0");return Y?`${Y}:${U(B)}:${U($)}`:`${U(B)}:${U($)}`}function Rg(z){return z.replace(/\.[^.]+$/,"")}function $B(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 HB=U0(Pw(),1),UB=U0(mx(),1);var hg="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",Ng="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)]",Da="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",ua="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]",QB="inline-flex items-center gap-1.5 rounded-full border px-3 py-1 text-xs font-semibold";var Fg=U0(Ow(),1),dW="inline-flex items-center justify-center rounded-xl px-5 py-2.5 text-sm font-semibold transition";function k5({open:z,title:Z,confirmLabel:Y,danger:B,onConfirm:$,onCancel:U,children:q}){if(HB.useEffect(()=>{if(!z)return;let Q=(K)=>{if(K.key==="Escape")U()};return window.addEventListener("keydown",Q),()=>window.removeEventListener("keydown",Q)},[z,U]),!z)return null;return UB.createPortal(Fg.jsxDEV("div",{className:"animate-in fixed inset-0 z-50 grid place-items-center p-4",role:"dialog","aria-modal":"true",children:[Fg.jsxDEV("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:U},void 0,!1,void 0,this),Fg.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:[Fg.jsxDEV("h3",{className:"text-lg font-bold",children:Z},void 0,!1,void 0,this),Fg.jsxDEV("div",{className:"mt-2 text-sm leading-relaxed text-muted",children:q},void 0,!1,void 0,this),Fg.jsxDEV("div",{className:"mt-5 flex justify-end gap-3",children:[Fg.jsxDEV("button",{className:ua,onClick:U,children:"Cancel"},void 0,!1,void 0,this),Fg.jsxDEV("button",{className:dW+(B?" 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:$,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 JB=U0(Ow(),1),rW={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 na({status:z}){return JB.jsxDEV("span",{className:`h-[7px] w-[7px] shrink-0 rounded-full ${rW[z]}`},void 0,!1,void 0,this)}var u1=U0(Ow(),1);function pa({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 Fw=U0(Ow(),1);function lv({className:z="h-4 w-4"}){return Fw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:z,"aria-hidden":!0,children:Fw.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 WB({className:z="h-4 w-4"}){return Fw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:[Fw.jsxDEV("circle",{cx:"12",cy:"12",r:"3"},void 0,!1,void 0,this),Fw.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 kB({className:z="h-4 w-4"}){return Fw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Fw.jsxDEV("path",{d:"M19 12H5M12 19l-7-7 7-7"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function qB({className:z="h-3.5 w-3.5"}){return Fw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Fw.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 lB({className:z="h-4 w-4"}){return Fw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:[Fw.jsxDEV("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2"},void 0,!1,void 0,this),Fw.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 AB({className:z="h-4 w-4"}){return Fw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Fw.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 ta({className:z="h-4 w-4"}){return Fw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Fw.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 MB({className:z="h-4 w-4"}){return Fw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Fw.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 G7({className:z="h-4 w-4"}){return Fw.jsxDEV("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:z,"aria-hidden":!0,children:Fw.jsxDEV("path",{d:"M20 6 9 17l-5-5"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}var nw=U0(Ow(),1);function OB({jobs:z,selectedId:Z,settingsActive:Y,onNew:B,onSelect:$,onDelete:U,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(pa,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),nw.jsxDEV("button",{onClick:B,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((Q)=>{let K=Q.id===Z;return nw.jsxDEV("div",{onClick:()=>$(Q.id),className:"group relative cursor-pointer rounded-xl border px-3 py-2.5 transition "+(K?"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(na,{status:Q.status},void 0,!1,void 0,this),nw.jsxDEV("span",{className:"truncate text-[13px] font-semibold",children:Rg(Q.title||Q.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:[Q.status==="running"?"processing…":`${Q.parts.length} parts`," · ",Ea(Q.createdAt)]},void 0,!0,void 0,this),nw.jsxDEV("button",{title:"Delete",onClick:(R)=>{R.stopPropagation(),U(Q.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)]},Q.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(WB,{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 kw=U0(Pw(),1);var V=U0(Ow(),1),aW=[{key:"upload",label:"Upload file"},{key:"library",label:"From uploads"},{key:"link",label:"Paste link"}],xW=["top-left","top-center","top-right",null,"center",null,"bottom-left","bottom-center","bottom-right"],zW=(z)=>z.startsWith("bottom");function LB({onCreated:z}){let[Z,Y]=kw.useState("upload"),[B,$]=kw.useState(null),[U,q]=kw.useState(""),[Q,K]=kw.useState([]),[R,O]=kw.useState(""),[H,N]=kw.useState(null),[S,D]=kw.useState(null),[I,f]=kw.useState(""),[g0,p]=kw.useState(!1),[r0,D0]=kw.useState("15"),[S0,s0]=kw.useState("8"),[h0,B0]=kw.useState(""),[rw,E]=kw.useState(!1),[e0,N0]=kw.useState("top-center"),[J0,bw]=kw.useState(!1),[y,e]=kw.useState(""),[a0,K0]=kw.useState(!1),[f0,C]=kw.useState(null),[_0,c0]=kw.useState(""),o0=kw.useRef(null);kw.useEffect(()=>{gB().then((P)=>B0(P.join(`
238
- `))).catch(()=>{}),vB().then(K).catch(()=>{})},[]),kw.useEffect(()=>{if(R&&!g0)f(Rg(R))},[R,g0]);let u0=async(P)=>{N(P.name),e("");try{if(await bB(P.name),K(($w)=>$w.filter((p1)=>p1.name!==P.name)),R===P.name)O("")}catch($w){e($w.message)}finally{N(null)}},n0=async()=>{N("*"),e("");try{await dB(),K([]),O("")}catch(P){e(P.message)}finally{N(null)}},l0=(P)=>{if($(P),P&&!g0)f(Rg(P.name))},b1=(P)=>{P.preventDefault(),bw(!1);let $w=P.dataTransfer.files?.[0];if($w)l0($w)},pw=h0.split(`
239
- `).map((P)=>P.trim()).filter(Boolean).length,Z1=()=>({title:I.trim()||void 0,partLen:Math.round(Number(r0)*60),numHashtags:Number(S0),hashtags:h0.split(`
240
- `).map((P)=>P.trim()).filter(Boolean),overlay:rw?e0:void 0});async function q5(){if(e(""),Z==="link"){if(!U.trim()){e("Paste a video link first.");return}K0(!0);try{let P=await Sa({url:U.trim(),...Z1()});z(P.id)}catch(P){e(P.message),K0(!1)}return}if(Z==="library"){if(!R){e("Pick a video from your uploads first.");return}K0(!0);try{let P=await Sa({video:R,...Z1()});z(P.id)}catch(P){e(P.message),K0(!1)}return}if(!B){e("Choose a video to upload first.");return}K0(!0);try{let P=B.size;C(0),c0(`Uploading 0% · ${D1(0)} / ${D1(P)}`);let{name:$w}=await BB(B,(Lw)=>{C(Lw),c0(`Uploading ${(Lw*100).toFixed(0)}% · ${D1(Lw*P)} / ${D1(P)}`)});c0("Upload complete ✓");let p1=await Sa({video:$w,...Z1()});z(p1.id)}catch(P){e(P.message),C(null),c0(""),K0(!1)}}let s="flex cursor-pointer flex-col items-center justify-center gap-2 rounded-2xl border-2 border-dashed p-7 text-center transition "+(B?"border-accent/60 bg-accent/[0.06] text-text":J0?"border-brand/70 bg-brand/10 text-text":"border-white/12 text-muted hover:border-brand/50 hover:bg-white/[0.03]");return V.jsxDEV(V.Fragment,{children:[V.jsxDEV("div",{className:"mb-8",children:[V.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),V.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),y&&V.jsxDEV("div",{className:"mb-5 rounded-xl border border-danger/40 bg-danger/10 px-4 py-3 text-sm text-[#ffb3ba]",children:y},void 0,!1,void 0,this),V.jsxDEV("div",{className:hg+" p-5 sm:p-7",children:[V.jsxDEV("div",{className:"mb-6",children:[V.jsxDEV("span",{className:gg,children:"Video"},void 0,!1,void 0,this),V.jsxDEV("div",{className:"mb-3 inline-flex rounded-xl border border-white/10 bg-black/20 p-0.5 text-sm",children:aW.map((P)=>V.jsxDEV("button",{type:"button",onClick:()=>{Y(P.key),e("")},className:"rounded-lg px-3.5 py-1.5 font-medium transition "+(Z===P.key?"bg-brand/20 text-brand2":"text-muted hover:text-text"),children:P.label},P.key,!1,void 0,this))},void 0,!1,void 0,this),Z==="library"?Q.length===0?V.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):V.jsxDEV(V.Fragment,{children:[V.jsxDEV("div",{className:"mb-2 flex items-center justify-between gap-3 text-[11px] text-faint",children:[V.jsxDEV("span",{children:[Q.length," file",Q.length===1?"":"s"," ·"," ",D1(Q.reduce((P,$w)=>P+$w.size,0))]},void 0,!0,void 0,this),V.jsxDEV("button",{type:"button",className:"font-semibold text-faint transition hover:text-danger disabled:opacity-50",disabled:H!==null,onClick:()=>D("all"),children:H==="*"?"Clearing…":"Clear all"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V.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:Q.map((P)=>{let $w=R===P.name;return V.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:[V.jsxDEV("button",{type:"button",onClick:()=>O(P.name),className:"flex min-w-0 flex-1 items-center gap-3 px-3 py-2.5 text-left",children:[V.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&&V.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),V.jsxDEV("span",{className:"min-w-0 flex-1",children:[V.jsxDEV("span",{className:"block truncate text-[13.5px] font-semibold text-text",children:P.name},void 0,!1,void 0,this),V.jsxDEV("span",{className:"mt-0.5 block font-mono text-[11px] text-faint",children:[D1(P.size)," · ",Ea(P.mtime)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("button",{type:"button",title:`Delete ${P.name} from disk`,"aria-label":`Delete ${P.name}`,disabled:H!==null,onClick:()=>D(P),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:V.jsxDEV(ta,{className:"h-4 w-4"+(H===P.name?" animate-pulse":"")},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},P.name,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Z==="upload"?V.jsxDEV("label",{className:s,onDragEnter:(P)=>{P.preventDefault(),bw(!0)},onDragOver:(P)=>{P.preventDefault(),bw(!0)},onDragLeave:(P)=>{P.preventDefault(),bw(!1)},onDrop:b1,children:[V.jsxDEV("input",{ref:o0,type:"file",accept:"video/*,.mkv,.mp4,.mov,.avi,.webm,.m4v,.ts,.flv",hidden:!0,onChange:(P)=>l0(P.target.files?.[0]||null)},void 0,!1,void 0,this),B?V.jsxDEV("div",{className:"flex flex-wrap items-center justify-center gap-2",children:[V.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),V.jsxDEV("span",{className:"font-semibold break-all",children:B.name},void 0,!1,void 0,this),V.jsxDEV("span",{className:"text-sm text-faint",children:D1(B.size)},void 0,!1,void 0,this),V.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:(P)=>{if(P.preventDefault(),P.stopPropagation(),l0(null),o0.current)o0.current.value=""},children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):V.jsxDEV(V.Fragment,{children:[V.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),V.jsxDEV("span",{className:"font-semibold text-text",children:"Drag & drop your video"},void 0,!1,void 0,this),V.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):V.jsxDEV(V.Fragment,{children:[V.jsxDEV("input",{className:Ng,placeholder:"https://youtube.com/watch?v=… · Dailymotion · direct video URL",value:U,onChange:(P)=>q(P.target.value),autoComplete:"off",spellCheck:!1},void 0,!1,void 0,this),V.jsxDEV("p",{className:"mt-1.5 text-[11px] text-faint",children:["Fetched on this machine with ",V.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),f0!==null&&V.jsxDEV("div",{className:"mt-3",children:[V.jsxDEV("div",{className:"h-2 overflow-hidden rounded-full border border-white/10 bg-black/40",children:V.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:`${(f0*100).toFixed(1)}%`}},void 0,!1,void 0,this)},void 0,!1,void 0,this),V.jsxDEV("div",{className:"mt-1.5 text-xs text-muted",children:_0},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("div",{className:"mb-6",children:[V.jsxDEV("label",{className:gg,children:"Title"},void 0,!1,void 0,this),V.jsxDEV("input",{className:Ng,placeholder:"Auto-filled from the video — edit if you like",value:I,onChange:(P)=>{f(P.target.value),p(!0)}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("div",{className:"mb-6 grid grid-cols-1 gap-4 sm:grid-cols-2",children:[V.jsxDEV("div",{children:[V.jsxDEV("label",{className:gg,children:"Part length (min)"},void 0,!1,void 0,this),V.jsxDEV("input",{className:Ng,type:"number",min:"1",step:"1",value:r0,onChange:(P)=>D0(P.target.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("div",{children:[V.jsxDEV("label",{className:gg,children:"Hashtags / part"},void 0,!1,void 0,this),V.jsxDEV("input",{className:Ng,type:"number",min:"0",step:"1",value:S0,onChange:(P)=>s0(P.target.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("div",{className:"mb-6",children:[V.jsxDEV("div",{className:"mb-2 flex items-center justify-between gap-3",children:[V.jsxDEV("label",{className:gg+" mb-0",children:"Part badge"},void 0,!1,void 0,this),V.jsxDEV("button",{type:"button",role:"switch","aria-checked":rw,"aria-label":"Burn a part badge into each clip",onClick:()=>E((P)=>!P),className:"relative h-6 w-11 shrink-0 rounded-full border transition "+(rw?"border-brand/60 bg-brand/60":"border-white/15 bg-black/40"),children:V.jsxDEV("span",{className:"absolute top-0.5 h-4.5 w-4.5 rounded-full bg-white transition-all "+(rw?"left-5.5":"left-0.5")},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("p",{className:"text-[11px] text-faint",children:["Burns ",V.jsxDEV("span",{className:"font-semibold text-muted",children:"PART 1"},void 0,!1,void 0,this),","," ",V.jsxDEV("span",{className:"font-semibold text-muted",children:"PART 2"},void 0,!1,void 0,this)," …"," ",V.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."," ",rw&&V.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),rw&&V.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:[V.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:xW.map((P,$w)=>P===null?V.jsxDEV("span",{},$w,!1,void 0,this):V.jsxDEV("button",{type:"button",title:P.replace("-"," "),"aria-label":P.replace("-"," "),"aria-pressed":e0===P,onClick:()=>N0(P),className:"grid place-items-center rounded-md border text-[8px] font-bold tracking-tight transition "+(e0===P?"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"},P,!1,void 0,this))},void 0,!1,void 0,this),V.jsxDEV("div",{className:"min-w-0 text-[11px] leading-relaxed text-faint",children:[V.jsxDEV("div",{className:"mb-1 text-[13px] font-semibold text-text capitalize",children:e0.replace("-"," ")},void 0,!1,void 0,this),zW(e0)?V.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):V.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),V.jsxDEV("div",{className:"mb-6",children:[V.jsxDEV("div",{className:"mb-2 flex items-center justify-between",children:[V.jsxDEV("label",{className:gg+" mb-0",children:"Hashtag pool"},void 0,!1,void 0,this),V.jsxDEV("span",{className:"text-[11px] text-faint",children:[pw," tags · one per line"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("textarea",{spellCheck:!1,className:Ng+" min-h-[120px] resize-y font-mono text-[12.5px] leading-relaxed",value:h0,onChange:(P)=>B0(P.target.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV("button",{className:Da+" w-full py-3.5 text-base",disabled:a0||Z==="link"&&!U.trim()||Z==="library"&&!R,onClick:q5,children:a0?f0!==null&&f0<1?"Uploading…":"Starting…":"Split video →"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V.jsxDEV(k5,{open:S!==null,title:S==="all"?"Delete all source videos?":"Delete this source video?",confirmLabel:S==="all"?"Delete all":"Delete file",danger:!0,onConfirm:()=>{let P=S;if(D(null),P==="all")n0();else if(P)u0(P)},onCancel:()=>D(null),children:S==="all"?V.jsxDEV("p",{children:["All ",Q.length," source video",Q.length===1?"":"s"," (",D1(Q.reduce((P,$w)=>P+$w.size,0)),") are permanently deleted from"," ",V.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):V.jsxDEV("p",{children:[V.jsxDEV("span",{className:"font-semibold text-text",children:S?.name},void 0,!1,void 0,this)," is permanently deleted from"," ",V.jsxDEV("code",{className:"text-faint",children:"uploads/"},void 0,!1,void 0,this),S?` (${D1(S.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 Gw=U0(Pw(),1);var c=U0(Ow(),1),GW=["localhost","127.0.0.1","[::1]"].includes(location.hostname),ZW=(z)=>z==="darwin"?"Reveal in Finder":z==="win32"?"Show in Explorer":"Show in folder",XW={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"},KB={"":"text-[#c3ccdb]",step:"text-brand2 font-semibold",ok:"text-accent",err:"text-danger",part:"text-[#dfe6f1]"},Z7="mb-3 text-xs font-semibold tracking-[0.14em] text-faint uppercase";function RB({jobId:z,onDelete:Z,onSettled:Y,onOpenSettings:B}){let[$,U]=Gw.useState(null),[q,Q]=Gw.useState([]),[K,R]=Gw.useState(!1),[O,H]=Gw.useState(!1),N=Gw.useRef(null),S=Gw.useRef(!0);Gw.useEffect(()=>{let p=null,r0=!1;return U(null),Q([]),R(!1),H(!1),z7(z).then((D0)=>{if(r0)return;if(U(D0),D0.status==="running")Q([]),R(!0),p=new EventSource(`/api/jobs/${z}/stream`),p.onmessage=(S0)=>{let s0=JSON.parse(S0.data);if(s0.type==="log")Q((h0)=>[...h0,s0.line]);else if(s0.type==="status"&&s0.status!=="running")p?.close(),R(!1),U((h0)=>h0?{...h0,status:s0.status,error:s0.error,parts:s0.parts??h0.parts}:h0),Y()},p.onerror=()=>{p?.close(),R(!1)};else Q(D0.logs??[])}).catch(()=>H(!0)),()=>{r0=!0,p?.close()}},[z,Y]),Gw.useLayoutEffect(()=>{let p=N.current;if(p&&S.current)p.scrollTop=p.scrollHeight},[q]);let D=()=>{let p=N.current;if(p)S.current=p.scrollHeight-p.scrollTop-p.clientHeight<40};if(O)return c.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(!$)return c.jsxDEV("div",{className:"text-muted",children:"Loading…"},void 0,!1,void 0,this);let I=Rg($.title||$.videoName),f=$.status==="running"?"Processing":$.status==="done"?"Done":"Failed",g0=[...new Set($.parts.flatMap((p)=>p.hashtags??[]))];return c.jsxDEV(c.Fragment,{children:[c.jsxDEV("div",{className:"mb-7 flex items-start justify-between gap-4",children:[c.jsxDEV("div",{className:"min-w-0",children:[c.jsxDEV("div",{className:"mb-2.5 flex flex-wrap items-center gap-3",children:[c.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:I},void 0,!1,void 0,this),c.jsxDEV("span",{className:QB+" "+XW[$.status],children:[c.jsxDEV(na,{status:$.status},void 0,!1,void 0,this),f]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),c.jsxDEV("p",{className:"text-[13px] text-muted",children:[c.jsxDEV("span",{className:"font-semibold text-text",children:$.videoName},void 0,!1,void 0,this)," · ",$.partLen/60,"-min parts ·"," ",$.numHashtags," hashtags each"]},void 0,!0,void 0,this),g0.length>0&&c.jsxDEV("div",{className:"mt-2.5 flex flex-wrap gap-1.5",children:g0.map((p)=>c.jsxDEV("span",{className:"rounded-md border border-white/8 bg-white/[0.03] px-2 py-0.5 text-[11px] text-muted",children:[c.jsxDEV("span",{className:"text-brand2",children:"#"},void 0,!1,void 0,this),p]},p,!0,void 0,this))},void 0,!1,void 0,this),$.error&&c.jsxDEV("p",{className:"mt-1.5 text-[13px] text-danger",children:$.error},void 0,!1,void 0,this)]},void 0,!0,void 0,this),c.jsxDEV("button",{onClick:()=>Z($.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),c.jsxDEV("div",{className:Z7,children:"Process"},void 0,!1,void 0,this),c.jsxDEV("div",{className:hg+" mb-8 overflow-hidden",children:[c.jsxDEV("div",{className:"flex items-center gap-2 border-b border-white/8 bg-white/[0.02] px-4 py-2.5",children:[c.jsxDEV("span",{className:"flex gap-1.5",children:[c.jsxDEV("span",{className:"h-3 w-3 rounded-full bg-[#ff5f57]"},void 0,!1,void 0,this),c.jsxDEV("span",{className:"h-3 w-3 rounded-full bg-[#febc2e]"},void 0,!1,void 0,this),c.jsxDEV("span",{className:"h-3 w-3 rounded-full bg-[#28c840]"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),c.jsxDEV("span",{className:"ml-1 font-mono text-xs text-faint",children:"process.log"},void 0,!1,void 0,this),K&&c.jsxDEV("span",{className:"ml-auto flex items-center gap-1.5 text-[11px] font-semibold text-accent",children:[c.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),c.jsxDEV("div",{ref:N,onScroll:D,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?c.jsxDEV("div",{className:"text-faint",children:"Waiting for output…"},void 0,!1,void 0,this):q.map((p,r0)=>c.jsxDEV("div",{className:"min-h-[1.2em] "+(KB[$B(p)]??KB[""]),children:p||" "},r0,!1,void 0,this)),K&&c.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),$.status!=="running"&&c.jsxDEV(_W,{jobId:$.id,parts:$.parts,failed:$.status==="error",onOpenSettings:B},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function _W({jobId:z,parts:Z,failed:Y,onOpenSettings:B}){if(!Z.length)return Y?c.jsxDEV("div",{className:Z7,children:"No parts produced."},void 0,!1,void 0,this):null;return c.jsxDEV(c.Fragment,{children:[c.jsxDEV("div",{className:Z7,children:[Z.length," parts"]},void 0,!0,void 0,this),c.jsxDEV("div",{className:"flex flex-col gap-4",children:Z.map(($)=>c.jsxDEV(YW,{jobId:z,part:$,seriesSize:Z.length,onOpenSettings:B},$.file,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function YW({jobId:z,part:Z,seriesSize:Y,onOpenSettings:B}){let[$,U]=Gw.useState(!1),[q,Q]=Gw.useState(Z.published?.facebook??null),[K,R]=Gw.useState(!1),[O,H]=Gw.useState(!1),[N,S]=Gw.useState(!0),[D,I]=Gw.useState(null),[f,g0]=Gw.useState(null),[p,r0]=Gw.useState(null),[D0,S0]=Gw.useState(null),s0=rB(z,Z.file),h0="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]";Gw.useEffect(()=>{if(!GW)return;let n0=!0;return xB().then((l0)=>n0&&l0.local&&r0({label:ZW(l0.platform)})).catch(()=>{}),()=>{n0=!1}},[]);let B0=async()=>{S0(null);try{await zB(z,Z.file)}catch(n0){S0(n0.message)}},rw=K||q?.status==="pending",E=q?.status==="pending"&&q.total?Math.min(100,Math.round((q.sent??0)/q.total*100)):null;Gw.useEffect(()=>{if(q?.status!=="pending")return;let n0=!0,l0=setInterval(async()=>{try{let pw=(await z7(z)).parts.find((Z1)=>Z1.file===Z.file)?.published?.facebook??null;if(n0&&pw)Q(pw)}catch{}},2000);return()=>{n0=!1,clearInterval(l0)}},[q?.status,z,Z.file]);let e0=async()=>{await navigator.clipboard.writeText(bw||""),U(!0),setTimeout(()=>U(!1),1400)},[N0,J0]=Gw.useState(!1),[bw,y]=Gw.useState(Z.caption),[e,a0]=Gw.useState(!1),[K0,f0]=Gw.useState(""),[C,_0]=Gw.useState(!1),c0=async()=>{_0(!0),I(null);try{let n0=await aB(z,Z.file,K0);y(n0.caption),a0(!1)}catch(n0){I({kind:"warn",text:n0.message})}finally{_0(!1)}},o0=async()=>{J0(!0),I(null);try{await YB(z,Z.file,"facebook"),Q(null)}catch(n0){I({kind:"warn",text:n0.message})}finally{J0(!1)}},u0=async()=>{H(!1),R(!0);try{if(!(await Va()).facebook.connected){H(!0);return}Q({status:"pending",at:Date.now()});let l0=await _B(z,Z.file,"facebook",{linkAll:Y>1&&N});if(Q({status:l0.status,id:l0.id,url:l0.url,at:l0.at}),l0.linkWarning)I({kind:"warn",text:l0.linkWarning});else if(l0.indexed)I({kind:"ok",text:`“All parts” index updated on ${l0.indexed} post${l0.indexed===1?"":"s"}.`})}catch(n0){Q({status:"error",error:n0.message,at:Date.now()})}finally{R(!1)}};return c.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:[c.jsxDEV("div",{className:"relative mx-auto w-full max-w-[240px] self-start bg-black sm:max-w-none",children:[c.jsxDEV("video",{className:"block aspect-[9/16] w-full cursor-pointer object-cover",src:s0,preload:"metadata",playsInline:!0,controls:!0},void 0,!1,void 0,this),c.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:ja(Z.end-Z.start)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),c.jsxDEV("div",{className:"min-w-0 p-4 sm:p-5",children:[c.jsxDEV("div",{className:"font-bold",children:Z.title},void 0,!1,void 0,this),c.jsxDEV("div",{className:"mt-0.5 font-mono text-xs text-faint",children:[ja(Z.start)," – ",ja(Z.end),Z.size?` · ${D1(Z.size)}`:""]},void 0,!0,void 0,this),p&&c.jsxDEV("div",{className:"mt-1.5 mb-3",children:[c.jsxDEV("button",{onClick:B0,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:[c.jsxDEV(MB,{className:"h-3.5 w-3.5"},void 0,!1,void 0,this)," ",p.label]},void 0,!0,void 0,this),D0&&c.jsxDEV("div",{className:"mt-1 text-[11px] text-danger",children:D0},void 0,!1,void 0,this)]},void 0,!0,void 0,this),!p&&c.jsxDEV("div",{className:"mb-3"},void 0,!1,void 0,this),e?c.jsxDEV(c.Fragment,{children:[c.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:K0,onChange:(n0)=>f0(n0.target.value),autoFocus:!0},void 0,!1,void 0,this),c.jsxDEV("div",{className:"mt-2 flex gap-2",children:[c.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:C||!K0.trim(),onClick:c0,children:C?"Saving…":"✓ Save caption"},void 0,!1,void 0,this),c.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:C,onClick:()=>a0(!1),children:"Cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):c.jsxDEV("div",{className:"relative rounded-xl border border-white/8 bg-black/30",children:[c.jsxDEV("div",{className:"absolute top-1.5 right-1.5 flex gap-1",children:[c.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 "+($?"text-accent":"text-faint"),title:$?"Copied!":"Copy caption","aria-label":"Copy caption",onClick:e0,children:$?c.jsxDEV(G7,{className:"h-3.5 w-3.5"},void 0,!1,void 0,this):c.jsxDEV(lB,{className:"h-3.5 w-3.5"},void 0,!1,void 0,this)},void 0,!1,void 0,this),c.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:()=>{f0(bw),a0(!0)},children:c.jsxDEV(AB,{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),c.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:bw},void 0,!1,void 0,this)]},void 0,!0,void 0,this),c.jsxDEV("div",{className:"mt-3 flex flex-wrap gap-2",children:q?.status==="done"?c.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:[c.jsxDEV("span",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-[#1877F2]/15 text-[#4293ff]",children:c.jsxDEV(lv,{className:"h-4.5 w-4.5"},void 0,!1,void 0,this)},void 0,!1,void 0,this),c.jsxDEV("div",{className:"min-w-0",children:[c.jsxDEV("div",{className:"flex items-center gap-1.5 text-[13px] leading-tight font-semibold text-text",children:["Posted to Facebook ",c.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),c.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"})," · ",c.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),c.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:N0,onClick:()=>g0("remove"),children:c.jsxDEV(ta,{className:"h-4 w-4"+(N0?" animate-pulse":"")},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):rw?c.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:[c.jsxDEV("span",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-[#1877F2]/15 text-[#4293ff]",children:c.jsxDEV(lv,{className:"h-4.5 w-4.5"},void 0,!1,void 0,this)},void 0,!1,void 0,this),E!=null?`Uploading ${E}%`:"Publishing…",c.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):c.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:()=>g0("publish"),children:[c.jsxDEV("span",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-[#1877F2]/15 text-[#4293ff]",children:c.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),D&&c.jsxDEV("div",{className:"mt-2 text-xs "+(D.kind==="ok"?"text-accent":"text-warn"),children:[D.kind==="ok"?"✓ ":"",D.text]},void 0,!0,void 0,this),rw&&c.jsxDEV("div",{className:"mt-2.5 max-w-[260px]",children:[c.jsxDEV("div",{className:"h-1.5 w-full overflow-hidden rounded-full bg-white/10",children:c.jsxDEV("div",{className:"h-full rounded-full bg-[#4293ff] transition-[width] duration-500 "+(E==null?"w-1/3 animate-pulse":""),style:E!=null?{width:`${E}%`}:void 0},void 0,!1,void 0,this)},void 0,!1,void 0,this),c.jsxDEV("div",{className:"mt-1 text-[11px] text-faint",children:E!=null?`Uploading to Facebook — ${E}%`:"Starting upload…"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),O&&c.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:[c.jsxDEV("span",{children:"Facebook isn’t connected yet."},void 0,!1,void 0,this),c.jsxDEV("button",{className:"font-semibold text-brand2 underline hover:no-underline",onClick:B,children:"Connect it in Settings →"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q?.status==="error"&&q.error&&c.jsxDEV("div",{className:"mt-2 text-xs text-danger",children:q.error},void 0,!1,void 0,this)]},void 0,!0,void 0,this),c.jsxDEV(k5,{open:f==="publish",title:"Publish to Facebook?",confirmLabel:"Publish",onConfirm:()=>{g0(null),u0()},onCancel:()=>g0(null),children:[c.jsxDEV("p",{children:[c.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),Y>1&&c.jsxDEV("label",{className:"mt-3 flex cursor-pointer items-start gap-2.5 rounded-xl border border-white/8 bg-white/[0.03] px-3.5 py-3 text-[13px] text-text select-none",children:[c.jsxDEV("input",{type:"checkbox",className:"mt-0.5 h-4 w-4 cursor-pointer accent-brand",checked:N,onChange:(n0)=>S(n0.target.checked)},void 0,!1,void 0,this),c.jsxDEV("span",{children:["Maintain an ",c.jsxDEV("span",{className:"font-semibold",children:"“All parts”"},void 0,!1,void 0,this)," index comment on every posted part",c.jsxDEV("span",{className:"mt-0.5 block text-[11px] leading-relaxed text-faint",children:"\uD83D\uDCFA All parts: ▶ Part 1 · ▶ Part 2 · … — added to each post and auto-updated as more parts go live."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),c.jsxDEV(k5,{open:f==="remove",title:"Remove this post?",confirmLabel:"Delete post",danger:!0,onConfirm:()=>{g0(null),o0()},onCancel:()=>g0(null),children:c.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=U0(Pw(),1);var vw=U0(Ow(),1);function hB({onOpenGuide:z}){let[Z,Y]=Av.useState(null),[B,$]=Av.useState(""),[U,q]=Av.useState(""),[Q,K]=Av.useState(null),[R,O]=Av.useState(null);Av.useEffect(()=>{Va().then((I)=>{Y(I),$(I.facebook.pageId)}).catch(()=>{})},[]);let H=Z?.facebook;async function N(){if(!B.trim()){O({kind:"err",text:"A Page ID is required."});return}K("save"),O(null);try{let I=await GB({pageId:B.trim(),token:U.trim()||void 0});Y(I),q(""),O({kind:"ok",text:I.facebook.pageName?`Saved — connected to “${I.facebook.pageName}”.`:"Saved."})}catch(I){O({kind:"err",text:I.message})}finally{K(null)}}async function S(){if(!confirm("Remove the Facebook connection? You’ll need to re-enter the token to publish again."))return;K("remove"),O(null);try{let I=await XB();Y(I),$(""),q(""),O({kind:"ok",text:"Facebook connection removed."})}catch(I){O({kind:"err",text:I.message})}finally{K(null)}}async function D(){K("test"),O(null);try{let I=await ZB({pageId:B.trim(),token:U.trim()||void 0});if(I.missing.length)O({kind:"err",text:`Connected to “${I.pageName}”, but the token is missing ${I.missing.join(", ")} — video publishing will fail. Regenerate the token with that permission enabled.`});else O({kind:"ok",text:`Token works — page “${I.pageName}” with publish access. Click Save to store it.`})}catch(I){O({kind:"err",text:I.message})}finally{K(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:hg+" 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),H?.connected?vw.jsxDEV("div",{className:"text-xs text-accent",children:["● Connected",H.pageName?` · ${H.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:Ng,placeholder:"e.g. 1234567890",value:B,onChange:(I)=>$(I.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:Ng+" font-mono text-[12.5px]",type:"password",autoComplete:"off",placeholder:H?.hasToken?"•••••••• (leave blank to keep current)":"Paste your long-lived page token",value:U,onChange:(I)=>q(I.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),R&&vw.jsxDEV("div",{className:"mb-4 rounded-xl border px-4 py-2.5 text-sm "+(R.kind==="ok"?"border-accent/40 bg-accent/10 text-accent":"border-danger/40 bg-danger/10 text-[#ffb3ba]"),children:R.text},void 0,!1,void 0,this),vw.jsxDEV("div",{className:"flex flex-wrap items-center gap-3",children:[vw.jsxDEV("button",{className:Da,disabled:Q!==null||!B.trim()||!U.trim()&&!H?.hasToken,onClick:N,children:Q==="save"?"Verifying & saving…":"Save"},void 0,!1,void 0,this),vw.jsxDEV("button",{className:ua,disabled:Q!==null||!B.trim()||!U.trim()&&!H?.hasToken,onClick:D,children:Q==="test"?"Testing…":"Test connection"},void 0,!1,void 0,this),H?.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:Q!==null,onClick:S,children:Q==="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=U0(Ow(),1);function X7({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(qB,{},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 BW=[{title:"Create a Facebook app",body:d0.jsxDEV(d0.Fragment,{children:["Go to ",d0.jsxDEV(X7,{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(X7,{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(X7,{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 NB({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(kB,{},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:hg+" 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:BW.map((B,$)=>d0.jsxDEV("li",{className:hg+" 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:$+1},void 0,!1,void 0,this),d0.jsxDEV("div",{className:"min-w-0",children:[d0.jsxDEV("div",{className:"mb-1 font-semibold",children:B.title},void 0,!1,void 0,this),d0.jsxDEV("div",{className:"text-[13.5px] leading-relaxed text-muted",children:B.body},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},$,!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 $0=U0(Ow(),1),FB=()=>Dx();function mB(){let[z,Z]=n1.useState([]),Y=wg(),$=ca("/jobs/:id")?.params.id??null,U=n1.useRef(!1),q=n1.useCallback(async()=>{try{Z(await x7())}catch{}},[]);n1.useEffect(()=>{(async()=>{let D=await x7().catch(()=>[]);if(Z(D),!U.current){U.current=!0;let I=D.find((f)=>f.status==="running");if(I&&window.location.pathname==="/")Y(`/jobs/${I.id}`)}})()},[Y]),n1.useEffect(()=>{let D=setInterval(q,4000);return()=>clearInterval(D)},[q]);let[Q,K]=n1.useState(null),R=Q?z.find((D)=>D.id===Q)??null:null,O=n1.useCallback((D)=>K(D),[]),H=n1.useCallback(()=>{let D=Q;if(K(null),!D)return;(async()=>{if(await wB(D).catch(()=>{}),await q(),$===D)Y("/")})()},[Q,q,$,Y]),N={jobs:z,refresh:q,onDelete:O},S=R?.parts.length??0;return $0.jsxDEV($0.Fragment,{children:[$0.jsxDEV(w7,{children:[$0.jsxDEV(Kg,{element:$0.jsxDEV(JW,{ctx:N},void 0,!1,void 0,this),children:[$0.jsxDEV(Kg,{index:!0,element:$0.jsxDEV($W,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),$0.jsxDEV(Kg,{path:"jobs/:id",element:$0.jsxDEV(QW,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),$0.jsxDEV(Kg,{path:"settings",element:$0.jsxDEV(HW,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),$0.jsxDEV(Kg,{path:"settings/guide/:platform",element:$0.jsxDEV(UW,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),$0.jsxDEV(Kg,{path:"*",element:$0.jsxDEV(Pa,{to:"/",replace:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),$0.jsxDEV(k5,{open:Q!==null,title:"Delete this split?",confirmLabel:"Delete split",danger:!0,onConfirm:H,onCancel:()=>K(null),children:$0.jsxDEV("p",{children:[$0.jsxDEV("span",{className:"font-semibold text-text",children:R?Rg(R.title||R.videoName):"This split"},void 0,!1,void 0,this)," ","and ",S>0?`its ${S} generated part${S===1?"":"s"}`:"its output"," are permanently deleted from ",$0.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 $W(){let{refresh:z}=FB(),Z=wg();return $0.jsxDEV(LB,{onCreated:(Y)=>{z(),Z(`/jobs/${Y}`)}},void 0,!1,void 0,this)}function QW(){let{id:z}=ia(),{refresh:Z,onDelete:Y}=FB(),B=wg();if(!z)return $0.jsxDEV(Pa,{to:"/",replace:!0},void 0,!1,void 0,this);return $0.jsxDEV(RB,{jobId:z,onDelete:Y,onSettled:Z,onOpenSettings:()=>B("/settings")},z,!1,void 0,this)}function HW(){let z=wg();return $0.jsxDEV(hB,{onOpenGuide:(Z)=>z(`/settings/guide/${Z}`)},void 0,!1,void 0,this)}function UW(){let{platform:z}=ia(),Z=wg();return $0.jsxDEV(NB,{platform:z??"facebook",onBack:()=>Z("/settings")},void 0,!1,void 0,this)}function JW({ctx:z}){let[Z,Y]=n1.useState(!1),B=wg(),$=G1(),q=ca("/jobs/:id")?.params.id??null,Q=$.pathname.startsWith("/settings"),K=(O)=>{B(O),Y(!1)},R=$0.jsxDEV(OB,{jobs:z.jobs,selectedId:q,settingsActive:Q,onNew:()=>K("/"),onSelect:(O)=>K(`/jobs/${O}`),onDelete:z.onDelete,onSettings:()=>K("/settings")},void 0,!1,void 0,this);return $0.jsxDEV($0.Fragment,{children:[$0.jsxDEV("div",{className:"app-aurora"},void 0,!1,void 0,this),$0.jsxDEV("div",{className:"app-grid"},void 0,!1,void 0,this),$0.jsxDEV("div",{className:"lg:grid lg:h-screen lg:grid-cols-[288px_1fr]",children:[$0.jsxDEV("aside",{className:"hidden border-r border-white/8 bg-white/[0.02] backdrop-blur-xl lg:block",children:R},void 0,!1,void 0,this),$0.jsxDEV("div",{className:"flex min-h-screen flex-col lg:min-h-0 lg:overflow-y-auto",children:[$0.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:[$0.jsxDEV(pa,{compact:!0},void 0,!1,void 0,this),$0.jsxDEV("div",{className:"flex items-center gap-2",children:[$0.jsxDEV("button",{onClick:()=>K("/"),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),$0.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:$0.jsxDEV(WW,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),$0.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:$0.jsxDEV("div",{className:"animate-in",children:$0.jsxDEV(sx,{context:z},void 0,!1,void 0,this)},$.pathname,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),$0.jsxDEV("div",{className:"fixed inset-0 z-50 lg:hidden "+(Z?"":"pointer-events-none"),children:[$0.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),$0.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:[$0.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),R]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function WW(){return $0.jsxDEV("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:$0.jsxDEV("path",{d:"M4 6h16M4 12h16M4 18h16"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}var _7=U0(Ow(),1),TB=document.getElementById("root");if(TB)CB.createRoot(TB).render(_7.jsxDEV(d7,{children:_7.jsxDEV(mB,{},void 0,!1,void 0,this)},void 0,!1,void 0,this));