walldash/public/main.js

243 lines
491 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var ZM=Object.create;var{getPrototypeOf:BM,defineProperty:qA,getOwnPropertyNames:JM}=Object;var HM=Object.prototype.hasOwnProperty;function zM(J){return this[J]}var UM,WM,G0=(J,z,W)=>{var N=J!=null&&typeof J==="object";if(N){var L=z?UM??=new WeakMap:WM??=new WeakMap,Q=L.get(J);if(Q)return Q}W=J!=null?ZM(BM(J)):{};let R=z||!J||!J.__esModule?qA(W,"default",{value:J,enumerable:!0}):W;for(let K of JM(J))if(!HM.call(R,K))qA(R,K,{get:zM.bind(J,K),enumerable:!0});if(N)L.set(J,R);return R};var K4=(J,z)=>()=>(z||J((z={exports:{}}).exports,z),z.exports);var DA=K4((_M)=>{(function(){function J(){if(j0=!1,t){var u=_M.unstable_now();o0=u;var _0=!0;try{$:{r=!1,e&&(e=!1,Y5(e0),e0=-1),o=!0;var W0=v;try{G:{Q(u);for(m=W(E);m!==null&&!(m.expirationTime>u&&K());){var p0=m.callback;if(typeof p0==="function"){m.callback=null,v=m.priorityLevel;var l0=p0(m.expirationTime<=u);if(u=_M.unstable_now(),typeof l0==="function"){m.callback=l0,Q(u),_0=!0;break G}m===W(E)&&N(E),Q(u)}else N(E);m=W(E)}if(m!==null)_0=!0;else{var V=W(f);V!==null&&j(R,V.startTime-u),_0=!1}}break $}finally{m=null,v=W0,o=!1}_0=void 0}}finally{_0?T0():t=!1}}}function z(u,_0){var W0=u.length;u.push(_0);$:for(;0<W0;){var p0=W0-1>>>1,l0=u[p0];if(0<L(l0,_0))u[p0]=_0,u[W0]=l0,W0=p0;else break $}}function W(u){return u.length===0?null:u[0]}function N(u){if(u.length===0)return null;var _0=u[0],W0=u.pop();if(W0!==_0){u[0]=W0;$:for(var p0=0,l0=u.length,V=l0>>>1;p0<V;){var l=2*(p0+1)-1,N0=u[l],L0=l+1,y0=u[L0];if(0>L(N0,W0))L0<l0&&0>L(y0,N0)?(u[p0]=y0,u[L0]=W0,p0=L0):(u[p0]=N0,u[l]=W0,p0=l);else if(L0<l0&&0>L(y0,W0))u[p0]=y0,u[L0]=W0,p0=L0;else break $}}return _0}function L(u,_0){var W0=u.sortIndex-_0.sortIndex;return W0!==0?W0:u.id-_0.id}function Q(u){for(var _0=W(f);_0!==null;){if(_0.callback===null)N(f);else if(_0.startTime<=u)N(f),_0.sortIndex=_0.expirationTime,z(E,_0);else break;_0=W(f)}}function R(u){if(e=!1,Q(u),!r)if(W(E)!==null)r=!0,t||(t=!0,T0());else{var _0=W(f);_0!==null&&j(R,_0.startTime-u)}}function K(){return j0?!0:_M.unstable_now()-o0<p?!1:!0}function j(u,_0){e0=Y0(function(){u(_M.unstable_now())},_0)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),_M.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var x=performance;_M.unstable_now=function(){return x.now()}}else{var M=Date,F=M.now();_M.unstable_now=function(){return M.now()-F}}var E=[],f=[],d=1,m=null,v=3,o=!1,r=!1,e=!1,j0=!1,Y0=typeof setTimeout==="function"?setTimeout:null,Y5=typeof clearTimeout==="function"?clearTimeout:null,E0=typeof setImmediate<"u"?setImmediate:null,t=!1,e0=-1,p=5,o0=-1;if(typeof E0==="function")var T0=function(){E0(J)};else if(typeof MessageChannel<"u"){var Q0=new MessageChannel,L5=Q0.port2;Q0.port1.onmessage=J,T0=function(){L5.postMessage(null)}}else T0=function(){Y0(J,0)};_M.unstable_IdlePriority=5,_M.unstable_ImmediatePriority=1,_M.unstable_LowPriority=4,_M.unstable_NormalPriority=3,_M.unstable_Profiling=null,_M.unstable_UserBlockingPriority=2,_M.unstable_cancelCallback=function(u){u.callback=null},_M.unstable_forceFrameRate=function(u){0>u||125<u?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):p=0<u?Math.floor(1000/u):5},_M.unstable_getCurrentPriorityLevel=function(){return v},_M.unstable_next=function(u){switch(v){case 1:case 2:case 3:var _0=3;break;default:_0=v}var W0=v;v=_0;try{return u()}finally{v=W0}},_M.unstable_requestPaint=function(){j0=!0},_M.unstable_runWithPriority=function(u,_0){switch(u){case 1:case 2:case 3:case 4:case 5:break;default:u=3}var W0=v;v=u;try{return _0()}finally{v=W0}},_M.unstable_scheduleCallback=function(u,_0,W0){var p0=_M.unstable_now();switch(typeof W0==="object"&&W0!==null?(W0=W0.delay,W0=typeof W0==="number"&&0<W0?p0+W0:p0):W0=p0,u){case 1:var l0=-1;break;case 2:l0=250;break;case 5:l0=1073741823;break;case 4:l0=1e4;break;default:l0=5000}return l0=W0+l0,u={id:d++,callback:_0,priorityLevel:u,startTime:W0,expirationTime:l0,sortIndex:-1},W0>p0?(u.sortIndex=W0,z(f,u),W(E)===null&&u===W(f)&&(e?(Y5(e0),e0=-1):e=!0,j(R,W0-p0))):(u.sortIndex=l0,z(E,u),r||o||(r=!0,t||(t=!0,T0()))),u},_M.unstable_shouldYield=K,_M.unstable_wrapCallback=function(u){var _0=v;return function(){var W0=v;v=_0;try{return u.apply(this,arguments)}finally{v=W0}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var H5=K4((NM,a9)=>{(function(){function J(w,C){Object.defineProperty(N.prototype,w,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",C[0],C[1])}})}function z(w){if(w===null||typeof w!=="object")return null;return w=x8&&w[x8]||w["@@iterator"],typeof w==="function"?w:null}function W(w,C){w=(w=w.constructor)&&(w.displayName||w.name)||"ReactClass";var y=w+"."+C;n[y]||(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.",C,w),n[y]=!0)}function N(w,C,y){this.props=w,this.context=C,this.refs=D2,this.updater=y||T6}function L(){}function Q(w,C,y){this.props=w,this.context=C,this.refs=D2,this.updater=y||T6}function R(){}function K(w){return""+w}function j(w){try{K(w);var C=!1}catch($0){C=!0}if(C){C=console;var y=C.error,s=typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return y.call(C,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",s),K(w)}}function x(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===hG?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case l0:return"Fragment";case l:return"Profiler";case V:return"StrictMode";case A$:return"Suspense";case I0:return"SuspenseList";case Z1: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 p0:return"Portal";case L0:return w.displayName||"Context";case N0:return(w._context.displayName||"Context")+".Consumer";case y0:var C=w.render;return w=w.displayName,w||(w=C.displayName||C.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case q5:return C=w.displayName||null,C!==null?C:x(w.type)||"Memo";case a5:C=w._payload,w=w._init;try{return x(w(C))}catch(y){}}return null}function M(w){if(w===l0)return"<>";if(typeof w==="object"&&w!==null&&w.$$typeof===a5)return"<...>";try{var C=x(w);return C?"<"+C+">":"<...>"}catch(y){return"<...>"}}function F(){var w=V0.A;return w===null?null:w.getOwner()}function E(){return Error("react-stack-top-frame")}function f(w){if(I6.call(w,"key")){var C=Object.getOwnPropertyDescriptor(w,"key").get;if(C&&C.isReactWarning)return!1}return w.key!==void 0}function d(w,C){function y(){S8||(S8=!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)",C))}y.isReactWarning=!0,Object.defineProperty(w,"key",{get:y,configurable:!0})}function m(){var w=x(this.type);return I4[w]||(I4[w]=!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.")),w=this.props.ref,w!==void 0?w:null}function v(w,C,y,s,$0,M0){var R0=y.ref;return w={$$typeof:W0,type:w,key:C,props:y,_owner:s},(R0!==void 0?R0:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:m}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:$0}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:M0}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function o(w,C){return C=v(w.type,C,w.props,w._owner,w._debugStack,w._debugTask),w._store&&(C._store.validated=w._store.validated),C}function r(w){e(w)?w._store&&(w._store.validated=1):typeof w==="object"&&w!==null&&w.$$typeof===a5&&(w._payload.status==="fulfilled"?e(w._payload.value)&&w._payload.value._store&&(w._payload.value._store.validated=1):w._store&&(w._store.validated=1))}function e(w){return typeof w==="object"&&w!==null&&w.$$typeof===W0}function j0(w){var C={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(y){return C[y]})}function Y0(w,C){return typeof w==="object"&&w!==null&&w.key!=null?(j(w.key),j0(""+w.key)):C.toString(36)}function Y5(w){switch(w.status){case"fulfilled":return w.value;case"rejected":throw w.reason;default:switch(typeof w.status==="string"?w.then(R,R):(w.status="pending",w.then(function(C){w.status==="pending"&&(w.status="fulfilled",w.value=C)},function(C){w.status==="pending"&&(w.status="rejected",w.reason=C)})),w.status){case"fulfilled":return w.value;case"rejected":throw w.reason}}throw w}function E0(w,C,y,s,$0){var M0=typeof w;if(M0==="undefined"||M0==="boolean")w=null;var R0=!1;if(w===null)R0=!0;else switch(M0){case"bigint":case"string":case"number":R0=!0;break;case"object":switch(w.$$typeof){case W0:case p0:R0=!0;break;case a5:return R0=w._init,E0(R0(w._payload),C,y,s,$0)}}if(R0){R0=w,$0=$0(R0);var d0=s===""?"."+Y0(R0,0):s;return r0($0)?(y="",d0!=null&&(y=d0.replace(V6,"$&/")+"/"),E0($0,C,y,"",function(n5){return n5})):$0!=null&&(e($0)&&($0.key!=null&&(R0&&R0.key===$0.key||j($0.key)),y=o($0,y+($0.key==null||R0&&R0.key===$0.key?"":(""+$0.key).replace(V6,"$&/")+"/")+d0),s!==""&&R0!=null&&e(R0)&&R0.key==null&&R0._store&&!R0._store.validated&&(y._store.validated=2),$0=y),C.push($0)),1}if(R0=0,d0=s===""?".":s+":",r0(w))for(var z0=0;z0<w.length;z0++)s=w[z0],M0=d0+Y0(s,z0),R0+=E0(s,C,y,M0,$0);else if(z0=z(w),typeof z0==="function")for(z0===w.entries&&(P6||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),P6=!0),w=z0.call(w),z0=0;!(s=w.next()).done;)s=s.value,M0=d0+Y0(s,z0++),R0+=E0(s,C,y,M0,$0);else if(M0==="object"){if(typeof w.then==="function")return E0(Y5(w),C,y,s,$0);throw C=String(w),Error("Objects are not valid as a React child (found: "+(C==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":C)+"). If you meant to render a collection of children, use an array instead.")}return R0}function t(w,C,y){if(w==null)return w;var s=[],$0=0;return E0(w,s,"","",function(M0){return C.call(y,M0,$0++)}),s}function e0(w){if(w._status===-1){var C=w._ioInfo;C!=null&&(C.start=C.end=performance.now()),C=w._result;var y=C();if(y.then(function($0){if(w._status===0||w._status===-1){w._status=1,w._result=$0;var M0=w._ioInfo;M0!=null&&(M0.end=performance.now()),y.status===void 0&&(y.status="fulfilled",y.value=$0)}},function($0){if(w._status===0||w._status===-1){w._status=2,w._result=$0;var M0=w._ioInfo;M0!=null&&(M0.end=performance.now()),y.status===void 0&&(y.status="rejected",y.reason=$0)}}),C=w._ioInfo,C!=null){C.value=y;var s=y.displayName;typeof s==="string"&&(C.name=s)}w._status===-1&&(w._status=0,w._result=y)}if(w._status===1)return C=w._result,C===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`,C),"default"in C||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,C),C.default;throw w._result}function p(){var w=V0.H;return w===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:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),w}function o0(){V0.asyncTransitions--}function T0(w){if(V4===null)try{var C=("require"+Math.random()).slice(0,7);V4=(a9&&a9[C]).call(a9,"timers").setImmediate}catch(y){V4=function(s){k8===!1&&(k8=!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 $0=new MessageChannel;$0.port1.onmessage=s,$0.port2.postMessage(void 0)}}return V4(w)}function Q0(w){return 1<w.length&&typeof AggregateError==="function"?AggregateError(w):w[0]}function L5(w,C){C!==O4-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. "),O4=C}function u(w,C,y){var s=V0.actQueue;if(s!==null)if(s.length!==0)try{_0(s),T0(function(){return u(w,C,y)});return}catch($0){V0.thrownErrors.push($0)}else V0.actQueue=null;0<V0.thrownErrors.length?(s=Q0(V0.thrownErrors),V0.thrownErrors.length=0,y(s)):C(w)}function _0(w){if(!D4){D4=!0;var C=0;try{for(;C<w.length;C++){var y=w[C];do{V0.didUsePromise=!1;var s=y(!1);if(s!==null){if(V0.didUsePromise){w[C]=y,w.splice(0,C);return}y=s}else break}while(1)}w.length=0}catch($0){w.splice(0,C+1),V0.thrownErrors.push($0)}finally{D4=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var W0=Symbol.for("react.transitional.element"),p0=Symbol.for("react.portal"),l0=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),N0=Symbol.for("react.consumer"),L0=Symbol.for("react.context"),y0=Symbol.for("react.forward_ref"),A$=Symbol.for("react.suspense"),I0=Symbol.for("react.suspense_list"),q5=Symbol.for("react.memo"),a5=Symbol.for("react.lazy"),Z1=Symbol.for("react.activity"),x8=Symbol.iterator,n={},T6={isMounted:function(){return!1},enqueueForceUpdate:function(w){W(w,"forceUpdate")},enqueueReplaceState:function(w){W(w,"replaceState")},enqueueSetState:function(w){W(w,"setState")}},T4=Object.assign,D2={};Object.freeze(D2),N.prototype.isReactComponent={},N.prototype.setState=function(w,C){if(typeof w!=="object"&&typeof w!=="function"&&w!=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,w,C,"setState")},N.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};var m5={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(C2 in m5)m5.hasOwnProperty(C2)&&J(C2,m5[C2]);L.prototype=N.prototype,m5=Q.prototype=new L,m5.constructor=Q,T4(m5,N.prototype),m5.isPureReactComponent=!0;var r0=Array.isArray,hG=Symbol.for("react.client.reference"),V0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},I6=Object.prototype.hasOwnProperty,Z5=console.createTask?console.createTask:function(){return null};m5={react_stack_bottom_frame:function(w){return w()}};var S8,F1,I4={},P4=m5.react_stack_bottom_frame.bind(m5,E)(),QY=Z5(M(E)),P6=!1,V6=/\/+/g,E2=typeof reportError==="function"?reportError:function(w){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var C=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(C))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",w);return}console.error(w)},k8=!1,V4=null,O4=0,q4=!1,D4=!1,yG=typeof queueMicrotask==="function"?function(w){queueMicrotask(function(){return queueMicrotask(w)})}:T0;m5=Object.freeze({__proto__:null,c:function(w){return p().useMemoCache(w)}});var C2={map:t,forEach:function(w,C,y){t(w,function(){C.apply(this,arguments)},y)},count:function(w){var C=0;return t(w,function(){C++}),C},toArray:function(w){return t(w,function(C){return C})||[]},only:function(w){if(!e(w))throw Error("React.Children.only expected to receive a single React element child.");return w}};NM.Activity=Z1,NM.Children=C2,NM.Component=N,NM.Fragment=l0,NM.Profiler=l,NM.PureComponent=Q,NM.StrictMode=V,NM.Suspense=A$,NM.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=V0,NM.__COMPILER_RUNTIME=m5,NM.act=function(w){var C=V0.actQueue,y=O4;O4++;var s=V0.actQueue=C!==null?C:[],$0=!1;try{var M0=w()}catch(z0){V0.thrownErrors.push(z0)}if(0<V0.thrownErrors.length)throw L5(C,y),w=Q0(V0.thrownErrors),V0.thrownErrors.length=0,w;if(M0!==null&&typeof M0==="object"&&typeof M0.then==="function"){var R0=M0;return yG(function(){$0||q4||(q4=!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(z0,n5){$0=!0,R0.then(function(P$){if(L5(C,y),y===0){try{_0(s),T0(function(){return u(P$,z0,n5)})}catch(dG){V0.thrownErrors.push(dG)}if(0<V0.thrownErrors.length){var j2=Q0(V0.thrownErrors);V0.thrownErrors.length=0,n5(j2)}}else z0(P$)},function(P$){L5(C,y),0<V0.thrownErrors.length?(P$=Q0(V0.thrownErrors),V0.thrownErrors.length=0,n5(P$)):n5(P$)})}}}var d0=M0;if(L5(C,y),y===0&&(_0(s),s.length!==0&&yG(function(){$0||q4||(q4=!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(() => ...)"))}),V0.actQueue=null),0<V0.thrownErrors.length)throw w=Q0(V0.thrownErrors),V0.thrownErrors.length=0,w;return{then:function(z0,n5){$0=!0,y===0?(V0.actQueue=s,T0(function(){return u(d0,z0,n5)})):z0(d0)}}},NM.cache=function(w){return function(){return w.apply(null,arguments)}},NM.cacheSignal=function(){return null},NM.captureOwnerStack=function(){var w=V0.getCurrentStack;return w===null?null:w()},NM.cloneElement=function(w,C,y){if(w===null||w===void 0)throw Error("The argument must be a React element, but you passed "+w+".");var s=T4({},w.props),$0=w.key,M0=w._owner;if(C!=null){var R0;$:{if(I6.call(C,"ref")&&(R0=Object.getOwnPropertyDescriptor(C,"ref").get)&&R0.isReactWarning){R0=!1;break $}R0=C.ref!==void 0}R0&&(M0=F()),f(C)&&(j(C.key),$0=""+C.key);for(d0 in C)!I6.call(C,d0)||d0==="key"||d0==="__self"||d0==="__source"||d0==="ref"&&C.ref===void 0||(s[d0]=C[d0])}var d0=arguments.length-2;if(d0===1)s.children=y;else if(1<d0){R0=Array(d0);for(var z0=0;z0<d0;z0++)R0[z0]=arguments[z0+2];s.children=R0}s=v(w.type,$0,s,M0,w._debugStack,w._debugTask);for($0=2;$0<arguments.length;$0++)r(arguments[$0]);return s},NM.createContext=function(w){return w={$$typeof:L0,_currentValue:w,_currentValue2:w,_threadCount:0,Provider:null,Consumer:null},w.Provider=w,w.Consumer={$$typeof:N0,_context:w},w._currentRenderer=null,w._currentRenderer2=null,w},NM.createElement=function(w,C,y){for(var s=2;s<arguments.length;s++)r(arguments[s]);s={};var $0=null;if(C!=null)for(z0 in F1||!("__self"in C)||"key"in C||(F1=!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")),f(C)&&(j(C.key),$0=""+C.key),C)I6.call(C,z0)&&z0!=="key"&&z0!=="__self"&&z0!=="__source"&&(s[z0]=C[z0]);var M0=arguments.length-2;if(M0===1)s.children=y;else if(1<M0){for(var R0=Array(M0),d0=0;d0<M0;d0++)R0[d0]=arguments[d0+2];Object.freeze&&Object.freeze(R0),s.children=R0}if(w&&w.defaultProps)for(z0 in M0=w.defaultProps,M0)s[z0]===void 0&&(s[z0]=M0[z0]);$0&&d(s,typeof w==="function"?w.displayName||w.name||"Unknown":w);var z0=1e4>V0.recentlyCreatedOwnerStacks++;return v(w,$0,s,F(),z0?Error("react-stack-top-frame"):P4,z0?Z5(M(w)):QY)},NM.createRef=function(){var w={current:null};return Object.seal(w),w},NM.forwardRef=function(w){w!=null&&w.$$typeof===q5?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof w!=="function"?console.error("forwardRef requires a render function but was given %s.",w===null?"null":typeof w):w.length!==0&&w.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",w.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),w!=null&&w.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var C={$$typeof:y0,render:w},y;return Object.defineProperty(C,"displayName",{enumerable:!1,configurable:!0,get:function(){return y},set:function(s){y=s,w.name||w.displayName||(Object.defineProperty(w,"name",{value:s}),w.displayName=s)}}),C},NM.isValidElement=e,NM.lazy=function(w){w={_status:-1,_result:w};var C={$$typeof:a5,_payload:w,_init:e0},y={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return w._ioInfo=y,C._debugInfo=[{awaited:y}],C},NM.memo=function(w,C){w==null&&console.error("memo: The first argument must be a component. Instead received: %s",w===null?"null":typeof w),C={$$typeof:q5,type:w,compare:C===void 0?null:C};var y;return Object.defineProperty(C,"displayName",{enumerable:!1,configurable:!0,get:function(){return y},set:function(s){y=s,w.name||w.displayName||(Object.defineProperty(w,"name",{value:s}),w.displayName=s)}}),C},NM.startTransition=function(w){var C=V0.T,y={};y._updatedFibers=new Set,V0.T=y;try{var s=w(),$0=V0.S;$0!==null&&$0(y,s),typeof s==="object"&&s!==null&&typeof s.then==="function"&&(V0.asyncTransitions++,s.then(o0,o0),s.then(R,E2))}catch(M0){E2(M0)}finally{C===null&&y._updatedFibers&&(w=y._updatedFibers.size,y._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.")),C!==null&&y.types!==null&&(C.types!==null&&C.types!==y.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."),C.types=y.types),V0.T=C}},NM.unstable_useCacheRefresh=function(){return p().useCacheRefresh()},NM.use=function(w){return p().use(w)},NM.useActionState=function(w,C,y){return p().useActionState(w,C,y)},NM.useCallback=function(w,C){return p().useCallback(w,C)},NM.useContext=function(w){var C=p();return w.$$typeof===N0&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),C.useContext(w)},NM.useDebugValue=function(w,C){return p().useDebugValue(w,C)},NM.useDeferredValue=function(w,C){return p().useDeferredValue(w,C)},NM.useEffect=function(w,C){return w==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useEffect(w,C)},NM.useEffectEvent=function(w){return p().useEffectEvent(w)},NM.useId=function(){return p().useId()},NM.useImperativeHandle=function(w,C,y){return p().useImperativeHandle(w,C,y)},NM.useInsertionEffect=function(w,C){return w==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useInsertionEffect(w,C)},NM.useLayoutEffect=function(w,C){return w==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useLayoutEffect(w,C)},NM.useMemo=function(w,C){return p().useMemo(w,C)},NM.useOptimistic=function(w,C){return p().useOptimistic(w,C)},NM.useReducer=function(w,C,y){return p().useReducer(w,C,y)},NM.useRef=function(w){return p().useRef(w)},NM.useState=function(w){return p().useState(w)},NM.useSyncExternalStore=function(w,C,y){return p().useSyncExternalStore(w,C,y)},NM.useTransition=function(){return p().useTransition()},NM.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var EA=K4((AM)=>{var oB=G0(H5());(function(){function J(){}function z(M){return""+M}function W(M,F,E){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{z(f);var d=!1}catch(m){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&&f[Symbol.toStringTag]||f.constructor.name||"Object"),z(f)),{$$typeof:j,key:f==null?null:""+f,children:M,containerInfo:F,implementation:E}}function N(M,F){if(M==="font")return"";if(typeof F==="string")return F==="use-credentials"?F:""}function L(M){return M===null?"`null`":M===void 0?"`undefined`":M===""?"an empty string":'something with type "'+typeof M+'"'}function Q(M){return M===null?"`null`":M===void 0?"`undefined`":M===""?"an empty string":typeof M==="string"?JSON.stringify(M):typeof M==="number"?"`"+M+"`":'something with type "'+typeof M+'"'}function R(){var M=x.H;return M===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:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),M}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var K={d:{f:J,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:J,C:J,L:J,m:J,X:J,S:J,M:J},p:0,findDOMNode:null},j=Symbol.for("react.portal"),x=oB.__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"),AM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,AM.createPortal=function(M,F){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!F||F.nodeType!==1&&F.nodeType!==9&&F.nodeType!==11)throw Error("Target container is not a DOM element.");return W(M,F,null,E)},AM.flushSync=function(M){var F=x.T,E=K.p;try{if(x.T=null,K.p=2,M)return M()}finally{x.T=F,K.p=E,K.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.")}},AM.preconnect=function(M,F){typeof M==="string"&&M?F!=null&&typeof F!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",Q(F)):F!=null&&typeof F.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.",L(F.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",L(M)),typeof M==="string"&&(F?(F=F.crossOrigin,F=typeof F==="string"?F==="use-credentials"?F:"":void 0):F=null,K.d.C(M,F))},AM.prefetchDNS=function(M){if(typeof M!=="string"||!M)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",L(M));else if(1<arguments.length){var F=arguments[1];typeof F==="object"&&F.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",Q(F)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",Q(F))}typeof M==="string"&&K.d.D(M)},AM.preinit=function(M,F){if(typeof M==="string"&&M?F==null||typeof F!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",Q(F)):F.as!=="style"&&F.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',Q(F.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",L(M)),typeof M==="string"&&F&&typeof F.as==="string"){var E=F.as,f=N(E,F.crossOrigin),d=typeof F.integrity==="string"?F.integrity:void 0,m=typeof F.fetchPriority==="string"?F.fetchPriority:void 0;E==="style"?K.d.S(M,typeof F.precedence==="string"?F.precedence:void 0,{crossOrigin:f,integrity:d,fetchPriority:m}):E==="script"&&K.d.X(M,{crossOrigin:f,integrity:d,fetchPriority:m,nonce:typeof F.nonce==="string"?F.nonce:void 0})}},AM.preinitModule=function(M,F){var E="";if(typeof M==="string"&&M||(E+=" The `href` argument encountered was "+L(M)+"."),F!==void 0&&typeof F!=="object"?E+=" The `options` argument encountered was "+L(F)+".":F&&("as"in F)&&F.as!=="script"&&(E+=" The `as` option encountered was "+Q(F.as)+"."),E)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",E);else switch(E=F&&typeof F.as==="string"?F.as:"script",E){case"script":break;default:E=Q(E),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)',E,M)}if(typeof M==="string")if(typeof F==="object"&&F!==null){if(F.as==null||F.as==="script")E=N(F.as,F.crossOrigin),K.d.M(M,{crossOrigin:E,integrity:typeof F.integrity==="string"?F.integrity:void 0,nonce:typeof F.nonce==="string"?F.nonce:void 0})}else F==null&&K.d.M(M)},AM.preload=function(M,F){var E="";if(typeof M==="string"&&M||(E+=" The `href` argument encountered was "+L(M)+"."),F==null||typeof F!=="object"?E+=" The `options` argument encountered was "+L(F)+".":typeof F.as==="string"&&F.as||(E+=" The `as` option encountered was "+L(F.as)+"."),E&&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',E),typeof M==="string"&&typeof F==="object"&&F!==null&&typeof F.as==="string"){E=F.as;var f=N(E,F.crossOrigin);K.d.L(M,E,{crossOrigin:f,integrity:typeof F.integrity==="string"?F.integrity:void 0,nonce:typeof F.nonce==="string"?F.nonce:void 0,type:typeof F.type==="string"?F.type:void 0,fetchPriority:typeof F.fetchPriority==="string"?F.fetchPriority:void 0,referrerPolicy:typeof F.referrerPolicy==="string"?F.referrerPolicy:void 0,imageSrcSet:typeof F.imageSrcSet==="string"?F.imageSrcSet:void 0,imageSizes:typeof F.imageSizes==="string"?F.imageSizes:void 0,media:typeof F.media==="string"?F.media:void 0})}},AM.preloadModule=function(M,F){var E="";typeof M==="string"&&M||(E+=" The `href` argument encountered was "+L(M)+"."),F!==void 0&&typeof F!=="object"?E+=" The `options` argument encountered was "+L(F)+".":F&&("as"in F)&&typeof F.as!=="string"&&(E+=" The `as` option encountered was "+L(F.as)+"."),E&&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',E),typeof M==="string"&&(F?(E=N(F.as,F.crossOrigin),K.d.m(M,{as:typeof F.as==="string"&&F.as!=="script"?F.as:void 0,crossOrigin:E,integrity:typeof F.integrity==="string"?F.integrity:void 0})):K.d.m(M))},AM.requestFormReset=function(M){K.d.r(M)},AM.unstable_batchedUpdates=function(M,F){return M(F)},AM.useFormState=function(M,F,E){return R().useFormState(M,F,E)},AM.useFormStatus=function(){return R().useHostTransitionStatus()},AM.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var jA=K4((gI,CA)=>{var LM=G0(EA());CA.exports=LM});var xA=K4((wM)=>{var u0=G0(DA()),qG=G0(H5()),rB=G0(jA());(function(){function J($,G){for($=$.memoizedState;$!==null&&0<G;)$=$.next,G--;return $}function z($,G,X,Y){if(X>=G.length)return Y;var Z=G[X],B=v5($)?$.slice():S0({},$);return B[Z]=z($[Z],G,X+1,Y),B}function W($,G,X){if(G.length!==X.length)console.warn("copyWithRename() expects paths of the same length");else{for(var Y=0;Y<X.length-1;Y++)if(G[Y]!==X[Y]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return N($,G,X,0)}}function N($,G,X,Y){var Z=G[Y],B=v5($)?$.slice():S0({},$);return Y+1===G.length?(B[X[Y]]=B[Z],v5(B)?B.splice(Z,1):delete B[Z]):B[Z]=N($[Z],G,X,Y+1),B}function L($,G,X){var Y=G[X],Z=v5($)?$.slice():S0({},$);if(X+1===G.length)return v5(Z)?Z.splice(Y,1):delete Z[Y],Z;return Z[Y]=L($[Y],G,X+1),Z}function Q(){return!1}function R(){return null}function K(){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 j(){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 x(){}function M(){}function F($){var G=[];return $.forEach(function(X){G.push(X)}),G.sort().join(", ")}function E($,G,X,Y){return new iw($,G,X,Y)}function f($,G){$.context===o2&&(Q3($.current,2,G,$,null,null),m6())}function d($,G){if(c$!==null){var X=G.staleFamilies;G=G.updatedFamilies,A7(),SH($.current,G,X),m6()}}function m($){c$=$}function v($){return!(!$||$.nodeType!==1&&$.nodeType!==9&&$.nodeType!==11)}function o($){var G=$,X=$;if($.alternate)for(;G.return;)G=G.return;else{$=G;do G=$,(G.flags&4098)!==0&&(X=G.return),$=G.return;while($)}return G.tag===3?X:null}function r($){if($.tag===13){var G=$.memoizedState;if(G===null&&($=$.alternate,$!==null&&(G=$.memoizedState)),G!==null)return G.dehydrated}return null}function e($){if($.tag===31){var G=$.memoizedState;if(G===null&&($=$.alternate,$!==null&&(G=$.memoizedState)),G!==null)return G.dehydrated}return null}function j0($){if(o($)!==$)throw Error("Unable to find node on an unmounted component.")}function Y0($){var G=$.alternate;if(!G){if(G=o($),G===null)throw Error("Unable to find node on an unmounted component.");return G!==$?null:$}for(var X=$,Y=G;;){var Z=X.return;if(Z===null)break;var B=Z.alternate;if(B===null){if(Y=Z.return,Y!==null){X=Y;continue}break}if(Z.child===B.child){for(B=Z.child;B;){if(B===X)return j0(Z),$;if(B===Y)return j0(Z),G;B=B.sibling}throw Error("Unable to find node on an unmounted component.")}if(X.return!==Y.return)X=Z,Y=B;else{for(var H=!1,U=Z.child;U;){if(U===X){H=!0,X=Z,Y=B;break}if(U===Y){H=!0,Y=Z,X=B;break}U=U.sibling}if(!H){for(U=B.child;U;){if(U===X){H=!0,X=B,Y=Z;break}if(U===Y){H=!0,Y=B,X=Z;break}U=U.sibling}if(!H)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(X.alternate!==Y)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(X.tag!==3)throw Error("Unable to find node on an unmounted component.");return X.stateNode.current===X?$:G}function Y5($){var G=$.tag;if(G===5||G===26||G===27||G===6)return $;for($=$.child;$!==null;){if(G=Y5($),G!==null)return G;$=$.sibling}return null}function E0($){if($===null||typeof $!=="object")return null;return $=hW&&$[hW]||$["@@iterator"],typeof $==="function"?$:null}function t($){if($==null)return null;if(typeof $==="function")return $.$$typeof===LK?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case l6:return"Fragment";case I3:return"Profiler";case uX:return"StrictMode";case V3:return"Suspense";case O3:return"SuspenseList";case q3: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 p6:return"Portal";case b1:return $.displayName||"Context";case P3:return($._context.displayName||"Context")+".Consumer";case P7:var G=$.render;return $=$.displayName,$||($=G.displayName||G.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case pX:return G=$.displayName||null,G!==null?G:t($.type)||"Memo";case S$:G=$._payload,$=$._init;try{return t($(G))}catch(X){}}return null}function e0($){return typeof $.tag==="number"?p($):typeof $.name==="string"?$.name:null}function p($){var G=$.type;switch($.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 $=G.render,$=$.displayName||$.name||"",G.displayName||($!==""?"ForwardRef("+$+")":"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 t(G);case 8:return G===uX?"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=$._debugInfo,G!=null){for(var X=G.length-1;0<=X;X--)if(typeof G[X].name==="string")return G[X].name}if($.return!==null)return p($.return)}return null}function o0($){return{current:$}}function T0($,G){0>z2?console.error("Unexpected pop."):(G!==E3[z2]&&console.error("Unexpected Fiber popped."),$.current=D3[z2],D3[z2]=null,E3[z2]=null,z2--)}function Q0($,G,X){z2++,D3[z2]=$.current,E3[z2]=X,$.current=G}function L5($){return $===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),$}function u($,G){Q0(l2,G,$),Q0(V7,$,$),Q0(p2,null,$);var X=G.nodeType;switch(X){case 9:case 11:X=X===9?"#document":"#fragment",G=(G=G.documentElement)?(G=G.namespaceURI)?UW(G):I2:I2;break;default:if(X=G.tagName,G=G.namespaceURI)G=UW(G),G=WW(G,X);else switch(X){case"svg":G=VG;break;case"math":G=d9;break;default:G=I2}}X=X.toLowerCase(),X=YH(null,X),X={context:G,ancestorInfo:X},T0(p2,$),Q0(p2,X,$)}function _0($){T0(p2,$),T0(V7,$),T0(l2,$)}function W0(){return L5(p2.current)}function p0($){$.memoizedState!==null&&Q0(lX,$,$);var G=L5(p2.current),X=$.type,Y=WW(G.context,X);X=YH(G.ancestorInfo,X),Y={context:Y,ancestorInfo:X},G!==Y&&(Q0(V7,$,$),Q0(p2,Y,$))}function l0($){V7.current===$&&(T0(p2,$),T0(V7,$)),lX.current===$&&(T0(lX,$),w8._currentValue=_6)}function V(){}function l(){if(O7===0){yW=console.log,dW=console.info,uW=console.warn,pW=console.error,lW=console.group,cW=console.groupCollapsed,sW=console.groupEnd;var $={configurable:!0,enumerable:!0,value:V,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}O7++}function N0(){if(O7--,O7===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:S0({},$,{value:yW}),info:S0({},$,{value:dW}),warn:S0({},$,{value:uW}),error:S0({},$,{value:pW}),group:S0({},$,{value:lW}),groupCollapsed:S0({},$,{value:cW}),groupEnd:S0({},$,{value:sW})})}0>O7&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function L0($){var G=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,$=$.stack,Error.prepareStackTrace=G,$.startsWith(`Error: react-stack-top-frame
`)&&($=$.slice(29)),G=$.indexOf(`
`),G!==-1&&($=$.slice(G+1)),G=$.indexOf("react_stack_bottom_frame"),G!==-1&&(G=$.lastIndexOf(`
`,G)),G!==-1)$=$.slice(0,G);else return"";return $}function y0($){if(C3===void 0)try{throw Error()}catch(X){var G=X.stack.trim().match(/\n( *(at )?)/);C3=G&&G[1]||"",iW=-1<X.stack.indexOf(`
at`)?" (<anonymous>)":-1<X.stack.indexOf("@")?"@unknown:0:0":""}return`
`+C3+$+iW}function A$($,G){if(!$||j3)return"";var X=x3.get($);if(X!==void 0)return X;j3=!0,X=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var Y=null;Y=g.H,g.H=null,l();try{var Z={DetermineComponentFrameRoot:function(){try{if(G){var I=function(){throw Error()};if(Object.defineProperty(I.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(I,[])}catch(c){var S=c}Reflect.construct($,[],I)}else{try{I.call()}catch(c){S=c}$.call(I.prototype)}}else{try{throw Error()}catch(c){S=c}(I=$())&&typeof I.catch==="function"&&I.catch(function(){})}}catch(c){if(c&&S&&typeof c.stack==="string")return[c.stack,S.stack]}return[null,null]}};Z.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var B=Object.getOwnPropertyDescriptor(Z.DetermineComponentFrameRoot,"name");B&&B.configurable&&Object.defineProperty(Z.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var H=Z.DetermineComponentFrameRoot(),U=H[0],_=H[1];if(U&&_){var A=U.split(`
`),q=_.split(`
`);for(H=B=0;B<A.length&&!A[B].includes("DetermineComponentFrameRoot");)B++;for(;H<q.length&&!q[H].includes("DetermineComponentFrameRoot");)H++;if(B===A.length||H===q.length)for(B=A.length-1,H=q.length-1;1<=B&&0<=H&&A[B]!==q[H];)H--;for(;1<=B&&0<=H;B--,H--)if(A[B]!==q[H]){if(B!==1||H!==1)do if(B--,H--,0>H||A[B]!==q[H]){var D=`
`+A[B].replace(" at new "," at ");return $.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",$.displayName)),typeof $==="function"&&x3.set($,D),D}while(1<=B&&0<=H);break}}}finally{j3=!1,g.H=Y,N0(),Error.prepareStackTrace=X}return A=(A=$?$.displayName||$.name:"")?y0(A):"",typeof $==="function"&&x3.set($,A),A}function I0($,G){switch($.tag){case 26:case 27:case 5:return y0($.type);case 16:return y0("Lazy");case 13:return $.child!==G&&G!==null?y0("Suspense Fallback"):y0("Suspense");case 19:return y0("SuspenseList");case 0:case 15:return A$($.type,!1);case 11:return A$($.type.render,!1);case 1:return A$($.type,!0);case 31:return y0("Activity");default:return""}}function q5($){try{var G="",X=null;do{G+=I0($,X);var Y=$._debugInfo;if(Y)for(var Z=Y.length-1;0<=Z;Z--){var B=Y[Z];if(typeof B.name==="string"){var H=G;$:{var{name:U,env:_,debugLocation:A}=B;if(A!=null){var q=L0(A),D=q.lastIndexOf(`
`),I=D===-1?q:q.slice(D+1);if(I.indexOf(U)!==-1){var S=`
`+I;break $}}S=y0(U+(_?" ["+_+"]":""))}G=H+S}}X=$,$=$.return}while($);return G}catch(c){return`
Error generating stack: `+c.message+`
`+c.stack}}function a5($){return($=$?$.displayName||$.name:"")?y0($):""}function Z1(){if(k$===null)return null;var $=k$._debugOwner;return $!=null?e0($):null}function x8(){if(k$===null)return"";var $=k$;try{var G="";switch($.tag===6&&($=$.return),$.tag){case 26:case 27:case 5:G+=y0($.type);break;case 13:G+=y0("Suspense");break;case 19:G+=y0("SuspenseList");break;case 31:G+=y0("Activity");break;case 30:case 0:case 15:case 1:$._debugOwner||G!==""||(G+=a5($.type));break;case 11:$._debugOwner||G!==""||(G+=a5($.type.render))}for(;$;)if(typeof $.tag==="number"){var X=$;$=X._debugOwner;var Y=X._debugStack;if($&&Y){var Z=L0(Y);Z!==""&&(G+=`
`+Z)}}else if($.debugStack!=null){var B=$.debugStack;($=$.owner)&&B&&(G+=`
`+L0(B))}else break;var H=G}catch(U){H=`
Error generating stack: `+U.message+`
`+U.stack}return H}function n($,G,X,Y,Z,B,H){var U=k$;T6($);try{return $!==null&&$._debugTask?$._debugTask.run(G.bind(null,X,Y,Z,B,H)):G(X,Y,Z,B,H)}finally{T6(U)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function T6($){g.getCurrentStack=$===null?null:x8,m1=!1,k$=$}function T4($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function D2($){try{return m5($),!1}catch(G){return!0}}function m5($){return""+$}function r0($,G){if(D2($))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,T4($)),m5($)}function hG($,G){if(D2($))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,T4($)),m5($)}function V0($){if(D2($))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.",T4($)),m5($)}function I6($){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{s6=G.inject($),r5=G}catch(X){console.error("React instrumentation encountered an error: %o.",X)}return G.checkDCE?!0:!1}function Z5($){if(typeof TK==="function"&&IK($),r5&&typeof r5.setStrictMode==="function")try{r5.setStrictMode(s6,$)}catch(G){f1||(f1=!0,console.error("React instrumentation encountered an error: %o",G))}}function S8($){return $>>>=0,$===0?32:31-(PK($)/VK|0)|0}function F1($){var G=$&42;if(G!==0)return G;switch($&-$){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 $&261888;case 262144:case 524288:case 1048576:case 2097152:return $&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return $&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."),$}}function I4($,G,X){var Y=$.pendingLanes;if(Y===0)return 0;var Z=0,B=$.suspendedLanes,H=$.pingedLanes;$=$.warmLanes;var U=Y&134217727;return U!==0?(Y=U&~B,Y!==0?Z=F1(Y):(H&=U,H!==0?Z=F1(H):X||(X=U&~$,X!==0&&(Z=F1(X))))):(U=Y&~B,U!==0?Z=F1(U):H!==0?Z=F1(H):X||(X=Y&~$,X!==0&&(Z=F1(X)))),Z===0?0:G!==0&&G!==Z&&(G&B)===0&&(B=Z&-Z,X=G&-G,B>=X||B===32&&(X&4194048)!==0)?G:Z}function P4($,G){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&G)===0}function QY($,G){switch($){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 P6(){var $=iX;return iX<<=1,(iX&62914560)===0&&(iX=4194304),$}function V6($){for(var G=[],X=0;31>X;X++)G.push($);return G}function E2($,G){$.pendingLanes|=G,G!==268435456&&($.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0)}function k8($,G,X,Y,Z,B){var H=$.pendingLanes;$.pendingLanes=X,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=X,$.entangledLanes&=X,$.errorRecoveryDisabledLanes&=X,$.shellSuspendCounter=0;var{entanglements:U,expirationTimes:_,hiddenUpdates:A}=$;for(X=H&~X;0<X;){var q=31-X$(X),D=1<<q;U[q]=0,_[q]=-1;var I=A[q];if(I!==null)for(A[q]=null,q=0;q<I.length;q++){var S=I[q];S!==null&&(S.lane&=-536870913)}X&=~D}Y!==0&&V4($,Y,0),B!==0&&Z===0&&$.tag!==0&&($.suspendedLanes|=B&~(H&~G))}function V4($,G,X){$.pendingLanes|=G,$.suspendedLanes&=~G;var Y=31-X$(G);$.entangledLanes|=G,$.entanglements[Y]=$.entanglements[Y]|1073741824|X&261930}function O4($,G){var X=$.entangledLanes|=G;for($=$.entanglements;X;){var Y=31-X$(X),Z=1<<Y;Z&G|$[Y]&G&&($[Y]|=G),X&=~Z}}function q4($,G){var X=G&-G;return X=(X&42)!==0?1:D4(X),(X&($.suspendedLanes|G))!==0?0:X}function D4($){switch($){case 2:$=1;break;case 8:$=4;break;case 32:$=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:$=128;break;case 268435456:$=134217728;break;default:$=0}return $}function yG($,G,X){if(h1)for($=$.pendingUpdatersLaneMap;0<X;){var Y=31-X$(X),Z=1<<Y;$[Y].add(G),X&=~Z}}function C2($,G){if(h1)for(var{pendingUpdatersLaneMap:X,memoizedUpdaters:Y}=$;0<G;){var Z=31-X$(G);$=1<<Z,Z=X[Z],0<Z.size&&(Z.forEach(function(B){var H=B.alternate;H!==null&&Y.has(H)||Y.add(B)}),Z.clear()),G&=~$}}function w($){return $&=-$,v$!==0&&v$<$?U1!==0&&U1<$?($&134217727)!==0?y1:aX:U1:v$}function C(){var $=s0.p;if($!==0)return $;return $=window.event,$===void 0?y1:SW($.type)}function y($,G){var X=s0.p;try{return s0.p=$,G()}finally{s0.p=X}}function s($){delete $[s5],delete $[Y$],delete $[b3],delete $[OK],delete $[qK]}function $0($){var G=$[s5];if(G)return G;for(var X=$.parentNode;X;){if(G=X[s2]||X[s5]){if(X=G.alternate,G.child!==null||X!==null&&X.child!==null)for($=FW($);$!==null;){if(X=$[s5])return X;$=FW($)}return G}$=X,X=$.parentNode}return null}function M0($){if($=$[s5]||$[s2]){var G=$.tag;if(G===5||G===6||G===13||G===31||G===26||G===27||G===3)return $}return null}function R0($){var G=$.tag;if(G===5||G===26||G===27||G===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function d0($){var G=$[aW];return G||(G=$[aW]={hoistableStyles:new Map,hoistableScripts:new Map}),G}function z0($){$[q7]=!0}function n5($,G){P$($,G),P$($+"Capture",G)}function P$($,G){p4[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),p4[$]=G;var X=$.toLowerCase();m3[X]=$,$==="onDoubleClick"&&(m3.ondblclick=$);for($=0;$<G.length;$++)nW.add(G[$])}function j2($,G){DK[G.type]||G.onChange||G.onInput||G.readOnly||G.disabled||G.value==null||($==="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 dG($){if(z1.call(rW,$))return!0;if(z1.call(oW,$))return!1;if(EK.test($))return rW[$]=!0;return oW[$]=!0,console.error("Invalid attribute name: `%s`",$),!1}function uJ($,G,X){if(dG(G)){if(!$.hasAttribute(G)){switch(typeof X){case"symbol":case"object":return X;case"function":return X;case"boolean":if(X===!1)return X}return X===void 0?void 0:null}if($=$.getAttribute(G),$===""&&X===!0)return!0;return r0(X,G),$===""+X?X:$}}function v8($,G,X){if(dG(G))if(X===null)$.removeAttribute(G);else{switch(typeof X){case"undefined":case"function":case"symbol":$.removeAttribute(G);return;case"boolean":var Y=G.toLowerCase().slice(0,5);if(Y!=="data-"&&Y!=="aria-"){$.removeAttribute(G);return}}r0(X,G),$.setAttribute(G,""+X)}}function g8($,G,X){if(X===null)$.removeAttribute(G);else{switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(G);return}r0(X,G),$.setAttribute(G,""+X)}}function e1($,G,X,Y){if(Y===null)$.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(X);return}r0(Y,X),$.setAttributeNS(G,X,""+Y)}}function y$($){switch(typeof $){case"bigint":case"boolean":case"number":case"string":case"undefined":return $;case"object":return V0($),$;default:return""}}function pJ($){var G=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(G==="checkbox"||G==="radio")}function Vw($,G,X){var Y=Object.getOwnPropertyDescriptor($.constructor.prototype,G);if(!$.hasOwnProperty(G)&&typeof Y<"u"&&typeof Y.get==="function"&&typeof Y.set==="function"){var{get:Z,set:B}=Y;return Object.defineProperty($,G,{configurable:!0,get:function(){return Z.call(this)},set:function(H){V0(H),X=""+H,B.call(this,H)}}),Object.defineProperty($,G,{enumerable:Y.enumerable}),{getValue:function(){return X},setValue:function(H){V0(H),X=""+H},stopTracking:function(){$._valueTracker=null,delete $[G]}}}}function KY($){if(!$._valueTracker){var G=pJ($)?"checked":"value";$._valueTracker=Vw($,G,""+$[G])}}function lJ($){if(!$)return!1;var G=$._valueTracker;if(!G)return!0;var X=G.getValue(),Y="";return $&&(Y=pJ($)?$.checked?"true":"false":$.value),$=Y,$!==X?(G.setValue($),!0):!1}function b8($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch(G){return $.body}}function d$($){return $.replace(CK,function(G){return"\\"+G.charCodeAt(0).toString(16)+" "})}function cJ($,G){G.checked===void 0||G.defaultChecked===void 0||eW||(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),eW=!0),G.value===void 0||G.defaultValue===void 0||tW||(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),tW=!0)}function FY($,G,X,Y,Z,B,H,U){if($.name="",H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&typeof H!=="boolean"?(r0(H,"type"),$.type=H):$.removeAttribute("type"),G!=null)if(H==="number"){if(G===0&&$.value===""||$.value!=G)$.value=""+y$(G)}else $.value!==""+y$(G)&&($.value=""+y$(G));else H!=="submit"&&H!=="reset"||$.removeAttribute("value");G!=null?MY($,H,y$(G)):X!=null?MY($,H,y$(X)):Y!=null&&$.removeAttribute("value"),Z==null&&B!=null&&($.defaultChecked=!!B),Z!=null&&($.checked=Z&&typeof Z!=="function"&&typeof Z!=="symbol"),U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"?(r0(U,"name"),$.name=""+y$(U)):$.removeAttribute("name")}function sJ($,G,X,Y,Z,B,H,U){if(B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"&&(r0(B,"type"),$.type=B),G!=null||X!=null){if(!(B!=="submit"&&B!=="reset"||G!==void 0&&G!==null)){KY($);return}X=X!=null?""+y$(X):"",G=G!=null?""+y$(G):X,U||G===$.value||($.value=G),$.defaultValue=G}Y=Y!=null?Y:Z,Y=typeof Y!=="function"&&typeof Y!=="symbol"&&!!Y,$.checked=U?$.checked:!!Y,$.defaultChecked=!!Y,H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&typeof H!=="boolean"&&(r0(H,"name"),$.name=H),KY($)}function MY($,G,X){G==="number"&&b8($.ownerDocument)===$||$.defaultValue===""+X||($.defaultValue=""+X)}function iJ($,G){G.value==null&&(typeof G.children==="object"&&G.children!==null?qG.Children.forEach(G.children,function(X){X==null||typeof X==="string"||typeof X==="number"||typeof X==="bigint"||G_||(G_=!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||X_||(X_=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),G.selected==null||$_||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),$_=!0)}function aJ(){var $=Z1();return $?`
Check the render method of \``+$+"`.":""}function O6($,G,X,Y){if($=$.options,G){G={};for(var Z=0;Z<X.length;Z++)G["$"+X[Z]]=!0;for(X=0;X<$.length;X++)Z=G.hasOwnProperty("$"+$[X].value),$[X].selected!==Z&&($[X].selected=Z),Z&&Y&&($[X].defaultSelected=!0)}else{X=""+y$(X),G=null;for(Z=0;Z<$.length;Z++){if($[Z].value===X){$[Z].selected=!0,Y&&($[Z].defaultSelected=!0);return}G!==null||$[Z].disabled||(G=$[Z])}G!==null&&(G.selected=!0)}}function nJ($,G){for($=0;$<Z_.length;$++){var X=Z_[$];if(G[X]!=null){var Y=v5(G[X]);G.multiple&&!Y?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",X,aJ()):!G.multiple&&Y&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",X,aJ())}}G.value===void 0||G.defaultValue===void 0||Y_||(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"),Y_=!0)}function oJ($,G){G.value===void 0||G.defaultValue===void 0||B_||(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"),B_=!0),G.children!=null&&G.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function rJ($,G,X){if(G!=null&&(G=""+y$(G),G!==$.value&&($.value=G),X==null)){$.defaultValue!==G&&($.defaultValue=G);return}$.defaultValue=X!=null?""+y$(X):""}function tJ($,G,X,Y){if(G==null){if(Y!=null){if(X!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(v5(Y)){if(1<Y.length)throw Error("<textarea> can only have at most one child.");Y=Y[0]}X=Y}X==null&&(X=""),G=X}X=y$(G),$.defaultValue=X,Y=$.textContent,Y===X&&Y!==""&&Y!==null&&($.value=Y),KY($)}function eJ($,G){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-G?eJ($.children[0],G):$}function V$($){return" "+" ".repeat($)}function q6($){return"+ "+" ".repeat($)}function E4($){return"- "+" ".repeat($)}function $H($){switch($.tag){case 26:case 27:case 5:return $.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return $=$.type,$.displayName||$.name||null;case 11:return $=$.type.render,$.displayName||$.name||null;case 1:return $=$.type,$.displayName||$.name||null;default:return null}}function uG($,G){return J_.test($)?($=JSON.stringify($),$.length>G-2?8>G?'{"..."}':"{"+$.slice(0,G-7)+'..."}':"{"+$+"}"):$.length>G?5>G?'{"..."}':$.slice(0,G-3)+"...":$}function m8($,G,X){var Y=120-2*X;if(G===null)return q6(X)+uG($,Y)+`
`;if(typeof G==="string"){for(var Z=0;Z<G.length&&Z<$.length&&G.charCodeAt(Z)===$.charCodeAt(Z);Z++);return Z>Y-8&&10<Z&&($="..."+$.slice(Z-8),G="..."+G.slice(Z-8)),q6(X)+uG($,Y)+`
`+E4(X)+uG(G,Y)+`
`}return V$(X)+uG($,Y)+`
`}function RY($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(G,X){return X})}function pG($,G){switch(typeof $){case"string":return $=JSON.stringify($),$.length>G?5>G?'"..."':$.slice(0,G-4)+'..."':$;case"object":if($===null)return"null";if(v5($))return"[...]";if($.$$typeof===g1)return(G=t($.type))?"<"+G+">":"<...>";var X=RY($);if(X==="Object"){X="",G-=2;for(var Y in $)if($.hasOwnProperty(Y)){var Z=JSON.stringify(Y);if(Z!=='"'+Y+'"'&&(Y=Z),G-=Y.length-2,Z=pG($[Y],15>G?G:15),G-=Z.length,0>G){X+=X===""?"...":", ...";break}X+=(X===""?"":",")+Y+":"+Z}return"{"+X+"}"}return X;case"function":return(G=$.displayName||$.name)?"function "+G:"function";default:return String($)}}function D6($,G){return typeof $!=="string"||J_.test($)?"{"+pG($,G-2)+"}":$.length>G-2?5>G?'"..."':'"'+$.slice(0,G-5)+'..."':'"'+$+'"'}function TY($,G,X){var Y=120-X.length-$.length,Z=[],B;for(B in G)if(G.hasOwnProperty(B)&&B!=="children"){var H=D6(G[B],120-X.length-B.length-1);Y-=B.length+H.length+2,Z.push(B+"="+H)}return Z.length===0?X+"<"+$+`>
`:0<Y?X+"<"+$+" "+Z.join(" ")+`>
`:X+"<"+$+`
`+X+" "+Z.join(`
`+X+" ")+`
`+X+`>
`}function Ow($,G,X){var Y="",Z=S0({},G),B;for(B in $)if($.hasOwnProperty(B)){delete Z[B];var H=120-2*X-B.length-2,U=pG($[B],H);G.hasOwnProperty(B)?(H=pG(G[B],H),Y+=q6(X)+B+": "+U+`
`,Y+=E4(X)+B+": "+H+`
`):Y+=q6(X)+B+": "+U+`
`}for(var _ in Z)Z.hasOwnProperty(_)&&($=pG(Z[_],120-2*X-_.length-2),Y+=E4(X)+_+": "+$+`
`);return Y}function qw($,G,X,Y){var Z="",B=new Map;for(A in X)X.hasOwnProperty(A)&&B.set(A.toLowerCase(),A);if(B.size===1&&B.has("children"))Z+=TY($,G,V$(Y));else{for(var H in G)if(G.hasOwnProperty(H)&&H!=="children"){var U=120-2*(Y+1)-H.length-1,_=B.get(H.toLowerCase());if(_!==void 0){B.delete(H.toLowerCase());var A=G[H];_=X[_];var q=D6(A,U);U=D6(_,U),typeof A==="object"&&A!==null&&typeof _==="object"&&_!==null&&RY(A)==="Object"&&RY(_)==="Object"&&(2<Object.keys(A).length||2<Object.keys(_).length||-1<q.indexOf("...")||-1<U.indexOf("..."))?Z+=V$(Y+1)+H+`={{
`+Ow(A,_,Y+2)+V$(Y+1)+`}}
`:(Z+=q6(Y+1)+H+"="+q+`
`,Z+=E4(Y+1)+H+"="+U+`
`)}else Z+=V$(Y+1)+H+"="+D6(G[H],U)+`
`}B.forEach(function(D){if(D!=="children"){var I=120-2*(Y+1)-D.length-1;Z+=E4(Y+1)+D+"="+D6(X[D],I)+`
`}}),Z=Z===""?V$(Y)+"<"+$+`>
`:V$(Y)+"<"+$+`
`+Z+V$(Y)+`>
`}if($=X.children,G=G.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(B="",typeof G==="string"||typeof G==="number"||typeof G==="bigint")B=""+G;Z+=m8(B,""+$,Y+1)}else if(typeof G==="string"||typeof G==="number"||typeof G==="bigint")Z=$==null?Z+m8(""+G,null,Y+1):Z+m8(""+G,void 0,Y+1);return Z}function GH($,G){var X=$H($);if(X===null){X="";for($=$.child;$;)X+=GH($,G),$=$.sibling;return X}return V$(G)+"<"+X+`>
`}function IY($,G){var X=eJ($,G);if(X!==$&&($.children.length!==1||$.children[0]!==X))return V$(G)+`...
`+IY(X,G+1);X="";var Y=$.fiber._debugInfo;if(Y)for(var Z=0;Z<Y.length;Z++){var B=Y[Z].name;typeof B==="string"&&(X+=V$(G)+"<"+B+`>
`,G++)}if(Y="",Z=$.fiber.pendingProps,$.fiber.tag===6)Y=m8(Z,$.serverProps,G),G++;else if(B=$H($.fiber),B!==null)if($.serverProps===void 0){Y=G;var H=120-2*Y-B.length-2,U="";for(A in Z)if(Z.hasOwnProperty(A)&&A!=="children"){var _=D6(Z[A],15);if(H-=A.length+_.length+2,0>H){U+=" ...";break}U+=" "+A+"="+_}Y=V$(Y)+"<"+B+U+`>
`,G++}else $.serverProps===null?(Y=TY(B,Z,q6(G)),G++):typeof $.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(Y=qw(B,Z,$.serverProps,G),G++);var A="";Z=$.fiber.child;for(B=0;Z&&B<$.children.length;)H=$.children[B],H.fiber===Z?(A+=IY(H,G),B++):A+=GH(Z,G),Z=Z.sibling;Z&&0<$.children.length&&(A+=V$(G)+`...
`),Z=$.serverTail,$.serverProps===null&&G--;for($=0;$<Z.length;$++)B=Z[$],A=typeof B==="string"?A+(E4(G)+uG(B,120-2*G)+`
`):A+TY(B.type,B.props,E4(G));return X+Y+A}function PY($){try{return`
`+IY($,0)}catch(G){return""}}function XH($,G,X){for(var Y=G,Z=null,B=0;Y;)Y===$&&(B=0),Z={fiber:Y,children:Z!==null?[Z]:[],serverProps:Y===G?X:Y===$?null:void 0,serverTail:[],distanceFromLeaf:B},B++,Y=Y.return;return Z!==null?PY(Z).replaceAll(/^[+-]/gm,">"):""}function YH($,G){var X=S0({},$||z_),Y={tag:G};if(H_.indexOf(G)!==-1&&(X.aTagInScope=null,X.buttonTagInScope=null,X.nobrTagInScope=null),xK.indexOf(G)!==-1&&(X.pTagInButtonScope=null),jK.indexOf(G)!==-1&&G!=="address"&&G!=="div"&&G!=="p"&&(X.listItemTagAutoclosing=null,X.dlItemTagAutoclosing=null),X.current=Y,G==="form"&&(X.formTag=Y),G==="a"&&(X.aTagInScope=Y),G==="button"&&(X.buttonTagInScope=Y),G==="nobr"&&(X.nobrTagInScope=Y),G==="p"&&(X.pTagInButtonScope=Y),G==="li"&&(X.listItemTagAutoclosing=Y),G==="dd"||G==="dt")X.dlItemTagAutoclosing=Y;return G==="#document"||G==="html"?X.containerTagInScope=null:X.containerTagInScope||(X.containerTagInScope=Y),$!==null||G!=="#document"&&G!=="html"&&G!=="body"?X.implicitRootScope===!0&&(X.implicitRootScope=!1):X.implicitRootScope=!0,X}function ZH($,G,X){switch(G){case"select":return $==="hr"||$==="option"||$==="optgroup"||$==="script"||$==="template"||$==="#text";case"optgroup":return $==="option"||$==="#text";case"option":return $==="#text";case"tr":return $==="th"||$==="td"||$==="style"||$==="script"||$==="template";case"tbody":case"thead":case"tfoot":return $==="tr"||$==="style"||$==="script"||$==="template";case"colgroup":return $==="col"||$==="template";case"table":return $==="caption"||$==="colgroup"||$==="tbody"||$==="tfoot"||$==="thead"||$==="style"||$==="script"||$==="template";case"head":return $==="base"||$==="basefont"||$==="bgsound"||$==="link"||$==="meta"||$==="title"||$==="noscript"||$==="noframes"||$==="style"||$==="script"||$==="template";case"html":if(X)break;return $==="head"||$==="body"||$==="frameset";case"frameset":return $==="frame";case"#document":if(!X)return $==="html"}switch($){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 SK.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 X||G===null;case"html":return X&&G==="#document"||G===null;case"body":return X&&(G==="#document"||G==="html")||G===null}return!0}function Dw($,G){switch($){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 BH($,G){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===G)return $}$=$.return}return null}function VY($,G){G=G||z_;var X=G.current;if(G=(X=ZH($,X&&X.tag,G.implicitRootScope)?null:X)?null:Dw($,G),G=X||G,!G)return!0;var Y=G.tag;if(G=String(!!X)+"|"+$+"|"+Y,nX[G])return!1;nX[G]=!0;var Z=(G=k$)?BH(G.return,Y):null,B=G!==null&&Z!==null?XH(Z,G,null):"",H="<"+$+">";return X?(X="",Y==="table"&&$==="tr"&&(X+=" 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
This will cause a hydration error.%s`,H,Y,X,B)):console.error(`In HTML, %s cannot be a descendant of <%s>.
This will cause a hydration error.%s`,H,Y,B),G&&($=G.return,Z===null||$===null||Z===$&&$._debugOwner===G._debugOwner||n(Z,function(){console.error(`<%s> cannot contain a nested %s.
See this log for the ancestor stack trace.`,Y,H)})),!1}function f8($,G,X){if(X||ZH("#text",G,!1))return!0;if(X="#text|"+G,nX[X])return!1;nX[X]=!0;var Y=(X=k$)?BH(X,G):null;return X=X!==null&&Y!==null?XH(Y,X,X.tag!==6?{children:null}:null):"",/\S/.test($)?console.error(`In HTML, text nodes cannot be a child of <%s>.
This will cause a hydration error.%s`,G,X):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.
This will cause a hydration error.%s`,G,X),!1}function lG($,G){if(G){var X=$.firstChild;if(X&&X===$.lastChild&&X.nodeType===3){X.nodeValue=G;return}}$.textContent=G}function Ew($){return $.replace(gK,function(G,X){return X.toUpperCase()})}function JH($,G,X){var Y=G.indexOf("--")===0;Y||(-1<G.indexOf("-")?i6.hasOwnProperty(G)&&i6[G]||(i6[G]=!0,console.error("Unsupported style property %s. Did you mean %s?",G,Ew(G.replace(vK,"ms-")))):kK.test(G)?i6.hasOwnProperty(G)&&i6[G]||(i6[G]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",G,G.charAt(0).toUpperCase()+G.slice(1))):!__.test(X)||h3.hasOwnProperty(X)&&h3[X]||(h3[X]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,G,X.replace(__,""))),typeof X==="number"&&(isNaN(X)?N_||(N_=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",G)):isFinite(X)||A_||(A_=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",G)))),X==null||typeof X==="boolean"||X===""?Y?$.setProperty(G,""):G==="float"?$.cssFloat="":$[G]="":Y?$.setProperty(G,X):typeof X!=="number"||X===0||L_.has(G)?G==="float"?$.cssFloat=X:(hG(X,G),$[G]=(""+X).trim()):$[G]=X+"px"}function HH($,G,X){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),$=$.style,X!=null){if(G){var Y={};if(X){for(var Z in X)if(X.hasOwnProperty(Z)&&!G.hasOwnProperty(Z))for(var B=f3[Z]||[Z],H=0;H<B.length;H++)Y[B[H]]=Z}for(var U in G)if(G.hasOwnProperty(U)&&(!X||X[U]!==G[U]))for(Z=f3[U]||[U],B=0;B<Z.length;B++)Y[Z[B]]=U;U={};for(var _ in G)for(Z=f3[_]||[_],B=0;B<Z.length;B++)U[Z[B]]=_;_={};for(var A in Y)if(Z=Y[A],(B=U[A])&&Z!==B&&(H=Z+","+B,!_[H])){_[H]=!0,H=console;var q=G[Z];H.error.call(H,"%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.",q==null||typeof q==="boolean"||q===""?"Removing":"Updating",Z,B)}}for(var D in X)!X.hasOwnProperty(D)||G!=null&&G.hasOwnProperty(D)||(D.indexOf("--")===0?$.setProperty(D,""):D==="float"?$.cssFloat="":$[D]="");for(var I in G)A=G[I],G.hasOwnProperty(I)&&X[I]!==A&&JH($,I,A)}else for(Y in G)G.hasOwnProperty(Y)&&JH($,Y,G[Y])}function cG($){if($.indexOf("-")===-1)return!1;switch($){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 zH($){return bK.get($)||$}function Cw($,G){if(z1.call(n6,G)&&n6[G])return!0;if(fK.test(G)){if($="aria-"+G.slice(4).toLowerCase(),$=w_.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",G),n6[G]=!0;if(G!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",G,$),n6[G]=!0}if(mK.test(G)){if($=G.toLowerCase(),$=w_.hasOwnProperty($)?$:null,$==null)return n6[G]=!0,!1;G!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",G,$),n6[G]=!0)}return!0}function jw($,G){var X=[],Y;for(Y in G)Cw($,Y)||X.push(Y);G=X.map(function(Z){return"`"+Z+"`"}).join(", "),X.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",G,$):1<X.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",G,$)}function xw($,G,X,Y){if(z1.call(Z$,G)&&Z$[G])return!0;var Z=G.toLowerCase();if(Z==="onfocusin"||Z==="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."),Z$[G]=!0;if(typeof X==="function"&&($==="form"&&G==="action"||$==="input"&&G==="formAction"||$==="button"&&G==="formAction"))return!0;if(Y!=null){if($=Y.possibleRegistrationNames,Y.registrationNameDependencies.hasOwnProperty(G))return!0;if(Y=$.hasOwnProperty(Z)?$[Z]:null,Y!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",G,Y),Z$[G]=!0;if(K_.test(G))return console.error("Unknown event handler property `%s`. It will be ignored.",G),Z$[G]=!0}else if(K_.test(G))return hK.test(G)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",G),Z$[G]=!0;if(yK.test(G)||dK.test(G))return!0;if(Z==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Z$[G]=!0;if(Z==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Z$[G]=!0;if(Z==="is"&&X!==null&&X!==void 0&&typeof X!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof X),Z$[G]=!0;if(typeof X==="number"&&isNaN(X))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",G),Z$[G]=!0;if(rX.hasOwnProperty(Z)){if(Z=rX[Z],Z!==G)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",G,Z),Z$[G]=!0}else if(G!==Z)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,Z),Z$[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 X){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(Z=G.toLowerCase().slice(0,5),Z==="data-"||Z==="aria-")return!0;return X?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()}.',X,G,G,X,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.',X,G,G,X,G,G,G),Z$[G]=!0}case"function":case"symbol":return Z$[G]=!0,!1;case"string":if(X==="false"||X==="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}?",X,G,X==="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,X),Z$[G]=!0}}return!0}function Sw($,G,X){var Y=[],Z;for(Z in G)xw($,Z,G[Z],X)||Y.push(Z);G=Y.map(function(B){return"`"+B+"`"}).join(", "),Y.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,$):1<Y.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,$)}function sG($){return uK.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function $2(){}function OY($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function UH($){var G=M0($);if(G&&($=G.stateNode)){var X=$[Y$]||null;$:switch($=G.stateNode,G.type){case"input":if(FY($,X.value,X.defaultValue,X.defaultValue,X.checked,X.defaultChecked,X.type,X.name),G=X.name,X.type==="radio"&&G!=null){for(X=$;X.parentNode;)X=X.parentNode;r0(G,"name"),X=X.querySelectorAll('input[name="'+d$(""+G)+'"][type="radio"]');for(G=0;G<X.length;G++){var Y=X[G];if(Y!==$&&Y.form===$.form){var Z=Y[Y$]||null;if(!Z)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");FY(Y,Z.value,Z.defaultValue,Z.defaultValue,Z.checked,Z.defaultChecked,Z.type,Z.name)}}for(G=0;G<X.length;G++)Y=X[G],Y.form===$.form&&lJ(Y)}break $;case"textarea":rJ($,X.value,X.defaultValue);break $;case"select":G=X.value,G!=null&&O6($,!!X.multiple,G,!1)}}}function WH($,G,X){if(y3)return $(G,X);y3=!0;try{var Y=$(G);return Y}finally{if(y3=!1,o6!==null||r6!==null){if(m6(),o6&&(G=o6,$=r6,r6=o6=null,UH(G),$))for(G=0;G<$.length;G++)UH($[G])}}}function iG($,G){var X=$.stateNode;if(X===null)return null;var Y=X[Y$]||null;if(Y===null)return null;X=Y[G];$:switch(G){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Y=!Y.disabled)||($=$.type,Y=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!Y;break $;default:$=!1}if($)return null;if(X&&typeof X!=="function")throw Error("Expected `"+G+"` listener to be a function, instead got a value of `"+typeof X+"` type.");return X}function _H(){if(tX)return tX;var $,G=u3,X=G.length,Y,Z="value"in i2?i2.value:i2.textContent,B=Z.length;for($=0;$<X&&G[$]===Z[$];$++);var H=X-$;for(Y=1;Y<=H&&G[X-Y]===Z[B-Y];Y++);return tX=Z.slice($,1<Y?1-Y:void 0)}function h8($){var G=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&G===13&&($=13)):$=G,$===10&&($=13),32<=$||$===13?$:0}function y8(){return!0}function NH(){return!1}function L$($){function G(X,Y,Z,B,H){this._reactName=X,this._targetInst=Z,this.type=Y,this.nativeEvent=B,this.target=H,this.currentTarget=null;for(var U in $)$.hasOwnProperty(U)&&(X=$[U],this[U]=X?X(B):B[U]);return this.isDefaultPrevented=(B.defaultPrevented!=null?B.defaultPrevented:B.returnValue===!1)?y8:NH,this.isPropagationStopped=NH,this}return S0(G.prototype,{preventDefault:function(){this.defaultPrevented=!0;var X=this.nativeEvent;X&&(X.preventDefault?X.preventDefault():typeof X.returnValue!=="unknown"&&(X.returnValue=!1),this.isDefaultPrevented=y8)},stopPropagation:function(){var X=this.nativeEvent;X&&(X.stopPropagation?X.stopPropagation():typeof X.cancelBubble!=="unknown"&&(X.cancelBubble=!0),this.isPropagationStopped=y8)},persist:function(){},isPersistent:y8}),G}function kw($){var G=this.nativeEvent;return G.getModifierState?G.getModifierState($):($=GF[$])?!!G[$]:!1}function qY(){return kw}function AH($,G){switch($){case"keyup":return AF.indexOf(G.keyCode)!==-1;case"keydown":return G.keyCode!==T_;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function LH($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function vw($,G){switch($){case"compositionend":return LH(G);case"keypress":if(G.which!==P_)return null;return O_=!0,V_;case"textInput":return $=G.data,$===V_&&O_?null:$;default:return null}}function gw($,G){if(t6)return $==="compositionend"||!s3&&AH($,G)?($=_H(),tX=u3=i2=null,t6=!1,$):null;switch($){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 I_&&G.locale!=="ko"?null:G.data;default:return null}}function wH($){var G=$&&$.nodeName&&$.nodeName.toLowerCase();return G==="input"?!!wF[$.type]:G==="textarea"?!0:!1}function bw($){if(!d1)return!1;$="on"+$;var G=$ in document;return G||(G=document.createElement("div"),G.setAttribute($,"return;"),G=typeof G[$]==="function"),G}function QH($,G,X,Y){o6?r6?r6.push(Y):r6=[Y]:o6=Y,G=SX(G,"onChange"),0<G.length&&(X=new eX("onChange","change",null,X,Y),$.push({event:X,listeners:G}))}function mw($){tU($,0)}function d8($){var G=R0($);if(lJ(G))return $}function KH($,G){if($==="change")return G}function FH(){S7&&(S7.detachEvent("onpropertychange",MH),k7=S7=null)}function MH($){if($.propertyName==="value"&&d8(k7)){var G=[];QH(G,k7,$,OY($)),WH(mw,G)}}function fw($,G,X){$==="focusin"?(FH(),S7=G,k7=X,S7.attachEvent("onpropertychange",MH)):$==="focusout"&&FH()}function hw($){if($==="selectionchange"||$==="keyup"||$==="keydown")return d8(k7)}function yw($,G){if($==="click")return d8(G)}function dw($,G){if($==="input"||$==="change")return d8(G)}function uw($,G){return $===G&&($!==0||1/$===1/G)||$!==$&&G!==G}function aG($,G){if(B$($,G))return!0;if(typeof $!=="object"||$===null||typeof G!=="object"||G===null)return!1;var X=Object.keys($),Y=Object.keys(G);if(X.length!==Y.length)return!1;for(Y=0;Y<X.length;Y++){var Z=X[Y];if(!z1.call(G,Z)||!B$($[Z],G[Z]))return!1}return!0}function RH($){for(;$&&$.firstChild;)$=$.firstChild;return $}function TH($,G){var X=RH($);$=0;for(var Y;X;){if(X.nodeType===3){if(Y=$+X.textContent.length,$<=G&&Y>=G)return{node:X,offset:G-$};$=Y}$:{for(;X;){if(X.nextSibling){X=X.nextSibling;break $}X=X.parentNode}X=void 0}X=RH(X)}}function IH($,G){return $&&G?$===G?!0:$&&$.nodeType===3?!1:G&&G.nodeType===3?IH($,G.parentNode):("contains"in $)?$.contains(G):$.compareDocumentPosition?!!($.compareDocumentPosition(G)&16):!1:!1}function PH($){$=$!=null&&$.ownerDocument!=null&&$.ownerDocument.defaultView!=null?$.ownerDocument.defaultView:window;for(var G=b8($.document);G instanceof $.HTMLIFrameElement;){try{var X=typeof G.contentWindow.location.href==="string"}catch(Y){X=!1}if(X)$=G.contentWindow;else break;G=b8($.document)}return G}function DY($){var G=$&&$.nodeName&&$.nodeName.toLowerCase();return G&&(G==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||G==="textarea"||$.contentEditable==="true")}function VH($,G,X){var Y=X.window===X?X.document:X.nodeType===9?X:X.ownerDocument;a3||e6==null||e6!==b8(Y)||(Y=e6,("selectionStart"in Y)&&DY(Y)?Y={start:Y.selectionStart,end:Y.selectionEnd}:(Y=(Y.ownerDocument&&Y.ownerDocument.defaultView||window).getSelection(),Y={anchorNode:Y.anchorNode,anchorOffset:Y.anchorOffset,focusNode:Y.focusNode,focusOffset:Y.focusOffset}),v7&&aG(v7,Y)||(v7=Y,Y=SX(i3,"onSelect"),0<Y.length&&(G=new eX("onSelect","select",null,G,X),$.push({event:G,listeners:Y}),G.target=e6)))}function C4($,G){var X={};return X[$.toLowerCase()]=G.toLowerCase(),X["Webkit"+$]="webkit"+G,X["Moz"+$]="moz"+G,X}function j4($){if(n3[$])return n3[$];if(!$G[$])return $;var G=$G[$],X;for(X in G)if(G.hasOwnProperty(X)&&X in D_)return n3[$]=G[X];return $}function B1($,G){S_.set($,G),n5(G,[$])}function pw($){for(var G=G9,X=0;X<$.length;X++){var Y=$[X];if(typeof Y==="object"&&Y!==null)if(v5(Y)&&Y.length===2&&typeof Y[0]==="string"){if(G!==G9&&G!==$B)return t3;G=$B}else return t3;else{if(typeof Y==="function"||typeof Y==="string"&&50<Y.length||G!==G9&&G!==e3)return t3;G=e3}}return G}function EY($,G,X,Y){for(var Z in $)z1.call($,Z)&&Z[0]!=="_"&&M1(Z,$[Z],G,X,Y)}function M1($,G,X,Y,Z){switch(typeof G){case"object":if(G===null){G="null";break}else{if(G.$$typeof===g1){var B=t(G.type)||"…",H=G.key;G=G.props;var U=Object.keys(G),_=U.length;if(H==null&&_===0){G="<"+B+" />";break}if(3>Y||_===1&&U[0]==="children"&&H==null){G="<"+B+" … />";break}X.push([Z+"  ".repeat(Y)+$,"<"+B]),H!==null&&M1("key",H,X,Y+1,Z),$=!1;for(var A in G)A==="children"?G.children!=null&&(!v5(G.children)||0<G.children.length)&&($=!0):z1.call(G,A)&&A[0]!=="_"&&M1(A,G[A],X,Y+1,Z);X.push(["",$?">…</"+B+">":"/>"]);return}if(B=Object.prototype.toString.call(G),B=B.slice(8,B.length-1),B==="Array"){if(A=pw(G),A===e3||A===G9){G=JSON.stringify(G);break}else if(A===$B){X.push([Z+"  ".repeat(Y)+$,""]);for($=0;$<G.length;$++)B=G[$],M1(B[0],B[1],X,Y+1,Z);return}}if(B==="Promise"){if(G.status==="fulfilled"){if(B=X.length,M1($,G.value,X,Y,Z),X.length>B){X=X[B],X[1]="Promise<"+(X[1]||"Object")+">";return}}else if(G.status==="rejected"&&(B=X.length,M1($,G.reason,X,Y,Z),X.length>B)){X=X[B],X[1]="Rejected Promise<"+X[1]+">";return}X.push(["  ".repeat(Y)+$,"Promise"]);return}B==="Object"&&(A=Object.getPrototypeOf(G))&&typeof A.constructor==="function"&&(B=A.constructor.name),X.push([Z+"  ".repeat(Y)+$,B==="Object"?3>Y?"":"…":B]),3>Y&&EY(G,X,Y+1,Z);return}case"function":G=G.name===""?"() => {}":G.name+"() {}";break;case"string":G=G===IF?"…":JSON.stringify(G);break;case"undefined":G="undefined";break;case"boolean":G=G?"true":"false";break;default:G=String(G)}X.push([Z+"  ".repeat(Y)+$,G])}function OH($,G,X,Y){var Z=!0;for(H in $)H in G||(X.push([X9+"  ".repeat(Y)+H,"…"]),Z=!1);for(var B in G)if(B in $){var H=$[B],U=G[B];if(H!==U){if(Y===0&&B==="children")Z="  ".repeat(Y)+B,X.push([X9+Z,"…"],[Y9+Z,"…"]);else{if(!(3<=Y)){if(typeof H==="object"&&typeof U==="object"&&H!==null&&U!==null&&H.$$typeof===U.$$typeof)if(U.$$typeof===g1){if(H.type===U.type&&H.key===U.key){H=t(U.type)||"…",Z="  ".repeat(Y)+B,H="<"+H+" … />",X.push([X9+Z,H],[Y9+Z,H]),Z=!1;continue}}else{var _=Object.prototype.toString.call(H),A=Object.prototype.toString.call(U);if(_===A&&(A==="[object Object]"||A==="[object Array]")){_=[g_+"  ".repeat(Y)+B,A==="[object Array]"?"Array":""],X.push(_),A=X.length,OH(H,U,X,Y+1)?A===X.length&&(_[1]="Referentially unequal but deeply equal objects. Consider memoization."):Z=!1;continue}}else if(typeof H==="function"&&typeof U==="function"&&H.name===U.name&&H.length===U.length&&(_=Function.prototype.toString.call(H),A=Function.prototype.toString.call(U),_===A)){H=U.name===""?"() => {}":U.name+"() {}",X.push([g_+"  ".repeat(Y)+B,H+" Referentially unequal function closure. Consider memoization."]);continue}}M1(B,H,X,Y,X9),M1(B,U,X,Y,Y9)}Z=!1}}else X.push([Y9+"  ".repeat(Y)+B,"…"]),Z=!1;return Z}function O$($){v0=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function R1($,G,X,Y){z5&&(n2.start=G,n2.end=X,U2.color="warning",U2.tooltipText=Y,U2.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,Y,n2)):performance.measure(Y,n2))}function u8($,G,X){R1($,G,X,"Reconnect")}function p8($,G,X,Y,Z){var B=p($);if(B!==null&&z5){var{alternate:H,actualDuration:U}=$;if(H===null||H.child!==$.child)for(var _=$.child;_!==null;_=_.sibling)U-=_.actualDuration;Y=0.5>U?Y?"tertiary-light":"primary-light":10>U?Y?"tertiary":"primary":100>U?Y?"tertiary-dark":"primary-dark":"error";var A=$.memoizedProps;U=$._debugTask,A!==null&&H!==null&&H.memoizedProps!==A?(_=[PF],A=OH(H.memoizedProps,A,_,0),1<_.length&&(A&&!a2&&(H.lanes&Z)===0&&100<$.actualDuration?(a2=!0,_[0]=VF,U2.color="warning",U2.tooltipText=b_):(U2.color=Y,U2.tooltipText=B),U2.properties=_,n2.start=G,n2.end=X,U!=null?U.run(performance.measure.bind(performance,""+B,n2)):performance.measure(""+B,n2))):U!=null?U.run(console.timeStamp.bind(console,B,G,X,p$,void 0,Y)):console.timeStamp(B,G,X,p$,void 0,Y)}}function CY($,G,X,Y){if(z5){var Z=p($);if(Z!==null){for(var B=null,H=[],U=0;U<Y.length;U++){var _=Y[U];B==null&&_.source!==null&&(B=_.source._debugTask),_=_.value,H.push(["Error",typeof _==="object"&&_!==null&&typeof _.message==="string"?String(_.message):String(_)])}$.key!==null&&M1("key",$.key,H,0,""),$.memoizedProps!==null&&EY($.memoizedProps,H,0,""),B==null&&(B=$._debugTask),$={start:G,end:X,detail:{devtools:{color:"error",track:p$,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:H}}},B?B.run(performance.measure.bind(performance,""+Z,$)):performance.measure(""+Z,$)}}}function T1($,G,X,Y,Z){if(Z!==null){if(z5){var B=p($);if(B!==null){Y=[];for(var H=0;H<Z.length;H++){var U=Z[H].value;Y.push(["Error",typeof U==="object"&&U!==null&&typeof U.message==="string"?String(U.message):String(U)])}$.key!==null&&M1("key",$.key,Y,0,""),$.memoizedProps!==null&&EY($.memoizedProps,Y,0,""),G={start:G,end:X,detail:{devtools:{color:"error",track:p$,tooltipText:"A lifecycle or effect errored",properties:Y}}},($=$._debugTask)?$.run(performance.measure.bind(performance,""+B,G)):performance.measure(""+B,G)}}}else B=p($),B!==null&&z5&&(Z=1>Y?"secondary-light":100>Y?"secondary":500>Y?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,B,G,X,p$,void 0,Z)):console.timeStamp(B,G,X,p$,void 0,Z))}function lw($,G,X,Y){if(z5&&!(G<=$)){var Z=(X&738197653)===X?"tertiary-dark":"primary-dark";X=(X&536870912)===X?"Prepared":(X&201326741)===X?"Hydrated":"Render",Y?Y.run(console.timeStamp.bind(console,X,$,G,v0,k0,Z)):console.timeStamp(X,$,G,v0,k0,Z)}}function qH($,G,X,Y){!z5||G<=$||(X=(X&738197653)===X?"tertiary-dark":"primary-dark",Y?Y.run(console.timeStamp.bind(console,"Prewarm",$,G,v0,k0,X)):console.timeStamp("Prewarm",$,G,v0,k0,X))}function DH($,G,X,Y){!z5||G<=$||(X=(X&738197653)===X?"tertiary-dark":"primary-dark",Y?Y.run(console.timeStamp.bind(console,"Suspended",$,G,v0,k0,X)):console.timeStamp("Suspended",$,G,v0,k0,X))}function cw($,G,X,Y,Z,B){if(z5&&!(G<=$)){X=[];for(var H=0;H<Y.length;H++){var U=Y[H].value;X.push(["Recoverable Error",typeof U==="object"&&U!==null&&typeof U.message==="string"?String(U.message):String(U)])}$={start:$,end:G,detail:{devtools:{color:"primary-dark",track:v0,trackGroup:k0,tooltipText:Z?"Hydration Failed":"Recovered after Error",properties:X}}},B?B.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function jY($,G,X,Y){!z5||G<=$||(Y?Y.run(console.timeStamp.bind(console,"Errored",$,G,v0,k0,"error")):console.timeStamp("Errored",$,G,v0,k0,"error"))}function sw($,G,X,Y){!z5||G<=$||(Y?Y.run(console.timeStamp.bind(console,X,$,G,v0,k0,"secondary-light")):console.timeStamp(X,$,G,v0,k0,"secondary-light"))}function EH($,G,X,Y,Z){if(z5&&!(G<=$)){for(var B=[],H=0;H<X.length;H++){var U=X[H].value;B.push(["Error",typeof U==="object"&&U!==null&&typeof U.message==="string"?String(U.message):String(U)])}$={start:$,end:G,detail:{devtools:{color:"error",track:v0,trackGroup:k0,tooltipText:Y?"Remaining Effects Errored":"Commit Errored",properties:B}}},Z?Z.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function nG($,G,X){!z5||G<=$||(X?X.run(console.timeStamp.bind(console,"Animating",$,G,v0,k0,"secondary-dark")):console.timeStamp("Animating",$,G,v0,k0,"secondary-dark"))}function l8(){for(var $=GG,G=GB=GG=0;G<$;){var X=l$[G];l$[G++]=null;var Y=l$[G];l$[G++]=null;var Z=l$[G];l$[G++]=null;var B=l$[G];if(l$[G++]=null,Y!==null&&Z!==null){var H=Y.pending;H===null?Z.next=Z:(Z.next=H.next,H.next=Z),Y.pending=Z}B!==0&&CH(X,Z,B)}}function c8($,G,X,Y){l$[GG++]=$,l$[GG++]=G,l$[GG++]=X,l$[GG++]=Y,GB|=Y,$.lanes|=Y,$=$.alternate,$!==null&&($.lanes|=Y)}function xY($,G,X,Y){return c8($,G,X,Y),s8($)}function o5($,G){return c8($,null,null,G),s8($)}function CH($,G,X){$.lanes|=X;var Y=$.alternate;Y!==null&&(Y.lanes|=X);for(var Z=!1,B=$.return;B!==null;)B.childLanes|=X,Y=B.alternate,Y!==null&&(Y.childLanes|=X),B.tag===22&&($=B.stateNode,$===null||$._visibility&g7||(Z=!0)),$=B,B=B.return;return $.tag===3?(B=$.stateNode,Z&&G!==null&&(Z=31-X$(X),$=B.hiddenUpdates,Y=$[Z],Y===null?$[Z]=[G]:Y.push(G),G.lane=X|536870912),B):null}function s8($){if(z8>hF)throw B6=z8=0,U8=vB=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.");B6>yF&&(B6=0,U8=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.")),$.alternate===null&&($.flags&4098)!==0&&cU($);for(var G=$,X=G.return;X!==null;)G.alternate===null&&(G.flags&4098)!==0&&cU($),G=X,X=G.return;return G.tag===3?G.stateNode:null}function x4($){if(c$===null)return $;var G=c$($);return G===void 0?$:G.current}function SY($){if(c$===null)return $;var G=c$($);return G===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(G=x4($.render),$.render!==G)?(G={$$typeof:P7,render:G},$.displayName!==void 0&&(G.displayName=$.displayName),G):$:G.current}function jH($,G){if(c$===null)return!1;var X=$.elementType;G=G.type;var Y=!1,Z=typeof G==="object"&&G!==null?G.$$typeof:null;switch($.tag){case 1:typeof G==="function"&&(Y=!0);break;case 0:typeof G==="function"?Y=!0:Z===S$&&(Y=!0);break;case 11:Z===P7?Y=!0:Z===S$&&(Y=!0);break;case 14:case 15:Z===pX?Y=!0:Z===S$&&(Y=!0);break;default:return!1}return Y&&($=c$(X),$!==void 0&&$===c$(G))?!0:!1}function xH($){c$!==null&&typeof WeakSet==="function"&&(XG===null&&(XG=new WeakSet),XG.add($))}function SH($,G,X){do{var Y=$,Z=Y.alternate,B=Y.child,H=Y.sibling,U=Y.tag;Y=Y.type;var _=null;switch(U){case 0:case 15:case 1:_=Y;break;case 11:_=Y.render}if(c$===null)throw Error("Expected resolveFamily to be set during hot reload.");var A=!1;if(Y=!1,_!==null&&(_=c$(_),_!==void 0&&(X.has(_)?Y=!0:G.has(_)&&(U===1?Y=!0:A=!0))),XG!==null&&(XG.has($)||Z!==null&&XG.has(Z))&&(Y=!0),Y&&($._debugNeedsRemount=!0),Y||A)Z=o5($,2),Z!==null&&F5(Z,$,2);if(B===null||Y||SH(B,G,X),H===null)break;$=H}while(1)}function iw($,G,X,Y){this.tag=$,this.key=X,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=Y,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,m_||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function kY($){return $=$.prototype,!(!$||!$.isReactComponent)}function G2($,G){var X=$.alternate;switch(X===null?(X=E($.tag,G,$.key,$.mode),X.elementType=$.elementType,X.type=$.type,X.stateNode=$.stateNode,X._debugOwner=$._debugOwner,X._debugStack=$._debugStack,X._debugTask=$._debugTask,X._debugHookTypes=$._debugHookTypes,X.alternate=$,$.alternate=X):(X.pendingProps=G,X.type=$.type,X.flags=0,X.subtreeFlags=0,X.deletions=null,X.actualDuration=-0,X.actualStartTime=-1.1),X.flags=$.flags&65011712,X.childLanes=$.childLanes,X.lanes=$.lanes,X.child=$.child,X.memoizedProps=$.memoizedProps,X.memoizedState=$.memoizedState,X.updateQueue=$.updateQueue,G=$.dependencies,X.dependencies=G===null?null:{lanes:G.lanes,firstContext:G.firstContext,_debugThenableState:G._debugThenableState},X.sibling=$.sibling,X.index=$.index,X.ref=$.ref,X.refCleanup=$.refCleanup,X.selfBaseDuration=$.selfBaseDuration,X.treeBaseDuration=$.treeBaseDuration,X._debugInfo=$._debugInfo,X._debugNeedsRemount=$._debugNeedsRemount,X.tag){case 0:case 15:X.type=x4($.type);break;case 1:X.type=x4($.type);break;case 11:X.type=SY($.type)}return X}function kH($,G){$.flags&=65011714;var X=$.alternate;return X===null?($.childLanes=0,$.lanes=G,$.child=null,$.subtreeFlags=0,$.memoizedProps=null,$.memoizedState=null,$.updateQueue=null,$.dependencies=null,$.stateNode=null,$.selfBaseDuration=0,$.treeBaseDuration=0):($.childLanes=X.childLanes,$.lanes=X.lanes,$.child=X.child,$.subtreeFlags=0,$.deletions=null,$.memoizedProps=X.memoizedProps,$.memoizedState=X.memoizedState,$.updateQueue=X.updateQueue,$.type=X.type,G=X.dependencies,$.dependencies=G===null?null:{lanes:G.lanes,firstContext:G.firstContext,_debugThenableState:G._debugThenableState},$.selfBaseDuration=X.selfBaseDuration,$.treeBaseDuration=X.treeBaseDuration),$}function vY($,G,X,Y,Z,B){var H=0,U=$;if(typeof $==="function")kY($)&&(H=1),U=x4(U);else if(typeof $==="string")H=W0(),H=XK($,X,H)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case q3:return G=E(31,X,G,Z),G.elementType=q3,G.lanes=B,G;case l6:return S4(X.children,Z,B,G);case uX:H=8,Z|=t5,Z|=W1;break;case I3:return $=X,Y=Z,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),G=E(12,$,G,Y|O0),G.elementType=I3,G.lanes=B,G.stateNode={effectDuration:0,passiveEffectDuration:0},G;case V3:return G=E(13,X,G,Z),G.elementType=V3,G.lanes=B,G;case O3:return G=E(19,X,G,Z),G.elementType=O3,G.lanes=B,G;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case b1:H=10;break $;case P3:H=9;break $;case P7:H=11,U=SY(U);break $;case pX:H=14;break $;case S$:H=16,U=null;break $}if(U="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).length===0)U+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";$===null?X="null":v5($)?X="array":$!==void 0&&$.$$typeof===g1?(X="<"+(t($.type)||"Unknown")+" />",U=" Did you accidentally export a JSX literal instead of a component?"):X=typeof $,(H=Y?e0(Y):null)&&(U+=`
Check the render method of \``+H+"`."),H=29,X=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(X+"."+U)),U=null}return G=E(H,X,G,Z),G.elementType=$,G.type=U,G.lanes=B,G._debugOwner=Y,G}function i8($,G,X){return G=vY($.type,$.key,$.props,$._owner,G,X),G._debugOwner=$._owner,G._debugStack=$._debugStack,G._debugTask=$._debugTask,G}function S4($,G,X,Y){return $=E(7,$,Y,G),$.lanes=X,$}function gY($,G,X){return $=E(6,$,null,G),$.lanes=X,$}function vH($){var G=E(18,null,null,w0);return G.stateNode=$,G}function bY($,G,X){return G=E(4,$.children!==null?$.children:[],$.key,G),G.lanes=X,G.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},G}function q$($,G){if(typeof $==="object"&&$!==null){var X=XB.get($);if(X!==void 0)return X;return G={value:$,source:G,stack:q5(G)},XB.set($,G),G}return{value:$,source:G,stack:q5(G)}}function X2($,G){x2(),YG[ZG++]=b7,YG[ZG++]=Z9,Z9=$,b7=G}function gH($,G,X){x2(),s$[i$++]=_2,s$[i$++]=N2,s$[i$++]=c4,c4=$;var Y=_2;$=N2;var Z=32-X$(Y)-1;Y&=~(1<<Z),X+=1;var B=32-X$(G)+Z;if(30<B){var H=Z-Z%5;B=(Y&(1<<H)-1).toString(32),Y>>=H,Z-=H,_2=1<<32-X$(G)+Z|X<<Z|Y,N2=B+$}else _2=1<<B|X<<Z|Y,N2=$}function mY($){x2(),$.return!==null&&(X2($,1),gH($,1,0))}function fY($){for(;$===Z9;)Z9=YG[--ZG],YG[ZG]=null,b7=YG[--ZG],YG[ZG]=null;for(;$===c4;)c4=s$[--i$],s$[i$]=null,N2=s$[--i$],s$[i$]=null,_2=s$[--i$],s$[i$]=null}function bH(){return x2(),c4!==null?{id:_2,overflow:N2}:null}function mH($,G){x2(),s$[i$++]=_2,s$[i$++]=N2,s$[i$++]=c4,_2=G.id,N2=G.overflow,c4=$}function x2(){g0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function k4($,G){if($.return===null){if(g$===null)g$={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:G};else{if(g$.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");g$.distanceFromLeaf>G&&(g$.distanceFromLeaf=G)}return g$}var X=k4($.return,G+1).children;if(0<X.length&&X[X.length-1].fiber===$)return X=X[X.length-1],X.distanceFromLeaf>G&&(X.distanceFromLeaf=G),X;return G={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:G},X.push(G),G}function fH(){g0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function a8($,G){u1||($=k4($,0),$.serverProps=null,G!==null&&(G=QW(G),$.serverTail.push(G)))}function S2($){var G=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,X="",Y=g$;throw Y!==null&&(g$=null,X=PY(Y)),oG(q$(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:
- A server/client branch \`if (typeof window !== 'undefined')\`.
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
https://react.dev/link/hydration-mismatch`+X),$)),YB}function hH($){var{stateNode:G,type:X,memoizedProps:Y}=$;switch(G[s5]=$,G[Y$]=Y,Z3(X,Y),X){case"dialog":b0("cancel",G),b0("close",G);break;case"iframe":case"object":case"embed":b0("load",G);break;case"video":case"audio":for(X=0;X<W8.length;X++)b0(W8[X],G);break;case"source":b0("error",G);break;case"img":case"image":case"link":b0("error",G),b0("load",G);break;case"details":b0("toggle",G);break;case"input":j2("input",Y),b0("invalid",G),cJ(G,Y),sJ(G,Y.value,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name,!0);break;case"option":iJ(G,Y);break;case"select":j2("select",Y),b0("invalid",G),nJ(G,Y);break;case"textarea":j2("textarea",Y),b0("invalid",G),oJ(G,Y),tJ(G,Y.value,Y.defaultValue,Y.children)}X=Y.children,typeof X!=="string"&&typeof X!=="number"&&typeof X!=="bigint"||G.textContent===""+X||Y.suppressHydrationWarning===!0||XW(G.textContent,X)?(Y.popover!=null&&(b0("beforetoggle",G),b0("toggle",G)),Y.onScroll!=null&&b0("scroll",G),Y.onScrollEnd!=null&&b0("scrollend",G),Y.onClick!=null&&(G.onclick=$2),G=!0):G=!1,G||S2($,!0)}function yH($){for(i5=$.return;i5;)switch(i5.tag){case 5:case 31:case 13:a$=!1;return;case 27:case 3:a$=!0;return;default:i5=i5.return}}function E6($){if($!==i5)return!1;if(!g0)return yH($),g0=!0,!1;var G=$.tag,X;if(X=G!==3&&G!==27){if(X=G===5)X=$.type,X=!(X!=="form"&&X!=="button")||U3($.type,$.memoizedProps);X=!X}if(X&&U5){for(X=U5;X;){var Y=k4($,0),Z=QW(X);Y.serverTail.push(Z),X=Z.type==="Suspense"?A3(X):x$(X.nextSibling)}S2($)}if(yH($),G===13){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");U5=A3($)}else if(G===31){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");U5=A3($)}else G===27?(G=U5,u2($.type)?($=sB,sB=null,U5=$):U5=G):U5=i5?x$($.stateNode.nextSibling):null;return!0}function v4(){U5=i5=null,u1=g0=!1}function hY(){var $=r2;return $!==null&&(U$===null?U$=$:U$.push.apply(U$,$),r2=null),$}function oG($){r2===null?r2=[$]:r2.push($)}function yY(){var $=g$;if($!==null){g$=null;for(var G=PY($);0<$.children.length;)$=$.children[0];n($.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:
- A server/client branch \`if (typeof window !== 'undefined')\`.
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
%s%s`,"https://react.dev/link/hydration-mismatch",G)})}}function n8(){BG=B9=null,JG=!1}function k2($,G,X){Q0(ZB,G._currentValue,$),G._currentValue=X,Q0(BB,G._currentRenderer,$),G._currentRenderer!==void 0&&G._currentRenderer!==null&&G._currentRenderer!==h_&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),G._currentRenderer=h_}function Y2($,G){$._currentValue=ZB.current;var X=BB.current;T0(BB,G),$._currentRenderer=X,T0(ZB,G)}function dY($,G,X){for(;$!==null;){var Y=$.alternate;if(($.childLanes&G)!==G?($.childLanes|=G,Y!==null&&(Y.childLanes|=G)):Y!==null&&(Y.childLanes&G)!==G&&(Y.childLanes|=G),$===X)break;$=$.return}$!==X&&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 uY($,G,X,Y){var Z=$.child;Z!==null&&(Z.return=$);for(;Z!==null;){var B=Z.dependencies;if(B!==null){var H=Z.child;B=B.firstContext;$:for(;B!==null;){var U=B;B=Z;for(var _=0;_<G.length;_++)if(U.context===G[_]){B.lanes|=X,U=B.alternate,U!==null&&(U.lanes|=X),dY(B.return,X,$),Y||(H=null);break $}B=U.next}}else if(Z.tag===18){if(H=Z.return,H===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");H.lanes|=X,B=H.alternate,B!==null&&(B.lanes|=X),dY(H,X,$),H=null}else H=Z.child;if(H!==null)H.return=Z;else for(H=Z;H!==null;){if(H===$){H=null;break}if(Z=H.sibling,Z!==null){Z.return=H.return,H=Z;break}H=H.return}Z=H}}function C6($,G,X,Y){$=null;for(var Z=G,B=!1;Z!==null;){if(!B){if((Z.flags&524288)!==0)B=!0;else if((Z.flags&262144)!==0)break}if(Z.tag===10){var H=Z.alternate;if(H===null)throw Error("Should have a current fiber. This is a bug in React.");if(H=H.memoizedProps,H!==null){var U=Z.type;B$(Z.pendingProps.value,H.value)||($!==null?$.push(U):$=[U])}}else if(Z===lX.current){if(H=Z.alternate,H===null)throw Error("Should have a current fiber. This is a bug in React.");H.memoizedState.memoizedState!==Z.memoizedState.memoizedState&&($!==null?$.push(w8):$=[w8])}Z=Z.return}$!==null&&uY(G,$,X,Y),G.flags|=262144}function o8($){for($=$.firstContext;$!==null;){if(!B$($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function g4($){B9=$,BG=null,$=$.dependencies,$!==null&&($.firstContext=null)}function _5($){return JG&&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()."),dH(B9,$)}function r8($,G){return B9===null&&g4($),dH($,G)}function dH($,G){var X=G._currentValue;if(G={context:G,memoizedValue:X,next:null},BG===null){if($===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().");BG=G,$.dependencies={lanes:0,firstContext:G,_debugThenableState:null},$.flags|=524288}else BG=BG.next=G;return X}function pY(){return{controller:new DF,data:new Map,refCount:0}}function b4($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function rG($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&EF(CF,function(){$.controller.abort()})}function I1($,G,X){if(($&127)!==0)0>p1&&(p1=E5(),f7=J9(G),JB=G,X!=null&&(HB=p(X)),(h0&(b5|f$))!==u5&&(M5=!0,$4=m7),$=F7(),G=K7(),$!==HG||G!==h7?HG=-1.1:G!==null&&($4=m7),i4=$,h7=G);else if(($&4194048)!==0&&0>n$&&(n$=E5(),y7=J9(G),y_=G,X!=null&&(d_=p(X)),0>w2)){if($=F7(),G=K7(),$!==X4||G!==a4)X4=-1.1;G4=$,a4=G}}function aw($){if(0>p1){p1=E5(),f7=$._debugTask!=null?$._debugTask:null,(h0&(b5|f$))!==u5&&($4=m7);var G=F7(),X=K7();G!==HG||X!==h7?HG=-1.1:X!==null&&($4=m7),i4=G,h7=X}if(0>n$&&(n$=E5(),y7=$._debugTask!=null?$._debugTask:null,0>w2)){if($=F7(),G=K7(),$!==X4||G!==a4)X4=-1.1;G4=$,a4=G}}function Z2(){var $=s4;return s4=0,$}function t8($){var G=s4;return s4=$,G}function tG($){var G=s4;return s4+=$,G}function e8(){A0=U0=-1.1}function D$(){var $=U0;return U0=-1.1,$}function E$($){0<=$&&(U0=$)}function P1(){var $=w5;return w5=-0,$}function V1($){0<=$&&(w5=$)}function O1(){var $=N5;return N5=null,$}function q1(){var $=M5;return M5=!1,$}function lY($){J$=E5(),0>$.actualStartTime&&($.actualStartTime=J$)}function cY($){if(0<=J$){var G=E5()-J$;$.actualDuration+=G,$.selfBaseDuration=G,J$=-1}}function uH($){if(0<=J$){var G=E5()-J$;$.actualDuration+=G,J$=-1}}function D1(){if(0<=J$){var $=E5(),G=$-J$;J$=-1,s4+=G,w5+=G,A0=$}}function pH($){N5===null&&(N5=[]),N5.push($),L2===null&&(L2=[]),L2.push($)}function E1(){J$=E5(),0>U0&&(U0=J$)}function eG($){for(var G=$.child;G;)$.actualDuration+=G.actualDuration,G=G.sibling}function nw($,G){if(u7===null){var X=u7=[];UB=0,n4=$3(),zG={status:"pending",value:void 0,then:function(Y){X.push(Y)}}}return UB++,G.then(lH,lH),G}function lH(){if(--UB===0&&(-1<n$||(w2=-1.1),u7!==null)){zG!==null&&(zG.status="fulfilled");var $=u7;u7=null,n4=0,zG=null;for(var G=0;G<$.length;G++)(0,$[G])()}}function ow($,G){var X=[],Y={status:"pending",value:null,reason:null,then:function(Z){X.push(Z)}};return $.then(function(){Y.status="fulfilled",Y.value=G;for(var Z=0;Z<X.length;Z++)(0,X[Z])(G)},function(Z){Y.status="rejected",Y.reason=Z;for(Z=0;Z<X.length;Z++)(0,X[Z])(void 0)}),Y}function sY(){var $=o4.current;return $!==null?$:X5.pooledCache}function $X($,G){G===null?Q0(o4,o4.current,$):Q0(o4,G.pool,$)}function cH(){var $=sY();return $===null?null:{parent:D5._currentValue,pool:$}}function sH(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function iH($){return $=$.status,$==="fulfilled"||$==="rejected"}function aH($,G,X){g.actQueue!==null&&(g.didUsePromise=!0);var Y=$.thenables;if(X=Y[X],X===void 0?Y.push(G):X!==G&&($.didWarnAboutUncachedPromise||($.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($2,$2),G=X),G._debugInfo===void 0){$=performance.now(),Y=G.displayName;var Z={name:typeof Y==="string"?Y:"Promise",start:$,end:$,value:G};G._debugInfo=[{awaited:Z}],G.status!=="fulfilled"&&G.status!=="rejected"&&($=function(){Z.end=performance.now()},G.then($,$))}switch(G.status){case"fulfilled":return G.value;case"rejected":throw $=G.reason,oH($),$;default:if(typeof G.status==="string")G.then($2,$2);else{if($=X5,$!==null&&100<$.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.");$=G,$.status="pending",$.then(function(B){if(G.status==="pending"){var H=G;H.status="fulfilled",H.value=B}},function(B){if(G.status==="pending"){var H=G;H.status="rejected",H.reason=B}})}switch(G.status){case"fulfilled":return G.value;case"rejected":throw $=G.reason,oH($),$}throw t4=G,n7=!0,UG}}function v2($){try{return kF($)}catch(G){if(G!==null&&typeof G==="object"&&typeof G.then==="function")throw t4=G,n7=!0,UG;throw G}}function nH(){if(t4===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=t4;return t4=null,n7=!1,$}function oH($){if($===UG||$===L9)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 p5($){var G=q0;return $!=null&&(q0=G===null?$:G.concat($)),G}function iY(){var $=q0;if($!=null){for(var G=$.length-1;0<=G;G--)if($[G].name!=null){var X=$[G].debugTask;if(X!=null)return X}}return null}function GX($,G,X){for(var Y=Object.keys($.props),Z=0;Z<Y.length;Z++){var B=Y[Z];if(B!=="children"&&B!=="key"){G===null&&(G=i8($,X.mode,0),G._debugInfo=q0,G.return=X),n(G,function(H){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",H)},B);break}}}function XX($){var G=o7;return o7+=1,WG===null&&(WG=sH()),aH(WG,$,G)}function $7($,G){G=G.props.ref,$.ref=G!==void 0?G:null}function rH($,G){if(G.$$typeof===NK)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
- Multiple copies of the "react" package is used.
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
- A compiler tries to "inline" JSX instead of using the runtime.`);throw $=Object.prototype.toString.call(G),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(G).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}function YX($,G){var X=iY();X!==null?X.run(rH.bind(null,$,G)):rH($,G)}function tH($,G){var X=p($)||"Component";HN[X]||(HN[X]=!0,G=G.displayName||G.name||"Component",$.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.
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.
<%s>{%s}</%s>`,G,G,X,G,X))}function ZX($,G){var X=iY();X!==null?X.run(tH.bind(null,$,G)):tH($,G)}function eH($,G){var X=p($)||"Component";zN[X]||(zN[X]=!0,G=String(G),$.tag===3?console.error(`Symbols are not valid as a React child.
root.render(%s)`,G):console.error(`Symbols are not valid as a React child.
<%s>%s</%s>`,X,G,X))}function BX($,G){var X=iY();X!==null?X.run(eH.bind(null,$,G)):eH($,G)}function $z($){function G(T,P){if($){var O=T.deletions;O===null?(T.deletions=[P],T.flags|=16):O.push(P)}}function X(T,P){if(!$)return null;for(;P!==null;)G(T,P),P=P.sibling;return null}function Y(T){for(var P=new Map;T!==null;)T.key!==null?P.set(T.key,T):P.set(T.index,T),T=T.sibling;return P}function Z(T,P){return T=G2(T,P),T.index=0,T.sibling=null,T}function B(T,P,O){if(T.index=O,!$)return T.flags|=1048576,P;if(O=T.alternate,O!==null)return O=O.index,O<P?(T.flags|=67108866,P):O;return T.flags|=67108866,P}function H(T){return $&&T.alternate===null&&(T.flags|=67108866),T}function U(T,P,O,b){if(P===null||P.tag!==6)return P=gY(O,T.mode,b),P.return=T,P._debugOwner=T,P._debugTask=T._debugTask,P._debugInfo=q0,P;return P=Z(P,O),P.return=T,P._debugInfo=q0,P}function _(T,P,O,b){var i=O.type;if(i===l6)return P=q(T,P,O.props.children,b,O.key),GX(O,P,T),P;if(P!==null&&(P.elementType===i||jH(P,O)||typeof i==="object"&&i!==null&&i.$$typeof===S$&&v2(i)===P.type))return P=Z(P,O.props),$7(P,O),P.return=T,P._debugOwner=O._owner,P._debugInfo=q0,P;return P=i8(O,T.mode,b),$7(P,O),P.return=T,P._debugInfo=q0,P}function A(T,P,O,b){if(P===null||P.tag!==4||P.stateNode.containerInfo!==O.containerInfo||P.stateNode.implementation!==O.implementation)return P=bY(O,T.mode,b),P.return=T,P._debugInfo=q0,P;return P=Z(P,O.children||[]),P.return=T,P._debugInfo=q0,P}function q(T,P,O,b,i){if(P===null||P.tag!==7)return P=S4(O,T.mode,b,i),P.return=T,P._debugOwner=T,P._debugTask=T._debugTask,P._debugInfo=q0,P;return P=Z(P,O),P.return=T,P._debugInfo=q0,P}function D(T,P,O){if(typeof P==="string"&&P!==""||typeof P==="number"||typeof P==="bigint")return P=gY(""+P,T.mode,O),P.return=T,P._debugOwner=T,P._debugTask=T._debugTask,P._debugInfo=q0,P;if(typeof P==="object"&&P!==null){switch(P.$$typeof){case g1:return O=i8(P,T.mode,O),$7(O,P),O.return=T,T=p5(P._debugInfo),O._debugInfo=q0,q0=T,O;case p6:return P=bY(P,T.mode,O),P.return=T,P._debugInfo=q0,P;case S$:var b=p5(P._debugInfo);return P=v2(P),T=D(T,P,O),q0=b,T}if(v5(P)||E0(P))return O=S4(P,T.mode,O,null),O.return=T,O._debugOwner=T,O._debugTask=T._debugTask,T=p5(P._debugInfo),O._debugInfo=q0,q0=T,O;if(typeof P.then==="function")return b=p5(P._debugInfo),T=D(T,XX(P),O),q0=b,T;if(P.$$typeof===b1)return D(T,r8(T,P),O);YX(T,P)}return typeof P==="function"&&ZX(T,P),typeof P==="symbol"&&BX(T,P),null}function I(T,P,O,b){var i=P!==null?P.key:null;if(typeof O==="string"&&O!==""||typeof O==="number"||typeof O==="bigint")return i!==null?null:U(T,P,""+O,b);if(typeof O==="object"&&O!==null){switch(O.$$typeof){case g1:return O.key===i?(i=p5(O._debugInfo),T=_(T,P,O,b),q0=i,T):null;case p6:return O.key===i?A(T,P,O,b):null;case S$:return i=p5(O._debugInfo),O=v2(O),T=I(T,P,O,b),q0=i,T}if(v5(O)||E0(O)){if(i!==null)return null;return i=p5(O._debugInfo),T=q(T,P,O,b,null),q0=i,T}if(typeof O.then==="function")return i=p5(O._debugInfo),T=I(T,P,XX(O),b),q0=i,T;if(O.$$typeof===b1)return I(T,P,r8(T,O),b);YX(T,O)}return typeof O==="function"&&ZX(T,O),typeof O==="symbol"&&BX(T,O),null}function S(T,P,O,b,i){if(typeof b==="string"&&b!==""||typeof b==="number"||typeof b==="bigint")return T=T.get(O)||null,U(P,T,""+b,i);if(typeof b==="object"&&b!==null){switch(b.$$typeof){case g1:return O=T.get(b.key===null?O:b.key)||null,T=p5(b._debugInfo),P=_(P,O,b,i),q0=T,P;case p6:return T=T.get(b.key===null?O:b.key)||null,A(P,T,b,i);case S$:var F0=p5(b._debugInfo);return b=v2(b),P=S(T,P,O,b,i),q0=F0,P}if(v5(b)||E0(b))return O=T.get(O)||null,T=p5(b._debugInfo),P=q(P,O,b,i,null),q0=T,P;if(typeof b.then==="function")return F0=p5(b._debugInfo),P=S(T,P,O,XX(b),i),q0=F0,P;if(b.$$typeof===b1)return S(T,P,O,r8(P,b),i);YX(P,b)}return typeof b==="function"&&ZX(P,b),typeof b==="symbol"&&BX(P,b),null}function c(T,P,O,b){if(typeof O!=="object"||O===null)return b;switch(O.$$typeof){case g1:case p6:M(T,P,O);var i=O.key;if(typeof i!=="string")break;if(b===null){b=new Set,b.add(i);break}if(!b.has(i)){b.add(i);break}n(P,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.",i)});break;case S$:O=v2(O),c(T,P,O,b)}return b}function a(T,P,O,b){for(var i=null,F0=null,J0=null,X0=P,P0=P=0,W5=null;X0!==null&&P0<O.length;P0++){X0.index>P0?(W5=X0,X0=null):W5=X0.sibling;var O5=I(T,X0,O[P0],b);if(O5===null){X0===null&&(X0=W5);break}i=c(T,O5,O[P0],i),$&&X0&&O5.alternate===null&&G(T,X0),P=B(O5,P,P0),J0===null?F0=O5:J0.sibling=O5,J0=O5,X0=W5}if(P0===O.length)return X(T,X0),g0&&X2(T,P0),F0;if(X0===null){for(;P0<O.length;P0++)X0=D(T,O[P0],b),X0!==null&&(i=c(T,X0,O[P0],i),P=B(X0,P,P0),J0===null?F0=X0:J0.sibling=X0,J0=X0);return g0&&X2(T,P0),F0}for(X0=Y(X0);P0<O.length;P0++)W5=S(X0,T,P0,O[P0],b),W5!==null&&(i=c(T,W5,O[P0],i),$&&W5.alternate!==null&&X0.delete(W5.key===null?P0:W5.key),P=B(W5,P,P0),J0===null?F0=W5:J0.sibling=W5,J0=W5);return $&&X0.forEach(function(V2){return G(T,V2)}),g0&&X2(T,P0),F0}function J5(T,P,O,b){if(O==null)throw Error("An iterable object provided no iterator.");for(var i=null,F0=null,J0=P,X0=P=0,P0=null,W5=null,O5=O.next();J0!==null&&!O5.done;X0++,O5=O.next()){J0.index>X0?(P0=J0,J0=null):P0=J0.sibling;var V2=I(T,J0,O5.value,b);if(V2===null){J0===null&&(J0=P0);break}W5=c(T,V2,O5.value,W5),$&&J0&&V2.alternate===null&&G(T,J0),P=B(V2,P,X0),F0===null?i=V2:F0.sibling=V2,F0=V2,J0=P0}if(O5.done)return X(T,J0),g0&&X2(T,X0),i;if(J0===null){for(;!O5.done;X0++,O5=O.next())J0=D(T,O5.value,b),J0!==null&&(W5=c(T,J0,O5.value,W5),P=B(J0,P,X0),F0===null?i=J0:F0.sibling=J0,F0=J0);return g0&&X2(T,X0),i}for(J0=Y(J0);!O5.done;X0++,O5=O.next())P0=S(J0,T,X0,O5.value,b),P0!==null&&(W5=c(T,P0,O5.value,W5),$&&P0.alternate!==null&&J0.delete(P0.key===null?X0:P0.key),P=B(P0,P,X0),F0===null?i=P0:F0.sibling=P0,F0=P0);return $&&J0.forEach(function(YM){return G(T,YM)}),g0&&X2(T,X0),i}function m0(T,P,O,b){if(typeof O==="object"&&O!==null&&O.type===l6&&O.key===null&&(GX(O,null,T),O=O.props.children),typeof O==="object"&&O!==null){switch(O.$$typeof){case g1:var i=p5(O._debugInfo);$:{for(var F0=O.key;P!==null;){if(P.key===F0){if(F0=O.type,F0===l6){if(P.tag===7){X(T,P.sibling),b=Z(P,O.props.children),b.return=T,b._debugOwner=O._owner,b._debugInfo=q0,GX(O,b,T),T=b;break $}}else if(P.elementType===F0||jH(P,O)||typeof F0==="object"&&F0!==null&&F0.$$typeof===S$&&v2(F0)===P.type){X(T,P.sibling),b=Z(P,O.props),$7(b,O),b.return=T,b._debugOwner=O._owner,b._debugInfo=q0,T=b;break $}X(T,P);break}else G(T,P);P=P.sibling}O.type===l6?(b=S4(O.props.children,T.mode,b,O.key),b.return=T,b._debugOwner=T,b._debugTask=T._debugTask,b._debugInfo=q0,GX(O,b,T),T=b):(b=i8(O,T.mode,b),$7(b,O),b.return=T,b._debugInfo=q0,T=b)}return T=H(T),q0=i,T;case p6:$:{i=O;for(O=i.key;P!==null;){if(P.key===O)if(P.tag===4&&P.stateNode.containerInfo===i.containerInfo&&P.stateNode.implementation===i.implementation){X(T,P.sibling),b=Z(P,i.children||[]),b.return=T,T=b;break $}else{X(T,P);break}else G(T,P);P=P.sibling}b=bY(i,T.mode,b),b.return=T,T=b}return H(T);case S$:return i=p5(O._debugInfo),O=v2(O),T=m0(T,P,O,b),q0=i,T}if(v5(O))return i=p5(O._debugInfo),T=a(T,P,O,b),q0=i,T;if(E0(O)){if(i=p5(O._debugInfo),F0=E0(O),typeof F0!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var J0=F0.call(O);if(J0===O){if(T.tag!==0||Object.prototype.toString.call(T.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(J0)!=="[object Generator]")BN||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."),BN=!0}else O.entries!==F0||AB||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),AB=!0);return T=J5(T,P,J0,b),q0=i,T}if(typeof O.then==="function")return i=p5(O._debugInfo),T=m0(T,P,XX(O),b),q0=i,T;if(O.$$typeof===b1)return m0(T,P,r8(T,O),b);YX(T,O)}if(typeof O==="string"&&O!==""||typeof O==="number"||typeof O==="bigint")return i=""+O,P!==null&&P.tag===6?(X(T,P.sibling),b=Z(P,i),b.return=T,T=b):(X(T,P),b=gY(i,T.mode,b),b.return=T,b._debugOwner=T,b._debugTask=T._debugTask,b._debugInfo=q0,T=b),H(T);return typeof O==="function"&&ZX(T,O),typeof O==="symbol"&&BX(T,O),X(T,P)}return function(T,P,O,b){var i=q0;q0=null;try{o7=0;var F0=m0(T,P,O,b);return WG=null,F0}catch(W5){if(W5===UG||W5===L9)throw W5;var J0=E(29,W5,null,T.mode);J0.lanes=b,J0.return=T;var X0=J0._debugInfo=q0;if(J0._debugOwner=T._debugOwner,J0._debugTask=T._debugTask,X0!=null){for(var P0=X0.length-1;0<=P0;P0--)if(typeof X0[P0].stack==="string"){J0._debugOwner=X0[P0],J0._debugTask=X0[P0].debugTask;break}}return J0}finally{q0=i}}}function Gz($,G){var X=v5($);return $=!X&&typeof E0($)==="function",X||$?(X=X?"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>",X,G,X),!1):!0}function aY($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function nY($,G){$=$.updateQueue,G.updateQueue===$&&(G.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function g2($){return{lane:$,tag:WN,payload:null,callback:null,next:null}}function b2($,G,X){var Y=$.updateQueue;if(Y===null)return null;if(Y=Y.shared,wB===Y&&!AN){var Z=p($);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.
Please update the following component: %s`,Z),AN=!0}if((h0&b5)!==u5)return Z=Y.pending,Z===null?G.next=G:(G.next=Z.next,Z.next=G),Y.pending=G,G=s8($),CH($,null,X),G;return c8($,Y,G,X),s8($)}function G7($,G,X){if(G=G.updateQueue,G!==null&&(G=G.shared,(X&4194048)!==0)){var Y=G.lanes;Y&=$.pendingLanes,X|=Y,G.lanes=X,O4($,X)}}function JX($,G){var{updateQueue:X,alternate:Y}=$;if(Y!==null&&(Y=Y.updateQueue,X===Y)){var Z=null,B=null;if(X=X.firstBaseUpdate,X!==null){do{var H={lane:X.lane,tag:X.tag,payload:X.payload,callback:null,next:null};B===null?Z=B=H:B=B.next=H,X=X.next}while(X!==null);B===null?Z=B=G:B=B.next=G}else Z=B=G;X={baseState:Y.baseState,firstBaseUpdate:Z,lastBaseUpdate:B,shared:Y.shared,callbacks:Y.callbacks},$.updateQueue=X;return}$=X.lastBaseUpdate,$===null?X.firstBaseUpdate=G:$.next=G,X.lastBaseUpdate=G}function X7(){if(QB){var $=zG;if($!==null)throw $}}function Y7($,G,X,Y){QB=!1;var Z=$.updateQueue;Y4=!1,wB=Z.shared;var{firstBaseUpdate:B,lastBaseUpdate:H}=Z,U=Z.shared.pending;if(U!==null){Z.shared.pending=null;var _=U,A=_.next;_.next=null,H===null?B=A:H.next=A,H=_;var q=$.alternate;q!==null&&(q=q.updateQueue,U=q.lastBaseUpdate,U!==H&&(U===null?q.firstBaseUpdate=A:U.next=A,q.lastBaseUpdate=_))}if(B!==null){var D=Z.baseState;H=0,q=A=_=null,U=B;do{var I=U.lane&-536870913,S=I!==U.lane;if(S?(D0&I)===I:(Y&I)===I){I!==0&&I===n4&&(QB=!0),q!==null&&(q=q.next={lane:0,tag:U.tag,payload:U.payload,callback:null,next:null});$:{I=$;var c=U,a=G,J5=X;switch(c.tag){case _N:if(c=c.payload,typeof c==="function"){JG=!0;var m0=c.call(J5,D,a);if(I.mode&t5){Z5(!0);try{c.call(J5,D,a)}finally{Z5(!1)}}JG=!1,D=m0;break $}D=c;break $;case LB:I.flags=I.flags&-65537|128;case WN:if(m0=c.payload,typeof m0==="function"){if(JG=!0,c=m0.call(J5,D,a),I.mode&t5){Z5(!0);try{m0.call(J5,D,a)}finally{Z5(!1)}}JG=!1}else c=m0;if(c===null||c===void 0)break $;D=S0({},D,c);break $;case NN:Y4=!0}}I=U.callback,I!==null&&($.flags|=64,S&&($.flags|=8192),S=Z.callbacks,S===null?Z.callbacks=[I]:S.push(I))}else S={lane:I,tag:U.tag,payload:U.payload,callback:U.callback,next:null},q===null?(A=q=S,_=D):q=q.next=S,H|=I;if(U=U.next,U===null)if(U=Z.shared.pending,U===null)break;else S=U,U=S.next,S.next=null,Z.lastBaseUpdate=S,Z.shared.pending=null}while(1);q===null&&(_=D),Z.baseState=_,Z.firstBaseUpdate=A,Z.lastBaseUpdate=q,B===null&&(Z.shared.lanes=0),J4|=H,$.lanes=H,$.memoizedState=D}wB=null}function Xz($,G){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(G)}function rw($,G){var X=$.shared.hiddenCallbacks;if(X!==null)for($.shared.hiddenCallbacks=null,$=0;$<X.length;$++)Xz(X[$],G)}function Yz($,G){var X=$.callbacks;if(X!==null)for($.callbacks=null,$=0;$<X.length;$++)Xz(X[$],G)}function Zz($,G){var X=s1;Q0(Q9,X,$),Q0(_G,G,$),s1=X|G.baseLanes}function oY($){Q0(Q9,s1,$),Q0(_G,_G.current,$)}function rY($){s1=Q9.current,T0(_G,$),T0(Q9,$)}function m2($){var G=$.alternate;Q0(V5,V5.current&NG,$),Q0(b$,$,$),o$===null&&(G===null||_G.current!==null?o$=$:G.memoizedState!==null&&(o$=$))}function tY($){Q0(V5,V5.current,$),Q0(b$,$,$),o$===null&&(o$=$)}function Bz($){$.tag===22?(Q0(V5,V5.current,$),Q0(b$,$,$),o$===null&&(o$=$)):f2($)}function f2($){Q0(V5,V5.current,$),Q0(b$,b$.current,$)}function C$($){T0(b$,$),o$===$&&(o$=null),T0(V5,$)}function HX($){for(var G=$;G!==null;){if(G.tag===13){var X=G.memoizedState;if(X!==null&&(X=X.dehydrated,X===null||_3(X)||N3(X)))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===$)break;for(;G.sibling===null;){if(G.return===null||G.return===$)return null;G=G.return}G.sibling.return=G.return,G=G.sibling}return null}function x0(){var $=k;t$===null?t$=[$]:t$.push($)}function h(){var $=k;if(t$!==null&&(M2++,t$[M2]!==$)){var G=p(K0);if(!LN.has(G)&&(LN.add(G),t$!==null)){for(var X="",Y=0;Y<=M2;Y++){var Z=t$[Y],B=Y===M2?$:Z;for(Z=Y+1+". "+Z;30>Z.length;)Z+=" ";Z+=B+`
`,X+=Z}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
Previous render Next render
------------------------------------------------------
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`,G,X)}}}function j6($){$===void 0||$===null||v5($)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",k,typeof $)}function zX(){var $=p(K0);QN.has($)||(QN.add($),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",$))}function T5(){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:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function eY($,G){if(e7)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.",k),!1;$.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.
Previous: %s
Incoming: %s`,k,"["+G.join(", ")+"]","["+$.join(", ")+"]");for(var X=0;X<G.length&&X<$.length;X++)if(!B$($[X],G[X]))return!1;return!0}function $Z($,G,X,Y,Z,B){if(K2=B,K0=G,t$=$!==null?$._debugHookTypes:null,M2=-1,e7=$!==null&&$.type!==G.type,Object.prototype.toString.call(X)==="[object AsyncFunction]"||Object.prototype.toString.call(X)==="[object AsyncGeneratorFunction]")B=p(K0),KB.has(B)||(KB.add(B),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.",B===null?"An unknown Component":"<"+B+">"));G.memoizedState=null,G.updateQueue=null,G.lanes=0,g.H=$!==null&&$.memoizedState!==null?MB:t$!==null?KN:FB,$6=B=(G.mode&t5)!==w0;var H=WB(X,Y,Z);if($6=!1,LG&&(H=GZ(G,X,Y,Z)),B){Z5(!0);try{H=GZ(G,X,Y,Z)}finally{Z5(!1)}}return Jz($,G),H}function Jz($,G){G._debugHookTypes=t$,G.dependencies===null?F2!==null&&(G.dependencies={lanes:0,firstContext:null,_debugThenableState:F2}):G.dependencies._debugThenableState=F2,g.H=$8;var X=G5!==null&&G5.next!==null;if(K2=0,t$=k=C5=G5=K0=null,M2=-1,$!==null&&($.flags&65011712)!==(G.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),F9=!1,t7=0,F2=null,X)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||j5||($=$.dependencies,$!==null&&o8($)&&(j5=!0)),n7?(n7=!1,$=!0):$=!1,$&&(G=p(G)||"Unknown",wN.has(G)||KB.has(G)||(wN.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 GZ($,G,X,Y){K0=$;var Z=0;do{if(LG&&(F2=null),t7=0,LG=!1,Z>=gF)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(Z+=1,e7=!1,C5=G5=null,$.updateQueue!=null){var B=$.updateQueue;B.lastEffect=null,B.events=null,B.stores=null,B.memoCache!=null&&(B.memoCache.index=0)}M2=-1,g.H=FN,B=WB(G,X,Y)}while(LG);return B}function tw(){var $=g.H,G=$.useState()[0];return G=typeof G.then==="function"?Z7(G):G,$=$.useState()[0],(G5!==null?G5.memoizedState:null)!==$&&(K0.flags|=1024),G}function XZ(){var $=M9!==0;return M9=0,$}function YZ($,G,X){G.updateQueue=$.updateQueue,G.flags=(G.mode&W1)!==w0?G.flags&-402655237:G.flags&-2053,$.lanes&=~X}function ZZ($){if(F9){for($=$.memoizedState;$!==null;){var G=$.queue;G!==null&&(G.pending=null),$=$.next}F9=!1}K2=0,t$=C5=G5=K0=null,M2=-1,k=null,LG=!1,t7=M9=0,F2=null}function G$(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return C5===null?K0.memoizedState=C5=$:C5=C5.next=$,C5}function a0(){if(G5===null){var $=K0.alternate;$=$!==null?$.memoizedState:null}else $=G5.next;var G=C5===null?K0.memoizedState:C5.next;if(G!==null)C5=G,G5=$;else{if($===null){if(K0.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}G5=$,$={memoizedState:G5.memoizedState,baseState:G5.baseState,baseQueue:G5.baseQueue,queue:G5.queue,next:null},C5===null?K0.memoizedState=C5=$:C5=C5.next=$}return C5}function UX(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Z7($){var G=t7;return t7+=1,F2===null&&(F2=sH()),$=aH(F2,$,G),G=K0,(C5===null?G.memoizedState:C5.next)===null&&(G=G.alternate,g.H=G!==null&&G.memoizedState!==null?MB:FB),$}function h2($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return Z7($);if($.$$typeof===b1)return _5($)}throw Error("An unsupported type was passed to use(): "+String($))}function m4($){var G=null,X=K0.updateQueue;if(X!==null&&(G=X.memoCache),G==null){var Y=K0.alternate;Y!==null&&(Y=Y.updateQueue,Y!==null&&(Y=Y.memoCache,Y!=null&&(G={data:Y.data.map(function(Z){return Z.slice()}),index:0})))}if(G==null&&(G={data:[],index:0}),X===null&&(X=UX(),K0.updateQueue=X),X.memoCache=G,X=G.data[G.index],X===void 0||e7)for(X=G.data[G.index]=Array($),Y=0;Y<$;Y++)X[Y]=AK;else X.length!==$&&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.",X.length,$);return G.index++,X}function J1($,G){return typeof G==="function"?G($):G}function BZ($,G,X){var Y=G$();if(X!==void 0){var Z=X(G);if($6){Z5(!0);try{X(G)}finally{Z5(!1)}}}else Z=G;return Y.memoizedState=Y.baseState=Z,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:Z},Y.queue=$,$=$.dispatch=YQ.bind(null,K0,$),[Y.memoizedState,$]}function x6($){var G=a0();return JZ(G,G5,$)}function JZ($,G,X){var Y=$.queue;if(Y===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Y.lastRenderedReducer=X;var Z=$.baseQueue,B=Y.pending;if(B!==null){if(Z!==null){var H=Z.next;Z.next=B.next,B.next=H}G.baseQueue!==Z&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),G.baseQueue=Z=B,Y.pending=null}if(B=$.baseState,Z===null)$.memoizedState=B;else{G=Z.next;var U=H=null,_=null,A=G,q=!1;do{var D=A.lane&-536870913;if(D!==A.lane?(D0&D)===D:(K2&D)===D){var I=A.revertLane;if(I===0)_!==null&&(_=_.next={lane:0,revertLane:0,gesture:null,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null}),D===n4&&(q=!0);else if((K2&I)===I){A=A.next,I===n4&&(q=!0);continue}else D={lane:0,revertLane:A.revertLane,gesture:null,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},_===null?(U=_=D,H=B):_=_.next=D,K0.lanes|=I,J4|=I;D=A.action,$6&&X(B,D),B=A.hasEagerState?A.eagerState:X(B,D)}else I={lane:D,revertLane:A.revertLane,gesture:A.gesture,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},_===null?(U=_=I,H=B):_=_.next=I,K0.lanes|=D,J4|=D;A=A.next}while(A!==null&&A!==G);if(_===null?H=B:_.next=U,!B$(B,$.memoizedState)&&(j5=!0,q&&(X=zG,X!==null)))throw X;$.memoizedState=B,$.baseState=H,$.baseQueue=_,Y.lastRenderedState=B}return Z===null&&(Y.lanes=0),[$.memoizedState,Y.dispatch]}function B7($){var G=a0(),X=G.queue;if(X===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");X.lastRenderedReducer=$;var{dispatch:Y,pending:Z}=X,B=G.memoizedState;if(Z!==null){X.pending=null;var H=Z=Z.next;do B=$(B,H.action),H=H.next;while(H!==Z);B$(B,G.memoizedState)||(j5=!0),G.memoizedState=B,G.baseQueue===null&&(G.baseState=B),X.lastRenderedState=B}return[B,Y]}function HZ($,G,X){var Y=K0,Z=G$();if(g0){if(X===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var B=X();AG||B===X()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),AG=!0)}else{if(B=G(),AG||(X=G(),B$(B,X)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),AG=!0)),X5===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(D0&127)!==0||Hz(Y,G,B)}return Z.memoizedState=B,X={value:B,getSnapshot:G},Z.queue=X,AX(Uz.bind(null,Y,X,$),[$]),Y.flags|=2048,k6(r$|z$,{destroy:void 0},zz.bind(null,Y,X,B,G),null),B}function WX($,G,X){var Y=K0,Z=a0(),B=g0;if(B){if(X===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");X=X()}else if(X=G(),!AG){var H=G();B$(X,H)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),AG=!0)}if(H=!B$((G5||Z).memoizedState,X))Z.memoizedState=X,j5=!0;Z=Z.queue;var U=Uz.bind(null,Y,Z,$);if(w$(2048,z$,U,[$]),Z.getSnapshot!==G||H||C5!==null&&C5.memoizedState.tag&r$){if(Y.flags|=2048,k6(r$|z$,{destroy:void 0},zz.bind(null,Y,Z,X,G),null),X5===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B||(K2&127)!==0||Hz(Y,G,X)}return X}function Hz($,G,X){$.flags|=16384,$={getSnapshot:G,value:X},G=K0.updateQueue,G===null?(G=UX(),K0.updateQueue=G,G.stores=[$]):(X=G.stores,X===null?G.stores=[$]:X.push($))}function zz($,G,X,Y){G.value=X,G.getSnapshot=Y,Wz(G)&&_z($)}function Uz($,G,X){return X(function(){Wz(G)&&(I1(2,"updateSyncExternalStore()",$),_z($))})}function Wz($){var G=$.getSnapshot;$=$.value;try{var X=G();return!B$($,X)}catch(Y){return!0}}function _z($){var G=o5($,2);G!==null&&F5(G,$,2)}function zZ($){var G=G$();if(typeof $==="function"){var X=$;if($=X(),$6){Z5(!0);try{X()}finally{Z5(!1)}}}return G.memoizedState=G.baseState=$,G.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:J1,lastRenderedState:$},G}function UZ($){$=zZ($);var G=$.queue,X=jz.bind(null,K0,G);return G.dispatch=X,[$.memoizedState,X]}function WZ($){var G=G$();G.memoizedState=G.baseState=$;var X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return G.queue=X,G=VZ.bind(null,K0,!0,X),X.dispatch=G,[$,G]}function Nz($,G){var X=a0();return Az(X,G5,$,G)}function Az($,G,X,Y){return $.baseState=X,JZ($,G5,typeof Y==="function"?Y:J1)}function Lz($,G){var X=a0();if(G5!==null)return Az(X,G5,$,G);return X.baseState=$,[$,X.queue.dispatch]}function ew($,G,X,Y,Z){if(MX($))throw Error("Cannot update form state while rendering.");if($=G.action,$!==null){var B={payload:Z,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(H){B.listeners.push(H)}};g.T!==null?X(!0):B.isTransition=!1,Y(B),X=G.pending,X===null?(B.next=G.pending=B,wz(G,B)):(B.next=X.next,G.pending=X.next=B)}}function wz($,G){var{action:X,payload:Y}=G,Z=$.state;if(G.isTransition){var B=g.T,H={};H._updatedFibers=new Set,g.T=H;try{var U=X(Z,Y),_=g.S;_!==null&&_(H,U),Qz($,G,U)}catch(A){_Z($,G,A)}finally{B!==null&&H.types!==null&&(B.types!==null&&B.types!==H.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."),B.types=H.types),g.T=B,B===null&&H._updatedFibers&&($=H._updatedFibers.size,H._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."))}}else try{H=X(Z,Y),Qz($,G,H)}catch(A){_Z($,G,A)}}function Qz($,G,X){X!==null&&typeof X==="object"&&typeof X.then==="function"?(g.asyncTransitions++,X.then(FX,FX),X.then(function(Y){Kz($,G,Y)},function(Y){return _Z($,G,Y)}),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.")):Kz($,G,X)}function Kz($,G,X){G.status="fulfilled",G.value=X,Fz(G),$.state=X,G=$.pending,G!==null&&(X=G.next,X===G?$.pending=null:(X=X.next,G.next=X,wz($,X)))}function _Z($,G,X){var Y=$.pending;if($.pending=null,Y!==null){Y=Y.next;do G.status="rejected",G.reason=X,Fz(G),G=G.next;while(G!==Y)}$.action=null}function Fz($){$=$.listeners;for(var G=0;G<$.length;G++)(0,$[G])()}function Mz($,G){return G}function S6($,G){if(g0){var X=X5.formState;if(X!==null){$:{var Y=K0;if(g0){if(U5){G:{var Z=U5;for(var B=a$;Z.nodeType!==8;){if(!B){Z=null;break G}if(Z=x$(Z.nextSibling),Z===null){Z=null;break G}}B=Z.data,Z=B===uB||B===YA?Z:null}if(Z){U5=x$(Z.nextSibling),Y=Z.data===uB;break $}}S2(Y)}Y=!1}Y&&(G=X[0])}}return X=G$(),X.memoizedState=X.baseState=G,Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mz,lastRenderedState:G},X.queue=Y,X=jz.bind(null,K0,Y),Y.dispatch=X,Y=zZ(!1),B=VZ.bind(null,K0,!1,Y.queue),Y=G$(),Z={state:G,dispatch:null,action:$,pending:null},Y.queue=Z,X=ew.bind(null,K0,Z,B,X),Z.dispatch=X,Y.memoizedState=$,[G,X,!1]}function _X($){var G=a0();return Rz(G,G5,$)}function Rz($,G,X){if(G=JZ($,G,Mz)[0],$=x6(J1)[0],typeof G==="object"&&G!==null&&typeof G.then==="function")try{var Y=Z7(G)}catch(H){if(H===UG)throw L9;throw H}else Y=G;G=a0();var Z=G.queue,B=Z.dispatch;return X!==G.memoizedState&&(K0.flags|=2048,k6(r$|z$,{destroy:void 0},$Q.bind(null,Z,X),null)),[Y,B,$]}function $Q($,G){$.action=G}function NX($){var G=a0(),X=G5;if(X!==null)return Rz(G,X,$);a0(),G=G.memoizedState,X=a0();var Y=X.queue.dispatch;return X.memoizedState=$,[G,Y,!1]}function k6($,G,X,Y){return $={tag:$,create:X,deps:Y,inst:G,next:null},G=K0.updateQueue,G===null&&(G=UX(),K0.updateQueue=G),X=G.lastEffect,X===null?G.lastEffect=$.next=$:(Y=X.next,X.next=$,$.next=Y,G.lastEffect=$),$}function NZ($){var G=G$();return $={current:$},G.memoizedState=$}function f4($,G,X,Y){var Z=G$();K0.flags|=$,Z.memoizedState=k6(r$|G,{destroy:void 0},X,Y===void 0?null:Y)}function w$($,G,X,Y){var Z=a0();Y=Y===void 0?null:Y;var B=Z.memoizedState.inst;G5!==null&&Y!==null&&eY(Y,G5.memoizedState.deps)?Z.memoizedState=k6(G,B,X,Y):(K0.flags|=$,Z.memoizedState=k6(r$|G,B,X,Y))}function AX($,G){(K0.mode&W1)!==w0?f4(276826112,z$,$,G):f4(8390656,z$,$,G)}function GQ($){K0.flags|=4;var G=K0.updateQueue;if(G===null)G=UX(),K0.updateQueue=G,G.events=[$];else{var X=G.events;X===null?G.events=[$]:X.push($)}}function AZ($){var G=G$(),X={impl:$};return G.memoizedState=X,function(){if((h0&b5)!==u5)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function LX($){var G=a0().memoizedState;return GQ({ref:G,nextImpl:$}),function(){if((h0&b5)!==u5)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return G.impl.apply(void 0,arguments)}}function LZ($,G){var X=4194308;return(K0.mode&W1)!==w0&&(X|=134217728),f4(X,m$,$,G)}function Tz($,G){if(typeof G==="function"){$=$();var X=G($);return function(){typeof X==="function"?X():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(", ")+"}"),$=$(),G.current=$,function(){G.current=null}}function wZ($,G,X){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"),X=X!==null&&X!==void 0?X.concat([$]):null;var Y=4194308;(K0.mode&W1)!==w0&&(Y|=134217728),f4(Y,m$,Tz.bind(null,G,$),X)}function wX($,G,X){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"),X=X!==null&&X!==void 0?X.concat([$]):null,w$(4,m$,Tz.bind(null,G,$),X)}function QZ($,G){return G$().memoizedState=[$,G===void 0?null:G],$}function QX($,G){var X=a0();G=G===void 0?null:G;var Y=X.memoizedState;if(G!==null&&eY(G,Y[1]))return Y[0];return X.memoizedState=[$,G],$}function KZ($,G){var X=G$();G=G===void 0?null:G;var Y=$();if($6){Z5(!0);try{$()}finally{Z5(!1)}}return X.memoizedState=[Y,G],Y}function KX($,G){var X=a0();G=G===void 0?null:G;var Y=X.memoizedState;if(G!==null&&eY(G,Y[1]))return Y[0];if(Y=$(),$6){Z5(!0);try{$()}finally{Z5(!1)}}return X.memoizedState=[Y,G],Y}function FZ($,G){var X=G$();return MZ(X,$,G)}function Iz($,G){var X=a0();return Vz(X,G5.memoizedState,$,G)}function Pz($,G){var X=a0();return G5===null?MZ(X,$,G):Vz(X,G5.memoizedState,$,G)}function MZ($,G,X){if(X===void 0||(K2&1073741824)!==0&&(D0&261930)===0)return $.memoizedState=G;return $.memoizedState=X,$=OU(),K0.lanes|=$,J4|=$,X}function Vz($,G,X,Y){if(B$(X,G))return X;if(_G.current!==null)return $=MZ($,X,Y),B$($,G)||(j5=!0),$;if((K2&42)===0||(K2&1073741824)!==0&&(D0&261930)===0)return j5=!0,$.memoizedState=X;return $=OU(),K0.lanes|=$,J4|=$,G}function FX(){g.asyncTransitions--}function Oz($,G,X,Y,Z){var B=s0.p;s0.p=B!==0&&B<U1?B:U1;var H=g.T,U={};U._updatedFibers=new Set,g.T=U,VZ($,!1,G,X);try{var _=Z(),A=g.S;if(A!==null&&A(U,_),_!==null&&typeof _==="object"&&typeof _.then==="function"){g.asyncTransitions++,_.then(FX,FX);var q=ow(_,Y);J7($,G,q,j$($))}else J7($,G,Y,j$($))}catch(D){J7($,G,{then:function(){},status:"rejected",reason:D},j$($))}finally{s0.p=B,H!==null&&U.types!==null&&(H.types!==null&&H.types!==U.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."),H.types=U.types),g.T=H,H===null&&U._updatedFibers&&($=U._updatedFibers.size,U._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."))}}function RZ($,G,X,Y){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var Z=qz($).queue;aw($),Oz($,Z,G,_6,X===null?x:function(){return Dz($),X(Y)})}function qz($){var G=$.memoizedState;if(G!==null)return G;G={memoizedState:_6,baseState:_6,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:J1,lastRenderedState:_6},next:null};var X={};return G.next={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:J1,lastRenderedState:X},next:null},$.memoizedState=G,$=$.alternate,$!==null&&($.memoizedState=G),G}function Dz($){g.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var G=qz($);G.next===null&&(G=$.alternate.memoizedState),J7($,G.next.queue,{},j$($))}function TZ(){var $=zZ(!1);return $=Oz.bind(null,K0,$.queue,!0,!1),G$().memoizedState=$,[!1,$]}function Ez(){var $=x6(J1)[0],G=a0().memoizedState;return[typeof $==="boolean"?$:Z7($),G]}function Cz(){var $=B7(J1)[0],G=a0().memoizedState;return[typeof $==="boolean"?$:Z7($),G]}function h4(){return _5(w8)}function IZ(){var $=G$(),G=X5.identifierPrefix;if(g0){var X=N2,Y=_2;X=(Y&~(1<<32-X$(Y)-1)).toString(32)+X,G="_"+G+"R_"+X,X=M9++,0<X&&(G+="H"+X.toString(32)),G+="_"}else X=vF++,G="_"+G+"r_"+X.toString(32)+"_";return $.memoizedState=G}function PZ(){return G$().memoizedState=XQ.bind(null,K0)}function XQ($,G){for(var X=$.return;X!==null;){switch(X.tag){case 24:case 3:var Y=j$(X),Z=g2(Y),B=b2(X,Z,Y);B!==null&&(I1(Y,"refresh()",$),F5(B,X,Y),G7(B,X,Y)),$=pY(),G!==null&&G!==void 0&&B!==null&&console.error("The seed argument is not enabled outside experimental channels."),Z.payload={cache:$};return}X=X.return}}function YQ($,G,X){var Y=arguments;typeof Y[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()."),Y=j$($);var Z={lane:Y,revertLane:0,gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null};MX($)?xz(G,Z):(Z=xY($,G,Z,Y),Z!==null&&(I1(Y,"dispatch()",$),F5(Z,$,Y),Sz(Z,G,Y)))}function jz($,G,X){var Y=arguments;typeof Y[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()."),Y=j$($),J7($,G,X,Y)&&I1(Y,"setState()",$)}function J7($,G,X,Y){var Z={lane:Y,revertLane:0,gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null};if(MX($))xz(G,Z);else{var B=$.alternate;if($.lanes===0&&(B===null||B.lanes===0)&&(B=G.lastRenderedReducer,B!==null)){var H=g.H;g.H=N1;try{var U=G.lastRenderedState,_=B(U,X);if(Z.hasEagerState=!0,Z.eagerState=_,B$(_,U))return c8($,G,Z,0),X5===null&&l8(),!1}catch(A){}finally{g.H=H}}if(X=xY($,G,Z,Y),X!==null)return F5(X,$,Y),Sz(X,G,Y),!0}return!1}function VZ($,G,X,Y){if(g.T===null&&n4===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."),Y={lane:2,revertLane:$3(),gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null},MX($)){if(G)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else G=xY($,X,Y,2),G!==null&&(I1(2,"setOptimistic()",$),F5(G,$,2))}function MX($){var G=$.alternate;return $===K0||G!==null&&G===K0}function xz($,G){LG=F9=!0;var X=$.pending;X===null?G.next=G:(G.next=X.next,X.next=G),$.pending=G}function Sz($,G,X){if((X&4194048)!==0){var Y=G.lanes;Y&=$.pendingLanes,X|=Y,G.lanes=X,O4($,X)}}function OZ($){if($!==null&&typeof $!=="function"){var G=String($);CN.has(G)||(CN.add(G),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function qZ($,G,X,Y){var Z=$.memoizedState,B=X(Y,Z);if($.mode&t5){Z5(!0);try{B=X(Y,Z)}finally{Z5(!1)}}B===void 0&&(G=t(G)||"Component",ON.has(G)||(ON.add(G),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",G))),Z=B===null||B===void 0?Z:S0({},Z,B),$.memoizedState=Z,$.lanes===0&&($.updateQueue.baseState=Z)}function kz($,G,X,Y,Z,B,H){var U=$.stateNode;if(typeof U.shouldComponentUpdate==="function"){if(X=U.shouldComponentUpdate(Y,B,H),$.mode&t5){Z5(!0);try{X=U.shouldComponentUpdate(Y,B,H)}finally{Z5(!1)}}return X===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",t(G)||"Component"),X}return G.prototype&&G.prototype.isPureReactComponent?!aG(X,Y)||!aG(Z,B):!0}function vz($,G,X,Y){var Z=G.state;typeof G.componentWillReceiveProps==="function"&&G.componentWillReceiveProps(X,Y),typeof G.UNSAFE_componentWillReceiveProps==="function"&&G.UNSAFE_componentWillReceiveProps(X,Y),G.state!==Z&&($=p($)||"Component",RN.has($)||(RN.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),RB.enqueueReplaceState(G,G.state,null))}function y4($,G){var X=G;if("ref"in G){X={};for(var Y in G)Y!=="ref"&&(X[Y]=G[Y])}if($=$.defaultProps){X===G&&(X=S0({},X));for(var Z in $)X[Z]===void 0&&(X[Z]=$[Z])}return X}function gz($){r3($),console.warn(`%s
%s
`,wG?"An error occurred in the <"+wG+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function bz($){var G=wG?"The above error occurred in the <"+wG+"> component.":"The above error occurred in one of your React components.",X="React will try to recreate this component tree from scratch using the error boundary you provided, "+((TB||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var Y=$.environmentName;$=[`%o
%s
%s
`,$,G,X].slice(0),typeof $[0]==="string"?$.splice(0,1,_A+" "+$[0],NA,l9+Y+l9,AA):$.splice(0,0,_A,NA,l9+Y+l9,AA),$.unshift(console),Y=GM.apply(console.error,$),Y()}else console.error(`%o
%s
%s
`,$,G,X)}function mz($){r3($)}function RX($,G){try{wG=G.source?p(G.source):null,TB=null;var X=G.value;if(g.actQueue!==null)g.thrownErrors.push(X);else{var Y=$.onUncaughtError;Y(X,{componentStack:G.stack})}}catch(Z){setTimeout(function(){throw Z})}}function fz($,G,X){try{wG=X.source?p(X.source):null,TB=p(G);var Y=$.onCaughtError;Y(X.value,{componentStack:X.stack,errorBoundary:G.tag===1?G.stateNode:null})}catch(Z){setTimeout(function(){throw Z})}}function DZ($,G,X){return X=g2(X),X.tag=LB,X.payload={element:null},X.callback=function(){n(G.source,RX,$,G)},X}function EZ($){return $=g2($),$.tag=LB,$}function CZ($,G,X,Y){var Z=X.type.getDerivedStateFromError;if(typeof Z==="function"){var B=Y.value;$.payload=function(){return Z(B)},$.callback=function(){xH(X),n(Y.source,fz,G,X,Y)}}var H=X.stateNode;H!==null&&typeof H.componentDidCatch==="function"&&($.callback=function(){xH(X),n(Y.source,fz,G,X,Y),typeof Z!=="function"&&(z4===null?z4=new Set([this]):z4.add(this)),jF(this,Y),typeof Z==="function"||(X.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.",p(X)||"Unknown")})}function ZQ($,G,X,Y,Z){if(X.flags|=32768,h1&&L7($,Z),Y!==null&&typeof Y==="object"&&typeof Y.then==="function"){if(G=X.alternate,G!==null&&C6(G,X,Z,!0),g0&&(u1=!0),X=b$.current,X!==null){switch(X.tag){case 31:case 13:return o$===null?CX():X.alternate===null&&Q5===T2&&(Q5=I9),X.flags&=-257,X.flags|=65536,X.lanes=Z,Y===w9?X.flags|=16384:(G=X.updateQueue,G===null?X.updateQueue=new Set([Y]):G.add(Y),oZ($,Y,Z)),!1;case 22:return X.flags|=65536,Y===w9?X.flags|=16384:(G=X.updateQueue,G===null?(G={transitions:null,markerInstances:null,retryQueue:new Set([Y])},X.updateQueue=G):(X=G.retryQueue,X===null?G.retryQueue=new Set([Y]):X.add(Y)),oZ($,Y,Z)),!1}throw Error("Unexpected Suspense handler tag ("+X.tag+"). This is a bug in React.")}return oZ($,Y,Z),CX(),!1}if(g0)return u1=!0,G=b$.current,G!==null?((G.flags&65536)===0&&(G.flags|=256),G.flags|=65536,G.lanes=Z,Y!==YB&&oG(q$(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:Y}),X))):(Y!==YB&&oG(q$(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:Y}),X)),$=$.current.alternate,$.flags|=65536,Z&=-Z,$.lanes|=Z,Y=q$(Y,X),Z=DZ($.stateNode,Y,Z),JX($,Z),Q5!==Z4&&(Q5=G6)),!1;var B=q$(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:Y}),X);if(J8===null?J8=[B]:J8.push(B),Q5!==Z4&&(Q5=G6),G===null)return!0;Y=q$(Y,X),X=G;do{switch(X.tag){case 3:return X.flags|=65536,$=Z&-Z,X.lanes|=$,$=DZ(X.stateNode,Y,$),JX(X,$),!1;case 1:if(G=X.type,B=X.stateNode,(X.flags&128)===0&&(typeof G.getDerivedStateFromError==="function"||B!==null&&typeof B.componentDidCatch==="function"&&(z4===null||!z4.has(B))))return X.flags|=65536,Z&=-Z,X.lanes|=Z,Z=EZ(Z),CZ(Z,$,X,Y),JX(X,Z),!1}X=X.return}while(X!==null);return!1}function l5($,G,X,Y){G.child=$===null?UN(G,null,X,Y):e4(G,$.child,X,Y)}function hz($,G,X,Y,Z){X=X.render;var B=G.ref;if("ref"in Y){var H={};for(var U in Y)U!=="ref"&&(H[U]=Y[U])}else H=Y;if(g4(G),Y=$Z($,G,X,H,B,Z),U=XZ(),$!==null&&!j5)return YZ($,G,Z),B2($,G,Z);return g0&&U&&mY(G),G.flags|=1,l5($,G,Y,Z),G.child}function yz($,G,X,Y,Z){if($===null){var B=X.type;if(typeof B==="function"&&!kY(B)&&B.defaultProps===void 0&&X.compare===null)return X=x4(B),G.tag=15,G.type=X,xZ(G,B),dz($,G,X,Y,Z);return $=vY(X.type,null,Y,G,G.mode,Z),$.ref=G.ref,$.return=G,G.child=$}if(B=$.child,!mZ($,Z)){var H=B.memoizedProps;if(X=X.compare,X=X!==null?X:aG,X(H,Y)&&$.ref===G.ref)return B2($,G,Z)}return G.flags|=1,$=G2(B,Y),$.ref=G.ref,$.return=G,G.child=$}function dz($,G,X,Y,Z){if($!==null){var B=$.memoizedProps;if(aG(B,Y)&&$.ref===G.ref&&G.type===$.type)if(j5=!1,G.pendingProps=Y=B,mZ($,Z))($.flags&131072)!==0&&(j5=!0);else return G.lanes=$.lanes,B2($,G,Z)}return jZ($,G,X,Y,Z)}function uz($,G,X,Y){var Z=Y.children,B=$!==null?$.memoizedState:null;if($===null&&G.stateNode===null&&(G.stateNode={_visibility:g7,_pendingMarkers:null,_retryCache:null,_transitions:null}),Y.mode==="hidden"){if((G.flags&128)!==0){if(B=B!==null?B.baseLanes|X:X,$!==null){Y=G.child=$.child;for(Z=0;Y!==null;)Z=Z|Y.lanes|Y.childLanes,Y=Y.sibling;Y=Z&~B}else Y=0,G.child=null;return pz($,G,B,X,Y)}if((X&536870912)!==0)G.memoizedState={baseLanes:0,cachePool:null},$!==null&&$X(G,B!==null?B.cachePool:null),B!==null?Zz(G,B):oY(G),Bz(G);else return Y=G.lanes=536870912,pz($,G,B!==null?B.baseLanes|X:X,X,Y)}else B!==null?($X(G,B.cachePool),Zz(G,B),f2(G),G.memoizedState=null):($!==null&&$X(G,null),oY(G),f2(G));return l5($,G,Z,X),G.child}function H7($,G){return $!==null&&$.tag===22||G.stateNode!==null||(G.stateNode={_visibility:g7,_pendingMarkers:null,_retryCache:null,_transitions:null}),G.sibling}function pz($,G,X,Y,Z){var B=sY();return B=B===null?null:{parent:D5._currentValue,pool:B},G.memoizedState={baseLanes:X,cachePool:B},$!==null&&$X(G,null),oY(G),Bz(G),$!==null&&C6($,G,Y,!0),G.childLanes=Z,null}function TX($,G){var X=G.hidden;return X!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
- <Activity %s>
+ <Activity %s>`,X===!0?"hidden":X===!1?"hidden={false}":"hidden={...}",X?'mode="hidden"':'mode="visible"'),G=PX({mode:G.mode,children:G.children},$.mode),G.ref=$.ref,$.child=G,G.return=$,G}function lz($,G,X){return e4(G,$.child,null,X),$=TX(G,G.pendingProps),$.flags|=2,C$(G),G.memoizedState=null,$}function BQ($,G,X){var Y=G.pendingProps,Z=(G.flags&128)!==0;if(G.flags&=-129,$===null){if(g0){if(Y.mode==="hidden")return $=TX(G,Y),G.lanes=536870912,H7(null,$);if(tY(G),($=U5)?(X=wW($,a$),X=X!==null&&X.data===H6?X:null,X!==null&&(Y={dehydrated:X,treeContext:bH(),retryLane:536870912,hydrationErrors:null},G.memoizedState=Y,Y=vH(X),Y.return=G,G.child=Y,i5=G,U5=null)):X=null,X===null)throw a8(G,$),S2(G);return G.lanes=536870912,null}return TX(G,Y)}var B=$.memoizedState;if(B!==null){var H=B.dehydrated;if(tY(G),Z)if(G.flags&256)G.flags&=-257,G=lz($,G,X);else if(G.memoizedState!==null)G.child=$.child,G.flags|=128,G=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(fH(),(X&536870912)!==0&&EX(G),j5||C6($,G,X,!1),Z=(X&$.childLanes)!==0,j5||Z){if(Y=X5,Y!==null&&(H=q4(Y,X),H!==0&&H!==B.retryLane))throw B.retryLane=H,o5($,H),F5(Y,$,H),IB;CX(),G=lz($,G,X)}else $=B.treeContext,U5=x$(H.nextSibling),i5=G,g0=!0,r2=null,u1=!1,g$=null,a$=!1,$!==null&&mH(G,$),G=TX(G,Y),G.flags|=4096;return G}return B=$.child,Y={mode:Y.mode,children:Y.children},(X&536870912)!==0&&(X&$.lanes)!==0&&EX(G),$=G2(B,Y),$.ref=G.ref,G.child=$,$.return=G,$}function IX($,G){var X=G.ref;if(X===null)$!==null&&$.ref!==null&&(G.flags|=4194816);else{if(typeof X!=="function"&&typeof X!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if($===null||$.ref!==X)G.flags|=4194816}}function jZ($,G,X,Y,Z){if(X.prototype&&typeof X.prototype.render==="function"){var B=t(X)||"Unknown";jN[B]||(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.",B,B),jN[B]=!0)}if(G.mode&t5&&_1.recordLegacyContextWarning(G,null),$===null&&(xZ(G,G.type),X.contextTypes&&(B=t(X)||"Unknown",SN[B]||(SN[B]=!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)",B)))),g4(G),X=$Z($,G,X,Y,void 0,Z),Y=XZ(),$!==null&&!j5)return YZ($,G,Z),B2($,G,Z);return g0&&Y&&mY(G),G.flags|=1,l5($,G,X,Z),G.child}function cz($,G,X,Y,Z,B){if(g4(G),M2=-1,e7=$!==null&&$.type!==G.type,G.updateQueue=null,X=GZ(G,Y,X,Z),Jz($,G),Y=XZ(),$!==null&&!j5)return YZ($,G,B),B2($,G,B);return g0&&Y&&mY(G),G.flags|=1,l5($,G,X,B),G.child}function sz($,G,X,Y,Z){switch(R(G)){case!1:var B=G.stateNode,H=new G.type(G.memoizedProps,B.context).state;B.updater.enqueueSetState(B,H,null);break;case!0:G.flags|=128,G.flags|=65536,B=Error("Simulated error coming from DevTools");var U=Z&-Z;if(G.lanes|=U,H=X5,H===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");U=EZ(U),CZ(U,H,G,q$(B,G)),JX(G,U)}if(g4(G),G.stateNode===null){if(H=o2,B=X.contextType,"contextType"in X&&B!==null&&(B===void 0||B.$$typeof!==b1)&&!EN.has(X)&&(EN.add(X),U=B===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 B!=="object"?" However, it is set to a "+typeof B+".":B.$$typeof===P3?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(B).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",t(X)||"Component",U)),typeof B==="object"&&B!==null&&(H=_5(B)),B=new X(Y,H),G.mode&t5){Z5(!0);try{B=new X(Y,H)}finally{Z5(!1)}}if(H=G.memoizedState=B.state!==null&&B.state!==void 0?B.state:null,B.updater=RB,G.stateNode=B,B._reactInternals=G,B._reactInternalInstance=MN,typeof X.getDerivedStateFromProps==="function"&&H===null&&(H=t(X)||"Component",TN.has(H)||(TN.add(H),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.",H,B.state===null?"null":"undefined",H))),typeof X.getDerivedStateFromProps==="function"||typeof B.getSnapshotBeforeUpdate==="function"){var _=U=H=null;if(typeof B.componentWillMount==="function"&&B.componentWillMount.__suppressDeprecationWarning!==!0?H="componentWillMount":typeof B.UNSAFE_componentWillMount==="function"&&(H="UNSAFE_componentWillMount"),typeof B.componentWillReceiveProps==="function"&&B.componentWillReceiveProps.__suppressDeprecationWarning!==!0?U="componentWillReceiveProps":typeof B.UNSAFE_componentWillReceiveProps==="function"&&(U="UNSAFE_componentWillReceiveProps"),typeof B.componentWillUpdate==="function"&&B.componentWillUpdate.__suppressDeprecationWarning!==!0?_="componentWillUpdate":typeof B.UNSAFE_componentWillUpdate==="function"&&(_="UNSAFE_componentWillUpdate"),H!==null||U!==null||_!==null){B=t(X)||"Component";var A=typeof X.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";PN.has(B)||(PN.add(B),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
%s uses %s but also contains the following legacy lifecycles:%s%s%s
The above lifecycles should be removed. Learn more about this warning here:
https://react.dev/link/unsafe-component-lifecycles`,B,A,H!==null?`
`+H:"",U!==null?`
`+U:"",_!==null?`
`+_:""))}}B=G.stateNode,H=t(X)||"Component",B.render||(X.prototype&&typeof X.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",H):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",H)),!B.getInitialState||B.getInitialState.isReactClassApproved||B.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?",H),B.getDefaultProps&&!B.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.",H),B.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",H),X.childContextTypes&&!DN.has(X)&&(DN.add(X),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",H)),X.contextTypes&&!qN.has(X)&&(qN.add(X),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)",H)),typeof B.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.",H),X.prototype&&X.prototype.isPureReactComponent&&typeof B.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.",t(X)||"A pure component"),typeof B.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",H),typeof B.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().",H),typeof B.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",H),typeof B.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",H),U=B.props!==Y,B.props!==void 0&&U&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",H),B.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.",H,H),typeof B.getSnapshotBeforeUpdate!=="function"||typeof B.componentDidUpdate==="function"||IN.has(X)||(IN.add(X),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",t(X))),typeof B.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",H),typeof B.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",H),typeof X.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",H),(U=B.state)&&(typeof U!=="object"||v5(U))&&console.error("%s.state: must be set to an object or null",H),typeof B.getChildContext==="function"&&typeof X.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",H),B=G.stateNode,B.props=Y,B.state=G.memoizedState,B.refs={},aY(G),H=X.contextType,B.context=typeof H==="object"&&H!==null?_5(H):o2,B.state===Y&&(H=t(X)||"Component",VN.has(H)||(VN.add(H),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.",H))),G.mode&t5&&_1.recordLegacyContextWarning(G,B),_1.recordUnsafeLifecycleWarnings(G,B),B.state=G.memoizedState,H=X.getDerivedStateFromProps,typeof H==="function"&&(qZ(G,X,H,Y),B.state=G.memoizedState),typeof X.getDerivedStateFromProps==="function"||typeof B.getSnapshotBeforeUpdate==="function"||typeof B.UNSAFE_componentWillMount!=="function"&&typeof B.componentWillMount!=="function"||(H=B.state,typeof B.componentWillMount==="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount==="function"&&B.UNSAFE_componentWillMount(),H!==B.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",p(G)||"Component"),RB.enqueueReplaceState(B,B.state,null)),Y7(G,Y,B,Z),X7(),B.state=G.memoizedState),typeof B.componentDidMount==="function"&&(G.flags|=4194308),(G.mode&W1)!==w0&&(G.flags|=134217728),B=!0}else if($===null){B=G.stateNode;var q=G.memoizedProps;U=y4(X,q),B.props=U;var D=B.context;_=X.contextType,H=o2,typeof _==="object"&&_!==null&&(H=_5(_)),A=X.getDerivedStateFromProps,_=typeof A==="function"||typeof B.getSnapshotBeforeUpdate==="function",q=G.pendingProps!==q,_||typeof B.UNSAFE_componentWillReceiveProps!=="function"&&typeof B.componentWillReceiveProps!=="function"||(q||D!==H)&&vz(G,B,Y,H),Y4=!1;var I=G.memoizedState;B.state=I,Y7(G,Y,B,Z),X7(),D=G.memoizedState,q||I!==D||Y4?(typeof A==="function"&&(qZ(G,X,A,Y),D=G.memoizedState),(U=Y4||kz(G,X,U,Y,I,D,H))?(_||typeof B.UNSAFE_componentWillMount!=="function"&&typeof B.componentWillMount!=="function"||(typeof B.componentWillMount==="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount==="function"&&B.UNSAFE_componentWillMount()),typeof B.componentDidMount==="function"&&(G.flags|=4194308),(G.mode&W1)!==w0&&(G.flags|=134217728)):(typeof B.componentDidMount==="function"&&(G.flags|=4194308),(G.mode&W1)!==w0&&(G.flags|=134217728),G.memoizedProps=Y,G.memoizedState=D),B.props=Y,B.state=D,B.context=H,B=U):(typeof B.componentDidMount==="function"&&(G.flags|=4194308),(G.mode&W1)!==w0&&(G.flags|=134217728),B=!1)}else{B=G.stateNode,nY($,G),H=G.memoizedProps,_=y4(X,H),B.props=_,A=G.pendingProps,I=B.context,D=X.contextType,U=o2,typeof D==="object"&&D!==null&&(U=_5(D)),q=X.getDerivedStateFromProps,(D=typeof q==="function"||typeof B.getSnapshotBeforeUpdate==="function")||typeof B.UNSAFE_componentWillReceiveProps!=="function"&&typeof B.componentWillReceiveProps!=="function"||(H!==A||I!==U)&&vz(G,B,Y,U),Y4=!1,I=G.memoizedState,B.state=I,Y7(G,Y,B,Z),X7();var S=G.memoizedState;H!==A||I!==S||Y4||$!==null&&$.dependencies!==null&&o8($.dependencies)?(typeof q==="function"&&(qZ(G,X,q,Y),S=G.memoizedState),(_=Y4||kz(G,X,_,Y,I,S,U)||$!==null&&$.dependencies!==null&&o8($.dependencies))?(D||typeof B.UNSAFE_componentWillUpdate!=="function"&&typeof B.componentWillUpdate!=="function"||(typeof B.componentWillUpdate==="function"&&B.componentWillUpdate(Y,S,U),typeof B.UNSAFE_componentWillUpdate==="function"&&B.UNSAFE_componentWillUpdate(Y,S,U)),typeof B.componentDidUpdate==="function"&&(G.flags|=4),typeof B.getSnapshotBeforeUpdate==="function"&&(G.flags|=1024)):(typeof B.componentDidUpdate!=="function"||H===$.memoizedProps&&I===$.memoizedState||(G.flags|=4),typeof B.getSnapshotBeforeUpdate!=="function"||H===$.memoizedProps&&I===$.memoizedState||(G.flags|=1024),G.memoizedProps=Y,G.memoizedState=S),B.props=Y,B.state=S,B.context=U,B=_):(typeof B.componentDidUpdate!=="function"||H===$.memoizedProps&&I===$.memoizedState||(G.flags|=4),typeof B.getSnapshotBeforeUpdate!=="function"||H===$.memoizedProps&&I===$.memoizedState||(G.flags|=1024),B=!1)}if(U=B,IX($,G),H=(G.flags&128)!==0,U||H){if(U=G.stateNode,T6(G),H&&typeof X.getDerivedStateFromError!=="function")X=null,J$=-1;else if(X=n_(U),G.mode&t5){Z5(!0);try{n_(U)}finally{Z5(!1)}}G.flags|=1,$!==null&&H?(G.child=e4(G,$.child,null,Z),G.child=e4(G,null,X,Z)):l5($,G,X,Z),G.memoizedState=U.state,$=G.child}else $=B2($,G,Z);return Z=G.stateNode,B&&Z.props!==Y&&(QG||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",p(G)||"a component"),QG=!0),$}function iz($,G,X,Y){return v4(),G.flags|=256,l5($,G,X,Y),G.child}function xZ($,G){G&&G.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
%s.childContextTypes = ...`,G.displayName||G.name||"Component"),typeof G.getDerivedStateFromProps==="function"&&($=t(G)||"Unknown",kN[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),kN[$]=!0)),typeof G.contextType==="object"&&G.contextType!==null&&(G=t(G)||"Unknown",xN[G]||(console.error("%s: Function components do not support contextType.",G),xN[G]=!0))}function SZ($){return{baseLanes:$,cachePool:cH()}}function kZ($,G,X){return $=$!==null?$.childLanes&~X:0,G&&($|=R$),$}function az($,G,X){var Y,Z=G.pendingProps;Q(G)&&(G.flags|=128);var B=!1,H=(G.flags&128)!==0;if((Y=H)||(Y=$!==null&&$.memoizedState===null?!1:(V5.current&r7)!==0),Y&&(B=!0,G.flags&=-129),Y=(G.flags&32)!==0,G.flags&=-33,$===null){if(g0){if(B?m2(G):f2(G),($=U5)?(X=wW($,a$),X=X!==null&&X.data!==H6?X:null,X!==null&&(Y={dehydrated:X,treeContext:bH(),retryLane:536870912,hydrationErrors:null},G.memoizedState=Y,Y=vH(X),Y.return=G,G.child=Y,i5=G,U5=null)):X=null,X===null)throw a8(G,$),S2(G);return N3(X)?G.lanes=32:G.lanes=536870912,null}var U=Z.children;if(Z=Z.fallback,B){f2(G);var _=G.mode;return U=PX({mode:"hidden",children:U},_),Z=S4(Z,_,X,null),U.return=G,Z.return=G,U.sibling=Z,G.child=U,Z=G.child,Z.memoizedState=SZ(X),Z.childLanes=kZ($,Y,X),G.memoizedState=PB,H7(null,Z)}return m2(G),vZ(G,U)}var A=$.memoizedState;if(A!==null){var q=A.dehydrated;if(q!==null){if(H)G.flags&256?(m2(G),G.flags&=-257,G=gZ($,G,X)):G.memoizedState!==null?(f2(G),G.child=$.child,G.flags|=128,G=null):(f2(G),U=Z.fallback,_=G.mode,Z=PX({mode:"visible",children:Z.children},_),U=S4(U,_,X,null),U.flags|=2,Z.return=G,U.return=G,Z.sibling=U,G.child=Z,e4(G,$.child,null,X),Z=G.child,Z.memoizedState=SZ(X),Z.childLanes=kZ($,Y,X),G.memoizedState=PB,G=H7(null,Z));else if(m2(G),fH(),(X&536870912)!==0&&EX(G),N3(q)){if(Y=q.nextSibling&&q.nextSibling.dataset,Y){U=Y.dgst;var D=Y.msg;_=Y.stck;var I=Y.cstck}B=D,Y=U,Z=_,q=I,U=B,_=q,U=U?Error(U):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),U.stack=Z||"",U.digest=Y,Y=_===void 0?null:_,Z={value:U,source:null,stack:Y},typeof Y==="string"&&XB.set(U,Z),oG(Z),G=gZ($,G,X)}else if(j5||C6($,G,X,!1),Y=(X&$.childLanes)!==0,j5||Y){if(Y=X5,Y!==null&&(Z=q4(Y,X),Z!==0&&Z!==A.retryLane))throw A.retryLane=Z,o5($,Z),F5(Y,$,Z),IB;_3(q)||CX(),G=gZ($,G,X)}else _3(q)?(G.flags|=192,G.child=$.child,G=null):($=A.treeContext,U5=x$(q.nextSibling),i5=G,g0=!0,r2=null,u1=!1,g$=null,a$=!1,$!==null&&mH(G,$),G=vZ(G,Z.children),G.flags|=4096);return G}}if(B)return f2(G),U=Z.fallback,_=G.mode,I=$.child,q=I.sibling,Z=G2(I,{mode:"hidden",children:Z.children}),Z.subtreeFlags=I.subtreeFlags&65011712,q!==null?U=G2(q,U):(U=S4(U,_,X,null),U.flags|=2),U.return=G,Z.return=G,Z.sibling=U,G.child=Z,H7(null,Z),Z=G.child,U=$.child.memoizedState,U===null?U=SZ(X):(_=U.cachePool,_!==null?(I=D5._currentValue,_=_.parent!==I?{parent:I,pool:I}:_):_=cH(),U={baseLanes:U.baseLanes|X,cachePool:_}),Z.memoizedState=U,Z.childLanes=kZ($,Y,X),G.memoizedState=PB,H7($.child,Z);return A!==null&&(X&62914560)===X&&(X&$.lanes)!==0&&EX(G),m2(G),X=$.child,$=X.sibling,X=G2(X,{mode:"visible",children:Z.children}),X.return=G,X.sibling=null,$!==null&&(Y=G.deletions,Y===null?(G.deletions=[$],G.flags|=16):Y.push($)),G.child=X,G.memoizedState=null,X}function vZ($,G){return G=PX({mode:"visible",children:G},$.mode),G.return=$,$.child=G}function PX($,G){return $=E(22,$,null,G),$.lanes=0,$}function gZ($,G,X){return e4(G,$.child,null,X),$=vZ(G,G.pendingProps.children),$.flags|=2,G.memoizedState=null,$}function nz($,G,X){$.lanes|=G;var Y=$.alternate;Y!==null&&(Y.lanes|=G),dY($.return,G,X)}function bZ($,G,X,Y,Z,B){var H=$.memoizedState;H===null?$.memoizedState={isBackwards:G,rendering:null,renderingStartTime:0,last:Y,tail:X,tailMode:Z,treeForkCount:B}:(H.isBackwards=G,H.rendering=null,H.renderingStartTime=0,H.last=Y,H.tail=X,H.tailMode=Z,H.treeForkCount=B)}function oz($,G,X){var Y=G.pendingProps,Z=Y.revealOrder,B=Y.tail,H=Y.children,U=V5.current;if((Y=(U&r7)!==0)?(U=U&NG|r7,G.flags|=128):U&=NG,Q0(V5,U,G),U=Z==null?"null":Z,Z!=="forwards"&&Z!=="unstable_legacy-backwards"&&Z!=="together"&&Z!=="independent"&&!vN[U])if(vN[U]=!0,Z==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(Z==="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 Z==="string")switch(Z.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.',Z,Z.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.',Z,Z.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',Z)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',Z);if(U=B==null?"null":B,!T9[U])if(B==null){if(Z==="forwards"||Z==="backwards"||Z==="unstable_legacy-backwards")T9[U]=!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 B!=="visible"&&B!=="collapsed"&&B!=="hidden"?(T9[U]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',B)):Z!=="forwards"&&Z!=="backwards"&&Z!=="unstable_legacy-backwards"&&(T9[U]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',B));$:if((Z==="forwards"||Z==="backwards"||Z==="unstable_legacy-backwards")&&H!==void 0&&H!==null&&H!==!1)if(v5(H)){for(U=0;U<H.length;U++)if(!Gz(H[U],U))break $}else if(U=E0(H),typeof U==="function"){if(U=U.call(H))for(var _=U.next(),A=0;!_.done;_=U.next()){if(!Gz(_.value,A))break $;A++}}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?',Z);if(l5($,G,H,X),g0?(x2(),H=b7):H=0,!Y&&$!==null&&($.flags&128)!==0)$:for($=G.child;$!==null;){if($.tag===13)$.memoizedState!==null&&nz($,X,G);else if($.tag===19)nz($,X,G);else if($.child!==null){$.child.return=$,$=$.child;continue}if($===G)break $;for(;$.sibling===null;){if($.return===null||$.return===G)break $;$=$.return}$.sibling.return=$.return,$=$.sibling}switch(Z){case"forwards":X=G.child;for(Z=null;X!==null;)$=X.alternate,$!==null&&HX($)===null&&(Z=X),X=X.sibling;X=Z,X===null?(Z=G.child,G.child=null):(Z=X.sibling,X.sibling=null),bZ(G,!1,Z,X,B,H);break;case"backwards":case"unstable_legacy-backwards":X=null,Z=G.child;for(G.child=null;Z!==null;){if($=Z.alternate,$!==null&&HX($)===null){G.child=Z;break}$=Z.sibling,Z.sibling=X,X=Z,Z=$}bZ(G,!0,X,null,B,H);break;case"together":bZ(G,!1,null,null,void 0,H);break;default:G.memoizedState=null}return G.child}function B2($,G,X){if($!==null&&(G.dependencies=$.dependencies),J$=-1,J4|=G.lanes,(X&G.childLanes)===0)if($!==null){if(C6($,G,X,!1),(X&G.childLanes)===0)return null}else return null;if($!==null&&G.child!==$.child)throw Error("Resuming work not yet implemented.");if(G.child!==null){$=G.child,X=G2($,$.pendingProps),G.child=X;for(X.return=G;$.sibling!==null;)$=$.sibling,X=X.sibling=G2($,$.pendingProps),X.return=G;X.sibling=null}return G.child}function mZ($,G){if(($.lanes&G)!==0)return!0;return $=$.dependencies,$!==null&&o8($)?!0:!1}function JQ($,G,X){switch(G.tag){case 3:u(G,G.stateNode.containerInfo),k2(G,D5,$.memoizedState.cache),v4();break;case 27:case 5:p0(G);break;case 4:u(G,G.stateNode.containerInfo);break;case 10:k2(G,G.type,G.memoizedProps.value);break;case 12:(X&G.childLanes)!==0&&(G.flags|=4),G.flags|=2048;var Y=G.stateNode;Y.effectDuration=-0,Y.passiveEffectDuration=-0;break;case 31:if(G.memoizedState!==null)return G.flags|=128,tY(G),null;break;case 13:if(Y=G.memoizedState,Y!==null){if(Y.dehydrated!==null)return m2(G),G.flags|=128,null;if((X&G.child.childLanes)!==0)return az($,G,X);return m2(G),$=B2($,G,X),$!==null?$.sibling:null}m2(G);break;case 19:var Z=($.flags&128)!==0;if(Y=(X&G.childLanes)!==0,Y||(C6($,G,X,!1),Y=(X&G.childLanes)!==0),Z){if(Y)return oz($,G,X);G.flags|=128}if(Z=G.memoizedState,Z!==null&&(Z.rendering=null,Z.tail=null,Z.lastEffect=null),Q0(V5,V5.current,G),Y)break;else return null;case 22:return G.lanes=0,uz($,G,X,G.pendingProps);case 24:k2(G,D5,$.memoizedState.cache)}return B2($,G,X)}function fZ($,G,X){if(G._debugNeedsRemount&&$!==null){X=vY(G.type,G.key,G.pendingProps,G._debugOwner||null,G.mode,G.lanes),X._debugStack=G._debugStack,X._debugTask=G._debugTask;var Y=G.return;if(Y===null)throw Error("Cannot swap the root fiber.");if($.alternate=null,G.alternate=null,X.index=G.index,X.sibling=G.sibling,X.return=G.return,X.ref=G.ref,X._debugInfo=G._debugInfo,G===Y.child)Y.child=X;else{var Z=Y.child;if(Z===null)throw Error("Expected parent to have a child.");for(;Z.sibling!==G;)if(Z=Z.sibling,Z===null)throw Error("Expected to find the previous sibling.");Z.sibling=X}return G=Y.deletions,G===null?(Y.deletions=[$],Y.flags|=16):G.push($),X.flags|=2,X}if($!==null)if($.memoizedProps!==G.pendingProps||G.type!==$.type)j5=!0;else{if(!mZ($,X)&&(G.flags&128)===0)return j5=!1,JQ($,G,X);j5=($.flags&131072)!==0?!0:!1}else{if(j5=!1,Y=g0)x2(),Y=(G.flags&1048576)!==0;Y&&(Y=G.index,x2(),gH(G,b7,Y))}switch(G.lanes=0,G.tag){case 16:$:if(Y=G.pendingProps,$=v2(G.elementType),G.type=$,typeof $==="function")kY($)?(Y=y4($,Y),G.tag=1,G.type=$=x4($),G=sz(null,G,$,Y,X)):(G.tag=0,xZ(G,$),G.type=$=x4($),G=jZ(null,G,$,Y,X));else{if($!==void 0&&$!==null){if(Z=$.$$typeof,Z===P7){G.tag=11,G.type=$=SY($),G=hz(null,G,$,Y,X);break $}else if(Z===pX){G.tag=14,G=yz(null,G,$,Y,X);break $}}throw G="",$!==null&&typeof $==="object"&&$.$$typeof===S$&&(G=" Did you wrap a component in React.lazy() more than once?"),X=t($)||$,Error("Element type is invalid. Received a promise that resolves to: "+X+". Lazy element type must resolve to a class or function."+G)}return G;case 0:return jZ($,G,G.type,G.pendingProps,X);case 1:return Y=G.type,Z=y4(Y,G.pendingProps),sz($,G,Y,Z,X);case 3:$:{if(u(G,G.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");Y=G.pendingProps;var B=G.memoizedState;Z=B.element,nY($,G),Y7(G,Y,null,X);var H=G.memoizedState;if(Y=H.cache,k2(G,D5,Y),Y!==B.cache&&uY(G,[D5],X,!0),X7(),Y=H.element,B.isDehydrated)if(B={element:Y,isDehydrated:!1,cache:H.cache},G.updateQueue.baseState=B,G.memoizedState=B,G.flags&256){G=iz($,G,Y,X);break $}else if(Y!==Z){Z=q$(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),G),oG(Z),G=iz($,G,Y,X);break $}else{switch($=G.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}U5=x$($.firstChild),i5=G,g0=!0,r2=null,u1=!1,g$=null,a$=!0,X=UN(G,null,Y,X);for(G.child=X;X;)X.flags=X.flags&-3|4096,X=X.sibling}else{if(v4(),Y===Z){G=B2($,G,X);break $}l5($,G,Y,X)}G=G.child}return G;case 26:return IX($,G),$===null?(X=TW(G.type,null,G.pendingProps,null))?G.memoizedState=X:g0||(X=G.type,$=G.pendingProps,Y=L5(l2.current),Y=kX(Y).createElement(X),Y[s5]=G,Y[Y$]=$,c5(Y,X,$),z0(Y),G.stateNode=Y):G.memoizedState=TW(G.type,$.memoizedProps,G.pendingProps,$.memoizedState),null;case 27:return p0(G),$===null&&g0&&(Y=L5(l2.current),Z=W0(),Y=G.stateNode=MW(G.type,G.pendingProps,Y,Z,!1),u1||(Z=HW(Y,G.type,G.pendingProps,Z),Z!==null&&(k4(G,0).serverProps=Z)),i5=G,a$=!0,Z=U5,u2(G.type)?(sB=Z,U5=x$(Y.firstChild)):U5=Z),l5($,G,G.pendingProps.children,X),IX($,G),$===null&&(G.flags|=4194304),G.child;case 5:return $===null&&g0&&(B=W0(),Y=VY(G.type,B.ancestorInfo),Z=U5,(H=!Z)||(H=aQ(Z,G.type,G.pendingProps,a$),H!==null?(G.stateNode=H,u1||(B=HW(H,G.type,G.pendingProps,B),B!==null&&(k4(G,0).serverProps=B)),i5=G,U5=x$(H.firstChild),a$=!1,B=!0):B=!1,H=!B),H&&(Y&&a8(G,Z),S2(G))),p0(G),Z=G.type,B=G.pendingProps,H=$!==null?$.memoizedProps:null,Y=B.children,U3(Z,B)?Y=null:H!==null&&U3(Z,H)&&(G.flags|=32),G.memoizedState!==null&&(Z=$Z($,G,tw,null,null,X),w8._currentValue=Z),IX($,G),l5($,G,Y,X),G.child;case 6:return $===null&&g0&&(X=G.pendingProps,$=W0(),Y=$.ancestorInfo.current,X=Y!=null?f8(X,Y.tag,$.ancestorInfo.implicitRootScope):!0,$=U5,(Y=!$)||(Y=nQ($,G.pendingProps,a$),Y!==null?(G.stateNode=Y,i5=G,U5=null,Y=!0):Y=!1,Y=!Y),Y&&(X&&a8(G,$),S2(G))),null;case 13:return az($,G,X);case 4:return u(G,G.stateNode.containerInfo),Y=G.pendingProps,$===null?G.child=e4(G,null,Y,X):l5($,G,Y,X),G.child;case 11:return hz($,G,G.type,G.pendingProps,X);case 7:return l5($,G,G.pendingProps,X),G.child;case 8:return l5($,G,G.pendingProps.children,X),G.child;case 12:return G.flags|=4,G.flags|=2048,Y=G.stateNode,Y.effectDuration=-0,Y.passiveEffectDuration=-0,l5($,G,G.pendingProps.children,X),G.child;case 10:return Y=G.type,Z=G.pendingProps,B=Z.value,"value"in Z||gN||(gN=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),k2(G,Y,B),l5($,G,Z.children,X),G.child;case 9:return Z=G.type._context,Y=G.pendingProps.children,typeof Y!=="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."),g4(G),Z=_5(Z),Y=WB(Y,Z,void 0),G.flags|=1,l5($,G,Y,X),G.child;case 14:return yz($,G,G.type,G.pendingProps,X);case 15:return dz($,G,G.type,G.pendingProps,X);case 19:return oz($,G,X);case 31:return BQ($,G,X);case 22:return uz($,G,X,G.pendingProps);case 24:return g4(G),Y=_5(D5),$===null?(Z=sY(),Z===null&&(Z=X5,B=pY(),Z.pooledCache=B,b4(B),B!==null&&(Z.pooledCacheLanes|=X),Z=B),G.memoizedState={parent:Y,cache:Z},aY(G),k2(G,D5,Z)):(($.lanes&X)!==0&&(nY($,G),Y7(G,null,null,X),X7()),Z=$.memoizedState,B=G.memoizedState,Z.parent!==Y?(Z={parent:Y,cache:Y},G.memoizedState=Z,G.lanes===0&&(G.memoizedState=G.updateQueue.baseState=Z),k2(G,D5,Y)):(Y=B.cache,k2(G,D5,Y),Y!==Z.cache&&uY(G,[D5],X,!0))),l5($,G,G.pendingProps.children,X),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 J2($){$.flags|=4}function hZ($,G,X,Y,Z){if(G=($.mode&qF)!==w0)G=!1;if(G){if($.flags|=16777216,(Z&335544128)===Z)if($.stateNode.complete)$.flags|=8192;else if(CU())$.flags|=8192;else throw t4=w9,NB}else $.flags&=-16777217}function rz($,G){if(G.type!=="stylesheet"||(G.state.loading&e$)!==W6)$.flags&=-16777217;else if($.flags|=16777216,!qW(G))if(CU())$.flags|=8192;else throw t4=w9,NB}function VX($,G){G!==null&&($.flags|=4),$.flags&16384&&(G=$.tag!==22?P6():536870912,$.lanes|=G,Z6|=G)}function z7($,G){if(!g0)switch($.tailMode){case"hidden":G=$.tail;for(var X=null;G!==null;)G.alternate!==null&&(X=G),G=G.sibling;X===null?$.tail=null:X.sibling=null;break;case"collapsed":X=$.tail;for(var Y=null;X!==null;)X.alternate!==null&&(Y=X),X=X.sibling;Y===null?G||$.tail===null?$.tail=null:$.tail.sibling=null:Y.sibling=null}}function B5($){var G=$.alternate!==null&&$.alternate.child===$.child,X=0,Y=0;if(G)if(($.mode&O0)!==w0){for(var{selfBaseDuration:Z,child:B}=$;B!==null;)X|=B.lanes|B.childLanes,Y|=B.subtreeFlags&65011712,Y|=B.flags&65011712,Z+=B.treeBaseDuration,B=B.sibling;$.treeBaseDuration=Z}else for(Z=$.child;Z!==null;)X|=Z.lanes|Z.childLanes,Y|=Z.subtreeFlags&65011712,Y|=Z.flags&65011712,Z.return=$,Z=Z.sibling;else if(($.mode&O0)!==w0){Z=$.actualDuration,B=$.selfBaseDuration;for(var H=$.child;H!==null;)X|=H.lanes|H.childLanes,Y|=H.subtreeFlags,Y|=H.flags,Z+=H.actualDuration,B+=H.treeBaseDuration,H=H.sibling;$.actualDuration=Z,$.treeBaseDuration=B}else for(Z=$.child;Z!==null;)X|=Z.lanes|Z.childLanes,Y|=Z.subtreeFlags,Y|=Z.flags,Z.return=$,Z=Z.sibling;return $.subtreeFlags|=Y,$.childLanes=X,G}function HQ($,G,X){var Y=G.pendingProps;switch(fY(G),G.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return B5(G),null;case 1:return B5(G),null;case 3:if(X=G.stateNode,Y=null,$!==null&&(Y=$.memoizedState.cache),G.memoizedState.cache!==Y&&(G.flags|=2048),Y2(D5,G),_0(G),X.pendingContext&&(X.context=X.pendingContext,X.pendingContext=null),$===null||$.child===null)E6(G)?(yY(),J2(G)):$===null||$.memoizedState.isDehydrated&&(G.flags&256)===0||(G.flags|=1024,hY());return B5(G),null;case 26:var{type:Z,memoizedState:B}=G;return $===null?(J2(G),B!==null?(B5(G),rz(G,B)):(B5(G),hZ(G,Z,null,Y,X))):B?B!==$.memoizedState?(J2(G),B5(G),rz(G,B)):(B5(G),G.flags&=-16777217):($=$.memoizedProps,$!==Y&&J2(G),B5(G),hZ(G,Z,$,Y,X)),null;case 27:if(l0(G),X=L5(l2.current),Z=G.type,$!==null&&G.stateNode!=null)$.memoizedProps!==Y&&J2(G);else{if(!Y){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 B5(G),null}$=W0(),E6(G)?hH(G,$):($=MW(Z,Y,X,$,!0),G.stateNode=$,J2(G))}return B5(G),null;case 5:if(l0(G),Z=G.type,$!==null&&G.stateNode!=null)$.memoizedProps!==Y&&J2(G);else{if(!Y){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 B5(G),null}var H=W0();if(E6(G))hH(G,H);else{switch(B=L5(l2.current),VY(Z,H.ancestorInfo),H=H.context,B=kX(B),H){case VG:B=B.createElementNS(a6,Z);break;case d9:B=B.createElementNS(oX,Z);break;default:switch(Z){case"svg":B=B.createElementNS(a6,Z);break;case"math":B=B.createElementNS(oX,Z);break;case"script":B=B.createElement("div"),B.innerHTML="<script></script>",B=B.removeChild(B.firstChild);break;case"select":B=typeof Y.is==="string"?B.createElement("select",{is:Y.is}):B.createElement("select"),Y.multiple?B.multiple=!0:Y.size&&(B.size=Y.size);break;default:B=typeof Y.is==="string"?B.createElement(Z,{is:Y.is}):B.createElement(Z),Z.indexOf("-")===-1&&(Z!==Z.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",Z),Object.prototype.toString.call(B)!=="[object HTMLUnknownElement]"||z1.call(BA,Z)||(BA[Z]=!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.",Z)))}}B[s5]=G,B[Y$]=Y;$:for(H=G.child;H!==null;){if(H.tag===5||H.tag===6)B.appendChild(H.stateNode);else if(H.tag!==4&&H.tag!==27&&H.child!==null){H.child.return=H,H=H.child;continue}if(H===G)break $;for(;H.sibling===null;){if(H.return===null||H.return===G)break $;H=H.return}H.sibling.return=H.return,H=H.sibling}G.stateNode=B;$:switch(c5(B,Z,Y),Z){case"button":case"input":case"select":case"textarea":Y=!!Y.autoFocus;break $;case"img":Y=!0;break $;default:Y=!1}Y&&J2(G)}}return B5(G),hZ(G,G.type,$===null?null:$.memoizedProps,G.pendingProps,X),null;case 6:if($&&G.stateNode!=null)$.memoizedProps!==Y&&J2(G);else{if(typeof Y!=="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($=L5(l2.current),X=W0(),E6(G)){if($=G.stateNode,X=G.memoizedProps,Z=!u1,Y=null,B=i5,B!==null)switch(B.tag){case 3:Z&&(Z=KW($,X,Y),Z!==null&&(k4(G,0).serverProps=Z));break;case 27:case 5:Y=B.memoizedProps,Z&&(Z=KW($,X,Y),Z!==null&&(k4(G,0).serverProps=Z))}$[s5]=G,$=$.nodeValue===X||Y!==null&&Y.suppressHydrationWarning===!0||XW($.nodeValue,X)?!0:!1,$||S2(G,!0)}else Z=X.ancestorInfo.current,Z!=null&&f8(Y,Z.tag,X.ancestorInfo.implicitRootScope),$=kX($).createTextNode(Y),$[s5]=G,G.stateNode=$}return B5(G),null;case 31:if(X=G.memoizedState,$===null||$.memoizedState!==null){if(Y=E6(G),X!==null){if($===null){if(!Y)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=G.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");$[s5]=G,B5(G),(G.mode&O0)!==w0&&X!==null&&($=G.child,$!==null&&(G.treeBaseDuration-=$.treeBaseDuration))}else yY(),v4(),(G.flags&128)===0&&(X=G.memoizedState=null),G.flags|=4,B5(G),(G.mode&O0)!==w0&&X!==null&&($=G.child,$!==null&&(G.treeBaseDuration-=$.treeBaseDuration));$=!1}else X=hY(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=X),$=!0;if(!$){if(G.flags&256)return C$(G),G;return C$(G),null}if((G.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return B5(G),null;case 13:if(Y=G.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(Z=Y,B=E6(G),Z!==null&&Z.dehydrated!==null){if($===null){if(!B)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(B=G.memoizedState,B=B!==null?B.dehydrated:null,!B)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");B[s5]=G,B5(G),(G.mode&O0)!==w0&&Z!==null&&(Z=G.child,Z!==null&&(G.treeBaseDuration-=Z.treeBaseDuration))}else yY(),v4(),(G.flags&128)===0&&(Z=G.memoizedState=null),G.flags|=4,B5(G),(G.mode&O0)!==w0&&Z!==null&&(Z=G.child,Z!==null&&(G.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else Z=hY(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=Z),Z=!0;if(!Z){if(G.flags&256)return C$(G),G;return C$(G),null}}if(C$(G),(G.flags&128)!==0)return G.lanes=X,(G.mode&O0)!==w0&&eG(G),G;return X=Y!==null,$=$!==null&&$.memoizedState!==null,X&&(Y=G.child,Z=null,Y.alternate!==null&&Y.alternate.memoizedState!==null&&Y.alternate.memoizedState.cachePool!==null&&(Z=Y.alternate.memoizedState.cachePool.pool),B=null,Y.memoizedState!==null&&Y.memoizedState.cachePool!==null&&(B=Y.memoizedState.cachePool.pool),B!==Z&&(Y.flags|=2048)),X!==$&&X&&(G.child.flags|=8192),VX(G,G.updateQueue),B5(G),(G.mode&O0)!==w0&&X&&($=G.child,$!==null&&(G.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return _0(G),$===null&&X3(G.stateNode.containerInfo),B5(G),null;case 10:return Y2(G.type,G),B5(G),null;case 19:if(T0(V5,G),Y=G.memoizedState,Y===null)return B5(G),null;if(Z=(G.flags&128)!==0,B=Y.rendering,B===null)if(Z)z7(Y,!1);else{if(Q5!==T2||$!==null&&($.flags&128)!==0)for($=G.child;$!==null;){if(B=HX($),B!==null){G.flags|=128,z7(Y,!1),$=B.updateQueue,G.updateQueue=$,VX(G,$),G.subtreeFlags=0,$=X;for(X=G.child;X!==null;)kH(X,$),X=X.sibling;return Q0(V5,V5.current&NG|r7,G),g0&&X2(G,Y.treeForkCount),G.child}$=$.sibling}Y.tail!==null&&h5()>E9&&(G.flags|=128,Z=!0,z7(Y,!1),G.lanes=4194304)}else{if(!Z)if($=HX(B),$!==null){if(G.flags|=128,Z=!0,$=$.updateQueue,G.updateQueue=$,VX(G,$),z7(Y,!0),Y.tail===null&&Y.tailMode==="hidden"&&!B.alternate&&!g0)return B5(G),null}else 2*h5()-Y.renderingStartTime>E9&&X!==536870912&&(G.flags|=128,Z=!0,z7(Y,!1),G.lanes=4194304);Y.isBackwards?(B.sibling=G.child,G.child=B):($=Y.last,$!==null?$.sibling=B:G.child=B,Y.last=B)}if(Y.tail!==null)return $=Y.tail,Y.rendering=$,Y.tail=$.sibling,Y.renderingStartTime=h5(),$.sibling=null,X=V5.current,X=Z?X&NG|r7:X&NG,Q0(V5,X,G),g0&&X2(G,Y.treeForkCount),$;return B5(G),null;case 22:case 23:return C$(G),rY(G),Y=G.memoizedState!==null,$!==null?$.memoizedState!==null!==Y&&(G.flags|=8192):Y&&(G.flags|=8192),Y?(X&536870912)!==0&&(G.flags&128)===0&&(B5(G),G.subtreeFlags&6&&(G.flags|=8192)):B5(G),X=G.updateQueue,X!==null&&VX(G,X.retryQueue),X=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(X=$.memoizedState.cachePool.pool),Y=null,G.memoizedState!==null&&G.memoizedState.cachePool!==null&&(Y=G.memoizedState.cachePool.pool),Y!==X&&(G.flags|=2048),$!==null&&T0(o4,G),null;case 24:return X=null,$!==null&&(X=$.memoizedState.cache),G.memoizedState.cache!==X&&(G.flags|=2048),Y2(D5,G),B5(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 zQ($,G){switch(fY(G),G.tag){case 1:return $=G.flags,$&65536?(G.flags=$&-65537|128,(G.mode&O0)!==w0&&eG(G),G):null;case 3:return Y2(D5,G),_0(G),$=G.flags,($&65536)!==0&&($&128)===0?(G.flags=$&-65537|128,G):null;case 26:case 27:case 5:return l0(G),null;case 31:if(G.memoizedState!==null){if(C$(G),G.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");v4()}return $=G.flags,$&65536?(G.flags=$&-65537|128,(G.mode&O0)!==w0&&eG(G),G):null;case 13:if(C$(G),$=G.memoizedState,$!==null&&$.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.");v4()}return $=G.flags,$&65536?(G.flags=$&-65537|128,(G.mode&O0)!==w0&&eG(G),G):null;case 19:return T0(V5,G),null;case 4:return _0(G),null;case 10:return Y2(G.type,G),null;case 22:case 23:return C$(G),rY(G),$!==null&&T0(o4,G),$=G.flags,$&65536?(G.flags=$&-65537|128,(G.mode&O0)!==w0&&eG(G),G):null;case 24:return Y2(D5,G),null;case 25:return null;default:return null}}function tz($,G){switch(fY(G),G.tag){case 3:Y2(D5,G),_0(G);break;case 26:case 27:case 5:l0(G);break;case 4:_0(G);break;case 31:G.memoizedState!==null&&C$(G);break;case 13:C$(G);break;case 19:T0(V5,G);break;case 10:Y2(G.type,G);break;case 22:case 23:C$(G),rY(G),$!==null&&T0(o4,G);break;case 24:Y2(D5,G)}}function C1($){return($.mode&O0)!==w0}function ez($,G){C1($)?(E1(),U7(G,$),D1()):U7(G,$)}function yZ($,G,X){C1($)?(E1(),v6(X,$,G),D1()):v6(X,$,G)}function U7($,G){try{var X=G.updateQueue,Y=X!==null?X.lastEffect:null;if(Y!==null){var Z=Y.next;X=Z;do{if((X.tag&$)===$&&(Y=void 0,($&H$)!==K9&&(TG=!0),Y=n(G,xF,X),($&H$)!==K9&&(TG=!1),Y!==void 0&&typeof Y!=="function")){var B=void 0;B=(X.tag&m$)!==0?"useLayoutEffect":(X.tag&H$)!==0?"useInsertionEffect":"useEffect";var H=void 0;H=Y===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof Y.then==="function"?`
It looks like you wrote `+B+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
`+B+`(() => {
async function fetchData() {
// You can await here
const response = await MyAPI.getData(someId);
// ...
}
fetchData();
}, [someId]); // Or [] if effect doesn't need props or state
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+Y,n(G,function(U,_){console.error("%s must not return anything besides a function, which is used for clean-up.%s",U,_)},B,H)}X=X.next}while(X!==Z)}}catch(U){c0(G,G.return,U)}}function v6($,G,X){try{var Y=G.updateQueue,Z=Y!==null?Y.lastEffect:null;if(Z!==null){var B=Z.next;Y=B;do{if((Y.tag&$)===$){var H=Y.inst,U=H.destroy;U!==void 0&&(H.destroy=void 0,($&H$)!==K9&&(TG=!0),Z=G,n(Z,SF,Z,X,U),($&H$)!==K9&&(TG=!1))}Y=Y.next}while(Y!==B)}}catch(_){c0(G,G.return,_)}}function $U($,G){C1($)?(E1(),U7(G,$),D1()):U7(G,$)}function dZ($,G,X){C1($)?(E1(),v6(X,$,G),D1()):v6(X,$,G)}function GU($){var G=$.updateQueue;if(G!==null){var X=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||QG||(X.props!==$.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.",p($)||"instance"),X.state!==$.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.",p($)||"instance"));try{n($,Yz,G,X)}catch(Y){c0($,$.return,Y)}}}function UQ($,G,X){return $.getSnapshotBeforeUpdate(G,X)}function WQ($,G){var{memoizedProps:X,memoizedState:Y}=G;G=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||QG||(G.props!==$.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.",p($)||"instance"),G.state!==$.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.",p($)||"instance"));try{var Z=y4($.type,X),B=n($,UQ,G,Z,Y);X=bN,B!==void 0||X.has($.type)||(X.add($.type),n($,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",p($))})),G.__reactInternalSnapshotBeforeUpdate=B}catch(H){c0($,$.return,H)}}function XU($,G,X){X.props=y4($.type,$.memoizedProps),X.state=$.memoizedState,C1($)?(E1(),n($,GN,$,G,X),D1()):n($,GN,$,G,X)}function _Q($){var G=$.ref;if(G!==null){switch($.tag){case 26:case 27:case 5:var X=$.stateNode;break;case 30:X=$.stateNode;break;default:X=$.stateNode}if(typeof G==="function")if(C1($))try{E1(),$.refCleanup=G(X)}finally{D1()}else $.refCleanup=G(X);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().",p($)),G.current=X}}function W7($,G){try{n($,_Q,$)}catch(X){c0($,G,X)}}function j1($,G){var{ref:X,refCleanup:Y}=$;if(X!==null)if(typeof Y==="function")try{if(C1($))try{E1(),n($,Y)}finally{D1($)}else n($,Y)}catch(Z){c0($,G,Z)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof X==="function")try{if(C1($))try{E1(),n($,X,null)}finally{D1($)}else n($,X,null)}catch(Z){c0($,G,Z)}else X.current=null}function YU($,G,X,Y){var Z=$.memoizedProps,B=Z.id,H=Z.onCommit;Z=Z.onRender,G=G===null?"mount":"update",_9&&(G="nested-update"),typeof Z==="function"&&Z(B,G,$.actualDuration,$.treeBaseDuration,$.actualStartTime,X),typeof H==="function"&&H(B,G,Y,X)}function NQ($,G,X,Y){var Z=$.memoizedProps;$=Z.id,Z=Z.onPostCommit,G=G===null?"mount":"update",_9&&(G="nested-update"),typeof Z==="function"&&Z($,G,Y,X)}function ZU($){var{type:G,memoizedProps:X,stateNode:Y}=$;try{n($,bQ,Y,G,X,$)}catch(Z){c0($,$.return,Z)}}function uZ($,G,X){try{n($,fQ,$.stateNode,$.type,X,G,$)}catch(Y){c0($,$.return,Y)}}function BU($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&u2($.type)||$.tag===4}function pZ($){$:for(;;){for(;$.sibling===null;){if($.return===null||BU($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&u2($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function lZ($,G,X){var Y=$.tag;if(Y===5||Y===6)$=$.stateNode,G?(NW(X),(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X).insertBefore($,G)):(NW(X),G=X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X,G.appendChild($),X=X._reactRootContainer,X!==null&&X!==void 0||G.onclick!==null||(G.onclick=$2));else if(Y!==4&&(Y===27&&u2($.type)&&(X=$.stateNode,G=null),$=$.child,$!==null))for(lZ($,G,X),$=$.sibling;$!==null;)lZ($,G,X),$=$.sibling}function OX($,G,X){var Y=$.tag;if(Y===5||Y===6)$=$.stateNode,G?X.insertBefore($,G):X.appendChild($);else if(Y!==4&&(Y===27&&u2($.type)&&(X=$.stateNode),$=$.child,$!==null))for(OX($,G,X),$=$.sibling;$!==null;)OX($,G,X),$=$.sibling}function AQ($){for(var G,X=$.return;X!==null;){if(BU(X)){G=X;break}X=X.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,X=pZ($),OX($,X,G);break;case 5:X=G.stateNode,G.flags&32&&(_W(X),G.flags&=-33),G=pZ($),OX($,G,X);break;case 3:case 4:G=G.stateNode.containerInfo,X=pZ($),lZ($,X,G);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function JU($){var{stateNode:G,memoizedProps:X}=$;try{n($,$K,$.type,X,G,$)}catch(Y){c0($,$.return,Y)}}function HU($,G){return G.tag===31?(G=G.memoizedState,$.memoizedState!==null&&G===null):G.tag===13?($=$.memoizedState,G=G.memoizedState,$!==null&&$.dehydrated!==null&&(G===null||G.dehydrated===null)):G.tag===3?$.memoizedState.isDehydrated&&(G.flags&256)===0:!1}function LQ($,G){if($=$.containerInfo,pB=c9,$=PH($),DY($)){if("selectionStart"in $)var X={start:$.selectionStart,end:$.selectionEnd};else $:{X=(X=$.ownerDocument)&&X.defaultView||window;var Y=X.getSelection&&X.getSelection();if(Y&&Y.rangeCount!==0){X=Y.anchorNode;var{anchorOffset:Z,focusNode:B}=Y;Y=Y.focusOffset;try{X.nodeType,B.nodeType}catch(c){X=null;break $}var H=0,U=-1,_=-1,A=0,q=0,D=$,I=null;G:for(;;){for(var S;;){if(D!==X||Z!==0&&D.nodeType!==3||(U=H+Z),D!==B||Y!==0&&D.nodeType!==3||(_=H+Y),D.nodeType===3&&(H+=D.nodeValue.length),(S=D.firstChild)===null)break;I=D,D=S}for(;;){if(D===$)break G;if(I===X&&++A===Z&&(U=H),I===B&&++q===Y&&(_=H),(S=D.nextSibling)!==null)break;D=I,I=D.parentNode}D=S}X=U===-1||_===-1?null:{start:U,end:_}}else X=null}X=X||{start:0,end:0}}else X=null;lB={focusedElem:$,selectionRange:X},c9=!1;for(d5=G;d5!==null;)if(G=d5,$=G.child,(G.subtreeFlags&1028)!==0&&$!==null)$.return=G,d5=$;else for(;d5!==null;){switch($=G=d5,X=$.alternate,Z=$.flags,$.tag){case 0:if((Z&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(X=0;X<$.length;X++)Z=$[X],Z.ref.impl=Z.nextImpl;break;case 11:case 15:break;case 1:(Z&1024)!==0&&X!==null&&WQ($,X);break;case 3:if((Z&1024)!==0){if($=$.stateNode.containerInfo,X=$.nodeType,X===9)W3($);else if(X===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":W3($);break;default:$.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((Z&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($=G.sibling,$!==null){$.return=G.return,d5=$;break}d5=G.return}}function zU($,G,X){var Y=D$(),Z=P1(),B=O1(),H=q1(),U=X.flags;switch(X.tag){case 0:case 11:case 15:x1($,X),U&4&&ez(X,m$|r$);break;case 1:if(x1($,X),U&4)if($=X.stateNode,G===null)X.type.defaultProps||"ref"in X.memoizedProps||QG||($.props!==X.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.",p(X)||"instance"),$.state!==X.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.",p(X)||"instance")),C1(X)?(E1(),n(X,_B,X,$),D1()):n(X,_B,X,$);else{var _=y4(X.type,G.memoizedProps);G=G.memoizedState,X.type.defaultProps||"ref"in X.memoizedProps||QG||($.props!==X.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.",p(X)||"instance"),$.state!==X.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.",p(X)||"instance")),C1(X)?(E1(),n(X,t_,X,$,_,G,$.__reactInternalSnapshotBeforeUpdate),D1()):n(X,t_,X,$,_,G,$.__reactInternalSnapshotBeforeUpdate)}U&64&&GU(X),U&512&&W7(X,X.return);break;case 3:if(G=Z2(),x1($,X),U&64&&(U=X.updateQueue,U!==null)){if(_=null,X.child!==null)switch(X.child.tag){case 27:case 5:_=X.child.stateNode;break;case 1:_=X.child.stateNode}try{n(X,Yz,U,_)}catch(q){c0(X,X.return,q)}}$.effectDuration+=t8(G);break;case 27:G===null&&U&4&&JU(X);case 26:case 5:if(x1($,X),G===null){if(U&4)ZU(X);else if(U&64){$=X.type,G=X.memoizedProps,_=X.stateNode;try{n(X,mQ,_,$,G,X)}catch(q){c0(X,X.return,q)}}}U&512&&W7(X,X.return);break;case 12:if(U&4){U=Z2(),x1($,X),$=X.stateNode,$.effectDuration+=tG(U);try{n(X,YU,X,G,t2,$.effectDuration)}catch(q){c0(X,X.return,q)}}else x1($,X);break;case 31:x1($,X),U&4&&_U($,X);break;case 13:x1($,X),U&4&&NU($,X),U&64&&($=X.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(U=PQ.bind(null,X),oQ($,U))));break;case 22:if(U=X.memoizedState!==null||R2,!U){G=G!==null&&G.memoizedState!==null||x5,_=R2;var A=x5;R2=U,(x5=G)&&!A?(S1($,X,(X.subtreeFlags&8772)!==0),(X.mode&O0)!==w0&&0<=U0&&0<=A0&&0.05<A0-U0&&u8(X,U0,A0)):x1($,X),R2=_,x5=A}break;case 30:break;default:x1($,X)}(X.mode&O0)!==w0&&0<=U0&&0<=A0&&((M5||0.05<w5)&&T1(X,U0,A0,w5,N5),X.alternate===null&&X.return!==null&&X.return.alternate!==null&&0.05<A0-U0&&(HU(X.return.alternate,X.return)||R1(X,U0,A0,"Mount"))),E$(Y),V1(Z),N5=B,M5=H}function UU($){var G=$.alternate;G!==null&&($.alternate=null,UU(G)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(G=$.stateNode,G!==null&&s(G)),$.stateNode=null,$._debugOwner=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function H2($,G,X){for(X=X.child;X!==null;)WU($,G,X),X=X.sibling}function WU($,G,X){if(r5&&typeof r5.onCommitFiberUnmount==="function")try{r5.onCommitFiberUnmount(s6,X)}catch(A){f1||(f1=!0,console.error("React instrumentation encountered an error: %o",A))}var Y=D$(),Z=P1(),B=O1(),H=q1();switch(X.tag){case 26:x5||j1(X,G),H2($,G,X),X.memoizedState?X.memoizedState.count--:X.stateNode&&($=X.stateNode,$.parentNode.removeChild($));break;case 27:x5||j1(X,G);var U=S5,_=F$;u2(X.type)&&(S5=X.stateNode,F$=!1),H2($,G,X),n(X,M7,X.stateNode),S5=U,F$=_;break;case 5:x5||j1(X,G);case 6:if(U=S5,_=F$,S5=null,H2($,G,X),S5=U,F$=_,S5!==null)if(F$)try{n(X,dQ,S5,X.stateNode)}catch(A){c0(X,G,A)}else try{n(X,yQ,S5,X.stateNode)}catch(A){c0(X,G,A)}break;case 18:S5!==null&&(F$?($=S5,AW($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,X.stateNode),u6($)):AW(S5,X.stateNode));break;case 4:U=S5,_=F$,S5=X.stateNode.containerInfo,F$=!0,H2($,G,X),S5=U,F$=_;break;case 0:case 11:case 14:case 15:v6(H$,X,G),x5||yZ(X,G,m$),H2($,G,X);break;case 1:x5||(j1(X,G),U=X.stateNode,typeof U.componentWillUnmount==="function"&&XU(X,G,U)),H2($,G,X);break;case 21:H2($,G,X);break;case 22:x5=(U=x5)||X.memoizedState!==null,H2($,G,X),x5=U;break;default:H2($,G,X)}(X.mode&O0)!==w0&&0<=U0&&0<=A0&&(M5||0.05<w5)&&T1(X,U0,A0,w5,N5),E$(Y),V1(Z),N5=B,M5=H}function _U($,G){if(G.memoizedState===null&&($=G.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{n(G,tQ,$)}catch(X){c0(G,G.return,X)}}}function NU($,G){if(G.memoizedState===null&&($=G.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{n(G,eQ,$)}catch(X){c0(G,G.return,X)}}function wQ($){switch($.tag){case 31:case 13:case 19:var G=$.stateNode;return G===null&&(G=$.stateNode=new mN),G;case 22:return $=$.stateNode,G=$._retryCache,G===null&&(G=$._retryCache=new mN),G;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function qX($,G){var X=wQ($);G.forEach(function(Y){if(!X.has(Y)){if(X.add(Y),h1)if(KG!==null&&FG!==null)L7(FG,KG);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var Z=VQ.bind(null,$,Y);Y.then(Z,Z)}})}function Q$($,G){var X=G.deletions;if(X!==null)for(var Y=0;Y<X.length;Y++){var Z=$,B=G,H=X[Y],U=D$(),_=B;$:for(;_!==null;){switch(_.tag){case 27:if(u2(_.type)){S5=_.stateNode,F$=!1;break $}break;case 5:S5=_.stateNode,F$=!1;break $;case 3:case 4:S5=_.stateNode.containerInfo,F$=!0;break $}_=_.return}if(S5===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");WU(Z,B,H),S5=null,F$=!1,(H.mode&O0)!==w0&&0<=U0&&0<=A0&&0.05<A0-U0&&R1(H,U0,A0,"Unmount"),E$(U),Z=H,B=Z.alternate,B!==null&&(B.return=null),Z.return=null}if(G.subtreeFlags&13886)for(G=G.child;G!==null;)AU(G,$),G=G.sibling}function AU($,G){var X=D$(),Y=P1(),Z=O1(),B=q1(),H=$.alternate,U=$.flags;switch($.tag){case 0:case 11:case 14:case 15:Q$(G,$),K$($),U&4&&(v6(H$|r$,$,$.return),U7(H$|r$,$),yZ($,$.return,m$|r$));break;case 1:if(Q$(G,$),K$($),U&512&&(x5||H===null||j1(H,H.return)),U&64&&R2&&(U=$.updateQueue,U!==null&&(H=U.callbacks,H!==null))){var _=U.shared.hiddenCallbacks;U.shared.hiddenCallbacks=_===null?H:_.concat(H)}break;case 26:if(_=A1,Q$(G,$),K$($),U&512&&(x5||H===null||j1(H,H.return)),U&4){var A=H!==null?H.memoizedState:null;if(U=$.memoizedState,H===null)if(U===null)if($.stateNode===null){$:{U=$.type,H=$.memoizedProps,_=_.ownerDocument||_;G:switch(U){case"title":if(A=_.getElementsByTagName("title")[0],!A||A[q7]||A[s5]||A.namespaceURI===a6||A.hasAttribute("itemprop"))A=_.createElement(U),_.head.insertBefore(A,_.querySelector("head > title"));c5(A,U,H),A[s5]=$,z0(A),U=A;break $;case"link":var q=VW("link","href",_).get(U+(H.href||""));if(q){for(var D=0;D<q.length;D++)if(A=q[D],A.getAttribute("href")===(H.href==null||H.href===""?null:H.href)&&A.getAttribute("rel")===(H.rel==null?null:H.rel)&&A.getAttribute("title")===(H.title==null?null:H.title)&&A.getAttribute("crossorigin")===(H.crossOrigin==null?null:H.crossOrigin)){q.splice(D,1);break G}}A=_.createElement(U),c5(A,U,H),_.head.appendChild(A);break;case"meta":if(q=VW("meta","content",_).get(U+(H.content||""))){for(D=0;D<q.length;D++)if(A=q[D],r0(H.content,"content"),A.getAttribute("content")===(H.content==null?null:""+H.content)&&A.getAttribute("name")===(H.name==null?null:H.name)&&A.getAttribute("property")===(H.property==null?null:H.property)&&A.getAttribute("http-equiv")===(H.httpEquiv==null?null:H.httpEquiv)&&A.getAttribute("charset")===(H.charSet==null?null:H.charSet)){q.splice(D,1);break G}}A=_.createElement(U),c5(A,U,H),_.head.appendChild(A);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+U+'". This is a bug in React.')}A[s5]=$,z0(A),U=A}$.stateNode=U}else OW(_,$.type,$.stateNode);else $.stateNode=PW(_,U,$.memoizedProps);else A!==U?(A===null?H.stateNode!==null&&(H=H.stateNode,H.parentNode.removeChild(H)):A.count--,U===null?OW(_,$.type,$.stateNode):PW(_,U,$.memoizedProps)):U===null&&$.stateNode!==null&&uZ($,$.memoizedProps,H.memoizedProps)}break;case 27:Q$(G,$),K$($),U&512&&(x5||H===null||j1(H,H.return)),H!==null&&U&4&&uZ($,$.memoizedProps,H.memoizedProps);break;case 5:if(Q$(G,$),K$($),U&512&&(x5||H===null||j1(H,H.return)),$.flags&32){_=$.stateNode;try{n($,_W,_)}catch(a){c0($,$.return,a)}}U&4&&$.stateNode!=null&&(_=$.memoizedProps,uZ($,_,H!==null?H.memoizedProps:_)),U&1024&&(VB=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Q$(G,$),K$($),U&4){if($.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.");U=$.memoizedProps,H=H!==null?H.memoizedProps:U,_=$.stateNode;try{n($,hQ,_,H,U)}catch(a){c0($,$.return,a)}}break;case 3:if(_=Z2(),u9=null,A=A1,A1=vX(G.containerInfo),Q$(G,$),A1=A,K$($),U&4&&H!==null&&H.memoizedState.isDehydrated)try{n($,rQ,G.containerInfo)}catch(a){c0($,$.return,a)}VB&&(VB=!1,LU($)),G.effectDuration+=t8(_);break;case 4:U=A1,A1=vX($.stateNode.containerInfo),Q$(G,$),K$($),A1=U;break;case 12:U=Z2(),Q$(G,$),K$($),$.stateNode.effectDuration+=tG(U);break;case 31:Q$(G,$),K$($),U&4&&(U=$.updateQueue,U!==null&&($.updateQueue=null,qX($,U)));break;case 13:Q$(G,$),K$($),$.child.flags&8192&&$.memoizedState!==null!==(H!==null&&H.memoizedState!==null)&&(D9=h5()),U&4&&(U=$.updateQueue,U!==null&&($.updateQueue=null,qX($,U)));break;case 22:_=$.memoizedState!==null;var I=H!==null&&H.memoizedState!==null,S=R2,c=x5;if(R2=S||_,x5=c||I,Q$(G,$),x5=c,R2=S,I&&!_&&!S&&!c&&($.mode&O0)!==w0&&0<=U0&&0<=A0&&0.05<A0-U0&&u8($,U0,A0),K$($),U&8192)$:for(G=$.stateNode,G._visibility=_?G._visibility&~g7:G._visibility|g7,!_||H===null||I||R2||x5||(d4($),($.mode&O0)!==w0&&0<=U0&&0<=A0&&0.05<A0-U0&&R1($,U0,A0,"Disconnect")),H=null,G=$;;){if(G.tag===5||G.tag===26){if(H===null){I=H=G;try{A=I.stateNode,_?n(I,pQ,A):n(I,sQ,I.stateNode,I.memoizedProps)}catch(a){c0(I,I.return,a)}}}else if(G.tag===6){if(H===null){I=G;try{q=I.stateNode,_?n(I,lQ,q):n(I,iQ,q,I.memoizedProps)}catch(a){c0(I,I.return,a)}}}else if(G.tag===18){if(H===null){I=G;try{D=I.stateNode,_?n(I,uQ,D):n(I,cQ,I.stateNode)}catch(a){c0(I,I.return,a)}}}else if((G.tag!==22&&G.tag!==23||G.memoizedState===null||G===$)&&G.child!==null){G.child.return=G,G=G.child;continue}if(G===$)break $;for(;G.sibling===null;){if(G.return===null||G.return===$)break $;H===G&&(H=null),G=G.return}H===G&&(H=null),G.sibling.return=G.return,G=G.sibling}U&4&&(U=$.updateQueue,U!==null&&(H=U.retryQueue,H!==null&&(U.retryQueue=null,qX($,H))));break;case 19:Q$(G,$),K$($),U&4&&(U=$.updateQueue,U!==null&&($.updateQueue=null,qX($,U)));break;case 30:break;case 21:break;default:Q$(G,$),K$($)}($.mode&O0)!==w0&&0<=U0&&0<=A0&&((M5||0.05<w5)&&T1($,U0,A0,w5,N5),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<A0-U0&&(HU($.return.alternate,$.return)||R1($,U0,A0,"Mount"))),E$(X),V1(Y),N5=Z,M5=B}function K$($){var G=$.flags;if(G&2){try{n($,AQ,$)}catch(X){c0($,$.return,X)}$.flags&=-3}G&4096&&($.flags&=-4097)}function LU($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var G=$;LU(G),G.tag===5&&G.flags&1024&&G.stateNode.reset(),$=$.sibling}}function x1($,G){if(G.subtreeFlags&8772)for(G=G.child;G!==null;)zU($,G.alternate,G),G=G.sibling}function wU($){var G=D$(),X=P1(),Y=O1(),Z=q1();switch($.tag){case 0:case 11:case 14:case 15:yZ($,$.return,m$),d4($);break;case 1:j1($,$.return);var B=$.stateNode;typeof B.componentWillUnmount==="function"&&XU($,$.return,B),d4($);break;case 27:n($,M7,$.stateNode);case 26:case 5:j1($,$.return),d4($);break;case 22:$.memoizedState===null&&d4($);break;case 30:d4($);break;default:d4($)}($.mode&O0)!==w0&&0<=U0&&0<=A0&&(M5||0.05<w5)&&T1($,U0,A0,w5,N5),E$(G),V1(X),N5=Y,M5=Z}function d4($){for($=$.child;$!==null;)wU($),$=$.sibling}function QU($,G,X,Y){var Z=D$(),B=P1(),H=O1(),U=q1(),_=X.flags;switch(X.tag){case 0:case 11:case 15:S1($,X,Y),ez(X,m$);break;case 1:if(S1($,X,Y),G=X.stateNode,typeof G.componentDidMount==="function"&&n(X,_B,X,G),G=X.updateQueue,G!==null){$=X.stateNode;try{n(X,rw,G,$)}catch(A){c0(X,X.return,A)}}Y&&_&64&&GU(X),W7(X,X.return);break;case 27:JU(X);case 26:case 5:S1($,X,Y),Y&&G===null&&_&4&&ZU(X),W7(X,X.return);break;case 12:if(Y&&_&4){_=Z2(),S1($,X,Y),Y=X.stateNode,Y.effectDuration+=tG(_);try{n(X,YU,X,G,t2,Y.effectDuration)}catch(A){c0(X,X.return,A)}}else S1($,X,Y);break;case 31:S1($,X,Y),Y&&_&4&&_U($,X);break;case 13:S1($,X,Y),Y&&_&4&&NU($,X);break;case 22:X.memoizedState===null&&S1($,X,Y),W7(X,X.return);break;case 30:break;default:S1($,X,Y)}(X.mode&O0)!==w0&&0<=U0&&0<=A0&&(M5||0.05<w5)&&T1(X,U0,A0,w5,N5),E$(Z),V1(B),N5=H,M5=U}function S1($,G,X){X=X&&(G.subtreeFlags&8772)!==0;for(G=G.child;G!==null;)QU($,G.alternate,G,X),G=G.sibling}function cZ($,G){var X=null;$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(X=$.memoizedState.cachePool.pool),$=null,G.memoizedState!==null&&G.memoizedState.cachePool!==null&&($=G.memoizedState.cachePool.pool),$!==X&&($!=null&&b4($),X!=null&&rG(X))}function sZ($,G){$=null,G.alternate!==null&&($=G.alternate.memoizedState.cache),G=G.memoizedState.cache,G!==$&&(b4(G),$!=null&&rG($))}function H1($,G,X,Y,Z){if(G.subtreeFlags&10256||G.actualDuration!==0&&(G.alternate===null||G.alternate.child!==G.child))for(G=G.child;G!==null;){var B=G.sibling;KU($,G,X,Y,B!==null?B.actualStartTime:Z),G=B}}function KU($,G,X,Y,Z){var B=D$(),H=P1(),U=O1(),_=q1(),A=a2,q=G.flags;switch(G.tag){case 0:case 11:case 15:(G.mode&O0)!==w0&&0<G.actualStartTime&&(G.flags&1)!==0&&p8(G,G.actualStartTime,Z,g5,X),H1($,G,X,Y,Z),q&2048&&$U(G,z$|r$);break;case 1:(G.mode&O0)!==w0&&0<G.actualStartTime&&((G.flags&128)!==0?CY(G,G.actualStartTime,Z,[]):(G.flags&1)!==0&&p8(G,G.actualStartTime,Z,g5,X)),H1($,G,X,Y,Z);break;case 3:var D=Z2(),I=g5;g5=G.alternate!==null&&G.alternate.memoizedState.isDehydrated&&(G.flags&256)===0,H1($,G,X,Y,Z),g5=I,q&2048&&(X=null,G.alternate!==null&&(X=G.alternate.memoizedState.cache),Y=G.memoizedState.cache,Y!==X&&(b4(Y),X!=null&&rG(X))),$.passiveEffectDuration+=t8(D);break;case 12:if(q&2048){q=Z2(),H1($,G,X,Y,Z),$=G.stateNode,$.passiveEffectDuration+=tG(q);try{n(G,NQ,G,G.alternate,t2,$.passiveEffectDuration)}catch(S){c0(G,G.return,S)}}else H1($,G,X,Y,Z);break;case 31:q=g5,D=G.alternate!==null?G.alternate.memoizedState:null,I=G.memoizedState,D!==null&&I===null?(I=G.deletions,I!==null&&0<I.length&&I[0].tag===18?(g5=!1,D=D.hydrationErrors,D!==null&&CY(G,G.actualStartTime,Z,D)):g5=!0):g5=!1,H1($,G,X,Y,Z),g5=q;break;case 13:q=g5,D=G.alternate!==null?G.alternate.memoizedState:null,I=G.memoizedState,D===null||D.dehydrated===null||I!==null&&I.dehydrated!==null?g5=!1:(I=G.deletions,I!==null&&0<I.length&&I[0].tag===18?(g5=!1,D=D.hydrationErrors,D!==null&&CY(G,G.actualStartTime,Z,D)):g5=!0),H1($,G,X,Y,Z),g5=q;break;case 23:break;case 22:I=G.stateNode,D=G.alternate,G.memoizedState!==null?I._visibility&W2?H1($,G,X,Y,Z):_7($,G,X,Y,Z):I._visibility&W2?H1($,G,X,Y,Z):(I._visibility|=W2,g6($,G,X,Y,(G.subtreeFlags&10256)!==0||G.actualDuration!==0&&(G.alternate===null||G.alternate.child!==G.child),Z),(G.mode&O0)===w0||g5||($=G.actualStartTime,0<=$&&0.05<Z-$&&u8(G,$,Z),0<=U0&&0<=A0&&0.05<A0-U0&&u8(G,U0,A0))),q&2048&&cZ(D,G);break;case 24:H1($,G,X,Y,Z),q&2048&&sZ(G.alternate,G);break;default:H1($,G,X,Y,Z)}if((G.mode&O0)!==w0){if($=!g5&&G.alternate===null&&G.return!==null&&G.return.alternate!==null)X=G.actualStartTime,0<=X&&0.05<Z-X&&R1(G,X,Z,"Mount");0<=U0&&0<=A0&&((M5||0.05<w5)&&T1(G,U0,A0,w5,N5),$&&0.05<A0-U0&&R1(G,U0,A0,"Mount"))}E$(B),V1(H),N5=U,M5=_,a2=A}function g6($,G,X,Y,Z,B){Z=Z&&((G.subtreeFlags&10256)!==0||G.actualDuration!==0&&(G.alternate===null||G.alternate.child!==G.child));for(G=G.child;G!==null;){var H=G.sibling;FU($,G,X,Y,Z,H!==null?H.actualStartTime:B),G=H}}function FU($,G,X,Y,Z,B){var H=D$(),U=P1(),_=O1(),A=q1(),q=a2;Z&&(G.mode&O0)!==w0&&0<G.actualStartTime&&(G.flags&1)!==0&&p8(G,G.actualStartTime,B,g5,X);var D=G.flags;switch(G.tag){case 0:case 11:case 15:g6($,G,X,Y,Z,B),$U(G,z$);break;case 23:break;case 22:var I=G.stateNode;G.memoizedState!==null?I._visibility&W2?g6($,G,X,Y,Z,B):_7($,G,X,Y,B):(I._visibility|=W2,g6($,G,X,Y,Z,B)),Z&&D&2048&&cZ(G.alternate,G);break;case 24:g6($,G,X,Y,Z,B),Z&&D&2048&&sZ(G.alternate,G);break;default:g6($,G,X,Y,Z,B)}(G.mode&O0)!==w0&&0<=U0&&0<=A0&&(M5||0.05<w5)&&T1(G,U0,A0,w5,N5),E$(H),V1(U),N5=_,M5=A,a2=q}function _7($,G,X,Y,Z){if(G.subtreeFlags&10256||G.actualDuration!==0&&(G.alternate===null||G.alternate.child!==G.child))for(var B=G.child;B!==null;){G=B.sibling;var H=$,U=X,_=Y,A=G!==null?G.actualStartTime:Z,q=a2;(B.mode&O0)!==w0&&0<B.actualStartTime&&(B.flags&1)!==0&&p8(B,B.actualStartTime,A,g5,U);var D=B.flags;switch(B.tag){case 22:_7(H,B,U,_,A),D&2048&&cZ(B.alternate,B);break;case 24:_7(H,B,U,_,A),D&2048&&sZ(B.alternate,B);break;default:_7(H,B,U,_,A)}a2=q,B=G}}function b6($,G,X){if($.subtreeFlags&G8)for($=$.child;$!==null;)MU($,G,X),$=$.sibling}function MU($,G,X){switch($.tag){case 26:b6($,G,X),$.flags&G8&&$.memoizedState!==null&&YK(X,A1,$.memoizedState,$.memoizedProps);break;case 5:b6($,G,X);break;case 3:case 4:var Y=A1;A1=vX($.stateNode.containerInfo),b6($,G,X),A1=Y;break;case 22:$.memoizedState===null&&(Y=$.alternate,Y!==null&&Y.memoizedState!==null?(Y=G8,G8=16777216,b6($,G,X),G8=Y):b6($,G,X));break;default:b6($,G,X)}}function RU($){var G=$.alternate;if(G!==null&&($=G.child,$!==null)){G.child=null;do G=$.sibling,$.sibling=null,$=G;while($!==null)}}function N7($){var G=$.deletions;if(($.flags&16)!==0){if(G!==null)for(var X=0;X<G.length;X++){var Y=G[X],Z=D$();d5=Y,PU(Y,$),(Y.mode&O0)!==w0&&0<=U0&&0<=A0&&0.05<A0-U0&&R1(Y,U0,A0,"Unmount"),E$(Z)}RU($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)TU($),$=$.sibling}function TU($){var G=D$(),X=P1(),Y=O1(),Z=q1();switch($.tag){case 0:case 11:case 15:N7($),$.flags&2048&&dZ($,$.return,z$|r$);break;case 3:var B=Z2();N7($),$.stateNode.passiveEffectDuration+=t8(B);break;case 12:B=Z2(),N7($),$.stateNode.passiveEffectDuration+=tG(B);break;case 22:B=$.stateNode,$.memoizedState!==null&&B._visibility&W2&&($.return===null||$.return.tag!==13)?(B._visibility&=~W2,DX($),($.mode&O0)!==w0&&0<=U0&&0<=A0&&0.05<A0-U0&&R1($,U0,A0,"Disconnect")):N7($);break;default:N7($)}($.mode&O0)!==w0&&0<=U0&&0<=A0&&(M5||0.05<w5)&&T1($,U0,A0,w5,N5),E$(G),V1(X),M5=Z,N5=Y}function DX($){var G=$.deletions;if(($.flags&16)!==0){if(G!==null)for(var X=0;X<G.length;X++){var Y=G[X],Z=D$();d5=Y,PU(Y,$),(Y.mode&O0)!==w0&&0<=U0&&0<=A0&&0.05<A0-U0&&R1(Y,U0,A0,"Unmount"),E$(Z)}RU($)}for($=$.child;$!==null;)IU($),$=$.sibling}function IU($){var G=D$(),X=P1(),Y=O1(),Z=q1();switch($.tag){case 0:case 11:case 15:dZ($,$.return,z$),DX($);break;case 22:var B=$.stateNode;B._visibility&W2&&(B._visibility&=~W2,DX($));break;default:DX($)}($.mode&O0)!==w0&&0<=U0&&0<=A0&&(M5||0.05<w5)&&T1($,U0,A0,w5,N5),E$(G),V1(X),M5=Z,N5=Y}function PU($,G){for(;d5!==null;){var X=d5,Y=X,Z=G,B=D$(),H=P1(),U=O1(),_=q1();switch(Y.tag){case 0:case 11:case 15:dZ(Y,Z,z$);break;case 23:case 22:Y.memoizedState!==null&&Y.memoizedState.cachePool!==null&&(Z=Y.memoizedState.cachePool.pool,Z!=null&&b4(Z));break;case 24:rG(Y.memoizedState.cache)}if((Y.mode&O0)!==w0&&0<=U0&&0<=A0&&(M5||0.05<w5)&&T1(Y,U0,A0,w5,N5),E$(B),V1(H),M5=_,N5=U,Y=X.child,Y!==null)Y.return=X,d5=Y;else $:for(X=$;d5!==null;){if(Y=d5,B=Y.sibling,H=Y.return,UU(Y),Y===X){d5=null;break $}if(B!==null){B.return=H,d5=B;break $}d5=H}}}function QQ(){mF.forEach(function($){return $()})}function VU(){var $=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return $||g.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),$}function j$($){if((h0&b5)!==u5&&D0!==0)return D0&-D0;var G=g.T;return G!==null?(G._updatedFibers||(G._updatedFibers=new Set),G._updatedFibers.add($),$3()):C()}function OU(){if(R$===0)if((D0&536870912)===0||g0){var $=sX;sX<<=1,(sX&3932160)===0&&(sX=262144),R$=$}else R$=536870912;return $=b$.current,$!==null&&($.flags|=32),R$}function F5($,G,X){if(TG&&console.error("useInsertionEffect must not schedule updates."),gB&&(x9=!0),$===X5&&(n0===X6||n0===Y6)||$.cancelPendingCommit!==null)f6($,0),y2($,D0,R$,!1);if(E2($,X),(h0&b5)!==u5&&$===X5){if(m1)switch(G.tag){case 0:case 11:case 15:$=C0&&p(C0)||"Unknown",tN.has($)||(tN.add($),G=p(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,$,$));break;case 1:rN||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),rN=!0)}}else h1&&yG($,G,X),qQ(G),$===X5&&((h0&b5)===u5&&(H4|=X),Q5===Z4&&y2($,D0,R$,!1)),k1($)}function qU($,G,X){if((h0&(b5|f$))!==u5)throw Error("Should not already be working.");if(D0!==0&&C0!==null){var Y=C0,Z=h5();switch(l_){case Z8:case X6:var B=d7;z5&&((Y=Y._debugTask)?Y.run(console.timeStamp.bind(console,"Suspended",B,Z,p$,void 0,"primary-light")):console.timeStamp("Suspended",B,Z,p$,void 0,"primary-light"));break;case Y6:B=d7,z5&&((Y=Y._debugTask)?Y.run(console.timeStamp.bind(console,"Action",B,Z,p$,void 0,"primary-light")):console.timeStamp("Action",B,Z,p$,void 0,"primary-light"));break;default:z5&&(Y=Z-d7,3>Y||console.timeStamp("Blocked",d7,Z,p$,void 0,5>Y?"primary-light":10>Y?"primary":100>Y?"primary-dark":"error"))}}B=(X=!X&&(G&127)===0&&(G&$.expiredLanes)===0||P4($,G))?FQ($,G):aZ($,G,!0);var H=X;do{if(B===T2){MG&&!X&&y2($,G,0,!1),G=n0,d7=E5(),l_=G;break}else{if(Y=h5(),Z=$.current.alternate,H&&!KQ(Z)){O$(G),Z=y5,B=Y,!z5||B<=Z||(I5?I5.run(console.timeStamp.bind(console,"Teared Render",Z,B,v0,k0,"error")):console.timeStamp("Teared Render",Z,B,v0,k0,"error")),u4(G,Y),B=aZ($,G,!1),H=!1;continue}if(B===G6){if(H=G,$.errorRecoveryDisabledLanes&H)var U=0;else U=$.pendingLanes&-536870913,U=U!==0?U:U&536870912?536870912:0;if(U!==0){O$(G),jY(y5,Y,G,I5),u4(G,Y),G=U;$:{Y=$,B=H,H=J8;var _=Y.current.memoizedState.isDehydrated;if(_&&(f6(Y,U).flags|=256),U=aZ(Y,U,!1),U!==G6){if(DB&&!_){Y.errorRecoveryDisabledLanes|=B,H4|=B,B=Z4;break $}Y=U$,U$=H,Y!==null&&(U$===null?U$=Y:U$.push.apply(U$,Y))}B=U}if(H=!1,B!==G6)continue;else Y=h5()}}if(B===Y8){O$(G),jY(y5,Y,G,I5),u4(G,Y),f6($,0),y2($,G,0,!0);break}$:{switch(X=$,B){case T2:case Y8:throw Error("Root did not complete. This is a bug in React.");case Z4:if((G&4194048)!==G)break;case P9:O$(G),qH(y5,Y,G,I5),u4(G,Y),Z=G,(Z&127)!==0?z9=Y:(Z&4194048)!==0&&(U9=Y),y2(X,G,R$,!B4);break $;case G6:U$=null;break;case I9:case fN:break;default:throw Error("Unknown root exit status.")}if(g.actQueue!==null)nZ(X,Z,G,U$,H8,q9,R$,H4,Z6,B,null,null,y5,Y);else{if((G&62914560)===G&&(H=D9+dN-h5(),10<H)){if(y2(X,G,R$,!B4),I4(X,0,!0)!==0)break $;L1=G,X.timeoutHandle=JA(DU.bind(null,X,Z,U$,H8,q9,G,R$,H4,Z6,B4,B,"Throttled",y5,Y),H);break $}DU(X,Z,U$,H8,q9,G,R$,H4,Z6,B4,B,null,y5,Y)}}}break}while(1);k1($)}function DU($,G,X,Y,Z,B,H,U,_,A,q,D,I,S){$.timeoutHandle=U6;var c=G.subtreeFlags,a=null;if(c&8192||(c&16785408)===16785408){if(a={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:$2},MU(G,B,a),c=(B&62914560)===B?D9-h5():(B&4194048)===B?yN-h5():0,c=ZK(a,c),c!==null){L1=B,$.cancelPendingCommit=c(nZ.bind(null,$,G,B,X,Y,Z,H,U,_,q,a,a.waitingForViewTransition?"Waiting for the previous Animation":0<a.count?0<a.imgCount?"Suspended on CSS and Images":"Suspended on CSS":a.imgCount===1?"Suspended on an Image":0<a.imgCount?"Suspended on Images":null,I,S)),y2($,B,H,!A);return}}nZ($,G,B,X,Y,Z,H,U,_,q,a,D,I,S)}function KQ($){for(var G=$;;){var X=G.tag;if((X===0||X===11||X===15)&&G.flags&16384&&(X=G.updateQueue,X!==null&&(X=X.stores,X!==null)))for(var Y=0;Y<X.length;Y++){var Z=X[Y],B=Z.getSnapshot;Z=Z.value;try{if(!B$(B(),Z))return!1}catch(H){return!1}}if(X=G.child,G.subtreeFlags&16384&&X!==null)X.return=G,G=X;else{if(G===$)break;for(;G.sibling===null;){if(G.return===null||G.return===$)return!0;G=G.return}G.sibling.return=G.return,G=G.sibling}}return!0}function y2($,G,X,Y){G&=~EB,G&=~H4,$.suspendedLanes|=G,$.pingedLanes&=~G,Y&&($.warmLanes|=G),Y=$.expirationTimes;for(var Z=G;0<Z;){var B=31-X$(Z),H=1<<B;Y[B]=-1,Z&=~H}X!==0&&V4($,X,G)}function m6(){return(h0&(b5|f$))===u5?(w7(0,!1),!1):!0}function iZ(){if(C0!==null){if(n0===M$)var $=C0.return;else $=C0,n8(),ZZ($),WG=null,o7=0,$=C0;for(;$!==null;)tz($.alternate,$),$=$.return;C0=null}}function u4($,G){($&127)!==0&&(e2=G),($&4194048)!==0&&(l1=G),($&62914560)!==0&&(u_=G),($&2080374784)!==0&&(p_=G)}function f6($,G){z5&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",k0,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",k0,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",k0,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",k0,"primary-light"));var X=y5;if(y5=E5(),D0!==0&&0<X){if(O$(D0),Q5===I9||Q5===Z4)qH(X,y5,G,I5);else{var Y=y5,Z=I5;if(z5&&!(Y<=X)){var B=(G&738197653)===G?"tertiary-dark":"primary-dark",H=(G&536870912)===G?"Prewarm":(G&201326741)===G?"Interrupted Hydration":"Interrupted Render";Z?Z.run(console.timeStamp.bind(console,H,X,Y,v0,k0,B)):console.timeStamp(H,X,Y,v0,k0,B)}}u4(D0,y5)}if(X=I5,I5=null,(G&127)!==0){I5=f7,Z=0<=p1&&p1<e2?e2:p1,Y=0<=i4&&i4<e2?e2:i4,B=0<=Y?Y:0<=Z?Z:y5,0<=z9?(O$(2),DH(z9,B,G,X)):(W9&127)!==0&&(O$(2),nG(e2,B,Q2)),X=Z;var U=Y,_=h7,A=0<HG,q=$4===m7,D=$4===H9;if(Z=y5,Y=f7,B=JB,H=HB,z5){if(v0="Blocking",0<X?X>Z&&(X=Z):X=Z,0<U?U>X&&(U=X):U=X,_!==null&&X>U){var I=A?"secondary-light":"warning";Y?Y.run(console.timeStamp.bind(console,A?"Consecutive":"Event: "+_,U,X,v0,k0,I)):console.timeStamp(A?"Consecutive":"Event: "+_,U,X,v0,k0,I)}Z>X&&(U=q?"error":(G&738197653)===G?"tertiary-light":"primary-light",q=D?"Promise Resolved":q?"Cascading Update":5<Z-X?"Update Blocked":"Update",D=[],H!=null&&D.push(["Component name",H]),B!=null&&D.push(["Method name",B]),X={start:X,end:Z,detail:{devtools:{properties:D,track:v0,trackGroup:k0,color:U}}},Y?Y.run(performance.measure.bind(performance,q,X)):performance.measure(q,X))}p1=-1.1,$4=0,HB=JB=null,z9=-1.1,HG=i4,i4=-1.1,e2=E5()}if((G&4194048)!==0&&(I5=y7,Z=0<=w2&&w2<l1?l1:w2,X=0<=n$&&n$<l1?l1:n$,Y=0<=G4&&G4<l1?l1:G4,B=0<=Y?Y:0<=X?X:y5,0<=U9?(O$(256),DH(U9,B,G,I5)):(W9&4194048)!==0&&(O$(256),nG(l1,B,Q2)),D=Y,U=a4,_=0<X4,A=zB===H9,B=y5,Y=y7,H=y_,q=d_,z5&&(v0="Transition",0<X?X>B&&(X=B):X=B,0<Z?Z>X&&(Z=X):Z=X,0<D?D>Z&&(D=Z):D=Z,Z>D&&U!==null&&(I=_?"secondary-light":"warning",Y?Y.run(console.timeStamp.bind(console,_?"Consecutive":"Event: "+U,D,Z,v0,k0,I)):console.timeStamp(_?"Consecutive":"Event: "+U,D,Z,v0,k0,I)),X>Z&&(Y?Y.run(console.timeStamp.bind(console,"Action",Z,X,v0,k0,"primary-dark")):console.timeStamp("Action",Z,X,v0,k0,"primary-dark")),B>X&&(Z=A?"Promise Resolved":5<B-X?"Update Blocked":"Update",D=[],q!=null&&D.push(["Component name",q]),H!=null&&D.push(["Method name",H]),X={start:X,end:B,detail:{devtools:{properties:D,track:v0,trackGroup:k0,color:"primary-light"}}},Y?Y.run(performance.measure.bind(performance,Z,X)):performance.measure(Z,X))),n$=w2=-1.1,zB=0,U9=-1.1,X4=G4,G4=-1.1,l1=E5()),(G&62914560)!==0&&(W9&62914560)!==0&&(O$(4194304),nG(u_,y5,Q2)),(G&2080374784)!==0&&(W9&2080374784)!==0&&(O$(268435456),nG(p_,y5,Q2)),X=$.timeoutHandle,X!==U6&&($.timeoutHandle=U6,oF(X)),X=$.cancelPendingCommit,X!==null&&($.cancelPendingCommit=null,X()),L1=0,iZ(),X5=$,C0=X=G2($.current,null),D0=G,n0=M$,h$=null,B4=!1,MG=P4($,G),DB=!1,Q5=T2,Z6=R$=EB=H4=J4=0,U$=J8=null,q9=!1,(G&8)!==0&&(G|=G&32),Y=$.entangledLanes,Y!==0)for($=$.entanglements,Y&=G;0<Y;)Z=31-X$(Y),B=1<<Z,G|=$[Z],Y&=~B;return s1=G,l8(),$=v_(),1000<$-k_&&(g.recentlyCreatedOwnerStacks=0,k_=$),_1.discardPendingWarnings(),X}function EU($,G){K0=null,g.H=$8,g.getCurrentStack=null,m1=!1,k$=null,G===UG||G===L9?(G=nH(),n0=Z8):G===NB?(G=nH(),n0=hN):n0=G===IB?qB:G!==null&&typeof G==="object"&&typeof G.then==="function"?B8:V9,h$=G;var X=C0;X===null?(Q5=Y8,RX($,q$(G,$.current))):X.mode&O0&&cY(X)}function CU(){var $=b$.current;return $===null?!0:(D0&4194048)===D0?o$===null?!0:!1:(D0&62914560)===D0||(D0&536870912)!==0?$===o$:!1}function jU(){var $=g.H;return g.H=$8,$===null?$8:$}function xU(){var $=g.A;return g.A=bF,$}function EX($){I5===null&&(I5=$._debugTask==null?null:$._debugTask)}function CX(){Q5=Z4,B4||(D0&4194048)!==D0&&b$.current!==null||(MG=!0),(J4&134217727)===0&&(H4&134217727)===0||X5===null||y2(X5,D0,R$,!1)}function aZ($,G,X){var Y=h0;h0|=b5;var Z=jU(),B=xU();if(X5!==$||D0!==G){if(h1){var H=$.memoizedUpdaters;0<H.size&&(L7($,D0),H.clear()),C2($,G)}H8=null,f6($,G)}G=!1,H=Q5;$:do try{if(n0!==M$&&C0!==null){var U=C0,_=h$;switch(n0){case qB:iZ(),H=P9;break $;case Z8:case X6:case Y6:case B8:b$.current===null&&(G=!0);var A=n0;if(n0=M$,h$=null,h6($,U,_,A),X&&MG){H=T2;break $}break;default:A=n0,n0=M$,h$=null,h6($,U,_,A)}}SU(),H=Q5;break}catch(q){EU($,q)}while(1);return G&&$.shellSuspendCounter++,n8(),h0=Y,g.H=Z,g.A=B,C0===null&&(X5=null,D0=0,l8()),H}function SU(){for(;C0!==null;)kU(C0)}function FQ($,G){var X=h0;h0|=b5;var Y=jU(),Z=xU();if(X5!==$||D0!==G){if(h1){var B=$.memoizedUpdaters;0<B.size&&(L7($,D0),B.clear()),C2($,G)}H8=null,E9=h5()+uN,f6($,G)}else MG=P4($,G);$:do try{if(n0!==M$&&C0!==null)G:switch(G=C0,B=h$,n0){case V9:n0=M$,h$=null,h6($,G,B,V9);break;case X6:case Y6:if(iH(B)){n0=M$,h$=null,vU(G);break}G=function(){n0!==X6&&n0!==Y6||X5!==$||(n0=O9),k1($)},B.then(G,G);break $;case Z8:n0=O9;break $;case hN:n0=OB;break $;case O9:iH(B)?(n0=M$,h$=null,vU(G)):(n0=M$,h$=null,h6($,G,B,O9));break;case OB:var H=null;switch(C0.tag){case 26:H=C0.memoizedState;case 5:case 27:var U=C0;if(H?qW(H):U.stateNode.complete){n0=M$,h$=null;var _=U.sibling;if(_!==null)C0=_;else{var A=U.return;A!==null?(C0=A,jX(A)):C0=null}break G}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}n0=M$,h$=null,h6($,G,B,OB);break;case B8:n0=M$,h$=null,h6($,G,B,B8);break;case qB:iZ(),Q5=P9;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}g.actQueue!==null?SU():MQ();break}catch(q){EU($,q)}while(1);if(n8(),g.H=Y,g.A=Z,h0=X,C0!==null)return T2;return X5=null,D0=0,l8(),Q5}function MQ(){for(;C0!==null&&!KK();)kU(C0)}function kU($){var G=$.alternate;($.mode&O0)!==w0?(lY($),G=n($,fZ,G,$,s1),cY($)):G=n($,fZ,G,$,s1),$.memoizedProps=$.pendingProps,G===null?jX($):C0=G}function vU($){var G=n($,RQ,$);$.memoizedProps=$.pendingProps,G===null?jX($):C0=G}function RQ($){var G=$.alternate,X=($.mode&O0)!==w0;switch(X&&lY($),$.tag){case 15:case 0:G=cz(G,$,$.pendingProps,$.type,void 0,D0);break;case 11:G=cz(G,$,$.pendingProps,$.type.render,$.ref,D0);break;case 5:ZZ($);default:tz(G,$),$=C0=kH($,s1),G=fZ(G,$,s1)}return X&&cY($),G}function h6($,G,X,Y){n8(),ZZ(G),WG=null,o7=0;var Z=G.return;try{if(ZQ($,Z,G,X,D0)){Q5=Y8,RX($,q$(X,$.current)),C0=null;return}}catch(B){if(Z!==null)throw C0=Z,B;Q5=Y8,RX($,q$(X,$.current)),C0=null;return}if(G.flags&32768){if(g0||Y===V9)$=!0;else if(MG||(D0&536870912)!==0)$=!1;else if(B4=$=!0,Y===X6||Y===Y6||Y===Z8||Y===B8)Y=b$.current,Y!==null&&Y.tag===13&&(Y.flags|=16384);gU(G,$)}else jX(G)}function jX($){var G=$;do{if((G.flags&32768)!==0){gU(G,B4);return}var X=G.alternate;if($=G.return,lY(G),X=n(G,HQ,X,G,s1),(G.mode&O0)!==w0&&uH(G),X!==null){C0=X;return}if(G=G.sibling,G!==null){C0=G;return}C0=G=$}while(G!==null);Q5===T2&&(Q5=fN)}function gU($,G){do{var X=zQ($.alternate,$);if(X!==null){X.flags&=32767,C0=X;return}if(($.mode&O0)!==w0){uH($),X=$.actualDuration;for(var Y=$.child;Y!==null;)X+=Y.actualDuration,Y=Y.sibling;$.actualDuration=X}if(X=$.return,X!==null&&(X.flags|=32768,X.subtreeFlags=0,X.deletions=null),!G&&($=$.sibling,$!==null)){C0=$;return}C0=$=X}while($!==null);Q5=P9,C0=null}function nZ($,G,X,Y,Z,B,H,U,_,A,q,D,I,S){$.cancelPendingCommit=null;do A7();while(k5!==U4);if(_1.flushLegacyContextWarning(),_1.flushPendingUnsafeLifecycleWarnings(),(h0&(b5|f$))!==u5)throw Error("Should not already be working.");if(O$(X),A===G6?jY(I,S,X,I5):Y!==null?cw(I,S,X,Y,G!==null&&G.alternate!==null&&G.alternate.memoizedState.isDehydrated&&(G.flags&256)!==0,I5):lw(I,S,X,I5),G!==null){if(X===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),G===$.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(B=G.lanes|G.childLanes,B|=GB,k8($,X,B,H,U,_),$===X5&&(C0=X5=null,D0=0),RG=G,W4=$,L1=X,xB=B,kB=Z,aN=Y,SB=S,nN=D,w1=C9,oN=null,G.actualDuration!==0||(G.subtreeFlags&10256)!==0||(G.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,OQ(c6,function(){return A8=window.event,w1===C9&&(w1=jB),yU(),null})):($.callbackNode=null,$.callbackPriority=0),L2=null,t2=E5(),D!==null&&sw(S,t2,D,I5),Y=(G.flags&13878)!==0,(G.subtreeFlags&13878)!==0||Y){Y=g.T,g.T=null,Z=s0.p,s0.p=v$,H=h0,h0|=f$;try{LQ($,G,X)}finally{h0=H,s0.p=Z,g.T=Y}}k5=lN,bU(),mU(),fU()}}function bU(){if(k5===lN){k5=U4;var $=W4,G=RG,X=L1,Y=(G.flags&13878)!==0;if((G.subtreeFlags&13878)!==0||Y){Y=g.T,g.T=null;var Z=s0.p;s0.p=v$;var B=h0;h0|=f$;try{KG=X,FG=$,e8(),AU(G,$),FG=KG=null,X=lB;var H=PH($.containerInfo),U=X.focusedElem,_=X.selectionRange;if(H!==U&&U&&U.ownerDocument&&IH(U.ownerDocument.documentElement,U)){if(_!==null&&DY(U)){var{start:A,end:q}=_;if(q===void 0&&(q=A),"selectionStart"in U)U.selectionStart=A,U.selectionEnd=Math.min(q,U.value.length);else{var D=U.ownerDocument||document,I=D&&D.defaultView||window;if(I.getSelection){var S=I.getSelection(),c=U.textContent.length,a=Math.min(_.start,c),J5=_.end===void 0?a:Math.min(_.end,c);!S.extend&&a>J5&&(H=J5,J5=a,a=H);var m0=TH(U,a),T=TH(U,J5);if(m0&&T&&(S.rangeCount!==1||S.anchorNode!==m0.node||S.anchorOffset!==m0.offset||S.focusNode!==T.node||S.focusOffset!==T.offset)){var P=D.createRange();P.setStart(m0.node,m0.offset),S.removeAllRanges(),a>J5?(S.addRange(P),S.extend(T.node,T.offset)):(P.setEnd(T.node,T.offset),S.addRange(P))}}}}D=[];for(S=U;S=S.parentNode;)S.nodeType===1&&D.push({element:S,left:S.scrollLeft,top:S.scrollTop});typeof U.focus==="function"&&U.focus();for(U=0;U<D.length;U++){var O=D[U];O.element.scrollLeft=O.left,O.element.scrollTop=O.top}}c9=!!pB,lB=pB=null}finally{h0=B,s0.p=Z,g.T=Y}}$.current=G,k5=cN}}function mU(){if(k5===cN){k5=U4;var $=oN;if($!==null){t2=E5();var G=A2,X=t2;!z5||X<=G||(Q2?Q2.run(console.timeStamp.bind(console,$,G,X,v0,k0,"secondary-light")):console.timeStamp($,G,X,v0,k0,"secondary-light"))}$=W4,G=RG,X=L1;var Y=(G.flags&8772)!==0;if((G.subtreeFlags&8772)!==0||Y){Y=g.T,g.T=null;var Z=s0.p;s0.p=v$;var B=h0;h0|=f$;try{KG=X,FG=$,e8(),zU($,G.alternate,G),FG=KG=null}finally{h0=B,s0.p=Z,g.T=Y}}$=SB,G=nN,A2=E5(),$=G===null?$:t2,G=A2,X=w1===CB,Y=I5,L2!==null?EH($,G,L2,!1,Y):!z5||G<=$||(Y?Y.run(console.timeStamp.bind(console,X?"Commit Interrupted View Transition":"Commit",$,G,v0,k0,X?"error":"secondary-dark")):console.timeStamp(X?"Commit Interrupted View Transition":"Commit",$,G,v0,k0,X?"error":"secondary-dark")),k5=sN}}function fU(){if(k5===iN||k5===sN){if(k5===iN){var $=A2;A2=E5();var G=A2,X=w1===CB;!z5||G<=$||(Q2?Q2.run(console.timeStamp.bind(console,X?"Interrupted View Transition":"Starting Animation",$,G,v0,k0,X?"error":"secondary-light")):console.timeStamp(X?"Interrupted View Transition":"Starting Animation",$,G,v0,k0,X?" error":"secondary-light")),w1!==CB&&(w1=pN)}k5=U4,FK(),$=W4;var Y=RG;G=L1,X=aN;var Z=Y.actualDuration!==0||(Y.subtreeFlags&10256)!==0||(Y.flags&10256)!==0;Z?k5=j9:(k5=U4,RG=W4=null,hU($,$.pendingLanes),B6=0,U8=null);var B=$.pendingLanes;if(B===0&&(z4=null),Z||lU($),B=w(G),Y=Y.stateNode,r5&&typeof r5.onCommitFiberRoot==="function")try{var H=(Y.current.flags&128)===128;switch(B){case v$:var U=k3;break;case U1:U=v3;break;case y1:U=c6;break;case aX:U=g3;break;default:U=c6}r5.onCommitFiberRoot(s6,Y,U,H)}catch(D){f1||(f1=!0,console.error("React instrumentation encountered an error: %o",D))}if(h1&&$.memoizedUpdaters.clear(),QQ(),X!==null){H=g.T,U=s0.p,s0.p=v$,g.T=null;try{var _=$.onRecoverableError;for(Y=0;Y<X.length;Y++){var A=X[Y],q=TQ(A.stack);n(A.source,_,A.value,q)}}finally{g.T=H,s0.p=U}}(L1&3)!==0&&A7(),k1($),B=$.pendingLanes,(G&261930)!==0&&(B&42)!==0?(N9=!0,$===vB?z8++:(z8=0,vB=$)):z8=0,Z||u4(G,A2),w7(0,!1)}}function TQ($){return $={componentStack:$},Object.defineProperty($,"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.')}}),$}function hU($,G){($.pooledCacheLanes&=G)===0&&(G=$.pooledCache,G!=null&&($.pooledCache=null,rG(G)))}function A7(){return bU(),mU(),fU(),yU()}function yU(){if(k5!==j9)return!1;var $=W4,G=xB;xB=0;var X=w(L1),Y=y1===0||y1>X?y1:X;X=g.T;var Z=s0.p;try{s0.p=Y,g.T=null;var B=kB;kB=null,Y=W4;var H=L1;if(k5=U4,RG=W4=null,L1=0,(h0&(b5|f$))!==u5)throw Error("Cannot flush passive effects while already rendering.");O$(H),gB=!0,x9=!1;var U=0;if(L2=null,U=h5(),w1===pN)nG(A2,U,Q2);else{var _=A2,A=U,q=w1===jB;!z5||A<=_||(I5?I5.run(console.timeStamp.bind(console,q?"Waiting for Paint":"Waiting",_,A,v0,k0,"secondary-light")):console.timeStamp(q?"Waiting for Paint":"Waiting",_,A,v0,k0,"secondary-light"))}_=h0,h0|=f$;var D=Y.current;e8(),TU(D);var I=Y.current;D=SB,e8(),KU(Y,I,H,B,D),lU(Y),h0=_;var S=h5();if(I=U,D=I5,L2!==null?EH(I,S,L2,!0,D):!z5||S<=I||(D?D.run(console.timeStamp.bind(console,"Remaining Effects",I,S,v0,k0,"secondary-dark")):console.timeStamp("Remaining Effects",I,S,v0,k0,"secondary-dark")),u4(H,S),w7(0,!1),x9?Y===U8?B6++:(B6=0,U8=Y):B6=0,x9=gB=!1,r5&&typeof r5.onPostCommitFiberRoot==="function")try{r5.onPostCommitFiberRoot(s6,Y)}catch(a){f1||(f1=!0,console.error("React instrumentation encountered an error: %o",a))}var c=Y.current.stateNode;return c.effectDuration=0,c.passiveEffectDuration=0,!0}finally{s0.p=Z,g.T=X,hU($,G)}}function dU($,G,X){G=q$(X,G),pH(G),G=DZ($.stateNode,G,2),$=b2($,G,2),$!==null&&(E2($,2),k1($))}function c0($,G,X){if(TG=!1,$.tag===3)dU($,$,X);else{for(;G!==null;){if(G.tag===3){dU(G,$,X);return}if(G.tag===1){var Y=G.stateNode;if(typeof G.type.getDerivedStateFromError==="function"||typeof Y.componentDidCatch==="function"&&(z4===null||!z4.has(Y))){$=q$(X,$),pH($),X=EZ(2),Y=b2(G,X,2),Y!==null&&(CZ(X,Y,G,$),E2(Y,2),k1(Y));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.
Error message:
%s`,X)}}function oZ($,G,X){var Y=$.pingCache;if(Y===null){Y=$.pingCache=new fF;var Z=new Set;Y.set(G,Z)}else Z=Y.get(G),Z===void 0&&(Z=new Set,Y.set(G,Z));Z.has(X)||(DB=!0,Z.add(X),Y=IQ.bind(null,$,G,X),h1&&L7($,X),G.then(Y,Y))}function IQ($,G,X){var Y=$.pingCache;Y!==null&&Y.delete(G),$.pingedLanes|=$.suspendedLanes&X,$.warmLanes&=~X,(X&127)!==0?0>p1&&(e2=p1=E5(),f7=J9("Promise Resolved"),$4=H9):(X&4194048)!==0&&0>n$&&(l1=n$=E5(),y7=J9("Promise Resolved"),zB=H9),VU()&&g.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
When testing, code that resolves suspended data should be wrapped into act(...):
act(() => {
/* finish loading suspended data */
});
/* assert on the output */
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`),X5===$&&(D0&X)===X&&(Q5===Z4||Q5===I9&&(D0&62914560)===D0&&h5()-D9<dN?(h0&b5)===u5&&f6($,0):EB|=X,Z6===D0&&(Z6=0)),k1($)}function uU($,G){G===0&&(G=P6()),$=o5($,G),$!==null&&(E2($,G),k1($))}function PQ($){var G=$.memoizedState,X=0;G!==null&&(X=G.retryLane),uU($,X)}function VQ($,G){var X=0;switch($.tag){case 31:case 13:var{stateNode:Y,memoizedState:Z}=$;Z!==null&&(X=Z.retryLane);break;case 19:Y=$.stateNode;break;case 22:Y=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}Y!==null&&Y.delete(G),uU($,X)}function rZ($,G,X){if((G.subtreeFlags&67117056)!==0)for(G=G.child;G!==null;){var Y=$,Z=G,B=Z.type===uX;B=X||B,Z.tag!==22?Z.flags&67108864?B&&n(Z,pU,Y,Z):rZ(Y,Z,B):Z.memoizedState===null&&(B&&Z.flags&8192?n(Z,pU,Y,Z):Z.subtreeFlags&67108864&&n(Z,rZ,Y,Z,B)),G=G.sibling}}function pU($,G){Z5(!0);try{wU(G),IU(G),QU($,G.alternate,G,!1),FU($,G,0,null,!1,0)}finally{Z5(!1)}}function lU($){var G=!0;$.current.mode&(t5|W1)||(G=!1),rZ($,$.current,G)}function cU($){if((h0&b5)===u5){var G=$.tag;if(G===3||G===1||G===0||G===11||G===14||G===15){if(G=p($)||"ReactComponent",S9!==null){if(S9.has(G))return;S9.add(G)}else S9=new Set([G]);n($,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 L7($,G){h1&&$.memoizedUpdaters.forEach(function(X){yG($,X,G)})}function OQ($,G){var X=g.actQueue;return X!==null?(X.push(G),dF):S3($,G)}function qQ($){VU()&&g.actQueue===null&&n($,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
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`,p($))})}function k1($){$!==IG&&$.next===null&&(IG===null?k9=IG=$:IG=IG.next=$),v9=!0,g.actQueue!==null?mB||(mB=!0,nU()):bB||(bB=!0,nU())}function w7($,G){if(!fB&&v9){fB=!0;do{var X=!1;for(var Y=k9;Y!==null;){if(!G)if($!==0){var Z=Y.pendingLanes;if(Z===0)var B=0;else{var{suspendedLanes:H,pingedLanes:U}=Y;B=(1<<31-X$(42|$)+1)-1,B&=Z&~(H&~U),B=B&201326741?B&201326741|1:B?B|2:0}B!==0&&(X=!0,aU(Y,B))}else B=D0,B=I4(Y,Y===X5?B:0,Y.cancelPendingCommit!==null||Y.timeoutHandle!==U6),(B&3)===0||P4(Y,B)||(X=!0,aU(Y,B));Y=Y.next}}while(X);fB=!1}}function DQ(){A8=window.event,tZ()}function tZ(){v9=mB=bB=!1;var $=0;_4!==0&&vQ()&&($=_4);for(var G=h5(),X=null,Y=k9;Y!==null;){var Z=Y.next,B=sU(Y,G);if(B===0)Y.next=null,X===null?k9=Z:X.next=Z,Z===null&&(IG=X);else if(X=Y,$!==0||(B&3)!==0)v9=!0;Y=Z}k5!==U4&&k5!==j9||w7($,!1),_4!==0&&(_4=0)}function sU($,G){for(var{suspendedLanes:X,pingedLanes:Y,expirationTimes:Z}=$,B=$.pendingLanes&-62914561;0<B;){var H=31-X$(B),U=1<<H,_=Z[H];if(_===-1){if((U&X)===0||(U&Y)!==0)Z[H]=QY(U,G)}else _<=G&&($.expiredLanes|=U);B&=~U}if(G=X5,X=D0,X=I4($,$===G?X:0,$.cancelPendingCommit!==null||$.timeoutHandle!==U6),Y=$.callbackNode,X===0||$===G&&(n0===X6||n0===Y6)||$.cancelPendingCommit!==null)return Y!==null&&eZ(Y),$.callbackNode=null,$.callbackPriority=0;if((X&3)===0||P4($,X)){if(G=X&-X,G!==$.callbackPriority||g.actQueue!==null&&Y!==hB)eZ(Y);else return G;switch(w(X)){case v$:case U1:X=v3;break;case y1:X=c6;break;case aX:X=g3;break;default:X=c6}return Y=iU.bind(null,$),g.actQueue!==null?(g.actQueue.push(Y),X=hB):X=S3(X,Y),$.callbackPriority=G,$.callbackNode=X,G}return Y!==null&&eZ(Y),$.callbackPriority=2,$.callbackNode=null,2}function iU($,G){if(N9=_9=!1,A8=window.event,k5!==U4&&k5!==j9)return $.callbackNode=null,$.callbackPriority=0,null;var X=$.callbackNode;if(w1===C9&&(w1=jB),A7()&&$.callbackNode!==X)return null;var Y=D0;if(Y=I4($,$===X5?Y:0,$.cancelPendingCommit!==null||$.timeoutHandle!==U6),Y===0)return null;return qU($,Y,G),sU($,h5()),$.callbackNode!=null&&$.callbackNode===X?iU.bind(null,$):null}function aU($,G){if(A7())return null;_9=N9,N9=!1,qU($,G,!0)}function eZ($){$!==hB&&$!==null&&QK($)}function nU(){g.actQueue!==null&&g.actQueue.push(function(){return tZ(),null}),rF(function(){(h0&(b5|f$))!==u5?S3(k3,DQ):tZ()})}function $3(){if(_4===0){var $=n4;$===0&&($=cX,cX<<=1,(cX&261888)===0&&(cX=256)),_4=$}return _4}function oU($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return r0($,"action"),sG(""+$)}function rU($,G){var X=G.ownerDocument.createElement("input");return X.name=G.name,X.value=G.value,$.id&&X.setAttribute("form",$.id),G.parentNode.insertBefore(X,G),$=new FormData($),X.parentNode.removeChild(X),$}function EQ($,G,X,Y,Z){if(G==="submit"&&X&&X.stateNode===Z){var B=oU((Z[Y$]||null).action),H=Y.submitter;H&&(G=(G=H[Y$]||null)?oU(G.formAction):H.getAttribute("formAction"),G!==null&&(B=G,H=null));var U=new eX("action","action",null,Y,Z);$.push({event:U,listeners:[{instance:null,listener:function(){if(Y.defaultPrevented){if(_4!==0){var _=H?rU(Z,H):new FormData(Z),A={pending:!0,data:_,method:Z.method,action:B};Object.freeze(A),RZ(X,A,null,_)}}else typeof B==="function"&&(U.preventDefault(),_=H?rU(Z,H):new FormData(Z),A={pending:!0,data:_,method:Z.method,action:B},Object.freeze(A),RZ(X,A,B,_))},currentTarget:Z}]})}}function xX($,G,X){$.currentTarget=X;try{G($)}catch(Y){r3(Y)}$.currentTarget=null}function tU($,G){G=(G&4)!==0;for(var X=0;X<$.length;X++){var Y=$[X];$:{var Z=void 0,B=Y.event;if(Y=Y.listeners,G)for(var H=Y.length-1;0<=H;H--){var U=Y[H],_=U.instance,A=U.currentTarget;if(U=U.listener,_!==Z&&B.isPropagationStopped())break $;_!==null?n(_,xX,B,U,A):xX(B,U,A),Z=_}else for(H=0;H<Y.length;H++){if(U=Y[H],_=U.instance,A=U.currentTarget,U=U.listener,_!==Z&&B.isPropagationStopped())break $;_!==null?n(_,xX,B,U,A):xX(B,U,A),Z=_}}}}function b0($,G){yB.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var X=G[b3];X===void 0&&(X=G[b3]=new Set);var Y=$+"__bubble";X.has(Y)||(eU(G,$,2,!1),X.add(Y))}function G3($,G,X){yB.has($)&&!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.',$);var Y=0;G&&(Y|=4),eU(X,$,Y,G)}function X3($){if(!$[g9]){$[g9]=!0,nW.forEach(function(X){X!=="selectionchange"&&(yB.has(X)||G3(X,!1,$),G3(X,!0,$))});var G=$.nodeType===9?$:$.ownerDocument;G===null||G[g9]||(G[g9]=!0,G3("selectionchange",!1,G))}}function eU($,G,X,Y){switch(SW(G)){case v$:var Z=zK;break;case U1:Z=UK;break;default:Z=F3}X=Z.bind(null,G,X,$),Z=void 0,!d3||G!=="touchstart"&&G!=="touchmove"&&G!=="wheel"||(Z=!0),Y?Z!==void 0?$.addEventListener(G,X,{capture:!0,passive:Z}):$.addEventListener(G,X,!0):Z!==void 0?$.addEventListener(G,X,{passive:Z}):$.addEventListener(G,X,!1)}function Y3($,G,X,Y,Z){var B=Y;if((G&1)===0&&(G&2)===0&&Y!==null)$:for(;;){if(Y===null)return;var H=Y.tag;if(H===3||H===4){var U=Y.stateNode.containerInfo;if(U===Z)break;if(H===4)for(H=Y.return;H!==null;){var _=H.tag;if((_===3||_===4)&&H.stateNode.containerInfo===Z)return;H=H.return}for(;U!==null;){if(H=$0(U),H===null)return;if(_=H.tag,_===5||_===6||_===26||_===27){Y=B=H;continue $}U=U.parentNode}}Y=Y.return}WH(function(){var A=B,q=OY(X),D=[];$:{var I=S_.get($);if(I!==void 0){var S=eX,c=$;switch($){case"keypress":if(h8(X)===0)break $;case"keydown":case"keyup":S=YF;break;case"focusin":c="focus",S=c3;break;case"focusout":c="blur",S=c3;break;case"beforeblur":case"afterblur":S=c3;break;case"click":if(X.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":S=F_;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=cK;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=JF;break;case E_:case C_:case j_:S=aK;break;case x_:S=zF;break;case"scroll":case"scrollend":S=pK;break;case"wheel":S=WF;break;case"copy":case"cut":case"paste":S=oK;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=R_;break;case"toggle":case"beforetoggle":S=NF}var a=(G&4)!==0,J5=!a&&($==="scroll"||$==="scrollend"),m0=a?I!==null?I+"Capture":null:I;a=[];for(var T=A,P;T!==null;){var O=T;if(P=O.stateNode,O=O.tag,O!==5&&O!==26&&O!==27||P===null||m0===null||(O=iG(T,m0),O!=null&&a.push(Q7(T,O,P))),J5)break;T=T.return}0<a.length&&(I=new S(I,c,null,X,q),D.push({event:I,listeners:a}))}}if((G&7)===0){$:{if(I=$==="mouseover"||$==="pointerover",S=$==="mouseout"||$==="pointerout",I&&X!==D7&&(c=X.relatedTarget||X.fromElement)&&($0(c)||c[s2]))break $;if(S||I){if(I=q.window===q?q:(I=q.ownerDocument)?I.defaultView||I.parentWindow:window,S){if(c=X.relatedTarget||X.toElement,S=A,c=c?$0(c):null,c!==null&&(J5=o(c),a=c.tag,c!==J5||a!==5&&a!==27&&a!==6))c=null}else S=null,c=A;if(S!==c){if(a=F_,O="onMouseLeave",m0="onMouseEnter",T="mouse",$==="pointerout"||$==="pointerover")a=R_,O="onPointerLeave",m0="onPointerEnter",T="pointer";if(J5=S==null?I:R0(S),P=c==null?I:R0(c),I=new a(O,T+"leave",S,X,q),I.target=J5,I.relatedTarget=P,O=null,$0(q)===A&&(a=new a(m0,T+"enter",c,X,q),a.target=P,a.relatedTarget=J5,O=a),J5=O,S&&c)G:{a=CQ,m0=S,T=c,P=0;for(O=m0;O;O=a(O))P++;O=0;for(var b=T;b;b=a(b))O++;for(;0<P-O;)m0=a(m0),P--;for(;0<O-P;)T=a(T),O--;for(;P--;){if(m0===T||T!==null&&m0===T.alternate){a=m0;break G}m0=a(m0),T=a(T)}a=null}else a=null;S!==null&&$W(D,I,S,a,!1),c!==null&&J5!==null&&$W(D,J5,c,a,!0)}}}$:{if(I=A?R0(A):window,S=I.nodeName&&I.nodeName.toLowerCase(),S==="select"||S==="input"&&I.type==="file")var i=KH;else if(wH(I))if(q_)i=dw;else{i=hw;var F0=fw}else S=I.nodeName,!S||S.toLowerCase()!=="input"||I.type!=="checkbox"&&I.type!=="radio"?A&&cG(A.elementType)&&(i=KH):i=yw;if(i&&(i=i($,A))){QH(D,i,X,q);break $}F0&&F0($,I,A),$==="focusout"&&A&&I.type==="number"&&A.memoizedProps.value!=null&&MY(I,"number",I.value)}switch(F0=A?R0(A):window,$){case"focusin":if(wH(F0)||F0.contentEditable==="true")e6=F0,i3=A,v7=null;break;case"focusout":v7=i3=e6=null;break;case"mousedown":a3=!0;break;case"contextmenu":case"mouseup":case"dragend":a3=!1,VH(D,X,q);break;case"selectionchange":if(QF)break;case"keydown":case"keyup":VH(D,X,q)}var J0;if(s3)$:{switch($){case"compositionstart":var X0="onCompositionStart";break $;case"compositionend":X0="onCompositionEnd";break $;case"compositionupdate":X0="onCompositionUpdate";break $}X0=void 0}else t6?AH($,X)&&(X0="onCompositionEnd"):$==="keydown"&&X.keyCode===T_&&(X0="onCompositionStart");if(X0&&(I_&&X.locale!=="ko"&&(t6||X0!=="onCompositionStart"?X0==="onCompositionEnd"&&t6&&(J0=_H()):(i2=q,u3=("value"in i2)?i2.value:i2.textContent,t6=!0)),F0=SX(A,X0),0<F0.length&&(X0=new M_(X0,$,null,X,q),D.push({event:X0,listeners:F0}),J0?X0.data=J0:(J0=LH(X),J0!==null&&(X0.data=J0)))),J0=LF?vw($,X):gw($,X))X0=SX(A,"onBeforeInput"),0<X0.length&&(F0=new tK("onBeforeInput","beforeinput",null,X,q),D.push({event:F0,listeners:X0}),F0.data=J0);EQ(D,$,A,X,q)}tU(D,G)})}function Q7($,G,X){return{instance:$,listener:G,currentTarget:X}}function SX($,G){for(var X=G+"Capture",Y=[];$!==null;){var Z=$,B=Z.stateNode;if(Z=Z.tag,Z!==5&&Z!==26&&Z!==27||B===null||(Z=iG($,X),Z!=null&&Y.unshift(Q7($,Z,B)),Z=iG($,G),Z!=null&&Y.push(Q7($,Z,B))),$.tag===3)return Y;$=$.return}return[]}function CQ($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function $W($,G,X,Y,Z){for(var B=G._reactName,H=[];X!==null&&X!==Y;){var U=X,_=U.alternate,A=U.stateNode;if(U=U.tag,_!==null&&_===Y)break;U!==5&&U!==26&&U!==27||A===null||(_=A,Z?(A=iG(X,B),A!=null&&H.unshift(Q7(X,A,_))):Z||(A=iG(X,B),A!=null&&H.push(Q7(X,A,_)))),X=X.return}H.length!==0&&$.push({event:G,listeners:H})}function Z3($,G){jw($,G),$!=="input"&&$!=="textarea"&&$!=="select"||G==null||G.value!==null||Q_||(Q_=!0,$==="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.",$):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",$));var X={registrationNameDependencies:p4,possibleRegistrationNames:m3};cG($)||typeof G.is==="string"||Sw($,G,X),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 f5($,G,X,Y){G!==X&&(X=d2(X),d2(G)!==X&&(Y[$]=G))}function jQ($,G,X){G.forEach(function(Y){X[YW(Y)]=Y==="style"?J3($):$.getAttribute(Y)})}function v1($,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.",$,$,$):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",$,typeof G)}function GW($,G){return $=$.namespaceURI===oX||$.namespaceURI===a6?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=G,$.innerHTML}function d2($){return D2($)&&(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.",T4($)),m5($)),(typeof $==="string"?$:""+$).replace(uF,`
`).replace(pF,"")}function XW($,G){return G=d2(G),d2($)===G?!0:!1}function $5($,G,X,Y,Z,B){switch(X){case"children":if(typeof Y==="string")f8(Y,G,!1),G==="body"||G==="textarea"&&Y===""||lG($,Y);else if(typeof Y==="number"||typeof Y==="bigint")f8(""+Y,G,!1),G!=="body"&&lG($,""+Y);break;case"className":g8($,"class",Y);break;case"tabIndex":g8($,"tabindex",Y);break;case"dir":case"role":case"viewBox":case"width":case"height":g8($,X,Y);break;case"style":HH($,Y,B);break;case"data":if(G!=="object"){g8($,"data",Y);break}case"src":case"href":if(Y===""&&(G!=="a"||X!=="href")){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),$.removeAttribute(X);break}if(Y==null||typeof Y==="function"||typeof Y==="symbol"||typeof Y==="boolean"){$.removeAttribute(X);break}r0(Y,X),Y=sG(""+Y),$.setAttribute(X,Y);break;case"action":case"formAction":if(Y!=null&&(G==="form"?X==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof Y==="function"&&(Z.encType==null&&Z.method==null||f9||(f9=!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.")),Z.target==null||m9||(m9=!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"?X==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):G!=="input"||Z.type==="submit"||Z.type==="image"||b9?G!=="button"||Z.type==null||Z.type==="submit"||b9?typeof Y==="function"&&(Z.name==null||GA||(GA=!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.')),Z.formEncType==null&&Z.formMethod==null||f9||(f9=!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.")),Z.formTarget==null||m9||(m9=!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."))):(b9=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(b9=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):X==="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 Y==="function"){$.setAttribute(X,"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 B==="function"&&(X==="formAction"?(G!=="input"&&$5($,G,"name",Z.name,Z,null),$5($,G,"formEncType",Z.formEncType,Z,null),$5($,G,"formMethod",Z.formMethod,Z,null),$5($,G,"formTarget",Z.formTarget,Z,null)):($5($,G,"encType",Z.encType,Z,null),$5($,G,"method",Z.method,Z,null),$5($,G,"target",Z.target,Z,null)));if(Y==null||typeof Y==="symbol"||typeof Y==="boolean"){$.removeAttribute(X);break}r0(Y,X),Y=sG(""+Y),$.setAttribute(X,Y);break;case"onClick":Y!=null&&(typeof Y!=="function"&&v1(X,Y),$.onclick=$2);break;case"onScroll":Y!=null&&(typeof Y!=="function"&&v1(X,Y),b0("scroll",$));break;case"onScrollEnd":Y!=null&&(typeof Y!=="function"&&v1(X,Y),b0("scrollend",$));break;case"dangerouslySetInnerHTML":if(Y!=null){if(typeof Y!=="object"||!("__html"in Y))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(X=Y.__html,X!=null){if(Z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=X}}break;case"multiple":$.multiple=Y&&typeof Y!=="function"&&typeof Y!=="symbol";break;case"muted":$.muted=Y&&typeof Y!=="function"&&typeof Y!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(Y==null||typeof Y==="function"||typeof Y==="boolean"||typeof Y==="symbol"){$.removeAttribute("xlink:href");break}r0(Y,X),X=sG(""+Y),$.setAttributeNS(J6,"xlink:href",X);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"?(r0(Y,X),$.setAttribute(X,""+Y)):$.removeAttribute(X);break;case"inert":Y!==""||h9[X]||(h9[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));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":Y&&typeof Y!=="function"&&typeof Y!=="symbol"?$.setAttribute(X,""):$.removeAttribute(X);break;case"capture":case"download":Y===!0?$.setAttribute(X,""):Y!==!1&&Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"?(r0(Y,X),$.setAttribute(X,Y)):$.removeAttribute(X);break;case"cols":case"rows":case"size":case"span":Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"&&!isNaN(Y)&&1<=Y?(r0(Y,X),$.setAttribute(X,Y)):$.removeAttribute(X);break;case"rowSpan":case"start":Y==null||typeof Y==="function"||typeof Y==="symbol"||isNaN(Y)?$.removeAttribute(X):(r0(Y,X),$.setAttribute(X,Y));break;case"popover":b0("beforetoggle",$),b0("toggle",$),v8($,"popover",Y);break;case"xlinkActuate":e1($,J6,"xlink:actuate",Y);break;case"xlinkArcrole":e1($,J6,"xlink:arcrole",Y);break;case"xlinkRole":e1($,J6,"xlink:role",Y);break;case"xlinkShow":e1($,J6,"xlink:show",Y);break;case"xlinkTitle":e1($,J6,"xlink:title",Y);break;case"xlinkType":e1($,J6,"xlink:type",Y);break;case"xmlBase":e1($,dB,"xml:base",Y);break;case"xmlLang":e1($,dB,"xml:lang",Y);break;case"xmlSpace":e1($,dB,"xml:space",Y);break;case"is":B!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),v8($,"is",Y);break;case"innerText":case"textContent":break;case"popoverTarget":XA||Y==null||typeof Y!=="object"||(XA=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",Y));default:!(2<X.length)||X[0]!=="o"&&X[0]!=="O"||X[1]!=="n"&&X[1]!=="N"?(X=zH(X),v8($,X,Y)):p4.hasOwnProperty(X)&&Y!=null&&typeof Y!=="function"&&v1(X,Y)}}function B3($,G,X,Y,Z,B){switch(X){case"style":HH($,Y,B);break;case"dangerouslySetInnerHTML":if(Y!=null){if(typeof Y!=="object"||!("__html"in Y))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(X=Y.__html,X!=null){if(Z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=X}}break;case"children":typeof Y==="string"?lG($,Y):(typeof Y==="number"||typeof Y==="bigint")&&lG($,""+Y);break;case"onScroll":Y!=null&&(typeof Y!=="function"&&v1(X,Y),b0("scroll",$));break;case"onScrollEnd":Y!=null&&(typeof Y!=="function"&&v1(X,Y),b0("scrollend",$));break;case"onClick":Y!=null&&(typeof Y!=="function"&&v1(X,Y),$.onclick=$2);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(p4.hasOwnProperty(X))Y!=null&&typeof Y!=="function"&&v1(X,Y);else $:{if(X[0]==="o"&&X[1]==="n"&&(Z=X.endsWith("Capture"),G=X.slice(2,Z?X.length-7:void 0),B=$[Y$]||null,B=B!=null?B[X]:null,typeof B==="function"&&$.removeEventListener(G,B,Z),typeof Y==="function")){typeof B!=="function"&&B!==null&&(X in $?$[X]=null:$.hasAttribute(X)&&$.removeAttribute(X)),$.addEventListener(G,Y,Z);break $}X in $?$[X]=Y:Y===!0?$.setAttribute(X,""):v8($,X,Y)}}}function c5($,G,X){switch(Z3(G,X),G){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":b0("error",$),b0("load",$);var Y=!1,Z=!1,B;for(B in X)if(X.hasOwnProperty(B)){var H=X[B];if(H!=null)switch(B){case"src":Y=!0;break;case"srcSet":Z=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(G+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:$5($,G,B,H,X,null)}}Z&&$5($,G,"srcSet",X.srcSet,X,null),Y&&$5($,G,"src",X.src,X,null);return;case"input":j2("input",X),b0("invalid",$);var U=B=H=Z=null,_=null,A=null;for(Y in X)if(X.hasOwnProperty(Y)){var q=X[Y];if(q!=null)switch(Y){case"name":Z=q;break;case"type":H=q;break;case"checked":_=q;break;case"defaultChecked":A=q;break;case"value":B=q;break;case"defaultValue":U=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(G+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:$5($,G,Y,q,X,null)}}cJ($,X),sJ($,B,U,_,A,H,Z,!1);return;case"select":j2("select",X),b0("invalid",$),Y=H=B=null;for(Z in X)if(X.hasOwnProperty(Z)&&(U=X[Z],U!=null))switch(Z){case"value":B=U;break;case"defaultValue":H=U;break;case"multiple":Y=U;default:$5($,G,Z,U,X,null)}nJ($,X),G=B,X=H,$.multiple=!!Y,G!=null?O6($,!!Y,G,!1):X!=null&&O6($,!!Y,X,!0);return;case"textarea":j2("textarea",X),b0("invalid",$),B=Z=Y=null;for(H in X)if(X.hasOwnProperty(H)&&(U=X[H],U!=null))switch(H){case"value":Y=U;break;case"defaultValue":Z=U;break;case"children":B=U;break;case"dangerouslySetInnerHTML":if(U!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:$5($,G,H,U,X,null)}oJ($,X),tJ($,Y,Z,B);return;case"option":iJ($,X);for(_ in X)if(X.hasOwnProperty(_)&&(Y=X[_],Y!=null))switch(_){case"selected":$.selected=Y&&typeof Y!=="function"&&typeof Y!=="symbol";break;default:$5($,G,_,Y,X,null)}return;case"dialog":b0("beforetoggle",$),b0("toggle",$),b0("cancel",$),b0("close",$);break;case"iframe":case"object":b0("load",$);break;case"video":case"audio":for(Y=0;Y<W8.length;Y++)b0(W8[Y],$);break;case"image":b0("error",$),b0("load",$);break;case"details":b0("toggle",$);break;case"embed":case"source":case"link":b0("error",$),b0("load",$);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(A in X)if(X.hasOwnProperty(A)&&(Y=X[A],Y!=null))switch(A){case"children":case"dangerouslySetInnerHTML":throw Error(G+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:$5($,G,A,Y,X,null)}return;default:if(cG(G)){for(q in X)X.hasOwnProperty(q)&&(Y=X[q],Y!==void 0&&B3($,G,q,Y,X,void 0));return}}for(U in X)X.hasOwnProperty(U)&&(Y=X[U],Y!=null&&$5($,G,U,Y,X,null))}function xQ($,G,X,Y){switch(Z3(G,Y),G){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var Z=null,B=null,H=null,U=null,_=null,A=null,q=null;for(S in X){var D=X[S];if(X.hasOwnProperty(S)&&D!=null)switch(S){case"checked":break;case"value":break;case"defaultValue":_=D;default:Y.hasOwnProperty(S)||$5($,G,S,null,Y,D)}}for(var I in Y){var S=Y[I];if(D=X[I],Y.hasOwnProperty(I)&&(S!=null||D!=null))switch(I){case"type":B=S;break;case"name":Z=S;break;case"checked":A=S;break;case"defaultChecked":q=S;break;case"value":H=S;break;case"defaultValue":U=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(G+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:S!==D&&$5($,G,I,S,Y,D)}}G=X.type==="checkbox"||X.type==="radio"?X.checked!=null:X.value!=null,Y=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,G||!Y||$A||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),$A=!0),!G||Y||eN||(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"),eN=!0),FY($,H,U,_,A,q,B,Z);return;case"select":S=H=U=I=null;for(B in X)if(_=X[B],X.hasOwnProperty(B)&&_!=null)switch(B){case"value":break;case"multiple":S=_;default:Y.hasOwnProperty(B)||$5($,G,B,null,Y,_)}for(Z in Y)if(B=Y[Z],_=X[Z],Y.hasOwnProperty(Z)&&(B!=null||_!=null))switch(Z){case"value":I=B;break;case"defaultValue":U=B;break;case"multiple":H=B;default:B!==_&&$5($,G,Z,B,Y,_)}Y=U,G=H,X=S,I!=null?O6($,!!G,I,!1):!!X!==!!G&&(Y!=null?O6($,!!G,Y,!0):O6($,!!G,G?[]:"",!1));return;case"textarea":S=I=null;for(U in X)if(Z=X[U],X.hasOwnProperty(U)&&Z!=null&&!Y.hasOwnProperty(U))switch(U){case"value":break;case"children":break;default:$5($,G,U,null,Y,Z)}for(H in Y)if(Z=Y[H],B=X[H],Y.hasOwnProperty(H)&&(Z!=null||B!=null))switch(H){case"value":I=Z;break;case"defaultValue":S=Z;break;case"children":break;case"dangerouslySetInnerHTML":if(Z!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Z!==B&&$5($,G,H,Z,Y,B)}rJ($,I,S);return;case"option":for(var c in X)if(I=X[c],X.hasOwnProperty(c)&&I!=null&&!Y.hasOwnProperty(c))switch(c){case"selected":$.selected=!1;break;default:$5($,G,c,null,Y,I)}for(_ in Y)if(I=Y[_],S=X[_],Y.hasOwnProperty(_)&&I!==S&&(I!=null||S!=null))switch(_){case"selected":$.selected=I&&typeof I!=="function"&&typeof I!=="symbol";break;default:$5($,G,_,I,Y,S)}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 a in X)I=X[a],X.hasOwnProperty(a)&&I!=null&&!Y.hasOwnProperty(a)&&$5($,G,a,null,Y,I);for(A in Y)if(I=Y[A],S=X[A],Y.hasOwnProperty(A)&&I!==S&&(I!=null||S!=null))switch(A){case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(G+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:$5($,G,A,I,Y,S)}return;default:if(cG(G)){for(var J5 in X)I=X[J5],X.hasOwnProperty(J5)&&I!==void 0&&!Y.hasOwnProperty(J5)&&B3($,G,J5,void 0,Y,I);for(q in Y)I=Y[q],S=X[q],!Y.hasOwnProperty(q)||I===S||I===void 0&&S===void 0||B3($,G,q,I,Y,S);return}}for(var m0 in X)I=X[m0],X.hasOwnProperty(m0)&&I!=null&&!Y.hasOwnProperty(m0)&&$5($,G,m0,null,Y,I);for(D in Y)I=Y[D],S=X[D],!Y.hasOwnProperty(D)||I===S||I==null&&S==null||$5($,G,D,I,Y,S)}function YW($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function J3($){var G={};$=$.style;for(var X=0;X<$.length;X++){var Y=$[X];G[Y]=$.getPropertyValue(Y)}return G}function ZW($,G,X){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 Y,Z=Y="",B;for(B in G)if(G.hasOwnProperty(B)){var H=G[B];H!=null&&typeof H!=="boolean"&&H!==""&&(B.indexOf("--")===0?(hG(H,B),Y+=Z+B+":"+(""+H).trim()):typeof H!=="number"||H===0||L_.has(B)?(hG(H,B),Y+=Z+B.replace(U_,"-$1").toLowerCase().replace(W_,"-ms-")+":"+(""+H).trim()):Y+=Z+B.replace(U_,"-$1").toLowerCase().replace(W_,"-ms-")+":"+H+"px",Z=";")}Y=Y||null,G=$.getAttribute("style"),G!==Y&&(Y=d2(Y),d2(G)!==Y&&(X.style=J3($)))}}function u$($,G,X,Y,Z,B){if(Z.delete(X),$=$.getAttribute(X),$===null)switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":case"boolean":break;default:if(r0(Y,G),$===""+Y)return}f5(G,$,Y,B)}function BW($,G,X,Y,Z,B){if(Z.delete(X),$=$.getAttribute(X),$===null){switch(typeof Y){case"function":case"symbol":return}if(!Y)return}else switch(typeof Y){case"function":case"symbol":break;default:if(Y)return}f5(G,$,Y,B)}function H3($,G,X,Y,Z,B){if(Z.delete(X),$=$.getAttribute(X),$===null)switch(typeof Y){case"undefined":case"function":case"symbol":return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":break;default:if(r0(Y,X),$===""+Y)return}f5(G,$,Y,B)}function JW($,G,X,Y,Z,B){if(Z.delete(X),$=$.getAttribute(X),$===null)switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(Y))return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":case"boolean":break;default:if(!isNaN(Y)&&(r0(Y,G),$===""+Y))return}f5(G,$,Y,B)}function z3($,G,X,Y,Z,B){if(Z.delete(X),$=$.getAttribute(X),$===null)switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":case"boolean":break;default:if(r0(Y,G),X=sG(""+Y),$===X)return}f5(G,$,Y,B)}function HW($,G,X,Y){for(var Z={},B=new Set,H=$.attributes,U=0;U<H.length;U++)switch(H[U].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:B.add(H[U].name)}if(cG(G)){for(var _ in X)if(X.hasOwnProperty(_)){var A=X[_];if(A!=null){if(p4.hasOwnProperty(_))typeof A!=="function"&&v1(_,A);else if(X.suppressHydrationWarning!==!0)switch(_){case"children":typeof A!=="string"&&typeof A!=="number"||f5("children",$.textContent,A,Z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":H=$.innerHTML,A=A?A.__html:void 0,A!=null&&(A=GW($,A),f5(_,H,A,Z));continue;case"style":B.delete(_),ZW($,A,Z);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":B.delete(_.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",_);continue;case"className":B.delete("class"),H=uJ($,"class",A),f5("className",H,A,Z);continue;default:Y.context===I2&&G!=="svg"&&G!=="math"?B.delete(_.toLowerCase()):B.delete(_),H=uJ($,_,A),f5(_,H,A,Z)}}}}else for(A in X)if(X.hasOwnProperty(A)&&(_=X[A],_!=null)){if(p4.hasOwnProperty(A))typeof _!=="function"&&v1(A,_);else if(X.suppressHydrationWarning!==!0)switch(A){case"children":typeof _!=="string"&&typeof _!=="number"||f5("children",$.textContent,_,Z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":H=$.innerHTML,_=_?_.__html:void 0,_!=null&&(_=GW($,_),H!==_&&(Z[A]={__html:H}));continue;case"className":u$($,A,"class",_,B,Z);continue;case"tabIndex":u$($,A,"tabindex",_,B,Z);continue;case"style":B.delete(A),ZW($,_,Z);continue;case"multiple":B.delete(A),f5(A,$.multiple,_,Z);continue;case"muted":B.delete(A),f5(A,$.muted,_,Z);continue;case"autoFocus":B.delete("autofocus"),f5(A,$.autofocus,_,Z);continue;case"data":if(G!=="object"){B.delete(A),H=$.getAttribute("data"),f5(A,H,_,Z);continue}case"src":case"href":if(!(_!==""||G==="a"&&A==="href"||G==="object"&&A==="data")){A==="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.',A,A):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.',A,A);continue}z3($,A,A,_,B,Z);continue;case"action":case"formAction":if(H=$.getAttribute(A),typeof _==="function"){B.delete(A.toLowerCase()),A==="formAction"?(B.delete("name"),B.delete("formenctype"),B.delete("formmethod"),B.delete("formtarget")):(B.delete("enctype"),B.delete("method"),B.delete("target"));continue}else if(H===lF){B.delete(A.toLowerCase()),f5(A,"function",_,Z);continue}z3($,A,A.toLowerCase(),_,B,Z);continue;case"xlinkHref":z3($,A,"xlink:href",_,B,Z);continue;case"contentEditable":H3($,A,"contenteditable",_,B,Z);continue;case"spellCheck":H3($,A,"spellcheck",_,B,Z);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":H3($,A,A,_,B,Z);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":BW($,A,A.toLowerCase(),_,B,Z);continue;case"capture":case"download":$:{U=$;var q=H=A,D=Z;if(B.delete(q),U=U.getAttribute(q),U===null)switch(typeof _){case"undefined":case"function":case"symbol":break $;default:if(_===!1)break $}else if(_!=null)switch(typeof _){case"function":case"symbol":break;case"boolean":if(_===!0&&U==="")break $;break;default:if(r0(_,H),U===""+_)break $}f5(H,U,_,D)}continue;case"cols":case"rows":case"size":case"span":$:{if(U=$,q=H=A,D=Z,B.delete(q),U=U.getAttribute(q),U===null)switch(typeof _){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN(_)||1>_)break $}else if(_!=null)switch(typeof _){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(_)||1>_)&&(r0(_,H),U===""+_))break $}f5(H,U,_,D)}continue;case"rowSpan":JW($,A,"rowspan",_,B,Z);continue;case"start":JW($,A,A,_,B,Z);continue;case"xHeight":u$($,A,"x-height",_,B,Z);continue;case"xlinkActuate":u$($,A,"xlink:actuate",_,B,Z);continue;case"xlinkArcrole":u$($,A,"xlink:arcrole",_,B,Z);continue;case"xlinkRole":u$($,A,"xlink:role",_,B,Z);continue;case"xlinkShow":u$($,A,"xlink:show",_,B,Z);continue;case"xlinkTitle":u$($,A,"xlink:title",_,B,Z);continue;case"xlinkType":u$($,A,"xlink:type",_,B,Z);continue;case"xmlBase":u$($,A,"xml:base",_,B,Z);continue;case"xmlLang":u$($,A,"xml:lang",_,B,Z);continue;case"xmlSpace":u$($,A,"xml:space",_,B,Z);continue;case"inert":_!==""||h9[A]||(h9[A]=!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.",A)),BW($,A,A,_,B,Z);continue;default:if(!(2<A.length)||A[0]!=="o"&&A[0]!=="O"||A[1]!=="n"&&A[1]!=="N"){U=zH(A),H=!1,Y.context===I2&&G!=="svg"&&G!=="math"?B.delete(U.toLowerCase()):(q=A.toLowerCase(),q=rX.hasOwnProperty(q)?rX[q]||null:null,q!==null&&q!==A&&(H=!0,B.delete(q)),B.delete(U));$:if(q=$,D=U,U=_,dG(D))if(q.hasAttribute(D))q=q.getAttribute(D),r0(U,D),U=q===""+U?U:q;else{switch(typeof U){case"function":case"symbol":break $;case"boolean":if(q=D.toLowerCase().slice(0,5),q!=="data-"&&q!=="aria-")break $}U=U===void 0?void 0:null}else U=void 0;H||f5(A,U,_,Z)}}}return 0<B.size&&X.suppressHydrationWarning!==!0&&jQ($,B,Z),Object.keys(Z).length===0?null:Z}function SQ($,G){switch($.length){case 0:return"";case 1:return $[0];case 2:return $[0]+" "+G+" "+$[1];default:return $.slice(0,-1).join(", ")+", "+G+" "+$[$.length-1]}}function zW($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function kQ(){if(typeof performance.getEntriesByType==="function"){for(var $=0,G=0,X=performance.getEntriesByType("resource"),Y=0;Y<X.length;Y++){var Z=X[Y],B=Z.transferSize,H=Z.initiatorType,U=Z.duration;if(B&&U&&zW(H)){H=0,U=Z.responseEnd;for(Y+=1;Y<X.length;Y++){var _=X[Y],A=_.startTime;if(A>U)break;var{transferSize:q,initiatorType:D}=_;q&&zW(D)&&(_=_.responseEnd,H+=q*(_<U?1:(U-A)/(_-A)))}if(--Y,G+=8*(B+H)/(Z.duration/1000),$++,10<$)break}}if(0<$)return G/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function kX($){return $.nodeType===9?$:$.ownerDocument}function UW($){switch($){case a6:return VG;case oX:return d9;default:return I2}}function WW($,G){if($===I2)switch(G){case"svg":return VG;case"math":return d9;default:return I2}return $===VG&&G==="foreignObject"?I2:$}function U3($,G){return $==="textarea"||$==="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 vQ(){var $=window.event;if($&&$.type==="popstate"){if($===cB)return!1;return cB=$,!0}return cB=null,!1}function K7(){var $=window.event;return $&&$!==A8?$.type:null}function F7(){var $=window.event;return $&&$!==A8?$.timeStamp:-1.1}function gQ($){setTimeout(function(){throw $})}function bQ($,G,X){switch(G){case"button":case"input":case"select":case"textarea":X.autoFocus&&$.focus();break;case"img":X.src?$.src=X.src:X.srcSet&&($.srcset=X.srcSet)}}function mQ(){}function fQ($,G,X,Y){xQ($,G,X,Y),$[Y$]=Y}function _W($){lG($,"")}function hQ($,G,X){$.nodeValue=X}function NW($){if(!$.__reactWarnedAboutChildrenConflict){var G=$[Y$]||null;if(G!==null){var X=M0($);X!==null&&(typeof G.children==="string"||typeof G.children==="number"?($.__reactWarnedAboutChildrenConflict=!0,n(X,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&&($.__reactWarnedAboutChildrenConflict=!0,n(X,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 u2($){return $==="head"}function yQ($,G){$.removeChild(G)}function dQ($,G){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(G)}function AW($,G){var X=G,Y=0;do{var Z=X.nextSibling;if($.removeChild(X),Z&&Z.nodeType===8)if(X=Z.data,X===N8||X===y9){if(Y===0){$.removeChild(Z),u6(G);return}Y--}else if(X===_8||X===N4||X===z6||X===PG||X===H6)Y++;else if(X===sF)M7($.ownerDocument.documentElement);else if(X===aF){X=$.ownerDocument.head,M7(X);for(var B=X.firstChild;B;){var{nextSibling:H,nodeName:U}=B;B[q7]||U==="SCRIPT"||U==="STYLE"||U==="LINK"&&B.rel.toLowerCase()==="stylesheet"||X.removeChild(B),B=H}}else X===iF&&M7($.ownerDocument.body);X=Z}while(X);u6(G)}function LW($,G){var X=$;$=0;do{var Y=X.nextSibling;if(X.nodeType===1?G?(X._stashedDisplay=X.style.display,X.style.display="none"):(X.style.display=X._stashedDisplay||"",X.getAttribute("style")===""&&X.removeAttribute("style")):X.nodeType===3&&(G?(X._stashedText=X.nodeValue,X.nodeValue=""):X.nodeValue=X._stashedText||""),Y&&Y.nodeType===8)if(X=Y.data,X===N8)if($===0)break;else $--;else X!==_8&&X!==N4&&X!==z6&&X!==PG||$++;X=Y}while(X)}function uQ($){LW($,!0)}function pQ($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function lQ($){$.nodeValue=""}function cQ($){LW($,!1)}function sQ($,G){G=G[nF],G=G!==void 0&&G!==null&&G.hasOwnProperty("display")?G.display:null,$.style.display=G==null||typeof G==="boolean"?"":(""+G).trim()}function iQ($,G){$.nodeValue=G}function W3($){var G=$.firstChild;G&&G.nodeType===10&&(G=G.nextSibling);for(;G;){var X=G;switch(G=G.nextSibling,X.nodeName){case"HTML":case"HEAD":case"BODY":W3(X),s(X);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(X.rel.toLowerCase()==="stylesheet")continue}$.removeChild(X)}}function aQ($,G,X,Y){for(;$.nodeType===1;){var Z=X;if($.nodeName.toLowerCase()!==G.toLowerCase()){if(!Y&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!Y)if(G==="input"&&$.type==="hidden"){r0(Z.name,"name");var B=Z.name==null?null:""+Z.name;if(Z.type==="hidden"&&$.getAttribute("name")===B)return $}else return $;else if(!$[q7])switch(G){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(B=$.getAttribute("rel"),B==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(B!==Z.rel||$.getAttribute("href")!==(Z.href==null||Z.href===""?null:Z.href)||$.getAttribute("crossorigin")!==(Z.crossOrigin==null?null:Z.crossOrigin)||$.getAttribute("title")!==(Z.title==null?null:Z.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(B=$.getAttribute("src"),(B!==(Z.src==null?null:Z.src)||$.getAttribute("type")!==(Z.type==null?null:Z.type)||$.getAttribute("crossorigin")!==(Z.crossOrigin==null?null:Z.crossOrigin))&&B&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=x$($.nextSibling),$===null)break}return null}function nQ($,G,X){if(G==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!X)return null;if($=x$($.nextSibling),$===null)return null}return $}function wW($,G){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!G)return null;if($=x$($.nextSibling),$===null)return null}return $}function _3($){return $.data===N4||$.data===z6}function N3($){return $.data===PG||$.data===N4&&$.ownerDocument.readyState!==ZA}function oQ($,G){var X=$.ownerDocument;if($.data===z6)$._reactRetry=G;else if($.data!==N4||X.readyState!==ZA)G();else{var Y=function(){G(),X.removeEventListener("DOMContentLoaded",Y)};X.addEventListener("DOMContentLoaded",Y),$._reactRetry=Y}}function x$($){for(;$!=null;$=$.nextSibling){var G=$.nodeType;if(G===1||G===3)break;if(G===8){if(G=$.data,G===_8||G===PG||G===N4||G===z6||G===H6||G===uB||G===YA)break;if(G===N8||G===y9)return null}}return $}function QW($){if($.nodeType===1){for(var G=$.nodeName.toLowerCase(),X={},Y=$.attributes,Z=0;Z<Y.length;Z++){var B=Y[Z];X[YW(B.name)]=B.name.toLowerCase()==="style"?J3($):B.value}return{type:G,props:X}}return $.nodeType===8?$.data===H6?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function KW($,G,X){return X===null||X[cF]!==!0?($.nodeValue===G?$=null:(G=d2(G),$=d2($.nodeValue)===G?null:$.nodeValue),$):null}function A3($){$=$.nextSibling;for(var G=0;$;){if($.nodeType===8){var X=$.data;if(X===N8||X===y9){if(G===0)return x$($.nextSibling);G--}else X!==_8&&X!==PG&&X!==N4&&X!==z6&&X!==H6||G++}$=$.nextSibling}return null}function FW($){$=$.previousSibling;for(var G=0;$;){if($.nodeType===8){var X=$.data;if(X===_8||X===PG||X===N4||X===z6||X===H6){if(G===0)return $;G--}else X!==N8&&X!==y9||G++}$=$.previousSibling}return null}function rQ($){u6($)}function tQ($){u6($)}function eQ($){u6($)}function MW($,G,X,Y,Z){switch(Z&&VY($,Y.ancestorInfo),G=kX(X),$){case"html":if($=G.documentElement,!$)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 $;case"head":if($=G.head,!$)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 $;case"body":if($=G.body,!$)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 $;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function $K($,G,X,Y){if(!X[s2]&&M0(X)){var Z=X.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.",Z,Z,Z)}switch($){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(Z=X.attributes;Z.length;)X.removeAttributeNode(Z[0]);c5(X,$,G),X[s5]=Y,X[Y$]=G}function M7($){for(var G=$.attributes;G.length;)$.removeAttributeNode(G[0]);s($)}function vX($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function RW($,G,X){var Y=OG;if(Y&&typeof G==="string"&&G){var Z=d$(G);Z='link[rel="'+$+'"][href="'+Z+'"]',typeof X==="string"&&(Z+='[crossorigin="'+X+'"]'),WA.has(Z)||(WA.add(Z),$={rel:$,crossOrigin:X,href:G},Y.querySelector(Z)===null&&(G=Y.createElement("link"),c5(G,"link",$),z0(G),Y.head.appendChild(G)))}}function TW($,G,X,Y){var Z=(Z=l2.current)?vX(Z):null;if(!Z)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch($){case"meta":case"title":return null;case"style":return typeof X.precedence==="string"&&typeof X.href==="string"?(X=y6(X.href),G=d0(Z).hoistableStyles,Y=G.get(X),Y||(Y={type:"style",instance:null,count:0,state:null},G.set(X,Y)),Y):{type:"void",instance:null,count:0,state:null};case"link":if(X.rel==="stylesheet"&&typeof X.href==="string"&&typeof X.precedence==="string"){$=y6(X.href);var B=d0(Z).hoistableStyles,H=B.get($);if(!H&&(Z=Z.ownerDocument||Z,H={type:"stylesheet",instance:null,count:0,state:{loading:W6,preload:null}},B.set($,H),(B=Z.querySelector(R7($)))&&!B._p&&(H.instance=B,H.state.loading=L8|e$),!$1.has($))){var U={rel:"preload",as:"style",href:X.href,crossOrigin:X.crossOrigin,integrity:X.integrity,media:X.media,hrefLang:X.hrefLang,referrerPolicy:X.referrerPolicy};$1.set($,U),B||GK(Z,$,U,H.state)}if(G&&Y===null)throw X=`
- `+gX(G)+`
+ `+gX(X),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."+X);return H}if(G&&Y!==null)throw X=`
- `+gX(G)+`
+ `+gX(X),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."+X);return null;case"script":return G=X.async,X=X.src,typeof X==="string"&&G&&typeof G!=="function"&&typeof G!=="symbol"?(X=d6(X),G=d0(Z).hoistableScripts,Y=G.get(X),Y||(Y={type:"script",instance:null,count:0,state:null},G.set(X,Y)),Y):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+$+'". this is a bug in React.')}}function gX($){var G=0,X="<link";return typeof $.rel==="string"?(G++,X+=' rel="'+$.rel+'"'):z1.call($,"rel")&&(G++,X+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(G++,X+=' href="'+$.href+'"'):z1.call($,"href")&&(G++,X+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(G++,X+=' precedence="'+$.precedence+'"'):z1.call($,"precedence")&&(G++,X+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>G&&(X+=" ..."),X+" />"}function y6($){return'href="'+d$($)+'"'}function R7($){return'link[rel="stylesheet"]['+$+"]"}function IW($){return S0({},$,{"data-precedence":$.precedence,precedence:null})}function GK($,G,X,Y){$.querySelector('link[rel="preload"][as="style"]['+G+"]")?Y.loading=L8:(G=$.createElement("link"),Y.preload=G,G.addEventListener("load",function(){return Y.loading|=L8}),G.addEventListener("error",function(){return Y.loading|=zA}),c5(G,"link",X),z0(G),$.head.appendChild(G))}function d6($){return'[src="'+d$($)+'"]'}function T7($){return"script[async]"+$}function PW($,G,X){if(G.count++,G.instance===null)switch(G.type){case"style":var Y=$.querySelector('style[data-href~="'+d$(X.href)+'"]');if(Y)return G.instance=Y,z0(Y),Y;var Z=S0({},X,{"data-href":X.href,"data-precedence":X.precedence,href:null,precedence:null});return Y=($.ownerDocument||$).createElement("style"),z0(Y),c5(Y,"style",Z),bX(Y,X.precedence,$),G.instance=Y;case"stylesheet":Z=y6(X.href);var B=$.querySelector(R7(Z));if(B)return G.state.loading|=e$,G.instance=B,z0(B),B;Y=IW(X),(Z=$1.get(Z))&&L3(Y,Z),B=($.ownerDocument||$).createElement("link"),z0(B);var H=B;return H._p=new Promise(function(U,_){H.onload=U,H.onerror=_}),c5(B,"link",Y),G.state.loading|=e$,bX(B,X.precedence,$),G.instance=B;case"script":if(B=d6(X.src),Z=$.querySelector(T7(B)))return G.instance=Z,z0(Z),Z;if(Y=X,Z=$1.get(B))Y=S0({},X),w3(Y,Z);return $=$.ownerDocument||$,Z=$.createElement("script"),z0(Z),c5(Z,"link",Y),$.head.appendChild(Z),G.instance=Z;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&e$)===W6&&(Y=G.instance,G.state.loading|=e$,bX(Y,X.precedence,$));return G.instance}function bX($,G,X){for(var Y=X.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),Z=Y.length?Y[Y.length-1]:null,B=Z,H=0;H<Y.length;H++){var U=Y[H];if(U.dataset.precedence===G)B=U;else if(B!==Z)break}B?B.parentNode.insertBefore($,B.nextSibling):(G=X.nodeType===9?X.head:X,G.insertBefore($,G.firstChild))}function L3($,G){$.crossOrigin==null&&($.crossOrigin=G.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=G.referrerPolicy),$.title==null&&($.title=G.title)}function w3($,G){$.crossOrigin==null&&($.crossOrigin=G.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=G.referrerPolicy),$.integrity==null&&($.integrity=G.integrity)}function VW($,G,X){if(u9===null){var Y=new Map,Z=u9=new Map;Z.set(X,Y)}else Z=u9,Y=Z.get(X),Y||(Y=new Map,Z.set(X,Y));if(Y.has($))return Y;Y.set($,null),X=X.getElementsByTagName($);for(Z=0;Z<X.length;Z++){var B=X[Z];if(!(B[q7]||B[s5]||$==="link"&&B.getAttribute("rel")==="stylesheet")&&B.namespaceURI!==a6){var H=B.getAttribute(G)||"";H=$+H;var U=Y.get(H);U?U.push(B):Y.set(H,[B])}}return Y}function OW($,G,X){$=$.ownerDocument||$,$.head.insertBefore(X,G==="title"?$.querySelector("head > title"):null)}function XK($,G,X){var Y=!X.ancestorInfo.containerTagInScope;if(X.context===VG||G.itemProp!=null)return!Y||G.itemProp==null||$!=="meta"&&$!=="title"&&$!=="style"&&$!=="link"&&$!=="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.",$,$),!1;switch($){case"meta":case"title":return!0;case"style":if(typeof G.precedence!=="string"||typeof G.href!=="string"||G.href===""){Y&&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"){$=G.href;var{onError:Z,disabled:B}=G;X=[],G.onLoad&&X.push("`onLoad`"),Z&&X.push("`onError`"),B!=null&&X.push("`disabled`"),Z=SQ(X,"and"),Z+=X.length===1?" prop":" props",B=X.length===1?"an "+Z:"the "+Z,X.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.',$,B,Z)}Y&&(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 $=G.precedence,G=G.disabled,typeof $!=="string"&&Y&&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 $==="string"&&G==null;default:return!0}case"script":if($=G.async&&typeof G.async!=="function"&&typeof G.async!=="symbol",!$||G.onLoad||G.onError||!G.src||typeof G.src!=="string"){Y&&($?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":Y&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function qW($){return $.type==="stylesheet"&&($.state.loading&UA)===W6?!1:!0}function YK($,G,X,Y){if(X.type==="stylesheet"&&(typeof Y.media!=="string"||matchMedia(Y.media).matches!==!1)&&(X.state.loading&e$)===W6){if(X.instance===null){var Z=y6(Y.href),B=G.querySelector(R7(Z));if(B){G=B._p,G!==null&&typeof G==="object"&&typeof G.then==="function"&&($.count++,$=mX.bind($),G.then($,$)),X.state.loading|=e$,X.instance=B,z0(B);return}B=G.ownerDocument||G,Y=IW(Y),(Z=$1.get(Z))&&L3(Y,Z),B=B.createElement("link"),z0(B);var H=B;H._p=new Promise(function(U,_){H.onload=U,H.onerror=_}),c5(B,"link",Y),X.instance=B}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(X,G),(G=X.state.preload)&&(X.state.loading&UA)===W6&&($.count++,X=mX.bind($),G.addEventListener("load",X),G.addEventListener("error",X))}}function ZK($,G){return $.stylesheets&&$.count===0&&fX($,$.stylesheets),0<$.count||0<$.imgCount?function(X){var Y=setTimeout(function(){if($.stylesheets&&fX($,$.stylesheets),$.unsuspend){var B=$.unsuspend;$.unsuspend=null,B()}},tF+G);0<$.imgBytes&&iB===0&&(iB=125*kQ()*$M);var Z=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&fX($,$.stylesheets),$.unsuspend)){var B=$.unsuspend;$.unsuspend=null,B()}},($.imgBytes>iB?50:eF)+G);return $.unsuspend=X,function(){$.unsuspend=null,clearTimeout(Y),clearTimeout(Z)}}:null}function mX(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)fX(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function fX($,G){$.stylesheets=null,$.unsuspend!==null&&($.count++,p9=new Map,G.forEach(BK,$),p9=null,mX.call($))}function BK($,G){if(!(G.state.loading&e$)){var X=p9.get($);if(X)var Y=X.get(aB);else{X=new Map,p9.set($,X);for(var Z=$.querySelectorAll("link[data-precedence],style[data-precedence]"),B=0;B<Z.length;B++){var H=Z[B];if(H.nodeName==="LINK"||H.getAttribute("media")!=="not all")X.set(H.dataset.precedence,H),Y=H}Y&&X.set(aB,Y)}Z=G.instance,H=Z.getAttribute("data-precedence"),B=X.get(H)||Y,B===Y&&X.set(aB,Z),X.set(H,Z),this.count++,Y=mX.bind(this),Z.addEventListener("load",Y),Z.addEventListener("error",Y),B?B.parentNode.insertBefore(Z,B.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(Z,$.firstChild)),G.state.loading|=e$}}function JK($,G,X,Y,Z,B,H,U,_){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=U6,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=V6(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=V6(0),this.hiddenUpdates=V6(null),this.identifierPrefix=Y,this.onUncaughtError=Z,this.onCaughtError=B,this.onRecoverableError=H,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,$=this.pendingUpdatersLaneMap=[];for(G=0;31>G;G++)$.push(new Set);this._debugRootType=X?"hydrateRoot()":"createRoot()"}function DW($,G,X,Y,Z,B,H,U,_,A,q,D){return $=new JK($,G,X,H,_,A,q,D,U),G=OF,B===!0&&(G|=t5|W1),G|=O0,B=E(3,null,null,G),$.current=B,B.stateNode=$,G=pY(),b4(G),$.pooledCache=G,b4(G),B.memoizedState={element:Y,isDehydrated:X,cache:G},aY(B),$}function EW($){if(!$)return o2;return $=o2,$}function Q3($,G,X,Y,Z,B){if(r5&&typeof r5.onScheduleFiberRoot==="function")try{r5.onScheduleFiberRoot(s6,Y,X)}catch(H){f1||(f1=!0,console.error("React instrumentation encountered an error: %o",H))}Z=EW(Z),Y.context===null?Y.context=Z:Y.pendingContext=Z,m1&&k$!==null&&!LA&&(LA=!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.
Check the render method of %s.`,p(k$)||"Unknown")),Y=g2(G),Y.payload={element:X},B=B===void 0?null:B,B!==null&&(typeof B!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",B),Y.callback=B),X=b2($,Y,G),X!==null&&(I1(G,"root.render()",null),F5(X,$,G),G7(X,$,G))}function CW($,G){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var X=$.retryLane;$.retryLane=X!==0&&X<G?X:G}}function K3($,G){CW($,G),($=$.alternate)&&CW($,G)}function jW($){if($.tag===13||$.tag===31){var G=o5($,67108864);G!==null&&F5(G,$,67108864),K3($,67108864)}}function xW($){if($.tag===13||$.tag===31){var G=j$($);G=D4(G);var X=o5($,G);X!==null&&F5(X,$,G),K3($,G)}}function HK(){return k$}function zK($,G,X,Y){var Z=g.T;g.T=null;var B=s0.p;try{s0.p=v$,F3($,G,X,Y)}finally{s0.p=B,g.T=Z}}function UK($,G,X,Y){var Z=g.T;g.T=null;var B=s0.p;try{s0.p=U1,F3($,G,X,Y)}finally{s0.p=B,g.T=Z}}function F3($,G,X,Y){if(c9){var Z=M3(Y);if(Z===null)Y3($,G,Y,s9,X),kW($,Y);else if(WK(Z,$,G,X,Y))Y.stopPropagation();else if(kW($,Y),G&4&&-1<XM.indexOf($)){for(;Z!==null;){var B=M0(Z);if(B!==null)switch(B.tag){case 3:if(B=B.stateNode,B.current.memoizedState.isDehydrated){var H=F1(B.pendingLanes);if(H!==0){var U=B;U.pendingLanes|=2;for(U.entangledLanes|=2;H;){var _=1<<31-X$(H);U.entanglements[1]|=_,H&=~_}k1(B),(h0&(b5|f$))===u5&&(E9=h5()+uN,w7(0,!1))}}break;case 31:case 13:U=o5(B,2),U!==null&&F5(U,B,2),m6(),K3(B,2)}if(B=M3(Y),B===null&&Y3($,G,Y,s9,X),B===Z)break;Z=B}Z!==null&&Y.stopPropagation()}else Y3($,G,Y,null,X)}}function M3($){return $=OY($),R3($)}function R3($){if(s9=null,$=$0($),$!==null){var G=o($);if(G===null)$=null;else{var X=G.tag;if(X===13){if($=r(G),$!==null)return $;$=null}else if(X===31){if($=e(G),$!==null)return $;$=null}else if(X===3){if(G.stateNode.current.memoizedState.isDehydrated)return G.tag===3?G.stateNode.containerInfo:null;$=null}else G!==$&&($=null)}}return s9=$,null}function SW($){switch($){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 v$;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 U1;case"message":switch(MK()){case k3:return v$;case v3:return U1;case c6:case RK:return y1;case g3:return aX;default:return y1}default:return y1}}function kW($,G){switch($){case"focusin":case"focusout":A4=null;break;case"dragenter":case"dragleave":L4=null;break;case"mouseover":case"mouseout":w4=null;break;case"pointerover":case"pointerout":Q8.delete(G.pointerId);break;case"gotpointercapture":case"lostpointercapture":K8.delete(G.pointerId)}}function I7($,G,X,Y,Z,B){if($===null||$.nativeEvent!==B)return $={blockedOn:G,domEventName:X,eventSystemFlags:Y,nativeEvent:B,targetContainers:[Z]},G!==null&&(G=M0(G),G!==null&&jW(G)),$;return $.eventSystemFlags|=Y,G=$.targetContainers,Z!==null&&G.indexOf(Z)===-1&&G.push(Z),$}function WK($,G,X,Y,Z){switch(G){case"focusin":return A4=I7(A4,$,G,X,Y,Z),!0;case"dragenter":return L4=I7(L4,$,G,X,Y,Z),!0;case"mouseover":return w4=I7(w4,$,G,X,Y,Z),!0;case"pointerover":var B=Z.pointerId;return Q8.set(B,I7(Q8.get(B)||null,$,G,X,Y,Z)),!0;case"gotpointercapture":return B=Z.pointerId,K8.set(B,I7(K8.get(B)||null,$,G,X,Y,Z)),!0}return!1}function vW($){var G=$0($.target);if(G!==null){var X=o(G);if(X!==null){if(G=X.tag,G===13){if(G=r(X),G!==null){$.blockedOn=G,y($.priority,function(){xW(X)});return}}else if(G===31){if(G=e(X),G!==null){$.blockedOn=G,y($.priority,function(){xW(X)});return}}else if(G===3&&X.stateNode.current.memoizedState.isDehydrated){$.blockedOn=X.tag===3?X.stateNode.containerInfo:null;return}}}$.blockedOn=null}function hX($){if($.blockedOn!==null)return!1;for(var G=$.targetContainers;0<G.length;){var X=M3($.nativeEvent);if(X===null){X=$.nativeEvent;var Y=new X.constructor(X.type,X),Z=Y;D7!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),D7=Z,X.target.dispatchEvent(Y),D7===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."),D7=null}else return G=M0(X),G!==null&&jW(G),$.blockedOn=X,!1;G.shift()}return!0}function gW($,G,X){hX($)&&X.delete(G)}function _K(){nB=!1,A4!==null&&hX(A4)&&(A4=null),L4!==null&&hX(L4)&&(L4=null),w4!==null&&hX(w4)&&(w4=null),Q8.forEach(gW),K8.forEach(gW)}function yX($,G){$.blockedOn===G&&($.blockedOn=null,nB||(nB=!0,u0.unstable_scheduleCallback(u0.unstable_NormalPriority,_K)))}function bW($){i9!==$&&(i9=$,u0.unstable_scheduleCallback(u0.unstable_NormalPriority,function(){i9===$&&(i9=null);for(var G=0;G<$.length;G+=3){var X=$[G],Y=$[G+1],Z=$[G+2];if(typeof Y!=="function")if(R3(Y||X)===null)continue;else break;var B=M0(X);B!==null&&($.splice(G,3),G-=3,X={pending:!0,data:Z,method:X.method,action:Y},Object.freeze(X),RZ(B,X,Y,Z))}}))}function u6($){function G(_){return yX(_,$)}A4!==null&&yX(A4,$),L4!==null&&yX(L4,$),w4!==null&&yX(w4,$),Q8.forEach(G),K8.forEach(G);for(var X=0;X<Q4.length;X++){var Y=Q4[X];Y.blockedOn===$&&(Y.blockedOn=null)}for(;0<Q4.length&&(X=Q4[0],X.blockedOn===null);)vW(X),X.blockedOn===null&&Q4.shift();if(X=($.ownerDocument||$).$$reactFormReplay,X!=null)for(Y=0;Y<X.length;Y+=3){var Z=X[Y],B=X[Y+1],H=Z[Y$]||null;if(typeof B==="function")H||bW(X);else if(H){var U=null;if(B&&B.hasAttribute("formAction")){if(Z=B,H=B[Y$]||null)U=H.formAction;else if(R3(Z)!==null)continue}else U=H.action;typeof U==="function"?X[Y+1]=U:(X.splice(Y,3),Y-=3),bW(X)}}}function mW(){function $(B){B.canIntercept&&B.info==="react-transition"&&B.intercept({handler:function(){return new Promise(function(H){return Z=H})},focusReset:"manual",scroll:"manual"})}function G(){Z!==null&&(Z(),Z=null),Y||setTimeout(X,20)}function X(){if(!Y&&!navigation.transition){var B=navigation.currentEntry;B&&B.url!=null&&navigation.navigate(B.url,{state:B.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var Y=!1,Z=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",G),navigation.addEventListener("navigateerror",G),setTimeout(X,100),function(){Y=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",G),navigation.removeEventListener("navigateerror",G),Z!==null&&(Z(),Z=null)}}}function T3($){this._internalRoot=$}function dX($){this._internalRoot=$}function fW($){$[s2]&&($._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 S0=Object.assign,NK=Symbol.for("react.element"),g1=Symbol.for("react.transitional.element"),p6=Symbol.for("react.portal"),l6=Symbol.for("react.fragment"),uX=Symbol.for("react.strict_mode"),I3=Symbol.for("react.profiler"),P3=Symbol.for("react.consumer"),b1=Symbol.for("react.context"),P7=Symbol.for("react.forward_ref"),V3=Symbol.for("react.suspense"),O3=Symbol.for("react.suspense_list"),pX=Symbol.for("react.memo"),S$=Symbol.for("react.lazy"),q3=Symbol.for("react.activity"),AK=Symbol.for("react.memo_cache_sentinel"),hW=Symbol.iterator,LK=Symbol.for("react.client.reference"),v5=Array.isArray,g=qG.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,s0=rB.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,wK=Object.freeze({pending:!1,data:null,method:null,action:null}),D3=[],E3=[],z2=-1,p2=o0(null),V7=o0(null),l2=o0(null),lX=o0(null),O7=0,yW,dW,uW,pW,lW,cW,sW;V.__reactDisabledLog=!0;var C3,iW,j3=!1,x3=new(typeof WeakMap==="function"?WeakMap:Map),k$=null,m1=!1,z1=Object.prototype.hasOwnProperty,S3=u0.unstable_scheduleCallback,QK=u0.unstable_cancelCallback,KK=u0.unstable_shouldYield,FK=u0.unstable_requestPaint,h5=u0.unstable_now,MK=u0.unstable_getCurrentPriorityLevel,k3=u0.unstable_ImmediatePriority,v3=u0.unstable_UserBlockingPriority,c6=u0.unstable_NormalPriority,RK=u0.unstable_LowPriority,g3=u0.unstable_IdlePriority,TK=u0.log,IK=u0.unstable_setDisableYieldValue,s6=null,r5=null,f1=!1,h1=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",X$=Math.clz32?Math.clz32:S8,PK=Math.log,VK=Math.LN2,cX=256,sX=262144,iX=4194304,v$=2,U1=8,y1=32,aX=268435456,c2=Math.random().toString(36).slice(2),s5="__reactFiber$"+c2,Y$="__reactProps$"+c2,s2="__reactContainer$"+c2,b3="__reactEvents$"+c2,OK="__reactListeners$"+c2,qK="__reactHandles$"+c2,aW="__reactResources$"+c2,q7="__reactMarker$"+c2,nW=new Set,p4={},m3={},DK={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},EK=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]*$"),oW={},rW={},CK=/[\n"\\]/g,tW=!1,eW=!1,$_=!1,G_=!1,X_=!1,Y_=!1,Z_=["value","defaultValue"],B_=!1,J_=/["'&<>\n\t]|^\s|\s$/,jK="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(" "),H_="applet caption html table td th marquee object template foreignObject desc title".split(" "),xK=H_.concat(["button"]),SK="dd dt li option optgroup p rp rt".split(" "),z_={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},nX={},f3={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"]},U_=/([A-Z])/g,W_=/^ms-/,kK=/^(?:webkit|moz|o)[A-Z]/,vK=/^-ms-/,gK=/-(.)/g,__=/;\s*$/,i6={},h3={},N_=!1,A_=!1,L_=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(" ")),oX="http://www.w3.org/1998/Math/MathML",a6="http://www.w3.org/2000/svg",bK=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"]]),rX={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"},w_={"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},n6={},mK=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]*$"),fK=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]*$"),Q_=!1,Z$={},K_=/^on./,hK=/^on[^A-Z]/,yK=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]*$"),dK=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]*$"),uK=/^[\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,D7=null,o6=null,r6=null,y3=!1,d1=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d3=!1;if(d1)try{var E7={};Object.defineProperty(E7,"passive",{get:function(){d3=!0}}),window.addEventListener("test",E7,E7),window.removeEventListener("test",E7,E7)}catch($){d3=!1}var i2=null,u3=null,tX=null,l4={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},eX=L$(l4),C7=S0({},l4,{view:0,detail:0}),pK=L$(C7),p3,l3,j7,$9=S0({},C7,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qY,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==j7&&(j7&&$.type==="mousemove"?(p3=$.screenX-j7.screenX,l3=$.screenY-j7.screenY):l3=p3=0,j7=$),p3},movementY:function($){return"movementY"in $?$.movementY:l3}}),F_=L$($9),lK=S0({},$9,{dataTransfer:0}),cK=L$(lK),sK=S0({},C7,{relatedTarget:0}),c3=L$(sK),iK=S0({},l4,{animationName:0,elapsedTime:0,pseudoElement:0}),aK=L$(iK),nK=S0({},l4,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),oK=L$(nK),rK=S0({},l4,{data:0}),M_=L$(rK),tK=M_,eK={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$F={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"},GF={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},XF=S0({},C7,{key:function($){if($.key){var G=eK[$.key]||$.key;if(G!=="Unidentified")return G}return $.type==="keypress"?($=h8($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?$F[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qY,charCode:function($){return $.type==="keypress"?h8($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?h8($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),YF=L$(XF),ZF=S0({},$9,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),R_=L$(ZF),BF=S0({},C7,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qY}),JF=L$(BF),HF=S0({},l4,{propertyName:0,elapsedTime:0,pseudoElement:0}),zF=L$(HF),UF=S0({},$9,{deltaX:function($){return"deltaX"in $?$.deltaX:("wheelDeltaX"in $)?-$.wheelDeltaX:0},deltaY:function($){return"deltaY"in $?$.deltaY:("wheelDeltaY"in $)?-$.wheelDeltaY:("wheelDelta"in $)?-$.wheelDelta:0},deltaZ:0,deltaMode:0}),WF=L$(UF),_F=S0({},l4,{newState:0,oldState:0}),NF=L$(_F),AF=[9,13,27,32],T_=229,s3=d1&&"CompositionEvent"in window,x7=null;d1&&"documentMode"in document&&(x7=document.documentMode);var LF=d1&&"TextEvent"in window&&!x7,I_=d1&&(!s3||x7&&8<x7&&11>=x7),P_=32,V_=String.fromCharCode(P_),O_=!1,t6=!1,wF={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},S7=null,k7=null,q_=!1;d1&&(q_=bw("input")&&(!document.documentMode||9<document.documentMode));var B$=typeof Object.is==="function"?Object.is:uw,QF=d1&&"documentMode"in document&&11>=document.documentMode,e6=null,i3=null,v7=null,a3=!1,$G={animationend:C4("Animation","AnimationEnd"),animationiteration:C4("Animation","AnimationIteration"),animationstart:C4("Animation","AnimationStart"),transitionrun:C4("Transition","TransitionRun"),transitionstart:C4("Transition","TransitionStart"),transitioncancel:C4("Transition","TransitionCancel"),transitionend:C4("Transition","TransitionEnd")},n3={},D_={};d1&&(D_=document.createElement("div").style,("AnimationEvent"in window)||(delete $G.animationend.animation,delete $G.animationiteration.animation,delete $G.animationstart.animation),("TransitionEvent"in window)||delete $G.transitionend.transition);var E_=j4("animationend"),C_=j4("animationiteration"),j_=j4("animationstart"),KF=j4("transitionrun"),FF=j4("transitionstart"),MF=j4("transitioncancel"),x_=j4("transitionend"),S_=new Map,o3="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(" ");o3.push("scrollEnd");var k_=0;if(typeof performance==="object"&&typeof performance.now==="function")var RF=performance,v_=function(){return RF.now()};else{var TF=Date;v_=function(){return TF.now()}}var r3=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(G))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},IF="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.",G9=0,t3=1,e3=2,$B=3,X9=" ",Y9="+ ",g_=" ",z5=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",p$="Components ⚛",k0="Scheduler ⚛",v0="Blocking",a2=!1,U2={color:"primary",properties:null,tooltipText:"",track:p$},n2={start:-0,end:-0,detail:{devtools:U2}},PF=["Changed Props",""],b_="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",VF=["Changed Props",b_],g7=1,W2=2,l$=[],GG=0,GB=0,o2={};Object.freeze(o2);var c$=null,XG=null,w0=0,OF=1,O0=2,t5=8,W1=16,qF=32,m_=!1;try{var f_=Object.preventExtensions({})}catch($){m_=!0}var XB=new WeakMap,YG=[],ZG=0,Z9=null,b7=0,s$=[],i$=0,c4=null,_2=1,N2="",i5=null,U5=null,g0=!1,u1=!1,g$=null,r2=null,a$=!1,YB=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."),ZB=o0(null),BB=o0(null),h_={},B9=null,BG=null,JG=!1,DF=typeof AbortController<"u"?AbortController:function(){var $=[],G=this.signal={aborted:!1,addEventListener:function(X,Y){$.push(Y)}};this.abort=function(){G.aborted=!0,$.forEach(function(X){return X()})}},EF=u0.unstable_scheduleCallback,CF=u0.unstable_NormalPriority,D5={$$typeof:b1,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},E5=u0.unstable_now,J9=console.createTask?console.createTask:function(){return null},m7=1,H9=2,y5=-0,t2=-0,A2=-0,L2=null,J$=-1.1,s4=-0,w5=-0,U0=-1.1,A0=-1.1,N5=null,M5=!1,e2=-0,p1=-1.1,f7=null,$4=0,JB=null,HB=null,i4=-1.1,h7=null,HG=-1.1,z9=-1.1,l1=-0,w2=-1.1,n$=-1.1,zB=0,y7=null,y_=null,d_=null,G4=-1.1,a4=null,X4=-1.1,U9=-1.1,u_=-0,p_=-0,W9=0,Q2=null,l_=0,d7=-1.1,_9=!1,N9=!1,u7=null,UB=0,n4=0,zG=null,c_=g.S;g.S=function($,G){if(yN=h5(),typeof G==="object"&&G!==null&&typeof G.then==="function"){if(0>w2&&0>n$){w2=E5();var X=F7(),Y=K7();if(X!==X4||Y!==a4)X4=-1.1;G4=X,a4=Y}nw($,G)}c_!==null&&c_($,G)};var o4=o0(null),_1={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},p7=[],l7=[],c7=[],s7=[],i7=[],a7=[],r4=new Set;_1.recordUnsafeLifecycleWarnings=function($,G){r4.has($.type)||(typeof G.componentWillMount==="function"&&G.componentWillMount.__suppressDeprecationWarning!==!0&&p7.push($),$.mode&t5&&typeof G.UNSAFE_componentWillMount==="function"&&l7.push($),typeof G.componentWillReceiveProps==="function"&&G.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&c7.push($),$.mode&t5&&typeof G.UNSAFE_componentWillReceiveProps==="function"&&s7.push($),typeof G.componentWillUpdate==="function"&&G.componentWillUpdate.__suppressDeprecationWarning!==!0&&i7.push($),$.mode&t5&&typeof G.UNSAFE_componentWillUpdate==="function"&&a7.push($))},_1.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<p7.length&&(p7.forEach(function(U){$.add(p(U)||"Component"),r4.add(U.type)}),p7=[]);var G=new Set;0<l7.length&&(l7.forEach(function(U){G.add(p(U)||"Component"),r4.add(U.type)}),l7=[]);var X=new Set;0<c7.length&&(c7.forEach(function(U){X.add(p(U)||"Component"),r4.add(U.type)}),c7=[]);var Y=new Set;0<s7.length&&(s7.forEach(function(U){Y.add(p(U)||"Component"),r4.add(U.type)}),s7=[]);var Z=new Set;0<i7.length&&(i7.forEach(function(U){Z.add(p(U)||"Component"),r4.add(U.type)}),i7=[]);var B=new Set;if(0<a7.length&&(a7.forEach(function(U){B.add(p(U)||"Component"),r4.add(U.type)}),a7=[]),0<G.size){var H=F(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.
* Move code with side effects to componentDidMount, and set initial state in the constructor.
Please update the following components: %s`,H)}0<Y.size&&(H=F(Y),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.
* Move data fetching code or side effects to componentDidUpdate.
* 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
Please update the following components: %s`,H)),0<B.size&&(H=F(B),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.
* Move data fetching code or side effects to componentDidUpdate.
Please update the following components: %s`,H)),0<$.size&&(H=F($),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
* Move code with side effects to componentDidMount, and set initial state in the constructor.
* 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.
Please update the following components: %s`,H)),0<X.size&&(H=F(X),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
* 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
* 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.
Please update the following components: %s`,H)),0<Z.size&&(H=F(Z),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
* 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.
Please update the following components: %s`,H))};var A9=new Map,s_=new Set;_1.recordLegacyContextWarning=function($,G){var X=null;for(var Y=$;Y!==null;)Y.mode&t5&&(X=Y),Y=Y.return;X===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."):!s_.has($.type)&&(Y=A9.get(X),$.type.contextTypes!=null||$.type.childContextTypes!=null||G!==null&&typeof G.getChildContext==="function")&&(Y===void 0&&(Y=[],A9.set(X,Y)),Y.push($))},_1.flushLegacyContextWarning=function(){A9.forEach(function($){if($.length!==0){var G=$[0],X=new Set;$.forEach(function(Z){X.add(p(Z)||"Component"),s_.add(Z.type)});var Y=F(X);n(G,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
Please update the following components: %s
Learn more about this warning here: https://react.dev/link/legacy-context`,Y)})}})},_1.discardPendingWarnings=function(){p7=[],l7=[],c7=[],s7=[],i7=[],a7=[],A9=new Map};var i_={react_stack_bottom_frame:function($,G,X){var Y=m1;m1=!0;try{return $(G,X)}finally{m1=Y}}},WB=i_.react_stack_bottom_frame.bind(i_),a_={react_stack_bottom_frame:function($){var G=m1;m1=!0;try{return $.render()}finally{m1=G}}},n_=a_.react_stack_bottom_frame.bind(a_),o_={react_stack_bottom_frame:function($,G){try{G.componentDidMount()}catch(X){c0($,$.return,X)}}},_B=o_.react_stack_bottom_frame.bind(o_),r_={react_stack_bottom_frame:function($,G,X,Y,Z){try{G.componentDidUpdate(X,Y,Z)}catch(B){c0($,$.return,B)}}},t_=r_.react_stack_bottom_frame.bind(r_),e_={react_stack_bottom_frame:function($,G){var X=G.stack;$.componentDidCatch(G.value,{componentStack:X!==null?X:""})}},jF=e_.react_stack_bottom_frame.bind(e_),$N={react_stack_bottom_frame:function($,G,X){try{X.componentWillUnmount()}catch(Y){c0($,G,Y)}}},GN=$N.react_stack_bottom_frame.bind($N),XN={react_stack_bottom_frame:function($){var G=$.create;return $=$.inst,G=G(),$.destroy=G}},xF=XN.react_stack_bottom_frame.bind(XN),YN={react_stack_bottom_frame:function($,G,X){try{X()}catch(Y){c0($,G,Y)}}},SF=YN.react_stack_bottom_frame.bind(YN),ZN={react_stack_bottom_frame:function($){var G=$._init;return G($._payload)}},kF=ZN.react_stack_bottom_frame.bind(ZN),UG=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`."),NB=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."),L9=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."),w9={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.')}},t4=null,n7=!1,WG=null,o7=0,q0=null,AB,BN=AB=!1,JN={},HN={},zN={};M=function($,G,X){if(X!==null&&typeof X==="object"&&X._store&&(!X._store.validated&&X.key==null||X._store.validated===2)){if(typeof X._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.");X._store.validated=1;var Y=p($),Z=Y||"null";if(!JN[Z]){JN[Z]=!0,X=X._owner,$=$._debugOwner;var B="";$&&typeof $.tag==="number"&&(Z=p($))&&(B=`
Check the render method of \``+Z+"`."),B||Y&&(B=`
Check the top-level render call using <`+Y+">.");var H="";X!=null&&$!==X&&(Y=null,typeof X.tag==="number"?Y=p(X):typeof X.name==="string"&&(Y=X.name),Y&&(H=" It was passed a child from "+Y+".")),n(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.',B,H)})}}};var e4=$z(!0),UN=$z(!1),WN=0,_N=1,NN=2,LB=3,Y4=!1,AN=!1,wB=null,QB=!1,_G=o0(null),Q9=o0(0),b$=o0(null),o$=null,NG=1,r7=2,V5=o0(0),K9=0,r$=1,H$=2,m$=4,z$=8,AG,LN=new Set,wN=new Set,KB=new Set,QN=new Set,K2=0,K0=null,G5=null,C5=null,F9=!1,LG=!1,$6=!1,M9=0,t7=0,F2=null,vF=0,gF=25,k=null,t$=null,M2=-1,e7=!1,$8={readContext:_5,use:h2,useCallback:T5,useContext:T5,useEffect:T5,useImperativeHandle:T5,useLayoutEffect:T5,useInsertionEffect:T5,useMemo:T5,useReducer:T5,useRef:T5,useState:T5,useDebugValue:T5,useDeferredValue:T5,useTransition:T5,useSyncExternalStore:T5,useId:T5,useHostTransitionStatus:T5,useFormState:T5,useActionState:T5,useOptimistic:T5,useMemoCache:T5,useCacheRefresh:T5};$8.useEffectEvent=T5;var FB=null,KN=null,MB=null,FN=null,c1=null,N1=null,R9=null;FB={readContext:function($){return _5($)},use:h2,useCallback:function($,G){return k="useCallback",x0(),j6(G),QZ($,G)},useContext:function($){return k="useContext",x0(),_5($)},useEffect:function($,G){return k="useEffect",x0(),j6(G),AX($,G)},useImperativeHandle:function($,G,X){return k="useImperativeHandle",x0(),j6(X),wZ($,G,X)},useInsertionEffect:function($,G){k="useInsertionEffect",x0(),j6(G),f4(4,H$,$,G)},useLayoutEffect:function($,G){return k="useLayoutEffect",x0(),j6(G),LZ($,G)},useMemo:function($,G){k="useMemo",x0(),j6(G);var X=g.H;g.H=c1;try{return KZ($,G)}finally{g.H=X}},useReducer:function($,G,X){k="useReducer",x0();var Y=g.H;g.H=c1;try{return BZ($,G,X)}finally{g.H=Y}},useRef:function($){return k="useRef",x0(),NZ($)},useState:function($){k="useState",x0();var G=g.H;g.H=c1;try{return UZ($)}finally{g.H=G}},useDebugValue:function(){k="useDebugValue",x0()},useDeferredValue:function($,G){return k="useDeferredValue",x0(),FZ($,G)},useTransition:function(){return k="useTransition",x0(),TZ()},useSyncExternalStore:function($,G,X){return k="useSyncExternalStore",x0(),HZ($,G,X)},useId:function(){return k="useId",x0(),IZ()},useFormState:function($,G){return k="useFormState",x0(),zX(),S6($,G)},useActionState:function($,G){return k="useActionState",x0(),S6($,G)},useOptimistic:function($){return k="useOptimistic",x0(),WZ($)},useHostTransitionStatus:h4,useMemoCache:m4,useCacheRefresh:function(){return k="useCacheRefresh",x0(),PZ()},useEffectEvent:function($){return k="useEffectEvent",x0(),AZ($)}},KN={readContext:function($){return _5($)},use:h2,useCallback:function($,G){return k="useCallback",h(),QZ($,G)},useContext:function($){return k="useContext",h(),_5($)},useEffect:function($,G){return k="useEffect",h(),AX($,G)},useImperativeHandle:function($,G,X){return k="useImperativeHandle",h(),wZ($,G,X)},useInsertionEffect:function($,G){k="useInsertionEffect",h(),f4(4,H$,$,G)},useLayoutEffect:function($,G){return k="useLayoutEffect",h(),LZ($,G)},useMemo:function($,G){k="useMemo",h();var X=g.H;g.H=c1;try{return KZ($,G)}finally{g.H=X}},useReducer:function($,G,X){k="useReducer",h();var Y=g.H;g.H=c1;try{return BZ($,G,X)}finally{g.H=Y}},useRef:function($){return k="useRef",h(),NZ($)},useState:function($){k="useState",h();var G=g.H;g.H=c1;try{return UZ($)}finally{g.H=G}},useDebugValue:function(){k="useDebugValue",h()},useDeferredValue:function($,G){return k="useDeferredValue",h(),FZ($,G)},useTransition:function(){return k="useTransition",h(),TZ()},useSyncExternalStore:function($,G,X){return k="useSyncExternalStore",h(),HZ($,G,X)},useId:function(){return k="useId",h(),IZ()},useActionState:function($,G){return k="useActionState",h(),S6($,G)},useFormState:function($,G){return k="useFormState",h(),zX(),S6($,G)},useOptimistic:function($){return k="useOptimistic",h(),WZ($)},useHostTransitionStatus:h4,useMemoCache:m4,useCacheRefresh:function(){return k="useCacheRefresh",h(),PZ()},useEffectEvent:function($){return k="useEffectEvent",h(),AZ($)}},MB={readContext:function($){return _5($)},use:h2,useCallback:function($,G){return k="useCallback",h(),QX($,G)},useContext:function($){return k="useContext",h(),_5($)},useEffect:function($,G){k="useEffect",h(),w$(2048,z$,$,G)},useImperativeHandle:function($,G,X){return k="useImperativeHandle",h(),wX($,G,X)},useInsertionEffect:function($,G){return k="useInsertionEffect",h(),w$(4,H$,$,G)},useLayoutEffect:function($,G){return k="useLayoutEffect",h(),w$(4,m$,$,G)},useMemo:function($,G){k="useMemo",h();var X=g.H;g.H=N1;try{return KX($,G)}finally{g.H=X}},useReducer:function($,G,X){k="useReducer",h();var Y=g.H;g.H=N1;try{return x6($,G,X)}finally{g.H=Y}},useRef:function(){return k="useRef",h(),a0().memoizedState},useState:function(){k="useState",h();var $=g.H;g.H=N1;try{return x6(J1)}finally{g.H=$}},useDebugValue:function(){k="useDebugValue",h()},useDeferredValue:function($,G){return k="useDeferredValue",h(),Iz($,G)},useTransition:function(){return k="useTransition",h(),Ez()},useSyncExternalStore:function($,G,X){return k="useSyncExternalStore",h(),WX($,G,X)},useId:function(){return k="useId",h(),a0().memoizedState},useFormState:function($){return k="useFormState",h(),zX(),_X($)},useActionState:function($){return k="useActionState",h(),_X($)},useOptimistic:function($,G){return k="useOptimistic",h(),Nz($,G)},useHostTransitionStatus:h4,useMemoCache:m4,useCacheRefresh:function(){return k="useCacheRefresh",h(),a0().memoizedState},useEffectEvent:function($){return k="useEffectEvent",h(),LX($)}},FN={readContext:function($){return _5($)},use:h2,useCallback:function($,G){return k="useCallback",h(),QX($,G)},useContext:function($){return k="useContext",h(),_5($)},useEffect:function($,G){k="useEffect",h(),w$(2048,z$,$,G)},useImperativeHandle:function($,G,X){return k="useImperativeHandle",h(),wX($,G,X)},useInsertionEffect:function($,G){return k="useInsertionEffect",h(),w$(4,H$,$,G)},useLayoutEffect:function($,G){return k="useLayoutEffect",h(),w$(4,m$,$,G)},useMemo:function($,G){k="useMemo",h();var X=g.H;g.H=R9;try{return KX($,G)}finally{g.H=X}},useReducer:function($,G,X){k="useReducer",h();var Y=g.H;g.H=R9;try{return B7($,G,X)}finally{g.H=Y}},useRef:function(){return k="useRef",h(),a0().memoizedState},useState:function(){k="useState",h();var $=g.H;g.H=R9;try{return B7(J1)}finally{g.H=$}},useDebugValue:function(){k="useDebugValue",h()},useDeferredValue:function($,G){return k="useDeferredValue",h(),Pz($,G)},useTransition:function(){return k="useTransition",h(),Cz()},useSyncExternalStore:function($,G,X){return k="useSyncExternalStore",h(),WX($,G,X)},useId:function(){return k="useId",h(),a0().memoizedState},useFormState:function($){return k="useFormState",h(),zX(),NX($)},useActionState:function($){return k="useActionState",h(),NX($)},useOptimistic:function($,G){return k="useOptimistic",h(),Lz($,G)},useHostTransitionStatus:h4,useMemoCache:m4,useCacheRefresh:function(){return k="useCacheRefresh",h(),a0().memoizedState},useEffectEvent:function($){return k="useEffectEvent",h(),LX($)}},c1={readContext:function($){return j(),_5($)},use:function($){return K(),h2($)},useCallback:function($,G){return k="useCallback",K(),x0(),QZ($,G)},useContext:function($){return k="useContext",K(),x0(),_5($)},useEffect:function($,G){return k="useEffect",K(),x0(),AX($,G)},useImperativeHandle:function($,G,X){return k="useImperativeHandle",K(),x0(),wZ($,G,X)},useInsertionEffect:function($,G){k="useInsertionEffect",K(),x0(),f4(4,H$,$,G)},useLayoutEffect:function($,G){return k="useLayoutEffect",K(),x0(),LZ($,G)},useMemo:function($,G){k="useMemo",K(),x0();var X=g.H;g.H=c1;try{return KZ($,G)}finally{g.H=X}},useReducer:function($,G,X){k="useReducer",K(),x0();var Y=g.H;g.H=c1;try{return BZ($,G,X)}finally{g.H=Y}},useRef:function($){return k="useRef",K(),x0(),NZ($)},useState:function($){k="useState",K(),x0();var G=g.H;g.H=c1;try{return UZ($)}finally{g.H=G}},useDebugValue:function(){k="useDebugValue",K(),x0()},useDeferredValue:function($,G){return k="useDeferredValue",K(),x0(),FZ($,G)},useTransition:function(){return k="useTransition",K(),x0(),TZ()},useSyncExternalStore:function($,G,X){return k="useSyncExternalStore",K(),x0(),HZ($,G,X)},useId:function(){return k="useId",K(),x0(),IZ()},useFormState:function($,G){return k="useFormState",K(),x0(),S6($,G)},useActionState:function($,G){return k="useActionState",K(),x0(),S6($,G)},useOptimistic:function($){return k="useOptimistic",K(),x0(),WZ($)},useMemoCache:function($){return K(),m4($)},useHostTransitionStatus:h4,useCacheRefresh:function(){return k="useCacheRefresh",x0(),PZ()},useEffectEvent:function($){return k="useEffectEvent",K(),x0(),AZ($)}},N1={readContext:function($){return j(),_5($)},use:function($){return K(),h2($)},useCallback:function($,G){return k="useCallback",K(),h(),QX($,G)},useContext:function($){return k="useContext",K(),h(),_5($)},useEffect:function($,G){k="useEffect",K(),h(),w$(2048,z$,$,G)},useImperativeHandle:function($,G,X){return k="useImperativeHandle",K(),h(),wX($,G,X)},useInsertionEffect:function($,G){return k="useInsertionEffect",K(),h(),w$(4,H$,$,G)},useLayoutEffect:function($,G){return k="useLayoutEffect",K(),h(),w$(4,m$,$,G)},useMemo:function($,G){k="useMemo",K(),h();var X=g.H;g.H=N1;try{return KX($,G)}finally{g.H=X}},useReducer:function($,G,X){k="useReducer",K(),h();var Y=g.H;g.H=N1;try{return x6($,G,X)}finally{g.H=Y}},useRef:function(){return k="useRef",K(),h(),a0().memoizedState},useState:function(){k="useState",K(),h();var $=g.H;g.H=N1;try{return x6(J1)}finally{g.H=$}},useDebugValue:function(){k="useDebugValue",K(),h()},useDeferredValue:function($,G){return k="useDeferredValue",K(),h(),Iz($,G)},useTransition:function(){return k="useTransition",K(),h(),Ez()},useSyncExternalStore:function($,G,X){return k="useSyncExternalStore",K(),h(),WX($,G,X)},useId:function(){return k="useId",K(),h(),a0().memoizedState},useFormState:function($){return k="useFormState",K(),h(),_X($)},useActionState:function($){return k="useActionState",K(),h(),_X($)},useOptimistic:function($,G){return k="useOptimistic",K(),h(),Nz($,G)},useMemoCache:function($){return K(),m4($)},useHostTransitionStatus:h4,useCacheRefresh:function(){return k="useCacheRefresh",h(),a0().memoizedState},useEffectEvent:function($){return k="useEffectEvent",K(),h(),LX($)}},R9={readContext:function($){return j(),_5($)},use:function($){return K(),h2($)},useCallback:function($,G){return k="useCallback",K(),h(),QX($,G)},useContext:function($){return k="useContext",K(),h(),_5($)},useEffect:function($,G){k="useEffect",K(),h(),w$(2048,z$,$,G)},useImperativeHandle:function($,G,X){return k="useImperativeHandle",K(),h(),wX($,G,X)},useInsertionEffect:function($,G){return k="useInsertionEffect",K(),h(),w$(4,H$,$,G)},useLayoutEffect:function($,G){return k="useLayoutEffect",K(),h(),w$(4,m$,$,G)},useMemo:function($,G){k="useMemo",K(),h();var X=g.H;g.H=N1;try{return KX($,G)}finally{g.H=X}},useReducer:function($,G,X){k="useReducer",K(),h();var Y=g.H;g.H=N1;try{return B7($,G,X)}finally{g.H=Y}},useRef:function(){return k="useRef",K(),h(),a0().memoizedState},useState:function(){k="useState",K(),h();var $=g.H;g.H=N1;try{return B7(J1)}finally{g.H=$}},useDebugValue:function(){k="useDebugValue",K(),h()},useDeferredValue:function($,G){return k="useDeferredValue",K(),h(),Pz($,G)},useTransition:function(){return k="useTransition",K(),h(),Cz()},useSyncExternalStore:function($,G,X){return k="useSyncExternalStore",K(),h(),WX($,G,X)},useId:function(){return k="useId",K(),h(),a0().memoizedState},useFormState:function($){return k="useFormState",K(),h(),NX($)},useActionState:function($){return k="useActionState",K(),h(),NX($)},useOptimistic:function($,G){return k="useOptimistic",K(),h(),Lz($,G)},useMemoCache:function($){return K(),m4($)},useHostTransitionStatus:h4,useCacheRefresh:function(){return k="useCacheRefresh",h(),a0().memoizedState},useEffectEvent:function($){return k="useEffectEvent",K(),h(),LX($)}};var MN={},RN=new Set,TN=new Set,IN=new Set,PN=new Set,VN=new Set,ON=new Set,qN=new Set,DN=new Set,EN=new Set,CN=new Set;Object.freeze(MN);var RB={enqueueSetState:function($,G,X){$=$._reactInternals;var Y=j$($),Z=g2(Y);Z.payload=G,X!==void 0&&X!==null&&(OZ(X),Z.callback=X),G=b2($,Z,Y),G!==null&&(I1(Y,"this.setState()",$),F5(G,$,Y),G7(G,$,Y))},enqueueReplaceState:function($,G,X){$=$._reactInternals;var Y=j$($),Z=g2(Y);Z.tag=_N,Z.payload=G,X!==void 0&&X!==null&&(OZ(X),Z.callback=X),G=b2($,Z,Y),G!==null&&(I1(Y,"this.replaceState()",$),F5(G,$,Y),G7(G,$,Y))},enqueueForceUpdate:function($,G){$=$._reactInternals;var X=j$($),Y=g2(X);Y.tag=NN,G!==void 0&&G!==null&&(OZ(G),Y.callback=G),G=b2($,Y,X),G!==null&&(I1(X,"this.forceUpdate()",$),F5(G,$,X),G7(G,$,X))}},wG=null,TB=null,IB=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."),j5=!1,jN={},xN={},SN={},kN={},QG=!1,vN={},T9={},PB={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},gN=!1,bN=null;bN=new Set;var R2=!1,x5=!1,VB=!1,mN=typeof WeakSet==="function"?WeakSet:Set,d5=null,KG=null,FG=null,S5=null,F$=!1,A1=null,g5=!1,G8=8192,bF={getCacheForType:function($){var G=_5(D5),X=G.data.get($);return X===void 0&&(X=$(),G.data.set($,X)),X},cacheSignal:function(){return _5(D5).controller.signal},getOwner:function(){return k$}};if(typeof Symbol==="function"&&Symbol.for){var X8=Symbol.for;X8("selector.component"),X8("selector.has_pseudo_class"),X8("selector.role"),X8("selector.test_id"),X8("selector.text")}var mF=[],fF=typeof WeakMap==="function"?WeakMap:Map,u5=0,b5=2,f$=4,T2=0,Y8=1,G6=2,I9=3,Z4=4,P9=6,fN=5,h0=u5,X5=null,C0=null,D0=0,M$=0,V9=1,X6=2,Z8=3,hN=4,OB=5,B8=6,O9=7,qB=8,Y6=9,n0=M$,h$=null,B4=!1,MG=!1,DB=!1,s1=0,Q5=T2,J4=0,H4=0,EB=0,R$=0,Z6=0,J8=null,U$=null,q9=!1,D9=0,yN=0,dN=300,E9=1/0,uN=500,H8=null,I5=null,z4=null,C9=0,CB=1,jB=2,pN=3,U4=0,lN=1,cN=2,sN=3,iN=4,j9=5,k5=0,W4=null,RG=null,L1=0,xB=0,SB=-0,kB=null,aN=null,nN=null,w1=C9,oN=null,hF=50,z8=0,vB=null,gB=!1,x9=!1,yF=50,B6=0,U8=null,TG=!1,S9=null,rN=!1,tN=new Set,dF={},k9=null,IG=null,bB=!1,mB=!1,v9=!1,fB=!1,_4=0,hB={};(function(){for(var $=0;$<o3.length;$++){var G=o3[$],X=G.toLowerCase();G=G[0].toUpperCase()+G.slice(1),B1(X,"on"+G)}B1(E_,"onAnimationEnd"),B1(C_,"onAnimationIteration"),B1(j_,"onAnimationStart"),B1("dblclick","onDoubleClick"),B1("focusin","onFocus"),B1("focusout","onBlur"),B1(KF,"onTransitionRun"),B1(FF,"onTransitionStart"),B1(MF,"onTransitionCancel"),B1(x_,"onTransitionEnd")})(),P$("onMouseEnter",["mouseout","mouseover"]),P$("onMouseLeave",["mouseout","mouseover"]),P$("onPointerEnter",["pointerout","pointerover"]),P$("onPointerLeave",["pointerout","pointerover"]),n5("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),n5("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),n5("onBeforeInput",["compositionend","keypress","textInput","paste"]),n5("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),n5("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),n5("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var W8="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(" "),yB=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(W8)),g9="_reactListening"+Math.random().toString(36).slice(2),eN=!1,$A=!1,b9=!1,GA=!1,m9=!1,f9=!1,XA=!1,h9={},uF=/\r\n?/g,pF=/\u0000|\uFFFD/g,J6="http://www.w3.org/1999/xlink",dB="http://www.w3.org/XML/1998/namespace",lF="javascript:throw new Error('React form unexpectedly submitted.')",cF="suppressHydrationWarning",H6="&",y9="/&",_8="$",N8="/$",N4="$?",z6="$~",PG="$!",sF="html",iF="body",aF="head",uB="F!",YA="F",ZA="loading",nF="style",I2=0,VG=1,d9=2,pB=null,lB=null,BA={dialog:!0,webview:!0},cB=null,A8=void 0,JA=typeof setTimeout==="function"?setTimeout:void 0,oF=typeof clearTimeout==="function"?clearTimeout:void 0,U6=-1,HA=typeof Promise==="function"?Promise:void 0,rF=typeof queueMicrotask==="function"?queueMicrotask:typeof HA<"u"?function($){return HA.resolve(null).then($).catch(gQ)}:JA,sB=null,W6=0,L8=1,zA=2,UA=3,e$=4,$1=new Map,WA=new Set,P2=s0.d;s0.d={f:function(){var $=P2.f(),G=m6();return $||G},r:function($){var G=M0($);G!==null&&G.tag===5&&G.type==="form"?Dz(G):P2.r($)},D:function($){P2.D($),RW("dns-prefetch",$,null)},C:function($,G){P2.C($,G),RW("preconnect",$,G)},L:function($,G,X){P2.L($,G,X);var Y=OG;if(Y&&$&&G){var Z='link[rel="preload"][as="'+d$(G)+'"]';G==="image"?X&&X.imageSrcSet?(Z+='[imagesrcset="'+d$(X.imageSrcSet)+'"]',typeof X.imageSizes==="string"&&(Z+='[imagesizes="'+d$(X.imageSizes)+'"]')):Z+='[href="'+d$($)+'"]':Z+='[href="'+d$($)+'"]';var B=Z;switch(G){case"style":B=y6($);break;case"script":B=d6($)}$1.has(B)||($=S0({rel:"preload",href:G==="image"&&X&&X.imageSrcSet?void 0:$,as:G},X),$1.set(B,$),Y.querySelector(Z)!==null||G==="style"&&Y.querySelector(R7(B))||G==="script"&&Y.querySelector(T7(B))||(G=Y.createElement("link"),c5(G,"link",$),z0(G),Y.head.appendChild(G)))}},m:function($,G){P2.m($,G);var X=OG;if(X&&$){var Y=G&&typeof G.as==="string"?G.as:"script",Z='link[rel="modulepreload"][as="'+d$(Y)+'"][href="'+d$($)+'"]',B=Z;switch(Y){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":B=d6($)}if(!$1.has(B)&&($=S0({rel:"modulepreload",href:$},G),$1.set(B,$),X.querySelector(Z)===null)){switch(Y){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(X.querySelector(T7(B)))return}Y=X.createElement("link"),c5(Y,"link",$),z0(Y),X.head.appendChild(Y)}}},X:function($,G){P2.X($,G);var X=OG;if(X&&$){var Y=d0(X).hoistableScripts,Z=d6($),B=Y.get(Z);B||(B=X.querySelector(T7(Z)),B||($=S0({src:$,async:!0},G),(G=$1.get(Z))&&w3($,G),B=X.createElement("script"),z0(B),c5(B,"link",$),X.head.appendChild(B)),B={type:"script",instance:B,count:1,state:null},Y.set(Z,B))}},S:function($,G,X){P2.S($,G,X);var Y=OG;if(Y&&$){var Z=d0(Y).hoistableStyles,B=y6($);G=G||"default";var H=Z.get(B);if(!H){var U={loading:W6,preload:null};if(H=Y.querySelector(R7(B)))U.loading=L8|e$;else{$=S0({rel:"stylesheet",href:$,"data-precedence":G},X),(X=$1.get(B))&&L3($,X);var _=H=Y.createElement("link");z0(_),c5(_,"link",$),_._p=new Promise(function(A,q){_.onload=A,_.onerror=q}),_.addEventListener("load",function(){U.loading|=L8}),_.addEventListener("error",function(){U.loading|=zA}),U.loading|=e$,bX(H,G,Y)}H={type:"stylesheet",instance:H,count:1,state:U},Z.set(B,H)}}},M:function($,G){P2.M($,G);var X=OG;if(X&&$){var Y=d0(X).hoistableScripts,Z=d6($),B=Y.get(Z);B||(B=X.querySelector(T7(Z)),B||($=S0({src:$,async:!0,type:"module"},G),(G=$1.get(Z))&&w3($,G),B=X.createElement("script"),z0(B),c5(B,"link",$),X.head.appendChild(B)),B={type:"script",instance:B,count:1,state:null},Y.set(Z,B))}}};var OG=typeof document>"u"?null:document,u9=null,tF=60000,eF=800,$M=500,iB=0,aB=null,p9=null,_6=wK,w8={$$typeof:b1,Provider:null,Consumer:null,_currentValue:_6,_currentValue2:_6,_threadCount:0},_A="%c%s%c",NA="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",AA="",l9=" ",GM=Function.prototype.bind,LA=!1,wA=null,QA=null,KA=null,FA=null,MA=null,RA=null,TA=null,IA=null,PA=null,VA=null;wA=function($,G,X,Y){G=J($,G),G!==null&&(X=z(G.memoizedState,X,0,Y),G.memoizedState=X,G.baseState=X,$.memoizedProps=S0({},$.memoizedProps),X=o5($,2),X!==null&&F5(X,$,2))},QA=function($,G,X){G=J($,G),G!==null&&(X=L(G.memoizedState,X,0),G.memoizedState=X,G.baseState=X,$.memoizedProps=S0({},$.memoizedProps),X=o5($,2),X!==null&&F5(X,$,2))},KA=function($,G,X,Y){G=J($,G),G!==null&&(X=W(G.memoizedState,X,Y),G.memoizedState=X,G.baseState=X,$.memoizedProps=S0({},$.memoizedProps),X=o5($,2),X!==null&&F5(X,$,2))},FA=function($,G,X){$.pendingProps=z($.memoizedProps,G,0,X),$.alternate&&($.alternate.pendingProps=$.pendingProps),G=o5($,2),G!==null&&F5(G,$,2)},MA=function($,G){$.pendingProps=L($.memoizedProps,G,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),G=o5($,2),G!==null&&F5(G,$,2)},RA=function($,G,X){$.pendingProps=W($.memoizedProps,G,X),$.alternate&&($.alternate.pendingProps=$.pendingProps),G=o5($,2),G!==null&&F5(G,$,2)},TA=function($){var G=o5($,2);G!==null&&F5(G,$,2)},IA=function($){var G=P6(),X=o5($,G);X!==null&&F5(X,$,G)},PA=function($){R=$},VA=function($){Q=$};var c9=!0,s9=null,nB=!1,A4=null,L4=null,w4=null,Q8=new Map,K8=new Map,Q4=[],XM="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(" "),i9=null;if(dX.prototype.render=T3.prototype.render=function($){var G=this._internalRoot;if(G===null)throw Error("Cannot update an unmounted root.");var X=arguments;typeof X[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()."):v(X[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 X[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),X=$;var Y=G.current,Z=j$(Y);Q3(Y,Z,X,G,null,null)},dX.prototype.unmount=T3.prototype.unmount=function(){var $=arguments;if(typeof $[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()."),$=this._internalRoot,$!==null){this._internalRoot=null;var G=$.containerInfo;(h0&(b5|f$))!==u5&&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."),Q3($.current,2,null,$,null,null),m6(),G[s2]=null}},dX.prototype.unstable_scheduleHydration=function($){if($){var G=C();$={blockedOn:null,target:$,priority:G};for(var X=0;X<Q4.length&&G!==0&&G<Q4[X].priority;X++);Q4.splice(X,0,$),X===0&&vW($)}},function(){var $=qG.version;if($!=="19.2.5")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
- react: `+($+`
- react-dom: 19.2.5
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),s0.findDOMNode=function($){var G=$._reactInternals;if(G===void 0){if(typeof $.render==="function")throw Error("Unable to find node on an unmounted component.");throw $=Object.keys($).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+$)}return $=Y0(G),$=$!==null?Y5($):null,$=$===null?null:$.stateNode,$},!function(){var $={bundleType:1,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:g,reconcilerVersion:"19.2.5"};return $.overrideHookState=wA,$.overrideHookStateDeletePath=QA,$.overrideHookStateRenamePath=KA,$.overrideProps=FA,$.overridePropsDeletePath=MA,$.overridePropsRenamePath=RA,$.scheduleUpdate=TA,$.scheduleRetry=IA,$.setErrorHandler=PA,$.setSuspenseHandler=VA,$.scheduleRefresh=d,$.scheduleRoot=f,$.setRefreshHandler=m,$.getCurrentFiber=HK,I6($)}()&&d1&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var OA=window.location.protocol;/^(https?|file):$/.test(OA)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(OA==="file:"?`
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}wM.createRoot=function($,G){if(!v($))throw Error("Target container is not a DOM element.");fW($);var X=!1,Y="",Z=gz,B=bz,H=mz;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===g1&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
let root = createRoot(domContainer);
root.render(<App />);`),G.unstable_strictMode===!0&&(X=!0),G.identifierPrefix!==void 0&&(Y=G.identifierPrefix),G.onUncaughtError!==void 0&&(Z=G.onUncaughtError),G.onCaughtError!==void 0&&(B=G.onCaughtError),G.onRecoverableError!==void 0&&(H=G.onRecoverableError)),G=DW($,1,!1,null,null,X,Y,null,Z,B,H,mW),$[s2]=G.current,X3($),new T3(G)},wM.hydrateRoot=function($,G,X){if(!v($))throw Error("Target container is not a DOM element.");fW($),G===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var Y=!1,Z="",B=gz,H=bz,U=mz,_=null;return X!==null&&X!==void 0&&(X.unstable_strictMode===!0&&(Y=!0),X.identifierPrefix!==void 0&&(Z=X.identifierPrefix),X.onUncaughtError!==void 0&&(B=X.onUncaughtError),X.onCaughtError!==void 0&&(H=X.onCaughtError),X.onRecoverableError!==void 0&&(U=X.onRecoverableError),X.formState!==void 0&&(_=X.formState)),G=DW($,1,!0,G,X!=null?X:null,Y,Z,_,B,H,U,mW),G.context=EW(null),X=G.current,Y=j$(X),Y=D4(Y),Z=g2(Y),Z.callback=null,b2(X,Z,Y),I1(Y,"hydrateRoot()",null),X=Y,G.current.lanes=X,E2(G,X),k1(G),$[s2]=G.current,X3($),new dX(G)},wM.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var kA=K4((pI,SA)=>{var QM=G0(xA());SA.exports=QM});var UJ=K4((DM)=>{var w6=G0(H5());(function(){function J(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===p?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case m:return"Fragment";case o:return"Profiler";case v:return"StrictMode";case Y0:return"Suspense";case Y5:return"SuspenseList";case e0:return"Activity"}if(typeof V==="object")switch(typeof V.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),V.$$typeof){case d:return"Portal";case e:return V.displayName||"Context";case r:return(V._context.displayName||"Context")+".Consumer";case j0:var l=V.render;return V=V.displayName,V||(V=l.displayName||l.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case E0:return l=V.displayName||null,l!==null?l:J(V.type)||"Memo";case t:l=V._payload,V=V._init;try{return J(V(l))}catch(N0){}}return null}function z(V){return""+V}function W(V){try{z(V);var l=!1}catch(y0){l=!0}if(l){l=console;var N0=l.error,L0=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return N0.call(l,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",L0),z(V)}}function N(V){if(V===m)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===t)return"<...>";try{var l=J(V);return l?"<"+l+">":"<...>"}catch(N0){return"<...>"}}function L(){var V=o0.A;return V===null?null:V.getOwner()}function Q(){return Error("react-stack-top-frame")}function R(V){if(T0.call(V,"key")){var l=Object.getOwnPropertyDescriptor(V,"key").get;if(l&&l.isReactWarning)return!1}return V.key!==void 0}function K(V,l){function N0(){u||(u=!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))}N0.isReactWarning=!0,Object.defineProperty(V,"key",{get:N0,configurable:!0})}function j(){var V=J(this.type);return _0[V]||(_0[V]=!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.")),V=this.props.ref,V!==void 0?V:null}function x(V,l,N0,L0,y0,A$){var I0=N0.ref;return V={$$typeof:f,type:V,key:l,props:N0,_owner:L0},(I0!==void 0?I0:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:j}):Object.defineProperty(V,"ref",{enumerable:!1,value:null}),V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(V,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(V,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:y0}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A$}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function M(V,l,N0,L0,y0,A$){var I0=l.children;if(I0!==void 0)if(L0)if(Q0(I0)){for(L0=0;L0<I0.length;L0++)F(I0[L0]);Object.freeze&&Object.freeze(I0)}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 F(I0);if(T0.call(l,"key")){I0=J(V);var q5=Object.keys(l).filter(function(Z1){return Z1!=="key"});L0=0<q5.length?"{key: someKey, "+q5.join(": ..., ")+": ...}":"{key: someKey}",l0[I0+L0]||(q5=0<q5.length?"{"+q5.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,L0,I0,q5,I0),l0[I0+L0]=!0)}if(I0=null,N0!==void 0&&(W(N0),I0=""+N0),R(l)&&(W(l.key),I0=""+l.key),"key"in l){N0={};for(var a5 in l)a5!=="key"&&(N0[a5]=l[a5])}else N0=l;return I0&&K(N0,typeof V==="function"?V.displayName||V.name||"Unknown":V),x(V,I0,N0,L(),y0,A$)}function F(V){E(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===t&&(V._payload.status==="fulfilled"?E(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function E(V){return typeof V==="object"&&V!==null&&V.$$typeof===f}var f=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),r=Symbol.for("react.consumer"),e=Symbol.for("react.context"),j0=Symbol.for("react.forward_ref"),Y0=Symbol.for("react.suspense"),Y5=Symbol.for("react.suspense_list"),E0=Symbol.for("react.memo"),t=Symbol.for("react.lazy"),e0=Symbol.for("react.activity"),p=Symbol.for("react.client.reference"),o0=w6.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T0=Object.prototype.hasOwnProperty,Q0=Array.isArray,L5=console.createTask?console.createTask:function(){return null};w6={react_stack_bottom_frame:function(V){return V()}};var u,_0={},W0=w6.react_stack_bottom_frame.bind(w6,Q)(),p0=L5(N(Q)),l0={};DM.Fragment=m,DM.jsx=function(V,l,N0){var L0=1e4>o0.recentlyCreatedOwnerStacks++;return M(V,l,N0,!1,L0?Error("react-stack-top-frame"):W0,L0?L5(N(V)):p0)},DM.jsxs=function(V,l,N0){var L0=1e4>o0.recentlyCreatedOwnerStacks++;return M(V,l,N0,!0,L0?Error("react-stack-top-frame"):W0,L0?L5(N(V)):p0)}})()});var i0=K4((eR)=>{var M6=G0(H5());(function(){function J(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===p?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case m:return"Fragment";case o:return"Profiler";case v:return"StrictMode";case Y0:return"Suspense";case Y5:return"SuspenseList";case e0:return"Activity"}if(typeof V==="object")switch(typeof V.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),V.$$typeof){case d:return"Portal";case e:return V.displayName||"Context";case r:return(V._context.displayName||"Context")+".Consumer";case j0:var l=V.render;return V=V.displayName,V||(V=l.displayName||l.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case E0:return l=V.displayName||null,l!==null?l:J(V.type)||"Memo";case t:l=V._payload,V=V._init;try{return J(V(l))}catch(N0){}}return null}function z(V){return""+V}function W(V){try{z(V);var l=!1}catch(y0){l=!0}if(l){l=console;var N0=l.error,L0=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return N0.call(l,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",L0),z(V)}}function N(V){if(V===m)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===t)return"<...>";try{var l=J(V);return l?"<"+l+">":"<...>"}catch(N0){return"<...>"}}function L(){var V=o0.A;return V===null?null:V.getOwner()}function Q(){return Error("react-stack-top-frame")}function R(V){if(T0.call(V,"key")){var l=Object.getOwnPropertyDescriptor(V,"key").get;if(l&&l.isReactWarning)return!1}return V.key!==void 0}function K(V,l){function N0(){u||(u=!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))}N0.isReactWarning=!0,Object.defineProperty(V,"key",{get:N0,configurable:!0})}function j(){var V=J(this.type);return _0[V]||(_0[V]=!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.")),V=this.props.ref,V!==void 0?V:null}function x(V,l,N0,L0,y0,A$){var I0=N0.ref;return V={$$typeof:f,type:V,key:l,props:N0,_owner:L0},(I0!==void 0?I0:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:j}):Object.defineProperty(V,"ref",{enumerable:!1,value:null}),V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(V,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(V,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:y0}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A$}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function M(V,l,N0,L0,y0,A$){var I0=l.children;if(I0!==void 0)if(L0)if(Q0(I0)){for(L0=0;L0<I0.length;L0++)F(I0[L0]);Object.freeze&&Object.freeze(I0)}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 F(I0);if(T0.call(l,"key")){I0=J(V);var q5=Object.keys(l).filter(function(Z1){return Z1!=="key"});L0=0<q5.length?"{key: someKey, "+q5.join(": ..., ")+": ...}":"{key: someKey}",l0[I0+L0]||(q5=0<q5.length?"{"+q5.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,L0,I0,q5,I0),l0[I0+L0]=!0)}if(I0=null,N0!==void 0&&(W(N0),I0=""+N0),R(l)&&(W(l.key),I0=""+l.key),"key"in l){N0={};for(var a5 in l)a5!=="key"&&(N0[a5]=l[a5])}else N0=l;return I0&&K(N0,typeof V==="function"?V.displayName||V.name||"Unknown":V),x(V,I0,N0,L(),y0,A$)}function F(V){E(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===t&&(V._payload.status==="fulfilled"?E(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function E(V){return typeof V==="object"&&V!==null&&V.$$typeof===f}var f=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),r=Symbol.for("react.consumer"),e=Symbol.for("react.context"),j0=Symbol.for("react.forward_ref"),Y0=Symbol.for("react.suspense"),Y5=Symbol.for("react.suspense_list"),E0=Symbol.for("react.memo"),t=Symbol.for("react.lazy"),e0=Symbol.for("react.activity"),p=Symbol.for("react.client.reference"),o0=M6.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T0=Object.prototype.hasOwnProperty,Q0=Array.isArray,L5=console.createTask?console.createTask:function(){return null};M6={react_stack_bottom_frame:function(V){return V()}};var u,_0={},W0=M6.react_stack_bottom_frame.bind(M6,Q)(),p0=L5(N(Q)),l0={};eR.Fragment=m,eR.jsxDEV=function(V,l,N0,L0){var y0=1e4>o0.recentlyCreatedOwnerStacks++;return M(V,l,N0,L0,y0?Error("react-stack-top-frame"):W0,y0?L5(N(V)):p0)}})()});var Pw=G0(kA(),1);var G1=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(J){return this.listeners.add(J),this.onSubscribe(),()=>{this.listeners.delete(J),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};var KM=class extends G1{#$;#G;#X;constructor(){super();this.#X=(J)=>{if(typeof window<"u"&&window.addEventListener){let z=()=>J();return window.addEventListener("visibilitychange",z,!1),()=>{window.removeEventListener("visibilitychange",z)}}return}}onSubscribe(){if(!this.#G)this.setEventListener(this.#X)}onUnsubscribe(){if(!this.hasListeners())this.#G?.(),this.#G=void 0}setEventListener(J){this.#X=J,this.#G?.(),this.#G=J((z)=>{if(typeof z==="boolean")this.setFocused(z);else this.onFocus()})}setFocused(J){if(this.#$!==J)this.#$=J,this.onFocus()}onFocus(){let J=this.isFocused();this.listeners.forEach((z)=>{z(J)})}isFocused(){if(typeof this.#$==="boolean")return this.#$;return globalThis.document?.visibilityState!=="hidden"}},DG=new KM;var FM={setTimeout:(J,z)=>setTimeout(J,z),clearTimeout:(J)=>clearTimeout(J),setInterval:(J,z)=>setInterval(J,z),clearInterval:(J)=>clearInterval(J)},MM=class{#$=FM;#G=!1;setTimeoutProvider(J){if(this.#G&&J!==this.#$)console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.",{previous:this.#$,provider:J});this.#$=J,this.#G=!1}setTimeout(J,z){return this.#G=!0,this.#$.setTimeout(J,z)}clearTimeout(J){this.#$.clearTimeout(J)}setInterval(J,z){return this.#G=!0,this.#$.setInterval(J,z)}clearInterval(J){this.#$.clearInterval(J)}},i1=new MM;function vA(J){setTimeout(J,0)}var eB=typeof window>"u"||"Deno"in globalThis;function P5(){}function mA(J,z){return typeof J==="function"?J(z):J}function F8(J){return typeof J==="number"&&J>=0&&J!==1/0}function o9(J,z){return Math.max(J+(z||0)-Date.now(),0)}function Q1(J,z){return typeof J==="function"?J(z):J}function T$(J,z){return typeof J==="function"?J(z):J}function r9(J,z){let{type:W="all",exact:N,fetchStatus:L,predicate:Q,queryKey:R,stale:K}=J;if(R){if(N){if(z.queryHash!==M8(R,z.options))return!1}else if(!L6(z.queryKey,R))return!1}if(W!=="all"){let j=z.isActive();if(W==="active"&&!j)return!1;if(W==="inactive"&&j)return!1}if(typeof K==="boolean"&&z.isStale()!==K)return!1;if(L&&L!==z.state.fetchStatus)return!1;if(Q&&!Q(z))return!1;return!0}function t9(J,z){let{exact:W,status:N,predicate:L,mutationKey:Q}=J;if(Q){if(!z.options.mutationKey)return!1;if(W){if(a1(z.options.mutationKey)!==a1(Q))return!1}else if(!L6(z.options.mutationKey,Q))return!1}if(N&&z.state.status!==N)return!1;if(L&&!L(z))return!1;return!0}function M8(J,z){return(z?.queryKeyHashFn||a1)(J)}function a1(J){return JSON.stringify(J,(z,W)=>tB(W)?Object.keys(W).sort().reduce((N,L)=>{return N[L]=W[L],N},{}):W)}function L6(J,z){if(J===z)return!0;if(typeof J!==typeof z)return!1;if(J&&z&&typeof J==="object"&&typeof z==="object")return Object.keys(z).every((W)=>L6(J[W],z[W]));return!1}var RM=Object.prototype.hasOwnProperty;function n9(J,z,W=0){if(J===z)return J;if(W>500)return z;let N=gA(J)&&gA(z);if(!N&&!(tB(J)&&tB(z)))return z;let Q=(N?J:Object.keys(J)).length,R=N?z:Object.keys(z),K=R.length,j=N?Array(K):{},x=0;for(let M=0;M<K;M++){let F=N?M:R[M],E=J[F],f=z[F];if(E===f){if(j[F]=E,N?M<Q:RM.call(J,F))x++;continue}if(E===null||f===null||typeof E!=="object"||typeof f!=="object"){j[F]=f;continue}let d=n9(E,f,W+1);if(j[F]=d,d===E)x++}return Q===K&&x===Q?J:j}function EG(J,z){if(!z||Object.keys(J).length!==Object.keys(z).length)return!1;for(let W in J)if(J[W]!==z[W])return!1;return!0}function gA(J){return Array.isArray(J)&&J.length===Object.keys(J).length}function tB(J){if(!bA(J))return!1;let z=J.constructor;if(z===void 0)return!0;let W=z.prototype;if(!bA(W))return!1;if(!W.hasOwnProperty("isPrototypeOf"))return!1;if(Object.getPrototypeOf(J)!==Object.prototype)return!1;return!0}function bA(J){return Object.prototype.toString.call(J)==="[object Object]"}function fA(J){return new Promise((z)=>{i1.setTimeout(z,J)})}function R8(J,z,W){if(typeof W.structuralSharing==="function")return W.structuralSharing(J,z);else if(W.structuralSharing!==!1){try{return n9(J,z)}catch(N){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${W.queryHash}]: ${N}`),N}return n9(J,z)}return z}function hA(J,z,W=0){let N=[...J,z];return W&&N.length>W?N.slice(1):N}function yA(J,z,W=0){let N=[z,...J];return W&&N.length>W?N.slice(0,-1):N}var A6=Symbol();function e9(J,z){if(J.queryFn===A6)console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${J.queryHash}'`);if(!J.queryFn&&z?.initialPromise)return()=>z.initialPromise;if(!J.queryFn||J.queryFn===A6)return()=>Promise.reject(Error(`Missing queryFn: '${J.queryHash}'`));return J.queryFn}function CG(J,z){if(typeof J==="function")return J(...z);return!!J}function dA(J,z,W){let N=!1,L;return Object.defineProperty(J,"signal",{enumerable:!0,get:()=>{if(L??=z(),N)return L;if(N=!0,L.aborted)W();else L.addEventListener("abort",W,{once:!0});return L}}),J}var n1=(()=>{let J=()=>eB;return{isServer(){return J()},setIsServer(z){J=z}}})();function T8(){let J,z,W=new Promise((L,Q)=>{J=L,z=Q});W.status="pending",W.catch(()=>{});function N(L){Object.assign(W,L),delete W.resolve,delete W.reject}return W.resolve=(L)=>{N({status:"fulfilled",value:L}),J(L)},W.reject=(L)=>{N({status:"rejected",reason:L}),z(L)},W}var uA=vA;function TM(){let J=[],z=0,W=(K)=>{K()},N=(K)=>{K()},L=uA,Q=(K)=>{if(z)J.push(K);else L(()=>{W(K)})},R=()=>{let K=J;if(J=[],K.length)L(()=>{N(()=>{K.forEach((j)=>{W(j)})})})};return{batch:(K)=>{let j;z++;try{j=K()}finally{if(z--,!z)R()}return j},batchCalls:(K)=>{return(...j)=>{Q(()=>{K(...j)})}},schedule:Q,setNotifyFunction:(K)=>{W=K},setBatchNotifyFunction:(K)=>{N=K},setScheduler:(K)=>{L=K}}}var t0=TM();var IM=class extends G1{#$=!0;#G;#X;constructor(){super();this.#X=(J)=>{if(typeof window<"u"&&window.addEventListener){let z=()=>J(!0),W=()=>J(!1);return window.addEventListener("online",z,!1),window.addEventListener("offline",W,!1),()=>{window.removeEventListener("online",z),window.removeEventListener("offline",W)}}return}}onSubscribe(){if(!this.#G)this.setEventListener(this.#X)}onUnsubscribe(){if(!this.hasListeners())this.#G?.(),this.#G=void 0}setEventListener(J){this.#X=J,this.#G?.(),this.#G=J(this.setOnline.bind(this))}setOnline(J){if(this.#$!==J)this.#$=J,this.listeners.forEach((W)=>{W(J)})}isOnline(){return this.#$}},jG=new IM;function PM(J){return Math.min(1000*2**J,30000)}function $J(J){return(J??"online")==="online"?jG.isOnline():!0}var $Y=class extends Error{constructor(J){super("CancelledError");this.revert=J?.revert,this.silent=J?.silent}};function GY(J){let z=!1,W=0,N,L=T8(),Q=()=>L.status!=="pending",R=(m)=>{if(!Q()){let v=new $Y(m);E(v),J.onCancel?.(v)}},K=()=>{z=!0},j=()=>{z=!1},x=()=>DG.isFocused()&&(J.networkMode==="always"||jG.isOnline())&&J.canRun(),M=()=>$J(J.networkMode)&&J.canRun(),F=(m)=>{if(!Q())N?.(),L.resolve(m)},E=(m)=>{if(!Q())N?.(),L.reject(m)},f=()=>{return new Promise((m)=>{N=(v)=>{if(Q()||x())m(v)},J.onPause?.()}).then(()=>{if(N=void 0,!Q())J.onContinue?.()})},d=()=>{if(Q())return;let m,v=W===0?J.initialPromise:void 0;try{m=v??J.fn()}catch(o){m=Promise.reject(o)}Promise.resolve(m).then(F).catch((o)=>{if(Q())return;let r=J.retry??(n1.isServer()?0:3),e=J.retryDelay??PM,j0=typeof e==="function"?e(W,o):e,Y0=r===!0||typeof r==="number"&&W<r||typeof r==="function"&&r(W,o);if(z||!Y0){E(o);return}W++,J.onFail?.(W,o),fA(j0).then(()=>{return x()?void 0:f()}).then(()=>{if(z)E(o);else d()})})};return{promise:L,status:()=>L.status,cancel:R,continue:()=>{return N?.(),L},cancelRetry:K,continueRetry:j,canStart:M,start:()=>{if(M())d();else f().then(d);return L}}}var XY=class{#$;destroy(){this.clearGcTimeout()}scheduleGc(){if(this.clearGcTimeout(),F8(this.gcTime))this.#$=i1.setTimeout(()=>{this.optionalRemove()},this.gcTime)}updateGcTime(J){this.gcTime=Math.max(this.gcTime||0,J??(n1.isServer()?1/0:300000))}clearGcTimeout(){if(this.#$!==void 0)i1.clearTimeout(this.#$),this.#$=void 0}};var cA=class extends XY{#$;#G;#X;#Z;#Y;#B;#J;constructor(J){super();this.#J=!1,this.#B=J.defaultOptions,this.setOptions(J.options),this.observers=[],this.#Z=J.client,this.#X=this.#Z.getQueryCache(),this.queryKey=J.queryKey,this.queryHash=J.queryHash,this.#$=lA(this.options),this.state=J.state??this.#$,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#Y?.promise}setOptions(J){if(this.options={...this.#B,...J},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let z=lA(this.options);if(z.data!==void 0)this.setState(pA(z.data,z.dataUpdatedAt)),this.#$=z}}optionalRemove(){if(!this.observers.length&&this.state.fetchStatus==="idle")this.#X.remove(this)}setData(J,z){let W=R8(this.state.data,J,this.options);return this.#z({data:W,type:"success",dataUpdatedAt:z?.updatedAt,manual:z?.manual}),W}setState(J,z){this.#z({type:"setState",state:J,setStateOptions:z})}cancel(J){let z=this.#Y?.promise;return this.#Y?.cancel(J),z?z.then(P5).catch(P5):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#$}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some((J)=>T$(J.options.enabled,this)!==!1)}isDisabled(){if(this.getObserversCount()>0)return!this.isActive();return this.options.queryFn===A6||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){if(this.getObserversCount()>0)return this.observers.some((J)=>Q1(J.options.staleTime,this)==="static");return!1}isStale(){if(this.getObserversCount()>0)return this.observers.some((J)=>J.getCurrentResult().isStale);return this.state.data===void 0||this.state.isInvalidated}isStaleByTime(J=0){if(this.state.data===void 0)return!0;if(J==="static")return!1;if(this.state.isInvalidated)return!0;return!o9(this.state.dataUpdatedAt,J)}onFocus(){this.observers.find((z)=>z.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#Y?.continue()}onOnline(){this.observers.find((z)=>z.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#Y?.continue()}addObserver(J){if(!this.observers.includes(J))this.observers.push(J),this.clearGcTimeout(),this.#X.notify({type:"observerAdded",query:this,observer:J})}removeObserver(J){if(this.observers.includes(J)){if(this.observers=this.observers.filter((z)=>z!==J),!this.observers.length){if(this.#Y)if(this.#J||this.#H())this.#Y.cancel({revert:!0});else this.#Y.cancelRetry();this.scheduleGc()}this.#X.notify({type:"observerRemoved",query:this,observer:J})}}getObserversCount(){return this.observers.length}#H(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){if(!this.state.isInvalidated)this.#z({type:"invalidate"})}async fetch(J,z){if(this.state.fetchStatus!=="idle"&&this.#Y?.status()!=="rejected"){if(this.state.data!==void 0&&z?.cancelRefetch)this.cancel({silent:!0});else if(this.#Y)return this.#Y.continueRetry(),this.#Y.promise}if(J)this.setOptions(J);if(!this.options.queryFn){let K=this.observers.find((j)=>j.options.queryFn);if(K)this.setOptions(K.options)}if(!Array.isArray(this.options.queryKey))console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']");let W=new AbortController,N=(K)=>{Object.defineProperty(K,"signal",{enumerable:!0,get:()=>{return this.#J=!0,W.signal}})},L=()=>{let K=e9(this.options,z),x=(()=>{let M={client:this.#Z,queryKey:this.queryKey,meta:this.meta};return N(M),M})();if(this.#J=!1,this.options.persister)return this.options.persister(K,x,this);return K(x)},R=(()=>{let K={fetchOptions:z,options:this.options,queryKey:this.queryKey,client:this.#Z,state:this.state,fetchFn:L};return N(K),K})();if(this.options.behavior?.onFetch(R,this),this.#G=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==R.fetchOptions?.meta)this.#z({type:"fetch",meta:R.fetchOptions?.meta});this.#Y=GY({initialPromise:z?.initialPromise,fn:R.fetchFn,onCancel:(K)=>{if(K instanceof $Y&&K.revert)this.setState({...this.#G,fetchStatus:"idle"});W.abort()},onFail:(K,j)=>{this.#z({type:"failed",failureCount:K,error:j})},onPause:()=>{this.#z({type:"pause"})},onContinue:()=>{this.#z({type:"continue"})},retry:R.options.retry,retryDelay:R.options.retryDelay,networkMode:R.options.networkMode,canRun:()=>!0});try{let K=await this.#Y.start();if(K===void 0)throw console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),Error(`${this.queryHash} data is undefined`);return this.setData(K),this.#X.config.onSuccess?.(K,this),this.#X.config.onSettled?.(K,this.state.error,this),K}catch(K){if(K instanceof $Y){if(K.silent)return this.#Y.promise;else if(K.revert){if(this.state.data===void 0)throw K;return this.state.data}}throw this.#z({type:"error",error:K}),this.#X.config.onError?.(K,this),this.#X.config.onSettled?.(this.state.data,K,this),K}finally{this.scheduleGc()}}#z(J){let z=(W)=>{switch(J.type){case"failed":return{...W,fetchFailureCount:J.failureCount,fetchFailureReason:J.error};case"pause":return{...W,fetchStatus:"paused"};case"continue":return{...W,fetchStatus:"fetching"};case"fetch":return{...W,...GJ(W.data,this.options),fetchMeta:J.meta??null};case"success":let N={...W,...pA(J.data,J.dataUpdatedAt),dataUpdateCount:W.dataUpdateCount+1,...!J.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#G=J.manual?N:void 0,N;case"error":let L=J.error;return{...W,error:L,errorUpdateCount:W.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:W.fetchFailureCount+1,fetchFailureReason:L,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...W,isInvalidated:!0};case"setState":return{...W,...J.state}}};this.state=z(this.state),t0.batch(()=>{this.observers.forEach((W)=>{W.onQueryUpdate()}),this.#X.notify({query:this,type:"updated",action:J})})}};function GJ(J,z){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:$J(z.networkMode)?"fetching":"paused",...J===void 0&&{error:null,status:"pending"}}}function pA(J,z){return{data:J,dataUpdatedAt:z??Date.now(),error:null,isInvalidated:!1,status:"success"}}function lA(J){let z=typeof J.initialData==="function"?J.initialData():J.initialData,W=z!==void 0,N=W?typeof J.initialDataUpdatedAt==="function"?J.initialDataUpdatedAt():J.initialDataUpdatedAt:0;return{data:z,dataUpdateCount:0,dataUpdatedAt:W?N??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:W?"success":"pending",fetchStatus:"idle"}}var YJ=class extends G1{constructor(J,z){super();this.options=z,this.#$=J,this.#H=null,this.#J=T8(),this.bindMethods(),this.setOptions(z)}#$;#G=void 0;#X=void 0;#Z=void 0;#Y;#B;#J;#H;#z;#A;#L;#W;#_;#U;#w=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){if(this.listeners.size===1){if(this.#G.addObserver(this),sA(this.#G,this.options))this.#N();else this.updateResult();this.#M()}}onUnsubscribe(){if(!this.hasListeners())this.destroy()}shouldFetchOnReconnect(){return XJ(this.#G,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return XJ(this.#G,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#R(),this.#T(),this.#G.removeObserver(this)}setOptions(J){let z=this.options,W=this.#G;if(this.options=this.#$.defaultQueryOptions(J),this.options.enabled!==void 0&&typeof this.options.enabled!=="boolean"&&typeof this.options.enabled!=="function"&&typeof T$(this.options.enabled,this.#G)!=="boolean")throw Error("Expected enabled to be a boolean or a callback that returns a boolean");if(this.#I(),this.#G.setOptions(this.options),z._defaulted&&!EG(this.options,z))this.#$.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#G,observer:this});let N=this.hasListeners();if(N&&iA(this.#G,W,this.options,z))this.#N();if(this.updateResult(),N&&(this.#G!==W||T$(this.options.enabled,this.#G)!==T$(z.enabled,this.#G)||Q1(this.options.staleTime,this.#G)!==Q1(z.staleTime,this.#G)))this.#Q();let L=this.#K();if(N&&(this.#G!==W||T$(this.options.enabled,this.#G)!==T$(z.enabled,this.#G)||L!==this.#U))this.#F(L)}getOptimisticResult(J){let z=this.#$.getQueryCache().build(this.#$,J),W=this.createResult(z,J);if(OM(this,W))this.#Z=W,this.#B=this.options,this.#Y=this.#G.state;return W}getCurrentResult(){return this.#Z}trackResult(J,z){return new Proxy(J,{get:(W,N)=>{if(this.trackProp(N),z?.(N),N==="promise"){if(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#J.status==="pending")this.#J.reject(Error("experimental_prefetchInRender feature flag is not enabled"))}return Reflect.get(W,N)}})}trackProp(J){this.#w.add(J)}getCurrentQuery(){return this.#G}refetch({...J}={}){return this.fetch({...J})}fetchOptimistic(J){let z=this.#$.defaultQueryOptions(J),W=this.#$.getQueryCache().build(this.#$,z);return W.fetch().then(()=>this.createResult(W,z))}fetch(J){return this.#N({...J,cancelRefetch:J.cancelRefetch??!0}).then(()=>{return this.updateResult(),this.#Z})}#N(J){this.#I();let z=this.#G.fetch(this.options,J);if(!J?.throwOnError)z=z.catch(P5);return z}#Q(){this.#R();let J=Q1(this.options.staleTime,this.#G);if(n1.isServer()||this.#Z.isStale||!F8(J))return;let W=o9(this.#Z.dataUpdatedAt,J)+1;this.#W=i1.setTimeout(()=>{if(!this.#Z.isStale)this.updateResult()},W)}#K(){return(typeof this.options.refetchInterval==="function"?this.options.refetchInterval(this.#G):this.options.refetchInterval)??!1}#F(J){if(this.#T(),this.#U=J,n1.isServer()||T$(this.options.enabled,this.#G)===!1||!F8(this.#U)||this.#U===0)return;this.#_=i1.setInterval(()=>{if(this.options.refetchIntervalInBackground||DG.isFocused())this.#N()},this.#U)}#M(){this.#Q(),this.#F(this.#K())}#R(){if(this.#W!==void 0)i1.clearTimeout(this.#W),this.#W=void 0}#T(){if(this.#_!==void 0)i1.clearInterval(this.#_),this.#_=void 0}createResult(J,z){let W=this.#G,N=this.options,L=this.#Z,Q=this.#Y,R=this.#B,j=J!==W?J.state:this.#X,{state:x}=J,M={...x},F=!1,E;if(z._optimisticResults){let t=this.hasListeners(),e0=!t&&sA(J,z),p=t&&iA(J,W,z,N);if(e0||p)M={...M,...GJ(x.data,J.options)};if(z._optimisticResults==="isRestoring")M.fetchStatus="idle"}let{error:f,errorUpdatedAt:d,status:m}=M;E=M.data;let v=!1;if(z.placeholderData!==void 0&&E===void 0&&m==="pending"){let t;if(L?.isPlaceholderData&&z.placeholderData===R?.placeholderData)t=L.data,v=!0;else t=typeof z.placeholderData==="function"?z.placeholderData(this.#L?.state.data,this.#L):z.placeholderData;if(t!==void 0)m="success",E=R8(L?.data,t,z),F=!0}if(z.select&&E!==void 0&&!v)if(L&&E===Q?.data&&z.select===this.#z)E=this.#A;else try{this.#z=z.select,E=z.select(E),E=R8(L?.data,E,z),this.#A=E,this.#H=null}catch(t){this.#H=t}if(this.#H)f=this.#H,E=this.#A,d=Date.now(),m="error";let o=M.fetchStatus==="fetching",r=m==="pending",e=m==="error",j0=r&&o,Y0=E!==void 0,E0={status:m,fetchStatus:M.fetchStatus,isPending:r,isSuccess:m==="success",isError:e,isInitialLoading:j0,isLoading:j0,data:E,dataUpdatedAt:M.dataUpdatedAt,error:f,errorUpdatedAt:d,failureCount:M.fetchFailureCount,failureReason:M.fetchFailureReason,errorUpdateCount:M.errorUpdateCount,isFetched:J.isFetched(),isFetchedAfterMount:M.dataUpdateCount>j.dataUpdateCount||M.errorUpdateCount>j.errorUpdateCount,isFetching:o,isRefetching:o&&!r,isLoadingError:e&&!Y0,isPaused:M.fetchStatus==="paused",isPlaceholderData:F,isRefetchError:e&&Y0,isStale:ZJ(J,z),refetch:this.refetch,promise:this.#J,isEnabled:T$(z.enabled,J)!==!1};if(this.options.experimental_prefetchInRender){let t=E0.data!==void 0,e0=E0.status==="error"&&!t,p=(Q0)=>{if(e0)Q0.reject(E0.error);else if(t)Q0.resolve(E0.data)},o0=()=>{let Q0=this.#J=E0.promise=T8();p(Q0)},T0=this.#J;switch(T0.status){case"pending":if(J.queryHash===W.queryHash)p(T0);break;case"fulfilled":if(e0||E0.data!==T0.value)o0();break;case"rejected":if(!e0||E0.error!==T0.reason)o0();break}}return E0}updateResult(){let J=this.#Z,z=this.createResult(this.#G,this.options);if(this.#Y=this.#G.state,this.#B=this.options,this.#Y.data!==void 0)this.#L=this.#G;if(EG(z,J))return;this.#Z=z;let W=()=>{if(!J)return!0;let{notifyOnChangeProps:N}=this.options,L=typeof N==="function"?N():N;if(L==="all"||!L&&!this.#w.size)return!0;let Q=new Set(L??this.#w);if(this.options.throwOnError)Q.add("error");return Object.keys(this.#Z).some((R)=>{let K=R;return this.#Z[K]!==J[K]&&Q.has(K)})};this.#P({listeners:W()})}#I(){let J=this.#$.getQueryCache().build(this.#$,this.options);if(J===this.#G)return;let z=this.#G;if(this.#G=J,this.#X=J.state,this.hasListeners())z?.removeObserver(this),J.addObserver(this)}onQueryUpdate(){if(this.updateResult(),this.hasListeners())this.#M()}#P(J){t0.batch(()=>{if(J.listeners)this.listeners.forEach((z)=>{z(this.#Z)});this.#$.getQueryCache().notify({query:this.#G,type:"observerResultsUpdated"})})}};function VM(J,z){return T$(z.enabled,J)!==!1&&J.state.data===void 0&&!(J.state.status==="error"&&z.retryOnMount===!1)}function sA(J,z){return VM(J,z)||J.state.data!==void 0&&XJ(J,z,z.refetchOnMount)}function XJ(J,z,W){if(T$(z.enabled,J)!==!1&&Q1(z.staleTime,J)!=="static"){let N=typeof W==="function"?W(J):W;return N==="always"||N!==!1&&ZJ(J,z)}return!1}function iA(J,z,W,N){return(J!==z||T$(N.enabled,J)===!1)&&(!W.suspense||J.state.status!=="error")&&ZJ(J,W)}function ZJ(J,z){return T$(z.enabled,J)!==!1&&J.isStaleByTime(Q1(z.staleTime,J))}function OM(J,z){if(!EG(J.getCurrentResult(),z))return!0;return!1}function BJ(J){return{onFetch:(z,W)=>{let N=z.options,L=z.fetchOptions?.meta?.fetchMore?.direction,Q=z.state.data?.pages||[],R=z.state.data?.pageParams||[],K={pages:[],pageParams:[]},j=0,x=async()=>{let M=!1,F=(d)=>{dA(d,()=>z.signal,()=>M=!0)},E=e9(z.options,z.fetchOptions),f=async(d,m,v)=>{if(M)return Promise.reject();if(m==null&&d.pages.length)return Promise.resolve(d);let r=(()=>{let Y5={client:z.client,queryKey:z.queryKey,pageParam:m,direction:v?"backward":"forward",meta:z.options.meta};return F(Y5),Y5})(),e=await E(r),{maxPages:j0}=z.options,Y0=v?yA:hA;return{pages:Y0(d.pages,e,j0),pageParams:Y0(d.pageParams,m,j0)}};if(L&&Q.length){let d=L==="backward",m=d?qM:aA,v={pages:Q,pageParams:R},o=m(N,v);K=await f(v,o,d)}else{let d=J??Q.length;do{let m=j===0?R[0]??N.initialPageParam:aA(N,K);if(j>0&&m==null)break;K=await f(K,m),j++}while(j<d)}return K};if(z.options.persister)z.fetchFn=()=>{return z.options.persister?.(x,{client:z.client,queryKey:z.queryKey,meta:z.options.meta,signal:z.signal},W)};else z.fetchFn=x}}}function aA(J,{pages:z,pageParams:W}){let N=z.length-1;return z.length>0?J.getNextPageParam(z[N],z,W[N],W):void 0}function qM(J,{pages:z,pageParams:W}){return z.length>0?J.getPreviousPageParam?.(z[0],z,W[0],W):void 0}var nA=class extends XY{#$;#G;#X;#Z;constructor(J){super();this.#$=J.client,this.mutationId=J.mutationId,this.#X=J.mutationCache,this.#G=[],this.state=J.state||JJ(),this.setOptions(J.options),this.scheduleGc()}setOptions(J){this.options=J,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(J){if(!this.#G.includes(J))this.#G.push(J),this.clearGcTimeout(),this.#X.notify({type:"observerAdded",mutation:this,observer:J})}removeObserver(J){this.#G=this.#G.filter((z)=>z!==J),this.scheduleGc(),this.#X.notify({type:"observerRemoved",mutation:this,observer:J})}optionalRemove(){if(!this.#G.length)if(this.state.status==="pending")this.scheduleGc();else this.#X.remove(this)}continue(){return this.#Z?.continue()??this.execute(this.state.variables)}async execute(J){let z=()=>{this.#Y({type:"continue"})},W={client:this.#$,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#Z=GY({fn:()=>{if(!this.options.mutationFn)return Promise.reject(Error("No mutationFn found"));return this.options.mutationFn(J,W)},onFail:(Q,R)=>{this.#Y({type:"failed",failureCount:Q,error:R})},onPause:()=>{this.#Y({type:"pause"})},onContinue:z,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#X.canRun(this)});let N=this.state.status==="pending",L=!this.#Z.canStart();try{if(N)z();else{if(this.#Y({type:"pending",variables:J,isPaused:L}),this.#X.config.onMutate)await this.#X.config.onMutate(J,this,W);let R=await this.options.onMutate?.(J,W);if(R!==this.state.context)this.#Y({type:"pending",context:R,variables:J,isPaused:L})}let Q=await this.#Z.start();return await this.#X.config.onSuccess?.(Q,J,this.state.context,this,W),await this.options.onSuccess?.(Q,J,this.state.context,W),await this.#X.config.onSettled?.(Q,null,this.state.variables,this.state.context,this,W),await this.options.onSettled?.(Q,null,J,this.state.context,W),this.#Y({type:"success",data:Q}),Q}catch(Q){try{await this.#X.config.onError?.(Q,J,this.state.context,this,W)}catch(R){Promise.reject(R)}try{await this.options.onError?.(Q,J,this.state.context,W)}catch(R){Promise.reject(R)}try{await this.#X.config.onSettled?.(void 0,Q,this.state.variables,this.state.context,this,W)}catch(R){Promise.reject(R)}try{await this.options.onSettled?.(void 0,Q,J,this.state.context,W)}catch(R){Promise.reject(R)}throw this.#Y({type:"error",error:Q}),Q}finally{this.#X.runNext(this)}}#Y(J){let z=(W)=>{switch(J.type){case"failed":return{...W,failureCount:J.failureCount,failureReason:J.error};case"pause":return{...W,isPaused:!0};case"continue":return{...W,isPaused:!1};case"pending":return{...W,context:J.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:J.isPaused,status:"pending",variables:J.variables,submittedAt:Date.now()};case"success":return{...W,data:J.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...W,data:void 0,error:J.error,failureCount:W.failureCount+1,failureReason:J.error,isPaused:!1,status:"error"}}};this.state=z(this.state),t0.batch(()=>{this.#G.forEach((W)=>{W.onMutationUpdate(J)}),this.#X.notify({mutation:this,type:"updated",action:J})})}};function JJ(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var oA=class extends G1{constructor(J={}){super();this.config=J,this.#$=new Set,this.#G=new Map,this.#X=0}#$;#G;#X;build(J,z,W){let N=new nA({client:J,mutationCache:this,mutationId:++this.#X,options:J.defaultMutationOptions(z),state:W});return this.add(N),N}add(J){this.#$.add(J);let z=YY(J);if(typeof z==="string"){let W=this.#G.get(z);if(W)W.push(J);else this.#G.set(z,[J])}this.notify({type:"added",mutation:J})}remove(J){if(this.#$.delete(J)){let z=YY(J);if(typeof z==="string"){let W=this.#G.get(z);if(W){if(W.length>1){let N=W.indexOf(J);if(N!==-1)W.splice(N,1)}else if(W[0]===J)this.#G.delete(z)}}}this.notify({type:"removed",mutation:J})}canRun(J){let z=YY(J);if(typeof z==="string"){let N=this.#G.get(z)?.find((L)=>L.state.status==="pending");return!N||N===J}else return!0}runNext(J){let z=YY(J);if(typeof z==="string")return this.#G.get(z)?.find((N)=>N!==J&&N.state.isPaused)?.continue()??Promise.resolve();else return Promise.resolve()}clear(){t0.batch(()=>{this.#$.forEach((J)=>{this.notify({type:"removed",mutation:J})}),this.#$.clear(),this.#G.clear()})}getAll(){return Array.from(this.#$)}find(J){let z={exact:!0,...J};return this.getAll().find((W)=>t9(z,W))}findAll(J={}){return this.getAll().filter((z)=>t9(J,z))}notify(J){t0.batch(()=>{this.listeners.forEach((z)=>{z(J)})})}resumePausedMutations(){let J=this.getAll().filter((z)=>z.state.isPaused);return t0.batch(()=>Promise.all(J.map((z)=>z.continue().catch(P5))))}};function YY(J){return J.options.scope?.id}var HJ=class extends G1{#$;#G=void 0;#X;#Z;constructor(J,z){super();this.#$=J,this.setOptions(z),this.bindMethods(),this.#Y()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(J){let z=this.options;if(this.options=this.#$.defaultMutationOptions(J),!EG(this.options,z))this.#$.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#X,observer:this});if(z?.mutationKey&&this.options.mutationKey&&a1(z.mutationKey)!==a1(this.options.mutationKey))this.reset();else if(this.#X?.state.status==="pending")this.#X.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners())this.#X?.removeObserver(this)}onMutationUpdate(J){this.#Y(),this.#B(J)}getCurrentResult(){return this.#G}reset(){this.#X?.removeObserver(this),this.#X=void 0,this.#Y(),this.#B()}mutate(J,z){return this.#Z=z,this.#X?.removeObserver(this),this.#X=this.#$.getMutationCache().build(this.#$,this.options),this.#X.addObserver(this),this.#X.execute(J)}#Y(){let J=this.#X?.state??JJ();this.#G={...J,isPending:J.status==="pending",isSuccess:J.status==="success",isError:J.status==="error",isIdle:J.status==="idle",mutate:this.mutate,reset:this.reset}}#B(J){t0.batch(()=>{if(this.#Z&&this.hasListeners()){let z=this.#G.variables,W=this.#G.context,N={client:this.#$,meta:this.options.meta,mutationKey:this.options.mutationKey};if(J?.type==="success"){try{this.#Z.onSuccess?.(J.data,z,W,N)}catch(L){Promise.reject(L)}try{this.#Z.onSettled?.(J.data,null,z,W,N)}catch(L){Promise.reject(L)}}else if(J?.type==="error"){try{this.#Z.onError?.(J.error,z,W,N)}catch(L){Promise.reject(L)}try{this.#Z.onSettled?.(void 0,J.error,z,W,N)}catch(L){Promise.reject(L)}}}this.listeners.forEach((z)=>{z(this.#G)})})}};var rA=class extends G1{constructor(J={}){super();this.config=J,this.#$=new Map}#$;build(J,z,W){let N=z.queryKey,L=z.queryHash??M8(N,z),Q=this.get(L);if(!Q)Q=new cA({client:J,queryKey:N,queryHash:L,options:J.defaultQueryOptions(z),state:W,defaultOptions:J.getQueryDefaults(N)}),this.add(Q);return Q}add(J){if(!this.#$.has(J.queryHash))this.#$.set(J.queryHash,J),this.notify({type:"added",query:J})}remove(J){let z=this.#$.get(J.queryHash);if(z){if(J.destroy(),z===J)this.#$.delete(J.queryHash);this.notify({type:"removed",query:J})}}clear(){t0.batch(()=>{this.getAll().forEach((J)=>{this.remove(J)})})}get(J){return this.#$.get(J)}getAll(){return[...this.#$.values()]}find(J){let z={exact:!0,...J};return this.getAll().find((W)=>r9(z,W))}findAll(J={}){let z=this.getAll();return Object.keys(J).length>0?z.filter((W)=>r9(J,W)):z}notify(J){t0.batch(()=>{this.listeners.forEach((z)=>{z(J)})})}onFocus(){t0.batch(()=>{this.getAll().forEach((J)=>{J.onFocus()})})}onOnline(){t0.batch(()=>{this.getAll().forEach((J)=>{J.onOnline()})})}};var zJ=class{#$;#G;#X;#Z;#Y;#B;#J;#H;constructor(J={}){this.#$=J.queryCache||new rA,this.#G=J.mutationCache||new oA,this.#X=J.defaultOptions||{},this.#Z=new Map,this.#Y=new Map,this.#B=0}mount(){if(this.#B++,this.#B!==1)return;this.#J=DG.subscribe(async(J)=>{if(J)await this.resumePausedMutations(),this.#$.onFocus()}),this.#H=jG.subscribe(async(J)=>{if(J)await this.resumePausedMutations(),this.#$.onOnline()})}unmount(){if(this.#B--,this.#B!==0)return;this.#J?.(),this.#J=void 0,this.#H?.(),this.#H=void 0}isFetching(J){return this.#$.findAll({...J,fetchStatus:"fetching"}).length}isMutating(J){return this.#G.findAll({...J,status:"pending"}).length}getQueryData(J){let z=this.defaultQueryOptions({queryKey:J});return this.#$.get(z.queryHash)?.state.data}ensureQueryData(J){let z=this.defaultQueryOptions(J),W=this.#$.build(this,z),N=W.state.data;if(N===void 0)return this.fetchQuery(J);if(J.revalidateIfStale&&W.isStaleByTime(Q1(z.staleTime,W)))this.prefetchQuery(z);return Promise.resolve(N)}getQueriesData(J){return this.#$.findAll(J).map(({queryKey:z,state:W})=>{let N=W.data;return[z,N]})}setQueryData(J,z,W){let N=this.defaultQueryOptions({queryKey:J}),Q=this.#$.get(N.queryHash)?.state.data,R=mA(z,Q);if(R===void 0)return;return this.#$.build(this,N).setData(R,{...W,manual:!0})}setQueriesData(J,z,W){return t0.batch(()=>this.#$.findAll(J).map(({queryKey:N})=>[N,this.setQueryData(N,z,W)]))}getQueryState(J){let z=this.defaultQueryOptions({queryKey:J});return this.#$.get(z.queryHash)?.state}removeQueries(J){let z=this.#$;t0.batch(()=>{z.findAll(J).forEach((W)=>{z.remove(W)})})}resetQueries(J,z){let W=this.#$;return t0.batch(()=>{return W.findAll(J).forEach((N)=>{N.reset()}),this.refetchQueries({type:"active",...J},z)})}cancelQueries(J,z={}){let W={revert:!0,...z},N=t0.batch(()=>this.#$.findAll(J).map((L)=>L.cancel(W)));return Promise.all(N).then(P5).catch(P5)}invalidateQueries(J,z={}){return t0.batch(()=>{if(this.#$.findAll(J).forEach((W)=>{W.invalidate()}),J?.refetchType==="none")return Promise.resolve();return this.refetchQueries({...J,type:J?.refetchType??J?.type??"active"},z)})}refetchQueries(J,z={}){let W={...z,cancelRefetch:z.cancelRefetch??!0},N=t0.batch(()=>this.#$.findAll(J).filter((L)=>!L.isDisabled()&&!L.isStatic()).map((L)=>{let Q=L.fetch(void 0,W);if(!W.throwOnError)Q=Q.catch(P5);return L.state.fetchStatus==="paused"?Promise.resolve():Q}));return Promise.all(N).then(P5)}fetchQuery(J){let z=this.defaultQueryOptions(J);if(z.retry===void 0)z.retry=!1;let W=this.#$.build(this,z);return W.isStaleByTime(Q1(z.staleTime,W))?W.fetch(z):Promise.resolve(W.state.data)}prefetchQuery(J){return this.fetchQuery(J).then(P5).catch(P5)}fetchInfiniteQuery(J){return J.behavior=BJ(J.pages),this.fetchQuery(J)}prefetchInfiniteQuery(J){return this.fetchInfiniteQuery(J).then(P5).catch(P5)}ensureInfiniteQueryData(J){return J.behavior=BJ(J.pages),this.ensureQueryData(J)}resumePausedMutations(){if(jG.isOnline())return this.#G.resumePausedMutations();return Promise.resolve()}getQueryCache(){return this.#$}getMutationCache(){return this.#G}getDefaultOptions(){return this.#X}setDefaultOptions(J){this.#X=J}setQueryDefaults(J,z){this.#Z.set(a1(J),{queryKey:J,defaultOptions:z})}getQueryDefaults(J){let z=[...this.#Z.values()],W={};return z.forEach((N)=>{if(L6(J,N.queryKey))Object.assign(W,N.defaultOptions)}),W}setMutationDefaults(J,z){this.#Y.set(a1(J),{mutationKey:J,defaultOptions:z})}getMutationDefaults(J){let z=[...this.#Y.values()],W={};return z.forEach((N)=>{if(L6(J,N.mutationKey))Object.assign(W,N.defaultOptions)}),W}defaultQueryOptions(J){if(J._defaulted)return J;let z={...this.#X.queries,...this.getQueryDefaults(J.queryKey),...J,_defaulted:!0};if(!z.queryHash)z.queryHash=M8(z.queryKey,z);if(z.refetchOnReconnect===void 0)z.refetchOnReconnect=z.networkMode!=="always";if(z.throwOnError===void 0)z.throwOnError=!!z.suspense;if(!z.networkMode&&z.persister)z.networkMode="offlineFirst";if(z.queryFn===A6)z.enabled=!1;return z}defaultMutationOptions(J){if(J?._defaulted)return J;return{...this.#X.mutations,...J?.mutationKey&&this.getMutationDefaults(J.mutationKey),...J,_defaulted:!0}}clear(){this.#$.clear(),this.#G.clear()}};var F4=G0(H5(),1);var xG=G0(H5(),1),tA=G0(UJ(),1),WJ=xG.createContext(void 0),Q6=(J)=>{let z=xG.useContext(WJ);if(J)return J;if(!z)throw Error("No QueryClient set, use QueryClientProvider to set one");return z},_J=({client:J,children:z})=>{return xG.useEffect(()=>{return J.mount(),()=>{J.unmount()}},[J]),tA.jsx(WJ.Provider,{value:J,children:z})};var I8=G0(H5(),1),EM=G0(UJ(),1);function CM(){let J=!1;return{clearReset:()=>{J=!1},reset:()=>{J=!0},isReset:()=>{return J}}}var jM=I8.createContext(CM()),eA=()=>I8.useContext(jM);var $L=G0(H5(),1);var GL=(J,z,W)=>{let N=W?.state.error&&typeof J.throwOnError==="function"?CG(J.throwOnError,[W.state.error,W]):J.throwOnError;if(J.suspense||J.experimental_prefetchInRender||N){if(!z.isReset())J.retryOnMount=!1}},XL=(J)=>{$L.useEffect(()=>{J.clearReset()},[J])},YL=({result:J,errorResetBoundary:z,throwOnError:W,query:N,suspense:L})=>{return J.isError&&!z.isReset()&&!J.isFetching&&N&&(L&&J.data===void 0||CG(W,[J.error,N]))};var ZY=G0(H5(),1),ZL=ZY.createContext(!1),BL=()=>ZY.useContext(ZL),kV=ZL.Provider;var JL=(J)=>{if(J.suspense){let W=(L)=>L==="static"?L:Math.max(L??1000,1000),N=J.staleTime;if(J.staleTime=typeof N==="function"?(...L)=>W(N(...L)):W(N),typeof J.gcTime==="number")J.gcTime=Math.max(J.gcTime,1000)}},HL=(J,z)=>J.isLoading&&J.isFetching&&!z,zL=(J,z)=>J?.suspense&&z.isPending,NJ=(J,z,W)=>z.fetchOptimistic(J).catch(()=>{W.clearReset()});function UL(J,z,W){if(typeof J!=="object"||Array.isArray(J))throw Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');let N=BL(),L=eA(),Q=Q6(W),R=Q.defaultQueryOptions(J);Q.getDefaultOptions().queries?._experimental_beforeQuery?.(R);let K=Q.getQueryCache().get(R.queryHash);if(!R.queryFn)console.error(`[${R.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`);R._optimisticResults=N?"isRestoring":"optimistic",JL(R),GL(R,L,K),XL(L);let j=!Q.getQueryCache().get(R.queryHash),[x]=F4.useState(()=>new z(Q,R)),M=x.getOptimisticResult(R),F=!N&&J.subscribed!==!1;if(F4.useSyncExternalStore(F4.useCallback((E)=>{let f=F?x.subscribe(t0.batchCalls(E)):P5;return x.updateResult(),f},[x,F]),()=>x.getCurrentResult(),()=>x.getCurrentResult()),F4.useEffect(()=>{x.setOptions(R)},[R,x]),zL(R,M))throw NJ(R,x,L);if(YL({result:M,errorResetBoundary:L,throwOnError:R.throwOnError,query:K,suspense:R.suspense}))throw M.error;if(Q.getDefaultOptions().queries?._experimental_afterQuery?.(R,M),R.experimental_prefetchInRender&&!n1.isServer()&&HL(M,N))(j?NJ(R,x,L):K?.promise)?.catch(P5).finally(()=>{x.updateResult()});return!R.notifyOnChangeProps?x.trackResult(M):M}function e5(J,z){return UL(J,YJ,z)}var O2=G0(H5(),1);function AJ(J,z){let W=Q6(z),[N]=O2.useState(()=>new HJ(W,J));O2.useEffect(()=>{N.setOptions(J)},[N,J]);let L=O2.useSyncExternalStore(O2.useCallback((R)=>N.subscribe(t0.batchCalls(R)),[N]),()=>N.getCurrentResult(),()=>N.getCurrentResult()),Q=O2.useCallback((R,K)=>{N.mutate(R,K).catch(P5)},[N]);if(L.error&&CG(N.options.throwOnError,[L.error]))throw L.error;return{...L,mutate:Q,mutateAsync:L.mutate}}var I$=G0(H5(),1),B0=G0(H5(),1),K5=G0(H5(),1),xJ=G0(H5(),1),pL=G0(H5(),1),f0=G0(H5(),1),hR=G0(H5(),1),yR=G0(H5(),1),dR=G0(H5(),1),H0=G0(H5(),1),Xw=G0(H5(),1);var WL="popstate";function _L(J){return typeof J==="object"&&J!=null&&"pathname"in J&&"search"in J&&"hash"in J&&"state"in J&&"key"in J}function FL(J={}){function z(N,L){let Q=L.state?.masked,{pathname:R,search:K,hash:j}=Q||N.location;return KJ("",{pathname:R,search:K,hash:j},L.state&&L.state.usr||null,L.state&&L.state.key||"default",Q?{pathname:N.location.pathname,search:N.location.search,hash:N.location.hash}:void 0)}function W(N,L){return typeof L==="string"?L:SG(L)}return SM(z,W,null,J)}function A5(J,z){if(J===!1||J===null||typeof J>"u")throw Error(z)}function X1(J,z){if(!J){if(typeof console<"u")console.warn(z);try{throw Error(z)}catch(W){}}}function xM(){return Math.random().toString(36).substring(2,10)}function NL(J,z){return{usr:J.state,key:J.key,idx:z,masked:J.unstable_mask?{pathname:J.pathname,search:J.search,hash:J.hash}:void 0}}function KJ(J,z,W=null,N,L){return{pathname:typeof J==="string"?J:J.pathname,search:"",hash:"",...typeof z==="string"?K6(z):z,state:W,key:z&&z.key||N||xM(),unstable_mask:L}}function SG({pathname:J="/",search:z="",hash:W=""}){if(z&&z!=="?")J+=z.charAt(0)==="?"?z:"?"+z;if(W&&W!=="#")J+=W.charAt(0)==="#"?W:"#"+W;return J}function K6(J){let z={};if(J){let W=J.indexOf("#");if(W>=0)z.hash=J.substring(W),J=J.substring(0,W);let N=J.indexOf("?");if(N>=0)z.search=J.substring(N),J=J.substring(0,N);if(J)z.pathname=J}return z}function SM(J,z,W,N={}){let{window:L=document.defaultView,v5Compat:Q=!1}=N,R=L.history,K="POP",j=null,x=M();if(x==null)x=0,R.replaceState({...R.state,idx:x},"");function M(){return(R.state||{idx:null}).idx}function F(){K="POP";let v=M(),o=v==null?null:v-x;if(x=v,j)j({action:K,location:m.location,delta:o})}function E(v,o){K="PUSH";let r=_L(v)?v:KJ(m.location,v,o);if(W)W(r,v);x=M()+1;let e=NL(r,x),j0=m.createHref(r.unstable_mask||r);try{R.pushState(e,"",j0)}catch(Y0){if(Y0 instanceof DOMException&&Y0.name==="DataCloneError")throw Y0;L.location.assign(j0)}if(Q&&j)j({action:K,location:m.location,delta:1})}function f(v,o){K="REPLACE";let r=_L(v)?v:KJ(m.location,v,o);if(W)W(r,v);x=M();let e=NL(r,x),j0=m.createHref(r.unstable_mask||r);if(R.replaceState(e,"",j0),Q&&j)j({action:K,location:m.location,delta:0})}function d(v){return kM(v)}let m={get action(){return K},get location(){return J(L,R)},listen(v){if(j)throw Error("A history only accepts one active listener");return L.addEventListener(WL,F),j=v,()=>{L.removeEventListener(WL,F),j=null}},createHref(v){return z(L,v)},createURL:d,encodeLocation(v){let o=d(v);return{pathname:o.pathname,search:o.search,hash:o.hash}},push:E,replace:f,go(v){return R.go(v)}};return m}function kM(J,z=!1){let W="http://localhost";if(typeof window<"u")W=window.location.origin!=="null"?window.location.origin:window.location.href;A5(W,"No window.location.(origin|href) available to create URL");let N=typeof J==="string"?J:SG(J);if(N=N.replace(/ $/,"%20"),!z&&N.startsWith("//"))N=W+N;return new URL(N,W)}var vM;vM=new WeakMap;function TJ(J,z,W="/"){return gM(J,z,W,!1)}function gM(J,z,W,N){let L=typeof z==="string"?K6(z):z,Q=o1(L.pathname||"/",W);if(Q==null)return null;let R=ML(J);mM(R);let K=null;for(let j=0;K==null&&j<R.length;++j){let x=aM(Q);K=sM(R[j],x,N)}return K}function bM(J,z){let{route:W,pathname:N,params:L}=J;return{id:W.id,pathname:N,params:L,data:z[W.id],loaderData:z[W.id],handle:W.handle}}function ML(J,z=[],W=[],N="",L=!1){let Q=(R,K,j=L,x)=>{let M={relativePath:x===void 0?R.path||"":x,caseSensitive:R.caseSensitive===!0,childrenIndex:K,route:R};if(M.relativePath.startsWith("/")){if(!M.relativePath.startsWith(N)&&j)return;A5(M.relativePath.startsWith(N),`Absolute route path "${M.relativePath}" nested under path "${N}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),M.relativePath=M.relativePath.slice(N.length)}let F=K1([N,M.relativePath]),E=W.concat(M);if(R.children&&R.children.length>0)A5(R.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${F}".`),ML(R.children,z,E,F,j);if(R.path==null&&!R.index)return;z.push({path:F,score:lM(F,R.index),routesMeta:E})};return J.forEach((R,K)=>{if(R.path===""||!R.path?.includes("?"))Q(R,K);else for(let j of RL(R.path))Q(R,K,!0,j)}),z}function RL(J){let z=J.split("/");if(z.length===0)return[];let[W,...N]=z,L=W.endsWith("?"),Q=W.replace(/\?$/,"");if(N.length===0)return L?[Q,""]:[Q];let R=RL(N.join("/")),K=[];if(K.push(...R.map((j)=>j===""?Q:[Q,j].join("/"))),L)K.push(...R);return K.map((j)=>J.startsWith("/")&&j===""?"/":j)}function mM(J){J.sort((z,W)=>z.score!==W.score?W.score-z.score:cM(z.routesMeta.map((N)=>N.childrenIndex),W.routesMeta.map((N)=>N.childrenIndex)))}var fM=/^:[\w-]+$/,hM=3,yM=2,dM=1,uM=10,pM=-2,AL=(J)=>J==="*";function lM(J,z){let W=J.split("/"),N=W.length;if(W.some(AL))N+=pM;if(z)N+=yM;return W.filter((L)=>!AL(L)).reduce((L,Q)=>L+(fM.test(Q)?hM:Q===""?dM:uM),N)}function cM(J,z){return J.length===z.length&&J.slice(0,-1).every((N,L)=>N===z[L])?J[J.length-1]-z[z.length-1]:0}function sM(J,z,W=!1){let{routesMeta:N}=J,L={},Q="/",R=[];for(let K=0;K<N.length;++K){let j=N[K],x=K===N.length-1,M=Q==="/"?z:z.slice(Q.length)||"/",F=V8({path:j.relativePath,caseSensitive:j.caseSensitive,end:x},M),E=j.route;if(!F&&x&&W&&!N[N.length-1].route.index)F=V8({path:j.relativePath,caseSensitive:j.caseSensitive,end:!1},M);if(!F)return null;if(Object.assign(L,F.params),R.push({params:L,pathname:K1([Q,F.pathname]),pathnameBase:rM(K1([Q,F.pathnameBase])),route:E}),F.pathnameBase!=="/")Q=K1([Q,F.pathnameBase])}return R}function V8(J,z){if(typeof J==="string")J={path:J,caseSensitive:!1,end:!0};let[W,N]=iM(J.path,J.caseSensitive,J.end),L=z.match(W);if(!L)return null;let Q=L[0],R=Q.replace(/(.)\/+$/,"$1"),K=L.slice(1);return{params:N.reduce((x,{paramName:M,isOptional:F},E)=>{if(M==="*"){let d=K[E]||"";R=Q.slice(0,Q.length-d.length).replace(/(.)\/+$/,"$1")}let f=K[E];if(F&&!f)x[M]=void 0;else x[M]=(f||"").replace(/%2F/g,"/");return x},{}),pathname:Q,pathnameBase:R,pattern:J}}function iM(J,z=!1,W=!0){X1(J==="*"||!J.endsWith("*")||J.endsWith("/*"),`Route path "${J}" will be treated as if it were "${J.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${J.replace(/\*$/,"/*")}".`);let N=[],L="^"+J.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(R,K,j,x,M)=>{if(N.push({paramName:K,isOptional:j!=null}),j){let F=M.charAt(x+R.length);if(F&&F!=="/")return"/([^\\/]*)";return"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");if(J.endsWith("*"))N.push({paramName:"*"}),L+=J==="*"||J==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$";else if(W)L+="\\/*$";else if(J!==""&&J!=="/")L+="(?:(?=\\/|$))";return[new RegExp(L,z?void 0:"i"),N]}function aM(J){try{return J.split("/").map((z)=>decodeURIComponent(z).replace(/\//g,"%2F")).join("/")}catch(z){return X1(!1,`The URL path "${J}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${z}).`),J}}function o1(J,z){if(z==="/")return J;if(!J.toLowerCase().startsWith(z.toLowerCase()))return null;let W=z.endsWith("/")?z.length-1:z.length,N=J.charAt(W);if(N&&N!=="/")return null;return J.slice(W)||"/"}var nM=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function TL(J,z="/"){let{pathname:W,search:N="",hash:L=""}=typeof J==="string"?K6(J):J,Q;if(W)if(W=PL(W),W.startsWith("/"))Q=LL(W.substring(1),"/");else Q=LL(W,z);else Q=z;return{pathname:Q,search:tM(N),hash:eM(L)}}function LL(J,z){let W=UY(z).split("/");return J.split("/").forEach((L)=>{if(L===".."){if(W.length>1)W.pop()}else if(L!==".")W.push(L)}),W.length>1?W.join("/"):"/"}function LJ(J,z,W,N){return`Cannot include a '${J}' character in a manually specified \`to.${z}\` field [${JSON.stringify(N)}]. Please separate it out to the \`to.${W}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function oM(J){return J.filter((z,W)=>W===0||z.route.path&&z.route.path.length>0)}function IL(J){let z=oM(J);return z.map((W,N)=>N===z.length-1?W.pathname:W.pathnameBase)}function IJ(J,z,W,N=!1){let L;if(typeof J==="string")L=K6(J);else L={...J},A5(!L.pathname||!L.pathname.includes("?"),LJ("?","pathname","search",L)),A5(!L.pathname||!L.pathname.includes("#"),LJ("#","pathname","hash",L)),A5(!L.search||!L.search.includes("#"),LJ("#","search","hash",L));let Q=J===""||L.pathname==="",R=Q?"/":L.pathname,K;if(R==null)K=W;else{let F=z.length-1;if(!N&&R.startsWith("..")){let E=R.split("/");while(E[0]==="..")E.shift(),F-=1;L.pathname=E.join("/")}K=F>=0?z[F]:"/"}let j=TL(L,K),x=R&&R!=="/"&&R.endsWith("/"),M=(Q||R===".")&&W.endsWith("/");if(!j.pathname.endsWith("/")&&(x||M))j.pathname+="/";return j}var PL=(J)=>J.replace(/\/\/+/g,"/"),K1=(J)=>PL(J.join("/")),UY=(J)=>J.replace(/\/+$/,""),rM=(J)=>UY(J).replace(/^\/*/,"/"),tM=(J)=>!J||J==="?"?"":J.startsWith("?")?J:"?"+J,eM=(J)=>!J||J==="#"?"":J.startsWith("#")?J:"#"+J;var VL=class{constructor(J,z,W,N=!1){if(this.status=J,this.statusText=z||"",this.internal=N,W instanceof Error)this.data=W.toString(),this.error=W;else this.data=W}};function OL(J){return J!=null&&typeof J.status==="number"&&typeof J.statusText==="string"&&typeof J.internal==="boolean"&&"data"in J}function $R(J){let z=J.map((W)=>W.route.path).filter(Boolean);return K1(z)||"/"}var qL=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function DL(J,z){let W=J;if(typeof W!=="string"||!nM.test(W))return{absoluteURL:void 0,isExternal:!1,to:W};let N=W,L=!1;if(qL)try{let Q=new URL(window.location.href),R=W.startsWith("//")?new URL(Q.protocol+W):new URL(W),K=o1(R.pathname,z);if(R.origin===Q.origin&&K!=null)W=K+R.search+R.hash;else L=!0}catch(Q){X1(!1,`<Link to="${W}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:N,isExternal:L,to:W}}var vO=Symbol("Uninstrumented");var gO=Object.getOwnPropertyNames(Object.prototype).sort().join("\x00");var EL=["POST","PUT","PATCH","DELETE"],bO=new Set(EL),GR=["GET",...EL],mO=new Set(GR);var fO=Symbol("ResetLoaderData");var F6=I$.createContext(null);F6.displayName="DataRouter";var kG=I$.createContext(null);kG.displayName="DataRouterState";var CL=I$.createContext(!1);function XR(){return I$.useContext(CL)}var PJ=I$.createContext({isTransitioning:!1});PJ.displayName="ViewTransition";var jL=I$.createContext(new Map);jL.displayName="Fetchers";var YR=I$.createContext(null);YR.displayName="Await";var W$=I$.createContext(null);W$.displayName="Navigation";var vG=I$.createContext(null);vG.displayName="Location";var r1=I$.createContext({outlet:null,matches:[],isDataRoute:!1});r1.displayName="Route";var VJ=I$.createContext(null);VJ.displayName="RouteError";var FJ=!0,xL="REACT_ROUTER_ERROR",ZR="REDIRECT",BR="ROUTE_ERROR_RESPONSE";function JR(J){if(J.startsWith(`${xL}:${ZR}:{`))try{let z=JSON.parse(J.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 HR(J){if(J.startsWith(`${xL}:${BR}:{`))try{let z=JSON.parse(J.slice(40));if(typeof z==="object"&&z&&typeof z.status==="number"&&typeof z.statusText==="string")return new VL(z.status,z.statusText,z.data)}catch{}}function SL(J,{relative:z}={}){A5(gG(),"useHref() may be used only in the context of a <Router> component.");let{basename:W,navigator:N}=B0.useContext(W$),{hash:L,pathname:Q,search:R}=bG(J,{relative:z}),K=Q;if(W!=="/")K=Q==="/"?W:K1([W,Q]);return N.createHref({pathname:K,search:R,hash:L})}function gG(){return B0.useContext(vG)!=null}function Y1(){return A5(gG(),"useLocation() may be used only in the context of a <Router> component."),B0.useContext(vG).location}var kL="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function vL(J){if(!B0.useContext(W$).static)B0.useLayoutEffect(J)}function gL(){let{isDataRoute:J}=B0.useContext(r1);return J?KR():zR()}function zR(){A5(gG(),"useNavigate() may be used only in the context of a <Router> component.");let J=B0.useContext(F6),{basename:z,navigator:W}=B0.useContext(W$),{matches:N}=B0.useContext(r1),{pathname:L}=Y1(),Q=JSON.stringify(IL(N)),R=B0.useRef(!1);return vL(()=>{R.current=!0}),B0.useCallback((j,x={})=>{if(X1(R.current,kL),!R.current)return;if(typeof j==="number"){W.go(j);return}let M=IJ(j,JSON.parse(Q),L,x.relative==="path");if(J==null&&z!=="/")M.pathname=M.pathname==="/"?z:K1([z,M.pathname]);(x.replace?W.replace:W.push)(M,x.state,x)},[z,W,Q,L,J])}var hO=B0.createContext(null);function bG(J,{relative:z}={}){let{matches:W}=B0.useContext(r1),{pathname:N}=Y1(),L=JSON.stringify(IL(W));return B0.useMemo(()=>IJ(J,JSON.parse(L),N,z==="path"),[J,L,N,z])}function bL(J,z){return mL(J,z)}function mL(J,z,W){A5(gG(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:N}=B0.useContext(W$),{matches:L}=B0.useContext(r1),Q=L[L.length-1],R=Q?Q.params:{},K=Q?Q.pathname:"/",j=Q?Q.pathnameBase:"/",x=Q&&Q.route;if(FJ){let v=x&&x.path||"";dL(K,!x||v.endsWith("*")||v.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${K}" (under <Route path="${v}">) 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.
Please change the parent <Route path="${v}"> to <Route path="${v==="/"?"*":`${v}/*`}">.`)}let M=Y1(),F;if(z){let v=typeof z==="string"?K6(z):z;A5(j==="/"||v.pathname?.startsWith(j),`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 "${j}" but pathname "${v.pathname}" was given in the \`location\` prop.`),F=v}else F=M;let E=F.pathname||"/",f=E;if(j!=="/"){let v=j.replace(/^\//,"").split("/");f="/"+E.replace(/^\//,"").split("/").slice(v.length).join("/")}let d=TJ(J,{pathname:f});if(FJ)X1(x||d!=null,`No routes matched location "${F.pathname}${F.search}${F.hash}" `),X1(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 "${F.pathname}${F.search}${F.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 m=AR(d&&d.map((v)=>Object.assign({},v,{params:Object.assign({},R,v.params),pathname:K1([j,N.encodeLocation?N.encodeLocation(v.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?j:K1([j,N.encodeLocation?N.encodeLocation(v.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathnameBase])})),L,W);if(z&&m)return B0.createElement(vG.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...F},navigationType:"POP"}},m);return m}function UR(){let J=yL(),z=OL(J)?`${J.status} ${J.statusText}`:J instanceof Error?J.message:JSON.stringify(J),W=J instanceof Error?J.stack:null,N="rgba(200,200,200, 0.5)",L={padding:"0.5rem",backgroundColor:N},Q={padding:"2px 4px",backgroundColor:N},R=null;if(FJ)console.error("Error handled by React Router default ErrorBoundary:",J),R=B0.createElement(B0.Fragment,null,B0.createElement("p",null,"\uD83D\uDCBF Hey developer \uD83D\uDC4B"),B0.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",B0.createElement("code",{style:Q},"ErrorBoundary")," or"," ",B0.createElement("code",{style:Q},"errorElement")," prop on your route."));return B0.createElement(B0.Fragment,null,B0.createElement("h2",null,"Unexpected Application Error!"),B0.createElement("h3",{style:{fontStyle:"italic"}},z),W?B0.createElement("pre",{style:L},W):null,R)}var WR=B0.createElement(UR,null),fL=class extends B0.Component{constructor(J){super(J);this.state={location:J.location,revalidation:J.revalidation,error:J.error}}static getDerivedStateFromError(J){return{error:J}}static getDerivedStateFromProps(J,z){if(z.location!==J.location||z.revalidation!=="idle"&&J.revalidation==="idle")return{error:J.error,location:J.location,revalidation:J.revalidation};return{error:J.error!==void 0?J.error:z.error,location:z.location,revalidation:J.revalidation||z.revalidation}}componentDidCatch(J,z){if(this.props.onError)this.props.onError(J,z);else console.error("React Router caught the following error during render",J)}render(){let J=this.state.error;if(this.context&&typeof J==="object"&&J&&"digest"in J&&typeof J.digest==="string"){let W=HR(J.digest);if(W)J=W}let z=J!==void 0?B0.createElement(r1.Provider,{value:this.props.routeContext},B0.createElement(VJ.Provider,{value:J,children:this.props.component})):this.props.children;if(this.context)return B0.createElement(_R,{error:J},z);return z}};fL.contextType=CL;var wJ=new WeakMap;function _R({children:J,error:z}){let{basename:W}=B0.useContext(W$);if(typeof z==="object"&&z&&"digest"in z&&typeof z.digest==="string"){let N=JR(z.digest);if(N){let L=wJ.get(z);if(L)throw L;let Q=DL(N.location,W);if(qL&&!wJ.get(z))if(Q.isExternal||N.reloadDocument)window.location.href=Q.absoluteURL||Q.to;else{let R=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(Q.to,{replace:N.replace}));throw wJ.set(z,R),R}return B0.createElement("meta",{httpEquiv:"refresh",content:`0;url=${Q.absoluteURL||Q.to}`})}}return J}function NR({routeContext:J,match:z,children:W}){let N=B0.useContext(F6);if(N&&N.static&&N.staticContext&&(z.route.errorElement||z.route.ErrorBoundary))N.staticContext._deepestRenderedBoundaryId=z.route.id;return B0.createElement(r1.Provider,{value:J},W)}function AR(J,z=[],W){let N=W?.state;if(J==null){if(!N)return null;if(N.errors)J=N.matches;else if(z.length===0&&!N.initialized&&N.matches.length>0)J=N.matches;else return null}let L=J,Q=N?.errors;if(Q!=null){let M=L.findIndex((F)=>F.route.id&&Q?.[F.route.id]!==void 0);A5(M>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(Q).join(",")}`),L=L.slice(0,Math.min(L.length,M+1))}let R=!1,K=-1;if(W&&N){R=N.renderFallback;for(let M=0;M<L.length;M++){let F=L[M];if(F.route.HydrateFallback||F.route.hydrateFallbackElement)K=M;if(F.route.id){let{loaderData:E,errors:f}=N,d=F.route.loader&&!E.hasOwnProperty(F.route.id)&&(!f||f[F.route.id]===void 0);if(F.route.lazy||d){if(W.isStatic)R=!0;if(K>=0)L=L.slice(0,K+1);else L=[L[0]];break}}}}let j=W?.onError,x=N&&j?(M,F)=>{j(M,{location:N.location,params:N.matches?.[0]?.params??{},unstable_pattern:$R(N.matches),errorInfo:F})}:void 0;return L.reduceRight((M,F,E)=>{let f,d=!1,m=null,v=null;if(N){if(f=Q&&F.route.id?Q[F.route.id]:void 0,m=F.route.errorElement||WR,R){if(K<0&&E===0)dL("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,v=null;else if(K===E)d=!0,v=F.route.hydrateFallbackElement||null}}let o=z.concat(L.slice(0,E+1)),r=()=>{let e;if(f)e=m;else if(d)e=v;else if(F.route.Component)e=B0.createElement(F.route.Component,null);else if(F.route.element)e=F.route.element;else e=M;return B0.createElement(NR,{match:F,routeContext:{outlet:M,matches:o,isDataRoute:N!=null},children:e})};return N&&(F.route.ErrorBoundary||F.route.errorElement||E===0)?B0.createElement(fL,{location:N.location,revalidation:N.revalidation,component:m,error:f,children:r(),routeContext:{outlet:null,matches:o,isDataRoute:!0},onError:x}):r()},null)}function OJ(J){return`${J} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function LR(J){let z=B0.useContext(F6);return A5(z,OJ(J)),z}function qJ(J){let z=B0.useContext(kG);return A5(z,OJ(J)),z}function wR(J){let z=B0.useContext(r1);return A5(z,OJ(J)),z}function DJ(J){let z=wR(J),W=z.matches[z.matches.length-1];return A5(W.route.id,`${J} can only be used on routes that contain a unique "id"`),W.route.id}function QR(){return DJ("useRouteId")}function hL(){return qJ("useNavigation").navigation}function EJ(){let{matches:J,loaderData:z}=qJ("useMatches");return B0.useMemo(()=>J.map((W)=>bM(W,z)),[J,z])}function yL(){let J=B0.useContext(VJ),z=qJ("useRouteError"),W=DJ("useRouteError");if(J!==void 0)return J;return z.errors?.[W]}function KR(){let{router:J}=LR("useNavigate"),z=DJ("useNavigate"),W=B0.useRef(!1);return vL(()=>{W.current=!0}),B0.useCallback(async(L,Q={})=>{if(X1(W.current,kL),!W.current)return;if(typeof L==="number")await J.navigate(L);else await J.navigate(L,{fromRouteId:z,...Q})},[J,z])}var wL={};function dL(J,z,W){if(!z&&!wL[J])wL[J]=!0,X1(!1,W)}var FR="useOptimistic",yO=K5[FR];var dO=K5.memo(MR);function MR({routes:J,future:z,state:W,isStatic:N,onError:L}){return mL(J,void 0,{state:W,isStatic:N,onError:L,future:z})}function O8(J){A5(!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 CJ({basename:J="/",children:z=null,location:W,navigationType:N="POP",navigator:L,static:Q=!1,unstable_useTransitions:R}){A5(!gG(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let K=J.replace(/^\/*/,"/"),j=K5.useMemo(()=>({basename:K,navigator:L,static:Q,unstable_useTransitions:R,future:{}}),[K,L,Q,R]);if(typeof W==="string")W=K6(W);let{pathname:x="/",search:M="",hash:F="",state:E=null,key:f="default",unstable_mask:d}=W,m=K5.useMemo(()=>{let v=o1(x,K);if(v==null)return null;return{location:{pathname:v,search:M,hash:F,state:E,key:f,unstable_mask:d},navigationType:N}},[K,x,M,F,E,f,N,d]);if(X1(m!=null,`<Router basename="${K}"> is not able to match the URL "${x}${M}${F}" because it does not start with the basename, so the <Router> won't render anything.`),m==null)return null;return K5.createElement(W$.Provider,{value:j},K5.createElement(vG.Provider,{children:z,value:m}))}function jJ({children:J,location:z}){return bL(WY(J),z)}function WY(J,z=[]){let W=[];return K5.Children.forEach(J,(N,L)=>{if(!K5.isValidElement(N))return;let Q=[...z,L];if(N.type===K5.Fragment){W.push.apply(W,WY(N.props.children,Q));return}A5(N.type===O8,`[${typeof N.type==="string"?N.type:N.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),A5(!N.props.index||!N.props.children,"An index route cannot have child routes.");let R={id:N.props.id||Q.join("-"),caseSensitive:N.props.caseSensitive,element:N.props.element,Component:N.props.Component,index:N.props.index,path:N.props.path,middleware:N.props.middleware,loader:N.props.loader,action:N.props.action,hydrateFallbackElement:N.props.hydrateFallbackElement,HydrateFallback:N.props.HydrateFallback,errorElement:N.props.errorElement,ErrorBoundary:N.props.ErrorBoundary,hasErrorBoundary:N.props.hasErrorBoundary===!0||N.props.ErrorBoundary!=null||N.props.errorElement!=null,shouldRevalidate:N.props.shouldRevalidate,handle:N.props.handle,lazy:N.props.lazy};if(N.props.children)R.children=WY(N.props.children,Q);W.push(R)}),W}var HY="get",zY="application/x-www-form-urlencoded";function _Y(J){return typeof HTMLElement<"u"&&J instanceof HTMLElement}function RR(J){return _Y(J)&&J.tagName.toLowerCase()==="button"}function TR(J){return _Y(J)&&J.tagName.toLowerCase()==="form"}function IR(J){return _Y(J)&&J.tagName.toLowerCase()==="input"}function PR(J){return!!(J.metaKey||J.altKey||J.ctrlKey||J.shiftKey)}function VR(J,z){return J.button===0&&(!z||z==="_self")&&!PR(J)}var BY=null;function OR(){if(BY===null)try{new FormData(document.createElement("form"),0),BY=!1}catch(J){BY=!0}return BY}var qR=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function QJ(J){if(J!=null&&!qR.has(J))return X1(!1,`"${J}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${zY}"`),null;return J}function DR(J,z){let W,N,L,Q,R;if(TR(J)){let K=J.getAttribute("action");N=K?o1(K,z):null,W=J.getAttribute("method")||HY,L=QJ(J.getAttribute("enctype"))||zY,Q=new FormData(J)}else if(RR(J)||IR(J)&&(J.type==="submit"||J.type==="image")){let K=J.form;if(K==null)throw Error('Cannot submit a <button> or <input type="submit"> without a <form>');let j=J.getAttribute("formaction")||K.getAttribute("action");if(N=j?o1(j,z):null,W=J.getAttribute("formmethod")||K.getAttribute("method")||HY,L=QJ(J.getAttribute("formenctype"))||QJ(K.getAttribute("enctype"))||zY,Q=new FormData(K,J),!OR()){let{name:x,type:M,value:F}=J;if(M==="image"){let E=x?`${x}.`:"";Q.append(`${E}x`,"0"),Q.append(`${E}y`,"0")}else if(x)Q.append(x,F)}}else if(_Y(J))throw Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');else W=HY,N=null,L=zY,R=J;if(Q&&L==="text/plain")R=Q,Q=void 0;return{action:N,method:W.toLowerCase(),encType:L,formData:Q,body:R}}var uO=Object.getOwnPropertyNames(Object.prototype).sort().join("\x00");var ER={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},CR=/[&><\u2028\u2029]/g;function QL(J){return J.replace(CR,(z)=>ER[z])}function SJ(J,z){if(J===!1||J===null||typeof J>"u")throw Error(z)}var jR=Symbol("SingleFetchRedirect");function uL(J,z,W,N){let L=typeof J==="string"?new URL(J,typeof window>"u"?"server://singlefetch/":window.location.origin):J;if(W)if(L.pathname.endsWith("/"))L.pathname=`${L.pathname}_.${N}`;else L.pathname=`${L.pathname}.${N}`;else if(L.pathname==="/")L.pathname=`_root.${N}`;else if(z&&o1(L.pathname,z)==="/")L.pathname=`${UY(z)}/_root.${N}`;else L.pathname=`${UY(L.pathname)}.${N}`;return L}async function xR(J,z){if(J.id in z)return z[J.id];try{let W=await import(J.module);return z[J.id]=W,W}catch(W){return console.error(`Error loading route module \`${J.module}\`, reloading page...`),console.error(W),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode&&void 0,window.location.reload(),new Promise(()=>{})}}function SR(J){return J!=null&&typeof J.page==="string"}function kR(J){if(J==null)return!1;if(J.href==null)return J.rel==="preload"&&typeof J.imageSrcSet==="string"&&typeof J.imageSizes==="string";return typeof J.rel==="string"&&typeof J.href==="string"}async function vR(J,z,W){let N=await Promise.all(J.map(async(L)=>{let Q=z.routes[L.route.id];if(Q){let R=await xR(Q,W);return R.links?R.links():[]}return[]}));return fR(N.flat(1).filter(kR).filter((L)=>L.rel==="stylesheet"||L.rel==="preload").map((L)=>L.rel==="stylesheet"?{...L,rel:"prefetch",as:"style"}:{...L,rel:"prefetch"}))}function KL(J,z,W,N,L,Q){let R=(j,x)=>{if(!W[x])return!0;return j.route.id!==W[x].route.id},K=(j,x)=>{return W[x].pathname!==j.pathname||W[x].route.path?.endsWith("*")&&W[x].params["*"]!==j.params["*"]};if(Q==="assets")return z.filter((j,x)=>R(j,x)||K(j,x));if(Q==="data")return z.filter((j,x)=>{let M=N.routes[j.route.id];if(!M||!M.hasLoader)return!1;if(R(j,x)||K(j,x))return!0;if(j.route.shouldRevalidate){let F=j.route.shouldRevalidate({currentUrl:new URL(L.pathname+L.search+L.hash,window.origin),currentParams:W[0]?.params||{},nextUrl:new URL(J,window.origin),nextParams:j.params,defaultShouldRevalidate:!0});if(typeof F==="boolean")return F}return!0});return[]}function gR(J,z,{includeHydrateFallback:W}={}){return bR(J.map((N)=>{let L=z.routes[N.route.id];if(!L)return[];let Q=[L.module];if(L.clientActionModule)Q=Q.concat(L.clientActionModule);if(L.clientLoaderModule)Q=Q.concat(L.clientLoaderModule);if(W&&L.hydrateFallbackModule)Q=Q.concat(L.hydrateFallbackModule);if(L.imports)Q=Q.concat(L.imports);return Q}).flat(1))}function bR(J){return[...new Set(J)]}function mR(J){let z={},W=Object.keys(J).sort();for(let N of W)z[N]=J[N];return z}function fR(J,z){let W=new Set,N=new Set(z);return J.reduce((L,Q)=>{if(z&&!SR(Q)&&Q.as==="script"&&Q.href&&N.has(Q.href))return L;let K=JSON.stringify(mR(Q));if(!W.has(K))W.add(K),L.push({key:K,link:Q});return L},[])}function kJ(){let J=f0.useContext(F6);return SJ(J,"You must render this element inside a <DataRouterContext.Provider> element"),J}function uR(){let J=f0.useContext(kG);return SJ(J,"You must render this element inside a <DataRouterStateContext.Provider> element"),J}var q8=f0.createContext(void 0);q8.displayName="FrameworkContext";function vJ(){let J=f0.useContext(q8);return SJ(J,"You must render this element inside a <HydratedRouter> element"),J}function pR(J,z){let W=f0.useContext(q8),[N,L]=f0.useState(!1),[Q,R]=f0.useState(!1),{onFocus:K,onBlur:j,onMouseEnter:x,onMouseLeave:M,onTouchStart:F}=z,E=f0.useRef(null);f0.useEffect(()=>{if(J==="render")R(!0);if(J==="viewport"){let v=new IntersectionObserver((o)=>{o.forEach((r)=>{R(r.isIntersecting)})},{threshold:0.5});if(E.current)v.observe(E.current);return()=>{v.disconnect()}}},[J]),f0.useEffect(()=>{if(N){let m=setTimeout(()=>{R(!0)},100);return()=>{clearTimeout(m)}}},[N]);let f=()=>{L(!0)},d=()=>{L(!1),R(!1)};if(!W)return[!1,E,{}];if(J!=="intent")return[Q,E,{}];return[Q,E,{onFocus:P8(K,f),onBlur:P8(j,d),onMouseEnter:P8(x,f),onMouseLeave:P8(M,d),onTouchStart:P8(F,f)}]}function P8(J,z){return(W)=>{if(J&&J(W),!W.defaultPrevented)z(W)}}function lL({page:J,...z}){let W=XR(),{router:N}=kJ(),L=f0.useMemo(()=>TJ(N.routes,J,N.basename),[N.routes,J,N.basename]);if(!L)return null;if(W)return f0.createElement(cR,{page:J,matches:L,...z});return f0.createElement(sR,{page:J,matches:L,...z})}function lR(J){let{manifest:z,routeModules:W}=vJ(),[N,L]=f0.useState([]);return f0.useEffect(()=>{let Q=!1;return vR(J,z,W).then((R)=>{if(!Q)L(R)}),()=>{Q=!0}},[J,z,W]),N}function cR({page:J,matches:z,...W}){let N=Y1(),{future:L}=vJ(),{basename:Q}=kJ(),R=f0.useMemo(()=>{if(J===N.pathname+N.search+N.hash)return[];let K=uL(J,Q,L.unstable_trailingSlashAwareDataRequests,"rsc"),j=!1,x=[];for(let M of z)if(typeof M.route.shouldRevalidate==="function")j=!0;else x.push(M.route.id);if(j&&x.length>0)K.searchParams.set("_routes",x.join(","));return[K.pathname+K.search]},[Q,L.unstable_trailingSlashAwareDataRequests,J,N,z]);return f0.createElement(f0.Fragment,null,R.map((K)=>f0.createElement("link",{key:K,rel:"prefetch",as:"fetch",href:K,...W})))}function sR({page:J,matches:z,...W}){let N=Y1(),{future:L,manifest:Q,routeModules:R}=vJ(),{basename:K}=kJ(),{loaderData:j,matches:x}=uR(),M=f0.useMemo(()=>KL(J,z,x,Q,N,"data"),[J,z,x,Q,N]),F=f0.useMemo(()=>KL(J,z,x,Q,N,"assets"),[J,z,x,Q,N]),E=f0.useMemo(()=>{if(J===N.pathname+N.search+N.hash)return[];let m=new Set,v=!1;if(z.forEach((r)=>{let e=Q.routes[r.route.id];if(!e||!e.hasLoader)return;if(!M.some((j0)=>j0.route.id===r.route.id)&&r.route.id in j&&R[r.route.id]?.shouldRevalidate)v=!0;else if(e.hasClientLoader)v=!0;else m.add(r.route.id)}),m.size===0)return[];let o=uL(J,K,L.unstable_trailingSlashAwareDataRequests,"data");if(v&&m.size>0)o.searchParams.set("_routes",z.filter((r)=>m.has(r.route.id)).map((r)=>r.route.id).join(","));return[o.pathname+o.search]},[K,L.unstable_trailingSlashAwareDataRequests,j,N,Q,M,z,J,R]),f=f0.useMemo(()=>gR(F,Q),[F,Q]),d=lR(F);return f0.createElement(f0.Fragment,null,E.map((m)=>f0.createElement("link",{key:m,rel:"prefetch",as:"fetch",href:m,...W})),f.map((m)=>f0.createElement("link",{key:m,rel:"modulepreload",href:m,...W})),d.map(({key:m,link:v})=>f0.createElement("link",{key:m,nonce:W.nonce,...v,crossOrigin:v.crossOrigin??W.crossOrigin})))}function iR(...J){return(z)=>{J.forEach((W)=>{if(typeof W==="function")W(z);else if(W!=null)W.current=z})}}var aR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{if(aR)window.__reactRouterVersion="7.14.1"}catch(J){}function gJ({basename:J,children:z,unstable_useTransitions:W,window:N}){let L=H0.useRef();if(L.current==null)L.current=FL({window:N,v5Compat:!0});let Q=L.current,[R,K]=H0.useState({action:Q.action,location:Q.location}),j=H0.useCallback((x)=>{if(W===!1)K(x);else H0.startTransition(()=>K(x))},[W]);return H0.useLayoutEffect(()=>Q.listen(j),[Q,j]),H0.createElement(CJ,{basename:J,children:z,location:R.location,navigationType:R.action,navigator:Q,unstable_useTransitions:W})}function cL({basename:J,children:z,history:W,unstable_useTransitions:N}){let[L,Q]=H0.useState({action:W.action,location:W.location}),R=H0.useCallback((K)=>{if(N===!1)Q(K);else H0.startTransition(()=>Q(K))},[N]);return H0.useLayoutEffect(()=>W.listen(R),[W,R]),H0.createElement(CJ,{basename:J,children:z,location:L.location,navigationType:L.action,navigator:W,unstable_useTransitions:N})}cL.displayName="unstable_HistoryRouter";var sL=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,D8=H0.forwardRef(function({onClick:z,discover:W="render",prefetch:N="none",relative:L,reloadDocument:Q,replace:R,unstable_mask:K,state:j,target:x,to:M,preventScrollReset:F,viewTransition:E,unstable_defaultShouldRevalidate:f,...d},m){let{basename:v,navigator:o,unstable_useTransitions:r}=H0.useContext(W$),e=typeof M==="string"&&sL.test(M),j0=DL(M,v);M=j0.to;let Y0=SL(M,{relative:L}),Y5=Y1(),E0=null;if(K){let u=IJ(K,[],Y5.unstable_mask?Y5.unstable_mask.pathname:"/",!0);if(v!=="/")u.pathname=u.pathname==="/"?v:K1([v,u.pathname]);E0=o.createHref(u)}let[t,e0,p]=pR(N,d),o0=rL(M,{replace:R,unstable_mask:K,state:j,target:x,preventScrollReset:F,relative:L,viewTransition:E,unstable_defaultShouldRevalidate:f,unstable_useTransitions:r});function T0(u){if(z)z(u);if(!u.defaultPrevented)o0(u)}let Q0=!(j0.isExternal||Q),L5=H0.createElement("a",{...d,...p,href:(Q0?E0:void 0)||j0.absoluteURL||Y0,onClick:Q0?T0:z,ref:iR(m,e0),target:x,"data-discover":!e&&W==="render"?"true":void 0});return t&&!e?H0.createElement(H0.Fragment,null,L5,H0.createElement(lL,{page:Y0})):L5});D8.displayName="Link";var iL=H0.forwardRef(function({"aria-current":z="page",caseSensitive:W=!1,className:N="",end:L=!1,style:Q,to:R,viewTransition:K,children:j,...x},M){let F=bG(R,{relative:x.relative}),E=Y1(),f=H0.useContext(kG),{navigator:d,basename:m}=H0.useContext(W$),v=f!=null&&Gw(F)&&K===!0,o=d.encodeLocation?d.encodeLocation(F).pathname:F.pathname,r=E.pathname,e=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;if(!W)r=r.toLowerCase(),e=e?e.toLowerCase():null,o=o.toLowerCase();if(e&&m)e=o1(e,m)||e;let j0=o!=="/"&&o.endsWith("/")?o.length-1:o.length,Y0=r===o||!L&&r.startsWith(o)&&r.charAt(j0)==="/",Y5=e!=null&&(e===o||!L&&e.startsWith(o)&&e.charAt(o.length)==="/"),E0={isActive:Y0,isPending:Y5,isTransitioning:v},t=Y0?z:void 0,e0;if(typeof N==="function")e0=N(E0);else e0=[N,Y0?"active":null,Y5?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let p=typeof Q==="function"?Q(E0):Q;return H0.createElement(D8,{...x,"aria-current":t,className:e0,ref:M,style:p,to:R,viewTransition:K},typeof j==="function"?j(E0):j)});iL.displayName="NavLink";var aL=H0.forwardRef(({discover:J="render",fetcherKey:z,navigate:W,reloadDocument:N,replace:L,state:Q,method:R=HY,action:K,onSubmit:j,relative:x,preventScrollReset:M,viewTransition:F,unstable_defaultShouldRevalidate:E,...f},d)=>{let{unstable_useTransitions:m}=H0.useContext(W$),v=tL(),o=eL(K,{relative:x}),r=R.toLowerCase()==="get"?"get":"post",e=typeof K==="string"&&sL.test(K);return H0.createElement("form",{ref:d,method:r,action:o,onSubmit:N?j:(Y0)=>{if(j&&j(Y0),Y0.defaultPrevented)return;Y0.preventDefault();let Y5=Y0.nativeEvent.submitter,E0=Y5?.getAttribute("formmethod")||R,t=()=>v(Y5||Y0.currentTarget,{fetcherKey:z,method:E0,navigate:W,replace:L,state:Q,relative:x,preventScrollReset:M,viewTransition:F,unstable_defaultShouldRevalidate:E});if(m&&W!==!1)H0.startTransition(()=>t());else t()},...f,"data-discover":!e&&J==="render"?"true":void 0})});aL.displayName="Form";function nL({getKey:J,storageKey:z,...W}){let N=H0.useContext(q8),{basename:L}=H0.useContext(W$),Q=Y1(),R=EJ();$w({getKey:J,storageKey:z});let K=H0.useMemo(()=>{if(!N||!J)return null;let x=RJ(Q,R,L,J);return x!==Q.key?x:null},[]);if(!N||N.isSpaMode)return null;let j=((x,M)=>{if(!window.history.state||!window.history.state.key){let F=Math.random().toString(32).slice(2);window.history.replaceState({key:F},"")}try{let E=JSON.parse(sessionStorage.getItem(x)||"{}")[M||window.history.state.key];if(typeof E==="number")window.scrollTo(0,E)}catch(F){console.error(F),sessionStorage.removeItem(x)}}).toString();return H0.createElement("script",{...W,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${j})(${QL(JSON.stringify(z||MJ))}, ${QL(JSON.stringify(K))})`}})}nL.displayName="ScrollRestoration";function oL(J){return`${J} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function bJ(J){let z=H0.useContext(F6);return A5(z,oL(J)),z}function nR(J){let z=H0.useContext(kG);return A5(z,oL(J)),z}function rL(J,{target:z,replace:W,unstable_mask:N,state:L,preventScrollReset:Q,relative:R,viewTransition:K,unstable_defaultShouldRevalidate:j,unstable_useTransitions:x}={}){let M=gL(),F=Y1(),E=bG(J,{relative:R});return H0.useCallback((f)=>{if(VR(f,z)){f.preventDefault();let d=W!==void 0?W:SG(F)===SG(E),m=()=>M(J,{replace:d,unstable_mask:N,state:L,preventScrollReset:Q,relative:R,viewTransition:K,unstable_defaultShouldRevalidate:j});if(x)H0.startTransition(()=>m());else m()}},[F,M,E,W,N,L,z,J,Q,R,K,j,x])}var oR=0,rR=()=>`__${String(++oR)}__`;function tL(){let{router:J}=bJ("useSubmit"),{basename:z}=H0.useContext(W$),W=QR(),N=J.fetch,L=J.navigate;return H0.useCallback(async(Q,R={})=>{let{action:K,method:j,encType:x,formData:M,body:F}=DR(Q,z);if(R.navigate===!1){let E=R.fetcherKey||rR();await N(E,W,R.action||K,{unstable_defaultShouldRevalidate:R.unstable_defaultShouldRevalidate,preventScrollReset:R.preventScrollReset,formData:M,body:F,formMethod:R.method||j,formEncType:R.encType||x,flushSync:R.flushSync})}else await L(R.action||K,{unstable_defaultShouldRevalidate:R.unstable_defaultShouldRevalidate,preventScrollReset:R.preventScrollReset,formData:M,body:F,formMethod:R.method||j,formEncType:R.encType||x,replace:R.replace,state:R.state,fromRouteId:W,flushSync:R.flushSync,viewTransition:R.viewTransition})},[N,L,z,W])}function eL(J,{relative:z}={}){let{basename:W}=H0.useContext(W$),N=H0.useContext(r1);A5(N,"useFormAction must be used inside a RouteContext");let[L]=N.matches.slice(-1),Q={...bG(J?J:".",{relative:z})},R=Y1();if(J==null){Q.search=R.search;let K=new URLSearchParams(Q.search),j=K.getAll("index");if(j.some((M)=>M==="")){K.delete("index"),j.filter((F)=>F).forEach((F)=>K.append("index",F));let M=K.toString();Q.search=M?`?${M}`:""}}if((!J||J===".")&&L.route.index)Q.search=Q.search?Q.search.replace(/^\?/,"?index&"):"?index";if(W!=="/")Q.pathname=Q.pathname==="/"?W:K1([W,Q.pathname]);return SG(Q)}var MJ="react-router-scroll-positions",JY={};function RJ(J,z,W,N){let L=null;if(N)if(W!=="/")L=N({...J,pathname:o1(J.pathname,W)||J.pathname},z);else L=N(J,z);if(L==null)L=J.key;return L}function $w({getKey:J,storageKey:z}={}){let{router:W}=bJ("useScrollRestoration"),{restoreScrollPosition:N,preventScrollReset:L}=nR("useScrollRestoration"),{basename:Q}=H0.useContext(W$),R=Y1(),K=EJ(),j=hL();if(H0.useEffect(()=>{return window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}},[]),tR(H0.useCallback(()=>{if(j.state==="idle"){let x=RJ(R,K,Q,J);JY[x]=window.scrollY}try{sessionStorage.setItem(z||MJ,JSON.stringify(JY))}catch(x){X1(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${x}).`)}window.history.scrollRestoration="auto"},[j.state,J,Q,R,K,z])),typeof document<"u")H0.useLayoutEffect(()=>{try{let x=sessionStorage.getItem(z||MJ);if(x)JY=JSON.parse(x)}catch(x){}},[z]),H0.useLayoutEffect(()=>{let x=W?.enableScrollRestoration(JY,()=>window.scrollY,J?(M,F)=>RJ(M,F,Q,J):void 0);return()=>x&&x()},[W,Q,J]),H0.useLayoutEffect(()=>{if(N===!1)return;if(typeof N==="number"){window.scrollTo(0,N);return}try{if(R.hash){let x=document.getElementById(decodeURIComponent(R.hash.slice(1)));if(x){x.scrollIntoView();return}}}catch{X1(!1,`"${R.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}if(L===!0)return;window.scrollTo(0,0)},[R,N,L])}function tR(J,z){let{capture:W}=z||{};H0.useEffect(()=>{let N=W!=null?{capture:W}:void 0;return window.addEventListener("pagehide",J,N),()=>{window.removeEventListener("pagehide",J,N)}},[J,W])}function Gw(J,{relative:z}={}){let W=H0.useContext(PJ);A5(W!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:N}=bJ("useViewTransitionState"),L=bG(J,{relative:z});if(!W.isTransitioning)return!1;let Q=o1(W.currentLocation.pathname,N)||W.currentLocation.pathname,R=o1(W.nextLocation.pathname,N)||W.nextLocation.pathname;return V8(L.pathname,R)!=null||V8(L.pathname,Q)!=null}var wY=G0(H5(),1);var LY=G0(H5(),1);var NY=G0(H5(),1),mJ=NY.createContext(!1),t1=()=>NY.useContext(mJ);var AY=G0(i0(),1),Yw=()=>{let J=t1(),[z,W]=LY.useState(new Date);LY.useEffect(()=>{if(!J){let x=setInterval(()=>W(new Date),1000);return()=>clearInterval(x)}let Q,R=new Date,K=(60-R.getSeconds())*1000-R.getMilliseconds(),j=setTimeout(()=>{W(new Date),Q=setInterval(()=>W(new Date),60000)},K);return()=>{clearTimeout(j),clearInterval(Q)}},[J]);let N=J?z.toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit",hour12:!1}):z.toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}),L=z.toLocaleDateString("en-GB",{weekday:"long",day:"numeric",month:"long"});return AY.jsxDEV("div",{className:"flex items-baseline gap-6",children:[AY.jsxDEV("div",{className:`text-7xl ${J?"font-light":"font-bold"}`,children:N},void 0,!1,void 0,this),AY.jsxDEV("div",{className:"text-2xl text-gray-400",children:L},void 0,!1,void 0,this)]},void 0,!0,void 0,this)};var Bw=G0(i0(),1),Zw=({designation:J})=>Bw.jsxDEV("span",{className:"border border-white text-white px-2 py-0.5 font-bold min-w-[56px] text-center text-xl inline-block",children:J},void 0,!1,void 0,this);var mG=G0(i0(),1),Jw=({departure:J})=>{let z=t1(),W=new Date(J.scheduled),N=Math.round((W.getTime()-Date.now())/60000),L=N<=0?"Now":`${N} min`;return mG.jsxDEV("div",{className:`flex justify-between items-center py-3 border-b border-zinc-700 text-2xl ${z?"font-light":""}`,children:[mG.jsxDEV("div",{className:"flex items-center gap-4",children:[mG.jsxDEV(Zw,{designation:J.line.designation,mode:J.line.transport_mode,groupOfLines:J.line.group_of_lines},void 0,!1,void 0,this),mG.jsxDEV("span",{children:J.destination},void 0,!1,void 0,this)]},void 0,!0,void 0,this),mG.jsxDEV("span",{className:z?"font-normal":"font-bold",children:L},void 0,!1,void 0,this)]},void 0,!0,void 0,this)};var E8=G0(i0(),1),Hw=({departures:J,loading:z})=>{if(z&&J.length===0)return E8.jsxDEV("p",{className:"text-gray-500 text-xl mt-4",children:"Loading..."},void 0,!1,void 0,this);if(!z&&J.length===0)return E8.jsxDEV("p",{className:"text-gray-500 text-xl mt-4",children:"No departures."},void 0,!1,void 0,this);return E8.jsxDEV("div",{className:"flex-1 overflow-hidden",children:J.map((W,N)=>E8.jsxDEV(Jw,{departure:W},`${W.line.designation}-${N}`,!1,void 0,this))},void 0,!1,void 0,this)};var Uw=G0(i0(),1),zw=({name:J})=>Uw.jsxDEV("span",{className:"border border-white text-white px-2 py-0.5 font-bold min-w-[56px] text-center text-xl inline-block",children:J},void 0,!1,void 0,this);var M4=G0(i0(),1),Ww=({departure:J})=>{let z=t1(),W=J.stop.departure?new Date(J.stop.departure):null,N=W?Math.round((W.getTime()-Date.now())/60000):null,L=N===null?"—":N<=0?"Now":`${N} min`,Q=J.stop.delay;return M4.jsxDEV("div",{className:`flex justify-between items-center py-3 border-b border-zinc-700 text-2xl ${z?"font-light":""}`,children:[M4.jsxDEV("div",{className:"flex items-center gap-4",children:[M4.jsxDEV(zw,{name:`${J.category} ${J.number}`,category:J.category},void 0,!1,void 0,this),M4.jsxDEV("span",{children:J.to},void 0,!1,void 0,this)]},void 0,!0,void 0,this),M4.jsxDEV("div",{className:`flex items-center gap-2 ${z?"font-normal":"font-bold"}`,children:[Q!=null&&Q>0&&M4.jsxDEV("span",{className:"text-lg font-normal",children:["+",Q,"'"]},void 0,!0,void 0,this),M4.jsxDEV("span",{children:L},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)};var C8=G0(i0(),1),_w=({departures:J,loading:z})=>{if(z&&J.length===0)return C8.jsxDEV("p",{className:"text-gray-500 text-xl mt-4",children:"Loading..."},void 0,!1,void 0,this);if(!z&&J.length===0)return C8.jsxDEV("p",{className:"text-gray-500 text-xl mt-4",children:"No departures."},void 0,!1,void 0,this);return C8.jsxDEV("div",{className:"flex-1 overflow-hidden",children:J.map((W,N)=>C8.jsxDEV(Ww,{departure:W},`${W.name}-${N}`,!1,void 0,this))},void 0,!1,void 0,this)};var _$=G0(i0(),1);function Nw(J){let z=Math.floor(J/1000);return`${Math.floor(z/60)}:${String(z%60).padStart(2,"0")}`}var Aw=()=>{let J=t1(),{data:z}=e5({queryKey:["spotify-now-playing"],queryFn:()=>fetch("/api/spotify/now-playing").then((W)=>W.json()),refetchInterval:J?30000:1000});return _$.jsxDEV("div",{className:"h-full flex flex-col justify-center",children:[_$.jsxDEV("h2",{className:"text-sm uppercase tracking-wider text-gray-400 mb-1 font-normal",children:"Now Playing"},void 0,!1,void 0,this),z?.playing&&z.track?_$.jsxDEV(_$.Fragment,{children:[_$.jsxDEV("p",{className:`text-2xl leading-tight ${J?"font-normal":"font-bold"}`,children:z.track.name},void 0,!1,void 0,this),_$.jsxDEV("p",{className:"text-lg text-gray-300 mt-0.5",children:z.track.artist},void 0,!1,void 0,this),_$.jsxDEV("p",{className:"text-sm text-gray-500",children:z.track.album},void 0,!1,void 0,this),!J&&_$.jsxDEV("div",{className:"mt-1.5 flex items-center gap-2",children:[_$.jsxDEV("span",{className:"text-xs text-gray-500 font-mono w-10 shrink-0",children:Nw(z.track.progressMs)},void 0,!1,void 0,this),_$.jsxDEV("div",{className:"flex-1 h-1.5 bg-zinc-800 relative",children:_$.jsxDEV("div",{className:"absolute inset-y-0 left-0 bg-white",style:{width:`${z.track.progressMs/z.track.durationMs*100}%`}},void 0,!1,void 0,this)},void 0,!1,void 0,this),_$.jsxDEV("span",{className:"text-xs text-gray-500 font-mono w-10 shrink-0 text-right",children:Nw(z.track.durationMs)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):_$.jsxDEV("p",{className:"text-gray-500 text-lg",children:"Nothing playing"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)};var $$=G0(i0(),1),Lw={sunny:[" \\ / "," .-. "," ― ( ) ―"," `-' "," / \\ "],partlycloudy:[" \\ / ",' _ /"".--. '," \\_( { ) "," `-'--' "," "],cloudy:[" "," .--. "," .-( ). ","(___.__)__) "," "],overcast:[" "," .------. ",".-( ).","(__________.) "," "],rain:[" .--. "," .-( ). ","(___.__)__) "," ʻ ʻ ʻ ʻ "," ʻ ʻ ʻ ʻ "],drizzle:[" .--. "," .-( ). ","(___.__)__) "," , , , , "," "],snow:[" .--. "," .-( ). ","(___.__)__) "," * * * ","* * * * "],thunder:[" .--. "," .-( ). ","(___.__)__) "," / \\ "," / \\ "],fog:[" "," _ - _ - _ -"," _ - _ - _ "," _ - _ - _ -"," "],sleet:[" .--. "," .-( ). ","(___.__)__) "," * ʻ * ʻ "," ʻ * ʻ * "]},$T={"New Moon":"\uD83C\uDF11","Waxing Crescent":"\uD83C\uDF12","First Quarter":"\uD83C\uDF13","Waxing Gibbous":"\uD83C\uDF14","Full Moon":"\uD83C\uDF15","Waning Gibbous":"\uD83C\uDF16","Last Quarter":"\uD83C\uDF17","Waning Crescent":"\uD83C\uDF18"};function GT(J){let z=J.toLowerCase();if(z.includes("thunder"))return"thunder";if(z.includes("snow"))return"snow";if(z.includes("sleet"))return"sleet";if(z.includes("drizzle"))return"drizzle";if(z.includes("rain"))return"rain";if(z.includes("fog")||z.includes("mist")||z.includes("haze"))return"fog";if(z.includes("overcast"))return"overcast";if(z.includes("mostly cloudy")||z.includes("very cloudy"))return"cloudy";if(z.includes("partly cloudy")||z.includes("mostly sunny"))return"partlycloudy";if(z.includes("cloudy"))return"cloudy";if(z.includes("sunny")||z.includes("clear"))return"sunny";return"cloudy"}var ww=()=>{let{data:J,isError:z}=e5({queryKey:["weather"],queryFn:()=>fetch("/api/weather").then((L)=>L.json()),refetchInterval:600000});if(z||!J||J.error)return $$.jsxDEV("div",{className:"text-gray-500 text-sm",children:"Weather unavailable"},void 0,!1,void 0,this);let W=Lw[GT(J.description)]??Lw.cloudy,N=$T[J.moonPhase]??J.moonPhase;return $$.jsxDEV("div",{className:"flex items-start gap-4",children:[$$.jsxDEV("pre",{className:"text-gray-300 text-[11px] leading-tight select-none font-mono",children:W.join(`
`)},void 0,!1,void 0,this),$$.jsxDEV("div",{className:"flex flex-col gap-1",children:[$$.jsxDEV("div",{className:"flex items-baseline gap-3",children:[$$.jsxDEV("span",{className:"text-4xl font-bold",children:[J.temperature,"°C"]},void 0,!0,void 0,this),$$.jsxDEV("span",{className:"text-lg text-gray-300",children:J.description},void 0,!1,void 0,this)]},void 0,!0,void 0,this),$$.jsxDEV("div",{className:"flex gap-4 text-sm text-gray-400 font-mono",children:[$$.jsxDEV("span",{children:["↑ ",J.sunrise]},void 0,!0,void 0,this),$$.jsxDEV("span",{children:["↓ ",J.sunset]},void 0,!0,void 0,this),$$.jsxDEV("span",{title:J.moonPhase,children:[N," ",J.moonPhase]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),J.hourly.length>0&&$$.jsxDEV("div",{className:"flex gap-3 mt-1",children:J.hourly.map((L,Q)=>$$.jsxDEV("div",{className:"text-center",children:[$$.jsxDEV("div",{className:"text-xs text-gray-500",children:L.time},void 0,!1,void 0,this),$$.jsxDEV("div",{className:"text-sm font-bold",children:[L.temp,"°"]},void 0,!0,void 0,this)]},Q,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)};var N$=G0(i0(),1),XT=({percent:J})=>N$.jsxDEV("div",{className:"flex-1 h-1.5 bg-zinc-800 relative",children:N$.jsxDEV("div",{className:"absolute inset-y-0 left-0 bg-white",style:{width:`${J}%`}},void 0,!1,void 0,this)},void 0,!1,void 0,this),fJ=({label:J,percent:z,detail:W})=>N$.jsxDEV("div",{className:"flex items-center gap-3 text-sm font-mono",children:[N$.jsxDEV("span",{className:"w-10 text-gray-400 shrink-0",children:J},void 0,!1,void 0,this),N$.jsxDEV(XT,{percent:z},void 0,!1,void 0,this),N$.jsxDEV("span",{className:"w-8 text-right shrink-0",children:[z,"%"]},void 0,!0,void 0,this),N$.jsxDEV("span",{className:"text-gray-500 shrink-0",children:W},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Qw=()=>{let J=t1(),{data:z}=e5({queryKey:["system"],queryFn:()=>fetch("/api/system").then((W)=>W.json()),refetchInterval:J?60000:2000});if(!z)return null;return N$.jsxDEV("div",{className:"h-full flex flex-col justify-center gap-3",children:[N$.jsxDEV("div",{className:"flex justify-between items-baseline",children:[N$.jsxDEV("span",{className:"font-bold text-lg",children:z.hostname},void 0,!1,void 0,this),N$.jsxDEV("span",{className:"text-gray-500 text-sm font-mono",children:["up ",z.uptime]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),N$.jsxDEV(fJ,{label:"CPU",percent:z.cpu.percent,detail:`load ${z.cpu.load[0]} ${z.cpu.load[1]} ${z.cpu.load[2]}`},void 0,!1,void 0,this),N$.jsxDEV(fJ,{label:"MEM",percent:z.memory.percent,detail:`${z.memory.usedGb} / ${z.memory.totalGb} GB`},void 0,!1,void 0,this),N$.jsxDEV(fJ,{label:"DISK",percent:z.disk.percent,detail:`${z.disk.usedGb} / ${z.disk.totalGb} GB`},void 0,!1,void 0,this)]},void 0,!0,void 0,this)};var R5=G0(i0(),1),hJ=(J)=>fetch(J).then((z)=>z.json()),YT=["footer-1","footer-2","footer-3"],ZT=["sl","sbb"],Kw=()=>{let{data:J}=e5({queryKey:["config"],queryFn:()=>hJ("/api/config")}),z=!!J?.alwaysOn,W=J?.layout??{},N=(Y0)=>Object.values(W).includes(Y0),[,L]=wY.useReducer((Y0)=>Y0+1,0);wY.useEffect(()=>{if(!z)return;let Y0,E0=(()=>{let t=new Date,e0=(60-t.getSeconds())*1000-t.getMilliseconds();return setTimeout(()=>{L(),Y0=setInterval(L,60000)},e0)})();return()=>{clearTimeout(E0),clearInterval(Y0)}},[z]);let{data:Q,isLoading:R}=e5({queryKey:["sl-departures",J?.sl?.stationId],queryFn:()=>hJ(`/api/sl/departures/${J.sl.stationId}`),enabled:N("sl")&&!!J?.sl?.stationId,refetchInterval:z?60000:J?.refreshRate??30000}),{data:K,isLoading:j}=e5({queryKey:["sbb-departures",J?.sbb?.stationId],queryFn:()=>hJ(`/api/sbb/departures/${J.sbb.stationId}`),enabled:N("sbb")&&!!J?.sbb?.stationId,refetchInterval:z?60000:J?.refreshRate??30000}),x=(Y0)=>{if(!Y0||Y0==="spacer")return null;switch(Y0){case"clock":return R5.jsxDEV("div",{className:"h-full flex items-center",children:R5.jsxDEV(Yw,{},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"weather":return R5.jsxDEV("div",{className:"h-full flex items-center",children:R5.jsxDEV(ww,{},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"spotify":return R5.jsxDEV(Aw,{},void 0,!1,void 0,this);case"system":return R5.jsxDEV(Qw,{},void 0,!1,void 0,this);case"sl":return R5.jsxDEV("div",{className:"h-full flex flex-col",children:[R5.jsxDEV("h2",{className:`text-xl uppercase tracking-wider shrink-0 pb-1 ${z?"font-normal":"font-bold"}`,children:Q?.departures[0]?.stop_area?.name||J?.sl?.stationName||"SL"},void 0,!1,void 0,this),R5.jsxDEV(Hw,{departures:Q?.departures??[],loading:R},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"sbb":return R5.jsxDEV("div",{className:"h-full flex flex-col",children:[R5.jsxDEV("h2",{className:`text-xl uppercase tracking-wider shrink-0 pb-1 ${z?"font-normal":"font-bold"}`,children:J?.sbb?.stationName||"SBB"},void 0,!1,void 0,this),R5.jsxDEV(_w,{departures:K?.stationboard??[],loading:j},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}},M=W["header-left"],F=W["header-right"],E=W["main-1"],f=W["main-2"],d=YT.map((Y0)=>W[Y0]).filter((Y0)=>Y0!=null),m=M||F,v=E&&E!=="spacer"||f&&f!=="spacer",o=d.filter((Y0)=>Y0!=="spacer").length>0,r=d.some((Y0)=>ZT.includes(Y0)),e=!v?{flex:"1 1 0",minHeight:0}:r?{flex:"0 0 40%",minHeight:0}:{flex:"0 0 auto",minHeight:"140px"},j0="min-h-0 min-w-0 overflow-hidden";return R5.jsxDEV(mJ.Provider,{value:z,children:R5.jsxDEV("div",{className:"flex flex-col h-screen w-screen p-6 gap-4 overflow-hidden",children:[m&&R5.jsxDEV("div",{className:"flex items-center justify-between border-b border-white pb-4 shrink-0",children:[R5.jsxDEV("div",{className:`flex-1 ${j0}`,children:x(M)},void 0,!1,void 0,this),F&&R5.jsxDEV("div",{className:`flex-shrink-0 ml-8 ${j0}`,children:x(F)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),v&&R5.jsxDEV("div",{className:`${E&&f?"grid grid-cols-2 gap-6":"flex"}`,style:{flex:"1 1 0",minHeight:0},children:[E&&R5.jsxDEV("div",{className:`${E&&f?"":"flex-1"} ${j0}`,children:x(E)},void 0,!1,void 0,this),f&&R5.jsxDEV("div",{className:j0,children:x(f)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),o&&R5.jsxDEV("div",{className:"border-t border-white pt-4 grid gap-6",style:{...e,gridTemplateColumns:`repeat(${d.length}, 1fr)`},children:d.map((Y0,Y5)=>R5.jsxDEV("div",{className:`${j0} h-full`,children:x(Y0)},`${Y0}-${Y5}`,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)};var R4=G0(H5(),1);var j8=G0(H5(),1);var q2=G0(i0(),1),yJ=({onSelect:J,endpoint:z,placeholder:W="Search for a station..."})=>{let[N,L]=j8.useState(""),[Q,R]=j8.useState("");j8.useEffect(()=>{let M=setTimeout(()=>R(N.trim()),350);return()=>clearTimeout(M)},[N]);let{data:K,isFetching:j}=e5({queryKey:["search",z,Q],queryFn:()=>fetch(`${z}?q=${encodeURIComponent(Q)}`).then((M)=>M.json()),enabled:Q.length>0,staleTime:60000}),x=K?.StopLocation??[];return q2.jsxDEV("div",{className:"w-full",children:[q2.jsxDEV("input",{type:"text",value:N,onChange:(M)=>L(M.target.value),placeholder:W,className:"w-full bg-black text-white px-4 py-2 border border-white outline-none text-lg"},void 0,!1,void 0,this),q2.jsxDEV("div",{className:"mt-2 flex flex-col",children:[j&&q2.jsxDEV("p",{className:"text-gray-500 py-2",children:"Searching..."},void 0,!1,void 0,this),!j&&x.map((M)=>q2.jsxDEV("div",{onClick:()=>J(M),className:"flex justify-between items-center py-3 border-b border-zinc-700 cursor-pointer text-lg",children:[q2.jsxDEV("span",{children:M.name},void 0,!1,void 0,this),q2.jsxDEV("span",{className:"text-gray-500 text-sm",children:M.id},void 0,!1,void 0,this)]},M.id,!0,void 0,this)),!j&&Q&&x.length===0&&q2.jsxDEV("p",{className:"text-gray-500 py-2",children:"No stations found."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)};var Z0=G0(i0(),1),BT=["clock","weather","sl","sbb","spotify","system","spacer"],Fw={clock:"Clock",weather:"Weather",sl:"SL Departures",sbb:"SBB Departures",spotify:"Spotify",system:"System",spacer:"Spacer"},JT={"header-left":"Header Left","header-right":"Header Right","main-1":"Main Col 1","main-2":"Main Col 2","footer-1":"Footer 1","footer-2":"Footer 2","footer-3":"Footer 3"},HT={"header-left":{gridColumn:"1 / 4",gridRow:"1"},"header-right":{gridColumn:"4 / 7",gridRow:"1"},"main-1":{gridColumn:"1 / 4",gridRow:"2"},"main-2":{gridColumn:"4 / 7",gridRow:"2"},"footer-1":{gridColumn:"1 / 3",gridRow:"3"},"footer-2":{gridColumn:"3 / 5",gridRow:"3"},"footer-3":{gridColumn:"5 / 7",gridRow:"3"}},zT=["header-left","header-right","main-1","main-2","footer-1","footer-2","footer-3"],UT=({layout:J,onChange:z})=>{let[W,N]=R4.useState(null),L=new Set(Object.values(J).filter(Boolean)),Q=BT.filter((M)=>M==="spacer"||!L.has(M)),R=(M,F,E)=>{M.dataTransfer.setData("widgetId",F),M.dataTransfer.setData("fromZone",E)},K=(M,F)=>{M.preventDefault(),N(null);let E=M.dataTransfer.getData("widgetId"),f=M.dataTransfer.getData("fromZone");if(!E)return;let d={...J},m=d[F];if(f!=="palette")if(m)d[f]=m;else delete d[f];d[F]=E,z(d)},j=(M)=>{M.preventDefault(),N(null);let F=M.dataTransfer.getData("fromZone");if(F==="palette")return;let E={...J};delete E[F],z(E)},x=(M)=>{let F={...J};delete F[M],z(F)};return Z0.jsxDEV("div",{className:"flex flex-col gap-4",children:[Z0.jsxDEV("div",{style:{display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gridTemplateRows:"auto minmax(100px, auto) auto",gap:"4px"},children:zT.map((M)=>{let F=J[M],E=W===M;return Z0.jsxDEV("div",{style:HT[M],className:`border p-2 flex flex-col gap-1 min-h-[56px] transition-colors ${E?"border-white bg-zinc-900":"border-zinc-700"}`,onDragOver:(f)=>{f.preventDefault(),N(M)},onDragLeave:()=>N(null),onDrop:(f)=>K(f,M),children:[Z0.jsxDEV("span",{className:"text-[10px] text-gray-600 uppercase tracking-wider leading-none",children:JT[M]},void 0,!1,void 0,this),F?Z0.jsxDEV("div",{className:"flex items-center justify-between mt-auto",children:[Z0.jsxDEV("span",{draggable:!0,onDragStart:(f)=>R(f,F,M),className:`text-sm font-bold cursor-grab px-2 py-0.5 select-none ${F==="spacer"?"border border-dashed border-zinc-600 text-zinc-500":"border border-zinc-500"}`,children:Fw[F]},void 0,!1,void 0,this),Z0.jsxDEV("button",{onClick:()=>x(M),className:"text-gray-600 hover:text-white text-base leading-none ml-1",children:"×"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Z0.jsxDEV("span",{className:"text-[10px] text-zinc-700 mt-auto",children:"drop here"},void 0,!1,void 0,this)]},M,!0,void 0,this)})},void 0,!1,void 0,this),Z0.jsxDEV("div",{className:`border p-3 min-h-[52px] transition-colors ${W==="palette"?"border-white bg-zinc-900":"border-zinc-700"}`,onDragOver:(M)=>{M.preventDefault(),N("palette")},onDragLeave:()=>N(null),onDrop:j,children:[Z0.jsxDEV("span",{className:"text-xs text-gray-500 uppercase tracking-wider block mb-2",children:"Available (drag to dashboard)"},void 0,!1,void 0,this),Z0.jsxDEV("div",{className:"flex flex-wrap gap-2",children:[Q.map((M)=>Z0.jsxDEV("span",{draggable:!0,onDragStart:(F)=>R(F,M,"palette"),className:`text-sm font-bold cursor-grab px-3 py-1 select-none ${M==="spacer"?"border border-dashed border-zinc-600 text-zinc-500":"border border-zinc-500"}`,children:Fw[M]},M,!1,void 0,this)),Q.length===0&&Z0.jsxDEV("span",{className:"text-xs text-zinc-700",children:"all widgets placed — drag from grid to remove"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},WT=({enabled:J,onChange:z})=>Z0.jsxDEV("button",{onClick:()=>z(!J),className:"border border-white px-4 py-1 text-lg font-bold",children:J?"ON":"OFF"},void 0,!1,void 0,this),fG=({title:J,children:z,fullWidth:W})=>Z0.jsxDEV("section",{className:"border-b border-zinc-800 pb-8",style:W?{gridColumn:"1 / -1"}:void 0,children:[Z0.jsxDEV("h2",{className:"text-2xl font-bold mb-4",children:J},void 0,!1,void 0,this),z]},void 0,!0,void 0,this),Mw=({label:J,value:z,onChange:W,type:N="text",placeholder:L=""})=>Z0.jsxDEV("div",{className:"flex flex-col gap-1 mb-3",children:[Z0.jsxDEV("label",{className:"text-sm text-gray-400 uppercase tracking-wider",children:J},void 0,!1,void 0,this),Z0.jsxDEV("input",{type:N,value:z,onChange:(Q)=>W(Q.target.value),placeholder:L,className:"bg-black text-white px-4 py-2 border border-zinc-700 outline-none text-lg focus:border-white"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Rw=()=>{let J=Q6(),{data:z}=e5({queryKey:["config"],queryFn:()=>fetch("/api/config").then((v)=>v.json())}),{data:W,refetch:N}=e5({queryKey:["spotify-status"],queryFn:()=>fetch("/api/spotify/status").then((v)=>v.json())}),{mutate:L}=AJ({mutationFn:(v)=>fetch("/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(v)}),onMutate:(v)=>J.setQueryData(["config"],v)}),[Q,R]=R4.useState({});R4.useEffect(()=>{if(z)R(z.layout??{})},[z]);let[K,j]=R4.useState(""),[x,M]=R4.useState(""),[F,E]=R4.useState("");if(!z)return Z0.jsxDEV("div",{className:"p-8 text-gray-500",children:"Loading..."},void 0,!1,void 0,this);let f=()=>{L({...z,spotify:{clientId:K||z.spotify.clientId,clientSecret:x||z.spotify.clientSecret}})},d=async()=>{await fetch("/api/spotify/disconnect"),N()},m=(v)=>{R(v),L({...z,layout:v})};return Z0.jsxDEV("div",{className:"flex flex-col h-screen w-screen p-8 overflow-auto bg-black text-white",children:[Z0.jsxDEV("div",{className:"flex items-center gap-6 mb-8 border-b border-white pb-4",children:[Z0.jsxDEV(D8,{to:"/",className:"text-2xl",children:"←"},void 0,!1,void 0,this),Z0.jsxDEV("h1",{className:"text-4xl font-bold",children:"Settings"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV("div",{className:"grid gap-8",style:{gridTemplateColumns:"repeat(auto-fill, minmax(min(100%, 420px), 1fr))"},children:[Z0.jsxDEV(fG,{title:"Always-on Mode",fullWidth:!0,children:Z0.jsxDEV("div",{className:"flex items-center justify-between",children:[Z0.jsxDEV("p",{className:"text-gray-400",children:"Minute-aligned updates, thinner text, no progress bars"},void 0,!1,void 0,this),Z0.jsxDEV(WT,{enabled:z.alwaysOn??!1,onChange:(v)=>L({...z,alwaysOn:v})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Z0.jsxDEV(fG,{title:"Dashboard Layout",fullWidth:!0,children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-4 text-sm",children:"Drag widgets into zones. Drag back to the palette to hide. Zones can be swapped by dropping onto an occupied zone."},void 0,!1,void 0,this),Z0.jsxDEV(UT,{layout:Q,onChange:m},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV(fG,{title:"SL Departures",children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-3",children:z.sl.stationName||"No station selected"},void 0,!1,void 0,this),Z0.jsxDEV(yJ,{endpoint:"/api/sl/search",placeholder:"Search SL station...",onSelect:(v)=>L({...z,sl:{stationId:v.id,stationName:v.name}})},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV(fG,{title:"SBB Departures",children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-3",children:z.sbb.stationName||"No station selected"},void 0,!1,void 0,this),Z0.jsxDEV(yJ,{endpoint:"/api/sbb/search",placeholder:"Search SBB station...",onSelect:(v)=>L({...z,sbb:{stationId:v.id,stationName:v.name}})},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV(fG,{title:"Weather (Meteoswiss)",children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-3",children:z.weather.plz?`PLZ ${z.weather.plz}`:"No PLZ configured"},void 0,!1,void 0,this),Z0.jsxDEV("div",{className:"flex gap-2",children:[Z0.jsxDEV("input",{type:"text",value:F||z.weather.plz,onChange:(v)=>E(v.target.value),placeholder:"e.g. 8001",maxLength:4,className:"bg-black text-white px-4 py-2 border border-zinc-700 outline-none text-lg focus:border-white w-32"},void 0,!1,void 0,this),Z0.jsxDEV("button",{onClick:()=>{L({...z,weather:{plz:F||z.weather.plz}}),E("")},className:"border border-white px-4 py-2 font-bold",children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV(fG,{title:"Spotify Now Playing",children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-4",children:W?.connected?"Connected":z.spotify.clientId?"Not connected":"Not configured"},void 0,!1,void 0,this),Z0.jsxDEV("div",{className:"flex flex-col gap-4",children:!W?.connected?Z0.jsxDEV(Z0.Fragment,{children:[Z0.jsxDEV("p",{className:"text-sm text-gray-500",children:["Create an app at ",Z0.jsxDEV("span",{className:"text-white",children:"developer.spotify.com"},void 0,!1,void 0,this)," and add"," ",Z0.jsxDEV("span",{className:"text-white font-mono text-xs",children:"http://127.0.0.1:3000/api/spotify/callback"},void 0,!1,void 0,this)," as a redirect URI."]},void 0,!0,void 0,this),Z0.jsxDEV(Mw,{label:"Client ID",value:K,onChange:j,placeholder:z.spotify.clientId?"(saved)":""},void 0,!1,void 0,this),Z0.jsxDEV(Mw,{label:"Client Secret",value:x,onChange:M,type:"password",placeholder:z.spotify.clientSecret?"(saved)":""},void 0,!1,void 0,this),Z0.jsxDEV("div",{className:"flex gap-2",children:[Z0.jsxDEV("button",{onClick:f,className:"border border-white px-4 py-2 font-bold",children:"Save Credentials"},void 0,!1,void 0,this),z.spotify.clientId&&Z0.jsxDEV("a",{href:"/api/spotify/auth",className:"border border-white px-4 py-2 font-bold",children:"Connect Spotify"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):Z0.jsxDEV("button",{onClick:d,className:"border border-zinc-600 px-4 py-2 text-gray-400 w-fit",children:"Disconnect"},void 0,!1,void 0,this)},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 R6=G0(i0(),1),Tw=()=>{return R6.jsxDEV(gJ,{children:R6.jsxDEV(jJ,{children:[R6.jsxDEV(O8,{path:"/",element:R6.jsxDEV(Kw,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),R6.jsxDEV(O8,{path:"/settings",element:R6.jsxDEV(Rw,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)};var dJ=G0(i0(),1),_T=new zJ,Iw=document.getElementById("root");if(Iw)Pw.createRoot(Iw).render(dJ.jsxDEV(_J,{client:_T,children:dJ.jsxDEV(Tw,{},void 0,!1,void 0,this)},void 0,!1,void 0,this));