@pramen/admin 0.0.46 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/main.3q5j5mrq.js +251 -0
- package/package.json +1 -1
- package/dist/main.d21jc08v.js +0 -251
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
var _D=Object.create;var{getPrototypeOf:zD,defineProperty:u7,getOwnPropertyNames:BD}=Object;var ID=Object.prototype.hasOwnProperty;function HD(o){return this[o]}var FD,UD,F=(o,r,i)=>{var c=o!=null&&typeof o==="object";if(c){var u=r?FD??=new WeakMap:UD??=new WeakMap,f=u.get(o);if(f)return f}i=o!=null?_D(zD(o)):{};let b=r||!o||!o.__esModule?u7(i,"default",{value:o,enumerable:!0}):i;if(o&&typeof o==="object"||typeof o==="function"){for(let m of BD(o))if(!ID.call(b,m))u7(b,m,{get:HD.bind(o,m),enumerable:!0})}if(c)u.set(o,b);return b};var Yr=(o,r)=>()=>(r||o((r={exports:{}}).exports,r),r.exports);var J=Yr(function(VD,nb){(function(){function o(E,B){Object.defineProperty(c.prototype,E,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",B[0],B[1])}})}function r(E){if(E===null||typeof E!=="object")return null;return E=un&&E[un]||E["@@iterator"],typeof E==="function"?E:null}function i(E,B){E=(E=E.constructor)&&(E.displayName||E.name)||"ReactClass";var ne=E+"."+B;me[ne]||(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.",B,E),me[ne]=!0)}function c(E,B,ne){this.props=E,this.context=B,this.refs=pa,this.updater=ne||se}function u(){}function f(E,B,ne){this.props=E,this.context=B,this.refs=pa,this.updater=ne||se}function b(){}function m(E){return""+E}function g(E){try{m(E);var B=!1}catch(Re){B=!0}if(B){B=console;var ne=B.error,fe=typeof Symbol==="function"&&Symbol.toStringTag&&E[Symbol.toStringTag]||E.constructor.name||"Object";return ne.call(B,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",fe),m(E)}}function x(E){if(E==null)return null;if(typeof E==="function")return E.$$typeof===Fo?null:E.displayName||E.name||null;if(typeof E==="string")return E;switch(E){case Q:return"Fragment";case W:return"Profiler";case C:return"StrictMode";case He:return"Suspense";case xe:return"SuspenseList";case ft:return"Activity"}if(typeof E==="object")switch(typeof E.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),E.$$typeof){case le:return"Portal";case Ce:return E.displayName||"Context";case ve:return(E._context.displayName||"Context")+".Consumer";case Ne:var B=E.render;return E=E.displayName,E||(E=B.displayName||B.name||"",E=E!==""?"ForwardRef("+E+")":"ForwardRef"),E;case Xe:return B=E.displayName||null,B!==null?B:x(E.type)||"Memo";case ht:B=E._payload,E=E._init;try{return x(E(B))}catch(ne){}}return null}function v(E){if(E===Q)return"<>";if(typeof E==="object"&&E!==null&&E.$$typeof===ht)return"<...>";try{var B=x(E);return B?"<"+B+">":"<...>"}catch(ne){return"<...>"}}function h(){var E=Qe.A;return E===null?null:E.getOwner()}function T(){return Error("react-stack-top-frame")}function R(E){if(Ks.call(E,"key")){var B=Object.getOwnPropertyDescriptor(E,"key").get;if(B&&B.isReactWarning)return!1}return E.key!==void 0}function w(E,B){function ne(){Uf||(Uf=!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)",B))}ne.isReactWarning=!0,Object.defineProperty(E,"key",{get:ne,configurable:!0})}function L(){var E=x(this.type);return xi[E]||(xi[E]=!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.")),E=this.props.ref,E!==void 0?E:null}function M(E,B,ne,fe,Re,Fe){var Ue=ne.ref;return E={$$typeof:V,type:E,key:B,props:ne,_owner:fe},(Ue!==void 0?Ue:null)!==null?Object.defineProperty(E,"ref",{enumerable:!1,get:L}):Object.defineProperty(E,"ref",{enumerable:!1,value:null}),E._store={},Object.defineProperty(E._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(E,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(E,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Re}),Object.defineProperty(E,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Fe}),Object.freeze&&(Object.freeze(E.props),Object.freeze(E)),E}function H(E,B){return B=M(E.type,B,E.props,E._owner,E._debugStack,E._debugTask),E._store&&(B._store.validated=E._store.validated),B}function I(E){X(E)?E._store&&(E._store.validated=1):typeof E==="object"&&E!==null&&E.$$typeof===ht&&(E._payload.status==="fulfilled"?X(E._payload.value)&&E._payload.value._store&&(E._payload.value._store.validated=1):E._store&&(E._store.validated=1))}function X(E){return typeof E==="object"&&E!==null&&E.$$typeof===V}function Z(E){var B={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(ne){return B[ne]})}function ge(E,B){return typeof E==="object"&&E!==null&&E.key!=null?(g(E.key),Z(""+E.key)):B.toString(36)}function he(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status==="string"?E.then(b,b):(E.status="pending",E.then(function(B){E.status==="pending"&&(E.status="fulfilled",E.value=B)},function(B){E.status==="pending"&&(E.status="rejected",E.reason=B)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function ae(E,B,ne,fe,Re){var Fe=typeof E;if(Fe==="undefined"||Fe==="boolean")E=null;var Ue=!1;if(E===null)Ue=!0;else switch(Fe){case"bigint":case"string":case"number":Ue=!0;break;case"object":switch(E.$$typeof){case V:case le:Ue=!0;break;case ht:return Ue=E._init,ae(Ue(E._payload),B,ne,fe,Re)}}if(Ue){Ue=E,Re=Re(Ue);var pt=fe===""?"."+ge(Ue,0):fe;return Te(Re)?(ne="",pt!=null&&(ne=pt.replace(Gs,"$&/")+"/"),ae(Re,B,ne,"",function(La){return La})):Re!=null&&(X(Re)&&(Re.key!=null&&(Ue&&Ue.key===Re.key||g(Re.key)),ne=H(Re,ne+(Re.key==null||Ue&&Ue.key===Re.key?"":(""+Re.key).replace(Gs,"$&/")+"/")+pt),fe!==""&&Ue!=null&&X(Ue)&&Ue.key==null&&Ue._store&&!Ue._store.validated&&(ne._store.validated=2),Re=ne),B.push(Re)),1}if(Ue=0,pt=fe===""?".":fe+":",Te(E))for(var Me=0;Me<E.length;Me++)fe=E[Me],Fe=pt+ge(fe,Me),Ue+=ae(fe,B,ne,Fe,Re);else if(Me=r(E),typeof Me==="function")for(Me===E.entries&&(js||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),js=!0),E=Me.call(E),Me=0;!(fe=E.next()).done;)fe=fe.value,Fe=pt+ge(fe,Me++),Ue+=ae(fe,B,ne,Fe,Re);else if(Fe==="object"){if(typeof E.then==="function")return ae(he(E),B,ne,fe,Re);throw B=String(E),Error("Objects are not valid as a React child (found: "+(B==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":B)+"). If you meant to render a collection of children, use an array instead.")}return Ue}function U(E,B,ne){if(E==null)return E;var fe=[],Re=0;return ae(E,fe,"","",function(Fe){return B.call(ne,Fe,Re++)}),fe}function te(E){if(E._status===-1){var B=E._ioInfo;B!=null&&(B.start=B.end=performance.now()),B=E._result;var ne=B();if(ne.then(function(Re){if(E._status===0||E._status===-1){E._status=1,E._result=Re;var Fe=E._ioInfo;Fe!=null&&(Fe.end=performance.now()),ne.status===void 0&&(ne.status="fulfilled",ne.value=Re)}},function(Re){if(E._status===0||E._status===-1){E._status=2,E._result=Re;var Fe=E._ioInfo;Fe!=null&&(Fe.end=performance.now()),ne.status===void 0&&(ne.status="rejected",ne.reason=Re)}}),B=E._ioInfo,B!=null){B.value=ne;var fe=ne.displayName;typeof fe==="string"&&(B.name=fe)}E._status===-1&&(E._status=0,E._result=ne)}if(E._status===1)return B=E._result,B===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,B),"default"in B||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,B),B.default;throw E._result}function j(){var E=Qe.H;return E===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),E}function ye(){Qe.asyncTransitions--}function de(E){if(Ci===null)try{var B=("require"+Math.random()).slice(0,7);Ci=(nb&&nb[B]).call(nb,"timers").setImmediate}catch(ne){Ci=function(fe){Vf===!1&&(Vf=!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 Re=new MessageChannel;Re.port1.onmessage=fe,Re.port2.postMessage(void 0)}}return Ci(E)}function re(E){return 1<E.length&&typeof AggregateError==="function"?AggregateError(E):E[0]}function O(E,B){B!==Ei-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. "),Ei=B}function z(E,B,ne){var fe=Qe.actQueue;if(fe!==null)if(fe.length!==0)try{K(fe),de(function(){return z(E,B,ne)});return}catch(Re){Qe.thrownErrors.push(Re)}else Qe.actQueue=null;0<Qe.thrownErrors.length?(fe=re(Qe.thrownErrors),Qe.thrownErrors.length=0,ne(fe)):B(E)}function K(E){if(!Ri){Ri=!0;var B=0;try{for(;B<E.length;B++){var ne=E[B];do{Qe.didUsePromise=!1;var fe=ne(!1);if(fe!==null){if(Qe.didUsePromise){E[B]=ne,E.splice(0,B);return}ne=fe}else break}while(1)}E.length=0}catch(Re){E.splice(0,B+1),Qe.thrownErrors.push(Re)}finally{Ri=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var V=Symbol.for("react.transitional.element"),le=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),ve=Symbol.for("react.consumer"),Ce=Symbol.for("react.context"),Ne=Symbol.for("react.forward_ref"),He=Symbol.for("react.suspense"),xe=Symbol.for("react.suspense_list"),Xe=Symbol.for("react.memo"),ht=Symbol.for("react.lazy"),ft=Symbol.for("react.activity"),un=Symbol.iterator,me={},se={isMounted:function(){return!1},enqueueForceUpdate:function(E){i(E,"forceUpdate")},enqueueReplaceState:function(E){i(E,"replaceState")},enqueueSetState:function(E){i(E,"setState")}},Ge=Object.assign,pa={};Object.freeze(pa),c.prototype.isReactComponent={},c.prototype.setState=function(E,B){if(typeof E!=="object"&&typeof E!=="function"&&E!=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,E,B,"setState")},c.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};var It={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(dl in It)It.hasOwnProperty(dl)&&o(dl,It[dl]);u.prototype=c.prototype,It=f.prototype=new u,It.constructor=f,Ge(It,c.prototype),It.isPureReactComponent=!0;var Te=Array.isArray,Fo=Symbol.for("react.client.reference"),Qe={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ks=Object.prototype.hasOwnProperty,Dt=console.createTask?console.createTask:function(){return null};It={react_stack_bottom_frame:function(E){return E()}};var Uf,Nn,xi={},Si=It.react_stack_bottom_frame.bind(It,T)(),G0=Dt(v(T)),js=!1,Gs=/\/+/g,ul=typeof reportError==="function"?reportError:function(E){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var B=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E==="object"&&E!==null&&typeof E.message==="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(B))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",E);return}console.error(E)},Vf=!1,Ci=null,Ei=0,Ti=!1,Ri=!1,wu=typeof queueMicrotask==="function"?function(E){queueMicrotask(function(){return queueMicrotask(E)})}:de;It=Object.freeze({__proto__:null,c:function(E){return j().useMemoCache(E)}});var dl={map:U,forEach:function(E,B,ne){U(E,function(){B.apply(this,arguments)},ne)},count:function(E){var B=0;return U(E,function(){B++}),B},toArray:function(E){return U(E,function(B){return B})||[]},only:function(E){if(!X(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};VD.Activity=ft,VD.Children=dl,VD.Component=c,VD.Fragment=Q,VD.Profiler=W,VD.PureComponent=f,VD.StrictMode=C,VD.Suspense=He,VD.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Qe,VD.__COMPILER_RUNTIME=It,VD.act=function(E){var B=Qe.actQueue,ne=Ei;Ei++;var fe=Qe.actQueue=B!==null?B:[],Re=!1;try{var Fe=E()}catch(Me){Qe.thrownErrors.push(Me)}if(0<Qe.thrownErrors.length)throw O(B,ne),E=re(Qe.thrownErrors),Qe.thrownErrors.length=0,E;if(Fe!==null&&typeof Fe==="object"&&typeof Fe.then==="function"){var Ue=Fe;return wu(function(){Re||Ti||(Ti=!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(Me,La){Re=!0,Ue.then(function(ho){if(O(B,ne),ne===0){try{K(fe),de(function(){return z(ho,Me,La)})}catch(Du){Qe.thrownErrors.push(Du)}if(0<Qe.thrownErrors.length){var fl=re(Qe.thrownErrors);Qe.thrownErrors.length=0,La(fl)}}else Me(ho)},function(ho){O(B,ne),0<Qe.thrownErrors.length?(ho=re(Qe.thrownErrors),Qe.thrownErrors.length=0,La(ho)):La(ho)})}}}var pt=Fe;if(O(B,ne),ne===0&&(K(fe),fe.length!==0&&wu(function(){Re||Ti||(Ti=!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(() => ...)"))}),Qe.actQueue=null),0<Qe.thrownErrors.length)throw E=re(Qe.thrownErrors),Qe.thrownErrors.length=0,E;return{then:function(Me,La){Re=!0,ne===0?(Qe.actQueue=fe,de(function(){return z(pt,Me,La)})):Me(pt)}}},VD.cache=function(E){return function(){return E.apply(null,arguments)}},VD.cacheSignal=function(){return null},VD.captureOwnerStack=function(){var E=Qe.getCurrentStack;return E===null?null:E()},VD.cloneElement=function(E,B,ne){if(E===null||E===void 0)throw Error("The argument must be a React element, but you passed "+E+".");var fe=Ge({},E.props),Re=E.key,Fe=E._owner;if(B!=null){var Ue;e:{if(Ks.call(B,"ref")&&(Ue=Object.getOwnPropertyDescriptor(B,"ref").get)&&Ue.isReactWarning){Ue=!1;break e}Ue=B.ref!==void 0}Ue&&(Fe=h()),R(B)&&(g(B.key),Re=""+B.key);for(pt in B)!Ks.call(B,pt)||pt==="key"||pt==="__self"||pt==="__source"||pt==="ref"&&B.ref===void 0||(fe[pt]=B[pt])}var pt=arguments.length-2;if(pt===1)fe.children=ne;else if(1<pt){Ue=Array(pt);for(var Me=0;Me<pt;Me++)Ue[Me]=arguments[Me+2];fe.children=Ue}fe=M(E.type,Re,fe,Fe,E._debugStack,E._debugTask);for(Re=2;Re<arguments.length;Re++)I(arguments[Re]);return fe},VD.createContext=function(E){return E={$$typeof:Ce,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:ve,_context:E},E._currentRenderer=null,E._currentRenderer2=null,E},VD.createElement=function(E,B,ne){for(var fe=2;fe<arguments.length;fe++)I(arguments[fe]);fe={};var Re=null;if(B!=null)for(Me in Nn||!("__self"in B)||"key"in B||(Nn=!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")),R(B)&&(g(B.key),Re=""+B.key),B)Ks.call(B,Me)&&Me!=="key"&&Me!=="__self"&&Me!=="__source"&&(fe[Me]=B[Me]);var Fe=arguments.length-2;if(Fe===1)fe.children=ne;else if(1<Fe){for(var Ue=Array(Fe),pt=0;pt<Fe;pt++)Ue[pt]=arguments[pt+2];Object.freeze&&Object.freeze(Ue),fe.children=Ue}if(E&&E.defaultProps)for(Me in Fe=E.defaultProps,Fe)fe[Me]===void 0&&(fe[Me]=Fe[Me]);Re&&w(fe,typeof E==="function"?E.displayName||E.name||"Unknown":E);var Me=1e4>Qe.recentlyCreatedOwnerStacks++;return M(E,Re,fe,h(),Me?Error("react-stack-top-frame"):Si,Me?Dt(v(E)):G0)},VD.createRef=function(){var E={current:null};return Object.seal(E),E},VD.forwardRef=function(E){E!=null&&E.$$typeof===Xe?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof E!=="function"?console.error("forwardRef requires a render function but was given %s.",E===null?"null":typeof E):E.length!==0&&E.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",E.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),E!=null&&E.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var B={$$typeof:Ne,render:E},ne;return Object.defineProperty(B,"displayName",{enumerable:!1,configurable:!0,get:function(){return ne},set:function(fe){ne=fe,E.name||E.displayName||(Object.defineProperty(E,"name",{value:fe}),E.displayName=fe)}}),B},VD.isValidElement=X,VD.lazy=function(E){E={_status:-1,_result:E};var B={$$typeof:ht,_payload:E,_init:te},ne={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return E._ioInfo=ne,B._debugInfo=[{awaited:ne}],B},VD.memo=function(E,B){E==null&&console.error("memo: The first argument must be a component. Instead received: %s",E===null?"null":typeof E),B={$$typeof:Xe,type:E,compare:B===void 0?null:B};var ne;return Object.defineProperty(B,"displayName",{enumerable:!1,configurable:!0,get:function(){return ne},set:function(fe){ne=fe,E.name||E.displayName||(Object.defineProperty(E,"name",{value:fe}),E.displayName=fe)}}),B},VD.startTransition=function(E){var B=Qe.T,ne={};ne._updatedFibers=new Set,Qe.T=ne;try{var fe=E(),Re=Qe.S;Re!==null&&Re(ne,fe),typeof fe==="object"&&fe!==null&&typeof fe.then==="function"&&(Qe.asyncTransitions++,fe.then(ye,ye),fe.then(b,ul))}catch(Fe){ul(Fe)}finally{B===null&&ne._updatedFibers&&(E=ne._updatedFibers.size,ne._updatedFibers.clear(),10<E&&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.")),B!==null&&ne.types!==null&&(B.types!==null&&B.types!==ne.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=ne.types),Qe.T=B}},VD.unstable_useCacheRefresh=function(){return j().useCacheRefresh()},VD.use=function(E){return j().use(E)},VD.useActionState=function(E,B,ne){return j().useActionState(E,B,ne)},VD.useCallback=function(E,B){return j().useCallback(E,B)},VD.useContext=function(E){var B=j();return E.$$typeof===ve&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),B.useContext(E)},VD.useDebugValue=function(E,B){return j().useDebugValue(E,B)},VD.useDeferredValue=function(E,B){return j().useDeferredValue(E,B)},VD.useEffect=function(E,B){return E==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),j().useEffect(E,B)},VD.useEffectEvent=function(E){return j().useEffectEvent(E)},VD.useId=function(){return j().useId()},VD.useImperativeHandle=function(E,B,ne){return j().useImperativeHandle(E,B,ne)},VD.useInsertionEffect=function(E,B){return E==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),j().useInsertionEffect(E,B)},VD.useLayoutEffect=function(E,B){return E==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),j().useLayoutEffect(E,B)},VD.useMemo=function(E,B){return j().useMemo(E,B)},VD.useOptimistic=function(E,B){return j().useOptimistic(E,B)},VD.useReducer=function(E,B,ne){return j().useReducer(E,B,ne)},VD.useRef=function(E){return j().useRef(E)},VD.useState=function(E){return j().useState(E)},VD.useSyncExternalStore=function(E,B,ne){return j().useSyncExternalStore(E,B,ne)},VD.useTransition=function(){return j().useTransition()},VD.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var d7=Yr(function(KD){(function(){function o(){if(Z=!1,U){var z=KD.unstable_now();ye=z;var K=!0;try{e:{I=!1,X&&(X=!1,he(te),te=-1),H=!0;var V=M;try{t:{f(z);for(L=i(T);L!==null&&!(L.expirationTime>z&&m());){var le=L.callback;if(typeof le==="function"){L.callback=null,M=L.priorityLevel;var Q=le(L.expirationTime<=z);if(z=KD.unstable_now(),typeof Q==="function"){L.callback=Q,f(z),K=!0;break t}L===i(T)&&c(T),f(z)}else c(T);L=i(T)}if(L!==null)K=!0;else{var C=i(R);C!==null&&g(b,C.startTime-z),K=!1}}break e}finally{L=null,M=V,H=!1}K=void 0}}finally{K?de():U=!1}}}function r(z,K){var V=z.length;z.push(K);e:for(;0<V;){var le=V-1>>>1,Q=z[le];if(0<u(Q,K))z[le]=K,z[V]=Q,V=le;else break e}}function i(z){return z.length===0?null:z[0]}function c(z){if(z.length===0)return null;var K=z[0],V=z.pop();if(V!==K){z[0]=V;e:for(var le=0,Q=z.length,C=Q>>>1;le<C;){var W=2*(le+1)-1,ve=z[W],Ce=W+1,Ne=z[Ce];if(0>u(ve,V))Ce<Q&&0>u(Ne,ve)?(z[le]=Ne,z[Ce]=V,le=Ce):(z[le]=ve,z[W]=V,le=W);else if(Ce<Q&&0>u(Ne,V))z[le]=Ne,z[Ce]=V,le=Ce;else break e}}return K}function u(z,K){var V=z.sortIndex-K.sortIndex;return V!==0?V:z.id-K.id}function f(z){for(var K=i(R);K!==null;){if(K.callback===null)c(R);else if(K.startTime<=z)c(R),K.sortIndex=K.expirationTime,r(T,K);else break;K=i(R)}}function b(z){if(X=!1,f(z),!I)if(i(T)!==null)I=!0,U||(U=!0,de());else{var K=i(R);K!==null&&g(b,K.startTime-z)}}function m(){return Z?!0:KD.unstable_now()-ye<j?!1:!0}function g(z,K){te=ge(function(){z(KD.unstable_now())},K)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),KD.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var x=performance;KD.unstable_now=function(){return x.now()}}else{var v=Date,h=v.now();KD.unstable_now=function(){return v.now()-h}}var T=[],R=[],w=1,L=null,M=3,H=!1,I=!1,X=!1,Z=!1,ge=typeof setTimeout==="function"?setTimeout:null,he=typeof clearTimeout==="function"?clearTimeout:null,ae=typeof setImmediate<"u"?setImmediate:null,U=!1,te=-1,j=5,ye=-1;if(typeof ae==="function")var de=function(){ae(o)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,O=re.port2;re.port1.onmessage=o,de=function(){O.postMessage(null)}}else de=function(){ge(o,0)};KD.unstable_IdlePriority=5,KD.unstable_ImmediatePriority=1,KD.unstable_LowPriority=4,KD.unstable_NormalPriority=3,KD.unstable_Profiling=null,KD.unstable_UserBlockingPriority=2,KD.unstable_cancelCallback=function(z){z.callback=null},KD.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<z?Math.floor(1000/z):5},KD.unstable_getCurrentPriorityLevel=function(){return M},KD.unstable_next=function(z){switch(M){case 1:case 2:case 3:var K=3;break;default:K=M}var V=M;M=K;try{return z()}finally{M=V}},KD.unstable_requestPaint=function(){Z=!0},KD.unstable_runWithPriority=function(z,K){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var V=M;M=z;try{return K()}finally{M=V}},KD.unstable_scheduleCallback=function(z,K,V){var le=KD.unstable_now();switch(typeof V==="object"&&V!==null?(V=V.delay,V=typeof V==="number"&&0<V?le+V:le):V=le,z){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5000}return Q=V+Q,z={id:w++,callback:K,priorityLevel:z,startTime:V,expirationTime:Q,sortIndex:-1},V>le?(z.sortIndex=V,r(R,z),i(T)===null&&z===i(R)&&(X?(he(te),te=-1):X=!0,g(b,V-le))):(z.sortIndex=Q,r(T,z),I||H||(I=!0,U||(U=!0,de()))),z},KD.unstable_shouldYield=m,KD.unstable_wrapCallback=function(z){var K=M;return function(){var V=M;M=K;try{return z.apply(this,arguments)}finally{M=V}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var f7=Yr(function(jD){var Ry=F(J());(function(){function o(){}function r(v){return""+v}function i(v,h,T){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{r(R);var w=!1}catch(L){w=!0}return w&&(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&&R[Symbol.toStringTag]||R.constructor.name||"Object"),r(R)),{$$typeof:g,key:R==null?null:""+R,children:v,containerInfo:h,implementation:T}}function c(v,h){if(v==="font")return"";if(typeof h==="string")return h==="use-credentials"?h:""}function u(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":'something with type "'+typeof v+'"'}function f(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":typeof v==="string"?JSON.stringify(v):typeof v==="number"?"`"+v+"`":'something with type "'+typeof v+'"'}function b(){var v=x.H;return v===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
14
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
|
+
2. You might be breaking the Rules of Hooks
|
|
16
|
+
3. You might have more than one copy of React in the same app
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var m={d:{f:o,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},g=Symbol.for("react.portal"),x=Ry.__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"),jD.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=m,jD.createPortal=function(v,h){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error("Target container is not a DOM element.");return i(v,h,null,T)},jD.flushSync=function(v){var h=x.T,T=m.p;try{if(x.T=null,m.p=2,v)return v()}finally{x.T=h,m.p=T,m.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.")}},jD.preconnect=function(v,h){typeof v==="string"&&v?h!=null&&typeof h!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",f(h)):h!=null&&typeof h.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",u(h.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v)),typeof v==="string"&&(h?(h=h.crossOrigin,h=typeof h==="string"?h==="use-credentials"?h:"":void 0):h=null,m.d.C(v,h))},jD.prefetchDNS=function(v){if(typeof v!=="string"||!v)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v));else if(1<arguments.length){var h=arguments[1];typeof h==="object"&&h.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",f(h)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",f(h))}typeof v==="string"&&m.d.D(v)},jD.preinit=function(v,h){if(typeof v==="string"&&v?h==null||typeof h!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",f(h)):h.as!=="style"&&h.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',f(h.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v)),typeof v==="string"&&h&&typeof h.as==="string"){var T=h.as,R=c(T,h.crossOrigin),w=typeof h.integrity==="string"?h.integrity:void 0,L=typeof h.fetchPriority==="string"?h.fetchPriority:void 0;T==="style"?m.d.S(v,typeof h.precedence==="string"?h.precedence:void 0,{crossOrigin:R,integrity:w,fetchPriority:L}):T==="script"&&m.d.X(v,{crossOrigin:R,integrity:w,fetchPriority:L,nonce:typeof h.nonce==="string"?h.nonce:void 0})}},jD.preinitModule=function(v,h){var T="";if(typeof v==="string"&&v||(T+=" The `href` argument encountered was "+u(v)+"."),h!==void 0&&typeof h!=="object"?T+=" The `options` argument encountered was "+u(h)+".":h&&("as"in h)&&h.as!=="script"&&(T+=" The `as` option encountered was "+f(h.as)+"."),T)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",T);else switch(T=h&&typeof h.as==="string"?h.as:"script",T){case"script":break;default:T=f(T),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)',T,v)}if(typeof v==="string")if(typeof h==="object"&&h!==null){if(h.as==null||h.as==="script")T=c(h.as,h.crossOrigin),m.d.M(v,{crossOrigin:T,integrity:typeof h.integrity==="string"?h.integrity:void 0,nonce:typeof h.nonce==="string"?h.nonce:void 0})}else h==null&&m.d.M(v)},jD.preload=function(v,h){var T="";if(typeof v==="string"&&v||(T+=" The `href` argument encountered was "+u(v)+"."),h==null||typeof h!=="object"?T+=" The `options` argument encountered was "+u(h)+".":typeof h.as==="string"&&h.as||(T+=" The `as` option encountered was "+u(h.as)+"."),T&&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',T),typeof v==="string"&&typeof h==="object"&&h!==null&&typeof h.as==="string"){T=h.as;var R=c(T,h.crossOrigin);m.d.L(v,T,{crossOrigin:R,integrity:typeof h.integrity==="string"?h.integrity:void 0,nonce:typeof h.nonce==="string"?h.nonce:void 0,type:typeof h.type==="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority==="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy==="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet==="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes==="string"?h.imageSizes:void 0,media:typeof h.media==="string"?h.media:void 0})}},jD.preloadModule=function(v,h){var T="";typeof v==="string"&&v||(T+=" The `href` argument encountered was "+u(v)+"."),h!==void 0&&typeof h!=="object"?T+=" The `options` argument encountered was "+u(h)+".":h&&("as"in h)&&typeof h.as!=="string"&&(T+=" The `as` option encountered was "+u(h.as)+"."),T&&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',T),typeof v==="string"&&(h?(T=c(h.as,h.crossOrigin),m.d.m(v,{as:typeof h.as==="string"&&h.as!=="script"?h.as:void 0,crossOrigin:T,integrity:typeof h.integrity==="string"?h.integrity:void 0})):m.d.m(v))},jD.requestFormReset=function(v){m.d.r(v)},jD.unstable_batchedUpdates=function(v,h){return v(h)},jD.useFormState=function(v,h,T){return b().useFormState(v,h,T)},jD.useFormStatus=function(){return b().useHostTransitionStatus()},jD.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var sr=Yr(function(yL,p7){var GD=F(f7());p7.exports=GD});var m7=Yr(function(qD){var mt=F(d7()),Yc=F(J()),wy=F(sr());(function(){function o(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function r(e,t,a,n){if(a>=t.length)return n;var l=t[a],s=sa(e)?e.slice():ot({},e);return s[l]=r(e[l],t,a+1,n),s}function i(e,t,a){if(t.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var n=0;n<a.length-1;n++)if(t[n]!==a[n]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return c(e,t,a,0)}}function c(e,t,a,n){var l=t[n],s=sa(e)?e.slice():ot({},e);return n+1===t.length?(s[a[n]]=s[l],sa(s)?s.splice(l,1):delete s[l]):s[l]=c(e[l],t,a,n+1),s}function u(e,t,a){var n=t[a],l=sa(e)?e.slice():ot({},e);if(a+1===t.length)return sa(l)?l.splice(n,1):delete l[n],l;return l[n]=u(e[n],t,a+1),l}function f(){return!1}function b(){return null}function m(){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 g(){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 v(){}function h(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")}function T(e,t,a,n){return new TT(e,t,a,n)}function R(e,t){e.context===Ol&&(Gh(e.current,2,t,e,null,null),rc())}function w(e,t){if(qo!==null){var a=t.staleFamilies;t=t.updatedFamilies,ed(),g4(e.current,t,a),rc()}}function L(e){qo=e}function M(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function H(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function I(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function X(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Z(e){if(H(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ge(e){var t=e.alternate;if(!t){if(t=H(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var a=e,n=t;;){var l=a.return;if(l===null)break;var s=l.alternate;if(s===null){if(n=l.return,n!==null){a=n;continue}break}if(l.child===s.child){for(s=l.child;s;){if(s===a)return Z(l),e;if(s===n)return Z(l),t;s=s.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==n.return)a=l,n=s;else{for(var d=!1,p=l.child;p;){if(p===a){d=!0,a=l,n=s;break}if(p===n){d=!0,n=l,a=s;break}p=p.sibling}if(!d){for(p=s.child;p;){if(p===a){d=!0,a=s,n=l;break}if(p===n){d=!0,n=s,a=l;break}p=p.sibling}if(!d)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(a.alternate!==n)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(a.tag!==3)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function he(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=he(e),t!==null)return t;e=e.sibling}return null}function ae(e){if(e===null||typeof e!=="object")return null;return e=C8&&e[C8]||e["@@iterator"],typeof e==="function"?e:null}function U(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===GR?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case fc:return"Fragment";case Wh:return"Profiler";case Wp:return"StrictMode";case e$:return"Suspense";case t$:return"SuspenseList";case a$:return"Activity"}if(typeof e==="object")switch(typeof e.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case dc:return"Portal";case Zn:return e.displayName||"Context";case Jh:return(e._context.displayName||"Context")+".Consumer";case ud:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Jp:return t=e.displayName||null,t!==null?t:U(e.type)||"Memo";case Ro:t=e._payload,e=e._init;try{return U(e(t))}catch(a){}}return null}function te(e){return typeof e.tag==="number"?j(e):typeof e.name==="string"?e.name:null}function j(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===Wp?"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 t==="function")return t.displayName||t.name||null;if(typeof t==="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var a=t.length-1;0<=a;a--)if(typeof t[a].name==="string")return t[a].name}if(e.return!==null)return j(e.return)}return null}function ye(e){return{current:e}}function de(e,t){0>Mr?console.error("Unexpected pop."):(t!==n$[Mr]&&console.error("Unexpected Fiber popped."),e.current=o$[Mr],o$[Mr]=null,n$[Mr]=null,Mr--)}function re(e,t,a){Mr++,o$[Mr]=e.current,n$[Mr]=a,e.current=t}function O(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function z(e,t){re(Rl,t,e),re(dd,e,e),re(Tl,null,e);var a=t.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",t=(t=t.documentElement)?(t=t.namespaceURI)?q5(t):jr:jr;break;default:if(a=t.tagName,t=t.namespaceURI)t=q5(t),t=Y5(t,a);else switch(a){case"svg":t=Gc;break;case"math":t=Zm;break;default:t=jr}}a=a.toLowerCase(),a=Fx(null,a),a={context:t,ancestorInfo:a},de(Tl,e),re(Tl,a,e)}function K(e){de(Tl,e),de(dd,e),de(Rl,e)}function V(){return O(Tl.current)}function le(e){e.memoizedState!==null&&re(em,e,e);var t=O(Tl.current),a=e.type,n=Y5(t.context,a);a=Fx(t.ancestorInfo,a),n={context:n,ancestorInfo:a},t!==n&&(re(dd,e,e),re(Tl,n,e))}function Q(e){dd.current===e&&(de(Tl,e),de(dd,e)),em.current===e&&(de(em,e),af._currentValue=us)}function C(){}function W(){if(fd===0){E8=console.log,T8=console.info,R8=console.warn,w8=console.error,D8=console.group,A8=console.groupCollapsed,P8=console.groupEnd;var e={configurable:!0,enumerable:!0,value:C,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}fd++}function ve(){if(fd--,fd===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ot({},e,{value:E8}),info:ot({},e,{value:T8}),warn:ot({},e,{value:R8}),error:ot({},e,{value:w8}),group:ot({},e,{value:D8}),groupCollapsed:ot({},e,{value:A8}),groupEnd:ot({},e,{value:P8})})}0>fd&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Ce(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
18
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
19
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
20
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function Ne(e){if(r$===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);r$=t&&t[1]||"",M8=-1<a.stack.indexOf(`
|
|
21
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
22
|
+
`+r$+e+M8}function He(e,t){if(!e||l$)return"";var a=i$.get(e);if(a!==void 0)return a;l$=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var n=null;n=Y.H,Y.H=null,W();try{var l={DetermineComponentFrameRoot:function(){try{if(t){var A=function(){throw Error()};if(Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(ie){var G=ie}Reflect.construct(e,[],A)}else{try{A.call()}catch(ie){G=ie}e.call(A.prototype)}}else{try{throw Error()}catch(ie){G=ie}(A=e())&&typeof A.catch==="function"&&A.catch(function(){})}}catch(ie){if(ie&&G&&typeof ie.stack==="string")return[ie.stack,G.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=l.DetermineComponentFrameRoot(),p=d[0],y=d[1];if(p&&y){var S=p.split(`
|
|
23
|
+
`),k=y.split(`
|
|
24
|
+
`);for(d=s=0;s<S.length&&!S[s].includes("DetermineComponentFrameRoot");)s++;for(;d<k.length&&!k[d].includes("DetermineComponentFrameRoot");)d++;if(s===S.length||d===k.length)for(s=S.length-1,d=k.length-1;1<=s&&0<=d&&S[s]!==k[d];)d--;for(;1<=s&&0<=d;s--,d--)if(S[s]!==k[d]){if(s!==1||d!==1)do if(s--,d--,0>d||S[s]!==k[d]){var _=`
|
|
25
|
+
`+S[s].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e==="function"&&i$.set(e,_),_}while(1<=s&&0<=d);break}}}finally{l$=!1,Y.H=n,ve(),Error.prepareStackTrace=a}return S=(S=e?e.displayName||e.name:"")?Ne(S):"",typeof e==="function"&&i$.set(e,S),S}function xe(e,t){switch(e.tag){case 26:case 27:case 5:return Ne(e.type);case 16:return Ne("Lazy");case 13:return e.child!==t&&t!==null?Ne("Suspense Fallback"):Ne("Suspense");case 19:return Ne("SuspenseList");case 0:case 15:return He(e.type,!1);case 11:return He(e.type.render,!1);case 1:return He(e.type,!0);case 31:return Ne("Activity");default:return""}}function Xe(e){try{var t="",a=null;do{t+=xe(e,a);var n=e._debugInfo;if(n)for(var l=n.length-1;0<=l;l--){var s=n[l];if(typeof s.name==="string"){var d=t;e:{var{name:p,env:y,debugLocation:S}=s;if(S!=null){var k=Ce(S),_=k.lastIndexOf(`
|
|
26
|
+
`),A=_===-1?k:k.slice(_+1);if(A.indexOf(p)!==-1){var G=`
|
|
27
|
+
`+A;break e}}G=Ne(p+(y?" ["+y+"]":""))}t=d+G}}a=e,e=e.return}while(e);return t}catch(ie){return`
|
|
28
|
+
Error generating stack: `+ie.message+`
|
|
29
|
+
`+ie.stack}}function ht(e){return(e=e?e.displayName||e.name:"")?Ne(e):""}function ft(){if(wo===null)return null;var e=wo._debugOwner;return e!=null?te(e):null}function un(){if(wo===null)return"";var e=wo;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=Ne(e.type);break;case 13:t+=Ne("Suspense");break;case 19:t+=Ne("SuspenseList");break;case 31:t+=Ne("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=ht(e.type));break;case 11:e._debugOwner||t!==""||(t+=ht(e.type.render))}for(;e;)if(typeof e.tag==="number"){var a=e;e=a._debugOwner;var n=a._debugStack;if(e&&n){var l=Ce(n);l!==""&&(t+=`
|
|
30
|
+
`+l)}}else if(e.debugStack!=null){var s=e.debugStack;(e=e.owner)&&s&&(t+=`
|
|
31
|
+
`+Ce(s))}else break;var d=t}catch(p){d=`
|
|
32
|
+
Error generating stack: `+p.message+`
|
|
33
|
+
`+p.stack}return d}function me(e,t,a,n,l,s,d){var p=wo;se(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,a,n,l,s,d)):t(a,n,l,s,d)}finally{se(p)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function se(e){Y.getCurrentStack=e===null?null:un,Wn=!1,wo=e}function Ge(e){return typeof Symbol==="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function pa(e){try{return It(e),!1}catch(t){return!0}}function It(e){return""+e}function Te(e,t){if(pa(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Ge(e)),It(e)}function Fo(e,t){if(pa(e))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.",t,Ge(e)),It(e)}function Qe(e){if(pa(e))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.",Ge(e)),It(e)}function Ks(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.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{mc=t.inject(e),_a=t}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return t.checkDCE?!0:!1}function Dt(e){if(typeof JR==="function"&&ew(e),_a&&typeof _a.setStrictMode==="function")try{_a.setStrictMode(mc,e)}catch(t){Jn||(Jn=!0,console.error("React instrumentation encountered an error: %o",t))}}function Uf(e){return e>>>=0,e===0?32:31-(tw(e)/aw|0)|0}function Nn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&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."),e}}function xi(e,t,a){var n=e.pendingLanes;if(n===0)return 0;var l=0,s=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var p=n&134217727;return p!==0?(n=p&~s,n!==0?l=Nn(n):(d&=p,d!==0?l=Nn(d):a||(a=p&~e,a!==0&&(l=Nn(a))))):(p=n&~s,p!==0?l=Nn(p):d!==0?l=Nn(d):a||(a=n&~e,a!==0&&(l=Nn(a)))),l===0?0:t!==0&&t!==l&&(t&s)===0&&(s=l&-l,a=t&-t,s>=a||s===32&&(a&4194048)!==0)?t:l}function Si(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function G0(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 js(){var e=om;return om<<=1,(om&62914560)===0&&(om=4194304),e}function Gs(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function ul(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Vf(e,t,a,n,l,s){var d=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var{entanglements:p,expirationTimes:y,hiddenUpdates:S}=e;for(a=d&~a;0<a;){var k=31-Fa(a),_=1<<k;p[k]=0,y[k]=-1;var A=S[k];if(A!==null)for(S[k]=null,k=0;k<A.length;k++){var G=A[k];G!==null&&(G.lane&=-536870913)}a&=~_}n!==0&&Ci(e,n,0),s!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=s&~(d&~t))}function Ci(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-Fa(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|a&261930}function Ei(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var n=31-Fa(a),l=1<<n;l&t|e[n]&t&&(e[n]|=t),a&=~l}}function Ti(e,t){var a=t&-t;return a=(a&42)!==0?1:Ri(a),(a&(e.suspendedLanes|t))!==0?0:a}function Ri(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function wu(e,t,a){if(er)for(e=e.pendingUpdatersLaneMap;0<a;){var n=31-Fa(a),l=1<<n;e[n].add(t),a&=~l}}function dl(e,t){if(er)for(var{pendingUpdatersLaneMap:a,memoizedUpdaters:n}=e;0<t;){var l=31-Fa(t);e=1<<l,l=a[l],0<l.size&&(l.forEach(function(s){var d=s.alternate;d!==null&&n.has(d)||n.add(s)}),l.clear()),t&=~e}}function E(e){return e&=-e,Do!==0&&Do<e?bn!==0&&bn<e?(e&134217727)!==0?tr:nm:bn:Do}function B(){var e=yt.p;if(e!==0)return e;return e=window.event,e===void 0?tr:g8(e.type)}function ne(e,t){var a=yt.p;try{return yt.p=e,t()}finally{yt.p=a}}function fe(e){delete e[Da],delete e[Ua],delete e[f$],delete e[ow],delete e[nw]}function Re(e){var t=e[Da];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Dl]||a[Da]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=a8(e);e!==null;){if(a=e[Da])return a;e=a8(e)}return t}e=a,a=e.parentNode}return null}function Fe(e){if(e=e[Da]||e[Dl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ue(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function pt(e){var t=e[O8];return t||(t=e[O8]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Me(e){e[pd]=!0}function La(e,t){ho(e,t),ho(e+"Capture",t)}function ho(e,t){Ui[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ui[e]=t;var a=e.toLowerCase();p$[a]=e,e==="onDoubleClick"&&(p$.ondblclick=e);for(e=0;e<t.length;e++)N8.add(t[e])}function fl(e,t){rw[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||(e==="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`.")),t.onChange||t.readOnly||t.disabled||t.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 Du(e){if(mn.call(k8,e))return!0;if(mn.call(L8,e))return!1;if(lw.test(e))return k8[e]=!0;return L8[e]=!0,console.error("Invalid attribute name: `%s`",e),!1}function Rx(e,t,a){if(Du(t)){if(!e.hasAttribute(t)){switch(typeof a){case"symbol":case"object":return a;case"function":return a;case"boolean":if(a===!1)return a}return a===void 0?void 0:null}if(e=e.getAttribute(t),e===""&&a===!0)return!0;return Te(a,t),e===""+a?a:e}}function Kf(e,t,a){if(Du(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}Te(a,t),e.setAttribute(t,""+a)}}function jf(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Te(a,t),e.setAttribute(t,""+a)}}function Sr(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}Te(n,a),e.setAttributeNS(t,a,""+n)}}function Uo(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Qe(e),e;default:return""}}function wx(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function aT(e,t,a){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get==="function"&&typeof n.set==="function"){var{get:l,set:s}=n;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(d){Qe(d),a=""+d,s.call(this,d)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(d){Qe(d),a=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function q0(e){if(!e._valueTracker){var t=wx(e)?"checked":"value";e._valueTracker=aT(e,t,""+e[t])}}function Dx(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=wx(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}function Gf(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Vo(e){return e.replace(iw,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ax(e,t){t.checked===void 0||t.defaultChecked===void 0||z8||(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",ft()||"A component",t.type),z8=!0),t.value===void 0||t.defaultValue===void 0||_8||(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",ft()||"A component",t.type),_8=!0)}function Y0(e,t,a,n,l,s,d,p){if(e.name="",d!=null&&typeof d!=="function"&&typeof d!=="symbol"&&typeof d!=="boolean"?(Te(d,"type"),e.type=d):e.removeAttribute("type"),t!=null)if(d==="number"){if(t===0&&e.value===""||e.value!=t)e.value=""+Uo(t)}else e.value!==""+Uo(t)&&(e.value=""+Uo(t));else d!=="submit"&&d!=="reset"||e.removeAttribute("value");t!=null?X0(e,d,Uo(t)):a!=null?X0(e,d,Uo(a)):n!=null&&e.removeAttribute("value"),l==null&&s!=null&&(e.defaultChecked=!!s),l!=null&&(e.checked=l&&typeof l!=="function"&&typeof l!=="symbol"),p!=null&&typeof p!=="function"&&typeof p!=="symbol"&&typeof p!=="boolean"?(Te(p,"name"),e.name=""+Uo(p)):e.removeAttribute("name")}function Px(e,t,a,n,l,s,d,p){if(s!=null&&typeof s!=="function"&&typeof s!=="symbol"&&typeof s!=="boolean"&&(Te(s,"type"),e.type=s),t!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||t!==void 0&&t!==null)){q0(e);return}a=a!=null?""+Uo(a):"",t=t!=null?""+Uo(t):a,p||t===e.value||(e.value=t),e.defaultValue=t}n=n!=null?n:l,n=typeof n!=="function"&&typeof n!=="symbol"&&!!n,e.checked=p?e.checked:!!n,e.defaultChecked=!!n,d!=null&&typeof d!=="function"&&typeof d!=="symbol"&&typeof d!=="boolean"&&(Te(d,"name"),e.name=d),q0(e)}function X0(e,t,a){t==="number"&&Gf(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Mx(e,t){t.value==null&&(typeof t.children==="object"&&t.children!==null?Yc.Children.forEach(t.children,function(a){a==null||typeof a==="string"||typeof a==="number"||typeof a==="bigint"||I8||(I8=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||H8||(H8=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||B8||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),B8=!0)}function Ox(){var e=ft();return e?`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+e+"`.":""}function qs(e,t,a,n){if(e=e.options,t){t={};for(var l=0;l<a.length;l++)t["$"+a[l]]=!0;for(a=0;a<e.length;a++)l=t.hasOwnProperty("$"+e[a].value),e[a].selected!==l&&(e[a].selected=l),l&&n&&(e[a].defaultSelected=!0)}else{a=""+Uo(a),t=null;for(l=0;l<e.length;l++){if(e[l].value===a){e[l].selected=!0,n&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Nx(e,t){for(e=0;e<U8.length;e++){var a=U8[e];if(t[a]!=null){var n=sa(t[a]);t.multiple&&!n?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,Ox()):!t.multiple&&n&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,Ox())}}t.value===void 0||t.defaultValue===void 0||F8||(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"),F8=!0)}function Lx(e,t){t.value===void 0||t.defaultValue===void 0||V8||(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",ft()||"A component"),V8=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function kx(e,t,a){if(t!=null&&(t=""+Uo(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+Uo(a):""}function _x(e,t,a,n){if(t==null){if(n!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(sa(n)){if(1<n.length)throw Error("<textarea> can only have at most one child.");n=n[0]}a=n}a==null&&(a=""),t=a}a=Uo(t),e.defaultValue=a,n=e.textContent,n===a&&n!==""&&n!==null&&(e.value=n),q0(e)}function zx(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?zx(e.children[0],t):e}function $o(e){return" "+" ".repeat(e)}function Ys(e){return"+ "+" ".repeat(e)}function wi(e){return"- "+" ".repeat(e)}function Bx(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Au(e,t){return K8.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function qf(e,t,a){var n=120-2*a;if(t===null)return Ys(a)+Au(e,n)+`
|
|
36
|
+
`;if(typeof t==="string"){for(var l=0;l<t.length&&l<e.length&&t.charCodeAt(l)===e.charCodeAt(l);l++);return l>n-8&&10<l&&(e="..."+e.slice(l-8),t="..."+t.slice(l-8)),Ys(a)+Au(e,n)+`
|
|
37
|
+
`+wi(a)+Au(t,n)+`
|
|
38
|
+
`}return $o(a)+Au(e,n)+`
|
|
39
|
+
`}function Q0(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,a){return a})}function Pu(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(sa(e))return"[...]";if(e.$$typeof===Qn)return(t=U(e.type))?"<"+t+">":"<...>";var a=Q0(e);if(a==="Object"){a="",t-=2;for(var n in e)if(e.hasOwnProperty(n)){var l=JSON.stringify(n);if(l!=='"'+n+'"'&&(n=l),t-=n.length-2,l=Pu(e[n],15>t?t:15),t-=l.length,0>t){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+n+":"+l}return"{"+a+"}"}return a;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Xs(e,t){return typeof e!=="string"||K8.test(e)?"{"+Pu(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Z0(e,t,a){var n=120-a.length-e.length,l=[],s;for(s in t)if(t.hasOwnProperty(s)&&s!=="children"){var d=Xs(t[s],120-a.length-s.length-1);n-=s.length+d.length+2,l.push(s+"="+d)}return l.length===0?a+"<"+e+`>
|
|
40
|
+
`:0<n?a+"<"+e+" "+l.join(" ")+`>
|
|
41
|
+
`:a+"<"+e+`
|
|
42
|
+
`+a+" "+l.join(`
|
|
43
|
+
`+a+" ")+`
|
|
44
|
+
`+a+`>
|
|
45
|
+
`}function oT(e,t,a){var n="",l=ot({},t),s;for(s in e)if(e.hasOwnProperty(s)){delete l[s];var d=120-2*a-s.length-2,p=Pu(e[s],d);t.hasOwnProperty(s)?(d=Pu(t[s],d),n+=Ys(a)+s+": "+p+`
|
|
46
|
+
`,n+=wi(a)+s+": "+d+`
|
|
47
|
+
`):n+=Ys(a)+s+": "+p+`
|
|
48
|
+
`}for(var y in l)l.hasOwnProperty(y)&&(e=Pu(l[y],120-2*a-y.length-2),n+=wi(a)+y+": "+e+`
|
|
49
|
+
`);return n}function nT(e,t,a,n){var l="",s=new Map;for(S in a)a.hasOwnProperty(S)&&s.set(S.toLowerCase(),S);if(s.size===1&&s.has("children"))l+=Z0(e,t,$o(n));else{for(var d in t)if(t.hasOwnProperty(d)&&d!=="children"){var p=120-2*(n+1)-d.length-1,y=s.get(d.toLowerCase());if(y!==void 0){s.delete(d.toLowerCase());var S=t[d];y=a[y];var k=Xs(S,p);p=Xs(y,p),typeof S==="object"&&S!==null&&typeof y==="object"&&y!==null&&Q0(S)==="Object"&&Q0(y)==="Object"&&(2<Object.keys(S).length||2<Object.keys(y).length||-1<k.indexOf("...")||-1<p.indexOf("..."))?l+=$o(n+1)+d+`={{
|
|
50
|
+
`+oT(S,y,n+2)+$o(n+1)+`}}
|
|
51
|
+
`:(l+=Ys(n+1)+d+"="+k+`
|
|
52
|
+
`,l+=wi(n+1)+d+"="+p+`
|
|
53
|
+
`)}else l+=$o(n+1)+d+"="+Xs(t[d],p)+`
|
|
54
|
+
`}s.forEach(function(_){if(_!=="children"){var A=120-2*(n+1)-_.length-1;l+=wi(n+1)+_+"="+Xs(a[_],A)+`
|
|
55
|
+
`}}),l=l===""?$o(n)+"<"+e+`>
|
|
56
|
+
`:$o(n)+"<"+e+`
|
|
57
|
+
`+l+$o(n)+`>
|
|
58
|
+
`}if(e=a.children,t=t.children,typeof e==="string"||typeof e==="number"||typeof e==="bigint"){if(s="",typeof t==="string"||typeof t==="number"||typeof t==="bigint")s=""+t;l+=qf(s,""+e,n+1)}else if(typeof t==="string"||typeof t==="number"||typeof t==="bigint")l=e==null?l+qf(""+t,null,n+1):l+qf(""+t,void 0,n+1);return l}function Ix(e,t){var a=Bx(e);if(a===null){a="";for(e=e.child;e;)a+=Ix(e,t),e=e.sibling;return a}return $o(t)+"<"+a+`>
|
|
59
|
+
`}function W0(e,t){var a=zx(e,t);if(a!==e&&(e.children.length!==1||e.children[0]!==a))return $o(t)+`...
|
|
60
|
+
`+W0(a,t+1);a="";var n=e.fiber._debugInfo;if(n)for(var l=0;l<n.length;l++){var s=n[l].name;typeof s==="string"&&(a+=$o(t)+"<"+s+`>
|
|
61
|
+
`,t++)}if(n="",l=e.fiber.pendingProps,e.fiber.tag===6)n=qf(l,e.serverProps,t),t++;else if(s=Bx(e.fiber),s!==null)if(e.serverProps===void 0){n=t;var d=120-2*n-s.length-2,p="";for(S in l)if(l.hasOwnProperty(S)&&S!=="children"){var y=Xs(l[S],15);if(d-=S.length+y.length+2,0>d){p+=" ...";break}p+=" "+S+"="+y}n=$o(n)+"<"+s+p+`>
|
|
62
|
+
`,t++}else e.serverProps===null?(n=Z0(s,l,Ys(t)),t++):typeof e.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(n=nT(s,l,e.serverProps,t),t++);var S="";l=e.fiber.child;for(s=0;l&&s<e.children.length;)d=e.children[s],d.fiber===l?(S+=W0(d,t),s++):S+=Ix(l,t),l=l.sibling;l&&0<e.children.length&&(S+=$o(t)+`...
|
|
63
|
+
`),l=e.serverTail,e.serverProps===null&&t--;for(e=0;e<l.length;e++)s=l[e],S=typeof s==="string"?S+(wi(t)+Au(s,120-2*t)+`
|
|
64
|
+
`):S+Z0(s.type,s.props,wi(t));return a+n+S}function J0(e){try{return`
|
|
65
|
+
|
|
66
|
+
`+W0(e,0)}catch(t){return""}}function Hx(e,t,a){for(var n=t,l=null,s=0;n;)n===e&&(s=0),l={fiber:n,children:l!==null?[l]:[],serverProps:n===t?a:n===e?null:void 0,serverTail:[],distanceFromLeaf:s},s++,n=n.return;return l!==null?J0(l).replaceAll(/^[+-]/gm,">"):""}function Fx(e,t){var a=ot({},e||G8),n={tag:t};if(j8.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),cw.indexOf(t)!==-1&&(a.pTagInButtonScope=null),sw.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=n,t==="form"&&(a.formTag=n),t==="a"&&(a.aTagInScope=n),t==="button"&&(a.buttonTagInScope=n),t==="nobr"&&(a.nobrTagInScope=n),t==="p"&&(a.pTagInButtonScope=n),t==="li"&&(a.listItemTagAutoclosing=n),t==="dd"||t==="dt")a.dlItemTagAutoclosing=n;return t==="#document"||t==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=n),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function Ux(e,t,a){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(a)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!a)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return uw.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return a||t===null;case"html":return a&&t==="#document"||t===null;case"body":return a&&(t==="#document"||t==="html")||t===null}return!0}function rT(e,t){switch(e){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 t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Vx(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function eg(e,t){t=t||G8;var a=t.current;if(t=(a=Ux(e,a&&a.tag,t.implicitRootScope)?null:a)?null:rT(e,t),t=a||t,!t)return!0;var n=t.tag;if(t=String(!!a)+"|"+e+"|"+n,rm[t])return!1;rm[t]=!0;var l=(t=wo)?Vx(t.return,n):null,s=t!==null&&l!==null?Hx(l,t,null):"",d="<"+e+">";return a?(a="",n==="table"&&e==="tr"&&(a+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
67
|
+
This will cause a hydration error.%s`,d,n,a,s)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,d,n,s),t&&(e=t.return,l===null||e===null||l===e&&e._debugOwner===t._debugOwner||me(l,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
+
See this log for the ancestor stack trace.`,n,d)})),!1}function Yf(e,t,a){if(a||Ux("#text",t,!1))return!0;if(a="#text|"+t,rm[a])return!1;rm[a]=!0;var n=(a=wo)?Vx(a,t):null;return a=a!==null&&n!==null?Hx(n,a,a.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
|
+
This will cause a hydration error.%s`,t,a):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
71
|
+
This will cause a hydration error.%s`,t,a),!1}function Mu(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}function lT(e){return e.replace(pw,function(t,a){return a.toUpperCase()})}function Kx(e,t,a){var n=t.indexOf("--")===0;n||(-1<t.indexOf("-")?bc.hasOwnProperty(t)&&bc[t]||(bc[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,lT(t.replace(fw,"ms-")))):dw.test(t)?bc.hasOwnProperty(t)&&bc[t]||(bc[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!X8.test(a)||b$.hasOwnProperty(a)&&b$[a]||(b$[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,a.replace(X8,""))),typeof a==="number"&&(isNaN(a)?Q8||(Q8=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(a)||Z8||(Z8=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),a==null||typeof a==="boolean"||a===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,a):typeof a!=="number"||a===0||W8.has(t)?t==="float"?e.cssFloat=a:(Fo(a,t),e[t]=(""+a).trim()):e[t]=a+"px"}function jx(e,t,a){if(t!=null&&typeof t!=="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(t&&Object.freeze(t),e=e.style,a!=null){if(t){var n={};if(a){for(var l in a)if(a.hasOwnProperty(l)&&!t.hasOwnProperty(l))for(var s=m$[l]||[l],d=0;d<s.length;d++)n[s[d]]=l}for(var p in t)if(t.hasOwnProperty(p)&&(!a||a[p]!==t[p]))for(l=m$[p]||[p],s=0;s<l.length;s++)n[l[s]]=p;p={};for(var y in t)for(l=m$[y]||[y],s=0;s<l.length;s++)p[l[s]]=y;y={};for(var S in n)if(l=n[S],(s=p[S])&&l!==s&&(d=l+","+s,!y[d])){y[d]=!0,d=console;var k=t[l];d.error.call(d,"%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.",k==null||typeof k==="boolean"||k===""?"Removing":"Updating",l,s)}}for(var _ in a)!a.hasOwnProperty(_)||t!=null&&t.hasOwnProperty(_)||(_.indexOf("--")===0?e.setProperty(_,""):_==="float"?e.cssFloat="":e[_]="");for(var A in t)S=t[A],t.hasOwnProperty(A)&&a[A]!==S&&Kx(e,A,S)}else for(n in t)t.hasOwnProperty(n)&&Kx(e,n,t[n])}function Ou(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Gx(e){return mw.get(e)||e}function iT(e,t){if(mn.call(hc,t)&&hc[t])return!0;if(gw.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=J8.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),hc[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),hc[t]=!0}if(bw.test(t)){if(e=t.toLowerCase(),e=J8.hasOwnProperty(e)?e:null,e==null)return hc[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),hc[t]=!0)}return!0}function sT(e,t){var a=[],n;for(n in t)iT(e,n)||a.push(n);t=a.map(function(l){return"`"+l+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function cT(e,t,a,n){if(mn.call(Va,t)&&Va[t])return!0;var l=t.toLowerCase();if(l==="onfocusin"||l==="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."),Va[t]=!0;if(typeof a==="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(n!=null){if(e=n.possibleRegistrationNames,n.registrationNameDependencies.hasOwnProperty(t))return!0;if(n=e.hasOwnProperty(l)?e[l]:null,n!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,n),Va[t]=!0;if(tS.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Va[t]=!0}else if(tS.test(t))return hw.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Va[t]=!0;if($w.test(t)||yw.test(t))return!0;if(l==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Va[t]=!0;if(l==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Va[t]=!0;if(l==="is"&&a!==null&&a!==void 0&&typeof a!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),Va[t]=!0;if(typeof a==="number"&&isNaN(a))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Va[t]=!0;if(im.hasOwnProperty(l)){if(l=im[l],l!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,l),Va[t]=!0}else if(t!==l)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.",t,l),Va[t]=!0;switch(t){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 a){case"boolean":switch(t){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(l=t.toLowerCase().slice(0,5),l==="data-"||l==="aria-")return!0;return a?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()}.',a,t,t,a,t):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.',a,t,t,a,t,t,t),Va[t]=!0}case"function":case"symbol":return Va[t]=!0,!1;case"string":if(a==="false"||a==="true"){switch(t){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}?",a,t,a==="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".',t,a),Va[t]=!0}}return!0}function uT(e,t,a){var n=[],l;for(l in t)cT(e,l,t[l],a)||n.push(l);t=n.map(function(s){return"`"+s+"`"}).join(", "),n.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 ",t,e):1<n.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 ",t,e)}function Nu(e){return vw.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Cr(){}function tg(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function qx(e){var t=Fe(e);if(t&&(e=t.stateNode)){var a=e[Ua]||null;e:switch(e=t.stateNode,t.type){case"input":if(Y0(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;Te(t,"name"),a=a.querySelectorAll('input[name="'+Vo(""+t)+'"][type="radio"]');for(t=0;t<a.length;t++){var n=a[t];if(n!==e&&n.form===e.form){var l=n[Ua]||null;if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Y0(n,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<a.length;t++)n=a[t],n.form===e.form&&Dx(n)}break e;case"textarea":kx(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&qs(e,!!a.multiple,t,!1)}}}function Yx(e,t,a){if(g$)return e(t,a);g$=!0;try{var n=e(t);return n}finally{if(g$=!1,$c!==null||yc!==null){if(rc(),$c&&(t=$c,e=yc,yc=$c=null,qx(t),e))for(t=0;t<e.length;t++)qx(e[t])}}}function Lu(e,t){var a=e.stateNode;if(a===null)return null;var n=a[Ua]||null;if(n===null)return null;a=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(a&&typeof a!=="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function Xx(){if(sm)return sm;var e,t=$$,a=t.length,n,l="value"in Al?Al.value:Al.textContent,s=l.length;for(e=0;e<a&&t[e]===l[e];e++);var d=a-e;for(n=1;n<=d&&t[a-n]===l[s-n];n++);return sm=l.slice(e,1<n?1-n:void 0)}function Xf(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Qf(){return!0}function Qx(){return!1}function to(e){function t(a,n,l,s,d){this._reactName=a,this._targetInst=l,this.type=n,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var p in e)e.hasOwnProperty(p)&&(a=e[p],this[p]=a?a(s):s[p]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Qf:Qx,this.isPropagationStopped=Qx,this}return ot(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!=="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Qf)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!=="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Qf)},persist:function(){},isPersistent:Qf}),t}function dT(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Nw[e])?!!t[e]:!1}function ag(){return dT}function Zx(e,t){switch(e){case"keyup":return jw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==rS;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wx(e){return e=e.detail,typeof e==="object"&&"data"in e?e.data:null}function fT(e,t){switch(e){case"compositionend":return Wx(t);case"keypress":if(t.which!==iS)return null;return cS=!0,sS;case"textInput":return e=t.data,e===sS&&cS?null:e;default:return null}}function pT(e,t){if(vc)return e==="compositionend"||!S$&&Zx(e,t)?(e=Xx(),sm=$$=Al=null,vc=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return lS&&t.locale!=="ko"?null:t.data;default:return null}}function Jx(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!qw[e.type]:t==="textarea"?!0:!1}function mT(e){if(!ar)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]==="function"),t}function e4(e,t,a,n){$c?yc?yc.push(n):yc=[n]:$c=n,t=Up(t,"onChange"),0<t.length&&(a=new cm("onChange","change",null,a,n),e.push({event:a,listeners:t}))}function bT(e){_5(e,0)}function Zf(e){var t=Ue(e);if(Dx(t))return e}function t4(e,t){if(e==="change")return t}function a4(){yd&&(yd.detachEvent("onpropertychange",o4),vd=yd=null)}function o4(e){if(e.propertyName==="value"&&Zf(vd)){var t=[];e4(t,vd,e,tg(e)),Yx(bT,t)}}function gT(e,t,a){e==="focusin"?(a4(),yd=t,vd=a,yd.attachEvent("onpropertychange",o4)):e==="focusout"&&a4()}function hT(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zf(vd)}function $T(e,t){if(e==="click")return Zf(t)}function yT(e,t){if(e==="input"||e==="change")return Zf(t)}function vT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function ku(e,t){if(Ka(e,t))return!0;if(typeof e!=="object"||e===null||typeof t!=="object"||t===null)return!1;var a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(n=0;n<a.length;n++){var l=a[n];if(!mn.call(t,l)||!Ka(e[l],t[l]))return!1}return!0}function n4(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r4(e,t){var a=n4(e);e=0;for(var n;a;){if(a.nodeType===3){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=n4(a)}}function l4(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?l4(e,t.parentNode):("contains"in e)?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function i4(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Gf(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href==="string"}catch(n){a=!1}if(a)e=t.contentWindow;else break;t=Gf(e.document)}return t}function og(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function s4(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;E$||xc==null||xc!==Gf(n)||(n=xc,("selectionStart"in n)&&og(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),xd&&ku(xd,n)||(xd=n,n=Up(C$,"onSelect"),0<n.length&&(t=new cm("onSelect","select",null,t,a),e.push({event:t,listeners:n}),t.target=xc)))}function Di(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}function Ai(e){if(T$[e])return T$[e];if(!Sc[e])return e;var t=Sc[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in dS)return T$[e]=t[a];return e}function dn(e,t){gS.set(e,t),La(t,[e])}function xT(e){for(var t=dm,a=0;a<e.length;a++){var n=e[a];if(typeof n==="object"&&n!==null)if(sa(n)&&n.length===2&&typeof n[0]==="string"){if(t!==dm&&t!==P$)return D$;t=P$}else return D$;else{if(typeof n==="function"||typeof n==="string"&&50<n.length||t!==dm&&t!==A$)return D$;t=A$}}return t}function ng(e,t,a,n){for(var l in e)mn.call(e,l)&&l[0]!=="_"&&Ln(l,e[l],t,a,n)}function Ln(e,t,a,n,l){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Qn){var s=U(t.type)||"…",d=t.key;t=t.props;var p=Object.keys(t),y=p.length;if(d==null&&y===0){t="<"+s+" />";break}if(3>n||y===1&&p[0]==="children"&&d==null){t="<"+s+" … />";break}a.push([l+" ".repeat(n)+e,"<"+s]),d!==null&&Ln("key",d,a,n+1,l),e=!1;for(var S in t)S==="children"?t.children!=null&&(!sa(t.children)||0<t.children.length)&&(e=!0):mn.call(t,S)&&S[0]!=="_"&&Ln(S,t[S],a,n+1,l);a.push(["",e?">…</"+s+">":"/>"]);return}if(s=Object.prototype.toString.call(t),s=s.slice(8,s.length-1),s==="Array"){if(S=xT(t),S===A$||S===dm){t=JSON.stringify(t);break}else if(S===P$){a.push([l+" ".repeat(n)+e,""]);for(e=0;e<t.length;e++)s=t[e],Ln(s[0],s[1],a,n+1,l);return}}if(s==="Promise"){if(t.status==="fulfilled"){if(s=a.length,Ln(e,t.value,a,n,l),a.length>s){a=a[s],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(t.status==="rejected"&&(s=a.length,Ln(e,t.reason,a,n,l),a.length>s)){a=a[s],a[1]="Rejected Promise<"+a[1]+">";return}a.push([" ".repeat(n)+e,"Promise"]);return}s==="Object"&&(S=Object.getPrototypeOf(t))&&typeof S.constructor==="function"&&(s=S.constructor.name),a.push([l+" ".repeat(n)+e,s==="Object"?3>n?"":"…":s]),3>n&&ng(t,a,n+1,l);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===eD?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}a.push([l+" ".repeat(n)+e,t])}function c4(e,t,a,n){var l=!0;for(d in e)d in t||(a.push([fm+" ".repeat(n)+d,"…"]),l=!1);for(var s in t)if(s in e){var d=e[s],p=t[s];if(d!==p){if(n===0&&s==="children")l=" ".repeat(n)+s,a.push([fm+l,"…"],[pm+l,"…"]);else{if(!(3<=n)){if(typeof d==="object"&&typeof p==="object"&&d!==null&&p!==null&&d.$$typeof===p.$$typeof)if(p.$$typeof===Qn){if(d.type===p.type&&d.key===p.key){d=U(p.type)||"…",l=" ".repeat(n)+s,d="<"+d+" … />",a.push([fm+l,d],[pm+l,d]),l=!1;continue}}else{var y=Object.prototype.toString.call(d),S=Object.prototype.toString.call(p);if(y===S&&(S==="[object Object]"||S==="[object Array]")){y=[yS+" ".repeat(n)+s,S==="[object Array]"?"Array":""],a.push(y),S=a.length,c4(d,p,a,n+1)?S===a.length&&(y[1]="Referentially unequal but deeply equal objects. Consider memoization."):l=!1;continue}}else if(typeof d==="function"&&typeof p==="function"&&d.name===p.name&&d.length===p.length&&(y=Function.prototype.toString.call(d),S=Function.prototype.toString.call(p),y===S)){d=p.name===""?"() => {}":p.name+"() {}",a.push([yS+" ".repeat(n)+s,d+" Referentially unequal function closure. Consider memoization."]);continue}}Ln(s,d,a,n,fm),Ln(s,p,a,n,pm)}l=!1}}else a.push([pm+" ".repeat(n)+s,"…"]),l=!1;return l}function yo(e){rt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function kn(e,t,a,n){Ot&&(Ml.start=t,Ml.end=a,Or.color="warning",Or.tooltipText=n,Or.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,n,Ml)):performance.measure(n,Ml))}function Wf(e,t,a){kn(e,t,a,"Reconnect")}function Jf(e,t,a,n,l){var s=j(e);if(s!==null&&Ot){var{alternate:d,actualDuration:p}=e;if(d===null||d.child!==e.child)for(var y=e.child;y!==null;y=y.sibling)p-=y.actualDuration;n=0.5>p?n?"tertiary-light":"primary-light":10>p?n?"tertiary":"primary":100>p?n?"tertiary-dark":"primary-dark":"error";var S=e.memoizedProps;p=e._debugTask,S!==null&&d!==null&&d.memoizedProps!==S?(y=[tD],S=c4(d.memoizedProps,S,y,0),1<y.length&&(S&&!Pl&&(d.lanes&l)===0&&100<e.actualDuration?(Pl=!0,y[0]=aD,Or.color="warning",Or.tooltipText=vS):(Or.color=n,Or.tooltipText=s),Or.properties=y,Ml.start=t,Ml.end=a,p!=null?p.run(performance.measure.bind(performance,""+s,Ml)):performance.measure(""+s,Ml))):p!=null?p.run(console.timeStamp.bind(console,s,t,a,jo,void 0,n)):console.timeStamp(s,t,a,jo,void 0,n)}}function rg(e,t,a,n){if(Ot){var l=j(e);if(l!==null){for(var s=null,d=[],p=0;p<n.length;p++){var y=n[p];s==null&&y.source!==null&&(s=y.source._debugTask),y=y.value,d.push(["Error",typeof y==="object"&&y!==null&&typeof y.message==="string"?String(y.message):String(y)])}e.key!==null&&Ln("key",e.key,d,0,""),e.memoizedProps!==null&&ng(e.memoizedProps,d,0,""),s==null&&(s=e._debugTask),e={start:t,end:a,detail:{devtools:{color:"error",track:jo,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:d}}},s?s.run(performance.measure.bind(performance,""+l,e)):performance.measure(""+l,e)}}}function _n(e,t,a,n,l){if(l!==null){if(Ot){var s=j(e);if(s!==null){n=[];for(var d=0;d<l.length;d++){var p=l[d].value;n.push(["Error",typeof p==="object"&&p!==null&&typeof p.message==="string"?String(p.message):String(p)])}e.key!==null&&Ln("key",e.key,n,0,""),e.memoizedProps!==null&&ng(e.memoizedProps,n,0,""),t={start:t,end:a,detail:{devtools:{color:"error",track:jo,tooltipText:"A lifecycle or effect errored",properties:n}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,""+s,t)):performance.measure(""+s,t)}}}else s=j(e),s!==null&&Ot&&(l=1>n?"secondary-light":100>n?"secondary":500>n?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,s,t,a,jo,void 0,l)):console.timeStamp(s,t,a,jo,void 0,l))}function ST(e,t,a,n){if(Ot&&!(t<=e)){var l=(a&738197653)===a?"tertiary-dark":"primary-dark";a=(a&536870912)===a?"Prepared":(a&201326741)===a?"Hydrated":"Render",n?n.run(console.timeStamp.bind(console,a,e,t,rt,nt,l)):console.timeStamp(a,e,t,rt,nt,l)}}function u4(e,t,a,n){!Ot||t<=e||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",n?n.run(console.timeStamp.bind(console,"Prewarm",e,t,rt,nt,a)):console.timeStamp("Prewarm",e,t,rt,nt,a))}function d4(e,t,a,n){!Ot||t<=e||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",n?n.run(console.timeStamp.bind(console,"Suspended",e,t,rt,nt,a)):console.timeStamp("Suspended",e,t,rt,nt,a))}function CT(e,t,a,n,l,s){if(Ot&&!(t<=e)){a=[];for(var d=0;d<n.length;d++){var p=n[d].value;a.push(["Recoverable Error",typeof p==="object"&&p!==null&&typeof p.message==="string"?String(p.message):String(p)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:rt,trackGroup:nt,tooltipText:l?"Hydration Failed":"Recovered after Error",properties:a}}},s?s.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function lg(e,t,a,n){!Ot||t<=e||(n?n.run(console.timeStamp.bind(console,"Errored",e,t,rt,nt,"error")):console.timeStamp("Errored",e,t,rt,nt,"error"))}function ET(e,t,a,n){!Ot||t<=e||(n?n.run(console.timeStamp.bind(console,a,e,t,rt,nt,"secondary-light")):console.timeStamp(a,e,t,rt,nt,"secondary-light"))}function f4(e,t,a,n,l){if(Ot&&!(t<=e)){for(var s=[],d=0;d<a.length;d++){var p=a[d].value;s.push(["Error",typeof p==="object"&&p!==null&&typeof p.message==="string"?String(p.message):String(p)])}e={start:e,end:t,detail:{devtools:{color:"error",track:rt,trackGroup:nt,tooltipText:n?"Remaining Effects Errored":"Commit Errored",properties:s}}},l?l.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function _u(e,t,a){!Ot||t<=e||(a?a.run(console.timeStamp.bind(console,"Animating",e,t,rt,nt,"secondary-dark")):console.timeStamp("Animating",e,t,rt,nt,"secondary-dark"))}function ep(){for(var e=Cc,t=M$=Cc=0;t<e;){var a=Go[t];Go[t++]=null;var n=Go[t];Go[t++]=null;var l=Go[t];Go[t++]=null;var s=Go[t];if(Go[t++]=null,n!==null&&l!==null){var d=n.pending;d===null?l.next=l:(l.next=d.next,d.next=l),n.pending=l}s!==0&&p4(a,l,s)}}function tp(e,t,a,n){Go[Cc++]=e,Go[Cc++]=t,Go[Cc++]=a,Go[Cc++]=n,M$|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function ig(e,t,a,n){return tp(e,t,a,n),ap(e)}function ka(e,t){return tp(e,null,null,t),ap(e)}function p4(e,t,a){e.lanes|=a;var n=e.alternate;n!==null&&(n.lanes|=a);for(var l=!1,s=e.return;s!==null;)s.childLanes|=a,n=s.alternate,n!==null&&(n.childLanes|=a),s.tag===22&&(e=s.stateNode,e===null||e._visibility&Sd||(l=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,l&&t!==null&&(l=31-Fa(a),e=s.hiddenUpdates,n=e[l],n===null?e[l]=[t]:n.push(t),t.lane=a|536870912),s):null}function ap(e){if(Xd>hD)throw ns=Xd=0,Qd=uy=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.");ns>$D&&(ns=0,Qd=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.")),e.alternate===null&&(e.flags&4098)!==0&&A5(e);for(var t=e,a=t.return;a!==null;)t.alternate===null&&(t.flags&4098)!==0&&A5(e),t=a,a=t.return;return t.tag===3?t.stateNode:null}function Pi(e){if(qo===null)return e;var t=qo(e);return t===void 0?e:t.current}function sg(e){if(qo===null)return e;var t=qo(e);return t===void 0?e!==null&&e!==void 0&&typeof e.render==="function"&&(t=Pi(e.render),e.render!==t)?(t={$$typeof:ud,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function m4(e,t){if(qo===null)return!1;var a=e.elementType;t=t.type;var n=!1,l=typeof t==="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t==="function"&&(n=!0);break;case 0:typeof t==="function"?n=!0:l===Ro&&(n=!0);break;case 11:l===ud?n=!0:l===Ro&&(n=!0);break;case 14:case 15:l===Jp?n=!0:l===Ro&&(n=!0);break;default:return!1}return n&&(e=qo(a),e!==void 0&&e===qo(t))?!0:!1}function b4(e){qo!==null&&typeof WeakSet==="function"&&(Ec===null&&(Ec=new WeakSet),Ec.add(e))}function g4(e,t,a){do{var n=e,l=n.alternate,s=n.child,d=n.sibling,p=n.tag;n=n.type;var y=null;switch(p){case 0:case 15:case 1:y=n;break;case 11:y=n.render}if(qo===null)throw Error("Expected resolveFamily to be set during hot reload.");var S=!1;if(n=!1,y!==null&&(y=qo(y),y!==void 0&&(a.has(y)?n=!0:t.has(y)&&(p===1?n=!0:S=!0))),Ec!==null&&(Ec.has(e)||l!==null&&Ec.has(l))&&(n=!0),n&&(e._debugNeedsRemount=!0),n||S)l=ka(e,2),l!==null&&Ut(l,e,2);if(s===null||n||g4(s,t,a),d===null)break;e=d}while(1)}function TT(e,t,a,n){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,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,xS||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function cg(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Er(e,t){var a=e.alternate;switch(a===null?(a=T(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugOwner=e._debugOwner,a._debugStack=e._debugStack,a._debugTask=e._debugTask,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugInfo=e._debugInfo,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case 0:case 15:a.type=Pi(e.type);break;case 1:a.type=Pi(e.type);break;case 11:a.type=sg(e.type)}return a}function h4(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration),e}function ug(e,t,a,n,l,s){var d=0,p=e;if(typeof e==="function")cg(e)&&(d=1),p=Pi(p);else if(typeof e==="string")d=V(),d=LR(e,a,d)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case a$:return t=T(31,a,t,l),t.elementType=a$,t.lanes=s,t;case fc:return Mi(a.children,l,s,t);case Wp:d=8,l|=za,l|=gn;break;case Wh:return e=a,n=l,typeof e.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=T(12,e,t,n|Ze),t.elementType=Wh,t.lanes=s,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case e$:return t=T(13,a,t,l),t.elementType=e$,t.lanes=s,t;case t$:return t=T(19,a,t,l),t.elementType=t$,t.lanes=s,t;default:if(typeof e==="object"&&e!==null)switch(e.$$typeof){case Zn:d=10;break e;case Jh:d=9;break e;case ud:d=11,p=sg(p);break e;case Jp:d=14;break e;case Ro:d=16,p=null;break e}if(p="",e===void 0||typeof e==="object"&&e!==null&&Object.keys(e).length===0)p+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";e===null?a="null":sa(e)?a="array":e!==void 0&&e.$$typeof===Qn?(a="<"+(U(e.type)||"Unknown")+" />",p=" Did you accidentally export a JSX literal instead of a component?"):a=typeof e,(d=n?te(n):null)&&(p+=`
|
|
72
|
+
|
|
73
|
+
Check the render method of \``+d+"`."),d=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+p)),p=null}return t=T(d,a,t,l),t.elementType=e,t.type=p,t.lanes=s,t._debugOwner=n,t}function op(e,t,a){return t=ug(e.type,e.key,e.props,e._owner,t,a),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Mi(e,t,a,n){return e=T(7,e,n,t),e.lanes=a,e}function dg(e,t,a){return e=T(6,e,null,t),e.lanes=a,e}function $4(e){var t=T(18,null,null,ze);return t.stateNode=e,t}function fg(e,t,a){return t=T(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function vo(e,t){if(typeof e==="object"&&e!==null){var a=O$.get(e);if(a!==void 0)return a;return t={value:e,source:t,stack:Xe(t)},O$.set(e,t),t}return{value:e,source:t,stack:Xe(t)}}function Tr(e,t){pl(),Tc[Rc++]=Cd,Tc[Rc++]=mm,mm=e,Cd=t}function y4(e,t,a){pl(),Yo[Xo++]=Lr,Yo[Xo++]=kr,Yo[Xo++]=Ki,Ki=e;var n=Lr;e=kr;var l=32-Fa(n)-1;n&=~(1<<l),a+=1;var s=32-Fa(t)+l;if(30<s){var d=l-l%5;s=(n&(1<<d)-1).toString(32),n>>=d,l-=d,Lr=1<<32-Fa(t)+l|a<<l|n,kr=s+e}else Lr=1<<s|a<<l|n,kr=e}function pg(e){pl(),e.return!==null&&(Tr(e,1),y4(e,1,0))}function mg(e){for(;e===mm;)mm=Tc[--Rc],Tc[Rc]=null,Cd=Tc[--Rc],Tc[Rc]=null;for(;e===Ki;)Ki=Yo[--Xo],Yo[Xo]=null,kr=Yo[--Xo],Yo[Xo]=null,Lr=Yo[--Xo],Yo[Xo]=null}function v4(){return pl(),Ki!==null?{id:Lr,overflow:kr}:null}function x4(e,t){pl(),Yo[Xo++]=Lr,Yo[Xo++]=kr,Yo[Xo++]=Ki,Lr=t.id,kr=t.overflow,Ki=e}function pl(){it||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Oi(e,t){if(e.return===null){if(Ao===null)Ao={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Ao.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Ao.distanceFromLeaf>t&&(Ao.distanceFromLeaf=t)}return Ao}var a=Oi(e.return,t+1).children;if(0<a.length&&a[a.length-1].fiber===e)return a=a[a.length-1],a.distanceFromLeaf>t&&(a.distanceFromLeaf=t),a;return t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},a.push(t),t}function S4(){it&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function np(e,t){or||(e=Oi(e,0),e.serverProps=null,t!==null&&(t=e8(t),e.serverTail.push(t)))}function ml(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,a="",n=Ao;throw n!==null&&(Ao=null,a=J0(n)),zu(vo(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
74
|
+
|
|
75
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
76
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
77
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
78
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
79
|
+
- Invalid HTML tag nesting.
|
|
80
|
+
|
|
81
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
82
|
+
|
|
83
|
+
https://react.dev/link/hydration-mismatch`+a),e)),N$}function C4(e){var{stateNode:t,type:a,memoizedProps:n}=e;switch(t[Da]=e,t[Ua]=n,Lh(a,n),a){case"dialog":st("cancel",t),st("close",t);break;case"iframe":case"object":case"embed":st("load",t);break;case"video":case"audio":for(a=0;a<Zd.length;a++)st(Zd[a],t);break;case"source":st("error",t);break;case"img":case"image":case"link":st("error",t),st("load",t);break;case"details":st("toggle",t);break;case"input":fl("input",n),st("invalid",t),Ax(t,n),Px(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"option":Mx(t,n);break;case"select":fl("select",n),st("invalid",t),Nx(t,n);break;case"textarea":fl("textarea",n),st("invalid",t),Lx(t,n),_x(t,n.value,n.defaultValue,n.children)}a=n.children,typeof a!=="string"&&typeof a!=="number"&&typeof a!=="bigint"||t.textContent===""+a||n.suppressHydrationWarning===!0||H5(t.textContent,a)?(n.popover!=null&&(st("beforetoggle",t),st("toggle",t)),n.onScroll!=null&&st("scroll",t),n.onScrollEnd!=null&&st("scrollend",t),n.onClick!=null&&(t.onclick=Cr),t=!0):t=!1,t||ml(e,!0)}function E4(e){for(Aa=e.return;Aa;)switch(Aa.tag){case 5:case 31:case 13:Qo=!1;return;case 27:case 3:Qo=!0;return;default:Aa=Aa.return}}function Qs(e){if(e!==Aa)return!1;if(!it)return E4(e),it=!0,!1;var t=e.tag,a;if(a=t!==3&&t!==27){if(a=t===5)a=e.type,a=!(a!=="form"&&a!=="button")||Ih(e.type,e.memoizedProps);a=!a}if(a&&Nt){for(a=Nt;a;){var n=Oi(e,0),l=e8(a);n.serverTail.push(l),a=l.type==="Suspense"?Vh(a):To(a.nextSibling)}ml(e)}if(E4(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Nt=Vh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Nt=Vh(e)}else t===27?(t=Nt,El(e.type)?(e=Sy,Sy=null,Nt=e):Nt=t):Nt=Aa?To(e.stateNode.nextSibling):null;return!0}function Ni(){Nt=Aa=null,or=it=!1}function bg(){var e=Nl;return e!==null&&(Ya===null?Ya=e:Ya.push.apply(Ya,e),Nl=null),e}function zu(e){Nl===null?Nl=[e]:Nl.push(e)}function gg(){var e=Ao;if(e!==null){Ao=null;for(var t=J0(e);0<e.children.length;)e=e.children[0];me(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
84
|
+
|
|
85
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
86
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
87
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
88
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
89
|
+
- Invalid HTML tag nesting.
|
|
90
|
+
|
|
91
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
92
|
+
|
|
93
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function rp(){wc=bm=null,Dc=!1}function bl(e,t,a){re(L$,t._currentValue,e),t._currentValue=a,re(k$,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==CS&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=CS}function Rr(e,t){e._currentValue=L$.current;var a=k$.current;de(k$,t),e._currentRenderer=a,de(L$,t)}function hg(e,t,a){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===a)break;e=e.return}e!==a&&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 $g(e,t,a,n){var l=e.child;l!==null&&(l.return=e);for(;l!==null;){var s=l.dependencies;if(s!==null){var d=l.child;s=s.firstContext;e:for(;s!==null;){var p=s;s=l;for(var y=0;y<t.length;y++)if(p.context===t[y]){s.lanes|=a,p=s.alternate,p!==null&&(p.lanes|=a),hg(s.return,a,e),n||(d=null);break e}s=p.next}}else if(l.tag===18){if(d=l.return,d===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");d.lanes|=a,s=d.alternate,s!==null&&(s.lanes|=a),hg(d,a,e),d=null}else d=l.child;if(d!==null)d.return=l;else for(d=l;d!==null;){if(d===e){d=null;break}if(l=d.sibling,l!==null){l.return=d.return,d=l;break}d=d.return}l=d}}function Zs(e,t,a,n){e=null;for(var l=t,s=!1;l!==null;){if(!s){if((l.flags&524288)!==0)s=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var d=l.alternate;if(d===null)throw Error("Should have a current fiber. This is a bug in React.");if(d=d.memoizedProps,d!==null){var p=l.type;Ka(l.pendingProps.value,d.value)||(e!==null?e.push(p):e=[p])}}else if(l===em.current){if(d=l.alternate,d===null)throw Error("Should have a current fiber. This is a bug in React.");d.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(af):e=[af])}l=l.return}e!==null&&$g(t,e,a,n),t.flags|=262144}function lp(e){for(e=e.firstContext;e!==null;){if(!Ka(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Li(e){bm=e,wc=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function _t(e){return Dc&&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()."),T4(bm,e)}function ip(e,t){return bm===null&&Li(e),T4(e,t)}function T4(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},wc===null){if(e===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().");wc=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else wc=wc.next=t;return a}function yg(){return{controller:new rD,data:new Map,refCount:0}}function ki(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Bu(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&lD(iD,function(){e.controller.abort()})}function zn(e,t,a){if((e&127)!==0)0>nr&&(nr=Wt(),Td=gm(t),_$=t,a!=null&&(z$=j(a)),(ut&(ua|Oo))!==$a&&(Vt=!0,_l=Ed),e=rd(),t=nd(),e!==Ac||t!==Rd?Ac=-1.1:t!==null&&(_l=Ed),Gi=e,Rd=t);else if((e&4194048)!==0&&0>Zo&&(Zo=Wt(),wd=gm(t),ES=t,a!=null&&(TS=j(a)),0>Br)){if(e=rd(),t=nd(),e!==Bl||t!==qi)Bl=-1.1;zl=e,qi=t}}function RT(e){if(0>nr){nr=Wt(),Td=e._debugTask!=null?e._debugTask:null,(ut&(ua|Oo))!==$a&&(_l=Ed);var t=rd(),a=nd();t!==Ac||a!==Rd?Ac=-1.1:a!==null&&(_l=Ed),Gi=t,Rd=a}if(0>Zo&&(Zo=Wt(),wd=e._debugTask!=null?e._debugTask:null,0>Br)){if(e=rd(),t=nd(),e!==Bl||t!==qi)Bl=-1.1;zl=e,qi=t}}function wr(){var e=ji;return ji=0,e}function sp(e){var t=ji;return ji=e,t}function Iu(e){var t=ji;return ji+=e,t}function cp(){ke=Oe=-1.1}function xo(){var e=Oe;return Oe=-1.1,e}function So(e){0<=e&&(Oe=e)}function Bn(){var e=Ht;return Ht=-0,e}function In(e){0<=e&&(Ht=e)}function Hn(){var e=zt;return zt=null,e}function Fn(){var e=Vt;return Vt=!1,e}function vg(e){ja=Wt(),0>e.actualStartTime&&(e.actualStartTime=ja)}function xg(e){if(0<=ja){var t=Wt()-ja;e.actualDuration+=t,e.selfBaseDuration=t,ja=-1}}function R4(e){if(0<=ja){var t=Wt()-ja;e.actualDuration+=t,ja=-1}}function Un(){if(0<=ja){var e=Wt(),t=e-ja;ja=-1,ji+=t,Ht+=t,ke=e}}function w4(e){zt===null&&(zt=[]),zt.push(e),zr===null&&(zr=[]),zr.push(e)}function Vn(){ja=Wt(),0>Oe&&(Oe=ja)}function Hu(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function wT(e,t){if(Ad===null){var a=Ad=[];I$=0,Yi=Ph(),Pc={status:"pending",value:void 0,then:function(n){a.push(n)}}}return I$++,t.then(D4,D4),t}function D4(){if(--I$===0&&(-1<Zo||(Br=-1.1),Ad!==null)){Pc!==null&&(Pc.status="fulfilled");var e=Ad;Ad=null,Yi=0,Pc=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function DT(e,t){var a=[],n={status:"pending",value:null,reason:null,then:function(l){a.push(l)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var l=0;l<a.length;l++)(0,a[l])(t)},function(l){n.status="rejected",n.reason=l;for(l=0;l<a.length;l++)(0,a[l])(void 0)}),n}function Sg(){var e=Xi.current;return e!==null?e:wt.pooledCache}function up(e,t){t===null?re(Xi,Xi.current,e):re(Xi,t.pool,e)}function A4(){var e=Sg();return e===null?null:{parent:Zt._currentValue,pool:e}}function P4(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function M4(e){return e=e.status,e==="fulfilled"||e==="rejected"}function O4(e,t,a){Y.actQueue!==null&&(Y.didUsePromise=!0);var n=e.thenables;if(a=n[a],a===void 0?n.push(t):a!==t&&(e.didWarnAboutUncachedPromise||(e.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.")),t.then(Cr,Cr),t=a),t._debugInfo===void 0){e=performance.now(),n=t.displayName;var l={name:typeof n==="string"?n:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:l}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){l.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,L4(e),e;default:if(typeof t.status==="string")t.then(Cr,Cr);else{if(e=wt,e!==null&&100<e.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.");e=t,e.status="pending",e.then(function(s){if(t.status==="pending"){var d=t;d.status="fulfilled",d.value=s}},function(s){if(t.status==="pending"){var d=t;d.status="rejected",d.reason=s}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,L4(e),e}throw Zi=t,_d=!0,Mc}}function gl(e){try{return dD(e)}catch(t){if(t!==null&&typeof t==="object"&&typeof t.then==="function")throw Zi=t,_d=!0,Mc;throw t}}function N4(){if(Zi===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Zi;return Zi=null,_d=!1,e}function L4(e){if(e===Mc||e===Em)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 Ta(e){var t=We;return e!=null&&(We=t===null?e:t.concat(e)),t}function Cg(){var e=We;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var a=e[t].debugTask;if(a!=null)return a}}return null}function dp(e,t,a){for(var n=Object.keys(e.props),l=0;l<n.length;l++){var s=n[l];if(s!=="children"&&s!=="key"){t===null&&(t=op(e,a.mode,0),t._debugInfo=We,t.return=a),me(t,function(d){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",d)},s);break}}}function fp(e){var t=zd;return zd+=1,Oc===null&&(Oc=P4()),O4(Oc,e,t)}function Fu(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function k4(e,t){if(t.$$typeof===KR)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
94
|
+
- Multiple copies of the "react" package is used.
|
|
95
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
96
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`);throw e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}function pp(e,t){var a=Cg();a!==null?a.run(k4.bind(null,e,t)):k4(e,t)}function _4(e,t){var a=j(e)||"Component";jS[a]||(jS[a]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
97
|
+
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
98
|
+
<%s>{%s}</%s>`,t,t,a,t,a))}function mp(e,t){var a=Cg();a!==null?a.run(_4.bind(null,e,t)):_4(e,t)}function z4(e,t){var a=j(e)||"Component";GS[a]||(GS[a]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
100
|
+
<%s>%s</%s>`,a,t,a))}function bp(e,t){var a=Cg();a!==null?a.run(z4.bind(null,e,t)):z4(e,t)}function B4(e){function t(D,P){if(e){var N=D.deletions;N===null?(D.deletions=[P],D.flags|=16):N.push(P)}}function a(D,P){if(!e)return null;for(;P!==null;)t(D,P),P=P.sibling;return null}function n(D){for(var P=new Map;D!==null;)D.key!==null?P.set(D.key,D):P.set(D.index,D),D=D.sibling;return P}function l(D,P){return D=Er(D,P),D.index=0,D.sibling=null,D}function s(D,P,N){if(D.index=N,!e)return D.flags|=1048576,P;if(N=D.alternate,N!==null)return N=N.index,N<P?(D.flags|=67108866,P):N;return D.flags|=67108866,P}function d(D){return e&&D.alternate===null&&(D.flags|=67108866),D}function p(D,P,N,ee){if(P===null||P.tag!==6)return P=dg(N,D.mode,ee),P.return=D,P._debugOwner=D,P._debugTask=D._debugTask,P._debugInfo=We,P;return P=l(P,N),P.return=D,P._debugInfo=We,P}function y(D,P,N,ee){var pe=N.type;if(pe===fc)return P=k(D,P,N.props.children,ee,N.key),dp(N,P,D),P;if(P!==null&&(P.elementType===pe||m4(P,N)||typeof pe==="object"&&pe!==null&&pe.$$typeof===Ro&&gl(pe)===P.type))return P=l(P,N.props),Fu(P,N),P.return=D,P._debugOwner=N._owner,P._debugInfo=We,P;return P=op(N,D.mode,ee),Fu(P,N),P.return=D,P._debugInfo=We,P}function S(D,P,N,ee){if(P===null||P.tag!==4||P.stateNode.containerInfo!==N.containerInfo||P.stateNode.implementation!==N.implementation)return P=fg(N,D.mode,ee),P.return=D,P._debugInfo=We,P;return P=l(P,N.children||[]),P.return=D,P._debugInfo=We,P}function k(D,P,N,ee,pe){if(P===null||P.tag!==7)return P=Mi(N,D.mode,ee,pe),P.return=D,P._debugOwner=D,P._debugTask=D._debugTask,P._debugInfo=We,P;return P=l(P,N),P.return=D,P._debugInfo=We,P}function _(D,P,N){if(typeof P==="string"&&P!==""||typeof P==="number"||typeof P==="bigint")return P=dg(""+P,D.mode,N),P.return=D,P._debugOwner=D,P._debugTask=D._debugTask,P._debugInfo=We,P;if(typeof P==="object"&&P!==null){switch(P.$$typeof){case Qn:return N=op(P,D.mode,N),Fu(N,P),N.return=D,D=Ta(P._debugInfo),N._debugInfo=We,We=D,N;case dc:return P=fg(P,D.mode,N),P.return=D,P._debugInfo=We,P;case Ro:var ee=Ta(P._debugInfo);return P=gl(P),D=_(D,P,N),We=ee,D}if(sa(P)||ae(P))return N=Mi(P,D.mode,N,null),N.return=D,N._debugOwner=D,N._debugTask=D._debugTask,D=Ta(P._debugInfo),N._debugInfo=We,We=D,N;if(typeof P.then==="function")return ee=Ta(P._debugInfo),D=_(D,fp(P),N),We=ee,D;if(P.$$typeof===Zn)return _(D,ip(D,P),N);pp(D,P)}return typeof P==="function"&&mp(D,P),typeof P==="symbol"&&bp(D,P),null}function A(D,P,N,ee){var pe=P!==null?P.key:null;if(typeof N==="string"&&N!==""||typeof N==="number"||typeof N==="bigint")return pe!==null?null:p(D,P,""+N,ee);if(typeof N==="object"&&N!==null){switch(N.$$typeof){case Qn:return N.key===pe?(pe=Ta(N._debugInfo),D=y(D,P,N,ee),We=pe,D):null;case dc:return N.key===pe?S(D,P,N,ee):null;case Ro:return pe=Ta(N._debugInfo),N=gl(N),D=A(D,P,N,ee),We=pe,D}if(sa(N)||ae(N)){if(pe!==null)return null;return pe=Ta(N._debugInfo),D=k(D,P,N,ee,null),We=pe,D}if(typeof N.then==="function")return pe=Ta(N._debugInfo),D=A(D,P,fp(N),ee),We=pe,D;if(N.$$typeof===Zn)return A(D,P,ip(D,N),ee);pp(D,N)}return typeof N==="function"&&mp(D,N),typeof N==="symbol"&&bp(D,N),null}function G(D,P,N,ee,pe){if(typeof ee==="string"&&ee!==""||typeof ee==="number"||typeof ee==="bigint")return D=D.get(N)||null,p(P,D,""+ee,pe);if(typeof ee==="object"&&ee!==null){switch(ee.$$typeof){case Qn:return N=D.get(ee.key===null?N:ee.key)||null,D=Ta(ee._debugInfo),P=y(P,N,ee,pe),We=D,P;case dc:return D=D.get(ee.key===null?N:ee.key)||null,S(P,D,ee,pe);case Ro:var Ie=Ta(ee._debugInfo);return ee=gl(ee),P=G(D,P,N,ee,pe),We=Ie,P}if(sa(ee)||ae(ee))return N=D.get(N)||null,D=Ta(ee._debugInfo),P=k(P,N,ee,pe,null),We=D,P;if(typeof ee.then==="function")return Ie=Ta(ee._debugInfo),P=G(D,P,N,fp(ee),pe),We=Ie,P;if(ee.$$typeof===Zn)return G(D,P,N,ip(P,ee),pe);pp(P,ee)}return typeof ee==="function"&&mp(P,ee),typeof ee==="symbol"&&bp(P,ee),null}function ie(D,P,N,ee){if(typeof N!=="object"||N===null)return ee;switch(N.$$typeof){case Qn:case dc:v(D,P,N);var pe=N.key;if(typeof pe!=="string")break;if(ee===null){ee=new Set,ee.add(pe);break}if(!ee.has(pe)){ee.add(pe);break}me(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.",pe)});break;case Ro:N=gl(N),ie(D,P,N,ee)}return ee}function $e(D,P,N,ee){for(var pe=null,Ie=null,Ae=null,we=P,Ye=P=0,Lt=null;we!==null&&Ye<N.length;Ye++){we.index>Ye?(Lt=we,we=null):Lt=we.sibling;var Xt=A(D,we,N[Ye],ee);if(Xt===null){we===null&&(we=Lt);break}pe=ie(D,Xt,N[Ye],pe),e&&we&&Xt.alternate===null&&t(D,we),P=s(Xt,P,Ye),Ae===null?Ie=Xt:Ae.sibling=Xt,Ae=Xt,we=Lt}if(Ye===N.length)return a(D,we),it&&Tr(D,Ye),Ie;if(we===null){for(;Ye<N.length;Ye++)we=_(D,N[Ye],ee),we!==null&&(pe=ie(D,we,N[Ye],pe),P=s(we,P,Ye),Ae===null?Ie=we:Ae.sibling=we,Ae=we);return it&&Tr(D,Ye),Ie}for(we=n(we);Ye<N.length;Ye++)Lt=G(we,D,Ye,N[Ye],ee),Lt!==null&&(pe=ie(D,Lt,N[Ye],pe),e&&Lt.alternate!==null&&we.delete(Lt.key===null?Ye:Lt.key),P=s(Lt,P,Ye),Ae===null?Ie=Lt:Ae.sibling=Lt,Ae=Lt);return e&&we.forEach(function(qr){return t(D,qr)}),it&&Tr(D,Ye),Ie}function Pt(D,P,N,ee){if(N==null)throw Error("An iterable object provided no iterator.");for(var pe=null,Ie=null,Ae=P,we=P=0,Ye=null,Lt=null,Xt=N.next();Ae!==null&&!Xt.done;we++,Xt=N.next()){Ae.index>we?(Ye=Ae,Ae=null):Ye=Ae.sibling;var qr=A(D,Ae,Xt.value,ee);if(qr===null){Ae===null&&(Ae=Ye);break}Lt=ie(D,qr,Xt.value,Lt),e&&Ae&&qr.alternate===null&&t(D,Ae),P=s(qr,P,we),Ie===null?pe=qr:Ie.sibling=qr,Ie=qr,Ae=Ye}if(Xt.done)return a(D,Ae),it&&Tr(D,we),pe;if(Ae===null){for(;!Xt.done;we++,Xt=N.next())Ae=_(D,Xt.value,ee),Ae!==null&&(Lt=ie(D,Ae,Xt.value,Lt),P=s(Ae,P,we),Ie===null?pe=Ae:Ie.sibling=Ae,Ie=Ae);return it&&Tr(D,we),pe}for(Ae=n(Ae);!Xt.done;we++,Xt=N.next())Ye=G(Ae,D,we,Xt.value,ee),Ye!==null&&(Lt=ie(D,Ye,Xt.value,Lt),e&&Ye.alternate!==null&&Ae.delete(Ye.key===null?we:Ye.key),P=s(Ye,P,we),Ie===null?pe=Ye:Ie.sibling=Ye,Ie=Ye);return e&&Ae.forEach(function(kD){return t(D,kD)}),it&&Tr(D,we),pe}function ct(D,P,N,ee){if(typeof N==="object"&&N!==null&&N.type===fc&&N.key===null&&(dp(N,null,D),N=N.props.children),typeof N==="object"&&N!==null){switch(N.$$typeof){case Qn:var pe=Ta(N._debugInfo);e:{for(var Ie=N.key;P!==null;){if(P.key===Ie){if(Ie=N.type,Ie===fc){if(P.tag===7){a(D,P.sibling),ee=l(P,N.props.children),ee.return=D,ee._debugOwner=N._owner,ee._debugInfo=We,dp(N,ee,D),D=ee;break e}}else if(P.elementType===Ie||m4(P,N)||typeof Ie==="object"&&Ie!==null&&Ie.$$typeof===Ro&&gl(Ie)===P.type){a(D,P.sibling),ee=l(P,N.props),Fu(ee,N),ee.return=D,ee._debugOwner=N._owner,ee._debugInfo=We,D=ee;break e}a(D,P);break}else t(D,P);P=P.sibling}N.type===fc?(ee=Mi(N.props.children,D.mode,ee,N.key),ee.return=D,ee._debugOwner=D,ee._debugTask=D._debugTask,ee._debugInfo=We,dp(N,ee,D),D=ee):(ee=op(N,D.mode,ee),Fu(ee,N),ee.return=D,ee._debugInfo=We,D=ee)}return D=d(D),We=pe,D;case dc:e:{pe=N;for(N=pe.key;P!==null;){if(P.key===N)if(P.tag===4&&P.stateNode.containerInfo===pe.containerInfo&&P.stateNode.implementation===pe.implementation){a(D,P.sibling),ee=l(P,pe.children||[]),ee.return=D,D=ee;break e}else{a(D,P);break}else t(D,P);P=P.sibling}ee=fg(pe,D.mode,ee),ee.return=D,D=ee}return d(D);case Ro:return pe=Ta(N._debugInfo),N=gl(N),D=ct(D,P,N,ee),We=pe,D}if(sa(N))return pe=Ta(N._debugInfo),D=$e(D,P,N,ee),We=pe,D;if(ae(N)){if(pe=Ta(N._debugInfo),Ie=ae(N),typeof Ie!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ae=Ie.call(N);if(Ae===N){if(D.tag!==0||Object.prototype.toString.call(D.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ae)!=="[object Generator]")VS||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."),VS=!0}else N.entries!==Ie||V$||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),V$=!0);return D=Pt(D,P,Ae,ee),We=pe,D}if(typeof N.then==="function")return pe=Ta(N._debugInfo),D=ct(D,P,fp(N),ee),We=pe,D;if(N.$$typeof===Zn)return ct(D,P,ip(D,N),ee);pp(D,N)}if(typeof N==="string"&&N!==""||typeof N==="number"||typeof N==="bigint")return pe=""+N,P!==null&&P.tag===6?(a(D,P.sibling),ee=l(P,pe),ee.return=D,D=ee):(a(D,P),ee=dg(pe,D.mode,ee),ee.return=D,ee._debugOwner=D,ee._debugTask=D._debugTask,ee._debugInfo=We,D=ee),d(D);return typeof N==="function"&&mp(D,N),typeof N==="symbol"&&bp(D,N),a(D,P)}return function(D,P,N,ee){var pe=We;We=null;try{zd=0;var Ie=ct(D,P,N,ee);return Oc=null,Ie}catch(Lt){if(Lt===Mc||Lt===Em)throw Lt;var Ae=T(29,Lt,null,D.mode);Ae.lanes=ee,Ae.return=D;var we=Ae._debugInfo=We;if(Ae._debugOwner=D._debugOwner,Ae._debugTask=D._debugTask,we!=null){for(var Ye=we.length-1;0<=Ye;Ye--)if(typeof we[Ye].stack==="string"){Ae._debugOwner=we[Ye],Ae._debugTask=we[Ye].debugTask;break}}return Ae}finally{We=pe}}}function I4(e,t){var a=sa(e);return e=!a&&typeof ae(e)==="function",a||e?(a=a?"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>",a,t,a),!1):!0}function Eg(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Tg(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function hl(e){return{lane:e,tag:YS,payload:null,callback:null,next:null}}function $l(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,j$===n&&!ZS){var l=j(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
101
|
+
|
|
102
|
+
Please update the following component: %s`,l),ZS=!0}if((ut&ua)!==$a)return l=n.pending,l===null?t.next=t:(t.next=l.next,l.next=t),n.pending=t,t=ap(e),p4(e,null,a),t;return tp(e,n,t,a),ap(e)}function Uu(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,Ei(e,a)}}function gp(e,t){var{updateQueue:a,alternate:n}=e;if(n!==null&&(n=n.updateQueue,a===n)){var l=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var d={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?l=s=d:s=s.next=d,a=a.next}while(a!==null);s===null?l=s=t:s=s.next=t}else l=s=t;a={baseState:n.baseState,firstBaseUpdate:l,lastBaseUpdate:s,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}function Vu(){if(G$){var e=Pc;if(e!==null)throw e}}function Ku(e,t,a,n){G$=!1;var l=e.updateQueue;Il=!1,j$=l.shared;var{firstBaseUpdate:s,lastBaseUpdate:d}=l,p=l.shared.pending;if(p!==null){l.shared.pending=null;var y=p,S=y.next;y.next=null,d===null?s=S:d.next=S,d=y;var k=e.alternate;k!==null&&(k=k.updateQueue,p=k.lastBaseUpdate,p!==d&&(p===null?k.firstBaseUpdate=S:p.next=S,k.lastBaseUpdate=y))}if(s!==null){var _=l.baseState;d=0,k=S=y=null,p=s;do{var A=p.lane&-536870913,G=A!==p.lane;if(G?(Je&A)===A:(n&A)===A){A!==0&&A===Yi&&(G$=!0),k!==null&&(k=k.next={lane:0,tag:p.tag,payload:p.payload,callback:null,next:null});e:{A=e;var ie=p,$e=t,Pt=a;switch(ie.tag){case XS:if(ie=ie.payload,typeof ie==="function"){Dc=!0;var ct=ie.call(Pt,_,$e);if(A.mode&za){Dt(!0);try{ie.call(Pt,_,$e)}finally{Dt(!1)}}Dc=!1,_=ct;break e}_=ie;break e;case K$:A.flags=A.flags&-65537|128;case YS:if(ct=ie.payload,typeof ct==="function"){if(Dc=!0,ie=ct.call(Pt,_,$e),A.mode&za){Dt(!0);try{ct.call(Pt,_,$e)}finally{Dt(!1)}}Dc=!1}else ie=ct;if(ie===null||ie===void 0)break e;_=ot({},_,ie);break e;case QS:Il=!0}}A=p.callback,A!==null&&(e.flags|=64,G&&(e.flags|=8192),G=l.callbacks,G===null?l.callbacks=[A]:G.push(A))}else G={lane:A,tag:p.tag,payload:p.payload,callback:p.callback,next:null},k===null?(S=k=G,y=_):k=k.next=G,d|=A;if(p=p.next,p===null)if(p=l.shared.pending,p===null)break;else G=p,p=G.next,G.next=null,l.lastBaseUpdate=G,l.shared.pending=null}while(1);k===null&&(y=_),l.baseState=y,l.firstBaseUpdate=S,l.lastBaseUpdate=k,s===null&&(l.shared.lanes=0),Ul|=d,e.lanes=d,e.memoizedState=_}j$=null}function H4(e,t){if(typeof e!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function AT(e,t){var a=e.shared.hiddenCallbacks;if(a!==null)for(e.shared.hiddenCallbacks=null,e=0;e<a.length;e++)H4(a[e],t)}function F4(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)H4(a[e],t)}function U4(e,t){var a=ir;re(Rm,a,e),re(Nc,t,e),ir=a|t.baseLanes}function Rg(e){re(Rm,ir,e),re(Nc,Nc.current,e)}function wg(e){ir=Rm.current,de(Nc,e),de(Rm,e)}function yl(e){var t=e.alternate;re(Yt,Yt.current&Lc,e),re(Po,e,e),Wo===null&&(t===null||Nc.current!==null?Wo=e:t.memoizedState!==null&&(Wo=e))}function Dg(e){re(Yt,Yt.current,e),re(Po,e,e),Wo===null&&(Wo=e)}function V4(e){e.tag===22?(re(Yt,Yt.current,e),re(Po,e,e),Wo===null&&(Wo=e)):vl(e)}function vl(e){re(Yt,Yt.current,e),re(Po,Po.current,e)}function Co(e){de(Po,e),Wo===e&&(Wo=null),de(Yt,e)}function hp(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Fh(a)||Uh(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function at(){var e=q;en===null?en=[e]:en.push(e)}function oe(){var e=q;if(en!==null&&(Ur++,en[Ur]!==e)){var t=j(Be);if(!WS.has(t)&&(WS.add(t),en!==null)){for(var a="",n=0;n<=Ur;n++){var l=en[n],s=n===Ur?e:l;for(l=n+1+". "+l;30>l.length;)l+=" ";l+=s+`
|
|
103
|
+
`,a+=l}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
104
|
+
|
|
105
|
+
Previous render Next render
|
|
106
|
+
------------------------------------------------------
|
|
107
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
108
|
+
`,t,a)}}}function Ws(e){e===void 0||e===null||sa(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",q,typeof e)}function $p(){var e=j(Be);e6.has(e)||(e6.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function jt(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
109
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
110
|
+
2. You might be breaking the Rules of Hooks
|
|
111
|
+
3. You might have more than one copy of React in the same app
|
|
112
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Ag(e,t){if(Hd)return!1;if(t===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.",q),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
113
|
+
|
|
114
|
+
Previous: %s
|
|
115
|
+
Incoming: %s`,q,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!Ka(e[a],t[a]))return!1;return!0}function Pg(e,t,a,n,l,s){if(Hr=s,Be=t,en=e!==null?e._debugHookTypes:null,Ur=-1,Hd=e!==null&&e.type!==t.type,Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")s=j(Be),q$.has(s)||(q$.add(s),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.",s===null?"An unknown Component":"<"+s+">"));t.memoizedState=null,t.updateQueue=null,t.lanes=0,Y.H=e!==null&&e.memoizedState!==null?X$:en!==null?t6:Y$,Ji=s=(t.mode&za)!==ze;var d=H$(a,n,l);if(Ji=!1,_c&&(d=Mg(t,a,n,l)),s){Dt(!0);try{d=Mg(t,a,n,l)}finally{Dt(!1)}}return K4(e,t),d}function K4(e,t){t._debugHookTypes=en,t.dependencies===null?Fr!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Fr}):t.dependencies._debugThenableState=Fr,Y.H=Fd;var a=Rt!==null&&Rt.next!==null;if(Hr=0,en=q=Jt=Rt=Be=null,Ur=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Dm=!1,Id=0,Fr=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||ea||(e=e.dependencies,e!==null&&lp(e)&&(ea=!0)),_d?(_d=!1,e=!0):e=!1,e&&(t=j(t)||"Unknown",JS.has(t)||q$.has(t)||(JS.add(t),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 Mg(e,t,a,n){Be=e;var l=0;do{if(_c&&(Fr=null),Id=0,_c=!1,l>=pD)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l+=1,Hd=!1,Jt=Rt=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}Ur=-1,Y.H=a6,s=H$(t,a,n)}while(_c);return s}function PT(){var e=Y.H,t=e.useState()[0];return t=typeof t.then==="function"?ju(t):t,e=e.useState()[0],(Rt!==null?Rt.memoizedState:null)!==e&&(Be.flags|=1024),t}function Og(){var e=Am!==0;return Am=0,e}function Ng(e,t,a){t.updateQueue=e.updateQueue,t.flags=(t.mode&gn)!==ze?t.flags&-402655237:t.flags&-2053,e.lanes&=~a}function Lg(e){if(Dm){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Dm=!1}Hr=0,en=Jt=Rt=Be=null,Ur=-1,q=null,_c=!1,Id=Am=0,Fr=null}function Ha(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Jt===null?Be.memoizedState=Jt=e:Jt=Jt.next=e,Jt}function xt(){if(Rt===null){var e=Be.alternate;e=e!==null?e.memoizedState:null}else e=Rt.next;var t=Jt===null?Be.memoizedState:Jt.next;if(t!==null)Jt=t,Rt=e;else{if(e===null){if(Be.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.")}Rt=e,e={memoizedState:Rt.memoizedState,baseState:Rt.baseState,baseQueue:Rt.baseQueue,queue:Rt.queue,next:null},Jt===null?Be.memoizedState=Jt=e:Jt=Jt.next=e}return Jt}function yp(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ju(e){var t=Id;return Id+=1,Fr===null&&(Fr=P4()),e=O4(Fr,e,t),t=Be,(Jt===null?t.memoizedState:Jt.next)===null&&(t=t.alternate,Y.H=t!==null&&t.memoizedState!==null?X$:Y$),e}function xl(e){if(e!==null&&typeof e==="object"){if(typeof e.then==="function")return ju(e);if(e.$$typeof===Zn)return _t(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function _i(e){var t=null,a=Be.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var n=Be.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=yp(),Be.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0||Hd)for(a=t.data[t.index]=Array(e),n=0;n<e;n++)a[n]=jR;else a.length!==e&&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.",a.length,e);return t.index++,a}function fn(e,t){return typeof t==="function"?t(e):t}function kg(e,t,a){var n=Ha();if(a!==void 0){var l=a(t);if(Ji){Dt(!0);try{a(t)}finally{Dt(!1)}}}else l=t;return n.memoizedState=n.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},n.queue=e,e=e.dispatch=kT.bind(null,Be,e),[n.memoizedState,e]}function Js(e){var t=xt();return _g(t,Rt,e)}function _g(e,t,a){var n=e.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=a;var l=e.baseQueue,s=n.pending;if(s!==null){if(l!==null){var d=l.next;l.next=s.next,s.next=d}t.baseQueue!==l&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=l=s,n.pending=null}if(s=e.baseState,l===null)e.memoizedState=s;else{t=l.next;var p=d=null,y=null,S=t,k=!1;do{var _=S.lane&-536870913;if(_!==S.lane?(Je&_)===_:(Hr&_)===_){var A=S.revertLane;if(A===0)y!==null&&(y=y.next={lane:0,revertLane:0,gesture:null,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null}),_===Yi&&(k=!0);else if((Hr&A)===A){S=S.next,A===Yi&&(k=!0);continue}else _={lane:0,revertLane:S.revertLane,gesture:null,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},y===null?(p=y=_,d=s):y=y.next=_,Be.lanes|=A,Ul|=A;_=S.action,Ji&&a(s,_),s=S.hasEagerState?S.eagerState:a(s,_)}else A={lane:_,revertLane:S.revertLane,gesture:S.gesture,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},y===null?(p=y=A,d=s):y=y.next=A,Be.lanes|=_,Ul|=_;S=S.next}while(S!==null&&S!==t);if(y===null?d=s:y.next=p,!Ka(s,e.memoizedState)&&(ea=!0,k&&(a=Pc,a!==null)))throw a;e.memoizedState=s,e.baseState=d,e.baseQueue=y,n.lastRenderedState=s}return l===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function Gu(e){var t=xt(),a=t.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=e;var{dispatch:n,pending:l}=a,s=t.memoizedState;if(l!==null){a.pending=null;var d=l=l.next;do s=e(s,d.action),d=d.next;while(d!==l);Ka(s,t.memoizedState)||(ea=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),a.lastRenderedState=s}return[s,n]}function zg(e,t,a){var n=Be,l=Ha();if(it){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var s=a();kc||s===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),kc=!0)}else{if(s=t(),kc||(a=t(),Ka(s,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),kc=!0)),wt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Je&127)!==0||j4(n,t,s)}return l.memoizedState=s,a={value:s,getSnapshot:t},l.queue=a,Cp(q4.bind(null,n,a,e),[e]),n.flags|=2048,tc(Jo|qa,{destroy:void 0},G4.bind(null,n,a,s,t),null),s}function vp(e,t,a){var n=Be,l=xt(),s=it;if(s){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=a()}else if(a=t(),!kc){var d=t();Ka(a,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),kc=!0)}if(d=!Ka((Rt||l).memoizedState,a))l.memoizedState=a,ea=!0;l=l.queue;var p=q4.bind(null,n,l,e);if(ao(2048,qa,p,[e]),l.getSnapshot!==t||d||Jt!==null&&Jt.memoizedState.tag&Jo){if(n.flags|=2048,tc(Jo|qa,{destroy:void 0},G4.bind(null,n,l,a,t),null),wt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");s||(Hr&127)!==0||j4(n,t,a)}return a}function j4(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Be.updateQueue,t===null?(t=yp(),Be.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function G4(e,t,a,n){t.value=a,t.getSnapshot=n,Y4(t)&&X4(e)}function q4(e,t,a){return a(function(){Y4(t)&&(zn(2,"updateSyncExternalStore()",e),X4(e))})}function Y4(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Ka(e,a)}catch(n){return!0}}function X4(e){var t=ka(e,2);t!==null&&Ut(t,e,2)}function Bg(e){var t=Ha();if(typeof e==="function"){var a=e;if(e=a(),Ji){Dt(!0);try{a()}finally{Dt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:e},t}function Ig(e){e=Bg(e);var t=e.queue,a=m3.bind(null,Be,t);return t.dispatch=a,[e.memoizedState,a]}function Hg(e){var t=Ha();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=eh.bind(null,Be,!0,a),a.dispatch=t,[e,t]}function Q4(e,t){var a=xt();return Z4(a,Rt,e,t)}function Z4(e,t,a,n){return e.baseState=a,_g(e,Rt,typeof n==="function"?n:fn)}function W4(e,t){var a=xt();if(Rt!==null)return Z4(a,Rt,e,t);return a.baseState=e,[e,a.queue.dispatch]}function MT(e,t,a,n,l){if(Ap(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var s={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){s.listeners.push(d)}};Y.T!==null?a(!0):s.isTransition=!1,n(s),a=t.pending,a===null?(s.next=t.pending=s,J4(t,s)):(s.next=a.next,t.pending=a.next=s)}}function J4(e,t){var{action:a,payload:n}=t,l=e.state;if(t.isTransition){var s=Y.T,d={};d._updatedFibers=new Set,Y.T=d;try{var p=a(l,n),y=Y.S;y!==null&&y(d,p),e3(e,t,p)}catch(S){Fg(e,t,S)}finally{s!==null&&d.types!==null&&(s.types!==null&&s.types!==d.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."),s.types=d.types),Y.T=s,s===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._updatedFibers.clear(),10<e&&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{d=a(l,n),e3(e,t,d)}catch(S){Fg(e,t,S)}}function e3(e,t,a){a!==null&&typeof a==="object"&&typeof a.then==="function"?(Y.asyncTransitions++,a.then(Dp,Dp),a.then(function(n){t3(e,t,n)},function(n){return Fg(e,t,n)}),t.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.")):t3(e,t,a)}function t3(e,t,a){t.status="fulfilled",t.value=a,a3(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,J4(e,a)))}function Fg(e,t,a){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=a,a3(t),t=t.next;while(t!==n)}e.action=null}function a3(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function o3(e,t){return t}function ec(e,t){if(it){var a=wt.formState;if(a!==null){e:{var n=Be;if(it){if(Nt){t:{var l=Nt;for(var s=Qo;l.nodeType!==8;){if(!s){l=null;break t}if(l=To(l.nextSibling),l===null){l=null;break t}}s=l.data,l=s===$y||s===F6?l:null}if(l){Nt=To(l.nextSibling),n=l.data===$y;break e}}ml(n)}n=!1}n&&(t=a[0])}}return a=Ha(),a.memoizedState=a.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:o3,lastRenderedState:t},a.queue=n,a=m3.bind(null,Be,n),n.dispatch=a,n=Bg(!1),s=eh.bind(null,Be,!1,n.queue),n=Ha(),l={state:t,dispatch:null,action:e,pending:null},n.queue=l,a=MT.bind(null,Be,l,s,a),l.dispatch=a,n.memoizedState=e,[t,a,!1]}function xp(e){var t=xt();return n3(t,Rt,e)}function n3(e,t,a){if(t=_g(e,t,o3)[0],e=Js(fn)[0],typeof t==="object"&&t!==null&&typeof t.then==="function")try{var n=ju(t)}catch(d){if(d===Mc)throw Em;throw d}else n=t;t=xt();var l=t.queue,s=l.dispatch;return a!==t.memoizedState&&(Be.flags|=2048,tc(Jo|qa,{destroy:void 0},OT.bind(null,l,a),null)),[n,s,e]}function OT(e,t){e.action=t}function Sp(e){var t=xt(),a=Rt;if(a!==null)return n3(t,a,e);xt(),t=t.memoizedState,a=xt();var n=a.queue.dispatch;return a.memoizedState=e,[t,n,!1]}function tc(e,t,a,n){return e={tag:e,create:a,deps:n,inst:t,next:null},t=Be.updateQueue,t===null&&(t=yp(),Be.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(n=a.next,a.next=e,e.next=n,t.lastEffect=e),e}function Ug(e){var t=Ha();return e={current:e},t.memoizedState=e}function zi(e,t,a,n){var l=Ha();Be.flags|=e,l.memoizedState=tc(Jo|t,{destroy:void 0},a,n===void 0?null:n)}function ao(e,t,a,n){var l=xt();n=n===void 0?null:n;var s=l.memoizedState.inst;Rt!==null&&n!==null&&Ag(n,Rt.memoizedState.deps)?l.memoizedState=tc(t,s,a,n):(Be.flags|=e,l.memoizedState=tc(Jo|t,s,a,n))}function Cp(e,t){(Be.mode&gn)!==ze?zi(276826112,qa,e,t):zi(8390656,qa,e,t)}function NT(e){Be.flags|=4;var t=Be.updateQueue;if(t===null)t=yp(),Be.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Vg(e){var t=Ha(),a={impl:e};return t.memoizedState=a,function(){if((ut&ua)!==$a)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Ep(e){var t=xt().memoizedState;return NT({ref:t,nextImpl:e}),function(){if((ut&ua)!==$a)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Kg(e,t){var a=4194308;return(Be.mode&gn)!==ze&&(a|=134217728),zi(a,Mo,e,t)}function r3(e,t){if(typeof t==="function"){e=e();var a=t(e);return function(){typeof a==="function"?a():t(null)}}if(t!==null&&t!==void 0)return t.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(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function jg(e,t,a){typeof t!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!==null&&a!==void 0?a.concat([e]):null;var n=4194308;(Be.mode&gn)!==ze&&(n|=134217728),zi(n,Mo,r3.bind(null,t,e),a)}function Tp(e,t,a){typeof t!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!==null&&a!==void 0?a.concat([e]):null,ao(4,Mo,r3.bind(null,t,e),a)}function Gg(e,t){return Ha().memoizedState=[e,t===void 0?null:t],e}function Rp(e,t){var a=xt();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&&Ag(t,n[1]))return n[0];return a.memoizedState=[e,t],e}function qg(e,t){var a=Ha();t=t===void 0?null:t;var n=e();if(Ji){Dt(!0);try{e()}finally{Dt(!1)}}return a.memoizedState=[n,t],n}function wp(e,t){var a=xt();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&&Ag(t,n[1]))return n[0];if(n=e(),Ji){Dt(!0);try{e()}finally{Dt(!1)}}return a.memoizedState=[n,t],n}function Yg(e,t){var a=Ha();return Xg(a,e,t)}function l3(e,t){var a=xt();return s3(a,Rt.memoizedState,e,t)}function i3(e,t){var a=xt();return Rt===null?Xg(a,e,t):s3(a,Rt.memoizedState,e,t)}function Xg(e,t,a){if(a===void 0||(Hr&1073741824)!==0&&(Je&261930)===0)return e.memoizedState=t;return e.memoizedState=a,e=c5(),Be.lanes|=e,Ul|=e,a}function s3(e,t,a,n){if(Ka(a,t))return a;if(Nc.current!==null)return e=Xg(e,a,n),Ka(e,t)||(ea=!0),e;if((Hr&42)===0||(Hr&1073741824)!==0&&(Je&261930)===0)return ea=!0,e.memoizedState=a;return e=c5(),Be.lanes|=e,Ul|=e,t}function Dp(){Y.asyncTransitions--}function c3(e,t,a,n,l){var s=yt.p;yt.p=s!==0&&s<bn?s:bn;var d=Y.T,p={};p._updatedFibers=new Set,Y.T=p,eh(e,!1,t,a);try{var y=l(),S=Y.S;if(S!==null&&S(p,y),y!==null&&typeof y==="object"&&typeof y.then==="function"){Y.asyncTransitions++,y.then(Dp,Dp);var k=DT(y,n);qu(e,t,k,Eo(e))}else qu(e,t,n,Eo(e))}catch(_){qu(e,t,{then:function(){},status:"rejected",reason:_},Eo(e))}finally{yt.p=s,d!==null&&p.types!==null&&(d.types!==null&&d.types!==p.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),d.types=p.types),Y.T=d,d===null&&p._updatedFibers&&(e=p._updatedFibers.size,p._updatedFibers.clear(),10<e&&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 Qg(e,t,a,n){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var l=u3(e).queue;RT(e),c3(e,l,t,us,a===null?x:function(){return d3(e),a(n)})}function u3(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:us,baseState:us,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:us},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function d3(e){Y.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=u3(e);t.next===null&&(t=e.alternate.memoizedState),qu(e,t.next.queue,{},Eo(e))}function Zg(){var e=Bg(!1);return e=c3.bind(null,Be,e.queue,!0,!1),Ha().memoizedState=e,[!1,e]}function f3(){var e=Js(fn)[0],t=xt().memoizedState;return[typeof e==="boolean"?e:ju(e),t]}function p3(){var e=Gu(fn)[0],t=xt().memoizedState;return[typeof e==="boolean"?e:ju(e),t]}function Bi(){return _t(af)}function Wg(){var e=Ha(),t=wt.identifierPrefix;if(it){var a=kr,n=Lr;a=(n&~(1<<32-Fa(n)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Am++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=fD++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t}function Jg(){return Ha().memoizedState=LT.bind(null,Be)}function LT(e,t){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var n=Eo(a),l=hl(n),s=$l(a,l,n);s!==null&&(zn(n,"refresh()",e),Ut(s,a,n),Uu(s,a,n)),e=yg(),t!==null&&t!==void 0&&s!==null&&console.error("The seed argument is not enabled outside experimental channels."),l.payload={cache:e};return}a=a.return}}function kT(e,t,a){var n=arguments;typeof n[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()."),n=Eo(e);var l={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};Ap(e)?b3(t,l):(l=ig(e,t,l,n),l!==null&&(zn(n,"dispatch()",e),Ut(l,e,n),g3(l,t,n)))}function m3(e,t,a){var n=arguments;typeof n[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()."),n=Eo(e),qu(e,t,a,n)&&zn(n,"setState()",e)}function qu(e,t,a,n){var l={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ap(e))b3(t,l);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null)){var d=Y.H;Y.H=$n;try{var p=t.lastRenderedState,y=s(p,a);if(l.hasEagerState=!0,l.eagerState=y,Ka(y,p))return tp(e,t,l,0),wt===null&&ep(),!1}catch(S){}finally{Y.H=d}}if(a=ig(e,t,l,n),a!==null)return Ut(a,e,n),g3(a,t,n),!0}return!1}function eh(e,t,a,n){if(Y.T===null&&Yi===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."),n={lane:2,revertLane:Ph(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ap(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=ig(e,a,n,2),t!==null&&(zn(2,"setOptimistic()",e),Ut(t,e,2))}function Ap(e){var t=e.alternate;return e===Be||t!==null&&t===Be}function b3(e,t){_c=Dm=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function g3(e,t,a){if((a&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,Ei(e,a)}}function th(e){if(e!==null&&typeof e!=="function"){var t=String(e);p6.has(t)||(p6.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function ah(e,t,a,n){var l=e.memoizedState,s=a(n,l);if(e.mode&za){Dt(!0);try{s=a(n,l)}finally{Dt(!1)}}s===void 0&&(t=U(t)||"Component",c6.has(t)||(c6.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),l=s===null||s===void 0?l:ot({},l,s),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}function h3(e,t,a,n,l,s,d){var p=e.stateNode;if(typeof p.shouldComponentUpdate==="function"){if(a=p.shouldComponentUpdate(n,s,d),e.mode&za){Dt(!0);try{a=p.shouldComponentUpdate(n,s,d)}finally{Dt(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",U(t)||"Component"),a}return t.prototype&&t.prototype.isPureReactComponent?!ku(a,n)||!ku(l,s):!0}function $3(e,t,a,n){var l=t.state;typeof t.componentWillReceiveProps==="function"&&t.componentWillReceiveProps(a,n),typeof t.UNSAFE_componentWillReceiveProps==="function"&&t.UNSAFE_componentWillReceiveProps(a,n),t.state!==l&&(e=j(e)||"Component",n6.has(e)||(n6.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Q$.enqueueReplaceState(t,t.state,null))}function Ii(e,t){var a=t;if("ref"in t){a={};for(var n in t)n!=="ref"&&(a[n]=t[n])}if(e=e.defaultProps){a===t&&(a=ot({},a));for(var l in e)a[l]===void 0&&(a[l]=e[l])}return a}function y3(e){w$(e),console.warn(`%s
|
|
116
|
+
|
|
117
|
+
%s
|
|
118
|
+
`,zc?"An error occurred in the <"+zc+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
119
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function v3(e){var t=zc?"The above error occurred in the <"+zc+"> component.":"The above error occurred in one of your React components.",a="React will try to recreate this component tree from scratch using the error boundary you provided, "+((Z$||"Anonymous")+".");if(typeof e==="object"&&e!==null&&typeof e.environmentName==="string"){var n=e.environmentName;e=[`%o
|
|
120
|
+
|
|
121
|
+
%s
|
|
122
|
+
|
|
123
|
+
%s
|
|
124
|
+
`,e,t,a].slice(0),typeof e[0]==="string"?e.splice(0,1,X6+" "+e[0],Q6,eb+n+eb,Z6):e.splice(0,0,X6,Q6,eb+n+eb,Z6),e.unshift(console),n=ND.apply(console.error,e),n()}else console.error(`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,e,t,a)}function x3(e){w$(e)}function Pp(e,t){try{zc=t.source?j(t.source):null,Z$=null;var a=t.value;if(Y.actQueue!==null)Y.thrownErrors.push(a);else{var n=e.onUncaughtError;n(a,{componentStack:t.stack})}}catch(l){setTimeout(function(){throw l})}}function S3(e,t,a){try{zc=a.source?j(a.source):null,Z$=j(t);var n=e.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function oh(e,t,a){return a=hl(a),a.tag=K$,a.payload={element:null},a.callback=function(){me(t.source,Pp,e,t)},a}function nh(e){return e=hl(e),e.tag=K$,e}function rh(e,t,a,n){var l=a.type.getDerivedStateFromError;if(typeof l==="function"){var s=n.value;e.payload=function(){return l(s)},e.callback=function(){b4(a),me(n.source,S3,t,a,n)}}var d=a.stateNode;d!==null&&typeof d.componentDidCatch==="function"&&(e.callback=function(){b4(a),me(n.source,S3,t,a,n),typeof l!=="function"&&(Kl===null?Kl=new Set([this]):Kl.add(this)),sD(this,n),typeof l==="function"||(a.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",j(a)||"Unknown")})}function _T(e,t,a,n,l){if(a.flags|=32768,er&&td(e,l),n!==null&&typeof n==="object"&&typeof n.then==="function"){if(t=a.alternate,t!==null&&Zs(t,a,l,!0),it&&(or=!0),a=Po.current,a!==null){switch(a.tag){case 31:case 13:return Wo===null?Ip():a.alternate===null&&Ft===Kr&&(Ft=Om),a.flags&=-257,a.flags|=65536,a.lanes=l,n===Tm?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([n]):t.add(n),Rh(e,n,l)),!1;case 22:return a.flags|=65536,n===Tm?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([n]):a.add(n)),Rh(e,n,l)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return Rh(e,n,l),Ip(),!1}if(it)return or=!0,t=Po.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,n!==N$&&zu(vo(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:n}),a))):(n!==N$&&zu(vo(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:n}),a)),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,n=vo(n,a),l=oh(e.stateNode,n,l),gp(e,l),Ft!==Hl&&(Ft=es)),!1;var s=vo(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:n}),a);if(qd===null?qd=[s]:qd.push(s),Ft!==Hl&&(Ft=es),t===null)return!0;n=vo(n,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=l&-l,a.lanes|=e,e=oh(a.stateNode,n,e),gp(a,e),!1;case 1:if(t=a.type,s=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError==="function"||s!==null&&typeof s.componentDidCatch==="function"&&(Kl===null||!Kl.has(s))))return a.flags|=65536,l&=-l,a.lanes|=l,l=nh(l),rh(l,e,a,n),gp(a,l),!1}a=a.return}while(a!==null);return!1}function Ra(e,t,a,n){t.child=e===null?qS(t,null,a,n):Wi(t,e.child,a,n)}function C3(e,t,a,n,l){a=a.render;var s=t.ref;if("ref"in n){var d={};for(var p in n)p!=="ref"&&(d[p]=n[p])}else d=n;if(Li(t),n=Pg(e,t,a,d,s,l),p=Og(),e!==null&&!ea)return Ng(e,t,l),Dr(e,t,l);return it&&p&&pg(t),t.flags|=1,Ra(e,t,n,l),t.child}function E3(e,t,a,n,l){if(e===null){var s=a.type;if(typeof s==="function"&&!cg(s)&&s.defaultProps===void 0&&a.compare===null)return a=Pi(s),t.tag=15,t.type=a,ih(t,s),T3(e,t,a,n,l);return e=ug(a.type,null,n,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e}if(s=e.child,!ph(e,l)){var d=s.memoizedProps;if(a=a.compare,a=a!==null?a:ku,a(d,n)&&e.ref===t.ref)return Dr(e,t,l)}return t.flags|=1,e=Er(s,n),e.ref=t.ref,e.return=t,t.child=e}function T3(e,t,a,n,l){if(e!==null){var s=e.memoizedProps;if(ku(s,n)&&e.ref===t.ref&&t.type===e.type)if(ea=!1,t.pendingProps=n=s,ph(e,l))(e.flags&131072)!==0&&(ea=!0);else return t.lanes=e.lanes,Dr(e,t,l)}return lh(e,t,a,n,l)}function R3(e,t,a,n){var l=n.children,s=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Sd,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(s=s!==null?s.baseLanes|a:a,e!==null){n=t.child=e.child;for(l=0;n!==null;)l=l|n.lanes|n.childLanes,n=n.sibling;n=l&~s}else n=0,t.child=null;return w3(e,t,s,a,n)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&up(t,s!==null?s.cachePool:null),s!==null?U4(t,s):Rg(t),V4(t);else return n=t.lanes=536870912,w3(e,t,s!==null?s.baseLanes|a:a,a,n)}else s!==null?(up(t,s.cachePool),U4(t,s),vl(t),t.memoizedState=null):(e!==null&&up(t,null),Rg(t),vl(t));return Ra(e,t,l,a),t.child}function Yu(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Sd,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function w3(e,t,a,n,l){var s=Sg();return s=s===null?null:{parent:Zt._currentValue,pool:s},t.memoizedState={baseLanes:a,cachePool:s},e!==null&&up(t,null),Rg(t),V4(t),e!==null&&Zs(e,t,n,!0),t.childLanes=l,null}function Mp(e,t){var a=t.hidden;return a!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
130
|
+
- <Activity %s>
|
|
131
|
+
+ <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),t=Np({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function D3(e,t,a){return Wi(t,e.child,null,a),e=Mp(t,t.pendingProps),e.flags|=2,Co(t),t.memoizedState=null,e}function zT(e,t,a){var n=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(it){if(n.mode==="hidden")return e=Mp(t,n),t.lanes=536870912,Yu(null,e);if(Dg(t),(e=Nt)?(a=J5(e,Qo),a=a!==null&&a.data===ls?a:null,a!==null&&(n={dehydrated:a,treeContext:v4(),retryLane:536870912,hydrationErrors:null},t.memoizedState=n,n=$4(a),n.return=t,t.child=n,Aa=t,Nt=null)):a=null,a===null)throw np(t,e),ml(t);return t.lanes=536870912,null}return Mp(t,n)}var s=e.memoizedState;if(s!==null){var d=s.dehydrated;if(Dg(t),l)if(t.flags&256)t.flags&=-257,t=D3(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(S4(),(a&536870912)!==0&&Bp(t),ea||Zs(e,t,a,!1),l=(a&e.childLanes)!==0,ea||l){if(n=wt,n!==null&&(d=Ti(n,a),d!==0&&d!==s.retryLane))throw s.retryLane=d,ka(e,d),Ut(n,e,d),W$;Ip(),t=D3(e,t,a)}else e=s.treeContext,Nt=To(d.nextSibling),Aa=t,it=!0,Nl=null,or=!1,Ao=null,Qo=!1,e!==null&&x4(t,e),t=Mp(t,n),t.flags|=4096;return t}return s=e.child,n={mode:n.mode,children:n.children},(a&536870912)!==0&&(a&e.lanes)!==0&&Bp(t),e=Er(s,n),e.ref=t.ref,t.child=e,e.return=t,e}function Op(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!=="function"&&typeof a!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(e===null||e.ref!==a)t.flags|=4194816}}function lh(e,t,a,n,l){if(a.prototype&&typeof a.prototype.render==="function"){var s=U(a)||"Unknown";m6[s]||(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.",s,s),m6[s]=!0)}if(t.mode&za&&hn.recordLegacyContextWarning(t,null),e===null&&(ih(t,t.type),a.contextTypes&&(s=U(a)||"Unknown",g6[s]||(g6[s]=!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)",s)))),Li(t),a=Pg(e,t,a,n,void 0,l),n=Og(),e!==null&&!ea)return Ng(e,t,l),Dr(e,t,l);return it&&n&&pg(t),t.flags|=1,Ra(e,t,a,l),t.child}function A3(e,t,a,n,l,s){if(Li(t),Ur=-1,Hd=e!==null&&e.type!==t.type,t.updateQueue=null,a=Mg(t,n,a,l),K4(e,t),n=Og(),e!==null&&!ea)return Ng(e,t,s),Dr(e,t,s);return it&&n&&pg(t),t.flags|=1,Ra(e,t,a,s),t.child}function P3(e,t,a,n,l){switch(b(t)){case!1:var s=t.stateNode,d=new t.type(t.memoizedProps,s.context).state;s.updater.enqueueSetState(s,d,null);break;case!0:t.flags|=128,t.flags|=65536,s=Error("Simulated error coming from DevTools");var p=l&-l;if(t.lanes|=p,d=wt,d===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");p=nh(p),rh(p,d,t,vo(s,t)),gp(t,p)}if(Li(t),t.stateNode===null){if(d=Ol,s=a.contextType,"contextType"in a&&s!==null&&(s===void 0||s.$$typeof!==Zn)&&!f6.has(a)&&(f6.add(a),p=s===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 s!=="object"?" However, it is set to a "+typeof s+".":s.$$typeof===Jh?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(s).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",U(a)||"Component",p)),typeof s==="object"&&s!==null&&(d=_t(s)),s=new a(n,d),t.mode&za){Dt(!0);try{s=new a(n,d)}finally{Dt(!1)}}if(d=t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Q$,t.stateNode=s,s._reactInternals=t,s._reactInternalInstance=o6,typeof a.getDerivedStateFromProps==="function"&&d===null&&(d=U(a)||"Component",r6.has(d)||(r6.add(d),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.",d,s.state===null?"null":"undefined",d))),typeof a.getDerivedStateFromProps==="function"||typeof s.getSnapshotBeforeUpdate==="function"){var y=p=d=null;if(typeof s.componentWillMount==="function"&&s.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof s.UNSAFE_componentWillMount==="function"&&(d="UNSAFE_componentWillMount"),typeof s.componentWillReceiveProps==="function"&&s.componentWillReceiveProps.__suppressDeprecationWarning!==!0?p="componentWillReceiveProps":typeof s.UNSAFE_componentWillReceiveProps==="function"&&(p="UNSAFE_componentWillReceiveProps"),typeof s.componentWillUpdate==="function"&&s.componentWillUpdate.__suppressDeprecationWarning!==!0?y="componentWillUpdate":typeof s.UNSAFE_componentWillUpdate==="function"&&(y="UNSAFE_componentWillUpdate"),d!==null||p!==null||y!==null){s=U(a)||"Component";var S=typeof a.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";i6.has(s)||(i6.add(s),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
132
|
+
|
|
133
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
134
|
+
|
|
135
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
136
|
+
https://react.dev/link/unsafe-component-lifecycles`,s,S,d!==null?`
|
|
137
|
+
`+d:"",p!==null?`
|
|
138
|
+
`+p:"",y!==null?`
|
|
139
|
+
`+y:""))}}s=t.stateNode,d=U(a)||"Component",s.render||(a.prototype&&typeof a.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",d):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",d)),!s.getInitialState||s.getInitialState.isReactClassApproved||s.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?",d),s.getDefaultProps&&!s.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.",d),s.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",d),a.childContextTypes&&!d6.has(a)&&(d6.add(a),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",d)),a.contextTypes&&!u6.has(a)&&(u6.add(a),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)",d)),typeof s.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.",d),a.prototype&&a.prototype.isPureReactComponent&&typeof s.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.",U(a)||"A pure component"),typeof s.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",d),typeof s.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().",d),typeof s.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",d),typeof s.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",d),p=s.props!==n,s.props!==void 0&&p&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",d),s.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.",d,d),typeof s.getSnapshotBeforeUpdate!=="function"||typeof s.componentDidUpdate==="function"||l6.has(a)||(l6.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",U(a))),typeof s.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof s.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof a.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",d),(p=s.state)&&(typeof p!=="object"||sa(p))&&console.error("%s.state: must be set to an object or null",d),typeof s.getChildContext==="function"&&typeof a.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",d),s=t.stateNode,s.props=n,s.state=t.memoizedState,s.refs={},Eg(t),d=a.contextType,s.context=typeof d==="object"&&d!==null?_t(d):Ol,s.state===n&&(d=U(a)||"Component",s6.has(d)||(s6.add(d),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.",d))),t.mode&za&&hn.recordLegacyContextWarning(t,s),hn.recordUnsafeLifecycleWarnings(t,s),s.state=t.memoizedState,d=a.getDerivedStateFromProps,typeof d==="function"&&(ah(t,a,d,n),s.state=t.memoizedState),typeof a.getDerivedStateFromProps==="function"||typeof s.getSnapshotBeforeUpdate==="function"||typeof s.UNSAFE_componentWillMount!=="function"&&typeof s.componentWillMount!=="function"||(d=s.state,typeof s.componentWillMount==="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount==="function"&&s.UNSAFE_componentWillMount(),d!==s.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",j(t)||"Component"),Q$.enqueueReplaceState(s,s.state,null)),Ku(t,n,s,l),Vu(),s.state=t.memoizedState),typeof s.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&gn)!==ze&&(t.flags|=134217728),s=!0}else if(e===null){s=t.stateNode;var k=t.memoizedProps;p=Ii(a,k),s.props=p;var _=s.context;y=a.contextType,d=Ol,typeof y==="object"&&y!==null&&(d=_t(y)),S=a.getDerivedStateFromProps,y=typeof S==="function"||typeof s.getSnapshotBeforeUpdate==="function",k=t.pendingProps!==k,y||typeof s.UNSAFE_componentWillReceiveProps!=="function"&&typeof s.componentWillReceiveProps!=="function"||(k||_!==d)&&$3(t,s,n,d),Il=!1;var A=t.memoizedState;s.state=A,Ku(t,n,s,l),Vu(),_=t.memoizedState,k||A!==_||Il?(typeof S==="function"&&(ah(t,a,S,n),_=t.memoizedState),(p=Il||h3(t,a,p,n,A,_,d))?(y||typeof s.UNSAFE_componentWillMount!=="function"&&typeof s.componentWillMount!=="function"||(typeof s.componentWillMount==="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount==="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&gn)!==ze&&(t.flags|=134217728)):(typeof s.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&gn)!==ze&&(t.flags|=134217728),t.memoizedProps=n,t.memoizedState=_),s.props=n,s.state=_,s.context=d,s=p):(typeof s.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&gn)!==ze&&(t.flags|=134217728),s=!1)}else{s=t.stateNode,Tg(e,t),d=t.memoizedProps,y=Ii(a,d),s.props=y,S=t.pendingProps,A=s.context,_=a.contextType,p=Ol,typeof _==="object"&&_!==null&&(p=_t(_)),k=a.getDerivedStateFromProps,(_=typeof k==="function"||typeof s.getSnapshotBeforeUpdate==="function")||typeof s.UNSAFE_componentWillReceiveProps!=="function"&&typeof s.componentWillReceiveProps!=="function"||(d!==S||A!==p)&&$3(t,s,n,p),Il=!1,A=t.memoizedState,s.state=A,Ku(t,n,s,l),Vu();var G=t.memoizedState;d!==S||A!==G||Il||e!==null&&e.dependencies!==null&&lp(e.dependencies)?(typeof k==="function"&&(ah(t,a,k,n),G=t.memoizedState),(y=Il||h3(t,a,y,n,A,G,p)||e!==null&&e.dependencies!==null&&lp(e.dependencies))?(_||typeof s.UNSAFE_componentWillUpdate!=="function"&&typeof s.componentWillUpdate!=="function"||(typeof s.componentWillUpdate==="function"&&s.componentWillUpdate(n,G,p),typeof s.UNSAFE_componentWillUpdate==="function"&&s.UNSAFE_componentWillUpdate(n,G,p)),typeof s.componentDidUpdate==="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate==="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!=="function"||d===e.memoizedProps&&A===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!=="function"||d===e.memoizedProps&&A===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=G),s.props=n,s.state=G,s.context=p,s=y):(typeof s.componentDidUpdate!=="function"||d===e.memoizedProps&&A===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!=="function"||d===e.memoizedProps&&A===e.memoizedState||(t.flags|=1024),s=!1)}if(p=s,Op(e,t),d=(t.flags&128)!==0,p||d){if(p=t.stateNode,se(t),d&&typeof a.getDerivedStateFromError!=="function")a=null,ja=-1;else if(a=NS(p),t.mode&za){Dt(!0);try{NS(p)}finally{Dt(!1)}}t.flags|=1,e!==null&&d?(t.child=Wi(t,e.child,null,l),t.child=Wi(t,null,a,l)):Ra(e,t,a,l),t.memoizedState=p.state,e=t.child}else e=Dr(e,t,l);return l=t.stateNode,s&&l.props!==n&&(Bc||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",j(t)||"a component"),Bc=!0),e}function M3(e,t,a,n){return Ni(),t.flags|=256,Ra(e,t,a,n),t.child}function ih(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
140
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps==="function"&&(e=U(t)||"Unknown",h6[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),h6[e]=!0)),typeof t.contextType==="object"&&t.contextType!==null&&(t=U(t)||"Unknown",b6[t]||(console.error("%s: Function components do not support contextType.",t),b6[t]=!0))}function sh(e){return{baseLanes:e,cachePool:A4()}}function ch(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=io),e}function O3(e,t,a){var n,l=t.pendingProps;f(t)&&(t.flags|=128);var s=!1,d=(t.flags&128)!==0;if((n=d)||(n=e!==null&&e.memoizedState===null?!1:(Yt.current&Bd)!==0),n&&(s=!0,t.flags&=-129),n=(t.flags&32)!==0,t.flags&=-33,e===null){if(it){if(s?yl(t):vl(t),(e=Nt)?(a=J5(e,Qo),a=a!==null&&a.data!==ls?a:null,a!==null&&(n={dehydrated:a,treeContext:v4(),retryLane:536870912,hydrationErrors:null},t.memoizedState=n,n=$4(a),n.return=t,t.child=n,Aa=t,Nt=null)):a=null,a===null)throw np(t,e),ml(t);return Uh(a)?t.lanes=32:t.lanes=536870912,null}var p=l.children;if(l=l.fallback,s){vl(t);var y=t.mode;return p=Np({mode:"hidden",children:p},y),l=Mi(l,y,a,null),p.return=t,l.return=t,p.sibling=l,t.child=p,l=t.child,l.memoizedState=sh(a),l.childLanes=ch(e,n,a),t.memoizedState=J$,Yu(null,l)}return yl(t),uh(t,p)}var S=e.memoizedState;if(S!==null){var k=S.dehydrated;if(k!==null){if(d)t.flags&256?(yl(t),t.flags&=-257,t=dh(e,t,a)):t.memoizedState!==null?(vl(t),t.child=e.child,t.flags|=128,t=null):(vl(t),p=l.fallback,y=t.mode,l=Np({mode:"visible",children:l.children},y),p=Mi(p,y,a,null),p.flags|=2,l.return=t,p.return=t,l.sibling=p,t.child=l,Wi(t,e.child,null,a),l=t.child,l.memoizedState=sh(a),l.childLanes=ch(e,n,a),t.memoizedState=J$,t=Yu(null,l));else if(yl(t),S4(),(a&536870912)!==0&&Bp(t),Uh(k)){if(n=k.nextSibling&&k.nextSibling.dataset,n){p=n.dgst;var _=n.msg;y=n.stck;var A=n.cstck}s=_,n=p,l=y,k=A,p=s,y=k,p=p?Error(p):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),p.stack=l||"",p.digest=n,n=y===void 0?null:y,l={value:p,source:null,stack:n},typeof n==="string"&&O$.set(p,l),zu(l),t=dh(e,t,a)}else if(ea||Zs(e,t,a,!1),n=(a&e.childLanes)!==0,ea||n){if(n=wt,n!==null&&(l=Ti(n,a),l!==0&&l!==S.retryLane))throw S.retryLane=l,ka(e,l),Ut(n,e,l),W$;Fh(k)||Ip(),t=dh(e,t,a)}else Fh(k)?(t.flags|=192,t.child=e.child,t=null):(e=S.treeContext,Nt=To(k.nextSibling),Aa=t,it=!0,Nl=null,or=!1,Ao=null,Qo=!1,e!==null&&x4(t,e),t=uh(t,l.children),t.flags|=4096);return t}}if(s)return vl(t),p=l.fallback,y=t.mode,A=e.child,k=A.sibling,l=Er(A,{mode:"hidden",children:l.children}),l.subtreeFlags=A.subtreeFlags&65011712,k!==null?p=Er(k,p):(p=Mi(p,y,a,null),p.flags|=2),p.return=t,l.return=t,l.sibling=p,t.child=l,Yu(null,l),l=t.child,p=e.child.memoizedState,p===null?p=sh(a):(y=p.cachePool,y!==null?(A=Zt._currentValue,y=y.parent!==A?{parent:A,pool:A}:y):y=A4(),p={baseLanes:p.baseLanes|a,cachePool:y}),l.memoizedState=p,l.childLanes=ch(e,n,a),t.memoizedState=J$,Yu(e.child,l);return S!==null&&(a&62914560)===a&&(a&e.lanes)!==0&&Bp(t),yl(t),a=e.child,e=a.sibling,a=Er(a,{mode:"visible",children:l.children}),a.return=t,a.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function uh(e,t){return t=Np({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Np(e,t){return e=T(22,e,null,t),e.lanes=0,e}function dh(e,t,a){return Wi(t,e.child,null,a),e=uh(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function N3(e,t,a){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),hg(e.return,t,a)}function fh(e,t,a,n,l,s){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:l,treeForkCount:s}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=n,d.tail=a,d.tailMode=l,d.treeForkCount=s)}function L3(e,t,a){var n=t.pendingProps,l=n.revealOrder,s=n.tail,d=n.children,p=Yt.current;if((n=(p&Bd)!==0)?(p=p&Lc|Bd,t.flags|=128):p&=Lc,re(Yt,p,t),p=l==null?"null":l,l!=="forwards"&&l!=="unstable_legacy-backwards"&&l!=="together"&&l!=="independent"&&!$6[p])if($6[p]=!0,l==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(l==="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 l==="string")switch(l.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.',l,l.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.',l,l.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l);if(p=s==null?"null":s,!Mm[p])if(s==null){if(l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")Mm[p]=!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 s!=="visible"&&s!=="collapsed"&&s!=="hidden"?(Mm[p]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',s)):l!=="forwards"&&l!=="backwards"&&l!=="unstable_legacy-backwards"&&(Mm[p]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',s));e:if((l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&d!==void 0&&d!==null&&d!==!1)if(sa(d)){for(p=0;p<d.length;p++)if(!I4(d[p],p))break e}else if(p=ae(d),typeof p==="function"){if(p=p.call(d))for(var y=p.next(),S=0;!y.done;y=p.next()){if(!I4(y.value,S))break e;S++}}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?',l);if(Ra(e,t,d,a),it?(pl(),d=Cd):d=0,!n&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&N3(e,a,t);else if(e.tag===19)N3(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(l){case"forwards":a=t.child;for(l=null;a!==null;)e=a.alternate,e!==null&&hp(e)===null&&(l=a),a=a.sibling;a=l,a===null?(l=t.child,t.child=null):(l=a.sibling,a.sibling=null),fh(t,!1,l,a,s,d);break;case"backwards":case"unstable_legacy-backwards":a=null,l=t.child;for(t.child=null;l!==null;){if(e=l.alternate,e!==null&&hp(e)===null){t.child=l;break}e=l.sibling,l.sibling=a,a=l,l=e}fh(t,!0,a,null,s,d);break;case"together":fh(t,!1,null,null,void 0,d);break;default:t.memoizedState=null}return t.child}function Dr(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),ja=-1,Ul|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Zs(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){e=t.child,a=Er(e,e.pendingProps),t.child=a;for(a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Er(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function ph(e,t){if((e.lanes&t)!==0)return!0;return e=e.dependencies,e!==null&&lp(e)?!0:!1}function BT(e,t,a){switch(t.tag){case 3:z(t,t.stateNode.containerInfo),bl(t,Zt,e.memoizedState.cache),Ni();break;case 27:case 5:le(t);break;case 4:z(t,t.stateNode.containerInfo);break;case 10:bl(t,t.type,t.memoizedProps.value);break;case 12:(a&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var n=t.stateNode;n.effectDuration=-0,n.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Dg(t),null;break;case 13:if(n=t.memoizedState,n!==null){if(n.dehydrated!==null)return yl(t),t.flags|=128,null;if((a&t.child.childLanes)!==0)return O3(e,t,a);return yl(t),e=Dr(e,t,a),e!==null?e.sibling:null}yl(t);break;case 19:var l=(e.flags&128)!==0;if(n=(a&t.childLanes)!==0,n||(Zs(e,t,a,!1),n=(a&t.childLanes)!==0),l){if(n)return L3(e,t,a);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),re(Yt,Yt.current,t),n)break;else return null;case 22:return t.lanes=0,R3(e,t,a,t.pendingProps);case 24:bl(t,Zt,e.memoizedState.cache)}return Dr(e,t,a)}function mh(e,t,a){if(t._debugNeedsRemount&&e!==null){a=ug(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),a._debugStack=t._debugStack,a._debugTask=t._debugTask;var n=t.return;if(n===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,a._debugInfo=t._debugInfo,t===n.child)n.child=a;else{var l=n.child;if(l===null)throw Error("Expected parent to have a child.");for(;l.sibling!==t;)if(l=l.sibling,l===null)throw Error("Expected to find the previous sibling.");l.sibling=a}return t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e),a.flags|=2,a}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)ea=!0;else{if(!ph(e,a)&&(t.flags&128)===0)return ea=!1,BT(e,t,a);ea=(e.flags&131072)!==0?!0:!1}else{if(ea=!1,n=it)pl(),n=(t.flags&1048576)!==0;n&&(n=t.index,pl(),y4(t,Cd,n))}switch(t.lanes=0,t.tag){case 16:e:if(n=t.pendingProps,e=gl(t.elementType),t.type=e,typeof e==="function")cg(e)?(n=Ii(e,n),t.tag=1,t.type=e=Pi(e),t=P3(null,t,e,n,a)):(t.tag=0,ih(t,e),t.type=e=Pi(e),t=lh(null,t,e,n,a));else{if(e!==void 0&&e!==null){if(l=e.$$typeof,l===ud){t.tag=11,t.type=e=sg(e),t=C3(null,t,e,n,a);break e}else if(l===Jp){t.tag=14,t=E3(null,t,e,n,a);break e}}throw t="",e!==null&&typeof e==="object"&&e.$$typeof===Ro&&(t=" Did you wrap a component in React.lazy() more than once?"),a=U(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return lh(e,t,t.type,t.pendingProps,a);case 1:return n=t.type,l=Ii(n,t.pendingProps),P3(e,t,n,l,a);case 3:e:{if(z(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");n=t.pendingProps;var s=t.memoizedState;l=s.element,Tg(e,t),Ku(t,n,null,a);var d=t.memoizedState;if(n=d.cache,bl(t,Zt,n),n!==s.cache&&$g(t,[Zt],a,!0),Vu(),n=d.element,s.isDehydrated)if(s={element:n,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=M3(e,t,n,a);break e}else if(n!==l){l=vo(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),zu(l),t=M3(e,t,n,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}Nt=To(e.firstChild),Aa=t,it=!0,Nl=null,or=!1,Ao=null,Qo=!0,a=qS(t,null,n,a);for(t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Ni(),n===l){t=Dr(e,t,a);break e}Ra(e,t,n,a)}t=t.child}return t;case 26:return Op(e,t),e===null?(a=r8(t.type,null,t.pendingProps,null))?t.memoizedState=a:it||(a=t.type,e=t.pendingProps,n=O(Rl.current),n=Vp(n).createElement(a),n[Da]=t,n[Ua]=e,wa(n,a,e),Me(n),t.stateNode=n):t.memoizedState=r8(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return le(t),e===null&&it&&(n=O(Rl.current),l=V(),n=t.stateNode=o8(t.type,t.pendingProps,n,l,!1),or||(l=j5(n,t.type,t.pendingProps,l),l!==null&&(Oi(t,0).serverProps=l)),Aa=t,Qo=!0,l=Nt,El(t.type)?(Sy=l,Nt=To(n.firstChild)):Nt=l),Ra(e,t,t.pendingProps.children,a),Op(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&it&&(s=V(),n=eg(t.type,s.ancestorInfo),l=Nt,(d=!l)||(d=RR(l,t.type,t.pendingProps,Qo),d!==null?(t.stateNode=d,or||(s=j5(d,t.type,t.pendingProps,s),s!==null&&(Oi(t,0).serverProps=s)),Aa=t,Nt=To(d.firstChild),Qo=!1,s=!0):s=!1,d=!s),d&&(n&&np(t,l),ml(t))),le(t),l=t.type,s=t.pendingProps,d=e!==null?e.memoizedProps:null,n=s.children,Ih(l,s)?n=null:d!==null&&Ih(l,d)&&(t.flags|=32),t.memoizedState!==null&&(l=Pg(e,t,PT,null,null,a),af._currentValue=l),Op(e,t),Ra(e,t,n,a),t.child;case 6:return e===null&&it&&(a=t.pendingProps,e=V(),n=e.ancestorInfo.current,a=n!=null?Yf(a,n.tag,e.ancestorInfo.implicitRootScope):!0,e=Nt,(n=!e)||(n=wR(e,t.pendingProps,Qo),n!==null?(t.stateNode=n,Aa=t,Nt=null,n=!0):n=!1,n=!n),n&&(a&&np(t,e),ml(t))),null;case 13:return O3(e,t,a);case 4:return z(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Wi(t,null,n,a):Ra(e,t,n,a),t.child;case 11:return C3(e,t,t.type,t.pendingProps,a);case 7:return Ra(e,t,t.pendingProps,a),t.child;case 8:return Ra(e,t,t.pendingProps.children,a),t.child;case 12:return t.flags|=4,t.flags|=2048,n=t.stateNode,n.effectDuration=-0,n.passiveEffectDuration=-0,Ra(e,t,t.pendingProps.children,a),t.child;case 10:return n=t.type,l=t.pendingProps,s=l.value,"value"in l||y6||(y6=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),bl(t,n,s),Ra(e,t,l.children,a),t.child;case 9:return l=t.type._context,n=t.pendingProps.children,typeof n!=="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."),Li(t),l=_t(l),n=H$(n,l,void 0),t.flags|=1,Ra(e,t,n,a),t.child;case 14:return E3(e,t,t.type,t.pendingProps,a);case 15:return T3(e,t,t.type,t.pendingProps,a);case 19:return L3(e,t,a);case 31:return zT(e,t,a);case 22:return R3(e,t,a,t.pendingProps);case 24:return Li(t),n=_t(Zt),e===null?(l=Sg(),l===null&&(l=wt,s=yg(),l.pooledCache=s,ki(s),s!==null&&(l.pooledCacheLanes|=a),l=s),t.memoizedState={parent:n,cache:l},Eg(t),bl(t,Zt,l)):((e.lanes&a)!==0&&(Tg(e,t),Ku(t,null,null,a),Vu()),l=e.memoizedState,s=t.memoizedState,l.parent!==n?(l={parent:n,cache:n},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),bl(t,Zt,n)):(n=s.cache,bl(t,Zt,n),n!==l.cache&&$g(t,[Zt],a,!0))),Ra(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ar(e){e.flags|=4}function bh(e,t,a,n,l){if(t=(e.mode&nD)!==ze)t=!1;if(t){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(p5())e.flags|=8192;else throw Zi=Tm,U$}else e.flags&=-16777217}function k3(e,t){if(t.type!=="stylesheet"||(t.state.loading&tn)!==cs)e.flags&=-16777217;else if(e.flags|=16777216,!u8(t))if(p5())e.flags|=8192;else throw Zi=Tm,U$}function Lp(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?js():536870912,e.lanes|=t,os|=t)}function Xu(e,t){if(!it)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var n=null;a!==null;)a.alternate!==null&&(n=a),a=a.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function At(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,n=0;if(t)if((e.mode&Ze)!==ze){for(var{selfBaseDuration:l,child:s}=e;s!==null;)a|=s.lanes|s.childLanes,n|=s.subtreeFlags&65011712,n|=s.flags&65011712,l+=s.treeBaseDuration,s=s.sibling;e.treeBaseDuration=l}else for(l=e.child;l!==null;)a|=l.lanes|l.childLanes,n|=l.subtreeFlags&65011712,n|=l.flags&65011712,l.return=e,l=l.sibling;else if((e.mode&Ze)!==ze){l=e.actualDuration,s=e.selfBaseDuration;for(var d=e.child;d!==null;)a|=d.lanes|d.childLanes,n|=d.subtreeFlags,n|=d.flags,l+=d.actualDuration,s+=d.treeBaseDuration,d=d.sibling;e.actualDuration=l,e.treeBaseDuration=s}else for(l=e.child;l!==null;)a|=l.lanes|l.childLanes,n|=l.subtreeFlags,n|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=n,e.childLanes=a,t}function IT(e,t,a){var n=t.pendingProps;switch(mg(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return At(t),null;case 1:return At(t),null;case 3:if(a=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Rr(Zt,t),K(t),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),e===null||e.child===null)Qs(t)?(gg(),Ar(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,bg());return At(t),null;case 26:var{type:l,memoizedState:s}=t;return e===null?(Ar(t),s!==null?(At(t),k3(t,s)):(At(t),bh(t,l,null,n,a))):s?s!==e.memoizedState?(Ar(t),At(t),k3(t,s)):(At(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&Ar(t),At(t),bh(t,l,e,n,a)),null;case 27:if(Q(t),a=O(Rl.current),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&Ar(t);else{if(!n){if(t.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 At(t),null}e=V(),Qs(t)?C4(t,e):(e=o8(l,n,a,e,!0),t.stateNode=e,Ar(t))}return At(t),null;case 5:if(Q(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&Ar(t);else{if(!n){if(t.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 At(t),null}var d=V();if(Qs(t))C4(t,d);else{switch(s=O(Rl.current),eg(l,d.ancestorInfo),d=d.context,s=Vp(s),d){case Gc:s=s.createElementNS(gc,l);break;case Zm:s=s.createElementNS(lm,l);break;default:switch(l){case"svg":s=s.createElementNS(gc,l);break;case"math":s=s.createElementNS(lm,l);break;case"script":s=s.createElement("div"),s.innerHTML="<script></script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof n.is==="string"?s.createElement("select",{is:n.is}):s.createElement("select"),n.multiple?s.multiple=!0:n.size&&(s.size=n.size);break;default:s=typeof n.is==="string"?s.createElement(l,{is:n.is}):s.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(s)!=="[object HTMLUnknownElement]"||mn.call(V6,l)||(V6[l]=!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.",l)))}}s[Da]=t,s[Ua]=n;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)s.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=s;e:switch(wa(s,l,n),l){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&Ar(t)}}return At(t),bh(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&Ar(t);else{if(typeof n!=="string"&&t.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(e=O(Rl.current),a=V(),Qs(t)){if(e=t.stateNode,a=t.memoizedProps,l=!or,n=null,s=Aa,s!==null)switch(s.tag){case 3:l&&(l=t8(e,a,n),l!==null&&(Oi(t,0).serverProps=l));break;case 27:case 5:n=s.memoizedProps,l&&(l=t8(e,a,n),l!==null&&(Oi(t,0).serverProps=l))}e[Da]=t,e=e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||H5(e.nodeValue,a)?!0:!1,e||ml(t,!0)}else l=a.ancestorInfo.current,l!=null&&Yf(n,l.tag,a.ancestorInfo.implicitRootScope),e=Vp(e).createTextNode(n),e[Da]=t,t.stateNode=e}return At(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(n=Qs(t),a!==null){if(e===null){if(!n)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[Da]=t,At(t),(t.mode&Ze)!==ze&&a!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else gg(),Ni(),(t.flags&128)===0&&(a=t.memoizedState=null),t.flags|=4,At(t),(t.mode&Ze)!==ze&&a!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else a=bg(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e){if(t.flags&256)return Co(t),t;return Co(t),null}if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return At(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=n,s=Qs(t),l!==null&&l.dehydrated!==null){if(e===null){if(!s)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");s[Da]=t,At(t),(t.mode&Ze)!==ze&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration))}else gg(),Ni(),(t.flags&128)===0&&(l=t.memoizedState=null),t.flags|=4,At(t),(t.mode&Ze)!==ze&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration));l=!1}else l=bg(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l){if(t.flags&256)return Co(t),t;return Co(t),null}}if(Co(t),(t.flags&128)!==0)return t.lanes=a,(t.mode&Ze)!==ze&&Hu(t),t;return a=n!==null,e=e!==null&&e.memoizedState!==null,a&&(n=t.child,l=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(l=n.alternate.memoizedState.cachePool.pool),s=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),s!==l&&(n.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Lp(t,t.updateQueue),At(t),(t.mode&Ze)!==ze&&a&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null;case 4:return K(t),e===null&&Oh(t.stateNode.containerInfo),At(t),null;case 10:return Rr(t.type,t),At(t),null;case 19:if(de(Yt,t),n=t.memoizedState,n===null)return At(t),null;if(l=(t.flags&128)!==0,s=n.rendering,s===null)if(l)Xu(n,!1);else{if(Ft!==Kr||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=hp(e),s!==null){t.flags|=128,Xu(n,!1),e=s.updateQueue,t.updateQueue=e,Lp(t,e),t.subtreeFlags=0,e=a;for(a=t.child;a!==null;)h4(a,e),a=a.sibling;return re(Yt,Yt.current&Lc|Bd,t),it&&Tr(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&ba()>Bm&&(t.flags|=128,l=!0,Xu(n,!1),t.lanes=4194304)}else{if(!l)if(e=hp(s),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,Lp(t,e),Xu(n,!0),n.tail===null&&n.tailMode==="hidden"&&!s.alternate&&!it)return At(t),null}else 2*ba()-n.renderingStartTime>Bm&&a!==536870912&&(t.flags|=128,l=!0,Xu(n,!1),t.lanes=4194304);n.isBackwards?(s.sibling=t.child,t.child=s):(e=n.last,e!==null?e.sibling=s:t.child=s,n.last=s)}if(n.tail!==null)return e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=ba(),e.sibling=null,a=Yt.current,a=l?a&Lc|Bd:a&Lc,re(Yt,a,t),it&&Tr(t,n.treeForkCount),e;return At(t),null;case 22:case 23:return Co(t),wg(t),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(a&536870912)!==0&&(t.flags&128)===0&&(At(t),t.subtreeFlags&6&&(t.flags|=8192)):At(t),a=t.updateQueue,a!==null&&Lp(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&de(Xi,t),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Rr(Zt,t),At(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function HT(e,t){switch(mg(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ze)!==ze&&Hu(t),t):null;case 3:return Rr(Zt,t),K(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Q(t),null;case 31:if(t.memoizedState!==null){if(Co(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ni()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ze)!==ze&&Hu(t),t):null;case 13:if(Co(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ni()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ze)!==ze&&Hu(t),t):null;case 19:return de(Yt,t),null;case 4:return K(t),null;case 10:return Rr(t.type,t),null;case 22:case 23:return Co(t),wg(t),e!==null&&de(Xi,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ze)!==ze&&Hu(t),t):null;case 24:return Rr(Zt,t),null;case 25:return null;default:return null}}function _3(e,t){switch(mg(t),t.tag){case 3:Rr(Zt,t),K(t);break;case 26:case 27:case 5:Q(t);break;case 4:K(t);break;case 31:t.memoizedState!==null&&Co(t);break;case 13:Co(t);break;case 19:de(Yt,t);break;case 10:Rr(t.type,t);break;case 22:case 23:Co(t),wg(t),e!==null&&de(Xi,t);break;case 24:Rr(Zt,t)}}function Kn(e){return(e.mode&Ze)!==ze}function z3(e,t){Kn(e)?(Vn(),Qu(t,e),Un()):Qu(t,e)}function gh(e,t,a){Kn(e)?(Vn(),ac(a,e,t),Un()):ac(a,e,t)}function Qu(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var l=n.next;a=l;do{if((a.tag&e)===e&&(n=void 0,(e&Ga)!==wm&&(Vc=!0),n=me(t,cD,a),(e&Ga)!==wm&&(Vc=!1),n!==void 0&&typeof n!=="function")){var s=void 0;s=(a.tag&Mo)!==0?"useLayoutEffect":(a.tag&Ga)!==0?"useInsertionEffect":"useEffect";var d=void 0;d=n===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof n.then==="function"?`
|
|
141
|
+
|
|
142
|
+
It looks like you wrote `+s+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
143
|
+
|
|
144
|
+
`+s+`(() => {
|
|
145
|
+
async function fetchData() {
|
|
146
|
+
// You can await here
|
|
147
|
+
const response = await MyAPI.getData(someId);
|
|
148
|
+
// ...
|
|
149
|
+
}
|
|
150
|
+
fetchData();
|
|
151
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
152
|
+
|
|
153
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+n,me(t,function(p,y){console.error("%s must not return anything besides a function, which is used for clean-up.%s",p,y)},s,d)}a=a.next}while(a!==l)}}catch(p){$t(t,t.return,p)}}function ac(e,t,a){try{var n=t.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var s=l.next;n=s;do{if((n.tag&e)===e){var d=n.inst,p=d.destroy;p!==void 0&&(d.destroy=void 0,(e&Ga)!==wm&&(Vc=!0),l=t,me(l,uD,l,a,p),(e&Ga)!==wm&&(Vc=!1))}n=n.next}while(n!==s)}}catch(y){$t(t,t.return,y)}}function B3(e,t){Kn(e)?(Vn(),Qu(t,e),Un()):Qu(t,e)}function hh(e,t,a){Kn(e)?(Vn(),ac(a,e,t),Un()):ac(a,e,t)}function I3(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Bc||(a.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(e)||"instance"),a.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(e)||"instance"));try{me(e,F4,t,a)}catch(n){$t(e,e.return,n)}}}function FT(e,t,a){return e.getSnapshotBeforeUpdate(t,a)}function UT(e,t){var{memoizedProps:a,memoizedState:n}=t;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Bc||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(e)||"instance"));try{var l=Ii(e.type,a),s=me(e,FT,t,l,n);a=v6,s!==void 0||a.has(e.type)||(a.add(e.type),me(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",j(e))})),t.__reactInternalSnapshotBeforeUpdate=s}catch(d){$t(e,e.return,d)}}function H3(e,t,a){a.props=Ii(e.type,e.memoizedProps),a.state=e.memoizedState,Kn(e)?(Vn(),me(e,IS,e,t,a),Un()):me(e,IS,e,t,a)}function VT(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}if(typeof t==="function")if(Kn(e))try{Vn(),e.refCleanup=t(a)}finally{Un()}else e.refCleanup=t(a);else typeof t==="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",j(e)),t.current=a}}function Zu(e,t){try{me(e,VT,e)}catch(a){$t(e,t,a)}}function jn(e,t){var{ref:a,refCleanup:n}=e;if(a!==null)if(typeof n==="function")try{if(Kn(e))try{Vn(),me(e,n)}finally{Un(e)}else me(e,n)}catch(l){$t(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a==="function")try{if(Kn(e))try{Vn(),me(e,a,null)}finally{Un(e)}else me(e,a,null)}catch(l){$t(e,t,l)}else a.current=null}function F3(e,t,a,n){var l=e.memoizedProps,s=l.id,d=l.onCommit;l=l.onRender,t=t===null?"mount":"update",xm&&(t="nested-update"),typeof l==="function"&&l(s,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,a),typeof d==="function"&&d(s,t,n,a)}function KT(e,t,a,n){var l=e.memoizedProps;e=l.id,l=l.onPostCommit,t=t===null?"mount":"update",xm&&(t="nested-update"),typeof l==="function"&&l(e,t,n,a)}function U3(e){var{type:t,memoizedProps:a,stateNode:n}=e;try{me(e,mR,n,t,a,e)}catch(l){$t(e,e.return,l)}}function $h(e,t,a){try{me(e,gR,e.stateNode,e.type,a,t,e)}catch(n){$t(e,e.return,n)}}function V3(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&El(e.type)||e.tag===4}function yh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||V3(e.return))return null;e=e.return}e.sibling.return=e.return;for(e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&El(e.type))continue e;if(e.flags&2)continue e;if(e.child===null||e.tag===4)continue e;else e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function vh(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(Q5(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t)):(Q5(a),t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!==null&&a!==void 0||t.onclick!==null||(t.onclick=Cr));else if(n!==4&&(n===27&&El(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(vh(e,t,a),e=e.sibling;e!==null;)vh(e,t,a),e=e.sibling}function kp(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(n!==4&&(n===27&&El(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(kp(e,t,a),e=e.sibling;e!==null;)kp(e,t,a),e=e.sibling}function jT(e){for(var t,a=e.return;a!==null;){if(V3(a)){t=a;break}a=a.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,a=yh(e),kp(e,a,t);break;case 5:a=t.stateNode,t.flags&32&&(X5(a),t.flags&=-33),t=yh(e),kp(e,t,a);break;case 3:case 4:t=t.stateNode.containerInfo,a=yh(e),vh(e,a,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function K3(e){var{stateNode:t,memoizedProps:a}=e;try{me(e,OR,e.type,a,t,e)}catch(n){$t(e,e.return,n)}}function j3(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function GT(e,t){if(e=e.containerInfo,yy=tb,e=i4(e),og(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var{anchorOffset:l,focusNode:s}=n;n=n.focusOffset;try{a.nodeType,s.nodeType}catch(ie){a=null;break e}var d=0,p=-1,y=-1,S=0,k=0,_=e,A=null;t:for(;;){for(var G;;){if(_!==a||l!==0&&_.nodeType!==3||(p=d+l),_!==s||n!==0&&_.nodeType!==3||(y=d+n),_.nodeType===3&&(d+=_.nodeValue.length),(G=_.firstChild)===null)break;A=_,_=G}for(;;){if(_===e)break t;if(A===a&&++S===l&&(p=d),A===s&&++k===n&&(y=d),(G=_.nextSibling)!==null)break;_=A,A=_.parentNode}_=G}a=p===-1||y===-1?null:{start:p,end:y}}else a=null}a=a||{start:0,end:0}}else a=null;vy={focusedElem:e,selectionRange:a},tb=!1;for(ha=t;ha!==null;)if(t=ha,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ha=e;else for(;ha!==null;){switch(e=t=ha,a=e.alternate,l=e.flags,e.tag){case 0:if((l&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)l=e[a],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:(l&1024)!==0&&a!==null&&UT(e,a);break;case 3:if((l&1024)!==0){if(e=e.stateNode.containerInfo,a=e.nodeType,a===9)Hh(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Hh(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&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(e=t.sibling,e!==null){e.return=t.return,ha=e;break}ha=t.return}}function G3(e,t,a){var n=xo(),l=Bn(),s=Hn(),d=Fn(),p=a.flags;switch(a.tag){case 0:case 11:case 15:Gn(e,a),p&4&&z3(a,Mo|Jo);break;case 1:if(Gn(e,a),p&4)if(e=a.stateNode,t===null)a.type.defaultProps||"ref"in a.memoizedProps||Bc||(e.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(a)||"instance"),e.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(a)||"instance")),Kn(a)?(Vn(),me(a,F$,a,e),Un()):me(a,F$,a,e);else{var y=Ii(a.type,t.memoizedProps);t=t.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||Bc||(e.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(a)||"instance"),e.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(a)||"instance")),Kn(a)?(Vn(),me(a,_S,a,e,y,t,e.__reactInternalSnapshotBeforeUpdate),Un()):me(a,_S,a,e,y,t,e.__reactInternalSnapshotBeforeUpdate)}p&64&&I3(a),p&512&&Zu(a,a.return);break;case 3:if(t=wr(),Gn(e,a),p&64&&(p=a.updateQueue,p!==null)){if(y=null,a.child!==null)switch(a.child.tag){case 27:case 5:y=a.child.stateNode;break;case 1:y=a.child.stateNode}try{me(a,F4,p,y)}catch(k){$t(a,a.return,k)}}e.effectDuration+=sp(t);break;case 27:t===null&&p&4&&K3(a);case 26:case 5:if(Gn(e,a),t===null){if(p&4)U3(a);else if(p&64){e=a.type,t=a.memoizedProps,y=a.stateNode;try{me(a,bR,y,e,t,a)}catch(k){$t(a,a.return,k)}}}p&512&&Zu(a,a.return);break;case 12:if(p&4){p=wr(),Gn(e,a),e=a.stateNode,e.effectDuration+=Iu(p);try{me(a,F3,a,t,Ll,e.effectDuration)}catch(k){$t(a,a.return,k)}}else Gn(e,a);break;case 31:Gn(e,a),p&4&&X3(e,a);break;case 13:Gn(e,a),p&4&&Q3(e,a),p&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(p=tR.bind(null,a),DR(e,p))));break;case 22:if(p=a.memoizedState!==null||Vr,!p){t=t!==null&&t.memoizedState!==null||ta,y=Vr;var S=ta;Vr=p,(ta=t)&&!S?(qn(e,a,(a.subtreeFlags&8772)!==0),(a.mode&Ze)!==ze&&0<=Oe&&0<=ke&&0.05<ke-Oe&&Wf(a,Oe,ke)):Gn(e,a),Vr=y,ta=S}break;case 30:break;default:Gn(e,a)}(a.mode&Ze)!==ze&&0<=Oe&&0<=ke&&((Vt||0.05<Ht)&&_n(a,Oe,ke,Ht,zt),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&0.05<ke-Oe&&(j3(a.return.alternate,a.return)||kn(a,Oe,ke,"Mount"))),So(n),In(l),zt=s,Vt=d}function q3(e){var t=e.alternate;t!==null&&(e.alternate=null,q3(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&fe(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pr(e,t,a){for(a=a.child;a!==null;)Y3(e,t,a),a=a.sibling}function Y3(e,t,a){if(_a&&typeof _a.onCommitFiberUnmount==="function")try{_a.onCommitFiberUnmount(mc,a)}catch(S){Jn||(Jn=!0,console.error("React instrumentation encountered an error: %o",S))}var n=xo(),l=Bn(),s=Hn(),d=Fn();switch(a.tag){case 26:ta||jn(a,t),Pr(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(e=a.stateNode,e.parentNode.removeChild(e));break;case 27:ta||jn(a,t);var p=aa,y=ro;El(a.type)&&(aa=a.stateNode,ro=!1),Pr(e,t,a),me(a,ld,a.stateNode),aa=p,ro=y;break;case 5:ta||jn(a,t);case 6:if(p=aa,y=ro,aa=null,Pr(e,t,a),aa=p,ro=y,aa!==null)if(ro)try{me(a,yR,aa,a.stateNode)}catch(S){$t(a,t,S)}else try{me(a,$R,aa,a.stateNode)}catch(S){$t(a,t,S)}break;case 18:aa!==null&&(ro?(e=aa,Z5(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),uc(e)):Z5(aa,a.stateNode));break;case 4:p=aa,y=ro,aa=a.stateNode.containerInfo,ro=!0,Pr(e,t,a),aa=p,ro=y;break;case 0:case 11:case 14:case 15:ac(Ga,a,t),ta||gh(a,t,Mo),Pr(e,t,a);break;case 1:ta||(jn(a,t),p=a.stateNode,typeof p.componentWillUnmount==="function"&&H3(a,t,p)),Pr(e,t,a);break;case 21:Pr(e,t,a);break;case 22:ta=(p=ta)||a.memoizedState!==null,Pr(e,t,a),ta=p;break;default:Pr(e,t,a)}(a.mode&Ze)!==ze&&0<=Oe&&0<=ke&&(Vt||0.05<Ht)&&_n(a,Oe,ke,Ht,zt),So(n),In(l),zt=s,Vt=d}function X3(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{me(t,PR,e)}catch(a){$t(t,t.return,a)}}}function Q3(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{me(t,MR,e)}catch(a){$t(t,t.return,a)}}function qT(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new x6),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new x6),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function _p(e,t){var a=qT(e);t.forEach(function(n){if(!a.has(n)){if(a.add(n),er)if(Ic!==null&&Hc!==null)td(Hc,Ic);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var l=aR.bind(null,e,n);n.then(l,l)}})}function oo(e,t){var a=t.deletions;if(a!==null)for(var n=0;n<a.length;n++){var l=e,s=t,d=a[n],p=xo(),y=s;e:for(;y!==null;){switch(y.tag){case 27:if(El(y.type)){aa=y.stateNode,ro=!1;break e}break;case 5:aa=y.stateNode,ro=!1;break e;case 3:case 4:aa=y.stateNode.containerInfo,ro=!0;break e}y=y.return}if(aa===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Y3(l,s,d),aa=null,ro=!1,(d.mode&Ze)!==ze&&0<=Oe&&0<=ke&&0.05<ke-Oe&&kn(d,Oe,ke,"Unmount"),So(p),l=d,s=l.alternate,s!==null&&(s.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Z3(t,e),t=t.sibling}function Z3(e,t){var a=xo(),n=Bn(),l=Hn(),s=Fn(),d=e.alternate,p=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:oo(t,e),no(e),p&4&&(ac(Ga|Jo,e,e.return),Qu(Ga|Jo,e),gh(e,e.return,Mo|Jo));break;case 1:if(oo(t,e),no(e),p&512&&(ta||d===null||jn(d,d.return)),p&64&&Vr&&(p=e.updateQueue,p!==null&&(d=p.callbacks,d!==null))){var y=p.shared.hiddenCallbacks;p.shared.hiddenCallbacks=y===null?d:y.concat(d)}break;case 26:if(y=yn,oo(t,e),no(e),p&512&&(ta||d===null||jn(d,d.return)),p&4){var S=d!==null?d.memoizedState:null;if(p=e.memoizedState,d===null)if(p===null)if(e.stateNode===null){e:{p=e.type,d=e.memoizedProps,y=y.ownerDocument||y;t:switch(p){case"title":if(S=y.getElementsByTagName("title")[0],!S||S[pd]||S[Da]||S.namespaceURI===gc||S.hasAttribute("itemprop"))S=y.createElement(p),y.head.insertBefore(S,y.querySelector("head > title"));wa(S,p,d),S[Da]=e,Me(S),p=S;break e;case"link":var k=s8("link","href",y).get(p+(d.href||""));if(k){for(var _=0;_<k.length;_++)if(S=k[_],S.getAttribute("href")===(d.href==null||d.href===""?null:d.href)&&S.getAttribute("rel")===(d.rel==null?null:d.rel)&&S.getAttribute("title")===(d.title==null?null:d.title)&&S.getAttribute("crossorigin")===(d.crossOrigin==null?null:d.crossOrigin)){k.splice(_,1);break t}}S=y.createElement(p),wa(S,p,d),y.head.appendChild(S);break;case"meta":if(k=s8("meta","content",y).get(p+(d.content||""))){for(_=0;_<k.length;_++)if(S=k[_],Te(d.content,"content"),S.getAttribute("content")===(d.content==null?null:""+d.content)&&S.getAttribute("name")===(d.name==null?null:d.name)&&S.getAttribute("property")===(d.property==null?null:d.property)&&S.getAttribute("http-equiv")===(d.httpEquiv==null?null:d.httpEquiv)&&S.getAttribute("charset")===(d.charSet==null?null:d.charSet)){k.splice(_,1);break t}}S=y.createElement(p),wa(S,p,d),y.head.appendChild(S);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+p+'". This is a bug in React.')}S[Da]=e,Me(S),p=S}e.stateNode=p}else c8(y,e.type,e.stateNode);else e.stateNode=i8(y,p,e.memoizedProps);else S!==p?(S===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):S.count--,p===null?c8(y,e.type,e.stateNode):i8(y,p,e.memoizedProps)):p===null&&e.stateNode!==null&&$h(e,e.memoizedProps,d.memoizedProps)}break;case 27:oo(t,e),no(e),p&512&&(ta||d===null||jn(d,d.return)),d!==null&&p&4&&$h(e,e.memoizedProps,d.memoizedProps);break;case 5:if(oo(t,e),no(e),p&512&&(ta||d===null||jn(d,d.return)),e.flags&32){y=e.stateNode;try{me(e,X5,y)}catch($e){$t(e,e.return,$e)}}p&4&&e.stateNode!=null&&(y=e.memoizedProps,$h(e,y,d!==null?d.memoizedProps:y)),p&1024&&(ey=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(oo(t,e),no(e),p&4){if(e.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.");p=e.memoizedProps,d=d!==null?d.memoizedProps:p,y=e.stateNode;try{me(e,hR,y,d,p)}catch($e){$t(e,e.return,$e)}}break;case 3:if(y=wr(),Wm=null,S=yn,yn=Kp(t.containerInfo),oo(t,e),yn=S,no(e),p&4&&d!==null&&d.memoizedState.isDehydrated)try{me(e,AR,t.containerInfo)}catch($e){$t(e,e.return,$e)}ey&&(ey=!1,W3(e)),t.effectDuration+=sp(y);break;case 4:p=yn,yn=Kp(e.stateNode.containerInfo),oo(t,e),no(e),yn=p;break;case 12:p=wr(),oo(t,e),no(e),e.stateNode.effectDuration+=Iu(p);break;case 31:oo(t,e),no(e),p&4&&(p=e.updateQueue,p!==null&&(e.updateQueue=null,_p(e,p)));break;case 13:oo(t,e),no(e),e.child.flags&8192&&e.memoizedState!==null!==(d!==null&&d.memoizedState!==null)&&(zm=ba()),p&4&&(p=e.updateQueue,p!==null&&(e.updateQueue=null,_p(e,p)));break;case 22:y=e.memoizedState!==null;var A=d!==null&&d.memoizedState!==null,G=Vr,ie=ta;if(Vr=G||y,ta=ie||A,oo(t,e),ta=ie,Vr=G,A&&!y&&!G&&!ie&&(e.mode&Ze)!==ze&&0<=Oe&&0<=ke&&0.05<ke-Oe&&Wf(e,Oe,ke),no(e),p&8192)e:for(t=e.stateNode,t._visibility=y?t._visibility&~Sd:t._visibility|Sd,!y||d===null||A||Vr||ta||(Hi(e),(e.mode&Ze)!==ze&&0<=Oe&&0<=ke&&0.05<ke-Oe&&kn(e,Oe,ke,"Disconnect")),d=null,t=e;;){if(t.tag===5||t.tag===26){if(d===null){A=d=t;try{S=A.stateNode,y?me(A,xR,S):me(A,ER,A.stateNode,A.memoizedProps)}catch($e){$t(A,A.return,$e)}}}else if(t.tag===6){if(d===null){A=t;try{k=A.stateNode,y?me(A,SR,k):me(A,TR,k,A.memoizedProps)}catch($e){$t(A,A.return,$e)}}}else if(t.tag===18){if(d===null){A=t;try{_=A.stateNode,y?me(A,vR,_):me(A,CR,A.stateNode)}catch($e){$t(A,A.return,$e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;d===t&&(d=null),t=t.return}d===t&&(d=null),t.sibling.return=t.return,t=t.sibling}p&4&&(p=e.updateQueue,p!==null&&(d=p.retryQueue,d!==null&&(p.retryQueue=null,_p(e,d))));break;case 19:oo(t,e),no(e),p&4&&(p=e.updateQueue,p!==null&&(e.updateQueue=null,_p(e,p)));break;case 30:break;case 21:break;default:oo(t,e),no(e)}(e.mode&Ze)!==ze&&0<=Oe&&0<=ke&&((Vt||0.05<Ht)&&_n(e,Oe,ke,Ht,zt),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&0.05<ke-Oe&&(j3(e.return.alternate,e.return)||kn(e,Oe,ke,"Mount"))),So(a),In(n),zt=l,Vt=s}function no(e){var t=e.flags;if(t&2){try{me(e,jT,e)}catch(a){$t(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function W3(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;W3(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Gn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)G3(e,t.alternate,t),t=t.sibling}function J3(e){var t=xo(),a=Bn(),n=Hn(),l=Fn();switch(e.tag){case 0:case 11:case 14:case 15:gh(e,e.return,Mo),Hi(e);break;case 1:jn(e,e.return);var s=e.stateNode;typeof s.componentWillUnmount==="function"&&H3(e,e.return,s),Hi(e);break;case 27:me(e,ld,e.stateNode);case 26:case 5:jn(e,e.return),Hi(e);break;case 22:e.memoizedState===null&&Hi(e);break;case 30:Hi(e);break;default:Hi(e)}(e.mode&Ze)!==ze&&0<=Oe&&0<=ke&&(Vt||0.05<Ht)&&_n(e,Oe,ke,Ht,zt),So(t),In(a),zt=n,Vt=l}function Hi(e){for(e=e.child;e!==null;)J3(e),e=e.sibling}function e5(e,t,a,n){var l=xo(),s=Bn(),d=Hn(),p=Fn(),y=a.flags;switch(a.tag){case 0:case 11:case 15:qn(e,a,n),z3(a,Mo);break;case 1:if(qn(e,a,n),t=a.stateNode,typeof t.componentDidMount==="function"&&me(a,F$,a,t),t=a.updateQueue,t!==null){e=a.stateNode;try{me(a,AT,t,e)}catch(S){$t(a,a.return,S)}}n&&y&64&&I3(a),Zu(a,a.return);break;case 27:K3(a);case 26:case 5:qn(e,a,n),n&&t===null&&y&4&&U3(a),Zu(a,a.return);break;case 12:if(n&&y&4){y=wr(),qn(e,a,n),n=a.stateNode,n.effectDuration+=Iu(y);try{me(a,F3,a,t,Ll,n.effectDuration)}catch(S){$t(a,a.return,S)}}else qn(e,a,n);break;case 31:qn(e,a,n),n&&y&4&&X3(e,a);break;case 13:qn(e,a,n),n&&y&4&&Q3(e,a);break;case 22:a.memoizedState===null&&qn(e,a,n),Zu(a,a.return);break;case 30:break;default:qn(e,a,n)}(a.mode&Ze)!==ze&&0<=Oe&&0<=ke&&(Vt||0.05<Ht)&&_n(a,Oe,ke,Ht,zt),So(l),In(s),zt=d,Vt=p}function qn(e,t,a){a=a&&(t.subtreeFlags&8772)!==0;for(t=t.child;t!==null;)e5(e,t.alternate,t,a),t=t.sibling}function xh(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&ki(e),a!=null&&Bu(a))}function Sh(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(ki(t),e!=null&&Bu(e))}function pn(e,t,a,n,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var s=t.sibling;t5(e,t,a,n,s!==null?s.actualStartTime:l),t=s}}function t5(e,t,a,n,l){var s=xo(),d=Bn(),p=Hn(),y=Fn(),S=Pl,k=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Ze)!==ze&&0<t.actualStartTime&&(t.flags&1)!==0&&Jf(t,t.actualStartTime,l,ca,a),pn(e,t,a,n,l),k&2048&&B3(t,qa|Jo);break;case 1:(t.mode&Ze)!==ze&&0<t.actualStartTime&&((t.flags&128)!==0?rg(t,t.actualStartTime,l,[]):(t.flags&1)!==0&&Jf(t,t.actualStartTime,l,ca,a)),pn(e,t,a,n,l);break;case 3:var _=wr(),A=ca;ca=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,pn(e,t,a,n,l),ca=A,k&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),n=t.memoizedState.cache,n!==a&&(ki(n),a!=null&&Bu(a))),e.passiveEffectDuration+=sp(_);break;case 12:if(k&2048){k=wr(),pn(e,t,a,n,l),e=t.stateNode,e.passiveEffectDuration+=Iu(k);try{me(t,KT,t,t.alternate,Ll,e.passiveEffectDuration)}catch(G){$t(t,t.return,G)}}else pn(e,t,a,n,l);break;case 31:k=ca,_=t.alternate!==null?t.alternate.memoizedState:null,A=t.memoizedState,_!==null&&A===null?(A=t.deletions,A!==null&&0<A.length&&A[0].tag===18?(ca=!1,_=_.hydrationErrors,_!==null&&rg(t,t.actualStartTime,l,_)):ca=!0):ca=!1,pn(e,t,a,n,l),ca=k;break;case 13:k=ca,_=t.alternate!==null?t.alternate.memoizedState:null,A=t.memoizedState,_===null||_.dehydrated===null||A!==null&&A.dehydrated!==null?ca=!1:(A=t.deletions,A!==null&&0<A.length&&A[0].tag===18?(ca=!1,_=_.hydrationErrors,_!==null&&rg(t,t.actualStartTime,l,_)):ca=!0),pn(e,t,a,n,l),ca=k;break;case 23:break;case 22:A=t.stateNode,_=t.alternate,t.memoizedState!==null?A._visibility&Nr?pn(e,t,a,n,l):Wu(e,t,a,n,l):A._visibility&Nr?pn(e,t,a,n,l):(A._visibility|=Nr,oc(e,t,a,n,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),l),(t.mode&Ze)===ze||ca||(e=t.actualStartTime,0<=e&&0.05<l-e&&Wf(t,e,l),0<=Oe&&0<=ke&&0.05<ke-Oe&&Wf(t,Oe,ke))),k&2048&&xh(_,t);break;case 24:pn(e,t,a,n,l),k&2048&&Sh(t.alternate,t);break;default:pn(e,t,a,n,l)}if((t.mode&Ze)!==ze){if(e=!ca&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)a=t.actualStartTime,0<=a&&0.05<l-a&&kn(t,a,l,"Mount");0<=Oe&&0<=ke&&((Vt||0.05<Ht)&&_n(t,Oe,ke,Ht,zt),e&&0.05<ke-Oe&&kn(t,Oe,ke,"Mount"))}So(s),In(d),zt=p,Vt=y,Pl=S}function oc(e,t,a,n,l,s){l=l&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child));for(t=t.child;t!==null;){var d=t.sibling;a5(e,t,a,n,l,d!==null?d.actualStartTime:s),t=d}}function a5(e,t,a,n,l,s){var d=xo(),p=Bn(),y=Hn(),S=Fn(),k=Pl;l&&(t.mode&Ze)!==ze&&0<t.actualStartTime&&(t.flags&1)!==0&&Jf(t,t.actualStartTime,s,ca,a);var _=t.flags;switch(t.tag){case 0:case 11:case 15:oc(e,t,a,n,l,s),B3(t,qa);break;case 23:break;case 22:var A=t.stateNode;t.memoizedState!==null?A._visibility&Nr?oc(e,t,a,n,l,s):Wu(e,t,a,n,s):(A._visibility|=Nr,oc(e,t,a,n,l,s)),l&&_&2048&&xh(t.alternate,t);break;case 24:oc(e,t,a,n,l,s),l&&_&2048&&Sh(t.alternate,t);break;default:oc(e,t,a,n,l,s)}(t.mode&Ze)!==ze&&0<=Oe&&0<=ke&&(Vt||0.05<Ht)&&_n(t,Oe,ke,Ht,zt),So(d),In(p),zt=y,Vt=S,Pl=k}function Wu(e,t,a,n,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var s=t.child;s!==null;){t=s.sibling;var d=e,p=a,y=n,S=t!==null?t.actualStartTime:l,k=Pl;(s.mode&Ze)!==ze&&0<s.actualStartTime&&(s.flags&1)!==0&&Jf(s,s.actualStartTime,S,ca,p);var _=s.flags;switch(s.tag){case 22:Wu(d,s,p,y,S),_&2048&&xh(s.alternate,s);break;case 24:Wu(d,s,p,y,S),_&2048&&Sh(s.alternate,s);break;default:Wu(d,s,p,y,S)}Pl=k,s=t}}function nc(e,t,a){if(e.subtreeFlags&Ud)for(e=e.child;e!==null;)o5(e,t,a),e=e.sibling}function o5(e,t,a){switch(e.tag){case 26:nc(e,t,a),e.flags&Ud&&e.memoizedState!==null&&kR(a,yn,e.memoizedState,e.memoizedProps);break;case 5:nc(e,t,a);break;case 3:case 4:var n=yn;yn=Kp(e.stateNode.containerInfo),nc(e,t,a),yn=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Ud,Ud=16777216,nc(e,t,a),Ud=n):nc(e,t,a));break;default:nc(e,t,a)}}function n5(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ju(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a],l=xo();ha=n,i5(n,e),(n.mode&Ze)!==ze&&0<=Oe&&0<=ke&&0.05<ke-Oe&&kn(n,Oe,ke,"Unmount"),So(l)}n5(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)r5(e),e=e.sibling}function r5(e){var t=xo(),a=Bn(),n=Hn(),l=Fn();switch(e.tag){case 0:case 11:case 15:Ju(e),e.flags&2048&&hh(e,e.return,qa|Jo);break;case 3:var s=wr();Ju(e),e.stateNode.passiveEffectDuration+=sp(s);break;case 12:s=wr(),Ju(e),e.stateNode.passiveEffectDuration+=Iu(s);break;case 22:s=e.stateNode,e.memoizedState!==null&&s._visibility&Nr&&(e.return===null||e.return.tag!==13)?(s._visibility&=~Nr,zp(e),(e.mode&Ze)!==ze&&0<=Oe&&0<=ke&&0.05<ke-Oe&&kn(e,Oe,ke,"Disconnect")):Ju(e);break;default:Ju(e)}(e.mode&Ze)!==ze&&0<=Oe&&0<=ke&&(Vt||0.05<Ht)&&_n(e,Oe,ke,Ht,zt),So(t),In(a),Vt=l,zt=n}function zp(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a],l=xo();ha=n,i5(n,e),(n.mode&Ze)!==ze&&0<=Oe&&0<=ke&&0.05<ke-Oe&&kn(n,Oe,ke,"Unmount"),So(l)}n5(e)}for(e=e.child;e!==null;)l5(e),e=e.sibling}function l5(e){var t=xo(),a=Bn(),n=Hn(),l=Fn();switch(e.tag){case 0:case 11:case 15:hh(e,e.return,qa),zp(e);break;case 22:var s=e.stateNode;s._visibility&Nr&&(s._visibility&=~Nr,zp(e));break;default:zp(e)}(e.mode&Ze)!==ze&&0<=Oe&&0<=ke&&(Vt||0.05<Ht)&&_n(e,Oe,ke,Ht,zt),So(t),In(a),Vt=l,zt=n}function i5(e,t){for(;ha!==null;){var a=ha,n=a,l=t,s=xo(),d=Bn(),p=Hn(),y=Fn();switch(n.tag){case 0:case 11:case 15:hh(n,l,qa);break;case 23:case 22:n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool,l!=null&&ki(l));break;case 24:Bu(n.memoizedState.cache)}if((n.mode&Ze)!==ze&&0<=Oe&&0<=ke&&(Vt||0.05<Ht)&&_n(n,Oe,ke,Ht,zt),So(s),In(d),Vt=y,zt=p,n=a.child,n!==null)n.return=a,ha=n;else e:for(a=e;ha!==null;){if(n=ha,s=n.sibling,d=n.return,q3(n),n===a){ha=null;break e}if(s!==null){s.return=d,ha=s;break e}ha=d}}}function YT(){bD.forEach(function(e){return e()})}function s5(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||Y.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Eo(e){if((ut&ua)!==$a&&Je!==0)return Je&-Je;var t=Y.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Ph()):B()}function c5(){if(io===0)if((Je&536870912)===0||it){var e=am;am<<=1,(am&3932160)===0&&(am=262144),io=e}else io=536870912;return e=Po.current,e!==null&&(e.flags|=32),io}function Ut(e,t,a){if(Vc&&console.error("useInsertionEffect must not schedule updates."),dy&&(Fm=!0),e===wt&&(St===ts||St===as)||e.cancelPendingCommit!==null)lc(e,0),Sl(e,Je,io,!1);if(ul(e,a),(ut&ua)!==$a&&e===wt){if(Wn)switch(t.tag){case 0:case 11:case 15:e=et&&j(et)||"Unknown",_6.has(e)||(_6.add(e),t=j(t)||"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",t,e,e));break;case 1:k6||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),k6=!0)}}else er&&wu(e,t,a),nR(t),e===wt&&((ut&ua)===$a&&(Vl|=a),Ft===Hl&&Sl(e,Je,io,!1)),Yn(e)}function u5(e,t,a){if((ut&(ua|Oo))!==$a)throw Error("Should not already be working.");if(Je!==0&&et!==null){var n=et,l=ba();switch(DS){case jd:case ts:var s=Dd;Ot&&((n=n._debugTask)?n.run(console.timeStamp.bind(console,"Suspended",s,l,jo,void 0,"primary-light")):console.timeStamp("Suspended",s,l,jo,void 0,"primary-light"));break;case as:s=Dd,Ot&&((n=n._debugTask)?n.run(console.timeStamp.bind(console,"Action",s,l,jo,void 0,"primary-light")):console.timeStamp("Action",s,l,jo,void 0,"primary-light"));break;default:Ot&&(n=l-Dd,3>n||console.timeStamp("Blocked",Dd,l,jo,void 0,5>n?"primary-light":10>n?"primary":100>n?"primary-dark":"error"))}}s=(a=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Si(e,t))?QT(e,t):Eh(e,t,!0);var d=a;do{if(s===Kr){Fc&&!a&&Sl(e,t,0,!1),t=St,Dd=Wt(),DS=t;break}else{if(n=ba(),l=e.current.alternate,d&&!XT(l)){yo(t),l=ga,s=n,!Ot||s<=l||(Gt?Gt.run(console.timeStamp.bind(console,"Teared Render",l,s,rt,nt,"error")):console.timeStamp("Teared Render",l,s,rt,nt,"error")),Fi(t,n),s=Eh(e,t,!1),d=!1;continue}if(s===es){if(d=t,e.errorRecoveryDisabledLanes&d)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){yo(t),lg(ga,n,t,Gt),Fi(t,n),t=p;e:{n=e,s=d,d=qd;var y=n.current.memoizedState.isDehydrated;if(y&&(lc(n,p).flags|=256),p=Eh(n,p,!1),p!==es){if(oy&&!y){n.errorRecoveryDisabledLanes|=s,Vl|=s,s=Hl;break e}n=Ya,Ya=d,n!==null&&(Ya===null?Ya=n:Ya.push.apply(Ya,n))}s=p}if(d=!1,s!==es)continue;else n=ba()}}if(s===Kd){yo(t),lg(ga,n,t,Gt),Fi(t,n),lc(e,0),Sl(e,t,0,!0);break}e:{switch(a=e,s){case Kr:case Kd:throw Error("Root did not complete. This is a bug in React.");case Hl:if((t&4194048)!==t)break;case Nm:yo(t),u4(ga,n,t,Gt),Fi(t,n),l=t,(l&127)!==0?$m=n:(l&4194048)!==0&&(ym=n),Sl(a,t,io,!Fl);break e;case es:Ya=null;break;case Om:case S6:break;default:throw Error("Unknown root exit status.")}if(Y.actQueue!==null)Th(a,l,t,Ya,Yd,_m,io,Vl,os,s,null,null,ga,n);else{if((t&62914560)===t&&(d=zm+T6-ba(),10<d)){if(Sl(a,t,io,!Fl),xi(a,0,!0)!==0)break e;vn=t,a.timeoutHandle=K6(d5.bind(null,a,l,Ya,Yd,_m,t,io,Vl,os,Fl,s,"Throttled",ga,n),d);break e}d5(a,l,Ya,Yd,_m,t,io,Vl,os,Fl,s,null,ga,n)}}}break}while(1);Yn(e)}function d5(e,t,a,n,l,s,d,p,y,S,k,_,A,G){e.timeoutHandle=ss;var ie=t.subtreeFlags,$e=null;if(ie&8192||(ie&16785408)===16785408){if($e={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Cr},o5(t,s,$e),ie=(s&62914560)===s?zm-ba():(s&4194048)===s?E6-ba():0,ie=_R($e,ie),ie!==null){vn=s,e.cancelPendingCommit=ie(Th.bind(null,e,t,s,a,n,l,d,p,y,k,$e,$e.waitingForViewTransition?"Waiting for the previous Animation":0<$e.count?0<$e.imgCount?"Suspended on CSS and Images":"Suspended on CSS":$e.imgCount===1?"Suspended on an Image":0<$e.imgCount?"Suspended on Images":null,A,G)),Sl(e,s,d,!S);return}}Th(e,t,s,a,n,l,d,p,y,k,$e,_,A,G)}function XT(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var n=0;n<a.length;n++){var l=a[n],s=l.getSnapshot;l=l.value;try{if(!Ka(s(),l))return!1}catch(d){return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Sl(e,t,a,n){t&=~ny,t&=~Vl,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var l=t;0<l;){var s=31-Fa(l),d=1<<s;n[s]=-1,l&=~d}a!==0&&Ci(e,a,t)}function rc(){return(ut&(ua|Oo))===$a?(ad(0,!1),!1):!0}function Ch(){if(et!==null){if(St===lo)var e=et.return;else e=et,rp(),Lg(e),Oc=null,zd=0,e=et;for(;e!==null;)_3(e.alternate,e),e=e.return;et=null}}function Fi(e,t){(e&127)!==0&&(kl=t),(e&4194048)!==0&&(rr=t),(e&62914560)!==0&&(RS=t),(e&2080374784)!==0&&(wS=t)}function lc(e,t){Ot&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",nt,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",nt,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",nt,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",nt,"primary-light"));var a=ga;if(ga=Wt(),Je!==0&&0<a){if(yo(Je),Ft===Om||Ft===Hl)u4(a,ga,t,Gt);else{var n=ga,l=Gt;if(Ot&&!(n<=a)){var s=(t&738197653)===t?"tertiary-dark":"primary-dark",d=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";l?l.run(console.timeStamp.bind(console,d,a,n,rt,nt,s)):console.timeStamp(d,a,n,rt,nt,s)}}Fi(Je,ga)}if(a=Gt,Gt=null,(t&127)!==0){Gt=Td,l=0<=nr&&nr<kl?kl:nr,n=0<=Gi&&Gi<kl?kl:Gi,s=0<=n?n:0<=l?l:ga,0<=$m?(yo(2),d4($m,s,t,a)):(vm&127)!==0&&(yo(2),_u(kl,s,Ir)),a=l;var p=n,y=Rd,S=0<Ac,k=_l===Ed,_=_l===hm;if(l=ga,n=Td,s=_$,d=z$,Ot){if(rt="Blocking",0<a?a>l&&(a=l):a=l,0<p?p>a&&(p=a):p=a,y!==null&&a>p){var A=S?"secondary-light":"warning";n?n.run(console.timeStamp.bind(console,S?"Consecutive":"Event: "+y,p,a,rt,nt,A)):console.timeStamp(S?"Consecutive":"Event: "+y,p,a,rt,nt,A)}l>a&&(p=k?"error":(t&738197653)===t?"tertiary-light":"primary-light",k=_?"Promise Resolved":k?"Cascading Update":5<l-a?"Update Blocked":"Update",_=[],d!=null&&_.push(["Component name",d]),s!=null&&_.push(["Method name",s]),a={start:a,end:l,detail:{devtools:{properties:_,track:rt,trackGroup:nt,color:p}}},n?n.run(performance.measure.bind(performance,k,a)):performance.measure(k,a))}nr=-1.1,_l=0,z$=_$=null,$m=-1.1,Ac=Gi,Gi=-1.1,kl=Wt()}if((t&4194048)!==0&&(Gt=wd,l=0<=Br&&Br<rr?rr:Br,a=0<=Zo&&Zo<rr?rr:Zo,n=0<=zl&&zl<rr?rr:zl,s=0<=n?n:0<=a?a:ga,0<=ym?(yo(256),d4(ym,s,t,Gt)):(vm&4194048)!==0&&(yo(256),_u(rr,s,Ir)),_=n,p=qi,y=0<Bl,S=B$===hm,s=ga,n=wd,d=ES,k=TS,Ot&&(rt="Transition",0<a?a>s&&(a=s):a=s,0<l?l>a&&(l=a):l=a,0<_?_>l&&(_=l):_=l,l>_&&p!==null&&(A=y?"secondary-light":"warning",n?n.run(console.timeStamp.bind(console,y?"Consecutive":"Event: "+p,_,l,rt,nt,A)):console.timeStamp(y?"Consecutive":"Event: "+p,_,l,rt,nt,A)),a>l&&(n?n.run(console.timeStamp.bind(console,"Action",l,a,rt,nt,"primary-dark")):console.timeStamp("Action",l,a,rt,nt,"primary-dark")),s>a&&(l=S?"Promise Resolved":5<s-a?"Update Blocked":"Update",_=[],k!=null&&_.push(["Component name",k]),d!=null&&_.push(["Method name",d]),a={start:a,end:s,detail:{devtools:{properties:_,track:rt,trackGroup:nt,color:"primary-light"}}},n?n.run(performance.measure.bind(performance,l,a)):performance.measure(l,a))),Zo=Br=-1.1,B$=0,ym=-1.1,Bl=zl,zl=-1.1,rr=Wt()),(t&62914560)!==0&&(vm&62914560)!==0&&(yo(4194304),_u(RS,ga,Ir)),(t&2080374784)!==0&&(vm&2080374784)!==0&&(yo(268435456),_u(wS,ga,Ir)),a=e.timeoutHandle,a!==ss&&(e.timeoutHandle=ss,DD(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),vn=0,Ch(),wt=e,et=a=Er(e.current,null),Je=t,St=lo,No=null,Fl=!1,Fc=Si(e,t),oy=!1,Ft=Kr,os=io=ny=Vl=Ul=0,Ya=qd=null,_m=!1,(t&8)!==0&&(t|=t&32),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=t;0<n;)l=31-Fa(n),s=1<<l,t|=e[l],n&=~s;return ir=t,ep(),e=$S(),1000<e-hS&&(Y.recentlyCreatedOwnerStacks=0,hS=e),hn.discardPendingWarnings(),a}function f5(e,t){Be=null,Y.H=Fd,Y.getCurrentStack=null,Wn=!1,wo=null,t===Mc||t===Em?(t=N4(),St=jd):t===U$?(t=N4(),St=C6):St=t===W$?ay:t!==null&&typeof t==="object"&&typeof t.then==="function"?Gd:Lm,No=t;var a=et;a===null?(Ft=Kd,Pp(e,vo(t,e.current))):a.mode&Ze&&xg(a)}function p5(){var e=Po.current;return e===null?!0:(Je&4194048)===Je?Wo===null?!0:!1:(Je&62914560)===Je||(Je&536870912)!==0?e===Wo:!1}function m5(){var e=Y.H;return Y.H=Fd,e===null?Fd:e}function b5(){var e=Y.A;return Y.A=mD,e}function Bp(e){Gt===null&&(Gt=e._debugTask==null?null:e._debugTask)}function Ip(){Ft=Hl,Fl||(Je&4194048)!==Je&&Po.current!==null||(Fc=!0),(Ul&134217727)===0&&(Vl&134217727)===0||wt===null||Sl(wt,Je,io,!1)}function Eh(e,t,a){var n=ut;ut|=ua;var l=m5(),s=b5();if(wt!==e||Je!==t){if(er){var d=e.memoizedUpdaters;0<d.size&&(td(e,Je),d.clear()),dl(e,t)}Yd=null,lc(e,t)}t=!1,d=Ft;e:do try{if(St!==lo&&et!==null){var p=et,y=No;switch(St){case ay:Ch(),d=Nm;break e;case jd:case ts:case as:case Gd:Po.current===null&&(t=!0);var S=St;if(St=lo,No=null,ic(e,p,y,S),a&&Fc){d=Kr;break e}break;default:S=St,St=lo,No=null,ic(e,p,y,S)}}g5(),d=Ft;break}catch(k){f5(e,k)}while(1);return t&&e.shellSuspendCounter++,rp(),ut=n,Y.H=l,Y.A=s,et===null&&(wt=null,Je=0,ep()),d}function g5(){for(;et!==null;)h5(et)}function QT(e,t){var a=ut;ut|=ua;var n=m5(),l=b5();if(wt!==e||Je!==t){if(er){var s=e.memoizedUpdaters;0<s.size&&(td(e,Je),s.clear()),dl(e,t)}Yd=null,Bm=ba()+R6,lc(e,t)}else Fc=Si(e,t);e:do try{if(St!==lo&&et!==null)t:switch(t=et,s=No,St){case Lm:St=lo,No=null,ic(e,t,s,Lm);break;case ts:case as:if(M4(s)){St=lo,No=null,$5(t);break}t=function(){St!==ts&&St!==as||wt!==e||(St=km),Yn(e)},s.then(t,t);break e;case jd:St=km;break e;case C6:St=ty;break e;case km:M4(s)?(St=lo,No=null,$5(t)):(St=lo,No=null,ic(e,t,s,km));break;case ty:var d=null;switch(et.tag){case 26:d=et.memoizedState;case 5:case 27:var p=et;if(d?u8(d):p.stateNode.complete){St=lo,No=null;var y=p.sibling;if(y!==null)et=y;else{var S=p.return;S!==null?(et=S,Hp(S)):et=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}St=lo,No=null,ic(e,t,s,ty);break;case Gd:St=lo,No=null,ic(e,t,s,Gd);break;case ay:Ch(),Ft=Nm;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Y.actQueue!==null?g5():ZT();break}catch(k){f5(e,k)}while(1);if(rp(),Y.H=n,Y.A=l,ut=a,et!==null)return Kr;return wt=null,Je=0,ep(),Ft}function ZT(){for(;et!==null&&!XR();)h5(et)}function h5(e){var t=e.alternate;(e.mode&Ze)!==ze?(vg(e),t=me(e,mh,t,e,ir),xg(e)):t=me(e,mh,t,e,ir),e.memoizedProps=e.pendingProps,t===null?Hp(e):et=t}function $5(e){var t=me(e,WT,e);e.memoizedProps=e.pendingProps,t===null?Hp(e):et=t}function WT(e){var t=e.alternate,a=(e.mode&Ze)!==ze;switch(a&&vg(e),e.tag){case 15:case 0:t=A3(t,e,e.pendingProps,e.type,void 0,Je);break;case 11:t=A3(t,e,e.pendingProps,e.type.render,e.ref,Je);break;case 5:Lg(e);default:_3(t,e),e=et=h4(e,ir),t=mh(t,e,ir)}return a&&xg(e),t}function ic(e,t,a,n){rp(),Lg(t),Oc=null,zd=0;var l=t.return;try{if(_T(e,l,t,a,Je)){Ft=Kd,Pp(e,vo(a,e.current)),et=null;return}}catch(s){if(l!==null)throw et=l,s;Ft=Kd,Pp(e,vo(a,e.current)),et=null;return}if(t.flags&32768){if(it||n===Lm)e=!0;else if(Fc||(Je&536870912)!==0)e=!1;else if(Fl=e=!0,n===ts||n===as||n===jd||n===Gd)n=Po.current,n!==null&&n.tag===13&&(n.flags|=16384);y5(t,e)}else Hp(t)}function Hp(e){var t=e;do{if((t.flags&32768)!==0){y5(t,Fl);return}var a=t.alternate;if(e=t.return,vg(t),a=me(t,IT,a,t,ir),(t.mode&Ze)!==ze&&R4(t),a!==null){et=a;return}if(t=t.sibling,t!==null){et=t;return}et=t=e}while(t!==null);Ft===Kr&&(Ft=S6)}function y5(e,t){do{var a=HT(e.alternate,e);if(a!==null){a.flags&=32767,et=a;return}if((e.mode&Ze)!==ze){R4(e),a=e.actualDuration;for(var n=e.child;n!==null;)a+=n.actualDuration,n=n.sibling;e.actualDuration=a}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){et=e;return}et=e=a}while(e!==null);Ft=Nm,et=null}function Th(e,t,a,n,l,s,d,p,y,S,k,_,A,G){e.cancelPendingCommit=null;do ed();while(oa!==jl);if(hn.flushLegacyContextWarning(),hn.flushPendingUnsafeLifecycleWarnings(),(ut&(ua|Oo))!==$a)throw Error("Should not already be working.");if(yo(a),S===es?lg(A,G,a,Gt):n!==null?CT(A,G,a,n,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,Gt):ST(A,G,a,Gt),t!==null){if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.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(s=t.lanes|t.childLanes,s|=M$,Vf(e,a,s,d,p,y),e===wt&&(et=wt=null,Je=0),Uc=t,Gl=e,vn=a,iy=s,cy=l,O6=n,sy=G,N6=_,xn=Im,L6=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,oR(pc,function(){return ef=window.event,xn===Im&&(xn=ly),E5(),null})):(e.callbackNode=null,e.callbackPriority=0),zr=null,Ll=Wt(),_!==null&&ET(G,Ll,_,Gt),n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=Y.T,Y.T=null,l=yt.p,yt.p=Do,d=ut,ut|=Oo;try{GT(e,t,a)}finally{ut=d,yt.p=l,Y.T=n}}oa=D6,v5(),x5(),S5()}}function v5(){if(oa===D6){oa=jl;var e=Gl,t=Uc,a=vn,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=Y.T,Y.T=null;var l=yt.p;yt.p=Do;var s=ut;ut|=Oo;try{Ic=a,Hc=e,cp(),Z3(t,e),Hc=Ic=null,a=vy;var d=i4(e.containerInfo),p=a.focusedElem,y=a.selectionRange;if(d!==p&&p&&p.ownerDocument&&l4(p.ownerDocument.documentElement,p)){if(y!==null&&og(p)){var{start:S,end:k}=y;if(k===void 0&&(k=S),"selectionStart"in p)p.selectionStart=S,p.selectionEnd=Math.min(k,p.value.length);else{var _=p.ownerDocument||document,A=_&&_.defaultView||window;if(A.getSelection){var G=A.getSelection(),ie=p.textContent.length,$e=Math.min(y.start,ie),Pt=y.end===void 0?$e:Math.min(y.end,ie);!G.extend&&$e>Pt&&(d=Pt,Pt=$e,$e=d);var ct=r4(p,$e),D=r4(p,Pt);if(ct&&D&&(G.rangeCount!==1||G.anchorNode!==ct.node||G.anchorOffset!==ct.offset||G.focusNode!==D.node||G.focusOffset!==D.offset)){var P=_.createRange();P.setStart(ct.node,ct.offset),G.removeAllRanges(),$e>Pt?(G.addRange(P),G.extend(D.node,D.offset)):(P.setEnd(D.node,D.offset),G.addRange(P))}}}}_=[];for(G=p;G=G.parentNode;)G.nodeType===1&&_.push({element:G,left:G.scrollLeft,top:G.scrollTop});typeof p.focus==="function"&&p.focus();for(p=0;p<_.length;p++){var N=_[p];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}tb=!!yy,vy=yy=null}finally{ut=s,yt.p=l,Y.T=n}}e.current=t,oa=A6}}function x5(){if(oa===A6){oa=jl;var e=L6;if(e!==null){Ll=Wt();var t=_r,a=Ll;!Ot||a<=t||(Ir?Ir.run(console.timeStamp.bind(console,e,t,a,rt,nt,"secondary-light")):console.timeStamp(e,t,a,rt,nt,"secondary-light"))}e=Gl,t=Uc,a=vn;var n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=Y.T,Y.T=null;var l=yt.p;yt.p=Do;var s=ut;ut|=Oo;try{Ic=a,Hc=e,cp(),G3(e,t.alternate,t),Hc=Ic=null}finally{ut=s,yt.p=l,Y.T=n}}e=sy,t=N6,_r=Wt(),e=t===null?e:Ll,t=_r,a=xn===ry,n=Gt,zr!==null?f4(e,t,zr,!1,n):!Ot||t<=e||(n?n.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",e,t,rt,nt,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",e,t,rt,nt,a?"error":"secondary-dark")),oa=P6}}function S5(){if(oa===M6||oa===P6){if(oa===M6){var e=_r;_r=Wt();var t=_r,a=xn===ry;!Ot||t<=e||(Ir?Ir.run(console.timeStamp.bind(console,a?"Interrupted View Transition":"Starting Animation",e,t,rt,nt,a?"error":"secondary-light")):console.timeStamp(a?"Interrupted View Transition":"Starting Animation",e,t,rt,nt,a?" error":"secondary-light")),xn!==ry&&(xn=w6)}oa=jl,QR(),e=Gl;var n=Uc;t=vn,a=O6;var l=n.actualDuration!==0||(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0;l?oa=Hm:(oa=jl,Uc=Gl=null,C5(e,e.pendingLanes),ns=0,Qd=null);var s=e.pendingLanes;if(s===0&&(Kl=null),l||D5(e),s=E(t),n=n.stateNode,_a&&typeof _a.onCommitFiberRoot==="function")try{var d=(n.current.flags&128)===128;switch(s){case Do:var p=c$;break;case bn:p=u$;break;case tr:p=pc;break;case nm:p=d$;break;default:p=pc}_a.onCommitFiberRoot(mc,n,p,d)}catch(_){Jn||(Jn=!0,console.error("React instrumentation encountered an error: %o",_))}if(er&&e.memoizedUpdaters.clear(),YT(),a!==null){d=Y.T,p=yt.p,yt.p=Do,Y.T=null;try{var y=e.onRecoverableError;for(n=0;n<a.length;n++){var S=a[n],k=JT(S.stack);me(S.source,y,S.value,k)}}finally{Y.T=d,yt.p=p}}(vn&3)!==0&&ed(),Yn(e),s=e.pendingLanes,(t&261930)!==0&&(s&42)!==0?(Sm=!0,e===uy?Xd++:(Xd=0,uy=e)):Xd=0,l||Fi(t,_r),ad(0,!1)}}function JT(e){return e={componentStack:e},Object.defineProperty(e,"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.')}}),e}function C5(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Bu(t)))}function ed(){return v5(),x5(),S5(),E5()}function E5(){if(oa!==Hm)return!1;var e=Gl,t=iy;iy=0;var a=E(vn),n=tr===0||tr>a?tr:a;a=Y.T;var l=yt.p;try{yt.p=n,Y.T=null;var s=cy;cy=null,n=Gl;var d=vn;if(oa=jl,Uc=Gl=null,vn=0,(ut&(ua|Oo))!==$a)throw Error("Cannot flush passive effects while already rendering.");yo(d),dy=!0,Fm=!1;var p=0;if(zr=null,p=ba(),xn===w6)_u(_r,p,Ir);else{var y=_r,S=p,k=xn===ly;!Ot||S<=y||(Gt?Gt.run(console.timeStamp.bind(console,k?"Waiting for Paint":"Waiting",y,S,rt,nt,"secondary-light")):console.timeStamp(k?"Waiting for Paint":"Waiting",y,S,rt,nt,"secondary-light"))}y=ut,ut|=Oo;var _=n.current;cp(),r5(_);var A=n.current;_=sy,cp(),t5(n,A,d,s,_),D5(n),ut=y;var G=ba();if(A=p,_=Gt,zr!==null?f4(A,G,zr,!0,_):!Ot||G<=A||(_?_.run(console.timeStamp.bind(console,"Remaining Effects",A,G,rt,nt,"secondary-dark")):console.timeStamp("Remaining Effects",A,G,rt,nt,"secondary-dark")),Fi(d,G),ad(0,!1),Fm?n===Qd?ns++:(ns=0,Qd=n):ns=0,Fm=dy=!1,_a&&typeof _a.onPostCommitFiberRoot==="function")try{_a.onPostCommitFiberRoot(mc,n)}catch($e){Jn||(Jn=!0,console.error("React instrumentation encountered an error: %o",$e))}var ie=n.current.stateNode;return ie.effectDuration=0,ie.passiveEffectDuration=0,!0}finally{yt.p=l,Y.T=a,C5(e,t)}}function T5(e,t,a){t=vo(a,t),w4(t),t=oh(e.stateNode,t,2),e=$l(e,t,2),e!==null&&(ul(e,2),Yn(e))}function $t(e,t,a){if(Vc=!1,e.tag===3)T5(e,e,a);else{for(;t!==null;){if(t.tag===3){T5(t,e,a);return}if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError==="function"||typeof n.componentDidCatch==="function"&&(Kl===null||!Kl.has(n))){e=vo(a,e),w4(e),a=nh(2),n=$l(t,a,2),n!==null&&(rh(a,n,t,e),ul(n,2),Yn(n));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
154
|
+
|
|
155
|
+
Error message:
|
|
156
|
+
|
|
157
|
+
%s`,a)}}function Rh(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new gD;var l=new Set;n.set(t,l)}else l=n.get(t),l===void 0&&(l=new Set,n.set(t,l));l.has(a)||(oy=!0,l.add(a),n=eR.bind(null,e,t,a),er&&td(e,a),t.then(n,n))}function eR(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,(a&127)!==0?0>nr&&(kl=nr=Wt(),Td=gm("Promise Resolved"),_l=hm):(a&4194048)!==0&&0>Zo&&(rr=Zo=Wt(),wd=gm("Promise Resolved"),B$=hm),s5()&&Y.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
158
|
+
|
|
159
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
160
|
+
|
|
161
|
+
act(() => {
|
|
162
|
+
/* finish loading suspended data */
|
|
163
|
+
});
|
|
164
|
+
/* assert on the output */
|
|
165
|
+
|
|
166
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),wt===e&&(Je&a)===a&&(Ft===Hl||Ft===Om&&(Je&62914560)===Je&&ba()-zm<T6?(ut&ua)===$a&&lc(e,0):ny|=a,os===Je&&(os=0)),Yn(e)}function R5(e,t){t===0&&(t=js()),e=ka(e,t),e!==null&&(ul(e,t),Yn(e))}function tR(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),R5(e,a)}function aR(e,t){var a=0;switch(e.tag){case 31:case 13:var{stateNode:n,memoizedState:l}=e;l!==null&&(a=l.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}n!==null&&n.delete(t),R5(e,a)}function wh(e,t,a){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var n=e,l=t,s=l.type===Wp;s=a||s,l.tag!==22?l.flags&67108864?s&&me(l,w5,n,l):wh(n,l,s):l.memoizedState===null&&(s&&l.flags&8192?me(l,w5,n,l):l.subtreeFlags&67108864&&me(l,wh,n,l,s)),t=t.sibling}}function w5(e,t){Dt(!0);try{J3(t),l5(t),e5(e,t.alternate,t,!1),a5(e,t,0,null,!1,0)}finally{Dt(!1)}}function D5(e){var t=!0;e.current.mode&(za|gn)||(t=!1),wh(e,e.current,t)}function A5(e){if((ut&ua)===$a){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=j(e)||"ReactComponent",Um!==null){if(Um.has(t))return;Um.add(t)}else Um=new Set([t]);me(e,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 td(e,t){er&&e.memoizedUpdaters.forEach(function(a){wu(e,a,t)})}function oR(e,t){var a=Y.actQueue;return a!==null?(a.push(t),yD):s$(e,t)}function nR(e){s5()&&Y.actQueue===null&&me(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
167
|
+
|
|
168
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
169
|
+
|
|
170
|
+
act(() => {
|
|
171
|
+
/* fire events that update state */
|
|
172
|
+
});
|
|
173
|
+
/* assert on the output */
|
|
174
|
+
|
|
175
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,j(e))})}function Yn(e){e!==Kc&&e.next===null&&(Kc===null?Vm=Kc=e:Kc=Kc.next=e),Km=!0,Y.actQueue!==null?py||(py=!0,N5()):fy||(fy=!0,N5())}function ad(e,t){if(!my&&Km){my=!0;do{var a=!1;for(var n=Vm;n!==null;){if(!t)if(e!==0){var l=n.pendingLanes;if(l===0)var s=0;else{var{suspendedLanes:d,pingedLanes:p}=n;s=(1<<31-Fa(42|e)+1)-1,s&=l&~(d&~p),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,O5(n,s))}else s=Je,s=xi(n,n===wt?s:0,n.cancelPendingCommit!==null||n.timeoutHandle!==ss),(s&3)===0||Si(n,s)||(a=!0,O5(n,s));n=n.next}}while(a);my=!1}}function rR(){ef=window.event,Dh()}function Dh(){Km=py=fy=!1;var e=0;ql!==0&&fR()&&(e=ql);for(var t=ba(),a=null,n=Vm;n!==null;){var l=n.next,s=P5(n,t);if(s===0)n.next=null,a===null?Vm=l:a.next=l,l===null&&(Kc=a);else if(a=n,e!==0||(s&3)!==0)Km=!0;n=l}oa!==jl&&oa!==Hm||ad(e,!1),ql!==0&&(ql=0)}function P5(e,t){for(var{suspendedLanes:a,pingedLanes:n,expirationTimes:l}=e,s=e.pendingLanes&-62914561;0<s;){var d=31-Fa(s),p=1<<d,y=l[d];if(y===-1){if((p&a)===0||(p&n)!==0)l[d]=G0(p,t)}else y<=t&&(e.expiredLanes|=p);s&=~p}if(t=wt,a=Je,a=xi(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ss),n=e.callbackNode,a===0||e===t&&(St===ts||St===as)||e.cancelPendingCommit!==null)return n!==null&&Ah(n),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Si(e,a)){if(t=a&-a,t!==e.callbackPriority||Y.actQueue!==null&&n!==by)Ah(n);else return t;switch(E(a)){case Do:case bn:a=u$;break;case tr:a=pc;break;case nm:a=d$;break;default:a=pc}return n=M5.bind(null,e),Y.actQueue!==null?(Y.actQueue.push(n),a=by):a=s$(a,n),e.callbackPriority=t,e.callbackNode=a,t}return n!==null&&Ah(n),e.callbackPriority=2,e.callbackNode=null,2}function M5(e,t){if(Sm=xm=!1,ef=window.event,oa!==jl&&oa!==Hm)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(xn===Im&&(xn=ly),ed()&&e.callbackNode!==a)return null;var n=Je;if(n=xi(e,e===wt?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ss),n===0)return null;return u5(e,n,t),P5(e,ba()),e.callbackNode!=null&&e.callbackNode===a?M5.bind(null,e):null}function O5(e,t){if(ed())return null;xm=Sm,Sm=!1,u5(e,t,!0)}function Ah(e){e!==by&&e!==null&&YR(e)}function N5(){Y.actQueue!==null&&Y.actQueue.push(function(){return Dh(),null}),AD(function(){(ut&(ua|Oo))!==$a?s$(c$,rR):Dh()})}function Ph(){if(ql===0){var e=Yi;e===0&&(e=tm,tm<<=1,(tm&261888)===0&&(tm=256)),ql=e}return ql}function L5(e){if(e==null||typeof e==="symbol"||typeof e==="boolean")return null;if(typeof e==="function")return e;return Te(e,"action"),Nu(""+e)}function k5(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function lR(e,t,a,n,l){if(t==="submit"&&a&&a.stateNode===l){var s=L5((l[Ua]||null).action),d=n.submitter;d&&(t=(t=d[Ua]||null)?L5(t.formAction):d.getAttribute("formAction"),t!==null&&(s=t,d=null));var p=new cm("action","action",null,n,l);e.push({event:p,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(ql!==0){var y=d?k5(l,d):new FormData(l),S={pending:!0,data:y,method:l.method,action:s};Object.freeze(S),Qg(a,S,null,y)}}else typeof s==="function"&&(p.preventDefault(),y=d?k5(l,d):new FormData(l),S={pending:!0,data:y,method:l.method,action:s},Object.freeze(S),Qg(a,S,s,y))},currentTarget:l}]})}}function Fp(e,t,a){e.currentTarget=a;try{t(e)}catch(n){w$(n)}e.currentTarget=null}function _5(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var n=e[a];e:{var l=void 0,s=n.event;if(n=n.listeners,t)for(var d=n.length-1;0<=d;d--){var p=n[d],y=p.instance,S=p.currentTarget;if(p=p.listener,y!==l&&s.isPropagationStopped())break e;y!==null?me(y,Fp,s,p,S):Fp(s,p,S),l=y}else for(d=0;d<n.length;d++){if(p=n[d],y=p.instance,S=p.currentTarget,p=p.listener,y!==l&&s.isPropagationStopped())break e;y!==null?me(y,Fp,s,p,S):Fp(s,p,S),l=y}}}}function st(e,t){gy.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=t[f$];a===void 0&&(a=t[f$]=new Set);var n=e+"__bubble";a.has(n)||(z5(t,e,2,!1),a.add(n))}function Mh(e,t,a){gy.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var n=0;t&&(n|=4),z5(a,e,n,t)}function Oh(e){if(!e[jm]){e[jm]=!0,N8.forEach(function(a){a!=="selectionchange"&&(gy.has(a)||Mh(a,!1,e),Mh(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[jm]||(t[jm]=!0,Mh("selectionchange",!1,t))}}function z5(e,t,a,n){switch(g8(t)){case Do:var l=HR;break;case bn:l=FR;break;default:l=Yh}a=l.bind(null,t,a,e),l=void 0,!h$||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),n?l!==void 0?e.addEventListener(t,a,{capture:!0,passive:l}):e.addEventListener(t,a,!0):l!==void 0?e.addEventListener(t,a,{passive:l}):e.addEventListener(t,a,!1)}function Nh(e,t,a,n,l){var s=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var d=n.tag;if(d===3||d===4){var p=n.stateNode.containerInfo;if(p===l)break;if(d===4)for(d=n.return;d!==null;){var y=d.tag;if((y===3||y===4)&&d.stateNode.containerInfo===l)return;d=d.return}for(;p!==null;){if(d=Re(p),d===null)return;if(y=d.tag,y===5||y===6||y===26||y===27){n=s=d;continue e}p=p.parentNode}}n=n.return}Yx(function(){var S=s,k=tg(a),_=[];e:{var A=gS.get(e);if(A!==void 0){var G=cm,ie=e;switch(e){case"keypress":if(Xf(a)===0)break e;case"keydown":case"keyup":G=kw;break;case"focusin":ie="focus",G=x$;break;case"focusout":ie="blur",G=x$;break;case"beforeblur":case"afterblur":G=x$;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":G=aS;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":G=Cw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":G=Bw;break;case fS:case pS:case mS:G=Rw;break;case bS:G=Hw;break;case"scroll":case"scrollend":G=xw;break;case"wheel":G=Uw;break;case"copy":case"cut":case"paste":G=Dw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":G=nS;break;case"toggle":case"beforetoggle":G=Kw}var $e=(t&4)!==0,Pt=!$e&&(e==="scroll"||e==="scrollend"),ct=$e?A!==null?A+"Capture":null:A;$e=[];for(var D=S,P;D!==null;){var N=D;if(P=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||P===null||ct===null||(N=Lu(D,ct),N!=null&&$e.push(od(D,N,P))),Pt)break;D=D.return}0<$e.length&&(A=new G(A,ie,null,a,k),_.push({event:A,listeners:$e}))}}if((t&7)===0){e:{if(A=e==="mouseover"||e==="pointerover",G=e==="mouseout"||e==="pointerout",A&&a!==md&&(ie=a.relatedTarget||a.fromElement)&&(Re(ie)||ie[Dl]))break e;if(G||A){if(A=k.window===k?k:(A=k.ownerDocument)?A.defaultView||A.parentWindow:window,G){if(ie=a.relatedTarget||a.toElement,G=S,ie=ie?Re(ie):null,ie!==null&&(Pt=H(ie),$e=ie.tag,ie!==Pt||$e!==5&&$e!==27&&$e!==6))ie=null}else G=null,ie=S;if(G!==ie){if($e=aS,N="onMouseLeave",ct="onMouseEnter",D="mouse",e==="pointerout"||e==="pointerover")$e=nS,N="onPointerLeave",ct="onPointerEnter",D="pointer";if(Pt=G==null?A:Ue(G),P=ie==null?A:Ue(ie),A=new $e(N,D+"leave",G,a,k),A.target=Pt,A.relatedTarget=P,N=null,Re(k)===S&&($e=new $e(ct,D+"enter",ie,a,k),$e.target=P,$e.relatedTarget=Pt,N=$e),Pt=N,G&&ie)t:{$e=iR,ct=G,D=ie,P=0;for(N=ct;N;N=$e(N))P++;N=0;for(var ee=D;ee;ee=$e(ee))N++;for(;0<P-N;)ct=$e(ct),P--;for(;0<N-P;)D=$e(D),N--;for(;P--;){if(ct===D||D!==null&&ct===D.alternate){$e=ct;break t}ct=$e(ct),D=$e(D)}$e=null}else $e=null;G!==null&&B5(_,A,G,$e,!1),ie!==null&&Pt!==null&&B5(_,Pt,ie,$e,!0)}}}e:{if(A=S?Ue(S):window,G=A.nodeName&&A.nodeName.toLowerCase(),G==="select"||G==="input"&&A.type==="file")var pe=t4;else if(Jx(A))if(uS)pe=yT;else{pe=hT;var Ie=gT}else G=A.nodeName,!G||G.toLowerCase()!=="input"||A.type!=="checkbox"&&A.type!=="radio"?S&&Ou(S.elementType)&&(pe=t4):pe=$T;if(pe&&(pe=pe(e,S))){e4(_,pe,a,k);break e}Ie&&Ie(e,A,S),e==="focusout"&&S&&A.type==="number"&&S.memoizedProps.value!=null&&X0(A,"number",A.value)}switch(Ie=S?Ue(S):window,e){case"focusin":if(Jx(Ie)||Ie.contentEditable==="true")xc=Ie,C$=S,xd=null;break;case"focusout":xd=C$=xc=null;break;case"mousedown":E$=!0;break;case"contextmenu":case"mouseup":case"dragend":E$=!1,s4(_,a,k);break;case"selectionchange":if(Yw)break;case"keydown":case"keyup":s4(_,a,k)}var Ae;if(S$)e:{switch(e){case"compositionstart":var we="onCompositionStart";break e;case"compositionend":we="onCompositionEnd";break e;case"compositionupdate":we="onCompositionUpdate";break e}we=void 0}else vc?Zx(e,a)&&(we="onCompositionEnd"):e==="keydown"&&a.keyCode===rS&&(we="onCompositionStart");if(we&&(lS&&a.locale!=="ko"&&(vc||we!=="onCompositionStart"?we==="onCompositionEnd"&&vc&&(Ae=Xx()):(Al=k,$$=("value"in Al)?Al.value:Al.textContent,vc=!0)),Ie=Up(S,we),0<Ie.length&&(we=new oS(we,e,null,a,k),_.push({event:we,listeners:Ie}),Ae?we.data=Ae:(Ae=Wx(a),Ae!==null&&(we.data=Ae)))),Ae=Gw?fT(e,a):pT(e,a))we=Up(S,"onBeforeInput"),0<we.length&&(Ie=new Pw("onBeforeInput","beforeinput",null,a,k),_.push({event:Ie,listeners:we}),Ie.data=Ae);lR(_,e,S,a,k)}_5(_,t)})}function od(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Up(e,t){for(var a=t+"Capture",n=[];e!==null;){var l=e,s=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||s===null||(l=Lu(e,a),l!=null&&n.unshift(od(e,l,s)),l=Lu(e,t),l!=null&&n.push(od(e,l,s))),e.tag===3)return n;e=e.return}return[]}function iR(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e?e:null}function B5(e,t,a,n,l){for(var s=t._reactName,d=[];a!==null&&a!==n;){var p=a,y=p.alternate,S=p.stateNode;if(p=p.tag,y!==null&&y===n)break;p!==5&&p!==26&&p!==27||S===null||(y=S,l?(S=Lu(a,s),S!=null&&d.unshift(od(a,S,y))):l||(S=Lu(a,s),S!=null&&d.push(od(a,S,y)))),a=a.return}d.length!==0&&e.push({event:t,listeners:d})}function Lh(e,t){sT(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||eS||(eS=!0,e==="select"&&t.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.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var a={registrationNameDependencies:Ui,possibleRegistrationNames:p$};Ou(e)||typeof t.is==="string"||uT(e,t,a),t.contentEditable&&!t.suppressContentEditableWarning&&t.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 ma(e,t,a,n){t!==a&&(a=Cl(a),Cl(t)!==a&&(n[e]=t))}function sR(e,t,a){t.forEach(function(n){a[F5(n)]=n==="style"?_h(e):e.getAttribute(n)})}function Xn(e,t){t===!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.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function I5(e,t){return e=e.namespaceURI===lm||e.namespaceURI===gc?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Cl(e){return pa(e)&&(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.",Ge(e)),It(e)),(typeof e==="string"?e:""+e).replace(vD,`
|
|
176
|
+
`).replace(xD,"")}function H5(e,t){return t=Cl(t),Cl(e)===t?!0:!1}function Tt(e,t,a,n,l,s){switch(a){case"children":if(typeof n==="string")Yf(n,t,!1),t==="body"||t==="textarea"&&n===""||Mu(e,n);else if(typeof n==="number"||typeof n==="bigint")Yf(""+n,t,!1),t!=="body"&&Mu(e,""+n);break;case"className":jf(e,"class",n);break;case"tabIndex":jf(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":jf(e,a,n);break;case"style":jx(e,n,s);break;case"data":if(t!=="object"){jf(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||a!=="href")){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),e.removeAttribute(a);break}if(n==null||typeof n==="function"||typeof n==="symbol"||typeof n==="boolean"){e.removeAttribute(a);break}Te(n,a),n=Nu(""+n),e.setAttribute(a,n);break;case"action":case"formAction":if(n!=null&&(t==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof n==="function"&&(l.encType==null&&l.method==null||Ym||(Ym=!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.")),l.target==null||qm||(qm=!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."))):t==="input"||t==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||l.type==="submit"||l.type==="image"||Gm?t!=="button"||l.type==null||l.type==="submit"||Gm?typeof n==="function"&&(l.name==null||I6||(I6=!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.')),l.formEncType==null&&l.formMethod==null||Ym||(Ym=!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.")),l.formTarget==null||qm||(qm=!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."))):(Gm=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Gm=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):a==="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 n==="function"){e.setAttribute(a,"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 s==="function"&&(a==="formAction"?(t!=="input"&&Tt(e,t,"name",l.name,l,null),Tt(e,t,"formEncType",l.formEncType,l,null),Tt(e,t,"formMethod",l.formMethod,l,null),Tt(e,t,"formTarget",l.formTarget,l,null)):(Tt(e,t,"encType",l.encType,l,null),Tt(e,t,"method",l.method,l,null),Tt(e,t,"target",l.target,l,null)));if(n==null||typeof n==="symbol"||typeof n==="boolean"){e.removeAttribute(a);break}Te(n,a),n=Nu(""+n),e.setAttribute(a,n);break;case"onClick":n!=null&&(typeof n!=="function"&&Xn(a,n),e.onclick=Cr);break;case"onScroll":n!=null&&(typeof n!=="function"&&Xn(a,n),st("scroll",e));break;case"onScrollEnd":n!=null&&(typeof n!=="function"&&Xn(a,n),st("scrollend",e));break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!=="object"||!("__html"in n))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=n.__html,a!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"multiple":e.multiple=n&&typeof n!=="function"&&typeof n!=="symbol";break;case"muted":e.muted=n&&typeof n!=="function"&&typeof n!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n==="function"||typeof n==="boolean"||typeof n==="symbol"){e.removeAttribute("xlink:href");break}Te(n,a),a=Nu(""+n),e.setAttributeNS(rs,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!=="function"&&typeof n!=="symbol"?(Te(n,a),e.setAttribute(a,""+n)):e.removeAttribute(a);break;case"inert":n!==""||Xm[a]||(Xm[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));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":n&&typeof n!=="function"&&typeof n!=="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":n===!0?e.setAttribute(a,""):n!==!1&&n!=null&&typeof n!=="function"&&typeof n!=="symbol"?(Te(n,a),e.setAttribute(a,n)):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!=="function"&&typeof n!=="symbol"&&!isNaN(n)&&1<=n?(Te(n,a),e.setAttribute(a,n)):e.removeAttribute(a);break;case"rowSpan":case"start":n==null||typeof n==="function"||typeof n==="symbol"||isNaN(n)?e.removeAttribute(a):(Te(n,a),e.setAttribute(a,n));break;case"popover":st("beforetoggle",e),st("toggle",e),Kf(e,"popover",n);break;case"xlinkActuate":Sr(e,rs,"xlink:actuate",n);break;case"xlinkArcrole":Sr(e,rs,"xlink:arcrole",n);break;case"xlinkRole":Sr(e,rs,"xlink:role",n);break;case"xlinkShow":Sr(e,rs,"xlink:show",n);break;case"xlinkTitle":Sr(e,rs,"xlink:title",n);break;case"xlinkType":Sr(e,rs,"xlink:type",n);break;case"xmlBase":Sr(e,hy,"xml:base",n);break;case"xmlLang":Sr(e,hy,"xml:lang",n);break;case"xmlSpace":Sr(e,hy,"xml:space",n);break;case"is":s!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Kf(e,"is",n);break;case"innerText":case"textContent":break;case"popoverTarget":H6||n==null||typeof n!=="object"||(H6=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",n));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=Gx(a),Kf(e,a,n)):Ui.hasOwnProperty(a)&&n!=null&&typeof n!=="function"&&Xn(a,n)}}function kh(e,t,a,n,l,s){switch(a){case"style":jx(e,n,s);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!=="object"||!("__html"in n))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=n.__html,a!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"children":typeof n==="string"?Mu(e,n):(typeof n==="number"||typeof n==="bigint")&&Mu(e,""+n);break;case"onScroll":n!=null&&(typeof n!=="function"&&Xn(a,n),st("scroll",e));break;case"onScrollEnd":n!=null&&(typeof n!=="function"&&Xn(a,n),st("scrollend",e));break;case"onClick":n!=null&&(typeof n!=="function"&&Xn(a,n),e.onclick=Cr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Ui.hasOwnProperty(a))n!=null&&typeof n!=="function"&&Xn(a,n);else e:{if(a[0]==="o"&&a[1]==="n"&&(l=a.endsWith("Capture"),t=a.slice(2,l?a.length-7:void 0),s=e[Ua]||null,s=s!=null?s[a]:null,typeof s==="function"&&e.removeEventListener(t,s,l),typeof n==="function")){typeof s!=="function"&&s!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,n,l);break e}a in e?e[a]=n:n===!0?e.setAttribute(a,""):Kf(e,a,n)}}}function wa(e,t,a){switch(Lh(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":st("error",e),st("load",e);var n=!1,l=!1,s;for(s in a)if(a.hasOwnProperty(s)){var d=a[s];if(d!=null)switch(s){case"src":n=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Tt(e,t,s,d,a,null)}}l&&Tt(e,t,"srcSet",a.srcSet,a,null),n&&Tt(e,t,"src",a.src,a,null);return;case"input":fl("input",a),st("invalid",e);var p=s=d=l=null,y=null,S=null;for(n in a)if(a.hasOwnProperty(n)){var k=a[n];if(k!=null)switch(n){case"name":l=k;break;case"type":d=k;break;case"checked":y=k;break;case"defaultChecked":S=k;break;case"value":s=k;break;case"defaultValue":p=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Tt(e,t,n,k,a,null)}}Ax(e,a),Px(e,s,p,y,S,d,l,!1);return;case"select":fl("select",a),st("invalid",e),n=d=s=null;for(l in a)if(a.hasOwnProperty(l)&&(p=a[l],p!=null))switch(l){case"value":s=p;break;case"defaultValue":d=p;break;case"multiple":n=p;default:Tt(e,t,l,p,a,null)}Nx(e,a),t=s,a=d,e.multiple=!!n,t!=null?qs(e,!!n,t,!1):a!=null&&qs(e,!!n,a,!0);return;case"textarea":fl("textarea",a),st("invalid",e),s=l=n=null;for(d in a)if(a.hasOwnProperty(d)&&(p=a[d],p!=null))switch(d){case"value":n=p;break;case"defaultValue":l=p;break;case"children":s=p;break;case"dangerouslySetInnerHTML":if(p!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Tt(e,t,d,p,a,null)}Lx(e,a),_x(e,n,l,s);return;case"option":Mx(e,a);for(y in a)if(a.hasOwnProperty(y)&&(n=a[y],n!=null))switch(y){case"selected":e.selected=n&&typeof n!=="function"&&typeof n!=="symbol";break;default:Tt(e,t,y,n,a,null)}return;case"dialog":st("beforetoggle",e),st("toggle",e),st("cancel",e),st("close",e);break;case"iframe":case"object":st("load",e);break;case"video":case"audio":for(n=0;n<Zd.length;n++)st(Zd[n],e);break;case"image":st("error",e),st("load",e);break;case"details":st("toggle",e);break;case"embed":case"source":case"link":st("error",e),st("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(S in a)if(a.hasOwnProperty(S)&&(n=a[S],n!=null))switch(S){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Tt(e,t,S,n,a,null)}return;default:if(Ou(t)){for(k in a)a.hasOwnProperty(k)&&(n=a[k],n!==void 0&&kh(e,t,k,n,a,void 0));return}}for(p in a)a.hasOwnProperty(p)&&(n=a[p],n!=null&&Tt(e,t,p,n,a,null))}function cR(e,t,a,n){switch(Lh(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,s=null,d=null,p=null,y=null,S=null,k=null;for(G in a){var _=a[G];if(a.hasOwnProperty(G)&&_!=null)switch(G){case"checked":break;case"value":break;case"defaultValue":y=_;default:n.hasOwnProperty(G)||Tt(e,t,G,null,n,_)}}for(var A in n){var G=n[A];if(_=a[A],n.hasOwnProperty(A)&&(G!=null||_!=null))switch(A){case"type":s=G;break;case"name":l=G;break;case"checked":S=G;break;case"defaultChecked":k=G;break;case"value":d=G;break;case"defaultValue":p=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:G!==_&&Tt(e,t,A,G,n,_)}}t=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,n=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,t||!n||B6||(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"),B6=!0),!t||n||z6||(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"),z6=!0),Y0(e,d,p,y,S,k,s,l);return;case"select":G=d=p=A=null;for(s in a)if(y=a[s],a.hasOwnProperty(s)&&y!=null)switch(s){case"value":break;case"multiple":G=y;default:n.hasOwnProperty(s)||Tt(e,t,s,null,n,y)}for(l in n)if(s=n[l],y=a[l],n.hasOwnProperty(l)&&(s!=null||y!=null))switch(l){case"value":A=s;break;case"defaultValue":p=s;break;case"multiple":d=s;default:s!==y&&Tt(e,t,l,s,n,y)}n=p,t=d,a=G,A!=null?qs(e,!!t,A,!1):!!a!==!!t&&(n!=null?qs(e,!!t,n,!0):qs(e,!!t,t?[]:"",!1));return;case"textarea":G=A=null;for(p in a)if(l=a[p],a.hasOwnProperty(p)&&l!=null&&!n.hasOwnProperty(p))switch(p){case"value":break;case"children":break;default:Tt(e,t,p,null,n,l)}for(d in n)if(l=n[d],s=a[d],n.hasOwnProperty(d)&&(l!=null||s!=null))switch(d){case"value":A=l;break;case"defaultValue":G=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:l!==s&&Tt(e,t,d,l,n,s)}kx(e,A,G);return;case"option":for(var ie in a)if(A=a[ie],a.hasOwnProperty(ie)&&A!=null&&!n.hasOwnProperty(ie))switch(ie){case"selected":e.selected=!1;break;default:Tt(e,t,ie,null,n,A)}for(y in n)if(A=n[y],G=a[y],n.hasOwnProperty(y)&&A!==G&&(A!=null||G!=null))switch(y){case"selected":e.selected=A&&typeof A!=="function"&&typeof A!=="symbol";break;default:Tt(e,t,y,A,n,G)}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 $e in a)A=a[$e],a.hasOwnProperty($e)&&A!=null&&!n.hasOwnProperty($e)&&Tt(e,t,$e,null,n,A);for(S in n)if(A=n[S],G=a[S],n.hasOwnProperty(S)&&A!==G&&(A!=null||G!=null))switch(S){case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Tt(e,t,S,A,n,G)}return;default:if(Ou(t)){for(var Pt in a)A=a[Pt],a.hasOwnProperty(Pt)&&A!==void 0&&!n.hasOwnProperty(Pt)&&kh(e,t,Pt,void 0,n,A);for(k in n)A=n[k],G=a[k],!n.hasOwnProperty(k)||A===G||A===void 0&&G===void 0||kh(e,t,k,A,n,G);return}}for(var ct in a)A=a[ct],a.hasOwnProperty(ct)&&A!=null&&!n.hasOwnProperty(ct)&&Tt(e,t,ct,null,n,A);for(_ in n)A=n[_],G=a[_],!n.hasOwnProperty(_)||A===G||A==null&&G==null||Tt(e,t,_,A,n,G)}function F5(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function _h(e){var t={};e=e.style;for(var a=0;a<e.length;a++){var n=e[a];t[n]=e.getPropertyValue(n)}return t}function U5(e,t,a){if(t!=null&&typeof t!=="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 n,l=n="",s;for(s in t)if(t.hasOwnProperty(s)){var d=t[s];d!=null&&typeof d!=="boolean"&&d!==""&&(s.indexOf("--")===0?(Fo(d,s),n+=l+s+":"+(""+d).trim()):typeof d!=="number"||d===0||W8.has(s)?(Fo(d,s),n+=l+s.replace(q8,"-$1").toLowerCase().replace(Y8,"-ms-")+":"+(""+d).trim()):n+=l+s.replace(q8,"-$1").toLowerCase().replace(Y8,"-ms-")+":"+d+"px",l=";")}n=n||null,t=e.getAttribute("style"),t!==n&&(n=Cl(n),Cl(t)!==n&&(a.style=_h(e)))}}function Ko(e,t,a,n,l,s){if(l.delete(a),e=e.getAttribute(a),e===null)switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return}else if(n!=null)switch(typeof n){case"function":case"symbol":case"boolean":break;default:if(Te(n,t),e===""+n)return}ma(t,e,n,s)}function V5(e,t,a,n,l,s){if(l.delete(a),e=e.getAttribute(a),e===null){switch(typeof n){case"function":case"symbol":return}if(!n)return}else switch(typeof n){case"function":case"symbol":break;default:if(n)return}ma(t,e,n,s)}function zh(e,t,a,n,l,s){if(l.delete(a),e=e.getAttribute(a),e===null)switch(typeof n){case"undefined":case"function":case"symbol":return}else if(n!=null)switch(typeof n){case"function":case"symbol":break;default:if(Te(n,a),e===""+n)return}ma(t,e,n,s)}function K5(e,t,a,n,l,s){if(l.delete(a),e=e.getAttribute(a),e===null)switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(n))return}else if(n!=null)switch(typeof n){case"function":case"symbol":case"boolean":break;default:if(!isNaN(n)&&(Te(n,t),e===""+n))return}ma(t,e,n,s)}function Bh(e,t,a,n,l,s){if(l.delete(a),e=e.getAttribute(a),e===null)switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return}else if(n!=null)switch(typeof n){case"function":case"symbol":case"boolean":break;default:if(Te(n,t),a=Nu(""+n),e===a)return}ma(t,e,n,s)}function j5(e,t,a,n){for(var l={},s=new Set,d=e.attributes,p=0;p<d.length;p++)switch(d[p].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:s.add(d[p].name)}if(Ou(t)){for(var y in a)if(a.hasOwnProperty(y)){var S=a[y];if(S!=null){if(Ui.hasOwnProperty(y))typeof S!=="function"&&Xn(y,S);else if(a.suppressHydrationWarning!==!0)switch(y){case"children":typeof S!=="string"&&typeof S!=="number"||ma("children",e.textContent,S,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,S=S?S.__html:void 0,S!=null&&(S=I5(e,S),ma(y,d,S,l));continue;case"style":s.delete(y),U5(e,S,l);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":s.delete(y.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",y);continue;case"className":s.delete("class"),d=Rx(e,"class",S),ma("className",d,S,l);continue;default:n.context===jr&&t!=="svg"&&t!=="math"?s.delete(y.toLowerCase()):s.delete(y),d=Rx(e,y,S),ma(y,d,S,l)}}}}else for(S in a)if(a.hasOwnProperty(S)&&(y=a[S],y!=null)){if(Ui.hasOwnProperty(S))typeof y!=="function"&&Xn(S,y);else if(a.suppressHydrationWarning!==!0)switch(S){case"children":typeof y!=="string"&&typeof y!=="number"||ma("children",e.textContent,y,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,y=y?y.__html:void 0,y!=null&&(y=I5(e,y),d!==y&&(l[S]={__html:d}));continue;case"className":Ko(e,S,"class",y,s,l);continue;case"tabIndex":Ko(e,S,"tabindex",y,s,l);continue;case"style":s.delete(S),U5(e,y,l);continue;case"multiple":s.delete(S),ma(S,e.multiple,y,l);continue;case"muted":s.delete(S),ma(S,e.muted,y,l);continue;case"autoFocus":s.delete("autofocus"),ma(S,e.autofocus,y,l);continue;case"data":if(t!=="object"){s.delete(S),d=e.getAttribute("data"),ma(S,d,y,l);continue}case"src":case"href":if(!(y!==""||t==="a"&&S==="href"||t==="object"&&S==="data")){S==="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.',S,S):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.',S,S);continue}Bh(e,S,S,y,s,l);continue;case"action":case"formAction":if(d=e.getAttribute(S),typeof y==="function"){s.delete(S.toLowerCase()),S==="formAction"?(s.delete("name"),s.delete("formenctype"),s.delete("formmethod"),s.delete("formtarget")):(s.delete("enctype"),s.delete("method"),s.delete("target"));continue}else if(d===SD){s.delete(S.toLowerCase()),ma(S,"function",y,l);continue}Bh(e,S,S.toLowerCase(),y,s,l);continue;case"xlinkHref":Bh(e,S,"xlink:href",y,s,l);continue;case"contentEditable":zh(e,S,"contenteditable",y,s,l);continue;case"spellCheck":zh(e,S,"spellcheck",y,s,l);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":zh(e,S,S,y,s,l);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":V5(e,S,S.toLowerCase(),y,s,l);continue;case"capture":case"download":e:{p=e;var k=d=S,_=l;if(s.delete(k),p=p.getAttribute(k),p===null)switch(typeof y){case"undefined":case"function":case"symbol":break e;default:if(y===!1)break e}else if(y!=null)switch(typeof y){case"function":case"symbol":break;case"boolean":if(y===!0&&p==="")break e;break;default:if(Te(y,d),p===""+y)break e}ma(d,p,y,_)}continue;case"cols":case"rows":case"size":case"span":e:{if(p=e,k=d=S,_=l,s.delete(k),p=p.getAttribute(k),p===null)switch(typeof y){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(y)||1>y)break e}else if(y!=null)switch(typeof y){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(y)||1>y)&&(Te(y,d),p===""+y))break e}ma(d,p,y,_)}continue;case"rowSpan":K5(e,S,"rowspan",y,s,l);continue;case"start":K5(e,S,S,y,s,l);continue;case"xHeight":Ko(e,S,"x-height",y,s,l);continue;case"xlinkActuate":Ko(e,S,"xlink:actuate",y,s,l);continue;case"xlinkArcrole":Ko(e,S,"xlink:arcrole",y,s,l);continue;case"xlinkRole":Ko(e,S,"xlink:role",y,s,l);continue;case"xlinkShow":Ko(e,S,"xlink:show",y,s,l);continue;case"xlinkTitle":Ko(e,S,"xlink:title",y,s,l);continue;case"xlinkType":Ko(e,S,"xlink:type",y,s,l);continue;case"xmlBase":Ko(e,S,"xml:base",y,s,l);continue;case"xmlLang":Ko(e,S,"xml:lang",y,s,l);continue;case"xmlSpace":Ko(e,S,"xml:space",y,s,l);continue;case"inert":y!==""||Xm[S]||(Xm[S]=!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.",S)),V5(e,S,S,y,s,l);continue;default:if(!(2<S.length)||S[0]!=="o"&&S[0]!=="O"||S[1]!=="n"&&S[1]!=="N"){p=Gx(S),d=!1,n.context===jr&&t!=="svg"&&t!=="math"?s.delete(p.toLowerCase()):(k=S.toLowerCase(),k=im.hasOwnProperty(k)?im[k]||null:null,k!==null&&k!==S&&(d=!0,s.delete(k)),s.delete(p));e:if(k=e,_=p,p=y,Du(_))if(k.hasAttribute(_))k=k.getAttribute(_),Te(p,_),p=k===""+p?p:k;else{switch(typeof p){case"function":case"symbol":break e;case"boolean":if(k=_.toLowerCase().slice(0,5),k!=="data-"&&k!=="aria-")break e}p=p===void 0?void 0:null}else p=void 0;d||ma(S,p,y,l)}}}return 0<s.size&&a.suppressHydrationWarning!==!0&&sR(e,s,l),Object.keys(l).length===0?null:l}function uR(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function G5(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function dR(){if(typeof performance.getEntriesByType==="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),n=0;n<a.length;n++){var l=a[n],s=l.transferSize,d=l.initiatorType,p=l.duration;if(s&&p&&G5(d)){d=0,p=l.responseEnd;for(n+=1;n<a.length;n++){var y=a[n],S=y.startTime;if(S>p)break;var{transferSize:k,initiatorType:_}=y;k&&G5(_)&&(y=y.responseEnd,d+=k*(y<p?1:(p-S)/(y-S)))}if(--n,t+=8*(s+d)/(l.duration/1000),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==="number")?e:5}function Vp(e){return e.nodeType===9?e:e.ownerDocument}function q5(e){switch(e){case gc:return Gc;case lm:return Zm;default:return jr}}function Y5(e,t){if(e===jr)switch(t){case"svg":return Gc;case"math":return Zm;default:return jr}return e===Gc&&t==="foreignObject"?jr:e}function Ih(e,t){return e==="textarea"||e==="noscript"||typeof t.children==="string"||typeof t.children==="number"||typeof t.children==="bigint"||typeof t.dangerouslySetInnerHTML==="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function fR(){var e=window.event;if(e&&e.type==="popstate"){if(e===xy)return!1;return xy=e,!0}return xy=null,!1}function nd(){var e=window.event;return e&&e!==ef?e.type:null}function rd(){var e=window.event;return e&&e!==ef?e.timeStamp:-1.1}function pR(e){setTimeout(function(){throw e})}function mR(e,t,a){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}function bR(){}function gR(e,t,a,n){cR(e,t,a,n),e[Ua]=n}function X5(e){Mu(e,"")}function hR(e,t,a){e.nodeValue=a}function Q5(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Ua]||null;if(t!==null){var a=Fe(e);a!==null&&(typeof t.children==="string"||typeof t.children==="number"?(e.__reactWarnedAboutChildrenConflict=!0,me(a,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.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,me(a,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 El(e){return e==="head"}function $R(e,t){e.removeChild(t)}function yR(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Z5(e,t){var a=t,n=0;do{var l=a.nextSibling;if(e.removeChild(a),l&&l.nodeType===8)if(a=l.data,a===Jd||a===Qm){if(n===0){e.removeChild(l),uc(t);return}n--}else if(a===Wd||a===Yl||a===is||a===jc||a===ls)n++;else if(a===ED)ld(e.ownerDocument.documentElement);else if(a===RD){a=e.ownerDocument.head,ld(a);for(var s=a.firstChild;s;){var{nextSibling:d,nodeName:p}=s;s[pd]||p==="SCRIPT"||p==="STYLE"||p==="LINK"&&s.rel.toLowerCase()==="stylesheet"||a.removeChild(s),s=d}}else a===TD&&ld(e.ownerDocument.body);a=l}while(a);uc(t)}function W5(e,t){var a=e;e=0;do{var n=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),n&&n.nodeType===8)if(a=n.data,a===Jd)if(e===0)break;else e--;else a!==Wd&&a!==Yl&&a!==is&&a!==jc||e++;a=n}while(a)}function vR(e){W5(e,!0)}function xR(e){e=e.style,typeof e.setProperty==="function"?e.setProperty("display","none","important"):e.display="none"}function SR(e){e.nodeValue=""}function CR(e){W5(e,!1)}function ER(e,t){t=t[wD],t=t!==void 0&&t!==null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t==="boolean"?"":(""+t).trim()}function TR(e,t){e.nodeValue=t}function Hh(e){var t=e.firstChild;t&&t.nodeType===10&&(t=t.nextSibling);for(;t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Hh(a),fe(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function RR(e,t,a,n){for(;e.nodeType===1;){var l=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(!n)if(t==="input"&&e.type==="hidden"){Te(l.name,"name");var s=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;else if(!e[pd])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;else if(s!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}if(e=To(e.nextSibling),e===null)break}return null}function wR(e,t,a){if(t==="")return null;for(;e.nodeType!==3;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a)return null;if(e=To(e.nextSibling),e===null)return null}return e}function J5(e,t){for(;e.nodeType!==8;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t)return null;if(e=To(e.nextSibling),e===null)return null}return e}function Fh(e){return e.data===Yl||e.data===is}function Uh(e){return e.data===jc||e.data===Yl&&e.ownerDocument.readyState!==U6}function DR(e,t){var a=e.ownerDocument;if(e.data===is)e._reactRetry=t;else if(e.data!==Yl||a.readyState!==U6)t();else{var n=function(){t(),a.removeEventListener("DOMContentLoaded",n)};a.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function To(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===Wd||t===jc||t===Yl||t===is||t===ls||t===$y||t===F6)break;if(t===Jd||t===Qm)return null}}return e}function e8(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),a={},n=e.attributes,l=0;l<n.length;l++){var s=n[l];a[F5(s.name)]=s.name.toLowerCase()==="style"?_h(e):s.value}return{type:t,props:a}}return e.nodeType===8?e.data===ls?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function t8(e,t,a){return a===null||a[CD]!==!0?(e.nodeValue===t?e=null:(t=Cl(t),e=Cl(e.nodeValue)===t?null:e.nodeValue),e):null}function Vh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===Jd||a===Qm){if(t===0)return To(e.nextSibling);t--}else a!==Wd&&a!==jc&&a!==Yl&&a!==is&&a!==ls||t++}e=e.nextSibling}return null}function a8(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===Wd||a===jc||a===Yl||a===is||a===ls){if(t===0)return e;t--}else a!==Jd&&a!==Qm||t++}e=e.previousSibling}return null}function AR(e){uc(e)}function PR(e){uc(e)}function MR(e){uc(e)}function o8(e,t,a,n,l){switch(l&&eg(e,n.ancestorInfo),t=Vp(a),e){case"html":if(e=t.documentElement,!e)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 e;case"head":if(e=t.head,!e)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 e;case"body":if(e=t.body,!e)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 e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function OR(e,t,a,n){if(!a[Dl]&&Fe(a)){var l=a.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.",l,l,l)}switch(e){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(l=a.attributes;l.length;)a.removeAttributeNode(l[0]);wa(a,e,t),a[Da]=n,a[Ua]=t}function ld(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);fe(e)}function Kp(e){return typeof e.getRootNode==="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function n8(e,t,a){var n=qc;if(n&&typeof t==="string"&&t){var l=Vo(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof a==="string"&&(l+='[crossorigin="'+a+'"]'),Y6.has(l)||(Y6.add(l),e={rel:e,crossOrigin:a,href:t},n.querySelector(l)===null&&(t=n.createElement("link"),wa(t,"link",e),Me(t),n.head.appendChild(t)))}}function r8(e,t,a,n){var l=(l=Rl.current)?Kp(l):null;if(!l)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence==="string"&&typeof a.href==="string"?(a=sc(a.href),t=pt(l).hoistableStyles,n=t.get(a),n||(n={type:"style",instance:null,count:0,state:null},t.set(a,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href==="string"&&typeof a.precedence==="string"){e=sc(a.href);var s=pt(l).hoistableStyles,d=s.get(e);if(!d&&(l=l.ownerDocument||l,d={type:"stylesheet",instance:null,count:0,state:{loading:cs,preload:null}},s.set(e,d),(s=l.querySelector(id(e)))&&!s._p&&(d.instance=s,d.state.loading=tf|tn),!an.has(e))){var p={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};an.set(e,p),s||NR(l,e,p,d.state)}if(t&&n===null)throw a=`
|
|
177
|
+
|
|
178
|
+
- `+jp(t)+`
|
|
179
|
+
+ `+jp(a),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."+a);return d}if(t&&n!==null)throw a=`
|
|
180
|
+
|
|
181
|
+
- `+jp(t)+`
|
|
182
|
+
+ `+jp(a),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."+a);return null;case"script":return t=a.async,a=a.src,typeof a==="string"&&t&&typeof t!=="function"&&typeof t!=="symbol"?(a=cc(a),t=pt(l).hoistableScripts,n=t.get(a),n||(n={type:"script",instance:null,count:0,state:null},t.set(a,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function jp(e){var t=0,a="<link";return typeof e.rel==="string"?(t++,a+=' rel="'+e.rel+'"'):mn.call(e,"rel")&&(t++,a+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href==="string"?(t++,a+=' href="'+e.href+'"'):mn.call(e,"href")&&(t++,a+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence==="string"?(t++,a+=' precedence="'+e.precedence+'"'):mn.call(e,"precedence")&&(t++,a+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(a+=" ..."),a+" />"}function sc(e){return'href="'+Vo(e)+'"'}function id(e){return'link[rel="stylesheet"]['+e+"]"}function l8(e){return ot({},e,{"data-precedence":e.precedence,precedence:null})}function NR(e,t,a,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=tf:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=tf}),t.addEventListener("error",function(){return n.loading|=G6}),wa(t,"link",a),Me(t),e.head.appendChild(t))}function cc(e){return'[src="'+Vo(e)+'"]'}function sd(e){return"script[async]"+e}function i8(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+Vo(a.href)+'"]');if(n)return t.instance=n,Me(n),n;var l=ot({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),Me(n),wa(n,"style",l),Gp(n,a.precedence,e),t.instance=n;case"stylesheet":l=sc(a.href);var s=e.querySelector(id(l));if(s)return t.state.loading|=tn,t.instance=s,Me(s),s;n=l8(a),(l=an.get(l))&&Kh(n,l),s=(e.ownerDocument||e).createElement("link"),Me(s);var d=s;return d._p=new Promise(function(p,y){d.onload=p,d.onerror=y}),wa(s,"link",n),t.state.loading|=tn,Gp(s,a.precedence,e),t.instance=s;case"script":if(s=cc(a.src),l=e.querySelector(sd(s)))return t.instance=l,Me(l),l;if(n=a,l=an.get(s))n=ot({},a),jh(n,l);return e=e.ownerDocument||e,l=e.createElement("script"),Me(l),wa(l,"link",n),e.head.appendChild(l),t.instance=l;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&tn)===cs&&(n=t.instance,t.state.loading|=tn,Gp(n,a.precedence,e));return t.instance}function Gp(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=n.length?n[n.length-1]:null,s=l,d=0;d<n.length;d++){var p=n[d];if(p.dataset.precedence===t)s=p;else if(s!==l)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Kh(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function jh(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function s8(e,t,a){if(Wm===null){var n=new Map,l=Wm=new Map;l.set(a,n)}else l=Wm,n=l.get(a),n||(n=new Map,l.set(a,n));if(n.has(e))return n;n.set(e,null),a=a.getElementsByTagName(e);for(l=0;l<a.length;l++){var s=a[l];if(!(s[pd]||s[Da]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!==gc){var d=s.getAttribute(t)||"";d=e+d;var p=n.get(d);p?p.push(s):n.set(d,[s])}}return n}function c8(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function LR(e,t,a){var n=!a.ancestorInfo.containerTagInScope;if(a.context===Gc||t.itemProp!=null)return!n||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="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.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!=="string"||typeof t.href!=="string"||t.href===""){n&&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 t.rel!=="string"||typeof t.href!=="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence==="string"){e=t.href;var{onError:l,disabled:s}=t;a=[],t.onLoad&&a.push("`onLoad`"),l&&a.push("`onError`"),s!=null&&a.push("`disabled`"),l=uR(a,"and"),l+=a.length===1?" prop":" props",s=a.length===1?"an "+l:"the "+l,a.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.',e,s,l)}n&&(typeof t.rel!=="string"||typeof t.href!=="string"||t.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"):(t.onError||t.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(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!=="string"&&n&&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 e==="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!=="function"&&typeof t.async!=="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!=="string"){n&&(e?t.onLoad||t.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":n&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function u8(e){return e.type==="stylesheet"&&(e.state.loading&q6)===cs?!1:!0}function kR(e,t,a,n){if(a.type==="stylesheet"&&(typeof n.media!=="string"||matchMedia(n.media).matches!==!1)&&(a.state.loading&tn)===cs){if(a.instance===null){var l=sc(n.href),s=t.querySelector(id(l));if(s){t=s._p,t!==null&&typeof t==="object"&&typeof t.then==="function"&&(e.count++,e=qp.bind(e),t.then(e,e)),a.state.loading|=tn,a.instance=s,Me(s);return}s=t.ownerDocument||t,n=l8(n),(l=an.get(l))&&Kh(n,l),s=s.createElement("link"),Me(s);var d=s;d._p=new Promise(function(p,y){d.onload=p,d.onerror=y}),wa(s,"link",n),a.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&q6)===cs&&(e.count++,a=qp.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}function _R(e,t){return e.stylesheets&&e.count===0&&Yp(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var n=setTimeout(function(){if(e.stylesheets&&Yp(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},PD+t);0<e.imgBytes&&Cy===0&&(Cy=125*dR()*OD);var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Yp(e,e.stylesheets),e.unsuspend)){var s=e.unsuspend;e.unsuspend=null,s()}},(e.imgBytes>Cy?50:MD)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(l)}}:null}function qp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Yp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Yp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Jm=new Map,t.forEach(zR,e),Jm=null,qp.call(e))}function zR(e,t){if(!(t.state.loading&tn)){var a=Jm.get(e);if(a)var n=a.get(Ey);else{a=new Map,Jm.set(e,a);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<l.length;s++){var d=l[s];if(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")a.set(d.dataset.precedence,d),n=d}n&&a.set(Ey,n)}l=t.instance,d=l.getAttribute("data-precedence"),s=a.get(d)||n,s===n&&a.set(Ey,l),a.set(d,l),this.count++,n=qp.bind(this),l.addEventListener("load",n),l.addEventListener("error",n),s?s.parentNode.insertBefore(l,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=tn}}function BR(e,t,a,n,l,s,d,p,y){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=ss,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Gs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gs(0),this.hiddenUpdates=Gs(null),this.identifierPrefix=n,this.onUncaughtError=l,this.onCaughtError=s,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[];for(t=0;31>t;t++)e.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function d8(e,t,a,n,l,s,d,p,y,S,k,_){return e=new BR(e,t,a,d,y,S,k,_,p),t=oD,s===!0&&(t|=za|gn),t|=Ze,s=T(3,null,null,t),e.current=s,s.stateNode=e,t=yg(),ki(t),e.pooledCache=t,ki(t),s.memoizedState={element:n,isDehydrated:a,cache:t},Eg(s),e}function f8(e){if(!e)return Ol;return e=Ol,e}function Gh(e,t,a,n,l,s){if(_a&&typeof _a.onScheduleFiberRoot==="function")try{_a.onScheduleFiberRoot(mc,n,a)}catch(d){Jn||(Jn=!0,console.error("React instrumentation encountered an error: %o",d))}l=f8(l),n.context===null?n.context=l:n.pendingContext=l,Wn&&wo!==null&&!W6&&(W6=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
183
|
+
|
|
184
|
+
Check the render method of %s.`,j(wo)||"Unknown")),n=hl(t),n.payload={element:a},s=s===void 0?null:s,s!==null&&(typeof s!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",s),n.callback=s),a=$l(e,n,t),a!==null&&(zn(t,"root.render()",null),Ut(a,e,t),Uu(a,e,t))}function p8(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function qh(e,t){p8(e,t),(e=e.alternate)&&p8(e,t)}function m8(e){if(e.tag===13||e.tag===31){var t=ka(e,67108864);t!==null&&Ut(t,e,67108864),qh(e,67108864)}}function b8(e){if(e.tag===13||e.tag===31){var t=Eo(e);t=Ri(t);var a=ka(e,t);a!==null&&Ut(a,e,t),qh(e,t)}}function IR(){return wo}function HR(e,t,a,n){var l=Y.T;Y.T=null;var s=yt.p;try{yt.p=Do,Yh(e,t,a,n)}finally{yt.p=s,Y.T=l}}function FR(e,t,a,n){var l=Y.T;Y.T=null;var s=yt.p;try{yt.p=bn,Yh(e,t,a,n)}finally{yt.p=s,Y.T=l}}function Yh(e,t,a,n){if(tb){var l=Xh(n);if(l===null)Nh(e,t,n,ab,a),h8(e,n);else if(UR(l,e,t,a,n))n.stopPropagation();else if(h8(e,n),t&4&&-1<LD.indexOf(e)){for(;l!==null;){var s=Fe(l);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var d=Nn(s.pendingLanes);if(d!==0){var p=s;p.pendingLanes|=2;for(p.entangledLanes|=2;d;){var y=1<<31-Fa(d);p.entanglements[1]|=y,d&=~y}Yn(s),(ut&(ua|Oo))===$a&&(Bm=ba()+R6,ad(0,!1))}}break;case 31:case 13:p=ka(s,2),p!==null&&Ut(p,s,2),rc(),qh(s,2)}if(s=Xh(n),s===null&&Nh(e,t,n,ab,a),s===l)break;l=s}l!==null&&n.stopPropagation()}else Nh(e,t,n,null,a)}}function Xh(e){return e=tg(e),Qh(e)}function Qh(e){if(ab=null,e=Re(e),e!==null){var t=H(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=I(t),e!==null)return e;e=null}else if(a===31){if(e=X(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ab=e,null}function g8(e){switch(e){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 Do;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 bn;case"message":switch(ZR()){case c$:return Do;case u$:return bn;case pc:case WR:return tr;case d$:return nm;default:return tr}default:return tr}}function h8(e,t){switch(e){case"focusin":case"focusout":Xl=null;break;case"dragenter":case"dragleave":Ql=null;break;case"mouseover":case"mouseout":Zl=null;break;case"pointerover":case"pointerout":of.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":nf.delete(t.pointerId)}}function cd(e,t,a,n,l,s){if(e===null||e.nativeEvent!==s)return e={blockedOn:t,domEventName:a,eventSystemFlags:n,nativeEvent:s,targetContainers:[l]},t!==null&&(t=Fe(t),t!==null&&m8(t)),e;return e.eventSystemFlags|=n,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e}function UR(e,t,a,n,l){switch(t){case"focusin":return Xl=cd(Xl,e,t,a,n,l),!0;case"dragenter":return Ql=cd(Ql,e,t,a,n,l),!0;case"mouseover":return Zl=cd(Zl,e,t,a,n,l),!0;case"pointerover":var s=l.pointerId;return of.set(s,cd(of.get(s)||null,e,t,a,n,l)),!0;case"gotpointercapture":return s=l.pointerId,nf.set(s,cd(nf.get(s)||null,e,t,a,n,l)),!0}return!1}function $8(e){var t=Re(e.target);if(t!==null){var a=H(t);if(a!==null){if(t=a.tag,t===13){if(t=I(a),t!==null){e.blockedOn=t,ne(e.priority,function(){b8(a)});return}}else if(t===31){if(t=X(a),t!==null){e.blockedOn=t,ne(e.priority,function(){b8(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Xp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Xh(e.nativeEvent);if(a===null){a=e.nativeEvent;var n=new a.constructor(a.type,a),l=n;md!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),md=l,a.target.dispatchEvent(n),md===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."),md=null}else return t=Fe(a),t!==null&&m8(t),e.blockedOn=a,!1;t.shift()}return!0}function y8(e,t,a){Xp(e)&&a.delete(t)}function VR(){Ty=!1,Xl!==null&&Xp(Xl)&&(Xl=null),Ql!==null&&Xp(Ql)&&(Ql=null),Zl!==null&&Xp(Zl)&&(Zl=null),of.forEach(y8),nf.forEach(y8)}function Qp(e,t){e.blockedOn===t&&(e.blockedOn=null,Ty||(Ty=!0,mt.unstable_scheduleCallback(mt.unstable_NormalPriority,VR)))}function v8(e){ob!==e&&(ob=e,mt.unstable_scheduleCallback(mt.unstable_NormalPriority,function(){ob===e&&(ob=null);for(var t=0;t<e.length;t+=3){var a=e[t],n=e[t+1],l=e[t+2];if(typeof n!=="function")if(Qh(n||a)===null)continue;else break;var s=Fe(a);s!==null&&(e.splice(t,3),t-=3,a={pending:!0,data:l,method:a.method,action:n},Object.freeze(a),Qg(s,a,n,l))}}))}function uc(e){function t(y){return Qp(y,e)}Xl!==null&&Qp(Xl,e),Ql!==null&&Qp(Ql,e),Zl!==null&&Qp(Zl,e),of.forEach(t),nf.forEach(t);for(var a=0;a<Wl.length;a++){var n=Wl[a];n.blockedOn===e&&(n.blockedOn=null)}for(;0<Wl.length&&(a=Wl[0],a.blockedOn===null);)$8(a),a.blockedOn===null&&Wl.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(n=0;n<a.length;n+=3){var l=a[n],s=a[n+1],d=l[Ua]||null;if(typeof s==="function")d||v8(a);else if(d){var p=null;if(s&&s.hasAttribute("formAction")){if(l=s,d=s[Ua]||null)p=d.formAction;else if(Qh(l)!==null)continue}else p=d.action;typeof p==="function"?a[n+1]=p:(a.splice(n,3),n-=3),v8(a)}}}function x8(){function e(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(d){return l=d})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),n||setTimeout(a,20)}function a(){if(!n&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var n=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function Zh(e){this._internalRoot=e}function Zp(e){this._internalRoot=e}function S8(e){e[Dl]&&(e._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 ot=Object.assign,KR=Symbol.for("react.element"),Qn=Symbol.for("react.transitional.element"),dc=Symbol.for("react.portal"),fc=Symbol.for("react.fragment"),Wp=Symbol.for("react.strict_mode"),Wh=Symbol.for("react.profiler"),Jh=Symbol.for("react.consumer"),Zn=Symbol.for("react.context"),ud=Symbol.for("react.forward_ref"),e$=Symbol.for("react.suspense"),t$=Symbol.for("react.suspense_list"),Jp=Symbol.for("react.memo"),Ro=Symbol.for("react.lazy"),a$=Symbol.for("react.activity"),jR=Symbol.for("react.memo_cache_sentinel"),C8=Symbol.iterator,GR=Symbol.for("react.client.reference"),sa=Array.isArray,Y=Yc.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,yt=wy.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,qR=Object.freeze({pending:!1,data:null,method:null,action:null}),o$=[],n$=[],Mr=-1,Tl=ye(null),dd=ye(null),Rl=ye(null),em=ye(null),fd=0,E8,T8,R8,w8,D8,A8,P8;C.__reactDisabledLog=!0;var r$,M8,l$=!1,i$=new(typeof WeakMap==="function"?WeakMap:Map),wo=null,Wn=!1,mn=Object.prototype.hasOwnProperty,s$=mt.unstable_scheduleCallback,YR=mt.unstable_cancelCallback,XR=mt.unstable_shouldYield,QR=mt.unstable_requestPaint,ba=mt.unstable_now,ZR=mt.unstable_getCurrentPriorityLevel,c$=mt.unstable_ImmediatePriority,u$=mt.unstable_UserBlockingPriority,pc=mt.unstable_NormalPriority,WR=mt.unstable_LowPriority,d$=mt.unstable_IdlePriority,JR=mt.log,ew=mt.unstable_setDisableYieldValue,mc=null,_a=null,Jn=!1,er=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Fa=Math.clz32?Math.clz32:Uf,tw=Math.log,aw=Math.LN2,tm=256,am=262144,om=4194304,Do=2,bn=8,tr=32,nm=268435456,wl=Math.random().toString(36).slice(2),Da="__reactFiber$"+wl,Ua="__reactProps$"+wl,Dl="__reactContainer$"+wl,f$="__reactEvents$"+wl,ow="__reactListeners$"+wl,nw="__reactHandles$"+wl,O8="__reactResources$"+wl,pd="__reactMarker$"+wl,N8=new Set,Ui={},p$={},rw={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},lw=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]*$"),L8={},k8={},iw=/[\n"\\]/g,_8=!1,z8=!1,B8=!1,I8=!1,H8=!1,F8=!1,U8=["value","defaultValue"],V8=!1,K8=/["'&<>\n\t]|^\s|\s$/,sw="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(" "),j8="applet caption html table td th marquee object template foreignObject desc title".split(" "),cw=j8.concat(["button"]),uw="dd dt li option optgroup p rp rt".split(" "),G8={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},rm={},m$={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"]},q8=/([A-Z])/g,Y8=/^ms-/,dw=/^(?:webkit|moz|o)[A-Z]/,fw=/^-ms-/,pw=/-(.)/g,X8=/;\s*$/,bc={},b$={},Q8=!1,Z8=!1,W8=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(" ")),lm="http://www.w3.org/1998/Math/MathML",gc="http://www.w3.org/2000/svg",mw=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"]]),im={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"},J8={"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},hc={},bw=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]*$"),gw=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]*$"),eS=!1,Va={},tS=/^on./,hw=/^on[^A-Z]/,$w=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]*$"),yw=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]*$"),vw=/^[\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,md=null,$c=null,yc=null,g$=!1,ar=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h$=!1;if(ar)try{var bd={};Object.defineProperty(bd,"passive",{get:function(){h$=!0}}),window.addEventListener("test",bd,bd),window.removeEventListener("test",bd,bd)}catch(e){h$=!1}var Al=null,$$=null,sm=null,Vi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cm=to(Vi),gd=ot({},Vi,{view:0,detail:0}),xw=to(gd),y$,v$,hd,um=ot({},gd,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ag,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){if("movementX"in e)return e.movementX;return e!==hd&&(hd&&e.type==="mousemove"?(y$=e.screenX-hd.screenX,v$=e.screenY-hd.screenY):v$=y$=0,hd=e),y$},movementY:function(e){return"movementY"in e?e.movementY:v$}}),aS=to(um),Sw=ot({},um,{dataTransfer:0}),Cw=to(Sw),Ew=ot({},gd,{relatedTarget:0}),x$=to(Ew),Tw=ot({},Vi,{animationName:0,elapsedTime:0,pseudoElement:0}),Rw=to(Tw),ww=ot({},Vi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Dw=to(ww),Aw=ot({},Vi,{data:0}),oS=to(Aw),Pw=oS,Mw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ow={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"},Nw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Lw=ot({},gd,{key:function(e){if(e.key){var t=Mw[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Xf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ow[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ag,charCode:function(e){return e.type==="keypress"?Xf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),kw=to(Lw),_w=ot({},um,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),nS=to(_w),zw=ot({},gd,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ag}),Bw=to(zw),Iw=ot({},Vi,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hw=to(Iw),Fw=ot({},um,{deltaX:function(e){return"deltaX"in e?e.deltaX:("wheelDeltaX"in e)?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:("wheelDeltaY"in e)?-e.wheelDeltaY:("wheelDelta"in e)?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Uw=to(Fw),Vw=ot({},Vi,{newState:0,oldState:0}),Kw=to(Vw),jw=[9,13,27,32],rS=229,S$=ar&&"CompositionEvent"in window,$d=null;ar&&"documentMode"in document&&($d=document.documentMode);var Gw=ar&&"TextEvent"in window&&!$d,lS=ar&&(!S$||$d&&8<$d&&11>=$d),iS=32,sS=String.fromCharCode(iS),cS=!1,vc=!1,qw={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},yd=null,vd=null,uS=!1;ar&&(uS=mT("input")&&(!document.documentMode||9<document.documentMode));var Ka=typeof Object.is==="function"?Object.is:vT,Yw=ar&&"documentMode"in document&&11>=document.documentMode,xc=null,C$=null,xd=null,E$=!1,Sc={animationend:Di("Animation","AnimationEnd"),animationiteration:Di("Animation","AnimationIteration"),animationstart:Di("Animation","AnimationStart"),transitionrun:Di("Transition","TransitionRun"),transitionstart:Di("Transition","TransitionStart"),transitioncancel:Di("Transition","TransitionCancel"),transitionend:Di("Transition","TransitionEnd")},T$={},dS={};ar&&(dS=document.createElement("div").style,("AnimationEvent"in window)||(delete Sc.animationend.animation,delete Sc.animationiteration.animation,delete Sc.animationstart.animation),("TransitionEvent"in window)||delete Sc.transitionend.transition);var fS=Ai("animationend"),pS=Ai("animationiteration"),mS=Ai("animationstart"),Xw=Ai("transitionrun"),Qw=Ai("transitionstart"),Zw=Ai("transitioncancel"),bS=Ai("transitionend"),gS=new Map,R$="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(" ");R$.push("scrollEnd");var hS=0;if(typeof performance==="object"&&typeof performance.now==="function")var Ww=performance,$S=function(){return Ww.now()};else{var Jw=Date;$S=function(){return Jw.now()}}var w$=typeof reportError==="function"?reportError:function(e){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e==="object"&&e!==null&&typeof e.message==="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",e);return}console.error(e)},eD="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.",dm=0,D$=1,A$=2,P$=3,fm="– ",pm="+ ",yS=" ",Ot=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",jo="Components ⚛",nt="Scheduler ⚛",rt="Blocking",Pl=!1,Or={color:"primary",properties:null,tooltipText:"",track:jo},Ml={start:-0,end:-0,detail:{devtools:Or}},tD=["Changed Props",""],vS="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",aD=["Changed Props",vS],Sd=1,Nr=2,Go=[],Cc=0,M$=0,Ol={};Object.freeze(Ol);var qo=null,Ec=null,ze=0,oD=1,Ze=2,za=8,gn=16,nD=32,xS=!1;try{var SS=Object.preventExtensions({})}catch(e){xS=!0}var O$=new WeakMap,Tc=[],Rc=0,mm=null,Cd=0,Yo=[],Xo=0,Ki=null,Lr=1,kr="",Aa=null,Nt=null,it=!1,or=!1,Ao=null,Nl=null,Qo=!1,N$=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."),L$=ye(null),k$=ye(null),CS={},bm=null,wc=null,Dc=!1,rD=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},lD=mt.unstable_scheduleCallback,iD=mt.unstable_NormalPriority,Zt={$$typeof:Zn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Wt=mt.unstable_now,gm=console.createTask?console.createTask:function(){return null},Ed=1,hm=2,ga=-0,Ll=-0,_r=-0,zr=null,ja=-1.1,ji=-0,Ht=-0,Oe=-1.1,ke=-1.1,zt=null,Vt=!1,kl=-0,nr=-1.1,Td=null,_l=0,_$=null,z$=null,Gi=-1.1,Rd=null,Ac=-1.1,$m=-1.1,rr=-0,Br=-1.1,Zo=-1.1,B$=0,wd=null,ES=null,TS=null,zl=-1.1,qi=null,Bl=-1.1,ym=-1.1,RS=-0,wS=-0,vm=0,Ir=null,DS=0,Dd=-1.1,xm=!1,Sm=!1,Ad=null,I$=0,Yi=0,Pc=null,AS=Y.S;Y.S=function(e,t){if(E6=ba(),typeof t==="object"&&t!==null&&typeof t.then==="function"){if(0>Br&&0>Zo){Br=Wt();var a=rd(),n=nd();if(a!==Bl||n!==qi)Bl=-1.1;zl=a,qi=n}wT(e,t)}AS!==null&&AS(e,t)};var Xi=ye(null),hn={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Pd=[],Md=[],Od=[],Nd=[],Ld=[],kd=[],Qi=new Set;hn.recordUnsafeLifecycleWarnings=function(e,t){Qi.has(e.type)||(typeof t.componentWillMount==="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Pd.push(e),e.mode&za&&typeof t.UNSAFE_componentWillMount==="function"&&Md.push(e),typeof t.componentWillReceiveProps==="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Od.push(e),e.mode&za&&typeof t.UNSAFE_componentWillReceiveProps==="function"&&Nd.push(e),typeof t.componentWillUpdate==="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ld.push(e),e.mode&za&&typeof t.UNSAFE_componentWillUpdate==="function"&&kd.push(e))},hn.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Pd.length&&(Pd.forEach(function(p){e.add(j(p)||"Component"),Qi.add(p.type)}),Pd=[]);var t=new Set;0<Md.length&&(Md.forEach(function(p){t.add(j(p)||"Component"),Qi.add(p.type)}),Md=[]);var a=new Set;0<Od.length&&(Od.forEach(function(p){a.add(j(p)||"Component"),Qi.add(p.type)}),Od=[]);var n=new Set;0<Nd.length&&(Nd.forEach(function(p){n.add(j(p)||"Component"),Qi.add(p.type)}),Nd=[]);var l=new Set;0<Ld.length&&(Ld.forEach(function(p){l.add(j(p)||"Component"),Qi.add(p.type)}),Ld=[]);var s=new Set;if(0<kd.length&&(kd.forEach(function(p){s.add(j(p)||"Component"),Qi.add(p.type)}),kd=[]),0<t.size){var d=h(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
185
|
+
|
|
186
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
187
|
+
|
|
188
|
+
Please update the following components: %s`,d)}0<n.size&&(d=h(n),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
189
|
+
|
|
190
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
191
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
192
|
+
|
|
193
|
+
Please update the following components: %s`,d)),0<s.size&&(d=h(s),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
194
|
+
|
|
195
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
+
|
|
197
|
+
Please update the following components: %s`,d)),0<e.size&&(d=h(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
198
|
+
|
|
199
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
200
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
201
|
+
|
|
202
|
+
Please update the following components: %s`,d)),0<a.size&&(d=h(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
+
|
|
204
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
205
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
206
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
207
|
+
|
|
208
|
+
Please update the following components: %s`,d)),0<l.size&&(d=h(l),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
209
|
+
|
|
210
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
211
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
212
|
+
|
|
213
|
+
Please update the following components: %s`,d))};var Cm=new Map,PS=new Set;hn.recordLegacyContextWarning=function(e,t){var a=null;for(var n=e;n!==null;)n.mode&za&&(a=n),n=n.return;a===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."):!PS.has(e.type)&&(n=Cm.get(a),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext==="function")&&(n===void 0&&(n=[],Cm.set(a,n)),n.push(e))},hn.flushLegacyContextWarning=function(){Cm.forEach(function(e){if(e.length!==0){var t=e[0],a=new Set;e.forEach(function(l){a.add(j(l)||"Component"),PS.add(l.type)});var n=h(a);me(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
214
|
+
|
|
215
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
216
|
+
|
|
217
|
+
Please update the following components: %s
|
|
218
|
+
|
|
219
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,n)})}})},hn.discardPendingWarnings=function(){Pd=[],Md=[],Od=[],Nd=[],Ld=[],kd=[],Cm=new Map};var MS={react_stack_bottom_frame:function(e,t,a){var n=Wn;Wn=!0;try{return e(t,a)}finally{Wn=n}}},H$=MS.react_stack_bottom_frame.bind(MS),OS={react_stack_bottom_frame:function(e){var t=Wn;Wn=!0;try{return e.render()}finally{Wn=t}}},NS=OS.react_stack_bottom_frame.bind(OS),LS={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(a){$t(e,e.return,a)}}},F$=LS.react_stack_bottom_frame.bind(LS),kS={react_stack_bottom_frame:function(e,t,a,n,l){try{t.componentDidUpdate(a,n,l)}catch(s){$t(e,e.return,s)}}},_S=kS.react_stack_bottom_frame.bind(kS),zS={react_stack_bottom_frame:function(e,t){var a=t.stack;e.componentDidCatch(t.value,{componentStack:a!==null?a:""})}},sD=zS.react_stack_bottom_frame.bind(zS),BS={react_stack_bottom_frame:function(e,t,a){try{a.componentWillUnmount()}catch(n){$t(e,t,n)}}},IS=BS.react_stack_bottom_frame.bind(BS),HS={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},cD=HS.react_stack_bottom_frame.bind(HS),FS={react_stack_bottom_frame:function(e,t,a){try{a()}catch(n){$t(e,t,n)}}},uD=FS.react_stack_bottom_frame.bind(FS),US={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},dD=US.react_stack_bottom_frame.bind(US),Mc=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`."),U$=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."),Em=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."),Tm={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.')}},Zi=null,_d=!1,Oc=null,zd=0,We=null,V$,VS=V$=!1,KS={},jS={},GS={};v=function(e,t,a){if(a!==null&&typeof a==="object"&&a._store&&(!a._store.validated&&a.key==null||a._store.validated===2)){if(typeof a._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.");a._store.validated=1;var n=j(e),l=n||"null";if(!KS[l]){KS[l]=!0,a=a._owner,e=e._debugOwner;var s="";e&&typeof e.tag==="number"&&(l=j(e))&&(s=`
|
|
220
|
+
|
|
221
|
+
Check the render method of \``+l+"`."),s||n&&(s=`
|
|
222
|
+
|
|
223
|
+
Check the top-level render call using <`+n+">.");var d="";a!=null&&e!==a&&(n=null,typeof a.tag==="number"?n=j(a):typeof a.name==="string"&&(n=a.name),n&&(d=" It was passed a child from "+n+".")),me(t,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.',s,d)})}}};var Wi=B4(!0),qS=B4(!1),YS=0,XS=1,QS=2,K$=3,Il=!1,ZS=!1,j$=null,G$=!1,Nc=ye(null),Rm=ye(0),Po=ye(null),Wo=null,Lc=1,Bd=2,Yt=ye(0),wm=0,Jo=1,Ga=2,Mo=4,qa=8,kc,WS=new Set,JS=new Set,q$=new Set,e6=new Set,Hr=0,Be=null,Rt=null,Jt=null,Dm=!1,_c=!1,Ji=!1,Am=0,Id=0,Fr=null,fD=0,pD=25,q=null,en=null,Ur=-1,Hd=!1,Fd={readContext:_t,use:xl,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt};Fd.useEffectEvent=jt;var Y$=null,t6=null,X$=null,a6=null,lr=null,$n=null,Pm=null;Y$={readContext:function(e){return _t(e)},use:xl,useCallback:function(e,t){return q="useCallback",at(),Ws(t),Gg(e,t)},useContext:function(e){return q="useContext",at(),_t(e)},useEffect:function(e,t){return q="useEffect",at(),Ws(t),Cp(e,t)},useImperativeHandle:function(e,t,a){return q="useImperativeHandle",at(),Ws(a),jg(e,t,a)},useInsertionEffect:function(e,t){q="useInsertionEffect",at(),Ws(t),zi(4,Ga,e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",at(),Ws(t),Kg(e,t)},useMemo:function(e,t){q="useMemo",at(),Ws(t);var a=Y.H;Y.H=lr;try{return qg(e,t)}finally{Y.H=a}},useReducer:function(e,t,a){q="useReducer",at();var n=Y.H;Y.H=lr;try{return kg(e,t,a)}finally{Y.H=n}},useRef:function(e){return q="useRef",at(),Ug(e)},useState:function(e){q="useState",at();var t=Y.H;Y.H=lr;try{return Ig(e)}finally{Y.H=t}},useDebugValue:function(){q="useDebugValue",at()},useDeferredValue:function(e,t){return q="useDeferredValue",at(),Yg(e,t)},useTransition:function(){return q="useTransition",at(),Zg()},useSyncExternalStore:function(e,t,a){return q="useSyncExternalStore",at(),zg(e,t,a)},useId:function(){return q="useId",at(),Wg()},useFormState:function(e,t){return q="useFormState",at(),$p(),ec(e,t)},useActionState:function(e,t){return q="useActionState",at(),ec(e,t)},useOptimistic:function(e){return q="useOptimistic",at(),Hg(e)},useHostTransitionStatus:Bi,useMemoCache:_i,useCacheRefresh:function(){return q="useCacheRefresh",at(),Jg()},useEffectEvent:function(e){return q="useEffectEvent",at(),Vg(e)}},t6={readContext:function(e){return _t(e)},use:xl,useCallback:function(e,t){return q="useCallback",oe(),Gg(e,t)},useContext:function(e){return q="useContext",oe(),_t(e)},useEffect:function(e,t){return q="useEffect",oe(),Cp(e,t)},useImperativeHandle:function(e,t,a){return q="useImperativeHandle",oe(),jg(e,t,a)},useInsertionEffect:function(e,t){q="useInsertionEffect",oe(),zi(4,Ga,e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",oe(),Kg(e,t)},useMemo:function(e,t){q="useMemo",oe();var a=Y.H;Y.H=lr;try{return qg(e,t)}finally{Y.H=a}},useReducer:function(e,t,a){q="useReducer",oe();var n=Y.H;Y.H=lr;try{return kg(e,t,a)}finally{Y.H=n}},useRef:function(e){return q="useRef",oe(),Ug(e)},useState:function(e){q="useState",oe();var t=Y.H;Y.H=lr;try{return Ig(e)}finally{Y.H=t}},useDebugValue:function(){q="useDebugValue",oe()},useDeferredValue:function(e,t){return q="useDeferredValue",oe(),Yg(e,t)},useTransition:function(){return q="useTransition",oe(),Zg()},useSyncExternalStore:function(e,t,a){return q="useSyncExternalStore",oe(),zg(e,t,a)},useId:function(){return q="useId",oe(),Wg()},useActionState:function(e,t){return q="useActionState",oe(),ec(e,t)},useFormState:function(e,t){return q="useFormState",oe(),$p(),ec(e,t)},useOptimistic:function(e){return q="useOptimistic",oe(),Hg(e)},useHostTransitionStatus:Bi,useMemoCache:_i,useCacheRefresh:function(){return q="useCacheRefresh",oe(),Jg()},useEffectEvent:function(e){return q="useEffectEvent",oe(),Vg(e)}},X$={readContext:function(e){return _t(e)},use:xl,useCallback:function(e,t){return q="useCallback",oe(),Rp(e,t)},useContext:function(e){return q="useContext",oe(),_t(e)},useEffect:function(e,t){q="useEffect",oe(),ao(2048,qa,e,t)},useImperativeHandle:function(e,t,a){return q="useImperativeHandle",oe(),Tp(e,t,a)},useInsertionEffect:function(e,t){return q="useInsertionEffect",oe(),ao(4,Ga,e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",oe(),ao(4,Mo,e,t)},useMemo:function(e,t){q="useMemo",oe();var a=Y.H;Y.H=$n;try{return wp(e,t)}finally{Y.H=a}},useReducer:function(e,t,a){q="useReducer",oe();var n=Y.H;Y.H=$n;try{return Js(e,t,a)}finally{Y.H=n}},useRef:function(){return q="useRef",oe(),xt().memoizedState},useState:function(){q="useState",oe();var e=Y.H;Y.H=$n;try{return Js(fn)}finally{Y.H=e}},useDebugValue:function(){q="useDebugValue",oe()},useDeferredValue:function(e,t){return q="useDeferredValue",oe(),l3(e,t)},useTransition:function(){return q="useTransition",oe(),f3()},useSyncExternalStore:function(e,t,a){return q="useSyncExternalStore",oe(),vp(e,t,a)},useId:function(){return q="useId",oe(),xt().memoizedState},useFormState:function(e){return q="useFormState",oe(),$p(),xp(e)},useActionState:function(e){return q="useActionState",oe(),xp(e)},useOptimistic:function(e,t){return q="useOptimistic",oe(),Q4(e,t)},useHostTransitionStatus:Bi,useMemoCache:_i,useCacheRefresh:function(){return q="useCacheRefresh",oe(),xt().memoizedState},useEffectEvent:function(e){return q="useEffectEvent",oe(),Ep(e)}},a6={readContext:function(e){return _t(e)},use:xl,useCallback:function(e,t){return q="useCallback",oe(),Rp(e,t)},useContext:function(e){return q="useContext",oe(),_t(e)},useEffect:function(e,t){q="useEffect",oe(),ao(2048,qa,e,t)},useImperativeHandle:function(e,t,a){return q="useImperativeHandle",oe(),Tp(e,t,a)},useInsertionEffect:function(e,t){return q="useInsertionEffect",oe(),ao(4,Ga,e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",oe(),ao(4,Mo,e,t)},useMemo:function(e,t){q="useMemo",oe();var a=Y.H;Y.H=Pm;try{return wp(e,t)}finally{Y.H=a}},useReducer:function(e,t,a){q="useReducer",oe();var n=Y.H;Y.H=Pm;try{return Gu(e,t,a)}finally{Y.H=n}},useRef:function(){return q="useRef",oe(),xt().memoizedState},useState:function(){q="useState",oe();var e=Y.H;Y.H=Pm;try{return Gu(fn)}finally{Y.H=e}},useDebugValue:function(){q="useDebugValue",oe()},useDeferredValue:function(e,t){return q="useDeferredValue",oe(),i3(e,t)},useTransition:function(){return q="useTransition",oe(),p3()},useSyncExternalStore:function(e,t,a){return q="useSyncExternalStore",oe(),vp(e,t,a)},useId:function(){return q="useId",oe(),xt().memoizedState},useFormState:function(e){return q="useFormState",oe(),$p(),Sp(e)},useActionState:function(e){return q="useActionState",oe(),Sp(e)},useOptimistic:function(e,t){return q="useOptimistic",oe(),W4(e,t)},useHostTransitionStatus:Bi,useMemoCache:_i,useCacheRefresh:function(){return q="useCacheRefresh",oe(),xt().memoizedState},useEffectEvent:function(e){return q="useEffectEvent",oe(),Ep(e)}},lr={readContext:function(e){return g(),_t(e)},use:function(e){return m(),xl(e)},useCallback:function(e,t){return q="useCallback",m(),at(),Gg(e,t)},useContext:function(e){return q="useContext",m(),at(),_t(e)},useEffect:function(e,t){return q="useEffect",m(),at(),Cp(e,t)},useImperativeHandle:function(e,t,a){return q="useImperativeHandle",m(),at(),jg(e,t,a)},useInsertionEffect:function(e,t){q="useInsertionEffect",m(),at(),zi(4,Ga,e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",m(),at(),Kg(e,t)},useMemo:function(e,t){q="useMemo",m(),at();var a=Y.H;Y.H=lr;try{return qg(e,t)}finally{Y.H=a}},useReducer:function(e,t,a){q="useReducer",m(),at();var n=Y.H;Y.H=lr;try{return kg(e,t,a)}finally{Y.H=n}},useRef:function(e){return q="useRef",m(),at(),Ug(e)},useState:function(e){q="useState",m(),at();var t=Y.H;Y.H=lr;try{return Ig(e)}finally{Y.H=t}},useDebugValue:function(){q="useDebugValue",m(),at()},useDeferredValue:function(e,t){return q="useDeferredValue",m(),at(),Yg(e,t)},useTransition:function(){return q="useTransition",m(),at(),Zg()},useSyncExternalStore:function(e,t,a){return q="useSyncExternalStore",m(),at(),zg(e,t,a)},useId:function(){return q="useId",m(),at(),Wg()},useFormState:function(e,t){return q="useFormState",m(),at(),ec(e,t)},useActionState:function(e,t){return q="useActionState",m(),at(),ec(e,t)},useOptimistic:function(e){return q="useOptimistic",m(),at(),Hg(e)},useMemoCache:function(e){return m(),_i(e)},useHostTransitionStatus:Bi,useCacheRefresh:function(){return q="useCacheRefresh",at(),Jg()},useEffectEvent:function(e){return q="useEffectEvent",m(),at(),Vg(e)}},$n={readContext:function(e){return g(),_t(e)},use:function(e){return m(),xl(e)},useCallback:function(e,t){return q="useCallback",m(),oe(),Rp(e,t)},useContext:function(e){return q="useContext",m(),oe(),_t(e)},useEffect:function(e,t){q="useEffect",m(),oe(),ao(2048,qa,e,t)},useImperativeHandle:function(e,t,a){return q="useImperativeHandle",m(),oe(),Tp(e,t,a)},useInsertionEffect:function(e,t){return q="useInsertionEffect",m(),oe(),ao(4,Ga,e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",m(),oe(),ao(4,Mo,e,t)},useMemo:function(e,t){q="useMemo",m(),oe();var a=Y.H;Y.H=$n;try{return wp(e,t)}finally{Y.H=a}},useReducer:function(e,t,a){q="useReducer",m(),oe();var n=Y.H;Y.H=$n;try{return Js(e,t,a)}finally{Y.H=n}},useRef:function(){return q="useRef",m(),oe(),xt().memoizedState},useState:function(){q="useState",m(),oe();var e=Y.H;Y.H=$n;try{return Js(fn)}finally{Y.H=e}},useDebugValue:function(){q="useDebugValue",m(),oe()},useDeferredValue:function(e,t){return q="useDeferredValue",m(),oe(),l3(e,t)},useTransition:function(){return q="useTransition",m(),oe(),f3()},useSyncExternalStore:function(e,t,a){return q="useSyncExternalStore",m(),oe(),vp(e,t,a)},useId:function(){return q="useId",m(),oe(),xt().memoizedState},useFormState:function(e){return q="useFormState",m(),oe(),xp(e)},useActionState:function(e){return q="useActionState",m(),oe(),xp(e)},useOptimistic:function(e,t){return q="useOptimistic",m(),oe(),Q4(e,t)},useMemoCache:function(e){return m(),_i(e)},useHostTransitionStatus:Bi,useCacheRefresh:function(){return q="useCacheRefresh",oe(),xt().memoizedState},useEffectEvent:function(e){return q="useEffectEvent",m(),oe(),Ep(e)}},Pm={readContext:function(e){return g(),_t(e)},use:function(e){return m(),xl(e)},useCallback:function(e,t){return q="useCallback",m(),oe(),Rp(e,t)},useContext:function(e){return q="useContext",m(),oe(),_t(e)},useEffect:function(e,t){q="useEffect",m(),oe(),ao(2048,qa,e,t)},useImperativeHandle:function(e,t,a){return q="useImperativeHandle",m(),oe(),Tp(e,t,a)},useInsertionEffect:function(e,t){return q="useInsertionEffect",m(),oe(),ao(4,Ga,e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",m(),oe(),ao(4,Mo,e,t)},useMemo:function(e,t){q="useMemo",m(),oe();var a=Y.H;Y.H=$n;try{return wp(e,t)}finally{Y.H=a}},useReducer:function(e,t,a){q="useReducer",m(),oe();var n=Y.H;Y.H=$n;try{return Gu(e,t,a)}finally{Y.H=n}},useRef:function(){return q="useRef",m(),oe(),xt().memoizedState},useState:function(){q="useState",m(),oe();var e=Y.H;Y.H=$n;try{return Gu(fn)}finally{Y.H=e}},useDebugValue:function(){q="useDebugValue",m(),oe()},useDeferredValue:function(e,t){return q="useDeferredValue",m(),oe(),i3(e,t)},useTransition:function(){return q="useTransition",m(),oe(),p3()},useSyncExternalStore:function(e,t,a){return q="useSyncExternalStore",m(),oe(),vp(e,t,a)},useId:function(){return q="useId",m(),oe(),xt().memoizedState},useFormState:function(e){return q="useFormState",m(),oe(),Sp(e)},useActionState:function(e){return q="useActionState",m(),oe(),Sp(e)},useOptimistic:function(e,t){return q="useOptimistic",m(),oe(),W4(e,t)},useMemoCache:function(e){return m(),_i(e)},useHostTransitionStatus:Bi,useCacheRefresh:function(){return q="useCacheRefresh",oe(),xt().memoizedState},useEffectEvent:function(e){return q="useEffectEvent",m(),oe(),Ep(e)}};var o6={},n6=new Set,r6=new Set,l6=new Set,i6=new Set,s6=new Set,c6=new Set,u6=new Set,d6=new Set,f6=new Set,p6=new Set;Object.freeze(o6);var Q$={enqueueSetState:function(e,t,a){e=e._reactInternals;var n=Eo(e),l=hl(n);l.payload=t,a!==void 0&&a!==null&&(th(a),l.callback=a),t=$l(e,l,n),t!==null&&(zn(n,"this.setState()",e),Ut(t,e,n),Uu(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var n=Eo(e),l=hl(n);l.tag=XS,l.payload=t,a!==void 0&&a!==null&&(th(a),l.callback=a),t=$l(e,l,n),t!==null&&(zn(n,"this.replaceState()",e),Ut(t,e,n),Uu(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Eo(e),n=hl(a);n.tag=QS,t!==void 0&&t!==null&&(th(t),n.callback=t),t=$l(e,n,a),t!==null&&(zn(a,"this.forceUpdate()",e),Ut(t,e,a),Uu(t,e,a))}},zc=null,Z$=null,W$=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."),ea=!1,m6={},b6={},g6={},h6={},Bc=!1,$6={},Mm={},J$={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},y6=!1,v6=null;v6=new Set;var Vr=!1,ta=!1,ey=!1,x6=typeof WeakSet==="function"?WeakSet:Set,ha=null,Ic=null,Hc=null,aa=null,ro=!1,yn=null,ca=!1,Ud=8192,mD={getCacheForType:function(e){var t=_t(Zt),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return _t(Zt).controller.signal},getOwner:function(){return wo}};if(typeof Symbol==="function"&&Symbol.for){var Vd=Symbol.for;Vd("selector.component"),Vd("selector.has_pseudo_class"),Vd("selector.role"),Vd("selector.test_id"),Vd("selector.text")}var bD=[],gD=typeof WeakMap==="function"?WeakMap:Map,$a=0,ua=2,Oo=4,Kr=0,Kd=1,es=2,Om=3,Hl=4,Nm=6,S6=5,ut=$a,wt=null,et=null,Je=0,lo=0,Lm=1,ts=2,jd=3,C6=4,ty=5,Gd=6,km=7,ay=8,as=9,St=lo,No=null,Fl=!1,Fc=!1,oy=!1,ir=0,Ft=Kr,Ul=0,Vl=0,ny=0,io=0,os=0,qd=null,Ya=null,_m=!1,zm=0,E6=0,T6=300,Bm=1/0,R6=500,Yd=null,Gt=null,Kl=null,Im=0,ry=1,ly=2,w6=3,jl=0,D6=1,A6=2,P6=3,M6=4,Hm=5,oa=0,Gl=null,Uc=null,vn=0,iy=0,sy=-0,cy=null,O6=null,N6=null,xn=Im,L6=null,hD=50,Xd=0,uy=null,dy=!1,Fm=!1,$D=50,ns=0,Qd=null,Vc=!1,Um=null,k6=!1,_6=new Set,yD={},Vm=null,Kc=null,fy=!1,py=!1,Km=!1,my=!1,ql=0,by={};(function(){for(var e=0;e<R$.length;e++){var t=R$[e],a=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),dn(a,"on"+t)}dn(fS,"onAnimationEnd"),dn(pS,"onAnimationIteration"),dn(mS,"onAnimationStart"),dn("dblclick","onDoubleClick"),dn("focusin","onFocus"),dn("focusout","onBlur"),dn(Xw,"onTransitionRun"),dn(Qw,"onTransitionStart"),dn(Zw,"onTransitionCancel"),dn(bS,"onTransitionEnd")})(),ho("onMouseEnter",["mouseout","mouseover"]),ho("onMouseLeave",["mouseout","mouseover"]),ho("onPointerEnter",["pointerout","pointerover"]),ho("onPointerLeave",["pointerout","pointerover"]),La("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),La("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),La("onBeforeInput",["compositionend","keypress","textInput","paste"]),La("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),La("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),La("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zd="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(" "),gy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Zd)),jm="_reactListening"+Math.random().toString(36).slice(2),z6=!1,B6=!1,Gm=!1,I6=!1,qm=!1,Ym=!1,H6=!1,Xm={},vD=/\r\n?/g,xD=/\u0000|\uFFFD/g,rs="http://www.w3.org/1999/xlink",hy="http://www.w3.org/XML/1998/namespace",SD="javascript:throw new Error('React form unexpectedly submitted.')",CD="suppressHydrationWarning",ls="&",Qm="/&",Wd="$",Jd="/$",Yl="$?",is="$~",jc="$!",ED="html",TD="body",RD="head",$y="F!",F6="F",U6="loading",wD="style",jr=0,Gc=1,Zm=2,yy=null,vy=null,V6={dialog:!0,webview:!0},xy=null,ef=void 0,K6=typeof setTimeout==="function"?setTimeout:void 0,DD=typeof clearTimeout==="function"?clearTimeout:void 0,ss=-1,j6=typeof Promise==="function"?Promise:void 0,AD=typeof queueMicrotask==="function"?queueMicrotask:typeof j6<"u"?function(e){return j6.resolve(null).then(e).catch(pR)}:K6,Sy=null,cs=0,tf=1,G6=2,q6=3,tn=4,an=new Map,Y6=new Set,Gr=yt.d;yt.d={f:function(){var e=Gr.f(),t=rc();return e||t},r:function(e){var t=Fe(e);t!==null&&t.tag===5&&t.type==="form"?d3(t):Gr.r(e)},D:function(e){Gr.D(e),n8("dns-prefetch",e,null)},C:function(e,t){Gr.C(e,t),n8("preconnect",e,t)},L:function(e,t,a){Gr.L(e,t,a);var n=qc;if(n&&e&&t){var l='link[rel="preload"][as="'+Vo(t)+'"]';t==="image"?a&&a.imageSrcSet?(l+='[imagesrcset="'+Vo(a.imageSrcSet)+'"]',typeof a.imageSizes==="string"&&(l+='[imagesizes="'+Vo(a.imageSizes)+'"]')):l+='[href="'+Vo(e)+'"]':l+='[href="'+Vo(e)+'"]';var s=l;switch(t){case"style":s=sc(e);break;case"script":s=cc(e)}an.has(s)||(e=ot({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),an.set(s,e),n.querySelector(l)!==null||t==="style"&&n.querySelector(id(s))||t==="script"&&n.querySelector(sd(s))||(t=n.createElement("link"),wa(t,"link",e),Me(t),n.head.appendChild(t)))}},m:function(e,t){Gr.m(e,t);var a=qc;if(a&&e){var n=t&&typeof t.as==="string"?t.as:"script",l='link[rel="modulepreload"][as="'+Vo(n)+'"][href="'+Vo(e)+'"]',s=l;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=cc(e)}if(!an.has(s)&&(e=ot({rel:"modulepreload",href:e},t),an.set(s,e),a.querySelector(l)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(sd(s)))return}n=a.createElement("link"),wa(n,"link",e),Me(n),a.head.appendChild(n)}}},X:function(e,t){Gr.X(e,t);var a=qc;if(a&&e){var n=pt(a).hoistableScripts,l=cc(e),s=n.get(l);s||(s=a.querySelector(sd(l)),s||(e=ot({src:e,async:!0},t),(t=an.get(l))&&jh(e,t),s=a.createElement("script"),Me(s),wa(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},n.set(l,s))}},S:function(e,t,a){Gr.S(e,t,a);var n=qc;if(n&&e){var l=pt(n).hoistableStyles,s=sc(e);t=t||"default";var d=l.get(s);if(!d){var p={loading:cs,preload:null};if(d=n.querySelector(id(s)))p.loading=tf|tn;else{e=ot({rel:"stylesheet",href:e,"data-precedence":t},a),(a=an.get(s))&&Kh(e,a);var y=d=n.createElement("link");Me(y),wa(y,"link",e),y._p=new Promise(function(S,k){y.onload=S,y.onerror=k}),y.addEventListener("load",function(){p.loading|=tf}),y.addEventListener("error",function(){p.loading|=G6}),p.loading|=tn,Gp(d,t,n)}d={type:"stylesheet",instance:d,count:1,state:p},l.set(s,d)}}},M:function(e,t){Gr.M(e,t);var a=qc;if(a&&e){var n=pt(a).hoistableScripts,l=cc(e),s=n.get(l);s||(s=a.querySelector(sd(l)),s||(e=ot({src:e,async:!0,type:"module"},t),(t=an.get(l))&&jh(e,t),s=a.createElement("script"),Me(s),wa(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},n.set(l,s))}}};var qc=typeof document>"u"?null:document,Wm=null,PD=60000,MD=800,OD=500,Cy=0,Ey=null,Jm=null,us=qR,af={$$typeof:Zn,Provider:null,Consumer:null,_currentValue:us,_currentValue2:us,_threadCount:0},X6="%c%s%c",Q6="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",Z6="",eb=" ",ND=Function.prototype.bind,W6=!1,J6=null,e7=null,t7=null,a7=null,o7=null,n7=null,r7=null,l7=null,i7=null,s7=null;J6=function(e,t,a,n){t=o(e,t),t!==null&&(a=r(t.memoizedState,a,0,n),t.memoizedState=a,t.baseState=a,e.memoizedProps=ot({},e.memoizedProps),a=ka(e,2),a!==null&&Ut(a,e,2))},e7=function(e,t,a){t=o(e,t),t!==null&&(a=u(t.memoizedState,a,0),t.memoizedState=a,t.baseState=a,e.memoizedProps=ot({},e.memoizedProps),a=ka(e,2),a!==null&&Ut(a,e,2))},t7=function(e,t,a,n){t=o(e,t),t!==null&&(a=i(t.memoizedState,a,n),t.memoizedState=a,t.baseState=a,e.memoizedProps=ot({},e.memoizedProps),a=ka(e,2),a!==null&&Ut(a,e,2))},a7=function(e,t,a){e.pendingProps=r(e.memoizedProps,t,0,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ka(e,2),t!==null&&Ut(t,e,2)},o7=function(e,t){e.pendingProps=u(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ka(e,2),t!==null&&Ut(t,e,2)},n7=function(e,t,a){e.pendingProps=i(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ka(e,2),t!==null&&Ut(t,e,2)},r7=function(e){var t=ka(e,2);t!==null&&Ut(t,e,2)},l7=function(e){var t=js(),a=ka(e,t);a!==null&&Ut(a,e,t)},i7=function(e){b=e},s7=function(e){f=e};var tb=!0,ab=null,Ty=!1,Xl=null,Ql=null,Zl=null,of=new Map,nf=new Map,Wl=[],LD="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(" "),ob=null;if(Zp.prototype.render=Zh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var a=arguments;typeof a[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()."):M(a[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 a[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),a=e;var n=t.current,l=Eo(n);Gh(n,l,a,t,null,null)},Zp.prototype.unmount=Zh.prototype.unmount=function(){var e=arguments;if(typeof e[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()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(ut&(ua|Oo))!==$a&&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."),Gh(e.current,2,null,e,null,null),rc(),t[Dl]=null}},Zp.prototype.unstable_scheduleHydration=function(e){if(e){var t=B();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Wl.length&&t!==0&&t<Wl[a].priority;a++);Wl.splice(a,0,e),a===0&&$8(e)}},function(){var e=Yc.version;if(e!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
224
|
+
- react: `+(e+`
|
|
225
|
+
- react-dom: 19.2.7
|
|
226
|
+
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),yt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0){if(typeof e.render==="function")throw Error("Unable to find node on an unmounted component.");throw e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e)}return e=ge(t),e=e!==null?he(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:Y,reconcilerVersion:"19.2.7"};return e.overrideHookState=J6,e.overrideHookStateDeletePath=e7,e.overrideHookStateRenamePath=t7,e.overrideProps=a7,e.overridePropsDeletePath=o7,e.overridePropsRenamePath=n7,e.scheduleUpdate=r7,e.scheduleRetry=l7,e.setErrorHandler=i7,e.setSuspenseHandler=s7,e.scheduleRefresh=w,e.scheduleRoot=R,e.setRefreshHandler=L,e.getCurrentFiber=IR,Ks(e)}()&&ar&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var c7=window.location.protocol;/^(https?|file):$/.test(c7)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(c7==="file:"?`
|
|
227
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}qD.createRoot=function(e,t){if(!M(e))throw Error("Target container is not a DOM element.");S8(e);var a=!1,n="",l=y3,s=v3,d=x3;return t!==null&&t!==void 0&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t==="object"&&t!==null&&t.$$typeof===Qn&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
228
|
+
|
|
229
|
+
let root = createRoot(domContainer);
|
|
230
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError)),t=d8(e,1,!1,null,null,a,n,null,l,s,d,x8),e[Dl]=t.current,Oh(e),new Zh(t)},qD.hydrateRoot=function(e,t,a){if(!M(e))throw Error("Target container is not a DOM element.");S8(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var n=!1,l="",s=y3,d=v3,p=x3,y=null;return a!==null&&a!==void 0&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(s=a.onUncaughtError),a.onCaughtError!==void 0&&(d=a.onCaughtError),a.onRecoverableError!==void 0&&(p=a.onRecoverableError),a.formState!==void 0&&(y=a.formState)),t=d8(e,1,!0,t,a!=null?a:null,n,l,y,s,d,p,x8),t.context=f8(null),a=t.current,n=Eo(a),n=Ri(n),l=hl(n),l.callback=null,$l(a,l,n),zn(n,"hydrateRoot()",null),a=n,t.current.lanes=a,ul(t,a),Yn(t),e[Dl]=t.current,Oh(e),new Zp(t)},qD.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var g7=Yr(function(wL,b7){var YD=F(m7());b7.exports=YD});var y7=Yr(function(QD){var fs=F(J());(function(){function o(C){if(C==null)return null;if(typeof C==="function")return C.$$typeof===j?null:C.displayName||C.name||null;if(typeof C==="string")return C;switch(C){case L:return"Fragment";case H:return"Profiler";case M:return"StrictMode";case ge:return"Suspense";case he:return"SuspenseList";case te:return"Activity"}if(typeof C==="object")switch(typeof C.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),C.$$typeof){case w:return"Portal";case X:return C.displayName||"Context";case I:return(C._context.displayName||"Context")+".Consumer";case Z:var W=C.render;return C=C.displayName,C||(C=W.displayName||W.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case ae:return W=C.displayName||null,W!==null?W:o(C.type)||"Memo";case U:W=C._payload,C=C._init;try{return o(C(W))}catch(ve){}}return null}function r(C){return""+C}function i(C){try{r(C);var W=!1}catch(Ne){W=!0}if(W){W=console;var ve=W.error,Ce=typeof Symbol==="function"&&Symbol.toStringTag&&C[Symbol.toStringTag]||C.constructor.name||"Object";return ve.call(W,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Ce),r(C)}}function c(C){if(C===L)return"<>";if(typeof C==="object"&&C!==null&&C.$$typeof===U)return"<...>";try{var W=o(C);return W?"<"+W+">":"<...>"}catch(ve){return"<...>"}}function u(){var C=ye.A;return C===null?null:C.getOwner()}function f(){return Error("react-stack-top-frame")}function b(C){if(de.call(C,"key")){var W=Object.getOwnPropertyDescriptor(C,"key").get;if(W&&W.isReactWarning)return!1}return C.key!==void 0}function m(C,W){function ve(){z||(z=!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)",W))}ve.isReactWarning=!0,Object.defineProperty(C,"key",{get:ve,configurable:!0})}function g(){var C=o(this.type);return K[C]||(K[C]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),C=this.props.ref,C!==void 0?C:null}function x(C,W,ve,Ce,Ne,He){var xe=ve.ref;return C={$$typeof:R,type:C,key:W,props:ve,_owner:Ce},(xe!==void 0?xe:null)!==null?Object.defineProperty(C,"ref",{enumerable:!1,get:g}):Object.defineProperty(C,"ref",{enumerable:!1,value:null}),C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(C,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(C,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ne}),Object.defineProperty(C,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:He}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C}function v(C,W,ve,Ce,Ne,He){var xe=W.children;if(xe!==void 0)if(Ce)if(re(xe)){for(Ce=0;Ce<xe.length;Ce++)h(xe[Ce]);Object.freeze&&Object.freeze(xe)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(xe);if(de.call(W,"key")){xe=o(C);var Xe=Object.keys(W).filter(function(ft){return ft!=="key"});Ce=0<Xe.length?"{key: someKey, "+Xe.join(": ..., ")+": ...}":"{key: someKey}",Q[xe+Ce]||(Xe=0<Xe.length?"{"+Xe.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
231
|
+
let props = %s;
|
|
232
|
+
<%s {...props} />
|
|
233
|
+
React keys must be passed directly to JSX without using spread:
|
|
234
|
+
let props = %s;
|
|
235
|
+
<%s key={someKey} {...props} />`,Ce,xe,Xe,xe),Q[xe+Ce]=!0)}if(xe=null,ve!==void 0&&(i(ve),xe=""+ve),b(W)&&(i(W.key),xe=""+W.key),"key"in W){ve={};for(var ht in W)ht!=="key"&&(ve[ht]=W[ht])}else ve=W;return xe&&m(ve,typeof C==="function"?C.displayName||C.name||"Unknown":C),x(C,xe,ve,u(),Ne,He)}function h(C){T(C)?C._store&&(C._store.validated=1):typeof C==="object"&&C!==null&&C.$$typeof===U&&(C._payload.status==="fulfilled"?T(C._payload.value)&&C._payload.value._store&&(C._payload.value._store.validated=1):C._store&&(C._store.validated=1))}function T(C){return typeof C==="object"&&C!==null&&C.$$typeof===R}var R=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),X=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),ge=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),ae=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),te=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),ye=fs.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,de=Object.prototype.hasOwnProperty,re=Array.isArray,O=console.createTask?console.createTask:function(){return null};fs={react_stack_bottom_frame:function(C){return C()}};var z,K={},V=fs.react_stack_bottom_frame.bind(fs,f)(),le=O(c(f)),Q={};QD.Fragment=L,QD.jsx=function(C,W,ve){var Ce=1e4>ye.recentlyCreatedOwnerStacks++;return v(C,W,ve,!1,Ce?Error("react-stack-top-frame"):V,Ce?O(c(C)):le)},QD.jsxs=function(C,W,ve){var Ce=1e4>ye.recentlyCreatedOwnerStacks++;return v(C,W,ve,!0,Ce?Error("react-stack-top-frame"):V,Ce?O(c(C)):le)}})()});var d1=Yr(function(sM){var Io=F(J());(function(){function o(T,R){return T===R&&(T!==0||1/T===1/R)||T!==T&&R!==R}function r(T,R){x||Io.startTransition===void 0||(x=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var w=R();if(!v){var L=R();u(w,L)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),v=!0)}L=f({inst:{value:w,getSnapshot:R}});var M=L[0].inst,H=L[1];return m(function(){M.value=w,M.getSnapshot=R,i(M)&&H({inst:M})},[T,w,R]),b(function(){return i(M)&&H({inst:M}),T(function(){i(M)&&H({inst:M})})},[T]),g(w),w}function i(T){var R=T.getSnapshot;T=T.value;try{var w=R();return!u(T,w)}catch(L){return!0}}function c(T,R){return R()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var u=typeof Object.is==="function"?Object.is:o,f=Io.useState,b=Io.useEffect,m=Io.useLayoutEffect,g=Io.useDebugValue,x=!1,v=!1,h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:r;sM.useSyncExternalStore=Io.useSyncExternalStore!==void 0?Io.useSyncExternalStore:h,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Qt=Yr(function($O){var Hs=F(J());(function(){function o(C){if(C==null)return null;if(typeof C==="function")return C.$$typeof===j?null:C.displayName||C.name||null;if(typeof C==="string")return C;switch(C){case L:return"Fragment";case H:return"Profiler";case M:return"StrictMode";case ge:return"Suspense";case he:return"SuspenseList";case te:return"Activity"}if(typeof C==="object")switch(typeof C.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),C.$$typeof){case w:return"Portal";case X:return C.displayName||"Context";case I:return(C._context.displayName||"Context")+".Consumer";case Z:var W=C.render;return C=C.displayName,C||(C=W.displayName||W.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case ae:return W=C.displayName||null,W!==null?W:o(C.type)||"Memo";case U:W=C._payload,C=C._init;try{return o(C(W))}catch(ve){}}return null}function r(C){return""+C}function i(C){try{r(C);var W=!1}catch(Ne){W=!0}if(W){W=console;var ve=W.error,Ce=typeof Symbol==="function"&&Symbol.toStringTag&&C[Symbol.toStringTag]||C.constructor.name||"Object";return ve.call(W,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Ce),r(C)}}function c(C){if(C===L)return"<>";if(typeof C==="object"&&C!==null&&C.$$typeof===U)return"<...>";try{var W=o(C);return W?"<"+W+">":"<...>"}catch(ve){return"<...>"}}function u(){var C=ye.A;return C===null?null:C.getOwner()}function f(){return Error("react-stack-top-frame")}function b(C){if(de.call(C,"key")){var W=Object.getOwnPropertyDescriptor(C,"key").get;if(W&&W.isReactWarning)return!1}return C.key!==void 0}function m(C,W){function ve(){z||(z=!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)",W))}ve.isReactWarning=!0,Object.defineProperty(C,"key",{get:ve,configurable:!0})}function g(){var C=o(this.type);return K[C]||(K[C]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),C=this.props.ref,C!==void 0?C:null}function x(C,W,ve,Ce,Ne,He){var xe=ve.ref;return C={$$typeof:R,type:C,key:W,props:ve,_owner:Ce},(xe!==void 0?xe:null)!==null?Object.defineProperty(C,"ref",{enumerable:!1,get:g}):Object.defineProperty(C,"ref",{enumerable:!1,value:null}),C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(C,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(C,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ne}),Object.defineProperty(C,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:He}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C}function v(C,W,ve,Ce,Ne,He){var xe=W.children;if(xe!==void 0)if(Ce)if(re(xe)){for(Ce=0;Ce<xe.length;Ce++)h(xe[Ce]);Object.freeze&&Object.freeze(xe)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else h(xe);if(de.call(W,"key")){xe=o(C);var Xe=Object.keys(W).filter(function(ft){return ft!=="key"});Ce=0<Xe.length?"{key: someKey, "+Xe.join(": ..., ")+": ...}":"{key: someKey}",Q[xe+Ce]||(Xe=0<Xe.length?"{"+Xe.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
236
|
+
let props = %s;
|
|
237
|
+
<%s {...props} />
|
|
238
|
+
React keys must be passed directly to JSX without using spread:
|
|
239
|
+
let props = %s;
|
|
240
|
+
<%s key={someKey} {...props} />`,Ce,xe,Xe,xe),Q[xe+Ce]=!0)}if(xe=null,ve!==void 0&&(i(ve),xe=""+ve),b(W)&&(i(W.key),xe=""+W.key),"key"in W){ve={};for(var ht in W)ht!=="key"&&(ve[ht]=W[ht])}else ve=W;return xe&&m(ve,typeof C==="function"?C.displayName||C.name||"Unknown":C),x(C,xe,ve,u(),Ne,He)}function h(C){T(C)?C._store&&(C._store.validated=1):typeof C==="object"&&C!==null&&C.$$typeof===U&&(C._payload.status==="fulfilled"?T(C._payload.value)&&C._payload.value._store&&(C._payload.value._store.validated=1):C._store&&(C._store.validated=1))}function T(C){return typeof C==="object"&&C!==null&&C.$$typeof===R}var R=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),X=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),ge=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),ae=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),te=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),ye=Hs.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,de=Object.prototype.hasOwnProperty,re=Array.isArray,O=console.createTask?console.createTask:function(){return null};Hs={react_stack_bottom_frame:function(C){return C()}};var z,K={},V=Hs.react_stack_bottom_frame.bind(Hs,f)(),le=O(c(f)),Q={};$O.Fragment=L,$O.jsxDEV=function(C,W,ve,Ce){var Ne=1e4>ye.recentlyCreatedOwnerStacks++;return v(C,W,ve,Ce,Ne?Error("react-stack-top-frame"):V,Ne?O(c(C)):le)}})()});var eT=F(J(),1),tT=F(g7(),1);var na=F(J(),1);var XD=F(J(),1);function h7(o,r){if(typeof o==="function")return o(r);else if(o!==null&&o!==void 0)o.current=r}function $7(...o){return(r)=>{let i=!1,c=o.map((u)=>{let f=h7(u,r);if(!i&&typeof f=="function")i=!0;return f});if(i)return()=>{for(let u=0;u<c.length;u++){let f=c[u];if(typeof f=="function")f();else h7(o[u],null)}}}}var rb=F(y7(),1),ZD=Symbol.for("react.lazy"),lb=na[" use ".trim().toString()];function WD(o){return typeof o==="object"&&o!==null&&"then"in o}function v7(o){return o!=null&&typeof o==="object"&&"$$typeof"in o&&o.$$typeof===ZD&&"_payload"in o&&WD(o._payload)}function JD(o){let r=eA(o),i=na.forwardRef((c,u)=>{let{children:f,...b}=c;if(v7(f)&&typeof lb==="function")f=lb(f._payload);let m=na.Children.toArray(f),g=m.find(aA);if(g){let x=g.props.children,v=m.map((h)=>{if(h===g){if(na.Children.count(x)>1)return na.Children.only(null);return na.isValidElement(x)?x.props.children:null}else return h});return rb.jsx(r,{...b,ref:u,children:na.isValidElement(x)?na.cloneElement(x,void 0,v):null})}return rb.jsx(r,{...b,ref:u,children:f})});return i.displayName=`${o}.Slot`,i}var x7=JD("Slot");function eA(o){let r=na.forwardRef((i,c)=>{let{children:u,...f}=i;if(v7(u)&&typeof lb==="function")u=lb(u._payload);if(na.isValidElement(u)){let b=nA(u),m=oA(f,u.props);if(u.type!==na.Fragment)m.ref=c?$7(c,b):b;return na.cloneElement(u,m)}return na.Children.count(u)>1?na.Children.only(null):null});return r.displayName=`${o}.SlotClone`,r}var tA=Symbol("radix.slottable");function aA(o){return na.isValidElement(o)&&typeof o.type==="function"&&"__radixId"in o.type&&o.type.__radixId===tA}function oA(o,r){let i={...r};for(let c in r){let u=o[c],f=r[c];if(/^on[A-Z]/.test(c)){if(u&&f)i[c]=(...m)=>{let g=f(...m);return u(...m),g};else if(u)i[c]=u}else if(c==="style")i[c]={...u,...f};else if(c==="className")i[c]=[u,f].filter(Boolean).join(" ")}return{...o,...i}}function nA(o){let r=Object.getOwnPropertyDescriptor(o.props,"ref")?.get,i=r&&"isReactWarning"in r&&r.isReactWarning;if(i)return o.ref;if(r=Object.getOwnPropertyDescriptor(o,"ref")?.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i)return o.props.ref;return o.props.ref||o.ref}function S7(o){var r,i,c="";if(typeof o=="string"||typeof o=="number")c+=o;else if(typeof o=="object")if(Array.isArray(o)){var u=o.length;for(r=0;r<u;r++)o[r]&&(i=S7(o[r]))&&(c&&(c+=" "),c+=i)}else for(i in o)o[i]&&(c&&(c+=" "),c+=i);return c}function Xr(){for(var o,r,i=0,c="",u=arguments.length;i<u;i++)(o=arguments[i])&&(r=S7(o))&&(c&&(c+=" "),c+=r);return c}var C7=Xr;var E7=(o)=>typeof o==="boolean"?`${o}`:o===0?"0":o,T7=Xr,R7=(o,r)=>(i)=>{var c;if((r===null||r===void 0?void 0:r.variants)==null)return T7(o,i===null||i===void 0?void 0:i.class,i===null||i===void 0?void 0:i.className);let{variants:u,defaultVariants:f}=r,b=Object.keys(u).map((x)=>{let v=i===null||i===void 0?void 0:i[x],h=f===null||f===void 0?void 0:f[x];if(v===null)return null;let T=E7(v)||E7(h);return u[x][T]}),m=i&&Object.entries(i).reduce((x,v)=>{let[h,T]=v;if(T===void 0)return x;return x[h]=T,x},{}),g=r===null||r===void 0?void 0:(c=r.compoundVariants)===null||c===void 0?void 0:c.reduce((x,v)=>{let{class:h,className:T,...R}=v;return Object.entries(R).every((w)=>{let[L,M]=w;return Array.isArray(M)?M.includes({...f,...m}[L]):{...f,...m}[L]===M})?[...x,h,T]:x},[]);return T7(o,b,g,i===null||i===void 0?void 0:i.class,i===null||i===void 0?void 0:i.className)};var Zr=F(J(),1);var rA=(o,r)=>{let i=Array(o.length+r.length);for(let c=0;c<o.length;c++)i[c]=o[c];for(let c=0;c<r.length;c++)i[o.length+c]=r[c];return i},lA=(o,r)=>({classGroupId:o,validator:r}),L7=(o=new Map,r=null,i)=>({nextPart:o,validators:r,classGroupId:i});var w7=[];var iA=(o)=>{let r=cA(o),{conflictingClassGroups:i,conflictingClassGroupModifiers:c}=o;return{getClassGroupId:(b)=>{if(b.startsWith("[")&&b.endsWith("]"))return sA(b);let m=b.split("-"),g=m[0]===""&&m.length>1?1:0;return k7(m,g,r)},getConflictingClassGroupIds:(b,m)=>{if(m){let g=c[b],x=i[b];if(g){if(x)return rA(x,g);return g}return x||w7}return i[b]||w7}}},k7=(o,r,i)=>{if(o.length-r===0)return i.classGroupId;let u=o[r],f=i.nextPart.get(u);if(f){let x=k7(o,r+1,f);if(x)return x}let b=i.validators;if(b===null)return;let m=r===0?o.join("-"):o.slice(r).join("-"),g=b.length;for(let x=0;x<g;x++){let v=b[x];if(v.validator(m))return v.classGroupId}return},sA=(o)=>o.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let r=o.slice(1,-1),i=r.indexOf(":"),c=r.slice(0,i);return c?"arbitrary.."+c:void 0})(),cA=(o)=>{let{theme:r,classGroups:i}=o;return uA(i,r)},uA=(o,r)=>{let i=L7();for(let c in o){let u=o[c];Py(u,i,c,r)}return i},Py=(o,r,i,c)=>{let u=o.length;for(let f=0;f<u;f++){let b=o[f];dA(b,r,i,c)}},dA=(o,r,i,c)=>{if(typeof o==="string"){fA(o,r,i);return}if(typeof o==="function"){pA(o,r,i,c);return}mA(o,r,i,c)},fA=(o,r,i)=>{let c=o===""?r:_7(r,o);c.classGroupId=i},pA=(o,r,i,c)=>{if(bA(o)){Py(o(c),r,i,c);return}if(r.validators===null)r.validators=[];r.validators.push(lA(i,o))},mA=(o,r,i,c)=>{let u=Object.entries(o),f=u.length;for(let b=0;b<f;b++){let[m,g]=u[b];Py(g,_7(r,m),i,c)}},_7=(o,r)=>{let i=o,c=r.split("-"),u=c.length;for(let f=0;f<u;f++){let b=c[f],m=i.nextPart.get(b);if(!m)m=L7(),i.nextPart.set(b,m);i=m}return i},bA=(o)=>("isThemeGetter"in o)&&o.isThemeGetter===!0,gA=(o)=>{if(o<1)return{get:()=>{return},set:()=>{}};let r=0,i=Object.create(null),c=Object.create(null),u=(f,b)=>{if(i[f]=b,r++,r>o)r=0,c=i,i=Object.create(null)};return{get(f){let b=i[f];if(b!==void 0)return b;if((b=c[f])!==void 0)return u(f,b),b},set(f,b){if(f in i)i[f]=b;else u(f,b)}}};var hA=[],D7=(o,r,i,c,u)=>({modifiers:o,hasImportantModifier:r,baseClassName:i,maybePostfixModifierPosition:c,isExternal:u}),$A=(o)=>{let{prefix:r,experimentalParseClassName:i}=o,c=(u)=>{let f=[],b=0,m=0,g=0,x,v=u.length;for(let L=0;L<v;L++){let M=u[L];if(b===0&&m===0){if(M===":"){f.push(u.slice(g,L)),g=L+1;continue}if(M==="/"){x=L;continue}}if(M==="[")b++;else if(M==="]")b--;else if(M==="(")m++;else if(M===")")m--}let h=f.length===0?u:u.slice(g),T=h,R=!1;if(h.endsWith("!"))T=h.slice(0,-1),R=!0;else if(h.startsWith("!"))T=h.slice(1),R=!0;let w=x&&x>g?x-g:void 0;return D7(f,R,T,w)};if(r){let u=r+":",f=c;c=(b)=>b.startsWith(u)?f(b.slice(u.length)):D7(hA,!1,b,void 0,!0)}if(i){let u=c;c=(f)=>i({className:f,parseClassName:u})}return c},yA=(o)=>{let r=new Map;return o.orderSensitiveModifiers.forEach((i,c)=>{r.set(i,1e6+c)}),(i)=>{let c=[],u=[];for(let f=0;f<i.length;f++){let b=i[f],m=b[0]==="[",g=r.has(b);if(m||g){if(u.length>0)u.sort(),c.push(...u),u=[];c.push(b)}else u.push(b)}if(u.length>0)u.sort(),c.push(...u);return c}},vA=(o)=>({cache:gA(o.cacheSize),parseClassName:$A(o),sortModifiers:yA(o),postfixLookupClassGroupIds:xA(o),...iA(o)}),xA=(o)=>{let r=Object.create(null),i=o.postfixLookupClassGroups;if(i)for(let c=0;c<i.length;c++)r[i[c]]=!0;return r},SA=/\s+/,CA=(o,r)=>{let{parseClassName:i,getClassGroupId:c,getConflictingClassGroupIds:u,sortModifiers:f,postfixLookupClassGroupIds:b}=r,m=[],g=o.trim().split(SA),x="";for(let v=g.length-1;v>=0;v-=1){let h=g[v],{isExternal:T,modifiers:R,hasImportantModifier:w,baseClassName:L,maybePostfixModifierPosition:M}=i(h);if(T){x=h+(x.length>0?" "+x:x);continue}let H=!!M,I;if(H){let ae=L.substring(0,M);I=c(ae);let U=I&&b[I]?c(L):void 0;if(U&&U!==I)I=U,H=!1}else I=c(L);if(!I){if(!H){x=h+(x.length>0?" "+x:x);continue}if(I=c(L),!I){x=h+(x.length>0?" "+x:x);continue}H=!1}let X=R.length===0?"":R.length===1?R[0]:f(R).join(":"),Z=w?X+"!":X,ge=Z+I;if(m.indexOf(ge)>-1)continue;m.push(ge);let he=u(I,H);for(let ae=0;ae<he.length;++ae){let U=he[ae];m.push(Z+U)}x=h+(x.length>0?" "+x:x)}return x},EA=(...o)=>{let r=0,i,c,u="";while(r<o.length)if(i=o[r++]){if(c=z7(i))u&&(u+=" "),u+=c}return u},z7=(o)=>{if(typeof o==="string")return o;let r,i="";for(let c=0;c<o.length;c++)if(o[c]){if(r=z7(o[c]))i&&(i+=" "),i+=r}return i},A7=(o,...r)=>{let i,c,u,f,b=(g)=>{let x=r.reduce((v,h)=>h(v),o());return i=vA(x),c=i.cache.get,u=i.cache.set,f=m,m(g)},m=(g)=>{let x=c(g);if(x)return x;let v=CA(g,i);return u(g,v),v};return f=b,(...g)=>f(EA(...g))},TA=[],da=(o)=>{let r=(i)=>i[o]||TA;return r.isThemeGetter=!0,r},B7=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,I7=/^\((?:(\w[\w-]*):)?(.+)\)$/i,RA=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,wA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,DA=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,AA=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,PA=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,MA=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Jl=(o)=>RA.test(o),lt=(o)=>!!o&&!Number.isNaN(Number(o)),cr=(o)=>!!o&&Number.isInteger(Number(o)),Dy=(o)=>o.endsWith("%")&<(o.slice(0,-1)),Qr=(o)=>wA.test(o),H7=()=>!0,OA=(o)=>DA.test(o)&&!AA.test(o),My=()=>!1,NA=(o)=>PA.test(o),LA=(o)=>MA.test(o),kA=(o)=>!Se(o)&&!Ee(o),_A=(o)=>o.startsWith("@container")&&(o[10]==="/"&&o[11]!==void 0||o[11]==="s"&&o[16]!==void 0&&o.startsWith("-size/",10)||o[11]==="n"&&o[18]!==void 0&&o.startsWith("-normal/",10)),zA=(o)=>ei(o,V7,My),Se=(o)=>B7.test(o),ps=(o)=>ei(o,K7,OA),P7=(o)=>ei(o,jA,lt),BA=(o)=>ei(o,G7,H7),IA=(o)=>ei(o,j7,My),M7=(o)=>ei(o,F7,My),HA=(o)=>ei(o,U7,LA),ib=(o)=>ei(o,q7,NA),Ee=(o)=>I7.test(o),rf=(o)=>ms(o,K7),FA=(o)=>ms(o,j7),O7=(o)=>ms(o,F7),UA=(o)=>ms(o,V7),VA=(o)=>ms(o,U7),sb=(o)=>ms(o,q7,!0),KA=(o)=>ms(o,G7,!0),ei=(o,r,i)=>{let c=B7.exec(o);if(c){if(c[1])return r(c[1]);return i(c[2])}return!1},ms=(o,r,i=!1)=>{let c=I7.exec(o);if(c){if(c[1])return r(c[1]);return i}return!1},F7=(o)=>o==="position"||o==="percentage",U7=(o)=>o==="image"||o==="url",V7=(o)=>o==="length"||o==="size"||o==="bg-size",K7=(o)=>o==="length",jA=(o)=>o==="number",j7=(o)=>o==="family-name",G7=(o)=>o==="number"||o==="weight",q7=(o)=>o==="shadow";var N7=()=>{let o=da("color"),r=da("font"),i=da("text"),c=da("font-weight"),u=da("tracking"),f=da("leading"),b=da("breakpoint"),m=da("container"),g=da("spacing"),x=da("radius"),v=da("shadow"),h=da("inset-shadow"),T=da("text-shadow"),R=da("drop-shadow"),w=da("blur"),L=da("perspective"),M=da("aspect"),H=da("ease"),I=da("animate"),X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],ge=()=>[...Z(),Ee,Se],he=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto","contain","none"],U=()=>[Ee,Se,g],te=()=>[Jl,"full","auto",...U()],j=()=>[cr,"none","subgrid",Ee,Se],ye=()=>["auto",{span:["full",cr,Ee,Se]},cr,Ee,Se],de=()=>[cr,"auto",Ee,Se],re=()=>["auto","min","max","fr",Ee,Se],O=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],z=()=>["start","end","center","stretch","center-safe","end-safe"],K=()=>["auto",...U()],V=()=>[Jl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...U()],le=()=>[Jl,"screen","full","dvw","lvw","svw","min","max","fit",...U()],Q=()=>[Jl,"screen","full","lh","dvh","lvh","svh","min","max","fit",...U()],C=()=>[o,Ee,Se],W=()=>[...Z(),O7,M7,{position:[Ee,Se]}],ve=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Ce=()=>["auto","cover","contain",UA,zA,{size:[Ee,Se]}],Ne=()=>[Dy,rf,ps],He=()=>["","none","full",x,Ee,Se],xe=()=>["",lt,rf,ps],Xe=()=>["solid","dashed","dotted","double"],ht=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ft=()=>[lt,Dy,O7,M7],un=()=>["","none",w,Ee,Se],me=()=>["none",lt,Ee,Se],se=()=>["none",lt,Ee,Se],Ge=()=>[lt,Ee,Se],pa=()=>[Jl,"full",...U()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Qr],breakpoint:[Qr],color:[H7],container:[Qr],"drop-shadow":[Qr],ease:["in","out","in-out"],font:[kA],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Qr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Qr],shadow:[Qr],spacing:["px",lt],text:[Qr],"text-shadow":[Qr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Jl,Se,Ee,M]}],container:["container"],"container-type":[{"@container":["","normal","size",Ee,Se]}],"container-named":[_A],columns:[{columns:[lt,Se,Ee,m]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:ge()}],overflow:[{overflow:he()}],"overflow-x":[{"overflow-x":he()}],"overflow-y":[{"overflow-y":he()}],overscroll:[{overscroll:ae()}],"overscroll-x":[{"overscroll-x":ae()}],"overscroll-y":[{"overscroll-y":ae()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:te()}],"inset-x":[{"inset-x":te()}],"inset-y":[{"inset-y":te()}],start:[{"inset-s":te(),start:te()}],end:[{"inset-e":te(),end:te()}],"inset-bs":[{"inset-bs":te()}],"inset-be":[{"inset-be":te()}],top:[{top:te()}],right:[{right:te()}],bottom:[{bottom:te()}],left:[{left:te()}],visibility:["visible","invisible","collapse"],z:[{z:[cr,"auto",Ee,Se]}],basis:[{basis:[Jl,"full","auto",m,...U()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[lt,Jl,"auto","initial","none",Se]}],grow:[{grow:["",lt,Ee,Se]}],shrink:[{shrink:["",lt,Ee,Se]}],order:[{order:[cr,"first","last","none",Ee,Se]}],"grid-cols":[{"grid-cols":j()}],"col-start-end":[{col:ye()}],"col-start":[{"col-start":de()}],"col-end":[{"col-end":de()}],"grid-rows":[{"grid-rows":j()}],"row-start-end":[{row:ye()}],"row-start":[{"row-start":de()}],"row-end":[{"row-end":de()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":re()}],"auto-rows":[{"auto-rows":re()}],gap:[{gap:U()}],"gap-x":[{"gap-x":U()}],"gap-y":[{"gap-y":U()}],"justify-content":[{justify:[...O(),"normal"]}],"justify-items":[{"justify-items":[...z(),"normal"]}],"justify-self":[{"justify-self":["auto",...z()]}],"align-content":[{content:["normal",...O()]}],"align-items":[{items:[...z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...z(),{baseline:["","last"]}]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...z(),"baseline"]}],"place-self":[{"place-self":["auto",...z()]}],p:[{p:U()}],px:[{px:U()}],py:[{py:U()}],ps:[{ps:U()}],pe:[{pe:U()}],pbs:[{pbs:U()}],pbe:[{pbe:U()}],pt:[{pt:U()}],pr:[{pr:U()}],pb:[{pb:U()}],pl:[{pl:U()}],m:[{m:K()}],mx:[{mx:K()}],my:[{my:K()}],ms:[{ms:K()}],me:[{me:K()}],mbs:[{mbs:K()}],mbe:[{mbe:K()}],mt:[{mt:K()}],mr:[{mr:K()}],mb:[{mb:K()}],ml:[{ml:K()}],"space-x":[{"space-x":U()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":U()}],"space-y-reverse":["space-y-reverse"],size:[{size:V()}],"inline-size":[{inline:["auto",...le()]}],"min-inline-size":[{"min-inline":["auto",...le()]}],"max-inline-size":[{"max-inline":["none",...le()]}],"block-size":[{block:["auto",...Q()]}],"min-block-size":[{"min-block":["auto",...Q()]}],"max-block-size":[{"max-block":["none",...Q()]}],w:[{w:[m,"screen",...V()]}],"min-w":[{"min-w":[m,"screen","none",...V()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[b]},...V()]}],h:[{h:["screen","lh",...V()]}],"min-h":[{"min-h":["screen","lh","none",...V()]}],"max-h":[{"max-h":["screen","lh",...V()]}],"font-size":[{text:["base",i,rf,ps]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[c,KA,BA]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Dy,Se]}],"font-family":[{font:[FA,IA,r]}],"font-features":[{"font-features":[Se]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[u,Ee,Se]}],"line-clamp":[{"line-clamp":[lt,"none",Ee,P7]}],leading:[{leading:[f,...U()]}],"list-image":[{"list-image":["none",Ee,Se]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ee,Se]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:C()}],"text-color":[{text:C()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[lt,"from-font","auto",Ee,ps]}],"text-decoration-color":[{decoration:C()}],"underline-offset":[{"underline-offset":[lt,"auto",Ee,Se]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"tab-size":[{tab:[cr,Ee,Se]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ee,Se]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ee,Se]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:W()}],"bg-repeat":[{bg:ve()}],"bg-size":[{bg:Ce()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},cr,Ee,Se],radial:["",Ee,Se],conic:[cr,Ee,Se]},VA,HA]}],"bg-color":[{bg:C()}],"gradient-from-pos":[{from:Ne()}],"gradient-via-pos":[{via:Ne()}],"gradient-to-pos":[{to:Ne()}],"gradient-from":[{from:C()}],"gradient-via":[{via:C()}],"gradient-to":[{to:C()}],rounded:[{rounded:He()}],"rounded-s":[{"rounded-s":He()}],"rounded-e":[{"rounded-e":He()}],"rounded-t":[{"rounded-t":He()}],"rounded-r":[{"rounded-r":He()}],"rounded-b":[{"rounded-b":He()}],"rounded-l":[{"rounded-l":He()}],"rounded-ss":[{"rounded-ss":He()}],"rounded-se":[{"rounded-se":He()}],"rounded-ee":[{"rounded-ee":He()}],"rounded-es":[{"rounded-es":He()}],"rounded-tl":[{"rounded-tl":He()}],"rounded-tr":[{"rounded-tr":He()}],"rounded-br":[{"rounded-br":He()}],"rounded-bl":[{"rounded-bl":He()}],"border-w":[{border:xe()}],"border-w-x":[{"border-x":xe()}],"border-w-y":[{"border-y":xe()}],"border-w-s":[{"border-s":xe()}],"border-w-e":[{"border-e":xe()}],"border-w-bs":[{"border-bs":xe()}],"border-w-be":[{"border-be":xe()}],"border-w-t":[{"border-t":xe()}],"border-w-r":[{"border-r":xe()}],"border-w-b":[{"border-b":xe()}],"border-w-l":[{"border-l":xe()}],"divide-x":[{"divide-x":xe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":xe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Xe(),"hidden","none"]}],"divide-style":[{divide:[...Xe(),"hidden","none"]}],"border-color":[{border:C()}],"border-color-x":[{"border-x":C()}],"border-color-y":[{"border-y":C()}],"border-color-s":[{"border-s":C()}],"border-color-e":[{"border-e":C()}],"border-color-bs":[{"border-bs":C()}],"border-color-be":[{"border-be":C()}],"border-color-t":[{"border-t":C()}],"border-color-r":[{"border-r":C()}],"border-color-b":[{"border-b":C()}],"border-color-l":[{"border-l":C()}],"divide-color":[{divide:C()}],"outline-style":[{outline:[...Xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[lt,Ee,Se]}],"outline-w":[{outline:["",lt,rf,ps]}],"outline-color":[{outline:C()}],shadow:[{shadow:["","none",v,sb,ib]}],"shadow-color":[{shadow:C()}],"inset-shadow":[{"inset-shadow":["none",h,sb,ib]}],"inset-shadow-color":[{"inset-shadow":C()}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:C()}],"ring-offset-w":[{"ring-offset":[lt,ps]}],"ring-offset-color":[{"ring-offset":C()}],"inset-ring-w":[{"inset-ring":xe()}],"inset-ring-color":[{"inset-ring":C()}],"text-shadow":[{"text-shadow":["none",T,sb,ib]}],"text-shadow-color":[{"text-shadow":C()}],opacity:[{opacity:[lt,Ee,Se]}],"mix-blend":[{"mix-blend":[...ht(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ht()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[lt]}],"mask-image-linear-from-pos":[{"mask-linear-from":ft()}],"mask-image-linear-to-pos":[{"mask-linear-to":ft()}],"mask-image-linear-from-color":[{"mask-linear-from":C()}],"mask-image-linear-to-color":[{"mask-linear-to":C()}],"mask-image-t-from-pos":[{"mask-t-from":ft()}],"mask-image-t-to-pos":[{"mask-t-to":ft()}],"mask-image-t-from-color":[{"mask-t-from":C()}],"mask-image-t-to-color":[{"mask-t-to":C()}],"mask-image-r-from-pos":[{"mask-r-from":ft()}],"mask-image-r-to-pos":[{"mask-r-to":ft()}],"mask-image-r-from-color":[{"mask-r-from":C()}],"mask-image-r-to-color":[{"mask-r-to":C()}],"mask-image-b-from-pos":[{"mask-b-from":ft()}],"mask-image-b-to-pos":[{"mask-b-to":ft()}],"mask-image-b-from-color":[{"mask-b-from":C()}],"mask-image-b-to-color":[{"mask-b-to":C()}],"mask-image-l-from-pos":[{"mask-l-from":ft()}],"mask-image-l-to-pos":[{"mask-l-to":ft()}],"mask-image-l-from-color":[{"mask-l-from":C()}],"mask-image-l-to-color":[{"mask-l-to":C()}],"mask-image-x-from-pos":[{"mask-x-from":ft()}],"mask-image-x-to-pos":[{"mask-x-to":ft()}],"mask-image-x-from-color":[{"mask-x-from":C()}],"mask-image-x-to-color":[{"mask-x-to":C()}],"mask-image-y-from-pos":[{"mask-y-from":ft()}],"mask-image-y-to-pos":[{"mask-y-to":ft()}],"mask-image-y-from-color":[{"mask-y-from":C()}],"mask-image-y-to-color":[{"mask-y-to":C()}],"mask-image-radial":[{"mask-radial":[Ee,Se]}],"mask-image-radial-from-pos":[{"mask-radial-from":ft()}],"mask-image-radial-to-pos":[{"mask-radial-to":ft()}],"mask-image-radial-from-color":[{"mask-radial-from":C()}],"mask-image-radial-to-color":[{"mask-radial-to":C()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":Z()}],"mask-image-conic-pos":[{"mask-conic":[lt]}],"mask-image-conic-from-pos":[{"mask-conic-from":ft()}],"mask-image-conic-to-pos":[{"mask-conic-to":ft()}],"mask-image-conic-from-color":[{"mask-conic-from":C()}],"mask-image-conic-to-color":[{"mask-conic-to":C()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:W()}],"mask-repeat":[{mask:ve()}],"mask-size":[{mask:Ce()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ee,Se]}],filter:[{filter:["","none",Ee,Se]}],blur:[{blur:un()}],brightness:[{brightness:[lt,Ee,Se]}],contrast:[{contrast:[lt,Ee,Se]}],"drop-shadow":[{"drop-shadow":["","none",R,sb,ib]}],"drop-shadow-color":[{"drop-shadow":C()}],grayscale:[{grayscale:["",lt,Ee,Se]}],"hue-rotate":[{"hue-rotate":[lt,Ee,Se]}],invert:[{invert:["",lt,Ee,Se]}],saturate:[{saturate:[lt,Ee,Se]}],sepia:[{sepia:["",lt,Ee,Se]}],"backdrop-filter":[{"backdrop-filter":["","none",Ee,Se]}],"backdrop-blur":[{"backdrop-blur":un()}],"backdrop-brightness":[{"backdrop-brightness":[lt,Ee,Se]}],"backdrop-contrast":[{"backdrop-contrast":[lt,Ee,Se]}],"backdrop-grayscale":[{"backdrop-grayscale":["",lt,Ee,Se]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[lt,Ee,Se]}],"backdrop-invert":[{"backdrop-invert":["",lt,Ee,Se]}],"backdrop-opacity":[{"backdrop-opacity":[lt,Ee,Se]}],"backdrop-saturate":[{"backdrop-saturate":[lt,Ee,Se]}],"backdrop-sepia":[{"backdrop-sepia":["",lt,Ee,Se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":U()}],"border-spacing-x":[{"border-spacing-x":U()}],"border-spacing-y":[{"border-spacing-y":U()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ee,Se]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[lt,"initial",Ee,Se]}],ease:[{ease:["linear","initial",H,Ee,Se]}],delay:[{delay:[lt,Ee,Se]}],animate:[{animate:["none",I,Ee,Se]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[L,Ee,Se]}],"perspective-origin":[{"perspective-origin":ge()}],rotate:[{rotate:me()}],"rotate-x":[{"rotate-x":me()}],"rotate-y":[{"rotate-y":me()}],"rotate-z":[{"rotate-z":me()}],scale:[{scale:se()}],"scale-x":[{"scale-x":se()}],"scale-y":[{"scale-y":se()}],"scale-z":[{"scale-z":se()}],"scale-3d":["scale-3d"],skew:[{skew:Ge()}],"skew-x":[{"skew-x":Ge()}],"skew-y":[{"skew-y":Ge()}],transform:[{transform:[Ee,Se,"","none","gpu","cpu"]}],"transform-origin":[{origin:ge()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:pa()}],"translate-x":[{"translate-x":pa()}],"translate-y":[{"translate-y":pa()}],"translate-z":[{"translate-z":pa()}],"translate-none":["translate-none"],zoom:[{zoom:[cr,Ee,Se]}],accent:[{accent:C()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:C()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ee,Se]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":C()}],"scrollbar-track-color":[{"scrollbar-track":C()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mbs":[{"scroll-mbs":U()}],"scroll-mbe":[{"scroll-mbe":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pbs":[{"scroll-pbs":U()}],"scroll-pbe":[{"scroll-pbe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ee,Se]}],fill:[{fill:["none",...C()]}],"stroke-w":[{stroke:[lt,rf,ps,P7]}],stroke:[{stroke:["none",...C()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},GA=(o,{cacheSize:r,prefix:i,experimentalParseClassName:c,extend:u={},override:f={}})=>(Xc(o,"cacheSize",r),Xc(o,"prefix",i),Xc(o,"experimentalParseClassName",c),cb(o.theme,f.theme),cb(o.classGroups,f.classGroups),cb(o.conflictingClassGroups,f.conflictingClassGroups),cb(o.conflictingClassGroupModifiers,f.conflictingClassGroupModifiers),Xc(o,"postfixLookupClassGroups",f.postfixLookupClassGroups),Xc(o,"orderSensitiveModifiers",f.orderSensitiveModifiers),ub(o.theme,u.theme),ub(o.classGroups,u.classGroups),ub(o.conflictingClassGroups,u.conflictingClassGroups),ub(o.conflictingClassGroupModifiers,u.conflictingClassGroupModifiers),Ay(o,u,"postfixLookupClassGroups"),Ay(o,u,"orderSensitiveModifiers"),o),Xc=(o,r,i)=>{if(i!==void 0)o[r]=i},cb=(o,r)=>{if(r)for(let i in r)Xc(o,i,r[i])},ub=(o,r)=>{if(r)for(let i in r)Ay(o,r,i)},Ay=(o,r,i)=>{let c=r[i];if(c!==void 0)o[i]=o[i]?o[i].concat(c):c},Y7=(o,...r)=>typeof o==="function"?A7(N7,o,...r):A7(()=>GA(N7(),o),...r);var qA=Y7({extend:{classGroups:{"font-size":[{text:["micro","caption","label","compact","small","callout","body","subtitle","title","headline","display","display-large","panel-heading","heading1","heading2","heading3","heading4","heading5"]}]},theme:{spacing:["nav-x","control-tall"],radius:["panel"],blur:["modal-backdrop"],shadow:["modal-surface"]}}}),YA=(o)=>{if(typeof o==="boolean")return o?"":void 0;if(o===void 0||o===null)return;return String(o)},XA=(o)=>{let r=JSON.stringify(o),i=Zr.useRef({signature:r,value:o});if(i.current.signature!==r)i.current={signature:r,value:o};return i.current.value};var De=(o,r)=>{let i=R7(r?.baseClass,{variants:r?.variants,defaultVariants:r?.defaultVariants,compoundVariants:r?.compoundVariants}),c=r?.passVariantProps?new Set(r.passVariantProps):void 0,u=Zr.forwardRef((f,b)=>{let{children:m,...g}=f,x=g.className;delete g.className;let v={};for(let H in r?.variants)if(v[H]=g[H],H in g&&!c?.has(H))delete g[H];let h=XA(v),T={};if(r?.variantsAsDataAttrs&&r.variants)for(let H of r.variantsAsDataAttrs){let I=H.toString(),X=f[I]??r.defaultVariants?.[H];T[`data-${I}`]=YA(X)}let R=g.style,w=Zr.useMemo(()=>r?.style?{...r.style,...R}:R,[R]),L=Zr.useMemo(()=>qA(Xr(i(h),x)),[h,x]),M=o;if(f.asChild&&typeof o==="string")M=x7,delete g.asChild;return Zr.createElement(M,{ref:b,className:L,...r.defaultProps,...T,...g,style:w},m)});return u.displayName=r?.displayName??"uic",u};function Lo(...o){return(...r)=>{for(let i of o)if(typeof i==="function")i(...r)}}var X7=F(J(),1),Le=typeof document<"u"?X7.default.useLayoutEffect:()=>{};var ya=F(J(),1),db={prefix:String(Math.round(Math.random()*10000000000)),current:0},Q7=ya.default.createContext(db),QA=ya.default.createContext(!1);var ZA=Boolean(typeof window<"u"&&window.document&&window.document.createElement),Oy=new WeakMap;function WA(o=!1){let r=ya.useContext(Q7),i=ya.useRef(null);if(i.current===null&&!o){let c=ya.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(c){let u=Oy.get(c);if(u==null)Oy.set(c,{id:r.current,state:c.memoizedState});else if(c.memoizedState!==u.state)r.current=u.id,Oy.delete(c)}i.current=++r.current}return i.current}function JA(o){let r=ya.useContext(Q7);if(r===db&&!ZA)console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let i=WA(!!o),c=`react-aria${r.prefix}`;return o||`${c}-${i}`}function eP(o){let r=ya.default.useId(),[i]=ya.useState(Xa()),c=i?"react-aria":`react-aria${db.prefix}`;return o||`${c}-${r}`}var Z7=typeof ya.default.useId==="function"?eP:JA;function tP(){return!1}function aP(){return!0}function oP(o){return()=>{}}function Xa(){if(typeof ya.default.useSyncExternalStore==="function")return ya.default.useSyncExternalStore(oP,tP,aP);return ya.useContext(QA)}var ti=F(J(),1);function W7(o){let[r,i]=ti.useState(o),c=ti.useRef(r),u=ti.useRef(null),f=ti.useRef(()=>{if(!u.current)return;let m=u.current.next();if(m.done){u.current=null;return}if(c.current===m.value)f.current();else i(m.value)});Le(()=>{if(c.current=r,u.current)f.current()});let b=ti.useCallback((m)=>{u.current=m(c.current),f.current()},[f]);return[r,b]}var Wr=F(J(),1),nP=Boolean(typeof window<"u"&&window.document&&window.document.createElement),Qc=new Map,lf;if(typeof FinalizationRegistry<"u")lf=new FinalizationRegistry((o)=>{Qc.delete(o)});function vt(o){let[r,i]=Wr.useState(o),c=Wr.useRef(null),u=Z7(r),f=Wr.useRef(null);if(lf)lf.register(f,u);if(nP){let b=Qc.get(u);if(b&&!b.includes(c))b.push(c);else Qc.set(u,[c])}return Le(()=>{let b=u;return()=>{if(lf)lf.unregister(f);Qc.delete(b)}},[u]),Wr.useEffect(()=>{let b=c.current;if(b)i(b);return()=>{if(b)c.current=null}}),u}function J7(o,r){if(o===r)return o;let i=Qc.get(o);if(i)return i.forEach((u)=>u.current=r),r;let c=Qc.get(r);if(c)return c.forEach((u)=>u.current=o),o;return r}function on(o=[]){let r=vt(),[i,c]=W7(r),u=Wr.useCallback(()=>{c(function*(){yield r,yield document.getElementById(r)?r:void 0})},[r,c]);return Le(u,[r,u,...o]),i}function ur(...o){if(o.length===1&&o[0])return o[0];return(r)=>{let i=!1,c=o.map((u)=>{let f=e9(u,r);return i||=typeof f=="function",f});if(i)return()=>{c.forEach((u,f)=>{if(typeof u==="function")u();else e9(o[f],null)})}}}function e9(o,r){if(typeof o==="function")return o(r);else if(o!=null)o.current=r}function be(...o){let r={...o[0]};for(let i=1;i<o.length;i++){let c=o[i];for(let u in c){let f=r[u],b=c[u];if(typeof f==="function"&&typeof b==="function"&&u[0]==="o"&&u[1]==="n"&&u.charCodeAt(2)>=65&&u.charCodeAt(2)<=90)r[u]=Lo(f,b);else if((u==="className"||u==="UNSAFE_className")&&typeof f==="string"&&typeof b==="string")r[u]=C7(f,b);else if(u==="id"&&f&&b)r.id=J7(f,b);else if(u==="ref"&&f&&b)r.ref=ur(f,b);else r[u]=b!==void 0?b:f}}return r}var va=F(J(),1);var bs=F(J(),1);function Qa(o){let r=bs.useRef(null),i=bs.useRef(void 0),c=bs.useCallback((u)=>{if(typeof o==="function"){let f=o,b=f(u);return()=>{if(typeof b==="function")b();else f(null)}}else if(o)return o.current=u,()=>{o.current=null}},[o]);return bs.useMemo(()=>({get current(){return r.current},set current(u){if(r.current=u,i.current)i.current(),i.current=void 0;if(u!=null)i.current=c(u)}}),[c])}var dr=Symbol("default");function xa({values:o,children:r}){for(let[i,c]of o)r=va.default.createElement(i.Provider,{value:c},r);return r}function dt(o){let{className:r,style:i,children:c,defaultClassName:u,defaultChildren:f,defaultStyle:b,values:m,render:g}=o;return va.useMemo(()=>{let x,v,h;if(typeof r==="function")x=r({...m,defaultClassName:u});else x=r;if(typeof i==="function")v=i({...m,defaultStyle:b||{}});else v=i;if(typeof c==="function")h=c({...m,defaultChildren:f});else if(c==null)h=f;else h=c;return{className:x??u,style:v||b?{...b,...v}:void 0,children:h??f,"data-rac":"",render:g?(T)=>g(T,m):void 0}},[r,i,c,u,f,b,m,g])}function fr(o,r){let i=va.useContext(o);if(r===null)return null;if(i&&typeof i==="object"&&"slots"in i&&i.slots){let c=r||dr;if(!i.slots[c]){let u=new Intl.ListFormat().format(Object.keys(i.slots).map((b)=>`"${b}"`)),f=r?`Invalid slot "${r}".`:"A slot prop is required.";throw Error(`${f} Valid slot names are ${u}.`)}return i.slots[c]}return i}function bt(o,r,i){let c=fr(i,o.slot)||{},{ref:u,...f}=c,b=Qa(va.useMemo(()=>ur(r,u),[r,u])),m=be(f,o);if("style"in f&&f.style&&"style"in o&&o.style)if(typeof f.style==="function"||typeof o.style==="function")m.style=(g)=>{let x=typeof f.style==="function"?f.style(g):f.style,v={...g.defaultStyle,...x},h=typeof o.style==="function"?o.style({...g,defaultStyle:v}):o.style;return{...v,...h}};else m.style={...f.style,...o.style};return[m,b]}function gs(o=!0){let[r,i]=va.useState(o),c=va.useRef(!1),u=va.useCallback((f)=>{c.current=!0,i(!!f)},[]);return Le(()=>{if(!c.current)i(!1)},[]),[u,r]}function fb(o){let r=/^(data-.*)$/,i={};for(let c in o)if(!r.test(c))i[c]=o[c];return i}function rP(o,r,i){let{render:c,...u}=r,f=va.useRef(null),b=va.useMemo(()=>ur(i,f),[i,f]);Le(()=>{if(c){if(!f.current)console.warn("Ref was not connected to DOM element returned by custom `render` function. Did you forget to pass through or merge the `ref`?");else if(f.current.localName!==o)console.warn(`Unexpected DOM element returned by custom \`render\` function. Expected <${o}>, got <${f.current.localName}>. This may break the component behavior and accessibility.`)}},[o,c]);let m={...u,ref:b};if(c)return c(m,void 0);return va.default.createElement(o,m)}var t9={},qe=new Proxy({},{get(o,r){if(typeof r!=="string")return;let i=t9[r];if(!i)i=va.forwardRef(rP.bind(null,r)),t9[r]=i;return i}});var a9="react-aria-clear-focus",o9="react-aria-focus";var Ke=(o)=>o?.ownerDocument??document,Kt=(o)=>{if(o&&"window"in o&&o.window===o)return o;return Ke(o).defaultView||window};function lP(o){return o!==null&&typeof o==="object"&&"nodeType"in o&&typeof o.nodeType==="number"}function n9(o){return lP(o)&&o.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in o}var iP=!1;function ko(){return iP}function Ve(o,r){if(!ko())return r&&o?o.contains(r):!1;if(!o||!r)return!1;let i=r;while(i!==null){if(i===o)return!0;if(i.tagName==="SLOT"&&i.assignedSlot)i=i.assignedSlot.parentNode;else if(n9(i))i=i.host;else i=i.parentNode}return!1}var tt=(o=document)=>{if(!ko())return o.activeElement;let r=o.activeElement;while(r&&"shadowRoot"in r&&r.shadowRoot?.activeElement)r=r.shadowRoot.activeElement;return r};function ce(o){if(ko()&&o.target instanceof Element&&o.target.shadowRoot){if("composedPath"in o)return o.composedPath()[0]??null;else if("composedPath"in o.nativeEvent)return o.nativeEvent.composedPath()[0]??null}return o.target}function pr(o){if(!o)return!1;let r=o.getRootNode(),i=Kt(o);if(!(r instanceof i.Document||r instanceof i.ShadowRoot))return!1;let c=r.activeElement;return c!=null&&o.contains(c)}function pb(o){let r=cP(Ke(o));if(r!==o){if(r)sP(r,o);if(o)Ny(o,r)}}function sP(o,r){o.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}function Ny(o,r){o.dispatchEvent(new FocusEvent("focus",{relatedTarget:r})),o.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:r}))}function cP(o){let r=tt(o),i=r?.getAttribute("aria-activedescendant");if(i)return o.getElementById(i)||r;return r}function Sa(o){if(uP())o.focus({preventScroll:!0});else{let r=dP(o);o.focus(),fP(r)}}var mb=null;function uP(){if(mb==null){mb=!1;try{document.createElement("div").focus({get preventScroll(){return mb=!0,!0}})}catch{}}return mb}function dP(o){let r=o.parentNode,i=[],c=document.scrollingElement||document.documentElement;while(r instanceof HTMLElement&&r!==c){if(r.offsetHeight<r.scrollHeight||r.offsetWidth<r.scrollWidth)i.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft});r=r.parentNode}if(c instanceof HTMLElement)i.push({element:c,scrollTop:c.scrollTop,scrollLeft:c.scrollLeft});return i}function fP(o){for(let{element:r,scrollTop:i,scrollLeft:c}of o)r.scrollTop=i,r.scrollLeft=c}var pP=typeof Element<"u"&&"checkVisibility"in Element.prototype;function mP(o){let r=Kt(o);if(!(o instanceof r.HTMLElement)&&!(o instanceof r.SVGElement))return!1;let{display:i,visibility:c}=o.style,u=i!=="none"&&c!=="hidden"&&c!=="collapse";if(u){let{getComputedStyle:f}=o.ownerDocument.defaultView,{display:b,visibility:m}=f(o);u=b!=="none"&&m!=="hidden"&&m!=="collapse"}return u}function bP(o,r){return!o.hasAttribute("hidden")&&!o.hasAttribute("data-react-aria-prevent-focus")&&(o.nodeName==="DETAILS"&&r&&r.nodeName!=="SUMMARY"?o.hasAttribute("open"):!0)}function bb(o,r){if(pP)return o.checkVisibility({visibilityProperty:!0})&&!o.closest("[data-react-aria-prevent-focus]");return o.nodeName!=="#comment"&&mP(o)&&bP(o,r)&&(!o.parentElement||bb(o.parentElement,o))}var Ly=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],gP=Ly.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ly.push('[tabindex]:not([tabindex="-1"]):not([disabled])');var hP=Ly.join(':not([hidden]):not([tabindex="-1"]),');function gb(o,r){return o.matches(gP)&&!r9(o)&&(r?.skipVisibilityCheck||bb(o))}function hb(o){return o.matches(hP)&&bb(o)&&!r9(o)}function r9(o){let r=o;while(r!=null){if(r instanceof r.ownerDocument.defaultView.HTMLElement&&r.inert)return!0;r=r.parentElement}return!1}var $b=F(J(),1);function cf(o){let r=o;return r.nativeEvent=o,r.isDefaultPrevented=()=>r.defaultPrevented,r.isPropagationStopped=()=>r.cancelBubble,r.persist=()=>{},r}function yb(o,r){Object.defineProperty(o,"target",{value:r}),Object.defineProperty(o,"currentTarget",{value:r})}function vb(o){let r=$b.useRef({isFocused:!1,observer:null});return Le(()=>{let i=r.current;return()=>{if(i.observer)i.observer.disconnect(),i.observer=null}},[]),$b.useCallback((i)=>{let c=ce(i);if(c instanceof HTMLButtonElement||c instanceof HTMLInputElement||c instanceof HTMLTextAreaElement||c instanceof HTMLSelectElement){r.current.isFocused=!0;let u=c,f=(b)=>{if(r.current.isFocused=!1,u.disabled){let m=cf(b);o?.(m)}if(r.current.observer)r.current.observer.disconnect(),r.current.observer=null};u.addEventListener("focusout",f,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&u.disabled){r.current.observer?.disconnect();let b=u===tt()?null:tt();u.dispatchEvent(new FocusEvent("blur",{relatedTarget:b})),u.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:b}))}}),r.current.observer.observe(u,{attributes:!0,attributeFilter:["disabled"]})}},[o])}var sf=!1;function l9(o){while(o&&!gb(o,{skipVisibilityCheck:!0}))o=o.parentElement;let r=Kt(o),i=r.document.activeElement;if(!i||i===o)return;sf=!0;let c=!1,u=(v)=>{if(ce(v)===i||c)v.stopImmediatePropagation()},f=(v)=>{if(ce(v)===i||c){if(v.stopImmediatePropagation(),!o&&!c)c=!0,Sa(i),g()}},b=(v)=>{if(ce(v)===o||c)v.stopImmediatePropagation()},m=(v)=>{if(ce(v)===o||c){if(v.stopImmediatePropagation(),!c)c=!0,Sa(i),g()}};r.addEventListener("blur",u,!0),r.addEventListener("focusout",f,!0),r.addEventListener("focusin",m,!0),r.addEventListener("focus",b,!0);let g=()=>{cancelAnimationFrame(x),r.removeEventListener("blur",u,!0),r.removeEventListener("focusout",f,!0),r.removeEventListener("focusin",m,!0),r.removeEventListener("focus",b,!0),sf=!1,c=!1},x=requestAnimationFrame(g);return g}function xb(o){if(typeof window>"u"||window.navigator==null)return!1;let r=window.navigator.userAgentData?.brands;return Array.isArray(r)&&r.some((i)=>o.test(i.brand))||o.test(window.navigator.userAgent)}function ky(o){return typeof window<"u"&&window.navigator!=null?o.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function Jr(o){let r=null;return()=>{if(r==null)r=o();return r}}var Sn=Jr(function(){return ky(/^Mac/i)}),$P=Jr(function(){return ky(/^iPhone/i)}),_y=Jr(function(){return ky(/^iPad/i)||Sn()&&navigator.maxTouchPoints>1}),Cn=Jr(function(){return $P()||_y()}),i9=Jr(function(){return Sn()||Cn()}),Sb=Jr(function(){return xb(/AppleWebKit/i)&&!zy()}),zy=Jr(function(){return xb(/Chrome/i)}),uf=Jr(function(){return xb(/Android/i)}),s9=Jr(function(){return xb(/Firefox/i)});function Cb(o){if(o.pointerType===""&&o.isTrusted)return!0;if(uf()&&o.pointerType)return o.type==="click"&&o.buttons===1;return o.detail===0&&!o.pointerType}function c9(o){return!uf()&&o.width===0&&o.height===0||o.width===1&&o.height===1&&o.pressure===0&&o.detail===0&&o.pointerType==="mouse"}var Zc=F(J(),1),yP=Zc.createContext({isNative:!0,open:SP,useHref:(o)=>o});function hs(){return Zc.useContext(yP)}function vP(o,r){let i=o.getAttribute("target");return(!i||i==="_self")&&o.origin===location.origin&&!o.hasAttribute("download")&&!r.metaKey&&!r.ctrlKey&&!r.altKey&&!r.shiftKey}function nn(o,r,i=!0){let{metaKey:c,ctrlKey:u,altKey:f,shiftKey:b}=r;if(s9()&&window.event?.type?.startsWith("key")&&o.target==="_blank")if(Sn())c=!0;else u=!0;let m=Sb()&&Sn()&&!_y()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:c,ctrlKey:u,altKey:f,shiftKey:b}):new MouseEvent("click",{metaKey:c,ctrlKey:u,altKey:f,shiftKey:b,detail:1,bubbles:!0,cancelable:!0});nn.isOpening=i,Sa(o),o.dispatchEvent(m),nn.isOpening=!1}nn.isOpening=!1;function xP(o,r){if(o instanceof HTMLAnchorElement)r(o);else if(o.hasAttribute("data-href")){let i=document.createElement("a");if(i.href=o.getAttribute("data-href"),o.hasAttribute("data-target"))i.target=o.getAttribute("data-target");if(o.hasAttribute("data-rel"))i.rel=o.getAttribute("data-rel");if(o.hasAttribute("data-download"))i.download=o.getAttribute("data-download");if(o.hasAttribute("data-ping"))i.ping=o.getAttribute("data-ping");if(o.hasAttribute("data-referrer-policy"))i.referrerPolicy=o.getAttribute("data-referrer-policy");o.appendChild(i),r(i),o.removeChild(i)}}function SP(o,r){xP(o,(i)=>nn(i,r))}function Wc(o){let i=hs().useHref(o?.href??""),c={};if(o){for(let u of["href","target","rel","download","ping","referrerPolicy"])if(u in o)c[u]=u==="href"?i:o[u]}return c}function u9(o,r,i,c){if(!r.isNative&&o.currentTarget instanceof HTMLAnchorElement&&o.currentTarget.href&&!o.isDefaultPrevented()&&vP(o.currentTarget,o)&&i)o.preventDefault(),r.open(o.currentTarget,o,i,c)}var Fy=F(J(),1),ys=null,ff="keyboard",By=new Set,df=new Map,$s=!1,Iy=!1,CP={Tab:!0,Escape:!0};function Tb(o,r){for(let i of By)i(o,r)}function EP(o){return!(o.metaKey||!Sn()&&o.altKey||o.ctrlKey||o.key==="Control"||o.key==="Shift"||o.key==="Meta")}function Eb(o){if($s=!0,!nn.isOpening&&EP(o))ys="keyboard",ff="keyboard",Tb("keyboard",o)}function Jc(o){if(ys="pointer",ff="pointerType"in o?o.pointerType:"mouse",o.type==="mousedown"||o.type==="pointerdown")$s=!0,Tb("pointer",o)}function d9(o){if(!nn.isOpening&&Cb(o))$s=!0,ys="virtual",ff="virtual"}function f9(o){let r=Kt(ce(o)),i=Ke(ce(o));if(ce(o)===r||ce(o)===i||sf||!o.isTrusted)return;if(!$s&&!Iy)ys="virtual",ff="virtual",Tb("virtual",o);$s=!1,Iy=!1}function p9(){if(sf)return;$s=!1,Iy=!0}function Hy(o){if(typeof window>"u"||typeof document>"u")return;let r=Kt(o),i=Ke(o);if(df.get(r))return;let c=r.HTMLElement.prototype.focus;if(r.HTMLElement.prototype.focus=function(){$s=!0,c.apply(this,arguments)},i.addEventListener("keydown",Eb,!0),i.addEventListener("keyup",Eb,!0),i.addEventListener("click",d9,!0),r.addEventListener("focus",f9,!0),r.addEventListener("blur",p9,!1),typeof PointerEvent<"u")i.addEventListener("pointerdown",Jc,!0),i.addEventListener("pointermove",Jc,!0),i.addEventListener("pointerup",Jc,!0);r.addEventListener("beforeunload",()=>{m9(o)},{once:!0}),df.set(r,{focus:c})}var m9=(o,r)=>{let i=Kt(o),c=Ke(o);if(r)c.removeEventListener("DOMContentLoaded",r);if(!df.has(i))return;if(i.HTMLElement.prototype.focus=df.get(i).focus,c.removeEventListener("keydown",Eb,!0),c.removeEventListener("keyup",Eb,!0),c.removeEventListener("click",d9,!0),i.removeEventListener("focus",f9,!0),i.removeEventListener("blur",p9,!1),typeof PointerEvent<"u")c.removeEventListener("pointerdown",Jc,!0),c.removeEventListener("pointermove",Jc,!0),c.removeEventListener("pointerup",Jc,!0);df.delete(i)};function b9(o){let r=Ke(o),i;if(r.readyState!=="loading")Hy(o);else i=()=>{Hy(o)},r.addEventListener("DOMContentLoaded",i);return()=>m9(o,i)}if(typeof document<"u")b9();function En(){return ys!=="pointer"}function mr(){return ys}function ai(o){ys=o,ff=o==="pointer"?"mouse":o,Tb(o,null)}var TP=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function RP(o,r,i){let c=i?ce(i):void 0,u=Ke(c),f=Kt(c),b=typeof f<"u"?f.HTMLInputElement:HTMLInputElement,m=typeof f<"u"?f.HTMLTextAreaElement:HTMLTextAreaElement,g=typeof f<"u"?f.HTMLElement:HTMLElement,x=typeof f<"u"?f.KeyboardEvent:KeyboardEvent,v=tt(u);return o=o||v instanceof b&&!TP.has(v.type)||v instanceof m||v instanceof g&&v.isContentEditable,!(o&&r==="keyboard"&&i instanceof x&&!CP[i.key])}function Uy(o,r,i){Hy(),Fy.useEffect(()=>{if(i?.enabled===!1)return;let c=(u,f)=>{if(!RP(!!i?.isTextInput,u,f))return;o(En())};return By.add(c),()=>{By.delete(c)}},r)}function oi(o){if(Sn())return o.metaKey;return o.ctrlKey}var wP=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function vs(o){return o instanceof HTMLInputElement&&!wP.has(o.type)||o instanceof HTMLTextAreaElement||o instanceof HTMLElement&&o.isContentEditable}var eu=F(J(),1),DP=eu.default.useInsertionEffect??Le;function fa(o){let r=eu.useRef(null);return DP(()=>{r.current=o},[o]),eu.useCallback((...i)=>{let c=r.current;return c?.(...i)},[])}var g9=F(J(),1);function xs(o,r,i,c){let u=fa(i),f=i==null;g9.useEffect(()=>{if(f||!o.current)return;let b=o.current;return b.addEventListener(r,u,c),()=>{b.removeEventListener(r,u,c)}},[o,r,c,f])}function ni(o,r){let{id:i,"aria-label":c,"aria-labelledby":u}=o;if(i=vt(i),u&&c)u=[...new Set([i,...u.trim().split(/\s+/)])].join(" ");else if(u)u=u.trim().split(/\s+/).join(" ");if(!c&&!u&&r)c=r;return{id:i,"aria-label":c,"aria-labelledby":u}}var AP=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),PP=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function h9(o){if(Intl.Locale){let i=new Intl.Locale(o).maximize(),c=typeof i.getTextInfo==="function"?i.getTextInfo():i.textInfo;if(c)return c.direction==="rtl";if(i.script)return AP.has(i.script)}let r=o.split("-")[0];return PP.has(r)}var Rb=F(J(),1),y9=Symbol.for("react-aria.i18n.locale");function v9(){let o=typeof window<"u"&&window[y9]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([o])}catch{o="en-US"}return{locale:o,direction:h9(o)?"rtl":"ltr"}}var Vy=v9(),pf=new Set;function $9(){Vy=v9();for(let o of pf)o(Vy)}function x9(){let o=Xa(),[r,i]=Rb.useState(Vy);if(Rb.useEffect(()=>{if(pf.size===0)window.addEventListener("languagechange",$9);return pf.add(i),()=>{if(pf.delete(i),pf.size===0)window.removeEventListener("languagechange",$9)}},[]),o)return{locale:typeof window<"u"&&window[y9]||"en-US",direction:"ltr"};return r}var wb=F(J(),1),MP=wb.default.createContext(null);function Pa(){let o=x9();return wb.useContext(MP)||o}var OP=Symbol.for("react-aria.i18n.locale"),NP=Symbol.for("react-aria.i18n.strings"),Db=void 0;class tu{constructor(o,r="en-US"){this.strings=Object.fromEntries(Object.entries(o).filter(([,i])=>i)),this.defaultLocale=r}getStringForLocale(o,r){let c=this.getStringsForLocale(r)[o];if(!c)throw Error(`Could not find intl message ${o} in ${r} locale`);return c}getStringsForLocale(o){let r=this.strings[o];if(!r)r=LP(o,this.strings,this.defaultLocale),this.strings[o]=r;return r}static getGlobalDictionaryForPackage(o){if(typeof window>"u")return null;let r=window[OP];if(Db===void 0){let c=window[NP];if(!c)return null;Db={};for(let u in c)Db[u]=new tu({[r]:c[u]},r)}let i=Db?.[o];if(!i)throw Error(`Strings for package "${o}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return i}}function LP(o,r,i="en-US"){if(r[o])return r[o];let c=kP(o);if(r[c])return r[c];for(let u in r)if(u.startsWith(c+"-"))return r[u];return r[i]}function kP(o){if(Intl.Locale)return new Intl.Locale(o).language;return o.split("-")[0]}var S9=new Map,C9=new Map;class Ab{constructor(o,r){this.locale=o,this.strings=r}format(o,r){let i=this.strings.getStringForLocale(o,this.locale);return typeof i==="function"?i(r,this):i}plural(o,r,i="cardinal"){let c=r["="+o];if(c)return typeof c==="function"?c():c;let u=this.locale+":"+i,f=S9.get(u);if(!f)f=new Intl.PluralRules(this.locale,{type:i}),S9.set(u,f);let b=f.select(o);return c=r[b]||r.other,typeof c==="function"?c():c}number(o){let r=C9.get(this.locale);if(!r)r=new Intl.NumberFormat(this.locale),C9.set(this.locale,r);return r.format(o)}select(o,r){let i=o[r]||o.other;return typeof i==="function"?i():i}}var T9=F(J(),1),E9=new WeakMap;function _P(o){let r=E9.get(o);if(!r)r=new tu(o),E9.set(o,r);return r}function R9(o,r){return r&&tu.getGlobalDictionaryForPackage(r)||_P(o)}function Ss(o,r){let{locale:i}=Pa(),c=R9(o,r);return T9.useMemo(()=>new Ab(i,c),[i,c])}var so=F(J(),1),zP=typeof document<"u"?so.default.useInsertionEffect??so.default.useLayoutEffect:()=>{};function Tn(o,r,i){let[c,u]=so.useState(o||r),f=so.useRef(c),b=so.useRef(o!==void 0),m=o!==void 0;so.useEffect(()=>{let h=b.current;if(h!==m)console.warn(`WARN: A component changed from ${h?"controlled":"uncontrolled"} to ${m?"controlled":"uncontrolled"}.`);b.current=m},[m]);let g=m?o:c;zP(()=>{f.current=g});let[,x]=so.useReducer(()=>({}),{}),v=so.useCallback((h,...T)=>{let R=typeof h==="function"?h(f.current):h;if(!Object.is(f.current,R))f.current=R,u(R),x(),i?.(R,...T)},[i]);return[g,v]}var mf=F(J(),1);var w9=mf.createContext(null),D9=mf.createContext(null);var _o=F(J(),1);if(typeof HTMLTemplateElement<"u")Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(o){return this.content.appendChild(o)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(o){return this.content.removeChild(o)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(o,r){return this.content.insertBefore(o,r)}});var Pb=_o.createContext(!1);function A9(o){if(_o.useContext(Pb))return _o.default.createElement(_o.default.Fragment,null,o.children);let i=_o.default.createElement(Pb.Provider,{value:!0},o.children);return _o.default.createElement("template",null,i)}function co(o){let r=(i,c)=>{if(_o.useContext(Pb))return null;return o(i,c)};return r.displayName=o.displayName||o.name,_o.forwardRef(r)}function Ky(){return _o.useContext(Pb)}var Mb=F(J(),1),Cs=Mb.createContext({}),ri=co(function(r,i){[r,i]=bt(r,i,Cs);let{elementType:c="label",...u}=r,f=qe[c];return Mb.default.createElement(f,{className:"react-aria-Label",...u,ref:i})});var BP=new Set(["id"]),IP=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),HP=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),FP=new Set(["dir","lang","hidden","inert","translate"]),P9=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),UP=/^(data-.*)$/;function _e(o,r={}){let{labelable:i,isLink:c,global:u,events:f=u,propNames:b}=r,m={};for(let g in o)if(Object.prototype.hasOwnProperty.call(o,g)&&(BP.has(g)||i&&IP.has(g)||c&&HP.has(g)||u&&FP.has(g)||f&&(P9.has(g)||g.endsWith("Capture")&&P9.has(g.slice(0,-7)))||b?.has(g)||UP.test(g)))m[g]=o[g];return m}function Ob(o){let{id:r,label:i,"aria-labelledby":c,"aria-label":u,labelElementType:f="label"}=o;r=vt(r);let b=vt(),m={};if(i)c=c?`${b} ${c}`:b,m={id:b,htmlFor:f==="label"?r:void 0};else if(!c&&!u)console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let g=ni({id:r,"aria-label":u,"aria-labelledby":c});return{labelProps:m,fieldProps:g}}function bf(o,r=-1/0,i=1/0){return Math.min(Math.max(o,r),i)}var Nb=F(J(),1),M9=Nb.createContext(null);var au=null;function Lb(o,r="assertive",i=7000){if(!au)if(au=new O9,!(typeof IS_REACT_ACT_ENVIRONMENT==="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u"))setTimeout(()=>{if(au?.isAttached())au?.announce(o,r,i)},100);else au.announce(o,r,i);else au.announce(o,r,i)}class O9{constructor(){if(this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u")this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}isAttached(){return this.node?.isConnected}createLog(o){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",o),r.setAttribute("aria-relevant","additions"),r}destroy(){if(!this.node)return;document.body.removeChild(this.node),this.node=null}announce(o,r="assertive",i=7000){if(!this.node)return;let c=document.createElement("div");if(typeof o==="object")c.setAttribute("role","img"),c.setAttribute("aria-labelledby",o["aria-labelledby"]);else c.textContent=o;if(r==="assertive")this.assertiveLog?.appendChild(c);else this.politeLog?.appendChild(c);if(o!=="")setTimeout(()=>{c.remove()},i)}clear(o){if(!this.node)return;if((!o||o==="assertive")&&this.assertiveLog)this.assertiveLog.innerHTML="";if((!o||o==="polite")&&this.politeLog)this.politeLog.innerHTML=""}}var li=new Map,jy=new Set;function N9(){if(typeof window>"u")return;function o(c){return"propertyName"in c}let r=(c)=>{let u=ce(c);if(!o(c)||!u)return;let f=li.get(u);if(!f)f=new Set,li.set(u,f),u.addEventListener("transitioncancel",i,{once:!0});f.add(c.propertyName)},i=(c)=>{let u=ce(c);if(!o(c)||!u)return;let f=li.get(u);if(!f)return;if(f.delete(c.propertyName),f.size===0)u.removeEventListener("transitioncancel",i),li.delete(u);if(li.size===0){for(let b of jy)b();jy.clear()}};document.body.addEventListener("transitionrun",r),document.body.addEventListener("transitionend",i)}if(typeof document<"u")if(document.readyState!=="loading")N9();else document.addEventListener("DOMContentLoaded",N9);function VP(){for(let[o]of li)if("isConnected"in o&&!o.isConnected)li.delete(o)}function kb(o){requestAnimationFrame(()=>{if(VP(),li.size===0)o();else jy.add(o)})}function Za(o){if(!o.isConnected)return;let r=Ke(o);if(mr()==="virtual"){let i=tt(r);kb(()=>{let c=tt(r);if((c===i||c===r.body)&&o.isConnected)Sa(o)})}else Sa(o)}var Gy=F(J(),1);function Es(o){let{isDisabled:r,onFocus:i,onBlur:c,onFocusChange:u}=o,f=Gy.useCallback((g)=>{if(ce(g)===g.currentTarget){if(c)c(g);if(u)u(!1);return!0}},[c,u]),b=vb(f),m=Gy.useCallback((g)=>{let x=ce(g),v=Ke(x),h=v?tt(v):tt();if(x===g.currentTarget&&x===h){if(i)i(g);if(u)u(!0);b(g)}},[u,i,b]);return{focusProps:{onFocus:!r&&(i||u||c)?m:void 0,onBlur:!r&&(c||u)?f:void 0}}}function qy(o){if(!o)return;let r=!0;return(i)=>{let c={...i,preventDefault(){i.preventDefault()},isDefaultPrevented(){return i.isDefaultPrevented()},stopPropagation(){if(r)console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");else r=!0},continuePropagation(){r=!1},isPropagationStopped(){return r}};if(o(c),r)i.stopPropagation()}}function Ts(o){return{keyboardProps:o.isDisabled?{}:{onKeyDown:qy(o.onKeyDown),onKeyUp:qy(o.onKeyUp)}}}function _b(o,r){Le(()=>{if(o&&o.ref&&r)return o.ref.current=r.current,()=>{if(o.ref)o.ref.current=null}})}var el=F(J(),1),zb=el.default.createContext(null);function KP(o){let r=el.useContext(zb)||{};_b(r,o);let{ref:i,...c}=r;return c}function ii(o,r){let{focusProps:i}=Es(o),{keyboardProps:c}=Ts(o),u=be(i,c),f=KP(r),b=o.isDisabled?{}:f,m=el.useRef(o.autoFocus);el.useEffect(()=>{if(m.current&&r.current)Za(r.current);m.current=!1},[r]);let g=o.excludeFromTabOrder?-1:0;if(o.isDisabled)g=void 0;return{focusableProps:be({...u,tabIndex:g},b)}}var ou="default",Yy="",Bb=new WeakMap;function L9(o){if(Cn()){if(ou==="default"){let r=Ke(o);Yy=r.documentElement.style.webkitUserSelect,r.documentElement.style.webkitUserSelect="none"}ou="disabled"}else if(o instanceof HTMLElement||o instanceof SVGElement){let r="userSelect"in o.style?"userSelect":"webkitUserSelect";Bb.set(o,o.style[r]),o.style[r]="none"}}function Xy(o){if(Cn()){if(ou!=="disabled")return;ou="restoring",setTimeout(()=>{kb(()=>{if(ou==="restoring"){let r=Ke(o);if(r.documentElement.style.webkitUserSelect==="none")r.documentElement.style.webkitUserSelect=Yy||"";Yy="",ou="default"}})},300)}else if(o instanceof HTMLElement||o instanceof SVGElement){if(o&&Bb.has(o)){let r=Bb.get(o),i="userSelect"in o.style?"userSelect":"webkitUserSelect";if(o.style[i]==="none")o.style[i]=r;if(o.getAttribute("style")==="")o.removeAttribute("style");Bb.delete(o)}}}function k9(o){return o?.defaultView?.__webpack_nonce__||globalThis.__webpack_nonce__||void 0}var Qy=new WeakMap;function Ib(o){let r=o??(typeof document<"u"?document:void 0);if(!r)return k9(r);if(Qy.has(r))return Qy.get(r);let i=r.querySelector('meta[property="csp-nonce"]'),c=i&&i instanceof Kt(i).HTMLMetaElement&&(i.nonce||i.content)||k9(r)||void 0;if(c!==void 0)Qy.set(r,c);return c}var _9=F(J(),1),gf=_9.default.createContext({register:()=>{}});gf.displayName="PressResponderContext";var si=F(J(),1);function ci(){let o=si.useRef(new Map),r=si.useCallback((u,f,b,m)=>{let g=m?.once?(...x)=>{o.current.delete(b),b(...x)}:b;o.current.set(b,{type:f,eventTarget:u,fn:g,options:m}),u.addEventListener(f,g,m)},[]),i=si.useCallback((u,f,b,m)=>{let g=o.current.get(b)?.fn||b;u.removeEventListener(f,g,m),o.current.delete(b)},[]),c=si.useCallback(()=>{o.current.forEach((u,f)=>{i(u.eventTarget,u.type,f,u.options)})},[i]);return si.useEffect(()=>c,[c]),{addGlobalListener:r,removeGlobalListener:i,removeAllGlobalListeners:c}}var jP=F(sr(),1),ra=F(J(),1);function GP(o){let r=ra.useContext(gf);if(r){let{register:i,ref:c,...u}=r;o=be(u,o),i()}return _b(r,o.ref),o}class hf{#e;constructor(o,r,i,c){this.#e=!0;let f=(c?.target??i.currentTarget)?.getBoundingClientRect(),b,m=0,g,x=null;if(i.clientX!=null&&i.clientY!=null)g=i.clientX,x=i.clientY;if(f)if(g!=null&&x!=null)b=g-f.left,m=x-f.top;else b=f.width/2,m=f.height/2;this.type=o,this.pointerType=r,this.target=i.currentTarget,this.shiftKey=i.shiftKey,this.metaKey=i.metaKey,this.ctrlKey=i.ctrlKey,this.altKey=i.altKey,this.x=b,this.y=m,this.key=i.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}}var z9=Symbol("linkClicked"),B9="react-aria-pressable-style",I9="data-react-aria-pressable";function ui(o){let{onPress:r,onPressChange:i,onPressStart:c,onPressEnd:u,onPressUp:f,onClick:b,isDisabled:m,isPressed:g,preventFocusOnPress:x,shouldCancelOnPointerExit:v,allowTextSelectionOnPress:h,ref:T,...R}=GP(o),[w,L]=ra.useState(!1),M=ra.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:H,removeAllGlobalListeners:I}=ci(),X=ra.useCallback((O,z)=>{let K=M.current;if(m||K.didFirePressStart)return!1;let V=!0;if(K.isTriggeringEvent=!0,c){let le=new hf("pressstart",z,O);c(le),V=le.shouldStopPropagation}if(i)i(!0);return K.isTriggeringEvent=!1,K.didFirePressStart=!0,L(!0),V},[m,c,i]),Z=ra.useCallback((O,z,K=!0)=>{let V=M.current;if(!V.didFirePressStart)return!1;V.didFirePressStart=!1,V.isTriggeringEvent=!0;let le=!0;if(u){let Q=new hf("pressend",z,O);u(Q),le=Q.shouldStopPropagation}if(i)i(!1);if(L(!1),r&&K&&!m){let Q=new hf("press",z,O);r(Q),le&&=Q.shouldStopPropagation}return V.isTriggeringEvent=!1,le},[m,u,i,r]),ge=fa(Z),he=ra.useCallback((O,z)=>{let K=M.current;if(m)return!1;if(f){K.isTriggeringEvent=!0;let V=new hf("pressup",z,O);return f(V),K.isTriggeringEvent=!1,V.shouldStopPropagation}return!0},[m,f]),ae=fa(he),U=ra.useCallback((O)=>{let z=M.current;if(z.isPressed&&z.target){if(z.didFirePressStart&&z.pointerType!=null)Z(Rs(z.target,O),z.pointerType,!1);if(z.isPressed=!1,z.isOverTarget=!1,z.activePointerId=null,z.pointerType=null,I(),!h)Xy(z.target);for(let K of z.disposables)K();z.disposables=[]}},[h,I,Z]),te=fa(U);ra.useEffect(()=>{if(m&&M.current.isPressed)te({currentTarget:M.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[m]);let j=ra.useCallback((O)=>{if(v)U(O)},[v,U]),ye=ra.useCallback((O)=>{if(m)return;b?.(O)},[m,b]),de=ra.useCallback((O,z)=>{if(m)return;if(b){let K=new MouseEvent("click",O);yb(K,z),b(cf(K))}},[m,b]),re=ra.useMemo(()=>{let O=M.current,z={onKeyDown(V){if(Zy(V.nativeEvent,V.currentTarget)&&Ve(V.currentTarget,ce(V))){if(H9(ce(V),V.key))V.preventDefault();let le=!0;if(!O.isPressed&&!V.repeat)O.target=V.currentTarget,O.isPressed=!0,O.pointerType="keyboard",le=X(V,"keyboard");let Q=V.currentTarget,C=(W)=>{if(Zy(W,Q)&&!W.repeat&&Ve(Q,ce(W))&&O.target)ae(Rs(O.target,W),"keyboard")};if(H(Ke(V.currentTarget),"keyup",Lo(C,K),!0),le)V.stopPropagation();if(V.metaKey&&Sn())O.metaKeyEvents?.set(V.key,V.nativeEvent)}else if(V.key==="Meta")O.metaKeyEvents=new Map},onClick(V){if(V&&!Ve(V.currentTarget,ce(V)))return;if(V&&V.button===0&&!O.isTriggeringEvent&&!nn.isOpening){let le=!0;if(m)V.preventDefault();if(!O.ignoreEmulatedMouseEvents&&!O.isPressed&&(O.pointerType==="virtual"||Cb(V.nativeEvent))){let Q=X(V,"virtual"),C=ae(V,"virtual"),W=ge(V,"virtual");ye(V),le=Q&&C&&W}else if(O.isPressed&&O.pointerType!=="keyboard"){let Q=O.pointerType||V.nativeEvent.pointerType||"virtual",C=ae(Rs(V.currentTarget,V),Q),W=ge(Rs(V.currentTarget,V),Q,!0);le=C&&W,O.isOverTarget=!1,ye(V),te(V)}if(O.ignoreEmulatedMouseEvents=!1,le)V.stopPropagation()}}},K=(V)=>{if(O.isPressed&&O.target&&Zy(V,O.target)){if(H9(ce(V),V.key))V.preventDefault();let le=ce(V),Q=Ve(O.target,le);if(ge(Rs(O.target,V),"keyboard",Q),Q)de(V,O.target);if(I(),V.key!=="Enter"&&Wy(O.target)&&Ve(O.target,le)&&!V[z9])V[z9]=!0,nn(O.target,V,!1);O.isPressed=!1,O.metaKeyEvents?.delete(V.key)}else if(V.key==="Meta"&&O.metaKeyEvents?.size){let le=O.metaKeyEvents;O.metaKeyEvents=void 0;for(let Q of le.values())O.target?.dispatchEvent(new KeyboardEvent("keyup",Q))}};if(typeof PointerEvent<"u"){z.onPointerDown=(Q)=>{if(Q.button!==0||!Ve(Q.currentTarget,ce(Q)))return;if(c9(Q.nativeEvent)){O.pointerType="virtual";return}O.pointerType=Q.pointerType;let C=!0;if(!O.isPressed){if(O.isPressed=!0,O.isOverTarget=!0,O.activePointerId=Q.pointerId,O.target=Q.currentTarget,!h)L9(O.target);C=X(Q,O.pointerType);let W=ce(Q);if("releasePointerCapture"in W)if("hasPointerCapture"in W){if(W.hasPointerCapture(Q.pointerId))W.releasePointerCapture(Q.pointerId)}else W.releasePointerCapture(Q.pointerId);H(Ke(Q.currentTarget),"pointerup",V,!1),H(Ke(Q.currentTarget),"pointercancel",le,!1)}if(C)Q.stopPropagation()},z.onMouseDown=(Q)=>{if(!Ve(Q.currentTarget,ce(Q)))return;if(Q.button===0){if(x){let C=l9(Q.target);if(C)O.disposables.push(C)}Q.stopPropagation()}},z.onPointerUp=(Q)=>{if(!Ve(Q.currentTarget,ce(Q))||O.pointerType==="virtual")return;if(Q.button===0&&!O.isPressed)ae(Q,O.pointerType||Q.pointerType)},z.onPointerEnter=(Q)=>{if(Q.pointerId===O.activePointerId&&O.target&&!O.isOverTarget&&O.pointerType!=null)O.isOverTarget=!0,X(Rs(O.target,Q),O.pointerType)},z.onPointerLeave=(Q)=>{if(Q.pointerId===O.activePointerId&&O.target&&O.isOverTarget&&O.pointerType!=null)O.isOverTarget=!1,ge(Rs(O.target,Q),O.pointerType,!1),j(Q)};let V=(Q)=>{if(Q.pointerId===O.activePointerId&&O.isPressed&&Q.button===0&&O.target){if(Ve(O.target,ce(Q))&&O.pointerType!=null){let C=!1,W=setTimeout(()=>{if(O.isPressed&&O.target instanceof HTMLElement)if(C)te(Q);else Sa(O.target),O.target.click()},80);H(Q.currentTarget,"click",()=>C=!0,!0),O.disposables.push(()=>clearTimeout(W))}else te(Q);O.isOverTarget=!1}},le=(Q)=>{te(Q)};z.onDragStart=(Q)=>{if(!Ve(Q.currentTarget,ce(Q)))return;te(Q)}}return z},[H,m,x,I,h,j,X,ye,de]);return ra.useEffect(()=>{if(!T)return;let O=Ke(T.current);if(!O||!O.head||O.getElementById(B9))return;let z=O.createElement("style");z.id=B9;let K=Ib(O);if(K)z.nonce=K;z.textContent=`
|
|
241
|
+
@layer {
|
|
242
|
+
[${I9}] {
|
|
243
|
+
touch-action: pan-x pan-y pinch-zoom;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
`.trim(),O.head.prepend(z)},[T]),ra.useEffect(()=>{let O=M.current;return()=>{if(!h)Xy(O.target??void 0);for(let z of O.disposables)z();O.disposables=[]}},[h]),{isPressed:g||w,pressProps:be(R,re,{[I9]:!0})}}function Wy(o){return o.tagName==="A"&&o.hasAttribute("href")}function Zy(o,r){let{key:i,code:c}=o,u=r,f=u.getAttribute("role");return(i==="Enter"||i===" "||i==="Spacebar"||c==="Space")&&!(u instanceof Kt(u).HTMLInputElement&&!F9(u,i)||u instanceof Kt(u).HTMLTextAreaElement||u.isContentEditable)&&!((f==="link"||!f&&Wy(u))&&i!=="Enter")}function Rs(o,r){let{clientX:i,clientY:c}=r;return{currentTarget:o,shiftKey:r.shiftKey,ctrlKey:r.ctrlKey,metaKey:r.metaKey,altKey:r.altKey,clientX:i,clientY:c,key:r.key}}function qP(o){if(o instanceof HTMLInputElement)return!1;if(o instanceof HTMLButtonElement)return o.type!=="submit"&&o.type!=="reset";if(Wy(o))return!1;return!0}function H9(o,r){if(o instanceof HTMLInputElement)return!F9(o,r);return qP(o)}var YP=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function F9(o,r){return o.type==="checkbox"||o.type==="radio"?r===" ":YP.has(o.type)}function Jy(o,r){let{elementType:i="button",isDisabled:c,onPress:u,onPressStart:f,onPressEnd:b,onPressUp:m,onPressChange:g,preventFocusOnPress:x,allowFocusWhenDisabled:v,onClick:h,href:T,target:R,rel:w,type:L="button"}=o,M;if(i==="button")M={type:L,disabled:c,form:o.form,formAction:o.formAction,formEncType:o.formEncType,formMethod:o.formMethod,formNoValidate:o.formNoValidate,formTarget:o.formTarget,name:o.name,value:o.value};else M={role:"button",href:i==="a"&&!c?T:void 0,target:i==="a"?R:void 0,type:i==="input"?L:void 0,disabled:i==="input"?c:void 0,"aria-disabled":!c||i==="input"?void 0:c,rel:i==="a"?w:void 0};let{pressProps:H,isPressed:I}=ui({onPressStart:f,onPressEnd:b,onPressChange:g,onPress:u,onPressUp:m,onClick:h,isDisabled:c,preventFocusOnPress:x,ref:r}),{focusableProps:X}=ii(o,r);if(v)X.tabIndex=c?-1:X.tabIndex;let Z=be(X,H,_e(o,{labelable:!0}));return{isPressed:I,buttonProps:be(M,Z,{"aria-haspopup":o["aria-haspopup"],"aria-expanded":o["aria-expanded"],"aria-controls":o["aria-controls"],"aria-pressed":o["aria-pressed"],"aria-current":o["aria-current"],"aria-disabled":o["aria-disabled"]})}}var al=F(J(),1);var $f=F(J(),1);function di(o){let{isDisabled:r,onBlurWithin:i,onFocusWithin:c,onFocusWithinChange:u}=o,f=$f.useRef({isFocusWithin:!1}),{addGlobalListener:b,removeAllGlobalListeners:m}=ci(),g=$f.useCallback((h)=>{if(!Ve(h.currentTarget,ce(h)))return;if(f.current.isFocusWithin&&!Ve(h.currentTarget,h.relatedTarget)){if(f.current.isFocusWithin=!1,m(),i)i(h);if(u)u(!1)}},[i,u,f,m]),x=vb(g),v=$f.useCallback((h)=>{if(!Ve(h.currentTarget,ce(h)))return;let T=ce(h),R=Ke(T),w=tt(R);if(!f.current.isFocusWithin&&w===T){if(c)c(h);if(u)u(!0);f.current.isFocusWithin=!0,x(h);let L=h.currentTarget;b(R,"focus",(M)=>{let H=ce(M);if(f.current.isFocusWithin&&!Ve(L,H)){let I=new R.defaultView.FocusEvent("blur",{relatedTarget:H});yb(I,L);let X=cf(I);g(X)}},{capture:!0})}},[c,u,x,b,g]);if(r)return{focusWithinProps:{onFocus:void 0,onBlur:void 0}};return{focusWithinProps:{onFocus:v,onBlur:g}}}var fi=F(J(),1);function Ma(o={}){let{autoFocus:r=!1,isTextInput:i,within:c}=o,u=fi.useRef({isFocused:!1,isFocusVisible:r||En()}),[f,b]=fi.useState(!1),[m,g]=fi.useState(()=>u.current.isFocused&&u.current.isFocusVisible),x=fi.useCallback(()=>g(u.current.isFocused&&u.current.isFocusVisible),[]),v=fi.useCallback((R)=>{u.current.isFocused=R,u.current.isFocusVisible=En(),b(R),x()},[x]);Uy((R)=>{u.current.isFocusVisible=R,x()},[i,f],{enabled:f,isTextInput:i});let{focusProps:h}=Es({isDisabled:c,onFocusChange:v}),{focusWithinProps:T}=di({isDisabled:!c,onFocusWithinChange:v});return{isFocused:f,isFocusVisible:m,focusProps:c?T:h}}var tl=F(J(),1),e1=!1,Hb=0;function XP(){e1=!0,setTimeout(()=>{e1=!1},500)}function U9(o){if(o.pointerType==="touch")XP()}function QP(){let o=Ke(null);if(typeof o>"u")return;if(Hb===0){if(typeof PointerEvent<"u")o.addEventListener("pointerup",U9)}return Hb++,()=>{if(Hb--,Hb>0)return;if(typeof PointerEvent<"u")o.removeEventListener("pointerup",U9)}}function Oa(o){let{onHoverStart:r,onHoverChange:i,onHoverEnd:c,isDisabled:u}=o,[f,b]=tl.useState(!1),m=tl.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;tl.useEffect(QP,[]);let{addGlobalListener:g,removeAllGlobalListeners:x}=ci(),{hoverProps:v,triggerHoverEnd:h}=tl.useMemo(()=>{let T=(L,M)=>{if(m.pointerType=M,u||M==="touch"||m.isHovered||!Ve(L.currentTarget,ce(L)))return;m.isHovered=!0;let H=L.currentTarget;if(m.target=H,g(Ke(ce(L)),"pointerover",(I)=>{if(m.isHovered&&m.target&&!Ve(m.target,ce(I)))R(I,I.pointerType)},{capture:!0}),r)r({type:"hoverstart",target:H,pointerType:M});if(i)i(!0);b(!0)},R=(L,M)=>{let H=m.target;if(m.pointerType="",m.target=null,M==="touch"||!m.isHovered||!H)return;if(m.isHovered=!1,x(),c)c({type:"hoverend",target:H,pointerType:M});if(i)i(!1);b(!1)},w={};if(typeof PointerEvent<"u")w.onPointerEnter=(L)=>{if(e1&&L.pointerType==="mouse")return;T(L,L.pointerType)},w.onPointerLeave=(L)=>{if(!u&&Ve(L.currentTarget,ce(L)))R(L,L.pointerType)};return{hoverProps:w,triggerHoverEnd:R}},[r,i,c,u,m,g,x]);return tl.useEffect(()=>{if(u)h({currentTarget:m.target},m.pointerType)},[u]),{hoverProps:v,isHovered:f}}var br=al.createContext({}),Rn=co(function(r,i){[r,i]=bt(r,i,br);let c=r,{isPending:u}=c,{buttonProps:f,isPressed:b}=Jy(r,i);f=WP(f,u);let{focusProps:m,isFocused:g,isFocusVisible:x}=Ma(r),{hoverProps:v,isHovered:h}=Oa({...r,isDisabled:r.isDisabled||u}),T={isHovered:h,isPressed:(c.isPressed||b)&&!u,isFocused:g,isFocusVisible:x,isDisabled:r.isDisabled||!1,isPending:u??!1},R=dt({...r,values:T,defaultClassName:"react-aria-Button"}),w=vt(f.id),L=vt(),M=f["aria-labelledby"];if(u){if(M)M=`${M} ${L}`;else if(f["aria-label"])M=`${w} ${L}`}let H=al.useRef(u);al.useEffect(()=>{let X={"aria-labelledby":M||w};if(!H.current&&g&&u)Lb(X,"assertive");else if(H.current&&g&&!u)Lb(X,"assertive");H.current=u},[u,g,M,w]);let I=_e(r,{global:!0});return delete I.onClick,al.default.createElement(qe.button,{...be(I,R,f,m,v),type:f.type==="submit"&&u?"button":f.type,id:w,ref:i,"aria-labelledby":M,slot:r.slot||void 0,"aria-disabled":u?"true":f["aria-disabled"],"data-disabled":r.isDisabled||void 0,"data-pressed":T.isPressed||void 0,"data-hovered":h||void 0,"data-focused":g||void 0,"data-pending":u||void 0,"data-focus-visible":x||void 0},al.default.createElement(M9.Provider,{value:{id:L}},R.children))}),ZP=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;function WP(o,r){if(r){for(let i in o)if(i.startsWith("on")&&!ZP.test(i))o[i]=void 0;o.href=void 0,o.target=void 0}return o}var nu=F(J(),1),Fb=nu.createContext({}),t1=nu.forwardRef(function(r,i){[r,i]=bt(r,i,Fb);let{children:c,level:u=3,className:f,...b}=r,m=qe[`h${u}`];return nu.default.createElement(m,{...b,ref:i,className:f??"react-aria-Heading"},c)});var ru=F(J(),1),rn=ru.createContext({}),gr=ru.forwardRef(function(r,i){[r,i]=bt(r,i,rn);let{elementType:c="span",...u}=r,f=qe[c];return ru.default.createElement(f,{className:"react-aria-Text",...u,ref:i})});function zo(o,r){if(!o)return!1;let i=window.getComputedStyle(o),c=document.scrollingElement||document.documentElement,u=/(auto|scroll)/.test(i.overflow+i.overflowX+i.overflowY);if(o===c&&i.overflow!=="hidden")u=!0;if(u&&r)u=o.scrollHeight!==o.clientHeight||o.scrollWidth!==o.clientWidth;return u}function yf(o,r){let i=o;if(zo(i,r))i=i.parentElement;while(i&&!zo(i,r))i=i.parentElement;return i||document.scrollingElement||document.documentElement}function Ub(o,r){let i=[],c=document.scrollingElement||document.documentElement;while(o){if(zo(o,r))i.push(o);if(o===c)break;o=o.parentElement}return i}function vf(o,r,i={}){let{block:c="nearest",inline:u="nearest"}=i;if(o===r)return;let{scrollTop:f,scrollLeft:b}=o,m=r.getBoundingClientRect(),g=o.getBoundingClientRect(),x=window.getComputedStyle(r),v=window.getComputedStyle(o),h=document.scrollingElement||document.documentElement,T=o===h,R=o===h?0:g.top,w=o===h?o.clientHeight:g.bottom,L=o===h?0:g.left,M=o===h?o.clientWidth:g.right,H=parseFloat(x.scrollMarginTop)||0,I=parseFloat(x.scrollMarginBottom)||0,X=parseFloat(x.scrollMarginLeft)||0,Z=parseFloat(x.scrollMarginRight)||0,ge=parseFloat(v.scrollPaddingTop)||0,he=parseFloat(v.scrollPaddingBottom)||0,ae=parseFloat(v.scrollPaddingLeft)||0,U=parseFloat(v.scrollPaddingRight)||0,te=parseFloat(v.borderTopWidth)||0,j=parseFloat(v.borderBottomWidth)||0,ye=parseFloat(v.borderLeftWidth)||0,de=parseFloat(v.borderRightWidth)||0,re=m.top-H,O=m.bottom+I,z=m.left-X,K=m.right+Z,V=o===h?0:ye+de,le=o===h?0:te+j,Q=o===h?0:o.offsetWidth-o.clientWidth-V,C=o===h?0:o.offsetHeight-o.clientHeight-le,W=R+(T?0:te)+ge,ve=w-(T?0:j)-he-C,Ce=L+(T?0:ye)+ae,Ne=M-(T?0:de)-U;if(v.direction==="rtl"&&!Cn())Ce+=Q;else Ne-=Q;let He=re<W||O>ve,xe=z<Ce||K>Ne;if(He&&c==="start")f+=re-W;else if(He&&c==="center")f+=(re+O)/2-(W+ve)/2;else if(He&&c==="end")f+=O-ve;else if(He&&c==="nearest"){let Xe=re-W,ht=O-ve;f+=Math.abs(Xe)<=Math.abs(ht)?Xe:ht}if(xe&&u==="start")b+=z-Ce;else if(xe&&u==="center")b+=(z+K)/2-(Ce+Ne)/2;else if(xe&&u==="end")b+=K-Ne;else if(xe&&u==="nearest"){let Xe=z-Ce,ht=K-Ne;b+=Math.abs(Xe)<=Math.abs(ht)?Xe:ht}o.scrollTo({left:b,top:f})}function a1(o,r={}){let{containingElement:i}=r;if(o&&o.isConnected){let c=document.scrollingElement||document.documentElement;if(window.getComputedStyle(c).overflow!=="hidden"){let{left:f,top:b}=o.getBoundingClientRect();o?.scrollIntoView?.({block:"nearest"});let{left:m,top:g}=o.getBoundingClientRect();if(Math.abs(f-m)>1||Math.abs(b-g)>1)i?.scrollIntoView?.({block:"center",inline:"center"}),o.scrollIntoView?.({block:"nearest"})}else{let{left:f,top:b}=o.getBoundingClientRect(),m=Ub(o,!0);for(let v of m)vf(v,o);let{left:g,top:x}=o.getBoundingClientRect();if(Math.abs(f-g)>1||Math.abs(b-x)>1){m=i?Ub(i,!0):[];for(let v of m)vf(v,i,{block:"center",inline:"center"});for(let v of Ub(o,!0))vf(v,o)}}}}var V9=F(J(),1),JP=0,o1=new Map;function K9(o){let[r,i]=V9.useState();return Le(()=>{if(!o)return;let c=o1.get(o);if(!c){let u=`react-aria-description-${JP++}`;i(u);let f=document.createElement("div");f.id=u,f.style.display="none",f.textContent=o,document.body.appendChild(f),c={refCount:0,element:f},o1.set(o,c)}else i(c.element.id);return c.refCount++,()=>{if(c&&--c.refCount===0)c.element.remove(),o1.delete(o)}},[o]),{"aria-describedby":o?r:void 0}}var lu=F(J(),1),j9={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function n1(o={}){let{style:r,isFocusable:i}=o,[c,u]=lu.useState(!1),{focusWithinProps:f}=di({isDisabled:!i,onFocusWithinChange:(m)=>u(m)}),b=lu.useMemo(()=>{if(c)return r;else if(r)return{...j9,...r};else return j9},[c]);return{visuallyHiddenProps:{...f,style:b}}}function G9(o){let{children:r,elementType:i="div",isFocusable:c,style:u,...f}=o,{visuallyHiddenProps:b}=n1(o);return lu.default.createElement(i,be(f,b),r)}var wn=F(J(),1),ws=wn.createContext(null),Ds=wn.forwardRef(function(r,i){if(!wn.useContext(ws)?.isInvalid)return null;return wn.default.createElement(eM,{...r,ref:i})}),eM=wn.forwardRef((o,r)=>{let i=wn.useContext(ws),{elementType:c,...u}=o,f=_e(u,{global:!0}),b=dt({...u,defaultClassName:"react-aria-FieldError",defaultChildren:i.validationErrors.length===0?void 0:i.validationErrors.join(" "),values:i});if(b.children==null)return null;return wn.default.createElement(gr,{slot:"errorMessage",elementType:c,...f,...b,ref:r})});var Ca=F(J(),1),s1={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Y9={...s1,customError:!0,valid:!1},iu={isInvalid:!1,validationDetails:s1,validationErrors:[]},X9=Ca.createContext({}),l1="__reactAriaFormValidationState";function xf(o){if(o[l1]){let{realtimeValidation:r,displayValidation:i,updateValidation:c,resetValidation:u,commitValidation:f}=o[l1];return{realtimeValidation:r,displayValidation:i,updateValidation:c,resetValidation:u,commitValidation:f}}return tM(o)}function tM(o){let{isInvalid:r,validationState:i,name:c,value:u,builtinValidation:f,validate:b,validationBehavior:m="aria"}=o;if(i)r||=i==="invalid";let g=r!==void 0?{isInvalid:r,validationErrors:[],validationDetails:Y9}:null,x=Ca.useMemo(()=>{if(!b||u==null)return null;let j=aM(b,u);return q9(j)},[b,u]);if(f?.validationDetails.valid)f=void 0;let v=Ca.useContext(X9),h=Ca.useMemo(()=>{if(c)return Array.isArray(c)?c.flatMap((j)=>i1(v[j])):i1(v[c]);return[]},[v,c]),[T,R]=Ca.useState(v),[w,L]=Ca.useState(!1);if(v!==T)R(v),L(!1);let M=Ca.useMemo(()=>q9(w?[]:h),[w,h]),H=Ca.useRef(iu),[I,X]=Ca.useState(iu),Z=Ca.useRef(iu),ge=()=>{if(!he)return;ae(!1);let j=x||f||H.current;if(!r1(j,Z.current))Z.current=j,X(j)},[he,ae]=Ca.useState(!1);return Ca.useEffect(ge),{realtimeValidation:g||M||x||f||iu,displayValidation:m==="native"?g||M||I:g||M||x||f||I,updateValidation(j){if(m==="aria"&&!r1(I,j))X(j);else H.current=j},resetValidation(){let j=iu;if(!r1(j,Z.current))Z.current=j,X(j);if(m==="native")ae(!1);L(!0)},commitValidation(){if(m==="native")ae(!0);L(!0)}}}function i1(o){if(!o)return[];return Array.isArray(o)?o:[o]}function aM(o,r){if(typeof o==="function"){let i=o(r);if(i&&typeof i!=="boolean")return i1(i)}return[]}function q9(o){return o.length?{isInvalid:!0,validationErrors:o,validationDetails:Y9}:null}function r1(o,r){if(o===r)return!0;return!!o&&!!r&&o.isInvalid===r.isInvalid&&o.validationErrors.length===r.validationErrors.length&&o.validationErrors.every((i,c)=>i===r.validationErrors[c])&&Object.entries(o.validationDetails).every(([i,c])=>r.validationDetails[i]===c)}var Vb=F(J(),1),Kb=Vb.createContext(null);function jb(o){let{description:r,errorMessage:i,isInvalid:c,validationState:u}=o,{labelProps:f,fieldProps:b}=Ob(o),m=on([Boolean(r),Boolean(i),c,u]),g=on([Boolean(r),Boolean(i),c,u]);return b=be(b,{"aria-describedby":[m,g,o["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:f,fieldProps:b,descriptionProps:{id:m},errorMessageProps:{id:g}}}var Q9=F(J(),1);function Gb(o,r,i){let c=fa((u)=>{if(i&&!u.defaultPrevented)i(r)});Q9.useEffect(()=>{let u=o?.current?.form;return u?.addEventListener("reset",c),()=>{u?.removeEventListener("reset",c)}},[o])}var qb=F(J(),1);function Yb(o,r,i){let{validationBehavior:c,focus:u}=o;Le(()=>{if(c==="native"&&i?.current&&!i.current.disabled){let x=r.realtimeValidation.isInvalid?r.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";if(i.current.setCustomValidity(x),!i.current.hasAttribute("title"))i.current.title="";if(!r.realtimeValidation.isInvalid)r.updateValidation(nM(i.current))}});let f=qb.useRef(!1),b=fa(()=>{if(!f.current)r.resetValidation()}),m=fa((x)=>{if(!r.displayValidation.isInvalid)r.commitValidation();let v=i?.current?.form;if(!x.defaultPrevented&&i&&v&&rM(v)===i.current){if(u)u();else i.current?.focus();ai("keyboard")}x.preventDefault()}),g=fa(()=>{r.commitValidation()});qb.useEffect(()=>{let x=i?.current;if(!x)return;let v=x.form,h=v?.reset;if(v)v.reset=()=>{f.current=!window.event||window.event.type==="message"&&ce(window.event)instanceof MessagePort,h?.call(v),f.current=!1};return x.addEventListener("invalid",m),x.addEventListener("change",g),v?.addEventListener("reset",b),()=>{if(x.removeEventListener("invalid",m),x.removeEventListener("change",g),v?.removeEventListener("reset",b),v)v.reset=h}},[i,c])}function oM(o){let r=o.validity;return{badInput:r.badInput,customError:r.customError,patternMismatch:r.patternMismatch,rangeOverflow:r.rangeOverflow,rangeUnderflow:r.rangeUnderflow,stepMismatch:r.stepMismatch,tooLong:r.tooLong,tooShort:r.tooShort,typeMismatch:r.typeMismatch,valueMissing:r.valueMissing,valid:r.valid}}function nM(o){return{isInvalid:!o.validity.valid,validationDetails:oM(o),validationErrors:o.validationMessage?[o.validationMessage]:[]}}function rM(o){for(let r=0;r<o.elements.length;r++){let i=o.elements[r];if(i.validity?.valid===!1)return i}return null}var Xb=F(J(),1);var Z9=Xb.createContext({});var Qb=F(J(),1);var Zb=Qb.createContext({}),lM=(o)=>{let{onHoverStart:r,onHoverChange:i,onHoverEnd:c,...u}=o;return u},As=co(function(r,i){[r,i]=bt(r,i,Zb);let{hoverProps:c,isHovered:u}=Oa({...r,isDisabled:r.disabled}),{isFocused:f,isFocusVisible:b,focusProps:m}=Ma({isTextInput:!0,autoFocus:r.autoFocus}),g=!!r["aria-invalid"]&&r["aria-invalid"]!=="false",x=dt({...r,values:{isHovered:u,isFocused:f,isFocusVisible:b,isDisabled:r.disabled||!1,isInvalid:g},defaultClassName:"react-aria-Input"});return Qb.default.createElement(qe.input,{...be(lM(r),m,c),...x,ref:i,"data-focused":f||void 0,"data-disabled":r.disabled||void 0,"data-hovered":u||void 0,"data-focus-visible":b||void 0,"data-invalid":g||void 0})});class Bo{constructor(o){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=o}get childNodes(){throw Error("childNodes is not supported")}clone(){let o=new this.constructor(this.key);return o.value=this.value,o.level=this.level,o.hasChildNodes=this.hasChildNodes,o.rendered=this.rendered,o.textValue=this.textValue,o["aria-label"]=this["aria-label"],o.index=this.index,o.parentKey=this.parentKey,o.prevKey=this.prevKey,o.nextKey=this.nextKey,o.firstChildKey=this.firstChildKey,o.lastChildKey=this.lastChildKey,o.props=this.props,o.render=this.render,o.colSpan=this.colSpan,o.colIndex=this.colIndex,o}filter(o,r,i){let c=this.clone();return r.addDescendants(c,o),c}}class Wb extends Bo{filter(o,r,i){let[c,u]=J9(o,r,this.firstChildKey,i),f=this.clone();return f.firstChildKey=c,f.lastChildKey=u,f}}class W9 extends Bo{static{this.type="header"}}class Jb extends Bo{static{this.type="loader"}}class su extends Wb{static{this.type="item"}filter(o,r,i){if(i(this.textValue,this)){let c=this.clone();return r.addDescendants(c,o),c}return null}}class e0 extends Wb{static{this.type="section"}filter(o,r,i){let c=super.filter(o,r,i);if(c){if(c.lastChildKey!==null){let u=o.getItem(c.lastChildKey);if(u&&u.type!=="header")return c}}return null}}class t0{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let o=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;while(o)yield o,o=o.nextKey!=null?this.keyMap.get(o.nextKey):void 0}getChildren(o){let r=this.keyMap;return{*[Symbol.iterator](){let i=r.get(o),c=i?.firstChildKey!=null?r.get(i.firstChildKey):null;while(c)yield c,c=c.nextKey!=null?r.get(c.nextKey):void 0}}}getKeyBefore(o){let r=this.keyMap.get(o);if(!r)return null;if(r.prevKey!=null){r=this.keyMap.get(r.prevKey);while(r&&r.type!=="item"&&r.lastChildKey!=null)r=this.keyMap.get(r.lastChildKey);return r?.key??null}return r.parentKey}getKeyAfter(o){let r=this.keyMap.get(o);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;while(r){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let o=this.lastKey!=null?this.keyMap.get(this.lastKey):null;while(o?.lastChildKey!=null)o=this.keyMap.get(o.lastChildKey);return o?.key??null}getItem(o){return this.keyMap.get(o)??null}at(){throw Error("Not implemented")}clone(){let r=new this.constructor;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r.itemCount=this.itemCount,r}addNode(o){if(this.frozen)throw Error("Cannot add a node to a frozen collection");if(o.type==="item"&&this.keyMap.get(o.key)==null)this.itemCount++;this.keyMap.set(o.key,o)}addDescendants(o,r){this.addNode(o);let i=r.getChildren(o.key);for(let c of i)this.addDescendants(c,r)}removeNode(o){if(this.frozen)throw Error("Cannot remove a node to a frozen collection");let r=this.keyMap.get(o);if(r!=null&&r.type==="item")this.itemCount--;this.keyMap.delete(o)}commit(o,r,i=!1){if(this.frozen)throw Error("Cannot commit a frozen collection");this.firstKey=o,this.lastKey=r,this.frozen=!i}filter(o){let r=new this.constructor,[i,c]=J9(this,r,this.firstKey,o);return r?.commit(i,c),r}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function J9(o,r,i,c){if(i==null)return[null,null];let u=null,f=null,b=o.getItem(i);while(b!=null){let m=b.filter(o,r,c);if(m!=null){if(m.nextKey=null,f)m.prevKey=f.key,f.nextKey=m.key;if(u==null)u=m;r.addNode(m),f=m}b=b.nextKey!=null?o.getItem(b.nextKey):null}if(f&&f.type==="separator"){let m=f.prevKey;if(r.removeNode(f.key),m!=null)f=r.getItem(m),f.nextKey=null;else f=null}return[u?.key??null,f?.key??null]}class c1{constructor(o){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=o}*[Symbol.iterator](){let o=this.firstChild;while(o)yield o,o=o.nextSibling}get firstChild(){return this._firstChild}set firstChild(o){this._firstChild=o,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(o){this._lastChild=o,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(o){this._previousSibling=o,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(o){this._nextSibling=o,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(o){this._parentNode=o,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(o){if(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||o.index<this._minInvalidChildIndex.index)this._minInvalidChildIndex=o,this.ownerDocument.markDirty(this)}updateChildIndices(){let o=this._minInvalidChildIndex;while(o)o.index=o.previousSibling?o.previousSibling.index+1:0,o=o.nextSibling;this._minInvalidChildIndex=null}appendChild(o){if(o.parentNode)o.parentNode.removeChild(o);if(this.firstChild==null)this.firstChild=o;if(this.lastChild)this.lastChild.nextSibling=o,o.index=this.lastChild.index+1,o.previousSibling=this.lastChild;else o.previousSibling=null,o.index=0;if(o.parentNode=this,o.nextSibling=null,this.lastChild=o,this.ownerDocument.markDirty(this),this.isConnected)this.ownerDocument.queueUpdate()}insertBefore(o,r){if(r==null)return this.appendChild(o);if(o.parentNode)o.parentNode.removeChild(o);if(o.nextSibling=r,o.previousSibling=r.previousSibling,o.index=r.index-1,this.firstChild===r)this.firstChild=o;else if(r.previousSibling)r.previousSibling.nextSibling=o;if(r.previousSibling=o,o.parentNode=r.parentNode,this.invalidateChildIndices(o),this.isConnected)this.ownerDocument.queueUpdate()}removeChild(o){if(o.parentNode!==this)return;if(this._minInvalidChildIndex===o)this._minInvalidChildIndex=null;if(o.nextSibling)this.invalidateChildIndices(o.nextSibling),o.nextSibling.previousSibling=o.previousSibling;if(o.previousSibling)o.previousSibling.nextSibling=o.nextSibling;if(this.firstChild===o)this.firstChild=o.nextSibling;if(this.lastChild===o)this.lastChild=o.previousSibling;if(o.parentNode=null,o.nextSibling=null,o.previousSibling=null,o.index=0,this.ownerDocument.markDirty(o),this.isConnected)this.ownerDocument.queueUpdate()}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let o=this.previousSibling;while(o&&o.isHidden)o=o.previousSibling;return o}get nextVisibleSibling(){let o=this.nextSibling;while(o&&o.isHidden)o=o.nextSibling;return o}get firstVisibleChild(){let o=this.firstChild;while(o&&o.isHidden)o=o.nextSibling;return o}get lastVisibleChild(){let o=this.lastChild;while(o&&o.isHidden)o=o.previousSibling;return o}}class cu extends c1{constructor(o,r){super(r),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(o){this._index=o,this.ownerDocument.markDirty(this)}get level(){if(this.parentNode instanceof cu)return this.parentNode.level+(this.parentNode.node?.type==="item"?1:0);return 0}getMutableNode(){if(this.node==null)return null;if(!this.isMutated)this.node=this.node.clone(),this.isMutated=!0;return this.ownerDocument.markDirty(this),this.node}updateNode(){let o=this.nextVisibleSibling,r=this.getMutableNode();if(r==null)return;if(r.index=this.index,r.level=this.level,r.parentKey=this.parentNode instanceof cu?this.parentNode.node?.key??null:null,r.prevKey=this.previousVisibleSibling?.node?.key??null,r.nextKey=o?.node?.key??null,r.hasChildNodes=!!this.firstChild,r.firstChildKey=this.firstVisibleChild?.node?.key??null,r.lastChildKey=this.lastVisibleChild?.node?.key??null,(r.colSpan!=null||r.colIndex!=null)&&o){let i=(r.colIndex??r.index)+(r.colSpan??1);if(o.node!=null&&i!==o.node.colIndex){let c=o.getMutableNode();c.colIndex=i}}}setProps(o,r,i,c,u){let f,{value:b,textValue:m,id:g,...x}=o;if(this.node==null)f=new i(g??`react-aria-${++this.ownerDocument.nodeId}`),this.node=f;else f=this.getMutableNode();if(x.ref=r,f.props=x,f.rendered=c,f.render=u,f.value=b,o["aria-label"])f["aria-label"]=o["aria-label"];if(f.textValue=m||(typeof x.children==="string"?x.children:"")||o["aria-label"]||"",g!=null&&g!==f.key)throw Error("Cannot change the id of an item");if(x.colSpan!=null)f.colSpan=x.colSpan;if(this.isConnected)this.ownerDocument.queueUpdate()}get style(){let o=this;return{get display(){return o.isHidden?"none":""},set display(r){let i=r==="none";if(o.isHidden!==i){if(o.parentNode?.firstVisibleChild===o||o.parentNode?.lastVisibleChild===o)o.ownerDocument.markDirty(o.parentNode);let{previousVisibleSibling:c,nextVisibleSibling:u}=o;if(c)o.ownerDocument.markDirty(c);if(u)o.ownerDocument.markDirty(u);o.isHidden=i,o.ownerDocument.markDirty(o)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}}class u1 extends c1{constructor(o){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=o,this.nextCollection=o}get isConnected(){return!0}createElement(o){return new cu(o,this)}getMutableCollection(){if(!this.nextCollection)this.nextCollection=this.collection.clone();return this.nextCollection}markDirty(o){this.dirtyNodes.add(o)}addNode(o){if(o.isHidden||o.node==null)return;let r=this.getMutableCollection();if(!r.getItem(o.node.key))for(let i of o)this.addNode(i);r.addNode(o.node)}removeNode(o){for(let r of o)this.removeNode(r);if(o.node)this.getMutableCollection().removeNode(o.node.key)}getCollection(){if(this.inSubscription)return this.collection;return this.queuedRender=!1,this.updateCollection(),this.collection}updateCollection(){for(let o of this.dirtyNodes)if(o instanceof cu&&(!o.isConnected||o.isHidden))this.removeNode(o);else o.updateChildIndices();for(let o of this.dirtyNodes)if(o instanceof cu){if(o.isConnected&&!o.isHidden)o.updateNode(),this.addNode(o);if(o.node)this.dirtyNodes.delete(o);o.isMutated=!1}else this.dirtyNodes.delete(o);if(this.nextCollection){if(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),!this.isSSR)this.collection=this.nextCollection,this.nextCollection=null}}queueUpdate(){if(this.dirtyNodes.size===0||this.queuedRender)return;if(this.queuedRender=!0,this.inSubscription=!0,!this.isSSR)this.collection=this.collection.clone();for(let o of this.subscriptions)o();this.inSubscription=!1}subscribe(o){return this.subscriptions.add(o),()=>this.subscriptions.delete(o)}resetAfterSSR(){if(this.isSSR)this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0}}var uu=F(J(),1);function Sf(o){let{children:r,items:i,idScope:c,addIdAndValue:u,dependencies:f=[]}=o,b=uu.useMemo(()=>typeof r==="function"?r.toString():void 0,[r]),m=uu.useMemo(()=>new WeakMap,[...f,b]);return uu.useMemo(()=>{if(i&&typeof r==="function"){let g=[];for(let x of i){let v=iM(x)?x:null,h=v?m.get(v):null;if(!h){h=r(x);let T=h.props.id??x?.key??x?.id;if(c!=null&&h.props.id==null&&T!=null)T=c+":"+T;let R=T??g.length;if(h=uu.cloneElement(h,u?{key:R,id:T,value:x}:{key:R}),v)m.set(v,h)}g.push(h)}return g}else if(typeof r!=="function")return r},[r,i,m,c,u])}function iM(o){switch(typeof o){case"object":return o!=null;case"function":case"symbol":return!0;default:return!1}}var tC=F(sr(),1),je=F(J(),1),aC=F(d1(),1),oC=je.createContext(!1),Cf=je.createContext(null);function Ps(o){if(je.useContext(Cf))return o.content;let{collection:i,document:c}=fM(o.createCollection);return je.default.createElement(je.default.Fragment,null,je.default.createElement(A9,null,je.default.createElement(Cf.Provider,{value:c},o.content)),je.default.createElement(cM,{render:o.children,collection:i}))}function cM({collection:o,render:r}){return r(o)}function uM(o,r,i){let c=Xa(),u=je.useRef(c);u.current=c;let f=je.useCallback(()=>u.current?i():r(),[r,i]);return aC.useSyncExternalStore(o,f)}var dM=typeof je.default.useSyncExternalStore==="function"?je.default.useSyncExternalStore:uM;function fM(o){let[r]=je.useState(()=>new u1(o?.()||new t0)),i=je.useCallback((b)=>r.subscribe(b),[r]),c=je.useCallback(()=>{let b=r.getCollection();if(r.isSSR)r.resetAfterSSR();return b},[r]),u=je.useCallback(()=>(r.isSSR=!0,r.getCollection()),[r]);return{collection:dM(i,c,u),document:r}}var f1=je.createContext(null);function pM(o){return class extends Bo{static{this.type=o}}}function mM(o,r,i,c,u,f){if(typeof o==="string")o=pM(o);let b=je.useCallback((g)=>{g?.setProps(r,i,o,c,f)},[r,i,c,f,o]),m=je.useContext(f1);if(m){let g=m.ownerDocument.nodesByProps.get(r);if(!g)g=m.ownerDocument.createElement(o.type),g.setProps(r,i,o,c,f),m.appendChild(g),m.ownerDocument.updateCollection(),m.ownerDocument.nodesByProps.set(r,g);return u?je.default.createElement(f1.Provider,{value:g},u):null}return je.default.createElement(o.type,{ref:b},u)}function hr(o,r){let i=({node:u})=>r(u.props,u.props.ref,u),c=je.forwardRef((u,f)=>{let b=je.useContext(zb);if(!je.useContext(oC)){if(r.length>=3)throw Error(r.name+" cannot be rendered outside a collection.");return r(u,f)}return mM(o,u,f,"children"in u?u.children:null,null,(g)=>je.default.createElement(zb.Provider,{value:b},je.default.createElement(i,{node:g})))});return c.displayName=r.name,c}function bM(o){return Sf({...o,addIdAndValue:!0})}var eC=je.createContext(null);function Ef(o){let r=je.useContext(eC),i=(r?.dependencies||[]).concat(o.dependencies),c=o.idScope??r?.idScope,u=bM({...o,idScope:c,dependencies:i});if(je.useContext(Cf))u=je.default.createElement(gM,null,u);return r=je.useMemo(()=>({dependencies:i,idScope:c}),[c,...i]),je.default.createElement(eC.Provider,{value:r},u)}function gM({children:o}){let r=je.useContext(Cf),i=je.useMemo(()=>je.default.createElement(Cf.Provider,{value:null},je.default.createElement(oC.Provider,{value:!0},o)),[o]);return Xa()?je.default.createElement(f1.Provider,{value:r},i):tC.createPortal(i,r)}var Wa=F(J(),1);var p1=Wa.createContext(null);var m1={CollectionRoot({collection:o,renderDropIndicator:r}){return rC(o,null,r)},CollectionBranch({collection:o,parent:r,renderDropIndicator:i}){return rC(o,r,i)}};function rC(o,r,i){return Sf({items:r?o.getChildren(r.key):o,dependencies:[i],children(c){if(c.type==="content")return Wa.default.createElement(Wa.default.Fragment,null);let u=c.render(c);if(!i||c.type!=="item")return u;return Wa.default.createElement(Wa.default.Fragment,null,i({type:"item",key:c.key,dropPosition:"before"}),u,hM(o,c,i))}})}function hM(o,r,i){let c=r.key,u=o.getKeyAfter(c),f=u!=null?o.getItem(u):null;while(f!=null&&f.type!=="item")u=o.getKeyAfter(f.key),f=u!=null?o.getItem(u):null;let b=r.nextKey!=null?o.getItem(r.nextKey):null;while(b!=null&&b.type!=="item")b=b.nextKey!=null?o.getItem(b.nextKey):null;let m=[];if(b==null){let g=r;while(g?.type==="item"&&(!f||g.parentKey!==f.parentKey&&f.level<g.level)){let x=i({type:"item",key:g.key,dropPosition:"after"});if(Wa.isValidElement(x))m.push(Wa.cloneElement(x,{key:`${g.key}-after`}));g=g.parentKey!=null?o.getItem(g.parentKey):null}}return m}var ol=Wa.createContext(m1);function b1(o){return Wa.useMemo(()=>o!=null?new Set([o]):null,[o])}var Ja=F(J(),1),Tf=Ja.createContext({}),g1=Ja.createContext(null),$M=Ja.forwardRef(function(r,i){let{render:c}=Ja.useContext(g1);return Ja.default.createElement(Ja.default.Fragment,null,c(r,i))});function h1(o,r){let i=o?.renderDropIndicator,c=o?.isVirtualDragging?.(),u=Ja.useCallback((f)=>{if(c||r?.isDropTarget(f))return i?i(f):Ja.default.createElement($M,{target:f})},[r?.target,c,i]);return o?.useDropIndicator?u:void 0}function lC(o,r,i){let c=o.focusedKey,u=null;if(r?.isVirtualDragging?.()&&i?.target?.type==="item"){if(u=i.target.key,i.target.dropPosition==="after"){let f=i.collection.getKeyAfter(u),b=null;if(f!=null){let m=i.collection.getItem(u)?.level??0;while(f!=null){let g=i.collection.getItem(f);if(!g)break;if(g.type!=="item"){f=i.collection.getKeyAfter(f);continue}if((g.level??0)<=m)break;b=f,f=i.collection.getKeyAfter(f)}}u=f??b??u}}return Ja.useMemo(()=>new Set([c,u].filter((f)=>f!=null)),[c,u])}var $1=F(J(),1),iC=$1.createContext({});var yM=F(sr(),1),nl=F(J(),1);var vM=nl.createContext(null);function a0(o){let r=nl.useRef({});return nl.default.createElement(vM.Provider,{value:r},o.children)}var o0=F(J(),1),du=o0.createContext({isSelected:!1});function y1(o){let r=_e(o,{labelable:!0}),i;if(o.orientation==="vertical")i="vertical";if(o.elementType!=="hr")return{separatorProps:{...r,role:"separator","aria-orientation":i}};return{separatorProps:r}}var n0=F(J(),1),r0=n0.createContext({});class sC extends Bo{static{this.type="separator"}filter(o,r){let i=r.getItem(this.prevKey);if(i&&i.type!=="separator"){let c=this.clone();return r.addDescendants(c,o),c}return null}}var v1=hr(sC,function(r,i){[r,i]=bt(r,i,r0);let{elementType:c,orientation:u,style:f,className:b,slot:m,...g}=r,x=c||"hr";if(x==="hr"&&u==="vertical")x="div";let v=qe[x],{separatorProps:h}=y1({...g,elementType:c,orientation:u}),T=_e(r,{global:!0});return n0.default.createElement(v,{render:r.render,...be(T,h),style:f,className:b??"react-aria-Separator",ref:i,slot:m||void 0})});var Rf=new WeakMap;function xM(o){if(typeof o==="string")return o.replace(/\s*/g,"");return""+o}function cC(o,r){let i=Rf.get(o);if(!i)throw Error("Unknown list");return`${i.id}-option-${xM(r)}`}class uC{constructor(o,r,i,c){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=(f)=>{if(f.nodeType===Node.ELEMENT_NODE){let b=f.shadowRoot;if(b){let m=this._doc.createTreeWalker(b,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(m),NodeFilter.FILTER_ACCEPT}else if(typeof this.filter==="function")return this.filter(f);else if(this.filter?.acceptNode)return this.filter.acceptNode(f);else if(this.filter===null)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=o,this.root=r,this.filter=c??null,this.whatToShow=i??NodeFilter.SHOW_ALL,this._currentNode=r,this._walkerStack.unshift(o.createTreeWalker(r,i,this._acceptNode));let u=r.shadowRoot;if(u){let f=this._doc.createTreeWalker(u,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(f)}}get currentNode(){return this._currentNode}set currentNode(o){if(!Ve(this.root,o))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let r=[],i=o,c=o;this._currentNode=o;while(i&&i!==this.root)if(i.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let f=i,b=this._doc.createTreeWalker(f,this.whatToShow,{acceptNode:this._acceptNode});r.push(b),b.currentNode=c,this._currentSetFor.add(b),i=c=f.host}else i=i.parentNode;let u=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});r.push(u),u.currentNode=c,this._currentSetFor.add(u),this._walkerStack=r}get doc(){return this._doc}firstChild(){let o=this.currentNode,r=this.nextNode();if(!Ve(o,r))return this.currentNode=o,null;if(r)this.currentNode=r;return r}lastChild(){let r=this._walkerStack[0].lastChild();if(r)this.currentNode=r;return r}nextNode(){let o=this._walkerStack[0].nextNode();if(o){if(o.shadowRoot){let i;if(typeof this.filter==="function")i=this.filter(o);else if(this.filter?.acceptNode)i=this.filter.acceptNode(o);if(i===NodeFilter.FILTER_ACCEPT)return this.currentNode=o,o;let c=this.nextNode();if(c)this.currentNode=c;return c}if(o)this.currentNode=o;return o}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.nextNode();if(r)this.currentNode=r;return r}else return null}previousNode(){let o=this._walkerStack[0];if(o.currentNode===o.root){if(this._currentSetFor.has(o))if(this._currentSetFor.delete(o),this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();if(i)this.currentNode=i;return i}else return null;return null}let r=o.previousNode();if(r){if(r.shadowRoot){let c;if(typeof this.filter==="function")c=this.filter(r);else if(this.filter?.acceptNode)c=this.filter.acceptNode(r);if(c===NodeFilter.FILTER_ACCEPT){if(r)this.currentNode=r;return r}let u=this.lastChild();if(u)this.currentNode=u;return u}if(r)this.currentNode=r;return r}else if(this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();if(i)this.currentNode=i;return i}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function l0(o,r,i,c){if(ko())return new uC(o,r,i,c);return o.createTreeWalker(r,i,c)}var qt=F(J(),1),dC=qt.default.createContext(null),x1="react-aria-focus-scope-restore",kt=null;function Df(o){let{children:r,contain:i,restoreFocus:c,autoFocus:u}=o,f=qt.useRef(null),b=qt.useRef(null),m=qt.useRef([]),{parentNode:g}=qt.useContext(dC)||{},x=qt.useMemo(()=>new s0({scopeRef:m}),[m]);Le(()=>{let T=g||la.root;if(la.getTreeNode(T.scopeRef)&&kt&&!i0(kt,T.scopeRef)){let R=la.getTreeNode(kt);if(R)T=R}T.addChild(x),la.addNode(x)},[x,g]),Le(()=>{let T=la.getTreeNode(m);if(T)T.contain=!!i},[i]),Le(()=>{let T=f.current?.nextSibling,R=[],w=(L)=>L.stopPropagation();while(T&&T!==b.current)R.push(T),T.addEventListener(x1,w),T=T.nextSibling;return m.current=R,()=>{for(let L of R)L.removeEventListener(x1,w)}},[r]),wM(m,c,i),TM(m,i),DM(m,c,i),RM(m,u),qt.useEffect(()=>{let T=tt(Ke(m.current?m.current[0]:void 0)),R=null;if(sn(T,m.current)){for(let w of la.traverse())if(w.scopeRef&&sn(T,w.scopeRef.current))R=w;if(R===la.getTreeNode(m))kt=R.scopeRef}},[m]),Le(()=>()=>{let T=la.getTreeNode(m)?.parent?.scopeRef??null;if((m===kt||i0(m,kt))&&(!T||la.getTreeNode(T)))kt=T;la.removeTreeNode(m)},[m]);let v=qt.useMemo(()=>SM(m),[]),h=qt.useMemo(()=>({focusManager:v,parentNode:x}),[x,v]);return qt.default.createElement(dC.Provider,{value:h},qt.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:f}),r,qt.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:b}))}function SM(o){return{focusNext(r={}){let i=o.current,{from:c,tabbable:u,wrap:f,accept:b}=r,m=c||tt(Ke(i[0]??void 0)),g=i[0].previousElementSibling,x=Ms(i),v=ln(x,{tabbable:u,accept:b},i);v.currentNode=sn(m,i)?m:g;let h=v.nextNode();if(!h&&f)v.currentNode=g,h=v.nextNode();if(h)rl(h,!0);return h},focusPrevious(r={}){let i=o.current,{from:c,tabbable:u,wrap:f,accept:b}=r,m=c||tt(Ke(i[0]??void 0)),g=i[i.length-1].nextElementSibling,x=Ms(i),v=ln(x,{tabbable:u,accept:b},i);v.currentNode=sn(m,i)?m:g;let h=v.previousNode();if(!h&&f)v.currentNode=g,h=v.previousNode();if(h)rl(h,!0);return h},focusFirst(r={}){let i=o.current,{tabbable:c,accept:u}=r,f=Ms(i),b=ln(f,{tabbable:c,accept:u},i);b.currentNode=i[0].previousElementSibling;let m=b.nextNode();if(m)rl(m,!0);return m},focusLast(r={}){let i=o.current,{tabbable:c,accept:u}=r,f=Ms(i),b=ln(f,{tabbable:c,accept:u},i);b.currentNode=i[i.length-1].nextElementSibling;let m=b.previousNode();if(m)rl(m,!0);return m}}}function Ms(o){return o[0].parentElement}function wf(o){let r=la.getTreeNode(kt);while(r&&r.scopeRef!==o){if(r.contain)return!1;r=r.parent}return!0}function CM(o){if(!o.form)return Array.from(Ke(o).querySelectorAll(`input[type="radio"][name="${CSS.escape(o.name)}"]`)).filter((c)=>!c.form);let r=o.form.elements.namedItem(o.name),i=Kt(o);if(r instanceof i.RadioNodeList)return Array.from(r).filter((c)=>c instanceof i.HTMLInputElement);if(r instanceof i.HTMLInputElement)return[r];return[]}function EM(o){if(o.checked)return!0;let r=CM(o);return r.length>0&&!r.some((i)=>i.checked)}function TM(o,r){let i=qt.useRef(void 0),c=qt.useRef(void 0);Le(()=>{let u=o.current;if(!r){if(c.current)cancelAnimationFrame(c.current),c.current=void 0;return}let f=Ke(u?u[0]:void 0),b=(x)=>{if(x.key!=="Tab"||x.altKey||x.ctrlKey||x.metaKey||!wf(o)||x.isComposing)return;let v=tt(f),h=o.current;if(!h||!sn(v,h))return;let T=Ms(h),R=ln(T,{tabbable:!0},h);if(!v)return;R.currentNode=v;let w=x.shiftKey?R.previousNode():R.nextNode();if(!w)R.currentNode=x.shiftKey?h[h.length-1].nextElementSibling:h[0].previousElementSibling,w=x.shiftKey?R.previousNode():R.nextNode();if(x.preventDefault(),w){if(rl(w,!0),w instanceof Kt(w).HTMLInputElement)w.select()}},m=(x)=>{if((!kt||i0(kt,o))&&sn(ce(x),o.current))kt=o,i.current=ce(x);else if(wf(o)&&!pi(ce(x),o)){if(i.current)i.current.focus();else if(kt&&kt.current)S1(kt.current)}else if(wf(o))i.current=ce(x)},g=(x)=>{if(c.current)cancelAnimationFrame(c.current);c.current=requestAnimationFrame(()=>{let v=mr(),h=(v==="virtual"||v===null)&&uf()&&zy(),T=tt(f);if(!h&&T&&wf(o)&&!pi(T,o)){kt=o;let R=ce(x);if(R&&R.isConnected)i.current=R,i.current?.focus();else if(kt.current)S1(kt.current)}})};return f.addEventListener("keydown",b,!1),f.addEventListener("focusin",m,!1),u?.forEach((x)=>x.addEventListener("focusin",m,!1)),u?.forEach((x)=>x.addEventListener("focusout",g,!1)),()=>{f.removeEventListener("keydown",b,!1),f.removeEventListener("focusin",m,!1),u?.forEach((x)=>x.removeEventListener("focusin",m,!1)),u?.forEach((x)=>x.removeEventListener("focusout",g,!1))}},[o,r]),Le(()=>()=>{if(c.current)cancelAnimationFrame(c.current)},[c])}function mC(o){return pi(o)}function sn(o,r){if(!o)return!1;if(!r)return!1;return r.some((i)=>Ve(i,o))}function pi(o,r=null){if(o instanceof Element&&o.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:i}of la.traverse(la.getTreeNode(r)))if(i&&sn(o,i.current))return!0;return!1}function bC(o){return pi(o,kt)}function i0(o,r){let i=la.getTreeNode(r)?.parent;while(i){if(i.scopeRef===o)return!0;i=i.parent}return!1}function rl(o,r=!1){if(o!=null&&!r)try{Za(o)}catch{}else if(o!=null)try{o.focus()}catch{}}function gC(o,r=!0){let i=o[0].previousElementSibling,c=Ms(o),u=ln(c,{tabbable:r},o);u.currentNode=i;let f=u.nextNode();if(r&&!f)c=Ms(o),u=ln(c,{tabbable:!1},o),u.currentNode=i,f=u.nextNode();return f}function S1(o,r=!0){rl(gC(o,r))}function RM(o,r){let i=qt.default.useRef(r);qt.useEffect(()=>{if(i.current){kt=o;let c=Ke(o.current?o.current[0]:void 0);if(!sn(tt(c),kt.current)&&o.current)S1(o.current)}i.current=!1},[o])}function wM(o,r,i){Le(()=>{if(r||i)return;let c=o.current,u=Ke(c?c[0]:void 0),f=(b)=>{let m=ce(b);if(sn(m,o.current))kt=o;else if(!mC(m))kt=null};return u.addEventListener("focusin",f,!1),c?.forEach((b)=>b.addEventListener("focusin",f,!1)),()=>{u.removeEventListener("focusin",f,!1),c?.forEach((b)=>b.removeEventListener("focusin",f,!1))}},[o,r,i])}function fC(o){let r=la.getTreeNode(kt);while(r&&r.scopeRef!==o){if(r.nodeToRestore)return!1;r=r.parent}return r?.scopeRef===o}function DM(o,r,i){let c=qt.useRef(typeof document<"u"?tt(Ke(o.current?o.current[0]:void 0)):null);Le(()=>{let u=o.current,f=Ke(u?u[0]:void 0);if(!r||i)return;let b=()=>{if((!kt||i0(kt,o))&&sn(tt(f),o.current))kt=o};return f.addEventListener("focusin",b,!1),u?.forEach((m)=>m.addEventListener("focusin",b,!1)),()=>{f.removeEventListener("focusin",b,!1),u?.forEach((m)=>m.removeEventListener("focusin",b,!1))}},[o,i]),Le(()=>{let u=Ke(o.current?o.current[0]:void 0);if(!r)return;let f=(b)=>{if(b.key!=="Tab"||b.altKey||b.ctrlKey||b.metaKey||!wf(o)||b.isComposing)return;let m=u.activeElement;if(!pi(m,o)||!fC(o))return;let g=la.getTreeNode(o);if(!g)return;let x=g.nodeToRestore,v=ln(u.body,{tabbable:!0});v.currentNode=m;let h=b.shiftKey?v.previousNode():v.nextNode();if(!x||!x.isConnected||x===u.body)x=void 0,g.nodeToRestore=void 0;if((!h||!pi(h,o))&&x){v.currentNode=x;do h=b.shiftKey?v.previousNode():v.nextNode();while(pi(h,o));if(b.preventDefault(),b.stopPropagation(),h)rl(h,!0);else if(!mC(x))m.blur();else rl(x,!0)}};if(!i)u.addEventListener("keydown",f,!0);return()=>{if(!i)u.removeEventListener("keydown",f,!0)}},[o,r,i]),Le(()=>{let u=Ke(o.current?o.current[0]:void 0);if(!r)return;let f=la.getTreeNode(o);if(!f)return;return f.nodeToRestore=c.current??void 0,()=>{let b=la.getTreeNode(o);if(!b)return;let m=b.nodeToRestore,g=tt(u);if(r&&m&&(g&&pi(g,o)||g===u.body&&fC(o))){let x=la.clone();requestAnimationFrame(()=>{if(u.activeElement===u.body){let v=x.getTreeNode(o);while(v){if(v.nodeToRestore&&v.nodeToRestore.isConnected){pC(v.nodeToRestore);return}v=v.parent}v=x.getTreeNode(o);while(v){if(v.scopeRef&&v.scopeRef.current&&la.getTreeNode(v.scopeRef)){let h=gC(v.scopeRef.current,!0);pC(h);return}v=v.parent}}})}}},[o,r])}function pC(o){if(o.dispatchEvent(new CustomEvent(x1,{bubbles:!0,cancelable:!0})))rl(o)}function ln(o,r,i){let c=r?.tabbable?hb:gb,u=o?.nodeType===Node.ELEMENT_NODE?o:null,f=Ke(u),b=l0(f,o||f,NodeFilter.SHOW_ELEMENT,{acceptNode(m){if(Ve(r?.from,m))return NodeFilter.FILTER_REJECT;if(r?.tabbable&&m.tagName==="INPUT"&&m.getAttribute("type")==="radio"){if(!EM(m))return NodeFilter.FILTER_REJECT;if(b.currentNode.tagName==="INPUT"&&b.currentNode.type==="radio"&&b.currentNode.name===m.name)return NodeFilter.FILTER_REJECT}if(c(m)&&(!i||sn(m,i))&&(!r?.accept||r.accept(m)))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}});if(r?.from)b.currentNode=r.from;return b}class C1{constructor(){this.fastMap=new Map,this.root=new s0({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(o){return this.fastMap.get(o)}addTreeNode(o,r,i){let c=this.fastMap.get(r??null);if(!c)return;let u=new s0({scopeRef:o});if(c.addChild(u),u.parent=c,this.fastMap.set(o,u),i)u.nodeToRestore=i}addNode(o){this.fastMap.set(o.scopeRef,o)}removeTreeNode(o){if(o===null)return;let r=this.fastMap.get(o);if(!r)return;let i=r.parent;for(let u of this.traverse())if(u!==r&&r.nodeToRestore&&u.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&sn(u.nodeToRestore,r.scopeRef.current))u.nodeToRestore=r.nodeToRestore;let c=r.children;if(i){if(i.removeChild(r),c.size>0)c.forEach((u)=>i&&i.addChild(u))}this.fastMap.delete(r.scopeRef)}*traverse(o=this.root){if(o.scopeRef!=null)yield o;if(o.children.size>0)for(let r of o.children)yield*this.traverse(r)}clone(){let o=new C1;for(let r of this.traverse())o.addTreeNode(r.scopeRef,r.parent?.scopeRef??null,r.nodeToRestore);return o}}class s0{constructor(o){this.children=new Set,this.contain=!1,this.scopeRef=o.scopeRef}addChild(o){this.children.add(o),o.parent=this}removeChild(o){this.children.delete(o),o.parent=void 0}}var la=new C1;function Af(o){return i9()?o.altKey:o.ctrlKey}function fu(o,r){let i=`[data-key="${CSS.escape(String(r))}"]`,c=o.current?.dataset.collection;if(c)i=`[data-collection="${CSS.escape(c)}"]${i}`;return o.current?.querySelector(i)}var hC=new WeakMap;function $C(o){let r=vt();return hC.set(o,r),r}function yC(o){return hC.get(o)}var vC=F(J(),1),AM=1000;function c0(o){let{keyboardDelegate:r,selectionManager:i,onTypeSelect:c}=o,u=vC.useRef({search:"",timeout:void 0}).current,f=(b)=>{let m=PM(b.key);if(!m||b.ctrlKey||b.metaKey||!Ve(b.currentTarget,ce(b))||u.search.length===0&&m===" ")return;if(m===" "&&u.search.trim().length>0){if(b.preventDefault(),!("continuePropagation"in b))b.stopPropagation()}if(u.search+=m,r.getKeyForSearch!=null){let g=r.getKeyForSearch(u.search,i.focusedKey);if(g==null)g=r.getKeyForSearch(u.search);if(g!=null){if(i.setFocusedKey(g),c)c(g)}}clearTimeout(u.timeout),u.timeout=setTimeout(()=>{u.search=""},AM)};return{typeSelectProps:{onKeyDownCapture:r.getKeyForSearch?f:void 0}}}function PM(o){if(o.length===1||!/^[A-Z]/i.test(o))return o;return""}var E1=F(J(),1);function T1(o,r){let i=E1.useRef(!0),c=E1.useRef(null);Le(()=>(i.current=!0,()=>{i.current=!1}),[]),Le(()=>{if(i.current)i.current=!1;else if(!c.current||r.some((u,f)=>!Object.is(u,c[f])))o();c.current=r},r)}var xC=F(sr(),1),Dn=F(J(),1);function u0(o){let{selectionManager:r,keyboardDelegate:i,ref:c,autoFocus:u=!1,shouldFocusWrap:f=!1,disallowEmptySelection:b=!1,disallowSelectAll:m=!1,escapeKeyBehavior:g="clearSelection",selectOnFocus:x=r.selectionBehavior==="replace",disallowTypeAhead:v=!1,shouldUseVirtualFocus:h,allowsTabNavigation:T=!1,scrollRef:R=c,linkBehavior:w="action"}=o,{direction:L}=Pa(),M=hs(),H=(O)=>{if(O.altKey&&O.key==="Tab")O.preventDefault();if(!c.current||!Ve(c.current,ce(O)))return;let z=(K,V)=>{if(K!=null){if(r.isLink(K)&&w==="selection"&&x&&!Af(O)){xC.flushSync(()=>{r.setFocusedKey(K,V)});let le=fu(c,K),Q=r.getItemProps(K);if(le)M.open(le,O,Q.href,Q.routerOptions);return}if(r.setFocusedKey(K,V),r.isLink(K)&&w==="override")return;if(O.shiftKey&&r.selectionMode==="multiple")r.extendSelection(K);else if(x&&!Af(O))r.replaceSelection(K)}};switch(O.key){case"ArrowDown":if(i.getKeyBelow){let K=r.focusedKey!=null?i.getKeyBelow?.(r.focusedKey):i.getFirstKey?.();if(K==null&&f)K=i.getFirstKey?.(r.focusedKey);if(K!=null)O.preventDefault(),z(K)}break;case"ArrowUp":if(i.getKeyAbove){let K=r.focusedKey!=null?i.getKeyAbove?.(r.focusedKey):i.getLastKey?.();if(K==null&&f)K=i.getLastKey?.(r.focusedKey);if(K!=null)O.preventDefault(),z(K)}break;case"ArrowLeft":if(i.getKeyLeftOf){let K=r.focusedKey!=null?i.getKeyLeftOf?.(r.focusedKey):i.getFirstKey?.();if(K==null&&f)K=L==="rtl"?i.getFirstKey?.(r.focusedKey):i.getLastKey?.(r.focusedKey);if(K!=null)O.preventDefault(),z(K,L==="rtl"?"first":"last")}break;case"ArrowRight":if(i.getKeyRightOf){let K=r.focusedKey!=null?i.getKeyRightOf?.(r.focusedKey):i.getFirstKey?.();if(K==null&&f)K=L==="rtl"?i.getLastKey?.(r.focusedKey):i.getFirstKey?.(r.focusedKey);if(K!=null)O.preventDefault(),z(K,L==="rtl"?"last":"first")}break;case"Home":if(i.getFirstKey){if(r.focusedKey===null&&O.shiftKey)return;O.preventDefault();let K=i.getFirstKey(r.focusedKey,oi(O));if(r.setFocusedKey(K),K!=null){if(oi(O)&&O.shiftKey&&r.selectionMode==="multiple")r.extendSelection(K);else if(x)r.replaceSelection(K)}}break;case"End":if(i.getLastKey){if(r.focusedKey===null&&O.shiftKey)return;O.preventDefault();let K=i.getLastKey(r.focusedKey,oi(O));if(r.setFocusedKey(K),K!=null){if(oi(O)&&O.shiftKey&&r.selectionMode==="multiple")r.extendSelection(K);else if(x)r.replaceSelection(K)}}break;case"PageDown":if(i.getKeyPageBelow&&r.focusedKey!=null){let K=i.getKeyPageBelow(r.focusedKey);if(K!=null)O.preventDefault(),z(K)}break;case"PageUp":if(i.getKeyPageAbove&&r.focusedKey!=null){let K=i.getKeyPageAbove(r.focusedKey);if(K!=null)O.preventDefault(),z(K)}break;case"a":if(oi(O)&&r.selectionMode==="multiple"&&m!==!0)O.preventDefault(),r.selectAll();break;case"Escape":if(g==="clearSelection"&&!b&&r.selectedKeys.size!==0)O.stopPropagation(),O.preventDefault(),r.clearSelection();break;case"Tab":if(!T){if(O.shiftKey)c.current.focus();else{let K=ln(c.current,{tabbable:!0}),V=void 0,le;do if(le=K.lastChild(),le)V=le;while(le);let Q=tt();if(V&&(!pr(V)||Q&&!hb(Q)))Sa(V)}break}}},I=Dn.useRef({top:0,left:0});xs(R,"scroll",()=>{I.current={top:R.current?.scrollTop??0,left:R.current?.scrollLeft??0}});let X=(O)=>{if(r.isFocused){if(!Ve(O.currentTarget,ce(O)))r.setFocused(!1);return}if(!Ve(O.currentTarget,ce(O)))return;if(r.setFocused(!0),r.focusedKey==null){let z=(V)=>{if(V!=null){if(r.setFocusedKey(V),x&&!r.isSelected(V))r.replaceSelection(V)}},K=O.relatedTarget;if(K&&O.currentTarget.compareDocumentPosition(K)&Node.DOCUMENT_POSITION_FOLLOWING)z(r.lastSelectedKey??i.getLastKey?.());else z(r.firstSelectedKey??i.getFirstKey?.())}else if(R.current)R.current.scrollTop=I.current.top,R.current.scrollLeft=I.current.left;if(r.focusedKey!=null&&R.current){let z=fu(c,r.focusedKey);if(z instanceof HTMLElement){if(!pr(z)&&!h)Sa(z);if(mr()==="keyboard")a1(z,{containingElement:c.current})}}},Z=(O)=>{if(!Ve(O.currentTarget,O.relatedTarget))r.setFocused(!1)},ge=Dn.useRef(!1);xs(c,o9,!h?void 0:(O)=>{let{detail:z}=O;if(O.stopPropagation(),r.setFocused(!0),z?.focusStrategy==="first")ge.current=!0}),T1(()=>{if(ge.current){let O=i.getFirstKey?.()??null;if(O==null){let z=tt();if(pb(c.current),Ny(z,null),r.collection.size>0)ge.current=!1}else r.setFocusedKey(O),ge.current=!1}},[r.collection]),T1(()=>{if(r.collection.size>0)ge.current=!1},[r.focusedKey]),xs(c,a9,!h?void 0:(O)=>{if(O.stopPropagation(),r.setFocused(!1),O.detail?.clearFocusKey)r.setFocusedKey(null)});let he=Dn.useRef(u),ae=Dn.useRef(!1);Dn.useEffect(()=>{if(he.current){let O=null;if(u==="first")O=i.getFirstKey?.()??null;if(u==="last")O=i.getLastKey?.()??null;let z=r.selectedKeys;if(z.size){for(let K of z)if(r.canSelectItem(K)){O=K;break}}if(r.setFocused(!0),r.setFocusedKey(O),O==null&&!h&&c.current)Za(c.current);if(r.collection.size>0)he.current=!1,ae.current=!0}});let U=Dn.useRef(r.focusedKey),te=Dn.useRef(null);Dn.useEffect(()=>{if(r.isFocused&&r.focusedKey!=null&&(r.focusedKey!==U.current||ae.current)&&R.current&&c.current){let O=mr(),z=fu(c,r.focusedKey);if(!(z instanceof HTMLElement))return;if(O==="keyboard"||ae.current){if(te.current)cancelAnimationFrame(te.current);te.current=requestAnimationFrame(()=>{if(R.current){if(vf(R.current,z),O!=="virtual")a1(z,{containingElement:c.current})}})}}if(!h&&r.isFocused&&r.focusedKey==null&&U.current!=null&&c.current)Za(c.current);U.current=r.focusedKey,ae.current=!1}),Dn.useEffect(()=>()=>{if(te.current)cancelAnimationFrame(te.current)},[]),xs(c,"react-aria-focus-scope-restore",(O)=>{O.preventDefault(),r.setFocused(!0)});let j={onKeyDown:H,onFocus:X,onBlur:Z,onMouseDown(O){if(R.current===ce(O))O.preventDefault()}},{typeSelectProps:ye}=c0({keyboardDelegate:i,selectionManager:r});if(!v)j=be(ye,j);let de=void 0;if(!h)de=r.focusedKey==null?0:-1;let re=$C(r.collection);return{collectionProps:be(j,{tabIndex:de,"data-collection":re})}}class d0{constructor(o){this.ref=o}getItemRect(o){let r=this.ref.current;if(!r)return null;let i=o!=null?fu(this.ref,o):null;if(!i)return null;let c=r.getBoundingClientRect(),u=i.getBoundingClientRect();return{x:u.left-c.left-r.clientLeft+r.scrollLeft,y:u.top-c.top-r.clientTop+r.scrollTop,width:u.width,height:u.height}}getContentSize(){let o=this.ref.current;return{width:o?.scrollWidth??0,height:o?.scrollHeight??0}}getVisibleRect(){let o=this.ref.current;return{x:o?.scrollLeft??0,y:o?.scrollTop??0,width:o?.clientWidth??0,height:o?.clientHeight??0}}}class mi{constructor(...o){if(o.length===1){let r=o[0];this.collection=r.collection,this.ref=r.ref,this.collator=r.collator,this.disabledKeys=r.disabledKeys||new Set,this.disabledBehavior=r.disabledBehavior||"all",this.orientation=r.orientation||"vertical",this.direction=r.direction,this.layout=r.layout||"stack",this.layoutDelegate=r.layoutDelegate||new d0(r.ref)}else this.collection=o[0],this.disabledKeys=o[1],this.ref=o[2],this.collator=o[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new d0(this.ref);if(this.layout==="stack"&&this.orientation==="vertical")this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0}isDisabled(o){return this.disabledBehavior==="all"&&(o.props?.isDisabled||this.disabledKeys.has(o.key))&&o.props?.disabledBehavior!=="selection"}findNextNonDisabled(o,r,i=!1){let c=o;while(c!=null){let u=this.collection.getItem(c);if(u?.type==="item"&&(i||!this.isDisabled(u)))return c;c=r(c)}return null}getNextKey(o,r){let i=o;return i=this.collection.getKeyAfter(i),this.findNextNonDisabled(i,(c)=>this.collection.getKeyAfter(c),r?.includeDisabled)}getPreviousKey(o,r){let i=o;return i=this.collection.getKeyBefore(i),this.findNextNonDisabled(i,(c)=>this.collection.getKeyBefore(c),r?.includeDisabled)}findKey(o,r,i){let c=o,u=this.layoutDelegate.getItemRect(c);if(!u||c==null)return null;let f=u;do{if(c=r(c),c==null)break;u=this.layoutDelegate.getItemRect(c)}while(u&&i(f,u)&&c!=null);return c}isSameRow(o,r){return o.y===r.y||o.x!==r.x}isSameColumn(o,r){return o.x===r.x||o.y!==r.y}getKeyBelow(o,r){if(this.layout==="grid"&&this.orientation==="vertical")return this.findKey(o,(i)=>this.getNextKey(i,r),this.isSameRow);else return this.getNextKey(o,r)}getKeyAbove(o,r){if(this.layout==="grid"&&this.orientation==="vertical")return this.findKey(o,(i)=>this.getPreviousKey(i,r),this.isSameRow);else return this.getPreviousKey(o,r)}getNextColumn(o,r,i){return r?this.getPreviousKey(o,i):this.getNextKey(o,i)}getKeyRightOf(o,r){let i=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";if(this.layoutDelegate[i])return o=this.layoutDelegate[i](o),this.findNextNonDisabled(o,(c)=>this.layoutDelegate[i](c),r?.includeDisabled);if(this.layout==="grid")if(this.orientation==="vertical")return this.getNextColumn(o,this.direction==="rtl",r);else return this.findKey(o,(c)=>this.getNextColumn(c,this.direction==="rtl",r),this.isSameColumn);else if(this.orientation==="horizontal")return this.getNextColumn(o,this.direction==="rtl",r);return null}getKeyLeftOf(o,r){let i=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";if(this.layoutDelegate[i])return o=this.layoutDelegate[i](o),this.findNextNonDisabled(o,(c)=>this.layoutDelegate[i](c),r?.includeDisabled);if(this.layout==="grid")if(this.orientation==="vertical")return this.getNextColumn(o,this.direction==="ltr",r);else return this.findKey(o,(c)=>this.getNextColumn(c,this.direction==="ltr",r),this.isSameColumn);else if(this.orientation==="horizontal")return this.getNextColumn(o,this.direction==="ltr",r);return null}getFirstKey(){let o=this.collection.getFirstKey();return this.findNextNonDisabled(o,(r)=>this.collection.getKeyAfter(r))}getLastKey(){let o=this.collection.getLastKey();return this.findNextNonDisabled(o,(r)=>this.collection.getKeyBefore(r))}getKeyPageAbove(o){let r=this.ref.current,i=this.layoutDelegate.getItemRect(o);if(!i)return null;if(r&&!zo(r))return this.getFirstKey();let c=o;if(this.orientation==="horizontal"){let u=Math.max(0,i.x+i.width-this.layoutDelegate.getVisibleRect().width);while(i&&i.x>u&&c!=null)c=this.getKeyAbove(c),i=c==null?null:this.layoutDelegate.getItemRect(c)}else{let u=Math.max(0,i.y+i.height-this.layoutDelegate.getVisibleRect().height);while(i&&i.y>u&&c!=null)c=this.getKeyAbove(c),i=c==null?null:this.layoutDelegate.getItemRect(c)}return c??this.getFirstKey()}getKeyPageBelow(o){let r=this.ref.current,i=this.layoutDelegate.getItemRect(o);if(!i)return null;if(r&&!zo(r))return this.getLastKey();let c=o;if(this.orientation==="horizontal"){let u=Math.min(this.layoutDelegate.getContentSize().width,i.x-i.width+this.layoutDelegate.getVisibleRect().width);while(i&&i.x<u&&c!=null)c=this.getKeyBelow(c),i=c==null?null:this.layoutDelegate.getItemRect(c)}else{let u=Math.min(this.layoutDelegate.getContentSize().height,i.y-i.height+this.layoutDelegate.getVisibleRect().height);while(i&&i.y<u&&c!=null)c=this.getKeyBelow(c),i=c==null?null:this.layoutDelegate.getItemRect(c)}return c??this.getLastKey()}getKeyForSearch(o,r){if(!this.collator)return null;let i=this.collection,c=r||this.getFirstKey();while(c!=null){let u=i.getItem(c);if(!u)return null;let f=u.textValue.slice(0,o.length);if(u.textValue&&this.collator.compare(f,o)===0)return c;c=this.getNextKey(c)}return null}}var R1=new Map;function Os(o){let{locale:r}=Pa(),i=r+(o?Object.entries(o).sort((u,f)=>u[0]<f[0]?-1:1).join():"");if(R1.has(i))return R1.get(i);let c=new Intl.Collator(r,o);return R1.set(i,c),c}var SC=F(J(),1);function CC(o){let{selectionManager:r,collection:i,disabledKeys:c,ref:u,keyboardDelegate:f,layoutDelegate:b,orientation:m}=o,g=Os({usage:"search",sensitivity:"base"}),x=r.disabledBehavior,v=SC.useMemo(()=>f||new mi({collection:i,disabledKeys:c,disabledBehavior:x,ref:u,collator:g,layoutDelegate:b,orientation:m}),[f,b,i,c,u,g,x,m]),{collectionProps:h}=u0({...o,ref:u,selectionManager:r,keyboardDelegate:v});return{listProps:h}}function w1(o,r,i){let c=_e(o,{labelable:!0}),u=o.selectionBehavior||"toggle",f=o.orientation||"vertical",b=o.linkBehavior||(u==="replace"?"action":"override");if(u==="toggle"&&b==="action")b="override";let{listProps:m}=CC({...o,ref:i,selectionManager:r.selectionManager,collection:r.collection,disabledKeys:r.disabledKeys,linkBehavior:b}),{focusWithinProps:g}=di({onFocusWithin:o.onFocus,onBlurWithin:o.onBlur,onFocusWithinChange:o.onFocusChange}),x=vt(o.id);Rf.set(r,{id:x,shouldUseVirtualFocus:o.shouldUseVirtualFocus,shouldSelectOnPressUp:o.shouldSelectOnPressUp,shouldFocusOnHover:o.shouldFocusOnHover,isVirtualized:o.isVirtualized,onAction:o.onAction,linkBehavior:b,UNSTABLE_itemBehavior:o.UNSTABLE_itemBehavior});let{labelProps:v,fieldProps:h}=Ob({...o,id:x,labelElementType:"span"});return{labelProps:v,listBoxProps:be(c,g,r.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox","aria-orientation":f,...be(h,m)})}}var EC=F(J(),1),MM=500;function f0(o){let{isDisabled:r,onLongPressStart:i,onLongPressEnd:c,onLongPress:u,threshold:f=MM,accessibilityDescription:b}=o,m=EC.useRef(void 0),{addGlobalListener:g,removeGlobalListener:x}=ci(),{pressProps:v}=ui({isDisabled:r,onPressStart(T){if(T.continuePropagation(),T.pointerType==="mouse"||T.pointerType==="touch"){if(i)i({...T,type:"longpressstart"});if(m.current=setTimeout(()=>{if(T.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),Ke(T.target).activeElement!==T.target)Sa(T.target);if(u)u({...T,type:"longpress"});m.current=void 0},f),T.pointerType==="touch"){let R=(L)=>{L.preventDefault()},w=Kt(T.target);g(T.target,"contextmenu",R,{once:!0}),g(w,"pointerup",()=>{setTimeout(()=>{x(T.target,"contextmenu",R)},30)},{once:!0})}}},onPressEnd(T){if(m.current)clearTimeout(m.current);if(c&&(T.pointerType==="mouse"||T.pointerType==="touch"))c({...T,type:"longpressend"})}}),h=K9(u&&!r?b:void 0);return{longPressProps:be(v,h)}}var Ns=F(J(),1);function pu(o){let{id:r,selectionManager:i,key:c,ref:u,shouldSelectOnPressUp:f,shouldUseVirtualFocus:b,focus:m,isDisabled:g,onAction:x,allowsDifferentPressOrigin:v,linkBehavior:h="action"}=o,T=hs();r=vt(r);let R=(C)=>{if(C.pointerType==="keyboard"&&Af(C))i.toggleSelection(c);else{if(i.selectionMode==="none")return;if(i.isLink(c)){if(h==="selection"&&u.current){let W=i.getItemProps(c);T.open(u.current,C,W.href,W.routerOptions),i.setSelectedKeys(i.selectedKeys);return}else if(h==="override"||h==="none")return}if(i.selectionMode==="single")if(i.isSelected(c)&&!i.disallowEmptySelection)i.toggleSelection(c);else i.replaceSelection(c);else if(C&&C.shiftKey)i.extendSelection(c);else if(i.selectionBehavior==="toggle"||C&&(oi(C)||C.pointerType==="touch"||C.pointerType==="virtual"))i.toggleSelection(c);else i.replaceSelection(c)}};Ns.useEffect(()=>{if(c===i.focusedKey&&i.isFocused)if(!b){if(m)m();else if(tt()!==u.current&&u.current)Za(u.current)}else pb(u.current)},[u,c,i.focusedKey,i.childFocusStrategy,i.isFocused,b]),g=g||i.isDisabled(c);let w={};if(!b&&!g)w={tabIndex:c===i.focusedKey?0:-1,onFocus(C){if(ce(C)===u.current)i.setFocusedKey(c)}};else if(g)w.onMouseDown=(C)=>{C.preventDefault()};Ns.useEffect(()=>{if(g&&i.focusedKey===c)i.setFocusedKey(null)},[i,g,c]);let L=i.isLink(c)&&h==="override",M=x&&o.UNSTABLE_itemBehavior==="action",H=i.isLink(c)&&h!=="selection"&&h!=="none",I=!g&&i.canSelectItem(c)&&!L&&!M,X=(x||H)&&!g,Z=X&&(i.selectionBehavior==="replace"?!I:!I||i.isEmpty),ge=X&&I&&i.selectionBehavior==="replace",he=Z||ge,ae=Ns.useRef(null),U=he&&I,te=Ns.useRef(!1),j=Ns.useRef(!1),ye=i.getItemProps(c),de=(C)=>{if(x)x(),u.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}));if(H&&u.current)T.open(u.current,C,ye.href,ye.routerOptions)},re={ref:u};if(f)if(re.onPressStart=(C)=>{if(ae.current=C.pointerType,te.current=U,C.pointerType==="keyboard"&&(!he||RC(C.key)))R(C)},!v)re.onPress=(C)=>{if(Z||ge&&C.pointerType!=="mouse"){if(C.pointerType==="keyboard"&&!TC(C.key))return;de(C)}else if(C.pointerType!=="keyboard"&&I)R(C)};else re.onPressUp=Z?void 0:(C)=>{if(C.pointerType==="mouse"&&I)R(C)},re.onPress=Z?de:(C)=>{if(C.pointerType!=="keyboard"&&C.pointerType!=="mouse"&&I)R(C)};else re.onPressStart=(C)=>{if(ae.current=C.pointerType,te.current=U,j.current=Z,I&&(C.pointerType==="mouse"&&!Z||C.pointerType==="keyboard"&&(!X||RC(C.key))))R(C)},re.onPress=(C)=>{if(C.pointerType==="touch"||C.pointerType==="pen"||C.pointerType==="virtual"||C.pointerType==="keyboard"&&he&&TC(C.key)||C.pointerType==="mouse"&&j.current){if(he)de(C);else if(I)R(C)}};if(w["data-collection"]=yC(i.collection),w["data-key"]=c,re.preventFocusOnPress=b,b)re=be(re,{onPressStart(C){if(C.pointerType!=="touch")i.setFocused(!0),i.setFocusedKey(c)},onPress(C){if(C.pointerType==="touch")i.setFocused(!0),i.setFocusedKey(c)}});if(ye){for(let C of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])if(ye[C])re[C]=Lo(re[C],ye[C])}let{pressProps:O,isPressed:z}=ui(re),K=ge?(C)=>{if(ae.current==="mouse")C.stopPropagation(),C.preventDefault(),de(C)}:void 0,{longPressProps:V}=f0({isDisabled:!U,onLongPress(C){if(C.pointerType==="touch")R(C),i.setSelectionBehavior("toggle")}}),le=(C)=>{if(ae.current==="touch"&&te.current)C.preventDefault()},Q=h!=="none"&&i.isLink(c)?(C)=>{if(!nn.isOpening)C.preventDefault()}:void 0;return{itemProps:be(w,I||Z||b&&!g?O:{},U?V:{},{onDoubleClick:K,onDragStartCapture:le,onClick:Q,id:r},b?{onMouseDown:(C)=>C.preventDefault()}:void 0),isPressed:z,isSelected:i.isSelected(c),isFocused:i.isFocused&&i.focusedKey===c,isDisabled:g,allowsSelection:I,hasAction:he}}function TC(o){return o==="Enter"}function RC(o){return o===" "}function p0(o,r){if(typeof r.getChildren==="function")return r.getChildren(o.key);return o.childNodes}function DC(o){return OM(o,0)}function OM(o,r){if(r<0)return;let i=0;for(let c of o){if(i===r)return c;i++}}function m0(o,r,i){if(r.parentKey===i.parentKey)return r.index-i.index;let c=[...wC(o,r),r],u=[...wC(o,i),i],f=c.slice(0,u.length).findIndex((b,m)=>b!==u[m]);if(f!==-1)return r=c[f],i=u[f],r.index-i.index;if(c.findIndex((b)=>b===i)>=0)return 1;else if(u.findIndex((b)=>b===r)>=0)return-1;return-1}function wC(o,r){let i=[],c=r;while(c?.parentKey!=null)if(c=o.getItem(c.parentKey),c)i.unshift(c);return i}var AC=new WeakMap;function Pf(o){let r=AC.get(o);if(r!=null)return r;let i=0,c=(u)=>{for(let f of u)if(f.type==="section")c(p0(f,o));else if(f.type==="item")i++};return c(o),AC.set(o,i),i}function D1(o,r,i){let{key:c}=o,u=Rf.get(r),f=o.isDisabled??r.selectionManager.isDisabled(c),b=o.isSelected??r.selectionManager.isSelected(c),m=o.shouldSelectOnPressUp??u?.shouldSelectOnPressUp,g=o.shouldFocusOnHover??u?.shouldFocusOnHover,x=o.shouldUseVirtualFocus??u?.shouldUseVirtualFocus,v=o.isVirtualized??u?.isVirtualized,h=on(),T=on(),R={role:"option","aria-disabled":f||void 0,"aria-selected":r.selectionManager.selectionMode!=="none"?b:void 0,"aria-label":o["aria-label"],"aria-labelledby":h,"aria-describedby":T},w=r.collection.getItem(c);if(v){let te=Number(w?.index);R["aria-posinset"]=Number.isNaN(te)?void 0:te+1,R["aria-setsize"]=Pf(r.collection)}let L=u?.onAction?()=>u?.onAction?.(c):void 0,M=cC(r,c),{itemProps:H,isPressed:I,isFocused:X,hasAction:Z,allowsSelection:ge}=pu({selectionManager:r.selectionManager,key:c,ref:i,shouldSelectOnPressUp:m,allowsDifferentPressOrigin:m&&g,isVirtualized:v,shouldUseVirtualFocus:x,isDisabled:f,onAction:L||w?.props?.onAction?Lo(w?.props?.onAction,L):void 0,linkBehavior:u?.linkBehavior,UNSTABLE_itemBehavior:u?.UNSTABLE_itemBehavior,id:M}),{hoverProps:he}=Oa({isDisabled:f||!g,onHoverStart(){if(!En())r.selectionManager.setFocused(!0),r.selectionManager.setFocusedKey(c)}}),ae=_e(w?.props);delete ae.id;let U=Wc(w?.props);return{optionProps:{...R,...be(ae,H,he,U),id:M},labelProps:{id:h},descriptionProps:{id:T},isFocused:X,isFocusVisible:X&&r.selectionManager.isFocused&&En(),isSelected:b,isDisabled:f,isPressed:I,allowsSelection:ge,hasAction:Z}}function A1(o){let{heading:r,"aria-label":i}=o,c=vt();return{itemProps:{role:"presentation"},headingProps:r?{id:c,role:"presentation",onMouseDown:(u)=>{u.preventDefault()}}:{},groupProps:{role:"group","aria-label":i,"aria-labelledby":r?c:void 0}}}var PC=F(J(),1);function mu(o){let r=PC.version.split(".");if(parseInt(r[0],10)>=19)return o;return o?"true":void 0}class b0{constructor(o){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=o;let r=(f)=>{if(this.keyMap.set(f.key,f),f.childNodes&&f.type==="section")for(let b of f.childNodes)r(b)};for(let f of o)r(f);let i=null,c=0,u=0;for(let[f,b]of this.keyMap){if(i)i.nextKey=f,b.prevKey=i.key;else this.firstKey=f,b.prevKey=void 0;if(b.type==="item")b.index=c++;if(b.type==="section"||b.type==="item")u++;i=b,i.nextKey=void 0}this._size=u,this.lastKey=i?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(o){let r=this.keyMap.get(o);return r?r.prevKey??null:null}getKeyAfter(o){let r=this.keyMap.get(o);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(o){return this.keyMap.get(o)??null}at(o){let r=[...this.getKeys()];return this.getItem(r[o])}getChildren(o){return this.keyMap.get(o)?.childNodes||[]}}class Ho extends Set{constructor(o,r,i){super(o);if(o instanceof Ho)this.anchorKey=r??o.anchorKey,this.currentKey=i??o.currentKey;else this.anchorKey=r??null,this.currentKey=i??null}}var eo=F(J(),1);function NM(o,r){if(o.size!==r.size)return!1;for(let i of o)if(!r.has(i))return!1;return!0}function OC(o){let{selectionMode:r="none",disallowEmptySelection:i=!1,allowDuplicateSelectionEvents:c,selectionBehavior:u="toggle",disabledBehavior:f="all"}=o,b=eo.useRef(!1),[,m]=eo.useState(!1),g=eo.useRef(null),x=eo.useRef(null),[,v]=eo.useState(null),h=eo.useMemo(()=>MC(o.selectedKeys),[o.selectedKeys]),T=eo.useMemo(()=>MC(o.defaultSelectedKeys,new Ho),[o.defaultSelectedKeys]),[R,w]=Tn(h,T,o.onSelectionChange),L=eo.useMemo(()=>o.disabledKeys?new Set(o.disabledKeys):new Set,[o.disabledKeys]),[M,H]=eo.useState(u);if(u==="replace"&&M==="toggle"&&typeof R==="object"&&R.size===0)H("replace");let I=eo.useRef(u);return eo.useEffect(()=>{if(u!==I.current)H(u),I.current=u},[u]),{selectionMode:r,disallowEmptySelection:i,selectionBehavior:M,setSelectionBehavior:H,get isFocused(){return b.current},setFocused(X){b.current=X,m(X)},get focusedKey(){return g.current},get childFocusStrategy(){return x.current},setFocusedKey(X,Z="first"){g.current=X,x.current=Z,v(X)},selectedKeys:R,setSelectedKeys(X){if(c||!NM(X,R))w(X)},disabledKeys:L,disabledBehavior:f}}function MC(o,r){if(!o)return r;return o==="all"?"all":new Ho(o)}class g0{constructor(o,r,i){this.collection=o,this.state=r,this.allowsCellSelection=i?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=i?.layoutDelegate||null,this.fullCollection=i?.fullCollection||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(o){this.state.setSelectionBehavior(o)}get isFocused(){return this.state.isFocused}setFocused(o){this.state.setFocused(o)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(o,r){if(o==null||this.collection.getItem(o))this.state.setFocusedKey(o,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(o){if(this.state.selectionMode==="none")return!1;let r=this.getKey(o);if(r==null)return!1;return this.state.selectedKeys==="all"?this.canSelectItem(r):this.state.selectedKeys.has(r)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let o=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=o.every((i)=>r.has(i)),this._isSelectAll}get firstSelectedKey(){let o=null;for(let r of this.state.selectedKeys){let i=this.collection.getItem(r);if(!o||i&&m0(this.collection,i,o)<0)o=i}return o?.key??null}get lastSelectedKey(){let o=null;for(let r of this.state.selectedKeys){let i=this.collection.getItem(r);if(!o||i&&m0(this.collection,i,o)>0)o=i}return o?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(o){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(o);return}let r=this.getKey(o);if(r==null)return;let i;if(this.state.selectedKeys==="all")i=new Ho([r],r,r);else{let c=this.state.selectedKeys,u=c.anchorKey??r;i=new Ho(c,u,r);for(let f of this.getKeyRange(u,c.currentKey??r))i.delete(f);for(let f of this.getKeyRange(r,u))if(this.canSelectItem(f))i.add(f)}this.state.setSelectedKeys(i)}getKeyRange(o,r){let i=this.collection.getItem(o),c=this.collection.getItem(r);if(i&&c){if(m0(this.collection,i,c)<=0)return this.getKeyRangeInternal(o,r);return this.getKeyRangeInternal(r,o)}return[]}getKeyRangeInternal(o,r){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(o,r);let i=[],c=o;while(c!=null){let u=this.collection.getItem(c);if(u&&(u.type==="item"||u.type==="cell"&&this.allowsCellSelection))i.push(c);if(c===r)return i;c=this.collection.getKeyAfter(c)}return[]}getKey(o){let r=this.collection.getItem(o);if(!r)return o;if(r.type==="cell"&&this.allowsCellSelection)return o;while(r&&r.type!=="item"&&r.parentKey!=null)r=this.collection.getItem(r.parentKey);if(!r||r.type!=="item")return null;return r.key}toggleSelection(o){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(o)){this.replaceSelection(o);return}let r=this.getKey(o);if(r==null)return;let i=new Ho(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);if(i.has(r))i.delete(r);else if(this.canSelectItem(r))i.add(r),i.anchorKey=r,i.currentKey=r;if(this.disallowEmptySelection&&i.size===0)return;this.state.setSelectedKeys(i)}replaceSelection(o){if(this.selectionMode==="none")return;let r=this.getKey(o);if(r==null)return;let i=this.canSelectItem(r)?new Ho([r],r,r):new Ho;this.state.setSelectedKeys(i)}setSelectedKeys(o){if(this.selectionMode==="none")return;let r=new Ho;for(let i of o){let c=this.getKey(i);if(c!=null){if(r.add(c),this.selectionMode==="single")break}}this.state.setSelectedKeys(r)}getSelectAllKeys(){let o=this.fullCollection??this.collection,r=[],i=(c)=>{while(c!=null){if(this.canSelectItemIn(c,o)){let u=o.getItem(c);if(u?.type==="item")r.push(c);if(u?.hasChildNodes&&(this.allowsCellSelection||u.type!=="item"))i(DC(p0(u,o))?.key??null)}c=o.getKeyAfter(c)}};return i(o.getFirstKey()),r}selectAll(){if(!this.isSelectAll&&this.selectionMode==="multiple")this.state.setSelectedKeys("all")}clearSelection(){if(!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0))this.state.setSelectedKeys(new Ho)}toggleSelectAll(){if(this.isSelectAll)this.clearSelection();else this.selectAll()}select(o,r){if(this.selectionMode==="none")return;if(this.selectionMode==="single")if(this.isSelected(o)&&!this.disallowEmptySelection)this.toggleSelection(o);else this.replaceSelection(o);else if(this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual"))this.toggleSelection(o);else this.replaceSelection(o)}isSelectionEqual(o){if(o===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(o.size!==r.size)return!1;for(let i of o)if(!r.has(i))return!1;for(let i of r)if(!o.has(i))return!1;return!0}canSelectItem(o){return this.canSelectItemIn(o,this.collection)}canSelectItemIn(o,r){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(o))return!1;let i=r.getItem(o);if(!i||i?.props?.isDisabled||i.type==="cell"&&!this.allowsCellSelection)return!1;return!0}isDisabled(o){let r=this.collection.getItem(o);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(o)||!!r?.props?.isDisabled)&&r?.props?.disabledBehavior!=="selection"}isLink(o){return!!this.collection.getItem(o)?.props?.href}getItemProps(o){return this.collection.getItem(o)?.props}withCollection(o){return new g0(o,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}var bi=F(J(),1);class M1{build(o,r){return this.context=r,NC(()=>this.iterateCollection(o))}*iterateCollection(o){let{children:r,items:i}=o;if(bi.default.isValidElement(r)&&r.type===bi.default.Fragment)yield*this.iterateCollection({children:r.props.children,items:i});else if(typeof r==="function"){if(!i)throw Error("props.children was a function but props.items is missing");let c=0;for(let u of i)yield*this.getFullNode({value:u,index:c},{renderer:r}),c++}else{let c=[];bi.default.Children.forEach(r,(f)=>{if(f)c.push(f)});let u=0;for(let f of c){let b=this.getFullNode({element:f,index:u},{});for(let m of b)u++,yield m}}}getKey(o,r,i,c){if(o.key!=null)return o.key;if(r.type==="cell"&&r.key!=null)return`${c}${r.key}`;let u=r.value;if(u!=null){let f=u.key??u.id;if(f==null)throw Error("No key found for item");return f}return c?`${c}.${r.index}`:`$.${r.index}`}getChildState(o,r){return{renderer:r.renderer||o.renderer}}*getFullNode(o,r,i,c){if(bi.default.isValidElement(o.element)&&o.element.type===bi.default.Fragment){let m=[];bi.default.Children.forEach(o.element.props.children,(x)=>{m.push(x)});let g=o.index??0;for(let x of m)yield*this.getFullNode({element:x,index:g++},r,i,c);return}let u=o.element;if(!u&&o.value&&r&&r.renderer){let m=this.cache.get(o.value);if(m&&(!m.shouldInvalidate||!m.shouldInvalidate(this.context))){m.index=o.index,m.parentKey=c?c.key:null,yield m;return}u=r.renderer(o.value)}if(bi.default.isValidElement(u)){let m=u.type;if(typeof m!=="function"&&typeof m.getCollectionNode!=="function"){let h=u.type;throw Error(`Unknown element <${h}> in collection.`)}let g=m.getCollectionNode(u.props,this.context),x=o.index??0,v=g.next();while(!v.done&&v.value){let h=v.value;o.index=x;let T=h.key??null;if(T==null)T=h.element?null:this.getKey(u,o,r,i);let w=[...this.getFullNode({...h,key:T,index:x,wrapper:LM(o.wrapper,h.wrapper)},this.getChildState(r,h),i?`${i}${u.key}`:u.key,c)];for(let L of w){if(L.value=h.value??o.value??null,L.value)this.cache.set(L.value,L);if(o.type&&L.type!==o.type)throw Error(`Unsupported type <${P1(L.type)}> in <${P1(c?.type??"unknown parent type")}>. Only <${P1(o.type)}> is supported.`);x++,yield L}v=g.next(w)}return}if(o.key==null||o.type==null)return;let f=this,b={type:o.type,props:o.props,key:o.key,parentKey:c?c.key:null,value:o.value??null,level:(c?.level??0)+(c?.type==="item"?1:0),index:o.index,rendered:o.rendered,textValue:o.textValue??"","aria-label":o["aria-label"],wrapper:o.wrapper,shouldInvalidate:o.shouldInvalidate,hasChildNodes:o.hasChildNodes||!1,childNodes:NC(function*(){if(!o.hasChildNodes||!o.childNodes)return;let m=0;for(let g of o.childNodes()){if(g.key!=null)g.key=`${b.key}${g.key}`;let x=f.getFullNode({...g,index:m},f.getChildState(r,g),b.key,b);for(let v of x)m++,yield v}})};yield b}constructor(){this.cache=new WeakMap}}function NC(o){let r=[],i=null;return{*[Symbol.iterator](){for(let c of r)yield c;if(!i)i=o();for(let c of i)r.push(c),yield c}}}function LM(o,r){if(o&&r)return(i)=>o(r(i));if(o)return o;if(r)return r}function P1(o){return o[0].toUpperCase()+o.slice(1)}var O1=F(J(),1);function LC(o,r,i){let c=O1.useMemo(()=>new M1,[]),{children:u,items:f,collection:b}=o;return O1.useMemo(()=>{if(b)return b;let g=c.build({children:u,items:f},i);return r(g)},[c,u,f,b,i,r])}var An=F(J(),1);function Mf(o){let{filter:r,layoutDelegate:i}=o,c=OC(o),u=An.useMemo(()=>o.disabledKeys?new Set(o.disabledKeys):new Set,[o.disabledKeys]),f=An.useCallback((x)=>r?new b0(r(x)):new b0(x),[r]),b=An.useMemo(()=>({suppressTextValueWarning:o.suppressTextValueWarning}),[o.suppressTextValueWarning]),m=LC(o,f,b),g=An.useMemo(()=>new g0(m,c,{layoutDelegate:i}),[m,c,i]);return kC(m,g),{collection:m,disabledKeys:u,selectionManager:g}}function N1(o,r){let i=An.useMemo(()=>r?o.collection.filter(r):o.collection,[o.collection,r]),c=o.selectionManager.withCollection(i);return kC(i,c),{collection:i,selectionManager:c,disabledKeys:o.disabledKeys}}function kC(o,r){let i=An.useRef(null);An.useEffect(()=>{if(r.focusedKey!=null&&!o.getItem(r.focusedKey)&&i.current){let c=i.current.getKeyAfter(r.focusedKey),u=null;while(c!=null){let f=o.getItem(c);if(f&&f.type==="item"&&!r.isDisabled(c)){u=c;break}c=i.current.getKeyAfter(c)}if(u==null){c=i.current.getKeyBefore(r.focusedKey);while(c!=null){let f=o.getItem(c);if(f&&f.type==="item"&&!r.isDisabled(c)){u=c;break}c=i.current.getKeyBefore(c)}}r.setFocusedKey(u)}i.current=o},[o,r])}var _C=F(J(),1);function L1(o,r){let{collection:i,onLoadMore:c,scrollOffset:u=1}=o,f=_C.useRef(null),b=fa((m)=>{for(let g of m)if(g.isIntersecting&&c)c()});Le(()=>{if(r.current)f.current=new IntersectionObserver(b,{root:yf(r?.current),rootMargin:`0px ${100*u}% ${100*u}% ${100*u}%`}),f.current.observe(r.current);return()=>{if(f.current)f.current.disconnect()}},[i,r,u])}var Pe=F(J(),1);var Of=Pe.createContext(null),gi=Pe.createContext(null),bu=Pe.forwardRef(function(r,i){[r,i]=bt(r,i,Of);let c=Pe.useContext(gi);if(c)return Pe.default.createElement(zC,{state:c,props:r,listBoxRef:i});return Pe.default.createElement(Ps,{content:Pe.default.createElement(Ef,r)},(u)=>Pe.default.createElement(kM,{props:r,listBoxRef:i,collection:u}))});function kM({props:o,listBoxRef:r,collection:i}){o={...o,collection:i,children:null,items:null};let{layoutDelegate:c}=Pe.useContext(ol),u=Mf({...o,layoutDelegate:c});return Pe.default.createElement(zC,{state:u,props:o,listBoxRef:r})}function zC({state:o,props:r,listBoxRef:i}){[r,i]=bt(r,i,w9);let{dragAndDropHooks:c,layout:u="stack",orientation:f="vertical",filter:b}=r,m=N1(o,b),{collection:g,selectionManager:x}=m,v=!!c?.useDraggableCollectionState,h=!!c?.useDroppableCollectionState,{direction:T}=Pa(),{disabledBehavior:R,disabledKeys:w}=x,L=Os({usage:"search",sensitivity:"base"}),{isVirtualized:M,layoutDelegate:H,dropTargetDelegate:I,CollectionRoot:X}=Pe.useContext(ol),Z=Pe.useMemo(()=>r.keyboardDelegate||new mi({collection:g,collator:L,ref:i,disabledKeys:w,disabledBehavior:R,layout:u,orientation:f,direction:T,layoutDelegate:H}),[g,L,i,R,w,f,T,r.keyboardDelegate,u,H]),{listBoxProps:ge}=w1({...r,shouldSelectOnPressUp:v||r.shouldSelectOnPressUp,keyboardDelegate:Z,isVirtualized:M},m,i),he=Pe.useRef(v),ae=Pe.useRef(h);Pe.useEffect(()=>{if(he.current!==v)console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");if(ae.current!==h)console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[v,h]);let U=void 0,te=void 0,j=void 0,ye=!1,de=null,re=Pe.useRef(null);if(v&&c){U=c.useDraggableCollectionState({collection:g,selectionManager:x,preview:c.renderDragPreview?re:void 0}),c.useDraggableCollection({},U,i);let ve=c.DragPreview;de=c.renderDragPreview?Pe.default.createElement(ve,{ref:re},c.renderDragPreview):null}if(h&&c){te=c.useDroppableCollectionState({collection:g,selectionManager:x});let ve=c.dropTargetDelegate||I||new c.ListDropTargetDelegate(g,i,{orientation:f,layout:u,direction:T});j=c.useDroppableCollection({keyboardDelegate:Z,dropTargetDelegate:ve},te,i),ye=te.isDropTarget({type:"root"})}let{focusProps:O,isFocused:z,isFocusVisible:K}=Ma(),V=m.collection.size===0,le={isDropTarget:ye,isEmpty:V,isFocused:z,isFocusVisible:K,layout:r.layout||"stack",orientation:f,state:m},Q=dt({...r,children:void 0,defaultClassName:"react-aria-ListBox",values:le}),C=null;if(V&&r.renderEmptyState)C=Pe.default.createElement("div",{role:"option",style:{display:"contents"}},r.renderEmptyState(le));let W=_e(r,{global:!0});return Pe.default.createElement(Df,null,Pe.default.createElement(qe.div,{...be(W,Q,ge,O,j?.collectionProps),ref:i,slot:r.slot||void 0,onScroll:r.onScroll,"data-drop-target":ye||void 0,"data-empty":V||void 0,"data-focused":z||void 0,"data-focus-visible":K||void 0,"data-layout":r.layout||"stack","data-orientation":f},Pe.default.createElement(xa,{values:[[Of,r],[gi,m],[Tf,{dragAndDropHooks:c,dragState:U,dropState:te}],[r0,{elementType:"div"}],[g1,{render:zM}],[p1,{name:"ListBoxSection",render:_M}]]},Pe.default.createElement(a0,null,Pe.default.createElement(X,{collection:g,scrollRef:i,persistedKeys:lC(x,c,te),renderDropIndicator:h1(c,te)}))),C,de))}function _M(o,r,i,c="react-aria-ListBoxSection"){let u=Pe.useContext(gi),{dragAndDropHooks:f,dropState:b}=Pe.useContext(Tf),{CollectionBranch:m}=Pe.useContext(ol),[g,x]=gs(),{headingProps:v,groupProps:h}=A1({heading:x,"aria-label":o["aria-label"]??void 0}),T=dt({...o,id:void 0,children:void 0,defaultClassName:c,values:void 0}),R=_e(o,{global:!0});return delete R.id,Pe.default.createElement(qe.section,{...be(R,T,h),ref:r},Pe.default.createElement(iC.Provider,{value:{...v,ref:g}},Pe.default.createElement(m,{collection:u.collection,parent:i,renderDropIndicator:h1(f,b)})))}var ll=hr(su,function(r,i,c){let u=Qa(i),f=Pe.useContext(gi),{dragAndDropHooks:b,dragState:m,dropState:g}=Pe.useContext(Tf),x=m&&!(m.isDisabled||m.selectionManager.isDisabled(c.key)),{optionProps:v,labelProps:h,descriptionProps:T,...R}=D1({key:c.key,"aria-label":r?.["aria-label"]},f,u),{hoverProps:w,isHovered:L}=Oa({isDisabled:!R.allowsSelection&&!R.hasAction&&!x,onHoverStart:c.props.onHoverStart,onHoverChange:c.props.onHoverChange,onHoverEnd:c.props.onHoverEnd}),{keyboardProps:M}=Ts(r),{focusProps:H}=Es(r),I=null;if(m&&b)I=b.useDraggableItem({key:c.key,hasAction:R.hasAction},m);let X=null;if(g&&b)X=b.useDroppableItem({target:{type:"item",key:c.key,dropPosition:"on"}},g,u);let Z=m&&m.isDragging(c.key),ge=dt({...r,id:void 0,children:r.children,defaultClassName:"react-aria-ListBoxItem",values:{...R,isHovered:L,selectionMode:f.selectionManager.selectionMode,selectionBehavior:f.selectionManager.selectionBehavior,allowsDragging:!!m,isDragging:Z,isDropTarget:X?.isDropTarget}});Pe.useEffect(()=>{if(!c.textValue)console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[c.textValue]);let he=r.href?qe.a:qe.div,ae=_e(r,{global:!0});if(delete ae.id,delete ae.onClick,r.href&&v.tabIndex==null)v.tabIndex=-1;return Pe.default.createElement(he,{...be(ae,ge,v,w,M,H,I?.dragProps,X?.dropProps),ref:u,"data-allows-dragging":!!m||void 0,"data-selected":R.isSelected||void 0,"data-disabled":R.isDisabled||void 0,"data-hovered":L||void 0,"data-focused":R.isFocused||void 0,"data-focus-visible":R.isFocusVisible||void 0,"data-pressed":R.isPressed||void 0,"data-dragging":Z||void 0,"data-drop-target":X?.isDropTarget||void 0,"data-selection-mode":f.selectionManager.selectionMode==="none"?void 0:f.selectionManager.selectionMode},Pe.default.createElement(xa,{values:[[rn,{slots:{[dr]:h,label:h,description:T}}],[du,{isSelected:R.isSelected}]]},ge.children))});function zM(o,r){r=Qa(r);let{dragAndDropHooks:i,dropState:c}=Pe.useContext(Tf),{dropIndicatorProps:u,isHidden:f,isDropTarget:b}=i.useDropIndicator(o,c,r);if(f)return null;return Pe.default.createElement(IM,{...o,dropIndicatorProps:u,isDropTarget:b,ref:r})}function BM(o,r){let{dropIndicatorProps:i,isDropTarget:c,...u}=o,f=dt({...u,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:c}});return Pe.default.createElement(Pe.default.Fragment,null,Pe.default.createElement(qe.div,{...i,...f,role:"option",ref:r,"data-drop-target":c||void 0}))}var IM=Pe.forwardRef(BM),HM=hr(Jb,function(r,i,c){let u=Pe.useContext(gi),{isLoading:f,onLoadMore:b,scrollOffset:m,...g}=r,x=Pe.useRef(null),v=Pe.useMemo(()=>({onLoadMore:b,collection:u?.collection,sentinelRef:x,scrollOffset:m}),[b,m,u?.collection]);L1(v,x);let h=dt({...g,id:void 0,children:c.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0}),T={tabIndex:-1};return Pe.default.createElement(Pe.default.Fragment,null,Pe.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:mu(!0)},Pe.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:x,style:{position:"absolute",height:1,width:1}})),f&&h.children&&Pe.default.createElement(Pe.default.Fragment,null,Pe.default.createElement(qe.div,{...be(_e(r,{global:!0}),T),...h,role:"option",ref:i},h.children)))});var h0=F(J(),1),BC=h0.createContext({placement:"bottom"});var FM=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function IC(o){return o.dataset.liveAnnouncer==="true"||o.dataset.reactAriaTopLayer!==void 0}var Nf=new WeakMap,uo=[];function $0(o,r){let i=Kt(o?.[0]),c=r instanceof i.Element?{root:r}:r,u=c?.root??document.body,f=c?.shouldUseInert&&FM,b=new Set(o),m=new Set,g=(M)=>f&&M instanceof i.HTMLElement?M.inert:M.getAttribute("aria-hidden")==="true",x=(M,H)=>{if(f&&M instanceof i.HTMLElement)M.inert=H;else if(H)M.setAttribute("aria-hidden","true");else if(M.removeAttribute("aria-hidden"),M instanceof i.HTMLElement)M.inert=!1},v=new Set;if(ko())for(let M of o){let H=M;while(H&&H!==u){let I=H.getRootNode();if("shadowRoot"in I)v.add(I.shadowRoot);H=I.parentNode}}let h=(M)=>{for(let Z of M.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))b.add(Z);let H=(Z)=>{if(m.has(Z)||b.has(Z)||Z.parentElement&&m.has(Z.parentElement)&&Z.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let ge of b)if(Ve(Z,ge))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},I=l0(Ke(M),M,NodeFilter.SHOW_ELEMENT,{acceptNode:H}),X=H(M);if(X===NodeFilter.FILTER_ACCEPT)T(M);if(X!==NodeFilter.FILTER_REJECT){let Z=I.nextNode();while(Z!=null)T(Z),Z=I.nextNode()}},T=(M)=>{let H=Nf.get(M)??0;if(g(M)&&H===0)return;if(H===0)x(M,!0);m.add(M),Nf.set(M,H+1)};if(uo.length)uo[uo.length-1].disconnect();h(u);let R=new MutationObserver((M)=>{for(let H of M){if(H.type!=="childList")continue;if(H.target.isConnected&&![...b,...m].some((I)=>Ve(I,H.target))){for(let I of H.addedNodes)if((I instanceof HTMLElement||I instanceof SVGElement)&&IC(I))b.add(I);else if(I instanceof Element)h(I)}if(ko()){for(let I of v)if(!I.isConnected){R.disconnect();break}}}});R.observe(u,{childList:!0,subtree:!0});let w=new Set;if(ko())for(let M of v){let H=new MutationObserver((I)=>{for(let X of I){if(X.type!=="childList")continue;if(X.target.isConnected&&![...b,...m].some((Z)=>Ve(Z,X.target))){for(let Z of X.addedNodes)if((Z instanceof HTMLElement||Z instanceof SVGElement)&&IC(Z))b.add(Z);else if(Z instanceof Element)h(Z)}if(ko()){for(let Z of v)if(!Z.isConnected){R.disconnect();break}}}});H.observe(M,{childList:!0,subtree:!0}),w.add(H)}let L={visibleNodes:b,hiddenNodes:m,observe(){R.observe(u,{childList:!0,subtree:!0})},disconnect(){R.disconnect()}};return uo.push(L),()=>{if(R.disconnect(),ko())for(let M of w)M.disconnect();for(let M of m){let H=Nf.get(M);if(H==null)continue;if(H===1)x(M,!1),Nf.delete(M);else Nf.set(M,H-1)}if(L===uo[uo.length-1]){if(uo.pop(),uo.length)uo[uo.length-1].observe()}else uo.splice(uo.indexOf(L),1)}}function HC(o){let r=uo[uo.length-1];if(r&&!r.visibleNodes.has(o))return r.visibleNodes.add(o),()=>{r.visibleNodes.delete(o)}}var cn={top:"top",bottom:"top",left:"left",right:"left"},v0={top:"bottom",bottom:"top",left:"right",right:"left"},UM={top:"left",left:"top"},_1={top:"height",left:"width"},qC={width:"totalWidth",height:"totalHeight"},y0={},VM=()=>typeof document<"u"?window.visualViewport:null;function FC(o,r){let i=0,c=0,u=0,f=0,b=0,m=0,g={},x=(r?.scale??1)>1;if(o.tagName==="BODY"||o.tagName==="HTML"){let v=document.documentElement;if(u=v.clientWidth,f=v.clientHeight,i=r?.width??u,c=r?.height??f,g.top=v.scrollTop||o.scrollTop,g.left=v.scrollLeft||o.scrollLeft,r)b=r.offsetTop,m=r.offsetLeft}else({width:i,height:c,top:b,left:m}=Lf(o,!1)),g.top=o.scrollTop,g.left=o.scrollLeft,u=i,f=c;if(Sb()&&(o.tagName==="BODY"||o.tagName==="HTML")&&x)g.top=0,g.left=0,b=r?.pageTop??0,m=r?.pageLeft??0;return{width:i,height:c,totalWidth:u,totalHeight:f,scroll:g,top:b,left:m}}function KM(o){return{top:o.scrollTop,left:o.scrollLeft,width:o.scrollWidth,height:o.scrollHeight}}function UC(o,r,i,c,u,f,b){let m=u.scroll[o]??0,g=c[_1[o]],x=b[o]+c.scroll[cn[o]]+f,v=b[o]+c.scroll[cn[o]]+g-f,h=r-m+c.scroll[cn[o]]+b[o]-c[cn[o]],T=r-m+i+c.scroll[cn[o]]+b[o]-c[cn[o]];if(h<x)return x-h;else if(T>v)return Math.max(v-T,x-h);else return 0}function jM(o){let r=window.getComputedStyle(o);return{top:parseInt(r.marginTop,10)||0,bottom:parseInt(r.marginBottom,10)||0,left:parseInt(r.marginLeft,10)||0,right:parseInt(r.marginRight,10)||0}}function VC(o){if(y0[o])return y0[o];let[r,i]=o.split(" "),c=cn[r]||"right",u=UM[c];if(!cn[i])i="center";let f=_1[c],b=_1[u];return y0[o]={placement:r,crossPlacement:i,axis:c,crossAxis:u,size:f,crossSize:b},y0[o]}function k1(o,r,i,c,u,f,b,m,g,x,v){let{placement:h,crossPlacement:T,axis:R,crossAxis:w,size:L,crossSize:M}=c,H={};if(H[w]=o[w]??0,T==="center")H[w]+=((o[M]??0)-(i[M]??0))/2;else if(T!==w)H[w]+=(o[M]??0)-(i[M]??0);H[w]+=f;let I=o[w]-i[M]+g+x,X=o[w]+o[M]-g-x;if(H[w]=bf(H[w],I,X),h===R){let Z=m?v[L]:v[qC[L]];H[v0[R]]=Math.floor(Z-o[R]+u)}else H[R]=Math.floor(o[R]+o[L]+u);return H}function GM(o,r,i,c,u,f,b,m,g,x,v){let h=(o.top!=null?o.top:g[qC.height]-(o.bottom??0)-b)-(g.scroll.top??0),T=x?i.top:0,R={top:Math.max(r.top+T,(v?.offsetTop??r.top)+T),bottom:Math.min(r.top+r.height+T,(v?.offsetTop??0)+(v?.height??0))};return m!=="top"?Math.max(0,R.bottom-h-((u.top??0)+(u.bottom??0)+f)):Math.max(0,h+b-R.top-((u.top??0)+(u.bottom??0)+f))}function KC(o,r,i,c,u,f,b,m){let{placement:g,axis:x,size:v}=f;if(g===x)return Math.max(0,i[x]-(b.scroll[x]??0)-(o[x]+(m?r[x]:0))-(c[x]??0)-c[v0[x]]-u);return Math.max(0,o[v]+o[x]+(m?r[x]:0)-i[x]-i[v]+(b.scroll[x]??0)-(c[x]??0)-c[v0[x]]-u)}function qM(o,r,i,c,u,f,b,m,g,x,v,h,T,R,w,L,M,H){let I=VC(o),{size:X,crossAxis:Z,crossSize:ge,placement:he,crossPlacement:ae}=I,U=k1(r,m,i,I,v,h,x,T,w,L,g),te=v,j=KC(m,x,r,u,f+v,I,g,M);if(b&&i[X]>j){let He=VC(`${v0[he]} ${ae}`),xe=k1(r,m,i,He,v,h,x,T,w,L,g);if(KC(m,x,r,u,f+v,He,g,M)>j)I=He,U=xe,te=v}let ye="bottom";if(I.axis==="top"){if(I.placement==="top")ye="top";else if(I.placement==="bottom")ye="bottom"}else if(I.crossAxis==="top"){if(I.crossPlacement==="top")ye="bottom";else if(I.crossPlacement==="bottom")ye="top"}let de=UC(Z,U[Z],i[ge],m,g,f,x);U[Z]+=de;let re=GM(U,m,x,T,u,f,i.height,ye,g,M,H);if(R&&R<re)re=R;i.height=Math.min(i.height,re),U=k1(r,m,i,I,te,h,x,T,w,L,g),de=UC(Z,U[Z],i[ge],m,g,f,x),U[Z]+=de;let O={},z=r[Z]-U[Z]-u[cn[Z]],K=z+0.5*r[ge],V=w/2+L,le=cn[Z]==="left"?(u.left??0)+(u.right??0):(u.top??0)+(u.bottom??0),Q=i[ge]-le-w/2-L,C=r[Z]+w/2-(U[Z]+u[cn[Z]]),W=r[Z]+r[ge]-w/2-(U[Z]+u[cn[Z]]),ve=bf(K,C,W);if(O[Z]=bf(ve,V,Q),{placement:he,crossPlacement:ae}=I,w)z=O[Z];else if(ae==="right")z+=r[ge];else if(ae==="center")z+=r[ge]/2;let Ce=he==="left"||he==="top"?i[X]:0,Ne={x:he==="top"||he==="bottom"?z:Ce,y:he==="left"||he==="right"?z:Ce};return{position:U,maxHeight:re,arrowOffsetLeft:O.left,arrowOffsetTop:O.top,placement:he,triggerAnchorPoint:Ne}}function YC(o){let{placement:r,targetNode:i,overlayNode:c,scrollNode:u,padding:f,shouldFlip:b,boundaryElement:m,offset:g,crossOffset:x,maxHeight:v,arrowSize:h=0,arrowBoundaryOffset:T=0}=o,R=VM(),w=c instanceof HTMLElement?YM(c):document.documentElement,L=w===document.documentElement,M=window.getComputedStyle(w).position,H=!!M&&M!=="static",I=L?Lf(i,!1):jC(i,w,!1);if(!L){let{marginTop:j,marginLeft:ye}=window.getComputedStyle(i);I.top+=parseInt(j,10)||0,I.left+=parseInt(ye,10)||0}let X=Lf(c,!0),Z=jM(c);X.width+=(Z.left??0)+(Z.right??0),X.height+=(Z.top??0)+(Z.bottom??0);let ge=KM(u),he=FC(m,R),ae=FC(w,R),U;if((m.tagName==="BODY"||m.tagName==="HTML")&&!L){let j=kf(w,!1);U={top:-(j.top-he.top),left:-(j.left-he.left),width:0,height:0}}else if((m.tagName==="BODY"||m.tagName==="HTML")&&L)U={top:0,left:0,width:0,height:0};else U=jC(m,w,!1);let te=Ve(m,w);return qM(r,I,X,ge,Z,f,b,he,ae,U,g,x,H,v,h,T,te,R)}function kf(o,r){let{top:i,left:c,width:u,height:f}=o.getBoundingClientRect();if(r&&o instanceof o.ownerDocument.defaultView.HTMLElement)u=o.offsetWidth,f=o.offsetHeight;return{top:i,left:c,width:u,height:f}}function Lf(o,r){let{top:i,left:c,width:u,height:f}=kf(o,r),{scrollTop:b,scrollLeft:m,clientTop:g,clientLeft:x}=document.documentElement;return{top:i+b-g,left:c+m-x,width:u,height:f}}function jC(o,r,i){let c=window.getComputedStyle(o),u;if(c.position==="fixed")u=kf(o,i);else{u=Lf(o,i);let f=Lf(r,i),b=window.getComputedStyle(r);f.top+=(parseInt(b.borderTopWidth,10)||0)-r.scrollTop,f.left+=(parseInt(b.borderLeftWidth,10)||0)-r.scrollLeft,u.top-=f.top,u.left-=f.left}return u.top-=parseInt(c.marginTop,10)||0,u.left-=parseInt(c.marginLeft,10)||0,u}function YM(o){let r=o.offsetParent;if(r&&r===document.body&&window.getComputedStyle(r).position==="static"&&!GC(r))r=document.documentElement;if(r==null){r=o.parentElement;while(r&&!GC(r))r=r.parentElement}return r||document.documentElement}function GC(o){let r=window.getComputedStyle(o);return r.transform!=="none"||/transform|perspective/.test(r.willChange)||r.filter!=="none"||r.contain==="paint"||"backdropFilter"in r&&r.backdropFilter!=="none"||"WebkitBackdropFilter"in r&&r.WebkitBackdropFilter!=="none"}var XC=F(J(),1),z1=new WeakMap;function QC(o){let{triggerRef:r,isOpen:i,onClose:c}=o;XC.useEffect(()=>{if(!i||c===null)return;let u=(f)=>{let b=ce(f);if(!r.current||b instanceof Node&&!Ve(b,r.current))return;if(b instanceof HTMLInputElement||b instanceof HTMLTextAreaElement)return;let m=c||z1.get(r.current);if(m)m()};return window.addEventListener("scroll",u,!0),()=>{window.removeEventListener("scroll",u,!0)}},[i,c,r])}var ZC=F(J(),1);function XM(){return typeof window.ResizeObserver<"u"}function gu(o){let{ref:r,box:i,onResize:c}=o,u=fa(c);ZC.useEffect(()=>{let f=r?.current;if(!f)return;if(!XM())return window.addEventListener("resize",u,!1),()=>{window.removeEventListener("resize",u,!1)};else{let b=new window.ResizeObserver((m)=>{if(!m.length)return;u()});return b.observe(f,{box:i}),()=>{if(f)b.unobserve(f)}}},[r,i])}var $r=F(J(),1),Ls=typeof document<"u"?window.visualViewport:null;function WC(o){let{direction:r}=Pa(),{arrowSize:i,targetRef:c,overlayRef:u,arrowRef:f,scrollRef:b=u,placement:m="bottom",containerPadding:g=12,shouldFlip:x=!0,boundaryElement:v=typeof document<"u"?document.body:null,offset:h=0,crossOffset:T=0,shouldUpdatePosition:R=!0,isOpen:w=!0,onClose:L,maxHeight:M,arrowBoundaryOffset:H=0}=o,[I,X]=$r.useState(null),Z=[R,m,u.current,c.current,f?.current,b.current,g,x,v,h,T,w,r,M,H,i],ge=$r.useRef(Ls?.scale);$r.useEffect(()=>{if(w)ge.current=Ls?.scale},[w]);let he=$r.useCallback(()=>{if(R===!1||!w||!u.current||!c.current||!v)return;if(Ls?.scale!==ge.current)return;let te=null;if(b.current&&pr(b.current)){let re=tt()?.getBoundingClientRect(),O=b.current.getBoundingClientRect();if(te={type:"top",offset:(re?.top??0)-O.top},te.offset>O.height/2)te.type="bottom",te.offset=(re?.bottom??0)-O.bottom}let j=u.current;if(!M&&u.current)j.style.top="0px",j.style.bottom="",j.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px";let ye=YC({placement:ZM(m,r),overlayNode:u.current,targetNode:c.current,scrollNode:b.current||u.current,padding:g,shouldFlip:x,boundaryElement:v,offset:h,crossOffset:T,maxHeight:M,arrowSize:i??(f?.current?kf(f.current,!0).width:0),arrowBoundaryOffset:H});if(!ye.position)return;j.style.top="",j.style.bottom="",j.style.left="",j.style.right="",Object.keys(ye.position).forEach((re)=>j.style[re]=ye.position[re]+"px"),j.style.maxHeight=ye.maxHeight!=null?ye.maxHeight+"px":"";let de=tt();if(te&&de&&b.current){let re=de.getBoundingClientRect(),O=b.current.getBoundingClientRect(),z=re[te.type]-O[te.type];b.current.scrollTop+=z-te.offset}X(ye)},Z);Le(he,Z),QM(he),gu({ref:u,onResize:he}),gu({ref:c,onResize:he});let ae=$r.useRef(!1);Le(()=>{let te,j=()=>{ae.current=!0,clearTimeout(te),te=setTimeout(()=>{ae.current=!1},500),he()},ye=()=>{if(ae.current)j()};return Ls?.addEventListener("resize",j),Ls?.addEventListener("scroll",ye),()=>{Ls?.removeEventListener("resize",j),Ls?.removeEventListener("scroll",ye)}},[he]);let U=$r.useCallback(()=>{if(!ae.current)L?.()},[L,ae]);return QC({triggerRef:c,isOpen:w,onClose:L&&U}),{overlayProps:{style:{position:I?"absolute":"fixed",top:!I?0:void 0,left:!I?0:void 0,zIndex:1e5,...I?.position,maxHeight:I?.maxHeight??"100vh"}},placement:I?.placement??null,triggerAnchorPoint:I?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:I?.arrowOffsetLeft,top:I?.arrowOffsetTop}},updatePosition:he}}function QM(o){Le(()=>(window.addEventListener("resize",o,!1),()=>{window.removeEventListener("resize",o,!1)}),[o])}function ZM(o,r){if(r==="rtl")return o.replace("start","right").replace("end","left");return o.replace("start","left").replace("end","right")}var x0=F(J(),1);function eE(o){let{ref:r,onInteractOutside:i,isDisabled:c,onInteractOutsideStart:u}=o,f=x0.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),b=fa((g)=>{if(i&&JC(g,r)){if(u)u(g);f.current.isPointerDown=!0}}),m=fa((g)=>{if(i)i(g)});x0.useEffect(()=>{let g=f.current;if(c)return;let x=r.current,v=Ke(x);if(typeof PointerEvent<"u"){let h=(T)=>{if(g.isPointerDown&&JC(T,r))m(T);g.isPointerDown=!1};return v.addEventListener("pointerdown",b,!0),v.addEventListener("click",h,!0),()=>{v.removeEventListener("pointerdown",b,!0),v.removeEventListener("click",h,!0)}}},[r,c])}function JC(o,r){if(o.button>0)return!1;let i=ce(o);if(i){let c=i.ownerDocument;if(!c||!Ve(c.documentElement,i))return!1;if(i.closest("[data-react-aria-top-layer]"))return!1}if(!r.current)return!1;return!o.composedPath().includes(r.current)}var S0=F(J(),1),yr=[];function C0(o,r){let{onClose:i,shouldCloseOnBlur:c,isOpen:u,isDismissable:f=!1,isKeyboardDismissDisabled:b=!1,shouldCloseOnInteractOutside:m}=o,g=S0.useRef(void 0);S0.useEffect(()=>{if(u&&!yr.includes(r))return yr.push(r),()=>{let w=yr.indexOf(r);if(w>=0)yr.splice(w,1)}},[u,r]);let x=()=>{if(yr[yr.length-1]===r&&i)i()},v=(w)=>{let L=yr[yr.length-1];if(g.current=L,!m||m(ce(w))){if(L===r)w.stopPropagation()}},h=(w)=>{if(!m||m(ce(w))){if(yr[yr.length-1]===r)w.stopPropagation();if(g.current===r)x()}g.current=void 0},T=(w)=>{if(w.key==="Escape"&&!b&&!w.nativeEvent.isComposing)w.stopPropagation(),w.preventDefault(),x()};eE({ref:r,onInteractOutside:f&&u?h:void 0,onInteractOutsideStart:v});let{focusWithinProps:R}=di({isDisabled:!c,onBlurWithin:(w)=>{if(!w.relatedTarget||bC(w.relatedTarget))return;if(!m||m(w.relatedTarget))i?.()}});return{overlayProps:{onKeyDown:T,...R},underlayProps:{}}}var _f=typeof document<"u"&&window.visualViewport,E0=0,B1;function R0(o={}){let{isDisabled:r}=o;Le(()=>{if(r)return;if(E0++,E0===1)if(Cn())B1=JM();else B1=WM();return()=>{if(E0--,E0===0)B1()}},[r])}function WM(){let o=window.innerWidth-document.documentElement.clientWidth;return Lo(o>0&&("scrollbarGutter"in document.documentElement.style?T0(document.documentElement,"scrollbarGutter","stable"):T0(document.documentElement,"paddingRight",`${o}px`)),T0(document.documentElement,"overflow","hidden"))}function JM(){let o=T0(document.documentElement,"overflow","hidden"),r,i=!1,c=(v)=>{let h=ce(v);r=zo(h)?h:yf(h,!0),i=!1;let T=h.ownerDocument.defaultView.getSelection();if(T&&!T.isCollapsed&&T.containsNode(h,!0))i=!0;if(v.composedPath().some((R)=>R instanceof HTMLInputElement&&R.type==="range"))i=!0;if("selectionStart"in h&&"selectionEnd"in h&&h.selectionStart<h.selectionEnd&&h.ownerDocument.activeElement===h)i=!0},u=document.createElement("style"),f=Ib();if(f)u.nonce=f;u.textContent=`
|
|
247
|
+
@layer {
|
|
248
|
+
* {
|
|
249
|
+
overscroll-behavior: contain;
|
|
250
|
+
}
|
|
251
|
+
}`.trim(),document.head.prepend(u);let b=(v)=>{if(v.touches.length===2||i)return;if(!r||r===document.documentElement||r===document.body){v.preventDefault();return}if(r.scrollHeight===r.clientHeight&&r.scrollWidth===r.clientWidth)v.preventDefault()},m=(v)=>{let h=ce(v),T=v.relatedTarget;if(T&&vs(T))T.focus({preventScroll:!0}),tE(T,vs(h));else if(!T)h.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},g=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(v){let h=tt(),T=h!=null&&vs(h);if(g.call(this,{...v,preventScroll:!0}),!v||!v.preventScroll)tE(this,T)};let x=Lo(I1(document,"touchstart",c,{passive:!1,capture:!0}),I1(document,"touchmove",b,{passive:!1,capture:!0}),I1(document,"blur",m,!0));return()=>{o(),x(),u.remove(),HTMLElement.prototype.focus=g}}function T0(o,r,i){let c=o.style[r];return o.style[r]=i,()=>{o.style[r]=c}}function I1(o,r,i,c){return o.addEventListener(r,i,c),()=>{o.removeEventListener(r,i,c)}}function tE(o,r){if(r||!_f)aE(o);else _f.addEventListener("resize",()=>aE(o),{once:!0})}function aE(o){let r=document.scrollingElement||document.documentElement,i=o;while(i&&i!==r){let c=yf(i);if(c!==document.documentElement&&c!==document.body&&c!==i){let u=c.getBoundingClientRect(),f=i.getBoundingClientRect();if(f.top<u.top||f.bottom>u.top+i.clientHeight){let b=u.bottom;if(_f)b=Math.min(b,_f.offsetTop+_f.height);let m=f.top-u.top-((b-u.top)/2-f.height/2);c.scrollTo({top:Math.max(0,Math.min(c.scrollHeight-c.clientHeight,c.scrollTop+m)),behavior:"smooth"})}}i=c.parentElement}}var oE=F(J(),1);function H1(o,r){let{triggerRef:i,popoverRef:c,groupRef:u,isNonModal:f,isKeyboardDismissDisabled:b,shouldCloseOnInteractOutside:m,...g}=o,x=g.trigger==="SubmenuTrigger",{overlayProps:v,underlayProps:h}=C0({isOpen:r.isOpen,onClose:r.close,shouldCloseOnBlur:!0,isDismissable:!f||x,isKeyboardDismissDisabled:b,shouldCloseOnInteractOutside:m},u??c),{overlayProps:T,arrowProps:R,placement:w,triggerAnchorPoint:L}=WC({...g,targetRef:i,overlayRef:c,isOpen:r.isOpen,onClose:f&&!x?r.close:null});return R0({isDisabled:f||!r.isOpen}),oE.useEffect(()=>{if(r.isOpen&&c.current)if(f)return HC(u?.current??c.current);else return $0([u?.current??c.current],{shouldUseInert:!0})},[f,r.isOpen,c,u]),{popoverProps:be(v,T),arrowProps:R,underlayProps:h,placement:w,triggerAnchorPoint:L}}var F1={};F1={dismiss:"تجاهل"};var U1={};U1={dismiss:"Отхвърляне"};var V1={};V1={dismiss:"Odstranit"};var K1={};K1={dismiss:"Luk"};var j1={};j1={dismiss:"Schließen"};var G1={};G1={dismiss:"Απόρριψη"};var q1={};q1={dismiss:"Dismiss"};var Y1={};Y1={dismiss:"Descartar"};var X1={};X1={dismiss:"Lõpeta"};var Q1={};Q1={dismiss:"Hylkää"};var Z1={};Z1={dismiss:"Rejeter"};var W1={};W1={dismiss:"התעלם"};var J1={};J1={dismiss:"Odbaci"};var ev={};ev={dismiss:"Elutasítás"};var tv={};tv={dismiss:"Ignora"};var av={};av={dismiss:"閉じる"};var ov={};ov={dismiss:"무시"};var nv={};nv={dismiss:"Atmesti"};var rv={};rv={dismiss:"Nerādīt"};var lv={};lv={dismiss:"Lukk"};var iv={};iv={dismiss:"Negeren"};var sv={};sv={dismiss:"Zignoruj"};var cv={};cv={dismiss:"Descartar"};var uv={};uv={dismiss:"Dispensar"};var dv={};dv={dismiss:"Revocare"};var fv={};fv={dismiss:"Пропустить"};var pv={};pv={dismiss:"Zrušiť"};var mv={};mv={dismiss:"Opusti"};var bv={};bv={dismiss:"Odbaci"};var gv={};gv={dismiss:"Avvisa"};var hv={};hv={dismiss:"Kapat"};var $v={};$v={dismiss:"Скасувати"};var yv={};yv={dismiss:"取消"};var vv={};vv={dismiss:"關閉"};var xv={};xv={"ar-AE":F1,"bg-BG":U1,"cs-CZ":V1,"da-DK":K1,"de-DE":j1,"el-GR":G1,"en-US":q1,"es-ES":Y1,"et-EE":X1,"fi-FI":Q1,"fr-FR":Z1,"he-IL":W1,"hr-HR":J1,"hu-HU":ev,"it-IT":tv,"ja-JP":av,"ko-KR":ov,"lt-LT":nv,"lv-LV":rv,"nb-NO":lv,"nl-NL":iv,"pl-PL":sv,"pt-BR":cv,"pt-PT":uv,"ro-RO":dv,"ru-RU":fv,"sk-SK":pv,"sl-SI":mv,"sr-SP":bv,"sv-SE":gv,"tr-TR":hv,"uk-UA":$v,"zh-CN":yv,"zh-TW":vv};var Sv=F(J(),1);function eO(o){return o&&o.__esModule?o.default:o}function hu(o){let{onDismiss:r,...i}=o,c=Ss(eO(xv),"@react-aria/overlays"),u=ni(i,c.format("dismiss")),f=()=>{if(r)r()};return Sv.default.createElement(G9,null,Sv.default.createElement("button",{...u,tabIndex:-1,onClick:f,style:{width:1,height:1}}))}var ks=F(J(),1);function nE({children:o}){let r=ks.useMemo(()=>({register:()=>{}}),[]);return ks.default.createElement(gf.Provider,{value:r},o)}var zf=F(J(),1),tO=zf.createContext({});function rE(){return zf.useContext(tO)??{}}var Pn=F(J(),1),lE=F(sr(),1),iE=Pn.default.createContext(null);function $u(o){let r=Xa(),{portalContainer:i=r?null:document.body,isExiting:c}=o,[u,f]=Pn.useState(!1),b=Pn.useMemo(()=>({contain:u,setContain:f}),[u,f]),{getContainer:m}=rE();if(!o.portalContainer&&m)i=m();if(!i)return null;let g=o.children;if(!o.disableFocusManagement)g=Pn.default.createElement(Df,{restoreFocus:!0,contain:(o.shouldContainFocus||u)&&!c},g);return g=Pn.default.createElement(iE.Provider,{value:b},Pn.default.createElement(nE,null,g)),lE.default.createPortal(g,i)}function w0(){let r=Pn.useContext(iE)?.setContain;Le(()=>{r?.(!0)},[r])}var D0=F(J(),1);function _s(o){let[r,i]=Tn(o.isOpen,o.defaultOpen||!1,o.onOpenChange),c=D0.useCallback(()=>{i(!0)},[i]),u=D0.useCallback(()=>{i(!1)},[i]),f=D0.useCallback(()=>{i(!r)},[i,r]);return{isOpen:r,setOpen:i,open:c,close:u,toggle:f}}var gt=F(J(),1);var sE=F(sr(),1),yu=F(J(),1);function hi(o,r=!0){let[i,c]=yu.useState(!0),u=i&&r;return Le(()=>{if(u&&o.current&&"getAnimations"in o.current){for(let f of o.current.getAnimations())if(f instanceof CSSTransition)f.cancel()}},[o,u]),cE(o,u,yu.useCallback(()=>c(!1),[])),u}function $i(o,r){let[i,c]=yu.useState(r?"open":"closed");switch(i){case"open":if(!r)c("exiting");break;case"closed":case"exiting":if(r)c("open");break}let u=i==="exiting";return cE(o,u,yu.useCallback(()=>{c((f)=>f==="exiting"?"closed":f)},[])),u}function cE(o,r,i){Le(()=>{if(r&&o.current){if(!("getAnimations"in o.current)){i();return}let c=o.current.getAnimations();if(c.length===0){i();return}let u=!1;return Promise.allSettled(c.map((f)=>f.finished)).then(()=>{if(!u)sE.flushSync(()=>{i()})}),()=>{u=!0}}},[o,r,i])}var A0=gt.createContext(null),uE=gt.createContext(null),yi=gt.forwardRef(function(r,i){[r,i]=bt(r,i,A0);let c=gt.useContext(vr),u=_s(r),f=r.isOpen!=null||r.defaultOpen!=null||!c?u:c,b=$i(i,f.isOpen)||r.isExiting||!1,m=Ky(),{direction:g}=Pa();if(m){let x=r.children;if(typeof x==="function")x=x({trigger:r.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null});return gt.default.createElement(gt.default.Fragment,null,x)}if(f&&!f.isOpen&&!b)return null;return gt.default.createElement(aO,{...r,triggerRef:r.triggerRef,state:f,popoverRef:i,isExiting:b,dir:g})});function aO({state:o,isExiting:r,UNSTABLE_portalContainer:i,clearContexts:c,...u}){let f=gt.useRef(null),b=gt.useRef(null),m=gt.useContext(uE),g=m&&u.trigger==="SubmenuTrigger",{popoverProps:x,underlayProps:v,arrowProps:h,placement:T,triggerAnchorPoint:R}=H1({...u,offset:u.offset??8,arrowRef:f,groupRef:g?m:b},o),w=u.popoverRef,L=hi(w,!!T)||u.isEntering||!1,M=dt({...u,defaultClassName:"react-aria-Popover",values:{trigger:u.trigger||null,placement:T,isEntering:L,isExiting:r}}),H=!u.isNonModal||u.trigger==="SubmenuTrigger",[I,X]=gt.useState(!1);Le(()=>{if(w.current)X(H&&!w.current.querySelector("[role=dialog]"))},[w,H]),gt.useEffect(()=>{if(I&&(u.trigger!=="SubmenuTrigger"||mr()!=="pointer")&&w.current&&!pr(w.current))Za(w.current)},[I,w,u.trigger]);let Z=gt.useMemo(()=>{let j=M.children;if(c)for(let ye of c)j=gt.default.createElement(ye.Provider,{value:null},j);return j},[M.children,c]),[ge,he]=gt.useState(null),ae=gt.useCallback(()=>{if(u.triggerRef.current)he(u.triggerRef.current.getBoundingClientRect().width+"px")},[u.triggerRef]);Le(ae,[ae]),gu({ref:M.style?.["--trigger-width"]?void 0:u.triggerRef,onResize:ae});let U={...x.style,"--trigger-anchor-point":R?`${R.x}px ${R.y}px`:void 0,...M.style,"--trigger-width":M.style?.["--trigger-width"]||ge},te=gt.default.createElement(qe.div,{...be(_e(u,{global:!0}),x),...M,role:I?"dialog":void 0,tabIndex:I?-1:void 0,"aria-label":u["aria-label"],"aria-labelledby":u["aria-labelledby"],ref:w,slot:u.slot||void 0,style:U,dir:u.dir,"data-trigger":u.trigger,"data-placement":T,"data-entering":L||void 0,"data-exiting":r||void 0},!u.isNonModal&>.default.createElement(hu,{onDismiss:o.close}),gt.default.createElement(BC.Provider,{value:{...h,placement:T,ref:f}},Z),gt.default.createElement(hu,{onDismiss:o.close}));if(!g)return gt.default.createElement($u,{...u,shouldContainFocus:I,isExiting:r,portalContainer:i},!u.isNonModal&&o.isOpen&>.default.createElement("div",{"data-testid":"underlay",...v,style:{position:"fixed",inset:0}}),gt.default.createElement("div",{ref:b,style:{display:"contents"}},gt.default.createElement(uE.Provider,{value:b},te)));return gt.default.createElement($u,{...u,shouldContainFocus:I,isExiting:r,portalContainer:i??m?.current??void 0},te)}var P0=F(J(),1),dE=P0.createContext({});var Cv={};Cv={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Ev={};Ev={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Tv={};Tv={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Rv={};Rv={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var wv={};wv={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var Dv={};Dv={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var Av={};Av={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Pv={};Pv={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Mv={};Mv={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var Ov={};Ov={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Nv={};Nv={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Lv={};Lv={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var kv={};kv={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var _v={};_v={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var zv={};zv={longPressMessage:"Premi a lungo o premi Alt + Freccia giù per aprire il menu"};var Bv={};Bv={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Iv={};Iv={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Hv={};Hv={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Fv={};Fv={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var Uv={};Uv={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var Vv={};Vv={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Kv={};Kv={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var jv={};jv={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Gv={};Gv={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var qv={};qv={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Yv={};Yv={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var Xv={};Xv={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Qv={};Qv={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var Zv={};Zv={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var Wv={};Wv={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Jv={};Jv={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var e2={};e2={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var t2={};t2={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var a2={};a2={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var o2={};o2={"ar-AE":Cv,"bg-BG":Ev,"cs-CZ":Tv,"da-DK":Rv,"de-DE":wv,"el-GR":Dv,"en-US":Av,"es-ES":Pv,"et-EE":Mv,"fi-FI":Ov,"fr-FR":Nv,"he-IL":Lv,"hr-HR":kv,"hu-HU":_v,"it-IT":zv,"ja-JP":Bv,"ko-KR":Iv,"lt-LT":Hv,"lv-LV":Fv,"nb-NO":Uv,"nl-NL":Vv,"pl-PL":Kv,"pt-BR":jv,"pt-PT":Gv,"ro-RO":qv,"ru-RU":Yv,"sk-SK":Xv,"sl-SI":Qv,"sr-SP":Zv,"sv-SE":Wv,"tr-TR":Jv,"uk-UA":e2,"zh-CN":t2,"zh-TW":a2};var fE=F(J(),1);function pE(o,r,i){let{type:c}=o,{isOpen:u}=r;fE.useEffect(()=>{if(i&&i.current)z1.set(i.current,r.close)});let f=void 0;if(c==="menu")f=!0;else if(c==="listbox")f="listbox";let b=vt();return{triggerProps:{"aria-haspopup":f,"aria-expanded":u,"aria-controls":u?b:void 0,onPress:r.toggle},overlayProps:{id:b}}}function oO(o){return o&&o.__esModule?o.default:o}function n2(o,r,i){let{type:c="menu",isDisabled:u,trigger:f="press"}=o,b=vt(),{triggerProps:m,overlayProps:g}=pE({type:c},r,i),x=(R)=>{if(u)return;if(f==="longPress"&&!R.altKey)return;if(i&&i.current)switch(R.key){case"Enter":case" ":if(f==="longPress"||R.isDefaultPrevented())return;case"ArrowDown":if(!("continuePropagation"in R))R.stopPropagation();R.preventDefault(),r.toggle("first");break;case"ArrowUp":if(!("continuePropagation"in R))R.stopPropagation();R.preventDefault(),r.toggle("last");break;default:if("continuePropagation"in R)R.continuePropagation()}},v=Ss(oO(o2),"@react-aria/menu"),{longPressProps:h}=f0({isDisabled:u||f!=="longPress",accessibilityDescription:v.format("longPressMessage"),onLongPressStart(){r.close()},onLongPress(){r.open("first")}}),T={preventFocusOnPress:!0,onPressStart(R){if(R.pointerType!=="touch"&&R.pointerType!=="keyboard"&&!u)Sa(R.target),r.open(R.pointerType==="virtual"?"first":null)},onPress(R){if(R.pointerType==="touch"&&!u)Sa(R.target),r.toggle()}};return delete m.onPress,{menuTriggerProps:{...m,...f==="press"?T:h,id:b,onKeyDown:x},menuProps:{...g,"aria-labelledby":b,autoFocus:r.focusStrategy||!0,onClose:r.close}}}var mE=new WeakMap;var r2=F(J(),1);function l2(o,r,i){let{id:c,key:u,closeOnSelect:f,shouldCloseOnSelect:b,isVirtualized:m,"aria-haspopup":g,onPressStart:x,onPressUp:v,onPress:h,onPressChange:T,onPressEnd:R,onClick:w,onHoverStart:L,onHoverChange:M,onHoverEnd:H,onKeyDown:I,onKeyUp:X,onFocus:Z,onFocusChange:ge,onBlur:he,selectionManager:ae=r.selectionManager}=o,U=!!g,te=U&&o["aria-expanded"]==="true",j=o.isDisabled??ae.isDisabled(u),ye=o.isSelected??ae.isSelected(u),de=mE.get(r),re=r.collection.getItem(u),O=o.onClose||de.onClose,z=hs(),K=()=>{if(U)return;if(re?.props?.onAction)re.props.onAction();else if(o.onAction)o.onAction(u);if(de.onAction){let Te=de.onAction;Te(u)}},V="menuitem";if(!U){if(ae.selectionMode==="single")V="menuitemradio";else if(ae.selectionMode==="multiple")V="menuitemcheckbox"}let le=on(),Q=on(),C=on(),W={id:c,"aria-disabled":j||void 0,role:V,"aria-label":o["aria-label"],"aria-labelledby":le,"aria-describedby":[o["aria-describedby"],Q,C].filter(Boolean).join(" ")||void 0,"aria-controls":o["aria-controls"],"aria-haspopup":g,"aria-expanded":o["aria-expanded"]};if(ae.selectionMode!=="none"&&!U)W["aria-checked"]=ye;if(m){let Te=Number(re?.index);W["aria-posinset"]=Number.isNaN(Te)?void 0:Te+1,W["aria-setsize"]=Pf(r.collection)}let ve=r2.useRef(!1),Ce=(Te)=>{T?.(Te),ve.current=Te},Ne=r2.useRef(null),He=(Te)=>{if(Te.pointerType!=="keyboard")Ne.current={pointerType:Te.pointerType};if(Te.pointerType==="mouse"){if(!ve.current)Te.target.click()}v?.(Te)},xe=(Te)=>{w?.(Te),K(),u9(Te,z,re.props.href,re?.props.routerOptions);let Fo=Ne.current?.pointerType==="keyboard"?Ne.current?.key==="Enter"||ae.selectionMode==="none"||ae.isLink(u):ae.selectionMode!=="multiple"||ae.isLink(u);if(Fo=b??f??Fo,O&&!U&&Fo)O();Ne.current=null},{itemProps:Xe,isFocused:ht}=pu({id:c,selectionManager:ae,key:u,ref:i,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:de.shouldUseVirtualFocus}),{pressProps:ft,isPressed:un}=ui({onPressStart:x,onPress:h,onPressUp:He,onPressChange:Ce,onPressEnd:R,isDisabled:j}),{hoverProps:me}=Oa({isDisabled:j,onHoverStart(Te){if(!En()&&!(te&&g))ae.setFocused(!0),ae.setFocusedKey(u);L?.(Te)},onHoverChange:M,onHoverEnd:H}),{keyboardProps:se}=Ts({onKeyDown:(Te)=>{if(Te.repeat){Te.continuePropagation();return}switch(Te.key){case" ":Ne.current={pointerType:"keyboard",key:" "},ce(Te).click(),ai("keyboard");break;case"Enter":if(Ne.current={pointerType:"keyboard",key:"Enter"},ce(Te).tagName!=="A")ce(Te).click();ai("keyboard");break;default:if(!U)Te.continuePropagation();I?.(Te);break}},onKeyUp:X}),{focusableProps:Ge}=ii({onBlur:he,onFocus:Z,onFocusChange:ge},i),pa=_e(re?.props);delete pa.id;let It=Wc(re?.props);return{menuItemProps:{...W,...be(pa,It,U?{onFocus:Xe.onFocus,"data-collection":Xe["data-collection"],"data-key":Xe["data-key"]}:Xe,ft,me,se,Ge,de.shouldUseVirtualFocus||U?{onMouseDown:(Te)=>Te.preventDefault()}:void 0,j?void 0:{onClick:xe}),tabIndex:Xe.tabIndex!=null&&te&&!de.shouldUseVirtualFocus?-1:Xe.tabIndex},labelProps:{id:le},descriptionProps:{id:Q},keyboardShortcutProps:{id:C},isFocused:ht,isFocusVisible:ht&&ae.isFocused&&En()&&!te,isSelected:ye,isPressed:un,isDisabled:j}}var fo=F(J(),1);var gE=fo.createContext(null);var nO=fo.createContext(null);class rO extends Bo{static{this.type="submenutrigger"}filter(o,r,i){let c=o.getItem(this.firstChildKey);if(c&&i(c.textValue,this)){let u=this.clone();return r.addDescendants(u,o),u}return null}}var bE=fo.createContext(null),zs=hr(su,function(r,i,c){[r,i]=bt(r,i,bE);let u=fr(bE)?.id,f=fo.useContext(gE),b=Qa(i),m=fo.useContext(nO),{isVirtualized:g}=fo.useContext(ol),{menuItemProps:x,labelProps:v,descriptionProps:h,keyboardShortcutProps:T,...R}=l2({...r,id:u,key:c.key,selectionManager:m,isVirtualized:g},f,b),{hoverProps:w,isHovered:L}=Oa({isDisabled:R.isDisabled}),M=dt({...r,id:void 0,children:c.rendered,defaultClassName:"react-aria-MenuItem",values:{...R,isHovered:L,isFocusVisible:R.isFocusVisible,selectionMode:m.selectionMode,selectionBehavior:m.selectionBehavior,hasSubmenu:!!r["aria-haspopup"],isOpen:r["aria-expanded"]==="true"}}),H=r.href?qe.a:qe.div,I=_e(r,{global:!0});return delete I.id,delete I.onClick,fo.default.createElement(H,{...be(I,M,x,w),ref:b,"data-disabled":R.isDisabled||void 0,"data-hovered":L||void 0,"data-focused":R.isFocused||void 0,"data-focus-visible":R.isFocusVisible||void 0,"data-pressed":R.isPressed||void 0,"data-selected":R.isSelected||void 0,"data-selection-mode":m.selectionMode==="none"?void 0:m.selectionMode,"data-has-submenu":!!r["aria-haspopup"]||void 0,"data-open":r["aria-expanded"]==="true"||void 0},fo.default.createElement(xa,{values:[[rn,{slots:{[dr]:v,label:v,description:h}}],[dE,T],[du,{isSelected:R.isSelected}]]},M.children))});var vu=F(J(),1);function i2(o,r){let{role:i="dialog"}=o,c=on();c=o["aria-label"]?void 0:c;let u=vu.useRef(!1);vu.useEffect(()=>{if(r.current&&!pr(r.current)){Za(r.current);let b=setTimeout(()=>{if(tt()===r.current||tt()===document.body){if(u.current=!0,r.current)r.current.blur(),Za(r.current);u.current=!1}},500);return()=>{clearTimeout(b)}}},[r]),w0();let f=vu.useRef(!1);return vu.useEffect(()=>{if(!f.current&&r.current){let b=r.current,m=b.hasAttribute("aria-label"),g=b.hasAttribute("aria-labelledby");if(!m&&!g)console.warn("A dialog must have a title for accessibility. Either provide an aria-label or aria-labelledby prop, or render a heading element inside the dialog."),f.current=!0}}),{dialogProps:{..._e(o,{labelable:!0}),role:i,tabIndex:-1,"aria-labelledby":o["aria-labelledby"]||c,onBlur:(b)=>{if(u.current)b.stopPropagation()}},titleProps:{id:c}}}var Mn=F(J(),1);var hE=Mn.createContext(null),vr=Mn.createContext(null);var Bf=Mn.forwardRef(function(r,i){let c=r["aria-labelledby"];[r,i]=bt(r,i,hE);let{dialogProps:u,titleProps:f}=i2({...r,"aria-labelledby":c},i),b=Mn.useContext(vr);if(!u["aria-label"]&&!u["aria-labelledby"])if(r["aria-labelledby"])u["aria-labelledby"]=r["aria-labelledby"];else console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.');let m=dt({defaultClassName:"react-aria-Dialog",className:r.className,style:r.style,children:r.children,values:{close:b?.close||(()=>{})}}),g=_e(r,{global:!0});return Mn.default.createElement(qe.section,{...be(g,m,u),render:r.render,ref:i,slot:r.slot||void 0},Mn.default.createElement(xa,{values:[[Fb,{slots:{[dr]:{},title:{...f,level:2}}}],[br,{slots:{[dr]:{},close:{onPress:()=>b?.close()}}}]]},m.children))});var M0=F(J(),1);function s2(o,r){let{inputElementType:i="input",isDisabled:c=!1,isRequired:u=!1,isReadOnly:f=!1,type:b="text",validationBehavior:m="aria"}=o,[g,x]=Tn(o.value,o.defaultValue||"",o.onChange),{focusableProps:v}=ii(o,r),h=xf({...o,value:g}),{isInvalid:T,validationErrors:R,validationDetails:w}=h.displayValidation,{labelProps:L,fieldProps:M,descriptionProps:H,errorMessageProps:I}=jb({...o,isInvalid:T,errorMessage:o.errorMessage||R}),X=_e(o,{labelable:!0}),Z={type:b,pattern:o.pattern},[ge]=M0.useState(g);return Gb(r,o.defaultValue??ge,x),Yb(o,h,r),{labelProps:L,inputProps:be(X,i==="input"?Z:void 0,{disabled:c,readOnly:f,required:u&&m==="native","aria-required":u&&m==="aria"||void 0,"aria-invalid":T||void 0,"aria-errormessage":o["aria-errormessage"],"aria-activedescendant":o["aria-activedescendant"],"aria-autocomplete":o["aria-autocomplete"],"aria-haspopup":o["aria-haspopup"],"aria-controls":o["aria-controls"],value:g,onChange:(he)=>x(ce(he).value),autoComplete:o.autoComplete,autoCapitalize:o.autoCapitalize,maxLength:o.maxLength,minLength:o.minLength,name:o.name,form:o.form,placeholder:o.placeholder,inputMode:o.inputMode,autoCorrect:o.autoCorrect,spellCheck:o.spellCheck,[parseInt(M0.default.version,10)>=17?"enterKeyHint":"enterkeyhint"]:o.enterKeyHint,onCopy:o.onCopy,onCut:o.onCut,onPaste:o.onPaste,onCompositionEnd:o.onCompositionEnd,onCompositionStart:o.onCompositionStart,onCompositionUpdate:o.onCompositionUpdate,onSelect:o.onSelect,onBeforeInput:o.onBeforeInput,onInput:o.onInput,...v,...M}),descriptionProps:H,errorMessageProps:I,isInvalid:T,validationErrors:R,validationDetails:w}}var $E=F(J(),1);function c2(o={}){let{locale:r}=Pa();return $E.useMemo(()=>new Intl.ListFormat(r,o),[r,o])}var yE=F(sr(),1),Bs=F(J(),1);function u2(o,r,i){let{isDisabled:c}=o,u=vt(),f=vt(),b=Xa(),m=Bs.useRef(null),g=Bs.useCallback(()=>{m.current=requestAnimationFrame(()=>{if(i.current)i.current.setAttribute("hidden","until-found")}),yE.flushSync(()=>{r.toggle()})},[i,r]);xs(i,"beforematch",g);let x=Bs.useRef(null);return Le(()=>{if(m.current)cancelAnimationFrame(m.current);if(i.current&&!b){let v=i.current;if(x.current==null||typeof v.getAnimations!=="function")if(r.isExpanded)v.removeAttribute("hidden"),v.style.setProperty("--disclosure-panel-width","auto"),v.style.setProperty("--disclosure-panel-height","auto");else v.setAttribute("hidden","until-found"),v.style.setProperty("--disclosure-panel-width","0px"),v.style.setProperty("--disclosure-panel-height","0px");else if(r.isExpanded!==x.current)if(r.isExpanded)v.removeAttribute("hidden"),v.style.setProperty("--disclosure-panel-width",v.scrollWidth+"px"),v.style.setProperty("--disclosure-panel-height",v.scrollHeight+"px"),Promise.all(v.getAnimations().map((h)=>h.finished)).then(()=>{v.style.setProperty("--disclosure-panel-width","auto"),v.style.setProperty("--disclosure-panel-height","auto")}).catch(()=>{});else v.style.setProperty("--disclosure-panel-width",v.scrollWidth+"px"),v.style.setProperty("--disclosure-panel-height",v.scrollHeight+"px"),window.getComputedStyle(v).height,v.style.setProperty("--disclosure-panel-width","0px"),v.style.setProperty("--disclosure-panel-height","0px"),Promise.all(v.getAnimations().map((h)=>h.finished)).then(()=>v.setAttribute("hidden","until-found")).catch(()=>{});x.current=r.isExpanded}},[c,i,r.isExpanded,b]),Bs.useEffect(()=>()=>{if(m.current)cancelAnimationFrame(m.current)},[]),{buttonProps:{id:u,"aria-expanded":r.isExpanded,"aria-controls":f,onPress:(v)=>{if(!c&&v.pointerType!=="keyboard")r.toggle()},isDisabled:c,onPressStart(v){if(v.pointerType==="keyboard"&&!c)r.toggle()}},panelProps:{id:f,role:"group","aria-labelledby":u,"aria-hidden":!r.isExpanded,hidden:b?!r.isExpanded:void 0}}}var O0=F(J(),1);function d2(o){let[r,i]=Tn(o.isExpanded,o.defaultExpanded||!1,o.onExpandedChange),c=O0.useCallback(()=>{i(!0)},[i]),u=O0.useCallback(()=>{i(!1)},[i]),f=O0.useCallback(()=>{i(!r)},[i,r]);return{isExpanded:r,setExpanded:i,expand:c,collapse:u,toggle:f}}var Na=F(J(),1);var vE=Na.createContext(null);var xE=Na.createContext(null),SE=Na.createContext(null),CE=Na.createContext(null),f2=Na.forwardRef(function(r,i){[r,i]=bt(r,i,xE);let c=Na.useContext(vE),{id:u,...f}=r,b=vt();u||=b;let m=c?c.expandedKeys.has(u):r.isExpanded,g=d2({...r,isExpanded:m,onExpandedChange(H){if(c)c.toggleKey(u);r.onExpandedChange?.(H)}}),x=Na.default.useRef(null),v=r.isDisabled||c?.isDisabled||!1,{buttonProps:h,panelProps:T}=u2({...r,isExpanded:m,isDisabled:v},g,x),{isFocusVisible:R,focusProps:w}=Ma({within:!0}),L=dt({...r,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:g.isExpanded,isDisabled:v,isFocusVisibleWithin:R,state:g}}),M=_e(f,{global:!0});return Na.default.createElement(xa,{values:[[br,{slots:{[dr]:{},trigger:h}}],[CE,{panelProps:T,panelRef:x}],[SE,g]]},Na.default.createElement(qe.div,{...be(M,L,w),ref:i,"data-expanded":g.isExpanded||void 0,"data-disabled":v||void 0,"data-focus-visible-within":R||void 0},L.children))}),p2=Na.forwardRef(function(r,i){let{role:c="group"}=r,{panelProps:u,panelRef:f}=Na.useContext(CE),{isFocusVisible:b,focusProps:m}=Ma({within:!0}),g=dt({...r,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:b}}),x=_e(r,{global:!0,labelable:!0});return Na.default.createElement(qe.div,{...be(x,g,u,m),ref:ur(i,f),role:c,"data-focus-visible-within":b||void 0},Na.default.createElement(xa,{values:[[br,null]]},r.children))});var m2={};m2={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var b2={};b2={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var g2={};g2={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var h2={};h2={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var $2={};$2={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var y2={};y2={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var v2={};v2={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var x2={};x2={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var S2={};S2={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var C2={};C2={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var E2={};E2={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var T2={};T2={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var R2={};R2={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var w2={};w2={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var D2={};D2={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var A2={};A2={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var P2={};P2={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var M2={};M2={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var O2={};O2={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var N2={};N2={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var L2={};L2={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var k2={};k2={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var _2={};_2={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var z2={};z2={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var B2={};B2={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var I2={};I2={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var H2={};H2={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var F2={};F2={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var U2={};U2={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var V2={};V2={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var K2={};K2={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var j2={};j2={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var G2={};G2={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var q2={};q2={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var Y2={};Y2={"ar-AE":m2,"bg-BG":b2,"cs-CZ":g2,"da-DK":h2,"de-DE":$2,"el-GR":y2,"en-US":v2,"es-ES":x2,"et-EE":S2,"fi-FI":C2,"fr-FR":E2,"he-IL":T2,"hr-HR":R2,"hu-HU":w2,"it-IT":D2,"ja-JP":A2,"ko-KR":P2,"lt-LT":M2,"lv-LV":O2,"nb-NO":N2,"nl-NL":L2,"pl-PL":k2,"pt-BR":_2,"pt-PT":z2,"ro-RO":B2,"ru-RU":I2,"sk-SK":H2,"sl-SI":F2,"sr-SP":U2,"sv-SE":V2,"tr-TR":K2,"uk-UA":j2,"zh-CN":G2,"zh-TW":q2};var EE=F(J(),1);function X2(o,r,i){let{overlayProps:c,underlayProps:u}=C0({...o,isOpen:r.isOpen,onClose:r.close},i);return R0({isDisabled:!r.isOpen}),w0(),EE.useEffect(()=>{if(r.isOpen&&i.current)return $0([i.current],{shouldUseInert:!0})},[r.isOpen,i]),{modalProps:be(c),underlayProps:u}}var Bt=F(J(),1);var N0=F(J(),1),po=typeof document<"u"&&window.visualViewport;function Z2(){let o=Xa(),[r,i]=N0.useState(()=>o?{width:0,height:0}:Q2());return N0.useEffect(()=>{let c=(m)=>{i((g)=>{if(m.width===g.width&&m.height===g.height)return g;return m})},u=()=>{if(po&&po.scale>1)return;c(Q2())},f,b=(m)=>{if(po&&po.scale>1)return;if(vs(ce(m)))f=requestAnimationFrame(()=>{let g=tt();if(!g||!vs(g))c({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})})};if(c(Q2()),Cn())window.addEventListener("blur",b,!0);if(!po)window.addEventListener("resize",u);else po.addEventListener("resize",u);return()=>{if(cancelAnimationFrame(f),Cn())window.removeEventListener("blur",b,!0);if(!po)window.removeEventListener("resize",u);else po.removeEventListener("resize",u)}},[]),r}function Q2(){return{width:po?Math.min(po.width*po.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:po?po.height*po.scale:document.documentElement.clientHeight}}var RE=Bt.createContext(null),W2=Bt.createContext(null),If=Bt.forwardRef(function(r,i){if(Bt.useContext(W2)){if(r.onOpenChange||r.defaultOpen!==void 0||r.isOpen!==void 0){let L=new Set(["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"]),M=Object.keys(r).filter((H)=>L.has(H));console.warn(`This modal is already wrapped in a ModalOverlay, props [${M.join(", ")}] should be placed on the ModalOverlay instead.`)}return Bt.default.createElement(TE,{...r,modalRef:i},r.children)}let{isDismissable:u,isKeyboardDismissDisabled:f,isOpen:b,defaultOpen:m,onOpenChange:g,children:x,isEntering:v,isExiting:h,UNSTABLE_portalContainer:T,shouldCloseOnInteractOutside:R,...w}=r;return Bt.default.createElement(xu,{isDismissable:u,isKeyboardDismissDisabled:f,isOpen:b,defaultOpen:m,onOpenChange:g,isEntering:v,isExiting:h,UNSTABLE_portalContainer:T,shouldCloseOnInteractOutside:R},Bt.default.createElement(TE,{...w,modalRef:i},x))});function lO(o,r){[o,r]=bt(o,r,RE);let i=Bt.useContext(vr),c=_s(o),u=o.isOpen!=null||o.defaultOpen!=null||!i?c:i;if(u===i){if(o.onOpenChange||o.defaultOpen!==void 0||o.isOpen!==void 0)console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.")}let f=Qa(r),b=Bt.useRef(null),m=$i(f,u.isOpen),g=$i(b,u.isOpen),x=m||g||o.isExiting||!1,v=Xa();if(!u.isOpen&&!x||v)return null;return Bt.default.createElement(iO,{...o,state:u,isExiting:x,overlayRef:f,modalRef:b})}var xu=Bt.forwardRef(lO);function iO({UNSTABLE_portalContainer:o,...r}){let i=r.modalRef,{state:c}=r,{modalProps:u,underlayProps:f}=X2(r,c,i),b=hi(r.overlayRef)||r.isEntering||!1,m=dt({...r,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:b,isExiting:r.isExiting,state:c}}),g=Z2(),x=void 0,v=void 0;if(typeof document<"u"){let T=zo(document.body)?document.body:document.scrollingElement||document.documentElement,R=T.getBoundingClientRect().width%1,w=T.getBoundingClientRect().height%1;x=T.scrollWidth-R,v=T.scrollHeight-w}let h={...m.style,"--visual-viewport-width":g.width+"px","--visual-viewport-height":g.height+"px","--page-width":x!==void 0?x+"px":void 0,"--page-height":v!==void 0?v+"px":void 0};return Bt.default.createElement($u,{isExiting:r.isExiting,portalContainer:o},Bt.default.createElement(qe.div,{...be(_e(r,{global:!0}),f),...m,style:h,ref:r.overlayRef,"data-entering":b||void 0,"data-exiting":r.isExiting||void 0},Bt.default.createElement(xa,{values:[[W2,{modalProps:u,modalRef:i,isExiting:r.isExiting,isDismissable:r.isDismissable}],[vr,c]]},m.children)))}function TE(o){let{modalProps:r,modalRef:i,isExiting:c,isDismissable:u}=Bt.useContext(W2),f=Bt.useContext(vr),b=Bt.useMemo(()=>ur(o.modalRef,i),[o.modalRef,i]),m=Qa(b),g=hi(m),x=dt({...o,defaultClassName:"react-aria-Modal",values:{isEntering:g,isExiting:c,state:f}});return Bt.default.createElement(qe.div,{...be(_e(o,{global:!0}),r),...x,ref:m,"data-entering":g||void 0,"data-exiting":c||void 0},u&&Bt.default.createElement(hu,{onDismiss:f.close}),x.children)}var wE=F(J(),1),L0=new WeakMap;function J2(o,r,i){let{keyboardDelegate:c,isDisabled:u,isRequired:f,name:b,form:m,validationBehavior:g="aria"}=o,x=Os({usage:"search",sensitivity:"base"}),v=wE.useMemo(()=>c||new mi(r.collection,r.disabledKeys,i,x),[c,r.collection,r.disabledKeys,x,i]),{menuTriggerProps:h,menuProps:T}=n2({isDisabled:u,type:"listbox"},r,i),R=(te)=>{if(r.selectionManager.selectionMode==="multiple")return;switch(te.key){case"ArrowLeft":{te.preventDefault();let j=r.selectedKey!=null?v.getKeyAbove?.(r.selectedKey):v.getFirstKey?.();if(j!=null)r.setSelectedKey(j);break}case"ArrowRight":{te.preventDefault();let j=r.selectedKey!=null?v.getKeyBelow?.(r.selectedKey):v.getFirstKey?.();if(j!=null)r.setSelectedKey(j);break}}},{typeSelectProps:w}=c0({keyboardDelegate:v,selectionManager:r.selectionManager,onTypeSelect(te){r.setSelectedKey(te)}}),{isInvalid:L,validationErrors:M,validationDetails:H}=r.displayValidation,{labelProps:I,fieldProps:X,descriptionProps:Z,errorMessageProps:ge}=jb({...o,labelElementType:"span",isInvalid:L,errorMessage:o.errorMessage||M});if(w.onKeyDown=w.onKeyDownCapture,delete w.onKeyDownCapture,r.selectionManager.selectionMode==="multiple")w={};let he=_e(o,{labelable:!0}),ae=be(w,h,X),U=vt();return L0.set(r,{isDisabled:u,isRequired:f,name:b,form:m,validationBehavior:g}),{labelProps:{...I,onClick:()=>{if(!o.isDisabled)i.current?.focus(),ai("keyboard")}},triggerProps:be(he,{...ae,isDisabled:u,onKeyDown:Lo(ae.onKeyDown,R,o.onKeyDown),onKeyUp:o.onKeyUp,"aria-labelledby":[U,ae["aria-labelledby"],ae["aria-label"]&&!ae["aria-labelledby"]?ae.id:null].filter(Boolean).join(" "),onFocus(te){if(r.isFocused)return;if(o.onFocus)o.onFocus(te);if(o.onFocusChange)o.onFocusChange(!0);r.setFocused(!0)},onBlur(te){if(r.isOpen)return;if(o.onBlur)o.onBlur(te);if(o.onFocusChange)o.onFocusChange(!1);r.setFocused(!1)}}),valueProps:{id:U},menuProps:{...T,autoFocus:r.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:(te)=>{if(Ve(te.currentTarget,te.relatedTarget))return;if(o.onBlur)o.onBlur(te);if(o.onFocusChange)o.onFocusChange(!1);r.setFocused(!1)},"aria-labelledby":[X["aria-labelledby"],ae["aria-label"]&&!X["aria-labelledby"]?ae.id:null].filter(Boolean).join(" ")},descriptionProps:Z,errorMessageProps:ge,isInvalid:L,validationErrors:M,validationDetails:H,hiddenSelectProps:{isDisabled:u,name:b,label:o.label,state:r,triggerRef:i,form:m}}}var Ba=F(J(),1);function DE(o,r,i){let c=L0.get(r)||{},{autoComplete:u,name:f=c.name,form:b=c.form,isDisabled:m=c.isDisabled}=o,{validationBehavior:g,isRequired:x}=c,{visuallyHiddenProps:v}=n1({style:{position:"fixed",top:0,left:0}});Gb(o.selectRef,r.defaultValue,r.setValue),Yb({validationBehavior:g,focus:()=>i.current?.focus()},r,o.selectRef);let h=r.setValue,T=Ba.useCallback((R)=>{let w=ce(R);if(w.multiple)h(Array.from(w.selectedOptions,(L)=>L.value));else h(R.currentTarget.value)},[h]);return{containerProps:{...v,"aria-hidden":!0,["data-react-aria-prevent-focus"]:!0,["data-a11y-ignore"]:"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:u,disabled:m,multiple:r.selectionManager.selectionMode==="multiple",required:g==="native"&&x,name:f,form:b,value:r.value??"",onChange:T,onInput:T}}}function ex(o){let{state:r,triggerRef:i,label:c,name:u,form:f,isDisabled:b}=o,m=Ba.useRef(null),g=Ba.useRef(null),{containerProps:x,selectProps:v}=DE({...o,selectRef:r.collection.size<=300?m:g},r,i),h=Array.isArray(r.value)?r.value:[r.value];if(r.collection.size<=300)return Ba.default.createElement("div",{...x,"data-testid":"hidden-select-container"},Ba.default.createElement("label",null,c,Ba.default.createElement("select",{...v,ref:m},Ba.default.createElement("option",{value:"",label:" "}," "),[...r.collection.getKeys()].map((T)=>{let R=r.collection.getItem(T);if(R&&R.type==="item")return Ba.default.createElement("option",{key:R.key,value:R.key},R.textValue)}),r.collection.size===0&&u&&h.map((T,R)=>Ba.default.createElement("option",{key:R,value:T??""})))));else if(u){let T=L0.get(r)||{},{validationBehavior:R}=T;if(h.length===0)h=[null];let w=h.map((L,M)=>{let H={type:"hidden",autoComplete:v.autoComplete,name:u,form:f,disabled:b,value:L??""};if(R==="native")return Ba.default.createElement("input",{key:M,...H,ref:M===0?g:null,style:{display:"none"},type:"text",required:M===0?v.required:!1,onChange:()=>{}});return Ba.default.createElement("input",{key:M,...H,ref:M===0?g:null})});return Ba.default.createElement(Ba.default.Fragment,null,w)}return null}var Mt=F(J(),1);var il=F(J(),1);function tx(o){let{selectionMode:r="single",shouldCloseOnSelect:i=r==="single"}=o,c=_s(o),[u,f]=il.useState(null),b=il.useMemo(()=>o.defaultValue!==void 0?o.defaultValue:r==="single"?o.defaultSelectedKey??null:[],[o.defaultValue,o.defaultSelectedKey,r]),m=il.useMemo(()=>o.value!==void 0?o.value:r==="single"?o.selectedKey:void 0,[o.value,o.selectedKey,r]),[g,x]=Tn(m,b,o.onChange),v=r==="single"&&Array.isArray(g)?g[0]:g,h=(X)=>{if(r==="single"){let Z=Array.isArray(X)?X[0]??null:X;if(x(Z),Z!==v)o.onSelectionChange?.(Z)}else{let Z=[];if(Array.isArray(X))Z=X;else if(X!=null)Z=[X];x(Z)}},T=Mf({...o,selectionMode:r,disallowEmptySelection:r==="single",allowDuplicateSelectionEvents:!0,selectedKeys:il.useMemo(()=>sO(v),[v]),onSelectionChange:(X)=>{if(X==="all")return;if(r==="single"){let Z=X.values().next().value??null;h(Z)}else h([...X]);if(i)c.close();L.commitValidation()}}),R=T.selectionManager.firstSelectedKey,w=il.useMemo(()=>[...T.selectionManager.selectedKeys].map((X)=>T.collection.getItem(X)).filter((X)=>X!=null),[T.selectionManager.selectedKeys,T.collection]),L=xf({...o,value:Array.isArray(v)&&v.length===0?null:v}),[M,H]=il.useState(!1),[I]=il.useState(v);return{...L,...T,...c,value:v,defaultValue:b??I,setValue:h,selectedKey:R,setSelectedKey:h,selectedItem:w[0]??null,selectedItems:w,defaultSelectedKey:o.defaultSelectedKey??(o.selectionMode==="single"?I:null),focusStrategy:u,open(X=null){if(T.collection.size!==0||o.allowsEmptyCollection)f(X),c.open()},toggle(X=null){if(T.collection.size!==0||o.allowsEmptyCollection)f(X),c.toggle()},isFocused:M,setFocused:H}}function sO(o){if(o===void 0)return;if(o===null)return[];return Array.isArray(o)?o:[o]}function cO(o){return o&&o.__esModule?o.default:o}var k0=Mt.createContext(null),ax=Mt.createContext(null),ox=co(function(r,i){[r,i]=bt(r,i,k0);let{children:c,isDisabled:u=!1,isInvalid:f=!1,isRequired:b=!1}=r,m=Mt.useMemo(()=>typeof c==="function"?c({isOpen:!1,isDisabled:u,isInvalid:f,isRequired:b,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):c,[c,u,f,b]);return Mt.default.createElement(Ps,{content:m},(g)=>Mt.default.createElement(dO,{props:r,collection:g,selectRef:i}))}),uO=[Cs,br,rn];function dO({props:o,selectRef:r,collection:i}){let{validationBehavior:c}=fr(Kb)||{},u=o.validationBehavior??c??"native",f=tx({...o,collection:i,children:void 0,validationBehavior:u}),{isFocusVisible:b,focusProps:m}=Ma({within:!0}),g=Mt.useRef(null),[x,v]=gs(!o["aria-label"]&&!o["aria-labelledby"]),{labelProps:h,triggerProps:T,valueProps:R,menuProps:w,descriptionProps:L,errorMessageProps:M,hiddenSelectProps:H,...I}=J2({...fb(o),label:v,validationBehavior:u},f,g),X=Mt.useMemo(()=>({isOpen:f.isOpen,isFocused:f.isFocused,isFocusVisible:b,isDisabled:o.isDisabled||!1,isInvalid:I.isInvalid||!1,isRequired:o.isRequired||!1}),[f.isOpen,f.isFocused,b,o.isDisabled,I.isInvalid,o.isRequired]),Z=dt({...o,values:X,defaultClassName:"react-aria-Select"}),ge=_e(o,{global:!0});delete ge.id;let he=Mt.useRef(null);return Mt.default.createElement(xa,{values:[[k0,o],[ax,f],[nx,R],[Cs,{...h,ref:x,elementType:"span"}],[br,{...T,ref:g,isPressed:f.isOpen,autoFocus:o.autoFocus}],[vr,f],[A0,{trigger:"Select",triggerRef:g,scrollRef:he,placement:"bottom start","aria-labelledby":w["aria-labelledby"],clearContexts:uO}],[Of,{...w,ref:he}],[gi,f],[rn,{slots:{description:L,errorMessage:M}}],[ws,I]]},Mt.default.createElement(qe.div,{...be(ge,Z,m),ref:r,slot:o.slot||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":b||void 0,"data-open":f.isOpen||void 0,"data-disabled":o.isDisabled||void 0,"data-invalid":I.isInvalid||void 0,"data-required":o.isRequired||void 0},Z.children,Mt.default.createElement(ex,{...H,autoComplete:o.autoComplete})))}var nx=Mt.createContext(null),rx=co(function(r,i){[r,i]=bt(r,i,nx);let c=Mt.useContext(ax),{placeholder:u}=fr(k0),f=c.selectedItems.map((w)=>{let L=w.props?.children;if(typeof L==="function")L=L({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"});return L}),b=c2(),m=Mt.useMemo(()=>c.selectedItems.map((w)=>w?.textValue),[c.selectedItems]),g=c.selectionManager.selectionMode,x=Mt.useMemo(()=>g==="single"?m[0]??"":b.format(m),[g,b,m]),v=Mt.useMemo(()=>{if(g==="single")return f[0];let w=b.formatToParts(m);if(w.length===0)return null;let L=0;return w.map((M)=>{if(M.type==="element")return Mt.default.createElement(Mt.Fragment,{key:L},f[L++]);else return M.value})},[g,b,m,f]),h=Ss(cO(Y2),"react-aria-components"),T=dt({...r,defaultChildren:v??u??h.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:c.selectedItems[0]?.value??null,selectedItems:Mt.useMemo(()=>c.selectedItems.map((w)=>w.value??null),[c.selectedItems]),selectedText:x,isPlaceholder:c.selectedItems.length===0,state:c}}),R=_e(r,{global:!0});return Mt.default.createElement(qe.span,{ref:i,...R,...T,"data-placeholder":c.selectedItems.length===0||void 0},Mt.default.createElement(rn.Provider,{value:void 0},T.children))});var lx=new WeakMap;function Su(o,r,i){if(!o)return"";if(typeof r==="string")r=r.replace(/\s+/g,"");let c=lx.get(o);if(!c)console.error("There is no tab id, please check if you have rendered the tab panel before the tab list.");return`${c}-${i}-${r}`}function ix(o,r,i){let{key:c,isDisabled:u,shouldSelectOnPressUp:f}=o,{selectionManager:b,selectedKey:m}=r,g=c===m,x=u||r.isDisabled||r.selectionManager.isDisabled(c),v=r.collection.getItem(c),{itemProps:h,isPressed:T}=pu({selectionManager:b,key:c,ref:i,isDisabled:x,shouldSelectOnPressUp:f??v?.props.href!=null,linkBehavior:"selection"}),R=Su(r,c,"tab"),w=Su(r,c,"tabpanel"),{tabIndex:L}=h,M=_e(v?.props,{labelable:!0});delete M.id;let H=Wc(v?.props),{focusableProps:I}=ii({...v?.props,isDisabled:x},i);return{tabProps:be(M,I,H,h,{id:R,"aria-selected":g,"aria-disabled":x||void 0,"aria-controls":g?w:void 0,tabIndex:x?void 0:L,role:"tab"}),isSelected:g,isDisabled:x,isPressed:T}}var AE=F(J(),1);function PE(o,r){let i=r?.isDisabled,[c,u]=AE.useState(!1);return Le(()=>{if(o?.current&&!i){let f=()=>{if(o.current){let m=ln(o.current,{tabbable:!0});u(!!m.nextNode())}};f();let b=new MutationObserver(f);return b.observe(o.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{b.disconnect()}}}),i?!1:c}function sx(o,r,i){let c=PE(i)?void 0:0,u=Su(r,o.id??r?.selectedKey,"tabpanel"),f=ni({...o,id:u,"aria-labelledby":Su(r,r?.selectedKey,"tab")});return{tabPanelProps:be(f,{tabIndex:c,role:"tabpanel","aria-describedby":o["aria-describedby"],"aria-details":o["aria-details"]})}}class cx{constructor(o,r,i,c=new Set){this.collection=o,this.flipDirection=r==="rtl"&&i==="horizontal",this.disabledKeys=c,this.tabDirection=i==="horizontal"}getKeyLeftOf(o){if(this.flipDirection)return this.getNextKey(o);return this.getPreviousKey(o)}getKeyRightOf(o){if(this.flipDirection)return this.getPreviousKey(o);return this.getNextKey(o)}isDisabled(o){return this.disabledKeys.has(o)||!!this.collection.getItem(o)?.props?.isDisabled}getFirstKey(){let o=this.collection.getFirstKey();if(o!=null&&this.isDisabled(o))o=this.getNextKey(o);return o}getLastKey(){let o=this.collection.getLastKey();if(o!=null&&this.isDisabled(o))o=this.getPreviousKey(o);return o}getKeyAbove(o){if(this.tabDirection)return null;return this.getPreviousKey(o)}getKeyBelow(o){if(this.tabDirection)return null;return this.getNextKey(o)}getNextKey(o){let r=o;do if(r=this.collection.getKeyAfter(r),r==null)r=this.collection.getFirstKey();while(r!=null&&this.isDisabled(r));return r}getPreviousKey(o){let r=o;do if(r=this.collection.getKeyBefore(r),r==null)r=this.collection.getLastKey();while(r!=null&&this.isDisabled(r));return r}}var ME=F(J(),1);function ux(o,r,i){let{orientation:c="horizontal",keyboardActivation:u="automatic"}=o,{collection:f,selectionManager:b,disabledKeys:m}=r,{direction:g}=Pa(),x=ME.useMemo(()=>new cx(f,g,c,m),[f,m,c,g]),{collectionProps:v}=u0({ref:i,selectionManager:b,keyboardDelegate:x,selectOnFocus:u==="automatic",disallowEmptySelection:!0,scrollRef:i,linkBehavior:"selection"}),h=vt();lx.set(r,h);let T=ni({...o,id:h});return{tabListProps:{...be(v,T),role:"tablist","aria-orientation":c,tabIndex:void 0}}}var Ct=F(J(),1);var dx=Ct.createContext(null),Is=Ct.createContext(null);var fx=Ct.forwardRef(function(r,i){return Ct.useContext(Is)?Ct.default.createElement(fO,{props:r,forwardedRef:i}):Ct.default.createElement(Ef,r)});function fO({props:o,forwardedRef:r}){let i=Ct.useContext(Is),{CollectionRoot:c}=Ct.useContext(ol),{orientation:u="horizontal",keyboardActivation:f="automatic"}=fr(dx),b=Qa(r),{tabListProps:m}=ux({...o,orientation:u,keyboardActivation:f},i,b),g=dt({...o,children:null,defaultClassName:"react-aria-TabList",values:{orientation:u,state:i}}),x=_e(o,{global:!0});return delete x.id,Ct.default.createElement(qe.div,{...be(x,g,m),ref:b,"data-orientation":u||void 0},Ct.default.createElement(a0,null,Ct.default.createElement(c,{collection:i.collection,persistedKeys:b1(i.selectionManager.focusedKey)})))}class OE extends Bo{static{this.type="item"}}var px=hr(OE,(o,r,i)=>{let c=Ct.useContext(Is),u=Qa(r),{tabProps:f,isSelected:b,isDisabled:m,isPressed:g}=ix({key:i.key,...o},c,u),{focusProps:x,isFocused:v,isFocusVisible:h}=Ma(),{hoverProps:T,isHovered:R}=Oa({isDisabled:m,onHoverStart:o.onHoverStart,onHoverEnd:o.onHoverEnd,onHoverChange:o.onHoverChange}),w=dt({...o,id:void 0,children:i.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:b,isDisabled:m,isFocused:v,isFocusVisible:h,isPressed:g,isHovered:R}}),L=i.props.href?qe.a:qe.div,M=_e(o,{global:!0});return delete M.id,delete M.onClick,Ct.default.createElement(L,{...be(M,w,f,x,T),ref:u,"data-selected":b||void 0,"data-disabled":m||void 0,"data-focused":v||void 0,"data-focus-visible":h||void 0,"data-pressed":g||void 0,"data-hovered":R||void 0},Ct.default.createElement(du.Provider,{value:{isSelected:b}},w.children))});var mx=co(function(r,i){let c=Ct.useContext(Is),u=Qa(i),f=c.selectedKey===r.id,[b,m]=Ct.useState(c.selectedKey!=null?f:null);if(b==null&&c.selectedKey!=null)m(f);else if(!f&&b)m(!1);let g=$i(u,f);if(!f&&!r.shouldForceMount&&!g)return null;return Ct.default.createElement(pO,{...r,tabPanelRef:u,isInitiallySelected:b||!1,isExiting:g})});function pO(o){let r=Ct.useContext(Is),{id:i,tabPanelRef:c,isInitiallySelected:u,isExiting:f,...b}=o,{tabPanelProps:m}=sx(o,r,c),{focusProps:g,isFocused:x,isFocusVisible:v}=Ma(),h=r.selectedKey===o.id,T=hi(c)&&!u,R=dt({...o,defaultClassName:"react-aria-TabPanel",values:{isFocused:x,isFocusVisible:v,isInert:mu(!h),isEntering:T,isExiting:f,state:r}}),w=_e(b,{global:!0});delete w.id;let L=h?be(w,m,g,R):be(w,R);return Ct.default.createElement(qe.div,{...L,ref:c,"data-focused":x||void 0,"data-focus-visible":v||void 0,inert:mu(!h||o.inert),"data-inert":!h?"true":void 0,"data-entering":T||void 0,"data-exiting":f||void 0},Ct.default.createElement(xa,{values:[[dx,null],[Is,null]]},Ct.default.createElement(ol.Provider,{value:m1},R.children)))}var Cu=F(J(),1);var _0=Cu.createContext({}),mO=(o)=>{let{onHoverStart:r,onHoverChange:i,onHoverEnd:c,...u}=o;return u},bx=Cu.forwardRef(function(r,i){[r,i]=bt(r,i,_0);let{hoverProps:c,isHovered:u}=Oa(r),{isFocused:f,isFocusVisible:b,focusProps:m}=Ma({isTextInput:!0,autoFocus:r.autoFocus}),g=!!r["aria-invalid"]&&r["aria-invalid"]!=="false",x=dt({...r,values:{isHovered:u,isFocused:f,isFocusVisible:b,isDisabled:r.disabled||!1,isInvalid:g},defaultClassName:"react-aria-TextArea"});return Cu.default.createElement(qe.textarea,{...be(mO(r),m,c),...x,ref:i,"data-focused":f||void 0,"data-disabled":r.disabled||void 0,"data-hovered":u||void 0,"data-focus-visible":b||void 0,"data-invalid":g||void 0})});var On=F(J(),1),NE=On.createContext(null),z0=co(function(r,i){[r,i]=bt(r,i,NE);let{validationBehavior:c}=fr(Kb)||{},u=r.validationBehavior??c??"native",f=On.useRef(null);[r,f]=bt(r,f,D9);let[b,m]=gs(!r["aria-label"]&&!r["aria-labelledby"]),[g,x]=On.useState("input"),{labelProps:v,inputProps:h,descriptionProps:T,errorMessageProps:R,...w}=s2({...fb(r),inputElementType:g,label:m,validationBehavior:u},f),L=On.useCallback((I)=>{if(f.current=I,I)x(I instanceof HTMLTextAreaElement?"textarea":"input")},[f]),M=dt({...r,values:{isDisabled:r.isDisabled||!1,isInvalid:w.isInvalid,isReadOnly:r.isReadOnly||!1,isRequired:r.isRequired||!1},defaultClassName:"react-aria-TextField"}),H=_e(r,{global:!0});return delete H.id,On.default.createElement(qe.div,{...H,...M,ref:i,slot:r.slot||void 0,"data-disabled":r.isDisabled||void 0,"data-invalid":w.isInvalid||void 0,"data-readonly":r.isReadOnly||void 0,"data-required":r.isRequired||void 0},On.default.createElement(xa,{values:[[Cs,{...v,ref:b}],[Zb,{...h,ref:L}],[_0,{...h,ref:L}],[Z9,{role:"presentation",isInvalid:w.isInvalid,isDisabled:r.isDisabled||!1}],[rn,{slots:{description:T,errorMessage:R}}],[ws,w]]},M.children))});var LE=F(J(),1),bO=F(d1(),1);class Hf{constructor(o){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=o?.maxVisibleToasts??1/0,this.wrapUpdate=o?.wrapUpdate}runWithWrapUpdate(o,r){if(this.wrapUpdate)this.wrapUpdate(o,r);else o()}subscribe(o){return this.subscriptions.add(o),()=>this.subscriptions.delete(o)}add(o,r={}){let i="_"+Math.random().toString(36).slice(2),c={...r,content:o,key:i,timer:r.timeout?new kE(()=>this.close(i),r.timeout):void 0};return this.queue.unshift(c),this.updateVisibleToasts("add"),i}close(o){let r=this.queue.findIndex((i)=>i.key===o);if(r>=0)this.queue[r].onClose?.(),this.queue.splice(r,1);this.updateVisibleToasts("remove")}updateVisibleToasts(o){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let r of this.subscriptions)r()},o)}pauseAll(){for(let o of this.visibleToasts)if(o.timer)o.timer.pause()}resumeAll(){for(let o of this.visibleToasts)if(o.timer)o.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}}class kE{constructor(o,r){this.startTime=null,this.remaining=r,this.callback=o}reset(o){this.remaining=o,this.resume()}pause(){if(this.timerId==null)return;clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime}resume(){if(this.remaining<=0)return;this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining)}}var ia=De(Rn,{displayName:"Button",baseClass:"inline-flex items-center justify-center gap-2 rounded-full text-compact leading-4 transition-all duration-200 ease-in-out outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring data-[focus-visible]:ring-offset-2 data-[disabled]:opacity-50 data-[disabled]:pointer-events-none data-[pending]:opacity-70 data-[pending]:cursor-progress",variants:{variant:{primary:"bg-brand-primary text-fg-inverted hover:bg-neutral-600 hover:shadow-[0_0_5px_0_rgba(0,0,0,0.5)] data-[pressed]:bg-brand-primary data-[pressed]:shadow-none",secondary:"bg-surface-card text-fg border border-border hover:bg-surface-muted hover:border-fg-subtle data-[pressed]:bg-surface-muted",ghost:"bg-transparent text-fg hover:bg-surface-muted data-[pressed]:bg-surface-muted",destructive:"bg-danger text-danger-fg hover:opacity-90 data-[pressed]:opacity-80"},size:{sm:"py-2 px-4",md:"py-3 px-6",lg:"py-4 px-8",prominent:"h-11 px-6 py-0 text-panel-heading font-medium"}},defaultVariants:{variant:"primary",size:"md"}});var Eu=F(Qt(),1),yO=De(As,{displayName:"InputControl",baseClass:"w-full rounded-lg border border-border bg-surface px-4 text-small text-fg outline-none transition-colors duration-200 placeholder:text-fg-muted data-[hovered]:border-fg-subtle data-[focused]:border-brand-green data-[focused]:ring-2 data-[focused]:ring-ring data-[invalid]:border-danger data-[invalid]:ring-2 data-[invalid]:ring-danger data-[disabled]:bg-surface-muted data-[disabled]:opacity-60 data-[disabled]:pointer-events-none",variants:{fieldSize:{sm:"h-8",md:"h-10",lg:"h-12",tall:"h-control-tall"}},defaultVariants:{fieldSize:"md"}}),Tu=({label:o,description:r,errorMessage:i,placeholder:c,size:u,rootClassName:f,inputClassName:b,...m})=>Eu.jsxDEV(z0,{...m,className:`flex w-full flex-col gap-3 ${f??""}`,children:[Eu.jsxDEV(ri,{className:"text-panel-heading font-medium text-fg",children:o},void 0,!1,void 0,this),Eu.jsxDEV(yO,{className:b,placeholder:c,fieldSize:u},void 0,!1,void 0,this),r?Eu.jsxDEV(gr,{slot:"description",className:"text-label text-fg-muted",children:r},void 0,!1,void 0,this):null,Eu.jsxDEV(Ds,{className:"text-label text-danger",children:i},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var doe=De(bx,{displayName:"TextAreaControl",baseClass:"min-h-[120px] w-full resize-y rounded-lg border border-border bg-surface px-4 py-3 text-small text-fg outline-none transition-colors duration-200 placeholder:text-fg-muted data-[hovered]:border-fg-subtle data-[focused]:border-brand-green data-[focused]:ring-2 data-[focused]:ring-ring data-[invalid]:border-danger data-[invalid]:ring-danger data-[disabled]:bg-surface-muted data-[disabled]:opacity-60 data-[disabled]:pointer-events-none"});var IE=F(J(),1);var B0=F(J(),1),BE=B0.createContext(!1),Fs=()=>B0.useContext(BE);var sl=F(J(),1),vO=F(sr(),1);var Coe=sl.createContext(null);var Ia=F(Qt(),1),xO=De(Rn,{displayName:"SelectTrigger",baseClass:"flex h-control-tall w-full items-center justify-between gap-2.5 rounded-lg border border-border bg-surface px-5 text-small text-fg outline-none transition-colors data-[hovered]:border-fg-subtle data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring group-data-[invalid]:border-danger group-data-[invalid]:ring-2 group-data-[invalid]:ring-danger data-[disabled]:bg-surface-muted data-[disabled]:opacity-60 data-[disabled]:pointer-events-none"}),hx=De(ll,{displayName:"SelectItem",baseClass:"flex cursor-pointer select-none items-center rounded-md px-3 py-2 text-small text-fg outline-none data-[hovered]:bg-surface-muted data-[focused]:bg-surface-muted data-[selected]:font-medium data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),$x=({label:o,description:r,errorMessage:i,placeholder:c,children:u,rootClassName:f,triggerClassName:b,...m})=>{let g=Fs(),x=Ia.jsxDEV(bu,{className:"flex max-h-72 flex-col gap-0.5 overflow-auto overscroll-contain p-1 outline-none",children:u},void 0,!1,void 0,this),v=r?Ia.jsxDEV(gr,{slot:"description",className:"text-label text-fg-muted",children:r},void 0,!1,void 0,this):null,h=Ia.jsxDEV(Ds,{className:"text-label text-danger",children:i},void 0,!1,void 0,this);return Ia.jsxDEV(ox,{...m,placeholder:c,className:`group flex flex-col gap-3 ${f??""}`,children:[Ia.jsxDEV(ri,{className:"text-panel-heading font-medium text-fg",children:o},void 0,!1,void 0,this),g?Ia.jsxDEV(Ia.Fragment,{children:[x,v,h]},void 0,!0,void 0,this):Ia.jsxDEV(Ia.Fragment,{children:[Ia.jsxDEV(xO,{className:b,children:[Ia.jsxDEV(rx,{className:"data-[placeholder]:text-fg-muted"},void 0,!1,void 0,this),Ia.jsxDEV("svg",{width:"9.5",height:"9.5",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",className:"pointer-events-none shrink-0 text-fg",children:Ia.jsxDEV("path",{d:"M3 4.5L6 7.5L9 4.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),v,h,Ia.jsxDEV(yi,{className:"min-w-[var(--trigger-width)] overflow-hidden rounded-lg bg-surface-card shadow-lg",children:x},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)};var koe=De(As,{displayName:"ComboBoxInput",baseClass:"h-12 w-full rounded-lg border border-border bg-surface pl-4 pr-11 text-small text-fg outline-none transition-colors placeholder:text-fg-muted data-[hovered]:border-fg-subtle data-[focused]:border-brand-green data-[focused]:ring-2 data-[focused]:ring-ring group-data-[invalid]:border-danger group-data-[invalid]:ring-2 group-data-[invalid]:ring-danger data-[disabled]:bg-surface-muted data-[disabled]:opacity-60"}),_oe=De(ll,{displayName:"ComboBoxItem",baseClass:"flex cursor-pointer select-none items-center rounded-md px-3 py-2 text-small text-fg outline-none data-[hovered]:bg-surface-muted data-[focused]:bg-surface-muted data-[selected]:font-medium data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"});var yx=F(J(),1);var Uoe=De(ll,{displayName:"MultiSelectItem",baseClass:"group flex cursor-pointer select-none items-center gap-2 rounded-md px-3 py-2 text-small text-fg outline-none data-[hovered]:bg-surface-muted data-[focused]:bg-surface-muted data-[selected]:font-medium data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"});var RO=F(J(),1);var Ea=F(Qt(),1);var wO=De(xu,{displayName:"DialogOverlay",baseClass:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-modal-backdrop backdrop-blur-modal-backdrop data-[entering]:animate-modal-overlay-in data-[exiting]:animate-modal-overlay-out"}),DO=De(If,{displayName:"DialogModal",baseClass:"rounded-lg bg-surface p-5 outline-none shadow-modal-surface data-[entering]:animate-modal-surface-in data-[exiting]:animate-modal-surface-out"}),AO=Bf,PO={sm:"w-[90vw] max-w-[420px] max-h-[85vh] overflow-y-auto",md:"w-[90vw] max-w-[586px] max-h-[85vh] overflow-y-auto",lg:"w-[90vw] max-w-[720px] max-h-[85vh] overflow-y-auto",xl:"w-[90vw] max-w-[900px] max-h-[85vh] overflow-y-auto",full:"w-[95vw] max-w-[95vw] h-[92vh] flex flex-col"},MO={sm:"text-heading1 font-medium tracking-tight",md:"text-heading1 font-medium tracking-tight",lg:"text-heading2 font-medium tracking-tight",xl:"text-heading2 font-medium tracking-tight",full:"text-heading1 font-medium tracking-tight"},Us=({title:o,description:r,badge:i,size:c="md",children:u,isOpen:f,defaultOpen:b,onOpenChange:m,isDismissable:g=!0,closeLabel:x="Close",...v})=>{let h=c==="full";return Ea.jsxDEV(wO,{className:h?"bg-black/25 backdrop-blur-lg":void 0,isOpen:f,defaultOpen:b,onOpenChange:m,isDismissable:g,children:Ea.jsxDEV(DO,{className:PO[c],children:Ea.jsxDEV(AO,{...v,className:h?"flex min-h-0 flex-1 flex-col outline-none":"outline-none",children:(T)=>Ea.jsxDEV(Ea.Fragment,{children:[Ea.jsxDEV("div",{className:"mb-4 flex shrink-0 items-start justify-between gap-4",children:[o||r?Ea.jsxDEV("div",{className:"min-w-0",children:[o?Ea.jsxDEV("div",{className:"flex items-center gap-2",children:[Ea.jsxDEV(t1,{slot:"title",className:`${MO[c]} text-fg`,children:o},void 0,!1,void 0,this),i?Ea.jsxDEV("span",{className:"inline-flex shrink-0 items-center rounded-full bg-surface-muted px-2 py-0.5 text-label font-medium text-fg-muted",children:i},void 0,!1,void 0,this):null]},void 0,!0,void 0,this):null,r?Ea.jsxDEV("p",{className:"mt-1 text-body text-fg",children:r},void 0,!1,void 0,this):null]},void 0,!0,void 0,this):Ea.jsxDEV("span",{"aria-hidden":"true"},void 0,!1,void 0,this),Ea.jsxDEV("button",{type:"button",onClick:T.close,"aria-label":x,className:"-mr-1 -mt-1 inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-fg-subtle outline-none transition-colors hover:bg-surface-muted hover:text-fg focus-visible:ring-2 focus-visible:ring-ring",children:Ea.jsxDEV("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:Ea.jsxDEV("path",{d:"M6 6l12 12M18 6 6 18"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),h?Ea.jsxDEV("div",{className:"flex min-h-0 flex-1 flex-col",children:typeof u==="function"?u(T):u},void 0,!1,void 0,this):typeof u==="function"?u(T):u]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)};var cne=De(zs,{displayName:"DropdownMenuItem",baseClass:"flex cursor-pointer select-none items-center gap-2.5 rounded-md px-4 py-3 text-small text-fg outline-none data-[focused]:bg-surface-card data-[hovered]:bg-surface-card data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",variants:{destructive:{true:"text-danger data-[focused]:text-danger data-[hovered]:text-danger"}}}),une=De(v1,{displayName:"DropdownMenuSeparator",baseClass:"my-2 h-px border-0 bg-border"});var I0=F(J(),1);var mne=De(zs,{displayName:"ContextMenuItem",baseClass:"flex min-h-[34px] cursor-pointer select-none items-center gap-2.5 rounded-[10px] px-3 py-1.5 text-compact text-white outline-none data-[focused]:bg-[#2f2f2f] data-[focused]:font-medium data-[hovered]:bg-[#2f2f2f] data-[hovered]:font-medium data-[disabled]:cursor-not-allowed data-[disabled]:opacity-45",variants:{destructive:{true:"text-[#ffb5b5] data-[focused]:text-[#ffb5b5]"}}});var xne=new Hf({maxVisibleToasts:5});var Tne=De(f2,{displayName:"Disclosure"}),Rne=De(p2,{displayName:"DisclosurePanel"});var Mne=De(fx,{displayName:"TabList",baseClass:"flex gap-2 border-b border-border"}),One=De(px,{displayName:"Tab",baseClass:"cursor-pointer select-none border-b-2 border-transparent px-4 py-3 text-small font-medium text-fg-muted outline-none transition-colors data-[hovered]:text-fg data-[selected]:border-brand-primary data-[selected]:text-fg data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),Nne=De(mx,{displayName:"TabPanel",baseClass:"py-4 text-small text-fg outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring"});var NO=De("h2",{displayName:"DisplayHeading",baseClass:"text-display-large font-medium text-fg"}),Ine=De("h3",{displayName:"PanelHeading",baseClass:"text-panel-heading font-medium text-fg"}),mo=De("span",{displayName:"Text",baseClass:"text-fg",variants:{size:{micro:"text-micro",caption:"text-caption",label:"text-label",compact:"text-compact",small:"text-small",callout:"text-callout",body:"text-body",subtitle:"text-subtitle",title:"text-title",headline:"text-headline",display:"text-display"},weight:{regular:"font-normal",medium:"font-medium",semibold:"font-medium",bold:"font-medium"},tone:{default:"text-fg",muted:"text-fg-muted",subtle:"text-fg-subtle",inverted:"text-fg-inverted"}},defaultVariants:{size:"body",weight:"regular",tone:"default"}}),vx=De("h2",{displayName:"Heading",baseClass:"font-medium tracking-tight text-fg",variants:{level:{"1":"text-heading1","2":"text-heading2","3":"text-heading3","4":"text-heading4","5":"text-heading5"}},defaultVariants:{level:"2"}});var Ff=De("div",{displayName:"Card",baseClass:"relative rounded-lg bg-surface-card",variants:{variant:{plain:"",outlined:"border border-border",elevated:"shadow-md"},padding:{none:"p-0",sm:"p-4",md:"p-6",lg:"p-8"}},defaultVariants:{variant:"plain",padding:"md"}});var Yne=De("section",{displayName:"Section",baseClass:"w-full",variants:{padding:{none:"py-0",sm:"py-4",md:"py-6 sm:py-8",lg:"py-8 sm:py-12",xl:"py-12 sm:py-16"}},defaultVariants:{padding:"md"}});var Zne=De("div",{displayName:"PageContainer",baseClass:"w-full",variants:{size:{sm:"max-w-screen-sm mx-auto",md:"max-w-screen-md mx-auto",lg:"max-w-screen-lg mx-auto",xl:"max-w-screen-xl ml-0 mr-0 min-[1200px]:max-w-full","2xl":"max-w-screen-2xl mx-auto min-[1600px]:max-w-full min-[1600px]:mx-0",full:"max-w-full"}}});var H0=F(J(),1);var bo=F(Qt(),1),LO=De("div",{displayName:"AppShell",baseClass:"grid h-screen w-full overflow-hidden bg-surface grid-rows-[100%] grid-cols-[1fr] md:grid-cols-[auto_1fr]"}),HE=De("aside",{displayName:"AppShell.Sidebar",baseClass:"h-full w-64 shrink-0 overflow-y-auto border-r border-border bg-surface"}),kO=De("main",{displayName:"AppShell.Main",baseClass:"min-w-0 flex-1 bg-surface px-6 pb-6 pt-6"}),FE=({banner:o,topbar:r,sidebar:i,sidebarLabel:c,drawerToggleLabel:u,children:f,className:b})=>{let[m,g]=H0.useState(!1),x=H0.useId(),v=Boolean(i);return bo.jsxDEV(LO,{className:b,children:[v?bo.jsxDEV(HE,{"aria-label":c,className:"hidden md:block",children:i},void 0,!1,void 0,this):null,v?bo.jsxDEV(xu,{isOpen:m,onOpenChange:g,isDismissable:!0,className:"fixed inset-0 z-40 bg-black/40 md:hidden",children:bo.jsxDEV(If,{className:"absolute inset-y-0 left-0 z-50 h-full outline-none",children:bo.jsxDEV(Bf,{id:x,"aria-label":c,className:"h-full outline-none",children:bo.jsxDEV(HE,{"aria-label":c,className:"shadow-lg",children:i},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,bo.jsxDEV("div",{className:"flex min-h-0 min-w-0 flex-col overflow-y-auto overflow-x-hidden bg-surface"+(v?"":" col-span-full"),children:[o?bo.jsxDEV("div",{className:"shrink-0",children:o},void 0,!1,void 0,this):null,bo.jsxDEV("div",{className:"sticky top-0 z-20 flex shrink-0 items-center bg-surface px-6",children:[v?bo.jsxDEV(Rn,{"aria-label":u,"aria-expanded":m,"aria-controls":m?x:void 0,onPress:()=>g((h)=>!h),className:"ml-2 flex h-9 w-9 shrink-0 items-center justify-center rounded-md text-fg outline-none transition-colors hover:bg-surface-muted md:hidden data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring",children:bo.jsxDEV("span",{"aria-hidden":"true",children:"☰"},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,bo.jsxDEV("div",{className:"min-w-0 flex-1",children:r},void 0,!1,void 0,this)]},void 0,!0,void 0,this),bo.jsxDEV(kO,{children:f},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)};var UE=F(Qt(),1),_O=De("header",{displayName:"Topbar",baseClass:"flex h-14 w-full items-center gap-5 border-b border-border"}),zO=De("div",{displayName:"Topbar.Brand",baseClass:"flex min-w-0 items-center gap-3 text-compact leading-4 font-medium tracking-tight text-fg"}),BO=De("nav",{displayName:"Topbar.Nav",baseClass:"ml-auto flex min-w-0 items-center gap-2 overflow-x-auto"}),IO=(o)=>UE.jsxDEV(BO,{...o},void 0,!1,void 0,this),HO=De("div",{displayName:"Topbar.Actions",baseClass:"ml-auto flex items-center gap-4"}),FO=De("a",{displayName:"Topbar.NavLink",baseClass:"inline-flex items-center rounded-sm px-[13px] py-[6px] text-compact leading-4 whitespace-nowrap text-fg no-underline transition-colors hover:bg-surface-muted hover:text-fg outline-none focus-visible:ring-2 focus-visible:ring-ring data-[active]:bg-surface-muted data-[active]:text-fg",variants:{active:{true:"",false:""}},variantsAsDataAttrs:["active"]});var nre=De(ll,{displayName:"WorkspaceSwitcher.Item",baseClass:"flex cursor-pointer select-none items-center rounded-sm px-3 py-2 text-small text-fg outline-none data-[focused]:bg-surface-muted data-[selected]:font-medium"});var rre=De(zs,{displayName:"UserMenu.Item",baseClass:"flex cursor-pointer select-none items-center rounded-sm px-3 py-2 text-small text-fg outline-none data-[focused]:bg-surface-muted data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),F0=Object.assign(_O,{Brand:zO,Nav:IO,NavLink:FO,Actions:HO});var UO=F(J(),1);var sre=De("header",{displayName:"PersistentPageShell.Header",baseClass:"flex w-full flex-col gap-6 bg-surface",variants:{sticky:{true:"sticky top-0 z-[1]",false:""}},defaultVariants:{sticky:!1}});var VO=F(J(),1);var xx=F(J(),1);var xr=F(Qt(),1),U0={width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0};var VE=(o)=>xr.jsxDEV("svg",{...U0,...o,children:xr.jsxDEV("path",{d:"M6 9l6 6 6-6"},void 0,!1,void 0,this)},void 0,!1,void 0,this),KE=(o)=>xr.jsxDEV("svg",{...U0,...o,children:xr.jsxDEV("path",{d:"M18 15l-6-6-6 6"},void 0,!1,void 0,this)},void 0,!1,void 0,this);var jE=(o)=>xr.jsxDEV("svg",{...U0,...o,children:[xr.jsxDEV("circle",{cx:"12",cy:"12",r:"4"},void 0,!1,void 0,this),xr.jsxDEV("path",{d:"M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M19.1 4.9l-1.4 1.4M6.3 17.7l-1.4 1.4"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),GE=(o)=>xr.jsxDEV("svg",{...U0,...o,children:xr.jsxDEV("path",{d:"M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z"},void 0,!1,void 0,this)},void 0,!1,void 0,this);var jO=F(J(),1);var Sx=F(J(),1);var Cx=F(Qt(),1);var KO={green:"bg-brand-green text-fg-on-brand",yellow:"bg-accent-yellow text-fg-on-brand",grey:"bg-surface-muted text-fg",dark:"bg-surface-inverted text-fg-inverted"};function qE({label:o,color:r="grey"}){return Cx.jsxDEV("span",{className:`inline-flex items-center rounded-full px-3 py-1 text-caption font-medium leading-none ${KO[r]}`,children:o},void 0,!1,void 0,this)}var V0=F(J(),1);var go=F(Qt(),1),YE={left:"text-left",right:"text-right",center:"text-center"};function Ex(o,r){if(o.sortValue)return o.sortValue(r);if(r&&typeof r==="object"&&o.key in r){let i=r[o.key];if(typeof i==="number"||typeof i==="string")return i}return""}function XE({columns:o,data:r,getRowKey:i,enableSorting:c=!1,onRowClick:u,emptyMessage:f="No rows.",className:b,...m}){let[g,x]=V0.useState(null),v=(w)=>{x((L)=>{if(L?.key!==w)return{key:w,dir:"asc"};return{key:w,dir:L.dir==="asc"?"desc":"asc"}})},h=V0.useMemo(()=>{if(!c||!g)return r;let w=o.find((M)=>M.key===g.key);if(!w)return r;let L=g.dir==="asc"?1:-1;return[...r].sort((M,H)=>{let I=Ex(w,M),X=Ex(w,H);if(typeof I==="number"&&typeof X==="number")return(I-X)*L;return String(I).localeCompare(String(X),void 0,{numeric:!0})*L})},[r,o,c,g]),T=i??((w,L)=>String(L)),R=Boolean(u);return go.jsxDEV("div",{className:["w-full overflow-x-auto",b].filter(Boolean).join(" "),children:go.jsxDEV("table",{className:"w-full border-collapse text-small",...m,children:[go.jsxDEV("thead",{children:go.jsxDEV("tr",{className:"border-b border-border",children:o.map((w)=>{let L=w.align??"left",M=c&&w.sortable,H=g?.key===w.key;return go.jsxDEV("th",{scope:"col",style:w.width?{width:w.width}:void 0,"aria-sort":M?H?g?.dir==="asc"?"ascending":"descending":"none":void 0,className:`${YE[L]} px-4 py-3 text-label font-medium tracking-wide text-fg-muted uppercase`,children:M?go.jsxDEV("button",{type:"button",onClick:()=>v(w.key),className:`inline-flex items-center gap-1 outline-none transition-colors hover:text-fg focus-visible:text-fg ${L==="right"?"flex-row-reverse":""} ${H?"text-fg":""}`,children:[w.header,H?g?.dir==="asc"?go.jsxDEV(KE,{className:"h-3.5 w-3.5"},void 0,!1,void 0,this):go.jsxDEV(VE,{className:"h-3.5 w-3.5"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this):w.header},w.key,!1,void 0,this)})},void 0,!1,void 0,this)},void 0,!1,void 0,this),go.jsxDEV("tbody",{children:h.length===0?go.jsxDEV("tr",{children:go.jsxDEV("td",{colSpan:o.length,className:"px-4 py-10 text-center text-small text-fg-muted",children:f},void 0,!1,void 0,this)},void 0,!1,void 0,this):h.map((w,L)=>go.jsxDEV("tr",{...R?{tabIndex:0,role:"button",onClick:()=>u?.(w),onKeyDown:(M)=>{if(M.key==="Enter"||M.key===" ")M.preventDefault(),u?.(w)}}:{},className:`border-b border-border/60 outline-none ${R?"cursor-pointer transition-colors hover:bg-surface-muted focus-visible:bg-surface-muted focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring":""}`,children:o.map((M)=>{let H=M.align??"left";return go.jsxDEV("td",{className:`${YE[H]} px-4 py-3 align-middle text-fg`,children:M.render?M.render(w):String(Ex(M,w))},M.key,!1,void 0,this)})},T(w,L),!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var QE=F(J(),1);var ZE=F(J(),1);var GO=F(J(),1);var WE=F(J(),1);var qO=F(J(),1);var Xre=De("div",{displayName:"DeliveryStatusModule",baseClass:"grid gap-3 rounded-md bg-surface-inverted p-4 text-fg-inverted"});var Qre=De("span",{displayName:"DeliveryStatusPill",baseClass:"inline-flex min-h-5 items-center rounded-full border border-white/30 px-3"});var Et=F(J(),1);class Vs extends Error{code;status;constructor(o,r,i){super(o);this.code=r;this.status=i;this.name="ApiError"}}async function vi(o,r,i){let c=o.baseUrl.replace(/\/+$/,""),u;try{u=await fetch(`${c}${r}`,{...i,headers:{...i?.body?{"content-type":"application/json"}:{},authorization:`Bearer ${o.token}`,...i?.headers??{}}})}catch(b){throw new Vs(`network error reaching ${c} — is pramen running and is CORS_ORIGINS set?`,"network",0)}let f=null;try{f=await u.json()}catch{}if(!u.ok||!f||f.ok===!1){let b=f?.code??String(u.status),m=f?.error??`request failed (${u.status})`;if(u.status===403)m=`not an admin token — ${m}`;throw new Vs(m,b,u.status)}return f.result}function YO(o){if(!Array.isArray(o))return[];let r=o.map((i)=>typeof i==="string"?i:i?.tenant).filter((i)=>typeof i==="string"&&i.length>0);return[...new Set(r)].sort()}var cl={tenants:async(o)=>YO(await vi(o,"/tenants")),schema:(o,r)=>vi(o,`/admin/schema?tenant=${encodeURIComponent(r)}`),list:(o,r,i,c,u)=>vi(o,"/admin/data",{method:"POST",body:JSON.stringify({tenant:r,table:i,op:"list",limit:c,offset:u})}),count:(o,r,i)=>vi(o,"/admin/data",{method:"POST",body:JSON.stringify({tenant:r,table:i,op:"count"})}),get:(o,r,i,c)=>vi(o,"/admin/data",{method:"POST",body:JSON.stringify({tenant:r,table:i,op:"get",id:c})}),create:(o,r,i,c)=>vi(o,"/admin/data",{method:"POST",body:JSON.stringify({tenant:r,table:i,op:"create",values:c})}),update:(o,r,i,c,u)=>vi(o,"/admin/data",{method:"POST",body:JSON.stringify({tenant:r,table:i,op:"update",id:c,patch:u})}),remove:(o,r,i,c)=>vi(o,"/admin/data",{method:"POST",body:JSON.stringify({tenant:r,table:i,op:"delete",id:c})})};var ue=F(Qt(),1),K0={base:"pramen.admin.baseUrl",token:"pramen.admin.token",tenant:"pramen.admin.tenant",theme:"pramen.admin.theme"},Ru=25,j0=(o,r)=>{let[i,c]=Et.useState(()=>localStorage.getItem(o)??r),u=Et.useCallback((f)=>{c(f),localStorage.setItem(o,f)},[o]);return[i,u]};function XO(o){if(o===null||o===void 0)return ue.jsxDEV("span",{className:"italic text-fg-subtle",children:"null"},void 0,!1,void 0,this);if(typeof o==="boolean")return ue.jsxDEV("span",{className:"text-accent-strong",children:String(o)},void 0,!1,void 0,this);if(typeof o==="object"){let i=JSON.stringify(o);return ue.jsxDEV("span",{className:"block max-w-[280px] truncate font-mono text-caption text-fg-muted",title:i,children:i},void 0,!1,void 0,this)}let r=String(o);return ue.jsxDEV("span",{className:"block max-w-[280px] truncate",title:r,children:r},void 0,!1,void 0,this)}function JE(){let[o,r]=j0(K0.base,"http://localhost:8787"),[i,c]=j0(K0.token,""),[u,f]=j0(K0.tenant,"main"),[b,m]=j0(K0.theme,"light");Et.useEffect(()=>{document.documentElement.dataset.theme=b==="dark"?"dark":"light"},[b]);let g=Et.useMemo(()=>({baseUrl:o,token:i}),[o,i]),[x,v]=Et.useState([]),[h,T]=Et.useState(null),[R,w]=Et.useState(null),[L,M]=Et.useState(null),[H,I]=Et.useState(null),[X,Z]=Et.useState(0),[ge,he]=Et.useState(!1),[ae,U]=Et.useState(null),[te,j]=Et.useState(null),[ye,de]=Et.useState(null),[re,O]=Et.useState(!1),z=Et.useCallback((se)=>{if(se instanceof Vs)U({message:se.message,code:se.code});else U({message:se instanceof Error?se.message:String(se),code:"unknown"})},[]),K=Et.useCallback(async()=>{if(!i)return;try{v(await cl.tenants(g))}catch(se){if(se instanceof Vs&&se.status===403)z(se)}},[g,i,z]),V=Et.useCallback(async()=>{if(!i)return;U(null);try{let se=await cl.schema(g,u);T(se),w((Ge)=>Ge&&(Ge in se.tables)?Ge:Object.keys(se.tables)[0]??null)}catch(se){T(null),w(null),z(se)}},[g,u,i,z]),le=Et.useCallback(async()=>{if(!i||!R)return;he(!0),U(null);try{let[se,Ge]=await Promise.all([cl.list(g,u,R,Ru,X),cl.count(g,u,R)]);M(se),I(Ge)}catch(se){M(null),I(null),z(se)}finally{he(!1)}},[g,u,R,X,i,z]),Q=Et.useRef(void 0);Et.useEffect(()=>(clearTimeout(Q.current),Q.current=setTimeout(()=>{K(),V()},250),()=>clearTimeout(Q.current)),[o,i,u]),Et.useEffect(()=>{Z(0)},[R,u]),Et.useEffect(()=>{le()},[R,u,X,o,i]);let C=Et.useMemo(()=>(R&&h?h.tables[R]:null)??[],[R,h]),W=()=>{de(null);let se={};for(let Ge of C)if(Ge!=="id")se[Ge]=null;j({mode:"create",original:null,text:JSON.stringify(se,null,2)})},ve=async(se)=>{de(null);try{let Ge=await cl.get(g,u,R,se.id)??se;j({mode:"edit",original:Ge,text:JSON.stringify(Ge,null,2)})}catch(Ge){z(Ge)}},Ce=async()=>{if(!te||!R)return;let se;try{if(se=JSON.parse(te.text),typeof se!=="object"||se===null||Array.isArray(se))throw Error("must be a JSON object")}catch(Ge){de(Ge instanceof Error?Ge.message:"invalid JSON");return}O(!0),de(null);try{if(te.mode==="create")await cl.create(g,u,R,se);else{let Ge=te.original??{},pa=Ge.id,It={};for(let[Te,Fo]of Object.entries(se)){if(Te==="id")continue;if(JSON.stringify(Fo)!==JSON.stringify(Ge[Te]))It[Te]=Fo}if(Object.keys(It).length===0){de("no changes to save"),O(!1);return}await cl.update(g,u,R,pa,It)}j(null),await le()}catch(Ge){de(Ge instanceof Vs?`${Ge.message} (${Ge.code})`:String(Ge))}finally{O(!1)}},Ne=async(se)=>{if(!R)return;if(!confirm(`Delete row id=${JSON.stringify(se.id)} from "${R}"? This cannot be undone.`))return;O(!0);try{await cl.remove(g,u,R,se.id),await le()}catch(Ge){z(Ge)}finally{O(!1)}},He=h?Object.keys(h.tables):[],xe=Math.floor(X/Ru)+1,Xe=H!=null?Math.max(1,Math.ceil(H/Ru)):null,ht=x.includes(u)||!u?x:[u,...x],ft=[...C.map((se)=>({key:se,header:se,render:(Ge)=>XO(Ge[se])})),{key:"__actions",header:"actions",align:"right",render:(se)=>ue.jsxDEV("div",{className:"flex justify-end gap-1",children:[ue.jsxDEV(ia,{variant:"ghost",size:"sm",onPress:()=>void ve(se),children:"edit"},void 0,!1,void 0,this),ue.jsxDEV(ia,{variant:"destructive",size:"sm",isDisabled:re,onPress:()=>void Ne(se),children:"del"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}],un=ue.jsxDEV("div",{className:"flex flex-col gap-6 p-5",children:[ue.jsxDEV("div",{className:"flex flex-col gap-3",children:[ue.jsxDEV(Tu,{label:"base url",size:"sm",value:o,onChange:r,placeholder:"http://localhost:8787"},void 0,!1,void 0,this),ue.jsxDEV(Tu,{label:"admin token",size:"sm",type:"password",value:i,onChange:c,placeholder:"paste an admin JWT"},void 0,!1,void 0,this),ue.jsxDEV(mo,{size:"caption",tone:"subtle",children:'Every endpoint checks roles for "admin".'},void 0,!1,void 0,this)]},void 0,!0,void 0,this),ht.length>0?ue.jsxDEV("div",{className:"flex items-end gap-1.5",children:[ue.jsxDEV("div",{className:"min-w-0 flex-1",children:ue.jsxDEV($x,{label:"Tenant",placeholder:"select a tenant",selectedKey:u||null,onSelectionChange:(se)=>f(String(se)),children:ht.map((se)=>ue.jsxDEV(hx,{id:se,children:se===u&&!x.includes(se)?`${se} (manual)`:se},se,!1,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),ue.jsxDEV(ia,{variant:"ghost",size:"sm",className:"shrink-0",onPress:()=>{let se=prompt("Tenant name",u);if(se!=null&&se.trim())f(se.trim())},children:"edit"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):ue.jsxDEV(Tu,{label:"Tenant",size:"sm",value:u,onChange:f,placeholder:"main"},void 0,!1,void 0,this),ue.jsxDEV("div",{className:"flex flex-col gap-2",children:[ue.jsxDEV(mo,{size:"caption",tone:"muted",className:"font-medium uppercase tracking-wide",children:"Schema"},void 0,!1,void 0,this),h?ue.jsxDEV("div",{className:"flex items-center gap-2 rounded-full border border-border px-3 py-1 font-mono text-caption",title:"applied schema hash",children:[ue.jsxDEV("span",{className:`h-2 w-2 rounded-full ${h.hash?"bg-brand-green":"bg-fg-subtle"}`},void 0,!1,void 0,this),ue.jsxDEV("span",{className:h.hash?"text-fg-muted":"text-fg-subtle",children:h.hash?h.hash.slice(0,12):"no schema hash"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):ue.jsxDEV(mo,{size:"small",tone:"subtle",children:i?"—":"enter a token"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),ue.jsxDEV("div",{className:"flex flex-col gap-2",children:[ue.jsxDEV(mo,{size:"caption",tone:"muted",className:"font-medium uppercase tracking-wide",children:["Tables",He.length?` · ${He.length}`:""]},void 0,!0,void 0,this),He.length>0?ue.jsxDEV("ul",{className:"flex flex-col gap-1",children:He.map((se)=>ue.jsxDEV("li",{children:ue.jsxDEV("button",{className:`flex w-full items-center justify-between rounded-lg px-3 py-2 text-left text-small transition-colors ${se===R?"bg-surface-card font-medium text-fg":"text-fg-muted hover:bg-surface-card"}`,onClick:()=>w(se),children:[ue.jsxDEV("span",{children:se},void 0,!1,void 0,this),ue.jsxDEV(mo,{size:"caption",tone:"subtle",children:h.tables[se].length},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},se,!1,void 0,this))},void 0,!1,void 0,this):ue.jsxDEV(mo,{size:"small",tone:"subtle",children:i?"no tables":""},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),me=ue.jsxDEV(F0,{className:"px-6",children:[ue.jsxDEV(F0.Brand,{children:[ue.jsxDEV("span",{className:"text-callout font-bold text-fg",children:"pramen"},void 0,!1,void 0,this),ue.jsxDEV("span",{className:"text-fg-subtle",children:"admin"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),ue.jsxDEV(F0.Actions,{children:ue.jsxDEV(ia,{variant:"ghost",size:"sm","aria-label":b==="dark"?"Switch to light theme":"Switch to dark theme",onPress:()=>m(b==="dark"?"light":"dark"),children:b==="dark"?ue.jsxDEV(jE,{className:"h-4 w-4"},void 0,!1,void 0,this):ue.jsxDEV(GE,{className:"h-4 w-4"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return ue.jsxDEV(ue.Fragment,{children:[ue.jsxDEV(FE,{topbar:me,sidebar:un,sidebarLabel:"Admin navigation",drawerToggleLabel:"Toggle navigation",children:[ae&&ue.jsxDEV(Ff,{variant:"outlined",padding:"none",className:"mb-4 flex items-center justify-between gap-3 border-danger px-4 py-2.5",children:[ue.jsxDEV(mo,{size:"small",className:"text-danger",children:[ae.message," ",ue.jsxDEV("code",{className:"font-mono",children:ae.code},void 0,!1,void 0,this)]},void 0,!0,void 0,this),ue.jsxDEV(ia,{variant:"ghost",size:"sm",onPress:()=>U(null),children:"dismiss"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),!R?ue.jsxDEV(Ff,{variant:"outlined",padding:"lg",className:"text-center",children:[ue.jsxDEV(vx,{level:"3",className:"mb-2",children:i?"select a table":"paste an admin token to begin"},void 0,!1,void 0,this),ue.jsxDEV(mo,{tone:"muted",children:["The dashboard talks to the pramen Worker over HTTP. Tenant defaults to ",ue.jsxDEV("code",{className:"font-mono text-accent-strong",children:"main"},void 0,!1,void 0,this),"."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):ue.jsxDEV(ue.Fragment,{children:[ue.jsxDEV("div",{className:"mb-4 flex items-center gap-3",children:[ue.jsxDEV(vx,{level:"2",children:R},void 0,!1,void 0,this),ue.jsxDEV(qE,{color:"grey",label:H==null?"…":`${H} row${H===1?"":"s"}`},void 0,!1,void 0,this),ue.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),ue.jsxDEV(ia,{variant:"ghost",size:"sm",isDisabled:ge,onPress:()=>void le(),children:"refresh"},void 0,!1,void 0,this),ue.jsxDEV(ia,{size:"sm",onPress:W,children:"+ new row"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),ue.jsxDEV("div",{className:"mb-3 flex items-center gap-2",children:[ue.jsxDEV(ia,{variant:"secondary",size:"sm",isDisabled:X===0||ge,onPress:()=>Z(Math.max(0,X-Ru)),children:"‹ prev"},void 0,!1,void 0,this),ue.jsxDEV(mo,{size:"small",tone:"muted",children:["page ",xe,Xe!=null?` / ${Xe}`:""]},void 0,!0,void 0,this),ue.jsxDEV(ia,{variant:"secondary",size:"sm",isDisabled:ge||H!=null&&X+Ru>=H,onPress:()=>Z(X+Ru),children:"next ›"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),ge&&!L?ue.jsxDEV(mo,{tone:"subtle",className:"block py-12 text-center",children:"loading…"},void 0,!1,void 0,this):L?ue.jsxDEV(Ff,{variant:"outlined",padding:"none",className:"overflow-hidden",children:ue.jsxDEV(XE,{columns:ft,data:L,getRowKey:(se,Ge)=>String(se.id??Ge),emptyMessage:"no rows on this page","aria-label":`${R} rows`},void 0,!1,void 0,this)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),ue.jsxDEV(Us,{isOpen:te!=null,onOpenChange:(se)=>{if(!se)j(null)},size:"lg",title:te?te.mode==="create"?`new ${R} row`:`edit ${R} · id=${JSON.stringify(te.original?.id)}`:void 0,description:te?.mode==="edit"?"Only changed fields are sent as the patch.":te?"Sent as the row's values.":void 0,children:()=>te&&ue.jsxDEV("div",{className:"flex flex-col gap-4",children:[ue.jsxDEV("label",{className:"flex flex-col gap-2",children:[ue.jsxDEV(mo,{size:"small",weight:"medium",children:"row json"},void 0,!1,void 0,this),ue.jsxDEV("textarea",{className:"min-h-[300px] w-full resize-y rounded-lg border border-border bg-surface px-4 py-3 font-mono text-caption text-fg outline-none transition-colors focus:border-brand-green focus:ring-2 focus:ring-ring",value:te.text,spellCheck:!1,onChange:(se)=>j({...te,text:se.target.value})},void 0,!1,void 0,this)]},void 0,!0,void 0,this),ye&&ue.jsxDEV(Ff,{variant:"outlined",padding:"none",className:"border-danger px-3.5 py-2.5",children:ue.jsxDEV(mo,{size:"small",className:"text-danger",children:ye},void 0,!1,void 0,this)},void 0,!1,void 0,this),ue.jsxDEV("div",{className:"flex items-center gap-2",children:[ue.jsxDEV(mo,{size:"small",tone:"subtle",children:te.mode==="edit"?"id is never modified":"id is assigned by the server unless provided"},void 0,!1,void 0,this),ue.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),ue.jsxDEV(ia,{variant:"ghost",onPress:()=>j(null),children:"cancel"},void 0,!1,void 0,this),ue.jsxDEV(ia,{isDisabled:re,onPress:()=>void Ce(),children:re?"saving…":te.mode==="create"?"create":"save changes"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Tx=F(Qt(),1);tT.createRoot(document.getElementById("app")).render(Tx.jsxDEV(eT.StrictMode,{children:Tx.jsxDEV(JE,{},void 0,!1,void 0,this)},void 0,!1,void 0,this));
|