@pramen/cms-editor 0.0.39 → 0.0.41
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.0jsv1nns.js +251 -0
- package/package.json +1 -1
- package/src/app-context.tsx +4 -0
- package/src/components.tsx +36 -9
- package/src/routes/_layout.tsx +5 -1
- package/src/routes/home.tsx +16 -2
- package/dist/main.v8ynk2fc.js +0 -251
package/dist/main.v8ynk2fc.js
DELETED
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
var fE=Object.create;var{getPrototypeOf:uE,defineProperty:n9,getOwnPropertyNames:dE}=Object;var cE=Object.prototype.hasOwnProperty;function pE(Q){return this[Q]}var lE,iE,m=(Q,q,z)=>{var _=Q!=null&&typeof Q==="object";if(_){var W=q?lE??=new WeakMap:iE??=new WeakMap,K=W.get(Q);if(K)return K}z=Q!=null?fE(uE(Q)):{};let A=q||!Q||!Q.__esModule?n9(z,"default",{value:Q,enumerable:!0}):z;for(let L of dE(Q))if(!cE.call(A,L))n9(A,L,{get:pE.bind(Q,L),enumerable:!0});if(_)W.set(Q,A);return A};var nq=(Q,q)=>()=>(q||Q((q={exports:{}}).exports,q),q.exports);var nE=(Q)=>Q;function sE(Q,q){this[Q]=nE.bind(null,q)}var oG=(Q,q)=>{for(var z in q)n9(Q,z,{get:q[z],enumerable:!0,configurable:!0,set:sE.bind(q,z)})};var P=(Q,q)=>()=>(Q&&(q=Q(Q=0)),q);class $A{cache=new Map;_maxSize;constructor(Q){if(Q<0)throw Error(`[buzola] LoaderCache maxSize must be non-negative, got ${Q}`);this._maxSize=Q}get maxSize(){return this._maxSize}get size(){return this.cache.size}get(Q){let q=this.cache.get(Q);if(q!==void 0||this.cache.has(Q))this.cache.delete(Q),this.cache.set(Q,q);return q}has(Q){return this.cache.has(Q)}set(Q,q){this.cache.delete(Q),this.cache.set(Q,q);while(this.cache.size>this._maxSize){let z=this.cache.keys().next().value;this.cache.delete(z)}}delete(Q){this.cache.delete(Q)}clear(){this.cache.clear()}}function n_(Q,q){let z=q.pathname,_=z.split("/").filter(Boolean);return s9(Q.root,_,0,{},z)}function s9(Q,q,z,_,W){if(z===q.length){if(Q.route)return mT(Q.route.chain,_,W);return null}let K=q[z],A=Q.staticChildren.get(K);if(A){let L=s9(A,q,z+1,_,W);if(L)return L}if(Q.dynamicChild){let L={..._,[Q.dynamicChild.paramName]:decodeURIComponent(K)},M=s9(Q.dynamicChild.node,q,z+1,L,W);if(M)return M}if(Q.catchAllChild){let L=q.slice(z).map((I)=>decodeURIComponent(I)).join("/"),M={..._,[Q.catchAllChild.paramName]:L};return mT(Q.catchAllChild.chain,M,W)}return null}function mT(Q,q,z){return Q.map((_)=>({node:_,params:q,pathname:z}))}function a9(Q){let q=Q.endsWith("+");return{name:q?Q.slice(1,-1):Q.slice(1),isCatchAll:q}}function OK(Q){let q=[];for(let z of Q.split("/"))if(z.startsWith(":"))q.push(a9(z).name);return q}class SA{routes;adapter;viewTransitions;_basePath;persistentParamsFn;pageRegistry;subscribers=new Set;invalidationListeners=new Set;state;navigationId=0;stopFn;blockers=new Set;pendingScrollBehavior="after-transition";_loaderCache;constructor(Q){this.routes=Q.routes,this.adapter=Q.adapter,this.viewTransitions=Q.viewTransitions??!1,this._basePath=Q.basePath?Q.basePath.replace(/\/$/,""):"",this.persistentParamsFn=Q.persistentParams,this.pageRegistry=Q.pageRegistry??{},this._loaderCache=Q.loaderCacheSize?new $A(Q.loaderCacheSize):void 0;let q=this.adapter.getCurrentURL(),z=this.createMatchUrl(q),_=n_(this.routes,z)??[];if(_.length===0)console.warn(`[buzola] No route matched URL "${q.pathname}". Define a catch-all 404 route to handle unmatched URLs.`);this.state={location:q,matches:_,isPending:!1,navigationState:this.adapter.getState()}}get basePath(){return this._basePath}get loaderCache(){return this._loaderCache}getState(){return this.state}subscribe(Q){return this.subscribers.add(Q),()=>{this.subscribers.delete(Q)}}start(){let Q=(z)=>{if(!z.canIntercept)return;let _=new URL(z.destination.url),W=this.createMatchUrl(_),K=n_(this.routes,W);if(!K){console.warn(`[buzola] No route matched URL "${_.pathname}". The navigation was not intercepted.`);return}let A=++this.navigationId,L=z.viewTransition||this.viewTransitions,M=this.pendingScrollBehavior;this.pendingScrollBehavior="after-transition",z.intercept({scroll:M,handler:async()=>{for(let N of this.blockers){if(this.navigationId!==A)return;if(!await N())throw new o9}if(this.setState({...this.state,isPending:!0,pendingLocation:_}),this.navigationId!==A)return;let I=()=>{this.setState({location:_,matches:K,isPending:!1,pendingLocation:void 0,navigationState:this.adapter.getState()})};if(L&&typeof document<"u"&&"startViewTransition"in document)document.startViewTransition(I);else I()}})};this.adapter.addEventListener("navigate",Q);let q=()=>{this.adapter.removeEventListener("navigate",Q)};return this.stopFn=q,q}navigate(Q,q){if(q?.resetScroll===!1)this.pendingScrollBehavior="manual";this.adapter.navigate(this._basePath+Q,q)}navigateToPage(Q,q,z){let _=this.buildPagePath(Q,q);this.navigate(this.stripBasePath(_),z)}buildPagePath(Q,q){let z=this.pageRegistry[Q];if(!z)throw Error(`[buzola] Unknown page "${Q}". Is it registered in the page registry?`);let _=this.resolveParams(z,q);return this.buildPath(z,_)}preload(Q,q){let z=this.buildPagePath(Q,q),_=new URL(z,"http://localhost"),W=this.createMatchUrl(_),K=n_(this.routes,W);if(!K)return;for(let A of K)A.node.preload?.()}back(){this.adapter.back()}forward(){this.adapter.forward()}buildPath(Q,q){let z=Q.split("/"),_=[],W=[];for(let I of z)if(I.startsWith(":")){let{name:N,isCatchAll:O}=a9(I),R=q?.[N];if(R===void 0)W.push(N);else if(O)_.push(R);else _.push(encodeURIComponent(R))}else _.push(I);if(W.length>0){if(!q)throw Error(`[buzola] Missing params for path "${Q}": ${W.join(", ")}`);throw Error(`[buzola] Missing param "${W[0]}" for path "${Q}"`)}let K=new Set(OK(Q)),A=new URLSearchParams;if(q){for(let[I,N]of Object.entries(q))if(!K.has(I)&&N!==void 0)A.set(I,N)}let L=this._basePath+_.join("/"),M=A.toString();return M?`${L}?${M}`:L}stripBasePath(Q){if(this._basePath&&Q.startsWith(this._basePath))return Q.slice(this._basePath.length)||"/";return Q}resolveParams(Q,q){let z=OK(Q),_=this.getCurrentParams(),W=this.persistentParamsFn?.()??{},K={};for(let A of z){let L=q?.[A]??_[A]??W[A];if(L!==void 0)K[A]=L}if(q){let A=new Set(z);for(let[L,M]of Object.entries(q))if(!A.has(L)&&M!==void 0)K[L]=M}return K}getCurrentParams(){let Q={};for(let q of this.state.matches)Object.assign(Q,q.params);return Q}invalidateAll(){for(let Q of this.invalidationListeners)Q()}onInvalidate(Q){return this.invalidationListeners.add(Q),()=>{this.invalidationListeners.delete(Q)}}addBlocker(Q){return this.blockers.add(Q),()=>{this.blockers.delete(Q)}}dispose(){this.stopFn?.(),this.stopFn=void 0,this.subscribers.clear(),this.invalidationListeners.clear()}updateRoutes(Q){this.routes=Q;let q=n_(this.routes,this.createMatchUrl(this.state.location))??[];this.setState({...this.state,matches:q})}createMatchUrl(Q){if(!this._basePath)return Q;let q=new URL(Q);return q.pathname=this.stripBasePath(q.pathname),q}setState(Q){this.state=Q;for(let q of this.subscribers)q(this.state)}}var o9;var r9=P(()=>{o9=class o9 extends Error{constructor(){super("Navigation aborted by blocker");this.name="NavigationAbortedError"}}});function uT(Q){let{path:q,fullPath:z,component:_,searchSchema:W,preload:K,isLayout:A=!1,isIndex:L=!1}=Q;return{id:`route:${z||"/"}${A?":layout":""}`,path:fT(q),fullPath:fT(z),component:_,searchSchema:W,preload:K,isLayout:A,isIndex:L}}function e9(Q,q=""){let z=dT(Q,q,[]),_=t9();for(let W of z)aE(_,W.pattern,W.chain);return{root:_}}function dT(Q,q,z){let _=[];for(let W of Q){let K=W.isPathlessGroup?"":W.path,A=W.children!=null&&W.children.length>0,L=W.isLayout??A,M=W.isIndex??(!L&&(W.path==="/"||W.path==="")),I;if(W.matchPath!=null)I=W.matchPath;else if(M)I=q||"/";else I=rE(q||"/",K);let N=uT({path:K,fullPath:I,component:W.component,searchSchema:W.searchSchema,preload:W.preload,isLayout:L,isIndex:M});if(L){let O=[...z,N];if(W.children){let R=W.isPathlessGroup?q:I;_.push(...dT(W.children,R,O))}}else _.push({pattern:I,chain:[...z,N]})}return _}function t9(){return{staticChildren:new Map}}function aE(Q,q,z){let _=oE(q),W=Q;for(let K=0;K<_.length;K++){let A=_[K];if(A.startsWith(":")&&(A.endsWith("+")||A.endsWith("*"))){let L=A.slice(1,-1);W.catchAllChild={paramName:L,chain:z};return}if(A.startsWith(":")){let L=A.slice(1);if(!W.dynamicChild)W.dynamicChild={paramName:L,node:t9()};W=W.dynamicChild.node}else{let L=W.staticChildren.get(A);if(!L)L=t9(),W.staticChildren.set(A,L);W=L}}W.route={chain:z}}function oE(Q){return Q.split("/").filter(Boolean)}function fT(Q){if(Q===""||Q==="/")return"/";let q=Q.startsWith("/")?Q:`/${Q}`;return q.endsWith("/")?q.slice(0,-1):q}function rE(Q,q){if(q==="/")return Q==="/"?"/":Q;let z=Q==="/"?"":Q,_=q.startsWith("/")?q:`/${q}`;return z+_}function Z3(){let Q=window.navigation;if(!Q)throw Error("Navigation API is not available. Buzola requires a browser that supports the Navigation API.");let q=new Set,z=!1,_=(W)=>{let K=z;z=!1;let A={destination:{url:W.destination.url},canIntercept:W.canIntercept,navigationType:W.navigationType,userInitiated:W.userInitiated,viewTransition:K,intercept(L){W.intercept({handler:L.handler,scroll:L.scroll})}};for(let L of q)L(A)};return{getCurrentURL(){return new URL(Q.currentEntry.url)},navigate(W,K){if(K?.viewTransition)z=!0;Q.navigate(W,{history:K?.replace?"replace":"push",state:K?.state})},back(){Q.back()},forward(){Q.forward()},addEventListener(W,K){let A=q.size===0;if(q.add(K),A)Q.addEventListener("navigate",_)},removeEventListener(W,K){if(q.delete(K),q.size===0)Q.removeEventListener("navigate",_)},getState(){return Q.currentEntry?.getState?.()}}}function cT(Q){return!("issues"in Q["~standard"].validate(void 0))}function X3(Q,q,z){let _=Q["~standard"].validate(q);if("issues"in _)throw Error(`${z}${_.issues.map((W)=>W.message).join(", ")}`);return _.value}function pT(Q){let q=Q.startsWith("?"),z=q?Q.slice(1):Q,_=z.endsWith("[]"),W=_?z.slice(0,-2):z,K=eE[W];if(!K)throw Error(`[buzola] Unknown param type: ${W}`);let A;if(_)A=(L)=>{if(q&&(L===void 0||Array.isArray(L)&&L.length===0))return{value:void 0};if(!Array.isArray(L))return{issues:[{message:`expected ${W}[]`}]};let M=[];for(let I of L){let N=K(I);if("issues"in N)return N;M.push(N.value)}return{value:M}};else if(q)A=(L)=>L===void 0||L===""?{value:void 0}:K(L);else A=K;return{schema:{"~standard":{version:1,vendor:"buzola",validate:A}},optional:q,array:_}}var tE,eE;var EA=P(()=>{tE=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,eE={string:(Q)=>typeof Q==="string"?{value:Q}:{issues:[{message:"expected string"}]},number:(Q)=>{let q=Number(Q);return Number.isNaN(q)?{issues:[{message:"expected number"}]}:{value:q}},uuid:(Q)=>typeof Q==="string"&&tE.test(Q)?{value:Q}:{issues:[{message:"expected UUID"}]}}});var XZ=nq((Zk,kA)=>{(function(){function Q(V,d){Object.defineProperty(_.prototype,V,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",d[0],d[1])}})}function q(V){if(V===null||typeof V!=="object")return null;return V=Nq&&V[Nq]||V["@@iterator"],typeof V==="function"?V:null}function z(V,d){V=(V=V.constructor)&&(V.displayName||V.name)||"ReactClass";var QZ=V+"."+d;BZ[QZ]||(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.",d,V),BZ[QZ]=!0)}function _(V,d,QZ){this.props=V,this.context=d,this.refs=vY,this.updater=QZ||OQ}function W(){}function K(V,d,QZ){this.props=V,this.context=d,this.refs=vY,this.updater=QZ||OQ}function A(){}function L(V){return""+V}function M(V){try{L(V);var d=!1}catch(RZ){d=!0}if(d){d=console;var QZ=d.error,_Z=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return QZ.call(d,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",_Z),L(V)}}function I(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===Iq?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case p:return"Fragment";case o:return"Profiler";case w:return"StrictMode";case JX:return"Suspense";case IZ:return"SuspenseList";case LX:return"Activity"}if(typeof V==="object")switch(typeof V.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),V.$$typeof){case e:return"Portal";case VZ:return V.displayName||"Context";case OZ:return(V._context.displayName||"Context")+".Consumer";case vZ:var d=V.render;return V=V.displayName,V||(V=d.displayName||d.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case YX:return d=V.displayName||null,d!==null?d:I(V.type)||"Memo";case TX:d=V._payload,V=V._init;try{return I(V(d))}catch(QZ){}}return null}function N(V){if(V===p)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===TX)return"<...>";try{var d=I(V);return d?"<"+d+">":"<...>"}catch(QZ){return"<...>"}}function O(){var V=lZ.A;return V===null?null:V.getOwner()}function R(){return Error("react-stack-top-frame")}function j(V){if(cz.call(V,"key")){var d=Object.getOwnPropertyDescriptor(V,"key").get;if(d&&d.isReactWarning)return!1}return V.key!==void 0}function y(V,d){function QZ(){BB||(BB=!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)",d))}QZ.isReactWarning=!0,Object.defineProperty(V,"key",{get:QZ,configurable:!0})}function f(){var V=I(this.type);return MH[V]||(MH[V]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),V=this.props.ref,V!==void 0?V:null}function b(V,d,QZ,_Z,RZ,fZ){var uZ=QZ.ref;return V={$$typeof:g,type:V,key:d,props:QZ,_owner:_Z},(uZ!==void 0?uZ:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:f}):Object.defineProperty(V,"ref",{enumerable:!1,value:null}),V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(V,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(V,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:RZ}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:fZ}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function a(V,d){return d=b(V.type,d,V.props,V._owner,V._debugStack,V._debugTask),V._store&&(d._store.validated=V._store.validated),d}function r(V){JZ(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===TX&&(V._payload.status==="fulfilled"?JZ(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function JZ(V){return typeof V==="object"&&V!==null&&V.$$typeof===g}function ZZ(V){var d={"=":"=0",":":"=2"};return"$"+V.replace(/[=:]/g,function(QZ){return d[QZ]})}function UZ(V,d){return typeof V==="object"&&V!==null&&V.key!=null?(M(V.key),ZZ(""+V.key)):d.toString(36)}function xZ(V){switch(V.status){case"fulfilled":return V.value;case"rejected":throw V.reason;default:switch(typeof V.status==="string"?V.then(A,A):(V.status="pending",V.then(function(d){V.status==="pending"&&(V.status="fulfilled",V.value=d)},function(d){V.status==="pending"&&(V.status="rejected",V.reason=d)})),V.status){case"fulfilled":return V.value;case"rejected":throw V.reason}}throw V}function qZ(V,d,QZ,_Z,RZ){var fZ=typeof V;if(fZ==="undefined"||fZ==="boolean")V=null;var uZ=!1;if(V===null)uZ=!0;else switch(fZ){case"bigint":case"string":case"number":uZ=!0;break;case"object":switch(V.$$typeof){case g:case e:uZ=!0;break;case TX:return uZ=V._init,qZ(uZ(V._payload),d,QZ,_Z,RZ)}}if(uZ){uZ=V,RZ=RZ(uZ);var UX=_Z===""?"."+UZ(uZ,0):_Z;return $Z(RZ)?(QZ="",UX!=null&&(QZ=UX.replace(lz,"$&/")+"/"),qZ(RZ,d,QZ,"",function(hY){return hY})):RZ!=null&&(JZ(RZ)&&(RZ.key!=null&&(uZ&&uZ.key===RZ.key||M(RZ.key)),QZ=a(RZ,QZ+(RZ.key==null||uZ&&uZ.key===RZ.key?"":(""+RZ.key).replace(lz,"$&/")+"/")+UX),_Z!==""&&uZ!=null&&JZ(uZ)&&uZ.key==null&&uZ._store&&!uZ._store.validated&&(QZ._store.validated=2),RZ=QZ),d.push(RZ)),1}if(uZ=0,UX=_Z===""?".":_Z+":",$Z(V))for(var EZ=0;EZ<V.length;EZ++)_Z=V[EZ],fZ=UX+UZ(_Z,EZ),uZ+=qZ(_Z,d,QZ,fZ,RZ);else if(EZ=q(V),typeof EZ==="function")for(EZ===V.entries&&(pz||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),pz=!0),V=EZ.call(V),EZ=0;!(_Z=V.next()).done;)_Z=_Z.value,fZ=UX+UZ(_Z,EZ++),uZ+=qZ(_Z,d,QZ,fZ,RZ);else if(fZ==="object"){if(typeof V.then==="function")return qZ(xZ(V),d,QZ,_Z,RZ);throw d=String(V),Error("Objects are not valid as a React child (found: "+(d==="[object Object]"?"object with keys {"+Object.keys(V).join(", ")+"}":d)+"). If you meant to render a collection of children, use an array instead.")}return uZ}function l(V,d,QZ){if(V==null)return V;var _Z=[],RZ=0;return qZ(V,_Z,"","",function(fZ){return d.call(QZ,fZ,RZ++)}),_Z}function MZ(V){if(V._status===-1){var d=V._ioInfo;d!=null&&(d.start=d.end=performance.now()),d=V._result;var QZ=d();if(QZ.then(function(RZ){if(V._status===0||V._status===-1){V._status=1,V._result=RZ;var fZ=V._ioInfo;fZ!=null&&(fZ.end=performance.now()),QZ.status===void 0&&(QZ.status="fulfilled",QZ.value=RZ)}},function(RZ){if(V._status===0||V._status===-1){V._status=2,V._result=RZ;var fZ=V._ioInfo;fZ!=null&&(fZ.end=performance.now()),QZ.status===void 0&&(QZ.status="rejected",QZ.reason=RZ)}}),d=V._ioInfo,d!=null){d.value=QZ;var _Z=QZ.displayName;typeof _Z==="string"&&(d.name=_Z)}V._status===-1&&(V._status=0,V._result=QZ)}if(V._status===1)return d=V._result,d===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?`,d),"default"in d||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'))`,d),d.default;throw V._result}function n(){var V=lZ.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:
|
|
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.`),V}function wZ(){lZ.asyncTransitions--}function KZ(V){if(NH===null)try{var d=("require"+Math.random()).slice(0,7);NH=(kA&&kA[d]).call(kA,"timers").setImmediate}catch(QZ){NH=function(_Z){LB===!1&&(LB=!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 RZ=new MessageChannel;RZ.port1.onmessage=_Z,RZ.port2.postMessage(void 0)}}return NH(V)}function zZ(V){return 1<V.length&&typeof AggregateError==="function"?AggregateError(V):V[0]}function h(V,d){d!==IH-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. "),IH=d}function u(V,d,QZ){var _Z=lZ.actQueue;if(_Z!==null)if(_Z.length!==0)try{E(_Z),KZ(function(){return u(V,d,QZ)});return}catch(RZ){lZ.thrownErrors.push(RZ)}else lZ.actQueue=null;0<lZ.thrownErrors.length?(_Z=zZ(lZ.thrownErrors),lZ.thrownErrors.length=0,QZ(_Z)):d(V)}function E(V){if(!wH){wH=!0;var d=0;try{for(;d<V.length;d++){var QZ=V[d];do{lZ.didUsePromise=!1;var _Z=QZ(!1);if(_Z!==null){if(lZ.didUsePromise){V[d]=QZ,V.splice(0,d);return}QZ=_Z}else break}while(1)}V.length=0}catch(RZ){V.splice(0,d+1),lZ.thrownErrors.push(RZ)}finally{wH=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var g=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),OZ=Symbol.for("react.consumer"),VZ=Symbol.for("react.context"),vZ=Symbol.for("react.forward_ref"),JX=Symbol.for("react.suspense"),IZ=Symbol.for("react.suspense_list"),YX=Symbol.for("react.memo"),TX=Symbol.for("react.lazy"),LX=Symbol.for("react.activity"),Nq=Symbol.iterator,BZ={},OQ={isMounted:function(){return!1},enqueueForceUpdate:function(V){z(V,"forceUpdate")},enqueueReplaceState:function(V){z(V,"replaceState")},enqueueSetState:function(V){z(V,"setState")}},MQ=Object.assign,vY={};Object.freeze(vY),_.prototype.isReactComponent={},_.prototype.setState=function(V,d){if(typeof V!=="object"&&typeof V!=="function"&&V!=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,V,d,"setState")},_.prototype.forceUpdate=function(V){this.updater.enqueueForceUpdate(this,V,"forceUpdate")};var oX={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(zG in oX)oX.hasOwnProperty(zG)&&Q(zG,oX[zG]);W.prototype=_.prototype,oX=K.prototype=new W,oX.constructor=K,MQ(oX,_.prototype),oX.isPureReactComponent=!0;var $Z=Array.isArray,Iq=Symbol.for("react.client.reference"),lZ={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},cz=Object.prototype.hasOwnProperty,jX=console.createTask?console.createTask:function(){return null};oX={react_stack_bottom_frame:function(V){return V()}};var BB,kJ,MH={},FH=oX.react_stack_bottom_frame.bind(oX,R)(),BM=jX(N(R)),pz=!1,lz=/\/+/g,HG=typeof reportError==="function"?reportError:function(V){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var d=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof V==="object"&&V!==null&&typeof V.message==="string"?String(V.message):String(V),error:V});if(!window.dispatchEvent(d))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",V);return}console.error(V)},LB=!1,NH=null,IH=0,TH=!1,wH=!1,gW=typeof queueMicrotask==="function"?function(V){queueMicrotask(function(){return queueMicrotask(V)})}:KZ;oX=Object.freeze({__proto__:null,c:function(V){return n().useMemoCache(V)}});var zG={map:l,forEach:function(V,d,QZ){l(V,function(){d.apply(this,arguments)},QZ)},count:function(V){var d=0;return l(V,function(){d++}),d},toArray:function(V){return l(V,function(d){return d})||[]},only:function(V){if(!JZ(V))throw Error("React.Children.only expected to receive a single React element child.");return V}};Zk.Activity=LX,Zk.Children=zG,Zk.Component=_,Zk.Fragment=p,Zk.Profiler=o,Zk.PureComponent=K,Zk.StrictMode=w,Zk.Suspense=JX,Zk.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=lZ,Zk.__COMPILER_RUNTIME=oX,Zk.act=function(V){var d=lZ.actQueue,QZ=IH;IH++;var _Z=lZ.actQueue=d!==null?d:[],RZ=!1;try{var fZ=V()}catch(EZ){lZ.thrownErrors.push(EZ)}if(0<lZ.thrownErrors.length)throw h(d,QZ),V=zZ(lZ.thrownErrors),lZ.thrownErrors.length=0,V;if(fZ!==null&&typeof fZ==="object"&&typeof fZ.then==="function"){var uZ=fZ;return gW(function(){RZ||TH||(TH=!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(EZ,hY){RZ=!0,uZ.then(function(FQ){if(h(d,QZ),QZ===0){try{E(_Z),KZ(function(){return u(FQ,EZ,hY)})}catch(mW){lZ.thrownErrors.push(mW)}if(0<lZ.thrownErrors.length){var _G=zZ(lZ.thrownErrors);lZ.thrownErrors.length=0,hY(_G)}}else EZ(FQ)},function(FQ){h(d,QZ),0<lZ.thrownErrors.length?(FQ=zZ(lZ.thrownErrors),lZ.thrownErrors.length=0,hY(FQ)):hY(FQ)})}}}var UX=fZ;if(h(d,QZ),QZ===0&&(E(_Z),_Z.length!==0&&gW(function(){RZ||TH||(TH=!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(() => ...)"))}),lZ.actQueue=null),0<lZ.thrownErrors.length)throw V=zZ(lZ.thrownErrors),lZ.thrownErrors.length=0,V;return{then:function(EZ,hY){RZ=!0,QZ===0?(lZ.actQueue=_Z,KZ(function(){return u(UX,EZ,hY)})):EZ(UX)}}},Zk.cache=function(V){return function(){return V.apply(null,arguments)}},Zk.cacheSignal=function(){return null},Zk.captureOwnerStack=function(){var V=lZ.getCurrentStack;return V===null?null:V()},Zk.cloneElement=function(V,d,QZ){if(V===null||V===void 0)throw Error("The argument must be a React element, but you passed "+V+".");var _Z=MQ({},V.props),RZ=V.key,fZ=V._owner;if(d!=null){var uZ;Z:{if(cz.call(d,"ref")&&(uZ=Object.getOwnPropertyDescriptor(d,"ref").get)&&uZ.isReactWarning){uZ=!1;break Z}uZ=d.ref!==void 0}uZ&&(fZ=O()),j(d)&&(M(d.key),RZ=""+d.key);for(UX in d)!cz.call(d,UX)||UX==="key"||UX==="__self"||UX==="__source"||UX==="ref"&&d.ref===void 0||(_Z[UX]=d[UX])}var UX=arguments.length-2;if(UX===1)_Z.children=QZ;else if(1<UX){uZ=Array(UX);for(var EZ=0;EZ<UX;EZ++)uZ[EZ]=arguments[EZ+2];_Z.children=uZ}_Z=b(V.type,RZ,_Z,fZ,V._debugStack,V._debugTask);for(RZ=2;RZ<arguments.length;RZ++)r(arguments[RZ]);return _Z},Zk.createContext=function(V){return V={$$typeof:VZ,_currentValue:V,_currentValue2:V,_threadCount:0,Provider:null,Consumer:null},V.Provider=V,V.Consumer={$$typeof:OZ,_context:V},V._currentRenderer=null,V._currentRenderer2=null,V},Zk.createElement=function(V,d,QZ){for(var _Z=2;_Z<arguments.length;_Z++)r(arguments[_Z]);_Z={};var RZ=null;if(d!=null)for(EZ in kJ||!("__self"in d)||"key"in d||(kJ=!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")),j(d)&&(M(d.key),RZ=""+d.key),d)cz.call(d,EZ)&&EZ!=="key"&&EZ!=="__self"&&EZ!=="__source"&&(_Z[EZ]=d[EZ]);var fZ=arguments.length-2;if(fZ===1)_Z.children=QZ;else if(1<fZ){for(var uZ=Array(fZ),UX=0;UX<fZ;UX++)uZ[UX]=arguments[UX+2];Object.freeze&&Object.freeze(uZ),_Z.children=uZ}if(V&&V.defaultProps)for(EZ in fZ=V.defaultProps,fZ)_Z[EZ]===void 0&&(_Z[EZ]=fZ[EZ]);RZ&&y(_Z,typeof V==="function"?V.displayName||V.name||"Unknown":V);var EZ=1e4>lZ.recentlyCreatedOwnerStacks++;return b(V,RZ,_Z,O(),EZ?Error("react-stack-top-frame"):FH,EZ?jX(N(V)):BM)},Zk.createRef=function(){var V={current:null};return Object.seal(V),V},Zk.forwardRef=function(V){V!=null&&V.$$typeof===YX?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof V!=="function"?console.error("forwardRef requires a render function but was given %s.",V===null?"null":typeof V):V.length!==0&&V.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",V.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),V!=null&&V.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var d={$$typeof:vZ,render:V},QZ;return Object.defineProperty(d,"displayName",{enumerable:!1,configurable:!0,get:function(){return QZ},set:function(_Z){QZ=_Z,V.name||V.displayName||(Object.defineProperty(V,"name",{value:_Z}),V.displayName=_Z)}}),d},Zk.isValidElement=JZ,Zk.lazy=function(V){V={_status:-1,_result:V};var d={$$typeof:TX,_payload:V,_init:MZ},QZ={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return V._ioInfo=QZ,d._debugInfo=[{awaited:QZ}],d},Zk.memo=function(V,d){V==null&&console.error("memo: The first argument must be a component. Instead received: %s",V===null?"null":typeof V),d={$$typeof:YX,type:V,compare:d===void 0?null:d};var QZ;return Object.defineProperty(d,"displayName",{enumerable:!1,configurable:!0,get:function(){return QZ},set:function(_Z){QZ=_Z,V.name||V.displayName||(Object.defineProperty(V,"name",{value:_Z}),V.displayName=_Z)}}),d},Zk.startTransition=function(V){var d=lZ.T,QZ={};QZ._updatedFibers=new Set,lZ.T=QZ;try{var _Z=V(),RZ=lZ.S;RZ!==null&&RZ(QZ,_Z),typeof _Z==="object"&&_Z!==null&&typeof _Z.then==="function"&&(lZ.asyncTransitions++,_Z.then(wZ,wZ),_Z.then(A,HG))}catch(fZ){HG(fZ)}finally{d===null&&QZ._updatedFibers&&(V=QZ._updatedFibers.size,QZ._updatedFibers.clear(),10<V&&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.")),d!==null&&QZ.types!==null&&(d.types!==null&&d.types!==QZ.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=QZ.types),lZ.T=d}},Zk.unstable_useCacheRefresh=function(){return n().useCacheRefresh()},Zk.use=function(V){return n().use(V)},Zk.useActionState=function(V,d,QZ){return n().useActionState(V,d,QZ)},Zk.useCallback=function(V,d){return n().useCallback(V,d)},Zk.useContext=function(V){var d=n();return V.$$typeof===OZ&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),d.useContext(V)},Zk.useDebugValue=function(V,d){return n().useDebugValue(V,d)},Zk.useDeferredValue=function(V,d){return n().useDeferredValue(V,d)},Zk.useEffect=function(V,d){return V==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),n().useEffect(V,d)},Zk.useEffectEvent=function(V){return n().useEffectEvent(V)},Zk.useId=function(){return n().useId()},Zk.useImperativeHandle=function(V,d,QZ){return n().useImperativeHandle(V,d,QZ)},Zk.useInsertionEffect=function(V,d){return V==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),n().useInsertionEffect(V,d)},Zk.useLayoutEffect=function(V,d){return V==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),n().useLayoutEffect(V,d)},Zk.useMemo=function(V,d){return n().useMemo(V,d)},Zk.useOptimistic=function(V,d){return n().useOptimistic(V,d)},Zk.useReducer=function(V,d,QZ){return n().useReducer(V,d,QZ)},Zk.useRef=function(V){return n().useRef(V)},Zk.useState=function(V){return n().useState(V)},Zk.useSyncExternalStore=function(V,d,QZ){return n().useSyncExternalStore(V,d,QZ)},Zk.useTransition=function(){return n().useTransition()},Zk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var s_=nq((Xk)=>{var Hz=m(XZ());(function(){function Q(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===n?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case f:return"Fragment";case a:return"Profiler";case b:return"StrictMode";case UZ:return"Suspense";case xZ:return"SuspenseList";case MZ:return"Activity"}if(typeof w==="object")switch(typeof w.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case y:return"Portal";case JZ:return w.displayName||"Context";case r:return(w._context.displayName||"Context")+".Consumer";case ZZ:var o=w.render;return w=w.displayName,w||(w=o.displayName||o.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case qZ:return o=w.displayName||null,o!==null?o:Q(w.type)||"Memo";case l:o=w._payload,w=w._init;try{return Q(w(o))}catch(OZ){}}return null}function q(w){return""+w}function z(w){try{q(w);var o=!1}catch(vZ){o=!0}if(o){o=console;var OZ=o.error,VZ=typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return OZ.call(o,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",VZ),q(w)}}function _(w){if(w===f)return"<>";if(typeof w==="object"&&w!==null&&w.$$typeof===l)return"<...>";try{var o=Q(w);return o?"<"+o+">":"<...>"}catch(OZ){return"<...>"}}function W(){var w=wZ.A;return w===null?null:w.getOwner()}function K(){return Error("react-stack-top-frame")}function A(w){if(KZ.call(w,"key")){var o=Object.getOwnPropertyDescriptor(w,"key").get;if(o&&o.isReactWarning)return!1}return w.key!==void 0}function L(w,o){function OZ(){u||(u=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",o))}OZ.isReactWarning=!0,Object.defineProperty(w,"key",{get:OZ,configurable:!0})}function M(){var w=Q(this.type);return E[w]||(E[w]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),w=this.props.ref,w!==void 0?w:null}function I(w,o,OZ,VZ,vZ,JX){var IZ=OZ.ref;return w={$$typeof:j,type:w,key:o,props:OZ,_owner:VZ},(IZ!==void 0?IZ:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:M}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:vZ}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:JX}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function N(w,o,OZ,VZ,vZ,JX){var IZ=o.children;if(IZ!==void 0)if(VZ)if(zZ(IZ)){for(VZ=0;VZ<IZ.length;VZ++)O(IZ[VZ]);Object.freeze&&Object.freeze(IZ)}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 O(IZ);if(KZ.call(o,"key")){IZ=Q(w);var YX=Object.keys(o).filter(function(LX){return LX!=="key"});VZ=0<YX.length?"{key: someKey, "+YX.join(": ..., ")+": ...}":"{key: someKey}",p[IZ+VZ]||(YX=0<YX.length?"{"+YX.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
14
|
-
let props = %s;
|
|
15
|
-
<%s {...props} />
|
|
16
|
-
React keys must be passed directly to JSX without using spread:
|
|
17
|
-
let props = %s;
|
|
18
|
-
<%s key={someKey} {...props} />`,VZ,IZ,YX,IZ),p[IZ+VZ]=!0)}if(IZ=null,OZ!==void 0&&(z(OZ),IZ=""+OZ),A(o)&&(z(o.key),IZ=""+o.key),"key"in o){OZ={};for(var TX in o)TX!=="key"&&(OZ[TX]=o[TX])}else OZ=o;return IZ&&L(OZ,typeof w==="function"?w.displayName||w.name||"Unknown":w),I(w,IZ,OZ,W(),vZ,JX)}function O(w){R(w)?w._store&&(w._store.validated=1):typeof w==="object"&&w!==null&&w.$$typeof===l&&(w._payload.status==="fulfilled"?R(w._payload.value)&&w._payload.value._store&&(w._payload.value._store.validated=1):w._store&&(w._store.validated=1))}function R(w){return typeof w==="object"&&w!==null&&w.$$typeof===j}var j=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),r=Symbol.for("react.consumer"),JZ=Symbol.for("react.context"),ZZ=Symbol.for("react.forward_ref"),UZ=Symbol.for("react.suspense"),xZ=Symbol.for("react.suspense_list"),qZ=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),MZ=Symbol.for("react.activity"),n=Symbol.for("react.client.reference"),wZ=Hz.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,KZ=Object.prototype.hasOwnProperty,zZ=Array.isArray,h=console.createTask?console.createTask:function(){return null};Hz={react_stack_bottom_frame:function(w){return w()}};var u,E={},g=Hz.react_stack_bottom_frame.bind(Hz,K)(),e=h(_(K)),p={};Xk.Fragment=f,Xk.jsx=function(w,o,OZ){var VZ=1e4>wZ.recentlyCreatedOwnerStacks++;return N(w,o,OZ,!1,VZ?Error("react-stack-top-frame"):g,VZ?h(_(w)):e)},Xk.jsxs=function(w,o,OZ){var VZ=1e4>wZ.recentlyCreatedOwnerStacks++;return N(w,o,OZ,!0,VZ?Error("react-stack-top-frame"):g,VZ?h(_(w)):e)}})()});class Y3{activeUrlHref=null;activeCacheKey=null;activePromise=null;activeResolvedData;hasResolved=!1;pendingBackgroundKey=null;id;constructor(){this.id=Yk++}resolve(Q){let{currentUrlHref:q,cacheKey:z,load:_,loaderCache:W,onBackgroundSettled:K}=Q;if(this.handleUrlChange(q,W),this.activeCacheKey===z){if(this.pendingBackgroundKey===z)return{action:"render",data:this.activeResolvedData,isLoading:!0};if(this.hasResolved)return{action:"render",data:this.activeResolvedData,isLoading:!1};return{action:"suspend",promise:this.activePromise}}if(this.hasResolved){let L=_();return this.activeCacheKey=z,this.activePromise=L,this.pendingBackgroundKey=z,L.then((M)=>{if(this.activeCacheKey===z)K({ok:!0,result:M})},()=>{if(this.activeCacheKey===z)K({ok:!1})}),{action:"render",data:this.activeResolvedData,isLoading:!0}}let A=_();return this.activeCacheKey=z,this.activePromise=A,{action:"suspend",promise:A}}commitResult(Q){this.activeResolvedData=Q,this.hasResolved=!0}commitBackgroundResult(Q){this.activeResolvedData=Q,this.pendingBackgroundKey=null}commitBackgroundError(){this.hasResolved=!1,this.pendingBackgroundKey=null}dispose(Q){if(Q&&this.hasResolved&&this.activeResolvedData!==void 0&&this.activeUrlHref)this.saveToStaleCache(Q,this.activeUrlHref,this.activeResolvedData);this.activeUrlHref=null,this.activeCacheKey=null,this.activePromise=null,this.activeResolvedData=void 0,this.hasResolved=!1,this.pendingBackgroundKey=null}handleUrlChange(Q,q){if(this.activeUrlHref!==null&&this.activeUrlHref!==Q){if(q&&this.hasResolved&&this.activeResolvedData!==void 0)this.saveToStaleCache(q,this.activeUrlHref,this.activeResolvedData);let z=q&&this.restoreFromStaleCache(q,Q);if(z?.hit)this.activeResolvedData=z.value,this.hasResolved=!0;else this.hasResolved=!1,this.activeResolvedData=void 0;this.pendingBackgroundKey=null}else if(this.activeUrlHref===null&&q){let z=this.restoreFromStaleCache(q,Q);if(z.hit)this.activeResolvedData=z.value,this.hasResolved=!0}this.activeUrlHref=Q}staleCacheKey(Q){return`${this.id}:${Q}`}restoreFromStaleCache(Q,q){let z=this.staleCacheKey(q);if(!Q.has(z))return{hit:!1};let _=Q.get(z);return Q.delete(z),{hit:!0,value:_}}saveToStaleCache(Q,q,z){Q.set(this.staleCacheKey(q),z)}}var Yk=0;var Q3,rG,YJ;var a_=P(()=>{Q3=m(XZ(),1),rG=Q3.createContext(null),YJ=Q3.createContext(null)});var xA,zz;var yA=P(()=>{xA=m(XZ(),1);zz=class zz extends xA.Component{state={error:null,prevResetKey:void 0};static getDerivedStateFromError(Q){return{error:Q}}static getDerivedStateFromProps(Q,q){if(q.error&&Q.resetKey!==q.prevResetKey)return{error:null,prevResetKey:Q.resetKey};if(Q.resetKey!==q.prevResetKey)return{prevResetKey:Q.resetKey};return null}componentDidCatch(Q,q){console.error("Buzola route error:",Q,q)}render(){if(this.state.error){if(typeof this.props.fallback==="function")return this.props.fallback(this.state.error);if(this.props.fallback)return this.props.fallback;return xA.default.createElement("div",{style:{color:"red"}},`Route error: ${this.state.error.message}`)}return this.props.children}}});function Qk(Q){return"~standard"in Q}function Jk(Q){if(Qk(Q))return{schema:Q,paramsMeta:Q.__buzolaKeys??[]};let q=Q,z=[],_={};for(let[K,A]of Object.entries(q))if(typeof A==="string"){let L=pT(A);_[K]=L.schema,z.push({name:K,optional:L.optional,array:L.array})}else _[K]=A,z.push({name:K,optional:cT(A),array:!1});return{schema:{"~standard":{version:1,vendor:"buzola",validate:(K)=>{let A=K??{},L={};for(let[M,I]of Object.entries(_)){let N=I["~standard"].validate(A[M]);if("issues"in N)return N;L[M]=N.value}return{value:L}}}},paramsMeta:z}}class o_{pageId;params;__buzolaRedirect=!0;constructor(Q,q){this.pageId=Q,this.params=q}}function MK(Q){if(Q.length===0)return;if(Q.length===1)return Q[0];return async(q)=>{let z=await Promise.all(Q.map((W)=>W(q))),_=z.find((W)=>W instanceof o_);if(_)return _;return Object.assign({},...z)}}function FK(Q,q,z,_,W,K){let A=new Set(q.filter((O)=>O.array).map((O)=>O.name)),L=z?new Y3:void 0;function M(){let O=FY.use(YJ);if(!O)throw Error("createPage component must be used within a <BuzolaProvider>");let R=FY.use(rG),j=FY.useMemo(()=>{let{state:UZ,matches:xZ,params:qZ}=O,l=xZ.find((wZ)=>wZ.node.component===M),MZ=new Set(l?OK(l.node.fullPath):[]),n={};if(A.size>0)for(let wZ of A){if(MZ.has(wZ))continue;let KZ=[...UZ.location.searchParams.getAll(wZ),...UZ.location.searchParams.getAll(`${wZ}[]`)];if(KZ.length>0)n[wZ]=KZ}UZ.location.searchParams.forEach((wZ,KZ)=>{let zZ=KZ.endsWith("[]")?KZ.slice(0,-2):KZ;if(!MZ.has(zZ)&&!(zZ in n))n[zZ]=wZ});for(let[wZ,KZ]of Object.entries(qZ))if(A.has(wZ))n[wZ]=KZ.split(",");else n[wZ]=KZ;if(Q)return X3(Q,n,"Page params validation failed: ");return n},[O]),[y,f]=FY.useState(0),[,b]=FY.useReducer((UZ)=>UZ+1,0),a=FY.useCallback(()=>f((UZ)=>UZ+1),[]);FY.useEffect(()=>{if(!R)return;return R.onInvalidate(()=>f((UZ)=>UZ+1))},[R]);let r,JZ=!1,ZZ=!1;if(z&&L){let UZ=O.state.location.href,xZ=`${UZ}:${y}`,qZ=L.resolve({currentUrlHref:UZ,cacheKey:xZ,load:()=>z({params:j,redirect:lT}),loaderCache:R?.loaderCache,onBackgroundSettled:(l)=>{if(l.ok){if(l.result instanceof o_){R?.navigateToPage(l.result.pageId,l.result.params,{replace:!0});return}L.commitBackgroundResult(l.result)}else L.commitBackgroundError();b()}});if(qZ.action==="render")r=qZ.data,JZ=qZ.isLoading;else{let l=FY.use(qZ.promise);if(l instanceof o_)R?.navigateToPage(l.pageId,l.params,{replace:!0}),ZZ=!0;else r=l,L.commitResult(r)}}if(FY.useEffect(()=>{return()=>L?.dispose(R?.loaderCache)},[]),ZZ)return null;return vA.jsx(W,{params:j,data:r,invalidate:a,isLoading:JZ})}function I(){let O=FY.use(YJ),[R,j]=FY.useState(0),y=FY.useCallback(()=>j((a)=>a+1),[]),f=`${O?.state.location.href??""}:${R}`;return vA.jsx(zz,{fallback:typeof K==="function"?(a)=>K({error:a,params:O?.params??{},retry:y}):K,resetKey:f,children:vA.jsx(M,{},R)})}return{__buzolaPage:!0,component:K?I:M,route:_,paramsSchema:Q,paramsMeta:q,loader:z}}function qk(Q,q,z,_){return{route(W){return{render(K){return FK(Q,q,MK(z),W,K,_)}}},render(W){return FK(Q,q,MK(z),void 0,W,_)}}}function J3(Q,q,z){return{loader(_){return J3(Q,q,[...z,_])},catch(_){return qk(Q,q,z,_)},route(_){return{catch(W){return{render(K){return FK(Q,q,MK(z),_,K,W)}}},render(W){return FK(Q,q,MK(z),_,W)}}},render(_){return FK(Q,q,MK(z),void 0,_)}}}function DY(){return{params(Q){let{schema:q,paramsMeta:z}=Jk(Q);return J3(q,z,[])},...J3(void 0,[],[])}}var vA,FY,lT=(Q,q)=>{return new o_(Q,q)};var iT=P(()=>{EA();a_();yA();vA=m(s_(),1),FY=m(XZ(),1)});function Hk(){return zQ.default.createElement("div",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem",maxWidth:"600px",margin:"0 auto"}},Gk?[zQ.default.createElement("h1",{key:"h"},"404 — Page Not Found"),zQ.default.createElement("p",{key:"p1"},`No route matches "${typeof window<"u"?window.location.pathname:""}".`),zQ.default.createElement("p",{key:"p2",style:{color:"#666",fontSize:"0.9rem"}},"To handle this, add a _404.tsx catch-all route or pass a notFound prop to <Outlet />.")]:[zQ.default.createElement("h1",{key:"h"},"404"),zQ.default.createElement("p",{key:"p"},"Page not found.")])}function r_({fallback:Q,errorFallback:q,notFound:z}){let _=zQ.use(YJ);if(!_)throw Error("<Outlet /> must be used within a <BuzolaProvider>");let{state:W,depth:K,matches:A}=_,L=K,M=A[L];while(M&&!M.node.component)L++,M=A[L];let I=zQ.useMemo(()=>{if(!M)return null;let O={..._.params};for(let R=K;R<=L;R++)if(A[R])O={...O,...A[R].params};return{state:W,depth:L+1,matches:A,params:O}},[W,K,L,A,M,_.params]);if(!M){if(K===0&&A.length===0){if(z===null)return null;return z??zQ.default.createElement(Hk,null)}return null}let N=M.node.component;return NK.jsx(zz,{fallback:q,resetKey:M.node.id,children:NK.jsx(zQ.Suspense,{fallback:Q??null,children:I&&NK.jsx(YJ,{value:I,children:NK.jsx(N,{})})})})}var NK,zQ,Gk;var q3=P(()=>{a_();yA();NK=m(s_(),1),zQ=m(XZ(),1),Gk=typeof process<"u"&&!0});function hA({routes:Q,children:q,middleware:z,..._}){let W=vQ.useRef(_.router);if(!W.current)W.current=new SA({routes:Q,adapter:Z3(),persistentParams:_.persistentParams,pageRegistry:_.pageRegistry});let K=W.current,A=vQ.useCallback((R)=>K.subscribe(R),[K]),L=vQ.useCallback(()=>K.getState(),[K]),M=vQ.useSyncExternalStore(A,L,L);vQ.useLayoutEffect(()=>{return K.start()},[K]);let I=vQ.useMemo(()=>({state:M,depth:0,matches:M.matches,params:{}}),[M]),N=vQ.useMemo(()=>{let R={};for(let j of M.matches)R={...R,...j.params};return R},[M.matches]),O=q??IK.jsx(r_,{});return IK.jsx(rG,{value:K,children:IK.jsx(YJ,{value:I,children:z?IK.jsx(z,{params:N,matches:M.matches,children:O}):O})})}var IK,vQ;var nT=P(()=>{r9();a_();q3();IK=m(s_(),1),vQ=m(XZ(),1)});function TK(){let Q=Hq.use(rG);if(!Q)throw Error("useRouter must be used within a <BuzolaProvider>");return Q}function zk(){let Q=Hq.use(YJ);if(!Q)throw Error("Route hooks must be used within a <BuzolaProvider>");return Q}function fY(){let Q=TK();return Hq.useCallback((q,z)=>{Q.navigateToPage(q,z?.params,z)},[Q])}function bA(){let Q=zk(),q=TK(),{state:z,matches:_,params:W,depth:K}=Q;return Hq.useMemo(()=>({params:W,matches:_,depth:K,isPending:z.isPending,pendingLocation:z.pendingLocation?q.stripBasePath(z.pendingLocation.pathname):void 0,pathname:q.stripBasePath(z.location.pathname)}),[W,_,K,z.isPending,z.pendingLocation,z.location.pathname,q])}var Hq;var G3=P(()=>{EA();a_();Hq=m(XZ(),1)});var _k,gA;var aT=P(()=>{G3();_k=m(s_(),1),gA=m(XZ(),1)});var oT=P(()=>{nT();q3();aT();yA();G3();a_()});var QJ=P(()=>{r9();EA();iT();oT()});var rT=nq((Ok)=>{(function(){function Q(){if(ZZ=!1,l){var u=Ok.unstable_now();wZ=u;var E=!0;try{Z:{r=!1,JZ&&(JZ=!1,xZ(MZ),MZ=-1),a=!0;var g=b;try{X:{K(u);for(f=z(R);f!==null&&!(f.expirationTime>u&&L());){var e=f.callback;if(typeof e==="function"){f.callback=null,b=f.priorityLevel;var p=e(f.expirationTime<=u);if(u=Ok.unstable_now(),typeof p==="function"){f.callback=p,K(u),E=!0;break X}f===z(R)&&_(R),K(u)}else _(R);f=z(R)}if(f!==null)E=!0;else{var w=z(j);w!==null&&M(A,w.startTime-u),E=!1}}break Z}finally{f=null,b=g,a=!1}E=void 0}}finally{E?KZ():l=!1}}}function q(u,E){var g=u.length;u.push(E);Z:for(;0<g;){var e=g-1>>>1,p=u[e];if(0<W(p,E))u[e]=E,u[g]=p,g=e;else break Z}}function z(u){return u.length===0?null:u[0]}function _(u){if(u.length===0)return null;var E=u[0],g=u.pop();if(g!==E){u[0]=g;Z:for(var e=0,p=u.length,w=p>>>1;e<w;){var o=2*(e+1)-1,OZ=u[o],VZ=o+1,vZ=u[VZ];if(0>W(OZ,g))VZ<p&&0>W(vZ,OZ)?(u[e]=vZ,u[VZ]=g,e=VZ):(u[e]=OZ,u[o]=g,e=o);else if(VZ<p&&0>W(vZ,g))u[e]=vZ,u[VZ]=g,e=VZ;else break Z}}return E}function W(u,E){var g=u.sortIndex-E.sortIndex;return g!==0?g:u.id-E.id}function K(u){for(var E=z(j);E!==null;){if(E.callback===null)_(j);else if(E.startTime<=u)_(j),E.sortIndex=E.expirationTime,q(R,E);else break;E=z(j)}}function A(u){if(JZ=!1,K(u),!r)if(z(R)!==null)r=!0,l||(l=!0,KZ());else{var E=z(j);E!==null&&M(A,E.startTime-u)}}function L(){return ZZ?!0:Ok.unstable_now()-wZ<n?!1:!0}function M(u,E){MZ=UZ(function(){u(Ok.unstable_now())},E)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Ok.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var I=performance;Ok.unstable_now=function(){return I.now()}}else{var N=Date,O=N.now();Ok.unstable_now=function(){return N.now()-O}}var R=[],j=[],y=1,f=null,b=3,a=!1,r=!1,JZ=!1,ZZ=!1,UZ=typeof setTimeout==="function"?setTimeout:null,xZ=typeof clearTimeout==="function"?clearTimeout:null,qZ=typeof setImmediate<"u"?setImmediate:null,l=!1,MZ=-1,n=5,wZ=-1;if(typeof qZ==="function")var KZ=function(){qZ(Q)};else if(typeof MessageChannel<"u"){var zZ=new MessageChannel,h=zZ.port2;zZ.port1.onmessage=Q,KZ=function(){h.postMessage(null)}}else KZ=function(){UZ(Q,0)};Ok.unstable_IdlePriority=5,Ok.unstable_ImmediatePriority=1,Ok.unstable_LowPriority=4,Ok.unstable_NormalPriority=3,Ok.unstable_Profiling=null,Ok.unstable_UserBlockingPriority=2,Ok.unstable_cancelCallback=function(u){u.callback=null},Ok.unstable_forceFrameRate=function(u){0>u||125<u?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):n=0<u?Math.floor(1000/u):5},Ok.unstable_getCurrentPriorityLevel=function(){return b},Ok.unstable_next=function(u){switch(b){case 1:case 2:case 3:var E=3;break;default:E=b}var g=b;b=E;try{return u()}finally{b=g}},Ok.unstable_requestPaint=function(){ZZ=!0},Ok.unstable_runWithPriority=function(u,E){switch(u){case 1:case 2:case 3:case 4:case 5:break;default:u=3}var g=b;b=u;try{return E()}finally{b=g}},Ok.unstable_scheduleCallback=function(u,E,g){var e=Ok.unstable_now();switch(typeof g==="object"&&g!==null?(g=g.delay,g=typeof g==="number"&&0<g?e+g:e):g=e,u){case 1:var p=-1;break;case 2:p=250;break;case 5:p=1073741823;break;case 4:p=1e4;break;default:p=5000}return p=g+p,u={id:y++,callback:E,priorityLevel:u,startTime:g,expirationTime:p,sortIndex:-1},g>e?(u.sortIndex=g,q(j,u),z(R)===null&&u===z(j)&&(JZ?(xZ(MZ),MZ=-1):JZ=!0,M(A,g-e))):(u.sortIndex=p,q(R,u),r||a||(r=!0,l||(l=!0,KZ()))),u},Ok.unstable_shouldYield=L,Ok.unstable_wrapCallback=function(u){var E=b;return function(){var g=b;b=E;try{return u.apply(this,arguments)}finally{b=g}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var tT=nq((Mk)=>{var H3=m(XZ());(function(){function Q(){}function q(N){return""+N}function z(N,O,R){var j=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{q(j);var y=!1}catch(f){y=!0}return y&&(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&&j[Symbol.toStringTag]||j.constructor.name||"Object"),q(j)),{$$typeof:M,key:j==null?null:""+j,children:N,containerInfo:O,implementation:R}}function _(N,O){if(N==="font")return"";if(typeof O==="string")return O==="use-credentials"?O:""}function W(N){return N===null?"`null`":N===void 0?"`undefined`":N===""?"an empty string":'something with type "'+typeof N+'"'}function K(N){return N===null?"`null`":N===void 0?"`undefined`":N===""?"an empty string":typeof N==="string"?JSON.stringify(N):typeof N==="number"?"`"+N+"`":'something with type "'+typeof N+'"'}function A(){var N=I.H;return N===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:
|
|
19
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
20
|
-
2. You might be breaking the Rules of Hooks
|
|
21
|
-
3. You might have more than one copy of React in the same app
|
|
22
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),N}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var L={d:{f:Q,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:Q,C:Q,L:Q,m:Q,X:Q,S:Q,M:Q},p:0,findDOMNode:null},M=Symbol.for("react.portal"),I=H3.__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"),Mk.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,Mk.createPortal=function(N,O){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!O||O.nodeType!==1&&O.nodeType!==9&&O.nodeType!==11)throw Error("Target container is not a DOM element.");return z(N,O,null,R)},Mk.flushSync=function(N){var O=I.T,R=L.p;try{if(I.T=null,L.p=2,N)return N()}finally{I.T=O,L.p=R,L.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.")}},Mk.preconnect=function(N,O){typeof N==="string"&&N?O!=null&&typeof O!=="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.",K(O)):O!=null&&typeof O.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.",W(O.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",W(N)),typeof N==="string"&&(O?(O=O.crossOrigin,O=typeof O==="string"?O==="use-credentials"?O:"":void 0):O=null,L.d.C(N,O))},Mk.prefetchDNS=function(N){if(typeof N!=="string"||!N)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",W(N));else if(1<arguments.length){var O=arguments[1];typeof O==="object"&&O.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`.",K(O)):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`.",K(O))}typeof N==="string"&&L.d.D(N)},Mk.preinit=function(N,O){if(typeof N==="string"&&N?O==null||typeof O!=="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.",K(O)):O.as!=="style"&&O.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".',K(O.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",W(N)),typeof N==="string"&&O&&typeof O.as==="string"){var R=O.as,j=_(R,O.crossOrigin),y=typeof O.integrity==="string"?O.integrity:void 0,f=typeof O.fetchPriority==="string"?O.fetchPriority:void 0;R==="style"?L.d.S(N,typeof O.precedence==="string"?O.precedence:void 0,{crossOrigin:j,integrity:y,fetchPriority:f}):R==="script"&&L.d.X(N,{crossOrigin:j,integrity:y,fetchPriority:f,nonce:typeof O.nonce==="string"?O.nonce:void 0})}},Mk.preinitModule=function(N,O){var R="";if(typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),O!==void 0&&typeof O!=="object"?R+=" The `options` argument encountered was "+W(O)+".":O&&("as"in O)&&O.as!=="script"&&(R+=" The `as` option encountered was "+K(O.as)+"."),R)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",R);else switch(R=O&&typeof O.as==="string"?O.as:"script",R){case"script":break;default:R=K(R),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',R,N)}if(typeof N==="string")if(typeof O==="object"&&O!==null){if(O.as==null||O.as==="script")R=_(O.as,O.crossOrigin),L.d.M(N,{crossOrigin:R,integrity:typeof O.integrity==="string"?O.integrity:void 0,nonce:typeof O.nonce==="string"?O.nonce:void 0})}else O==null&&L.d.M(N)},Mk.preload=function(N,O){var R="";if(typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),O==null||typeof O!=="object"?R+=" The `options` argument encountered was "+W(O)+".":typeof O.as==="string"&&O.as||(R+=" The `as` option encountered was "+W(O.as)+"."),R&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',R),typeof N==="string"&&typeof O==="object"&&O!==null&&typeof O.as==="string"){R=O.as;var j=_(R,O.crossOrigin);L.d.L(N,R,{crossOrigin:j,integrity:typeof O.integrity==="string"?O.integrity:void 0,nonce:typeof O.nonce==="string"?O.nonce:void 0,type:typeof O.type==="string"?O.type:void 0,fetchPriority:typeof O.fetchPriority==="string"?O.fetchPriority:void 0,referrerPolicy:typeof O.referrerPolicy==="string"?O.referrerPolicy:void 0,imageSrcSet:typeof O.imageSrcSet==="string"?O.imageSrcSet:void 0,imageSizes:typeof O.imageSizes==="string"?O.imageSizes:void 0,media:typeof O.media==="string"?O.media:void 0})}},Mk.preloadModule=function(N,O){var R="";typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),O!==void 0&&typeof O!=="object"?R+=" The `options` argument encountered was "+W(O)+".":O&&("as"in O)&&typeof O.as!=="string"&&(R+=" The `as` option encountered was "+W(O.as)+"."),R&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',R),typeof N==="string"&&(O?(R=_(O.as,O.crossOrigin),L.d.m(N,{as:typeof O.as==="string"&&O.as!=="script"?O.as:void 0,crossOrigin:R,integrity:typeof O.integrity==="string"?O.integrity:void 0})):L.d.m(N))},Mk.requestFormReset=function(N){L.d.r(N)},Mk.unstable_batchedUpdates=function(N,O){return N(O)},Mk.useFormState=function(N,O,R){return A().useFormState(N,O,R)},Mk.useFormStatus=function(){return A().useHostTransitionStatus()},Mk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var sq=nq((ng,eT)=>{var Fk=m(tT());eT.exports=Fk});var Z2=nq((Nk)=>{var KX=m(rT()),t_=m(XZ()),z3=m(sq());(function(){function Q(Z,X){for(Z=Z.memoizedState;Z!==null&&0<X;)Z=Z.next,X--;return Z}function q(Z,X,Y,J){if(Y>=X.length)return J;var G=X[Y],H=zY(Z)?Z.slice():rZ({},Z);return H[G]=q(Z[G],X,Y+1,J),H}function z(Z,X,Y){if(X.length!==Y.length)console.warn("copyWithRename() expects paths of the same length");else{for(var J=0;J<Y.length-1;J++)if(X[J]!==Y[J]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return _(Z,X,Y,0)}}function _(Z,X,Y,J){var G=X[J],H=zY(Z)?Z.slice():rZ({},Z);return J+1===X.length?(H[Y[J]]=H[G],zY(H)?H.splice(G,1):delete H[G]):H[G]=_(Z[G],X,Y,J+1),H}function W(Z,X,Y){var J=X[Y],G=zY(Z)?Z.slice():rZ({},Z);if(Y+1===X.length)return zY(G)?G.splice(J,1):delete G[J],G;return G[J]=W(Z[J],X,Y+1),G}function K(){return!1}function A(){return null}function L(){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 M(){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 I(){}function N(){}function O(Z){var X=[];return Z.forEach(function(Y){X.push(Y)}),X.sort().join(", ")}function R(Z,X,Y,J){return new $D(Z,X,Y,J)}function j(Z,X){Z.context===$G&&(B0(Z.current,2,X,Z,null,null),J_())}function y(Z,X){if(iQ!==null){var Y=X.staleFamilies;X=X.updatedFamilies,UU(),l8(Z.current,X,Y),J_()}}function f(Z){iQ=Z}function b(Z){return!(!Z||Z.nodeType!==1&&Z.nodeType!==9&&Z.nodeType!==11)}function a(Z){var X=Z,Y=Z;if(Z.alternate)for(;X.return;)X=X.return;else{Z=X;do X=Z,(X.flags&4098)!==0&&(Y=X.return),Z=X.return;while(Z)}return X.tag===3?Y:null}function r(Z){if(Z.tag===13){var X=Z.memoizedState;if(X===null&&(Z=Z.alternate,Z!==null&&(X=Z.memoizedState)),X!==null)return X.dehydrated}return null}function JZ(Z){if(Z.tag===31){var X=Z.memoizedState;if(X===null&&(Z=Z.alternate,Z!==null&&(X=Z.memoizedState)),X!==null)return X.dehydrated}return null}function ZZ(Z){if(a(Z)!==Z)throw Error("Unable to find node on an unmounted component.")}function UZ(Z){var X=Z.alternate;if(!X){if(X=a(Z),X===null)throw Error("Unable to find node on an unmounted component.");return X!==Z?null:Z}for(var Y=Z,J=X;;){var G=Y.return;if(G===null)break;var H=G.alternate;if(H===null){if(J=G.return,J!==null){Y=J;continue}break}if(G.child===H.child){for(H=G.child;H;){if(H===Y)return ZZ(G),Z;if(H===J)return ZZ(G),X;H=H.sibling}throw Error("Unable to find node on an unmounted component.")}if(Y.return!==J.return)Y=G,J=H;else{for(var U=!1,B=G.child;B;){if(B===Y){U=!0,Y=G,J=H;break}if(B===J){U=!0,J=G,Y=H;break}B=B.sibling}if(!U){for(B=H.child;B;){if(B===Y){U=!0,Y=H,J=G;break}if(B===J){U=!0,J=H,Y=G;break}B=B.sibling}if(!U)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(Y.alternate!==J)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(Y.tag!==3)throw Error("Unable to find node on an unmounted component.");return Y.stateNode.current===Y?Z:X}function xZ(Z){var X=Z.tag;if(X===5||X===26||X===27||X===6)return Z;for(Z=Z.child;Z!==null;){if(X=xZ(Z),X!==null)return X;Z=Z.sibling}return null}function qZ(Z){if(Z===null||typeof Z!=="object")return null;return Z=tN&&Z[tN]||Z["@@iterator"],typeof Z==="function"?Z:null}function l(Z){if(Z==null)return null;if(typeof Z==="function")return Z.$$typeof===o$?null:Z.displayName||Z.name||null;if(typeof Z==="string")return Z;switch(Z){case U_:return"Fragment";case N0:return"Profiler";case VL:return"StrictMode";case T0:return"Suspense";case w0:return"SuspenseList";case V0:return"Activity"}if(typeof Z==="object")switch(typeof Z.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Z.$$typeof){case W_:return"Portal";case oJ:return Z.displayName||"Context";case I0:return(Z._context.displayName||"Context")+".Consumer";case TU:var X=Z.render;return Z=Z.displayName,Z||(Z=X.displayName||X.name||"",Z=Z!==""?"ForwardRef("+Z+")":"ForwardRef"),Z;case RL:return X=Z.displayName||null,X!==null?X:l(Z.type)||"Memo";case PQ:X=Z._payload,Z=Z._init;try{return l(Z(X))}catch(Y){}}return null}function MZ(Z){return typeof Z.tag==="number"?n(Z):typeof Z.name==="string"?Z.name:null}function n(Z){var X=Z.type;switch(Z.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(X._context.displayName||"Context")+".Consumer";case 10:return X.displayName||"Context";case 18:return"DehydratedFragment";case 11:return Z=X.render,Z=Z.displayName||Z.name||"",X.displayName||(Z!==""?"ForwardRef("+Z+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return X;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return l(X);case 8:return X===VL?"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 X==="function")return X.displayName||X.name||null;if(typeof X==="string")return X;break;case 29:if(X=Z._debugInfo,X!=null){for(var Y=X.length-1;0<=Y;Y--)if(typeof X[Y].name==="string")return X[Y].name}if(Z.return!==null)return n(Z.return)}return null}function wZ(Z){return{current:Z}}function KZ(Z,X){0>Sq?console.error("Unexpected pop."):(X!==j0[Sq]&&console.error("Unexpected Fiber popped."),Z.current=R0[Sq],R0[Sq]=null,j0[Sq]=null,Sq--)}function zZ(Z,X,Y){Sq++,R0[Sq]=Z.current,j0[Sq]=Y,Z.current=X}function h(Z){return Z===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),Z}function u(Z,X){zZ(VG,X,Z),zZ(wU,Z,Z),zZ(wG,null,Z);var Y=X.nodeType;switch(Y){case 9:case 11:Y=Y===9?"#document":"#fragment",X=(X=X.documentElement)?(X=X.namespaceURI)?wN(X):pq:pq;break;default:if(Y=X.tagName,X=X.namespaceURI)X=wN(X),X=VN(X,Y);else switch(Y){case"svg":X=l_;break;case"math":X=wA;break;default:X=pq}}Y=Y.toLowerCase(),Y=O8(null,Y),Y={context:X,ancestorInfo:Y},KZ(wG,Z),zZ(wG,Y,Z)}function E(Z){KZ(wG,Z),KZ(wU,Z),KZ(VG,Z)}function g(){return h(wG.current)}function e(Z){Z.memoizedState!==null&&zZ(jL,Z,Z);var X=h(wG.current),Y=Z.type,J=VN(X.context,Y);Y=O8(X.ancestorInfo,Y),J={context:J,ancestorInfo:Y},X!==J&&(zZ(wU,Z,Z),zZ(wG,J,Z))}function p(Z){wU.current===Z&&(KZ(wG,Z),KZ(wU,Z)),jL.current===Z&&(KZ(jL,Z),BK._currentValue=Gz)}function w(){}function o(){if(VU===0){eN=console.log,Z7=console.info,X7=console.warn,Y7=console.error,Q7=console.group,J7=console.groupCollapsed,q7=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:w,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}VU++}function OZ(){if(VU--,VU===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:rZ({},Z,{value:eN}),info:rZ({},Z,{value:Z7}),warn:rZ({},Z,{value:X7}),error:rZ({},Z,{value:Y7}),group:rZ({},Z,{value:Q7}),groupCollapsed:rZ({},Z,{value:J7}),groupEnd:rZ({},Z,{value:q7})})}0>VU&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function VZ(Z){var X=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,Z=Z.stack,Error.prepareStackTrace=X,Z.startsWith(`Error: react-stack-top-frame
|
|
23
|
-
`)&&(Z=Z.slice(29)),X=Z.indexOf(`
|
|
24
|
-
`),X!==-1&&(Z=Z.slice(X+1)),X=Z.indexOf("react_stack_bottom_frame"),X!==-1&&(X=Z.lastIndexOf(`
|
|
25
|
-
`,X)),X!==-1)Z=Z.slice(0,X);else return"";return Z}function vZ(Z){if(C0===void 0)try{throw Error()}catch(Y){var X=Y.stack.trim().match(/\n( *(at )?)/);C0=X&&X[1]||"",G7=-1<Y.stack.indexOf(`
|
|
26
|
-
at`)?" (<anonymous>)":-1<Y.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
27
|
-
`+C0+Z+G7}function JX(Z,X){if(!Z||P0)return"";var Y=D0.get(Z);if(Y!==void 0)return Y;P0=!0,Y=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var J=null;J=s.H,s.H=null,o();try{var G={DetermineComponentFrameRoot:function(){try{if(X){var $=function(){throw Error()};if(Object.defineProperty($.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct($,[])}catch(GZ){var c=GZ}Reflect.construct(Z,[],$)}else{try{$.call()}catch(GZ){c=GZ}Z.call($.prototype)}}else{try{throw Error()}catch(GZ){c=GZ}($=Z())&&typeof $.catch==="function"&&$.catch(function(){})}}catch(GZ){if(GZ&&c&&typeof GZ.stack==="string")return[GZ.stack,c.stack]}return[null,null]}};G.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var H=Object.getOwnPropertyDescriptor(G.DetermineComponentFrameRoot,"name");H&&H.configurable&&Object.defineProperty(G.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var U=G.DetermineComponentFrameRoot(),B=U[0],F=U[1];if(B&&F){var T=B.split(`
|
|
28
|
-
`),x=F.split(`
|
|
29
|
-
`);for(U=H=0;H<T.length&&!T[H].includes("DetermineComponentFrameRoot");)H++;for(;U<x.length&&!x[U].includes("DetermineComponentFrameRoot");)U++;if(H===T.length||U===x.length)for(H=T.length-1,U=x.length-1;1<=H&&0<=U&&T[H]!==x[U];)U--;for(;1<=H&&0<=U;H--,U--)if(T[H]!==x[U]){if(H!==1||U!==1)do if(H--,U--,0>U||T[H]!==x[U]){var v=`
|
|
30
|
-
`+T[H].replace(" at new "," at ");return Z.displayName&&v.includes("<anonymous>")&&(v=v.replace("<anonymous>",Z.displayName)),typeof Z==="function"&&D0.set(Z,v),v}while(1<=H&&0<=U);break}}}finally{P0=!1,s.H=J,OZ(),Error.prepareStackTrace=Y}return T=(T=Z?Z.displayName||Z.name:"")?vZ(T):"",typeof Z==="function"&&D0.set(Z,T),T}function IZ(Z,X){switch(Z.tag){case 26:case 27:case 5:return vZ(Z.type);case 16:return vZ("Lazy");case 13:return Z.child!==X&&X!==null?vZ("Suspense Fallback"):vZ("Suspense");case 19:return vZ("SuspenseList");case 0:case 15:return JX(Z.type,!1);case 11:return JX(Z.type.render,!1);case 1:return JX(Z.type,!0);case 31:return vZ("Activity");default:return""}}function YX(Z){try{var X="",Y=null;do{X+=IZ(Z,Y);var J=Z._debugInfo;if(J)for(var G=J.length-1;0<=G;G--){var H=J[G];if(typeof H.name==="string"){var U=X;Z:{var{name:B,env:F,debugLocation:T}=H;if(T!=null){var x=VZ(T),v=x.lastIndexOf(`
|
|
31
|
-
`),$=v===-1?x:x.slice(v+1);if($.indexOf(B)!==-1){var c=`
|
|
32
|
-
`+$;break Z}}c=vZ(B+(F?" ["+F+"]":""))}X=U+c}}Y=Z,Z=Z.return}while(Z);return X}catch(GZ){return`
|
|
33
|
-
Error generating stack: `+GZ.message+`
|
|
34
|
-
`+GZ.stack}}function TX(Z){return(Z=Z?Z.displayName||Z.name:"")?vZ(Z):""}function LX(){if(DQ===null)return null;var Z=DQ._debugOwner;return Z!=null?MZ(Z):null}function Nq(){if(DQ===null)return"";var Z=DQ;try{var X="";switch(Z.tag===6&&(Z=Z.return),Z.tag){case 26:case 27:case 5:X+=vZ(Z.type);break;case 13:X+=vZ("Suspense");break;case 19:X+=vZ("SuspenseList");break;case 31:X+=vZ("Activity");break;case 30:case 0:case 15:case 1:Z._debugOwner||X!==""||(X+=TX(Z.type));break;case 11:Z._debugOwner||X!==""||(X+=TX(Z.type.render))}for(;Z;)if(typeof Z.tag==="number"){var Y=Z;Z=Y._debugOwner;var J=Y._debugStack;if(Z&&J){var G=VZ(J);G!==""&&(X+=`
|
|
35
|
-
`+G)}}else if(Z.debugStack!=null){var H=Z.debugStack;(Z=Z.owner)&&H&&(X+=`
|
|
36
|
-
`+VZ(H))}else break;var U=X}catch(B){U=`
|
|
37
|
-
Error generating stack: `+B.message+`
|
|
38
|
-
`+B.stack}return U}function BZ(Z,X,Y,J,G,H,U){var B=DQ;OQ(Z);try{return Z!==null&&Z._debugTask?Z._debugTask.run(X.bind(null,Y,J,G,H,U)):X(Y,J,G,H,U)}finally{OQ(B)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function OQ(Z){s.getCurrentStack=Z===null?null:Nq,rJ=!1,DQ=Z}function MQ(Z){return typeof Symbol==="function"&&Symbol.toStringTag&&Z[Symbol.toStringTag]||Z.constructor.name||"Object"}function vY(Z){try{return oX(Z),!1}catch(X){return!0}}function oX(Z){return""+Z}function $Z(Z,X){if(vY(Z))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",X,MQ(Z)),oX(Z)}function Iq(Z,X){if(vY(Z))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.",X,MQ(Z)),oX(Z)}function lZ(Z){if(vY(Z))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.",MQ(Z)),oX(Z)}function cz(Z){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var X=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(X.isDisabled)return!0;if(!X.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{B_=X.inject(Z),gY=X}catch(Y){console.error("React instrumentation encountered an error: %o.",Y)}return X.checkDCE?!0:!1}function jX(Z){if(typeof QS==="function"&&JS(Z),gY&&typeof gY.setStrictMode==="function")try{gY.setStrictMode(B_,Z)}catch(X){tJ||(tJ=!0,console.error("React instrumentation encountered an error: %o",X))}}function BB(Z){return Z>>>=0,Z===0?32:31-(qS(Z)/GS|0)|0}function kJ(Z){var X=Z&42;if(X!==0)return X;switch(Z&-Z){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 Z&261888;case 262144:case 524288:case 1048576:case 2097152:return Z&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return Z&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."),Z}}function MH(Z,X,Y){var J=Z.pendingLanes;if(J===0)return 0;var G=0,H=Z.suspendedLanes,U=Z.pingedLanes;Z=Z.warmLanes;var B=J&134217727;return B!==0?(J=B&~H,J!==0?G=kJ(J):(U&=B,U!==0?G=kJ(U):Y||(Y=B&~Z,Y!==0&&(G=kJ(Y))))):(B=J&~H,B!==0?G=kJ(B):U!==0?G=kJ(U):Y||(Y=J&~Z,Y!==0&&(G=kJ(Y)))),G===0?0:X!==0&&X!==G&&(X&H)===0&&(H=G&-G,Y=X&-X,H>=Y||H===32&&(Y&4194048)!==0)?X:G}function FH(Z,X){return(Z.pendingLanes&~(Z.suspendedLanes&~Z.pingedLanes)&X)===0}function BM(Z,X){switch(Z){case 1:case 2:case 4:case 8:case 64:return X+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 X+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 pz(){var Z=DL;return DL<<=1,(DL&62914560)===0&&(DL=4194304),Z}function lz(Z){for(var X=[],Y=0;31>Y;Y++)X.push(Z);return X}function HG(Z,X){Z.pendingLanes|=X,X!==268435456&&(Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0)}function LB(Z,X,Y,J,G,H){var U=Z.pendingLanes;Z.pendingLanes=Y,Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0,Z.expiredLanes&=Y,Z.entangledLanes&=Y,Z.errorRecoveryDisabledLanes&=Y,Z.shellSuspendCounter=0;var{entanglements:B,expirationTimes:F,hiddenUpdates:T}=Z;for(Y=U&~Y;0<Y;){var x=31-cY(Y),v=1<<x;B[x]=0,F[x]=-1;var $=T[x];if($!==null)for(T[x]=null,x=0;x<$.length;x++){var c=$[x];c!==null&&(c.lane&=-536870913)}Y&=~v}J!==0&&NH(Z,J,0),H!==0&&G===0&&Z.tag!==0&&(Z.suspendedLanes|=H&~(U&~X))}function NH(Z,X,Y){Z.pendingLanes|=X,Z.suspendedLanes&=~X;var J=31-cY(X);Z.entangledLanes|=X,Z.entanglements[J]=Z.entanglements[J]|1073741824|Y&261930}function IH(Z,X){var Y=Z.entangledLanes|=X;for(Z=Z.entanglements;Y;){var J=31-cY(Y),G=1<<J;G&X|Z[J]&X&&(Z[J]|=X),Y&=~G}}function TH(Z,X){var Y=X&-X;return Y=(Y&42)!==0?1:wH(Y),(Y&(Z.suspendedLanes|X))!==0?0:Y}function wH(Z){switch(Z){case 2:Z=1;break;case 8:Z=4;break;case 32:Z=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:Z=128;break;case 268435456:Z=134217728;break;default:Z=0}return Z}function gW(Z,X,Y){if(eJ)for(Z=Z.pendingUpdatersLaneMap;0<Y;){var J=31-cY(Y),G=1<<J;Z[J].add(X),Y&=~G}}function zG(Z,X){if(eJ)for(var{pendingUpdatersLaneMap:Y,memoizedUpdaters:J}=Z;0<X;){var G=31-cY(X);Z=1<<G,G=Y[G],0<G.size&&(G.forEach(function(H){var U=H.alternate;U!==null&&J.has(U)||J.add(H)}),G.clear()),X&=~Z}}function V(Z){return Z&=-Z,$Q!==0&&$Q<Z?AJ!==0&&AJ<Z?(Z&134217727)!==0?Zq:$L:AJ:$Q}function d(){var Z=MX.p;if(Z!==0)return Z;return Z=window.event,Z===void 0?Zq:lN(Z.type)}function QZ(Z,X){var Y=MX.p;try{return MX.p=Z,X()}finally{MX.p=Y}}function _Z(Z){delete Z[CY],delete Z[pY],delete Z[x0],delete Z[HS],delete Z[zS]}function RZ(Z){var X=Z[CY];if(X)return X;for(var Y=Z.parentNode;Y;){if(X=Y[jG]||Y[CY]){if(Y=X.alternate,X.child!==null||Y!==null&&Y.child!==null)for(Z=EN(Z);Z!==null;){if(Y=Z[CY])return Y;Z=EN(Z)}return X}Z=Y,Y=Z.parentNode}return null}function fZ(Z){if(Z=Z[CY]||Z[jG]){var X=Z.tag;if(X===5||X===6||X===13||X===31||X===26||X===27||X===3)return Z}return null}function uZ(Z){var X=Z.tag;if(X===5||X===26||X===27||X===6)return Z.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function UX(Z){var X=Z[H7];return X||(X=Z[H7]={hoistableStyles:new Map,hoistableScripts:new Map}),X}function EZ(Z){Z[RU]=!0}function hY(Z,X){FQ(Z,X),FQ(Z+"Capture",X)}function FQ(Z,X){gH[Z]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",Z),gH[Z]=X;var Y=Z.toLowerCase();y0[Y]=Z,Z==="onDoubleClick"&&(y0.ondblclick=Z);for(Z=0;Z<X.length;Z++)z7.add(X[Z])}function _G(Z,X){_S[X.type]||X.onChange||X.onInput||X.readOnly||X.disabled||X.value==null||(Z==="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`.")),X.onChange||X.readOnly||X.disabled||X.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 mW(Z){if(LJ.call(W7,Z))return!0;if(LJ.call(_7,Z))return!1;if(WS.test(Z))return W7[Z]=!0;return _7[Z]=!0,console.error("Invalid attribute name: `%s`",Z),!1}function X8(Z,X,Y){if(mW(X)){if(!Z.hasAttribute(X)){switch(typeof Y){case"symbol":case"object":return Y;case"function":return Y;case"boolean":if(Y===!1)return Y}return Y===void 0?void 0:null}if(Z=Z.getAttribute(X),Z===""&&Y===!0)return!0;return $Z(Y,X),Z===""+Y?Y:Z}}function AB(Z,X,Y){if(mW(X))if(Y===null)Z.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":Z.removeAttribute(X);return;case"boolean":var J=X.toLowerCase().slice(0,5);if(J!=="data-"&&J!=="aria-"){Z.removeAttribute(X);return}}$Z(Y,X),Z.setAttribute(X,""+Y)}}function OB(Z,X,Y){if(Y===null)Z.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":Z.removeAttribute(X);return}$Z(Y,X),Z.setAttribute(X,""+Y)}}function Tq(Z,X,Y,J){if(J===null)Z.removeAttribute(Y);else{switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":Z.removeAttribute(Y);return}$Z(J,Y),Z.setAttributeNS(X,Y,""+J)}}function uQ(Z){switch(typeof Z){case"bigint":case"boolean":case"number":case"string":case"undefined":return Z;case"object":return lZ(Z),Z;default:return""}}function Y8(Z){var X=Z.type;return(Z=Z.nodeName)&&Z.toLowerCase()==="input"&&(X==="checkbox"||X==="radio")}function GD(Z,X,Y){var J=Object.getOwnPropertyDescriptor(Z.constructor.prototype,X);if(!Z.hasOwnProperty(X)&&typeof J<"u"&&typeof J.get==="function"&&typeof J.set==="function"){var{get:G,set:H}=J;return Object.defineProperty(Z,X,{configurable:!0,get:function(){return G.call(this)},set:function(U){lZ(U),Y=""+U,H.call(this,U)}}),Object.defineProperty(Z,X,{enumerable:J.enumerable}),{getValue:function(){return Y},setValue:function(U){lZ(U),Y=""+U},stopTracking:function(){Z._valueTracker=null,delete Z[X]}}}}function LM(Z){if(!Z._valueTracker){var X=Y8(Z)?"checked":"value";Z._valueTracker=GD(Z,X,""+Z[X])}}function Q8(Z){if(!Z)return!1;var X=Z._valueTracker;if(!X)return!0;var Y=X.getValue(),J="";return Z&&(J=Y8(Z)?Z.checked?"true":"false":Z.value),Z=J,Z!==Y?(X.setValue(Z),!0):!1}function MB(Z){if(Z=Z||(typeof document<"u"?document:void 0),typeof Z>"u")return null;try{return Z.activeElement||Z.body}catch(X){return Z.body}}function dQ(Z){return Z.replace(US,function(X){return"\\"+X.charCodeAt(0).toString(16)+" "})}function J8(Z,X){X.checked===void 0||X.defaultChecked===void 0||K7||(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",LX()||"A component",X.type),K7=!0),X.value===void 0||X.defaultValue===void 0||U7||(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",LX()||"A component",X.type),U7=!0)}function AM(Z,X,Y,J,G,H,U,B){if(Z.name="",U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"?($Z(U,"type"),Z.type=U):Z.removeAttribute("type"),X!=null)if(U==="number"){if(X===0&&Z.value===""||Z.value!=X)Z.value=""+uQ(X)}else Z.value!==""+uQ(X)&&(Z.value=""+uQ(X));else U!=="submit"&&U!=="reset"||Z.removeAttribute("value");X!=null?OM(Z,U,uQ(X)):Y!=null?OM(Z,U,uQ(Y)):J!=null&&Z.removeAttribute("value"),G==null&&H!=null&&(Z.defaultChecked=!!H),G!=null&&(Z.checked=G&&typeof G!=="function"&&typeof G!=="symbol"),B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"?($Z(B,"name"),Z.name=""+uQ(B)):Z.removeAttribute("name")}function q8(Z,X,Y,J,G,H,U,B){if(H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&typeof H!=="boolean"&&($Z(H,"type"),Z.type=H),X!=null||Y!=null){if(!(H!=="submit"&&H!=="reset"||X!==void 0&&X!==null)){LM(Z);return}Y=Y!=null?""+uQ(Y):"",X=X!=null?""+uQ(X):Y,B||X===Z.value||(Z.value=X),Z.defaultValue=X}J=J!=null?J:G,J=typeof J!=="function"&&typeof J!=="symbol"&&!!J,Z.checked=B?Z.checked:!!J,Z.defaultChecked=!!J,U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"&&($Z(U,"name"),Z.name=U),LM(Z)}function OM(Z,X,Y){X==="number"&&MB(Z.ownerDocument)===Z||Z.defaultValue===""+Y||(Z.defaultValue=""+Y)}function G8(Z,X){X.value==null&&(typeof X.children==="object"&&X.children!==null?t_.Children.forEach(X.children,function(Y){Y==null||typeof Y==="string"||typeof Y==="number"||typeof Y==="bigint"||L7||(L7=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):X.dangerouslySetInnerHTML==null||A7||(A7=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),X.selected==null||B7||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),B7=!0)}function H8(){var Z=LX();return Z?`
|
|
39
|
-
|
|
40
|
-
Check the render method of \``+Z+"`.":""}function iz(Z,X,Y,J){if(Z=Z.options,X){X={};for(var G=0;G<Y.length;G++)X["$"+Y[G]]=!0;for(Y=0;Y<Z.length;Y++)G=X.hasOwnProperty("$"+Z[Y].value),Z[Y].selected!==G&&(Z[Y].selected=G),G&&J&&(Z[Y].defaultSelected=!0)}else{Y=""+uQ(Y),X=null;for(G=0;G<Z.length;G++){if(Z[G].value===Y){Z[G].selected=!0,J&&(Z[G].defaultSelected=!0);return}X!==null||Z[G].disabled||(X=Z[G])}X!==null&&(X.selected=!0)}}function z8(Z,X){for(Z=0;Z<M7.length;Z++){var Y=M7[Z];if(X[Y]!=null){var J=zY(X[Y]);X.multiple&&!J?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Y,H8()):!X.multiple&&J&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Y,H8())}}X.value===void 0||X.defaultValue===void 0||O7||(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"),O7=!0)}function _8(Z,X){X.value===void 0||X.defaultValue===void 0||F7||(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",LX()||"A component"),F7=!0),X.children!=null&&X.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function W8(Z,X,Y){if(X!=null&&(X=""+uQ(X),X!==Z.value&&(Z.value=X),Y==null)){Z.defaultValue!==X&&(Z.defaultValue=X);return}Z.defaultValue=Y!=null?""+uQ(Y):""}function U8(Z,X,Y,J){if(X==null){if(J!=null){if(Y!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(zY(J)){if(1<J.length)throw Error("<textarea> can only have at most one child.");J=J[0]}Y=J}Y==null&&(Y=""),X=Y}Y=uQ(X),Z.defaultValue=Y,J=Z.textContent,J===Y&&J!==""&&J!==null&&(Z.value=J),LM(Z)}function K8(Z,X){return Z.serverProps===void 0&&Z.serverTail.length===0&&Z.children.length===1&&3<Z.distanceFromLeaf&&Z.distanceFromLeaf>15-X?K8(Z.children[0],X):Z}function NQ(Z){return" "+" ".repeat(Z)}function nz(Z){return"+ "+" ".repeat(Z)}function VH(Z){return"- "+" ".repeat(Z)}function B8(Z){switch(Z.tag){case 26:case 27:case 5:return Z.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return Z=Z.type,Z.displayName||Z.name||null;case 11:return Z=Z.type.render,Z.displayName||Z.name||null;case 1:return Z=Z.type,Z.displayName||Z.name||null;default:return null}}function fW(Z,X){return N7.test(Z)?(Z=JSON.stringify(Z),Z.length>X-2?8>X?'{"..."}':"{"+Z.slice(0,X-7)+'..."}':"{"+Z+"}"):Z.length>X?5>X?'{"..."}':Z.slice(0,X-3)+"...":Z}function FB(Z,X,Y){var J=120-2*Y;if(X===null)return nz(Y)+fW(Z,J)+`
|
|
41
|
-
`;if(typeof X==="string"){for(var G=0;G<X.length&&G<Z.length&&X.charCodeAt(G)===Z.charCodeAt(G);G++);return G>J-8&&10<G&&(Z="..."+Z.slice(G-8),X="..."+X.slice(G-8)),nz(Y)+fW(Z,J)+`
|
|
42
|
-
`+VH(Y)+fW(X,J)+`
|
|
43
|
-
`}return NQ(Y)+fW(Z,J)+`
|
|
44
|
-
`}function MM(Z){return Object.prototype.toString.call(Z).replace(/^\[object (.*)\]$/,function(X,Y){return Y})}function uW(Z,X){switch(typeof Z){case"string":return Z=JSON.stringify(Z),Z.length>X?5>X?'"..."':Z.slice(0,X-4)+'..."':Z;case"object":if(Z===null)return"null";if(zY(Z))return"[...]";if(Z.$$typeof===aJ)return(X=l(Z.type))?"<"+X+">":"<...>";var Y=MM(Z);if(Y==="Object"){Y="",X-=2;for(var J in Z)if(Z.hasOwnProperty(J)){var G=JSON.stringify(J);if(G!=='"'+J+'"'&&(J=G),X-=J.length-2,G=uW(Z[J],15>X?X:15),X-=G.length,0>X){Y+=Y===""?"...":", ...";break}Y+=(Y===""?"":",")+J+":"+G}return"{"+Y+"}"}return Y;case"function":return(X=Z.displayName||Z.name)?"function "+X:"function";default:return String(Z)}}function sz(Z,X){return typeof Z!=="string"||N7.test(Z)?"{"+uW(Z,X-2)+"}":Z.length>X-2?5>X?'"..."':'"'+Z.slice(0,X-5)+'..."':'"'+Z+'"'}function FM(Z,X,Y){var J=120-Y.length-Z.length,G=[],H;for(H in X)if(X.hasOwnProperty(H)&&H!=="children"){var U=sz(X[H],120-Y.length-H.length-1);J-=H.length+U.length+2,G.push(H+"="+U)}return G.length===0?Y+"<"+Z+`>
|
|
45
|
-
`:0<J?Y+"<"+Z+" "+G.join(" ")+`>
|
|
46
|
-
`:Y+"<"+Z+`
|
|
47
|
-
`+Y+" "+G.join(`
|
|
48
|
-
`+Y+" ")+`
|
|
49
|
-
`+Y+`>
|
|
50
|
-
`}function HD(Z,X,Y){var J="",G=rZ({},X),H;for(H in Z)if(Z.hasOwnProperty(H)){delete G[H];var U=120-2*Y-H.length-2,B=uW(Z[H],U);X.hasOwnProperty(H)?(U=uW(X[H],U),J+=nz(Y)+H+": "+B+`
|
|
51
|
-
`,J+=VH(Y)+H+": "+U+`
|
|
52
|
-
`):J+=nz(Y)+H+": "+B+`
|
|
53
|
-
`}for(var F in G)G.hasOwnProperty(F)&&(Z=uW(G[F],120-2*Y-F.length-2),J+=VH(Y)+F+": "+Z+`
|
|
54
|
-
`);return J}function zD(Z,X,Y,J){var G="",H=new Map;for(T in Y)Y.hasOwnProperty(T)&&H.set(T.toLowerCase(),T);if(H.size===1&&H.has("children"))G+=FM(Z,X,NQ(J));else{for(var U in X)if(X.hasOwnProperty(U)&&U!=="children"){var B=120-2*(J+1)-U.length-1,F=H.get(U.toLowerCase());if(F!==void 0){H.delete(U.toLowerCase());var T=X[U];F=Y[F];var x=sz(T,B);B=sz(F,B),typeof T==="object"&&T!==null&&typeof F==="object"&&F!==null&&MM(T)==="Object"&&MM(F)==="Object"&&(2<Object.keys(T).length||2<Object.keys(F).length||-1<x.indexOf("...")||-1<B.indexOf("..."))?G+=NQ(J+1)+U+`={{
|
|
55
|
-
`+HD(T,F,J+2)+NQ(J+1)+`}}
|
|
56
|
-
`:(G+=nz(J+1)+U+"="+x+`
|
|
57
|
-
`,G+=VH(J+1)+U+"="+B+`
|
|
58
|
-
`)}else G+=NQ(J+1)+U+"="+sz(X[U],B)+`
|
|
59
|
-
`}H.forEach(function(v){if(v!=="children"){var $=120-2*(J+1)-v.length-1;G+=VH(J+1)+v+"="+sz(Y[v],$)+`
|
|
60
|
-
`}}),G=G===""?NQ(J)+"<"+Z+`>
|
|
61
|
-
`:NQ(J)+"<"+Z+`
|
|
62
|
-
`+G+NQ(J)+`>
|
|
63
|
-
`}if(Z=Y.children,X=X.children,typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint"){if(H="",typeof X==="string"||typeof X==="number"||typeof X==="bigint")H=""+X;G+=FB(H,""+Z,J+1)}else if(typeof X==="string"||typeof X==="number"||typeof X==="bigint")G=Z==null?G+FB(""+X,null,J+1):G+FB(""+X,void 0,J+1);return G}function L8(Z,X){var Y=B8(Z);if(Y===null){Y="";for(Z=Z.child;Z;)Y+=L8(Z,X),Z=Z.sibling;return Y}return NQ(X)+"<"+Y+`>
|
|
64
|
-
`}function NM(Z,X){var Y=K8(Z,X);if(Y!==Z&&(Z.children.length!==1||Z.children[0]!==Y))return NQ(X)+`...
|
|
65
|
-
`+NM(Y,X+1);Y="";var J=Z.fiber._debugInfo;if(J)for(var G=0;G<J.length;G++){var H=J[G].name;typeof H==="string"&&(Y+=NQ(X)+"<"+H+`>
|
|
66
|
-
`,X++)}if(J="",G=Z.fiber.pendingProps,Z.fiber.tag===6)J=FB(G,Z.serverProps,X),X++;else if(H=B8(Z.fiber),H!==null)if(Z.serverProps===void 0){J=X;var U=120-2*J-H.length-2,B="";for(T in G)if(G.hasOwnProperty(T)&&T!=="children"){var F=sz(G[T],15);if(U-=T.length+F.length+2,0>U){B+=" ...";break}B+=" "+T+"="+F}J=NQ(J)+"<"+H+B+`>
|
|
67
|
-
`,X++}else Z.serverProps===null?(J=FM(H,G,nz(X)),X++):typeof Z.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(J=zD(H,G,Z.serverProps,X),X++);var T="";G=Z.fiber.child;for(H=0;G&&H<Z.children.length;)U=Z.children[H],U.fiber===G?(T+=NM(U,X),H++):T+=L8(G,X),G=G.sibling;G&&0<Z.children.length&&(T+=NQ(X)+`...
|
|
68
|
-
`),G=Z.serverTail,Z.serverProps===null&&X--;for(Z=0;Z<G.length;Z++)H=G[Z],T=typeof H==="string"?T+(VH(X)+fW(H,120-2*X)+`
|
|
69
|
-
`):T+FM(H.type,H.props,VH(X));return Y+J+T}function IM(Z){try{return`
|
|
70
|
-
|
|
71
|
-
`+NM(Z,0)}catch(X){return""}}function A8(Z,X,Y){for(var J=X,G=null,H=0;J;)J===Z&&(H=0),G={fiber:J,children:G!==null?[G]:[],serverProps:J===X?Y:J===Z?null:void 0,serverTail:[],distanceFromLeaf:H},H++,J=J.return;return G!==null?IM(G).replaceAll(/^[+-]/gm,">"):""}function O8(Z,X){var Y=rZ({},Z||T7),J={tag:X};if(I7.indexOf(X)!==-1&&(Y.aTagInScope=null,Y.buttonTagInScope=null,Y.nobrTagInScope=null),BS.indexOf(X)!==-1&&(Y.pTagInButtonScope=null),KS.indexOf(X)!==-1&&X!=="address"&&X!=="div"&&X!=="p"&&(Y.listItemTagAutoclosing=null,Y.dlItemTagAutoclosing=null),Y.current=J,X==="form"&&(Y.formTag=J),X==="a"&&(Y.aTagInScope=J),X==="button"&&(Y.buttonTagInScope=J),X==="nobr"&&(Y.nobrTagInScope=J),X==="p"&&(Y.pTagInButtonScope=J),X==="li"&&(Y.listItemTagAutoclosing=J),X==="dd"||X==="dt")Y.dlItemTagAutoclosing=J;return X==="#document"||X==="html"?Y.containerTagInScope=null:Y.containerTagInScope||(Y.containerTagInScope=J),Z!==null||X!=="#document"&&X!=="html"&&X!=="body"?Y.implicitRootScope===!0&&(Y.implicitRootScope=!1):Y.implicitRootScope=!0,Y}function M8(Z,X,Y){switch(X){case"select":return Z==="hr"||Z==="option"||Z==="optgroup"||Z==="script"||Z==="template"||Z==="#text";case"optgroup":return Z==="option"||Z==="#text";case"option":return Z==="#text";case"tr":return Z==="th"||Z==="td"||Z==="style"||Z==="script"||Z==="template";case"tbody":case"thead":case"tfoot":return Z==="tr"||Z==="style"||Z==="script"||Z==="template";case"colgroup":return Z==="col"||Z==="template";case"table":return Z==="caption"||Z==="colgroup"||Z==="tbody"||Z==="tfoot"||Z==="thead"||Z==="style"||Z==="script"||Z==="template";case"head":return Z==="base"||Z==="basefont"||Z==="bgsound"||Z==="link"||Z==="meta"||Z==="title"||Z==="noscript"||Z==="noframes"||Z==="style"||Z==="script"||Z==="template";case"html":if(Y)break;return Z==="head"||Z==="body"||Z==="frameset";case"frameset":return Z==="frame";case"#document":if(!Y)return Z==="html"}switch(Z){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return X!=="h1"&&X!=="h2"&&X!=="h3"&&X!=="h4"&&X!=="h5"&&X!=="h6";case"rp":case"rt":return LS.indexOf(X)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return X==null;case"head":return Y||X===null;case"html":return Y&&X==="#document"||X===null;case"body":return Y&&(X==="#document"||X==="html")||X===null}return!0}function _D(Z,X){switch(Z){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 X.pTagInButtonScope;case"form":return X.formTag||X.pTagInButtonScope;case"li":return X.listItemTagAutoclosing;case"dd":case"dt":return X.dlItemTagAutoclosing;case"button":return X.buttonTagInScope;case"a":return X.aTagInScope;case"nobr":return X.nobrTagInScope}return null}function F8(Z,X){for(;Z;){switch(Z.tag){case 5:case 26:case 27:if(Z.type===X)return Z}Z=Z.return}return null}function TM(Z,X){X=X||T7;var Y=X.current;if(X=(Y=M8(Z,Y&&Y.tag,X.implicitRootScope)?null:Y)?null:_D(Z,X),X=Y||X,!X)return!0;var J=X.tag;if(X=String(!!Y)+"|"+Z+"|"+J,SL[X])return!1;SL[X]=!0;var G=(X=DQ)?F8(X.return,J):null,H=X!==null&&G!==null?A8(G,X,null):"",U="<"+Z+">";return Y?(Y="",J==="table"&&Z==="tr"&&(Y+=" 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
|
|
72
|
-
This will cause a hydration error.%s`,U,J,Y,H)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
73
|
-
This will cause a hydration error.%s`,U,J,H),X&&(Z=X.return,G===null||Z===null||G===Z&&Z._debugOwner===X._debugOwner||BZ(G,function(){console.error(`<%s> cannot contain a nested %s.
|
|
74
|
-
See this log for the ancestor stack trace.`,J,U)})),!1}function NB(Z,X,Y){if(Y||M8("#text",X,!1))return!0;if(Y="#text|"+X,SL[Y])return!1;SL[Y]=!0;var J=(Y=DQ)?F8(Y,X):null;return Y=Y!==null&&J!==null?A8(J,Y,Y.tag!==6?{children:null}:null):"",/\S/.test(Z)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
75
|
-
This will cause a hydration error.%s`,X,Y):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.
|
|
76
|
-
This will cause a hydration error.%s`,X,Y),!1}function dW(Z,X){if(X){var Y=Z.firstChild;if(Y&&Y===Z.lastChild&&Y.nodeType===3){Y.nodeValue=X;return}}Z.textContent=X}function WD(Z){return Z.replace(MS,function(X,Y){return Y.toUpperCase()})}function N8(Z,X,Y){var J=X.indexOf("--")===0;J||(-1<X.indexOf("-")?L_.hasOwnProperty(X)&&L_[X]||(L_[X]=!0,console.error("Unsupported style property %s. Did you mean %s?",X,WD(X.replace(OS,"ms-")))):AS.test(X)?L_.hasOwnProperty(X)&&L_[X]||(L_[X]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",X,X.charAt(0).toUpperCase()+X.slice(1))):!R7.test(Y)||h0.hasOwnProperty(Y)&&h0[Y]||(h0[Y]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,X,Y.replace(R7,""))),typeof Y==="number"&&(isNaN(Y)?j7||(j7=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",X)):isFinite(Y)||C7||(C7=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",X)))),Y==null||typeof Y==="boolean"||Y===""?J?Z.setProperty(X,""):X==="float"?Z.cssFloat="":Z[X]="":J?Z.setProperty(X,Y):typeof Y!=="number"||Y===0||P7.has(X)?X==="float"?Z.cssFloat=Y:(Iq(Y,X),Z[X]=(""+Y).trim()):Z[X]=Y+"px"}function I8(Z,X,Y){if(X!=null&&typeof X!=="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(X&&Object.freeze(X),Z=Z.style,Y!=null){if(X){var J={};if(Y){for(var G in Y)if(Y.hasOwnProperty(G)&&!X.hasOwnProperty(G))for(var H=v0[G]||[G],U=0;U<H.length;U++)J[H[U]]=G}for(var B in X)if(X.hasOwnProperty(B)&&(!Y||Y[B]!==X[B]))for(G=v0[B]||[B],H=0;H<G.length;H++)J[G[H]]=B;B={};for(var F in X)for(G=v0[F]||[F],H=0;H<G.length;H++)B[G[H]]=F;F={};for(var T in J)if(G=J[T],(H=B[T])&&G!==H&&(U=G+","+H,!F[U])){F[U]=!0,U=console;var x=X[G];U.error.call(U,"%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.",x==null||typeof x==="boolean"||x===""?"Removing":"Updating",G,H)}}for(var v in Y)!Y.hasOwnProperty(v)||X!=null&&X.hasOwnProperty(v)||(v.indexOf("--")===0?Z.setProperty(v,""):v==="float"?Z.cssFloat="":Z[v]="");for(var $ in X)T=X[$],X.hasOwnProperty($)&&Y[$]!==T&&N8(Z,$,T)}else for(J in X)X.hasOwnProperty(J)&&N8(Z,J,X[J])}function cW(Z){if(Z.indexOf("-")===-1)return!1;switch(Z){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 T8(Z){return FS.get(Z)||Z}function UD(Z,X){if(LJ.call(O_,X)&&O_[X])return!0;if(IS.test(X)){if(Z="aria-"+X.slice(4).toLowerCase(),Z=D7.hasOwnProperty(Z)?Z:null,Z==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",X),O_[X]=!0;if(X!==Z)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",X,Z),O_[X]=!0}if(NS.test(X)){if(Z=X.toLowerCase(),Z=D7.hasOwnProperty(Z)?Z:null,Z==null)return O_[X]=!0,!1;X!==Z&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",X,Z),O_[X]=!0)}return!0}function KD(Z,X){var Y=[],J;for(J in X)UD(Z,J)||Y.push(J);X=Y.map(function(G){return"`"+G+"`"}).join(", "),Y.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",X,Z):1<Y.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",X,Z)}function BD(Z,X,Y,J){if(LJ.call(lY,X)&&lY[X])return!0;var G=X.toLowerCase();if(G==="onfocusin"||G==="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."),lY[X]=!0;if(typeof Y==="function"&&(Z==="form"&&X==="action"||Z==="input"&&X==="formAction"||Z==="button"&&X==="formAction"))return!0;if(J!=null){if(Z=J.possibleRegistrationNames,J.registrationNameDependencies.hasOwnProperty(X))return!0;if(J=Z.hasOwnProperty(G)?Z[G]:null,J!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",X,J),lY[X]=!0;if(S7.test(X))return console.error("Unknown event handler property `%s`. It will be ignored.",X),lY[X]=!0}else if(S7.test(X))return TS.test(X)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",X),lY[X]=!0;if(wS.test(X)||VS.test(X))return!0;if(G==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),lY[X]=!0;if(G==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),lY[X]=!0;if(G==="is"&&Y!==null&&Y!==void 0&&typeof Y!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Y),lY[X]=!0;if(typeof Y==="number"&&isNaN(Y))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",X),lY[X]=!0;if(kL.hasOwnProperty(G)){if(G=kL[G],G!==X)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",X,G),lY[X]=!0}else if(X!==G)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.",X,G),lY[X]=!0;switch(X){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 Y){case"boolean":switch(X){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(G=X.toLowerCase().slice(0,5),G==="data-"||G==="aria-")return!0;return Y?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()}.',Y,X,X,Y,X):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',Y,X,X,Y,X,X,X),lY[X]=!0}case"function":case"symbol":return lY[X]=!0,!1;case"string":if(Y==="false"||Y==="true"){switch(X){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}?",Y,X,Y==="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".',X,Y),lY[X]=!0}}return!0}function LD(Z,X,Y){var J=[],G;for(G in X)BD(Z,G,X[G],Y)||J.push(G);X=J.map(function(H){return"`"+H+"`"}).join(", "),J.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 ",X,Z):1<J.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 ",X,Z)}function pW(Z){return RS.test(""+Z)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":Z}function wq(){}function wM(Z){return Z=Z.target||Z.srcElement||window,Z.correspondingUseElement&&(Z=Z.correspondingUseElement),Z.nodeType===3?Z.parentNode:Z}function w8(Z){var X=fZ(Z);if(X&&(Z=X.stateNode)){var Y=Z[pY]||null;Z:switch(Z=X.stateNode,X.type){case"input":if(AM(Z,Y.value,Y.defaultValue,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name),X=Y.name,Y.type==="radio"&&X!=null){for(Y=Z;Y.parentNode;)Y=Y.parentNode;$Z(X,"name"),Y=Y.querySelectorAll('input[name="'+dQ(""+X)+'"][type="radio"]');for(X=0;X<Y.length;X++){var J=Y[X];if(J!==Z&&J.form===Z.form){var G=J[pY]||null;if(!G)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");AM(J,G.value,G.defaultValue,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name)}}for(X=0;X<Y.length;X++)J=Y[X],J.form===Z.form&&Q8(J)}break Z;case"textarea":W8(Z,Y.value,Y.defaultValue);break Z;case"select":X=Y.value,X!=null&&iz(Z,!!Y.multiple,X,!1)}}}function V8(Z,X,Y){if(b0)return Z(X,Y);b0=!0;try{var J=Z(X);return J}finally{if(b0=!1,M_!==null||F_!==null){if(J_(),M_&&(X=M_,Z=F_,F_=M_=null,w8(X),Z))for(X=0;X<Z.length;X++)w8(Z[X])}}}function lW(Z,X){var Y=Z.stateNode;if(Y===null)return null;var J=Y[pY]||null;if(J===null)return null;Y=J[X];Z:switch(X){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(J=!J.disabled)||(Z=Z.type,J=!(Z==="button"||Z==="input"||Z==="select"||Z==="textarea")),Z=!J;break Z;default:Z=!1}if(Z)return null;if(Y&&typeof Y!=="function")throw Error("Expected `"+X+"` listener to be a function, instead got a value of `"+typeof Y+"` type.");return Y}function R8(){if(xL)return xL;var Z,X=m0,Y=X.length,J,G="value"in CG?CG.value:CG.textContent,H=G.length;for(Z=0;Z<Y&&X[Z]===G[Z];Z++);var U=Y-Z;for(J=1;J<=U&&X[Y-J]===G[H-J];J++);return xL=G.slice(Z,1<J?1-J:void 0)}function IB(Z){var X=Z.keyCode;return"charCode"in Z?(Z=Z.charCode,Z===0&&X===13&&(Z=13)):Z=X,Z===10&&(Z=13),32<=Z||Z===13?Z:0}function TB(){return!0}function j8(){return!1}function XQ(Z){function X(Y,J,G,H,U){this._reactName=Y,this._targetInst=G,this.type=J,this.nativeEvent=H,this.target=U,this.currentTarget=null;for(var B in Z)Z.hasOwnProperty(B)&&(Y=Z[B],this[B]=Y?Y(H):H[B]);return this.isDefaultPrevented=(H.defaultPrevented!=null?H.defaultPrevented:H.returnValue===!1)?TB:j8,this.isPropagationStopped=j8,this}return rZ(X.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Y=this.nativeEvent;Y&&(Y.preventDefault?Y.preventDefault():typeof Y.returnValue!=="unknown"&&(Y.returnValue=!1),this.isDefaultPrevented=TB)},stopPropagation:function(){var Y=this.nativeEvent;Y&&(Y.stopPropagation?Y.stopPropagation():typeof Y.cancelBubble!=="unknown"&&(Y.cancelBubble=!0),this.isPropagationStopped=TB)},persist:function(){},isPersistent:TB}),X}function AD(Z){var X=this.nativeEvent;return X.getModifierState?X.getModifierState(Z):(Z=bS[Z])?!!X[Z]:!1}function VM(){return AD}function C8(Z,X){switch(Z){case"keyup":return aS.indexOf(X.keyCode)!==-1;case"keydown":return X.keyCode!==y7;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function P8(Z){return Z=Z.detail,typeof Z==="object"&&"data"in Z?Z.data:null}function OD(Z,X){switch(Z){case"compositionend":return P8(X);case"keypress":if(X.which!==h7)return null;return g7=!0,b7;case"textInput":return Z=X.data,Z===b7&&g7?null:Z;default:return null}}function MD(Z,X){if(N_)return Z==="compositionend"||!c0&&C8(Z,X)?(Z=R8(),xL=m0=CG=null,N_=!1,Z):null;switch(Z){case"paste":return null;case"keypress":if(!(X.ctrlKey||X.altKey||X.metaKey)||X.ctrlKey&&X.altKey){if(X.char&&1<X.char.length)return X.char;if(X.which)return String.fromCharCode(X.which)}return null;case"compositionend":return v7&&X.locale!=="ko"?null:X.data;default:return null}}function D8(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();return X==="input"?!!rS[Z.type]:X==="textarea"?!0:!1}function FD(Z){if(!Xq)return!1;Z="on"+Z;var X=Z in document;return X||(X=document.createElement("div"),X.setAttribute(Z,"return;"),X=typeof X[Z]==="function"),X}function $8(Z,X,Y,J){M_?F_?F_.push(J):F_=[J]:M_=J,X=BL(X,"onChange"),0<X.length&&(Y=new yL("onChange","change",null,Y,J),Z.push({event:Y,listeners:X}))}function ND(Z){UN(Z,0)}function wB(Z){var X=uZ(Z);if(Q8(X))return Z}function S8(Z,X){if(Z==="change")return X}function E8(){SU&&(SU.detachEvent("onpropertychange",k8),EU=SU=null)}function k8(Z){if(Z.propertyName==="value"&&wB(EU)){var X=[];$8(X,EU,Z,wM(Z)),V8(ND,X)}}function ID(Z,X,Y){Z==="focusin"?(E8(),SU=X,EU=Y,SU.attachEvent("onpropertychange",k8)):Z==="focusout"&&E8()}function TD(Z){if(Z==="selectionchange"||Z==="keyup"||Z==="keydown")return wB(EU)}function wD(Z,X){if(Z==="click")return wB(X)}function VD(Z,X){if(Z==="input"||Z==="change")return wB(X)}function RD(Z,X){return Z===X&&(Z!==0||1/Z===1/X)||Z!==Z&&X!==X}function iW(Z,X){if(iY(Z,X))return!0;if(typeof Z!=="object"||Z===null||typeof X!=="object"||X===null)return!1;var Y=Object.keys(Z),J=Object.keys(X);if(Y.length!==J.length)return!1;for(J=0;J<Y.length;J++){var G=Y[J];if(!LJ.call(X,G)||!iY(Z[G],X[G]))return!1}return!0}function x8(Z){for(;Z&&Z.firstChild;)Z=Z.firstChild;return Z}function y8(Z,X){var Y=x8(Z);Z=0;for(var J;Y;){if(Y.nodeType===3){if(J=Z+Y.textContent.length,Z<=X&&J>=X)return{node:Y,offset:X-Z};Z=J}Z:{for(;Y;){if(Y.nextSibling){Y=Y.nextSibling;break Z}Y=Y.parentNode}Y=void 0}Y=x8(Y)}}function v8(Z,X){return Z&&X?Z===X?!0:Z&&Z.nodeType===3?!1:X&&X.nodeType===3?v8(Z,X.parentNode):("contains"in Z)?Z.contains(X):Z.compareDocumentPosition?!!(Z.compareDocumentPosition(X)&16):!1:!1}function h8(Z){Z=Z!=null&&Z.ownerDocument!=null&&Z.ownerDocument.defaultView!=null?Z.ownerDocument.defaultView:window;for(var X=MB(Z.document);X instanceof Z.HTMLIFrameElement;){try{var Y=typeof X.contentWindow.location.href==="string"}catch(J){Y=!1}if(Y)Z=X.contentWindow;else break;X=MB(Z.document)}return X}function RM(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();return X&&(X==="input"&&(Z.type==="text"||Z.type==="search"||Z.type==="tel"||Z.type==="url"||Z.type==="password")||X==="textarea"||Z.contentEditable==="true")}function b8(Z,X,Y){var J=Y.window===Y?Y.document:Y.nodeType===9?Y:Y.ownerDocument;l0||I_==null||I_!==MB(J)||(J=I_,("selectionStart"in J)&&RM(J)?J={start:J.selectionStart,end:J.selectionEnd}:(J=(J.ownerDocument&&J.ownerDocument.defaultView||window).getSelection(),J={anchorNode:J.anchorNode,anchorOffset:J.anchorOffset,focusNode:J.focusNode,focusOffset:J.focusOffset}),kU&&iW(kU,J)||(kU=J,J=BL(p0,"onSelect"),0<J.length&&(X=new yL("onSelect","select",null,X,Y),Z.push({event:X,listeners:J}),X.target=I_)))}function RH(Z,X){var Y={};return Y[Z.toLowerCase()]=X.toLowerCase(),Y["Webkit"+Z]="webkit"+X,Y["Moz"+Z]="moz"+X,Y}function jH(Z){if(i0[Z])return i0[Z];if(!T_[Z])return Z;var X=T_[Z],Y;for(Y in X)if(X.hasOwnProperty(Y)&&Y in f7)return i0[Z]=X[Y];return Z}function UJ(Z,X){l7.set(Z,X),hY(X,[Z])}function jD(Z){for(var X=hL,Y=0;Y<Z.length;Y++){var J=Z[Y];if(typeof J==="object"&&J!==null)if(zY(J)&&J.length===2&&typeof J[0]==="string"){if(X!==hL&&X!==r0)return a0;X=r0}else return a0;else{if(typeof J==="function"||typeof J==="string"&&50<J.length||X!==hL&&X!==o0)return a0;X=o0}}return X}function jM(Z,X,Y,J){for(var G in Z)LJ.call(Z,G)&&G[0]!=="_"&&xJ(G,Z[G],X,Y,J)}function xJ(Z,X,Y,J,G){switch(typeof X){case"object":if(X===null){X="null";break}else{if(X.$$typeof===aJ){var H=l(X.type)||"…",U=X.key;X=X.props;var B=Object.keys(X),F=B.length;if(U==null&&F===0){X="<"+H+" />";break}if(3>J||F===1&&B[0]==="children"&&U==null){X="<"+H+" … />";break}Y.push([G+" ".repeat(J)+Z,"<"+H]),U!==null&&xJ("key",U,Y,J+1,G),Z=!1;for(var T in X)T==="children"?X.children!=null&&(!zY(X.children)||0<X.children.length)&&(Z=!0):LJ.call(X,T)&&T[0]!=="_"&&xJ(T,X[T],Y,J+1,G);Y.push(["",Z?">…</"+H+">":"/>"]);return}if(H=Object.prototype.toString.call(X),H=H.slice(8,H.length-1),H==="Array"){if(T=jD(X),T===o0||T===hL){X=JSON.stringify(X);break}else if(T===r0){Y.push([G+" ".repeat(J)+Z,""]);for(Z=0;Z<X.length;Z++)H=X[Z],xJ(H[0],H[1],Y,J+1,G);return}}if(H==="Promise"){if(X.status==="fulfilled"){if(H=Y.length,xJ(Z,X.value,Y,J,G),Y.length>H){Y=Y[H],Y[1]="Promise<"+(Y[1]||"Object")+">";return}}else if(X.status==="rejected"&&(H=Y.length,xJ(Z,X.reason,Y,J,G),Y.length>H)){Y=Y[H],Y[1]="Rejected Promise<"+Y[1]+">";return}Y.push([" ".repeat(J)+Z,"Promise"]);return}H==="Object"&&(T=Object.getPrototypeOf(X))&&typeof T.constructor==="function"&&(H=T.constructor.name),Y.push([G+" ".repeat(J)+Z,H==="Object"?3>J?"":"…":H]),3>J&&jM(X,Y,J+1,G);return}case"function":X=X.name===""?"() => {}":X.name+"() {}";break;case"string":X=X===JE?"…":JSON.stringify(X);break;case"undefined":X="undefined";break;case"boolean":X=X?"true":"false";break;default:X=String(X)}Y.push([G+" ".repeat(J)+Z,X])}function g8(Z,X,Y,J){var G=!0;for(U in Z)U in X||(Y.push([bL+" ".repeat(J)+U,"…"]),G=!1);for(var H in X)if(H in Z){var U=Z[H],B=X[H];if(U!==B){if(J===0&&H==="children")G=" ".repeat(J)+H,Y.push([bL+G,"…"],[gL+G,"…"]);else{if(!(3<=J)){if(typeof U==="object"&&typeof B==="object"&&U!==null&&B!==null&&U.$$typeof===B.$$typeof)if(B.$$typeof===aJ){if(U.type===B.type&&U.key===B.key){U=l(B.type)||"…",G=" ".repeat(J)+H,U="<"+U+" … />",Y.push([bL+G,U],[gL+G,U]),G=!1;continue}}else{var F=Object.prototype.toString.call(U),T=Object.prototype.toString.call(B);if(F===T&&(T==="[object Object]"||T==="[object Array]")){F=[s7+" ".repeat(J)+H,T==="[object Array]"?"Array":""],Y.push(F),T=Y.length,g8(U,B,Y,J+1)?T===Y.length&&(F[1]="Referentially unequal but deeply equal objects. Consider memoization."):G=!1;continue}}else if(typeof U==="function"&&typeof B==="function"&&U.name===B.name&&U.length===B.length&&(F=Function.prototype.toString.call(U),T=Function.prototype.toString.call(B),F===T)){U=B.name===""?"() => {}":B.name+"() {}",Y.push([s7+" ".repeat(J)+H,U+" Referentially unequal function closure. Consider memoization."]);continue}}xJ(H,U,Y,J,bL),xJ(H,B,Y,J,gL)}G=!1}}else Y.push([gL+" ".repeat(J)+H,"…"]),G=!1;return G}function IQ(Z){eZ=Z&63?"Blocking":Z&64?"Gesture":Z&4194176?"Transition":Z&62914560?"Suspense":Z&2080374784?"Idle":"Other"}function yJ(Z,X,Y,J){DX&&(DG.start=X,DG.end=Y,Eq.color="warning",Eq.tooltipText=J,Eq.properties=null,(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,J,DG)):performance.measure(J,DG))}function VB(Z,X,Y){yJ(Z,X,Y,"Reconnect")}function RB(Z,X,Y,J,G){var H=n(Z);if(H!==null&&DX){var{alternate:U,actualDuration:B}=Z;if(U===null||U.child!==Z.child)for(var F=Z.child;F!==null;F=F.sibling)B-=F.actualDuration;J=0.5>B?J?"tertiary-light":"primary-light":10>B?J?"tertiary":"primary":100>B?J?"tertiary-dark":"primary-dark":"error";var T=Z.memoizedProps;B=Z._debugTask,T!==null&&U!==null&&U.memoizedProps!==T?(F=[qE],T=g8(U.memoizedProps,T,F,0),1<F.length&&(T&&!PG&&(U.lanes&G)===0&&100<Z.actualDuration?(PG=!0,F[0]=GE,Eq.color="warning",Eq.tooltipText=a7):(Eq.color=J,Eq.tooltipText=H),Eq.properties=F,DG.start=X,DG.end=Y,B!=null?B.run(performance.measure.bind(performance,""+H,DG)):performance.measure(""+H,DG))):B!=null?B.run(console.timeStamp.bind(console,H,X,Y,pQ,void 0,J)):console.timeStamp(H,X,Y,pQ,void 0,J)}}function CM(Z,X,Y,J){if(DX){var G=n(Z);if(G!==null){for(var H=null,U=[],B=0;B<J.length;B++){var F=J[B];H==null&&F.source!==null&&(H=F.source._debugTask),F=F.value,U.push(["Error",typeof F==="object"&&F!==null&&typeof F.message==="string"?String(F.message):String(F)])}Z.key!==null&&xJ("key",Z.key,U,0,""),Z.memoizedProps!==null&&jM(Z.memoizedProps,U,0,""),H==null&&(H=Z._debugTask),Z={start:X,end:Y,detail:{devtools:{color:"error",track:pQ,tooltipText:Z.tag===13?"Hydration failed":"Error boundary caught an error",properties:U}}},H?H.run(performance.measure.bind(performance,""+G,Z)):performance.measure(""+G,Z)}}}function vJ(Z,X,Y,J,G){if(G!==null){if(DX){var H=n(Z);if(H!==null){J=[];for(var U=0;U<G.length;U++){var B=G[U].value;J.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z.key!==null&&xJ("key",Z.key,J,0,""),Z.memoizedProps!==null&&jM(Z.memoizedProps,J,0,""),X={start:X,end:Y,detail:{devtools:{color:"error",track:pQ,tooltipText:"A lifecycle or effect errored",properties:J}}},(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,""+H,X)):performance.measure(""+H,X)}}}else H=n(Z),H!==null&&DX&&(G=1>J?"secondary-light":100>J?"secondary":500>J?"secondary-dark":"error",(Z=Z._debugTask)?Z.run(console.timeStamp.bind(console,H,X,Y,pQ,void 0,G)):console.timeStamp(H,X,Y,pQ,void 0,G))}function CD(Z,X,Y,J){if(DX&&!(X<=Z)){var G=(Y&738197653)===Y?"tertiary-dark":"primary-dark";Y=(Y&536870912)===Y?"Prepared":(Y&201326741)===Y?"Hydrated":"Render",J?J.run(console.timeStamp.bind(console,Y,Z,X,eZ,tZ,G)):console.timeStamp(Y,Z,X,eZ,tZ,G)}}function m8(Z,X,Y,J){!DX||X<=Z||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",J?J.run(console.timeStamp.bind(console,"Prewarm",Z,X,eZ,tZ,Y)):console.timeStamp("Prewarm",Z,X,eZ,tZ,Y))}function f8(Z,X,Y,J){!DX||X<=Z||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",J?J.run(console.timeStamp.bind(console,"Suspended",Z,X,eZ,tZ,Y)):console.timeStamp("Suspended",Z,X,eZ,tZ,Y))}function PD(Z,X,Y,J,G,H){if(DX&&!(X<=Z)){Y=[];for(var U=0;U<J.length;U++){var B=J[U].value;Y.push(["Recoverable Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z={start:Z,end:X,detail:{devtools:{color:"primary-dark",track:eZ,trackGroup:tZ,tooltipText:G?"Hydration Failed":"Recovered after Error",properties:Y}}},H?H.run(performance.measure.bind(performance,"Recovered",Z)):performance.measure("Recovered",Z)}}function PM(Z,X,Y,J){!DX||X<=Z||(J?J.run(console.timeStamp.bind(console,"Errored",Z,X,eZ,tZ,"error")):console.timeStamp("Errored",Z,X,eZ,tZ,"error"))}function DD(Z,X,Y,J){!DX||X<=Z||(J?J.run(console.timeStamp.bind(console,Y,Z,X,eZ,tZ,"secondary-light")):console.timeStamp(Y,Z,X,eZ,tZ,"secondary-light"))}function u8(Z,X,Y,J,G){if(DX&&!(X<=Z)){for(var H=[],U=0;U<Y.length;U++){var B=Y[U].value;H.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z={start:Z,end:X,detail:{devtools:{color:"error",track:eZ,trackGroup:tZ,tooltipText:J?"Remaining Effects Errored":"Commit Errored",properties:H}}},G?G.run(performance.measure.bind(performance,"Errored",Z)):performance.measure("Errored",Z)}}function nW(Z,X,Y){!DX||X<=Z||(Y?Y.run(console.timeStamp.bind(console,"Animating",Z,X,eZ,tZ,"secondary-dark")):console.timeStamp("Animating",Z,X,eZ,tZ,"secondary-dark"))}function jB(){for(var Z=w_,X=t0=w_=0;X<Z;){var Y=lQ[X];lQ[X++]=null;var J=lQ[X];lQ[X++]=null;var G=lQ[X];lQ[X++]=null;var H=lQ[X];if(lQ[X++]=null,J!==null&&G!==null){var U=J.pending;U===null?G.next=G:(G.next=U.next,U.next=G),J.pending=G}H!==0&&d8(Y,G,H)}}function CB(Z,X,Y,J){lQ[w_++]=Z,lQ[w_++]=X,lQ[w_++]=Y,lQ[w_++]=J,t0|=J,Z.lanes|=J,Z=Z.alternate,Z!==null&&(Z.lanes|=J)}function DM(Z,X,Y,J){return CB(Z,X,Y,J),PB(Z)}function bY(Z,X){return CB(Z,null,null,X),PB(Z)}function d8(Z,X,Y){Z.lanes|=Y;var J=Z.alternate;J!==null&&(J.lanes|=Y);for(var G=!1,H=Z.return;H!==null;)H.childLanes|=Y,J=H.alternate,J!==null&&(J.childLanes|=Y),H.tag===22&&(Z=H.stateNode,Z===null||Z._visibility&xU||(G=!0)),Z=H,H=H.return;return Z.tag===3?(H=Z.stateNode,G&&X!==null&&(G=31-cY(Y),Z=H.hiddenUpdates,J=Z[G],J===null?Z[G]=[X]:J.push(X),X.lane=Y|536870912),H):null}function PB(Z){if(GK>TE)throw Zz=GK=0,HK=E9=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.");Zz>wE&&(Zz=0,HK=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.")),Z.alternate===null&&(Z.flags&4098)!==0&&JN(Z);for(var X=Z,Y=X.return;Y!==null;)X.alternate===null&&(X.flags&4098)!==0&&JN(Z),X=Y,Y=X.return;return X.tag===3?X.stateNode:null}function CH(Z){if(iQ===null)return Z;var X=iQ(Z);return X===void 0?Z:X.current}function $M(Z){if(iQ===null)return Z;var X=iQ(Z);return X===void 0?Z!==null&&Z!==void 0&&typeof Z.render==="function"&&(X=CH(Z.render),Z.render!==X)?(X={$$typeof:TU,render:X},Z.displayName!==void 0&&(X.displayName=Z.displayName),X):Z:X.current}function c8(Z,X){if(iQ===null)return!1;var Y=Z.elementType;X=X.type;var J=!1,G=typeof X==="object"&&X!==null?X.$$typeof:null;switch(Z.tag){case 1:typeof X==="function"&&(J=!0);break;case 0:typeof X==="function"?J=!0:G===PQ&&(J=!0);break;case 11:G===TU?J=!0:G===PQ&&(J=!0);break;case 14:case 15:G===RL?J=!0:G===PQ&&(J=!0);break;default:return!1}return J&&(Z=iQ(Y),Z!==void 0&&Z===iQ(X))?!0:!1}function p8(Z){iQ!==null&&typeof WeakSet==="function"&&(V_===null&&(V_=new WeakSet),V_.add(Z))}function l8(Z,X,Y){do{var J=Z,G=J.alternate,H=J.child,U=J.sibling,B=J.tag;J=J.type;var F=null;switch(B){case 0:case 15:case 1:F=J;break;case 11:F=J.render}if(iQ===null)throw Error("Expected resolveFamily to be set during hot reload.");var T=!1;if(J=!1,F!==null&&(F=iQ(F),F!==void 0&&(Y.has(F)?J=!0:X.has(F)&&(B===1?J=!0:T=!0))),V_!==null&&(V_.has(Z)||G!==null&&V_.has(G))&&(J=!0),J&&(Z._debugNeedsRemount=!0),J||T)G=bY(Z,2),G!==null&&gX(G,Z,2);if(H===null||J||l8(H,X,Y),U===null)break;Z=U}while(1)}function $D(Z,X,Y,J){this.tag=Z,this.key=Y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=X,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=J,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,o7||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function SM(Z){return Z=Z.prototype,!(!Z||!Z.isReactComponent)}function Vq(Z,X){var Y=Z.alternate;switch(Y===null?(Y=R(Z.tag,X,Z.key,Z.mode),Y.elementType=Z.elementType,Y.type=Z.type,Y.stateNode=Z.stateNode,Y._debugOwner=Z._debugOwner,Y._debugStack=Z._debugStack,Y._debugTask=Z._debugTask,Y._debugHookTypes=Z._debugHookTypes,Y.alternate=Z,Z.alternate=Y):(Y.pendingProps=X,Y.type=Z.type,Y.flags=0,Y.subtreeFlags=0,Y.deletions=null,Y.actualDuration=-0,Y.actualStartTime=-1.1),Y.flags=Z.flags&65011712,Y.childLanes=Z.childLanes,Y.lanes=Z.lanes,Y.child=Z.child,Y.memoizedProps=Z.memoizedProps,Y.memoizedState=Z.memoizedState,Y.updateQueue=Z.updateQueue,X=Z.dependencies,Y.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext,_debugThenableState:X._debugThenableState},Y.sibling=Z.sibling,Y.index=Z.index,Y.ref=Z.ref,Y.refCleanup=Z.refCleanup,Y.selfBaseDuration=Z.selfBaseDuration,Y.treeBaseDuration=Z.treeBaseDuration,Y._debugInfo=Z._debugInfo,Y._debugNeedsRemount=Z._debugNeedsRemount,Y.tag){case 0:case 15:Y.type=CH(Z.type);break;case 1:Y.type=CH(Z.type);break;case 11:Y.type=$M(Z.type)}return Y}function i8(Z,X){Z.flags&=65011714;var Y=Z.alternate;return Y===null?(Z.childLanes=0,Z.lanes=X,Z.child=null,Z.subtreeFlags=0,Z.memoizedProps=null,Z.memoizedState=null,Z.updateQueue=null,Z.dependencies=null,Z.stateNode=null,Z.selfBaseDuration=0,Z.treeBaseDuration=0):(Z.childLanes=Y.childLanes,Z.lanes=Y.lanes,Z.child=Y.child,Z.subtreeFlags=0,Z.deletions=null,Z.memoizedProps=Y.memoizedProps,Z.memoizedState=Y.memoizedState,Z.updateQueue=Y.updateQueue,Z.type=Y.type,X=Y.dependencies,Z.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext,_debugThenableState:X._debugThenableState},Z.selfBaseDuration=Y.selfBaseDuration,Z.treeBaseDuration=Y.treeBaseDuration),Z}function EM(Z,X,Y,J,G,H){var U=0,B=Z;if(typeof Z==="function")SM(Z)&&(U=1),B=CH(B);else if(typeof Z==="string")U=g(),U=g$(Z,Y,U)?26:Z==="html"||Z==="head"||Z==="body"?27:5;else Z:switch(Z){case V0:return X=R(31,Y,X,G),X.elementType=V0,X.lanes=H,X;case U_:return PH(Y.children,G,H,X);case VL:U=8,G|=mY,G|=OJ;break;case N0:return Z=Y,J=G,typeof Z.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof Z.id),X=R(12,Z,X,J|iZ),X.elementType=N0,X.lanes=H,X.stateNode={effectDuration:0,passiveEffectDuration:0},X;case T0:return X=R(13,Y,X,G),X.elementType=T0,X.lanes=H,X;case w0:return X=R(19,Y,X,G),X.elementType=w0,X.lanes=H,X;default:if(typeof Z==="object"&&Z!==null)switch(Z.$$typeof){case oJ:U=10;break Z;case I0:U=9;break Z;case TU:U=11,B=$M(B);break Z;case RL:U=14;break Z;case PQ:U=16,B=null;break Z}if(B="",Z===void 0||typeof Z==="object"&&Z!==null&&Object.keys(Z).length===0)B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";Z===null?Y="null":zY(Z)?Y="array":Z!==void 0&&Z.$$typeof===aJ?(Y="<"+(l(Z.type)||"Unknown")+" />",B=" Did you accidentally export a JSX literal instead of a component?"):Y=typeof Z,(U=J?MZ(J):null)&&(B+=`
|
|
77
|
-
|
|
78
|
-
Check the render method of \``+U+"`."),U=29,Y=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(Y+"."+B)),B=null}return X=R(U,Y,X,G),X.elementType=Z,X.type=B,X.lanes=H,X._debugOwner=J,X}function DB(Z,X,Y){return X=EM(Z.type,Z.key,Z.props,Z._owner,X,Y),X._debugOwner=Z._owner,X._debugStack=Z._debugStack,X._debugTask=Z._debugTask,X}function PH(Z,X,Y,J){return Z=R(7,Z,J,X),Z.lanes=Y,Z}function kM(Z,X,Y){return Z=R(6,Z,null,X),Z.lanes=Y,Z}function n8(Z){var X=R(18,null,null,hZ);return X.stateNode=Z,X}function xM(Z,X,Y){return X=R(4,Z.children!==null?Z.children:[],Z.key,X),X.lanes=Y,X.stateNode={containerInfo:Z.containerInfo,pendingChildren:null,implementation:Z.implementation},X}function TQ(Z,X){if(typeof Z==="object"&&Z!==null){var Y=e0.get(Z);if(Y!==void 0)return Y;return X={value:Z,source:X,stack:YX(X)},e0.set(Z,X),X}return{value:Z,source:X,stack:YX(X)}}function Rq(Z,X){WG(),R_[j_++]=yU,R_[j_++]=mL,mL=Z,yU=X}function s8(Z,X,Y){WG(),nQ[sQ++]=xq,nQ[sQ++]=yq,nQ[sQ++]=fH,fH=Z;var J=xq;Z=yq;var G=32-cY(J)-1;J&=~(1<<G),Y+=1;var H=32-cY(X)+G;if(30<H){var U=G-G%5;H=(J&(1<<U)-1).toString(32),J>>=U,G-=U,xq=1<<32-cY(X)+G|Y<<G|J,yq=H+Z}else xq=1<<H|Y<<G|J,yq=Z}function yM(Z){WG(),Z.return!==null&&(Rq(Z,1),s8(Z,1,0))}function vM(Z){for(;Z===mL;)mL=R_[--j_],R_[j_]=null,yU=R_[--j_],R_[j_]=null;for(;Z===fH;)fH=nQ[--sQ],nQ[sQ]=null,yq=nQ[--sQ],nQ[sQ]=null,xq=nQ[--sQ],nQ[sQ]=null}function a8(){return WG(),fH!==null?{id:xq,overflow:yq}:null}function o8(Z,X){WG(),nQ[sQ++]=xq,nQ[sQ++]=yq,nQ[sQ++]=fH,xq=X.id,yq=X.overflow,fH=Z}function WG(){QX||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function DH(Z,X){if(Z.return===null){if(SQ===null)SQ={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X};else{if(SQ.fiber!==Z)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");SQ.distanceFromLeaf>X&&(SQ.distanceFromLeaf=X)}return SQ}var Y=DH(Z.return,X+1).children;if(0<Y.length&&Y[Y.length-1].fiber===Z)return Y=Y[Y.length-1],Y.distanceFromLeaf>X&&(Y.distanceFromLeaf=X),Y;return X={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X},Y.push(X),X}function r8(){QX&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function $B(Z,X){Yq||(Z=DH(Z,0),Z.serverProps=null,X!==null&&(X=$N(X),Z.serverTail.push(X)))}function UG(Z){var X=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Y="",J=SQ;throw J!==null&&(SQ=null,Y=IM(J)),sW(TQ(Error("Hydration failed because the server rendered "+(X?"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:
|
|
79
|
-
|
|
80
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
81
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
82
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
83
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
84
|
-
- Invalid HTML tag nesting.
|
|
85
|
-
|
|
86
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
87
|
-
|
|
88
|
-
https://react.dev/link/hydration-mismatch`+Y),Z)),Z9}function t8(Z){var{stateNode:X,type:Y,memoizedProps:J}=Z;switch(X[CY]=Z,X[pY]=J,X0(Y,J),Y){case"dialog":qX("cancel",X),qX("close",X);break;case"iframe":case"object":case"embed":qX("load",X);break;case"video":case"audio":for(Y=0;Y<zK.length;Y++)qX(zK[Y],X);break;case"source":qX("error",X);break;case"img":case"image":case"link":qX("error",X),qX("load",X);break;case"details":qX("toggle",X);break;case"input":_G("input",J),qX("invalid",X),J8(X,J),q8(X,J.value,J.defaultValue,J.checked,J.defaultChecked,J.type,J.name,!0);break;case"option":G8(X,J);break;case"select":_G("select",J),qX("invalid",X),z8(X,J);break;case"textarea":_G("textarea",J),qX("invalid",X),_8(X,J),U8(X,J.value,J.defaultValue,J.children)}Y=J.children,typeof Y!=="string"&&typeof Y!=="number"&&typeof Y!=="bigint"||X.textContent===""+Y||J.suppressHydrationWarning===!0||AN(X.textContent,Y)?(J.popover!=null&&(qX("beforetoggle",X),qX("toggle",X)),J.onScroll!=null&&qX("scroll",X),J.onScrollEnd!=null&&qX("scrollend",X),J.onClick!=null&&(X.onclick=wq),X=!0):X=!1,X||UG(Z,!0)}function e8(Z){for(PY=Z.return;PY;)switch(PY.tag){case 5:case 31:case 13:aQ=!1;return;case 27:case 3:aQ=!0;return;default:PY=PY.return}}function az(Z){if(Z!==PY)return!1;if(!QX)return e8(Z),QX=!0,!1;var X=Z.tag,Y;if(Y=X!==3&&X!==27){if(Y=X===5)Y=Z.type,Y=!(Y!=="form"&&Y!=="button")||G0(Z.type,Z.memoizedProps);Y=!Y}if(Y&&$X){for(Y=$X;Y;){var J=DH(Z,0),G=$N(Y);J.serverTail.push(G),Y=G.type==="Suspense"?W0(Y):CQ(Y.nextSibling)}UG(Z)}if(e8(Z),X===13){if(Z=Z.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$X=W0(Z)}else if(X===31){if(Z=Z.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$X=W0(Z)}else X===27?(X=$X,TG(Z.type)?(Z=c9,c9=null,$X=Z):$X=X):$X=PY?CQ(Z.stateNode.nextSibling):null;return!0}function $H(){$X=PY=null,Yq=QX=!1}function hM(){var Z=SG;return Z!==null&&(oY===null?oY=Z:oY.push.apply(oY,Z),SG=null),Z}function sW(Z){SG===null?SG=[Z]:SG.push(Z)}function bM(){var Z=SQ;if(Z!==null){SQ=null;for(var X=IM(Z);0<Z.children.length;)Z=Z.children[0];BZ(Z.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:
|
|
89
|
-
|
|
90
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
91
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
92
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
93
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
94
|
-
- Invalid HTML tag nesting.
|
|
95
|
-
|
|
96
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
97
|
-
|
|
98
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",X)})}}function SB(){C_=fL=null,P_=!1}function KG(Z,X,Y){zZ(X9,X._currentValue,Z),X._currentValue=Y,zZ(Y9,X._currentRenderer,Z),X._currentRenderer!==void 0&&X._currentRenderer!==null&&X._currentRenderer!==t7&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),X._currentRenderer=t7}function jq(Z,X){Z._currentValue=X9.current;var Y=Y9.current;KZ(Y9,X),Z._currentRenderer=Y,KZ(X9,X)}function gM(Z,X,Y){for(;Z!==null;){var J=Z.alternate;if((Z.childLanes&X)!==X?(Z.childLanes|=X,J!==null&&(J.childLanes|=X)):J!==null&&(J.childLanes&X)!==X&&(J.childLanes|=X),Z===Y)break;Z=Z.return}Z!==Y&&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 mM(Z,X,Y,J){var G=Z.child;G!==null&&(G.return=Z);for(;G!==null;){var H=G.dependencies;if(H!==null){var U=G.child;H=H.firstContext;Z:for(;H!==null;){var B=H;H=G;for(var F=0;F<X.length;F++)if(B.context===X[F]){H.lanes|=Y,B=H.alternate,B!==null&&(B.lanes|=Y),gM(H.return,Y,Z),J||(U=null);break Z}H=B.next}}else if(G.tag===18){if(U=G.return,U===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");U.lanes|=Y,H=U.alternate,H!==null&&(H.lanes|=Y),gM(U,Y,Z),U=null}else U=G.child;if(U!==null)U.return=G;else for(U=G;U!==null;){if(U===Z){U=null;break}if(G=U.sibling,G!==null){G.return=U.return,U=G;break}U=U.return}G=U}}function oz(Z,X,Y,J){Z=null;for(var G=X,H=!1;G!==null;){if(!H){if((G.flags&524288)!==0)H=!0;else if((G.flags&262144)!==0)break}if(G.tag===10){var U=G.alternate;if(U===null)throw Error("Should have a current fiber. This is a bug in React.");if(U=U.memoizedProps,U!==null){var B=G.type;iY(G.pendingProps.value,U.value)||(Z!==null?Z.push(B):Z=[B])}}else if(G===jL.current){if(U=G.alternate,U===null)throw Error("Should have a current fiber. This is a bug in React.");U.memoizedState.memoizedState!==G.memoizedState.memoizedState&&(Z!==null?Z.push(BK):Z=[BK])}G=G.return}Z!==null&&mM(X,Z,Y,J),X.flags|=262144}function EB(Z){for(Z=Z.firstContext;Z!==null;){if(!iY(Z.context._currentValue,Z.memoizedValue))return!0;Z=Z.next}return!1}function SH(Z){fL=Z,C_=null,Z=Z.dependencies,Z!==null&&(Z.firstContext=null)}function kX(Z){return P_&&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()."),Z1(fL,Z)}function kB(Z,X){return fL===null&&SH(Z),Z1(Z,X)}function Z1(Z,X){var Y=X._currentValue;if(X={context:X,memoizedValue:Y,next:null},C_===null){if(Z===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().");C_=X,Z.dependencies={lanes:0,firstContext:X,_debugThenableState:null},Z.flags|=524288}else C_=C_.next=X;return Y}function fM(){return{controller:new _E,data:new Map,refCount:0}}function EH(Z){Z.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),Z.refCount++}function aW(Z){Z.refCount--,0>Z.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),Z.refCount===0&&WE(UE,function(){Z.controller.abort()})}function hJ(Z,X,Y){if((Z&127)!==0)0>Qq&&(Qq=tX(),hU=uL(X),Q9=X,Y!=null&&(J9=n(Y)),(zX&(WY|xQ))!==MY&&(mX=!0,xG=vU),Z=OU(),X=AU(),Z!==D_||X!==bU?D_=-1.1:X!==null&&(xG=vU),dH=Z,bU=X);else if((Z&4194048)!==0&&0>oQ&&(oQ=tX(),gU=uL(X),e7=X,Y!=null&&(ZI=n(Y)),0>bq)){if(Z=OU(),X=AU(),Z!==vG||X!==cH)vG=-1.1;yG=Z,cH=X}}function SD(Z){if(0>Qq){Qq=tX(),hU=Z._debugTask!=null?Z._debugTask:null,(zX&(WY|xQ))!==MY&&(xG=vU);var X=OU(),Y=AU();X!==D_||Y!==bU?D_=-1.1:Y!==null&&(xG=vU),dH=X,bU=Y}if(0>oQ&&(oQ=tX(),gU=Z._debugTask!=null?Z._debugTask:null,0>bq)){if(Z=OU(),X=AU(),Z!==vG||X!==cH)vG=-1.1;yG=Z,cH=X}}function Cq(){var Z=uH;return uH=0,Z}function xB(Z){var X=uH;return uH=Z,X}function oW(Z){var X=uH;return uH+=Z,X}function yB(){yZ=kZ=-1.1}function wQ(){var Z=kZ;return kZ=-1.1,Z}function VQ(Z){0<=Z&&(kZ=Z)}function bJ(){var Z=hX;return hX=-0,Z}function gJ(Z){0<=Z&&(hX=Z)}function mJ(){var Z=xX;return xX=null,Z}function fJ(){var Z=mX;return mX=!1,Z}function uM(Z){nY=tX(),0>Z.actualStartTime&&(Z.actualStartTime=nY)}function dM(Z){if(0<=nY){var X=tX()-nY;Z.actualDuration+=X,Z.selfBaseDuration=X,nY=-1}}function X1(Z){if(0<=nY){var X=tX()-nY;Z.actualDuration+=X,nY=-1}}function uJ(){if(0<=nY){var Z=tX(),X=Z-nY;nY=-1,uH+=X,hX+=X,yZ=Z}}function Y1(Z){xX===null&&(xX=[]),xX.push(Z),hq===null&&(hq=[]),hq.push(Z)}function dJ(){nY=tX(),0>kZ&&(kZ=nY)}function rW(Z){for(var X=Z.child;X;)Z.actualDuration+=X.actualDuration,X=X.sibling}function ED(Z,X){if(fU===null){var Y=fU=[];G9=0,pH=rF(),$_={status:"pending",value:void 0,then:function(J){Y.push(J)}}}return G9++,X.then(Q1,Q1),X}function Q1(){if(--G9===0&&(-1<oQ||(bq=-1.1),fU!==null)){$_!==null&&($_.status="fulfilled");var Z=fU;fU=null,pH=0,$_=null;for(var X=0;X<Z.length;X++)(0,Z[X])()}}function kD(Z,X){var Y=[],J={status:"pending",value:null,reason:null,then:function(G){Y.push(G)}};return Z.then(function(){J.status="fulfilled",J.value=X;for(var G=0;G<Y.length;G++)(0,Y[G])(X)},function(G){J.status="rejected",J.reason=G;for(G=0;G<Y.length;G++)(0,Y[G])(void 0)}),J}function cM(){var Z=lH.current;return Z!==null?Z:RX.pooledCache}function vB(Z,X){X===null?zZ(lH,lH.current,Z):zZ(lH,X.pool,Z)}function J1(){var Z=cM();return Z===null?null:{parent:rX._currentValue,pool:Z}}function q1(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function G1(Z){return Z=Z.status,Z==="fulfilled"||Z==="rejected"}function H1(Z,X,Y){s.actQueue!==null&&(s.didUsePromise=!0);var J=Z.thenables;if(Y=J[Y],Y===void 0?J.push(X):Y!==X&&(Z.didWarnAboutUncachedPromise||(Z.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.")),X.then(wq,wq),X=Y),X._debugInfo===void 0){Z=performance.now(),J=X.displayName;var G={name:typeof J==="string"?J:"Promise",start:Z,end:Z,value:X};X._debugInfo=[{awaited:G}],X.status!=="fulfilled"&&X.status!=="rejected"&&(Z=function(){G.end=performance.now()},X.then(Z,Z))}switch(X.status){case"fulfilled":return X.value;case"rejected":throw Z=X.reason,_1(Z),Z;default:if(typeof X.status==="string")X.then(wq,wq);else{if(Z=RX,Z!==null&&100<Z.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.");Z=X,Z.status="pending",Z.then(function(H){if(X.status==="pending"){var U=X;U.status="fulfilled",U.value=H}},function(H){if(X.status==="pending"){var U=X;U.status="rejected",U.reason=H}})}switch(X.status){case"fulfilled":return X.value;case"rejected":throw Z=X.reason,_1(Z),Z}throw nH=X,nU=!0,S_}}function BG(Z){try{return AE(Z)}catch(X){if(X!==null&&typeof X==="object"&&typeof X.then==="function")throw nH=X,nU=!0,S_;throw X}}function z1(){if(nH===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var Z=nH;return nH=null,nU=!1,Z}function _1(Z){if(Z===S_||Z===aL)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 VY(Z){var X=nZ;return Z!=null&&(nZ=X===null?Z:X.concat(Z)),X}function pM(){var Z=nZ;if(Z!=null){for(var X=Z.length-1;0<=X;X--)if(Z[X].name!=null){var Y=Z[X].debugTask;if(Y!=null)return Y}}return null}function hB(Z,X,Y){for(var J=Object.keys(Z.props),G=0;G<J.length;G++){var H=J[G];if(H!=="children"&&H!=="key"){X===null&&(X=DB(Z,Y.mode,0),X._debugInfo=nZ,X.return=Y),BZ(X,function(U){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",U)},H);break}}}function bB(Z){var X=sU;return sU+=1,E_===null&&(E_=q1()),H1(E_,Z,X)}function tW(Z,X){X=X.props.ref,Z.ref=X!==void 0?X:null}function W1(Z,X){if(X.$$typeof===s$)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
99
|
-
- Multiple copies of the "react" package is used.
|
|
100
|
-
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
101
|
-
- A compiler tries to "inline" JSX instead of using the runtime.`);throw Z=Object.prototype.toString.call(X),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}function gB(Z,X){var Y=pM();Y!==null?Y.run(W1.bind(null,Z,X)):W1(Z,X)}function U1(Z,X){var Y=n(Z)||"Component";II[Y]||(II[Y]=!0,X=X.displayName||X.name||"Component",Z.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.
|
|
102
|
-
root.render(%s)`,X,X,X):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.
|
|
103
|
-
<%s>{%s}</%s>`,X,X,Y,X,Y))}function mB(Z,X){var Y=pM();Y!==null?Y.run(U1.bind(null,Z,X)):U1(Z,X)}function K1(Z,X){var Y=n(Z)||"Component";TI[Y]||(TI[Y]=!0,X=String(X),Z.tag===3?console.error(`Symbols are not valid as a React child.
|
|
104
|
-
root.render(%s)`,X):console.error(`Symbols are not valid as a React child.
|
|
105
|
-
<%s>%s</%s>`,Y,X,Y))}function fB(Z,X){var Y=pM();Y!==null?Y.run(K1.bind(null,Z,X)):K1(Z,X)}function B1(Z){function X(D,S){if(Z){var k=D.deletions;k===null?(D.deletions=[S],D.flags|=16):k.push(S)}}function Y(D,S){if(!Z)return null;for(;S!==null;)X(D,S),S=S.sibling;return null}function J(D){for(var S=new Map;D!==null;)D.key!==null?S.set(D.key,D):S.set(D.index,D),D=D.sibling;return S}function G(D,S){return D=Vq(D,S),D.index=0,D.sibling=null,D}function H(D,S,k){if(D.index=k,!Z)return D.flags|=1048576,S;if(k=D.alternate,k!==null)return k=k.index,k<S?(D.flags|=67108866,S):k;return D.flags|=67108866,S}function U(D){return Z&&D.alternate===null&&(D.flags|=67108866),D}function B(D,S,k,t){if(S===null||S.tag!==6)return S=kM(k,D.mode,t),S.return=D,S._debugOwner=D,S._debugTask=D._debugTask,S._debugInfo=nZ,S;return S=G(S,k),S.return=D,S._debugInfo=nZ,S}function F(D,S,k,t){var WZ=k.type;if(WZ===U_)return S=x(D,S,k.props.children,t,k.key),hB(k,S,D),S;if(S!==null&&(S.elementType===WZ||c8(S,k)||typeof WZ==="object"&&WZ!==null&&WZ.$$typeof===PQ&&BG(WZ)===S.type))return S=G(S,k.props),tW(S,k),S.return=D,S._debugOwner=k._owner,S._debugInfo=nZ,S;return S=DB(k,D.mode,t),tW(S,k),S.return=D,S._debugInfo=nZ,S}function T(D,S,k,t){if(S===null||S.tag!==4||S.stateNode.containerInfo!==k.containerInfo||S.stateNode.implementation!==k.implementation)return S=xM(k,D.mode,t),S.return=D,S._debugInfo=nZ,S;return S=G(S,k.children||[]),S.return=D,S._debugInfo=nZ,S}function x(D,S,k,t,WZ){if(S===null||S.tag!==7)return S=PH(k,D.mode,t,WZ),S.return=D,S._debugOwner=D,S._debugTask=D._debugTask,S._debugInfo=nZ,S;return S=G(S,k),S.return=D,S._debugInfo=nZ,S}function v(D,S,k){if(typeof S==="string"&&S!==""||typeof S==="number"||typeof S==="bigint")return S=kM(""+S,D.mode,k),S.return=D,S._debugOwner=D,S._debugTask=D._debugTask,S._debugInfo=nZ,S;if(typeof S==="object"&&S!==null){switch(S.$$typeof){case aJ:return k=DB(S,D.mode,k),tW(k,S),k.return=D,D=VY(S._debugInfo),k._debugInfo=nZ,nZ=D,k;case W_:return S=xM(S,D.mode,k),S.return=D,S._debugInfo=nZ,S;case PQ:var t=VY(S._debugInfo);return S=BG(S),D=v(D,S,k),nZ=t,D}if(zY(S)||qZ(S))return k=PH(S,D.mode,k,null),k.return=D,k._debugOwner=D,k._debugTask=D._debugTask,D=VY(S._debugInfo),k._debugInfo=nZ,nZ=D,k;if(typeof S.then==="function")return t=VY(S._debugInfo),D=v(D,bB(S),k),nZ=t,D;if(S.$$typeof===oJ)return v(D,kB(D,S),k);gB(D,S)}return typeof S==="function"&&mB(D,S),typeof S==="symbol"&&fB(D,S),null}function $(D,S,k,t){var WZ=S!==null?S.key:null;if(typeof k==="string"&&k!==""||typeof k==="number"||typeof k==="bigint")return WZ!==null?null:B(D,S,""+k,t);if(typeof k==="object"&&k!==null){switch(k.$$typeof){case aJ:return k.key===WZ?(WZ=VY(k._debugInfo),D=F(D,S,k,t),nZ=WZ,D):null;case W_:return k.key===WZ?T(D,S,k,t):null;case PQ:return WZ=VY(k._debugInfo),k=BG(k),D=$(D,S,k,t),nZ=WZ,D}if(zY(k)||qZ(k)){if(WZ!==null)return null;return WZ=VY(k._debugInfo),D=x(D,S,k,t,null),nZ=WZ,D}if(typeof k.then==="function")return WZ=VY(k._debugInfo),D=$(D,S,bB(k),t),nZ=WZ,D;if(k.$$typeof===oJ)return $(D,S,kB(D,k),t);gB(D,k)}return typeof k==="function"&&mB(D,k),typeof k==="symbol"&&fB(D,k),null}function c(D,S,k,t,WZ){if(typeof t==="string"&&t!==""||typeof t==="number"||typeof t==="bigint")return D=D.get(k)||null,B(S,D,""+t,WZ);if(typeof t==="object"&&t!==null){switch(t.$$typeof){case aJ:return k=D.get(t.key===null?k:t.key)||null,D=VY(t._debugInfo),S=F(S,k,t,WZ),nZ=D,S;case W_:return D=D.get(t.key===null?k:t.key)||null,T(S,D,t,WZ);case PQ:var gZ=VY(t._debugInfo);return t=BG(t),S=c(D,S,k,t,WZ),nZ=gZ,S}if(zY(t)||qZ(t))return k=D.get(k)||null,D=VY(t._debugInfo),S=x(S,k,t,WZ,null),nZ=D,S;if(typeof t.then==="function")return gZ=VY(t._debugInfo),S=c(D,S,k,bB(t),WZ),nZ=gZ,S;if(t.$$typeof===oJ)return c(D,S,k,kB(S,t),WZ);gB(S,t)}return typeof t==="function"&&mB(S,t),typeof t==="symbol"&&fB(S,t),null}function GZ(D,S,k,t){if(typeof k!=="object"||k===null)return t;switch(k.$$typeof){case aJ:case W_:N(D,S,k);var WZ=k.key;if(typeof WZ!=="string")break;if(t===null){t=new Set,t.add(WZ);break}if(!t.has(WZ)){t.add(WZ);break}BZ(S,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.",WZ)});break;case PQ:k=BG(k),GZ(D,S,k,t)}return t}function AZ(D,S,k,t){for(var WZ=null,gZ=null,SZ=null,jZ=S,pZ=S=0,SX=null;jZ!==null&&pZ<k.length;pZ++){jZ.index>pZ?(SX=jZ,jZ=null):SX=jZ.sibling;var sX=$(D,jZ,k[pZ],t);if(sX===null){jZ===null&&(jZ=SX);break}WZ=GZ(D,sX,k[pZ],WZ),Z&&jZ&&sX.alternate===null&&X(D,jZ),S=H(sX,S,pZ),SZ===null?gZ=sX:SZ.sibling=sX,SZ=sX,jZ=SX}if(pZ===k.length)return Y(D,jZ),QX&&Rq(D,pZ),gZ;if(jZ===null){for(;pZ<k.length;pZ++)jZ=v(D,k[pZ],t),jZ!==null&&(WZ=GZ(D,jZ,k[pZ],WZ),S=H(jZ,S,pZ),SZ===null?gZ=jZ:SZ.sibling=jZ,SZ=jZ);return QX&&Rq(D,pZ),gZ}for(jZ=J(jZ);pZ<k.length;pZ++)SX=c(jZ,D,pZ,k[pZ],t),SX!==null&&(WZ=GZ(D,SX,k[pZ],WZ),Z&&SX.alternate!==null&&jZ.delete(SX.key===null?pZ:SX.key),S=H(SX,S,pZ),SZ===null?gZ=SX:SZ.sibling=SX,SZ=SX);return Z&&jZ.forEach(function(iq){return X(D,iq)}),QX&&Rq(D,pZ),gZ}function PX(D,S,k,t){if(k==null)throw Error("An iterable object provided no iterator.");for(var WZ=null,gZ=null,SZ=S,jZ=S=0,pZ=null,SX=null,sX=k.next();SZ!==null&&!sX.done;jZ++,sX=k.next()){SZ.index>jZ?(pZ=SZ,SZ=null):pZ=SZ.sibling;var iq=$(D,SZ,sX.value,t);if(iq===null){SZ===null&&(SZ=pZ);break}SX=GZ(D,iq,sX.value,SX),Z&&SZ&&iq.alternate===null&&X(D,SZ),S=H(iq,S,jZ),gZ===null?WZ=iq:gZ.sibling=iq,gZ=iq,SZ=pZ}if(sX.done)return Y(D,SZ),QX&&Rq(D,jZ),WZ;if(SZ===null){for(;!sX.done;jZ++,sX=k.next())SZ=v(D,sX.value,t),SZ!==null&&(SX=GZ(D,SZ,sX.value,SX),S=H(SZ,S,jZ),gZ===null?WZ=SZ:gZ.sibling=SZ,gZ=SZ);return QX&&Rq(D,jZ),WZ}for(SZ=J(SZ);!sX.done;jZ++,sX=k.next())pZ=c(SZ,D,jZ,sX.value,t),pZ!==null&&(SX=GZ(D,pZ,sX.value,SX),Z&&pZ.alternate!==null&&SZ.delete(pZ.key===null?jZ:pZ.key),S=H(pZ,S,jZ),gZ===null?WZ=pZ:gZ.sibling=pZ,gZ=pZ);return Z&&SZ.forEach(function(mE){return X(D,mE)}),QX&&Rq(D,jZ),WZ}function GX(D,S,k,t){if(typeof k==="object"&&k!==null&&k.type===U_&&k.key===null&&(hB(k,null,D),k=k.props.children),typeof k==="object"&&k!==null){switch(k.$$typeof){case aJ:var WZ=VY(k._debugInfo);Z:{for(var gZ=k.key;S!==null;){if(S.key===gZ){if(gZ=k.type,gZ===U_){if(S.tag===7){Y(D,S.sibling),t=G(S,k.props.children),t.return=D,t._debugOwner=k._owner,t._debugInfo=nZ,hB(k,t,D),D=t;break Z}}else if(S.elementType===gZ||c8(S,k)||typeof gZ==="object"&&gZ!==null&&gZ.$$typeof===PQ&&BG(gZ)===S.type){Y(D,S.sibling),t=G(S,k.props),tW(t,k),t.return=D,t._debugOwner=k._owner,t._debugInfo=nZ,D=t;break Z}Y(D,S);break}else X(D,S);S=S.sibling}k.type===U_?(t=PH(k.props.children,D.mode,t,k.key),t.return=D,t._debugOwner=D,t._debugTask=D._debugTask,t._debugInfo=nZ,hB(k,t,D),D=t):(t=DB(k,D.mode,t),tW(t,k),t.return=D,t._debugInfo=nZ,D=t)}return D=U(D),nZ=WZ,D;case W_:Z:{WZ=k;for(k=WZ.key;S!==null;){if(S.key===k)if(S.tag===4&&S.stateNode.containerInfo===WZ.containerInfo&&S.stateNode.implementation===WZ.implementation){Y(D,S.sibling),t=G(S,WZ.children||[]),t.return=D,D=t;break Z}else{Y(D,S);break}else X(D,S);S=S.sibling}t=xM(WZ,D.mode,t),t.return=D,D=t}return U(D);case PQ:return WZ=VY(k._debugInfo),k=BG(k),D=GX(D,S,k,t),nZ=WZ,D}if(zY(k))return WZ=VY(k._debugInfo),D=AZ(D,S,k,t),nZ=WZ,D;if(qZ(k)){if(WZ=VY(k._debugInfo),gZ=qZ(k),typeof gZ!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var SZ=gZ.call(k);if(SZ===k){if(D.tag!==0||Object.prototype.toString.call(D.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(SZ)!=="[object Generator]")FI||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."),FI=!0}else k.entries!==gZ||W9||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),W9=!0);return D=PX(D,S,SZ,t),nZ=WZ,D}if(typeof k.then==="function")return WZ=VY(k._debugInfo),D=GX(D,S,bB(k),t),nZ=WZ,D;if(k.$$typeof===oJ)return GX(D,S,kB(D,k),t);gB(D,k)}if(typeof k==="string"&&k!==""||typeof k==="number"||typeof k==="bigint")return WZ=""+k,S!==null&&S.tag===6?(Y(D,S.sibling),t=G(S,WZ),t.return=D,D=t):(Y(D,S),t=kM(WZ,D.mode,t),t.return=D,t._debugOwner=D,t._debugTask=D._debugTask,t._debugInfo=nZ,D=t),U(D);return typeof k==="function"&&mB(D,k),typeof k==="symbol"&&fB(D,k),Y(D,S)}return function(D,S,k,t){var WZ=nZ;nZ=null;try{sU=0;var gZ=GX(D,S,k,t);return E_=null,gZ}catch(SX){if(SX===S_||SX===aL)throw SX;var SZ=R(29,SX,null,D.mode);SZ.lanes=t,SZ.return=D;var jZ=SZ._debugInfo=nZ;if(SZ._debugOwner=D._debugOwner,SZ._debugTask=D._debugTask,jZ!=null){for(var pZ=jZ.length-1;0<=pZ;pZ--)if(typeof jZ[pZ].stack==="string"){SZ._debugOwner=jZ[pZ],SZ._debugTask=jZ[pZ].debugTask;break}}return SZ}finally{nZ=WZ}}}function L1(Z,X){var Y=zY(Z);return Z=!Y&&typeof qZ(Z)==="function",Y||Z?(Y=Y?"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>",Y,X,Y),!1):!0}function lM(Z){Z.updateQueue={baseState:Z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function iM(Z,X){Z=Z.updateQueue,X.updateQueue===Z&&(X.updateQueue={baseState:Z.baseState,firstBaseUpdate:Z.firstBaseUpdate,lastBaseUpdate:Z.lastBaseUpdate,shared:Z.shared,callbacks:null})}function LG(Z){return{lane:Z,tag:VI,payload:null,callback:null,next:null}}function AG(Z,X,Y){var J=Z.updateQueue;if(J===null)return null;if(J=J.shared,K9===J&&!CI){var G=n(Z);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.
|
|
106
|
-
|
|
107
|
-
Please update the following component: %s`,G),CI=!0}if((zX&WY)!==MY)return G=J.pending,G===null?X.next=X:(X.next=G.next,G.next=X),J.pending=X,X=PB(Z),d8(Z,null,Y),X;return CB(Z,J,X,Y),PB(Z)}function eW(Z,X,Y){if(X=X.updateQueue,X!==null&&(X=X.shared,(Y&4194048)!==0)){var J=X.lanes;J&=Z.pendingLanes,Y|=J,X.lanes=Y,IH(Z,Y)}}function uB(Z,X){var{updateQueue:Y,alternate:J}=Z;if(J!==null&&(J=J.updateQueue,Y===J)){var G=null,H=null;if(Y=Y.firstBaseUpdate,Y!==null){do{var U={lane:Y.lane,tag:Y.tag,payload:Y.payload,callback:null,next:null};H===null?G=H=U:H=H.next=U,Y=Y.next}while(Y!==null);H===null?G=H=X:H=H.next=X}else G=H=X;Y={baseState:J.baseState,firstBaseUpdate:G,lastBaseUpdate:H,shared:J.shared,callbacks:J.callbacks},Z.updateQueue=Y;return}Z=Y.lastBaseUpdate,Z===null?Y.firstBaseUpdate=X:Z.next=X,Y.lastBaseUpdate=X}function ZU(){if(B9){var Z=$_;if(Z!==null)throw Z}}function XU(Z,X,Y,J){B9=!1;var G=Z.updateQueue;hG=!1,K9=G.shared;var{firstBaseUpdate:H,lastBaseUpdate:U}=G,B=G.shared.pending;if(B!==null){G.shared.pending=null;var F=B,T=F.next;F.next=null,U===null?H=T:U.next=T,U=F;var x=Z.alternate;x!==null&&(x=x.updateQueue,B=x.lastBaseUpdate,B!==U&&(B===null?x.firstBaseUpdate=T:B.next=T,x.lastBaseUpdate=F))}if(H!==null){var v=G.baseState;U=0,x=T=F=null,B=H;do{var $=B.lane&-536870913,c=$!==B.lane;if(c?(sZ&$)===$:(J&$)===$){$!==0&&$===pH&&(B9=!0),x!==null&&(x=x.next={lane:0,tag:B.tag,payload:B.payload,callback:null,next:null});Z:{$=Z;var GZ=B,AZ=X,PX=Y;switch(GZ.tag){case RI:if(GZ=GZ.payload,typeof GZ==="function"){P_=!0;var GX=GZ.call(PX,v,AZ);if($.mode&mY){jX(!0);try{GZ.call(PX,v,AZ)}finally{jX(!1)}}P_=!1,v=GX;break Z}v=GZ;break Z;case U9:$.flags=$.flags&-65537|128;case VI:if(GX=GZ.payload,typeof GX==="function"){if(P_=!0,GZ=GX.call(PX,v,AZ),$.mode&mY){jX(!0);try{GX.call(PX,v,AZ)}finally{jX(!1)}}P_=!1}else GZ=GX;if(GZ===null||GZ===void 0)break Z;v=rZ({},v,GZ);break Z;case jI:hG=!0}}$=B.callback,$!==null&&(Z.flags|=64,c&&(Z.flags|=8192),c=G.callbacks,c===null?G.callbacks=[$]:c.push($))}else c={lane:$,tag:B.tag,payload:B.payload,callback:B.callback,next:null},x===null?(T=x=c,F=v):x=x.next=c,U|=$;if(B=B.next,B===null)if(B=G.shared.pending,B===null)break;else c=B,B=c.next,c.next=null,G.lastBaseUpdate=c,G.shared.pending=null}while(1);x===null&&(F=v),G.baseState=F,G.firstBaseUpdate=T,G.lastBaseUpdate=x,H===null&&(G.shared.lanes=0),mG|=U,Z.lanes=U,Z.memoizedState=v}K9=null}function A1(Z,X){if(typeof Z!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+Z);Z.call(X)}function xD(Z,X){var Y=Z.shared.hiddenCallbacks;if(Y!==null)for(Z.shared.hiddenCallbacks=null,Z=0;Z<Y.length;Z++)A1(Y[Z],X)}function O1(Z,X){var Y=Z.callbacks;if(Y!==null)for(Z.callbacks=null,Z=0;Z<Y.length;Z++)A1(Y[Z],X)}function M1(Z,X){var Y=Gq;zZ(rL,Y,Z),zZ(k_,X,Z),Gq=Y|X.baseLanes}function nM(Z){zZ(rL,Gq,Z),zZ(k_,k_.current,Z)}function sM(Z){Gq=rL.current,KZ(k_,Z),KZ(rL,Z)}function OG(Z){var X=Z.alternate;zZ(nX,nX.current&x_,Z),zZ(EQ,Z,Z),rQ===null&&(X===null||k_.current!==null?rQ=Z:X.memoizedState!==null&&(rQ=Z))}function aM(Z){zZ(nX,nX.current,Z),zZ(EQ,Z,Z),rQ===null&&(rQ=Z)}function F1(Z){Z.tag===22?(zZ(nX,nX.current,Z),zZ(EQ,Z,Z),rQ===null&&(rQ=Z)):MG(Z)}function MG(Z){zZ(nX,nX.current,Z),zZ(EQ,EQ.current,Z)}function RQ(Z){KZ(EQ,Z),rQ===Z&&(rQ=null),KZ(nX,Z)}function dB(Z){for(var X=Z;X!==null;){if(X.tag===13){var Y=X.memoizedState;if(Y!==null&&(Y=Y.dehydrated,Y===null||z0(Y)||_0(Y)))return X}else if(X.tag===19&&(X.memoizedProps.revealOrder==="forwards"||X.memoizedProps.revealOrder==="backwards"||X.memoizedProps.revealOrder==="unstable_legacy-backwards"||X.memoizedProps.revealOrder==="together")){if((X.flags&128)!==0)return X}else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)break;for(;X.sibling===null;){if(X.return===null||X.return===Z)return null;X=X.return}X.sibling.return=X.return,X=X.sibling}return null}function oZ(){var Z=i;eQ===null?eQ=[Z]:eQ.push(Z)}function YZ(){var Z=i;if(eQ!==null&&(uq++,eQ[uq]!==Z)){var X=n(bZ);if(!PI.has(X)&&(PI.add(X),eQ!==null)){for(var Y="",J=0;J<=uq;J++){var G=eQ[J],H=J===uq?Z:G;for(G=J+1+". "+G;30>G.length;)G+=" ";G+=H+`
|
|
108
|
-
`,Y+=G}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
|
|
109
|
-
|
|
110
|
-
Previous render Next render
|
|
111
|
-
------------------------------------------------------
|
|
112
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
113
|
-
`,X,Y)}}}function rz(Z){Z===void 0||Z===null||zY(Z)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",i,typeof Z)}function cB(){var Z=n(bZ);$I.has(Z)||($I.add(Z),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",Z))}function pX(){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:
|
|
114
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
115
|
-
2. You might be breaking the Rules of Hooks
|
|
116
|
-
3. You might have more than one copy of React in the same app
|
|
117
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function oM(Z,X){if(rU)return!1;if(X===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.",i),!1;Z.length!==X.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
118
|
-
|
|
119
|
-
Previous: %s
|
|
120
|
-
Incoming: %s`,i,"["+X.join(", ")+"]","["+Z.join(", ")+"]");for(var Y=0;Y<X.length&&Y<Z.length;Y++)if(!iY(Z[Y],X[Y]))return!1;return!0}function rM(Z,X,Y,J,G,H){if(mq=H,bZ=X,eQ=Z!==null?Z._debugHookTypes:null,uq=-1,rU=Z!==null&&Z.type!==X.type,Object.prototype.toString.call(Y)==="[object AsyncFunction]"||Object.prototype.toString.call(Y)==="[object AsyncGeneratorFunction]")H=n(bZ),L9.has(H)||(L9.add(H),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.",H===null?"An unknown Component":"<"+H+">"));X.memoizedState=null,X.updateQueue=null,X.lanes=0,s.H=Z!==null&&Z.memoizedState!==null?O9:eQ!==null?SI:A9,aH=H=(X.mode&mY)!==hZ;var U=H9(Y,J,G);if(aH=!1,v_&&(U=tM(X,Y,J,G)),H){jX(!0);try{U=tM(X,Y,J,G)}finally{jX(!1)}}return N1(Z,X),U}function N1(Z,X){X._debugHookTypes=eQ,X.dependencies===null?fq!==null&&(X.dependencies={lanes:0,firstContext:null,_debugThenableState:fq}):X.dependencies._debugThenableState=fq,s.H=tU;var Y=VX!==null&&VX.next!==null;if(mq=0,eQ=i=eX=VX=bZ=null,uq=-1,Z!==null&&(Z.flags&65011712)!==(X.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),eL=!1,oU=0,fq=null,Y)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");Z===null||ZY||(Z=Z.dependencies,Z!==null&&EB(Z)&&(ZY=!0)),nU?(nU=!1,Z=!0):Z=!1,Z&&(X=n(X)||"Unknown",DI.has(X)||L9.has(X)||(DI.add(X),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 tM(Z,X,Y,J){bZ=Z;var G=0;do{if(v_&&(fq=null),oU=0,v_=!1,G>=ME)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(G+=1,rU=!1,eX=VX=null,Z.updateQueue!=null){var H=Z.updateQueue;H.lastEffect=null,H.events=null,H.stores=null,H.memoCache!=null&&(H.memoCache.index=0)}uq=-1,s.H=EI,H=H9(X,Y,J)}while(v_);return H}function yD(){var Z=s.H,X=Z.useState()[0];return X=typeof X.then==="function"?YU(X):X,Z=Z.useState()[0],(VX!==null?VX.memoizedState:null)!==Z&&(bZ.flags|=1024),X}function eM(){var Z=ZA!==0;return ZA=0,Z}function ZF(Z,X,Y){X.updateQueue=Z.updateQueue,X.flags=(X.mode&OJ)!==hZ?X.flags&-402655237:X.flags&-2053,Z.lanes&=~Y}function XF(Z){if(eL){for(Z=Z.memoizedState;Z!==null;){var X=Z.queue;X!==null&&(X.pending=null),Z=Z.next}eL=!1}mq=0,eQ=eX=VX=bZ=null,uq=-1,i=null,v_=!1,oU=ZA=0,fq=null}function dY(){var Z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return eX===null?bZ.memoizedState=eX=Z:eX=eX.next=Z,eX}function FX(){if(VX===null){var Z=bZ.alternate;Z=Z!==null?Z.memoizedState:null}else Z=VX.next;var X=eX===null?bZ.memoizedState:eX.next;if(X!==null)eX=X,VX=Z;else{if(Z===null){if(bZ.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.")}VX=Z,Z={memoizedState:VX.memoizedState,baseState:VX.baseState,baseQueue:VX.baseQueue,queue:VX.queue,next:null},eX===null?bZ.memoizedState=eX=Z:eX=eX.next=Z}return eX}function pB(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function YU(Z){var X=oU;return oU+=1,fq===null&&(fq=q1()),Z=H1(fq,Z,X),X=bZ,(eX===null?X.memoizedState:eX.next)===null&&(X=X.alternate,s.H=X!==null&&X.memoizedState!==null?O9:A9),Z}function FG(Z){if(Z!==null&&typeof Z==="object"){if(typeof Z.then==="function")return YU(Z);if(Z.$$typeof===oJ)return kX(Z)}throw Error("An unsupported type was passed to use(): "+String(Z))}function kH(Z){var X=null,Y=bZ.updateQueue;if(Y!==null&&(X=Y.memoCache),X==null){var J=bZ.alternate;J!==null&&(J=J.updateQueue,J!==null&&(J=J.memoCache,J!=null&&(X={data:J.data.map(function(G){return G.slice()}),index:0})))}if(X==null&&(X={data:[],index:0}),Y===null&&(Y=pB(),bZ.updateQueue=Y),Y.memoCache=X,Y=X.data[X.index],Y===void 0||rU)for(Y=X.data[X.index]=Array(Z),J=0;J<Z;J++)Y[J]=a$;else Y.length!==Z&&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.",Y.length,Z);return X.index++,Y}function KJ(Z,X){return typeof X==="function"?X(Z):X}function YF(Z,X,Y){var J=dY();if(Y!==void 0){var G=Y(X);if(aH){jX(!0);try{Y(X)}finally{jX(!1)}}}else G=X;return J.memoizedState=J.baseState=G,Z={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Z,lastRenderedState:G},J.queue=Z,Z=Z.dispatch=mD.bind(null,bZ,Z),[J.memoizedState,Z]}function tz(Z){var X=FX();return QF(X,VX,Z)}function QF(Z,X,Y){var J=Z.queue;if(J===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");J.lastRenderedReducer=Y;var G=Z.baseQueue,H=J.pending;if(H!==null){if(G!==null){var U=G.next;G.next=H.next,H.next=U}X.baseQueue!==G&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),X.baseQueue=G=H,J.pending=null}if(H=Z.baseState,G===null)Z.memoizedState=H;else{X=G.next;var B=U=null,F=null,T=X,x=!1;do{var v=T.lane&-536870913;if(v!==T.lane?(sZ&v)===v:(mq&v)===v){var $=T.revertLane;if($===0)F!==null&&(F=F.next={lane:0,revertLane:0,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),v===pH&&(x=!0);else if((mq&$)===$){T=T.next,$===pH&&(x=!0);continue}else v={lane:0,revertLane:T.revertLane,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},F===null?(B=F=v,U=H):F=F.next=v,bZ.lanes|=$,mG|=$;v=T.action,aH&&Y(H,v),H=T.hasEagerState?T.eagerState:Y(H,v)}else $={lane:v,revertLane:T.revertLane,gesture:T.gesture,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},F===null?(B=F=$,U=H):F=F.next=$,bZ.lanes|=v,mG|=v;T=T.next}while(T!==null&&T!==X);if(F===null?U=H:F.next=B,!iY(H,Z.memoizedState)&&(ZY=!0,x&&(Y=$_,Y!==null)))throw Y;Z.memoizedState=H,Z.baseState=U,Z.baseQueue=F,J.lastRenderedState=H}return G===null&&(J.lanes=0),[Z.memoizedState,J.dispatch]}function QU(Z){var X=FX(),Y=X.queue;if(Y===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Y.lastRenderedReducer=Z;var{dispatch:J,pending:G}=Y,H=X.memoizedState;if(G!==null){Y.pending=null;var U=G=G.next;do H=Z(H,U.action),U=U.next;while(U!==G);iY(H,X.memoizedState)||(ZY=!0),X.memoizedState=H,X.baseQueue===null&&(X.baseState=H),Y.lastRenderedState=H}return[H,J]}function JF(Z,X,Y){var J=bZ,G=dY();if(QX){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var H=Y();y_||H===Y()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),y_=!0)}else{if(H=X(),y_||(Y=X(),iY(H,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),y_=!0)),RX===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(sZ&127)!==0||I1(J,X,H)}return G.memoizedState=H,Y={value:H,getSnapshot:X},G.queue=Y,sB(w1.bind(null,J,Y,Z),[Z]),J.flags|=2048,Z_(tQ|aY,{destroy:void 0},T1.bind(null,J,Y,H,X),null),H}function lB(Z,X,Y){var J=bZ,G=FX(),H=QX;if(H){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");Y=Y()}else if(Y=X(),!y_){var U=X();iY(Y,U)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),y_=!0)}if(U=!iY((VX||G).memoizedState,Y))G.memoizedState=Y,ZY=!0;G=G.queue;var B=w1.bind(null,J,G,Z);if(YQ(2048,aY,B,[Z]),G.getSnapshot!==X||U||eX!==null&&eX.memoizedState.tag&tQ){if(J.flags|=2048,Z_(tQ|aY,{destroy:void 0},T1.bind(null,J,G,Y,X),null),RX===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");H||(mq&127)!==0||I1(J,X,Y)}return Y}function I1(Z,X,Y){Z.flags|=16384,Z={getSnapshot:X,value:Y},X=bZ.updateQueue,X===null?(X=pB(),bZ.updateQueue=X,X.stores=[Z]):(Y=X.stores,Y===null?X.stores=[Z]:Y.push(Z))}function T1(Z,X,Y,J){X.value=Y,X.getSnapshot=J,V1(X)&&R1(Z)}function w1(Z,X,Y){return Y(function(){V1(X)&&(hJ(2,"updateSyncExternalStore()",Z),R1(Z))})}function V1(Z){var X=Z.getSnapshot;Z=Z.value;try{var Y=X();return!iY(Z,Y)}catch(J){return!0}}function R1(Z){var X=bY(Z,2);X!==null&&gX(X,Z,2)}function qF(Z){var X=dY();if(typeof Z==="function"){var Y=Z;if(Z=Y(),aH){jX(!0);try{Y()}finally{jX(!1)}}}return X.memoizedState=X.baseState=Z,X.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:KJ,lastRenderedState:Z},X}function GF(Z){Z=qF(Z);var X=Z.queue,Y=c1.bind(null,bZ,X);return X.dispatch=Y,[Z.memoizedState,Y]}function HF(Z){var X=dY();X.memoizedState=X.baseState=Z;var Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return X.queue=Y,X=TF.bind(null,bZ,!0,Y),Y.dispatch=X,[Z,X]}function j1(Z,X){var Y=FX();return C1(Y,VX,Z,X)}function C1(Z,X,Y,J){return Z.baseState=Y,QF(Z,VX,typeof J==="function"?J:KJ)}function P1(Z,X){var Y=FX();if(VX!==null)return C1(Y,VX,Z,X);return Y.baseState=Z,[Z,Y.queue.dispatch]}function vD(Z,X,Y,J,G){if(ZL(Z))throw Error("Cannot update form state while rendering.");if(Z=X.action,Z!==null){var H={payload:G,action:Z,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(U){H.listeners.push(U)}};s.T!==null?Y(!0):H.isTransition=!1,J(H),Y=X.pending,Y===null?(H.next=X.pending=H,D1(X,H)):(H.next=Y.next,X.pending=Y.next=H)}}function D1(Z,X){var{action:Y,payload:J}=X,G=Z.state;if(X.isTransition){var H=s.T,U={};U._updatedFibers=new Set,s.T=U;try{var B=Y(G,J),F=s.S;F!==null&&F(U,B),$1(Z,X,B)}catch(T){zF(Z,X,T)}finally{H!==null&&U.types!==null&&(H.types!==null&&H.types!==U.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),H.types=U.types),s.T=H,H===null&&U._updatedFibers&&(Z=U._updatedFibers.size,U._updatedFibers.clear(),10<Z&&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{U=Y(G,J),$1(Z,X,U)}catch(T){zF(Z,X,T)}}function $1(Z,X,Y){Y!==null&&typeof Y==="object"&&typeof Y.then==="function"?(s.asyncTransitions++,Y.then(eB,eB),Y.then(function(J){S1(Z,X,J)},function(J){return zF(Z,X,J)}),X.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.")):S1(Z,X,Y)}function S1(Z,X,Y){X.status="fulfilled",X.value=Y,E1(X),Z.state=Y,X=Z.pending,X!==null&&(Y=X.next,Y===X?Z.pending=null:(Y=Y.next,X.next=Y,D1(Z,Y)))}function zF(Z,X,Y){var J=Z.pending;if(Z.pending=null,J!==null){J=J.next;do X.status="rejected",X.reason=Y,E1(X),X=X.next;while(X!==J)}Z.action=null}function E1(Z){Z=Z.listeners;for(var X=0;X<Z.length;X++)(0,Z[X])()}function k1(Z,X){return X}function ez(Z,X){if(QX){var Y=RX.formState;if(Y!==null){Z:{var J=bZ;if(QX){if($X){X:{var G=$X;for(var H=aQ;G.nodeType!==8;){if(!H){G=null;break X}if(G=CQ(G.nextSibling),G===null){G=null;break X}}H=G.data,G=H===m9||H===OT?G:null}if(G){$X=CQ(G.nextSibling),J=G.data===m9;break Z}}UG(J)}J=!1}J&&(X=Y[0])}}return Y=dY(),Y.memoizedState=Y.baseState=X,J={pending:null,lanes:0,dispatch:null,lastRenderedReducer:k1,lastRenderedState:X},Y.queue=J,Y=c1.bind(null,bZ,J),J.dispatch=Y,J=qF(!1),H=TF.bind(null,bZ,!1,J.queue),J=dY(),G={state:X,dispatch:null,action:Z,pending:null},J.queue=G,Y=vD.bind(null,bZ,G,H,Y),G.dispatch=Y,J.memoizedState=Z,[X,Y,!1]}function iB(Z){var X=FX();return x1(X,VX,Z)}function x1(Z,X,Y){if(X=QF(Z,X,k1)[0],Z=tz(KJ)[0],typeof X==="object"&&X!==null&&typeof X.then==="function")try{var J=YU(X)}catch(U){if(U===S_)throw aL;throw U}else J=X;X=FX();var G=X.queue,H=G.dispatch;return Y!==X.memoizedState&&(bZ.flags|=2048,Z_(tQ|aY,{destroy:void 0},hD.bind(null,G,Y),null)),[J,H,Z]}function hD(Z,X){Z.action=X}function nB(Z){var X=FX(),Y=VX;if(Y!==null)return x1(X,Y,Z);FX(),X=X.memoizedState,Y=FX();var J=Y.queue.dispatch;return Y.memoizedState=Z,[X,J,!1]}function Z_(Z,X,Y,J){return Z={tag:Z,create:Y,deps:J,inst:X,next:null},X=bZ.updateQueue,X===null&&(X=pB(),bZ.updateQueue=X),Y=X.lastEffect,Y===null?X.lastEffect=Z.next=Z:(J=Y.next,Y.next=Z,Z.next=J,X.lastEffect=Z),Z}function _F(Z){var X=dY();return Z={current:Z},X.memoizedState=Z}function xH(Z,X,Y,J){var G=dY();bZ.flags|=Z,G.memoizedState=Z_(tQ|X,{destroy:void 0},Y,J===void 0?null:J)}function YQ(Z,X,Y,J){var G=FX();J=J===void 0?null:J;var H=G.memoizedState.inst;VX!==null&&J!==null&&oM(J,VX.memoizedState.deps)?G.memoizedState=Z_(X,H,Y,J):(bZ.flags|=Z,G.memoizedState=Z_(tQ|X,H,Y,J))}function sB(Z,X){(bZ.mode&OJ)!==hZ?xH(276826112,aY,Z,X):xH(8390656,aY,Z,X)}function bD(Z){bZ.flags|=4;var X=bZ.updateQueue;if(X===null)X=pB(),bZ.updateQueue=X,X.events=[Z];else{var Y=X.events;Y===null?X.events=[Z]:Y.push(Z)}}function WF(Z){var X=dY(),Y={impl:Z};return X.memoizedState=Y,function(){if((zX&WY)!==MY)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Y.impl.apply(void 0,arguments)}}function aB(Z){var X=FX().memoizedState;return bD({ref:X,nextImpl:Z}),function(){if((zX&WY)!==MY)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function UF(Z,X){var Y=4194308;return(bZ.mode&OJ)!==hZ&&(Y|=134217728),xH(Y,kQ,Z,X)}function y1(Z,X){if(typeof X==="function"){Z=Z();var Y=X(Z);return function(){typeof Y==="function"?Y():X(null)}}if(X!==null&&X!==void 0)return X.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(X).join(", ")+"}"),Z=Z(),X.current=Z,function(){X.current=null}}function KF(Z,X,Y){typeof X!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null"),Y=Y!==null&&Y!==void 0?Y.concat([Z]):null;var J=4194308;(bZ.mode&OJ)!==hZ&&(J|=134217728),xH(J,kQ,y1.bind(null,X,Z),Y)}function oB(Z,X,Y){typeof X!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null"),Y=Y!==null&&Y!==void 0?Y.concat([Z]):null,YQ(4,kQ,y1.bind(null,X,Z),Y)}function BF(Z,X){return dY().memoizedState=[Z,X===void 0?null:X],Z}function rB(Z,X){var Y=FX();X=X===void 0?null:X;var J=Y.memoizedState;if(X!==null&&oM(X,J[1]))return J[0];return Y.memoizedState=[Z,X],Z}function LF(Z,X){var Y=dY();X=X===void 0?null:X;var J=Z();if(aH){jX(!0);try{Z()}finally{jX(!1)}}return Y.memoizedState=[J,X],J}function tB(Z,X){var Y=FX();X=X===void 0?null:X;var J=Y.memoizedState;if(X!==null&&oM(X,J[1]))return J[0];if(J=Z(),aH){jX(!0);try{Z()}finally{jX(!1)}}return Y.memoizedState=[J,X],J}function AF(Z,X){var Y=dY();return OF(Y,Z,X)}function v1(Z,X){var Y=FX();return b1(Y,VX.memoizedState,Z,X)}function h1(Z,X){var Y=FX();return VX===null?OF(Y,Z,X):b1(Y,VX.memoizedState,Z,X)}function OF(Z,X,Y){if(Y===void 0||(mq&1073741824)!==0&&(sZ&261930)===0)return Z.memoizedState=X;return Z.memoizedState=Y,Z=g4(),bZ.lanes|=Z,mG|=Z,Y}function b1(Z,X,Y,J){if(iY(Y,X))return Y;if(k_.current!==null)return Z=OF(Z,Y,J),iY(Z,X)||(ZY=!0),Z;if((mq&42)===0||(mq&1073741824)!==0&&(sZ&261930)===0)return ZY=!0,Z.memoizedState=Y;return Z=g4(),bZ.lanes|=Z,mG|=Z,X}function eB(){s.asyncTransitions--}function g1(Z,X,Y,J,G){var H=MX.p;MX.p=H!==0&&H<AJ?H:AJ;var U=s.T,B={};B._updatedFibers=new Set,s.T=B,TF(Z,!1,X,Y);try{var F=G(),T=s.S;if(T!==null&&T(B,F),F!==null&&typeof F==="object"&&typeof F.then==="function"){s.asyncTransitions++,F.then(eB,eB);var x=kD(F,J);JU(Z,X,x,jQ(Z))}else JU(Z,X,J,jQ(Z))}catch(v){JU(Z,X,{then:function(){},status:"rejected",reason:v},jQ(Z))}finally{MX.p=H,U!==null&&B.types!==null&&(U.types!==null&&U.types!==B.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."),U.types=B.types),s.T=U,U===null&&B._updatedFibers&&(Z=B._updatedFibers.size,B._updatedFibers.clear(),10<Z&&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 MF(Z,X,Y,J){if(Z.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var G=m1(Z).queue;SD(Z),g1(Z,G,X,Gz,Y===null?I:function(){return f1(Z),Y(J)})}function m1(Z){var X=Z.memoizedState;if(X!==null)return X;X={memoizedState:Gz,baseState:Gz,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:KJ,lastRenderedState:Gz},next:null};var Y={};return X.next={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:KJ,lastRenderedState:Y},next:null},Z.memoizedState=X,Z=Z.alternate,Z!==null&&(Z.memoizedState=X),X}function f1(Z){s.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var X=m1(Z);X.next===null&&(X=Z.alternate.memoizedState),JU(Z,X.next.queue,{},jQ(Z))}function FF(){var Z=qF(!1);return Z=g1.bind(null,bZ,Z.queue,!0,!1),dY().memoizedState=Z,[!1,Z]}function u1(){var Z=tz(KJ)[0],X=FX().memoizedState;return[typeof Z==="boolean"?Z:YU(Z),X]}function d1(){var Z=QU(KJ)[0],X=FX().memoizedState;return[typeof Z==="boolean"?Z:YU(Z),X]}function yH(){return kX(BK)}function NF(){var Z=dY(),X=RX.identifierPrefix;if(QX){var Y=yq,J=xq;Y=(J&~(1<<32-cY(J)-1)).toString(32)+Y,X="_"+X+"R_"+Y,Y=ZA++,0<Y&&(X+="H"+Y.toString(32)),X+="_"}else Y=OE++,X="_"+X+"r_"+Y.toString(32)+"_";return Z.memoizedState=X}function IF(){return dY().memoizedState=gD.bind(null,bZ)}function gD(Z,X){for(var Y=Z.return;Y!==null;){switch(Y.tag){case 24:case 3:var J=jQ(Y),G=LG(J),H=AG(Y,G,J);H!==null&&(hJ(J,"refresh()",Z),gX(H,Y,J),eW(H,Y,J)),Z=fM(),X!==null&&X!==void 0&&H!==null&&console.error("The seed argument is not enabled outside experimental channels."),G.payload={cache:Z};return}Y=Y.return}}function mD(Z,X,Y){var J=arguments;typeof J[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()."),J=jQ(Z);var G={lane:J,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};ZL(Z)?p1(X,G):(G=DM(Z,X,G,J),G!==null&&(hJ(J,"dispatch()",Z),gX(G,Z,J),l1(G,X,J)))}function c1(Z,X,Y){var J=arguments;typeof J[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()."),J=jQ(Z),JU(Z,X,Y,J)&&hJ(J,"setState()",Z)}function JU(Z,X,Y,J){var G={lane:J,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};if(ZL(Z))p1(X,G);else{var H=Z.alternate;if(Z.lanes===0&&(H===null||H.lanes===0)&&(H=X.lastRenderedReducer,H!==null)){var U=s.H;s.H=FJ;try{var B=X.lastRenderedState,F=H(B,Y);if(G.hasEagerState=!0,G.eagerState=F,iY(F,B))return CB(Z,X,G,0),RX===null&&jB(),!1}catch(T){}finally{s.H=U}}if(Y=DM(Z,X,G,J),Y!==null)return gX(Y,Z,J),l1(Y,X,J),!0}return!1}function TF(Z,X,Y,J){if(s.T===null&&pH===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."),J={lane:2,revertLane:rF(),gesture:null,action:J,hasEagerState:!1,eagerState:null,next:null},ZL(Z)){if(X)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else X=DM(Z,Y,J,2),X!==null&&(hJ(2,"setOptimistic()",Z),gX(X,Z,2))}function ZL(Z){var X=Z.alternate;return Z===bZ||X!==null&&X===bZ}function p1(Z,X){v_=eL=!0;var Y=Z.pending;Y===null?X.next=X:(X.next=Y.next,Y.next=X),Z.pending=X}function l1(Z,X,Y){if((Y&4194048)!==0){var J=X.lanes;J&=Z.pendingLanes,Y|=J,X.lanes=Y,IH(Z,Y)}}function wF(Z){if(Z!==null&&typeof Z!=="function"){var X=String(Z);dI.has(X)||(dI.add(X),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",Z))}}function VF(Z,X,Y,J){var G=Z.memoizedState,H=Y(J,G);if(Z.mode&mY){jX(!0);try{H=Y(J,G)}finally{jX(!1)}}H===void 0&&(X=l(X)||"Component",gI.has(X)||(gI.add(X),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",X))),G=H===null||H===void 0?G:rZ({},G,H),Z.memoizedState=G,Z.lanes===0&&(Z.updateQueue.baseState=G)}function i1(Z,X,Y,J,G,H,U){var B=Z.stateNode;if(typeof B.shouldComponentUpdate==="function"){if(Y=B.shouldComponentUpdate(J,H,U),Z.mode&mY){jX(!0);try{Y=B.shouldComponentUpdate(J,H,U)}finally{jX(!1)}}return Y===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",l(X)||"Component"),Y}return X.prototype&&X.prototype.isPureReactComponent?!iW(Y,J)||!iW(G,H):!0}function n1(Z,X,Y,J){var G=X.state;typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps(Y,J),typeof X.UNSAFE_componentWillReceiveProps==="function"&&X.UNSAFE_componentWillReceiveProps(Y,J),X.state!==G&&(Z=n(Z)||"Component",xI.has(Z)||(xI.add(Z),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Z)),M9.enqueueReplaceState(X,X.state,null))}function vH(Z,X){var Y=X;if("ref"in X){Y={};for(var J in X)J!=="ref"&&(Y[J]=X[J])}if(Z=Z.defaultProps){Y===X&&(Y=rZ({},Y));for(var G in Z)Y[G]===void 0&&(Y[G]=Z[G])}return Y}function s1(Z){s0(Z),console.warn(`%s
|
|
121
|
-
|
|
122
|
-
%s
|
|
123
|
-
`,h_?"An error occurred in the <"+h_+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
124
|
-
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function a1(Z){var X=h_?"The above error occurred in the <"+h_+"> component.":"The above error occurred in one of your React components.",Y="React will try to recreate this component tree from scratch using the error boundary you provided, "+((F9||"Anonymous")+".");if(typeof Z==="object"&&Z!==null&&typeof Z.environmentName==="string"){var J=Z.environmentName;Z=[`%o
|
|
125
|
-
|
|
126
|
-
%s
|
|
127
|
-
|
|
128
|
-
%s
|
|
129
|
-
`,Z,X,Y].slice(0),typeof Z[0]==="string"?Z.splice(0,1,RT+" "+Z[0],jT,jA+J+jA,CT):Z.splice(0,0,RT,jT,jA+J+jA,CT),Z.unshift(console),J=bE.apply(console.error,Z),J()}else console.error(`%o
|
|
130
|
-
|
|
131
|
-
%s
|
|
132
|
-
|
|
133
|
-
%s
|
|
134
|
-
`,Z,X,Y)}function o1(Z){s0(Z)}function XL(Z,X){try{h_=X.source?n(X.source):null,F9=null;var Y=X.value;if(s.actQueue!==null)s.thrownErrors.push(Y);else{var J=Z.onUncaughtError;J(Y,{componentStack:X.stack})}}catch(G){setTimeout(function(){throw G})}}function r1(Z,X,Y){try{h_=Y.source?n(Y.source):null,F9=n(X);var J=Z.onCaughtError;J(Y.value,{componentStack:Y.stack,errorBoundary:X.tag===1?X.stateNode:null})}catch(G){setTimeout(function(){throw G})}}function RF(Z,X,Y){return Y=LG(Y),Y.tag=U9,Y.payload={element:null},Y.callback=function(){BZ(X.source,XL,Z,X)},Y}function jF(Z){return Z=LG(Z),Z.tag=U9,Z}function CF(Z,X,Y,J){var G=Y.type.getDerivedStateFromError;if(typeof G==="function"){var H=J.value;Z.payload=function(){return G(H)},Z.callback=function(){p8(Y),BZ(J.source,r1,X,Y,J)}}var U=Y.stateNode;U!==null&&typeof U.componentDidCatch==="function"&&(Z.callback=function(){p8(Y),BZ(J.source,r1,X,Y,J),typeof G!=="function"&&(uG===null?uG=new Set([this]):uG.add(this)),KE(this,J),typeof G==="function"||(Y.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.",n(Y)||"Unknown")})}function fD(Z,X,Y,J,G){if(Y.flags|=32768,eJ&&KU(Z,G),J!==null&&typeof J==="object"&&typeof J.then==="function"){if(X=Y.alternate,X!==null&&oz(X,Y,G,!0),QX&&(Yq=!0),Y=EQ.current,Y!==null){switch(Y.tag){case 31:case 13:return rQ===null?WL():Y.alternate===null&&bX===cq&&(bX=QA),Y.flags&=-257,Y.flags|=65536,Y.lanes=G,J===oL?Y.flags|=16384:(X=Y.updateQueue,X===null?Y.updateQueue=new Set([J]):X.add(J),nF(Z,J,G)),!1;case 22:return Y.flags|=65536,J===oL?Y.flags|=16384:(X=Y.updateQueue,X===null?(X={transitions:null,markerInstances:null,retryQueue:new Set([J])},Y.updateQueue=X):(Y=X.retryQueue,Y===null?X.retryQueue=new Set([J]):Y.add(J)),nF(Z,J,G)),!1}throw Error("Unexpected Suspense handler tag ("+Y.tag+"). This is a bug in React.")}return nF(Z,J,G),WL(),!1}if(QX)return Yq=!0,X=EQ.current,X!==null?((X.flags&65536)===0&&(X.flags|=256),X.flags|=65536,X.lanes=G,J!==Z9&&sW(TQ(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:J}),Y))):(J!==Z9&&sW(TQ(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:J}),Y)),Z=Z.current.alternate,Z.flags|=65536,G&=-G,Z.lanes|=G,J=TQ(J,Y),G=RF(Z.stateNode,J,G),uB(Z,G),bX!==bG&&(bX=oH)),!1;var H=TQ(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:J}),Y);if(JK===null?JK=[H]:JK.push(H),bX!==bG&&(bX=oH),X===null)return!0;J=TQ(J,Y),Y=X;do{switch(Y.tag){case 3:return Y.flags|=65536,Z=G&-G,Y.lanes|=Z,Z=RF(Y.stateNode,J,Z),uB(Y,Z),!1;case 1:if(X=Y.type,H=Y.stateNode,(Y.flags&128)===0&&(typeof X.getDerivedStateFromError==="function"||H!==null&&typeof H.componentDidCatch==="function"&&(uG===null||!uG.has(H))))return Y.flags|=65536,G&=-G,Y.lanes|=G,G=jF(G),CF(G,Z,Y,J),uB(Y,G),!1}Y=Y.return}while(Y!==null);return!1}function RY(Z,X,Y,J){X.child=Z===null?wI(X,null,Y,J):sH(X,Z.child,Y,J)}function t1(Z,X,Y,J,G){Y=Y.render;var H=X.ref;if("ref"in J){var U={};for(var B in J)B!=="ref"&&(U[B]=J[B])}else U=J;if(SH(X),J=rM(Z,X,Y,U,H,G),B=eM(),Z!==null&&!ZY)return ZF(Z,X,G),Pq(Z,X,G);return QX&&B&&yM(X),X.flags|=1,RY(Z,X,J,G),X.child}function e1(Z,X,Y,J,G){if(Z===null){var H=Y.type;if(typeof H==="function"&&!SM(H)&&H.defaultProps===void 0&&Y.compare===null)return Y=CH(H),X.tag=15,X.type=Y,DF(X,H),Z4(Z,X,Y,J,G);return Z=EM(Y.type,null,J,X,X.mode,G),Z.ref=X.ref,Z.return=X,X.child=Z}if(H=Z.child,!yF(Z,G)){var U=H.memoizedProps;if(Y=Y.compare,Y=Y!==null?Y:iW,Y(U,J)&&Z.ref===X.ref)return Pq(Z,X,G)}return X.flags|=1,Z=Vq(H,J),Z.ref=X.ref,Z.return=X,X.child=Z}function Z4(Z,X,Y,J,G){if(Z!==null){var H=Z.memoizedProps;if(iW(H,J)&&Z.ref===X.ref&&X.type===Z.type)if(ZY=!1,X.pendingProps=J=H,yF(Z,G))(Z.flags&131072)!==0&&(ZY=!0);else return X.lanes=Z.lanes,Pq(Z,X,G)}return PF(Z,X,Y,J,G)}function X4(Z,X,Y,J){var G=J.children,H=Z!==null?Z.memoizedState:null;if(Z===null&&X.stateNode===null&&(X.stateNode={_visibility:xU,_pendingMarkers:null,_retryCache:null,_transitions:null}),J.mode==="hidden"){if((X.flags&128)!==0){if(H=H!==null?H.baseLanes|Y:Y,Z!==null){J=X.child=Z.child;for(G=0;J!==null;)G=G|J.lanes|J.childLanes,J=J.sibling;J=G&~H}else J=0,X.child=null;return Y4(Z,X,H,Y,J)}if((Y&536870912)!==0)X.memoizedState={baseLanes:0,cachePool:null},Z!==null&&vB(X,H!==null?H.cachePool:null),H!==null?M1(X,H):nM(X),F1(X);else return J=X.lanes=536870912,Y4(Z,X,H!==null?H.baseLanes|Y:Y,Y,J)}else H!==null?(vB(X,H.cachePool),M1(X,H),MG(X),X.memoizedState=null):(Z!==null&&vB(X,null),nM(X),MG(X));return RY(Z,X,G,Y),X.child}function qU(Z,X){return Z!==null&&Z.tag===22||X.stateNode!==null||(X.stateNode={_visibility:xU,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.sibling}function Y4(Z,X,Y,J,G){var H=cM();return H=H===null?null:{parent:rX._currentValue,pool:H},X.memoizedState={baseLanes:Y,cachePool:H},Z!==null&&vB(X,null),nM(X),F1(X),Z!==null&&oz(Z,X,J,!0),X.childLanes=G,null}function YL(Z,X){var Y=X.hidden;return Y!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
135
|
-
- <Activity %s>
|
|
136
|
-
+ <Activity %s>`,Y===!0?"hidden":Y===!1?"hidden={false}":"hidden={...}",Y?'mode="hidden"':'mode="visible"'),X=JL({mode:X.mode,children:X.children},Z.mode),X.ref=Z.ref,Z.child=X,X.return=Z,X}function Q4(Z,X,Y){return sH(X,Z.child,null,Y),Z=YL(X,X.pendingProps),Z.flags|=2,RQ(X),X.memoizedState=null,Z}function uD(Z,X,Y){var J=X.pendingProps,G=(X.flags&128)!==0;if(X.flags&=-129,Z===null){if(QX){if(J.mode==="hidden")return Z=YL(X,J),X.lanes=536870912,qU(null,Z);if(aM(X),(Z=$X)?(Y=DN(Z,aQ),Y=Y!==null&&Y.data===Yz?Y:null,Y!==null&&(J={dehydrated:Y,treeContext:a8(),retryLane:536870912,hydrationErrors:null},X.memoizedState=J,J=n8(Y),J.return=X,X.child=J,PY=X,$X=null)):Y=null,Y===null)throw $B(X,Z),UG(X);return X.lanes=536870912,null}return YL(X,J)}var H=Z.memoizedState;if(H!==null){var U=H.dehydrated;if(aM(X),G)if(X.flags&256)X.flags&=-257,X=Q4(Z,X,Y);else if(X.memoizedState!==null)X.child=Z.child,X.flags|=128,X=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(r8(),(Y&536870912)!==0&&_L(X),ZY||oz(Z,X,Y,!1),G=(Y&Z.childLanes)!==0,ZY||G){if(J=RX,J!==null&&(U=TH(J,Y),U!==0&&U!==H.retryLane))throw H.retryLane=U,bY(Z,U),gX(J,Z,U),N9;WL(),X=Q4(Z,X,Y)}else Z=H.treeContext,$X=CQ(U.nextSibling),PY=X,QX=!0,SG=null,Yq=!1,SQ=null,aQ=!1,Z!==null&&o8(X,Z),X=YL(X,J),X.flags|=4096;return X}return H=Z.child,J={mode:J.mode,children:J.children},(Y&536870912)!==0&&(Y&Z.lanes)!==0&&_L(X),Z=Vq(H,J),Z.ref=X.ref,X.child=Z,Z.return=X,Z}function QL(Z,X){var Y=X.ref;if(Y===null)Z!==null&&Z.ref!==null&&(X.flags|=4194816);else{if(typeof Y!=="function"&&typeof Y!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(Z===null||Z.ref!==Y)X.flags|=4194816}}function PF(Z,X,Y,J,G){if(Y.prototype&&typeof Y.prototype.render==="function"){var H=l(Y)||"Unknown";cI[H]||(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.",H,H),cI[H]=!0)}if(X.mode&mY&&MJ.recordLegacyContextWarning(X,null),Z===null&&(DF(X,X.type),Y.contextTypes&&(H=l(Y)||"Unknown",lI[H]||(lI[H]=!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)",H)))),SH(X),Y=rM(Z,X,Y,J,void 0,G),J=eM(),Z!==null&&!ZY)return ZF(Z,X,G),Pq(Z,X,G);return QX&&J&&yM(X),X.flags|=1,RY(Z,X,Y,G),X.child}function J4(Z,X,Y,J,G,H){if(SH(X),uq=-1,rU=Z!==null&&Z.type!==X.type,X.updateQueue=null,Y=tM(X,J,Y,G),N1(Z,X),J=eM(),Z!==null&&!ZY)return ZF(Z,X,H),Pq(Z,X,H);return QX&&J&&yM(X),X.flags|=1,RY(Z,X,Y,H),X.child}function q4(Z,X,Y,J,G){switch(A(X)){case!1:var H=X.stateNode,U=new X.type(X.memoizedProps,H.context).state;H.updater.enqueueSetState(H,U,null);break;case!0:X.flags|=128,X.flags|=65536,H=Error("Simulated error coming from DevTools");var B=G&-G;if(X.lanes|=B,U=RX,U===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B=jF(B),CF(B,U,X,TQ(H,X)),uB(X,B)}if(SH(X),X.stateNode===null){if(U=$G,H=Y.contextType,"contextType"in Y&&H!==null&&(H===void 0||H.$$typeof!==oJ)&&!uI.has(Y)&&(uI.add(Y),B=H===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 H!=="object"?" However, it is set to a "+typeof H+".":H.$$typeof===I0?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(H).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",l(Y)||"Component",B)),typeof H==="object"&&H!==null&&(U=kX(H)),H=new Y(J,U),X.mode&mY){jX(!0);try{H=new Y(J,U)}finally{jX(!1)}}if(U=X.memoizedState=H.state!==null&&H.state!==void 0?H.state:null,H.updater=M9,X.stateNode=H,H._reactInternals=X,H._reactInternalInstance=kI,typeof Y.getDerivedStateFromProps==="function"&&U===null&&(U=l(Y)||"Component",yI.has(U)||(yI.add(U),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.",U,H.state===null?"null":"undefined",U))),typeof Y.getDerivedStateFromProps==="function"||typeof H.getSnapshotBeforeUpdate==="function"){var F=B=U=null;if(typeof H.componentWillMount==="function"&&H.componentWillMount.__suppressDeprecationWarning!==!0?U="componentWillMount":typeof H.UNSAFE_componentWillMount==="function"&&(U="UNSAFE_componentWillMount"),typeof H.componentWillReceiveProps==="function"&&H.componentWillReceiveProps.__suppressDeprecationWarning!==!0?B="componentWillReceiveProps":typeof H.UNSAFE_componentWillReceiveProps==="function"&&(B="UNSAFE_componentWillReceiveProps"),typeof H.componentWillUpdate==="function"&&H.componentWillUpdate.__suppressDeprecationWarning!==!0?F="componentWillUpdate":typeof H.UNSAFE_componentWillUpdate==="function"&&(F="UNSAFE_componentWillUpdate"),U!==null||B!==null||F!==null){H=l(Y)||"Component";var T=typeof Y.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";hI.has(H)||(hI.add(H),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
137
|
-
|
|
138
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
139
|
-
|
|
140
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
141
|
-
https://react.dev/link/unsafe-component-lifecycles`,H,T,U!==null?`
|
|
142
|
-
`+U:"",B!==null?`
|
|
143
|
-
`+B:"",F!==null?`
|
|
144
|
-
`+F:""))}}H=X.stateNode,U=l(Y)||"Component",H.render||(Y.prototype&&typeof Y.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",U):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",U)),!H.getInitialState||H.getInitialState.isReactClassApproved||H.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?",U),H.getDefaultProps&&!H.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.",U),H.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",U),Y.childContextTypes&&!fI.has(Y)&&(fI.add(Y),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",U)),Y.contextTypes&&!mI.has(Y)&&(mI.add(Y),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)",U)),typeof H.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.",U),Y.prototype&&Y.prototype.isPureReactComponent&&typeof H.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.",l(Y)||"A pure component"),typeof H.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",U),typeof H.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().",U),typeof H.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",U),typeof H.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",U),B=H.props!==J,H.props!==void 0&&B&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",U),H.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.",U,U),typeof H.getSnapshotBeforeUpdate!=="function"||typeof H.componentDidUpdate==="function"||vI.has(Y)||(vI.add(Y),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",l(Y))),typeof H.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",U),typeof H.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",U),typeof Y.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",U),(B=H.state)&&(typeof B!=="object"||zY(B))&&console.error("%s.state: must be set to an object or null",U),typeof H.getChildContext==="function"&&typeof Y.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",U),H=X.stateNode,H.props=J,H.state=X.memoizedState,H.refs={},lM(X),U=Y.contextType,H.context=typeof U==="object"&&U!==null?kX(U):$G,H.state===J&&(U=l(Y)||"Component",bI.has(U)||(bI.add(U),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.",U))),X.mode&mY&&MJ.recordLegacyContextWarning(X,H),MJ.recordUnsafeLifecycleWarnings(X,H),H.state=X.memoizedState,U=Y.getDerivedStateFromProps,typeof U==="function"&&(VF(X,Y,U,J),H.state=X.memoizedState),typeof Y.getDerivedStateFromProps==="function"||typeof H.getSnapshotBeforeUpdate==="function"||typeof H.UNSAFE_componentWillMount!=="function"&&typeof H.componentWillMount!=="function"||(U=H.state,typeof H.componentWillMount==="function"&&H.componentWillMount(),typeof H.UNSAFE_componentWillMount==="function"&&H.UNSAFE_componentWillMount(),U!==H.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",n(X)||"Component"),M9.enqueueReplaceState(H,H.state,null)),XU(X,J,H,G),ZU(),H.state=X.memoizedState),typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&OJ)!==hZ&&(X.flags|=134217728),H=!0}else if(Z===null){H=X.stateNode;var x=X.memoizedProps;B=vH(Y,x),H.props=B;var v=H.context;F=Y.contextType,U=$G,typeof F==="object"&&F!==null&&(U=kX(F)),T=Y.getDerivedStateFromProps,F=typeof T==="function"||typeof H.getSnapshotBeforeUpdate==="function",x=X.pendingProps!==x,F||typeof H.UNSAFE_componentWillReceiveProps!=="function"&&typeof H.componentWillReceiveProps!=="function"||(x||v!==U)&&n1(X,H,J,U),hG=!1;var $=X.memoizedState;H.state=$,XU(X,J,H,G),ZU(),v=X.memoizedState,x||$!==v||hG?(typeof T==="function"&&(VF(X,Y,T,J),v=X.memoizedState),(B=hG||i1(X,Y,B,J,$,v,U))?(F||typeof H.UNSAFE_componentWillMount!=="function"&&typeof H.componentWillMount!=="function"||(typeof H.componentWillMount==="function"&&H.componentWillMount(),typeof H.UNSAFE_componentWillMount==="function"&&H.UNSAFE_componentWillMount()),typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&OJ)!==hZ&&(X.flags|=134217728)):(typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&OJ)!==hZ&&(X.flags|=134217728),X.memoizedProps=J,X.memoizedState=v),H.props=J,H.state=v,H.context=U,H=B):(typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&OJ)!==hZ&&(X.flags|=134217728),H=!1)}else{H=X.stateNode,iM(Z,X),U=X.memoizedProps,F=vH(Y,U),H.props=F,T=X.pendingProps,$=H.context,v=Y.contextType,B=$G,typeof v==="object"&&v!==null&&(B=kX(v)),x=Y.getDerivedStateFromProps,(v=typeof x==="function"||typeof H.getSnapshotBeforeUpdate==="function")||typeof H.UNSAFE_componentWillReceiveProps!=="function"&&typeof H.componentWillReceiveProps!=="function"||(U!==T||$!==B)&&n1(X,H,J,B),hG=!1,$=X.memoizedState,H.state=$,XU(X,J,H,G),ZU();var c=X.memoizedState;U!==T||$!==c||hG||Z!==null&&Z.dependencies!==null&&EB(Z.dependencies)?(typeof x==="function"&&(VF(X,Y,x,J),c=X.memoizedState),(F=hG||i1(X,Y,F,J,$,c,B)||Z!==null&&Z.dependencies!==null&&EB(Z.dependencies))?(v||typeof H.UNSAFE_componentWillUpdate!=="function"&&typeof H.componentWillUpdate!=="function"||(typeof H.componentWillUpdate==="function"&&H.componentWillUpdate(J,c,B),typeof H.UNSAFE_componentWillUpdate==="function"&&H.UNSAFE_componentWillUpdate(J,c,B)),typeof H.componentDidUpdate==="function"&&(X.flags|=4),typeof H.getSnapshotBeforeUpdate==="function"&&(X.flags|=1024)):(typeof H.componentDidUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=4),typeof H.getSnapshotBeforeUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=1024),X.memoizedProps=J,X.memoizedState=c),H.props=J,H.state=c,H.context=B,H=F):(typeof H.componentDidUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=4),typeof H.getSnapshotBeforeUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=1024),H=!1)}if(B=H,QL(Z,X),U=(X.flags&128)!==0,B||U){if(B=X.stateNode,OQ(X),U&&typeof Y.getDerivedStateFromError!=="function")Y=null,nY=-1;else if(Y=zI(B),X.mode&mY){jX(!0);try{zI(B)}finally{jX(!1)}}X.flags|=1,Z!==null&&U?(X.child=sH(X,Z.child,null,G),X.child=sH(X,null,Y,G)):RY(Z,X,Y,G),X.memoizedState=B.state,Z=X.child}else Z=Pq(Z,X,G);return G=X.stateNode,H&&G.props!==J&&(b_||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",n(X)||"a component"),b_=!0),Z}function G4(Z,X,Y,J){return $H(),X.flags|=256,RY(Z,X,Y,J),X.child}function DF(Z,X){X&&X.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
145
|
-
%s.childContextTypes = ...`,X.displayName||X.name||"Component"),typeof X.getDerivedStateFromProps==="function"&&(Z=l(X)||"Unknown",iI[Z]||(console.error("%s: Function components do not support getDerivedStateFromProps.",Z),iI[Z]=!0)),typeof X.contextType==="object"&&X.contextType!==null&&(X=l(X)||"Unknown",pI[X]||(console.error("%s: Function components do not support contextType.",X),pI[X]=!0))}function $F(Z){return{baseLanes:Z,cachePool:J1()}}function SF(Z,X,Y){return Z=Z!==null?Z.childLanes&~Y:0,X&&(Z|=HQ),Z}function H4(Z,X,Y){var J,G=X.pendingProps;K(X)&&(X.flags|=128);var H=!1,U=(X.flags&128)!==0;if((J=U)||(J=Z!==null&&Z.memoizedState===null?!1:(nX.current&aU)!==0),J&&(H=!0,X.flags&=-129),J=(X.flags&32)!==0,X.flags&=-33,Z===null){if(QX){if(H?OG(X):MG(X),(Z=$X)?(Y=DN(Z,aQ),Y=Y!==null&&Y.data!==Yz?Y:null,Y!==null&&(J={dehydrated:Y,treeContext:a8(),retryLane:536870912,hydrationErrors:null},X.memoizedState=J,J=n8(Y),J.return=X,X.child=J,PY=X,$X=null)):Y=null,Y===null)throw $B(X,Z),UG(X);return _0(Y)?X.lanes=32:X.lanes=536870912,null}var B=G.children;if(G=G.fallback,H){MG(X);var F=X.mode;return B=JL({mode:"hidden",children:B},F),G=PH(G,F,Y,null),B.return=X,G.return=X,B.sibling=G,X.child=B,G=X.child,G.memoizedState=$F(Y),G.childLanes=SF(Z,J,Y),X.memoizedState=I9,qU(null,G)}return OG(X),EF(X,B)}var T=Z.memoizedState;if(T!==null){var x=T.dehydrated;if(x!==null){if(U)X.flags&256?(OG(X),X.flags&=-257,X=kF(Z,X,Y)):X.memoizedState!==null?(MG(X),X.child=Z.child,X.flags|=128,X=null):(MG(X),B=G.fallback,F=X.mode,G=JL({mode:"visible",children:G.children},F),B=PH(B,F,Y,null),B.flags|=2,G.return=X,B.return=X,G.sibling=B,X.child=G,sH(X,Z.child,null,Y),G=X.child,G.memoizedState=$F(Y),G.childLanes=SF(Z,J,Y),X.memoizedState=I9,X=qU(null,G));else if(OG(X),r8(),(Y&536870912)!==0&&_L(X),_0(x)){if(J=x.nextSibling&&x.nextSibling.dataset,J){B=J.dgst;var v=J.msg;F=J.stck;var $=J.cstck}H=v,J=B,G=F,x=$,B=H,F=x,B=B?Error(B):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),B.stack=G||"",B.digest=J,J=F===void 0?null:F,G={value:B,source:null,stack:J},typeof J==="string"&&e0.set(B,G),sW(G),X=kF(Z,X,Y)}else if(ZY||oz(Z,X,Y,!1),J=(Y&Z.childLanes)!==0,ZY||J){if(J=RX,J!==null&&(G=TH(J,Y),G!==0&&G!==T.retryLane))throw T.retryLane=G,bY(Z,G),gX(J,Z,G),N9;z0(x)||WL(),X=kF(Z,X,Y)}else z0(x)?(X.flags|=192,X.child=Z.child,X=null):(Z=T.treeContext,$X=CQ(x.nextSibling),PY=X,QX=!0,SG=null,Yq=!1,SQ=null,aQ=!1,Z!==null&&o8(X,Z),X=EF(X,G.children),X.flags|=4096);return X}}if(H)return MG(X),B=G.fallback,F=X.mode,$=Z.child,x=$.sibling,G=Vq($,{mode:"hidden",children:G.children}),G.subtreeFlags=$.subtreeFlags&65011712,x!==null?B=Vq(x,B):(B=PH(B,F,Y,null),B.flags|=2),B.return=X,G.return=X,G.sibling=B,X.child=G,qU(null,G),G=X.child,B=Z.child.memoizedState,B===null?B=$F(Y):(F=B.cachePool,F!==null?($=rX._currentValue,F=F.parent!==$?{parent:$,pool:$}:F):F=J1(),B={baseLanes:B.baseLanes|Y,cachePool:F}),G.memoizedState=B,G.childLanes=SF(Z,J,Y),X.memoizedState=I9,qU(Z.child,G);return T!==null&&(Y&62914560)===Y&&(Y&Z.lanes)!==0&&_L(X),OG(X),Y=Z.child,Z=Y.sibling,Y=Vq(Y,{mode:"visible",children:G.children}),Y.return=X,Y.sibling=null,Z!==null&&(J=X.deletions,J===null?(X.deletions=[Z],X.flags|=16):J.push(Z)),X.child=Y,X.memoizedState=null,Y}function EF(Z,X){return X=JL({mode:"visible",children:X},Z.mode),X.return=Z,Z.child=X}function JL(Z,X){return Z=R(22,Z,null,X),Z.lanes=0,Z}function kF(Z,X,Y){return sH(X,Z.child,null,Y),Z=EF(X,X.pendingProps.children),Z.flags|=2,X.memoizedState=null,Z}function z4(Z,X,Y){Z.lanes|=X;var J=Z.alternate;J!==null&&(J.lanes|=X),gM(Z.return,X,Y)}function xF(Z,X,Y,J,G,H){var U=Z.memoizedState;U===null?Z.memoizedState={isBackwards:X,rendering:null,renderingStartTime:0,last:J,tail:Y,tailMode:G,treeForkCount:H}:(U.isBackwards=X,U.rendering=null,U.renderingStartTime=0,U.last=J,U.tail=Y,U.tailMode=G,U.treeForkCount=H)}function _4(Z,X,Y){var J=X.pendingProps,G=J.revealOrder,H=J.tail,U=J.children,B=nX.current;if((J=(B&aU)!==0)?(B=B&x_|aU,X.flags|=128):B&=x_,zZ(nX,B,X),B=G==null?"null":G,G!=="forwards"&&G!=="unstable_legacy-backwards"&&G!=="together"&&G!=="independent"&&!nI[B])if(nI[B]=!0,G==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(G==="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 G==="string")switch(G.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.',G,G.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.',G,G.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',G)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',G);if(B=H==null?"null":H,!YA[B])if(H==null){if(G==="forwards"||G==="backwards"||G==="unstable_legacy-backwards")YA[B]=!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 H!=="visible"&&H!=="collapsed"&&H!=="hidden"?(YA[B]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',H)):G!=="forwards"&&G!=="backwards"&&G!=="unstable_legacy-backwards"&&(YA[B]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',H));Z:if((G==="forwards"||G==="backwards"||G==="unstable_legacy-backwards")&&U!==void 0&&U!==null&&U!==!1)if(zY(U)){for(B=0;B<U.length;B++)if(!L1(U[B],B))break Z}else if(B=qZ(U),typeof B==="function"){if(B=B.call(U))for(var F=B.next(),T=0;!F.done;F=B.next()){if(!L1(F.value,T))break Z;T++}}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?',G);if(RY(Z,X,U,Y),QX?(WG(),U=yU):U=0,!J&&Z!==null&&(Z.flags&128)!==0)Z:for(Z=X.child;Z!==null;){if(Z.tag===13)Z.memoizedState!==null&&z4(Z,Y,X);else if(Z.tag===19)z4(Z,Y,X);else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===X)break Z;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)break Z;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}switch(G){case"forwards":Y=X.child;for(G=null;Y!==null;)Z=Y.alternate,Z!==null&&dB(Z)===null&&(G=Y),Y=Y.sibling;Y=G,Y===null?(G=X.child,X.child=null):(G=Y.sibling,Y.sibling=null),xF(X,!1,G,Y,H,U);break;case"backwards":case"unstable_legacy-backwards":Y=null,G=X.child;for(X.child=null;G!==null;){if(Z=G.alternate,Z!==null&&dB(Z)===null){X.child=G;break}Z=G.sibling,G.sibling=Y,Y=G,G=Z}xF(X,!0,Y,null,H,U);break;case"together":xF(X,!1,null,null,void 0,U);break;default:X.memoizedState=null}return X.child}function Pq(Z,X,Y){if(Z!==null&&(X.dependencies=Z.dependencies),nY=-1,mG|=X.lanes,(Y&X.childLanes)===0)if(Z!==null){if(oz(Z,X,Y,!1),(Y&X.childLanes)===0)return null}else return null;if(Z!==null&&X.child!==Z.child)throw Error("Resuming work not yet implemented.");if(X.child!==null){Z=X.child,Y=Vq(Z,Z.pendingProps),X.child=Y;for(Y.return=X;Z.sibling!==null;)Z=Z.sibling,Y=Y.sibling=Vq(Z,Z.pendingProps),Y.return=X;Y.sibling=null}return X.child}function yF(Z,X){if((Z.lanes&X)!==0)return!0;return Z=Z.dependencies,Z!==null&&EB(Z)?!0:!1}function dD(Z,X,Y){switch(X.tag){case 3:u(X,X.stateNode.containerInfo),KG(X,rX,Z.memoizedState.cache),$H();break;case 27:case 5:e(X);break;case 4:u(X,X.stateNode.containerInfo);break;case 10:KG(X,X.type,X.memoizedProps.value);break;case 12:(Y&X.childLanes)!==0&&(X.flags|=4),X.flags|=2048;var J=X.stateNode;J.effectDuration=-0,J.passiveEffectDuration=-0;break;case 31:if(X.memoizedState!==null)return X.flags|=128,aM(X),null;break;case 13:if(J=X.memoizedState,J!==null){if(J.dehydrated!==null)return OG(X),X.flags|=128,null;if((Y&X.child.childLanes)!==0)return H4(Z,X,Y);return OG(X),Z=Pq(Z,X,Y),Z!==null?Z.sibling:null}OG(X);break;case 19:var G=(Z.flags&128)!==0;if(J=(Y&X.childLanes)!==0,J||(oz(Z,X,Y,!1),J=(Y&X.childLanes)!==0),G){if(J)return _4(Z,X,Y);X.flags|=128}if(G=X.memoizedState,G!==null&&(G.rendering=null,G.tail=null,G.lastEffect=null),zZ(nX,nX.current,X),J)break;else return null;case 22:return X.lanes=0,X4(Z,X,Y,X.pendingProps);case 24:KG(X,rX,Z.memoizedState.cache)}return Pq(Z,X,Y)}function vF(Z,X,Y){if(X._debugNeedsRemount&&Z!==null){Y=EM(X.type,X.key,X.pendingProps,X._debugOwner||null,X.mode,X.lanes),Y._debugStack=X._debugStack,Y._debugTask=X._debugTask;var J=X.return;if(J===null)throw Error("Cannot swap the root fiber.");if(Z.alternate=null,X.alternate=null,Y.index=X.index,Y.sibling=X.sibling,Y.return=X.return,Y.ref=X.ref,Y._debugInfo=X._debugInfo,X===J.child)J.child=Y;else{var G=J.child;if(G===null)throw Error("Expected parent to have a child.");for(;G.sibling!==X;)if(G=G.sibling,G===null)throw Error("Expected to find the previous sibling.");G.sibling=Y}return X=J.deletions,X===null?(J.deletions=[Z],J.flags|=16):X.push(Z),Y.flags|=2,Y}if(Z!==null)if(Z.memoizedProps!==X.pendingProps||X.type!==Z.type)ZY=!0;else{if(!yF(Z,Y)&&(X.flags&128)===0)return ZY=!1,dD(Z,X,Y);ZY=(Z.flags&131072)!==0?!0:!1}else{if(ZY=!1,J=QX)WG(),J=(X.flags&1048576)!==0;J&&(J=X.index,WG(),s8(X,yU,J))}switch(X.lanes=0,X.tag){case 16:Z:if(J=X.pendingProps,Z=BG(X.elementType),X.type=Z,typeof Z==="function")SM(Z)?(J=vH(Z,J),X.tag=1,X.type=Z=CH(Z),X=q4(null,X,Z,J,Y)):(X.tag=0,DF(X,Z),X.type=Z=CH(Z),X=PF(null,X,Z,J,Y));else{if(Z!==void 0&&Z!==null){if(G=Z.$$typeof,G===TU){X.tag=11,X.type=Z=$M(Z),X=t1(null,X,Z,J,Y);break Z}else if(G===RL){X.tag=14,X=e1(null,X,Z,J,Y);break Z}}throw X="",Z!==null&&typeof Z==="object"&&Z.$$typeof===PQ&&(X=" Did you wrap a component in React.lazy() more than once?"),Y=l(Z)||Z,Error("Element type is invalid. Received a promise that resolves to: "+Y+". Lazy element type must resolve to a class or function."+X)}return X;case 0:return PF(Z,X,X.type,X.pendingProps,Y);case 1:return J=X.type,G=vH(J,X.pendingProps),q4(Z,X,J,G,Y);case 3:Z:{if(u(X,X.stateNode.containerInfo),Z===null)throw Error("Should have a current fiber. This is a bug in React.");J=X.pendingProps;var H=X.memoizedState;G=H.element,iM(Z,X),XU(X,J,null,Y);var U=X.memoizedState;if(J=U.cache,KG(X,rX,J),J!==H.cache&&mM(X,[rX],Y,!0),ZU(),J=U.element,H.isDehydrated)if(H={element:J,isDehydrated:!1,cache:U.cache},X.updateQueue.baseState=H,X.memoizedState=H,X.flags&256){X=G4(Z,X,J,Y);break Z}else if(J!==G){G=TQ(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),X),sW(G),X=G4(Z,X,J,Y);break Z}else{switch(Z=X.stateNode.containerInfo,Z.nodeType){case 9:Z=Z.body;break;default:Z=Z.nodeName==="HTML"?Z.ownerDocument.body:Z}$X=CQ(Z.firstChild),PY=X,QX=!0,SG=null,Yq=!1,SQ=null,aQ=!0,Y=wI(X,null,J,Y);for(X.child=Y;Y;)Y.flags=Y.flags&-3|4096,Y=Y.sibling}else{if($H(),J===G){X=Pq(Z,X,Y);break Z}RY(Z,X,J,Y)}X=X.child}return X;case 26:return QL(Z,X),Z===null?(Y=yN(X.type,null,X.pendingProps,null))?X.memoizedState=Y:QX||(Y=X.type,Z=X.pendingProps,J=h(VG.current),J=LL(J).createElement(Y),J[CY]=X,J[pY]=Z,jY(J,Y,Z),EZ(J),X.stateNode=J):X.memoizedState=yN(X.type,Z.memoizedProps,X.pendingProps,Z.memoizedState),null;case 27:return e(X),Z===null&&QX&&(J=h(VG.current),G=g(),J=X.stateNode=kN(X.type,X.pendingProps,J,G,!1),Yq||(G=IN(J,X.type,X.pendingProps,G),G!==null&&(DH(X,0).serverProps=G)),PY=X,aQ=!0,G=$X,TG(X.type)?(c9=G,$X=CQ(J.firstChild)):$X=G),RY(Z,X,X.pendingProps.children,Y),QL(Z,X),Z===null&&(X.flags|=4194304),X.child;case 5:return Z===null&&QX&&(H=g(),J=TM(X.type,H.ancestorInfo),G=$X,(U=!G)||(U=S$(G,X.type,X.pendingProps,aQ),U!==null?(X.stateNode=U,Yq||(H=IN(U,X.type,X.pendingProps,H),H!==null&&(DH(X,0).serverProps=H)),PY=X,$X=CQ(U.firstChild),aQ=!1,H=!0):H=!1,U=!H),U&&(J&&$B(X,G),UG(X))),e(X),G=X.type,H=X.pendingProps,U=Z!==null?Z.memoizedProps:null,J=H.children,G0(G,H)?J=null:U!==null&&G0(G,U)&&(X.flags|=32),X.memoizedState!==null&&(G=rM(Z,X,yD,null,null,Y),BK._currentValue=G),QL(Z,X),RY(Z,X,J,Y),X.child;case 6:return Z===null&&QX&&(Y=X.pendingProps,Z=g(),J=Z.ancestorInfo.current,Y=J!=null?NB(Y,J.tag,Z.ancestorInfo.implicitRootScope):!0,Z=$X,(J=!Z)||(J=E$(Z,X.pendingProps,aQ),J!==null?(X.stateNode=J,PY=X,$X=null,J=!0):J=!1,J=!J),J&&(Y&&$B(X,Z),UG(X))),null;case 13:return H4(Z,X,Y);case 4:return u(X,X.stateNode.containerInfo),J=X.pendingProps,Z===null?X.child=sH(X,null,J,Y):RY(Z,X,J,Y),X.child;case 11:return t1(Z,X,X.type,X.pendingProps,Y);case 7:return RY(Z,X,X.pendingProps,Y),X.child;case 8:return RY(Z,X,X.pendingProps.children,Y),X.child;case 12:return X.flags|=4,X.flags|=2048,J=X.stateNode,J.effectDuration=-0,J.passiveEffectDuration=-0,RY(Z,X,X.pendingProps.children,Y),X.child;case 10:return J=X.type,G=X.pendingProps,H=G.value,"value"in G||sI||(sI=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),KG(X,J,H),RY(Z,X,G.children,Y),X.child;case 9:return G=X.type._context,J=X.pendingProps.children,typeof J!=="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."),SH(X),G=kX(G),J=H9(J,G,void 0),X.flags|=1,RY(Z,X,J,Y),X.child;case 14:return e1(Z,X,X.type,X.pendingProps,Y);case 15:return Z4(Z,X,X.type,X.pendingProps,Y);case 19:return _4(Z,X,Y);case 31:return uD(Z,X,Y);case 22:return X4(Z,X,Y,X.pendingProps);case 24:return SH(X),J=kX(rX),Z===null?(G=cM(),G===null&&(G=RX,H=fM(),G.pooledCache=H,EH(H),H!==null&&(G.pooledCacheLanes|=Y),G=H),X.memoizedState={parent:J,cache:G},lM(X),KG(X,rX,G)):((Z.lanes&Y)!==0&&(iM(Z,X),XU(X,null,null,Y),ZU()),G=Z.memoizedState,H=X.memoizedState,G.parent!==J?(G={parent:J,cache:J},X.memoizedState=G,X.lanes===0&&(X.memoizedState=X.updateQueue.baseState=G),KG(X,rX,J)):(J=H.cache,KG(X,rX,J),J!==G.cache&&mM(X,[rX],Y,!0))),RY(Z,X,X.pendingProps.children,Y),X.child;case 29:throw X.pendingProps}throw Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Dq(Z){Z.flags|=4}function hF(Z,X,Y,J,G){if(X=(Z.mode&zE)!==hZ)X=!1;if(X){if(Z.flags|=16777216,(G&335544128)===G)if(Z.stateNode.complete)Z.flags|=8192;else if(d4())Z.flags|=8192;else throw nH=oL,_9}else Z.flags&=-16777217}function W4(Z,X){if(X.type!=="stylesheet"||(X.state.loading&ZJ)!==qz)Z.flags&=-16777217;else if(Z.flags|=16777216,!mN(X))if(d4())Z.flags|=8192;else throw nH=oL,_9}function qL(Z,X){X!==null&&(Z.flags|=4),Z.flags&16384&&(X=Z.tag!==22?pz():536870912,Z.lanes|=X,eH|=X)}function GU(Z,X){if(!QX)switch(Z.tailMode){case"hidden":X=Z.tail;for(var Y=null;X!==null;)X.alternate!==null&&(Y=X),X=X.sibling;Y===null?Z.tail=null:Y.sibling=null;break;case"collapsed":Y=Z.tail;for(var J=null;Y!==null;)Y.alternate!==null&&(J=Y),Y=Y.sibling;J===null?X||Z.tail===null?Z.tail=null:Z.tail.sibling=null:J.sibling=null}}function CX(Z){var X=Z.alternate!==null&&Z.alternate.child===Z.child,Y=0,J=0;if(X)if((Z.mode&iZ)!==hZ){for(var{selfBaseDuration:G,child:H}=Z;H!==null;)Y|=H.lanes|H.childLanes,J|=H.subtreeFlags&65011712,J|=H.flags&65011712,G+=H.treeBaseDuration,H=H.sibling;Z.treeBaseDuration=G}else for(G=Z.child;G!==null;)Y|=G.lanes|G.childLanes,J|=G.subtreeFlags&65011712,J|=G.flags&65011712,G.return=Z,G=G.sibling;else if((Z.mode&iZ)!==hZ){G=Z.actualDuration,H=Z.selfBaseDuration;for(var U=Z.child;U!==null;)Y|=U.lanes|U.childLanes,J|=U.subtreeFlags,J|=U.flags,G+=U.actualDuration,H+=U.treeBaseDuration,U=U.sibling;Z.actualDuration=G,Z.treeBaseDuration=H}else for(G=Z.child;G!==null;)Y|=G.lanes|G.childLanes,J|=G.subtreeFlags,J|=G.flags,G.return=Z,G=G.sibling;return Z.subtreeFlags|=J,Z.childLanes=Y,X}function cD(Z,X,Y){var J=X.pendingProps;switch(vM(X),X.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return CX(X),null;case 1:return CX(X),null;case 3:if(Y=X.stateNode,J=null,Z!==null&&(J=Z.memoizedState.cache),X.memoizedState.cache!==J&&(X.flags|=2048),jq(rX,X),E(X),Y.pendingContext&&(Y.context=Y.pendingContext,Y.pendingContext=null),Z===null||Z.child===null)az(X)?(bM(),Dq(X)):Z===null||Z.memoizedState.isDehydrated&&(X.flags&256)===0||(X.flags|=1024,hM());return CX(X),null;case 26:var{type:G,memoizedState:H}=X;return Z===null?(Dq(X),H!==null?(CX(X),W4(X,H)):(CX(X),hF(X,G,null,J,Y))):H?H!==Z.memoizedState?(Dq(X),CX(X),W4(X,H)):(CX(X),X.flags&=-16777217):(Z=Z.memoizedProps,Z!==J&&Dq(X),CX(X),hF(X,G,Z,J,Y)),null;case 27:if(p(X),Y=h(VG.current),G=X.type,Z!==null&&X.stateNode!=null)Z.memoizedProps!==J&&Dq(X);else{if(!J){if(X.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 CX(X),null}Z=g(),az(X)?t8(X,Z):(Z=kN(G,J,Y,Z,!0),X.stateNode=Z,Dq(X))}return CX(X),null;case 5:if(p(X),G=X.type,Z!==null&&X.stateNode!=null)Z.memoizedProps!==J&&Dq(X);else{if(!J){if(X.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 CX(X),null}var U=g();if(az(X))t8(X,U);else{switch(H=h(VG.current),TM(G,U.ancestorInfo),U=U.context,H=LL(H),U){case l_:H=H.createElementNS(A_,G);break;case wA:H=H.createElementNS(EL,G);break;default:switch(G){case"svg":H=H.createElementNS(A_,G);break;case"math":H=H.createElementNS(EL,G);break;case"script":H=H.createElement("div"),H.innerHTML="<script></script>",H=H.removeChild(H.firstChild);break;case"select":H=typeof J.is==="string"?H.createElement("select",{is:J.is}):H.createElement("select"),J.multiple?H.multiple=!0:J.size&&(H.size=J.size);break;default:H=typeof J.is==="string"?H.createElement(G,{is:J.is}):H.createElement(G),G.indexOf("-")===-1&&(G!==G.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",G),Object.prototype.toString.call(H)!=="[object HTMLUnknownElement]"||LJ.call(FT,G)||(FT[G]=!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.",G)))}}H[CY]=X,H[pY]=J;Z:for(U=X.child;U!==null;){if(U.tag===5||U.tag===6)H.appendChild(U.stateNode);else if(U.tag!==4&&U.tag!==27&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===X)break Z;for(;U.sibling===null;){if(U.return===null||U.return===X)break Z;U=U.return}U.sibling.return=U.return,U=U.sibling}X.stateNode=H;Z:switch(jY(H,G,J),G){case"button":case"input":case"select":case"textarea":J=!!J.autoFocus;break Z;case"img":J=!0;break Z;default:J=!1}J&&Dq(X)}}return CX(X),hF(X,X.type,Z===null?null:Z.memoizedProps,X.pendingProps,Y),null;case 6:if(Z&&X.stateNode!=null)Z.memoizedProps!==J&&Dq(X);else{if(typeof J!=="string"&&X.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(Z=h(VG.current),Y=g(),az(X)){if(Z=X.stateNode,Y=X.memoizedProps,G=!Yq,J=null,H=PY,H!==null)switch(H.tag){case 3:G&&(G=SN(Z,Y,J),G!==null&&(DH(X,0).serverProps=G));break;case 27:case 5:J=H.memoizedProps,G&&(G=SN(Z,Y,J),G!==null&&(DH(X,0).serverProps=G))}Z[CY]=X,Z=Z.nodeValue===Y||J!==null&&J.suppressHydrationWarning===!0||AN(Z.nodeValue,Y)?!0:!1,Z||UG(X,!0)}else G=Y.ancestorInfo.current,G!=null&&NB(J,G.tag,Y.ancestorInfo.implicitRootScope),Z=LL(Z).createTextNode(J),Z[CY]=X,X.stateNode=Z}return CX(X),null;case 31:if(Y=X.memoizedState,Z===null||Z.memoizedState!==null){if(J=az(X),Y!==null){if(Z===null){if(!J)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Z=X.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");Z[CY]=X,CX(X),(X.mode&iZ)!==hZ&&Y!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration))}else bM(),$H(),(X.flags&128)===0&&(Y=X.memoizedState=null),X.flags|=4,CX(X),(X.mode&iZ)!==hZ&&Y!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else Y=hM(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=Y),Z=!0;if(!Z){if(X.flags&256)return RQ(X),X;return RQ(X),null}if((X.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return CX(X),null;case 13:if(J=X.memoizedState,Z===null||Z.memoizedState!==null&&Z.memoizedState.dehydrated!==null){if(G=J,H=az(X),G!==null&&G.dehydrated!==null){if(Z===null){if(!H)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(H=X.memoizedState,H=H!==null?H.dehydrated:null,!H)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");H[CY]=X,CX(X),(X.mode&iZ)!==hZ&&G!==null&&(G=X.child,G!==null&&(X.treeBaseDuration-=G.treeBaseDuration))}else bM(),$H(),(X.flags&128)===0&&(G=X.memoizedState=null),X.flags|=4,CX(X),(X.mode&iZ)!==hZ&&G!==null&&(G=X.child,G!==null&&(X.treeBaseDuration-=G.treeBaseDuration));G=!1}else G=hM(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=G),G=!0;if(!G){if(X.flags&256)return RQ(X),X;return RQ(X),null}}if(RQ(X),(X.flags&128)!==0)return X.lanes=Y,(X.mode&iZ)!==hZ&&rW(X),X;return Y=J!==null,Z=Z!==null&&Z.memoizedState!==null,Y&&(J=X.child,G=null,J.alternate!==null&&J.alternate.memoizedState!==null&&J.alternate.memoizedState.cachePool!==null&&(G=J.alternate.memoizedState.cachePool.pool),H=null,J.memoizedState!==null&&J.memoizedState.cachePool!==null&&(H=J.memoizedState.cachePool.pool),H!==G&&(J.flags|=2048)),Y!==Z&&Y&&(X.child.flags|=8192),qL(X,X.updateQueue),CX(X),(X.mode&iZ)!==hZ&&Y&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration)),null;case 4:return E(X),Z===null&&eF(X.stateNode.containerInfo),CX(X),null;case 10:return jq(X.type,X),CX(X),null;case 19:if(KZ(nX,X),J=X.memoizedState,J===null)return CX(X),null;if(G=(X.flags&128)!==0,H=J.rendering,H===null)if(G)GU(J,!1);else{if(bX!==cq||Z!==null&&(Z.flags&128)!==0)for(Z=X.child;Z!==null;){if(H=dB(Z),H!==null){X.flags|=128,GU(J,!1),Z=H.updateQueue,X.updateQueue=Z,qL(X,Z),X.subtreeFlags=0,Z=Y;for(Y=X.child;Y!==null;)i8(Y,Z),Y=Y.sibling;return zZ(nX,nX.current&x_|aU,X),QX&&Rq(X,J.treeForkCount),X.child}Z=Z.sibling}J.tail!==null&&LY()>_A&&(X.flags|=128,G=!0,GU(J,!1),X.lanes=4194304)}else{if(!G)if(Z=dB(H),Z!==null){if(X.flags|=128,G=!0,Z=Z.updateQueue,X.updateQueue=Z,qL(X,Z),GU(J,!0),J.tail===null&&J.tailMode==="hidden"&&!H.alternate&&!QX)return CX(X),null}else 2*LY()-J.renderingStartTime>_A&&Y!==536870912&&(X.flags|=128,G=!0,GU(J,!1),X.lanes=4194304);J.isBackwards?(H.sibling=X.child,X.child=H):(Z=J.last,Z!==null?Z.sibling=H:X.child=H,J.last=H)}if(J.tail!==null)return Z=J.tail,J.rendering=Z,J.tail=Z.sibling,J.renderingStartTime=LY(),Z.sibling=null,Y=nX.current,Y=G?Y&x_|aU:Y&x_,zZ(nX,Y,X),QX&&Rq(X,J.treeForkCount),Z;return CX(X),null;case 22:case 23:return RQ(X),sM(X),J=X.memoizedState!==null,Z!==null?Z.memoizedState!==null!==J&&(X.flags|=8192):J&&(X.flags|=8192),J?(Y&536870912)!==0&&(X.flags&128)===0&&(CX(X),X.subtreeFlags&6&&(X.flags|=8192)):CX(X),Y=X.updateQueue,Y!==null&&qL(X,Y.retryQueue),Y=null,Z!==null&&Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(Y=Z.memoizedState.cachePool.pool),J=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(J=X.memoizedState.cachePool.pool),J!==Y&&(X.flags|=2048),Z!==null&&KZ(lH,X),null;case 24:return Y=null,Z!==null&&(Y=Z.memoizedState.cache),X.memoizedState.cache!==Y&&(X.flags|=2048),jq(rX,X),CX(X),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function pD(Z,X){switch(vM(X),X.tag){case 1:return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&rW(X),X):null;case 3:return jq(rX,X),E(X),Z=X.flags,(Z&65536)!==0&&(Z&128)===0?(X.flags=Z&-65537|128,X):null;case 26:case 27:case 5:return p(X),null;case 31:if(X.memoizedState!==null){if(RQ(X),X.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");$H()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&rW(X),X):null;case 13:if(RQ(X),Z=X.memoizedState,Z!==null&&Z.dehydrated!==null){if(X.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");$H()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&rW(X),X):null;case 19:return KZ(nX,X),null;case 4:return E(X),null;case 10:return jq(X.type,X),null;case 22:case 23:return RQ(X),sM(X),Z!==null&&KZ(lH,X),Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&rW(X),X):null;case 24:return jq(rX,X),null;case 25:return null;default:return null}}function U4(Z,X){switch(vM(X),X.tag){case 3:jq(rX,X),E(X);break;case 26:case 27:case 5:p(X);break;case 4:E(X);break;case 31:X.memoizedState!==null&&RQ(X);break;case 13:RQ(X);break;case 19:KZ(nX,X);break;case 10:jq(X.type,X);break;case 22:case 23:RQ(X),sM(X),Z!==null&&KZ(lH,X);break;case 24:jq(rX,X)}}function cJ(Z){return(Z.mode&iZ)!==hZ}function K4(Z,X){cJ(Z)?(dJ(),HU(X,Z),uJ()):HU(X,Z)}function bF(Z,X,Y){cJ(Z)?(dJ(),X_(Y,Z,X),uJ()):X_(Y,Z,X)}function HU(Z,X){try{var Y=X.updateQueue,J=Y!==null?Y.lastEffect:null;if(J!==null){var G=J.next;Y=G;do{if((Y.tag&Z)===Z&&(J=void 0,(Z&sY)!==tL&&(d_=!0),J=BZ(X,BE,Y),(Z&sY)!==tL&&(d_=!1),J!==void 0&&typeof J!=="function")){var H=void 0;H=(Y.tag&kQ)!==0?"useLayoutEffect":(Y.tag&sY)!==0?"useInsertionEffect":"useEffect";var U=void 0;U=J===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof J.then==="function"?`
|
|
146
|
-
|
|
147
|
-
It looks like you wrote `+H+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
148
|
-
|
|
149
|
-
`+H+`(() => {
|
|
150
|
-
async function fetchData() {
|
|
151
|
-
// You can await here
|
|
152
|
-
const response = await MyAPI.getData(someId);
|
|
153
|
-
// ...
|
|
154
|
-
}
|
|
155
|
-
fetchData();
|
|
156
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
157
|
-
|
|
158
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+J,BZ(X,function(B,F){console.error("%s must not return anything besides a function, which is used for clean-up.%s",B,F)},H,U)}Y=Y.next}while(Y!==G)}}catch(B){OX(X,X.return,B)}}function X_(Z,X,Y){try{var J=X.updateQueue,G=J!==null?J.lastEffect:null;if(G!==null){var H=G.next;J=H;do{if((J.tag&Z)===Z){var U=J.inst,B=U.destroy;B!==void 0&&(U.destroy=void 0,(Z&sY)!==tL&&(d_=!0),G=X,BZ(G,LE,G,Y,B),(Z&sY)!==tL&&(d_=!1))}J=J.next}while(J!==H)}}catch(F){OX(X,X.return,F)}}function B4(Z,X){cJ(Z)?(dJ(),HU(X,Z),uJ()):HU(X,Z)}function gF(Z,X,Y){cJ(Z)?(dJ(),X_(Y,Z,X),uJ()):X_(Y,Z,X)}function L4(Z){var X=Z.updateQueue;if(X!==null){var Y=Z.stateNode;Z.type.defaultProps||"ref"in Z.memoizedProps||b_||(Y.props!==Z.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.",n(Z)||"instance"),Y.state!==Z.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.",n(Z)||"instance"));try{BZ(Z,O1,X,Y)}catch(J){OX(Z,Z.return,J)}}}function lD(Z,X,Y){return Z.getSnapshotBeforeUpdate(X,Y)}function iD(Z,X){var{memoizedProps:Y,memoizedState:J}=X;X=Z.stateNode,Z.type.defaultProps||"ref"in Z.memoizedProps||b_||(X.props!==Z.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.",n(Z)||"instance"),X.state!==Z.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.",n(Z)||"instance"));try{var G=vH(Z.type,Y),H=BZ(Z,lD,X,G,J);Y=aI,H!==void 0||Y.has(Z.type)||(Y.add(Z.type),BZ(Z,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",n(Z))})),X.__reactInternalSnapshotBeforeUpdate=H}catch(U){OX(Z,Z.return,U)}}function A4(Z,X,Y){Y.props=vH(Z.type,Z.memoizedProps),Y.state=Z.memoizedState,cJ(Z)?(dJ(),BZ(Z,LI,Z,X,Y),uJ()):BZ(Z,LI,Z,X,Y)}function nD(Z){var X=Z.ref;if(X!==null){switch(Z.tag){case 26:case 27:case 5:var Y=Z.stateNode;break;case 30:Y=Z.stateNode;break;default:Y=Z.stateNode}if(typeof X==="function")if(cJ(Z))try{dJ(),Z.refCleanup=X(Y)}finally{uJ()}else Z.refCleanup=X(Y);else typeof X==="string"?console.error("String refs are no longer supported."):X.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",n(Z)),X.current=Y}}function zU(Z,X){try{BZ(Z,nD,Z)}catch(Y){OX(Z,X,Y)}}function pJ(Z,X){var{ref:Y,refCleanup:J}=Z;if(Y!==null)if(typeof J==="function")try{if(cJ(Z))try{dJ(),BZ(Z,J)}finally{uJ(Z)}else BZ(Z,J)}catch(G){OX(Z,X,G)}finally{Z.refCleanup=null,Z=Z.alternate,Z!=null&&(Z.refCleanup=null)}else if(typeof Y==="function")try{if(cJ(Z))try{dJ(),BZ(Z,Y,null)}finally{uJ(Z)}else BZ(Z,Y,null)}catch(G){OX(Z,X,G)}else Y.current=null}function O4(Z,X,Y,J){var G=Z.memoizedProps,H=G.id,U=G.onCommit;G=G.onRender,X=X===null?"mount":"update",iL&&(X="nested-update"),typeof G==="function"&&G(H,X,Z.actualDuration,Z.treeBaseDuration,Z.actualStartTime,Y),typeof U==="function"&&U(H,X,J,Y)}function sD(Z,X,Y,J){var G=Z.memoizedProps;Z=G.id,G=G.onPostCommit,X=X===null?"mount":"update",iL&&(X="nested-update"),typeof G==="function"&&G(Z,X,J,Y)}function M4(Z){var{type:X,memoizedProps:Y,stateNode:J}=Z;try{BZ(Z,F$,J,X,Y,Z)}catch(G){OX(Z,Z.return,G)}}function mF(Z,X,Y){try{BZ(Z,I$,Z.stateNode,Z.type,Y,X,Z)}catch(J){OX(Z,Z.return,J)}}function F4(Z){return Z.tag===5||Z.tag===3||Z.tag===26||Z.tag===27&&TG(Z.type)||Z.tag===4}function fF(Z){Z:for(;;){for(;Z.sibling===null;){if(Z.return===null||F4(Z.return))return null;Z=Z.return}Z.sibling.return=Z.return;for(Z=Z.sibling;Z.tag!==5&&Z.tag!==6&&Z.tag!==18;){if(Z.tag===27&&TG(Z.type))continue Z;if(Z.flags&2)continue Z;if(Z.child===null||Z.tag===4)continue Z;else Z.child.return=Z,Z=Z.child}if(!(Z.flags&2))return Z.stateNode}}function uF(Z,X,Y){var J=Z.tag;if(J===5||J===6)Z=Z.stateNode,X?(jN(Y),(Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y).insertBefore(Z,X)):(jN(Y),X=Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y,X.appendChild(Z),Y=Y._reactRootContainer,Y!==null&&Y!==void 0||X.onclick!==null||(X.onclick=wq));else if(J!==4&&(J===27&&TG(Z.type)&&(Y=Z.stateNode,X=null),Z=Z.child,Z!==null))for(uF(Z,X,Y),Z=Z.sibling;Z!==null;)uF(Z,X,Y),Z=Z.sibling}function GL(Z,X,Y){var J=Z.tag;if(J===5||J===6)Z=Z.stateNode,X?Y.insertBefore(Z,X):Y.appendChild(Z);else if(J!==4&&(J===27&&TG(Z.type)&&(Y=Z.stateNode),Z=Z.child,Z!==null))for(GL(Z,X,Y),Z=Z.sibling;Z!==null;)GL(Z,X,Y),Z=Z.sibling}function aD(Z){for(var X,Y=Z.return;Y!==null;){if(F4(Y)){X=Y;break}Y=Y.return}if(X==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(X.tag){case 27:X=X.stateNode,Y=fF(Z),GL(Z,Y,X);break;case 5:Y=X.stateNode,X.flags&32&&(RN(Y),X.flags&=-33),X=fF(Z),GL(Z,X,Y);break;case 3:case 4:X=X.stateNode.containerInfo,Y=fF(Z),uF(Z,Y,X);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function N4(Z){var{stateNode:X,memoizedProps:Y}=Z;try{BZ(Z,h$,Z.type,Y,X,Z)}catch(J){OX(Z,Z.return,J)}}function I4(Z,X){return X.tag===31?(X=X.memoizedState,Z.memoizedState!==null&&X===null):X.tag===13?(Z=Z.memoizedState,X=X.memoizedState,Z!==null&&Z.dehydrated!==null&&(X===null||X.dehydrated===null)):X.tag===3?Z.memoizedState.isDehydrated&&(X.flags&256)===0:!1}function oD(Z,X){if(Z=Z.containerInfo,f9=CA,Z=h8(Z),RM(Z)){if("selectionStart"in Z)var Y={start:Z.selectionStart,end:Z.selectionEnd};else Z:{Y=(Y=Z.ownerDocument)&&Y.defaultView||window;var J=Y.getSelection&&Y.getSelection();if(J&&J.rangeCount!==0){Y=J.anchorNode;var{anchorOffset:G,focusNode:H}=J;J=J.focusOffset;try{Y.nodeType,H.nodeType}catch(GZ){Y=null;break Z}var U=0,B=-1,F=-1,T=0,x=0,v=Z,$=null;X:for(;;){for(var c;;){if(v!==Y||G!==0&&v.nodeType!==3||(B=U+G),v!==H||J!==0&&v.nodeType!==3||(F=U+J),v.nodeType===3&&(U+=v.nodeValue.length),(c=v.firstChild)===null)break;$=v,v=c}for(;;){if(v===Z)break X;if($===Y&&++T===G&&(B=U),$===H&&++x===J&&(F=U),(c=v.nextSibling)!==null)break;v=$,$=v.parentNode}v=c}Y=B===-1||F===-1?null:{start:B,end:F}}else Y=null}Y=Y||{start:0,end:0}}else Y=null;u9={focusedElem:Z,selectionRange:Y},CA=!1;for(OY=X;OY!==null;)if(X=OY,Z=X.child,(X.subtreeFlags&1028)!==0&&Z!==null)Z.return=X,OY=Z;else for(;OY!==null;){switch(Z=X=OY,Y=Z.alternate,G=Z.flags,Z.tag){case 0:if((G&4)!==0&&(Z=Z.updateQueue,Z=Z!==null?Z.events:null,Z!==null))for(Y=0;Y<Z.length;Y++)G=Z[Y],G.ref.impl=G.nextImpl;break;case 11:case 15:break;case 1:(G&1024)!==0&&Y!==null&&iD(Z,Y);break;case 3:if((G&1024)!==0){if(Z=Z.stateNode.containerInfo,Y=Z.nodeType,Y===9)H0(Z);else if(Y===1)switch(Z.nodeName){case"HEAD":case"HTML":case"BODY":H0(Z);break;default:Z.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((G&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(Z=X.sibling,Z!==null){Z.return=X.return,OY=Z;break}OY=X.return}}function T4(Z,X,Y){var J=wQ(),G=bJ(),H=mJ(),U=fJ(),B=Y.flags;switch(Y.tag){case 0:case 11:case 15:lJ(Z,Y),B&4&&K4(Y,kQ|tQ);break;case 1:if(lJ(Z,Y),B&4)if(Z=Y.stateNode,X===null)Y.type.defaultProps||"ref"in Y.memoizedProps||b_||(Z.props!==Y.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.",n(Y)||"instance"),Z.state!==Y.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.",n(Y)||"instance")),cJ(Y)?(dJ(),BZ(Y,z9,Y,Z),uJ()):BZ(Y,z9,Y,Z);else{var F=vH(Y.type,X.memoizedProps);X=X.memoizedState,Y.type.defaultProps||"ref"in Y.memoizedProps||b_||(Z.props!==Y.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.",n(Y)||"instance"),Z.state!==Y.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.",n(Y)||"instance")),cJ(Y)?(dJ(),BZ(Y,UI,Y,Z,F,X,Z.__reactInternalSnapshotBeforeUpdate),uJ()):BZ(Y,UI,Y,Z,F,X,Z.__reactInternalSnapshotBeforeUpdate)}B&64&&L4(Y),B&512&&zU(Y,Y.return);break;case 3:if(X=Cq(),lJ(Z,Y),B&64&&(B=Y.updateQueue,B!==null)){if(F=null,Y.child!==null)switch(Y.child.tag){case 27:case 5:F=Y.child.stateNode;break;case 1:F=Y.child.stateNode}try{BZ(Y,O1,B,F)}catch(x){OX(Y,Y.return,x)}}Z.effectDuration+=xB(X);break;case 27:X===null&&B&4&&N4(Y);case 26:case 5:if(lJ(Z,Y),X===null){if(B&4)M4(Y);else if(B&64){Z=Y.type,X=Y.memoizedProps,F=Y.stateNode;try{BZ(Y,N$,F,Z,X,Y)}catch(x){OX(Y,Y.return,x)}}}B&512&&zU(Y,Y.return);break;case 12:if(B&4){B=Cq(),lJ(Z,Y),Z=Y.stateNode,Z.effectDuration+=oW(B);try{BZ(Y,O4,Y,X,EG,Z.effectDuration)}catch(x){OX(Y,Y.return,x)}}else lJ(Z,Y);break;case 31:lJ(Z,Y),B&4&&R4(Z,Y);break;case 13:lJ(Z,Y),B&4&&j4(Z,Y),B&64&&(Z=Y.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null&&(B=q$.bind(null,Y),k$(Z,B))));break;case 22:if(B=Y.memoizedState!==null||dq,!B){X=X!==null&&X.memoizedState!==null||XY,F=dq;var T=XY;dq=B,(XY=X)&&!T?(iJ(Z,Y,(Y.subtreeFlags&8772)!==0),(Y.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&0.05<yZ-kZ&&VB(Y,kZ,yZ)):lJ(Z,Y),dq=F,XY=T}break;case 30:break;default:lJ(Z,Y)}(Y.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&((mX||0.05<hX)&&vJ(Y,kZ,yZ,hX,xX),Y.alternate===null&&Y.return!==null&&Y.return.alternate!==null&&0.05<yZ-kZ&&(I4(Y.return.alternate,Y.return)||yJ(Y,kZ,yZ,"Mount"))),VQ(J),gJ(G),xX=H,mX=U}function w4(Z){var X=Z.alternate;X!==null&&(Z.alternate=null,w4(X)),Z.child=null,Z.deletions=null,Z.sibling=null,Z.tag===5&&(X=Z.stateNode,X!==null&&_Z(X)),Z.stateNode=null,Z._debugOwner=null,Z.return=null,Z.dependencies=null,Z.memoizedProps=null,Z.memoizedState=null,Z.pendingProps=null,Z.stateNode=null,Z.updateQueue=null}function $q(Z,X,Y){for(Y=Y.child;Y!==null;)V4(Z,X,Y),Y=Y.sibling}function V4(Z,X,Y){if(gY&&typeof gY.onCommitFiberUnmount==="function")try{gY.onCommitFiberUnmount(B_,Y)}catch(T){tJ||(tJ=!0,console.error("React instrumentation encountered an error: %o",T))}var J=wQ(),G=bJ(),H=mJ(),U=fJ();switch(Y.tag){case 26:XY||pJ(Y,X),$q(Z,X,Y),Y.memoizedState?Y.memoizedState.count--:Y.stateNode&&(Z=Y.stateNode,Z.parentNode.removeChild(Z));break;case 27:XY||pJ(Y,X);var B=YY,F=qQ;TG(Y.type)&&(YY=Y.stateNode,qQ=!1),$q(Z,X,Y),BZ(Y,MU,Y.stateNode),YY=B,qQ=F;break;case 5:XY||pJ(Y,X);case 6:if(B=YY,F=qQ,YY=null,$q(Z,X,Y),YY=B,qQ=F,YY!==null)if(qQ)try{BZ(Y,V$,YY,Y.stateNode)}catch(T){OX(Y,X,T)}else try{BZ(Y,w$,YY,Y.stateNode)}catch(T){OX(Y,X,T)}break;case 18:YY!==null&&(qQ?(Z=YY,CN(Z.nodeType===9?Z.body:Z.nodeName==="HTML"?Z.ownerDocument.body:Z,Y.stateNode),__(Z)):CN(YY,Y.stateNode));break;case 4:B=YY,F=qQ,YY=Y.stateNode.containerInfo,qQ=!0,$q(Z,X,Y),YY=B,qQ=F;break;case 0:case 11:case 14:case 15:X_(sY,Y,X),XY||bF(Y,X,kQ),$q(Z,X,Y);break;case 1:XY||(pJ(Y,X),B=Y.stateNode,typeof B.componentWillUnmount==="function"&&A4(Y,X,B)),$q(Z,X,Y);break;case 21:$q(Z,X,Y);break;case 22:XY=(B=XY)||Y.memoizedState!==null,$q(Z,X,Y),XY=B;break;default:$q(Z,X,Y)}(Y.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&(mX||0.05<hX)&&vJ(Y,kZ,yZ,hX,xX),VQ(J),gJ(G),xX=H,mX=U}function R4(Z,X){if(X.memoizedState===null&&(Z=X.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null))){Z=Z.dehydrated;try{BZ(X,y$,Z)}catch(Y){OX(X,X.return,Y)}}}function j4(Z,X){if(X.memoizedState===null&&(Z=X.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null))))try{BZ(X,v$,Z)}catch(Y){OX(X,X.return,Y)}}function rD(Z){switch(Z.tag){case 31:case 13:case 19:var X=Z.stateNode;return X===null&&(X=Z.stateNode=new oI),X;case 22:return Z=Z.stateNode,X=Z._retryCache,X===null&&(X=Z._retryCache=new oI),X;default:throw Error("Unexpected Suspense handler tag ("+Z.tag+"). This is a bug in React.")}}function HL(Z,X){var Y=rD(Z);X.forEach(function(J){if(!Y.has(J)){if(Y.add(J),eJ)if(g_!==null&&m_!==null)KU(m_,g_);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var G=G$.bind(null,Z,J);J.then(G,G)}})}function QQ(Z,X){var Y=X.deletions;if(Y!==null)for(var J=0;J<Y.length;J++){var G=Z,H=X,U=Y[J],B=wQ(),F=H;Z:for(;F!==null;){switch(F.tag){case 27:if(TG(F.type)){YY=F.stateNode,qQ=!1;break Z}break;case 5:YY=F.stateNode,qQ=!1;break Z;case 3:case 4:YY=F.stateNode.containerInfo,qQ=!0;break Z}F=F.return}if(YY===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");V4(G,H,U),YY=null,qQ=!1,(U.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&0.05<yZ-kZ&&yJ(U,kZ,yZ,"Unmount"),VQ(B),G=U,H=G.alternate,H!==null&&(H.return=null),G.return=null}if(X.subtreeFlags&13886)for(X=X.child;X!==null;)C4(X,Z),X=X.sibling}function C4(Z,X){var Y=wQ(),J=bJ(),G=mJ(),H=fJ(),U=Z.alternate,B=Z.flags;switch(Z.tag){case 0:case 11:case 14:case 15:QQ(X,Z),JQ(Z),B&4&&(X_(sY|tQ,Z,Z.return),HU(sY|tQ,Z),bF(Z,Z.return,kQ|tQ));break;case 1:if(QQ(X,Z),JQ(Z),B&512&&(XY||U===null||pJ(U,U.return)),B&64&&dq&&(B=Z.updateQueue,B!==null&&(U=B.callbacks,U!==null))){var F=B.shared.hiddenCallbacks;B.shared.hiddenCallbacks=F===null?U:F.concat(U)}break;case 26:if(F=NJ,QQ(X,Z),JQ(Z),B&512&&(XY||U===null||pJ(U,U.return)),B&4){var T=U!==null?U.memoizedState:null;if(B=Z.memoizedState,U===null)if(B===null)if(Z.stateNode===null){Z:{B=Z.type,U=Z.memoizedProps,F=F.ownerDocument||F;X:switch(B){case"title":if(T=F.getElementsByTagName("title")[0],!T||T[RU]||T[CY]||T.namespaceURI===A_||T.hasAttribute("itemprop"))T=F.createElement(B),F.head.insertBefore(T,F.querySelector("head > title"));jY(T,B,U),T[CY]=Z,EZ(T),B=T;break Z;case"link":var x=bN("link","href",F).get(B+(U.href||""));if(x){for(var v=0;v<x.length;v++)if(T=x[v],T.getAttribute("href")===(U.href==null||U.href===""?null:U.href)&&T.getAttribute("rel")===(U.rel==null?null:U.rel)&&T.getAttribute("title")===(U.title==null?null:U.title)&&T.getAttribute("crossorigin")===(U.crossOrigin==null?null:U.crossOrigin)){x.splice(v,1);break X}}T=F.createElement(B),jY(T,B,U),F.head.appendChild(T);break;case"meta":if(x=bN("meta","content",F).get(B+(U.content||""))){for(v=0;v<x.length;v++)if(T=x[v],$Z(U.content,"content"),T.getAttribute("content")===(U.content==null?null:""+U.content)&&T.getAttribute("name")===(U.name==null?null:U.name)&&T.getAttribute("property")===(U.property==null?null:U.property)&&T.getAttribute("http-equiv")===(U.httpEquiv==null?null:U.httpEquiv)&&T.getAttribute("charset")===(U.charSet==null?null:U.charSet)){x.splice(v,1);break X}}T=F.createElement(B),jY(T,B,U),F.head.appendChild(T);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+B+'". This is a bug in React.')}T[CY]=Z,EZ(T),B=T}Z.stateNode=B}else gN(F,Z.type,Z.stateNode);else Z.stateNode=hN(F,B,Z.memoizedProps);else T!==B?(T===null?U.stateNode!==null&&(U=U.stateNode,U.parentNode.removeChild(U)):T.count--,B===null?gN(F,Z.type,Z.stateNode):hN(F,B,Z.memoizedProps)):B===null&&Z.stateNode!==null&&mF(Z,Z.memoizedProps,U.memoizedProps)}break;case 27:QQ(X,Z),JQ(Z),B&512&&(XY||U===null||pJ(U,U.return)),U!==null&&B&4&&mF(Z,Z.memoizedProps,U.memoizedProps);break;case 5:if(QQ(X,Z),JQ(Z),B&512&&(XY||U===null||pJ(U,U.return)),Z.flags&32){F=Z.stateNode;try{BZ(Z,RN,F)}catch(AZ){OX(Z,Z.return,AZ)}}B&4&&Z.stateNode!=null&&(F=Z.memoizedProps,mF(Z,F,U!==null?U.memoizedProps:F)),B&1024&&(T9=!0,Z.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(QQ(X,Z),JQ(Z),B&4){if(Z.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.");B=Z.memoizedProps,U=U!==null?U.memoizedProps:B,F=Z.stateNode;try{BZ(Z,T$,F,U,B)}catch(AZ){OX(Z,Z.return,AZ)}}break;case 3:if(F=Cq(),VA=null,T=NJ,NJ=AL(X.containerInfo),QQ(X,Z),NJ=T,JQ(Z),B&4&&U!==null&&U.memoizedState.isDehydrated)try{BZ(Z,x$,X.containerInfo)}catch(AZ){OX(Z,Z.return,AZ)}T9&&(T9=!1,P4(Z)),X.effectDuration+=xB(F);break;case 4:B=NJ,NJ=AL(Z.stateNode.containerInfo),QQ(X,Z),JQ(Z),NJ=B;break;case 12:B=Cq(),QQ(X,Z),JQ(Z),Z.stateNode.effectDuration+=oW(B);break;case 31:QQ(X,Z),JQ(Z),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,HL(Z,B)));break;case 13:QQ(X,Z),JQ(Z),Z.child.flags&8192&&Z.memoizedState!==null!==(U!==null&&U.memoizedState!==null)&&(zA=LY()),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,HL(Z,B)));break;case 22:F=Z.memoizedState!==null;var $=U!==null&&U.memoizedState!==null,c=dq,GZ=XY;if(dq=c||F,XY=GZ||$,QQ(X,Z),XY=GZ,dq=c,$&&!F&&!c&&!GZ&&(Z.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&0.05<yZ-kZ&&VB(Z,kZ,yZ),JQ(Z),B&8192)Z:for(X=Z.stateNode,X._visibility=F?X._visibility&~xU:X._visibility|xU,!F||U===null||$||dq||XY||(hH(Z),(Z.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&0.05<yZ-kZ&&yJ(Z,kZ,yZ,"Disconnect")),U=null,X=Z;;){if(X.tag===5||X.tag===26){if(U===null){$=U=X;try{T=$.stateNode,F?BZ($,j$,T):BZ($,D$,$.stateNode,$.memoizedProps)}catch(AZ){OX($,$.return,AZ)}}}else if(X.tag===6){if(U===null){$=X;try{x=$.stateNode,F?BZ($,C$,x):BZ($,$$,x,$.memoizedProps)}catch(AZ){OX($,$.return,AZ)}}}else if(X.tag===18){if(U===null){$=X;try{v=$.stateNode,F?BZ($,R$,v):BZ($,P$,$.stateNode)}catch(AZ){OX($,$.return,AZ)}}}else if((X.tag!==22&&X.tag!==23||X.memoizedState===null||X===Z)&&X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)break Z;for(;X.sibling===null;){if(X.return===null||X.return===Z)break Z;U===X&&(U=null),X=X.return}U===X&&(U=null),X.sibling.return=X.return,X=X.sibling}B&4&&(B=Z.updateQueue,B!==null&&(U=B.retryQueue,U!==null&&(B.retryQueue=null,HL(Z,U))));break;case 19:QQ(X,Z),JQ(Z),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,HL(Z,B)));break;case 30:break;case 21:break;default:QQ(X,Z),JQ(Z)}(Z.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&((mX||0.05<hX)&&vJ(Z,kZ,yZ,hX,xX),Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null&&0.05<yZ-kZ&&(I4(Z.return.alternate,Z.return)||yJ(Z,kZ,yZ,"Mount"))),VQ(Y),gJ(J),xX=G,mX=H}function JQ(Z){var X=Z.flags;if(X&2){try{BZ(Z,aD,Z)}catch(Y){OX(Z,Z.return,Y)}Z.flags&=-3}X&4096&&(Z.flags&=-4097)}function P4(Z){if(Z.subtreeFlags&1024)for(Z=Z.child;Z!==null;){var X=Z;P4(X),X.tag===5&&X.flags&1024&&X.stateNode.reset(),Z=Z.sibling}}function lJ(Z,X){if(X.subtreeFlags&8772)for(X=X.child;X!==null;)T4(Z,X.alternate,X),X=X.sibling}function D4(Z){var X=wQ(),Y=bJ(),J=mJ(),G=fJ();switch(Z.tag){case 0:case 11:case 14:case 15:bF(Z,Z.return,kQ),hH(Z);break;case 1:pJ(Z,Z.return);var H=Z.stateNode;typeof H.componentWillUnmount==="function"&&A4(Z,Z.return,H),hH(Z);break;case 27:BZ(Z,MU,Z.stateNode);case 26:case 5:pJ(Z,Z.return),hH(Z);break;case 22:Z.memoizedState===null&&hH(Z);break;case 30:hH(Z);break;default:hH(Z)}(Z.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&(mX||0.05<hX)&&vJ(Z,kZ,yZ,hX,xX),VQ(X),gJ(Y),xX=J,mX=G}function hH(Z){for(Z=Z.child;Z!==null;)D4(Z),Z=Z.sibling}function $4(Z,X,Y,J){var G=wQ(),H=bJ(),U=mJ(),B=fJ(),F=Y.flags;switch(Y.tag){case 0:case 11:case 15:iJ(Z,Y,J),K4(Y,kQ);break;case 1:if(iJ(Z,Y,J),X=Y.stateNode,typeof X.componentDidMount==="function"&&BZ(Y,z9,Y,X),X=Y.updateQueue,X!==null){Z=Y.stateNode;try{BZ(Y,xD,X,Z)}catch(T){OX(Y,Y.return,T)}}J&&F&64&&L4(Y),zU(Y,Y.return);break;case 27:N4(Y);case 26:case 5:iJ(Z,Y,J),J&&X===null&&F&4&&M4(Y),zU(Y,Y.return);break;case 12:if(J&&F&4){F=Cq(),iJ(Z,Y,J),J=Y.stateNode,J.effectDuration+=oW(F);try{BZ(Y,O4,Y,X,EG,J.effectDuration)}catch(T){OX(Y,Y.return,T)}}else iJ(Z,Y,J);break;case 31:iJ(Z,Y,J),J&&F&4&&R4(Z,Y);break;case 13:iJ(Z,Y,J),J&&F&4&&j4(Z,Y);break;case 22:Y.memoizedState===null&&iJ(Z,Y,J),zU(Y,Y.return);break;case 30:break;default:iJ(Z,Y,J)}(Y.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&(mX||0.05<hX)&&vJ(Y,kZ,yZ,hX,xX),VQ(G),gJ(H),xX=U,mX=B}function iJ(Z,X,Y){Y=Y&&(X.subtreeFlags&8772)!==0;for(X=X.child;X!==null;)$4(Z,X.alternate,X,Y),X=X.sibling}function dF(Z,X){var Y=null;Z!==null&&Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(Y=Z.memoizedState.cachePool.pool),Z=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(Z=X.memoizedState.cachePool.pool),Z!==Y&&(Z!=null&&EH(Z),Y!=null&&aW(Y))}function cF(Z,X){Z=null,X.alternate!==null&&(Z=X.alternate.memoizedState.cache),X=X.memoizedState.cache,X!==Z&&(EH(X),Z!=null&&aW(Z))}function BJ(Z,X,Y,J,G){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(X=X.child;X!==null;){var H=X.sibling;S4(Z,X,Y,J,H!==null?H.actualStartTime:G),X=H}}function S4(Z,X,Y,J,G){var H=wQ(),U=bJ(),B=mJ(),F=fJ(),T=PG,x=X.flags;switch(X.tag){case 0:case 11:case 15:(X.mode&iZ)!==hZ&&0<X.actualStartTime&&(X.flags&1)!==0&&RB(X,X.actualStartTime,G,_Y,Y),BJ(Z,X,Y,J,G),x&2048&&B4(X,aY|tQ);break;case 1:(X.mode&iZ)!==hZ&&0<X.actualStartTime&&((X.flags&128)!==0?CM(X,X.actualStartTime,G,[]):(X.flags&1)!==0&&RB(X,X.actualStartTime,G,_Y,Y)),BJ(Z,X,Y,J,G);break;case 3:var v=Cq(),$=_Y;_Y=X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)===0,BJ(Z,X,Y,J,G),_Y=$,x&2048&&(Y=null,X.alternate!==null&&(Y=X.alternate.memoizedState.cache),J=X.memoizedState.cache,J!==Y&&(EH(J),Y!=null&&aW(Y))),Z.passiveEffectDuration+=xB(v);break;case 12:if(x&2048){x=Cq(),BJ(Z,X,Y,J,G),Z=X.stateNode,Z.passiveEffectDuration+=oW(x);try{BZ(X,sD,X,X.alternate,EG,Z.passiveEffectDuration)}catch(c){OX(X,X.return,c)}}else BJ(Z,X,Y,J,G);break;case 31:x=_Y,v=X.alternate!==null?X.alternate.memoizedState:null,$=X.memoizedState,v!==null&&$===null?($=X.deletions,$!==null&&0<$.length&&$[0].tag===18?(_Y=!1,v=v.hydrationErrors,v!==null&&CM(X,X.actualStartTime,G,v)):_Y=!0):_Y=!1,BJ(Z,X,Y,J,G),_Y=x;break;case 13:x=_Y,v=X.alternate!==null?X.alternate.memoizedState:null,$=X.memoizedState,v===null||v.dehydrated===null||$!==null&&$.dehydrated!==null?_Y=!1:($=X.deletions,$!==null&&0<$.length&&$[0].tag===18?(_Y=!1,v=v.hydrationErrors,v!==null&&CM(X,X.actualStartTime,G,v)):_Y=!0),BJ(Z,X,Y,J,G),_Y=x;break;case 23:break;case 22:$=X.stateNode,v=X.alternate,X.memoizedState!==null?$._visibility&kq?BJ(Z,X,Y,J,G):_U(Z,X,Y,J,G):$._visibility&kq?BJ(Z,X,Y,J,G):($._visibility|=kq,Y_(Z,X,Y,J,(X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child),G),(X.mode&iZ)===hZ||_Y||(Z=X.actualStartTime,0<=Z&&0.05<G-Z&&VB(X,Z,G),0<=kZ&&0<=yZ&&0.05<yZ-kZ&&VB(X,kZ,yZ))),x&2048&&dF(v,X);break;case 24:BJ(Z,X,Y,J,G),x&2048&&cF(X.alternate,X);break;default:BJ(Z,X,Y,J,G)}if((X.mode&iZ)!==hZ){if(Z=!_Y&&X.alternate===null&&X.return!==null&&X.return.alternate!==null)Y=X.actualStartTime,0<=Y&&0.05<G-Y&&yJ(X,Y,G,"Mount");0<=kZ&&0<=yZ&&((mX||0.05<hX)&&vJ(X,kZ,yZ,hX,xX),Z&&0.05<yZ-kZ&&yJ(X,kZ,yZ,"Mount"))}VQ(H),gJ(U),xX=B,mX=F,PG=T}function Y_(Z,X,Y,J,G,H){G=G&&((X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child));for(X=X.child;X!==null;){var U=X.sibling;E4(Z,X,Y,J,G,U!==null?U.actualStartTime:H),X=U}}function E4(Z,X,Y,J,G,H){var U=wQ(),B=bJ(),F=mJ(),T=fJ(),x=PG;G&&(X.mode&iZ)!==hZ&&0<X.actualStartTime&&(X.flags&1)!==0&&RB(X,X.actualStartTime,H,_Y,Y);var v=X.flags;switch(X.tag){case 0:case 11:case 15:Y_(Z,X,Y,J,G,H),B4(X,aY);break;case 23:break;case 22:var $=X.stateNode;X.memoizedState!==null?$._visibility&kq?Y_(Z,X,Y,J,G,H):_U(Z,X,Y,J,H):($._visibility|=kq,Y_(Z,X,Y,J,G,H)),G&&v&2048&&dF(X.alternate,X);break;case 24:Y_(Z,X,Y,J,G,H),G&&v&2048&&cF(X.alternate,X);break;default:Y_(Z,X,Y,J,G,H)}(X.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&(mX||0.05<hX)&&vJ(X,kZ,yZ,hX,xX),VQ(U),gJ(B),xX=F,mX=T,PG=x}function _U(Z,X,Y,J,G){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(var H=X.child;H!==null;){X=H.sibling;var U=Z,B=Y,F=J,T=X!==null?X.actualStartTime:G,x=PG;(H.mode&iZ)!==hZ&&0<H.actualStartTime&&(H.flags&1)!==0&&RB(H,H.actualStartTime,T,_Y,B);var v=H.flags;switch(H.tag){case 22:_U(U,H,B,F,T),v&2048&&dF(H.alternate,H);break;case 24:_U(U,H,B,F,T),v&2048&&cF(H.alternate,H);break;default:_U(U,H,B,F,T)}PG=x,H=X}}function Q_(Z,X,Y){if(Z.subtreeFlags&eU)for(Z=Z.child;Z!==null;)k4(Z,X,Y),Z=Z.sibling}function k4(Z,X,Y){switch(Z.tag){case 26:Q_(Z,X,Y),Z.flags&eU&&Z.memoizedState!==null&&m$(Y,NJ,Z.memoizedState,Z.memoizedProps);break;case 5:Q_(Z,X,Y);break;case 3:case 4:var J=NJ;NJ=AL(Z.stateNode.containerInfo),Q_(Z,X,Y),NJ=J;break;case 22:Z.memoizedState===null&&(J=Z.alternate,J!==null&&J.memoizedState!==null?(J=eU,eU=16777216,Q_(Z,X,Y),eU=J):Q_(Z,X,Y));break;default:Q_(Z,X,Y)}}function x4(Z){var X=Z.alternate;if(X!==null&&(Z=X.child,Z!==null)){X.child=null;do X=Z.sibling,Z.sibling=null,Z=X;while(Z!==null)}}function WU(Z){var X=Z.deletions;if((Z.flags&16)!==0){if(X!==null)for(var Y=0;Y<X.length;Y++){var J=X[Y],G=wQ();OY=J,h4(J,Z),(J.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&0.05<yZ-kZ&&yJ(J,kZ,yZ,"Unmount"),VQ(G)}x4(Z)}if(Z.subtreeFlags&10256)for(Z=Z.child;Z!==null;)y4(Z),Z=Z.sibling}function y4(Z){var X=wQ(),Y=bJ(),J=mJ(),G=fJ();switch(Z.tag){case 0:case 11:case 15:WU(Z),Z.flags&2048&&gF(Z,Z.return,aY|tQ);break;case 3:var H=Cq();WU(Z),Z.stateNode.passiveEffectDuration+=xB(H);break;case 12:H=Cq(),WU(Z),Z.stateNode.passiveEffectDuration+=oW(H);break;case 22:H=Z.stateNode,Z.memoizedState!==null&&H._visibility&kq&&(Z.return===null||Z.return.tag!==13)?(H._visibility&=~kq,zL(Z),(Z.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&0.05<yZ-kZ&&yJ(Z,kZ,yZ,"Disconnect")):WU(Z);break;default:WU(Z)}(Z.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&(mX||0.05<hX)&&vJ(Z,kZ,yZ,hX,xX),VQ(X),gJ(Y),mX=G,xX=J}function zL(Z){var X=Z.deletions;if((Z.flags&16)!==0){if(X!==null)for(var Y=0;Y<X.length;Y++){var J=X[Y],G=wQ();OY=J,h4(J,Z),(J.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&0.05<yZ-kZ&&yJ(J,kZ,yZ,"Unmount"),VQ(G)}x4(Z)}for(Z=Z.child;Z!==null;)v4(Z),Z=Z.sibling}function v4(Z){var X=wQ(),Y=bJ(),J=mJ(),G=fJ();switch(Z.tag){case 0:case 11:case 15:gF(Z,Z.return,aY),zL(Z);break;case 22:var H=Z.stateNode;H._visibility&kq&&(H._visibility&=~kq,zL(Z));break;default:zL(Z)}(Z.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&(mX||0.05<hX)&&vJ(Z,kZ,yZ,hX,xX),VQ(X),gJ(Y),mX=G,xX=J}function h4(Z,X){for(;OY!==null;){var Y=OY,J=Y,G=X,H=wQ(),U=bJ(),B=mJ(),F=fJ();switch(J.tag){case 0:case 11:case 15:gF(J,G,aY);break;case 23:case 22:J.memoizedState!==null&&J.memoizedState.cachePool!==null&&(G=J.memoizedState.cachePool.pool,G!=null&&EH(G));break;case 24:aW(J.memoizedState.cache)}if((J.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&(mX||0.05<hX)&&vJ(J,kZ,yZ,hX,xX),VQ(H),gJ(U),mX=F,xX=B,J=Y.child,J!==null)J.return=Y,OY=J;else Z:for(Y=Z;OY!==null;){if(J=OY,H=J.sibling,U=J.return,w4(J),J===Y){OY=null;break Z}if(H!==null){H.return=U,OY=H;break Z}OY=U}}}function tD(){NE.forEach(function(Z){return Z()})}function b4(){var Z=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return Z||s.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),Z}function jQ(Z){if((zX&WY)!==MY&&sZ!==0)return sZ&-sZ;var X=s.T;return X!==null?(X._updatedFibers||(X._updatedFibers=new Set),X._updatedFibers.add(Z),rF()):d()}function g4(){if(HQ===0)if((sZ&536870912)===0||QX){var Z=PL;PL<<=1,(PL&3932160)===0&&(PL=262144),HQ=Z}else HQ=536870912;return Z=EQ.current,Z!==null&&(Z.flags|=32),HQ}function gX(Z,X,Y){if(d_&&console.error("useInsertionEffect must not schedule updates."),k9&&(KA=!0),Z===RX&&(NX===rH||NX===tH)||Z.cancelPendingCommit!==null)q_(Z,0),NG(Z,sZ,HQ,!1);if(HG(Z,Y),(zX&WY)!==MY&&Z===RX){if(rJ)switch(X.tag){case 0:case 11:case 15:Z=aZ&&n(aZ)||"Unknown",UT.has(Z)||(UT.add(Z),X=n(X)||"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",X,Z,Z));break;case 1:WT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),WT=!0)}}else eJ&&gW(Z,X,Y),z$(X),Z===RX&&((zX&WY)===MY&&(fG|=Y),bX===bG&&NG(Z,sZ,HQ,!1)),nJ(Z)}function m4(Z,X,Y){if((zX&(WY|xQ))!==MY)throw Error("Should not already be working.");if(sZ!==0&&aZ!==null){var J=aZ,G=LY();switch(QI){case YK:case rH:var H=mU;DX&&((J=J._debugTask)?J.run(console.timeStamp.bind(console,"Suspended",H,G,pQ,void 0,"primary-light")):console.timeStamp("Suspended",H,G,pQ,void 0,"primary-light"));break;case tH:H=mU,DX&&((J=J._debugTask)?J.run(console.timeStamp.bind(console,"Action",H,G,pQ,void 0,"primary-light")):console.timeStamp("Action",H,G,pQ,void 0,"primary-light"));break;default:DX&&(J=G-mU,3>J||console.timeStamp("Blocked",mU,G,pQ,void 0,5>J?"primary-light":10>J?"primary":100>J?"primary-dark":"error"))}}H=(Y=!Y&&(X&127)===0&&(X&Z.expiredLanes)===0||FH(Z,X))?Z$(Z,X):lF(Z,X,!0);var U=Y;do{if(H===cq){f_&&!Y&&NG(Z,X,0,!1),X=NX,mU=tX(),QI=X;break}else{if(J=LY(),G=Z.current.alternate,U&&!eD(G)){IQ(X),G=AY,H=J,!DX||H<=G||(lX?lX.run(console.timeStamp.bind(console,"Teared Render",G,H,eZ,tZ,"error")):console.timeStamp("Teared Render",G,H,eZ,tZ,"error")),bH(X,J),H=lF(Z,X,!1),U=!1;continue}if(H===oH){if(U=X,Z.errorRecoveryDisabledLanes&U)var B=0;else B=Z.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){IQ(X),PM(AY,J,X,lX),bH(X,J),X=B;Z:{J=Z,H=U,U=JK;var F=J.current.memoizedState.isDehydrated;if(F&&(q_(J,B).flags|=256),B=lF(J,B,!1),B!==oH){if(R9&&!F){J.errorRecoveryDisabledLanes|=H,fG|=H,H=bG;break Z}J=oY,oY=U,J!==null&&(oY===null?oY=J:oY.push.apply(oY,J))}H=B}if(U=!1,H!==oH)continue;else J=LY()}}if(H===XK){IQ(X),PM(AY,J,X,lX),bH(X,J),q_(Z,0),NG(Z,X,0,!0);break}Z:{switch(Y=Z,H){case cq:case XK:throw Error("Root did not complete. This is a bug in React.");case bG:if((X&4194048)!==X)break;case JA:IQ(X),m8(AY,J,X,lX),bH(X,J),G=X,(G&127)!==0?cL=J:(G&4194048)!==0&&(pL=J),NG(Y,X,HQ,!gG);break Z;case oH:oY=null;break;case QA:case rI:break;default:throw Error("Unknown root exit status.")}if(s.actQueue!==null)iF(Y,G,X,oY,qK,HA,HQ,fG,eH,H,null,null,AY,J);else{if((X&62914560)===X&&(U=zA+ZT-LY(),10<U)){if(NG(Y,X,HQ,!gG),MH(Y,0,!0)!==0)break Z;IJ=X,Y.timeoutHandle=NT(f4.bind(null,Y,G,oY,qK,HA,X,HQ,fG,eH,gG,H,"Throttled",AY,J),U);break Z}f4(Y,G,oY,qK,HA,X,HQ,fG,eH,gG,H,null,AY,J)}}}break}while(1);nJ(Z)}function f4(Z,X,Y,J,G,H,U,B,F,T,x,v,$,c){Z.timeoutHandle=Jz;var GZ=X.subtreeFlags,AZ=null;if(GZ&8192||(GZ&16785408)===16785408){if(AZ={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:wq},k4(X,H,AZ),GZ=(H&62914560)===H?zA-LY():(H&4194048)===H?eI-LY():0,GZ=f$(AZ,GZ),GZ!==null){IJ=H,Z.cancelPendingCommit=GZ(iF.bind(null,Z,X,H,Y,J,G,U,B,F,x,AZ,AZ.waitingForViewTransition?"Waiting for the previous Animation":0<AZ.count?0<AZ.imgCount?"Suspended on CSS and Images":"Suspended on CSS":AZ.imgCount===1?"Suspended on an Image":0<AZ.imgCount?"Suspended on Images":null,$,c)),NG(Z,H,U,!T);return}}iF(Z,X,H,Y,J,G,U,B,F,x,AZ,v,$,c)}function eD(Z){for(var X=Z;;){var Y=X.tag;if((Y===0||Y===11||Y===15)&&X.flags&16384&&(Y=X.updateQueue,Y!==null&&(Y=Y.stores,Y!==null)))for(var J=0;J<Y.length;J++){var G=Y[J],H=G.getSnapshot;G=G.value;try{if(!iY(H(),G))return!1}catch(U){return!1}}if(Y=X.child,X.subtreeFlags&16384&&Y!==null)Y.return=X,X=Y;else{if(X===Z)break;for(;X.sibling===null;){if(X.return===null||X.return===Z)return!0;X=X.return}X.sibling.return=X.return,X=X.sibling}}return!0}function NG(Z,X,Y,J){X&=~j9,X&=~fG,Z.suspendedLanes|=X,Z.pingedLanes&=~X,J&&(Z.warmLanes|=X),J=Z.expirationTimes;for(var G=X;0<G;){var H=31-cY(G),U=1<<H;J[H]=-1,G&=~U}Y!==0&&NH(Z,Y,X)}function J_(){return(zX&(WY|xQ))===MY?(BU(0,!1),!1):!0}function pF(){if(aZ!==null){if(NX===GQ)var Z=aZ.return;else Z=aZ,SB(),XF(Z),E_=null,sU=0,Z=aZ;for(;Z!==null;)U4(Z.alternate,Z),Z=Z.return;aZ=null}}function bH(Z,X){(Z&127)!==0&&(kG=X),(Z&4194048)!==0&&(Jq=X),(Z&62914560)!==0&&(XI=X),(Z&2080374784)!==0&&(YI=X)}function q_(Z,X){DX&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",tZ,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",tZ,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",tZ,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",tZ,"primary-light"));var Y=AY;if(AY=tX(),sZ!==0&&0<Y){if(IQ(sZ),bX===QA||bX===bG)m8(Y,AY,X,lX);else{var J=AY,G=lX;if(DX&&!(J<=Y)){var H=(X&738197653)===X?"tertiary-dark":"primary-dark",U=(X&536870912)===X?"Prewarm":(X&201326741)===X?"Interrupted Hydration":"Interrupted Render";G?G.run(console.timeStamp.bind(console,U,Y,J,eZ,tZ,H)):console.timeStamp(U,Y,J,eZ,tZ,H)}}bH(sZ,AY)}if(Y=lX,lX=null,(X&127)!==0){lX=hU,G=0<=Qq&&Qq<kG?kG:Qq,J=0<=dH&&dH<kG?kG:dH,H=0<=J?J:0<=G?G:AY,0<=cL?(IQ(2),f8(cL,H,X,Y)):(lL&127)!==0&&(IQ(2),nW(kG,H,gq)),Y=G;var B=J,F=bU,T=0<D_,x=xG===vU,v=xG===dL;if(G=AY,J=hU,H=Q9,U=J9,DX){if(eZ="Blocking",0<Y?Y>G&&(Y=G):Y=G,0<B?B>Y&&(B=Y):B=Y,F!==null&&Y>B){var $=T?"secondary-light":"warning";J?J.run(console.timeStamp.bind(console,T?"Consecutive":"Event: "+F,B,Y,eZ,tZ,$)):console.timeStamp(T?"Consecutive":"Event: "+F,B,Y,eZ,tZ,$)}G>Y&&(B=x?"error":(X&738197653)===X?"tertiary-light":"primary-light",x=v?"Promise Resolved":x?"Cascading Update":5<G-Y?"Update Blocked":"Update",v=[],U!=null&&v.push(["Component name",U]),H!=null&&v.push(["Method name",H]),Y={start:Y,end:G,detail:{devtools:{properties:v,track:eZ,trackGroup:tZ,color:B}}},J?J.run(performance.measure.bind(performance,x,Y)):performance.measure(x,Y))}Qq=-1.1,xG=0,J9=Q9=null,cL=-1.1,D_=dH,dH=-1.1,kG=tX()}if((X&4194048)!==0&&(lX=gU,G=0<=bq&&bq<Jq?Jq:bq,Y=0<=oQ&&oQ<Jq?Jq:oQ,J=0<=yG&&yG<Jq?Jq:yG,H=0<=J?J:0<=Y?Y:AY,0<=pL?(IQ(256),f8(pL,H,X,lX)):(lL&4194048)!==0&&(IQ(256),nW(Jq,H,gq)),v=J,B=cH,F=0<vG,T=q9===dL,H=AY,J=gU,U=e7,x=ZI,DX&&(eZ="Transition",0<Y?Y>H&&(Y=H):Y=H,0<G?G>Y&&(G=Y):G=Y,0<v?v>G&&(v=G):v=G,G>v&&B!==null&&($=F?"secondary-light":"warning",J?J.run(console.timeStamp.bind(console,F?"Consecutive":"Event: "+B,v,G,eZ,tZ,$)):console.timeStamp(F?"Consecutive":"Event: "+B,v,G,eZ,tZ,$)),Y>G&&(J?J.run(console.timeStamp.bind(console,"Action",G,Y,eZ,tZ,"primary-dark")):console.timeStamp("Action",G,Y,eZ,tZ,"primary-dark")),H>Y&&(G=T?"Promise Resolved":5<H-Y?"Update Blocked":"Update",v=[],x!=null&&v.push(["Component name",x]),U!=null&&v.push(["Method name",U]),Y={start:Y,end:H,detail:{devtools:{properties:v,track:eZ,trackGroup:tZ,color:"primary-light"}}},J?J.run(performance.measure.bind(performance,G,Y)):performance.measure(G,Y))),oQ=bq=-1.1,q9=0,pL=-1.1,vG=yG,yG=-1.1,Jq=tX()),(X&62914560)!==0&&(lL&62914560)!==0&&(IQ(4194304),nW(XI,AY,gq)),(X&2080374784)!==0&&(lL&2080374784)!==0&&(IQ(268435456),nW(YI,AY,gq)),Y=Z.timeoutHandle,Y!==Jz&&(Z.timeoutHandle=Jz,kE(Y)),Y=Z.cancelPendingCommit,Y!==null&&(Z.cancelPendingCommit=null,Y()),IJ=0,pF(),RX=Z,aZ=Y=Vq(Z.current,null),sZ=X,NX=GQ,yQ=null,gG=!1,f_=FH(Z,X),R9=!1,bX=cq,eH=HQ=j9=fG=mG=0,oY=JK=null,HA=!1,(X&8)!==0&&(X|=X&32),J=Z.entangledLanes,J!==0)for(Z=Z.entanglements,J&=X;0<J;)G=31-cY(J),H=1<<G,X|=Z[G],J&=~H;return Gq=X,jB(),Z=n7(),1000<Z-i7&&(s.recentlyCreatedOwnerStacks=0,i7=Z),MJ.discardPendingWarnings(),Y}function u4(Z,X){bZ=null,s.H=tU,s.getCurrentStack=null,rJ=!1,DQ=null,X===S_||X===aL?(X=z1(),NX=YK):X===_9?(X=z1(),NX=tI):NX=X===N9?V9:X!==null&&typeof X==="object"&&typeof X.then==="function"?QK:qA,yQ=X;var Y=aZ;Y===null?(bX=XK,XL(Z,TQ(X,Z.current))):Y.mode&iZ&&dM(Y)}function d4(){var Z=EQ.current;return Z===null?!0:(sZ&4194048)===sZ?rQ===null?!0:!1:(sZ&62914560)===sZ||(sZ&536870912)!==0?Z===rQ:!1}function c4(){var Z=s.H;return s.H=tU,Z===null?tU:Z}function p4(){var Z=s.A;return s.A=FE,Z}function _L(Z){lX===null&&(lX=Z._debugTask==null?null:Z._debugTask)}function WL(){bX=bG,gG||(sZ&4194048)!==sZ&&EQ.current!==null||(f_=!0),(mG&134217727)===0&&(fG&134217727)===0||RX===null||NG(RX,sZ,HQ,!1)}function lF(Z,X,Y){var J=zX;zX|=WY;var G=c4(),H=p4();if(RX!==Z||sZ!==X){if(eJ){var U=Z.memoizedUpdaters;0<U.size&&(KU(Z,sZ),U.clear()),zG(Z,X)}qK=null,q_(Z,X)}X=!1,U=bX;Z:do try{if(NX!==GQ&&aZ!==null){var B=aZ,F=yQ;switch(NX){case V9:pF(),U=JA;break Z;case YK:case rH:case tH:case QK:EQ.current===null&&(X=!0);var T=NX;if(NX=GQ,yQ=null,G_(Z,B,F,T),Y&&f_){U=cq;break Z}break;default:T=NX,NX=GQ,yQ=null,G_(Z,B,F,T)}}l4(),U=bX;break}catch(x){u4(Z,x)}while(1);return X&&Z.shellSuspendCounter++,SB(),zX=J,s.H=G,s.A=H,aZ===null&&(RX=null,sZ=0,jB()),U}function l4(){for(;aZ!==null;)i4(aZ)}function Z$(Z,X){var Y=zX;zX|=WY;var J=c4(),G=p4();if(RX!==Z||sZ!==X){if(eJ){var H=Z.memoizedUpdaters;0<H.size&&(KU(Z,sZ),H.clear()),zG(Z,X)}qK=null,_A=LY()+XT,q_(Z,X)}else f_=FH(Z,X);Z:do try{if(NX!==GQ&&aZ!==null)X:switch(X=aZ,H=yQ,NX){case qA:NX=GQ,yQ=null,G_(Z,X,H,qA);break;case rH:case tH:if(G1(H)){NX=GQ,yQ=null,n4(X);break}X=function(){NX!==rH&&NX!==tH||RX!==Z||(NX=GA),nJ(Z)},H.then(X,X);break Z;case YK:NX=GA;break Z;case tI:NX=w9;break Z;case GA:G1(H)?(NX=GQ,yQ=null,n4(X)):(NX=GQ,yQ=null,G_(Z,X,H,GA));break;case w9:var U=null;switch(aZ.tag){case 26:U=aZ.memoizedState;case 5:case 27:var B=aZ;if(U?mN(U):B.stateNode.complete){NX=GQ,yQ=null;var F=B.sibling;if(F!==null)aZ=F;else{var T=B.return;T!==null?(aZ=T,UL(T)):aZ=null}break X}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}NX=GQ,yQ=null,G_(Z,X,H,w9);break;case QK:NX=GQ,yQ=null,G_(Z,X,H,QK);break;case V9:pF(),bX=JA;break Z;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}s.actQueue!==null?l4():X$();break}catch(x){u4(Z,x)}while(1);if(SB(),s.H=J,s.A=G,zX=Y,aZ!==null)return cq;return RX=null,sZ=0,jB(),bX}function X$(){for(;aZ!==null&&!e$();)i4(aZ)}function i4(Z){var X=Z.alternate;(Z.mode&iZ)!==hZ?(uM(Z),X=BZ(Z,vF,X,Z,Gq),dM(Z)):X=BZ(Z,vF,X,Z,Gq),Z.memoizedProps=Z.pendingProps,X===null?UL(Z):aZ=X}function n4(Z){var X=BZ(Z,Y$,Z);Z.memoizedProps=Z.pendingProps,X===null?UL(Z):aZ=X}function Y$(Z){var X=Z.alternate,Y=(Z.mode&iZ)!==hZ;switch(Y&&uM(Z),Z.tag){case 15:case 0:X=J4(X,Z,Z.pendingProps,Z.type,void 0,sZ);break;case 11:X=J4(X,Z,Z.pendingProps,Z.type.render,Z.ref,sZ);break;case 5:XF(Z);default:U4(X,Z),Z=aZ=i8(Z,Gq),X=vF(X,Z,Gq)}return Y&&dM(Z),X}function G_(Z,X,Y,J){SB(),XF(X),E_=null,sU=0;var G=X.return;try{if(fD(Z,G,X,Y,sZ)){bX=XK,XL(Z,TQ(Y,Z.current)),aZ=null;return}}catch(H){if(G!==null)throw aZ=G,H;bX=XK,XL(Z,TQ(Y,Z.current)),aZ=null;return}if(X.flags&32768){if(QX||J===qA)Z=!0;else if(f_||(sZ&536870912)!==0)Z=!1;else if(gG=Z=!0,J===rH||J===tH||J===YK||J===QK)J=EQ.current,J!==null&&J.tag===13&&(J.flags|=16384);s4(X,Z)}else UL(X)}function UL(Z){var X=Z;do{if((X.flags&32768)!==0){s4(X,gG);return}var Y=X.alternate;if(Z=X.return,uM(X),Y=BZ(X,cD,Y,X,Gq),(X.mode&iZ)!==hZ&&X1(X),Y!==null){aZ=Y;return}if(X=X.sibling,X!==null){aZ=X;return}aZ=X=Z}while(X!==null);bX===cq&&(bX=rI)}function s4(Z,X){do{var Y=pD(Z.alternate,Z);if(Y!==null){Y.flags&=32767,aZ=Y;return}if((Z.mode&iZ)!==hZ){X1(Z),Y=Z.actualDuration;for(var J=Z.child;J!==null;)Y+=J.actualDuration,J=J.sibling;Z.actualDuration=Y}if(Y=Z.return,Y!==null&&(Y.flags|=32768,Y.subtreeFlags=0,Y.deletions=null),!X&&(Z=Z.sibling,Z!==null)){aZ=Z;return}aZ=Z=Y}while(Z!==null);bX=JA,aZ=null}function iF(Z,X,Y,J,G,H,U,B,F,T,x,v,$,c){Z.cancelPendingCommit=null;do UU();while(QY!==dG);if(MJ.flushLegacyContextWarning(),MJ.flushPendingUnsafeLifecycleWarnings(),(zX&(WY|xQ))!==MY)throw Error("Should not already be working.");if(IQ(Y),T===oH?PM($,c,Y,lX):J!==null?PD($,c,Y,J,X!==null&&X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)!==0,lX):CD($,c,Y,lX),X!==null){if(Y===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),X===Z.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(H=X.lanes|X.childLanes,H|=t0,LB(Z,Y,H,U,B,F),Z===RX&&(aZ=RX=null,sZ=0),u_=X,cG=Z,IJ=Y,D9=H,S9=G,HT=J,$9=c,zT=v,TJ=WA,_T=null,X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0?(Z.callbackNode=null,Z.callbackPriority=0,H$(K_,function(){return UK=window.event,TJ===WA&&(TJ=P9),e4(),null})):(Z.callbackNode=null,Z.callbackPriority=0),hq=null,EG=tX(),v!==null&&DD(c,EG,v,lX),J=(X.flags&13878)!==0,(X.subtreeFlags&13878)!==0||J){J=s.T,s.T=null,G=MX.p,MX.p=$Q,U=zX,zX|=xQ;try{oD(Z,X,Y)}finally{zX=U,MX.p=G,s.T=J}}QY=QT,a4(),o4(),r4()}}function a4(){if(QY===QT){QY=dG;var Z=cG,X=u_,Y=IJ,J=(X.flags&13878)!==0;if((X.subtreeFlags&13878)!==0||J){J=s.T,s.T=null;var G=MX.p;MX.p=$Q;var H=zX;zX|=xQ;try{g_=Y,m_=Z,yB(),C4(X,Z),m_=g_=null,Y=u9;var U=h8(Z.containerInfo),B=Y.focusedElem,F=Y.selectionRange;if(U!==B&&B&&B.ownerDocument&&v8(B.ownerDocument.documentElement,B)){if(F!==null&&RM(B)){var{start:T,end:x}=F;if(x===void 0&&(x=T),"selectionStart"in B)B.selectionStart=T,B.selectionEnd=Math.min(x,B.value.length);else{var v=B.ownerDocument||document,$=v&&v.defaultView||window;if($.getSelection){var c=$.getSelection(),GZ=B.textContent.length,AZ=Math.min(F.start,GZ),PX=F.end===void 0?AZ:Math.min(F.end,GZ);!c.extend&&AZ>PX&&(U=PX,PX=AZ,AZ=U);var GX=y8(B,AZ),D=y8(B,PX);if(GX&&D&&(c.rangeCount!==1||c.anchorNode!==GX.node||c.anchorOffset!==GX.offset||c.focusNode!==D.node||c.focusOffset!==D.offset)){var S=v.createRange();S.setStart(GX.node,GX.offset),c.removeAllRanges(),AZ>PX?(c.addRange(S),c.extend(D.node,D.offset)):(S.setEnd(D.node,D.offset),c.addRange(S))}}}}v=[];for(c=B;c=c.parentNode;)c.nodeType===1&&v.push({element:c,left:c.scrollLeft,top:c.scrollTop});typeof B.focus==="function"&&B.focus();for(B=0;B<v.length;B++){var k=v[B];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}CA=!!f9,u9=f9=null}finally{zX=H,MX.p=G,s.T=J}}Z.current=X,QY=JT}}function o4(){if(QY===JT){QY=dG;var Z=_T;if(Z!==null){EG=tX();var X=vq,Y=EG;!DX||Y<=X||(gq?gq.run(console.timeStamp.bind(console,Z,X,Y,eZ,tZ,"secondary-light")):console.timeStamp(Z,X,Y,eZ,tZ,"secondary-light"))}Z=cG,X=u_,Y=IJ;var J=(X.flags&8772)!==0;if((X.subtreeFlags&8772)!==0||J){J=s.T,s.T=null;var G=MX.p;MX.p=$Q;var H=zX;zX|=xQ;try{g_=Y,m_=Z,yB(),T4(Z,X.alternate,X),m_=g_=null}finally{zX=H,MX.p=G,s.T=J}}Z=$9,X=zT,vq=tX(),Z=X===null?Z:EG,X=vq,Y=TJ===C9,J=lX,hq!==null?u8(Z,X,hq,!1,J):!DX||X<=Z||(J?J.run(console.timeStamp.bind(console,Y?"Commit Interrupted View Transition":"Commit",Z,X,eZ,tZ,Y?"error":"secondary-dark")):console.timeStamp(Y?"Commit Interrupted View Transition":"Commit",Z,X,eZ,tZ,Y?"error":"secondary-dark")),QY=qT}}function r4(){if(QY===GT||QY===qT){if(QY===GT){var Z=vq;vq=tX();var X=vq,Y=TJ===C9;!DX||X<=Z||(gq?gq.run(console.timeStamp.bind(console,Y?"Interrupted View Transition":"Starting Animation",Z,X,eZ,tZ,Y?"error":"secondary-light")):console.timeStamp(Y?"Interrupted View Transition":"Starting Animation",Z,X,eZ,tZ,Y?" error":"secondary-light")),TJ!==C9&&(TJ=YT)}QY=dG,ZS(),Z=cG;var J=u_;X=IJ,Y=HT;var G=J.actualDuration!==0||(J.subtreeFlags&10256)!==0||(J.flags&10256)!==0;G?QY=UA:(QY=dG,u_=cG=null,t4(Z,Z.pendingLanes),Zz=0,HK=null);var H=Z.pendingLanes;if(H===0&&(uG=null),G||QN(Z),H=V(X),J=J.stateNode,gY&&typeof gY.onCommitFiberRoot==="function")try{var U=(J.current.flags&128)===128;switch(H){case $Q:var B=S0;break;case AJ:B=E0;break;case Zq:B=K_;break;case $L:B=k0;break;default:B=K_}gY.onCommitFiberRoot(B_,J,B,U)}catch(v){tJ||(tJ=!0,console.error("React instrumentation encountered an error: %o",v))}if(eJ&&Z.memoizedUpdaters.clear(),tD(),Y!==null){U=s.T,B=MX.p,MX.p=$Q,s.T=null;try{var F=Z.onRecoverableError;for(J=0;J<Y.length;J++){var T=Y[J],x=Q$(T.stack);BZ(T.source,F,T.value,x)}}finally{s.T=U,MX.p=B}}(IJ&3)!==0&&UU(),nJ(Z),H=Z.pendingLanes,(X&261930)!==0&&(H&42)!==0?(nL=!0,Z===E9?GK++:(GK=0,E9=Z)):GK=0,G||bH(X,vq),BU(0,!1)}}function Q$(Z){return Z={componentStack:Z},Object.defineProperty(Z,"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.')}}),Z}function t4(Z,X){(Z.pooledCacheLanes&=X)===0&&(X=Z.pooledCache,X!=null&&(Z.pooledCache=null,aW(X)))}function UU(){return a4(),o4(),r4(),e4()}function e4(){if(QY!==UA)return!1;var Z=cG,X=D9;D9=0;var Y=V(IJ),J=Zq===0||Zq>Y?Zq:Y;Y=s.T;var G=MX.p;try{MX.p=J,s.T=null;var H=S9;S9=null,J=cG;var U=IJ;if(QY=dG,u_=cG=null,IJ=0,(zX&(WY|xQ))!==MY)throw Error("Cannot flush passive effects while already rendering.");IQ(U),k9=!0,KA=!1;var B=0;if(hq=null,B=LY(),TJ===YT)nW(vq,B,gq);else{var F=vq,T=B,x=TJ===P9;!DX||T<=F||(lX?lX.run(console.timeStamp.bind(console,x?"Waiting for Paint":"Waiting",F,T,eZ,tZ,"secondary-light")):console.timeStamp(x?"Waiting for Paint":"Waiting",F,T,eZ,tZ,"secondary-light"))}F=zX,zX|=xQ;var v=J.current;yB(),y4(v);var $=J.current;v=$9,yB(),S4(J,$,U,H,v),QN(J),zX=F;var c=LY();if($=B,v=lX,hq!==null?u8($,c,hq,!0,v):!DX||c<=$||(v?v.run(console.timeStamp.bind(console,"Remaining Effects",$,c,eZ,tZ,"secondary-dark")):console.timeStamp("Remaining Effects",$,c,eZ,tZ,"secondary-dark")),bH(U,c),BU(0,!1),KA?J===HK?Zz++:(Zz=0,HK=J):Zz=0,KA=k9=!1,gY&&typeof gY.onPostCommitFiberRoot==="function")try{gY.onPostCommitFiberRoot(B_,J)}catch(AZ){tJ||(tJ=!0,console.error("React instrumentation encountered an error: %o",AZ))}var GZ=J.current.stateNode;return GZ.effectDuration=0,GZ.passiveEffectDuration=0,!0}finally{MX.p=G,s.T=Y,t4(Z,X)}}function ZN(Z,X,Y){X=TQ(Y,X),Y1(X),X=RF(Z.stateNode,X,2),Z=AG(Z,X,2),Z!==null&&(HG(Z,2),nJ(Z))}function OX(Z,X,Y){if(d_=!1,Z.tag===3)ZN(Z,Z,Y);else{for(;X!==null;){if(X.tag===3){ZN(X,Z,Y);return}if(X.tag===1){var J=X.stateNode;if(typeof X.type.getDerivedStateFromError==="function"||typeof J.componentDidCatch==="function"&&(uG===null||!uG.has(J))){Z=TQ(Y,Z),Y1(Z),Y=jF(2),J=AG(X,Y,2),J!==null&&(CF(Y,J,X,Z),HG(J,2),nJ(J));return}}X=X.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.
|
|
159
|
-
|
|
160
|
-
Error message:
|
|
161
|
-
|
|
162
|
-
%s`,Y)}}function nF(Z,X,Y){var J=Z.pingCache;if(J===null){J=Z.pingCache=new IE;var G=new Set;J.set(X,G)}else G=J.get(X),G===void 0&&(G=new Set,J.set(X,G));G.has(Y)||(R9=!0,G.add(Y),J=J$.bind(null,Z,X,Y),eJ&&KU(Z,Y),X.then(J,J))}function J$(Z,X,Y){var J=Z.pingCache;J!==null&&J.delete(X),Z.pingedLanes|=Z.suspendedLanes&Y,Z.warmLanes&=~Y,(Y&127)!==0?0>Qq&&(kG=Qq=tX(),hU=uL("Promise Resolved"),xG=dL):(Y&4194048)!==0&&0>oQ&&(Jq=oQ=tX(),gU=uL("Promise Resolved"),q9=dL),b4()&&s.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
163
|
-
|
|
164
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
165
|
-
|
|
166
|
-
act(() => {
|
|
167
|
-
/* finish loading suspended data */
|
|
168
|
-
});
|
|
169
|
-
/* assert on the output */
|
|
170
|
-
|
|
171
|
-
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`),RX===Z&&(sZ&Y)===Y&&(bX===bG||bX===QA&&(sZ&62914560)===sZ&&LY()-zA<ZT?(zX&WY)===MY&&q_(Z,0):j9|=Y,eH===sZ&&(eH=0)),nJ(Z)}function XN(Z,X){X===0&&(X=pz()),Z=bY(Z,X),Z!==null&&(HG(Z,X),nJ(Z))}function q$(Z){var X=Z.memoizedState,Y=0;X!==null&&(Y=X.retryLane),XN(Z,Y)}function G$(Z,X){var Y=0;switch(Z.tag){case 31:case 13:var{stateNode:J,memoizedState:G}=Z;G!==null&&(Y=G.retryLane);break;case 19:J=Z.stateNode;break;case 22:J=Z.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}J!==null&&J.delete(X),XN(Z,Y)}function sF(Z,X,Y){if((X.subtreeFlags&67117056)!==0)for(X=X.child;X!==null;){var J=Z,G=X,H=G.type===VL;H=Y||H,G.tag!==22?G.flags&67108864?H&&BZ(G,YN,J,G):sF(J,G,H):G.memoizedState===null&&(H&&G.flags&8192?BZ(G,YN,J,G):G.subtreeFlags&67108864&&BZ(G,sF,J,G,H)),X=X.sibling}}function YN(Z,X){jX(!0);try{D4(X),v4(X),$4(Z,X.alternate,X,!1),E4(Z,X,0,null,!1,0)}finally{jX(!1)}}function QN(Z){var X=!0;Z.current.mode&(mY|OJ)||(X=!1),sF(Z,Z.current,X)}function JN(Z){if((zX&WY)===MY){var X=Z.tag;if(X===3||X===1||X===0||X===11||X===14||X===15){if(X=n(Z)||"ReactComponent",BA!==null){if(BA.has(X))return;BA.add(X)}else BA=new Set([X]);BZ(Z,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 KU(Z,X){eJ&&Z.memoizedUpdaters.forEach(function(Y){gW(Z,Y,X)})}function H$(Z,X){var Y=s.actQueue;return Y!==null?(Y.push(X),VE):$0(Z,X)}function z$(Z){b4()&&s.actQueue===null&&BZ(Z,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
172
|
-
|
|
173
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
174
|
-
|
|
175
|
-
act(() => {
|
|
176
|
-
/* fire events that update state */
|
|
177
|
-
});
|
|
178
|
-
/* assert on the output */
|
|
179
|
-
|
|
180
|
-
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`,n(Z))})}function nJ(Z){Z!==c_&&Z.next===null&&(c_===null?LA=c_=Z:c_=c_.next=Z),AA=!0,s.actQueue!==null?y9||(y9=!0,zN()):x9||(x9=!0,zN())}function BU(Z,X){if(!v9&&AA){v9=!0;do{var Y=!1;for(var J=LA;J!==null;){if(!X)if(Z!==0){var G=J.pendingLanes;if(G===0)var H=0;else{var{suspendedLanes:U,pingedLanes:B}=J;H=(1<<31-cY(42|Z)+1)-1,H&=G&~(U&~B),H=H&201326741?H&201326741|1:H?H|2:0}H!==0&&(Y=!0,HN(J,H))}else H=sZ,H=MH(J,J===RX?H:0,J.cancelPendingCommit!==null||J.timeoutHandle!==Jz),(H&3)===0||FH(J,H)||(Y=!0,HN(J,H));J=J.next}}while(Y);v9=!1}}function _$(){UK=window.event,aF()}function aF(){AA=y9=x9=!1;var Z=0;pG!==0&&O$()&&(Z=pG);for(var X=LY(),Y=null,J=LA;J!==null;){var G=J.next,H=qN(J,X);if(H===0)J.next=null,Y===null?LA=G:Y.next=G,G===null&&(c_=Y);else if(Y=J,Z!==0||(H&3)!==0)AA=!0;J=G}QY!==dG&&QY!==UA||BU(Z,!1),pG!==0&&(pG=0)}function qN(Z,X){for(var{suspendedLanes:Y,pingedLanes:J,expirationTimes:G}=Z,H=Z.pendingLanes&-62914561;0<H;){var U=31-cY(H),B=1<<U,F=G[U];if(F===-1){if((B&Y)===0||(B&J)!==0)G[U]=BM(B,X)}else F<=X&&(Z.expiredLanes|=B);H&=~B}if(X=RX,Y=sZ,Y=MH(Z,Z===X?Y:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==Jz),J=Z.callbackNode,Y===0||Z===X&&(NX===rH||NX===tH)||Z.cancelPendingCommit!==null)return J!==null&&oF(J),Z.callbackNode=null,Z.callbackPriority=0;if((Y&3)===0||FH(Z,Y)){if(X=Y&-Y,X!==Z.callbackPriority||s.actQueue!==null&&J!==h9)oF(J);else return X;switch(V(Y)){case $Q:case AJ:Y=E0;break;case Zq:Y=K_;break;case $L:Y=k0;break;default:Y=K_}return J=GN.bind(null,Z),s.actQueue!==null?(s.actQueue.push(J),Y=h9):Y=$0(Y,J),Z.callbackPriority=X,Z.callbackNode=Y,X}return J!==null&&oF(J),Z.callbackPriority=2,Z.callbackNode=null,2}function GN(Z,X){if(nL=iL=!1,UK=window.event,QY!==dG&&QY!==UA)return Z.callbackNode=null,Z.callbackPriority=0,null;var Y=Z.callbackNode;if(TJ===WA&&(TJ=P9),UU()&&Z.callbackNode!==Y)return null;var J=sZ;if(J=MH(Z,Z===RX?J:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==Jz),J===0)return null;return m4(Z,J,X),qN(Z,LY()),Z.callbackNode!=null&&Z.callbackNode===Y?GN.bind(null,Z):null}function HN(Z,X){if(UU())return null;iL=nL,nL=!1,m4(Z,X,!0)}function oF(Z){Z!==h9&&Z!==null&&t$(Z)}function zN(){s.actQueue!==null&&s.actQueue.push(function(){return aF(),null}),xE(function(){(zX&(WY|xQ))!==MY?$0(S0,_$):aF()})}function rF(){if(pG===0){var Z=pH;Z===0&&(Z=CL,CL<<=1,(CL&261888)===0&&(CL=256)),pG=Z}return pG}function _N(Z){if(Z==null||typeof Z==="symbol"||typeof Z==="boolean")return null;if(typeof Z==="function")return Z;return $Z(Z,"action"),pW(""+Z)}function WN(Z,X){var Y=X.ownerDocument.createElement("input");return Y.name=X.name,Y.value=X.value,Z.id&&Y.setAttribute("form",Z.id),X.parentNode.insertBefore(Y,X),Z=new FormData(Z),Y.parentNode.removeChild(Y),Z}function W$(Z,X,Y,J,G){if(X==="submit"&&Y&&Y.stateNode===G){var H=_N((G[pY]||null).action),U=J.submitter;U&&(X=(X=U[pY]||null)?_N(X.formAction):U.getAttribute("formAction"),X!==null&&(H=X,U=null));var B=new yL("action","action",null,J,G);Z.push({event:B,listeners:[{instance:null,listener:function(){if(J.defaultPrevented){if(pG!==0){var F=U?WN(G,U):new FormData(G),T={pending:!0,data:F,method:G.method,action:H};Object.freeze(T),MF(Y,T,null,F)}}else typeof H==="function"&&(B.preventDefault(),F=U?WN(G,U):new FormData(G),T={pending:!0,data:F,method:G.method,action:H},Object.freeze(T),MF(Y,T,H,F))},currentTarget:G}]})}}function KL(Z,X,Y){Z.currentTarget=Y;try{X(Z)}catch(J){s0(J)}Z.currentTarget=null}function UN(Z,X){X=(X&4)!==0;for(var Y=0;Y<Z.length;Y++){var J=Z[Y];Z:{var G=void 0,H=J.event;if(J=J.listeners,X)for(var U=J.length-1;0<=U;U--){var B=J[U],F=B.instance,T=B.currentTarget;if(B=B.listener,F!==G&&H.isPropagationStopped())break Z;F!==null?BZ(F,KL,H,B,T):KL(H,B,T),G=F}else for(U=0;U<J.length;U++){if(B=J[U],F=B.instance,T=B.currentTarget,B=B.listener,F!==G&&H.isPropagationStopped())break Z;F!==null?BZ(F,KL,H,B,T):KL(H,B,T),G=F}}}}function qX(Z,X){b9.has(Z)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',Z);var Y=X[x0];Y===void 0&&(Y=X[x0]=new Set);var J=Z+"__bubble";Y.has(J)||(KN(X,Z,2,!1),Y.add(J))}function tF(Z,X,Y){b9.has(Z)&&!X&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',Z);var J=0;X&&(J|=4),KN(Y,Z,J,X)}function eF(Z){if(!Z[OA]){Z[OA]=!0,z7.forEach(function(Y){Y!=="selectionchange"&&(b9.has(Y)||tF(Y,!1,Z),tF(Y,!0,Z))});var X=Z.nodeType===9?Z:Z.ownerDocument;X===null||X[OA]||(X[OA]=!0,tF("selectionchange",!1,X))}}function KN(Z,X,Y,J){switch(lN(X)){case $Q:var G=p$;break;case AJ:G=l$;break;default:G=A0}Y=G.bind(null,X,Y,Z),G=void 0,!g0||X!=="touchstart"&&X!=="touchmove"&&X!=="wheel"||(G=!0),J?G!==void 0?Z.addEventListener(X,Y,{capture:!0,passive:G}):Z.addEventListener(X,Y,!0):G!==void 0?Z.addEventListener(X,Y,{passive:G}):Z.addEventListener(X,Y,!1)}function Z0(Z,X,Y,J,G){var H=J;if((X&1)===0&&(X&2)===0&&J!==null)Z:for(;;){if(J===null)return;var U=J.tag;if(U===3||U===4){var B=J.stateNode.containerInfo;if(B===G)break;if(U===4)for(U=J.return;U!==null;){var F=U.tag;if((F===3||F===4)&&U.stateNode.containerInfo===G)return;U=U.return}for(;B!==null;){if(U=RZ(B),U===null)return;if(F=U.tag,F===5||F===6||F===26||F===27){J=H=U;continue Z}B=B.parentNode}}J=J.return}V8(function(){var T=H,x=wM(Y),v=[];Z:{var $=l7.get(Z);if($!==void 0){var c=yL,GZ=Z;switch(Z){case"keypress":if(IB(Y)===0)break Z;case"keydown":case"keyup":c=mS;break;case"focusin":GZ="focus",c=d0;break;case"focusout":GZ="blur",c=d0;break;case"beforeblur":case"afterblur":c=d0;break;case"click":if(Y.button===2)break Z;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=E7;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=PS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=dS;break;case u7:case d7:case c7:c=SS;break;case p7:c=pS;break;case"scroll":case"scrollend":c=jS;break;case"wheel":c=iS;break;case"copy":case"cut":case"paste":c=kS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=x7;break;case"toggle":case"beforetoggle":c=sS}var AZ=(X&4)!==0,PX=!AZ&&(Z==="scroll"||Z==="scrollend"),GX=AZ?$!==null?$+"Capture":null:$;AZ=[];for(var D=T,S;D!==null;){var k=D;if(S=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||S===null||GX===null||(k=lW(D,GX),k!=null&&AZ.push(LU(D,k,S))),PX)break;D=D.return}0<AZ.length&&($=new c($,GZ,null,Y,x),v.push({event:$,listeners:AZ}))}}if((X&7)===0){Z:{if($=Z==="mouseover"||Z==="pointerover",c=Z==="mouseout"||Z==="pointerout",$&&Y!==jU&&(GZ=Y.relatedTarget||Y.fromElement)&&(RZ(GZ)||GZ[jG]))break Z;if(c||$){if($=x.window===x?x:($=x.ownerDocument)?$.defaultView||$.parentWindow:window,c){if(GZ=Y.relatedTarget||Y.toElement,c=T,GZ=GZ?RZ(GZ):null,GZ!==null&&(PX=a(GZ),AZ=GZ.tag,GZ!==PX||AZ!==5&&AZ!==27&&AZ!==6))GZ=null}else c=null,GZ=T;if(c!==GZ){if(AZ=E7,k="onMouseLeave",GX="onMouseEnter",D="mouse",Z==="pointerout"||Z==="pointerover")AZ=x7,k="onPointerLeave",GX="onPointerEnter",D="pointer";if(PX=c==null?$:uZ(c),S=GZ==null?$:uZ(GZ),$=new AZ(k,D+"leave",c,Y,x),$.target=PX,$.relatedTarget=S,k=null,RZ(x)===T&&(AZ=new AZ(GX,D+"enter",GZ,Y,x),AZ.target=S,AZ.relatedTarget=PX,k=AZ),PX=k,c&&GZ)X:{AZ=U$,GX=c,D=GZ,S=0;for(k=GX;k;k=AZ(k))S++;k=0;for(var t=D;t;t=AZ(t))k++;for(;0<S-k;)GX=AZ(GX),S--;for(;0<k-S;)D=AZ(D),k--;for(;S--;){if(GX===D||D!==null&&GX===D.alternate){AZ=GX;break X}GX=AZ(GX),D=AZ(D)}AZ=null}else AZ=null;c!==null&&BN(v,$,c,AZ,!1),GZ!==null&&PX!==null&&BN(v,PX,GZ,AZ,!0)}}}Z:{if($=T?uZ(T):window,c=$.nodeName&&$.nodeName.toLowerCase(),c==="select"||c==="input"&&$.type==="file")var WZ=S8;else if(D8($))if(m7)WZ=VD;else{WZ=TD;var gZ=ID}else c=$.nodeName,!c||c.toLowerCase()!=="input"||$.type!=="checkbox"&&$.type!=="radio"?T&&cW(T.elementType)&&(WZ=S8):WZ=wD;if(WZ&&(WZ=WZ(Z,T))){$8(v,WZ,Y,x);break Z}gZ&&gZ(Z,$,T),Z==="focusout"&&T&&$.type==="number"&&T.memoizedProps.value!=null&&OM($,"number",$.value)}switch(gZ=T?uZ(T):window,Z){case"focusin":if(D8(gZ)||gZ.contentEditable==="true")I_=gZ,p0=T,kU=null;break;case"focusout":kU=p0=I_=null;break;case"mousedown":l0=!0;break;case"contextmenu":case"mouseup":case"dragend":l0=!1,b8(v,Y,x);break;case"selectionchange":if(tS)break;case"keydown":case"keyup":b8(v,Y,x)}var SZ;if(c0)Z:{switch(Z){case"compositionstart":var jZ="onCompositionStart";break Z;case"compositionend":jZ="onCompositionEnd";break Z;case"compositionupdate":jZ="onCompositionUpdate";break Z}jZ=void 0}else N_?C8(Z,Y)&&(jZ="onCompositionEnd"):Z==="keydown"&&Y.keyCode===y7&&(jZ="onCompositionStart");if(jZ&&(v7&&Y.locale!=="ko"&&(N_||jZ!=="onCompositionStart"?jZ==="onCompositionEnd"&&N_&&(SZ=R8()):(CG=x,m0=("value"in CG)?CG.value:CG.textContent,N_=!0)),gZ=BL(T,jZ),0<gZ.length&&(jZ=new k7(jZ,Z,null,Y,x),v.push({event:jZ,listeners:gZ}),SZ?jZ.data=SZ:(SZ=P8(Y),SZ!==null&&(jZ.data=SZ)))),SZ=oS?OD(Z,Y):MD(Z,Y))jZ=BL(T,"onBeforeInput"),0<jZ.length&&(gZ=new yS("onBeforeInput","beforeinput",null,Y,x),v.push({event:gZ,listeners:jZ}),gZ.data=SZ);W$(v,Z,T,Y,x)}UN(v,X)})}function LU(Z,X,Y){return{instance:Z,listener:X,currentTarget:Y}}function BL(Z,X){for(var Y=X+"Capture",J=[];Z!==null;){var G=Z,H=G.stateNode;if(G=G.tag,G!==5&&G!==26&&G!==27||H===null||(G=lW(Z,Y),G!=null&&J.unshift(LU(Z,G,H)),G=lW(Z,X),G!=null&&J.push(LU(Z,G,H))),Z.tag===3)return J;Z=Z.return}return[]}function U$(Z){if(Z===null)return null;do Z=Z.return;while(Z&&Z.tag!==5&&Z.tag!==27);return Z?Z:null}function BN(Z,X,Y,J,G){for(var H=X._reactName,U=[];Y!==null&&Y!==J;){var B=Y,F=B.alternate,T=B.stateNode;if(B=B.tag,F!==null&&F===J)break;B!==5&&B!==26&&B!==27||T===null||(F=T,G?(T=lW(Y,H),T!=null&&U.unshift(LU(Y,T,F))):G||(T=lW(Y,H),T!=null&&U.push(LU(Y,T,F)))),Y=Y.return}U.length!==0&&Z.push({event:X,listeners:U})}function X0(Z,X){KD(Z,X),Z!=="input"&&Z!=="textarea"&&Z!=="select"||X==null||X.value!==null||$7||($7=!0,Z==="select"&&X.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.",Z):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",Z));var Y={registrationNameDependencies:gH,possibleRegistrationNames:y0};cW(Z)||typeof X.is==="string"||LD(Z,X,Y),X.contentEditable&&!X.suppressContentEditableWarning&&X.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 BY(Z,X,Y,J){X!==Y&&(Y=IG(Y),IG(X)!==Y&&(J[Z]=X))}function K$(Z,X,Y){X.forEach(function(J){Y[ON(J)]=J==="style"?Q0(Z):Z.getAttribute(J)})}function sJ(Z,X){X===!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.",Z,Z,Z):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",Z,typeof X)}function LN(Z,X){return Z=Z.namespaceURI===EL||Z.namespaceURI===A_?Z.ownerDocument.createElementNS(Z.namespaceURI,Z.tagName):Z.ownerDocument.createElement(Z.tagName),Z.innerHTML=X,Z.innerHTML}function IG(Z){return vY(Z)&&(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.",MQ(Z)),oX(Z)),(typeof Z==="string"?Z:""+Z).replace(RE,`
|
|
181
|
-
`).replace(jE,"")}function AN(Z,X){return X=IG(X),IG(Z)===X?!0:!1}function wX(Z,X,Y,J,G,H){switch(Y){case"children":if(typeof J==="string")NB(J,X,!1),X==="body"||X==="textarea"&&J===""||dW(Z,J);else if(typeof J==="number"||typeof J==="bigint")NB(""+J,X,!1),X!=="body"&&dW(Z,""+J);break;case"className":OB(Z,"class",J);break;case"tabIndex":OB(Z,"tabindex",J);break;case"dir":case"role":case"viewBox":case"width":case"height":OB(Z,Y,J);break;case"style":I8(Z,J,H);break;case"data":if(X!=="object"){OB(Z,"data",J);break}case"src":case"href":if(J===""&&(X!=="a"||Y!=="href")){Y==="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.',Y,Y):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.',Y,Y),Z.removeAttribute(Y);break}if(J==null||typeof J==="function"||typeof J==="symbol"||typeof J==="boolean"){Z.removeAttribute(Y);break}$Z(J,Y),J=pW(""+J),Z.setAttribute(Y,J);break;case"action":case"formAction":if(J!=null&&(X==="form"?Y==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof J==="function"&&(G.encType==null&&G.method==null||NA||(NA=!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.")),G.target==null||FA||(FA=!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."))):X==="input"||X==="button"?Y==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):X!=="input"||G.type==="submit"||G.type==="image"||MA?X!=="button"||G.type==null||G.type==="submit"||MA?typeof J==="function"&&(G.name==null||LT||(LT=!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.')),G.formEncType==null&&G.formMethod==null||NA||(NA=!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.")),G.formTarget==null||FA||(FA=!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."))):(MA=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(MA=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):Y==="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 J==="function"){Z.setAttribute(Y,"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 H==="function"&&(Y==="formAction"?(X!=="input"&&wX(Z,X,"name",G.name,G,null),wX(Z,X,"formEncType",G.formEncType,G,null),wX(Z,X,"formMethod",G.formMethod,G,null),wX(Z,X,"formTarget",G.formTarget,G,null)):(wX(Z,X,"encType",G.encType,G,null),wX(Z,X,"method",G.method,G,null),wX(Z,X,"target",G.target,G,null)));if(J==null||typeof J==="symbol"||typeof J==="boolean"){Z.removeAttribute(Y);break}$Z(J,Y),J=pW(""+J),Z.setAttribute(Y,J);break;case"onClick":J!=null&&(typeof J!=="function"&&sJ(Y,J),Z.onclick=wq);break;case"onScroll":J!=null&&(typeof J!=="function"&&sJ(Y,J),qX("scroll",Z));break;case"onScrollEnd":J!=null&&(typeof J!=="function"&&sJ(Y,J),qX("scrollend",Z));break;case"dangerouslySetInnerHTML":if(J!=null){if(typeof J!=="object"||!("__html"in J))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=J.__html,Y!=null){if(G.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");Z.innerHTML=Y}}break;case"multiple":Z.multiple=J&&typeof J!=="function"&&typeof J!=="symbol";break;case"muted":Z.muted=J&&typeof J!=="function"&&typeof J!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(J==null||typeof J==="function"||typeof J==="boolean"||typeof J==="symbol"){Z.removeAttribute("xlink:href");break}$Z(J,Y),Y=pW(""+J),Z.setAttributeNS(Xz,"xlink:href",Y);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":J!=null&&typeof J!=="function"&&typeof J!=="symbol"?($Z(J,Y),Z.setAttribute(Y,""+J)):Z.removeAttribute(Y);break;case"inert":J!==""||IA[Y]||(IA[Y]=!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.",Y));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":J&&typeof J!=="function"&&typeof J!=="symbol"?Z.setAttribute(Y,""):Z.removeAttribute(Y);break;case"capture":case"download":J===!0?Z.setAttribute(Y,""):J!==!1&&J!=null&&typeof J!=="function"&&typeof J!=="symbol"?($Z(J,Y),Z.setAttribute(Y,J)):Z.removeAttribute(Y);break;case"cols":case"rows":case"size":case"span":J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&!isNaN(J)&&1<=J?($Z(J,Y),Z.setAttribute(Y,J)):Z.removeAttribute(Y);break;case"rowSpan":case"start":J==null||typeof J==="function"||typeof J==="symbol"||isNaN(J)?Z.removeAttribute(Y):($Z(J,Y),Z.setAttribute(Y,J));break;case"popover":qX("beforetoggle",Z),qX("toggle",Z),AB(Z,"popover",J);break;case"xlinkActuate":Tq(Z,Xz,"xlink:actuate",J);break;case"xlinkArcrole":Tq(Z,Xz,"xlink:arcrole",J);break;case"xlinkRole":Tq(Z,Xz,"xlink:role",J);break;case"xlinkShow":Tq(Z,Xz,"xlink:show",J);break;case"xlinkTitle":Tq(Z,Xz,"xlink:title",J);break;case"xlinkType":Tq(Z,Xz,"xlink:type",J);break;case"xmlBase":Tq(Z,g9,"xml:base",J);break;case"xmlLang":Tq(Z,g9,"xml:lang",J);break;case"xmlSpace":Tq(Z,g9,"xml:space",J);break;case"is":H!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),AB(Z,"is",J);break;case"innerText":case"textContent":break;case"popoverTarget":AT||J==null||typeof J!=="object"||(AT=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",J));default:!(2<Y.length)||Y[0]!=="o"&&Y[0]!=="O"||Y[1]!=="n"&&Y[1]!=="N"?(Y=T8(Y),AB(Z,Y,J)):gH.hasOwnProperty(Y)&&J!=null&&typeof J!=="function"&&sJ(Y,J)}}function Y0(Z,X,Y,J,G,H){switch(Y){case"style":I8(Z,J,H);break;case"dangerouslySetInnerHTML":if(J!=null){if(typeof J!=="object"||!("__html"in J))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=J.__html,Y!=null){if(G.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");Z.innerHTML=Y}}break;case"children":typeof J==="string"?dW(Z,J):(typeof J==="number"||typeof J==="bigint")&&dW(Z,""+J);break;case"onScroll":J!=null&&(typeof J!=="function"&&sJ(Y,J),qX("scroll",Z));break;case"onScrollEnd":J!=null&&(typeof J!=="function"&&sJ(Y,J),qX("scrollend",Z));break;case"onClick":J!=null&&(typeof J!=="function"&&sJ(Y,J),Z.onclick=wq);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(gH.hasOwnProperty(Y))J!=null&&typeof J!=="function"&&sJ(Y,J);else Z:{if(Y[0]==="o"&&Y[1]==="n"&&(G=Y.endsWith("Capture"),X=Y.slice(2,G?Y.length-7:void 0),H=Z[pY]||null,H=H!=null?H[Y]:null,typeof H==="function"&&Z.removeEventListener(X,H,G),typeof J==="function")){typeof H!=="function"&&H!==null&&(Y in Z?Z[Y]=null:Z.hasAttribute(Y)&&Z.removeAttribute(Y)),Z.addEventListener(X,J,G);break Z}Y in Z?Z[Y]=J:J===!0?Z.setAttribute(Y,""):AB(Z,Y,J)}}}function jY(Z,X,Y){switch(X0(X,Y),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":qX("error",Z),qX("load",Z);var J=!1,G=!1,H;for(H in Y)if(Y.hasOwnProperty(H)){var U=Y[H];if(U!=null)switch(H){case"src":J=!0;break;case"srcSet":G=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:wX(Z,X,H,U,Y,null)}}G&&wX(Z,X,"srcSet",Y.srcSet,Y,null),J&&wX(Z,X,"src",Y.src,Y,null);return;case"input":_G("input",Y),qX("invalid",Z);var B=H=U=G=null,F=null,T=null;for(J in Y)if(Y.hasOwnProperty(J)){var x=Y[J];if(x!=null)switch(J){case"name":G=x;break;case"type":U=x;break;case"checked":F=x;break;case"defaultChecked":T=x;break;case"value":H=x;break;case"defaultValue":B=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:wX(Z,X,J,x,Y,null)}}J8(Z,Y),q8(Z,H,B,F,T,U,G,!1);return;case"select":_G("select",Y),qX("invalid",Z),J=U=H=null;for(G in Y)if(Y.hasOwnProperty(G)&&(B=Y[G],B!=null))switch(G){case"value":H=B;break;case"defaultValue":U=B;break;case"multiple":J=B;default:wX(Z,X,G,B,Y,null)}z8(Z,Y),X=H,Y=U,Z.multiple=!!J,X!=null?iz(Z,!!J,X,!1):Y!=null&&iz(Z,!!J,Y,!0);return;case"textarea":_G("textarea",Y),qX("invalid",Z),H=G=J=null;for(U in Y)if(Y.hasOwnProperty(U)&&(B=Y[U],B!=null))switch(U){case"value":J=B;break;case"defaultValue":G=B;break;case"children":H=B;break;case"dangerouslySetInnerHTML":if(B!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:wX(Z,X,U,B,Y,null)}_8(Z,Y),U8(Z,J,G,H);return;case"option":G8(Z,Y);for(F in Y)if(Y.hasOwnProperty(F)&&(J=Y[F],J!=null))switch(F){case"selected":Z.selected=J&&typeof J!=="function"&&typeof J!=="symbol";break;default:wX(Z,X,F,J,Y,null)}return;case"dialog":qX("beforetoggle",Z),qX("toggle",Z),qX("cancel",Z),qX("close",Z);break;case"iframe":case"object":qX("load",Z);break;case"video":case"audio":for(J=0;J<zK.length;J++)qX(zK[J],Z);break;case"image":qX("error",Z),qX("load",Z);break;case"details":qX("toggle",Z);break;case"embed":case"source":case"link":qX("error",Z),qX("load",Z);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in Y)if(Y.hasOwnProperty(T)&&(J=Y[T],J!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:wX(Z,X,T,J,Y,null)}return;default:if(cW(X)){for(x in Y)Y.hasOwnProperty(x)&&(J=Y[x],J!==void 0&&Y0(Z,X,x,J,Y,void 0));return}}for(B in Y)Y.hasOwnProperty(B)&&(J=Y[B],J!=null&&wX(Z,X,B,J,Y,null))}function B$(Z,X,Y,J){switch(X0(X,J),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var G=null,H=null,U=null,B=null,F=null,T=null,x=null;for(c in Y){var v=Y[c];if(Y.hasOwnProperty(c)&&v!=null)switch(c){case"checked":break;case"value":break;case"defaultValue":F=v;default:J.hasOwnProperty(c)||wX(Z,X,c,null,J,v)}}for(var $ in J){var c=J[$];if(v=Y[$],J.hasOwnProperty($)&&(c!=null||v!=null))switch($){case"type":H=c;break;case"name":G=c;break;case"checked":T=c;break;case"defaultChecked":x=c;break;case"value":U=c;break;case"defaultValue":B=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:c!==v&&wX(Z,X,$,c,J,v)}}X=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,J=J.type==="checkbox"||J.type==="radio"?J.checked!=null:J.value!=null,X||!J||BT||(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"),BT=!0),!X||J||KT||(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"),KT=!0),AM(Z,U,B,F,T,x,H,G);return;case"select":c=U=B=$=null;for(H in Y)if(F=Y[H],Y.hasOwnProperty(H)&&F!=null)switch(H){case"value":break;case"multiple":c=F;default:J.hasOwnProperty(H)||wX(Z,X,H,null,J,F)}for(G in J)if(H=J[G],F=Y[G],J.hasOwnProperty(G)&&(H!=null||F!=null))switch(G){case"value":$=H;break;case"defaultValue":B=H;break;case"multiple":U=H;default:H!==F&&wX(Z,X,G,H,J,F)}J=B,X=U,Y=c,$!=null?iz(Z,!!X,$,!1):!!Y!==!!X&&(J!=null?iz(Z,!!X,J,!0):iz(Z,!!X,X?[]:"",!1));return;case"textarea":c=$=null;for(B in Y)if(G=Y[B],Y.hasOwnProperty(B)&&G!=null&&!J.hasOwnProperty(B))switch(B){case"value":break;case"children":break;default:wX(Z,X,B,null,J,G)}for(U in J)if(G=J[U],H=Y[U],J.hasOwnProperty(U)&&(G!=null||H!=null))switch(U){case"value":$=G;break;case"defaultValue":c=G;break;case"children":break;case"dangerouslySetInnerHTML":if(G!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:G!==H&&wX(Z,X,U,G,J,H)}W8(Z,$,c);return;case"option":for(var GZ in Y)if($=Y[GZ],Y.hasOwnProperty(GZ)&&$!=null&&!J.hasOwnProperty(GZ))switch(GZ){case"selected":Z.selected=!1;break;default:wX(Z,X,GZ,null,J,$)}for(F in J)if($=J[F],c=Y[F],J.hasOwnProperty(F)&&$!==c&&($!=null||c!=null))switch(F){case"selected":Z.selected=$&&typeof $!=="function"&&typeof $!=="symbol";break;default:wX(Z,X,F,$,J,c)}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 AZ in Y)$=Y[AZ],Y.hasOwnProperty(AZ)&&$!=null&&!J.hasOwnProperty(AZ)&&wX(Z,X,AZ,null,J,$);for(T in J)if($=J[T],c=Y[T],J.hasOwnProperty(T)&&$!==c&&($!=null||c!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:wX(Z,X,T,$,J,c)}return;default:if(cW(X)){for(var PX in Y)$=Y[PX],Y.hasOwnProperty(PX)&&$!==void 0&&!J.hasOwnProperty(PX)&&Y0(Z,X,PX,void 0,J,$);for(x in J)$=J[x],c=Y[x],!J.hasOwnProperty(x)||$===c||$===void 0&&c===void 0||Y0(Z,X,x,$,J,c);return}}for(var GX in Y)$=Y[GX],Y.hasOwnProperty(GX)&&$!=null&&!J.hasOwnProperty(GX)&&wX(Z,X,GX,null,J,$);for(v in J)$=J[v],c=Y[v],!J.hasOwnProperty(v)||$===c||$==null&&c==null||wX(Z,X,v,$,J,c)}function ON(Z){switch(Z){case"class":return"className";case"for":return"htmlFor";default:return Z}}function Q0(Z){var X={};Z=Z.style;for(var Y=0;Y<Z.length;Y++){var J=Z[Y];X[J]=Z.getPropertyValue(J)}return X}function MN(Z,X,Y){if(X!=null&&typeof X!=="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 J,G=J="",H;for(H in X)if(X.hasOwnProperty(H)){var U=X[H];U!=null&&typeof U!=="boolean"&&U!==""&&(H.indexOf("--")===0?(Iq(U,H),J+=G+H+":"+(""+U).trim()):typeof U!=="number"||U===0||P7.has(H)?(Iq(U,H),J+=G+H.replace(w7,"-$1").toLowerCase().replace(V7,"-ms-")+":"+(""+U).trim()):J+=G+H.replace(w7,"-$1").toLowerCase().replace(V7,"-ms-")+":"+U+"px",G=";")}J=J||null,X=Z.getAttribute("style"),X!==J&&(J=IG(J),IG(X)!==J&&(Y.style=Q0(Z)))}}function cQ(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":return}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if($Z(J,X),Z===""+J)return}BY(X,Z,J,H)}function FN(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null){switch(typeof J){case"function":case"symbol":return}if(!J)return}else switch(typeof J){case"function":case"symbol":break;default:if(J)return}BY(X,Z,J,H)}function J0(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":return}else if(J!=null)switch(typeof J){case"function":case"symbol":break;default:if($Z(J,Y),Z===""+J)return}BY(X,Z,J,H)}function NN(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(J))return}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if(!isNaN(J)&&($Z(J,X),Z===""+J))return}BY(X,Z,J,H)}function q0(Z,X,Y,J,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof J){case"undefined":case"function":case"symbol":case"boolean":return}else if(J!=null)switch(typeof J){case"function":case"symbol":case"boolean":break;default:if($Z(J,X),Y=pW(""+J),Z===Y)return}BY(X,Z,J,H)}function IN(Z,X,Y,J){for(var G={},H=new Set,U=Z.attributes,B=0;B<U.length;B++)switch(U[B].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:H.add(U[B].name)}if(cW(X)){for(var F in Y)if(Y.hasOwnProperty(F)){var T=Y[F];if(T!=null){if(gH.hasOwnProperty(F))typeof T!=="function"&&sJ(F,T);else if(Y.suppressHydrationWarning!==!0)switch(F){case"children":typeof T!=="string"&&typeof T!=="number"||BY("children",Z.textContent,T,G);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":U=Z.innerHTML,T=T?T.__html:void 0,T!=null&&(T=LN(Z,T),BY(F,U,T,G));continue;case"style":H.delete(F),MN(Z,T,G);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":H.delete(F.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",F);continue;case"className":H.delete("class"),U=X8(Z,"class",T),BY("className",U,T,G);continue;default:J.context===pq&&X!=="svg"&&X!=="math"?H.delete(F.toLowerCase()):H.delete(F),U=X8(Z,F,T),BY(F,U,T,G)}}}}else for(T in Y)if(Y.hasOwnProperty(T)&&(F=Y[T],F!=null)){if(gH.hasOwnProperty(T))typeof F!=="function"&&sJ(T,F);else if(Y.suppressHydrationWarning!==!0)switch(T){case"children":typeof F!=="string"&&typeof F!=="number"||BY("children",Z.textContent,F,G);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":U=Z.innerHTML,F=F?F.__html:void 0,F!=null&&(F=LN(Z,F),U!==F&&(G[T]={__html:U}));continue;case"className":cQ(Z,T,"class",F,H,G);continue;case"tabIndex":cQ(Z,T,"tabindex",F,H,G);continue;case"style":H.delete(T),MN(Z,F,G);continue;case"multiple":H.delete(T),BY(T,Z.multiple,F,G);continue;case"muted":H.delete(T),BY(T,Z.muted,F,G);continue;case"autoFocus":H.delete("autofocus"),BY(T,Z.autofocus,F,G);continue;case"data":if(X!=="object"){H.delete(T),U=Z.getAttribute("data"),BY(T,U,F,G);continue}case"src":case"href":if(!(F!==""||X==="a"&&T==="href"||X==="object"&&T==="data")){T==="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.',T,T):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.',T,T);continue}q0(Z,T,T,F,H,G);continue;case"action":case"formAction":if(U=Z.getAttribute(T),typeof F==="function"){H.delete(T.toLowerCase()),T==="formAction"?(H.delete("name"),H.delete("formenctype"),H.delete("formmethod"),H.delete("formtarget")):(H.delete("enctype"),H.delete("method"),H.delete("target"));continue}else if(U===CE){H.delete(T.toLowerCase()),BY(T,"function",F,G);continue}q0(Z,T,T.toLowerCase(),F,H,G);continue;case"xlinkHref":q0(Z,T,"xlink:href",F,H,G);continue;case"contentEditable":J0(Z,T,"contenteditable",F,H,G);continue;case"spellCheck":J0(Z,T,"spellcheck",F,H,G);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":J0(Z,T,T,F,H,G);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":FN(Z,T,T.toLowerCase(),F,H,G);continue;case"capture":case"download":Z:{B=Z;var x=U=T,v=G;if(H.delete(x),B=B.getAttribute(x),B===null)switch(typeof F){case"undefined":case"function":case"symbol":break Z;default:if(F===!1)break Z}else if(F!=null)switch(typeof F){case"function":case"symbol":break;case"boolean":if(F===!0&&B==="")break Z;break;default:if($Z(F,U),B===""+F)break Z}BY(U,B,F,v)}continue;case"cols":case"rows":case"size":case"span":Z:{if(B=Z,x=U=T,v=G,H.delete(x),B=B.getAttribute(x),B===null)switch(typeof F){case"undefined":case"function":case"symbol":case"boolean":break Z;default:if(isNaN(F)||1>F)break Z}else if(F!=null)switch(typeof F){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(F)||1>F)&&($Z(F,U),B===""+F))break Z}BY(U,B,F,v)}continue;case"rowSpan":NN(Z,T,"rowspan",F,H,G);continue;case"start":NN(Z,T,T,F,H,G);continue;case"xHeight":cQ(Z,T,"x-height",F,H,G);continue;case"xlinkActuate":cQ(Z,T,"xlink:actuate",F,H,G);continue;case"xlinkArcrole":cQ(Z,T,"xlink:arcrole",F,H,G);continue;case"xlinkRole":cQ(Z,T,"xlink:role",F,H,G);continue;case"xlinkShow":cQ(Z,T,"xlink:show",F,H,G);continue;case"xlinkTitle":cQ(Z,T,"xlink:title",F,H,G);continue;case"xlinkType":cQ(Z,T,"xlink:type",F,H,G);continue;case"xmlBase":cQ(Z,T,"xml:base",F,H,G);continue;case"xmlLang":cQ(Z,T,"xml:lang",F,H,G);continue;case"xmlSpace":cQ(Z,T,"xml:space",F,H,G);continue;case"inert":F!==""||IA[T]||(IA[T]=!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.",T)),FN(Z,T,T,F,H,G);continue;default:if(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N"){B=T8(T),U=!1,J.context===pq&&X!=="svg"&&X!=="math"?H.delete(B.toLowerCase()):(x=T.toLowerCase(),x=kL.hasOwnProperty(x)?kL[x]||null:null,x!==null&&x!==T&&(U=!0,H.delete(x)),H.delete(B));Z:if(x=Z,v=B,B=F,mW(v))if(x.hasAttribute(v))x=x.getAttribute(v),$Z(B,v),B=x===""+B?B:x;else{switch(typeof B){case"function":case"symbol":break Z;case"boolean":if(x=v.toLowerCase().slice(0,5),x!=="data-"&&x!=="aria-")break Z}B=B===void 0?void 0:null}else B=void 0;U||BY(T,B,F,G)}}}return 0<H.size&&Y.suppressHydrationWarning!==!0&&K$(Z,H,G),Object.keys(G).length===0?null:G}function L$(Z,X){switch(Z.length){case 0:return"";case 1:return Z[0];case 2:return Z[0]+" "+X+" "+Z[1];default:return Z.slice(0,-1).join(", ")+", "+X+" "+Z[Z.length-1]}}function TN(Z){switch(Z){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function A$(){if(typeof performance.getEntriesByType==="function"){for(var Z=0,X=0,Y=performance.getEntriesByType("resource"),J=0;J<Y.length;J++){var G=Y[J],H=G.transferSize,U=G.initiatorType,B=G.duration;if(H&&B&&TN(U)){U=0,B=G.responseEnd;for(J+=1;J<Y.length;J++){var F=Y[J],T=F.startTime;if(T>B)break;var{transferSize:x,initiatorType:v}=F;x&&TN(v)&&(F=F.responseEnd,U+=x*(F<B?1:(B-T)/(F-T)))}if(--J,X+=8*(H+U)/(G.duration/1000),Z++,10<Z)break}}if(0<Z)return X/Z/1e6}return navigator.connection&&(Z=navigator.connection.downlink,typeof Z==="number")?Z:5}function LL(Z){return Z.nodeType===9?Z:Z.ownerDocument}function wN(Z){switch(Z){case A_:return l_;case EL:return wA;default:return pq}}function VN(Z,X){if(Z===pq)switch(X){case"svg":return l_;case"math":return wA;default:return pq}return Z===l_&&X==="foreignObject"?pq:Z}function G0(Z,X){return Z==="textarea"||Z==="noscript"||typeof X.children==="string"||typeof X.children==="number"||typeof X.children==="bigint"||typeof X.dangerouslySetInnerHTML==="object"&&X.dangerouslySetInnerHTML!==null&&X.dangerouslySetInnerHTML.__html!=null}function O$(){var Z=window.event;if(Z&&Z.type==="popstate"){if(Z===d9)return!1;return d9=Z,!0}return d9=null,!1}function AU(){var Z=window.event;return Z&&Z!==UK?Z.type:null}function OU(){var Z=window.event;return Z&&Z!==UK?Z.timeStamp:-1.1}function M$(Z){setTimeout(function(){throw Z})}function F$(Z,X,Y){switch(X){case"button":case"input":case"select":case"textarea":Y.autoFocus&&Z.focus();break;case"img":Y.src?Z.src=Y.src:Y.srcSet&&(Z.srcset=Y.srcSet)}}function N$(){}function I$(Z,X,Y,J){B$(Z,X,Y,J),Z[pY]=J}function RN(Z){dW(Z,"")}function T$(Z,X,Y){Z.nodeValue=Y}function jN(Z){if(!Z.__reactWarnedAboutChildrenConflict){var X=Z[pY]||null;if(X!==null){var Y=fZ(Z);Y!==null&&(typeof X.children==="string"||typeof X.children==="number"?(Z.__reactWarnedAboutChildrenConflict=!0,BZ(Y,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.')})):X.dangerouslySetInnerHTML!=null&&(Z.__reactWarnedAboutChildrenConflict=!0,BZ(Y,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 TG(Z){return Z==="head"}function w$(Z,X){Z.removeChild(X)}function V$(Z,X){(Z.nodeType===9?Z.body:Z.nodeName==="HTML"?Z.ownerDocument.body:Z).removeChild(X)}function CN(Z,X){var Y=X,J=0;do{var G=Y.nextSibling;if(Z.removeChild(Y),G&&G.nodeType===8)if(Y=G.data,Y===WK||Y===TA){if(J===0){Z.removeChild(G),__(X);return}J--}else if(Y===_K||Y===lG||Y===Qz||Y===p_||Y===Yz)J++;else if(Y===DE)MU(Z.ownerDocument.documentElement);else if(Y===SE){Y=Z.ownerDocument.head,MU(Y);for(var H=Y.firstChild;H;){var{nextSibling:U,nodeName:B}=H;H[RU]||B==="SCRIPT"||B==="STYLE"||B==="LINK"&&H.rel.toLowerCase()==="stylesheet"||Y.removeChild(H),H=U}}else Y===$E&&MU(Z.ownerDocument.body);Y=G}while(Y);__(X)}function PN(Z,X){var Y=Z;Z=0;do{var J=Y.nextSibling;if(Y.nodeType===1?X?(Y._stashedDisplay=Y.style.display,Y.style.display="none"):(Y.style.display=Y._stashedDisplay||"",Y.getAttribute("style")===""&&Y.removeAttribute("style")):Y.nodeType===3&&(X?(Y._stashedText=Y.nodeValue,Y.nodeValue=""):Y.nodeValue=Y._stashedText||""),J&&J.nodeType===8)if(Y=J.data,Y===WK)if(Z===0)break;else Z--;else Y!==_K&&Y!==lG&&Y!==Qz&&Y!==p_||Z++;Y=J}while(Y)}function R$(Z){PN(Z,!0)}function j$(Z){Z=Z.style,typeof Z.setProperty==="function"?Z.setProperty("display","none","important"):Z.display="none"}function C$(Z){Z.nodeValue=""}function P$(Z){PN(Z,!1)}function D$(Z,X){X=X[EE],X=X!==void 0&&X!==null&&X.hasOwnProperty("display")?X.display:null,Z.style.display=X==null||typeof X==="boolean"?"":(""+X).trim()}function $$(Z,X){Z.nodeValue=X}function H0(Z){var X=Z.firstChild;X&&X.nodeType===10&&(X=X.nextSibling);for(;X;){var Y=X;switch(X=X.nextSibling,Y.nodeName){case"HTML":case"HEAD":case"BODY":H0(Y),_Z(Y);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Y.rel.toLowerCase()==="stylesheet")continue}Z.removeChild(Y)}}function S$(Z,X,Y,J){for(;Z.nodeType===1;){var G=Y;if(Z.nodeName.toLowerCase()!==X.toLowerCase()){if(!J&&(Z.nodeName!=="INPUT"||Z.type!=="hidden"))break}else if(!J)if(X==="input"&&Z.type==="hidden"){$Z(G.name,"name");var H=G.name==null?null:""+G.name;if(G.type==="hidden"&&Z.getAttribute("name")===H)return Z}else return Z;else if(!Z[RU])switch(X){case"meta":if(!Z.hasAttribute("itemprop"))break;return Z;case"link":if(H=Z.getAttribute("rel"),H==="stylesheet"&&Z.hasAttribute("data-precedence"))break;else if(H!==G.rel||Z.getAttribute("href")!==(G.href==null||G.href===""?null:G.href)||Z.getAttribute("crossorigin")!==(G.crossOrigin==null?null:G.crossOrigin)||Z.getAttribute("title")!==(G.title==null?null:G.title))break;return Z;case"style":if(Z.hasAttribute("data-precedence"))break;return Z;case"script":if(H=Z.getAttribute("src"),(H!==(G.src==null?null:G.src)||Z.getAttribute("type")!==(G.type==null?null:G.type)||Z.getAttribute("crossorigin")!==(G.crossOrigin==null?null:G.crossOrigin))&&H&&Z.hasAttribute("async")&&!Z.hasAttribute("itemprop"))break;return Z;default:return Z}if(Z=CQ(Z.nextSibling),Z===null)break}return null}function E$(Z,X,Y){if(X==="")return null;for(;Z.nodeType!==3;){if((Z.nodeType!==1||Z.nodeName!=="INPUT"||Z.type!=="hidden")&&!Y)return null;if(Z=CQ(Z.nextSibling),Z===null)return null}return Z}function DN(Z,X){for(;Z.nodeType!==8;){if((Z.nodeType!==1||Z.nodeName!=="INPUT"||Z.type!=="hidden")&&!X)return null;if(Z=CQ(Z.nextSibling),Z===null)return null}return Z}function z0(Z){return Z.data===lG||Z.data===Qz}function _0(Z){return Z.data===p_||Z.data===lG&&Z.ownerDocument.readyState!==MT}function k$(Z,X){var Y=Z.ownerDocument;if(Z.data===Qz)Z._reactRetry=X;else if(Z.data!==lG||Y.readyState!==MT)X();else{var J=function(){X(),Y.removeEventListener("DOMContentLoaded",J)};Y.addEventListener("DOMContentLoaded",J),Z._reactRetry=J}}function CQ(Z){for(;Z!=null;Z=Z.nextSibling){var X=Z.nodeType;if(X===1||X===3)break;if(X===8){if(X=Z.data,X===_K||X===p_||X===lG||X===Qz||X===Yz||X===m9||X===OT)break;if(X===WK||X===TA)return null}}return Z}function $N(Z){if(Z.nodeType===1){for(var X=Z.nodeName.toLowerCase(),Y={},J=Z.attributes,G=0;G<J.length;G++){var H=J[G];Y[ON(H.name)]=H.name.toLowerCase()==="style"?Q0(Z):H.value}return{type:X,props:Y}}return Z.nodeType===8?Z.data===Yz?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:Z.nodeValue}function SN(Z,X,Y){return Y===null||Y[PE]!==!0?(Z.nodeValue===X?Z=null:(X=IG(X),Z=IG(Z.nodeValue)===X?null:Z.nodeValue),Z):null}function W0(Z){Z=Z.nextSibling;for(var X=0;Z;){if(Z.nodeType===8){var Y=Z.data;if(Y===WK||Y===TA){if(X===0)return CQ(Z.nextSibling);X--}else Y!==_K&&Y!==p_&&Y!==lG&&Y!==Qz&&Y!==Yz||X++}Z=Z.nextSibling}return null}function EN(Z){Z=Z.previousSibling;for(var X=0;Z;){if(Z.nodeType===8){var Y=Z.data;if(Y===_K||Y===p_||Y===lG||Y===Qz||Y===Yz){if(X===0)return Z;X--}else Y!==WK&&Y!==TA||X++}Z=Z.previousSibling}return null}function x$(Z){__(Z)}function y$(Z){__(Z)}function v$(Z){__(Z)}function kN(Z,X,Y,J,G){switch(G&&TM(Z,J.ancestorInfo),X=LL(Y),Z){case"html":if(Z=X.documentElement,!Z)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 Z;case"head":if(Z=X.head,!Z)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 Z;case"body":if(Z=X.body,!Z)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 Z;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function h$(Z,X,Y,J){if(!Y[jG]&&fZ(Y)){var G=Y.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.",G,G,G)}switch(Z){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(G=Y.attributes;G.length;)Y.removeAttributeNode(G[0]);jY(Y,Z,X),Y[CY]=J,Y[pY]=X}function MU(Z){for(var X=Z.attributes;X.length;)Z.removeAttributeNode(X[0]);_Z(Z)}function AL(Z){return typeof Z.getRootNode==="function"?Z.getRootNode():Z.nodeType===9?Z:Z.ownerDocument}function xN(Z,X,Y){var J=i_;if(J&&typeof X==="string"&&X){var G=dQ(X);G='link[rel="'+Z+'"][href="'+G+'"]',typeof Y==="string"&&(G+='[crossorigin="'+Y+'"]'),VT.has(G)||(VT.add(G),Z={rel:Z,crossOrigin:Y,href:X},J.querySelector(G)===null&&(X=J.createElement("link"),jY(X,"link",Z),EZ(X),J.head.appendChild(X)))}}function yN(Z,X,Y,J){var G=(G=VG.current)?AL(G):null;if(!G)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(Z){case"meta":case"title":return null;case"style":return typeof Y.precedence==="string"&&typeof Y.href==="string"?(Y=H_(Y.href),X=UX(G).hoistableStyles,J=X.get(Y),J||(J={type:"style",instance:null,count:0,state:null},X.set(Y,J)),J):{type:"void",instance:null,count:0,state:null};case"link":if(Y.rel==="stylesheet"&&typeof Y.href==="string"&&typeof Y.precedence==="string"){Z=H_(Y.href);var H=UX(G).hoistableStyles,U=H.get(Z);if(!U&&(G=G.ownerDocument||G,U={type:"stylesheet",instance:null,count:0,state:{loading:qz,preload:null}},H.set(Z,U),(H=G.querySelector(FU(Z)))&&!H._p&&(U.instance=H,U.state.loading=KK|ZJ),!XJ.has(Z))){var B={rel:"preload",as:"style",href:Y.href,crossOrigin:Y.crossOrigin,integrity:Y.integrity,media:Y.media,hrefLang:Y.hrefLang,referrerPolicy:Y.referrerPolicy};XJ.set(Z,B),H||b$(G,Z,B,U.state)}if(X&&J===null)throw Y=`
|
|
182
|
-
|
|
183
|
-
- `+OL(X)+`
|
|
184
|
-
+ `+OL(Y),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."+Y);return U}if(X&&J!==null)throw Y=`
|
|
185
|
-
|
|
186
|
-
- `+OL(X)+`
|
|
187
|
-
+ `+OL(Y),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."+Y);return null;case"script":return X=Y.async,Y=Y.src,typeof Y==="string"&&X&&typeof X!=="function"&&typeof X!=="symbol"?(Y=z_(Y),X=UX(G).hoistableScripts,J=X.get(Y),J||(J={type:"script",instance:null,count:0,state:null},X.set(Y,J)),J):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+Z+'". this is a bug in React.')}}function OL(Z){var X=0,Y="<link";return typeof Z.rel==="string"?(X++,Y+=' rel="'+Z.rel+'"'):LJ.call(Z,"rel")&&(X++,Y+=' rel="'+(Z.rel===null?"null":"invalid type "+typeof Z.rel)+'"'),typeof Z.href==="string"?(X++,Y+=' href="'+Z.href+'"'):LJ.call(Z,"href")&&(X++,Y+=' href="'+(Z.href===null?"null":"invalid type "+typeof Z.href)+'"'),typeof Z.precedence==="string"?(X++,Y+=' precedence="'+Z.precedence+'"'):LJ.call(Z,"precedence")&&(X++,Y+=" precedence={"+(Z.precedence===null?"null":"invalid type "+typeof Z.precedence)+"}"),Object.getOwnPropertyNames(Z).length>X&&(Y+=" ..."),Y+" />"}function H_(Z){return'href="'+dQ(Z)+'"'}function FU(Z){return'link[rel="stylesheet"]['+Z+"]"}function vN(Z){return rZ({},Z,{"data-precedence":Z.precedence,precedence:null})}function b$(Z,X,Y,J){Z.querySelector('link[rel="preload"][as="style"]['+X+"]")?J.loading=KK:(X=Z.createElement("link"),J.preload=X,X.addEventListener("load",function(){return J.loading|=KK}),X.addEventListener("error",function(){return J.loading|=TT}),jY(X,"link",Y),EZ(X),Z.head.appendChild(X))}function z_(Z){return'[src="'+dQ(Z)+'"]'}function NU(Z){return"script[async]"+Z}function hN(Z,X,Y){if(X.count++,X.instance===null)switch(X.type){case"style":var J=Z.querySelector('style[data-href~="'+dQ(Y.href)+'"]');if(J)return X.instance=J,EZ(J),J;var G=rZ({},Y,{"data-href":Y.href,"data-precedence":Y.precedence,href:null,precedence:null});return J=(Z.ownerDocument||Z).createElement("style"),EZ(J),jY(J,"style",G),ML(J,Y.precedence,Z),X.instance=J;case"stylesheet":G=H_(Y.href);var H=Z.querySelector(FU(G));if(H)return X.state.loading|=ZJ,X.instance=H,EZ(H),H;J=vN(Y),(G=XJ.get(G))&&U0(J,G),H=(Z.ownerDocument||Z).createElement("link"),EZ(H);var U=H;return U._p=new Promise(function(B,F){U.onload=B,U.onerror=F}),jY(H,"link",J),X.state.loading|=ZJ,ML(H,Y.precedence,Z),X.instance=H;case"script":if(H=z_(Y.src),G=Z.querySelector(NU(H)))return X.instance=G,EZ(G),G;if(J=Y,G=XJ.get(H))J=rZ({},Y),K0(J,G);return Z=Z.ownerDocument||Z,G=Z.createElement("script"),EZ(G),jY(G,"link",J),Z.head.appendChild(G),X.instance=G;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+X.type+'". this is a bug in React.')}else X.type==="stylesheet"&&(X.state.loading&ZJ)===qz&&(J=X.instance,X.state.loading|=ZJ,ML(J,Y.precedence,Z));return X.instance}function ML(Z,X,Y){for(var J=Y.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),G=J.length?J[J.length-1]:null,H=G,U=0;U<J.length;U++){var B=J[U];if(B.dataset.precedence===X)H=B;else if(H!==G)break}H?H.parentNode.insertBefore(Z,H.nextSibling):(X=Y.nodeType===9?Y.head:Y,X.insertBefore(Z,X.firstChild))}function U0(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.title==null&&(Z.title=X.title)}function K0(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.integrity==null&&(Z.integrity=X.integrity)}function bN(Z,X,Y){if(VA===null){var J=new Map,G=VA=new Map;G.set(Y,J)}else G=VA,J=G.get(Y),J||(J=new Map,G.set(Y,J));if(J.has(Z))return J;J.set(Z,null),Y=Y.getElementsByTagName(Z);for(G=0;G<Y.length;G++){var H=Y[G];if(!(H[RU]||H[CY]||Z==="link"&&H.getAttribute("rel")==="stylesheet")&&H.namespaceURI!==A_){var U=H.getAttribute(X)||"";U=Z+U;var B=J.get(U);B?B.push(H):J.set(U,[H])}}return J}function gN(Z,X,Y){Z=Z.ownerDocument||Z,Z.head.insertBefore(Y,X==="title"?Z.querySelector("head > title"):null)}function g$(Z,X,Y){var J=!Y.ancestorInfo.containerTagInScope;if(Y.context===l_||X.itemProp!=null)return!J||X.itemProp==null||Z!=="meta"&&Z!=="title"&&Z!=="style"&&Z!=="link"&&Z!=="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.",Z,Z),!1;switch(Z){case"meta":case"title":return!0;case"style":if(typeof X.precedence!=="string"||typeof X.href!=="string"||X.href===""){J&&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 X.rel!=="string"||typeof X.href!=="string"||X.href===""||X.onLoad||X.onError){if(X.rel==="stylesheet"&&typeof X.precedence==="string"){Z=X.href;var{onError:G,disabled:H}=X;Y=[],X.onLoad&&Y.push("`onLoad`"),G&&Y.push("`onError`"),H!=null&&Y.push("`disabled`"),G=L$(Y,"and"),G+=Y.length===1?" prop":" props",H=Y.length===1?"an "+G:"the "+G,Y.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.',Z,H,G)}J&&(typeof X.rel!=="string"||typeof X.href!=="string"||X.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"):(X.onError||X.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(X.rel){case"stylesheet":return Z=X.precedence,X=X.disabled,typeof Z!=="string"&&J&&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 Z==="string"&&X==null;default:return!0}case"script":if(Z=X.async&&typeof X.async!=="function"&&typeof X.async!=="symbol",!Z||X.onLoad||X.onError||!X.src||typeof X.src!=="string"){J&&(Z?X.onLoad||X.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":J&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",Z)}return!1}function mN(Z){return Z.type==="stylesheet"&&(Z.state.loading&wT)===qz?!1:!0}function m$(Z,X,Y,J){if(Y.type==="stylesheet"&&(typeof J.media!=="string"||matchMedia(J.media).matches!==!1)&&(Y.state.loading&ZJ)===qz){if(Y.instance===null){var G=H_(J.href),H=X.querySelector(FU(G));if(H){X=H._p,X!==null&&typeof X==="object"&&typeof X.then==="function"&&(Z.count++,Z=FL.bind(Z),X.then(Z,Z)),Y.state.loading|=ZJ,Y.instance=H,EZ(H);return}H=X.ownerDocument||X,J=vN(J),(G=XJ.get(G))&&U0(J,G),H=H.createElement("link"),EZ(H);var U=H;U._p=new Promise(function(B,F){U.onload=B,U.onerror=F}),jY(H,"link",J),Y.instance=H}Z.stylesheets===null&&(Z.stylesheets=new Map),Z.stylesheets.set(Y,X),(X=Y.state.preload)&&(Y.state.loading&wT)===qz&&(Z.count++,Y=FL.bind(Z),X.addEventListener("load",Y),X.addEventListener("error",Y))}}function f$(Z,X){return Z.stylesheets&&Z.count===0&&NL(Z,Z.stylesheets),0<Z.count||0<Z.imgCount?function(Y){var J=setTimeout(function(){if(Z.stylesheets&&NL(Z,Z.stylesheets),Z.unsuspend){var H=Z.unsuspend;Z.unsuspend=null,H()}},yE+X);0<Z.imgBytes&&p9===0&&(p9=125*A$()*hE);var G=setTimeout(function(){if(Z.waitingForImages=!1,Z.count===0&&(Z.stylesheets&&NL(Z,Z.stylesheets),Z.unsuspend)){var H=Z.unsuspend;Z.unsuspend=null,H()}},(Z.imgBytes>p9?50:vE)+X);return Z.unsuspend=Y,function(){Z.unsuspend=null,clearTimeout(J),clearTimeout(G)}}:null}function FL(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)NL(this,this.stylesheets);else if(this.unsuspend){var Z=this.unsuspend;this.unsuspend=null,Z()}}}function NL(Z,X){Z.stylesheets=null,Z.unsuspend!==null&&(Z.count++,RA=new Map,X.forEach(u$,Z),RA=null,FL.call(Z))}function u$(Z,X){if(!(X.state.loading&ZJ)){var Y=RA.get(Z);if(Y)var J=Y.get(l9);else{Y=new Map,RA.set(Z,Y);for(var G=Z.querySelectorAll("link[data-precedence],style[data-precedence]"),H=0;H<G.length;H++){var U=G[H];if(U.nodeName==="LINK"||U.getAttribute("media")!=="not all")Y.set(U.dataset.precedence,U),J=U}J&&Y.set(l9,J)}G=X.instance,U=G.getAttribute("data-precedence"),H=Y.get(U)||J,H===J&&Y.set(l9,G),Y.set(U,G),this.count++,J=FL.bind(this),G.addEventListener("load",J),G.addEventListener("error",J),H?H.parentNode.insertBefore(G,H.nextSibling):(Z=Z.nodeType===9?Z.head:Z,Z.insertBefore(G,Z.firstChild)),X.state.loading|=ZJ}}function d$(Z,X,Y,J,G,H,U,B,F){this.tag=1,this.containerInfo=Z,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Jz,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=lz(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lz(0),this.hiddenUpdates=lz(null),this.identifierPrefix=J,this.onUncaughtError=G,this.onCaughtError=H,this.onRecoverableError=U,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=F,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,Z=this.pendingUpdatersLaneMap=[];for(X=0;31>X;X++)Z.push(new Set);this._debugRootType=Y?"hydrateRoot()":"createRoot()"}function fN(Z,X,Y,J,G,H,U,B,F,T,x,v){return Z=new d$(Z,X,Y,U,F,T,x,v,B),X=HE,H===!0&&(X|=mY|OJ),X|=iZ,H=R(3,null,null,X),Z.current=H,H.stateNode=Z,X=fM(),EH(X),Z.pooledCache=X,EH(X),H.memoizedState={element:J,isDehydrated:Y,cache:X},lM(H),Z}function uN(Z){if(!Z)return $G;return Z=$G,Z}function B0(Z,X,Y,J,G,H){if(gY&&typeof gY.onScheduleFiberRoot==="function")try{gY.onScheduleFiberRoot(B_,J,Y)}catch(U){tJ||(tJ=!0,console.error("React instrumentation encountered an error: %o",U))}G=uN(G),J.context===null?J.context=G:J.pendingContext=G,rJ&&DQ!==null&&!PT&&(PT=!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.
|
|
188
|
-
|
|
189
|
-
Check the render method of %s.`,n(DQ)||"Unknown")),J=LG(X),J.payload={element:Y},H=H===void 0?null:H,H!==null&&(typeof H!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",H),J.callback=H),Y=AG(Z,J,X),Y!==null&&(hJ(X,"root.render()",null),gX(Y,Z,X),eW(Y,Z,X))}function dN(Z,X){if(Z=Z.memoizedState,Z!==null&&Z.dehydrated!==null){var Y=Z.retryLane;Z.retryLane=Y!==0&&Y<X?Y:X}}function L0(Z,X){dN(Z,X),(Z=Z.alternate)&&dN(Z,X)}function cN(Z){if(Z.tag===13||Z.tag===31){var X=bY(Z,67108864);X!==null&&gX(X,Z,67108864),L0(Z,67108864)}}function pN(Z){if(Z.tag===13||Z.tag===31){var X=jQ(Z);X=wH(X);var Y=bY(Z,X);Y!==null&&gX(Y,Z,X),L0(Z,X)}}function c$(){return DQ}function p$(Z,X,Y,J){var G=s.T;s.T=null;var H=MX.p;try{MX.p=$Q,A0(Z,X,Y,J)}finally{MX.p=H,s.T=G}}function l$(Z,X,Y,J){var G=s.T;s.T=null;var H=MX.p;try{MX.p=AJ,A0(Z,X,Y,J)}finally{MX.p=H,s.T=G}}function A0(Z,X,Y,J){if(CA){var G=O0(J);if(G===null)Z0(Z,X,J,PA,Y),iN(Z,J);else if(i$(G,Z,X,Y,J))J.stopPropagation();else if(iN(Z,J),X&4&&-1<gE.indexOf(Z)){for(;G!==null;){var H=fZ(G);if(H!==null)switch(H.tag){case 3:if(H=H.stateNode,H.current.memoizedState.isDehydrated){var U=kJ(H.pendingLanes);if(U!==0){var B=H;B.pendingLanes|=2;for(B.entangledLanes|=2;U;){var F=1<<31-cY(U);B.entanglements[1]|=F,U&=~F}nJ(H),(zX&(WY|xQ))===MY&&(_A=LY()+XT,BU(0,!1))}}break;case 31:case 13:B=bY(H,2),B!==null&&gX(B,H,2),J_(),L0(H,2)}if(H=O0(J),H===null&&Z0(Z,X,J,PA,Y),H===G)break;G=H}G!==null&&J.stopPropagation()}else Z0(Z,X,J,null,Y)}}function O0(Z){return Z=wM(Z),M0(Z)}function M0(Z){if(PA=null,Z=RZ(Z),Z!==null){var X=a(Z);if(X===null)Z=null;else{var Y=X.tag;if(Y===13){if(Z=r(X),Z!==null)return Z;Z=null}else if(Y===31){if(Z=JZ(X),Z!==null)return Z;Z=null}else if(Y===3){if(X.stateNode.current.memoizedState.isDehydrated)return X.tag===3?X.stateNode.containerInfo:null;Z=null}else X!==Z&&(Z=null)}}return PA=Z,null}function lN(Z){switch(Z){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 $Q;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 AJ;case"message":switch(XS()){case S0:return $Q;case E0:return AJ;case K_:case YS:return Zq;case k0:return $L;default:return Zq}default:return Zq}}function iN(Z,X){switch(Z){case"focusin":case"focusout":iG=null;break;case"dragenter":case"dragleave":nG=null;break;case"mouseover":case"mouseout":sG=null;break;case"pointerover":case"pointerout":LK.delete(X.pointerId);break;case"gotpointercapture":case"lostpointercapture":AK.delete(X.pointerId)}}function IU(Z,X,Y,J,G,H){if(Z===null||Z.nativeEvent!==H)return Z={blockedOn:X,domEventName:Y,eventSystemFlags:J,nativeEvent:H,targetContainers:[G]},X!==null&&(X=fZ(X),X!==null&&cN(X)),Z;return Z.eventSystemFlags|=J,X=Z.targetContainers,G!==null&&X.indexOf(G)===-1&&X.push(G),Z}function i$(Z,X,Y,J,G){switch(X){case"focusin":return iG=IU(iG,Z,X,Y,J,G),!0;case"dragenter":return nG=IU(nG,Z,X,Y,J,G),!0;case"mouseover":return sG=IU(sG,Z,X,Y,J,G),!0;case"pointerover":var H=G.pointerId;return LK.set(H,IU(LK.get(H)||null,Z,X,Y,J,G)),!0;case"gotpointercapture":return H=G.pointerId,AK.set(H,IU(AK.get(H)||null,Z,X,Y,J,G)),!0}return!1}function nN(Z){var X=RZ(Z.target);if(X!==null){var Y=a(X);if(Y!==null){if(X=Y.tag,X===13){if(X=r(Y),X!==null){Z.blockedOn=X,QZ(Z.priority,function(){pN(Y)});return}}else if(X===31){if(X=JZ(Y),X!==null){Z.blockedOn=X,QZ(Z.priority,function(){pN(Y)});return}}else if(X===3&&Y.stateNode.current.memoizedState.isDehydrated){Z.blockedOn=Y.tag===3?Y.stateNode.containerInfo:null;return}}}Z.blockedOn=null}function IL(Z){if(Z.blockedOn!==null)return!1;for(var X=Z.targetContainers;0<X.length;){var Y=O0(Z.nativeEvent);if(Y===null){Y=Z.nativeEvent;var J=new Y.constructor(Y.type,Y),G=J;jU!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),jU=G,Y.target.dispatchEvent(J),jU===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."),jU=null}else return X=fZ(Y),X!==null&&cN(X),Z.blockedOn=Y,!1;X.shift()}return!0}function sN(Z,X,Y){IL(Z)&&Y.delete(X)}function n$(){i9=!1,iG!==null&&IL(iG)&&(iG=null),nG!==null&&IL(nG)&&(nG=null),sG!==null&&IL(sG)&&(sG=null),LK.forEach(sN),AK.forEach(sN)}function TL(Z,X){Z.blockedOn===X&&(Z.blockedOn=null,i9||(i9=!0,KX.unstable_scheduleCallback(KX.unstable_NormalPriority,n$)))}function aN(Z){DA!==Z&&(DA=Z,KX.unstable_scheduleCallback(KX.unstable_NormalPriority,function(){DA===Z&&(DA=null);for(var X=0;X<Z.length;X+=3){var Y=Z[X],J=Z[X+1],G=Z[X+2];if(typeof J!=="function")if(M0(J||Y)===null)continue;else break;var H=fZ(Y);H!==null&&(Z.splice(X,3),X-=3,Y={pending:!0,data:G,method:Y.method,action:J},Object.freeze(Y),MF(H,Y,J,G))}}))}function __(Z){function X(F){return TL(F,Z)}iG!==null&&TL(iG,Z),nG!==null&&TL(nG,Z),sG!==null&&TL(sG,Z),LK.forEach(X),AK.forEach(X);for(var Y=0;Y<aG.length;Y++){var J=aG[Y];J.blockedOn===Z&&(J.blockedOn=null)}for(;0<aG.length&&(Y=aG[0],Y.blockedOn===null);)nN(Y),Y.blockedOn===null&&aG.shift();if(Y=(Z.ownerDocument||Z).$$reactFormReplay,Y!=null)for(J=0;J<Y.length;J+=3){var G=Y[J],H=Y[J+1],U=G[pY]||null;if(typeof H==="function")U||aN(Y);else if(U){var B=null;if(H&&H.hasAttribute("formAction")){if(G=H,U=H[pY]||null)B=U.formAction;else if(M0(G)!==null)continue}else B=U.action;typeof B==="function"?Y[J+1]=B:(Y.splice(J,3),J-=3),aN(Y)}}}function oN(){function Z(H){H.canIntercept&&H.info==="react-transition"&&H.intercept({handler:function(){return new Promise(function(U){return G=U})},focusReset:"manual",scroll:"manual"})}function X(){G!==null&&(G(),G=null),J||setTimeout(Y,20)}function Y(){if(!J&&!navigation.transition){var H=navigation.currentEntry;H&&H.url!=null&&navigation.navigate(H.url,{state:H.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var J=!1,G=null;return navigation.addEventListener("navigate",Z),navigation.addEventListener("navigatesuccess",X),navigation.addEventListener("navigateerror",X),setTimeout(Y,100),function(){J=!0,navigation.removeEventListener("navigate",Z),navigation.removeEventListener("navigatesuccess",X),navigation.removeEventListener("navigateerror",X),G!==null&&(G(),G=null)}}}function F0(Z){this._internalRoot=Z}function wL(Z){this._internalRoot=Z}function rN(Z){Z[jG]&&(Z._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 rZ=Object.assign,s$=Symbol.for("react.element"),aJ=Symbol.for("react.transitional.element"),W_=Symbol.for("react.portal"),U_=Symbol.for("react.fragment"),VL=Symbol.for("react.strict_mode"),N0=Symbol.for("react.profiler"),I0=Symbol.for("react.consumer"),oJ=Symbol.for("react.context"),TU=Symbol.for("react.forward_ref"),T0=Symbol.for("react.suspense"),w0=Symbol.for("react.suspense_list"),RL=Symbol.for("react.memo"),PQ=Symbol.for("react.lazy"),V0=Symbol.for("react.activity"),a$=Symbol.for("react.memo_cache_sentinel"),tN=Symbol.iterator,o$=Symbol.for("react.client.reference"),zY=Array.isArray,s=t_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,MX=z3.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,r$=Object.freeze({pending:!1,data:null,method:null,action:null}),R0=[],j0=[],Sq=-1,wG=wZ(null),wU=wZ(null),VG=wZ(null),jL=wZ(null),VU=0,eN,Z7,X7,Y7,Q7,J7,q7;w.__reactDisabledLog=!0;var C0,G7,P0=!1,D0=new(typeof WeakMap==="function"?WeakMap:Map),DQ=null,rJ=!1,LJ=Object.prototype.hasOwnProperty,$0=KX.unstable_scheduleCallback,t$=KX.unstable_cancelCallback,e$=KX.unstable_shouldYield,ZS=KX.unstable_requestPaint,LY=KX.unstable_now,XS=KX.unstable_getCurrentPriorityLevel,S0=KX.unstable_ImmediatePriority,E0=KX.unstable_UserBlockingPriority,K_=KX.unstable_NormalPriority,YS=KX.unstable_LowPriority,k0=KX.unstable_IdlePriority,QS=KX.log,JS=KX.unstable_setDisableYieldValue,B_=null,gY=null,tJ=!1,eJ=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",cY=Math.clz32?Math.clz32:BB,qS=Math.log,GS=Math.LN2,CL=256,PL=262144,DL=4194304,$Q=2,AJ=8,Zq=32,$L=268435456,RG=Math.random().toString(36).slice(2),CY="__reactFiber$"+RG,pY="__reactProps$"+RG,jG="__reactContainer$"+RG,x0="__reactEvents$"+RG,HS="__reactListeners$"+RG,zS="__reactHandles$"+RG,H7="__reactResources$"+RG,RU="__reactMarker$"+RG,z7=new Set,gH={},y0={},_S={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},WS=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]*$"),_7={},W7={},US=/[\n"\\]/g,U7=!1,K7=!1,B7=!1,L7=!1,A7=!1,O7=!1,M7=["value","defaultValue"],F7=!1,N7=/["'&<>\n\t]|^\s|\s$/,KS="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(" "),I7="applet caption html table td th marquee object template foreignObject desc title".split(" "),BS=I7.concat(["button"]),LS="dd dt li option optgroup p rp rt".split(" "),T7={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},SL={},v0={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"]},w7=/([A-Z])/g,V7=/^ms-/,AS=/^(?:webkit|moz|o)[A-Z]/,OS=/^-ms-/,MS=/-(.)/g,R7=/;\s*$/,L_={},h0={},j7=!1,C7=!1,P7=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(" ")),EL="http://www.w3.org/1998/Math/MathML",A_="http://www.w3.org/2000/svg",FS=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"]]),kL={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"},D7={"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},O_={},NS=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]*$"),IS=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]*$"),$7=!1,lY={},S7=/^on./,TS=/^on[^A-Z]/,wS=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]*$"),VS=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]*$"),RS=/^[\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,jU=null,M_=null,F_=null,b0=!1,Xq=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g0=!1;if(Xq)try{var CU={};Object.defineProperty(CU,"passive",{get:function(){g0=!0}}),window.addEventListener("test",CU,CU),window.removeEventListener("test",CU,CU)}catch(Z){g0=!1}var CG=null,m0=null,xL=null,mH={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(Z){return Z.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yL=XQ(mH),PU=rZ({},mH,{view:0,detail:0}),jS=XQ(PU),f0,u0,DU,vL=rZ({},PU,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:VM,button:0,buttons:0,relatedTarget:function(Z){return Z.relatedTarget===void 0?Z.fromElement===Z.srcElement?Z.toElement:Z.fromElement:Z.relatedTarget},movementX:function(Z){if("movementX"in Z)return Z.movementX;return Z!==DU&&(DU&&Z.type==="mousemove"?(f0=Z.screenX-DU.screenX,u0=Z.screenY-DU.screenY):u0=f0=0,DU=Z),f0},movementY:function(Z){return"movementY"in Z?Z.movementY:u0}}),E7=XQ(vL),CS=rZ({},vL,{dataTransfer:0}),PS=XQ(CS),DS=rZ({},PU,{relatedTarget:0}),d0=XQ(DS),$S=rZ({},mH,{animationName:0,elapsedTime:0,pseudoElement:0}),SS=XQ($S),ES=rZ({},mH,{clipboardData:function(Z){return"clipboardData"in Z?Z.clipboardData:window.clipboardData}}),kS=XQ(ES),xS=rZ({},mH,{data:0}),k7=XQ(xS),yS=k7,vS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hS={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"},bS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},gS=rZ({},PU,{key:function(Z){if(Z.key){var X=vS[Z.key]||Z.key;if(X!=="Unidentified")return X}return Z.type==="keypress"?(Z=IB(Z),Z===13?"Enter":String.fromCharCode(Z)):Z.type==="keydown"||Z.type==="keyup"?hS[Z.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:VM,charCode:function(Z){return Z.type==="keypress"?IB(Z):0},keyCode:function(Z){return Z.type==="keydown"||Z.type==="keyup"?Z.keyCode:0},which:function(Z){return Z.type==="keypress"?IB(Z):Z.type==="keydown"||Z.type==="keyup"?Z.keyCode:0}}),mS=XQ(gS),fS=rZ({},vL,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),x7=XQ(fS),uS=rZ({},PU,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:VM}),dS=XQ(uS),cS=rZ({},mH,{propertyName:0,elapsedTime:0,pseudoElement:0}),pS=XQ(cS),lS=rZ({},vL,{deltaX:function(Z){return"deltaX"in Z?Z.deltaX:("wheelDeltaX"in Z)?-Z.wheelDeltaX:0},deltaY:function(Z){return"deltaY"in Z?Z.deltaY:("wheelDeltaY"in Z)?-Z.wheelDeltaY:("wheelDelta"in Z)?-Z.wheelDelta:0},deltaZ:0,deltaMode:0}),iS=XQ(lS),nS=rZ({},mH,{newState:0,oldState:0}),sS=XQ(nS),aS=[9,13,27,32],y7=229,c0=Xq&&"CompositionEvent"in window,$U=null;Xq&&"documentMode"in document&&($U=document.documentMode);var oS=Xq&&"TextEvent"in window&&!$U,v7=Xq&&(!c0||$U&&8<$U&&11>=$U),h7=32,b7=String.fromCharCode(h7),g7=!1,N_=!1,rS={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},SU=null,EU=null,m7=!1;Xq&&(m7=FD("input")&&(!document.documentMode||9<document.documentMode));var iY=typeof Object.is==="function"?Object.is:RD,tS=Xq&&"documentMode"in document&&11>=document.documentMode,I_=null,p0=null,kU=null,l0=!1,T_={animationend:RH("Animation","AnimationEnd"),animationiteration:RH("Animation","AnimationIteration"),animationstart:RH("Animation","AnimationStart"),transitionrun:RH("Transition","TransitionRun"),transitionstart:RH("Transition","TransitionStart"),transitioncancel:RH("Transition","TransitionCancel"),transitionend:RH("Transition","TransitionEnd")},i0={},f7={};Xq&&(f7=document.createElement("div").style,("AnimationEvent"in window)||(delete T_.animationend.animation,delete T_.animationiteration.animation,delete T_.animationstart.animation),("TransitionEvent"in window)||delete T_.transitionend.transition);var u7=jH("animationend"),d7=jH("animationiteration"),c7=jH("animationstart"),eS=jH("transitionrun"),ZE=jH("transitionstart"),XE=jH("transitioncancel"),p7=jH("transitionend"),l7=new Map,n0="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(" ");n0.push("scrollEnd");var i7=0;if(typeof performance==="object"&&typeof performance.now==="function")var YE=performance,n7=function(){return YE.now()};else{var QE=Date;n7=function(){return QE.now()}}var s0=typeof reportError==="function"?reportError:function(Z){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof Z==="object"&&Z!==null&&typeof Z.message==="string"?String(Z.message):String(Z),error:Z});if(!window.dispatchEvent(X))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",Z);return}console.error(Z)},JE="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.",hL=0,a0=1,o0=2,r0=3,bL="– ",gL="+ ",s7=" ",DX=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",pQ="Components ⚛",tZ="Scheduler ⚛",eZ="Blocking",PG=!1,Eq={color:"primary",properties:null,tooltipText:"",track:pQ},DG={start:-0,end:-0,detail:{devtools:Eq}},qE=["Changed Props",""],a7="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",GE=["Changed Props",a7],xU=1,kq=2,lQ=[],w_=0,t0=0,$G={};Object.freeze($G);var iQ=null,V_=null,hZ=0,HE=1,iZ=2,mY=8,OJ=16,zE=32,o7=!1;try{var r7=Object.preventExtensions({})}catch(Z){o7=!0}var e0=new WeakMap,R_=[],j_=0,mL=null,yU=0,nQ=[],sQ=0,fH=null,xq=1,yq="",PY=null,$X=null,QX=!1,Yq=!1,SQ=null,SG=null,aQ=!1,Z9=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."),X9=wZ(null),Y9=wZ(null),t7={},fL=null,C_=null,P_=!1,_E=typeof AbortController<"u"?AbortController:function(){var Z=[],X=this.signal={aborted:!1,addEventListener:function(Y,J){Z.push(J)}};this.abort=function(){X.aborted=!0,Z.forEach(function(Y){return Y()})}},WE=KX.unstable_scheduleCallback,UE=KX.unstable_NormalPriority,rX={$$typeof:oJ,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},tX=KX.unstable_now,uL=console.createTask?console.createTask:function(){return null},vU=1,dL=2,AY=-0,EG=-0,vq=-0,hq=null,nY=-1.1,uH=-0,hX=-0,kZ=-1.1,yZ=-1.1,xX=null,mX=!1,kG=-0,Qq=-1.1,hU=null,xG=0,Q9=null,J9=null,dH=-1.1,bU=null,D_=-1.1,cL=-1.1,Jq=-0,bq=-1.1,oQ=-1.1,q9=0,gU=null,e7=null,ZI=null,yG=-1.1,cH=null,vG=-1.1,pL=-1.1,XI=-0,YI=-0,lL=0,gq=null,QI=0,mU=-1.1,iL=!1,nL=!1,fU=null,G9=0,pH=0,$_=null,JI=s.S;s.S=function(Z,X){if(eI=LY(),typeof X==="object"&&X!==null&&typeof X.then==="function"){if(0>bq&&0>oQ){bq=tX();var Y=OU(),J=AU();if(Y!==vG||J!==cH)vG=-1.1;yG=Y,cH=J}ED(Z,X)}JI!==null&&JI(Z,X)};var lH=wZ(null),MJ={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},uU=[],dU=[],cU=[],pU=[],lU=[],iU=[],iH=new Set;MJ.recordUnsafeLifecycleWarnings=function(Z,X){iH.has(Z.type)||(typeof X.componentWillMount==="function"&&X.componentWillMount.__suppressDeprecationWarning!==!0&&uU.push(Z),Z.mode&mY&&typeof X.UNSAFE_componentWillMount==="function"&&dU.push(Z),typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&cU.push(Z),Z.mode&mY&&typeof X.UNSAFE_componentWillReceiveProps==="function"&&pU.push(Z),typeof X.componentWillUpdate==="function"&&X.componentWillUpdate.__suppressDeprecationWarning!==!0&&lU.push(Z),Z.mode&mY&&typeof X.UNSAFE_componentWillUpdate==="function"&&iU.push(Z))},MJ.flushPendingUnsafeLifecycleWarnings=function(){var Z=new Set;0<uU.length&&(uU.forEach(function(B){Z.add(n(B)||"Component"),iH.add(B.type)}),uU=[]);var X=new Set;0<dU.length&&(dU.forEach(function(B){X.add(n(B)||"Component"),iH.add(B.type)}),dU=[]);var Y=new Set;0<cU.length&&(cU.forEach(function(B){Y.add(n(B)||"Component"),iH.add(B.type)}),cU=[]);var J=new Set;0<pU.length&&(pU.forEach(function(B){J.add(n(B)||"Component"),iH.add(B.type)}),pU=[]);var G=new Set;0<lU.length&&(lU.forEach(function(B){G.add(n(B)||"Component"),iH.add(B.type)}),lU=[]);var H=new Set;if(0<iU.length&&(iU.forEach(function(B){H.add(n(B)||"Component"),iH.add(B.type)}),iU=[]),0<X.size){var U=O(X);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.
|
|
190
|
-
|
|
191
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
192
|
-
|
|
193
|
-
Please update the following components: %s`,U)}0<J.size&&(U=O(J),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.
|
|
194
|
-
|
|
195
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
-
* 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
|
|
197
|
-
|
|
198
|
-
Please update the following components: %s`,U)),0<H.size&&(U=O(H),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.
|
|
199
|
-
|
|
200
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
201
|
-
|
|
202
|
-
Please update the following components: %s`,U)),0<Z.size&&(U=O(Z),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
-
|
|
204
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
205
|
-
* 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.
|
|
206
|
-
|
|
207
|
-
Please update the following components: %s`,U)),0<Y.size&&(U=O(Y),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
208
|
-
|
|
209
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
210
|
-
* 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
|
|
211
|
-
* 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.
|
|
212
|
-
|
|
213
|
-
Please update the following components: %s`,U)),0<G.size&&(U=O(G),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
214
|
-
|
|
215
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
216
|
-
* 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.
|
|
217
|
-
|
|
218
|
-
Please update the following components: %s`,U))};var sL=new Map,qI=new Set;MJ.recordLegacyContextWarning=function(Z,X){var Y=null;for(var J=Z;J!==null;)J.mode&mY&&(Y=J),J=J.return;Y===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."):!qI.has(Z.type)&&(J=sL.get(Y),Z.type.contextTypes!=null||Z.type.childContextTypes!=null||X!==null&&typeof X.getChildContext==="function")&&(J===void 0&&(J=[],sL.set(Y,J)),J.push(Z))},MJ.flushLegacyContextWarning=function(){sL.forEach(function(Z){if(Z.length!==0){var X=Z[0],Y=new Set;Z.forEach(function(G){Y.add(n(G)||"Component"),qI.add(G.type)});var J=O(Y);BZ(X,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
219
|
-
|
|
220
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
221
|
-
|
|
222
|
-
Please update the following components: %s
|
|
223
|
-
|
|
224
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,J)})}})},MJ.discardPendingWarnings=function(){uU=[],dU=[],cU=[],pU=[],lU=[],iU=[],sL=new Map};var GI={react_stack_bottom_frame:function(Z,X,Y){var J=rJ;rJ=!0;try{return Z(X,Y)}finally{rJ=J}}},H9=GI.react_stack_bottom_frame.bind(GI),HI={react_stack_bottom_frame:function(Z){var X=rJ;rJ=!0;try{return Z.render()}finally{rJ=X}}},zI=HI.react_stack_bottom_frame.bind(HI),_I={react_stack_bottom_frame:function(Z,X){try{X.componentDidMount()}catch(Y){OX(Z,Z.return,Y)}}},z9=_I.react_stack_bottom_frame.bind(_I),WI={react_stack_bottom_frame:function(Z,X,Y,J,G){try{X.componentDidUpdate(Y,J,G)}catch(H){OX(Z,Z.return,H)}}},UI=WI.react_stack_bottom_frame.bind(WI),KI={react_stack_bottom_frame:function(Z,X){var Y=X.stack;Z.componentDidCatch(X.value,{componentStack:Y!==null?Y:""})}},KE=KI.react_stack_bottom_frame.bind(KI),BI={react_stack_bottom_frame:function(Z,X,Y){try{Y.componentWillUnmount()}catch(J){OX(Z,X,J)}}},LI=BI.react_stack_bottom_frame.bind(BI),AI={react_stack_bottom_frame:function(Z){var X=Z.create;return Z=Z.inst,X=X(),Z.destroy=X}},BE=AI.react_stack_bottom_frame.bind(AI),OI={react_stack_bottom_frame:function(Z,X,Y){try{Y()}catch(J){OX(Z,X,J)}}},LE=OI.react_stack_bottom_frame.bind(OI),MI={react_stack_bottom_frame:function(Z){var X=Z._init;return X(Z._payload)}},AE=MI.react_stack_bottom_frame.bind(MI),S_=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`."),_9=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."),aL=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."),oL={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.')}},nH=null,nU=!1,E_=null,sU=0,nZ=null,W9,FI=W9=!1,NI={},II={},TI={};N=function(Z,X,Y){if(Y!==null&&typeof Y==="object"&&Y._store&&(!Y._store.validated&&Y.key==null||Y._store.validated===2)){if(typeof Y._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.");Y._store.validated=1;var J=n(Z),G=J||"null";if(!NI[G]){NI[G]=!0,Y=Y._owner,Z=Z._debugOwner;var H="";Z&&typeof Z.tag==="number"&&(G=n(Z))&&(H=`
|
|
225
|
-
|
|
226
|
-
Check the render method of \``+G+"`."),H||J&&(H=`
|
|
227
|
-
|
|
228
|
-
Check the top-level render call using <`+J+">.");var U="";Y!=null&&Z!==Y&&(J=null,typeof Y.tag==="number"?J=n(Y):typeof Y.name==="string"&&(J=Y.name),J&&(U=" It was passed a child from "+J+".")),BZ(X,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.',H,U)})}}};var sH=B1(!0),wI=B1(!1),VI=0,RI=1,jI=2,U9=3,hG=!1,CI=!1,K9=null,B9=!1,k_=wZ(null),rL=wZ(0),EQ=wZ(null),rQ=null,x_=1,aU=2,nX=wZ(0),tL=0,tQ=1,sY=2,kQ=4,aY=8,y_,PI=new Set,DI=new Set,L9=new Set,$I=new Set,mq=0,bZ=null,VX=null,eX=null,eL=!1,v_=!1,aH=!1,ZA=0,oU=0,fq=null,OE=0,ME=25,i=null,eQ=null,uq=-1,rU=!1,tU={readContext:kX,use:FG,useCallback:pX,useContext:pX,useEffect:pX,useImperativeHandle:pX,useLayoutEffect:pX,useInsertionEffect:pX,useMemo:pX,useReducer:pX,useRef:pX,useState:pX,useDebugValue:pX,useDeferredValue:pX,useTransition:pX,useSyncExternalStore:pX,useId:pX,useHostTransitionStatus:pX,useFormState:pX,useActionState:pX,useOptimistic:pX,useMemoCache:pX,useCacheRefresh:pX};tU.useEffectEvent=pX;var A9=null,SI=null,O9=null,EI=null,qq=null,FJ=null,XA=null;A9={readContext:function(Z){return kX(Z)},use:FG,useCallback:function(Z,X){return i="useCallback",oZ(),rz(X),BF(Z,X)},useContext:function(Z){return i="useContext",oZ(),kX(Z)},useEffect:function(Z,X){return i="useEffect",oZ(),rz(X),sB(Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",oZ(),rz(Y),KF(Z,X,Y)},useInsertionEffect:function(Z,X){i="useInsertionEffect",oZ(),rz(X),xH(4,sY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",oZ(),rz(X),UF(Z,X)},useMemo:function(Z,X){i="useMemo",oZ(),rz(X);var Y=s.H;s.H=qq;try{return LF(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",oZ();var J=s.H;s.H=qq;try{return YF(Z,X,Y)}finally{s.H=J}},useRef:function(Z){return i="useRef",oZ(),_F(Z)},useState:function(Z){i="useState",oZ();var X=s.H;s.H=qq;try{return GF(Z)}finally{s.H=X}},useDebugValue:function(){i="useDebugValue",oZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",oZ(),AF(Z,X)},useTransition:function(){return i="useTransition",oZ(),FF()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",oZ(),JF(Z,X,Y)},useId:function(){return i="useId",oZ(),NF()},useFormState:function(Z,X){return i="useFormState",oZ(),cB(),ez(Z,X)},useActionState:function(Z,X){return i="useActionState",oZ(),ez(Z,X)},useOptimistic:function(Z){return i="useOptimistic",oZ(),HF(Z)},useHostTransitionStatus:yH,useMemoCache:kH,useCacheRefresh:function(){return i="useCacheRefresh",oZ(),IF()},useEffectEvent:function(Z){return i="useEffectEvent",oZ(),WF(Z)}},SI={readContext:function(Z){return kX(Z)},use:FG,useCallback:function(Z,X){return i="useCallback",YZ(),BF(Z,X)},useContext:function(Z){return i="useContext",YZ(),kX(Z)},useEffect:function(Z,X){return i="useEffect",YZ(),sB(Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",YZ(),KF(Z,X,Y)},useInsertionEffect:function(Z,X){i="useInsertionEffect",YZ(),xH(4,sY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",YZ(),UF(Z,X)},useMemo:function(Z,X){i="useMemo",YZ();var Y=s.H;s.H=qq;try{return LF(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",YZ();var J=s.H;s.H=qq;try{return YF(Z,X,Y)}finally{s.H=J}},useRef:function(Z){return i="useRef",YZ(),_F(Z)},useState:function(Z){i="useState",YZ();var X=s.H;s.H=qq;try{return GF(Z)}finally{s.H=X}},useDebugValue:function(){i="useDebugValue",YZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",YZ(),AF(Z,X)},useTransition:function(){return i="useTransition",YZ(),FF()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",YZ(),JF(Z,X,Y)},useId:function(){return i="useId",YZ(),NF()},useActionState:function(Z,X){return i="useActionState",YZ(),ez(Z,X)},useFormState:function(Z,X){return i="useFormState",YZ(),cB(),ez(Z,X)},useOptimistic:function(Z){return i="useOptimistic",YZ(),HF(Z)},useHostTransitionStatus:yH,useMemoCache:kH,useCacheRefresh:function(){return i="useCacheRefresh",YZ(),IF()},useEffectEvent:function(Z){return i="useEffectEvent",YZ(),WF(Z)}},O9={readContext:function(Z){return kX(Z)},use:FG,useCallback:function(Z,X){return i="useCallback",YZ(),rB(Z,X)},useContext:function(Z){return i="useContext",YZ(),kX(Z)},useEffect:function(Z,X){i="useEffect",YZ(),YQ(2048,aY,Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",YZ(),oB(Z,X,Y)},useInsertionEffect:function(Z,X){return i="useInsertionEffect",YZ(),YQ(4,sY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",YZ(),YQ(4,kQ,Z,X)},useMemo:function(Z,X){i="useMemo",YZ();var Y=s.H;s.H=FJ;try{return tB(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",YZ();var J=s.H;s.H=FJ;try{return tz(Z,X,Y)}finally{s.H=J}},useRef:function(){return i="useRef",YZ(),FX().memoizedState},useState:function(){i="useState",YZ();var Z=s.H;s.H=FJ;try{return tz(KJ)}finally{s.H=Z}},useDebugValue:function(){i="useDebugValue",YZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",YZ(),v1(Z,X)},useTransition:function(){return i="useTransition",YZ(),u1()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",YZ(),lB(Z,X,Y)},useId:function(){return i="useId",YZ(),FX().memoizedState},useFormState:function(Z){return i="useFormState",YZ(),cB(),iB(Z)},useActionState:function(Z){return i="useActionState",YZ(),iB(Z)},useOptimistic:function(Z,X){return i="useOptimistic",YZ(),j1(Z,X)},useHostTransitionStatus:yH,useMemoCache:kH,useCacheRefresh:function(){return i="useCacheRefresh",YZ(),FX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",YZ(),aB(Z)}},EI={readContext:function(Z){return kX(Z)},use:FG,useCallback:function(Z,X){return i="useCallback",YZ(),rB(Z,X)},useContext:function(Z){return i="useContext",YZ(),kX(Z)},useEffect:function(Z,X){i="useEffect",YZ(),YQ(2048,aY,Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",YZ(),oB(Z,X,Y)},useInsertionEffect:function(Z,X){return i="useInsertionEffect",YZ(),YQ(4,sY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",YZ(),YQ(4,kQ,Z,X)},useMemo:function(Z,X){i="useMemo",YZ();var Y=s.H;s.H=XA;try{return tB(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",YZ();var J=s.H;s.H=XA;try{return QU(Z,X,Y)}finally{s.H=J}},useRef:function(){return i="useRef",YZ(),FX().memoizedState},useState:function(){i="useState",YZ();var Z=s.H;s.H=XA;try{return QU(KJ)}finally{s.H=Z}},useDebugValue:function(){i="useDebugValue",YZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",YZ(),h1(Z,X)},useTransition:function(){return i="useTransition",YZ(),d1()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",YZ(),lB(Z,X,Y)},useId:function(){return i="useId",YZ(),FX().memoizedState},useFormState:function(Z){return i="useFormState",YZ(),cB(),nB(Z)},useActionState:function(Z){return i="useActionState",YZ(),nB(Z)},useOptimistic:function(Z,X){return i="useOptimistic",YZ(),P1(Z,X)},useHostTransitionStatus:yH,useMemoCache:kH,useCacheRefresh:function(){return i="useCacheRefresh",YZ(),FX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",YZ(),aB(Z)}},qq={readContext:function(Z){return M(),kX(Z)},use:function(Z){return L(),FG(Z)},useCallback:function(Z,X){return i="useCallback",L(),oZ(),BF(Z,X)},useContext:function(Z){return i="useContext",L(),oZ(),kX(Z)},useEffect:function(Z,X){return i="useEffect",L(),oZ(),sB(Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",L(),oZ(),KF(Z,X,Y)},useInsertionEffect:function(Z,X){i="useInsertionEffect",L(),oZ(),xH(4,sY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",L(),oZ(),UF(Z,X)},useMemo:function(Z,X){i="useMemo",L(),oZ();var Y=s.H;s.H=qq;try{return LF(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",L(),oZ();var J=s.H;s.H=qq;try{return YF(Z,X,Y)}finally{s.H=J}},useRef:function(Z){return i="useRef",L(),oZ(),_F(Z)},useState:function(Z){i="useState",L(),oZ();var X=s.H;s.H=qq;try{return GF(Z)}finally{s.H=X}},useDebugValue:function(){i="useDebugValue",L(),oZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",L(),oZ(),AF(Z,X)},useTransition:function(){return i="useTransition",L(),oZ(),FF()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",L(),oZ(),JF(Z,X,Y)},useId:function(){return i="useId",L(),oZ(),NF()},useFormState:function(Z,X){return i="useFormState",L(),oZ(),ez(Z,X)},useActionState:function(Z,X){return i="useActionState",L(),oZ(),ez(Z,X)},useOptimistic:function(Z){return i="useOptimistic",L(),oZ(),HF(Z)},useMemoCache:function(Z){return L(),kH(Z)},useHostTransitionStatus:yH,useCacheRefresh:function(){return i="useCacheRefresh",oZ(),IF()},useEffectEvent:function(Z){return i="useEffectEvent",L(),oZ(),WF(Z)}},FJ={readContext:function(Z){return M(),kX(Z)},use:function(Z){return L(),FG(Z)},useCallback:function(Z,X){return i="useCallback",L(),YZ(),rB(Z,X)},useContext:function(Z){return i="useContext",L(),YZ(),kX(Z)},useEffect:function(Z,X){i="useEffect",L(),YZ(),YQ(2048,aY,Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",L(),YZ(),oB(Z,X,Y)},useInsertionEffect:function(Z,X){return i="useInsertionEffect",L(),YZ(),YQ(4,sY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",L(),YZ(),YQ(4,kQ,Z,X)},useMemo:function(Z,X){i="useMemo",L(),YZ();var Y=s.H;s.H=FJ;try{return tB(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",L(),YZ();var J=s.H;s.H=FJ;try{return tz(Z,X,Y)}finally{s.H=J}},useRef:function(){return i="useRef",L(),YZ(),FX().memoizedState},useState:function(){i="useState",L(),YZ();var Z=s.H;s.H=FJ;try{return tz(KJ)}finally{s.H=Z}},useDebugValue:function(){i="useDebugValue",L(),YZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",L(),YZ(),v1(Z,X)},useTransition:function(){return i="useTransition",L(),YZ(),u1()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",L(),YZ(),lB(Z,X,Y)},useId:function(){return i="useId",L(),YZ(),FX().memoizedState},useFormState:function(Z){return i="useFormState",L(),YZ(),iB(Z)},useActionState:function(Z){return i="useActionState",L(),YZ(),iB(Z)},useOptimistic:function(Z,X){return i="useOptimistic",L(),YZ(),j1(Z,X)},useMemoCache:function(Z){return L(),kH(Z)},useHostTransitionStatus:yH,useCacheRefresh:function(){return i="useCacheRefresh",YZ(),FX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",L(),YZ(),aB(Z)}},XA={readContext:function(Z){return M(),kX(Z)},use:function(Z){return L(),FG(Z)},useCallback:function(Z,X){return i="useCallback",L(),YZ(),rB(Z,X)},useContext:function(Z){return i="useContext",L(),YZ(),kX(Z)},useEffect:function(Z,X){i="useEffect",L(),YZ(),YQ(2048,aY,Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",L(),YZ(),oB(Z,X,Y)},useInsertionEffect:function(Z,X){return i="useInsertionEffect",L(),YZ(),YQ(4,sY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",L(),YZ(),YQ(4,kQ,Z,X)},useMemo:function(Z,X){i="useMemo",L(),YZ();var Y=s.H;s.H=FJ;try{return tB(Z,X)}finally{s.H=Y}},useReducer:function(Z,X,Y){i="useReducer",L(),YZ();var J=s.H;s.H=FJ;try{return QU(Z,X,Y)}finally{s.H=J}},useRef:function(){return i="useRef",L(),YZ(),FX().memoizedState},useState:function(){i="useState",L(),YZ();var Z=s.H;s.H=FJ;try{return QU(KJ)}finally{s.H=Z}},useDebugValue:function(){i="useDebugValue",L(),YZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",L(),YZ(),h1(Z,X)},useTransition:function(){return i="useTransition",L(),YZ(),d1()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",L(),YZ(),lB(Z,X,Y)},useId:function(){return i="useId",L(),YZ(),FX().memoizedState},useFormState:function(Z){return i="useFormState",L(),YZ(),nB(Z)},useActionState:function(Z){return i="useActionState",L(),YZ(),nB(Z)},useOptimistic:function(Z,X){return i="useOptimistic",L(),YZ(),P1(Z,X)},useMemoCache:function(Z){return L(),kH(Z)},useHostTransitionStatus:yH,useCacheRefresh:function(){return i="useCacheRefresh",YZ(),FX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",L(),YZ(),aB(Z)}};var kI={},xI=new Set,yI=new Set,vI=new Set,hI=new Set,bI=new Set,gI=new Set,mI=new Set,fI=new Set,uI=new Set,dI=new Set;Object.freeze(kI);var M9={enqueueSetState:function(Z,X,Y){Z=Z._reactInternals;var J=jQ(Z),G=LG(J);G.payload=X,Y!==void 0&&Y!==null&&(wF(Y),G.callback=Y),X=AG(Z,G,J),X!==null&&(hJ(J,"this.setState()",Z),gX(X,Z,J),eW(X,Z,J))},enqueueReplaceState:function(Z,X,Y){Z=Z._reactInternals;var J=jQ(Z),G=LG(J);G.tag=RI,G.payload=X,Y!==void 0&&Y!==null&&(wF(Y),G.callback=Y),X=AG(Z,G,J),X!==null&&(hJ(J,"this.replaceState()",Z),gX(X,Z,J),eW(X,Z,J))},enqueueForceUpdate:function(Z,X){Z=Z._reactInternals;var Y=jQ(Z),J=LG(Y);J.tag=jI,X!==void 0&&X!==null&&(wF(X),J.callback=X),X=AG(Z,J,Y),X!==null&&(hJ(Y,"this.forceUpdate()",Z),gX(X,Z,Y),eW(X,Z,Y))}},h_=null,F9=null,N9=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."),ZY=!1,cI={},pI={},lI={},iI={},b_=!1,nI={},YA={},I9={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},sI=!1,aI=null;aI=new Set;var dq=!1,XY=!1,T9=!1,oI=typeof WeakSet==="function"?WeakSet:Set,OY=null,g_=null,m_=null,YY=null,qQ=!1,NJ=null,_Y=!1,eU=8192,FE={getCacheForType:function(Z){var X=kX(rX),Y=X.data.get(Z);return Y===void 0&&(Y=Z(),X.data.set(Z,Y)),Y},cacheSignal:function(){return kX(rX).controller.signal},getOwner:function(){return DQ}};if(typeof Symbol==="function"&&Symbol.for){var ZK=Symbol.for;ZK("selector.component"),ZK("selector.has_pseudo_class"),ZK("selector.role"),ZK("selector.test_id"),ZK("selector.text")}var NE=[],IE=typeof WeakMap==="function"?WeakMap:Map,MY=0,WY=2,xQ=4,cq=0,XK=1,oH=2,QA=3,bG=4,JA=6,rI=5,zX=MY,RX=null,aZ=null,sZ=0,GQ=0,qA=1,rH=2,YK=3,tI=4,w9=5,QK=6,GA=7,V9=8,tH=9,NX=GQ,yQ=null,gG=!1,f_=!1,R9=!1,Gq=0,bX=cq,mG=0,fG=0,j9=0,HQ=0,eH=0,JK=null,oY=null,HA=!1,zA=0,eI=0,ZT=300,_A=1/0,XT=500,qK=null,lX=null,uG=null,WA=0,C9=1,P9=2,YT=3,dG=0,QT=1,JT=2,qT=3,GT=4,UA=5,QY=0,cG=null,u_=null,IJ=0,D9=0,$9=-0,S9=null,HT=null,zT=null,TJ=WA,_T=null,TE=50,GK=0,E9=null,k9=!1,KA=!1,wE=50,Zz=0,HK=null,d_=!1,BA=null,WT=!1,UT=new Set,VE={},LA=null,c_=null,x9=!1,y9=!1,AA=!1,v9=!1,pG=0,h9={};(function(){for(var Z=0;Z<n0.length;Z++){var X=n0[Z],Y=X.toLowerCase();X=X[0].toUpperCase()+X.slice(1),UJ(Y,"on"+X)}UJ(u7,"onAnimationEnd"),UJ(d7,"onAnimationIteration"),UJ(c7,"onAnimationStart"),UJ("dblclick","onDoubleClick"),UJ("focusin","onFocus"),UJ("focusout","onBlur"),UJ(eS,"onTransitionRun"),UJ(ZE,"onTransitionStart"),UJ(XE,"onTransitionCancel"),UJ(p7,"onTransitionEnd")})(),FQ("onMouseEnter",["mouseout","mouseover"]),FQ("onMouseLeave",["mouseout","mouseover"]),FQ("onPointerEnter",["pointerout","pointerover"]),FQ("onPointerLeave",["pointerout","pointerover"]),hY("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),hY("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),hY("onBeforeInput",["compositionend","keypress","textInput","paste"]),hY("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),hY("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),hY("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zK="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(" "),b9=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zK)),OA="_reactListening"+Math.random().toString(36).slice(2),KT=!1,BT=!1,MA=!1,LT=!1,FA=!1,NA=!1,AT=!1,IA={},RE=/\r\n?/g,jE=/\u0000|\uFFFD/g,Xz="http://www.w3.org/1999/xlink",g9="http://www.w3.org/XML/1998/namespace",CE="javascript:throw new Error('React form unexpectedly submitted.')",PE="suppressHydrationWarning",Yz="&",TA="/&",_K="$",WK="/$",lG="$?",Qz="$~",p_="$!",DE="html",$E="body",SE="head",m9="F!",OT="F",MT="loading",EE="style",pq=0,l_=1,wA=2,f9=null,u9=null,FT={dialog:!0,webview:!0},d9=null,UK=void 0,NT=typeof setTimeout==="function"?setTimeout:void 0,kE=typeof clearTimeout==="function"?clearTimeout:void 0,Jz=-1,IT=typeof Promise==="function"?Promise:void 0,xE=typeof queueMicrotask==="function"?queueMicrotask:typeof IT<"u"?function(Z){return IT.resolve(null).then(Z).catch(M$)}:NT,c9=null,qz=0,KK=1,TT=2,wT=3,ZJ=4,XJ=new Map,VT=new Set,lq=MX.d;MX.d={f:function(){var Z=lq.f(),X=J_();return Z||X},r:function(Z){var X=fZ(Z);X!==null&&X.tag===5&&X.type==="form"?f1(X):lq.r(Z)},D:function(Z){lq.D(Z),xN("dns-prefetch",Z,null)},C:function(Z,X){lq.C(Z,X),xN("preconnect",Z,X)},L:function(Z,X,Y){lq.L(Z,X,Y);var J=i_;if(J&&Z&&X){var G='link[rel="preload"][as="'+dQ(X)+'"]';X==="image"?Y&&Y.imageSrcSet?(G+='[imagesrcset="'+dQ(Y.imageSrcSet)+'"]',typeof Y.imageSizes==="string"&&(G+='[imagesizes="'+dQ(Y.imageSizes)+'"]')):G+='[href="'+dQ(Z)+'"]':G+='[href="'+dQ(Z)+'"]';var H=G;switch(X){case"style":H=H_(Z);break;case"script":H=z_(Z)}XJ.has(H)||(Z=rZ({rel:"preload",href:X==="image"&&Y&&Y.imageSrcSet?void 0:Z,as:X},Y),XJ.set(H,Z),J.querySelector(G)!==null||X==="style"&&J.querySelector(FU(H))||X==="script"&&J.querySelector(NU(H))||(X=J.createElement("link"),jY(X,"link",Z),EZ(X),J.head.appendChild(X)))}},m:function(Z,X){lq.m(Z,X);var Y=i_;if(Y&&Z){var J=X&&typeof X.as==="string"?X.as:"script",G='link[rel="modulepreload"][as="'+dQ(J)+'"][href="'+dQ(Z)+'"]',H=G;switch(J){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":H=z_(Z)}if(!XJ.has(H)&&(Z=rZ({rel:"modulepreload",href:Z},X),XJ.set(H,Z),Y.querySelector(G)===null)){switch(J){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Y.querySelector(NU(H)))return}J=Y.createElement("link"),jY(J,"link",Z),EZ(J),Y.head.appendChild(J)}}},X:function(Z,X){lq.X(Z,X);var Y=i_;if(Y&&Z){var J=UX(Y).hoistableScripts,G=z_(Z),H=J.get(G);H||(H=Y.querySelector(NU(G)),H||(Z=rZ({src:Z,async:!0},X),(X=XJ.get(G))&&K0(Z,X),H=Y.createElement("script"),EZ(H),jY(H,"link",Z),Y.head.appendChild(H)),H={type:"script",instance:H,count:1,state:null},J.set(G,H))}},S:function(Z,X,Y){lq.S(Z,X,Y);var J=i_;if(J&&Z){var G=UX(J).hoistableStyles,H=H_(Z);X=X||"default";var U=G.get(H);if(!U){var B={loading:qz,preload:null};if(U=J.querySelector(FU(H)))B.loading=KK|ZJ;else{Z=rZ({rel:"stylesheet",href:Z,"data-precedence":X},Y),(Y=XJ.get(H))&&U0(Z,Y);var F=U=J.createElement("link");EZ(F),jY(F,"link",Z),F._p=new Promise(function(T,x){F.onload=T,F.onerror=x}),F.addEventListener("load",function(){B.loading|=KK}),F.addEventListener("error",function(){B.loading|=TT}),B.loading|=ZJ,ML(U,X,J)}U={type:"stylesheet",instance:U,count:1,state:B},G.set(H,U)}}},M:function(Z,X){lq.M(Z,X);var Y=i_;if(Y&&Z){var J=UX(Y).hoistableScripts,G=z_(Z),H=J.get(G);H||(H=Y.querySelector(NU(G)),H||(Z=rZ({src:Z,async:!0,type:"module"},X),(X=XJ.get(G))&&K0(Z,X),H=Y.createElement("script"),EZ(H),jY(H,"link",Z),Y.head.appendChild(H)),H={type:"script",instance:H,count:1,state:null},J.set(G,H))}}};var i_=typeof document>"u"?null:document,VA=null,yE=60000,vE=800,hE=500,p9=0,l9=null,RA=null,Gz=r$,BK={$$typeof:oJ,Provider:null,Consumer:null,_currentValue:Gz,_currentValue2:Gz,_threadCount:0},RT="%c%s%c",jT="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",CT="",jA=" ",bE=Function.prototype.bind,PT=!1,DT=null,$T=null,ST=null,ET=null,kT=null,xT=null,yT=null,vT=null,hT=null,bT=null;DT=function(Z,X,Y,J){X=Q(Z,X),X!==null&&(Y=q(X.memoizedState,Y,0,J),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=bY(Z,2),Y!==null&&gX(Y,Z,2))},$T=function(Z,X,Y){X=Q(Z,X),X!==null&&(Y=W(X.memoizedState,Y,0),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=bY(Z,2),Y!==null&&gX(Y,Z,2))},ST=function(Z,X,Y,J){X=Q(Z,X),X!==null&&(Y=z(X.memoizedState,Y,J),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=bY(Z,2),Y!==null&&gX(Y,Z,2))},ET=function(Z,X,Y){Z.pendingProps=q(Z.memoizedProps,X,0,Y),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=bY(Z,2),X!==null&&gX(X,Z,2)},kT=function(Z,X){Z.pendingProps=W(Z.memoizedProps,X,0),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=bY(Z,2),X!==null&&gX(X,Z,2)},xT=function(Z,X,Y){Z.pendingProps=z(Z.memoizedProps,X,Y),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=bY(Z,2),X!==null&&gX(X,Z,2)},yT=function(Z){var X=bY(Z,2);X!==null&&gX(X,Z,2)},vT=function(Z){var X=pz(),Y=bY(Z,X);Y!==null&&gX(Y,Z,X)},hT=function(Z){A=Z},bT=function(Z){K=Z};var CA=!0,PA=null,i9=!1,iG=null,nG=null,sG=null,LK=new Map,AK=new Map,aG=[],gE="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(" "),DA=null;if(wL.prototype.render=F0.prototype.render=function(Z){var X=this._internalRoot;if(X===null)throw Error("Cannot update an unmounted root.");var Y=arguments;typeof Y[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()."):b(Y[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 Y[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),Y=Z;var J=X.current,G=jQ(J);B0(J,G,Y,X,null,null)},wL.prototype.unmount=F0.prototype.unmount=function(){var Z=arguments;if(typeof Z[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()."),Z=this._internalRoot,Z!==null){this._internalRoot=null;var X=Z.containerInfo;(zX&(WY|xQ))!==MY&&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."),B0(Z.current,2,null,Z,null,null),J_(),X[jG]=null}},wL.prototype.unstable_scheduleHydration=function(Z){if(Z){var X=d();Z={blockedOn:null,target:Z,priority:X};for(var Y=0;Y<aG.length&&X!==0&&X<aG[Y].priority;Y++);aG.splice(Y,0,Z),Y===0&&nN(Z)}},function(){var Z=t_.version;if(Z!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
229
|
-
- react: `+(Z+`
|
|
230
|
-
- react-dom: 19.2.7
|
|
231
|
-
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"),MX.findDOMNode=function(Z){var X=Z._reactInternals;if(X===void 0){if(typeof Z.render==="function")throw Error("Unable to find node on an unmounted component.");throw Z=Object.keys(Z).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+Z)}return Z=UZ(X),Z=Z!==null?xZ(Z):null,Z=Z===null?null:Z.stateNode,Z},!function(){var Z={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:s,reconcilerVersion:"19.2.7"};return Z.overrideHookState=DT,Z.overrideHookStateDeletePath=$T,Z.overrideHookStateRenamePath=ST,Z.overrideProps=ET,Z.overridePropsDeletePath=kT,Z.overridePropsRenamePath=xT,Z.scheduleUpdate=yT,Z.scheduleRetry=vT,Z.setErrorHandler=hT,Z.setSuspenseHandler=bT,Z.scheduleRefresh=y,Z.scheduleRoot=j,Z.setRefreshHandler=f,Z.getCurrentFiber=c$,cz(Z)}()&&Xq&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var gT=window.location.protocol;/^(https?|file):$/.test(gT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(gT==="file:"?`
|
|
232
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Nk.createRoot=function(Z,X){if(!b(Z))throw Error("Target container is not a DOM element.");rN(Z);var Y=!1,J="",G=s1,H=a1,U=o1;return X!==null&&X!==void 0&&(X.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof X==="object"&&X!==null&&X.$$typeof===aJ&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
233
|
-
|
|
234
|
-
let root = createRoot(domContainer);
|
|
235
|
-
root.render(<App />);`),X.unstable_strictMode===!0&&(Y=!0),X.identifierPrefix!==void 0&&(J=X.identifierPrefix),X.onUncaughtError!==void 0&&(G=X.onUncaughtError),X.onCaughtError!==void 0&&(H=X.onCaughtError),X.onRecoverableError!==void 0&&(U=X.onRecoverableError)),X=fN(Z,1,!1,null,null,Y,J,null,G,H,U,oN),Z[jG]=X.current,eF(Z),new F0(X)},Nk.hydrateRoot=function(Z,X,Y){if(!b(Z))throw Error("Target container is not a DOM element.");rN(Z),X===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var J=!1,G="",H=s1,U=a1,B=o1,F=null;return Y!==null&&Y!==void 0&&(Y.unstable_strictMode===!0&&(J=!0),Y.identifierPrefix!==void 0&&(G=Y.identifierPrefix),Y.onUncaughtError!==void 0&&(H=Y.onUncaughtError),Y.onCaughtError!==void 0&&(U=Y.onCaughtError),Y.onRecoverableError!==void 0&&(B=Y.onRecoverableError),Y.formState!==void 0&&(F=Y.formState)),X=fN(Z,1,!0,X,Y!=null?Y:null,J,G,F,H,U,B,oN),X.context=uN(null),Y=X.current,J=jQ(Y),J=wH(J),G=LG(J),G.callback=null,AG(Y,G,J),hJ(J,"hydrateRoot()",null),Y=J,X.current.lanes=Y,HG(X,Y),nJ(X),Z[jG]=X.current,eF(Z),new wL(X)},Nk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Y2=nq((Xm,X2)=>{var Ik=m(Z2());X2.exports=Ik});function Q2(Q,q){if(typeof Q==="function")return Q(q);else if(Q!==null&&Q!==void 0)Q.current=q}function J2(...Q){return(q)=>{let z=!1,_=Q.map((W)=>{let K=Q2(W,q);if(!z&&typeof K=="function")z=!0;return K});if(z)return()=>{for(let W=0;W<_.length;W++){let K=_[W];if(typeof K=="function")K();else Q2(Q[W],null)}}}}var Tk;var q2=P(()=>{Tk=m(XZ(),1)});function Vk(Q){return typeof Q==="object"&&Q!==null&&"then"in Q}function G2(Q){return Q!=null&&typeof Q==="object"&&"$$typeof"in Q&&Q.$$typeof===wk&&"_payload"in Q&&Vk(Q._payload)}function Rk(Q){let q=jk(Q),z=JY.forwardRef((_,W)=>{let{children:K,...A}=_;if(G2(K)&&typeof fA==="function")K=fA(K._payload);let L=JY.Children.toArray(K),M=L.find(Pk);if(M){let I=M.props.children,N=L.map((O)=>{if(O===M){if(JY.Children.count(I)>1)return JY.Children.only(null);return JY.isValidElement(I)?I.props.children:null}else return O});return mA.jsx(q,{...A,ref:W,children:JY.isValidElement(I)?JY.cloneElement(I,void 0,N):null})}return mA.jsx(q,{...A,ref:W,children:K})});return z.displayName=`${Q}.Slot`,z}function jk(Q){let q=JY.forwardRef((z,_)=>{let{children:W,...K}=z;if(G2(W)&&typeof fA==="function")W=fA(W._payload);if(JY.isValidElement(W)){let A=$k(W),L=Dk(K,W.props);if(W.type!==JY.Fragment)L.ref=_?J2(_,A):A;return JY.cloneElement(W,L)}return JY.Children.count(W)>1?JY.Children.only(null):null});return q.displayName=`${Q}.SlotClone`,q}function Pk(Q){return JY.isValidElement(Q)&&typeof Q.type==="function"&&"__radixId"in Q.type&&Q.type.__radixId===Ck}function Dk(Q,q){let z={...q};for(let _ in q){let W=Q[_],K=q[_];if(/^on[A-Z]/.test(_)){if(W&&K)z[_]=(...L)=>{let M=K(...L);return W(...L),M};else if(W)z[_]=W}else if(_==="style")z[_]={...W,...K};else if(_==="className")z[_]=[W,K].filter(Boolean).join(" ")}return{...Q,...z}}function $k(Q){let q=Object.getOwnPropertyDescriptor(Q.props,"ref")?.get,z=q&&"isReactWarning"in q&&q.isReactWarning;if(z)return Q.ref;if(q=Object.getOwnPropertyDescriptor(Q,"ref")?.get,z=q&&"isReactWarning"in q&&q.isReactWarning,z)return Q.props.ref;return Q.props.ref||Q.ref}var JY,mA,wk,fA,H2,Ck;var z2=P(()=>{q2();JY=m(XZ(),1),mA=m(s_(),1),wk=Symbol.for("react.lazy"),fA=JY[" use ".trim().toString()];H2=Rk("Slot");Ck=Symbol("radix.slottable")});function _2(Q){var q,z,_="";if(typeof Q=="string"||typeof Q=="number")_+=Q;else if(typeof Q=="object")if(Array.isArray(Q)){var W=Q.length;for(q=0;q<W;q++)Q[q]&&(z=_2(Q[q]))&&(_&&(_+=" "),_+=z)}else for(z in Q)Q[z]&&(_&&(_+=" "),_+=z);return _}function wK(){for(var Q,q,z=0,_="",W=arguments.length;z<W;z++)(Q=arguments[z])&&(q=_2(Q))&&(_&&(_+=" "),_+=q);return _}var W2;var uA=P(()=>{W2=wK});var U2=(Q)=>typeof Q==="boolean"?`${Q}`:Q===0?"0":Q,K2,B2=(Q,q)=>(z)=>{var _;if((q===null||q===void 0?void 0:q.variants)==null)return K2(Q,z===null||z===void 0?void 0:z.class,z===null||z===void 0?void 0:z.className);let{variants:W,defaultVariants:K}=q,A=Object.keys(W).map((I)=>{let N=z===null||z===void 0?void 0:z[I],O=K===null||K===void 0?void 0:K[I];if(N===null)return null;let R=U2(N)||U2(O);return W[I][R]}),L=z&&Object.entries(z).reduce((I,N)=>{let[O,R]=N;if(R===void 0)return I;return I[O]=R,I},{}),M=q===null||q===void 0?void 0:(_=q.compoundVariants)===null||_===void 0?void 0:_.reduce((I,N)=>{let{class:O,className:R,...j}=N;return Object.entries(j).every((y)=>{let[f,b]=y;return Array.isArray(b)?b.includes({...K,...L}[f]):{...K,...L}[f]===b})?[...I,O,R]:I},[]);return K2(Q,A,M,z===null||z===void 0?void 0:z.class,z===null||z===void 0?void 0:z.className)};var L2=P(()=>{uA();K2=wK});var Sk=(Q,q)=>{let z=Array(Q.length+q.length);for(let _=0;_<Q.length;_++)z[_]=Q[_];for(let _=0;_<q.length;_++)z[Q.length+_]=q[_];return z},Ek=(Q,q)=>({classGroupId:Q,validator:q}),w2=(Q=new Map,q=null,z)=>({nextPart:Q,validators:q,classGroupId:z}),A2,kk=(Q)=>{let q=yk(Q),{conflictingClassGroups:z,conflictingClassGroupModifiers:_}=Q;return{getClassGroupId:(A)=>{if(A.startsWith("[")&&A.endsWith("]"))return xk(A);let L=A.split("-"),M=L[0]===""&&L.length>1?1:0;return V2(L,M,q)},getConflictingClassGroupIds:(A,L)=>{if(L){let M=_[A],I=z[A];if(M){if(I)return Sk(I,M);return M}return I||A2}return z[A]||A2}}},V2=(Q,q,z)=>{if(Q.length-q===0)return z.classGroupId;let W=Q[q],K=z.nextPart.get(W);if(K){let I=V2(Q,q+1,K);if(I)return I}let A=z.validators;if(A===null)return;let L=q===0?Q.join("-"):Q.slice(q).join("-"),M=A.length;for(let I=0;I<M;I++){let N=A[I];if(N.validator(L))return N.classGroupId}return},xk=(Q)=>Q.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let q=Q.slice(1,-1),z=q.indexOf(":"),_=q.slice(0,z);return _?"arbitrary.."+_:void 0})(),yk=(Q)=>{let{theme:q,classGroups:z}=Q;return vk(z,q)},vk=(Q,q)=>{let z=w2();for(let _ in Q){let W=Q[_];U3(W,z,_,q)}return z},U3=(Q,q,z,_)=>{let W=Q.length;for(let K=0;K<W;K++){let A=Q[K];hk(A,q,z,_)}},hk=(Q,q,z,_)=>{if(typeof Q==="string"){bk(Q,q,z);return}if(typeof Q==="function"){gk(Q,q,z,_);return}mk(Q,q,z,_)},bk=(Q,q,z)=>{let _=Q===""?q:R2(q,Q);_.classGroupId=z},gk=(Q,q,z,_)=>{if(fk(Q)){U3(Q(_),q,z,_);return}if(q.validators===null)q.validators=[];q.validators.push(Ek(z,Q))},mk=(Q,q,z,_)=>{let W=Object.entries(Q),K=W.length;for(let A=0;A<K;A++){let[L,M]=W[A];U3(M,R2(q,L),z,_)}},R2=(Q,q)=>{let z=Q,_=q.split("-"),W=_.length;for(let K=0;K<W;K++){let A=_[K],L=z.nextPart.get(A);if(!L)L=w2(),z.nextPart.set(A,L);z=L}return z},fk=(Q)=>("isThemeGetter"in Q)&&Q.isThemeGetter===!0,uk=(Q)=>{if(Q<1)return{get:()=>{return},set:()=>{}};let q=0,z=Object.create(null),_=Object.create(null),W=(K,A)=>{if(z[K]=A,q++,q>Q)q=0,_=z,z=Object.create(null)};return{get(K){let A=z[K];if(A!==void 0)return A;if((A=_[K])!==void 0)return W(K,A),A},set(K,A){if(K in z)z[K]=A;else W(K,A)}}},dk,O2=(Q,q,z,_,W)=>({modifiers:Q,hasImportantModifier:q,baseClassName:z,maybePostfixModifierPosition:_,isExternal:W}),ck=(Q)=>{let{prefix:q,experimentalParseClassName:z}=Q,_=(W)=>{let K=[],A=0,L=0,M=0,I,N=W.length;for(let f=0;f<N;f++){let b=W[f];if(A===0&&L===0){if(b===":"){K.push(W.slice(M,f)),M=f+1;continue}if(b==="/"){I=f;continue}}if(b==="[")A++;else if(b==="]")A--;else if(b==="(")L++;else if(b===")")L--}let O=K.length===0?W:W.slice(M),R=O,j=!1;if(O.endsWith("!"))R=O.slice(0,-1),j=!0;else if(O.startsWith("!"))R=O.slice(1),j=!0;let y=I&&I>M?I-M:void 0;return O2(K,j,R,y)};if(q){let W=q+":",K=_;_=(A)=>A.startsWith(W)?K(A.slice(W.length)):O2(dk,!1,A,void 0,!0)}if(z){let W=_;_=(K)=>z({className:K,parseClassName:W})}return _},pk=(Q)=>{let q=new Map;return Q.orderSensitiveModifiers.forEach((z,_)=>{q.set(z,1e6+_)}),(z)=>{let _=[],W=[];for(let K=0;K<z.length;K++){let A=z[K],L=A[0]==="[",M=q.has(A);if(L||M){if(W.length>0)W.sort(),_.push(...W),W=[];_.push(A)}else W.push(A)}if(W.length>0)W.sort(),_.push(...W);return _}},lk=(Q)=>({cache:uk(Q.cacheSize),parseClassName:ck(Q),sortModifiers:pk(Q),postfixLookupClassGroupIds:ik(Q),...kk(Q)}),ik=(Q)=>{let q=Object.create(null),z=Q.postfixLookupClassGroups;if(z)for(let _=0;_<z.length;_++)q[z[_]]=!0;return q},nk,sk=(Q,q)=>{let{parseClassName:z,getClassGroupId:_,getConflictingClassGroupIds:W,sortModifiers:K,postfixLookupClassGroupIds:A}=q,L=[],M=Q.trim().split(nk),I="";for(let N=M.length-1;N>=0;N-=1){let O=M[N],{isExternal:R,modifiers:j,hasImportantModifier:y,baseClassName:f,maybePostfixModifierPosition:b}=z(O);if(R){I=O+(I.length>0?" "+I:I);continue}let a=!!b,r;if(a){let qZ=f.substring(0,b);r=_(qZ);let l=r&&A[r]?_(f):void 0;if(l&&l!==r)r=l,a=!1}else r=_(f);if(!r){if(!a){I=O+(I.length>0?" "+I:I);continue}if(r=_(f),!r){I=O+(I.length>0?" "+I:I);continue}a=!1}let JZ=j.length===0?"":j.length===1?j[0]:K(j).join(":"),ZZ=y?JZ+"!":JZ,UZ=ZZ+r;if(L.indexOf(UZ)>-1)continue;L.push(UZ);let xZ=W(r,a);for(let qZ=0;qZ<xZ.length;++qZ){let l=xZ[qZ];L.push(ZZ+l)}I=O+(I.length>0?" "+I:I)}return I},ak=(...Q)=>{let q=0,z,_,W="";while(q<Q.length)if(z=Q[q++]){if(_=j2(z))W&&(W+=" "),W+=_}return W},j2=(Q)=>{if(typeof Q==="string")return Q;let q,z="";for(let _=0;_<Q.length;_++)if(Q[_]){if(q=j2(Q[_]))z&&(z+=" "),z+=q}return z},M2=(Q,...q)=>{let z,_,W,K,A=(M)=>{let I=q.reduce((N,O)=>O(N),Q());return z=lk(I),_=z.cache.get,W=z.cache.set,K=L,L(M)},L=(M)=>{let I=_(M);if(I)return I;let N=sk(M,z);return W(M,N),N};return K=A,(...M)=>K(ak(...M))},ok,UY=(Q)=>{let q=(z)=>z[Q]||ok;return q.isThemeGetter=!0,q},C2,P2,rk,tk,ek,Zx,Xx,Yx,tG=(Q)=>rk.test(Q),ZX=(Q)=>!!Q&&!Number.isNaN(Number(Q)),zq=(Q)=>!!Q&&Number.isInteger(Number(Q)),_3=(Q)=>Q.endsWith("%")&&ZX(Q.slice(0,-1)),aq=(Q)=>tk.test(Q),D2=()=>!0,Qx=(Q)=>ek.test(Q)&&!Zx.test(Q),K3=()=>!1,Jx=(Q)=>Xx.test(Q),qx=(Q)=>Yx.test(Q),Gx=(Q)=>!FZ(Q)&&!TZ(Q),Hx=(Q)=>Q.startsWith("@container")&&(Q[10]==="/"&&Q[11]!==void 0||Q[11]==="s"&&Q[16]!==void 0&&Q.startsWith("-size/",10)||Q[11]==="n"&&Q[18]!==void 0&&Q.startsWith("-normal/",10)),zx=(Q)=>eG(Q,E2,K3),FZ=(Q)=>C2.test(Q),Wz=(Q)=>eG(Q,k2,Qx),F2=(Q)=>eG(Q,Ox,ZX),_x=(Q)=>eG(Q,y2,D2),Wx=(Q)=>eG(Q,x2,K3),N2=(Q)=>eG(Q,$2,K3),Ux=(Q)=>eG(Q,S2,qx),dA=(Q)=>eG(Q,v2,Jx),TZ=(Q)=>P2.test(Q),VK=(Q)=>Uz(Q,k2),Kx=(Q)=>Uz(Q,x2),I2=(Q)=>Uz(Q,$2),Bx=(Q)=>Uz(Q,E2),Lx=(Q)=>Uz(Q,S2),cA=(Q)=>Uz(Q,v2,!0),Ax=(Q)=>Uz(Q,y2,!0),eG=(Q,q,z)=>{let _=C2.exec(Q);if(_){if(_[1])return q(_[1]);return z(_[2])}return!1},Uz=(Q,q,z=!1)=>{let _=P2.exec(Q);if(_){if(_[1])return q(_[1]);return z}return!1},$2=(Q)=>Q==="position"||Q==="percentage",S2=(Q)=>Q==="image"||Q==="url",E2=(Q)=>Q==="length"||Q==="size"||Q==="bg-size",k2=(Q)=>Q==="length",Ox=(Q)=>Q==="number",x2=(Q)=>Q==="family-name",y2=(Q)=>Q==="number"||Q==="weight",v2=(Q)=>Q==="shadow",T2=()=>{let Q=UY("color"),q=UY("font"),z=UY("text"),_=UY("font-weight"),W=UY("tracking"),K=UY("leading"),A=UY("breakpoint"),L=UY("container"),M=UY("spacing"),I=UY("radius"),N=UY("shadow"),O=UY("inset-shadow"),R=UY("text-shadow"),j=UY("drop-shadow"),y=UY("blur"),f=UY("perspective"),b=UY("aspect"),a=UY("ease"),r=UY("animate"),JZ=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ZZ=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],UZ=()=>[...ZZ(),TZ,FZ],xZ=()=>["auto","hidden","clip","visible","scroll"],qZ=()=>["auto","contain","none"],l=()=>[TZ,FZ,M],MZ=()=>[tG,"full","auto",...l()],n=()=>[zq,"none","subgrid",TZ,FZ],wZ=()=>["auto",{span:["full",zq,TZ,FZ]},zq,TZ,FZ],KZ=()=>[zq,"auto",TZ,FZ],zZ=()=>["auto","min","max","fr",TZ,FZ],h=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],u=()=>["start","end","center","stretch","center-safe","end-safe"],E=()=>["auto",...l()],g=()=>[tG,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...l()],e=()=>[tG,"screen","full","dvw","lvw","svw","min","max","fit",...l()],p=()=>[tG,"screen","full","lh","dvh","lvh","svh","min","max","fit",...l()],w=()=>[Q,TZ,FZ],o=()=>[...ZZ(),I2,N2,{position:[TZ,FZ]}],OZ=()=>["no-repeat",{repeat:["","x","y","space","round"]}],VZ=()=>["auto","cover","contain",Bx,zx,{size:[TZ,FZ]}],vZ=()=>[_3,VK,Wz],JX=()=>["","none","full",I,TZ,FZ],IZ=()=>["",ZX,VK,Wz],YX=()=>["solid","dashed","dotted","double"],TX=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],LX=()=>[ZX,_3,I2,N2],Nq=()=>["","none",y,TZ,FZ],BZ=()=>["none",ZX,TZ,FZ],OQ=()=>["none",ZX,TZ,FZ],MQ=()=>[ZX,TZ,FZ],vY=()=>[tG,"full",...l()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[aq],breakpoint:[aq],color:[D2],container:[aq],"drop-shadow":[aq],ease:["in","out","in-out"],font:[Gx],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[aq],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[aq],shadow:[aq],spacing:["px",ZX],text:[aq],"text-shadow":[aq],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",tG,FZ,TZ,b]}],container:["container"],"container-type":[{"@container":["","normal","size",TZ,FZ]}],"container-named":[Hx],columns:[{columns:[ZX,FZ,TZ,L]}],"break-after":[{"break-after":JZ()}],"break-before":[{"break-before":JZ()}],"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:UZ()}],overflow:[{overflow:xZ()}],"overflow-x":[{"overflow-x":xZ()}],"overflow-y":[{"overflow-y":xZ()}],overscroll:[{overscroll:qZ()}],"overscroll-x":[{"overscroll-x":qZ()}],"overscroll-y":[{"overscroll-y":qZ()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:MZ()}],"inset-x":[{"inset-x":MZ()}],"inset-y":[{"inset-y":MZ()}],start:[{"inset-s":MZ(),start:MZ()}],end:[{"inset-e":MZ(),end:MZ()}],"inset-bs":[{"inset-bs":MZ()}],"inset-be":[{"inset-be":MZ()}],top:[{top:MZ()}],right:[{right:MZ()}],bottom:[{bottom:MZ()}],left:[{left:MZ()}],visibility:["visible","invisible","collapse"],z:[{z:[zq,"auto",TZ,FZ]}],basis:[{basis:[tG,"full","auto",L,...l()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ZX,tG,"auto","initial","none",FZ]}],grow:[{grow:["",ZX,TZ,FZ]}],shrink:[{shrink:["",ZX,TZ,FZ]}],order:[{order:[zq,"first","last","none",TZ,FZ]}],"grid-cols":[{"grid-cols":n()}],"col-start-end":[{col:wZ()}],"col-start":[{"col-start":KZ()}],"col-end":[{"col-end":KZ()}],"grid-rows":[{"grid-rows":n()}],"row-start-end":[{row:wZ()}],"row-start":[{"row-start":KZ()}],"row-end":[{"row-end":KZ()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":zZ()}],"auto-rows":[{"auto-rows":zZ()}],gap:[{gap:l()}],"gap-x":[{"gap-x":l()}],"gap-y":[{"gap-y":l()}],"justify-content":[{justify:[...h(),"normal"]}],"justify-items":[{"justify-items":[...u(),"normal"]}],"justify-self":[{"justify-self":["auto",...u()]}],"align-content":[{content:["normal",...h()]}],"align-items":[{items:[...u(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...u(),{baseline:["","last"]}]}],"place-content":[{"place-content":h()}],"place-items":[{"place-items":[...u(),"baseline"]}],"place-self":[{"place-self":["auto",...u()]}],p:[{p:l()}],px:[{px:l()}],py:[{py:l()}],ps:[{ps:l()}],pe:[{pe:l()}],pbs:[{pbs:l()}],pbe:[{pbe:l()}],pt:[{pt:l()}],pr:[{pr:l()}],pb:[{pb:l()}],pl:[{pl:l()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mbs:[{mbs:E()}],mbe:[{mbe:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":l()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":l()}],"space-y-reverse":["space-y-reverse"],size:[{size:g()}],"inline-size":[{inline:["auto",...e()]}],"min-inline-size":[{"min-inline":["auto",...e()]}],"max-inline-size":[{"max-inline":["none",...e()]}],"block-size":[{block:["auto",...p()]}],"min-block-size":[{"min-block":["auto",...p()]}],"max-block-size":[{"max-block":["none",...p()]}],w:[{w:[L,"screen",...g()]}],"min-w":[{"min-w":[L,"screen","none",...g()]}],"max-w":[{"max-w":[L,"screen","none","prose",{screen:[A]},...g()]}],h:[{h:["screen","lh",...g()]}],"min-h":[{"min-h":["screen","lh","none",...g()]}],"max-h":[{"max-h":["screen","lh",...g()]}],"font-size":[{text:["base",z,VK,Wz]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[_,Ax,_x]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",_3,FZ]}],"font-family":[{font:[Kx,Wx,q]}],"font-features":[{"font-features":[FZ]}],"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:[W,TZ,FZ]}],"line-clamp":[{"line-clamp":[ZX,"none",TZ,F2]}],leading:[{leading:[K,...l()]}],"list-image":[{"list-image":["none",TZ,FZ]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",TZ,FZ]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:w()}],"text-color":[{text:w()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...YX(),"wavy"]}],"text-decoration-thickness":[{decoration:[ZX,"from-font","auto",TZ,Wz]}],"text-decoration-color":[{decoration:w()}],"underline-offset":[{"underline-offset":[ZX,"auto",TZ,FZ]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:l()}],"tab-size":[{tab:[zq,TZ,FZ]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",TZ,FZ]}],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",TZ,FZ]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:o()}],"bg-repeat":[{bg:OZ()}],"bg-size":[{bg:VZ()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},zq,TZ,FZ],radial:["",TZ,FZ],conic:[zq,TZ,FZ]},Lx,Ux]}],"bg-color":[{bg:w()}],"gradient-from-pos":[{from:vZ()}],"gradient-via-pos":[{via:vZ()}],"gradient-to-pos":[{to:vZ()}],"gradient-from":[{from:w()}],"gradient-via":[{via:w()}],"gradient-to":[{to:w()}],rounded:[{rounded:JX()}],"rounded-s":[{"rounded-s":JX()}],"rounded-e":[{"rounded-e":JX()}],"rounded-t":[{"rounded-t":JX()}],"rounded-r":[{"rounded-r":JX()}],"rounded-b":[{"rounded-b":JX()}],"rounded-l":[{"rounded-l":JX()}],"rounded-ss":[{"rounded-ss":JX()}],"rounded-se":[{"rounded-se":JX()}],"rounded-ee":[{"rounded-ee":JX()}],"rounded-es":[{"rounded-es":JX()}],"rounded-tl":[{"rounded-tl":JX()}],"rounded-tr":[{"rounded-tr":JX()}],"rounded-br":[{"rounded-br":JX()}],"rounded-bl":[{"rounded-bl":JX()}],"border-w":[{border:IZ()}],"border-w-x":[{"border-x":IZ()}],"border-w-y":[{"border-y":IZ()}],"border-w-s":[{"border-s":IZ()}],"border-w-e":[{"border-e":IZ()}],"border-w-bs":[{"border-bs":IZ()}],"border-w-be":[{"border-be":IZ()}],"border-w-t":[{"border-t":IZ()}],"border-w-r":[{"border-r":IZ()}],"border-w-b":[{"border-b":IZ()}],"border-w-l":[{"border-l":IZ()}],"divide-x":[{"divide-x":IZ()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":IZ()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...YX(),"hidden","none"]}],"divide-style":[{divide:[...YX(),"hidden","none"]}],"border-color":[{border:w()}],"border-color-x":[{"border-x":w()}],"border-color-y":[{"border-y":w()}],"border-color-s":[{"border-s":w()}],"border-color-e":[{"border-e":w()}],"border-color-bs":[{"border-bs":w()}],"border-color-be":[{"border-be":w()}],"border-color-t":[{"border-t":w()}],"border-color-r":[{"border-r":w()}],"border-color-b":[{"border-b":w()}],"border-color-l":[{"border-l":w()}],"divide-color":[{divide:w()}],"outline-style":[{outline:[...YX(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ZX,TZ,FZ]}],"outline-w":[{outline:["",ZX,VK,Wz]}],"outline-color":[{outline:w()}],shadow:[{shadow:["","none",N,cA,dA]}],"shadow-color":[{shadow:w()}],"inset-shadow":[{"inset-shadow":["none",O,cA,dA]}],"inset-shadow-color":[{"inset-shadow":w()}],"ring-w":[{ring:IZ()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:w()}],"ring-offset-w":[{"ring-offset":[ZX,Wz]}],"ring-offset-color":[{"ring-offset":w()}],"inset-ring-w":[{"inset-ring":IZ()}],"inset-ring-color":[{"inset-ring":w()}],"text-shadow":[{"text-shadow":["none",R,cA,dA]}],"text-shadow-color":[{"text-shadow":w()}],opacity:[{opacity:[ZX,TZ,FZ]}],"mix-blend":[{"mix-blend":[...TX(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":TX()}],"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":[ZX]}],"mask-image-linear-from-pos":[{"mask-linear-from":LX()}],"mask-image-linear-to-pos":[{"mask-linear-to":LX()}],"mask-image-linear-from-color":[{"mask-linear-from":w()}],"mask-image-linear-to-color":[{"mask-linear-to":w()}],"mask-image-t-from-pos":[{"mask-t-from":LX()}],"mask-image-t-to-pos":[{"mask-t-to":LX()}],"mask-image-t-from-color":[{"mask-t-from":w()}],"mask-image-t-to-color":[{"mask-t-to":w()}],"mask-image-r-from-pos":[{"mask-r-from":LX()}],"mask-image-r-to-pos":[{"mask-r-to":LX()}],"mask-image-r-from-color":[{"mask-r-from":w()}],"mask-image-r-to-color":[{"mask-r-to":w()}],"mask-image-b-from-pos":[{"mask-b-from":LX()}],"mask-image-b-to-pos":[{"mask-b-to":LX()}],"mask-image-b-from-color":[{"mask-b-from":w()}],"mask-image-b-to-color":[{"mask-b-to":w()}],"mask-image-l-from-pos":[{"mask-l-from":LX()}],"mask-image-l-to-pos":[{"mask-l-to":LX()}],"mask-image-l-from-color":[{"mask-l-from":w()}],"mask-image-l-to-color":[{"mask-l-to":w()}],"mask-image-x-from-pos":[{"mask-x-from":LX()}],"mask-image-x-to-pos":[{"mask-x-to":LX()}],"mask-image-x-from-color":[{"mask-x-from":w()}],"mask-image-x-to-color":[{"mask-x-to":w()}],"mask-image-y-from-pos":[{"mask-y-from":LX()}],"mask-image-y-to-pos":[{"mask-y-to":LX()}],"mask-image-y-from-color":[{"mask-y-from":w()}],"mask-image-y-to-color":[{"mask-y-to":w()}],"mask-image-radial":[{"mask-radial":[TZ,FZ]}],"mask-image-radial-from-pos":[{"mask-radial-from":LX()}],"mask-image-radial-to-pos":[{"mask-radial-to":LX()}],"mask-image-radial-from-color":[{"mask-radial-from":w()}],"mask-image-radial-to-color":[{"mask-radial-to":w()}],"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":ZZ()}],"mask-image-conic-pos":[{"mask-conic":[ZX]}],"mask-image-conic-from-pos":[{"mask-conic-from":LX()}],"mask-image-conic-to-pos":[{"mask-conic-to":LX()}],"mask-image-conic-from-color":[{"mask-conic-from":w()}],"mask-image-conic-to-color":[{"mask-conic-to":w()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:o()}],"mask-repeat":[{mask:OZ()}],"mask-size":[{mask:VZ()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",TZ,FZ]}],filter:[{filter:["","none",TZ,FZ]}],blur:[{blur:Nq()}],brightness:[{brightness:[ZX,TZ,FZ]}],contrast:[{contrast:[ZX,TZ,FZ]}],"drop-shadow":[{"drop-shadow":["","none",j,cA,dA]}],"drop-shadow-color":[{"drop-shadow":w()}],grayscale:[{grayscale:["",ZX,TZ,FZ]}],"hue-rotate":[{"hue-rotate":[ZX,TZ,FZ]}],invert:[{invert:["",ZX,TZ,FZ]}],saturate:[{saturate:[ZX,TZ,FZ]}],sepia:[{sepia:["",ZX,TZ,FZ]}],"backdrop-filter":[{"backdrop-filter":["","none",TZ,FZ]}],"backdrop-blur":[{"backdrop-blur":Nq()}],"backdrop-brightness":[{"backdrop-brightness":[ZX,TZ,FZ]}],"backdrop-contrast":[{"backdrop-contrast":[ZX,TZ,FZ]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ZX,TZ,FZ]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ZX,TZ,FZ]}],"backdrop-invert":[{"backdrop-invert":["",ZX,TZ,FZ]}],"backdrop-opacity":[{"backdrop-opacity":[ZX,TZ,FZ]}],"backdrop-saturate":[{"backdrop-saturate":[ZX,TZ,FZ]}],"backdrop-sepia":[{"backdrop-sepia":["",ZX,TZ,FZ]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":l()}],"border-spacing-x":[{"border-spacing-x":l()}],"border-spacing-y":[{"border-spacing-y":l()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",TZ,FZ]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ZX,"initial",TZ,FZ]}],ease:[{ease:["linear","initial",a,TZ,FZ]}],delay:[{delay:[ZX,TZ,FZ]}],animate:[{animate:["none",r,TZ,FZ]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,TZ,FZ]}],"perspective-origin":[{"perspective-origin":UZ()}],rotate:[{rotate:BZ()}],"rotate-x":[{"rotate-x":BZ()}],"rotate-y":[{"rotate-y":BZ()}],"rotate-z":[{"rotate-z":BZ()}],scale:[{scale:OQ()}],"scale-x":[{"scale-x":OQ()}],"scale-y":[{"scale-y":OQ()}],"scale-z":[{"scale-z":OQ()}],"scale-3d":["scale-3d"],skew:[{skew:MQ()}],"skew-x":[{"skew-x":MQ()}],"skew-y":[{"skew-y":MQ()}],transform:[{transform:[TZ,FZ,"","none","gpu","cpu"]}],"transform-origin":[{origin:UZ()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:vY()}],"translate-x":[{"translate-x":vY()}],"translate-y":[{"translate-y":vY()}],"translate-z":[{"translate-z":vY()}],"translate-none":["translate-none"],zoom:[{zoom:[zq,TZ,FZ]}],accent:[{accent:w()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:w()}],"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",TZ,FZ]}],"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":w()}],"scrollbar-track-color":[{"scrollbar-track":w()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":l()}],"scroll-mx":[{"scroll-mx":l()}],"scroll-my":[{"scroll-my":l()}],"scroll-ms":[{"scroll-ms":l()}],"scroll-me":[{"scroll-me":l()}],"scroll-mbs":[{"scroll-mbs":l()}],"scroll-mbe":[{"scroll-mbe":l()}],"scroll-mt":[{"scroll-mt":l()}],"scroll-mr":[{"scroll-mr":l()}],"scroll-mb":[{"scroll-mb":l()}],"scroll-ml":[{"scroll-ml":l()}],"scroll-p":[{"scroll-p":l()}],"scroll-px":[{"scroll-px":l()}],"scroll-py":[{"scroll-py":l()}],"scroll-ps":[{"scroll-ps":l()}],"scroll-pe":[{"scroll-pe":l()}],"scroll-pbs":[{"scroll-pbs":l()}],"scroll-pbe":[{"scroll-pbe":l()}],"scroll-pt":[{"scroll-pt":l()}],"scroll-pr":[{"scroll-pr":l()}],"scroll-pb":[{"scroll-pb":l()}],"scroll-pl":[{"scroll-pl":l()}],"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",TZ,FZ]}],fill:[{fill:["none",...w()]}],"stroke-w":[{stroke:[ZX,VK,Wz,F2]}],stroke:[{stroke:["none",...w()]}],"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"]}},Mx=(Q,{cacheSize:q,prefix:z,experimentalParseClassName:_,extend:W={},override:K={}})=>{return e_(Q,"cacheSize",q),e_(Q,"prefix",z),e_(Q,"experimentalParseClassName",_),pA(Q.theme,K.theme),pA(Q.classGroups,K.classGroups),pA(Q.conflictingClassGroups,K.conflictingClassGroups),pA(Q.conflictingClassGroupModifiers,K.conflictingClassGroupModifiers),e_(Q,"postfixLookupClassGroups",K.postfixLookupClassGroups),e_(Q,"orderSensitiveModifiers",K.orderSensitiveModifiers),lA(Q.theme,W.theme),lA(Q.classGroups,W.classGroups),lA(Q.conflictingClassGroups,W.conflictingClassGroups),lA(Q.conflictingClassGroupModifiers,W.conflictingClassGroupModifiers),W3(Q,W,"postfixLookupClassGroups"),W3(Q,W,"orderSensitiveModifiers"),Q},e_=(Q,q,z)=>{if(z!==void 0)Q[q]=z},pA=(Q,q)=>{if(q)for(let z in q)e_(Q,z,q[z])},lA=(Q,q)=>{if(q)for(let z in q)W3(Q,q,z)},W3=(Q,q,z)=>{let _=q[z];if(_!==void 0)Q[z]=Q[z]?Q[z].concat(_):_},h2=(Q,...q)=>typeof Q==="function"?M2(T2,Q,...q):M2(()=>Mx(T2(),Q),...q);var b2=P(()=>{A2=[],dk=[],nk=/\s+/,ok=[],C2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,P2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,rk=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,tk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ek=/\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$/,Zx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Xx=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Yx=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/});var oq,Fx,Nx=(Q)=>{if(typeof Q==="boolean")return Q?"":void 0;if(Q===void 0||Q===null)return;return String(Q)},Ix=(Q)=>{let q=JSON.stringify(Q),z=oq.useRef({signature:q,value:Q});if(z.current.signature!==q)z.current={signature:q,value:Q};return z.current.value},mZ=(Q,q)=>{let z=B2(q?.baseClass,{variants:q?.variants,defaultVariants:q?.defaultVariants,compoundVariants:q?.compoundVariants}),_=q?.passVariantProps?new Set(q.passVariantProps):void 0,W=oq.forwardRef((K,A)=>{let{children:L,...M}=K,I=M.className;delete M.className;let N={};for(let a in q?.variants)if(N[a]=M[a],a in M&&!_?.has(a))delete M[a];let O=Ix(N),R={};if(q?.variantsAsDataAttrs&&q.variants)for(let a of q.variantsAsDataAttrs){let r=a.toString(),JZ=K[r]??q.defaultVariants?.[a];R[`data-${r}`]=Nx(JZ)}let j=M.style,y=oq.useMemo(()=>q?.style?{...q.style,...j}:j,[j]),f=oq.useMemo(()=>Fx(wK(z(O),I)),[O,I]),b=Q;if(K.asChild&&typeof Q==="string")b=H2,delete M.asChild;return oq.createElement(b,{ref:A,className:f,...q.defaultProps,...R,...M,style:y},L)});return W.displayName=q?.displayName??"uic",W};var NY=P(()=>{z2();L2();uA();b2();oq=m(XZ(),1),Fx=h2({extend:{classGroups:{"font-size":[{text:["micro","caption","label","compact","callout","body","subtitle","title","headline","display","heading1","heading2","heading3","heading4","heading5"]}]},theme:{spacing:["nav-x"],radius:["panel"]}}})});function VJ(...Q){return(...q)=>{for(let z of Q)if(typeof z==="function")z(...q)}}var ZW=()=>{};var g2,dZ;var $Y=P(()=>{g2=m(XZ(),1),dZ=typeof document<"u"?g2.default.useLayoutEffect:()=>{}});function Vx(Q=!1){let q=IY.useContext(m2),z=IY.useRef(null);if(z.current===null&&!Q){let _=IY.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(_){let W=B3.get(_);if(W==null)B3.set(_,{id:q.current,state:_.memoizedState});else if(_.memoizedState!==W.state)q.current=W.id,B3.delete(_)}z.current=++q.current}return z.current}function Rx(Q){let q=IY.useContext(m2);if(q===iA&&!wx)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 z=Vx(!!Q),_=`react-aria${q.prefix}`;return Q||`${_}-${z}`}function jx(Q){let q=IY.default.useId(),[z]=IY.useState(rY()),_=z?"react-aria":`react-aria${iA.prefix}`;return Q||`${_}-${q}`}function Cx(){return!1}function Px(){return!0}function Dx(Q){return()=>{}}function rY(){if(typeof IY.default.useSyncExternalStore==="function")return IY.default.useSyncExternalStore(Dx,Cx,Px);return IY.useContext(Tx)}var IY,iA,m2,Tx,wx,B3,f2;var ZH=P(()=>{IY=m(XZ(),1),iA={prefix:String(Math.round(Math.random()*10000000000)),current:0},m2=IY.default.createContext(iA),Tx=IY.default.createContext(!1),wx=Boolean(typeof window<"u"&&window.document&&window.document.createElement),B3=new WeakMap;f2=typeof IY.default.useId==="function"?jx:Rx});function u2(Q){let[q,z]=XH.useState(Q),_=XH.useRef(q),W=XH.useRef(null),K=XH.useRef(()=>{if(!W.current)return;let L=W.current.next();if(L.done){W.current=null;return}if(_.current===L.value)K.current();else z(L.value)});dZ(()=>{if(_.current=q,W.current)K.current()});let A=XH.useCallback((L)=>{W.current=L(_.current),K.current()},[K]);return[q,A]}var XH;var d2=P(()=>{$Y();XH=m(XZ(),1)});function aX(Q){let[q,z]=rq.useState(Q),_=rq.useRef(null),W=f2(q),K=rq.useRef(null);if(RK)RK.register(K,W);if($x){let A=XW.get(W);if(A&&!A.includes(_))A.push(_);else XW.set(W,[_])}return dZ(()=>{let A=W;return()=>{if(RK)RK.unregister(K);XW.delete(A)}},[W]),rq.useEffect(()=>{let A=_.current;if(A)z(A);return()=>{if(A)_.current=null}}),W}function c2(Q,q){if(Q===q)return Q;let z=XW.get(Q);if(z)return z.forEach((W)=>W.current=q),q;let _=XW.get(q);if(_)return _.forEach((W)=>W.current=Q),Q;return q}function _q(Q=[]){let q=aX(),[z,_]=u2(q),W=rq.useCallback(()=>{_(function*(){yield q,yield document.getElementById(q)?q:void 0})},[q,_]);return dZ(W,[q,W,...Q]),z}var rq,$x,XW,RK;var JJ=P(()=>{$Y();ZH();d2();rq=m(XZ(),1),$x=Boolean(typeof window<"u"&&window.document&&window.document.createElement),XW=new Map;if(typeof FinalizationRegistry<"u")RK=new FinalizationRegistry((Q)=>{XW.delete(Q)})});function Wq(...Q){if(Q.length===1&&Q[0])return Q[0];return(q)=>{let z=!1,_=Q.map((W)=>{let K=p2(W,q);return z||=typeof K=="function",K});if(z)return()=>{_.forEach((W,K)=>{if(typeof W==="function")W();else p2(Q[K],null)})}}}function p2(Q,q){if(typeof Q==="function")return Q(q);else if(Q!=null)Q.current=q}var L3=()=>{};function CZ(...Q){let q={...Q[0]};for(let z=1;z<Q.length;z++){let _=Q[z];for(let W in _){let K=q[W],A=_[W];if(typeof K==="function"&&typeof A==="function"&&W[0]==="o"&&W[1]==="n"&&W.charCodeAt(2)>=65&&W.charCodeAt(2)<=90)q[W]=VJ(K,A);else if((W==="className"||W==="UNSAFE_className")&&typeof K==="string"&&typeof A==="string")q[W]=W2(K,A);else if(W==="id"&&K&&A)q.id=c2(K,A);else if(W==="ref"&&K&&A)q.ref=Wq(K,A);else q[W]=A!==void 0?A:K}}return q}var SY=P(()=>{ZW();JJ();L3();uA()});var RJ=P(()=>{SY()});var nA=P(()=>{L3()});var l2=P(()=>{$Y()});function _Q(Q){let q=Kz.useRef(null),z=Kz.useRef(void 0),_=Kz.useCallback((W)=>{if(typeof Q==="function"){let K=Q,A=K(W);return()=>{if(typeof A==="function")A();else K(null)}}else if(Q)return Q.current=W,()=>{Q.current=null}},[Q]);return Kz.useMemo(()=>({get current(){return q.current},set current(W){if(q.current=W,z.current)z.current(),z.current=void 0;if(W!=null)z.current=_(W)}}),[_])}var Kz;var i2=P(()=>{Kz=m(XZ(),1)});var YW=P(()=>{i2()});function hQ({values:Q,children:q}){for(let[z,_]of Q)q=TY.default.createElement(z.Provider,{value:_},q);return q}function yX(Q){let{className:q,style:z,children:_,defaultClassName:W,defaultChildren:K,defaultStyle:A,values:L,render:M}=Q;return TY.useMemo(()=>{let I,N,O;if(typeof q==="function")I=q({...L,defaultClassName:W});else I=q;if(typeof z==="function")N=z({...L,defaultStyle:A||{}});else N=z;if(typeof _==="function")O=_({...L,defaultChildren:K});else if(_==null)O=K;else O=_;return{className:I??W,style:N||A?{...A,...N}:void 0,children:O??K,"data-rac":"",render:M?(R)=>M(R,L):void 0}},[q,z,_,W,K,A,L,M])}function Lz(Q,q){let z=TY.useContext(Q);if(q===null)return null;if(z&&typeof z==="object"&&"slots"in z&&z.slots){let _=q||Bz;if(!z.slots[_]){let W=new Intl.ListFormat().format(Object.keys(z.slots).map((A)=>`"${A}"`)),K=q?`Invalid slot "${q}".`:"A slot prop is required.";throw Error(`${K} Valid slot names are ${W}.`)}return z.slots[_]}return z}function fX(Q,q,z){let _=Lz(z,Q.slot)||{},{ref:W,...K}=_,A=_Q(TY.useMemo(()=>Wq(q,W),[q,W])),L=CZ(K,Q);if("style"in K&&K.style&&"style"in Q&&Q.style)if(typeof K.style==="function"||typeof Q.style==="function")L.style=(M)=>{let I=typeof K.style==="function"?K.style(M):K.style,N={...M.defaultStyle,...I},O=typeof Q.style==="function"?Q.style({...M,defaultStyle:N}):Q.style;return{...N,...O}};else L.style={...K.style,...Q.style};return[L,A]}function sA(Q=!0){let[q,z]=TY.useState(Q),_=TY.useRef(!1),W=TY.useCallback((K)=>{_.current=!0,z(!!K)},[]);return dZ(()=>{if(!_.current)z(!1)},[]),[W,q]}function s2(Q){let q=/^(data-.*)$/,z={};for(let _ in Q)if(!q.test(_))z[_]=Q[_];return z}function Sx(Q,q,z){let{render:_,...W}=q,K=TY.useRef(null),A=TY.useMemo(()=>Wq(z,K),[z,K]);dZ(()=>{if(_){if(!K.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(K.current.localName!==Q)console.warn(`Unexpected DOM element returned by custom \`render\` function. Expected <${Q}>, got <${K.current.localName}>. This may break the component behavior and accessibility.`)}},[Q,_]);let L={...W,ref:A};if(_)return _(L,void 0);return TY.default.createElement(Q,L)}var TY,Bz,n2,AX;var WQ=P(()=>{RJ();nA();l2();YW();TY=m(XZ(),1),Bz=Symbol("default");n2={},AX=new Proxy({},{get(Q,q){if(typeof q!=="string")return;let z=n2[q];if(!z)z=TY.forwardRef(Sx.bind(null,q)),n2[q]=z;return z}})});function jJ(Q){let q=(z,_)=>{if(Az.useContext(Ex))return null;return Q(z,_)};return q.displayName=Q.displayName||Q.name,Az.forwardRef(q)}var Az,Ex;var a2=P(()=>{Az=m(XZ(),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(Q){return this.content.appendChild(Q)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(Q){return this.content.removeChild(Q)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(Q,q){return this.content.insertBefore(Q,q)}});Ex=Az.createContext(!1)});var QW=P(()=>{a2()});var aA,oA,Oz;var A3=P(()=>{WQ();QW();aA=m(XZ(),1),oA=aA.createContext({}),Oz=jJ(function(q,z){[q,z]=fX(q,z,oA);let{elementType:_="label",...W}=q,K=AX[_];return aA.default.createElement(K,{className:"react-aria-Label",...W,ref:z})})});function HX(Q,q={}){let{labelable:z,isLink:_,global:W,events:K=W,propNames:A}=q,L={};for(let M in Q)if(Object.prototype.hasOwnProperty.call(Q,M)&&(kx.has(M)||z&&xx.has(M)||_&&yx.has(M)||W&&vx.has(M)||K&&(o2.has(M)||M.endsWith("Capture")&&o2.has(M.slice(0,-7)))||A?.has(M)||hx.test(M)))L[M]=Q[M];return L}var kx,xx,yx,vx,o2,hx;var YH=P(()=>{kx=new Set(["id"]),xx=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),yx=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),vx=new Set(["dir","lang","hidden","inert","translate"]),o2=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"]),hx=/^(data-.*)$/});function QH(Q,q){let{id:z,"aria-label":_,"aria-labelledby":W}=Q;if(z=aX(z),W&&_)W=[...new Set([z,...W.trim().split(/\s+/)])].join(" ");else if(W)W=W.trim().split(/\s+/).join(" ");if(!_&&!W&&q)_=q;return{id:z,"aria-label":_,"aria-labelledby":W}}var jK=P(()=>{JJ()});function r2(Q){let{id:q,label:z,"aria-labelledby":_,"aria-label":W,labelElementType:K="label"}=Q;q=aX(q);let A=aX(),L={};if(z)_=_?`${A} ${_}`:A,L={id:A,htmlFor:K==="label"?q:void 0};else if(!_&&!W)console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let M=QH({id:q,"aria-label":W,"aria-labelledby":_});return{labelProps:L,fieldProps:M}}var t2=P(()=>{JJ();jK()});function e2(Q){if(Intl.Locale){let z=new Intl.Locale(Q).maximize(),_=typeof z.getTextInfo==="function"?z.getTextInfo():z.textInfo;if(_)return _.direction==="rtl";if(z.script)return bx.has(z.script)}let q=Q.split("-")[0];return gx.has(q)}var bx,gx;var Zw=P(()=>{bx=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),gx=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"])});function Qw(){let Q=typeof window<"u"&&window[Yw]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([Q])}catch{Q="en-US"}return{locale:Q,direction:e2(Q)?"rtl":"ltr"}}function Xw(){O3=Qw();for(let Q of CK)Q(O3)}function Jw(){let Q=rY(),[q,z]=rA.useState(O3);if(rA.useEffect(()=>{if(CK.size===0)window.addEventListener("languagechange",Xw);return CK.add(z),()=>{if(CK.delete(z),CK.size===0)window.removeEventListener("languagechange",Xw)}},[]),Q)return{locale:typeof window<"u"&&window[Yw]||"en-US",direction:"ltr"};return q}var rA,Yw,O3,CK;var qw=P(()=>{Zw();ZH();rA=m(XZ(),1),Yw=Symbol.for("react-aria.i18n.locale");O3=Qw(),CK=new Set});function JW(){let Q=Jw();return tA.useContext(mx)||Q}var tA,mx;var eA=P(()=>{qw();tA=m(XZ(),1),mx=tA.default.createContext(null)});var Uq=P(()=>{YH()});var ZO,Gw;var Hw=P(()=>{ZO=m(XZ(),1),Gw=ZO.createContext(null)});function XO(Q,q="assertive",z=7000){if(!qW)if(qW=new zw,!(typeof IS_REACT_ACT_ENVIRONMENT==="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u"))setTimeout(()=>{if(qW?.isAttached())qW?.announce(Q,q,z)},100);else qW.announce(Q,q,z);else qW.announce(Q,q,z)}class zw{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(Q){let q=document.createElement("div");return q.setAttribute("role","log"),q.setAttribute("aria-live",Q),q.setAttribute("aria-relevant","additions"),q}destroy(){if(!this.node)return;document.body.removeChild(this.node),this.node=null}announce(Q,q="assertive",z=7000){if(!this.node)return;let _=document.createElement("div");if(typeof Q==="object")_.setAttribute("role","img"),_.setAttribute("aria-labelledby",Q["aria-labelledby"]);else _.textContent=Q;if(q==="assertive")this.assertiveLog?.appendChild(_);else this.politeLog?.appendChild(_);if(Q!=="")setTimeout(()=>{_.remove()},z)}clear(Q){if(!this.node)return;if((!Q||Q==="assertive")&&this.assertiveLog)this.assertiveLog.innerHTML="";if((!Q||Q==="polite")&&this.politeLog)this.politeLog.innerHTML=""}}var qW=null;var _w=()=>{};var Ww=P(()=>{_w()});function tY(Q){if(fx())Q.focus({preventScroll:!0});else{let q=ux(Q);Q.focus(),dx(q)}}function fx(){if(YO==null){YO=!1;try{document.createElement("div").focus({get preventScroll(){return YO=!0,!0}})}catch{}}return YO}function ux(Q){let q=Q.parentNode,z=[],_=document.scrollingElement||document.documentElement;while(q instanceof HTMLElement&&q!==_){if(q.offsetHeight<q.scrollHeight||q.offsetWidth<q.scrollWidth)z.push({element:q,scrollTop:q.scrollTop,scrollLeft:q.scrollLeft});q=q.parentNode}if(_ instanceof HTMLElement)z.push({element:_,scrollTop:_.scrollTop,scrollLeft:_.scrollLeft});return z}function dx(Q){for(let{element:q,scrollTop:z,scrollLeft:_}of Q)q.scrollTop=z,q.scrollLeft=_}var YO=null;var Mz=()=>{};function cx(Q){return Q!==null&&typeof Q==="object"&&"nodeType"in Q&&typeof Q.nodeType==="number"}function Uw(Q){return cx(Q)&&Q.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in Q}var cZ=(Q)=>{return Q?.ownerDocument??document},uX=(Q)=>{if(Q&&"window"in Q&&Q.window===Q)return Q;return cZ(Q).defaultView||window};var EY=()=>{};function bQ(){return px}var px=!1;var Kw=()=>{};var QO=P(()=>{Kw()});function XX(Q,q){if(!bQ())return q&&Q?Q.contains(q):!1;if(!Q||!q)return!1;let z=q;while(z!==null){if(z===Q)return!0;if(z.tagName==="SLOT"&&z.assignedSlot)z=z.assignedSlot.parentNode;else if(Uw(z))z=z.host;else z=z.parentNode}return!1}function LZ(Q){if(bQ()&&Q.target instanceof Element&&Q.target.shadowRoot){if("composedPath"in Q)return Q.composedPath()[0]??null;else if("composedPath"in Q.nativeEvent)return Q.nativeEvent.composedPath()[0]??null}return Q.target}function M3(Q){if(!Q)return!1;let q=Q.getRootNode(),z=uX(Q);if(!(q instanceof z.Document||q instanceof z.ShadowRoot))return!1;let _=q.activeElement;return _!=null&&Q.contains(_)}var BX=(Q=document)=>{if(!bQ())return Q.activeElement;let q=Q.activeElement;while(q&&"shadowRoot"in q&&q.shadowRoot?.activeElement)q=q.shadowRoot.activeElement;return q};var dX=P(()=>{EY();QO()});function ix(Q){let q=uX(Q);if(!(Q instanceof q.HTMLElement)&&!(Q instanceof q.SVGElement))return!1;let{display:z,visibility:_}=Q.style,W=z!=="none"&&_!=="hidden"&&_!=="collapse";if(W){let{getComputedStyle:K}=Q.ownerDocument.defaultView,{display:A,visibility:L}=K(Q);W=A!=="none"&&L!=="hidden"&&L!=="collapse"}return W}function nx(Q,q){return!Q.hasAttribute("hidden")&&!Q.hasAttribute("data-react-aria-prevent-focus")&&(Q.nodeName==="DETAILS"&&q&&q.nodeName!=="SUMMARY"?Q.hasAttribute("open"):!0)}function JO(Q,q){if(lx)return Q.checkVisibility({visibilityProperty:!0})&&!Q.closest("[data-react-aria-prevent-focus]");return Q.nodeName!=="#comment"&&ix(Q)&&nx(Q,q)&&(!Q.parentElement||JO(Q.parentElement,Q))}var lx;var Bw=P(()=>{EY();lx=typeof Element<"u"&&"checkVisibility"in Element.prototype});function qO(Q,q){return Q.matches(sx)&&!Lw(Q)&&(q?.skipVisibilityCheck||JO(Q))}function GO(Q){return Q.matches(ax)&&JO(Q)&&!Lw(Q)}function Lw(Q){let q=Q;while(q!=null){if(q instanceof q.ownerDocument.defaultView.HTMLElement&&q.inert)return!0;q=q.parentElement}return!1}var F3,sx,ax;var HO=P(()=>{Bw();F3=["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"],sx=F3.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";F3.push('[tabindex]:not([tabindex="-1"]):not([disabled])');ax=F3.join(':not([hidden]):not([tabindex="-1"]),')});function DK(Q){let q=Q;return q.nativeEvent=Q,q.isDefaultPrevented=()=>q.defaultPrevented,q.isPropagationStopped=()=>q.cancelBubble,q.persist=()=>{},q}function _O(Q,q){Object.defineProperty(Q,"target",{value:q}),Object.defineProperty(Q,"currentTarget",{value:q})}function WO(Q){let q=zO.useRef({isFocused:!1,observer:null});return dZ(()=>{let z=q.current;return()=>{if(z.observer)z.observer.disconnect(),z.observer=null}},[]),zO.useCallback((z)=>{let _=LZ(z);if(_ instanceof HTMLButtonElement||_ instanceof HTMLInputElement||_ instanceof HTMLTextAreaElement||_ instanceof HTMLSelectElement){q.current.isFocused=!0;let W=_,K=(A)=>{if(q.current.isFocused=!1,W.disabled){let L=DK(A);Q?.(L)}if(q.current.observer)q.current.observer.disconnect(),q.current.observer=null};W.addEventListener("focusout",K,{once:!0}),q.current.observer=new MutationObserver(()=>{if(q.current.isFocused&&W.disabled){q.current.observer?.disconnect();let A=W===BX()?null:BX();W.dispatchEvent(new FocusEvent("blur",{relatedTarget:A})),W.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:A}))}}),q.current.observer.observe(W,{attributes:!0,attributeFilter:["disabled"]})}},[Q])}function Aw(Q){while(Q&&!qO(Q,{skipVisibilityCheck:!0}))Q=Q.parentElement;let q=uX(Q),z=q.document.activeElement;if(!z||z===Q)return;PK=!0;let _=!1,W=(N)=>{if(LZ(N)===z||_)N.stopImmediatePropagation()},K=(N)=>{if(LZ(N)===z||_){if(N.stopImmediatePropagation(),!Q&&!_)_=!0,tY(z),M()}},A=(N)=>{if(LZ(N)===Q||_)N.stopImmediatePropagation()},L=(N)=>{if(LZ(N)===Q||_){if(N.stopImmediatePropagation(),!_)_=!0,tY(z),M()}};q.addEventListener("blur",W,!0),q.addEventListener("focusout",K,!0),q.addEventListener("focusin",L,!0),q.addEventListener("focus",A,!0);let M=()=>{cancelAnimationFrame(I),q.removeEventListener("blur",W,!0),q.removeEventListener("focusout",K,!0),q.removeEventListener("focusin",L,!0),q.removeEventListener("focus",A,!0),PK=!1,_=!1},I=requestAnimationFrame(M);return M}var zO,PK=!1;var $K=P(()=>{Mz();dX();EY();HO();$Y();zO=m(XZ(),1)});function UO(Q){if(typeof window>"u"||window.navigator==null)return!1;let q=window.navigator.userAgentData?.brands;return Array.isArray(q)&&q.some((z)=>Q.test(z.brand))||Q.test(window.navigator.userAgent)}function N3(Q){return typeof window<"u"&&window.navigator!=null?Q.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function tq(Q){let q=null;return()=>{if(q==null)q=Q();return q}}var CJ,ox,I3,PJ,Ow,Mw,T3,SK,Fw;var qJ=P(()=>{CJ=tq(function(){return N3(/^Mac/i)}),ox=tq(function(){return N3(/^iPhone/i)}),I3=tq(function(){return N3(/^iPad/i)||CJ()&&navigator.maxTouchPoints>1}),PJ=tq(function(){return ox()||I3()}),Ow=tq(function(){return CJ()||PJ()}),Mw=tq(function(){return UO(/AppleWebKit/i)&&!T3()}),T3=tq(function(){return UO(/Chrome/i)}),SK=tq(function(){return UO(/Android/i)}),Fw=tq(function(){return UO(/Firefox/i)})});function KO(Q){if(Q.pointerType===""&&Q.isTrusted)return!0;if(SK()&&Q.pointerType)return Q.type==="click"&&Q.buttons===1;return Q.detail===0&&!Q.pointerType}function Nw(Q){return!SK()&&Q.width===0&&Q.height===0||Q.width===1&&Q.height===1&&Q.pressure===0&&Q.detail===0&&Q.pointerType==="mouse"}var w3=P(()=>{qJ()});function Fz(){return GW.useContext(rx)}function tx(Q,q){let z=Q.getAttribute("target");return(!z||z==="_self")&&Q.origin===location.origin&&!Q.hasAttribute("download")&&!q.metaKey&&!q.ctrlKey&&!q.altKey&&!q.shiftKey}function GJ(Q,q,z=!0){let{metaKey:_,ctrlKey:W,altKey:K,shiftKey:A}=q;if(Fw()&&window.event?.type?.startsWith("key")&&Q.target==="_blank")if(CJ())_=!0;else W=!0;let L=Mw()&&CJ()&&!I3()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:_,ctrlKey:W,altKey:K,shiftKey:A}):new MouseEvent("click",{metaKey:_,ctrlKey:W,altKey:K,shiftKey:A,detail:1,bubbles:!0,cancelable:!0});GJ.isOpening=z,tY(Q),Q.dispatchEvent(L),GJ.isOpening=!1}function ex(Q,q){if(Q instanceof HTMLAnchorElement)q(Q);else if(Q.hasAttribute("data-href")){let z=document.createElement("a");if(z.href=Q.getAttribute("data-href"),Q.hasAttribute("data-target"))z.target=Q.getAttribute("data-target");if(Q.hasAttribute("data-rel"))z.rel=Q.getAttribute("data-rel");if(Q.hasAttribute("data-download"))z.download=Q.getAttribute("data-download");if(Q.hasAttribute("data-ping"))z.ping=Q.getAttribute("data-ping");if(Q.hasAttribute("data-referrer-policy"))z.referrerPolicy=Q.getAttribute("data-referrer-policy");Q.appendChild(z),q(z),Q.removeChild(z)}}function Zy(Q,q){ex(Q,(z)=>GJ(z,q))}function HW(Q){let z=Fz().useHref(Q?.href??""),_={};if(Q){for(let W of["href","target","rel","download","ping","referrerPolicy"])if(W in Q)_[W]=W==="href"?z:Q[W]}return _}function Iw(Q,q,z,_){if(!q.isNative&&Q.currentTarget instanceof HTMLAnchorElement&&Q.currentTarget.href&&!Q.isDefaultPrevented()&&tx(Q.currentTarget,Q)&&z)Q.preventDefault(),q.open(Q.currentTarget,Q,z,_)}var GW,rx;var JH=P(()=>{Mz();qJ();GW=m(XZ(),1),rx=GW.createContext({isNative:!0,open:Zy,useHref:(Q)=>Q});GJ.isOpening=!1});function LO(Q,q){for(let z of V3)z(Q,q)}function Yy(Q){return!(Q.metaKey||!CJ()&&Q.altKey||Q.ctrlKey||Q.key==="Control"||Q.key==="Shift"||Q.key==="Meta")}function BO(Q){if(Nz=!0,!GJ.isOpening&&Yy(Q))Iz="keyboard",kK="keyboard",LO("keyboard",Q)}function zW(Q){if(Iz="pointer",kK="pointerType"in Q?Q.pointerType:"mouse",Q.type==="mousedown"||Q.type==="pointerdown")Nz=!0,LO("pointer",Q)}function Tw(Q){if(!GJ.isOpening&&KO(Q))Nz=!0,Iz="virtual",kK="virtual"}function ww(Q){let q=uX(LZ(Q)),z=cZ(LZ(Q));if(LZ(Q)===q||LZ(Q)===z||PK||!Q.isTrusted)return;if(!Nz&&!R3)Iz="virtual",kK="virtual",LO("virtual",Q);Nz=!1,R3=!1}function Vw(){if(PK)return;Nz=!1,R3=!0}function j3(Q){if(typeof window>"u"||typeof document>"u")return;let q=uX(Q),z=cZ(Q);if(EK.get(q))return;let _=q.HTMLElement.prototype.focus;if(q.HTMLElement.prototype.focus=function(){Nz=!0,_.apply(this,arguments)},z.addEventListener("keydown",BO,!0),z.addEventListener("keyup",BO,!0),z.addEventListener("click",Tw,!0),q.addEventListener("focus",ww,!0),q.addEventListener("blur",Vw,!1),typeof PointerEvent<"u")z.addEventListener("pointerdown",zW,!0),z.addEventListener("pointermove",zW,!0),z.addEventListener("pointerup",zW,!0);q.addEventListener("beforeunload",()=>{Rw(Q)},{once:!0}),EK.set(q,{focus:_})}function Qy(Q){let q=cZ(Q),z;if(q.readyState!=="loading")j3(Q);else z=()=>{j3(Q)},q.addEventListener("DOMContentLoaded",z);return()=>Rw(Q,z)}function Kq(){return Iz!=="pointer"}function Tz(){return Iz}function xK(Q){Iz=Q,kK=Q==="pointer"?"mouse":Q,LO(Q,null)}function qy(Q,q,z){let _=z?LZ(z):void 0,W=cZ(_),K=uX(_),A=typeof K<"u"?K.HTMLInputElement:HTMLInputElement,L=typeof K<"u"?K.HTMLTextAreaElement:HTMLTextAreaElement,M=typeof K<"u"?K.HTMLElement:HTMLElement,I=typeof K<"u"?K.KeyboardEvent:KeyboardEvent,N=BX(W);return Q=Q||N instanceof A&&!Jy.has(N.type)||N instanceof L||N instanceof M&&N.isContentEditable,!(Q&&q==="keyboard"&&z instanceof I&&!Xy[z.key])}function jw(Q,q,z){j3(),C3.useEffect(()=>{if(z?.enabled===!1)return;let _=(W,K)=>{if(!qy(!!z?.isTextInput,W,K))return;Q(Kq())};return V3.add(_),()=>{V3.delete(_)}},q)}var C3,Iz=null,kK="keyboard",V3,EK,Nz=!1,R3=!1,Xy,Rw=(Q,q)=>{let z=uX(Q),_=cZ(Q);if(q)_.removeEventListener("DOMContentLoaded",q);if(!EK.has(z))return;if(z.HTMLElement.prototype.focus=EK.get(z).focus,_.removeEventListener("keydown",BO,!0),_.removeEventListener("keyup",BO,!0),_.removeEventListener("click",Tw,!0),z.removeEventListener("focus",ww,!0),z.removeEventListener("blur",Vw,!1),typeof PointerEvent<"u")_.removeEventListener("pointerdown",zW,!0),_.removeEventListener("pointermove",zW,!0),_.removeEventListener("pointerup",zW,!0);EK.delete(z)},Jy;var qH=P(()=>{dX();EY();$K();qJ();w3();JH();C3=m(XZ(),1),V3=new Set,EK=new Map,Xy={Tab:!0,Escape:!0};if(typeof document<"u")Qy();Jy=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function Cw(){if(typeof window>"u")return;function Q(_){return"propertyName"in _}let q=(_)=>{let W=LZ(_);if(!Q(_)||!W)return;let K=GH.get(W);if(!K)K=new Set,GH.set(W,K),W.addEventListener("transitioncancel",z,{once:!0});K.add(_.propertyName)},z=(_)=>{let W=LZ(_);if(!Q(_)||!W)return;let K=GH.get(W);if(!K)return;if(K.delete(_.propertyName),K.size===0)W.removeEventListener("transitioncancel",z),GH.delete(W);if(GH.size===0){for(let A of P3)A();P3.clear()}};document.body.addEventListener("transitionrun",q),document.body.addEventListener("transitionend",z)}function Gy(){for(let[Q]of GH)if("isConnected"in Q&&!Q.isConnected)GH.delete(Q)}function AO(Q){requestAnimationFrame(()=>{if(Gy(),GH.size===0)Q();else P3.add(Q)})}var GH,P3;var D3=P(()=>{dX();GH=new Map,P3=new Set;if(typeof document<"u")if(document.readyState!=="loading")Cw();else document.addEventListener("DOMContentLoaded",Cw)});function eq(Q){if(!Q.isConnected)return;let q=cZ(Q);if(Tz()==="virtual"){let z=BX(q);AO(()=>{let _=BX(q);if((_===z||_===q.body)&&Q.isConnected)tY(Q)})}else tY(Q)}var yK=P(()=>{Mz();dX();qH();EY();D3()});function wz(Q){let{isDisabled:q,onFocus:z,onBlur:_,onFocusChange:W}=Q,K=$3.useCallback((M)=>{if(LZ(M)===M.currentTarget){if(_)_(M);if(W)W(!1);return!0}},[_,W]),A=WO(K),L=$3.useCallback((M)=>{let I=LZ(M),N=cZ(I),O=N?BX(N):BX();if(I===M.currentTarget&&I===O){if(z)z(M);if(W)W(!0);A(M)}},[W,z,A]);return{focusProps:{onFocus:!q&&(z||W||_)?L:void 0,onBlur:!q&&(_||W)?K:void 0}}}var $3;var OO=P(()=>{dX();EY();$K();$3=m(XZ(),1)});function S3(Q){if(!Q)return;let q=!0;return(z)=>{let _={...z,preventDefault(){z.preventDefault()},isDefaultPrevented(){return z.isDefaultPrevented()},stopPropagation(){if(q)console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");else q=!0},continuePropagation(){q=!1},isPropagationStopped(){return q}};if(Q(_),q)z.stopPropagation()}}var Pw=()=>{};function Vz(Q){return{keyboardProps:Q.isDisabled?{}:{onKeyDown:S3(Q.onKeyDown),onKeyUp:S3(Q.onKeyUp)}}}var MO=P(()=>{Pw()});function FO(Q,q){dZ(()=>{if(Q&&Q.ref&&q)return Q.ref.current=q.current,()=>{if(Q.ref)Q.ref.current=null}})}var E3=P(()=>{$Y()});function Hy(Q){let q=ZG.useContext(NO)||{};FO(q,Q);let{ref:z,..._}=q;return _}function HH(Q,q){let{focusProps:z}=wz(Q),{keyboardProps:_}=Vz(Q),W=CZ(z,_),K=Hy(q),A=Q.isDisabled?{}:K,L=ZG.useRef(Q.autoFocus);ZG.useEffect(()=>{if(L.current&&q.current)eq(q.current);L.current=!1},[q]);let M=Q.excludeFromTabOrder?-1:0;if(Q.isDisabled)M=void 0;return{focusableProps:CZ({...W,tabIndex:M},A)}}var ZG,NO;var _W=P(()=>{yK();SY();OO();MO();E3();ZG=m(XZ(),1),NO=ZG.default.createContext(null)});function Dw(Q){if(PJ()){if(WW==="default"){let q=cZ(Q);k3=q.documentElement.style.webkitUserSelect,q.documentElement.style.webkitUserSelect="none"}WW="disabled"}else if(Q instanceof HTMLElement||Q instanceof SVGElement){let q="userSelect"in Q.style?"userSelect":"webkitUserSelect";IO.set(Q,Q.style[q]),Q.style[q]="none"}}function x3(Q){if(PJ()){if(WW!=="disabled")return;WW="restoring",setTimeout(()=>{AO(()=>{if(WW==="restoring"){let q=cZ(Q);if(q.documentElement.style.webkitUserSelect==="none")q.documentElement.style.webkitUserSelect=k3||"";k3="",WW="default"}})},300)}else if(Q instanceof HTMLElement||Q instanceof SVGElement){if(Q&&IO.has(Q)){let q=IO.get(Q),z="userSelect"in Q.style?"userSelect":"webkitUserSelect";if(Q.style[z]==="none")Q.style[z]=q;if(Q.getAttribute("style")==="")Q.removeAttribute("style");IO.delete(Q)}}}var WW="default",k3="",IO;var $w=P(()=>{EY();qJ();D3();IO=new WeakMap});function Sw(Q){return Q?.defaultView?.__webpack_nonce__||globalThis.__webpack_nonce__||void 0}function TO(Q){let q=Q??(typeof document<"u"?document:void 0);if(!q)return Sw(q);if(y3.has(q))return y3.get(q);let z=q.querySelector('meta[property="csp-nonce"]'),_=z&&z instanceof uX(z).HTMLMetaElement&&(z.nonce||z.content)||Sw(q)||void 0;if(_!==void 0)y3.set(q,_);return _}var y3;var v3=P(()=>{EY();y3=new WeakMap});var Ew,vK;var h3=P(()=>{Ew=m(XZ(),1),vK=Ew.default.createContext({register:()=>{}});vK.displayName="PressResponderContext"});function kY(Q){let q=UW.useRef(null);return zy(()=>{q.current=Q},[Q]),UW.useCallback((...z)=>{let _=q.current;return _?.(...z)},[])}var UW,zy;var Rz=P(()=>{$Y();UW=m(XZ(),1),zy=UW.default.useInsertionEffect??dZ});function _H(){let Q=zH.useRef(new Map),q=zH.useCallback((W,K,A,L)=>{let M=L?.once?(...I)=>{Q.current.delete(A),A(...I)}:A;Q.current.set(A,{type:K,eventTarget:W,fn:M,options:L}),W.addEventListener(K,M,L)},[]),z=zH.useCallback((W,K,A,L)=>{let M=Q.current.get(A)?.fn||A;W.removeEventListener(K,M,L),Q.current.delete(A)},[]),_=zH.useCallback(()=>{Q.current.forEach((W,K)=>{z(W.eventTarget,W.type,K,W.options)})},[z]);return zH.useEffect(()=>{return _},[_]),{addGlobalListener:q,removeGlobalListener:z,removeAllGlobalListeners:_}}var zH;var hK=P(()=>{zH=m(XZ(),1)});function Wy(Q){let q=qY.useContext(vK);if(q){let{register:z,ref:_,...W}=q;Q=CZ(W,Q),z()}return FO(q,Q.ref),Q}class bK{#Z;constructor(Q,q,z,_){this.#Z=!0;let K=(_?.target??z.currentTarget)?.getBoundingClientRect(),A,L=0,M,I=null;if(z.clientX!=null&&z.clientY!=null)M=z.clientX,I=z.clientY;if(K)if(M!=null&&I!=null)A=M-K.left,L=I-K.top;else A=K.width/2,L=K.height/2;this.type=Q,this.pointerType=q,this.target=z.currentTarget,this.shiftKey=z.shiftKey,this.metaKey=z.metaKey,this.ctrlKey=z.ctrlKey,this.altKey=z.altKey,this.x=A,this.y=L,this.key=z.key}continuePropagation(){this.#Z=!1}get shouldStopPropagation(){return this.#Z}}function WH(Q){let{onPress:q,onPressChange:z,onPressStart:_,onPressEnd:W,onPressUp:K,onClick:A,isDisabled:L,isPressed:M,preventFocusOnPress:I,shouldCancelOnPointerExit:N,allowTextSelectionOnPress:O,ref:R,...j}=Wy(Q),[y,f]=qY.useState(!1),b=qY.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:a,removeAllGlobalListeners:r}=_H(),JZ=qY.useCallback((h,u)=>{let E=b.current;if(L||E.didFirePressStart)return!1;let g=!0;if(E.isTriggeringEvent=!0,_){let e=new bK("pressstart",u,h);_(e),g=e.shouldStopPropagation}if(z)z(!0);return E.isTriggeringEvent=!1,E.didFirePressStart=!0,f(!0),g},[L,_,z]),ZZ=qY.useCallback((h,u,E=!0)=>{let g=b.current;if(!g.didFirePressStart)return!1;g.didFirePressStart=!1,g.isTriggeringEvent=!0;let e=!0;if(W){let p=new bK("pressend",u,h);W(p),e=p.shouldStopPropagation}if(z)z(!1);if(f(!1),q&&E&&!L){let p=new bK("press",u,h);q(p),e&&=p.shouldStopPropagation}return g.isTriggeringEvent=!1,e},[L,W,z,q]),UZ=kY(ZZ),xZ=qY.useCallback((h,u)=>{let E=b.current;if(L)return!1;if(K){E.isTriggeringEvent=!0;let g=new bK("pressup",u,h);return K(g),E.isTriggeringEvent=!1,g.shouldStopPropagation}return!0},[L,K]),qZ=kY(xZ),l=qY.useCallback((h)=>{let u=b.current;if(u.isPressed&&u.target){if(u.didFirePressStart&&u.pointerType!=null)ZZ(jz(u.target,h),u.pointerType,!1);if(u.isPressed=!1,u.isOverTarget=!1,u.activePointerId=null,u.pointerType=null,r(),!O)x3(u.target);for(let E of u.disposables)E();u.disposables=[]}},[O,r,ZZ]),MZ=kY(l);qY.useEffect(()=>{if(L&&b.current.isPressed)MZ({currentTarget:b.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[L]);let n=qY.useCallback((h)=>{if(N)l(h)},[N,l]),wZ=qY.useCallback((h)=>{if(L)return;A?.(h)},[L,A]),KZ=qY.useCallback((h,u)=>{if(L)return;if(A){let E=new MouseEvent("click",h);_O(E,u),A(DK(E))}},[L,A]),zZ=qY.useMemo(()=>{let h=b.current,u={onKeyDown(g){if(b3(g.nativeEvent,g.currentTarget)&&XX(g.currentTarget,LZ(g))){if(vw(LZ(g),g.key))g.preventDefault();let e=!0;if(!h.isPressed&&!g.repeat)h.target=g.currentTarget,h.isPressed=!0,h.pointerType="keyboard",e=JZ(g,"keyboard");let p=g.currentTarget,w=(o)=>{if(b3(o,p)&&!o.repeat&&XX(p,LZ(o))&&h.target)qZ(jz(h.target,o),"keyboard")};if(a(cZ(g.currentTarget),"keyup",VJ(w,E),!0),e)g.stopPropagation();if(g.metaKey&&CJ())h.metaKeyEvents?.set(g.key,g.nativeEvent)}else if(g.key==="Meta")h.metaKeyEvents=new Map},onClick(g){if(g&&!XX(g.currentTarget,LZ(g)))return;if(g&&g.button===0&&!h.isTriggeringEvent&&!GJ.isOpening){let e=!0;if(L)g.preventDefault();if(!h.ignoreEmulatedMouseEvents&&!h.isPressed&&(h.pointerType==="virtual"||KO(g.nativeEvent))){let p=JZ(g,"virtual"),w=qZ(g,"virtual"),o=UZ(g,"virtual");wZ(g),e=p&&w&&o}else if(h.isPressed&&h.pointerType!=="keyboard"){let p=h.pointerType||g.nativeEvent.pointerType||"virtual",w=qZ(jz(g.currentTarget,g),p),o=UZ(jz(g.currentTarget,g),p,!0);e=w&&o,h.isOverTarget=!1,wZ(g),MZ(g)}if(h.ignoreEmulatedMouseEvents=!1,e)g.stopPropagation()}}},E=(g)=>{if(h.isPressed&&h.target&&b3(g,h.target)){if(vw(LZ(g),g.key))g.preventDefault();let e=LZ(g),p=XX(h.target,e);if(UZ(jz(h.target,g),"keyboard",p),p)KZ(g,h.target);if(r(),g.key!=="Enter"&&g3(h.target)&&XX(h.target,e)&&!g[kw])g[kw]=!0,GJ(h.target,g,!1);h.isPressed=!1,h.metaKeyEvents?.delete(g.key)}else if(g.key==="Meta"&&h.metaKeyEvents?.size){let e=h.metaKeyEvents;h.metaKeyEvents=void 0;for(let p of e.values())h.target?.dispatchEvent(new KeyboardEvent("keyup",p))}};if(typeof PointerEvent<"u"){u.onPointerDown=(p)=>{if(p.button!==0||!XX(p.currentTarget,LZ(p)))return;if(Nw(p.nativeEvent)){h.pointerType="virtual";return}h.pointerType=p.pointerType;let w=!0;if(!h.isPressed){if(h.isPressed=!0,h.isOverTarget=!0,h.activePointerId=p.pointerId,h.target=p.currentTarget,!O)Dw(h.target);w=JZ(p,h.pointerType);let o=LZ(p);if("releasePointerCapture"in o)if("hasPointerCapture"in o){if(o.hasPointerCapture(p.pointerId))o.releasePointerCapture(p.pointerId)}else o.releasePointerCapture(p.pointerId);a(cZ(p.currentTarget),"pointerup",g,!1),a(cZ(p.currentTarget),"pointercancel",e,!1)}if(w)p.stopPropagation()},u.onMouseDown=(p)=>{if(!XX(p.currentTarget,LZ(p)))return;if(p.button===0){if(I){let w=Aw(p.target);if(w)h.disposables.push(w)}p.stopPropagation()}},u.onPointerUp=(p)=>{if(!XX(p.currentTarget,LZ(p))||h.pointerType==="virtual")return;if(p.button===0&&!h.isPressed)qZ(p,h.pointerType||p.pointerType)},u.onPointerEnter=(p)=>{if(p.pointerId===h.activePointerId&&h.target&&!h.isOverTarget&&h.pointerType!=null)h.isOverTarget=!0,JZ(jz(h.target,p),h.pointerType)},u.onPointerLeave=(p)=>{if(p.pointerId===h.activePointerId&&h.target&&h.isOverTarget&&h.pointerType!=null)h.isOverTarget=!1,UZ(jz(h.target,p),h.pointerType,!1),n(p)};let g=(p)=>{if(p.pointerId===h.activePointerId&&h.isPressed&&p.button===0&&h.target){if(XX(h.target,LZ(p))&&h.pointerType!=null){let w=!1,o=setTimeout(()=>{if(h.isPressed&&h.target instanceof HTMLElement)if(w)MZ(p);else tY(h.target),h.target.click()},80);a(p.currentTarget,"click",()=>w=!0,!0),h.disposables.push(()=>clearTimeout(o))}else MZ(p);h.isOverTarget=!1}},e=(p)=>{MZ(p)};u.onDragStart=(p)=>{if(!XX(p.currentTarget,LZ(p)))return;MZ(p)}}return u},[a,L,I,r,O,n,JZ,wZ,KZ]);return qY.useEffect(()=>{if(!R)return;let h=cZ(R.current);if(!h||!h.head||h.getElementById(xw))return;let u=h.createElement("style");u.id=xw;let E=TO(h);if(E)u.nonce=E;u.textContent=`
|
|
236
|
-
@layer {
|
|
237
|
-
[${yw}] {
|
|
238
|
-
touch-action: pan-x pan-y pinch-zoom;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
`.trim(),h.head.prepend(u)},[R]),qY.useEffect(()=>{let h=b.current;return()=>{if(!O)x3(h.target??void 0);for(let u of h.disposables)u();h.disposables=[]}},[O]),{isPressed:M||y,pressProps:CZ(j,zZ,{[yw]:!0})}}function g3(Q){return Q.tagName==="A"&&Q.hasAttribute("href")}function b3(Q,q){let{key:z,code:_}=Q,W=q,K=W.getAttribute("role");return(z==="Enter"||z===" "||z==="Spacebar"||_==="Space")&&!(W instanceof uX(W).HTMLInputElement&&!hw(W,z)||W instanceof uX(W).HTMLTextAreaElement||W.isContentEditable)&&!((K==="link"||!K&&g3(W))&&z!=="Enter")}function jz(Q,q){let{clientX:z,clientY:_}=q;return{currentTarget:Q,shiftKey:q.shiftKey,ctrlKey:q.ctrlKey,metaKey:q.metaKey,altKey:q.altKey,clientX:z,clientY:_,key:q.key}}function Uy(Q){if(Q instanceof HTMLInputElement)return!1;if(Q instanceof HTMLButtonElement)return Q.type!=="submit"&&Q.type!=="reset";if(g3(Q))return!1;return!0}function vw(Q,q){if(Q instanceof HTMLInputElement)return!hw(Q,q);return Uy(Q)}function hw(Q,q){return Q.type==="checkbox"||Q.type==="radio"?q===" ":Ky.has(Q.type)}var _y,qY,kw,xw="react-aria-pressable-style",yw="data-react-aria-pressable",Ky;var gK=P(()=>{ZW();$K();$w();Mz();dX();v3();EY();qJ();w3();SY();JH();h3();Rz();hK();E3();_y=m(sq(),1),qY=m(XZ(),1);kw=Symbol("linkClicked");Ky=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function m3(Q,q){let{elementType:z="button",isDisabled:_,onPress:W,onPressStart:K,onPressEnd:A,onPressUp:L,onPressChange:M,preventFocusOnPress:I,allowFocusWhenDisabled:N,onClick:O,href:R,target:j,rel:y,type:f="button"}=Q,b;if(z==="button")b={type:f,disabled:_,form:Q.form,formAction:Q.formAction,formEncType:Q.formEncType,formMethod:Q.formMethod,formNoValidate:Q.formNoValidate,formTarget:Q.formTarget,name:Q.name,value:Q.value};else b={role:"button",href:z==="a"&&!_?R:void 0,target:z==="a"?j:void 0,type:z==="input"?f:void 0,disabled:z==="input"?_:void 0,"aria-disabled":!_||z==="input"?void 0:_,rel:z==="a"?y:void 0};let{pressProps:a,isPressed:r}=WH({onPressStart:K,onPressEnd:A,onPressChange:M,onPress:W,onPressUp:L,onClick:O,isDisabled:_,preventFocusOnPress:I,ref:q}),{focusableProps:JZ}=HH(Q,q);if(N)JZ.tabIndex=_?-1:JZ.tabIndex;let ZZ=CZ(JZ,a,HX(Q,{labelable:!0}));return{isPressed:r,buttonProps:CZ(b,ZZ,{"aria-haspopup":Q["aria-haspopup"],"aria-expanded":Q["aria-expanded"],"aria-controls":Q["aria-controls"],"aria-pressed":Q["aria-pressed"],"aria-current":Q["aria-current"],"aria-disabled":Q["aria-disabled"]})}}var bw=P(()=>{YH();SY();_W();gK()});var gw=P(()=>{bw()});function KW(Q){let{isDisabled:q,onBlurWithin:z,onFocusWithin:_,onFocusWithinChange:W}=Q,K=mK.useRef({isFocusWithin:!1}),{addGlobalListener:A,removeAllGlobalListeners:L}=_H(),M=mK.useCallback((O)=>{if(!XX(O.currentTarget,LZ(O)))return;if(K.current.isFocusWithin&&!XX(O.currentTarget,O.relatedTarget)){if(K.current.isFocusWithin=!1,L(),z)z(O);if(W)W(!1)}},[z,W,K,L]),I=WO(M),N=mK.useCallback((O)=>{if(!XX(O.currentTarget,LZ(O)))return;let R=LZ(O),j=cZ(R),y=BX(j);if(!K.current.isFocusWithin&&y===R){if(_)_(O);if(W)W(!0);K.current.isFocusWithin=!0,I(O);let f=O.currentTarget;A(j,"focus",(b)=>{let a=LZ(b);if(K.current.isFocusWithin&&!XX(f,a)){let r=new j.defaultView.FocusEvent("blur",{relatedTarget:a});_O(r,f);let JZ=DK(r);M(JZ)}},{capture:!0})}},[_,W,I,A,M]);if(q)return{focusWithinProps:{onFocus:void 0,onBlur:void 0}};return{focusWithinProps:{onFocus:N,onBlur:M}}}var mK;var wO=P(()=>{$K();dX();EY();hK();mK=m(XZ(),1)});function gQ(Q={}){let{autoFocus:q=!1,isTextInput:z,within:_}=Q,W=UH.useRef({isFocused:!1,isFocusVisible:q||Kq()}),[K,A]=UH.useState(!1),[L,M]=UH.useState(()=>W.current.isFocused&&W.current.isFocusVisible),I=UH.useCallback(()=>M(W.current.isFocused&&W.current.isFocusVisible),[]),N=UH.useCallback((j)=>{W.current.isFocused=j,W.current.isFocusVisible=Kq(),A(j),I()},[I]);jw((j)=>{W.current.isFocusVisible=j,I()},[z,K],{enabled:K,isTextInput:z});let{focusProps:O}=wz({isDisabled:_,onFocusChange:N}),{focusWithinProps:R}=KW({isDisabled:!_,onFocusWithinChange:N});return{isFocused:K,isFocusVisible:L,focusProps:_?R:O}}var UH;var mw=P(()=>{qH();OO();wO();UH=m(XZ(),1)});var BW=P(()=>{mw()});function By(){f3=!0,setTimeout(()=>{f3=!1},500)}function fw(Q){if(Q.pointerType==="touch")By()}function Ly(){let Q=cZ(null);if(typeof Q>"u")return;if(VO===0){if(typeof PointerEvent<"u")Q.addEventListener("pointerup",fw)}return VO++,()=>{if(VO--,VO>0)return;if(typeof PointerEvent<"u")Q.removeEventListener("pointerup",fw)}}function xY(Q){let{onHoverStart:q,onHoverChange:z,onHoverEnd:_,isDisabled:W}=Q,[K,A]=XG.useState(!1),L=XG.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;XG.useEffect(Ly,[]);let{addGlobalListener:M,removeAllGlobalListeners:I}=_H(),{hoverProps:N,triggerHoverEnd:O}=XG.useMemo(()=>{let R=(f,b)=>{if(L.pointerType=b,W||b==="touch"||L.isHovered||!XX(f.currentTarget,LZ(f)))return;L.isHovered=!0;let a=f.currentTarget;if(L.target=a,M(cZ(LZ(f)),"pointerover",(r)=>{if(L.isHovered&&L.target&&!XX(L.target,LZ(r)))j(r,r.pointerType)},{capture:!0}),q)q({type:"hoverstart",target:a,pointerType:b});if(z)z(!0);A(!0)},j=(f,b)=>{let a=L.target;if(L.pointerType="",L.target=null,b==="touch"||!L.isHovered||!a)return;if(L.isHovered=!1,I(),_)_({type:"hoverend",target:a,pointerType:b});if(z)z(!1);A(!1)},y={};if(typeof PointerEvent<"u")y.onPointerEnter=(f)=>{if(f3&&f.pointerType==="mouse")return;R(f,f.pointerType)},y.onPointerLeave=(f)=>{if(!W&&XX(f.currentTarget,LZ(f)))j(f,f.pointerType)};return{hoverProps:y,triggerHoverEnd:j}},[q,z,_,W,L,M,I]);return XG.useEffect(()=>{if(W)O({currentTarget:L.target},L.pointerType)},[W]),{hoverProps:N,isHovered:K}}var XG,f3=!1,VO=0;var RO=P(()=>{dX();EY();hK();XG=m(XZ(),1)});var Cz=P(()=>{RO()});var u3=P(()=>{JJ()});function Oy(Q,q){if(q){for(let z in Q)if(z.startsWith("on")&&!Ay.test(z))Q[z]=void 0;Q.href=void 0,Q.target=void 0}return Q}var YG,fK,Pz,Ay;var d3=P(()=>{WQ();Hw();Ww();gw();QW();Uq();RJ();BW();Cz();u3();YG=m(XZ(),1),fK=YG.createContext({}),Pz=jJ(function(q,z){[q,z]=fX(q,z,fK);let _=q,{isPending:W}=_,{buttonProps:K,isPressed:A}=m3(q,z);K=Oy(K,W);let{focusProps:L,isFocused:M,isFocusVisible:I}=gQ(q),{hoverProps:N,isHovered:O}=xY({...q,isDisabled:q.isDisabled||W}),R={isHovered:O,isPressed:(_.isPressed||A)&&!W,isFocused:M,isFocusVisible:I,isDisabled:q.isDisabled||!1,isPending:W??!1},j=yX({...q,values:R,defaultClassName:"react-aria-Button"}),y=aX(K.id),f=aX(),b=K["aria-labelledby"];if(W){if(b)b=`${b} ${f}`;else if(K["aria-label"])b=`${y} ${f}`}let a=YG.useRef(W);YG.useEffect(()=>{let JZ={"aria-labelledby":b||y};if(!a.current&&M&&W)XO(JZ,"assertive");else if(a.current&&M&&!W)XO(JZ,"assertive");a.current=W},[W,M,b,y]);let r=HX(q,{global:!0});return delete r.onClick,YG.default.createElement(AX.button,{...CZ(r,j,K,L,N),type:K.type==="submit"&&W?"button":K.type,id:y,ref:z,"aria-labelledby":b,slot:q.slot||void 0,"aria-disabled":W?"true":K["aria-disabled"],"data-disabled":q.isDisabled||void 0,"data-pressed":R.isPressed||void 0,"data-hovered":O||void 0,"data-focused":M||void 0,"data-pending":W||void 0,"data-focus-visible":I||void 0},YG.default.createElement(Gw.Provider,{value:{id:f}},j.children))}),Ay=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/});var LW,KH,QG;var AW=P(()=>{WQ();LW=m(XZ(),1),KH=LW.createContext({}),QG=LW.forwardRef(function(q,z){[q,z]=fX(q,z,KH);let{elementType:_="span",...W}=q,K=AX[_];return LW.default.createElement(K,{className:"react-aria-Text",...W,ref:z})})});var DJ,uK,OW,My;var c3=P(()=>{WQ();AW();Uq();DJ=m(XZ(),1),uK=DJ.createContext(null),OW=DJ.forwardRef(function(q,z){if(!DJ.useContext(uK)?.isInvalid)return null;return DJ.default.createElement(My,{...q,ref:z})}),My=DJ.forwardRef((Q,q)=>{let z=DJ.useContext(uK),{elementType:_,...W}=Q,K=HX(W,{global:!0}),A=yX({...W,defaultClassName:"react-aria-FieldError",defaultChildren:z.validationErrors.length===0?void 0:z.validationErrors.join(" "),values:z});if(A.children==null)return null;return DJ.default.createElement(QG,{slot:"errorMessage",elementType:_,...K,...A,ref:q})})});function s3(Q){if(Q[l3]){let{realtimeValidation:q,displayValidation:z,updateValidation:_,resetValidation:W,commitValidation:K}=Q[l3];return{realtimeValidation:q,displayValidation:z,updateValidation:_,resetValidation:W,commitValidation:K}}return Fy(Q)}function Fy(Q){let{isInvalid:q,validationState:z,name:_,value:W,builtinValidation:K,validate:A,validationBehavior:L="aria"}=Q;if(z)q||=z==="invalid";let M=q!==void 0?{isInvalid:q,validationErrors:[],validationDetails:dw}:null,I=wY.useMemo(()=>{if(!A||W==null)return null;let n=Ny(A,W);return uw(n)},[A,W]);if(K?.validationDetails.valid)K=void 0;let N=wY.useContext(cw),O=wY.useMemo(()=>{if(_)return Array.isArray(_)?_.flatMap((n)=>i3(N[n])):i3(N[_]);return[]},[N,_]),[R,j]=wY.useState(N),[y,f]=wY.useState(!1);if(N!==R)j(N),f(!1);let b=wY.useMemo(()=>uw(y?[]:O),[y,O]),a=wY.useRef(MW),[r,JZ]=wY.useState(MW),ZZ=wY.useRef(MW),UZ=()=>{if(!xZ)return;qZ(!1);let n=I||K||a.current;if(!p3(n,ZZ.current))ZZ.current=n,JZ(n)},[xZ,qZ]=wY.useState(!1);return wY.useEffect(UZ),{realtimeValidation:M||b||I||K||MW,displayValidation:L==="native"?M||b||r:M||b||I||K||r,updateValidation(n){if(L==="aria"&&!p3(r,n))JZ(n);else a.current=n},resetValidation(){let n=MW;if(!p3(n,ZZ.current))ZZ.current=n,JZ(n);if(L==="native")qZ(!1);f(!0)},commitValidation(){if(L==="native")qZ(!0);f(!0)}}}function i3(Q){if(!Q)return[];return Array.isArray(Q)?Q:[Q]}function Ny(Q,q){if(typeof Q==="function"){let z=Q(q);if(z&&typeof z!=="boolean")return i3(z)}return[]}function uw(Q){return Q.length?{isInvalid:!0,validationErrors:Q,validationDetails:dw}:null}function p3(Q,q){if(Q===q)return!0;return!!Q&&!!q&&Q.isInvalid===q.isInvalid&&Q.validationErrors.length===q.validationErrors.length&&Q.validationErrors.every((z,_)=>z===q.validationErrors[_])&&Object.entries(Q.validationDetails).every(([z,_])=>q.validationDetails[z]===_)}var wY,n3,dw,MW,cw,l3="__reactAriaFormValidationState";var pw=P(()=>{wY=m(XZ(),1),n3={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},dw={...n3,customError:!0,valid:!1},MW={isInvalid:!1,validationDetails:n3,validationErrors:[]},cw=wY.createContext({})});var lw=P(()=>{pw()});var jO,iw;var nw=P(()=>{jO=m(XZ(),1),iw=jO.createContext(null)});function sw(Q){let{description:q,errorMessage:z,isInvalid:_,validationState:W}=Q,{labelProps:K,fieldProps:A}=r2(Q),L=_q([Boolean(q),Boolean(z),_,W]),M=_q([Boolean(q),Boolean(z),_,W]);return A=CZ(A,{"aria-describedby":[L,M,Q["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:K,fieldProps:A,descriptionProps:{id:L},errorMessageProps:{id:M}}}var aw=P(()=>{t2();SY();JJ()});function rw(Q,q,z){let _=kY((W)=>{if(z&&!W.defaultPrevented)z(q)});ow.useEffect(()=>{let W=Q?.current?.form;return W?.addEventListener("reset",_),()=>{W?.removeEventListener("reset",_)}},[Q])}var ow;var tw=P(()=>{Rz();ow=m(XZ(),1)});function ew(Q,q,z){let{validationBehavior:_,focus:W}=Q;dZ(()=>{if(_==="native"&&z?.current&&!z.current.disabled){let I=q.realtimeValidation.isInvalid?q.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";if(z.current.setCustomValidity(I),!z.current.hasAttribute("title"))z.current.title="";if(!q.realtimeValidation.isInvalid)q.updateValidation(Ty(z.current))}});let K=CO.useRef(!1),A=kY(()=>{if(!K.current)q.resetValidation()}),L=kY((I)=>{if(!q.displayValidation.isInvalid)q.commitValidation();let N=z?.current?.form;if(!I.defaultPrevented&&z&&N&&wy(N)===z.current){if(W)W();else z.current?.focus();xK("keyboard")}I.preventDefault()}),M=kY(()=>{q.commitValidation()});CO.useEffect(()=>{let I=z?.current;if(!I)return;let N=I.form,O=N?.reset;if(N)N.reset=()=>{K.current=!window.event||window.event.type==="message"&&LZ(window.event)instanceof MessagePort,O?.call(N),K.current=!1};return I.addEventListener("invalid",L),I.addEventListener("change",M),N?.addEventListener("reset",A),()=>{if(I.removeEventListener("invalid",L),I.removeEventListener("change",M),N?.removeEventListener("reset",A),N)N.reset=O}},[z,_])}function Iy(Q){let q=Q.validity;return{badInput:q.badInput,customError:q.customError,patternMismatch:q.patternMismatch,rangeOverflow:q.rangeOverflow,rangeUnderflow:q.rangeUnderflow,stepMismatch:q.stepMismatch,tooLong:q.tooLong,tooShort:q.tooShort,typeMismatch:q.typeMismatch,valueMissing:q.valueMissing,valid:q.valid}}function Ty(Q){return{isInvalid:!Q.validity.valid,validationDetails:Iy(Q),validationErrors:Q.validationMessage?[Q.validationMessage]:[]}}function wy(Q){for(let q=0;q<Q.elements.length;q++){let z=Q.elements[q];if(z.validity?.valid===!1)return z}return null}var CO;var ZV=P(()=>{dX();qH();Rz();$Y();CO=m(XZ(),1)});function Dz(Q,q,z){let[_,W]=UQ.useState(Q||q),K=UQ.useRef(_),A=UQ.useRef(Q!==void 0),L=Q!==void 0;UQ.useEffect(()=>{let O=A.current;if(O!==L)console.warn(`WARN: A component changed from ${O?"controlled":"uncontrolled"} to ${L?"controlled":"uncontrolled"}.`);A.current=L},[L]);let M=L?Q:_;Vy(()=>{K.current=M});let[,I]=UQ.useReducer(()=>({}),{}),N=UQ.useCallback((O,...R)=>{let j=typeof O==="function"?O(K.current):O;if(!Object.is(K.current,j))K.current=j,W(j),I(),z?.(j,...R)},[z]);return[M,N]}var UQ,Vy;var PO=P(()=>{UQ=m(XZ(),1),Vy=typeof document<"u"?UQ.default.useInsertionEffect??UQ.default.useLayoutEffect:()=>{}});function Ry(Q={}){let{style:q,isFocusable:z}=Q,[_,W]=FW.useState(!1),{focusWithinProps:K}=KW({isDisabled:!z,onFocusWithinChange:(L)=>W(L)}),A=FW.useMemo(()=>{if(_)return q;else if(q)return{...XV,...q};else return XV},[_]);return{visuallyHiddenProps:{...K,style:A}}}function YV(Q){let{children:q,elementType:z="div",isFocusable:_,style:W,...K}=Q,{visuallyHiddenProps:A}=Ry(Q);return FW.default.createElement(z,CZ(K,A),q)}var FW,XV;var QV=P(()=>{SY();wO();FW=m(XZ(),1),XV={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"}});var DO,JV;var qV=P(()=>{DO=m(XZ(),1),JV=DO.createContext({})});var $O,SO,jy=(Q)=>{let{onHoverStart:q,onHoverChange:z,onHoverEnd:_,...W}=Q;return W},EO;var a3=P(()=>{WQ();QW();RJ();BW();Cz();$O=m(XZ(),1),SO=$O.createContext({}),EO=jJ(function(q,z){[q,z]=fX(q,z,SO);let{hoverProps:_,isHovered:W}=xY({...q,isDisabled:q.disabled}),{isFocused:K,isFocusVisible:A,focusProps:L}=gQ({isTextInput:!0,autoFocus:q.autoFocus}),M=!!q["aria-invalid"]&&q["aria-invalid"]!=="false",I=yX({...q,values:{isHovered:W,isFocused:K,isFocusVisible:A,isDisabled:q.disabled||!1,isInvalid:M},defaultClassName:"react-aria-Input"});return $O.default.createElement(AX.input,{...CZ(jy(q),L,_),...I,ref:z,"data-focused":K||void 0,"data-disabled":q.disabled||void 0,"data-hovered":W||void 0,"data-focus-visible":A||void 0,"data-invalid":M||void 0})})});class mQ{constructor(Q){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=Q}get childNodes(){throw Error("childNodes is not supported")}clone(){let Q=new this.constructor(this.key);return Q.value=this.value,Q.level=this.level,Q.hasChildNodes=this.hasChildNodes,Q.rendered=this.rendered,Q.textValue=this.textValue,Q["aria-label"]=this["aria-label"],Q.index=this.index,Q.parentKey=this.parentKey,Q.prevKey=this.prevKey,Q.nextKey=this.nextKey,Q.firstChildKey=this.firstChildKey,Q.lastChildKey=this.lastChildKey,Q.props=this.props,Q.render=this.render,Q.colSpan=this.colSpan,Q.colIndex=this.colIndex,Q}filter(Q,q,z){let _=this.clone();return q.addDescendants(_,Q),_}}function Cy(Q,q,z,_){if(z==null)return[null,null];let W=null,K=null,A=Q.getItem(z);while(A!=null){let L=A.filter(Q,q,_);if(L!=null){if(L.nextKey=null,K)L.prevKey=K.key,K.nextKey=L.key;if(W==null)W=L;q.addNode(L),K=L}A=A.nextKey!=null?Q.getItem(A.nextKey):null}if(K&&K.type==="separator"){let L=K.prevKey;if(q.removeNode(K.key),L!=null)K=q.getItem(L),K.nextKey=null;else K=null}return[W?.key??null,K?.key??null]}var kO,GV,xO,NW,yO;var o3=P(()=>{kO=class kO extends mQ{filter(Q,q,z){let[_,W]=Cy(Q,q,this.firstChildKey,z),K=this.clone();return K.firstChildKey=_,K.lastChildKey=W,K}};GV=class GV extends mQ{static{this.type="header"}};xO=class xO extends mQ{static{this.type="loader"}};NW=class NW extends kO{static{this.type="item"}filter(Q,q,z){if(z(this.textValue,this)){let _=this.clone();return q.addDescendants(_,Q),_}return null}};yO=class yO extends kO{static{this.type="section"}filter(Q,q,z){let _=super.filter(Q,q,z);if(_){if(_.lastChildKey!==null){let W=Q.getItem(_.lastChildKey);if(W&&W.type!=="header")return _}}return null}}});function dK(Q){let{children:q,items:z,idScope:_,addIdAndValue:W,dependencies:K=[]}=Q,A=IW.useMemo(()=>typeof q==="function"?q.toString():void 0,[q]),L=IW.useMemo(()=>new WeakMap,[...K,A]);return IW.useMemo(()=>{if(z&&typeof q==="function"){let M=[];for(let I of z){let N=Py(I)?I:null,O=N?L.get(N):null;if(!O){O=q(I);let R=O.props.id??I?.key??I?.id;if(_!=null&&O.props.id==null&&R!=null)R=_+":"+R;let j=R??M.length;if(O=IW.cloneElement(O,W?{key:j,id:R,value:I}:{key:j}),N)L.set(N,O)}M.push(O)}return M}else if(typeof q!=="function")return q},[q,z,L,_,W])}function Py(Q){switch(typeof Q){case"object":return Q!=null;case"function":case"symbol":return!0;default:return!1}}var IW;var r3=P(()=>{IW=m(XZ(),1)});var t3=nq((Dy)=>{var fQ=m(XZ());(function(){function Q(R,j){return R===j&&(R!==0||1/R===1/j)||R!==R&&j!==j}function q(R,j){I||fQ.startTransition===void 0||(I=!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 y=j();if(!N){var f=j();W(y,f)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),N=!0)}f=K({inst:{value:y,getSnapshot:j}});var b=f[0].inst,a=f[1];return L(function(){b.value=y,b.getSnapshot=j,z(b)&&a({inst:b})},[R,y,j]),A(function(){return z(b)&&a({inst:b}),R(function(){z(b)&&a({inst:b})})},[R]),M(y),y}function z(R){var j=R.getSnapshot;R=R.value;try{var y=j();return!W(R,y)}catch(f){return!0}}function _(R,j){return j()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var W=typeof Object.is==="function"?Object.is:Q,K=fQ.useState,A=fQ.useEffect,L=fQ.useLayoutEffect,M=fQ.useDebugValue,I=!1,N=!1,O=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_:q;Dy.useSyncExternalStore=fQ.useSyncExternalStore!==void 0?fQ.useSyncExternalStore:O,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});function Sy(Q,q,z){let _=rY(),W=_X.useRef(_);W.current=_;let K=_X.useCallback(()=>{return W.current?z():q()},[q,z]);return _V.useSyncExternalStore(Q,K)}function Ey(Q){return class extends mQ{static{this.type=Q}}}function ky(Q,q,z,_,W,K){if(typeof Q==="string")Q=Ey(Q);let A=_X.useCallback((M)=>{M?.setProps(q,z,Q,_,K)},[q,z,_,K,Q]),L=_X.useContext(Z6);if(L){let M=L.ownerDocument.nodesByProps.get(q);if(!M)M=L.ownerDocument.createElement(Q.type),M.setProps(q,z,Q,_,K),L.appendChild(M),L.ownerDocument.updateCollection(),L.ownerDocument.nodesByProps.set(q,M);return W?_X.default.createElement(Z6.Provider,{value:M},W):null}return _X.default.createElement(Q.type,{ref:A},W)}function Bq(Q,q){let z=({node:W})=>q(W.props,W.props.ref,W),_=_X.forwardRef((W,K)=>{let A=_X.useContext(NO);if(!_X.useContext(WV)){if(q.length>=3)throw Error(q.name+" cannot be rendered outside a collection.");return q(W,K)}return ky(Q,W,K,"children"in W?W.children:null,null,(M)=>_X.default.createElement(NO.Provider,{value:A},_X.default.createElement(z,{node:M})))});return _.displayName=q.name,_}function xy(Q){return dK({...Q,addIdAndValue:!0})}function X6(Q){let q=_X.useContext(HV),z=(q?.dependencies||[]).concat(Q.dependencies),_=Q.idScope??q?.idScope,W=xy({...Q,idScope:_,dependencies:z});if(_X.useContext(e3))W=_X.default.createElement(yy,null,W);return q=_X.useMemo(()=>({dependencies:z,idScope:_}),[_,...z]),_X.default.createElement(HV.Provider,{value:q},W)}function yy({children:Q}){let q=_X.useContext(e3),z=_X.useMemo(()=>_X.default.createElement(e3.Provider,{value:null},_X.default.createElement(WV.Provider,{value:!0},Q)),[Q]);return rY()?_X.default.createElement(Z6.Provider,{value:q},z):zV.createPortal(z,q)}var zV,_X,_V,WV,e3,Mc,Z6,HV;var Y6=P(()=>{o3();r3();_W();ZH();zV=m(sq(),1),_X=m(XZ(),1),_V=m(t3(),1),WV=_X.createContext(!1),e3=_X.createContext(null);Mc=typeof _X.default.useSyncExternalStore==="function"?_X.default.useSyncExternalStore:Sy,Z6=_X.createContext(null);HV=_X.createContext(null)});var cK=P(()=>{Y6()});var KV=P(()=>{r3()});function BV(Q,q,z){return dK({items:q?Q.getChildren(q.key):Q,dependencies:[z],children(_){if(_.type==="content")return KQ.default.createElement(KQ.default.Fragment,null);let W=_.render(_);if(!z||_.type!=="item")return W;return KQ.default.createElement(KQ.default.Fragment,null,z({type:"item",key:_.key,dropPosition:"before"}),W,vy(Q,_,z))}})}function vy(Q,q,z){let _=q.key,W=Q.getKeyAfter(_),K=W!=null?Q.getItem(W):null;while(K!=null&&K.type!=="item")W=Q.getKeyAfter(K.key),K=W!=null?Q.getItem(W):null;let A=q.nextKey!=null?Q.getItem(q.nextKey):null;while(A!=null&&A.type!=="item")A=A.nextKey!=null?Q.getItem(A.nextKey):null;let L=[];if(A==null){let M=q;while(M?.type==="item"&&(!K||M.parentKey!==K.parentKey&&K.level<M.level)){let I=z({type:"item",key:M.key,dropPosition:"after"});if(KQ.isValidElement(I))L.push(KQ.cloneElement(I,{key:`${M.key}-after`}));M=M.parentKey!=null?Q.getItem(M.parentKey):null}}return L}function q6(Q){return KQ.useMemo(()=>Q!=null?new Set([Q]):null,[Q])}var KQ,J6,pK;var G6=P(()=>{KV();KQ=m(XZ(),1),J6={CollectionRoot({collection:Q,renderDropIndicator:q}){return BV(Q,null,q)},CollectionBranch({collection:Q,parent:q,renderDropIndicator:z}){return BV(Q,q,z)}};pK=KQ.createContext(J6)});var $z,LV;var AV=P(()=>{$z=m(XZ(),1),LV=$z.createContext({})});var lK=P(()=>{o3()});var OV="react-aria-clear-focus",MV="react-aria-focus";var FV=()=>{};function vO(Q){let q=by(cZ(Q));if(q!==Q){if(q)hy(q,Q);if(Q)H6(Q,q)}}function hy(Q,q){Q.dispatchEvent(new FocusEvent("blur",{relatedTarget:q})),Q.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:q}))}function H6(Q,q){Q.dispatchEvent(new FocusEvent("focus",{relatedTarget:q})),Q.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:q}))}function by(Q){let q=BX(Q),z=q?.getAttribute("aria-activedescendant");if(z)return Q.getElementById(z)||q;return q}var z6=P(()=>{dX();EY()});function BH(Q){if(CJ())return Q.metaKey;return Q.ctrlKey}function Sz(Q){return Q instanceof HTMLInputElement&&!gy.has(Q.type)||Q instanceof HTMLTextAreaElement||Q instanceof HTMLElement&&Q.isContentEditable}var gy;var iK=P(()=>{qJ();gy=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function Ez(Q,q,z,_){let W=kY(z),K=z==null;NV.useEffect(()=>{if(K||!Q.current)return;let A=Q.current;return A.addEventListener(q,W,_),()=>{A.removeEventListener(q,W,_)}},[Q,q,_,K])}var NV;var _6=P(()=>{Rz();NV=m(XZ(),1)});class TW{constructor(Q,q="en-US"){this.strings=Object.fromEntries(Object.entries(Q).filter(([,z])=>z)),this.defaultLocale=q}getStringForLocale(Q,q){let _=this.getStringsForLocale(q)[Q];if(!_)throw Error(`Could not find intl message ${Q} in ${q} locale`);return _}getStringsForLocale(Q){let q=this.strings[Q];if(!q)q=uy(Q,this.strings,this.defaultLocale),this.strings[Q]=q;return q}static getGlobalDictionaryForPackage(Q){if(typeof window>"u")return null;let q=window[my];if(hO===void 0){let _=window[fy];if(!_)return null;hO={};for(let W in _)hO[W]=new TW({[q]:_[W]},q)}let z=hO?.[Q];if(!z)throw Error(`Strings for package "${Q}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return z}}function uy(Q,q,z="en-US"){if(q[Q])return q[Q];let _=dy(Q);if(q[_])return q[_];for(let W in q)if(W.startsWith(_+"-"))return q[W];return q[z]}function dy(Q){if(Intl.Locale)return new Intl.Locale(Q).language;return Q.split("-")[0]}var my,fy,hO=void 0;var IV=P(()=>{my=Symbol.for("react-aria.i18n.locale"),fy=Symbol.for("react-aria.i18n.strings")});class bO{constructor(Q,q){this.locale=Q,this.strings=q}format(Q,q){let z=this.strings.getStringForLocale(Q,this.locale);return typeof z==="function"?z(q,this):z}plural(Q,q,z="cardinal"){let _=q["="+Q];if(_)return typeof _==="function"?_():_;let W=this.locale+":"+z,K=TV.get(W);if(!K)K=new Intl.PluralRules(this.locale,{type:z}),TV.set(W,K);let A=K.select(Q);return _=q[A]||q.other,typeof _==="function"?_():_}number(Q){let q=wV.get(this.locale);if(!q)q=new Intl.NumberFormat(this.locale),wV.set(this.locale,q);return q.format(Q)}select(Q,q){let z=Q[q]||Q.other;return typeof z==="function"?z():z}}var TV,wV;var VV=P(()=>{TV=new Map,wV=new Map});var RV=P(()=>{IV();VV()});function cy(Q){let q=jV.get(Q);if(!q)q=new TW(Q),jV.set(Q,q);return q}function py(Q,q){return q&&TW.getGlobalDictionaryForPackage(q)||cy(Q)}function PV(Q,q){let{locale:z}=JW(),_=py(Q,q);return CV.useMemo(()=>new bO(z,_),[z,_])}var CV,jV;var DV=P(()=>{eA();RV();CV=m(XZ(),1),jV=new WeakMap});var gO,$V;var SV=P(()=>{gO=m(XZ(),1),$V=gO.createContext(null)});function EV(Q){let q=JG.useRef({});return JG.default.createElement(iy.Provider,{value:q},Q.children)}var ly,JG,iy;var kV=P(()=>{ly=m(sq(),1),JG=m(XZ(),1),iy=JG.createContext(null)});var mO,wW;var fO=P(()=>{mO=m(XZ(),1),wW=mO.createContext({isSelected:!1})});function W6(Q){let q=HX(Q,{labelable:!0}),z;if(Q.orientation==="vertical")z="vertical";if(Q.elementType!=="hr")return{separatorProps:{...q,role:"separator","aria-orientation":z}};return{separatorProps:q}}var xV=P(()=>{YH()});var yV=P(()=>{xV()});var uO,vV,hV,U6;var bV=P(()=>{WQ();yV();lK();cK();Uq();RJ();uO=m(XZ(),1),vV=uO.createContext({});hV=class hV extends mQ{static{this.type="separator"}filter(Q,q){let z=q.getItem(this.prevKey);if(z&&z.type!=="separator"){let _=this.clone();return q.addDescendants(_,Q),_}return null}};U6=Bq(hV,function(q,z){[q,z]=fX(q,z,vV);let{elementType:_,orientation:W,style:K,className:A,slot:L,...M}=q,I=_||"hr";if(I==="hr"&&W==="vertical")I="div";let N=AX[I],{separatorProps:O}=W6({...M,elementType:_,orientation:W}),R=HX(q,{global:!0});return uO.default.createElement(N,{render:q.render,...CZ(R,O),style:K,className:A??"react-aria-Separator",ref:z,slot:L||void 0})})});function ny(Q){if(typeof Q==="string")return Q.replace(/\s*/g,"");return""+Q}function gV(Q,q){let z=K6.get(Q);if(!z)throw Error("Unknown list");return`${z.id}-option-${ny(q)}`}var K6;var mV=P(()=>{K6=new WeakMap});class fV{constructor(Q,q,z,_){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=(K)=>{if(K.nodeType===Node.ELEMENT_NODE){let A=K.shadowRoot;if(A){let L=this._doc.createTreeWalker(A,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(L),NodeFilter.FILTER_ACCEPT}else if(typeof this.filter==="function")return this.filter(K);else if(this.filter?.acceptNode)return this.filter.acceptNode(K);else if(this.filter===null)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=Q,this.root=q,this.filter=_??null,this.whatToShow=z??NodeFilter.SHOW_ALL,this._currentNode=q,this._walkerStack.unshift(Q.createTreeWalker(q,z,this._acceptNode));let W=q.shadowRoot;if(W){let K=this._doc.createTreeWalker(W,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(K)}}get currentNode(){return this._currentNode}set currentNode(Q){if(!XX(this.root,Q))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let q=[],z=Q,_=Q;this._currentNode=Q;while(z&&z!==this.root)if(z.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let K=z,A=this._doc.createTreeWalker(K,this.whatToShow,{acceptNode:this._acceptNode});q.push(A),A.currentNode=_,this._currentSetFor.add(A),z=_=K.host}else z=z.parentNode;let W=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});q.push(W),W.currentNode=_,this._currentSetFor.add(W),this._walkerStack=q}get doc(){return this._doc}firstChild(){let Q=this.currentNode,q=this.nextNode();if(!XX(Q,q))return this.currentNode=Q,null;if(q)this.currentNode=q;return q}lastChild(){let q=this._walkerStack[0].lastChild();if(q)this.currentNode=q;return q}nextNode(){let Q=this._walkerStack[0].nextNode();if(Q){if(Q.shadowRoot){let z;if(typeof this.filter==="function")z=this.filter(Q);else if(this.filter?.acceptNode)z=this.filter.acceptNode(Q);if(z===NodeFilter.FILTER_ACCEPT)return this.currentNode=Q,Q;let _=this.nextNode();if(_)this.currentNode=_;return _}if(Q)this.currentNode=Q;return Q}else if(this._walkerStack.length>1){this._walkerStack.shift();let q=this.nextNode();if(q)this.currentNode=q;return q}else return null}previousNode(){let Q=this._walkerStack[0];if(Q.currentNode===Q.root){if(this._currentSetFor.has(Q))if(this._currentSetFor.delete(Q),this._walkerStack.length>1){this._walkerStack.shift();let z=this.previousNode();if(z)this.currentNode=z;return z}else return null;return null}let q=Q.previousNode();if(q){if(q.shadowRoot){let _;if(typeof this.filter==="function")_=this.filter(q);else if(this.filter?.acceptNode)_=this.filter.acceptNode(q);if(_===NodeFilter.FILTER_ACCEPT){if(q)this.currentNode=q;return q}let W=this.lastChild();if(W)this.currentNode=W;return W}if(q)this.currentNode=q;return q}else if(this._walkerStack.length>1){this._walkerStack.shift();let z=this.previousNode();if(z)this.currentNode=z;return z}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function dO(Q,q,z,_){if(bQ())return new fV(Q,q,z,_);return Q.createTreeWalker(q,z,_)}var B6=P(()=>{dX();QO()});function pV(Q){let{children:q,contain:z,restoreFocus:_,autoFocus:W}=Q,K=iX.useRef(null),A=iX.useRef(null),L=iX.useRef([]),{parentNode:M}=iX.useContext(uV)||{},I=iX.useMemo(()=>new pO({scopeRef:L}),[L]);dZ(()=>{let R=M||GY.root;if(GY.getTreeNode(R.scopeRef)&&EX&&!cO(EX,R.scopeRef)){let j=GY.getTreeNode(EX);if(j)R=j}R.addChild(I),GY.addNode(I)},[I,M]),dZ(()=>{let R=GY.getTreeNode(L);if(R)R.contain=!!z},[z]),dZ(()=>{let R=K.current?.nextSibling,j=[],y=(f)=>f.stopPropagation();while(R&&R!==A.current)j.push(R),R.addEventListener(L6,y),R=R.nextSibling;return L.current=j,()=>{for(let f of j)f.removeEventListener(L6,y)}},[q]),ey(L,_,z),ry(L,z),Zv(L,_,z),ty(L,W),iX.useEffect(()=>{let R=BX(cZ(L.current?L.current[0]:void 0)),j=null;if(zJ(R,L.current)){for(let y of GY.traverse())if(y.scopeRef&&zJ(R,y.scopeRef.current))j=y;if(j===GY.getTreeNode(L))EX=j.scopeRef}},[L]),dZ(()=>{return()=>{let R=GY.getTreeNode(L)?.parent?.scopeRef??null;if((L===EX||cO(L,EX))&&(!R||GY.getTreeNode(R)))EX=R;GY.removeTreeNode(L)}},[L]);let N=iX.useMemo(()=>sy(L),[]),O=iX.useMemo(()=>({focusManager:N,parentNode:I}),[I,N]);return iX.default.createElement(uV.Provider,{value:O},iX.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:K}),q,iX.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:A}))}function sy(Q){return{focusNext(q={}){let z=Q.current,{from:_,tabbable:W,wrap:K,accept:A}=q,L=_||BX(cZ(z[0]??void 0)),M=z[0].previousElementSibling,I=kz(z),N=HJ(I,{tabbable:W,accept:A},z);N.currentNode=zJ(L,z)?L:M;let O=N.nextNode();if(!O&&K)N.currentNode=M,O=N.nextNode();if(O)qG(O,!0);return O},focusPrevious(q={}){let z=Q.current,{from:_,tabbable:W,wrap:K,accept:A}=q,L=_||BX(cZ(z[0]??void 0)),M=z[z.length-1].nextElementSibling,I=kz(z),N=HJ(I,{tabbable:W,accept:A},z);N.currentNode=zJ(L,z)?L:M;let O=N.previousNode();if(!O&&K)N.currentNode=M,O=N.previousNode();if(O)qG(O,!0);return O},focusFirst(q={}){let z=Q.current,{tabbable:_,accept:W}=q,K=kz(z),A=HJ(K,{tabbable:_,accept:W},z);A.currentNode=z[0].previousElementSibling;let L=A.nextNode();if(L)qG(L,!0);return L},focusLast(q={}){let z=Q.current,{tabbable:_,accept:W}=q,K=kz(z),A=HJ(K,{tabbable:_,accept:W},z);A.currentNode=z[z.length-1].nextElementSibling;let L=A.previousNode();if(L)qG(L,!0);return L}}}function kz(Q){return Q[0].parentElement}function nK(Q){let q=GY.getTreeNode(EX);while(q&&q.scopeRef!==Q){if(q.contain)return!1;q=q.parent}return!0}function ay(Q){if(!Q.form)return Array.from(cZ(Q).querySelectorAll(`input[type="radio"][name="${CSS.escape(Q.name)}"]`)).filter((_)=>!_.form);let q=Q.form.elements.namedItem(Q.name),z=uX(Q);if(q instanceof z.RadioNodeList)return Array.from(q).filter((_)=>_ instanceof z.HTMLInputElement);if(q instanceof z.HTMLInputElement)return[q];return[]}function oy(Q){if(Q.checked)return!0;let q=ay(Q);return q.length>0&&!q.some((z)=>z.checked)}function ry(Q,q){let z=iX.useRef(void 0),_=iX.useRef(void 0);dZ(()=>{let W=Q.current;if(!q){if(_.current)cancelAnimationFrame(_.current),_.current=void 0;return}let K=cZ(W?W[0]:void 0),A=(I)=>{if(I.key!=="Tab"||I.altKey||I.ctrlKey||I.metaKey||!nK(Q)||I.isComposing)return;let N=BX(K),O=Q.current;if(!O||!zJ(N,O))return;let R=kz(O),j=HJ(R,{tabbable:!0},O);if(!N)return;j.currentNode=N;let y=I.shiftKey?j.previousNode():j.nextNode();if(!y)j.currentNode=I.shiftKey?O[O.length-1].nextElementSibling:O[0].previousElementSibling,y=I.shiftKey?j.previousNode():j.nextNode();if(I.preventDefault(),y){if(qG(y,!0),y instanceof uX(y).HTMLInputElement)y.select()}},L=(I)=>{if((!EX||cO(EX,Q))&&zJ(LZ(I),Q.current))EX=Q,z.current=LZ(I);else if(nK(Q)&&!LH(LZ(I),Q)){if(z.current)z.current.focus();else if(EX&&EX.current)A6(EX.current)}else if(nK(Q))z.current=LZ(I)},M=(I)=>{if(_.current)cancelAnimationFrame(_.current);_.current=requestAnimationFrame(()=>{let N=Tz(),O=(N==="virtual"||N===null)&&SK()&&T3(),R=BX(K);if(!O&&R&&nK(Q)&&!LH(R,Q)){EX=Q;let j=LZ(I);if(j&&j.isConnected)z.current=j,z.current?.focus();else if(EX.current)A6(EX.current)}})};return K.addEventListener("keydown",A,!1),K.addEventListener("focusin",L,!1),W?.forEach((I)=>I.addEventListener("focusin",L,!1)),W?.forEach((I)=>I.addEventListener("focusout",M,!1)),()=>{K.removeEventListener("keydown",A,!1),K.removeEventListener("focusin",L,!1),W?.forEach((I)=>I.removeEventListener("focusin",L,!1)),W?.forEach((I)=>I.removeEventListener("focusout",M,!1))}},[Q,q]),dZ(()=>{return()=>{if(_.current)cancelAnimationFrame(_.current)}},[_])}function lV(Q){return LH(Q)}function zJ(Q,q){if(!Q)return!1;if(!q)return!1;return q.some((z)=>XX(z,Q))}function LH(Q,q=null){if(Q instanceof Element&&Q.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:z}of GY.traverse(GY.getTreeNode(q)))if(z&&zJ(Q,z.current))return!0;return!1}function iV(Q){return LH(Q,EX)}function cO(Q,q){let z=GY.getTreeNode(q)?.parent;while(z){if(z.scopeRef===Q)return!0;z=z.parent}return!1}function qG(Q,q=!1){if(Q!=null&&!q)try{eq(Q)}catch{}else if(Q!=null)try{Q.focus()}catch{}}function nV(Q,q=!0){let z=Q[0].previousElementSibling,_=kz(Q),W=HJ(_,{tabbable:q},Q);W.currentNode=z;let K=W.nextNode();if(q&&!K)_=kz(Q),W=HJ(_,{tabbable:!1},Q),W.currentNode=z,K=W.nextNode();return K}function A6(Q,q=!0){qG(nV(Q,q))}function ty(Q,q){let z=iX.default.useRef(q);iX.useEffect(()=>{if(z.current){EX=Q;let _=cZ(Q.current?Q.current[0]:void 0);if(!zJ(BX(_),EX.current)&&Q.current)A6(Q.current)}z.current=!1},[Q])}function ey(Q,q,z){dZ(()=>{if(q||z)return;let _=Q.current,W=cZ(_?_[0]:void 0),K=(A)=>{let L=LZ(A);if(zJ(L,Q.current))EX=Q;else if(!lV(L))EX=null};return W.addEventListener("focusin",K,!1),_?.forEach((A)=>A.addEventListener("focusin",K,!1)),()=>{W.removeEventListener("focusin",K,!1),_?.forEach((A)=>A.removeEventListener("focusin",K,!1))}},[Q,q,z])}function dV(Q){let q=GY.getTreeNode(EX);while(q&&q.scopeRef!==Q){if(q.nodeToRestore)return!1;q=q.parent}return q?.scopeRef===Q}function Zv(Q,q,z){let _=iX.useRef(typeof document<"u"?BX(cZ(Q.current?Q.current[0]:void 0)):null);dZ(()=>{let W=Q.current,K=cZ(W?W[0]:void 0);if(!q||z)return;let A=()=>{if((!EX||cO(EX,Q))&&zJ(BX(K),Q.current))EX=Q};return K.addEventListener("focusin",A,!1),W?.forEach((L)=>L.addEventListener("focusin",A,!1)),()=>{K.removeEventListener("focusin",A,!1),W?.forEach((L)=>L.removeEventListener("focusin",A,!1))}},[Q,z]),dZ(()=>{let W=cZ(Q.current?Q.current[0]:void 0);if(!q)return;let K=(A)=>{if(A.key!=="Tab"||A.altKey||A.ctrlKey||A.metaKey||!nK(Q)||A.isComposing)return;let L=W.activeElement;if(!LH(L,Q)||!dV(Q))return;let M=GY.getTreeNode(Q);if(!M)return;let I=M.nodeToRestore,N=HJ(W.body,{tabbable:!0});N.currentNode=L;let O=A.shiftKey?N.previousNode():N.nextNode();if(!I||!I.isConnected||I===W.body)I=void 0,M.nodeToRestore=void 0;if((!O||!LH(O,Q))&&I){N.currentNode=I;do O=A.shiftKey?N.previousNode():N.nextNode();while(LH(O,Q));if(A.preventDefault(),A.stopPropagation(),O)qG(O,!0);else if(!lV(I))L.blur();else qG(I,!0)}};if(!z)W.addEventListener("keydown",K,!0);return()=>{if(!z)W.removeEventListener("keydown",K,!0)}},[Q,q,z]),dZ(()=>{let W=cZ(Q.current?Q.current[0]:void 0);if(!q)return;let K=GY.getTreeNode(Q);if(!K)return;return K.nodeToRestore=_.current??void 0,()=>{let A=GY.getTreeNode(Q);if(!A)return;let L=A.nodeToRestore,M=BX(W);if(q&&L&&(M&&LH(M,Q)||M===W.body&&dV(Q))){let I=GY.clone();requestAnimationFrame(()=>{if(W.activeElement===W.body){let N=I.getTreeNode(Q);while(N){if(N.nodeToRestore&&N.nodeToRestore.isConnected){cV(N.nodeToRestore);return}N=N.parent}N=I.getTreeNode(Q);while(N){if(N.scopeRef&&N.scopeRef.current&&GY.getTreeNode(N.scopeRef)){let O=nV(N.scopeRef.current,!0);cV(O);return}N=N.parent}}})}}},[Q,q])}function cV(Q){if(Q.dispatchEvent(new CustomEvent(L6,{bubbles:!0,cancelable:!0})))qG(Q)}function HJ(Q,q,z){let _=q?.tabbable?GO:qO,W=Q?.nodeType===Node.ELEMENT_NODE?Q:null,K=cZ(W),A=dO(K,Q||K,NodeFilter.SHOW_ELEMENT,{acceptNode(L){if(XX(q?.from,L))return NodeFilter.FILTER_REJECT;if(q?.tabbable&&L.tagName==="INPUT"&&L.getAttribute("type")==="radio"){if(!oy(L))return NodeFilter.FILTER_REJECT;if(A.currentNode.tagName==="INPUT"&&A.currentNode.type==="radio"&&A.currentNode.name===L.name)return NodeFilter.FILTER_REJECT}if(_(L)&&(!z||zJ(L,z))&&(!q?.accept||q.accept(L)))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}});if(q?.from)A.currentNode=q.from;return A}class O6{constructor(){this.fastMap=new Map,this.root=new pO({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(Q){return this.fastMap.get(Q)}addTreeNode(Q,q,z){let _=this.fastMap.get(q??null);if(!_)return;let W=new pO({scopeRef:Q});if(_.addChild(W),W.parent=_,this.fastMap.set(Q,W),z)W.nodeToRestore=z}addNode(Q){this.fastMap.set(Q.scopeRef,Q)}removeTreeNode(Q){if(Q===null)return;let q=this.fastMap.get(Q);if(!q)return;let z=q.parent;for(let W of this.traverse())if(W!==q&&q.nodeToRestore&&W.nodeToRestore&&q.scopeRef&&q.scopeRef.current&&zJ(W.nodeToRestore,q.scopeRef.current))W.nodeToRestore=q.nodeToRestore;let _=q.children;if(z){if(z.removeChild(q),_.size>0)_.forEach((W)=>z&&z.addChild(W))}this.fastMap.delete(q.scopeRef)}*traverse(Q=this.root){if(Q.scopeRef!=null)yield Q;if(Q.children.size>0)for(let q of Q.children)yield*this.traverse(q)}clone(){let Q=new O6;for(let q of this.traverse())Q.addTreeNode(q.scopeRef,q.parent?.scopeRef??null,q.nodeToRestore);return Q}}class pO{constructor(Q){this.children=new Set,this.contain=!1,this.scopeRef=Q.scopeRef}addChild(Q){this.children.add(Q),Q.parent=this}removeChild(Q){this.children.delete(Q),Q.parent=void 0}}var iX,uV,L6="react-aria-focus-scope-restore",EX=null,GY;var sK=P(()=>{B6();yK();dX();qH();EY();qJ();HO();$Y();iX=m(XZ(),1),uV=iX.default.createContext(null);GY=new O6});function aK(Q){return Ow()?Q.altKey:Q.ctrlKey}function lO(Q,q){let z=`[data-key="${CSS.escape(String(q))}"]`,_=Q.current?.dataset.collection;if(_)z=`[data-collection="${CSS.escape(_)}"]${z}`;return Q.current?.querySelector(z)}function aV(Q){let q=aX();return sV.set(Q,q),q}function oV(Q){return sV.get(Q)}var sV;var M6=P(()=>{qJ();JJ();sV=new WeakMap});function Lq(Q,q){if(!Q)return!1;let z=window.getComputedStyle(Q),_=document.scrollingElement||document.documentElement,W=/(auto|scroll)/.test(z.overflow+z.overflowX+z.overflowY);if(Q===_&&z.overflow!=="hidden")W=!0;if(W&&q)W=Q.scrollHeight!==Q.clientHeight||Q.scrollWidth!==Q.clientWidth;return W}var oK=()=>{};function iO(Q,q){let z=[],_=document.scrollingElement||document.documentElement;while(Q){if(Lq(Q,q))z.push(Q);if(Q===_)break;Q=Q.parentElement}return z}var rV=P(()=>{oK()});function rK(Q,q,z={}){let{block:_="nearest",inline:W="nearest"}=z;if(Q===q)return;let{scrollTop:K,scrollLeft:A}=Q,L=q.getBoundingClientRect(),M=Q.getBoundingClientRect(),I=window.getComputedStyle(q),N=window.getComputedStyle(Q),O=document.scrollingElement||document.documentElement,R=Q===O,j=Q===O?0:M.top,y=Q===O?Q.clientHeight:M.bottom,f=Q===O?0:M.left,b=Q===O?Q.clientWidth:M.right,a=parseFloat(I.scrollMarginTop)||0,r=parseFloat(I.scrollMarginBottom)||0,JZ=parseFloat(I.scrollMarginLeft)||0,ZZ=parseFloat(I.scrollMarginRight)||0,UZ=parseFloat(N.scrollPaddingTop)||0,xZ=parseFloat(N.scrollPaddingBottom)||0,qZ=parseFloat(N.scrollPaddingLeft)||0,l=parseFloat(N.scrollPaddingRight)||0,MZ=parseFloat(N.borderTopWidth)||0,n=parseFloat(N.borderBottomWidth)||0,wZ=parseFloat(N.borderLeftWidth)||0,KZ=parseFloat(N.borderRightWidth)||0,zZ=L.top-a,h=L.bottom+r,u=L.left-JZ,E=L.right+ZZ,g=Q===O?0:wZ+KZ,e=Q===O?0:MZ+n,p=Q===O?0:Q.offsetWidth-Q.clientWidth-g,w=Q===O?0:Q.offsetHeight-Q.clientHeight-e,o=j+(R?0:MZ)+UZ,OZ=y-(R?0:n)-xZ-w,VZ=f+(R?0:wZ)+qZ,vZ=b-(R?0:KZ)-l;if(N.direction==="rtl"&&!PJ())VZ+=p;else vZ-=p;let JX=zZ<o||h>OZ,IZ=u<VZ||E>vZ;if(JX&&_==="start")K+=zZ-o;else if(JX&&_==="center")K+=(zZ+h)/2-(o+OZ)/2;else if(JX&&_==="end")K+=h-OZ;else if(JX&&_==="nearest"){let YX=zZ-o,TX=h-OZ;K+=Math.abs(YX)<=Math.abs(TX)?YX:TX}if(IZ&&W==="start")A+=u-VZ;else if(IZ&&W==="center")A+=(u+E)/2-(VZ+vZ)/2;else if(IZ&&W==="end")A+=E-vZ;else if(IZ&&W==="nearest"){let YX=u-VZ,TX=E-vZ;A+=Math.abs(YX)<=Math.abs(TX)?YX:TX}Q.scrollTo({left:A,top:K})}function F6(Q,q={}){let{containingElement:z}=q;if(Q&&Q.isConnected){let _=document.scrollingElement||document.documentElement;if(window.getComputedStyle(_).overflow!=="hidden"){let{left:K,top:A}=Q.getBoundingClientRect();Q?.scrollIntoView?.({block:"nearest"});let{left:L,top:M}=Q.getBoundingClientRect();if(Math.abs(K-L)>1||Math.abs(A-M)>1)z?.scrollIntoView?.({block:"center",inline:"center"}),Q.scrollIntoView?.({block:"nearest"})}else{let{left:K,top:A}=Q.getBoundingClientRect(),L=iO(Q,!0);for(let N of L)rK(N,Q);let{left:M,top:I}=Q.getBoundingClientRect();if(Math.abs(K-M)>1||Math.abs(A-I)>1){L=z?iO(z,!0):[];for(let N of L)rK(N,z,{block:"center",inline:"center"});for(let N of iO(Q,!0))rK(N,Q)}}}}var tV=P(()=>{rV();qJ()});function ZR(Q){let{keyboardDelegate:q,selectionManager:z,onTypeSelect:_}=Q,W=eV.useRef({search:"",timeout:void 0}).current,K=(A)=>{let L=Yv(A.key);if(!L||A.ctrlKey||A.metaKey||!XX(A.currentTarget,LZ(A))||W.search.length===0&&L===" ")return;if(L===" "&&W.search.trim().length>0){if(A.preventDefault(),!("continuePropagation"in A))A.stopPropagation()}if(W.search+=L,q.getKeyForSearch!=null){let M=q.getKeyForSearch(W.search,z.focusedKey);if(M==null)M=q.getKeyForSearch(W.search);if(M!=null){if(z.setFocusedKey(M),_)_(M)}}clearTimeout(W.timeout),W.timeout=setTimeout(()=>{W.search=""},Xv)};return{typeSelectProps:{onKeyDownCapture:q.getKeyForSearch?K:void 0}}}function Yv(Q){if(Q.length===1||!/^[A-Z]/i.test(Q))return Q;return""}var eV,Xv=1000;var XR=P(()=>{dX();eV=m(XZ(),1)});function I6(Q,q){let z=N6.useRef(!0),_=N6.useRef(null);dZ(()=>{return z.current=!0,()=>{z.current=!1}},[]),dZ(()=>{if(z.current)z.current=!1;else if(!_.current||q.some((W,K)=>!Object.is(W,_[K])))Q();_.current=q},q)}var N6;var YR=P(()=>{$Y();N6=m(XZ(),1)});function JR(Q){let{selectionManager:q,keyboardDelegate:z,ref:_,autoFocus:W=!1,shouldFocusWrap:K=!1,disallowEmptySelection:A=!1,disallowSelectAll:L=!1,escapeKeyBehavior:M="clearSelection",selectOnFocus:I=q.selectionBehavior==="replace",disallowTypeAhead:N=!1,shouldUseVirtualFocus:O,allowsTabNavigation:R=!1,scrollRef:j=_,linkBehavior:y="action"}=Q,{direction:f}=JW(),b=Fz(),a=(h)=>{if(h.altKey&&h.key==="Tab")h.preventDefault();if(!_.current||!XX(_.current,LZ(h)))return;let u=(E,g)=>{if(E!=null){if(q.isLink(E)&&y==="selection"&&I&&!aK(h)){QR.flushSync(()=>{q.setFocusedKey(E,g)});let e=lO(_,E),p=q.getItemProps(E);if(e)b.open(e,h,p.href,p.routerOptions);return}if(q.setFocusedKey(E,g),q.isLink(E)&&y==="override")return;if(h.shiftKey&&q.selectionMode==="multiple")q.extendSelection(E);else if(I&&!aK(h))q.replaceSelection(E)}};switch(h.key){case"ArrowDown":if(z.getKeyBelow){let E=q.focusedKey!=null?z.getKeyBelow?.(q.focusedKey):z.getFirstKey?.();if(E==null&&K)E=z.getFirstKey?.(q.focusedKey);if(E!=null)h.preventDefault(),u(E)}break;case"ArrowUp":if(z.getKeyAbove){let E=q.focusedKey!=null?z.getKeyAbove?.(q.focusedKey):z.getLastKey?.();if(E==null&&K)E=z.getLastKey?.(q.focusedKey);if(E!=null)h.preventDefault(),u(E)}break;case"ArrowLeft":if(z.getKeyLeftOf){let E=q.focusedKey!=null?z.getKeyLeftOf?.(q.focusedKey):z.getFirstKey?.();if(E==null&&K)E=f==="rtl"?z.getFirstKey?.(q.focusedKey):z.getLastKey?.(q.focusedKey);if(E!=null)h.preventDefault(),u(E,f==="rtl"?"first":"last")}break;case"ArrowRight":if(z.getKeyRightOf){let E=q.focusedKey!=null?z.getKeyRightOf?.(q.focusedKey):z.getFirstKey?.();if(E==null&&K)E=f==="rtl"?z.getLastKey?.(q.focusedKey):z.getFirstKey?.(q.focusedKey);if(E!=null)h.preventDefault(),u(E,f==="rtl"?"last":"first")}break;case"Home":if(z.getFirstKey){if(q.focusedKey===null&&h.shiftKey)return;h.preventDefault();let E=z.getFirstKey(q.focusedKey,BH(h));if(q.setFocusedKey(E),E!=null){if(BH(h)&&h.shiftKey&&q.selectionMode==="multiple")q.extendSelection(E);else if(I)q.replaceSelection(E)}}break;case"End":if(z.getLastKey){if(q.focusedKey===null&&h.shiftKey)return;h.preventDefault();let E=z.getLastKey(q.focusedKey,BH(h));if(q.setFocusedKey(E),E!=null){if(BH(h)&&h.shiftKey&&q.selectionMode==="multiple")q.extendSelection(E);else if(I)q.replaceSelection(E)}}break;case"PageDown":if(z.getKeyPageBelow&&q.focusedKey!=null){let E=z.getKeyPageBelow(q.focusedKey);if(E!=null)h.preventDefault(),u(E)}break;case"PageUp":if(z.getKeyPageAbove&&q.focusedKey!=null){let E=z.getKeyPageAbove(q.focusedKey);if(E!=null)h.preventDefault(),u(E)}break;case"a":if(BH(h)&&q.selectionMode==="multiple"&&L!==!0)h.preventDefault(),q.selectAll();break;case"Escape":if(M==="clearSelection"&&!A&&q.selectedKeys.size!==0)h.stopPropagation(),h.preventDefault(),q.clearSelection();break;case"Tab":if(!R){if(h.shiftKey)_.current.focus();else{let E=HJ(_.current,{tabbable:!0}),g=void 0,e;do if(e=E.lastChild(),e)g=e;while(e);let p=BX();if(g&&(!M3(g)||p&&!GO(p)))tY(g)}break}}},r=$J.useRef({top:0,left:0});Ez(j,"scroll",()=>{r.current={top:j.current?.scrollTop??0,left:j.current?.scrollLeft??0}});let JZ=(h)=>{if(q.isFocused){if(!XX(h.currentTarget,LZ(h)))q.setFocused(!1);return}if(!XX(h.currentTarget,LZ(h)))return;if(q.setFocused(!0),q.focusedKey==null){let u=(g)=>{if(g!=null){if(q.setFocusedKey(g),I&&!q.isSelected(g))q.replaceSelection(g)}},E=h.relatedTarget;if(E&&h.currentTarget.compareDocumentPosition(E)&Node.DOCUMENT_POSITION_FOLLOWING)u(q.lastSelectedKey??z.getLastKey?.());else u(q.firstSelectedKey??z.getFirstKey?.())}else if(j.current)j.current.scrollTop=r.current.top,j.current.scrollLeft=r.current.left;if(q.focusedKey!=null&&j.current){let u=lO(_,q.focusedKey);if(u instanceof HTMLElement){if(!M3(u)&&!O)tY(u);if(Tz()==="keyboard")F6(u,{containingElement:_.current})}}},ZZ=(h)=>{if(!XX(h.currentTarget,h.relatedTarget))q.setFocused(!1)},UZ=$J.useRef(!1);Ez(_,MV,!O?void 0:(h)=>{let{detail:u}=h;if(h.stopPropagation(),q.setFocused(!0),u?.focusStrategy==="first")UZ.current=!0}),I6(()=>{if(UZ.current){let h=z.getFirstKey?.()??null;if(h==null){let u=BX();if(vO(_.current),H6(u,null),q.collection.size>0)UZ.current=!1}else q.setFocusedKey(h),UZ.current=!1}},[q.collection]),I6(()=>{if(q.collection.size>0)UZ.current=!1},[q.focusedKey]),Ez(_,OV,!O?void 0:(h)=>{if(h.stopPropagation(),q.setFocused(!1),h.detail?.clearFocusKey)q.setFocusedKey(null)});let xZ=$J.useRef(W),qZ=$J.useRef(!1);$J.useEffect(()=>{if(xZ.current){let h=null;if(W==="first")h=z.getFirstKey?.()??null;if(W==="last")h=z.getLastKey?.()??null;let u=q.selectedKeys;if(u.size){for(let E of u)if(q.canSelectItem(E)){h=E;break}}if(q.setFocused(!0),q.setFocusedKey(h),h==null&&!O&&_.current)eq(_.current);if(q.collection.size>0)xZ.current=!1,qZ.current=!0}});let l=$J.useRef(q.focusedKey),MZ=$J.useRef(null);$J.useEffect(()=>{if(q.isFocused&&q.focusedKey!=null&&(q.focusedKey!==l.current||qZ.current)&&j.current&&_.current){let h=Tz(),u=lO(_,q.focusedKey);if(!(u instanceof HTMLElement))return;if(h==="keyboard"||qZ.current){if(MZ.current)cancelAnimationFrame(MZ.current);MZ.current=requestAnimationFrame(()=>{if(j.current){if(rK(j.current,u),h!=="virtual")F6(u,{containingElement:_.current})}})}}if(!O&&q.isFocused&&q.focusedKey==null&&l.current!=null&&_.current)eq(_.current);l.current=q.focusedKey,qZ.current=!1}),$J.useEffect(()=>{return()=>{if(MZ.current)cancelAnimationFrame(MZ.current)}},[]),Ez(_,"react-aria-focus-scope-restore",(h)=>{h.preventDefault(),q.setFocused(!0)});let n={onKeyDown:a,onFocus:JZ,onBlur:ZZ,onMouseDown(h){if(j.current===LZ(h))h.preventDefault()}},{typeSelectProps:wZ}=ZR({keyboardDelegate:z,selectionManager:q});if(!N)n=CZ(wZ,n);let KZ=void 0;if(!O)KZ=q.focusedKey==null?0:-1;let zZ=aV(q.collection);return{collectionProps:CZ(n,{tabIndex:KZ,"data-collection":zZ})}}var QR,$J;var qR=P(()=>{FV();z6();yK();Mz();dX();sK();qH();M6();iK();HO();SY();tV();_6();eA();JH();XR();YR();QR=m(sq(),1),$J=m(XZ(),1)});function HR(Q){let[q,z]=GR.useState();return dZ(()=>{if(!Q)return;let _=T6.get(Q);if(!_){let W=`react-aria-description-${Qv++}`;z(W);let K=document.createElement("div");K.id=W,K.style.display="none",K.textContent=Q,document.body.appendChild(K),_={refCount:0,element:K},T6.set(Q,_)}else z(_.element.id);return _.refCount++,()=>{if(_&&--_.refCount===0)_.element.remove(),T6.delete(Q)}},[Q]),{"aria-describedby":Q?q:void 0}}var GR,Qv=0,T6;var zR=P(()=>{$Y();GR=m(XZ(),1),T6=new Map});function WR(Q){let{isDisabled:q,onLongPressStart:z,onLongPressEnd:_,onLongPress:W,threshold:K=Jv,accessibilityDescription:A}=Q,L=_R.useRef(void 0),{addGlobalListener:M,removeGlobalListener:I}=_H(),{pressProps:N}=WH({isDisabled:q,onPressStart(R){if(R.continuePropagation(),R.pointerType==="mouse"||R.pointerType==="touch"){if(z)z({...R,type:"longpressstart"});if(L.current=setTimeout(()=>{if(R.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),cZ(R.target).activeElement!==R.target)tY(R.target);if(W)W({...R,type:"longpress"});L.current=void 0},K),R.pointerType==="touch"){let j=(f)=>{f.preventDefault()},y=uX(R.target);M(R.target,"contextmenu",j,{once:!0}),M(y,"pointerup",()=>{setTimeout(()=>{I(R.target,"contextmenu",j)},30)},{once:!0})}}},onPressEnd(R){if(L.current)clearTimeout(L.current);if(_&&(R.pointerType==="mouse"||R.pointerType==="touch"))_({...R,type:"longpressend"})}}),O=HR(W&&!q?A:void 0);return{longPressProps:CZ(N,O)}}var _R,Jv=500;var UR=P(()=>{Mz();EY();SY();zR();hK();gK();_R=m(XZ(),1)});function VW(Q){let{id:q,selectionManager:z,key:_,ref:W,shouldSelectOnPressUp:K,shouldUseVirtualFocus:A,focus:L,isDisabled:M,onAction:I,allowsDifferentPressOrigin:N,linkBehavior:O="action"}=Q,R=Fz();q=aX(q);let j=(w)=>{if(w.pointerType==="keyboard"&&aK(w))z.toggleSelection(_);else{if(z.selectionMode==="none")return;if(z.isLink(_)){if(O==="selection"&&W.current){let o=z.getItemProps(_);R.open(W.current,w,o.href,o.routerOptions),z.setSelectedKeys(z.selectedKeys);return}else if(O==="override"||O==="none")return}if(z.selectionMode==="single")if(z.isSelected(_)&&!z.disallowEmptySelection)z.toggleSelection(_);else z.replaceSelection(_);else if(w&&w.shiftKey)z.extendSelection(_);else if(z.selectionBehavior==="toggle"||w&&(BH(w)||w.pointerType==="touch"||w.pointerType==="virtual"))z.toggleSelection(_);else z.replaceSelection(_)}};xz.useEffect(()=>{if(_===z.focusedKey&&z.isFocused)if(!A){if(L)L();else if(BX()!==W.current&&W.current)eq(W.current)}else vO(W.current)},[W,_,z.focusedKey,z.childFocusStrategy,z.isFocused,A]),M=M||z.isDisabled(_);let y={};if(!A&&!M)y={tabIndex:_===z.focusedKey?0:-1,onFocus(w){if(LZ(w)===W.current)z.setFocusedKey(_)}};else if(M)y.onMouseDown=(w)=>{w.preventDefault()};xz.useEffect(()=>{if(M&&z.focusedKey===_)z.setFocusedKey(null)},[z,M,_]);let f=z.isLink(_)&&O==="override",b=I&&Q.UNSTABLE_itemBehavior==="action",a=z.isLink(_)&&O!=="selection"&&O!=="none",r=!M&&z.canSelectItem(_)&&!f&&!b,JZ=(I||a)&&!M,ZZ=JZ&&(z.selectionBehavior==="replace"?!r:!r||z.isEmpty),UZ=JZ&&r&&z.selectionBehavior==="replace",xZ=ZZ||UZ,qZ=xz.useRef(null),l=xZ&&r,MZ=xz.useRef(!1),n=xz.useRef(!1),wZ=z.getItemProps(_),KZ=(w)=>{if(I)I(),W.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}));if(a&&W.current)R.open(W.current,w,wZ.href,wZ.routerOptions)},zZ={ref:W};if(K)if(zZ.onPressStart=(w)=>{if(qZ.current=w.pointerType,MZ.current=l,w.pointerType==="keyboard"&&(!xZ||BR(w.key)))j(w)},!N)zZ.onPress=(w)=>{if(ZZ||UZ&&w.pointerType!=="mouse"){if(w.pointerType==="keyboard"&&!KR(w.key))return;KZ(w)}else if(w.pointerType!=="keyboard"&&r)j(w)};else zZ.onPressUp=ZZ?void 0:(w)=>{if(w.pointerType==="mouse"&&r)j(w)},zZ.onPress=ZZ?KZ:(w)=>{if(w.pointerType!=="keyboard"&&w.pointerType!=="mouse"&&r)j(w)};else zZ.onPressStart=(w)=>{if(qZ.current=w.pointerType,MZ.current=l,n.current=ZZ,r&&(w.pointerType==="mouse"&&!ZZ||w.pointerType==="keyboard"&&(!JZ||BR(w.key))))j(w)},zZ.onPress=(w)=>{if(w.pointerType==="touch"||w.pointerType==="pen"||w.pointerType==="virtual"||w.pointerType==="keyboard"&&xZ&&KR(w.key)||w.pointerType==="mouse"&&n.current){if(xZ)KZ(w);else if(r)j(w)}};if(y["data-collection"]=oV(z.collection),y["data-key"]=_,zZ.preventFocusOnPress=A,A)zZ=CZ(zZ,{onPressStart(w){if(w.pointerType!=="touch")z.setFocused(!0),z.setFocusedKey(_)},onPress(w){if(w.pointerType==="touch")z.setFocused(!0),z.setFocusedKey(_)}});if(wZ){for(let w of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])if(wZ[w])zZ[w]=VJ(zZ[w],wZ[w])}let{pressProps:h,isPressed:u}=WH(zZ),E=UZ?(w)=>{if(qZ.current==="mouse")w.stopPropagation(),w.preventDefault(),KZ(w)}:void 0,{longPressProps:g}=WR({isDisabled:!l,onLongPress(w){if(w.pointerType==="touch")j(w),z.setSelectionBehavior("toggle")}}),e=(w)=>{if(qZ.current==="touch"&&MZ.current)w.preventDefault()},p=O!=="none"&&z.isLink(_)?(w)=>{if(!GJ.isOpening)w.preventDefault()}:void 0;return{itemProps:CZ(y,r||ZZ||A&&!M?h:{},l?g:{},{onDoubleClick:E,onDragStartCapture:e,onClick:p,id:q},A?{onMouseDown:(w)=>w.preventDefault()}:void 0),isPressed:u,isSelected:z.isSelected(_),isFocused:z.isFocused&&z.focusedKey===_,isDisabled:M,allowsSelection:r,hasAction:xZ}}function KR(Q){return Q==="Enter"}function BR(Q){return Q===" "}var xz;var nO=P(()=>{ZW();yK();dX();M6();iK();SY();z6();JH();gK();JJ();UR();xz=m(XZ(),1)});function LR(Q,q){if(typeof q.getChildren==="function")return q.getChildren(Q.key);return Q.childNodes}var AR=()=>{};function tK(Q){let q=OR.get(Q);if(q!=null)return q;let z=0,_=(W)=>{for(let K of W)if(K.type==="section")_(LR(K,Q));else if(K.type==="item")z++};return _(Q),OR.set(Q,z),z}var OR;var MR=P(()=>{AR();OR=new WeakMap});var w6=P(()=>{MR()});function V6(Q,q,z){let{key:_}=Q,W=K6.get(q),K=Q.isDisabled??q.selectionManager.isDisabled(_),A=Q.isSelected??q.selectionManager.isSelected(_),L=Q.shouldSelectOnPressUp??W?.shouldSelectOnPressUp,M=Q.shouldFocusOnHover??W?.shouldFocusOnHover,I=Q.shouldUseVirtualFocus??W?.shouldUseVirtualFocus,N=Q.isVirtualized??W?.isVirtualized,O=_q(),R=_q(),j={role:"option","aria-disabled":K||void 0,"aria-selected":q.selectionManager.selectionMode!=="none"?A:void 0,"aria-label":Q["aria-label"],"aria-labelledby":O,"aria-describedby":R},y=q.collection.getItem(_);if(N){let MZ=Number(y?.index);j["aria-posinset"]=Number.isNaN(MZ)?void 0:MZ+1,j["aria-setsize"]=tK(q.collection)}let f=W?.onAction?()=>W?.onAction?.(_):void 0,b=gV(q,_),{itemProps:a,isPressed:r,isFocused:JZ,hasAction:ZZ,allowsSelection:UZ}=VW({selectionManager:q.selectionManager,key:_,ref:z,shouldSelectOnPressUp:L,allowsDifferentPressOrigin:L&&M,isVirtualized:N,shouldUseVirtualFocus:I,isDisabled:K,onAction:f||y?.props?.onAction?VJ(y?.props?.onAction,f):void 0,linkBehavior:W?.linkBehavior,UNSTABLE_itemBehavior:W?.UNSTABLE_itemBehavior,id:b}),{hoverProps:xZ}=xY({isDisabled:K||!M,onHoverStart(){if(!Kq())q.selectionManager.setFocused(!0),q.selectionManager.setFocusedKey(_)}}),qZ=HX(y?.props);delete qZ.id;let l=HW(y?.props);return{optionProps:{...j,...CZ(qZ,a,xZ,l),id:b},labelProps:{id:O},descriptionProps:{id:R},isFocused:JZ,isFocusVisible:JZ&&q.selectionManager.isFocused&&Kq(),isSelected:A,isDisabled:K,isPressed:r,allowsSelection:UZ,hasAction:ZZ}}var FR=P(()=>{ZW();YH();mV();qH();SY();nO();RO();JH();JJ();w6()});var NR=P(()=>{FR()});var IR=P(()=>{Y6()});function RW(Q){let q=TR.version.split(".");if(parseInt(q[0],10)>=19)return Q;return Q?"true":void 0}var TR;var wR=P(()=>{TR=m(XZ(),1)});var R6=P(()=>{wR()});function eK(Q,q){let z=Q;if(Lq(z,q))z=z.parentElement;while(z&&!Lq(z,q))z=z.parentElement;return z||document.scrollingElement||document.documentElement}var j6=P(()=>{oK()});function C6(Q,q){let{collection:z,onLoadMore:_,scrollOffset:W=1}=Q,K=VR.useRef(null),A=kY((L)=>{for(let M of L)if(M.isIntersecting&&_)_()});dZ(()=>{if(q.current)K.current=new IntersectionObserver(A,{root:eK(q?.current),rootMargin:`0px ${100*W}% ${100*W}% ${100*W}%`}),K.current.observe(q.current);return()=>{if(K.current)K.current.disconnect()}},[z,q,W])}var VR;var RR=P(()=>{j6();Rz();$Y();VR=m(XZ(),1)});var jR=P(()=>{RR()});var CR=P(()=>{OO()});var PR=P(()=>{MO()});var cX,P6,ZB,qv;var DR=P(()=>{WQ();AV();fO();AW();NR();cK();Uq();R6();lK();jR();RJ();CR();Cz();PR();YW();cX=m(XZ(),1),P6=cX.createContext(null),ZB=Bq(NW,function(q,z,_){let W=_Q(z),K=cX.useContext(P6),{dragAndDropHooks:A,dragState:L,dropState:M}=cX.useContext(LV),I=L&&!(L.isDisabled||L.selectionManager.isDisabled(_.key)),{optionProps:N,labelProps:O,descriptionProps:R,...j}=V6({key:_.key,"aria-label":q?.["aria-label"]},K,W),{hoverProps:y,isHovered:f}=xY({isDisabled:!j.allowsSelection&&!j.hasAction&&!I,onHoverStart:_.props.onHoverStart,onHoverChange:_.props.onHoverChange,onHoverEnd:_.props.onHoverEnd}),{keyboardProps:b}=Vz(q),{focusProps:a}=wz(q),r=null;if(L&&A)r=A.useDraggableItem({key:_.key,hasAction:j.hasAction},L);let JZ=null;if(M&&A)JZ=A.useDroppableItem({target:{type:"item",key:_.key,dropPosition:"on"}},M,W);let ZZ=L&&L.isDragging(_.key),UZ=yX({...q,id:void 0,children:q.children,defaultClassName:"react-aria-ListBoxItem",values:{...j,isHovered:f,selectionMode:K.selectionManager.selectionMode,selectionBehavior:K.selectionManager.selectionBehavior,allowsDragging:!!L,isDragging:ZZ,isDropTarget:JZ?.isDropTarget}});cX.useEffect(()=>{if(!_.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.")},[_.textValue]);let xZ=q.href?AX.a:AX.div,qZ=HX(q,{global:!0});if(delete qZ.id,delete qZ.onClick,q.href&&N.tabIndex==null)N.tabIndex=-1;return cX.default.createElement(xZ,{...CZ(qZ,UZ,N,y,b,a,r?.dragProps,JZ?.dropProps),ref:W,"data-allows-dragging":!!L||void 0,"data-selected":j.isSelected||void 0,"data-disabled":j.isDisabled||void 0,"data-hovered":f||void 0,"data-focused":j.isFocused||void 0,"data-focus-visible":j.isFocusVisible||void 0,"data-pressed":j.isPressed||void 0,"data-dragging":ZZ||void 0,"data-drop-target":JZ?.isDropTarget||void 0,"data-selection-mode":K.selectionManager.selectionMode==="none"?void 0:K.selectionManager.selectionMode},cX.default.createElement(hQ,{values:[[KH,{slots:{[Bz]:O,label:O,description:R}}],[wW,{isSelected:j.isSelected}]]},UZ.children))}),qv=Bq(xO,function(q,z,_){let W=cX.useContext(P6),{isLoading:K,onLoadMore:A,scrollOffset:L,...M}=q,I=cX.useRef(null),N=cX.useMemo(()=>({onLoadMore:A,collection:W?.collection,sentinelRef:I,scrollOffset:L}),[A,L,W?.collection]);C6(N,I);let O=yX({...M,id:void 0,children:_.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0}),R={tabIndex:-1};return cX.default.createElement(cX.default.Fragment,null,cX.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:RW(!0)},cX.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:I,style:{position:"absolute",height:1,width:1}})),K&&O.children&&cX.default.createElement(cX.default.Fragment,null,cX.default.createElement(AX.div,{...CZ(HX(q,{global:!0}),R),...O,role:"option",ref:z},O.children)))})});function $R(Q){return Q.dataset.liveAnnouncer==="true"||Q.dataset.reactAriaTopLayer!==void 0}function SR(Q,q){let z=uX(Q?.[0]),_=q instanceof z.Element?{root:q}:q,W=_?.root??document.body,K=_?.shouldUseInert&&Gv,A=new Set(Q),L=new Set,M=(b)=>{return K&&b instanceof z.HTMLElement?b.inert:b.getAttribute("aria-hidden")==="true"},I=(b,a)=>{if(K&&b instanceof z.HTMLElement)b.inert=a;else if(a)b.setAttribute("aria-hidden","true");else if(b.removeAttribute("aria-hidden"),b instanceof z.HTMLElement)b.inert=!1},N=new Set;if(bQ())for(let b of Q){let a=b;while(a&&a!==W){let r=a.getRootNode();if("shadowRoot"in r)N.add(r.shadowRoot);a=r.parentNode}}let O=(b)=>{for(let ZZ of b.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))A.add(ZZ);let a=(ZZ)=>{if(L.has(ZZ)||A.has(ZZ)||ZZ.parentElement&&L.has(ZZ.parentElement)&&ZZ.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let UZ of A)if(XX(ZZ,UZ))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},r=dO(cZ(b),b,NodeFilter.SHOW_ELEMENT,{acceptNode:a}),JZ=a(b);if(JZ===NodeFilter.FILTER_ACCEPT)R(b);if(JZ!==NodeFilter.FILTER_REJECT){let ZZ=r.nextNode();while(ZZ!=null)R(ZZ),ZZ=r.nextNode()}},R=(b)=>{let a=XB.get(b)??0;if(M(b)&&a===0)return;if(a===0)I(b,!0);L.add(b),XB.set(b,a+1)};if(_J.length)_J[_J.length-1].disconnect();O(W);let j=new MutationObserver((b)=>{for(let a of b){if(a.type!=="childList")continue;if(a.target.isConnected&&![...A,...L].some((r)=>XX(r,a.target))){for(let r of a.addedNodes)if((r instanceof HTMLElement||r instanceof SVGElement)&&$R(r))A.add(r);else if(r instanceof Element)O(r)}if(bQ()){for(let r of N)if(!r.isConnected){j.disconnect();break}}}});j.observe(W,{childList:!0,subtree:!0});let y=new Set;if(bQ())for(let b of N){let a=new MutationObserver((r)=>{for(let JZ of r){if(JZ.type!=="childList")continue;if(JZ.target.isConnected&&![...A,...L].some((ZZ)=>XX(ZZ,JZ.target))){for(let ZZ of JZ.addedNodes)if((ZZ instanceof HTMLElement||ZZ instanceof SVGElement)&&$R(ZZ))A.add(ZZ);else if(ZZ instanceof Element)O(ZZ)}if(bQ()){for(let ZZ of N)if(!ZZ.isConnected){j.disconnect();break}}}});a.observe(b,{childList:!0,subtree:!0}),y.add(a)}let f={visibleNodes:A,hiddenNodes:L,observe(){j.observe(W,{childList:!0,subtree:!0})},disconnect(){j.disconnect()}};return _J.push(f),()=>{if(j.disconnect(),bQ())for(let b of y)b.disconnect();for(let b of L){let a=XB.get(b);if(a==null)continue;if(a===1)I(b,!1),XB.delete(b);else XB.set(b,a-1)}if(f===_J[_J.length-1]){if(_J.pop(),_J.length)_J[_J.length-1].observe()}else _J.splice(_J.indexOf(f),1)}}var Gv,XB,_J;var ER=P(()=>{B6();EY();dX();QO();Gv=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;XB=new WeakMap,_J=[]});function xR(Q){let{ref:q,onInteractOutside:z,isDisabled:_,onInteractOutsideStart:W}=Q,K=sO.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),A=kY((M)=>{if(z&&kR(M,q)){if(W)W(M);K.current.isPointerDown=!0}}),L=kY((M)=>{if(z)z(M)});sO.useEffect(()=>{let M=K.current;if(_)return;let I=q.current,N=cZ(I);if(typeof PointerEvent<"u"){let O=(R)=>{if(M.isPointerDown&&kR(R,q))L(R);M.isPointerDown=!1};return N.addEventListener("pointerdown",A,!0),N.addEventListener("click",O,!0),()=>{N.removeEventListener("pointerdown",A,!0),N.removeEventListener("click",O,!0)}}},[q,_])}function kR(Q,q){if(Q.button>0)return!1;let z=LZ(Q);if(z){let _=z.ownerDocument;if(!_||!XX(_.documentElement,z))return!1;if(z.closest("[data-react-aria-top-layer]"))return!1}if(!q.current)return!1;return!Q.composedPath().includes(q.current)}var sO;var yR=P(()=>{dX();EY();Rz();sO=m(XZ(),1)});function vR(Q,q){let{onClose:z,shouldCloseOnBlur:_,isOpen:W,isDismissable:K=!1,isKeyboardDismissDisabled:A=!1,shouldCloseOnInteractOutside:L}=Q,M=aO.useRef(void 0);aO.useEffect(()=>{if(W&&!Aq.includes(q))return Aq.push(q),()=>{let y=Aq.indexOf(q);if(y>=0)Aq.splice(y,1)}},[W,q]);let I=()=>{if(Aq[Aq.length-1]===q&&z)z()},N=(y)=>{let f=Aq[Aq.length-1];if(M.current=f,!L||L(LZ(y))){if(f===q)y.stopPropagation()}},O=(y)=>{if(!L||L(LZ(y))){if(Aq[Aq.length-1]===q)y.stopPropagation();if(M.current===q)I()}M.current=void 0},R=(y)=>{if(y.key==="Escape"&&!A&&!y.nativeEvent.isComposing)y.stopPropagation(),y.preventDefault(),I()};xR({ref:q,onInteractOutside:K&&W?O:void 0,onInteractOutsideStart:N});let{focusWithinProps:j}=KW({isDisabled:!_,onBlurWithin:(y)=>{if(!y.relatedTarget||iV(y.relatedTarget))return;if(!L||L(y.relatedTarget))z?.()}});return{overlayProps:{onKeyDown:R,...j},underlayProps:{}}}var aO,Aq;var hR=P(()=>{dX();sK();wO();yR();aO=m(XZ(),1),Aq=[]});function mR(Q={}){let{isDisabled:q}=Q;dZ(()=>{if(q)return;if(oO++,oO===1)if(PJ())D6=zv();else D6=Hv();return()=>{if(oO--,oO===0)D6()}},[q])}function Hv(){let Q=window.innerWidth-document.documentElement.clientWidth;return VJ(Q>0&&("scrollbarGutter"in document.documentElement.style?rO(document.documentElement,"scrollbarGutter","stable"):rO(document.documentElement,"paddingRight",`${Q}px`)),rO(document.documentElement,"overflow","hidden"))}function zv(){let Q=rO(document.documentElement,"overflow","hidden"),q,z=!1,_=(N)=>{let O=LZ(N);q=Lq(O)?O:eK(O,!0),z=!1;let R=O.ownerDocument.defaultView.getSelection();if(R&&!R.isCollapsed&&R.containsNode(O,!0))z=!0;if(N.composedPath().some((j)=>j instanceof HTMLInputElement&&j.type==="range"))z=!0;if("selectionStart"in O&&"selectionEnd"in O&&O.selectionStart<O.selectionEnd&&O.ownerDocument.activeElement===O)z=!0},W=document.createElement("style"),K=TO();if(K)W.nonce=K;W.textContent=`
|
|
242
|
-
@layer {
|
|
243
|
-
* {
|
|
244
|
-
overscroll-behavior: contain;
|
|
245
|
-
}
|
|
246
|
-
}`.trim(),document.head.prepend(W);let A=(N)=>{if(N.touches.length===2||z)return;if(!q||q===document.documentElement||q===document.body){N.preventDefault();return}if(q.scrollHeight===q.clientHeight&&q.scrollWidth===q.clientWidth)N.preventDefault()},L=(N)=>{let O=LZ(N),R=N.relatedTarget;if(R&&Sz(R))R.focus({preventScroll:!0}),bR(R,Sz(O));else if(!R)O.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},M=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(N){let O=BX(),R=O!=null&&Sz(O);if(M.call(this,{...N,preventScroll:!0}),!N||!N.preventScroll)bR(this,R)};let I=VJ($6(document,"touchstart",_,{passive:!1,capture:!0}),$6(document,"touchmove",A,{passive:!1,capture:!0}),$6(document,"blur",L,!0));return()=>{Q(),I(),W.remove(),HTMLElement.prototype.focus=M}}function rO(Q,q,z){let _=Q.style[q];return Q.style[q]=z,()=>{Q.style[q]=_}}function $6(Q,q,z,_){return Q.addEventListener(q,z,_),()=>{Q.removeEventListener(q,z,_)}}function bR(Q,q){if(q||!YB)gR(Q);else YB.addEventListener("resize",()=>gR(Q),{once:!0})}function gR(Q){let q=document.scrollingElement||document.documentElement,z=Q;while(z&&z!==q){let _=eK(z);if(_!==document.documentElement&&_!==document.body&&_!==z){let W=_.getBoundingClientRect(),K=z.getBoundingClientRect();if(K.top<W.top||K.bottom>W.top+z.clientHeight){let A=W.bottom;if(YB)A=Math.min(A,YB.offsetTop+YB.height);let L=K.top-W.top-((A-W.top)/2-K.height/2);_.scrollTo({top:Math.max(0,Math.min(_.scrollHeight-_.clientHeight,_.scrollTop+L)),behavior:"smooth"})}}z=_.parentElement}}var YB,oO=0,D6;var fR=P(()=>{ZW();dX();v3();j6();qJ();oK();$Y();iK();YB=typeof document<"u"&&window.visualViewport});var S6;var uR=P(()=>{S6={};S6={dismiss:"تجاهل"}});var E6;var dR=P(()=>{E6={};E6={dismiss:"Отхвърляне"}});var k6;var cR=P(()=>{k6={};k6={dismiss:"Odstranit"}});var x6;var pR=P(()=>{x6={};x6={dismiss:"Luk"}});var y6;var lR=P(()=>{y6={};y6={dismiss:"Schließen"}});var v6;var iR=P(()=>{v6={};v6={dismiss:"Απόρριψη"}});var h6;var nR=P(()=>{h6={};h6={dismiss:"Dismiss"}});var b6;var sR=P(()=>{b6={};b6={dismiss:"Descartar"}});var g6;var aR=P(()=>{g6={};g6={dismiss:"Lõpeta"}});var m6;var oR=P(()=>{m6={};m6={dismiss:"Hylkää"}});var f6;var rR=P(()=>{f6={};f6={dismiss:"Rejeter"}});var u6;var tR=P(()=>{u6={};u6={dismiss:"התעלם"}});var d6;var eR=P(()=>{d6={};d6={dismiss:"Odbaci"}});var c6;var Zj=P(()=>{c6={};c6={dismiss:"Elutasítás"}});var p6;var Xj=P(()=>{p6={};p6={dismiss:"Ignora"}});var l6;var Yj=P(()=>{l6={};l6={dismiss:"閉じる"}});var i6;var Qj=P(()=>{i6={};i6={dismiss:"무시"}});var n6;var Jj=P(()=>{n6={};n6={dismiss:"Atmesti"}});var s6;var qj=P(()=>{s6={};s6={dismiss:"Nerādīt"}});var a6;var Gj=P(()=>{a6={};a6={dismiss:"Lukk"}});var o6;var Hj=P(()=>{o6={};o6={dismiss:"Negeren"}});var r6;var zj=P(()=>{r6={};r6={dismiss:"Zignoruj"}});var t6;var _j=P(()=>{t6={};t6={dismiss:"Descartar"}});var e6;var Wj=P(()=>{e6={};e6={dismiss:"Dispensar"}});var Z5;var Uj=P(()=>{Z5={};Z5={dismiss:"Revocare"}});var X5;var Kj=P(()=>{X5={};X5={dismiss:"Пропустить"}});var Y5;var Bj=P(()=>{Y5={};Y5={dismiss:"Zrušiť"}});var Q5;var Lj=P(()=>{Q5={};Q5={dismiss:"Opusti"}});var J5;var Aj=P(()=>{J5={};J5={dismiss:"Odbaci"}});var q5;var Oj=P(()=>{q5={};q5={dismiss:"Avvisa"}});var G5;var Mj=P(()=>{G5={};G5={dismiss:"Kapat"}});var H5;var Fj=P(()=>{H5={};H5={dismiss:"Скасувати"}});var z5;var Nj=P(()=>{z5={};z5={dismiss:"取消"}});var _5;var Ij=P(()=>{_5={};_5={dismiss:"關閉"}});var W5;var Tj=P(()=>{uR();dR();cR();pR();lR();iR();nR();sR();aR();oR();rR();tR();eR();Zj();Xj();Yj();Qj();Jj();qj();Gj();Hj();zj();_j();Wj();Uj();Kj();Bj();Lj();Aj();Oj();Mj();Fj();Nj();Ij();W5={};W5={"ar-AE":S6,"bg-BG":E6,"cs-CZ":k6,"da-DK":x6,"de-DE":y6,"el-GR":v6,"en-US":h6,"es-ES":b6,"et-EE":g6,"fi-FI":m6,"fr-FR":f6,"he-IL":u6,"hr-HR":d6,"hu-HU":c6,"it-IT":p6,"ja-JP":l6,"ko-KR":i6,"lt-LT":n6,"lv-LV":s6,"nb-NO":a6,"nl-NL":o6,"pl-PL":r6,"pt-BR":t6,"pt-PT":e6,"ro-RO":Z5,"ru-RU":X5,"sk-SK":Y5,"sl-SI":Q5,"sr-SP":J5,"sv-SE":q5,"tr-TR":G5,"uk-UA":H5,"zh-CN":z5,"zh-TW":_5}});function _v(Q){return Q&&Q.__esModule?Q.default:Q}function K5(Q){let{onDismiss:q,...z}=Q,_=PV(_v(W5),"@react-aria/overlays"),W=QH(z,_.format("dismiss")),K=()=>{if(q)q()};return U5.default.createElement(YV,null,U5.default.createElement("button",{...W,tabIndex:-1,onClick:K,style:{width:1,height:1}}))}var U5;var wj=P(()=>{Tj();jK();DV();QV();U5=m(XZ(),1)});function Vj({children:Q}){let q=yz.useMemo(()=>({register:()=>{}}),[]);return yz.default.createElement(vK.Provider,{value:q},Q)}var yz;var Rj=P(()=>{h3();yz=m(XZ(),1)});function jj(){return QB.useContext(Wv)??{}}var QB,Wv;var Cj=P(()=>{QB=m(XZ(),1),Wv=QB.createContext({})});function B5(Q){let q=rY(),{portalContainer:z=q?null:document.body,isExiting:_}=Q,[W,K]=SJ.useState(!1),A=SJ.useMemo(()=>({contain:W,setContain:K}),[W,K]),{getContainer:L}=jj();if(!Q.portalContainer&&L)z=L();if(!z)return null;let M=Q.children;if(!Q.disableFocusManagement)M=SJ.default.createElement(pV,{restoreFocus:!0,contain:(Q.shouldContainFocus||W)&&!_},M);return M=SJ.default.createElement(Dj.Provider,{value:A},SJ.default.createElement(Vj,null,M)),Pj.default.createPortal(M,z)}function $j(){let q=SJ.useContext(Dj)?.setContain;dZ(()=>{q?.(!0)},[q])}var SJ,Pj,Dj;var L5=P(()=>{Rj();sK();ZH();$Y();Cj();SJ=m(XZ(),1),Pj=m(sq(),1),Dj=SJ.default.createContext(null)});var Sj=P(()=>{wj();L5()});function A5(Q){let[q,z]=Dz(Q.isOpen,Q.defaultOpen||!1,Q.onOpenChange),_=tO.useCallback(()=>{z(!0)},[z]),W=tO.useCallback(()=>{z(!1)},[z]),K=tO.useCallback(()=>{z(!q)},[z,q]);return{isOpen:q,setOpen:z,open:_,close:W,toggle:K}}var tO;var Ej=P(()=>{PO();tO=m(XZ(),1)});var kj=P(()=>{Ej()});function CW(Q,q=!0){let[z,_]=jW.useState(!0),W=z&&q;return dZ(()=>{if(W&&Q.current&&"getAnimations"in Q.current){for(let K of Q.current.getAnimations())if(K instanceof CSSTransition)K.cancel()}},[Q,W]),yj(Q,W,jW.useCallback(()=>_(!1),[])),W}function PW(Q,q){let[z,_]=jW.useState(q?"open":"closed");switch(z){case"open":if(!q)_("exiting");break;case"closed":case"exiting":if(q)_("open");break}let W=z==="exiting";return yj(Q,W,jW.useCallback(()=>{_((K)=>K==="exiting"?"closed":K)},[])),W}function yj(Q,q,z){dZ(()=>{if(q&&Q.current){if(!("getAnimations"in Q.current)){z();return}let _=Q.current.getAnimations();if(_.length===0){z();return}let W=!1;return Promise.allSettled(_.map((K)=>K.finished)).then(()=>{if(!W)xj.flushSync(()=>{z()})}),()=>{W=!0}}},[Q,q,z])}var xj,jW;var vj=P(()=>{$Y();xj=m(sq(),1),jW=m(XZ(),1)});var O5=P(()=>{vj()});var eO,hj;var bj=P(()=>{eO=m(XZ(),1),hj=eO.createContext({})});var gj;var mj=P(()=>{gj=new WeakMap});function F5(Q,q,z){let{id:_,key:W,closeOnSelect:K,shouldCloseOnSelect:A,isVirtualized:L,"aria-haspopup":M,onPressStart:I,onPressUp:N,onPress:O,onPressChange:R,onPressEnd:j,onClick:y,onHoverStart:f,onHoverChange:b,onHoverEnd:a,onKeyDown:r,onKeyUp:JZ,onFocus:ZZ,onFocusChange:UZ,onBlur:xZ,selectionManager:qZ=q.selectionManager}=Q,l=!!M,MZ=l&&Q["aria-expanded"]==="true",n=Q.isDisabled??qZ.isDisabled(W),wZ=Q.isSelected??qZ.isSelected(W),KZ=gj.get(q),zZ=q.collection.getItem(W),h=Q.onClose||KZ.onClose,u=Fz(),E=()=>{if(l)return;if(zZ?.props?.onAction)zZ.props.onAction();else if(Q.onAction)Q.onAction(W);if(KZ.onAction){let $Z=KZ.onAction;$Z(W)}},g="menuitem";if(!l){if(qZ.selectionMode==="single")g="menuitemradio";else if(qZ.selectionMode==="multiple")g="menuitemcheckbox"}let e=_q(),p=_q(),w=_q(),o={id:_,"aria-disabled":n||void 0,role:g,"aria-label":Q["aria-label"],"aria-labelledby":e,"aria-describedby":[Q["aria-describedby"],p,w].filter(Boolean).join(" ")||void 0,"aria-controls":Q["aria-controls"],"aria-haspopup":M,"aria-expanded":Q["aria-expanded"]};if(qZ.selectionMode!=="none"&&!l)o["aria-checked"]=wZ;if(L){let $Z=Number(zZ?.index);o["aria-posinset"]=Number.isNaN($Z)?void 0:$Z+1,o["aria-setsize"]=tK(q.collection)}let OZ=M5.useRef(!1),VZ=($Z)=>{R?.($Z),OZ.current=$Z},vZ=M5.useRef(null),JX=($Z)=>{if($Z.pointerType!=="keyboard")vZ.current={pointerType:$Z.pointerType};if($Z.pointerType==="mouse"){if(!OZ.current)$Z.target.click()}N?.($Z)},IZ=($Z)=>{y?.($Z),E(),Iw($Z,u,zZ.props.href,zZ?.props.routerOptions);let Iq=vZ.current?.pointerType==="keyboard"?vZ.current?.key==="Enter"||qZ.selectionMode==="none"||qZ.isLink(W):qZ.selectionMode!=="multiple"||qZ.isLink(W);if(Iq=A??K??Iq,h&&!l&&Iq)h();vZ.current=null},{itemProps:YX,isFocused:TX}=VW({id:_,selectionManager:qZ,key:W,ref:z,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:KZ.shouldUseVirtualFocus}),{pressProps:LX,isPressed:Nq}=WH({onPressStart:I,onPress:O,onPressUp:JX,onPressChange:VZ,onPressEnd:j,isDisabled:n}),{hoverProps:BZ}=xY({isDisabled:n,onHoverStart($Z){if(!Kq()&&!(MZ&&M))qZ.setFocused(!0),qZ.setFocusedKey(W);f?.($Z)},onHoverChange:b,onHoverEnd:a}),{keyboardProps:OQ}=Vz({onKeyDown:($Z)=>{if($Z.repeat){$Z.continuePropagation();return}switch($Z.key){case" ":vZ.current={pointerType:"keyboard",key:" "},LZ($Z).click(),xK("keyboard");break;case"Enter":if(vZ.current={pointerType:"keyboard",key:"Enter"},LZ($Z).tagName!=="A")LZ($Z).click();xK("keyboard");break;default:if(!l)$Z.continuePropagation();r?.($Z);break}},onKeyUp:JZ}),{focusableProps:MQ}=HH({onBlur:xZ,onFocus:ZZ,onFocusChange:UZ},z),vY=HX(zZ?.props);delete vY.id;let oX=HW(zZ?.props);return{menuItemProps:{...o,...CZ(vY,oX,l?{onFocus:YX.onFocus,"data-collection":YX["data-collection"],"data-key":YX["data-key"]}:YX,LX,BZ,OQ,MQ,KZ.shouldUseVirtualFocus||l?{onMouseDown:($Z)=>$Z.preventDefault()}:void 0,n?void 0:{onClick:IZ}),tabIndex:YX.tabIndex!=null&&MZ&&!KZ.shouldUseVirtualFocus?-1:YX.tabIndex},labelProps:{id:e},descriptionProps:{id:p},keyboardShortcutProps:{id:w},isFocused:TX,isFocusVisible:TX&&qZ.isFocused&&Kq()&&!MZ,isSelected:wZ,isPressed:Nq,isDisabled:n}}var M5;var fj=P(()=>{YH();dX();JH();qH();mj();SY();_W();RO();MO();gK();nO();JJ();w6();M5=m(XZ(),1)});var uj=P(()=>{fj()});var BQ,cj,Uv,Kv,dj,vz;var pj=P(()=>{WQ();G6();bj();fO();AW();uj();lK();cK();Uq();RJ();Cz();YW();BQ=m(XZ(),1),cj=BQ.createContext(null),Uv=BQ.createContext(null);Kv=class Kv extends mQ{static{this.type="submenutrigger"}filter(Q,q,z){let _=Q.getItem(this.firstChildKey);if(_&&z(_.textValue,this)){let W=this.clone();return q.addDescendants(W,Q),W}return null}};dj=BQ.createContext(null),vz=Bq(NW,function(q,z,_){[q,z]=fX(q,z,dj);let W=Lz(dj)?.id,K=BQ.useContext(cj),A=_Q(z),L=BQ.useContext(Uv),{isVirtualized:M}=BQ.useContext(pK),{menuItemProps:I,labelProps:N,descriptionProps:O,keyboardShortcutProps:R,...j}=F5({...q,id:W,key:_.key,selectionManager:L,isVirtualized:M},K,A),{hoverProps:y,isHovered:f}=xY({isDisabled:j.isDisabled}),b=yX({...q,id:void 0,children:_.rendered,defaultClassName:"react-aria-MenuItem",values:{...j,isHovered:f,isFocusVisible:j.isFocusVisible,selectionMode:L.selectionMode,selectionBehavior:L.selectionBehavior,hasSubmenu:!!q["aria-haspopup"],isOpen:q["aria-expanded"]==="true"}}),a=q.href?AX.a:AX.div,r=HX(q,{global:!0});return delete r.id,delete r.onClick,BQ.default.createElement(a,{...CZ(r,b,I,y),ref:A,"data-disabled":j.isDisabled||void 0,"data-hovered":f||void 0,"data-focused":j.isFocused||void 0,"data-focus-visible":j.isFocusVisible||void 0,"data-pressed":j.isPressed||void 0,"data-selected":j.isSelected||void 0,"data-selection-mode":L.selectionMode==="none"?void 0:L.selectionMode,"data-has-submenu":!!q["aria-haspopup"]||void 0,"data-open":q["aria-expanded"]==="true"||void 0},BQ.default.createElement(hQ,{values:[[KH,{slots:{[Bz]:N,label:N,description:O}}],[hj,R],[wW,{isSelected:j.isSelected}]]},b.children))})});var DW,ZM;var lj=P(()=>{DW=m(XZ(),1),ZM=DW.createContext(null)});var ij=P(()=>{PO()});function N5(Q,q){let{inputElementType:z="input",isDisabled:_=!1,isRequired:W=!1,isReadOnly:K=!1,type:A="text",validationBehavior:L="aria"}=Q,[M,I]=Dz(Q.value,Q.defaultValue||"",Q.onChange),{focusableProps:N}=HH(Q,q),O=s3({...Q,value:M}),{isInvalid:R,validationErrors:j,validationDetails:y}=O.displayValidation,{labelProps:f,fieldProps:b,descriptionProps:a,errorMessageProps:r}=sw({...Q,isInvalid:R,errorMessage:Q.errorMessage||j}),JZ=HX(Q,{labelable:!0}),ZZ={type:A,pattern:Q.pattern},[UZ]=XM.useState(M);return rw(q,Q.defaultValue??UZ,I),ew(Q,O,q),{labelProps:f,inputProps:CZ(JZ,z==="input"?ZZ:void 0,{disabled:_,readOnly:K,required:W&&L==="native","aria-required":W&&L==="aria"||void 0,"aria-invalid":R||void 0,"aria-errormessage":Q["aria-errormessage"],"aria-activedescendant":Q["aria-activedescendant"],"aria-autocomplete":Q["aria-autocomplete"],"aria-haspopup":Q["aria-haspopup"],"aria-controls":Q["aria-controls"],value:M,onChange:(xZ)=>I(LZ(xZ).value),autoComplete:Q.autoComplete,autoCapitalize:Q.autoCapitalize,maxLength:Q.maxLength,minLength:Q.minLength,name:Q.name,form:Q.form,placeholder:Q.placeholder,inputMode:Q.inputMode,autoCorrect:Q.autoCorrect,spellCheck:Q.spellCheck,[parseInt(XM.default.version,10)>=17?"enterKeyHint":"enterkeyhint"]:Q.enterKeyHint,onCopy:Q.onCopy,onCut:Q.onCut,onPaste:Q.onPaste,onCompositionEnd:Q.onCompositionEnd,onCompositionStart:Q.onCompositionStart,onCompositionUpdate:Q.onCompositionUpdate,onSelect:Q.onSelect,onBeforeInput:Q.onBeforeInput,onInput:Q.onInput,...N,...b}),descriptionProps:a,errorMessageProps:r,isInvalid:R,validationErrors:j,validationDetails:y}}var XM;var nj=P(()=>{YH();dX();SY();aw();_W();tw();ZV();ij();lw();XM=m(XZ(),1)});function I5(Q,q,z){let{isDisabled:_}=Q,W=aX(),K=aX(),A=rY(),L=hz.useRef(null),M=hz.useCallback(()=>{L.current=requestAnimationFrame(()=>{if(z.current)z.current.setAttribute("hidden","until-found")}),sj.flushSync(()=>{q.toggle()})},[z,q]);Ez(z,"beforematch",M);let I=hz.useRef(null);return dZ(()=>{if(L.current)cancelAnimationFrame(L.current);if(z.current&&!A){let N=z.current;if(I.current==null||typeof N.getAnimations!=="function")if(q.isExpanded)N.removeAttribute("hidden"),N.style.setProperty("--disclosure-panel-width","auto"),N.style.setProperty("--disclosure-panel-height","auto");else N.setAttribute("hidden","until-found"),N.style.setProperty("--disclosure-panel-width","0px"),N.style.setProperty("--disclosure-panel-height","0px");else if(q.isExpanded!==I.current)if(q.isExpanded)N.removeAttribute("hidden"),N.style.setProperty("--disclosure-panel-width",N.scrollWidth+"px"),N.style.setProperty("--disclosure-panel-height",N.scrollHeight+"px"),Promise.all(N.getAnimations().map((O)=>O.finished)).then(()=>{N.style.setProperty("--disclosure-panel-width","auto"),N.style.setProperty("--disclosure-panel-height","auto")}).catch(()=>{});else N.style.setProperty("--disclosure-panel-width",N.scrollWidth+"px"),N.style.setProperty("--disclosure-panel-height",N.scrollHeight+"px"),window.getComputedStyle(N).height,N.style.setProperty("--disclosure-panel-width","0px"),N.style.setProperty("--disclosure-panel-height","0px"),Promise.all(N.getAnimations().map((O)=>O.finished)).then(()=>N.setAttribute("hidden","until-found")).catch(()=>{});I.current=q.isExpanded}},[_,z,q.isExpanded,A]),hz.useEffect(()=>{return()=>{if(L.current)cancelAnimationFrame(L.current)}},[]),{buttonProps:{id:W,"aria-expanded":q.isExpanded,"aria-controls":K,onPress:(N)=>{if(!_&&N.pointerType!=="keyboard")q.toggle()},isDisabled:_,onPressStart(N){if(N.pointerType==="keyboard"&&!_)q.toggle()}},panelProps:{id:K,role:"group","aria-labelledby":W,"aria-hidden":!q.isExpanded,hidden:A?!q.isExpanded:void 0}}}var sj,hz;var aj=P(()=>{_6();JJ();ZH();$Y();sj=m(sq(),1),hz=m(XZ(),1)});var oj=P(()=>{aj()});function T5(Q){let[q,z]=Dz(Q.isExpanded,Q.defaultExpanded||!1,Q.onExpandedChange),_=YM.useCallback(()=>{z(!0)},[z]),W=YM.useCallback(()=>{z(!1)},[z]),K=YM.useCallback(()=>{z(!q)},[z,q]);return{isExpanded:q,setExpanded:z,expand:_,collapse:W,toggle:K}}var YM;var rj=P(()=>{PO();YM=m(XZ(),1)});var tj=P(()=>{rj()});var yY,ej,ZC,XC,YC,w5,V5;var QC=P(()=>{d3();WQ();oj();tj();Uq();RJ();nA();BW();u3();yY=m(XZ(),1),ej=yY.createContext(null),ZC=yY.createContext(null),XC=yY.createContext(null),YC=yY.createContext(null),w5=yY.forwardRef(function(q,z){[q,z]=fX(q,z,ZC);let _=yY.useContext(ej),{id:W,...K}=q,A=aX();W||=A;let L=_?_.expandedKeys.has(W):q.isExpanded,M=T5({...q,isExpanded:L,onExpandedChange(a){if(_)_.toggleKey(W);q.onExpandedChange?.(a)}}),I=yY.default.useRef(null),N=q.isDisabled||_?.isDisabled||!1,{buttonProps:O,panelProps:R}=I5({...q,isExpanded:L,isDisabled:N},M,I),{isFocusVisible:j,focusProps:y}=gQ({within:!0}),f=yX({...q,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:M.isExpanded,isDisabled:N,isFocusVisibleWithin:j,state:M}}),b=HX(K,{global:!0});return yY.default.createElement(hQ,{values:[[fK,{slots:{[Bz]:{},trigger:O}}],[YC,{panelProps:R,panelRef:I}],[XC,M]]},yY.default.createElement(AX.div,{...CZ(b,f,y),ref:z,"data-expanded":M.isExpanded||void 0,"data-disabled":N||void 0,"data-focus-visible-within":j||void 0},f.children))}),V5=yY.forwardRef(function(q,z){let{role:_="group"}=q,{panelProps:W,panelRef:K}=yY.useContext(YC),{isFocusVisible:A,focusProps:L}=gQ({within:!0}),M=yX({...q,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:A}}),I=HX(q,{global:!0,labelable:!0});return yY.default.createElement(AX.div,{...CZ(I,M,W,L),ref:Wq(z,K),role:_,"data-focus-visible-within":A||void 0},yY.default.createElement(hQ,{values:[[fK,null]]},q.children))})});function R5(Q,q,z){let{overlayProps:_,underlayProps:W}=vR({...Q,isOpen:q.isOpen,onClose:q.close},z);return mR({isDisabled:!q.isOpen}),$j(),JC.useEffect(()=>{if(q.isOpen&&z.current)return SR([z.current],{shouldUseInert:!0})},[q.isOpen,z]),{modalProps:CZ(_),underlayProps:W}}var JC;var qC=P(()=>{ER();hR();SY();L5();fR();JC=m(XZ(),1)});var GC=P(()=>{qC()});var HC=P(()=>{oK()});var zC=P(()=>{ZH()});function C5(){let Q=rY(),[q,z]=QM.useState(()=>Q?{width:0,height:0}:j5());return QM.useEffect(()=>{let _=(L)=>{z((M)=>{if(L.width===M.width&&L.height===M.height)return M;return L})},W=()=>{if(LQ&&LQ.scale>1)return;_(j5())},K,A=(L)=>{if(LQ&&LQ.scale>1)return;if(Sz(LZ(L)))K=requestAnimationFrame(()=>{let M=BX();if(!M||!Sz(M))_({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})})};if(_(j5()),PJ())window.addEventListener("blur",A,!0);if(!LQ)window.addEventListener("resize",W);else LQ.addEventListener("resize",W);return()=>{if(cancelAnimationFrame(K),PJ())window.removeEventListener("blur",A,!0);if(!LQ)window.removeEventListener("resize",W);else LQ.removeEventListener("resize",W)}},[]),q}function j5(){return{width:LQ?Math.min(LQ.width*LQ.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:LQ?LQ.height*LQ.scale:document.documentElement.clientHeight}}var QM,LQ;var _C=P(()=>{dX();qJ();ZH();iK();QM=m(XZ(),1),LQ=typeof document<"u"&&window.visualViewport});var WC=P(()=>{_C()});function Bv(Q,q){[Q,q]=fX(Q,q,KC);let z=vX.useContext(ZM),_=A5(Q),W=Q.isOpen!=null||Q.defaultOpen!=null||!z?_:z;if(W===z){if(Q.onOpenChange||Q.defaultOpen!==void 0||Q.isOpen!==void 0)console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.")}let K=_Q(q),A=vX.useRef(null),L=PW(K,W.isOpen),M=PW(A,W.isOpen),I=L||M||Q.isExiting||!1,N=rY();if(!W.isOpen&&!I||N)return null;return vX.default.createElement(Lv,{...Q,state:W,isExiting:I,overlayRef:K,modalRef:A})}function Lv({UNSTABLE_portalContainer:Q,...q}){let z=q.modalRef,{state:_}=q,{modalProps:W,underlayProps:K}=R5(q,_,z),A=CW(q.overlayRef)||q.isEntering||!1,L=yX({...q,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:A,isExiting:q.isExiting,state:_}}),M=C5(),I=void 0,N=void 0;if(typeof document<"u"){let R=Lq(document.body)?document.body:document.scrollingElement||document.documentElement,j=R.getBoundingClientRect().width%1,y=R.getBoundingClientRect().height%1;I=R.scrollWidth-j,N=R.scrollHeight-y}let O={...L.style,"--visual-viewport-width":M.width+"px","--visual-viewport-height":M.height+"px","--page-width":I!==void 0?I+"px":void 0,"--page-height":N!==void 0?N+"px":void 0};return vX.default.createElement(B5,{isExiting:q.isExiting,portalContainer:Q},vX.default.createElement(AX.div,{...CZ(HX(q,{global:!0}),K),...L,style:O,ref:q.overlayRef,"data-entering":A||void 0,"data-exiting":q.isExiting||void 0},vX.default.createElement(hQ,{values:[[P5,{modalProps:W,modalRef:z,isExiting:q.isExiting,isDismissable:q.isDismissable}],[ZM,_]]},L.children)))}function UC(Q){let{modalProps:q,modalRef:z,isExiting:_,isDismissable:W}=vX.useContext(P5),K=vX.useContext(ZM),A=vX.useMemo(()=>Wq(Q.modalRef,z),[Q.modalRef,z]),L=_Q(A),M=CW(L),I=yX({...Q,defaultClassName:"react-aria-Modal",values:{isEntering:M,isExiting:_,state:K}});return vX.default.createElement(AX.div,{...CZ(HX(Q,{global:!0}),q),...I,ref:L,"data-entering":M||void 0,"data-exiting":_||void 0},W&&vX.default.createElement(K5,{onDismiss:K.close}),I.children)}var vX,KC,P5,D5,JM;var BC=P(()=>{WQ();lj();GC();Sj();Uq();HC();RJ();nA();kj();O5();zC();YW();WC();vX=m(XZ(),1),KC=vX.createContext(null),P5=vX.createContext(null),D5=vX.forwardRef(function(q,z){if(vX.useContext(P5)){if(q.onOpenChange||q.defaultOpen!==void 0||q.isOpen!==void 0){let f=new Set(["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"]),b=Object.keys(q).filter((a)=>f.has(a));console.warn(`This modal is already wrapped in a ModalOverlay, props [${b.join(", ")}] should be placed on the ModalOverlay instead.`)}return vX.default.createElement(UC,{...q,modalRef:z},q.children)}let{isDismissable:W,isKeyboardDismissDisabled:K,isOpen:A,defaultOpen:L,onOpenChange:M,children:I,isEntering:N,isExiting:O,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:j,...y}=q;return vX.default.createElement(JM,{isDismissable:W,isKeyboardDismissDisabled:K,isOpen:A,defaultOpen:L,onOpenChange:M,isEntering:N,isExiting:O,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:j},vX.default.createElement(UC,{...y,modalRef:z},I))});JM=vX.forwardRef(Bv)});function $W(Q,q,z){if(!Q)return"";if(typeof q==="string")q=q.replace(/\s+/g,"");let _=$5.get(Q);if(!_)console.error("There is no tab id, please check if you have rendered the tab panel before the tab list.");return`${_}-${z}-${q}`}var $5;var qM=P(()=>{$5=new WeakMap});function S5(Q,q,z){let{key:_,isDisabled:W,shouldSelectOnPressUp:K}=Q,{selectionManager:A,selectedKey:L}=q,M=_===L,I=W||q.isDisabled||q.selectionManager.isDisabled(_),N=q.collection.getItem(_),{itemProps:O,isPressed:R}=VW({selectionManager:A,key:_,ref:z,isDisabled:I,shouldSelectOnPressUp:K??N?.props.href!=null,linkBehavior:"selection"}),j=$W(q,_,"tab"),y=$W(q,_,"tabpanel"),{tabIndex:f}=O,b=HX(N?.props,{labelable:!0});delete b.id;let a=HW(N?.props),{focusableProps:r}=HH({...N?.props,isDisabled:I},z);return{tabProps:CZ(b,r,a,O,{id:j,"aria-selected":M,"aria-disabled":I||void 0,"aria-controls":M?y:void 0,tabIndex:I?void 0:f,role:"tab"}),isSelected:M,isDisabled:I,isPressed:R}}var LC=P(()=>{YH();qM();SY();_W();JH();nO()});function OC(Q,q){let z=q?.isDisabled,[_,W]=AC.useState(!1);return dZ(()=>{if(Q?.current&&!z){let K=()=>{if(Q.current){let L=HJ(Q.current,{tabbable:!0});W(!!L.nextNode())}};K();let A=new MutationObserver(K);return A.observe(Q.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{A.disconnect()}}}),z?!1:_}var AC;var MC=P(()=>{sK();$Y();AC=m(XZ(),1)});function E5(Q,q,z){let _=OC(z)?void 0:0,W=$W(q,Q.id??q?.selectedKey,"tabpanel"),K=QH({...Q,id:W,"aria-labelledby":$W(q,q?.selectedKey,"tab")});return{tabPanelProps:CZ(K,{tabIndex:_,role:"tabpanel","aria-describedby":Q["aria-describedby"],"aria-details":Q["aria-details"]})}}var FC=P(()=>{qM();SY();MC();jK()});class k5{constructor(Q,q,z,_=new Set){this.collection=Q,this.flipDirection=q==="rtl"&&z==="horizontal",this.disabledKeys=_,this.tabDirection=z==="horizontal"}getKeyLeftOf(Q){if(this.flipDirection)return this.getNextKey(Q);return this.getPreviousKey(Q)}getKeyRightOf(Q){if(this.flipDirection)return this.getPreviousKey(Q);return this.getNextKey(Q)}isDisabled(Q){return this.disabledKeys.has(Q)||!!this.collection.getItem(Q)?.props?.isDisabled}getFirstKey(){let Q=this.collection.getFirstKey();if(Q!=null&&this.isDisabled(Q))Q=this.getNextKey(Q);return Q}getLastKey(){let Q=this.collection.getLastKey();if(Q!=null&&this.isDisabled(Q))Q=this.getPreviousKey(Q);return Q}getKeyAbove(Q){if(this.tabDirection)return null;return this.getPreviousKey(Q)}getKeyBelow(Q){if(this.tabDirection)return null;return this.getNextKey(Q)}getNextKey(Q){let q=Q;do if(q=this.collection.getKeyAfter(q),q==null)q=this.collection.getFirstKey();while(q!=null&&this.isDisabled(q));return q}getPreviousKey(Q){let q=Q;do if(q=this.collection.getKeyBefore(q),q==null)q=this.collection.getLastKey();while(q!=null&&this.isDisabled(q));return q}}var NC=()=>{};function x5(Q,q,z){let{orientation:_="horizontal",keyboardActivation:W="automatic"}=Q,{collection:K,selectionManager:A,disabledKeys:L}=q,{direction:M}=JW(),I=IC.useMemo(()=>new k5(K,M,_,L),[K,L,_,M]),{collectionProps:N}=JR({ref:z,selectionManager:A,keyboardDelegate:I,selectOnFocus:W==="automatic",disallowEmptySelection:!0,scrollRef:z,linkBehavior:"selection"}),O=aX();$5.set(q,O);let R=QH({...Q,id:O});return{tabListProps:{...CZ(N,R),role:"tablist","aria-orientation":_,tabIndex:void 0}}}var IC;var TC=P(()=>{SY();qM();NC();JJ();jK();eA();qR();IC=m(XZ(),1)});var wC=P(()=>{LC();FC();TC()});function Av({props:Q,forwardedRef:q}){let z=IX.useContext(bz),{CollectionRoot:_}=IX.useContext(pK),{orientation:W="horizontal",keyboardActivation:K="automatic"}=Lz(y5),A=_Q(q),{tabListProps:L}=x5({...Q,orientation:W,keyboardActivation:K},z,A),M=yX({...Q,children:null,defaultClassName:"react-aria-TabList",values:{orientation:W,state:z}}),I=HX(Q,{global:!0});return delete I.id,IX.default.createElement(AX.div,{...CZ(I,M,L),ref:A,"data-orientation":W||void 0},IX.default.createElement(EV,null,IX.default.createElement(_,{collection:z.collection,persistedKeys:q6(z.selectionManager.focusedKey)})))}function Ov(Q){let q=IX.useContext(bz),{id:z,tabPanelRef:_,isInitiallySelected:W,isExiting:K,...A}=Q,{tabPanelProps:L}=E5(Q,q,_),{focusProps:M,isFocused:I,isFocusVisible:N}=gQ(),O=q.selectedKey===Q.id,R=CW(_)&&!W,j=yX({...Q,defaultClassName:"react-aria-TabPanel",values:{isFocused:I,isFocusVisible:N,isInert:RW(!O),isEntering:R,isExiting:K,state:q}}),y=HX(A,{global:!0});delete y.id;let f=O?CZ(y,L,M,j):CZ(y,j);return IX.default.createElement(AX.div,{...f,ref:_,"data-focused":I||void 0,"data-focus-visible":N||void 0,inert:RW(!O||Q.inert),"data-inert":!O?"true":void 0,"data-entering":R||void 0,"data-exiting":K||void 0},IX.default.createElement(hQ,{values:[[y5,null],[bz,null]]},IX.default.createElement(pK.Provider,{value:J6},j.children)))}var IX,y5,bz,v5,VC,h5,b5;var RC=P(()=>{WQ();G6();fO();kV();wC();IR();cK();lK();QW();Uq();R6();RJ();O5();BW();Cz();YW();IX=m(XZ(),1),y5=IX.createContext(null),bz=IX.createContext(null),v5=IX.forwardRef(function(q,z){return IX.useContext(bz)?IX.default.createElement(Av,{props:q,forwardedRef:z}):IX.default.createElement(X6,q)});VC=class VC extends mQ{static{this.type="item"}};h5=Bq(VC,(Q,q,z)=>{let _=IX.useContext(bz),W=_Q(q),{tabProps:K,isSelected:A,isDisabled:L,isPressed:M}=S5({key:z.key,...Q},_,W),{focusProps:I,isFocused:N,isFocusVisible:O}=gQ(),{hoverProps:R,isHovered:j}=xY({isDisabled:L,onHoverStart:Q.onHoverStart,onHoverEnd:Q.onHoverEnd,onHoverChange:Q.onHoverChange}),y=yX({...Q,id:void 0,children:z.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:A,isDisabled:L,isFocused:N,isFocusVisible:O,isPressed:M,isHovered:j}}),f=z.props.href?AX.a:AX.div,b=HX(Q,{global:!0});return delete b.id,delete b.onClick,IX.default.createElement(f,{...CZ(b,y,K,I,R),ref:W,"data-selected":A||void 0,"data-disabled":L||void 0,"data-focused":N||void 0,"data-focus-visible":O||void 0,"data-pressed":M||void 0,"data-hovered":j||void 0},IX.default.createElement(wW.Provider,{value:{isSelected:A}},y.children))}),b5=jJ(function(q,z){let _=IX.useContext(bz),W=_Q(z),K=_.selectedKey===q.id,[A,L]=IX.useState(_.selectedKey!=null?K:null);if(A==null&&_.selectedKey!=null)L(K);else if(!K&&A)L(!1);let M=PW(W,K);if(!K&&!q.shouldForceMount&&!M)return null;return IX.default.createElement(Ov,{...q,tabPanelRef:W,isInitiallySelected:A||!1,isExiting:M})})});var SW,GM,Mv=(Q)=>{let{onHoverStart:q,onHoverChange:z,onHoverEnd:_,...W}=Q;return W},g5;var m5=P(()=>{WQ();RJ();BW();Cz();SW=m(XZ(),1),GM=SW.createContext({}),g5=SW.forwardRef(function(q,z){[q,z]=fX(q,z,GM);let{hoverProps:_,isHovered:W}=xY(q),{isFocused:K,isFocusVisible:A,focusProps:L}=gQ({isTextInput:!0,autoFocus:q.autoFocus}),M=!!q["aria-invalid"]&&q["aria-invalid"]!=="false",I=yX({...q,values:{isHovered:W,isFocused:K,isFocusVisible:A,isDisabled:q.disabled||!1,isInvalid:M},defaultClassName:"react-aria-TextArea"});return SW.default.createElement(AX.textarea,{...CZ(Mv(q),L,_),...I,ref:z,"data-focused":K||void 0,"data-disabled":q.disabled||void 0,"data-hovered":W||void 0,"data-focus-visible":A||void 0,"data-invalid":M||void 0})})});var jC=P(()=>{nj()});var EJ,CC,JB;var PC=P(()=>{WQ();c3();SV();nw();qV();a3();A3();m5();AW();jC();QW();Uq();EJ=m(XZ(),1),CC=EJ.createContext(null),JB=jJ(function(q,z){[q,z]=fX(q,z,CC);let{validationBehavior:_}=Lz(iw)||{},W=q.validationBehavior??_??"native",K=EJ.useRef(null);[q,K]=fX(q,K,$V);let[A,L]=sA(!q["aria-label"]&&!q["aria-labelledby"]),[M,I]=EJ.useState("input"),{labelProps:N,inputProps:O,descriptionProps:R,errorMessageProps:j,...y}=N5({...s2(q),inputElementType:M,label:L,validationBehavior:W},K),f=EJ.useCallback((r)=>{if(K.current=r,r)I(r instanceof HTMLTextAreaElement?"textarea":"input")},[K]),b=yX({...q,values:{isDisabled:q.isDisabled||!1,isInvalid:y.isInvalid,isReadOnly:q.isReadOnly||!1,isRequired:q.isRequired||!1},defaultClassName:"react-aria-TextField"}),a=HX(q,{global:!0});return delete a.id,EJ.default.createElement(AX.div,{...a,...b,ref:z,slot:q.slot||void 0,"data-disabled":q.isDisabled||void 0,"data-invalid":y.isInvalid||void 0,"data-readonly":q.isReadOnly||void 0,"data-required":q.isRequired||void 0},EJ.default.createElement(hQ,{values:[[oA,{...N,ref:A}],[SO,{...O,ref:f}],[GM,{...O,ref:f}],[JV,{role:"presentation",isInvalid:y.isInvalid,isDisabled:q.isDisabled||!1}],[KH,{slots:{description:R,errorMessage:j}}],[uK,y]]},b.children))})});class qB{constructor(Q){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=Q?.maxVisibleToasts??1/0,this.wrapUpdate=Q?.wrapUpdate}runWithWrapUpdate(Q,q){if(this.wrapUpdate)this.wrapUpdate(Q,q);else Q()}subscribe(Q){return this.subscriptions.add(Q),()=>this.subscriptions.delete(Q)}add(Q,q={}){let z="_"+Math.random().toString(36).slice(2),_={...q,content:Q,key:z,timer:q.timeout?new $C(()=>this.close(z),q.timeout):void 0};return this.queue.unshift(_),this.updateVisibleToasts("add"),z}close(Q){let q=this.queue.findIndex((z)=>z.key===Q);if(q>=0)this.queue[q].onClose?.(),this.queue.splice(q,1);this.updateVisibleToasts("remove")}updateVisibleToasts(Q){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let q of this.subscriptions)q()},Q)}pauseAll(){for(let Q of this.visibleToasts)if(Q.timer)Q.timer.pause()}resumeAll(){for(let Q of this.visibleToasts)if(Q.timer)Q.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}}class $C{constructor(Q,q){this.startTime=null,this.remaining=q,this.callback=Q}reset(Q){this.remaining=Q,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 DC,Fv;var SC=P(()=>{DC=m(XZ(),1),Fv=m(t3(),1)});var EC=P(()=>{SC()});var kC=()=>{};var WJ=P(()=>{d3();QC();c3();a3();A3();DR();pj();BC();bV();RC();AW();m5();PC();kC();EC()});var PZ;var u5=P(()=>{WJ();NY();PZ=mZ(Pz,{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-surface-inverted text-fg-inverted hover:bg-neutral-600 hover:shadow-[0_0_5px_0_rgba(0,0,0,0.5)] data-[pressed]:bg-surface-inverted 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"}},defaultVariants:{variant:"primary",size:"md"}})});var DZ=nq((Iv)=>{var gz=m(XZ());(function(){function Q(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===n?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case f:return"Fragment";case a:return"Profiler";case b:return"StrictMode";case UZ:return"Suspense";case xZ:return"SuspenseList";case MZ:return"Activity"}if(typeof w==="object")switch(typeof w.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case y:return"Portal";case JZ:return w.displayName||"Context";case r:return(w._context.displayName||"Context")+".Consumer";case ZZ:var o=w.render;return w=w.displayName,w||(w=o.displayName||o.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case qZ:return o=w.displayName||null,o!==null?o:Q(w.type)||"Memo";case l:o=w._payload,w=w._init;try{return Q(w(o))}catch(OZ){}}return null}function q(w){return""+w}function z(w){try{q(w);var o=!1}catch(vZ){o=!0}if(o){o=console;var OZ=o.error,VZ=typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return OZ.call(o,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",VZ),q(w)}}function _(w){if(w===f)return"<>";if(typeof w==="object"&&w!==null&&w.$$typeof===l)return"<...>";try{var o=Q(w);return o?"<"+o+">":"<...>"}catch(OZ){return"<...>"}}function W(){var w=wZ.A;return w===null?null:w.getOwner()}function K(){return Error("react-stack-top-frame")}function A(w){if(KZ.call(w,"key")){var o=Object.getOwnPropertyDescriptor(w,"key").get;if(o&&o.isReactWarning)return!1}return w.key!==void 0}function L(w,o){function OZ(){u||(u=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",o))}OZ.isReactWarning=!0,Object.defineProperty(w,"key",{get:OZ,configurable:!0})}function M(){var w=Q(this.type);return E[w]||(E[w]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),w=this.props.ref,w!==void 0?w:null}function I(w,o,OZ,VZ,vZ,JX){var IZ=OZ.ref;return w={$$typeof:j,type:w,key:o,props:OZ,_owner:VZ},(IZ!==void 0?IZ:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:M}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:vZ}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:JX}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function N(w,o,OZ,VZ,vZ,JX){var IZ=o.children;if(IZ!==void 0)if(VZ)if(zZ(IZ)){for(VZ=0;VZ<IZ.length;VZ++)O(IZ[VZ]);Object.freeze&&Object.freeze(IZ)}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 O(IZ);if(KZ.call(o,"key")){IZ=Q(w);var YX=Object.keys(o).filter(function(LX){return LX!=="key"});VZ=0<YX.length?"{key: someKey, "+YX.join(": ..., ")+": ...}":"{key: someKey}",p[IZ+VZ]||(YX=0<YX.length?"{"+YX.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
247
|
-
let props = %s;
|
|
248
|
-
<%s {...props} />
|
|
249
|
-
React keys must be passed directly to JSX without using spread:
|
|
250
|
-
let props = %s;
|
|
251
|
-
<%s key={someKey} {...props} />`,VZ,IZ,YX,IZ),p[IZ+VZ]=!0)}if(IZ=null,OZ!==void 0&&(z(OZ),IZ=""+OZ),A(o)&&(z(o.key),IZ=""+o.key),"key"in o){OZ={};for(var TX in o)TX!=="key"&&(OZ[TX]=o[TX])}else OZ=o;return IZ&&L(OZ,typeof w==="function"?w.displayName||w.name||"Unknown":w),I(w,IZ,OZ,W(),vZ,JX)}function O(w){R(w)?w._store&&(w._store.validated=1):typeof w==="object"&&w!==null&&w.$$typeof===l&&(w._payload.status==="fulfilled"?R(w._payload.value)&&w._payload.value._store&&(w._payload.value._store.validated=1):w._store&&(w._store.validated=1))}function R(w){return typeof w==="object"&&w!==null&&w.$$typeof===j}var j=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),r=Symbol.for("react.consumer"),JZ=Symbol.for("react.context"),ZZ=Symbol.for("react.forward_ref"),UZ=Symbol.for("react.suspense"),xZ=Symbol.for("react.suspense_list"),qZ=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),MZ=Symbol.for("react.activity"),n=Symbol.for("react.client.reference"),wZ=gz.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,KZ=Object.prototype.hasOwnProperty,zZ=Array.isArray,h=console.createTask?console.createTask:function(){return null};gz={react_stack_bottom_frame:function(w){return w()}};var u,E={},g=gz.react_stack_bottom_frame.bind(gz,K)(),e=h(_(K)),p={};Iv.Fragment=f,Iv.jsxDEV=function(w,o,OZ,VZ){var vZ=1e4>wZ.recentlyCreatedOwnerStacks++;return N(w,o,OZ,VZ,vZ?Error("react-stack-top-frame"):g,vZ?h(_(w)):e)}})()});var EW,Tv,HY=({label:Q,description:q,errorMessage:z,placeholder:_,size:W,...K})=>EW.jsxDEV(JB,{...K,className:"flex w-full flex-col gap-2",children:[EW.jsxDEV(Oz,{className:"text-heading5 font-medium text-fg",children:Q},void 0,!1,void 0,this),EW.jsxDEV(Tv,{placeholder:_,fieldSize:W},void 0,!1,void 0,this),q?EW.jsxDEV(QG,{slot:"description",className:"text-xs text-fg-muted",children:q},void 0,!1,void 0,this):null,EW.jsxDEV(OW,{className:"text-xs text-danger",children:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var hC=P(()=>{WJ();NY();EW=m(DZ(),1),Tv=mZ(EO,{displayName:"InputControl",baseClass:"w-full rounded-lg border border-border bg-surface-card px-4 text-sm 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]:opacity-50 data-[disabled]:pointer-events-none",variants:{fieldSize:{sm:"h-8",md:"h-10",lg:"h-12"}},defaultVariants:{fieldSize:"md"}})});var kW,wv,HM=({label:Q,description:q,errorMessage:z,placeholder:_,rows:W,...K})=>kW.jsxDEV(JB,{...K,className:"flex w-full flex-col gap-2",children:[kW.jsxDEV(Oz,{className:"text-sm font-medium text-fg",children:Q},void 0,!1,void 0,this),kW.jsxDEV(wv,{placeholder:_,rows:W},void 0,!1,void 0,this),q?kW.jsxDEV(QG,{slot:"description",className:"text-xs text-fg-muted",children:q},void 0,!1,void 0,this):null,kW.jsxDEV(OW,{className:"text-xs text-danger",children:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var bC=P(()=>{WJ();NY();kW=m(DZ(),1),wv=mZ(g5,{displayName:"TextAreaControl",baseClass:"min-h-[120px] w-full resize-y rounded-lg border border-border bg-surface-card px-4 py-3 text-sm 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]:opacity-50 data-[disabled]:pointer-events-none"})});var gC;var mC=P(()=>{gC=m(DZ(),1)});var Vv;var fC=P(()=>{Vv=m(DZ(),1)});var Rv;var uC=P(()=>{Rv=m(DZ(),1)});var jv,aYZ,oYZ;var dC=P(()=>{WJ();NY();jv=m(DZ(),1),aYZ=mZ(Pz,{displayName:"SelectTrigger",baseClass:"flex min-h-[58px] w-full items-center justify-between gap-2.5 rounded-lg bg-surface-card p-5 text-sm text-fg outline-none transition-colors data-[hovered]:bg-surface-muted data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring group-data-[invalid]:ring-2 group-data-[invalid]:ring-danger data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),oYZ=mZ(ZB,{displayName:"SelectItem",baseClass:"flex cursor-pointer select-none items-center rounded-md px-5 text-sm text-fg outline-none data-[focused]:bg-surface-muted data-[selected]:font-medium data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"})});var cC,QQZ,JQZ;var pC=P(()=>{WJ();NY();cC=m(DZ(),1),QQZ=mZ(JM,{displayName:"DialogOverlay",baseClass:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-[rgba(179,179,179,0.5)] backdrop-blur-[2px] data-[entering]:animate-in data-[exiting]:animate-out"}),JQZ=mZ(D5,{displayName:"DialogModal",baseClass:"rounded-lg bg-surface p-5 outline-none shadow-[0px_2px_8px_0px_rgba(0,0,0,0.06)]"})});var Pv,zQZ,_QZ;var lC=P(()=>{WJ();NY();Pv=m(DZ(),1),zQZ=mZ(vz,{displayName:"DropdownMenuItem",baseClass:"flex cursor-pointer select-none items-center gap-2.5 rounded-md px-4 py-3 text-sm 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"}}}),_QZ=mZ(U6,{displayName:"DropdownMenuSeparator",baseClass:"my-2 h-px border-0 bg-border"})});var zM,iC,BQZ;var nC=P(()=>{WJ();NY();zM=m(XZ(),1),iC=m(DZ(),1),BQZ=mZ(vz,{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 Dv;var c5=P(()=>{Dv=m(DZ(),1)});var sC,IQZ;var aC=P(()=>{WJ();sC=m(DZ(),1),IQZ=new qB({maxVisibleToasts:5})});var RQZ,jQZ;var oC=P(()=>{WJ();NY();RQZ=mZ(w5,{displayName:"Disclosure"}),jQZ=mZ(V5,{displayName:"DisclosurePanel"})});var $QZ,SQZ,EQZ;var rC=P(()=>{WJ();NY();$QZ=mZ(v5,{displayName:"TabList",baseClass:"flex gap-2 border-b border-border"}),SQZ=mZ(h5,{displayName:"Tab",baseClass:"cursor-pointer select-none border-b-2 border-transparent px-4 py-3 text-sm 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"}),EQZ=mZ(b5,{displayName:"TabPanel",baseClass:"py-4 text-sm text-fg outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring"})});var $v;var tC=P(()=>{u5();$v=m(DZ(),1)});var Sv;var eC=P(()=>{Sv=m(DZ(),1)});var bQZ,gQZ;var ZP=P(()=>{NY();bQZ=mZ("span",{displayName:"Text",baseClass:"text-fg",variants:{size:{micro:"text-micro",caption:"text-caption",label:"text-label",compact:"text-compact",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-semibold",bold:"font-bold"},tone:{default:"text-fg",muted:"text-fg-muted",subtle:"text-fg-subtle",inverted:"text-fg-inverted"}},defaultVariants:{size:"body",weight:"regular",tone:"default"}}),gQZ=mZ("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 Ev;var XP=P(()=>{c5();Ev=m(DZ(),1)});var lQZ;var YP=P(()=>{NY();lQZ=mZ("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 sQZ;var QP=P(()=>{NY();sQZ=mZ("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 rQZ;var JP=P(()=>{NY();rQZ=mZ("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 qP,kv,ZJZ,XJZ,YJZ;var GP=P(()=>{NY();qP=m(XZ(),1),kv=m(DZ(),1),ZJZ=mZ("div",{displayName:"AppShell",baseClass:"grid h-screen w-full overflow-hidden bg-surface grid-rows-[100%] grid-cols-[1fr] md:grid-cols-[auto_1fr]"}),XJZ=mZ("aside",{displayName:"AppShell.Sidebar",baseClass:"h-full w-64 shrink-0 overflow-y-auto border-r border-border bg-surface"}),YJZ=mZ("main",{displayName:"AppShell.Main",baseClass:"min-w-0 flex-1 bg-surface px-6 pb-6 pt-6"})});var HP,xv,yv,vv,hv=(Q)=>HP.jsxDEV(vv,{...Q},void 0,!1,void 0,this),bv,gv,HJZ,zJZ,_JZ;var zP=P(()=>{WJ();NY();HP=m(DZ(),1),xv=mZ("header",{displayName:"Topbar",baseClass:"flex h-14 w-full items-center gap-5 border-b border-border"}),yv=mZ("div",{displayName:"Topbar.Brand",baseClass:"flex min-w-0 items-center gap-3 text-compact leading-4 font-medium tracking-tight text-fg"}),vv=mZ("nav",{displayName:"Topbar.Nav",baseClass:"ml-auto flex min-w-0 items-center gap-2 overflow-x-auto"}),bv=mZ("div",{displayName:"Topbar.Actions",baseClass:"ml-auto flex items-center gap-4"}),gv=mZ("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"]}),HJZ=mZ(ZB,{displayName:"WorkspaceSwitcher.Item",baseClass:"flex cursor-pointer select-none items-center rounded-sm px-3 py-2 text-sm text-fg outline-none data-[focused]:bg-surface-muted data-[selected]:font-medium"}),zJZ=mZ(vz,{displayName:"UserMenu.Item",baseClass:"flex cursor-pointer select-none items-center rounded-sm px-3 py-2 text-sm text-fg outline-none data-[focused]:bg-surface-muted data-[disabled]:opacity-50 data-[disabled]:pointer-events-none"}),_JZ=Object.assign(xv,{Brand:yv,Nav:hv,NavLink:gv,Actions:bv})});var mv,fv,KJZ;var _P=P(()=>{NY();mv=m(XZ(),1),fv=m(DZ(),1),KJZ=mZ("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 Oq=P(()=>{NY();u5();hC();bC();mC();fC();uC();dC();pC();lC();nC();c5();aC();oC();rC();tC();eC();ZP();XP();YP();QP();JP();GP();zP();_P()});function _M(Q){try{let q=String(Q).split(".")[1];if(!q)return!1;let z=JSON.parse(atob(q.replace(/-/g,"+").replace(/_/g,"/")));return typeof z.exp==="number"&&Date.now()>=z.exp*1000}catch{return!1}}function WP(){try{let Q=localStorage.getItem(p5);if(Q)return JSON.parse(Q)}catch{}return{baseUrl:"http://localhost:8787",token:"",tenant:"main"}}function UP(Q){localStorage.setItem(p5,JSON.stringify(Q))}function KP(){try{localStorage.removeItem(p5)}catch{}}class l5{cfg;onExpired;constructor(Q,q){this.cfg=Q;this.onExpired=q}setConfig(Q){this.cfg=Q}base(){return this.cfg.baseUrl.replace(/\/+$/,"")}async call(Q,q){if(this.onExpired&&this.cfg.token&&_M(this.cfg.token))return this.onExpired(),new Promise(()=>{});let z=await fetch(`${this.base()}/rpc/${Q}`,{method:"POST",headers:{"content-type":"application/json","x-pramen-tenant":this.cfg.tenant||"main",...this.cfg.token?{authorization:`Bearer ${this.cfg.token}`}:{}},body:JSON.stringify(q??{})}),_;try{_=await z.json()}catch{throw new xW(`non-JSON response (HTTP ${z.status})`,"bad_response",z.status)}if(_.ok!==!0){let W=_.error??`request failed (HTTP ${z.status})`,K=z.status===403?" — check your token has an editor/reviewer role":"";throw new xW(W+K,_.code??"error",z.status)}return _.result}async put(Q,q,z){let _=Q.startsWith("http")?Q:`${this.base()}${Q}`,W=await fetch(_,{method:"PUT",headers:{"content-type":z},body:q});if(!W.ok)throw new xW(`upload failed (HTTP ${W.status})`,"upload_failed",W.status)}resolve(Q){return Q.startsWith("http")?Q:`${this.base()}${Q}`}listBlockTypes=()=>this.call("listBlockTypes");listContentTypes=()=>this.call("listContentTypes");getContentType=(Q)=>this.call("getContentType",{id:Q});listPages=()=>this.call("listPages");getPagePreview=(Q,q)=>this.call("getPage",{slug:Q,locale:q,preview:!0});listPageAudit=(Q)=>this.call("listPageAudit",{pageId:Q});listMedia=(Q=50,q=0)=>this.call("listMedia",{limit:Q,offset:q});getMedia=(Q)=>this.call("getMedia",{id:Q});updateMedia=(Q,q)=>this.call("updateMedia",{id:Q,alt:q});deleteMedia=(Q)=>this.call("deleteMedia",{id:Q});async uploadMedia(Q){let q=Q.type||"application/octet-stream",z=await this.call("signMediaUpload",{contentType:q,filename:Q.name});return await this.put(z.url,await Q.arrayBuffer(),q),this.call("createMedia",{ref:z.ref,alt:Q.name})}}var xW,p5="pramen.cmsEditor";var i5=P(()=>{xW=class xW extends Error{code;status;constructor(Q,q,z){super(Q);this.code=q;this.status=z;this.name="ApiError"}}});function n5(){KP(),location.replace(GB)}function uY(){let Q=eY.use(BP);if(!Q)throw Error("useApp must be used within <AppProvider>");return Q}function LP({children:Q}){let[q,z]=eY.useState(WP()),[_,W]=eY.useState(null),[K,A]=eY.useState([]),[L,M]=eY.useState(""),I=Boolean(q.baseUrl&&q.token)&&!_M(q.token),N=eY.useMemo(()=>new l5(q,GB?n5:void 0),[q]);if(eY.useEffect(()=>{if(!GB)return;let R=()=>{if(!q.token||_M(q.token))n5()};R();let j=()=>{if(!document.hidden)R()},y=window.setInterval(R,30000);return window.addEventListener("visibilitychange",j),window.addEventListener("focus",R),()=>{window.clearInterval(y),window.removeEventListener("visibilitychange",j),window.removeEventListener("focus",R)}},[q.token]),eY.useEffect(()=>{if(!I)return;N.call("me").then(W).catch(()=>W({})),N.call("listCollections").then(A).catch(()=>A([]))},[N,I]),!I)return GB?null:AQ.jsxDEV(uv,{cfg:q,onSave:(R)=>{UP(R),z(R)}},void 0,!1,void 0,this);let O={api:N,cfg:q,me:_,isAdmin:(_?.roles??[]).includes("admin"),collections:K,error:L,setError:M,reconfigure:()=>{if(GB){n5();return}W(null),M(""),z({...q,token:""})}};return AQ.jsxDEV(BP,{value:O,children:Q},void 0,!1,void 0,this)}function uv({cfg:Q,onSave:q}){let[z,_]=eY.useState(Q);return AQ.jsxDEV("div",{className:"mx-auto mt-[14vh] w-full max-w-[520px] px-6",children:AQ.jsxDEV("div",{className:"rounded-panel border border-border bg-surface-card px-10 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.08)]",children:[AQ.jsxDEV("h1",{className:"mb-4 text-display text-fg",children:["pramen ",AQ.jsxDEV("span",{className:"text-fg-subtle",children:"· cms editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),AQ.jsxDEV("p",{className:"mb-6 text-sm text-fg-muted",children:["Point at your Worker and paste an editor/reviewer JWT. CORS must allow this origin (",AQ.jsxDEV("code",{children:"CORS_ORIGINS"},void 0,!1,void 0,this),")."]},void 0,!0,void 0,this),AQ.jsxDEV("div",{className:"flex flex-col gap-4",children:[AQ.jsxDEV(HY,{label:"Worker base URL",value:z.baseUrl,onChange:(W)=>_({...z,baseUrl:W}),placeholder:"https://your-worker.workers.dev"},void 0,!1,void 0,this),AQ.jsxDEV(HY,{label:"Tenant",value:z.tenant,onChange:(W)=>_({...z,tenant:W}),placeholder:"main"},void 0,!1,void 0,this),AQ.jsxDEV(HY,{label:"Bearer token (editor or reviewer)",value:z.token,onChange:(W)=>_({...z,token:W}),placeholder:"eyJ…"},void 0,!1,void 0,this),AQ.jsxDEV(PZ,{className:"mt-2 w-full",onPress:()=>q(z),isDisabled:!z.baseUrl||!z.token,children:"Connect"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var eY,AQ,GB,BP;var Mq=P(()=>{Oq();i5();eY=m(XZ(),1),AQ=m(DZ(),1),GB=typeof window<"u"&&!new URLSearchParams(window.location.search).has("setup")?window.PRAMEN_CMS_EDITOR?.signInUrl:void 0;BP=eY.createContext(null)});function yW({label:Q,children:q}){return NZ.jsxDEV("label",{className:"flex w-full flex-col gap-2",children:[NZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:Q},void 0,!1,void 0,this),q]},void 0,!0,void 0,this)}function vW({schema:Q,value:q,onChange:z,api:_}){let W=(K,A)=>z({...q,[K]:A});return NZ.jsxDEV("div",{className:"flex flex-col gap-4",children:Q.map((K)=>NZ.jsxDEV(dv,{def:K,value:q[K.name],onChange:(A)=>W(K.name,A),api:_},K.name,!1,void 0,this))},void 0,!1,void 0,this)}function dv({def:Q,value:q,onChange:z,api:_}){let W=NZ.jsxDEV(NZ.Fragment,{children:[Q.label??Q.name," ",Q.required?NZ.jsxDEV("span",{className:"text-danger",children:"*"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this);switch(Q.type){case"text":case"url":return NZ.jsxDEV(HY,{label:W,value:q??"",onChange:z,placeholder:Q.type==="url"?"https://…":""},void 0,!1,void 0,this);case"textarea":return NZ.jsxDEV(HM,{label:W,value:typeof q==="string"?q:q==null?"":JSON.stringify(q),onChange:z},void 0,!1,void 0,this);case"richtext":return NZ.jsxDEV(yW,{label:W,children:NZ.jsxDEV(lv,{value:typeof q==="string"?q:"",onChange:z},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"number":return NZ.jsxDEV(yW,{label:W,children:NZ.jsxDEV("input",{className:a5,type:"number",value:q==null?"":String(q),onChange:(K)=>z(K.target.value===""?null:Number(K.target.value))},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"date":case"datetime":return NZ.jsxDEV(yW,{label:W,children:NZ.jsxDEV("input",{className:a5,type:Q.type==="date"?"date":"datetime-local",value:q??"",onChange:(K)=>z(K.target.value||null)},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"boolean":return NZ.jsxDEV("label",{className:"flex items-center gap-2",children:[NZ.jsxDEV("input",{type:"checkbox",checked:Boolean(q),onChange:(K)=>z(K.target.checked)},void 0,!1,void 0,this),NZ.jsxDEV("span",{className:"text-sm text-fg",children:Q.label??Q.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"select":return NZ.jsxDEV(yW,{label:W,children:NZ.jsxDEV(nv,{def:Q,value:q,onChange:z,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"media":return NZ.jsxDEV(yW,{label:W,children:NZ.jsxDEV(sv,{value:q,onChange:z,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"group":return NZ.jsxDEV(yW,{label:W,children:NZ.jsxDEV("div",{className:"rounded-lg border border-border bg-surface-muted p-3.5",children:NZ.jsxDEV(vW,{schema:Q.fields??[],value:q??{},onChange:z,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"repeater":return NZ.jsxDEV(iv,{def:Q,value:q??[],onChange:z,api:_,label:W},void 0,!1,void 0,this);default:return null}}function pv(Q){let q=Q.trim();return/^(https?:\/\/|mailto:|tel:|\/|#)/i.test(q)?q:null}function AP(Q){return Q.replace(/<\s*(script|style)[^>]*>[\s\S]*?<\s*\/\s*\1\s*>/gi,"").replace(/\son\w+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi,"").replace(/(href|src)\s*=\s*("javascript:[^"]*"|'javascript:[^']*')/gi,'$1="#"')}function lv({value:Q,onChange:q}){let z=ZQ.useRef(null),_=ZQ.useRef("");ZQ.useEffect(()=>{let L=z.current;if(L&&Q!==_.current)L.innerHTML=AP(Q||""),_.current=Q||""},[Q]);let W=()=>{let L=AP(z.current?.innerHTML??"");_.current=L,q(L)},K=(L,M)=>{z.current?.focus(),document.execCommand(L,!1,M),W()},A=(L)=>{L.preventDefault(),document.execCommand("insertText",!1,L.clipboardData.getData("text/plain"))};return NZ.jsxDEV("div",{className:"overflow-hidden rounded-lg border border-border bg-surface-card",children:[NZ.jsxDEV("div",{className:"flex flex-wrap gap-0.5 border-b border-border bg-surface-muted px-2 py-1.5",children:cv.map((L)=>NZ.jsxDEV("button",{type:"button",className:"rounded border-0 bg-transparent px-2.5 py-0.5 text-xs text-fg-muted hover:bg-surface-card hover:text-fg",title:L.title,onMouseDown:(M)=>M.preventDefault(),onClick:()=>L.run(K),children:L.label},L.label,!1,void 0,this))},void 0,!1,void 0,this),NZ.jsxDEV("div",{ref:z,className:"prose prose-sm min-h-[180px] max-w-none px-4 py-3.5 text-sm leading-relaxed text-fg outline-none empty:before:text-fg-subtle empty:before:content-[attr(data-placeholder)]",contentEditable:!0,suppressContentEditableWarning:!0,"data-placeholder":"Write…",onInput:W,onBlur:W,onPaste:A},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function iv({def:Q,value:q,onChange:z,api:_,label:W}){let K=Array.isArray(q)?q:[],A=(N,O)=>z(K.map((R,j)=>j===N?O:R)),L=()=>z([...K,{}]),M=(N)=>z(K.filter((O,R)=>R!==N)),I=(N,O)=>{let R=N+O;if(R<0||R>=K.length)return;let j=K.slice();[j[N],j[R]]=[j[R],j[N]],z(j)};return NZ.jsxDEV("div",{className:"flex flex-col gap-2",children:[NZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:W},void 0,!1,void 0,this),K.map((N,O)=>NZ.jsxDEV("div",{className:"rounded-lg border border-border bg-surface-muted p-3.5",children:[NZ.jsxDEV("div",{className:"mb-2 flex justify-end gap-1",children:[NZ.jsxDEV(PZ,{variant:"ghost",size:"sm",onPress:()=>I(O,-1),children:"↑"},void 0,!1,void 0,this),NZ.jsxDEV(PZ,{variant:"ghost",size:"sm",onPress:()=>I(O,1),children:"↓"},void 0,!1,void 0,this),NZ.jsxDEV(PZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:()=>M(O),children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),NZ.jsxDEV(vW,{schema:Q.fields??[],value:N,onChange:(R)=>A(O,R),api:_},void 0,!1,void 0,this)]},O,!0,void 0,this)),NZ.jsxDEV(PZ,{variant:"secondary",size:"sm",className:"self-start",onPress:L,isDisabled:Q.max!=null&&K.length>=Q.max,children:["+ add ",Q.label??Q.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function nv({def:Q,value:q,onChange:z,api:_}){let[W,K]=ZQ.useState(null),A=Q.optionsFrom;ZQ.useEffect(()=>{if(!A)return;let I=!0;return _.call(A).then((N)=>{if(I)K(Array.isArray(N)?N:[])}).catch(()=>{if(I)K([])}),()=>{I=!1}},[A,_]);let L=Boolean(A)&&W===null,M=A?W??[]:(Q.options??[]).map((I)=>({value:I,label:I}));return NZ.jsxDEV("select",{className:a5,value:q??"",onChange:(I)=>z(I.target.value||null),children:[NZ.jsxDEV("option",{value:"",children:L?"Načítám…":"—"},void 0,!1,void 0,this),M.map((I)=>NZ.jsxDEV("option",{value:I.value,children:I.label},I.value,!1,void 0,this))]},void 0,!0,void 0,this)}function sv({value:Q,onChange:q,api:z}){let[_,W]=ZQ.useState(!1),[K,A]=ZQ.useState(null);return ZQ.useEffect(()=>{if(Q)z.call("getMedia",{id:Q}).then(A).catch(()=>A(null));else A(null)},[Q,z]),NZ.jsxDEV("div",{children:[NZ.jsxDEV("div",{className:"flex items-center gap-3 rounded-[14px] border border-transparent bg-surface-card px-[18px] py-3.5",children:[K?NZ.jsxDEV("img",{className:"h-10 w-10 rounded object-cover",src:z.resolve(`/media/${K.file.key}`),alt:""},void 0,!1,void 0,this):NZ.jsxDEV("span",{className:"text-fg-subtle",children:"no media"},void 0,!1,void 0,this),NZ.jsxDEV("span",{className:"flex-1 truncate text-fg-subtle",children:K?.file.filename??Q??""},void 0,!1,void 0,this),NZ.jsxDEV(PZ,{variant:"secondary",size:"sm",onPress:()=>W(!0),children:"pick"},void 0,!1,void 0,this),Q?NZ.jsxDEV(PZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:()=>q(null),children:"clear"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),_?NZ.jsxDEV(av,{api:z,onClose:()=>W(!1),onPick:(L)=>{q(L),W(!1)}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function av({api:Q,onClose:q,onPick:z}){let[_,W]=ZQ.useState([]),[K,A]=ZQ.useState(!1),[L,M]=ZQ.useState(""),I=()=>Q.listMedia().then(W).catch((O)=>M(String(O.message??O)));ZQ.useEffect(()=>{I()},[]);let N=async(O)=>{A(!0),M("");try{let R=await Q.uploadMedia(O);z(R.id)}catch(R){M(String(R.message??R))}finally{A(!1)}};return NZ.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-[rgba(20,15,5,0.28)] p-6",onClick:q,children:NZ.jsxDEV("div",{className:"max-h-[86vh] w-full max-w-[680px] overflow-auto rounded-panel border border-border bg-surface-card px-9 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.12)]",onClick:(O)=>O.stopPropagation(),children:[NZ.jsxDEV("h2",{className:"mb-5 text-[28px] font-normal text-fg",children:["Choose ",NZ.jsxDEV("span",{className:"text-fg-subtle",children:"a file"},void 0,!1,void 0,this)," from the library"]},void 0,!0,void 0,this),L?NZ.jsxDEV("div",{className:"my-2 rounded-lg border border-danger bg-surface-card px-3.5 py-2.5 text-[13px] text-danger",children:L},void 0,!1,void 0,this):null,NZ.jsxDEV("label",{className:"mb-4 flex w-full flex-col gap-2",children:[NZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:"Upload a new file"},void 0,!1,void 0,this),NZ.jsxDEV("input",{type:"file",className:"text-sm text-fg-muted",disabled:K,onChange:(O)=>O.target.files?.[0]&&N(O.target.files[0])},void 0,!1,void 0,this)]},void 0,!0,void 0,this),NZ.jsxDEV("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(180px,1fr))] gap-2.5",children:_.map((O)=>NZ.jsxDEV("div",{className:"cursor-pointer overflow-hidden rounded-lg border border-border bg-surface-card",onClick:()=>z(O.id),children:[(O.file.contentType??"").startsWith("image/")?NZ.jsxDEV("img",{className:"block h-[130px] w-full object-cover",src:Q.resolve(`/media/${O.file.key}`),alt:""},void 0,!1,void 0,this):NZ.jsxDEV("div",{className:"h-[130px] bg-surface-muted"},void 0,!1,void 0,this),NZ.jsxDEV("div",{className:"truncate px-2 py-1.5 text-[11px] text-fg-muted",children:O.file.filename??O.id},void 0,!1,void 0,this)]},O.id,!0,void 0,this))},void 0,!1,void 0,this),NZ.jsxDEV("div",{className:"mt-3 text-right",children:NZ.jsxDEV(PZ,{variant:"ghost",onPress:q,children:"close"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var ZQ,NZ,a5="h-10 w-full rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none transition-colors placeholder:text-fg-muted focus:border-brand-green",cv;var OP=P(()=>{Oq();ZQ=m(XZ(),1),NZ=m(DZ(),1);cv=[{label:"B",title:"Bold",run:(Q)=>Q("bold")},{label:"I",title:"Italic",run:(Q)=>Q("italic")},{label:"H2",title:"Heading",run:(Q)=>Q("formatBlock","H2")},{label:"H3",title:"Subheading",run:(Q)=>Q("formatBlock","H3")},{label:"¶",title:"Paragraph",run:(Q)=>Q("formatBlock","P")},{label:"• List",title:"Bulleted list",run:(Q)=>Q("insertUnorderedList")},{label:"1. List",title:"Numbered list",run:(Q)=>Q("insertOrderedList")},{label:"Link",title:"Add link",run:(Q)=>{let q=window.prompt("Link URL (https://, mailto:, /path)","https://");if(!q)return;let z=pv(q);if(!z){window.alert("Only http(s), mailto, tel, or relative (/, #) links are allowed.");return}Q("createLink",z)}},{label:"Unlink",title:"Remove link",run:(Q)=>Q("unlink")},{label:"Clear",title:"Clear formatting",run:(Q)=>Q("removeFormat")}]});function zB({lead:Q,em:q,children:z}){return C.jsxDEV("div",{className:"mx-auto grid max-w-[1200px] grid-cols-[1fr_auto] items-center gap-6 px-7 pb-6 pt-8 max-[820px]:grid-cols-1",children:[C.jsxDEV("h1",{className:"m-0 text-[56px] font-normal leading-[1.05] tracking-[-0.01em] max-[820px]:text-[40px]",children:[C.jsxDEV("span",{className:"block text-fg-subtle",children:Q},void 0,!1,void 0,this),C.jsxDEV("span",{className:"block text-fg",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z]},void 0,!0,void 0,this)}function WM({text:Q,em:q,children:z}){return C.jsxDEV("div",{className:"flex min-w-[360px] items-center gap-4 rounded-full bg-brand-green py-3 pl-7 pr-3 max-[820px]:min-w-0",children:[C.jsxDEV("span",{className:"text-lg text-[#0f3a25]",children:[Q," ",C.jsxDEV("span",{className:"font-semibold",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z]},void 0,!0,void 0,this)}function Fq({children:Q}){return C.jsxDEV("div",{className:"mb-2 mt-[18px] text-sm text-fg-subtle first:mt-0",children:Q},void 0,!1,void 0,this)}function fz({status:Q,children:q}){return C.jsxDEV("span",{className:`inline-block whitespace-nowrap rounded-full border px-2.5 py-0.5 text-[11px] font-medium ${Q==="published"||Q==="active"?"bg-brand-green text-[#0f3a25] border-transparent":Q==="in_review"||Q==="review"?"bg-accent-yellow text-[#4a3512] border-transparent":Q==="rejected"||Q==="archived"||Q==="inactive"?"border-danger text-danger bg-surface-card":"border-border text-fg-muted bg-surface-card"}`,children:q},void 0,!1,void 0,this)}function r5({onClose:Q,wide:q,children:z}){return C.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-[rgba(20,15,5,0.28)] p-6",onClick:Q,children:C.jsxDEV("div",{className:`max-h-[86vh] w-full overflow-auto rounded-panel border border-border bg-surface-card px-9 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.12)] ${q?"max-w-[680px]":"max-w-[520px]"}`,onClick:(_)=>_.stopPropagation(),children:z},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function t5({children:Q}){return C.jsxDEV("h2",{className:"mb-5 text-[28px] font-normal leading-[1.15] text-fg",children:Q},void 0,!1,void 0,this)}function UM({children:Q,className:q}){return C.jsxDEV("div",{className:`grid grid-cols-[auto_1fr] gap-x-3.5 gap-y-2 text-[13px] text-fg-muted [&>span:nth-child(odd)]:text-fg-subtle ${q??""}`,children:Q},void 0,!1,void 0,this)}function IP({children:Q}){return C.jsxDEV("div",{className:"overflow-auto rounded-panel border border-border bg-surface-card p-6",children:Q},void 0,!1,void 0,this)}function _B({ok:Q,children:q}){return C.jsxDEV("div",{className:`my-2 rounded-lg border px-3.5 py-2.5 text-[13px] ${Q?"border-brand-green bg-brand-green/20 text-[#0f3a25]":"border-danger bg-surface-card text-danger"}`,children:q},void 0,!1,void 0,this)}function TP({api:Q,pages:q,blockTypes:z,onOpen:_,onCreated:W,onError:K}){let[A,L]=HZ.useState(!1);return C.jsxDEV(C.Fragment,{children:[C.jsxDEV(zB,{lead:"Pages",em:q.length===0?"None yet":q.length===1?"1 page total":`${q.length} pages total`,children:C.jsxDEV(WM,{text:"Let's",em:"create something",children:C.jsxDEV(PZ,{className:"shrink-0",onPress:()=>L(!0),children:"+ New page"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),C.jsxDEV("div",{className:hW,children:C.jsxDEV("div",{className:"flex flex-col gap-2",children:[q.map((M)=>C.jsxDEV("div",{className:`${mz} cursor-pointer hover:bg-surface-muted`,onClick:()=>_(M),children:[C.jsxDEV("span",{className:"flex-1 truncate font-medium",children:M.title},void 0,!1,void 0,this),C.jsxDEV("span",{className:"text-fg-subtle",children:["/",M.slug]},void 0,!0,void 0,this),C.jsxDEV("span",{className:"text-fg-subtle",children:M.locale},void 0,!1,void 0,this),C.jsxDEV(fz,{status:M.status,children:M.status},void 0,!1,void 0,this)]},M.id,!0,void 0,this)),q.length===0?C.jsxDEV("p",{className:"text-fg-subtle",children:["No pages yet. ",z.length===0?"Define block types + a content type first (via the API/admin).":"Create one."]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),A?C.jsxDEV(ov,{api:Q,onClose:()=>L(!1),onCreated:()=>{L(!1),W()},onError:K},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function ov({api:Q,onClose:q,onCreated:z,onError:_}){let[W,K]=HZ.useState([]),[A,L]=HZ.useState(""),[M,I]=HZ.useState(""),[N,O]=HZ.useState("");HZ.useEffect(()=>{Q.listContentTypes().then((j)=>{if(K(j),j[0])L(j[0].id)}).catch((j)=>_(WX(j)))},[Q,_]);let R=async()=>{try{await Q.call("createPage",{typeId:A,title:M,slug:N||NP(M)}),z()}catch(j){_(WX(j))}};return C.jsxDEV(r5,{onClose:q,children:[C.jsxDEV(t5,{children:["Create a ",C.jsxDEV(HB,{children:"new page"},void 0,!1,void 0,this)," and define the essentials",C.jsxDEV(HB,{children:"."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),C.jsxDEV("div",{className:"flex flex-col gap-4",children:[C.jsxDEV("div",{className:"flex w-full flex-col gap-2",children:[C.jsxDEV("span",{className:"text-sm font-medium text-fg",children:"Content type"},void 0,!1,void 0,this),C.jsxDEV("div",{className:"flex flex-wrap gap-2",children:W.map((j)=>C.jsxDEV("button",{type:"button",onClick:()=>L(j.id),className:`rounded-lg border px-4 py-2.5 text-sm font-medium transition-colors ${A===j.id?"border-brand-green bg-surface-muted text-fg":"border-border bg-surface-card text-fg-muted hover:border-fg-subtle hover:text-fg"}`,children:j.name},j.id,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),C.jsxDEV(HY,{label:"Title",value:M,onChange:I},void 0,!1,void 0,this),C.jsxDEV(HY,{label:"Slug",value:N,onChange:O,placeholder:NP(M)},void 0,!1,void 0,this),C.jsxDEV("div",{className:"mt-2 flex justify-end gap-2",children:[C.jsxDEV(PZ,{variant:"ghost",onPress:q,children:"cancel"},void 0,!1,void 0,this),C.jsxDEV(PZ,{onPress:R,isDisabled:!A||!M,children:"Create"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function MP(Q){if(Q==null)return"";if(typeof Q==="boolean")return Q?"yes":"no";if(Array.isArray(Q))return Q.length===1?"1 item":`${Q.length} items`;if(typeof Q==="object")return"—";return String(Q)}function wP({api:Q,def:q,onOpen:z,onNew:_,onError:W}){let[K,A]=HZ.useState([]),[L,M]=HZ.useState(!0);HZ.useEffect(()=>{let N=!0;return M(!0),Q.call("collectionList",{collection:q.slug}).then((O)=>{if(N)A(O)}).catch((O)=>W(WX(O))).finally(()=>{if(N)M(!1)}),()=>{N=!1}},[Q,q.slug,W]);let I=(N)=>q.fields.find((O)=>O.name===N)?.label??N;return C.jsxDEV(C.Fragment,{children:[C.jsxDEV(zB,{lead:q.pluralLabel,em:K.length===0?"None yet":K.length===1?`1 ${q.label.toLowerCase()}`:`${K.length} ${q.pluralLabel.toLowerCase()}`,children:C.jsxDEV(WM,{text:"Let's",em:`add a ${q.label.toLowerCase()}`,children:C.jsxDEV(PZ,{className:"shrink-0",onPress:_,children:["+ New ",q.label.toLowerCase()]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),C.jsxDEV("div",{className:hW,children:C.jsxDEV("div",{className:"flex flex-col gap-2",children:[K.map((N)=>{let O=String(N[q.idField]??""),[R,...j]=q.list;return C.jsxDEV("div",{className:`${mz} cursor-pointer hover:bg-surface-muted`,onClick:()=>z(O),children:[C.jsxDEV("span",{className:"flex-1 truncate font-medium",children:MP(N[R??q.titleField])||C.jsxDEV(HB,{children:"untitled"},void 0,!1,void 0,this)},void 0,!1,void 0,this),j.map((y)=>C.jsxDEV("span",{className:"truncate text-fg-subtle",title:I(y),children:MP(N[y])},y,!1,void 0,this))]},O,!0,void 0,this)}),!L&&K.length===0?C.jsxDEV("p",{className:"text-fg-subtle",children:["No ",q.pluralLabel.toLowerCase()," yet. Create one."]},void 0,!0,void 0,this):null,L?C.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function VP({api:Q,def:q,id:z,onSaved:_,onDeleted:W,onBack:K,onError:A}){let L=z===null,[M,I]=HZ.useState({}),[N,O]=HZ.useState(!L),[R,j]=HZ.useState(!1),[y,f]=HZ.useState(!1),[b,a]=HZ.useState(!1);HZ.useEffect(()=>{if(L){I({});return}let ZZ=!0;return O(!0),j(!1),Q.call("collectionGet",{collection:q.slug,id:z}).then((UZ)=>{if(!ZZ)return;if(UZ)I(UZ);else j(!0)}).catch((UZ)=>A(WX(UZ))).finally(()=>{if(ZZ)O(!1)}),()=>{ZZ=!1}},[Q,q.slug,z,L,A]);let r=async()=>{f(!0);try{if(L)await Q.call("collectionCreate",{collection:q.slug,values:M}),_();else{let ZZ=await Q.call("collectionUpdate",{collection:q.slug,id:z,values:M});if(ZZ)I(ZZ);a(!0),setTimeout(()=>a(!1),1200)}}catch(ZZ){A(WX(ZZ))}finally{f(!1)}},JZ=async()=>{if(L||!confirm(`Delete this ${q.label.toLowerCase()}? This cannot be undone.`))return;f(!0);try{await Q.call("collectionDelete",{collection:q.slug,id:z}),W()}catch(ZZ){A(WX(ZZ))}finally{f(!1)}};return C.jsxDEV("div",{className:hW,children:[C.jsxDEV("div",{className:"mb-4 mt-2 flex items-center gap-3",children:[C.jsxDEV(PZ,{variant:"ghost",size:"sm",onPress:K,children:["← ",q.pluralLabel]},void 0,!0,void 0,this),C.jsxDEV("h1",{className:"text-[22px] font-normal text-fg",children:L?`New ${q.label.toLowerCase()}`:`Edit ${q.label.toLowerCase()}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),R?C.jsxDEV("p",{className:"text-fg-subtle",children:"Not found."},void 0,!1,void 0,this):N?C.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this):C.jsxDEV("div",{className:"flex max-w-[720px] flex-col gap-4",children:[b?C.jsxDEV(_B,{ok:!0,children:"saved"},void 0,!1,void 0,this):null,C.jsxDEV(vW,{schema:q.fields,value:M,onChange:I,api:Q},void 0,!1,void 0,this),C.jsxDEV("div",{className:"mt-2 flex items-center gap-2",children:[C.jsxDEV(PZ,{onPress:r,isDisabled:y,children:y?"Saving…":L?"Create":"Save"},void 0,!1,void 0,this),!L?C.jsxDEV(PZ,{variant:"ghost",className:"text-danger",onPress:JZ,isDisabled:y,children:"Delete"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function RP({api:Q,page:q,blockTypes:z,tab:_,onTab:W,onBack:K,onChange:A}){let[L,M]=HZ.useState(null),[I,N]=HZ.useState(null),[O,R]=HZ.useState(""),j=HZ.useRef(new Set),[y,f]=HZ.useState(0),b=HZ.useCallback((E,g)=>{let e=j.current;if(g?e.has(E):!e.has(E))return;if(g)e.add(E);else e.delete(E);f(e.size)},[]),a=()=>j.current.size===0||window.confirm(`You have unsaved changes in ${j.current.size} block${j.current.size===1?"":"s"}. Leave without saving?`),r=HZ.useMemo(()=>new Map(z.map((E)=>[E.slug,E])),[z]),JZ=HZ.useCallback(async()=>{try{let[E,g]=await Promise.all([Q.getContentType(q.typeId),Q.getPagePreview(q.slug,q.locale)]);M(E??null),N(g)}catch(E){R(WX(E))}},[Q,q.typeId,q.slug,q.locale]);HZ.useEffect(()=>{JZ()},[JZ]),HZ.useEffect(()=>{if(y===0)return;let E=(g)=>{g.preventDefault(),g.returnValue=""};return window.addEventListener("beforeunload",E),()=>window.removeEventListener("beforeunload",E)},[y]);let ZZ=L?.regions??[],UZ=(E,g)=>N((e)=>e?{...e,regions:{...e.regions,[E]:g(e.regions[E]??[])}}:e),xZ=async(E,g)=>{let e=`tmp:${crypto.randomUUID()}`;UZ(E,(p)=>[...p,{id:e,block_id:e,block_type:g,title:null,fields:{},is_shared:!1,pending:!0}]);try{let{block:p,placement:w}=await Q.call("addBlock",{pageId:q.id,blockTypeSlug:g,region:E,fields:{}}),o={id:String(w.id),block_id:String(p.id),block_type:g,title:p.title??null,fields:p.fields??{},is_shared:Boolean(w.isShared)};UZ(E,(OZ)=>OZ.map((VZ)=>VZ.id===e?o:VZ))}catch(p){UZ(E,(w)=>w.filter((o)=>o.id!==e)),R(WX(p))}},qZ=async(E)=>{try{await Q.call("removeBlock",{pageBlockId:E.id}),await JZ()}catch(g){R(WX(g))}},l=async(E,g)=>{try{await Q.call("reorderRegion",{pageId:q.id,region:E,order:g}),await JZ()}catch(e){R(WX(e))}},MZ=HZ.useCallback((E,g)=>{N((e)=>{if(!e)return e;let p={};for(let[w,o]of Object.entries(e.regions))p[w]=o.map((OZ)=>OZ.id===E?{...OZ,fields:g}:OZ);return{...e,regions:p}})},[]),[n,wZ]=HZ.useState(null),KZ=(E,g)=>wZ({region:E,from:g,over:g}),zZ=(E,g)=>wZ((e)=>e&&e.region===E&&e.over!==g?{...e,over:g}:e),h=()=>wZ(null),u=(E)=>{if(wZ(null),!n||n.region!==E||n.from===n.over)return;let g=(I?.regions[E]??[]).map((p)=>p.id),[e]=g.splice(n.from,1);g.splice(n.over,0,e),l(E,g)};return C.jsxDEV("div",{className:"grid min-h-[calc(100vh-68px)] grid-cols-[260px_1fr_400px] gap-5 px-7 pb-7 pt-2 max-[820px]:grid-cols-1",children:[C.jsxDEV("div",{className:"overflow-auto rounded-panel bg-surface-muted p-[18px]",children:[C.jsxDEV(PZ,{variant:"ghost",size:"sm",onPress:()=>{if(a())K()},children:"← all pages"},void 0,!1,void 0,this),y>0?C.jsxDEV("p",{className:"mt-2 text-[11px] text-accent-strong",children:["● ",y," unsaved block",y===1?"":"s"]},void 0,!0,void 0,this):null,C.jsxDEV(Fq,{children:"Regions"},void 0,!1,void 0,this),ZZ.map((E)=>C.jsxDEV("div",{className:`${mz} mb-2`,children:[C.jsxDEV("span",{className:"flex-1 truncate font-medium",children:E.label??E.name},void 0,!1,void 0,this),C.jsxDEV("span",{className:"text-fg-subtle",children:(I?.regions[E.name]??[]).length},void 0,!1,void 0,this)]},E.name,!0,void 0,this)),C.jsxDEV(Fq,{children:"Status"},void 0,!1,void 0,this),C.jsxDEV("div",{className:mz,children:[C.jsxDEV("span",{className:"flex-1 truncate font-medium",children:q.title},void 0,!1,void 0,this),C.jsxDEV(fz,{status:q.status,children:q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),C.jsxDEV("div",{className:"overflow-auto py-1.5",children:[O?C.jsxDEV(_B,{children:O},void 0,!1,void 0,this):null,ZZ.map((E)=>{let g=I?.regions[E.name]??[],e=E.allowedTypes&&E.allowedTypes.length?E.allowedTypes:z.map((p)=>p.slug);return C.jsxDEV("div",{className:"mb-8",children:[C.jsxDEV("h3",{className:"m-0 mb-3 text-[22px] font-normal text-fg",children:E.label??E.name},void 0,!1,void 0,this),g.length===0?C.jsxDEV("p",{className:"mb-3 text-sm text-fg-subtle",children:"No blocks yet — add one below."},void 0,!1,void 0,this):null,g.map((p,w)=>C.jsxDEV(rv,{api:Q,block:p,blockType:r.get(p.block_type),isFirst:w===0,isLast:w===g.length-1,onMove:(o)=>Bh(g,E.name,w,o,l),onRemove:()=>qZ(p),onPatch:MZ,onDirtyChange:b,onError:R,dragging:n?.region===E.name&&n.from===w,isOver:!!n&&n.region===E.name&&n.over===w&&n.from!==w,onDragStartBlock:()=>KZ(E.name,w),onDragOverBlock:()=>zZ(E.name,w),onDropBlock:()=>u(E.name),onDragEndBlock:h},p.id,!1,void 0,this)),C.jsxDEV(tv,{allowed:e,btBySlug:r,onAdd:(p)=>xZ(E.name,p)},void 0,!1,void 0,this)]},E.name,!0,void 0,this)}),ZZ.length===0?C.jsxDEV("p",{className:"text-fg-subtle",children:"This page's content type has no regions."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),C.jsxDEV("div",{className:"overflow-auto rounded-panel border border-border bg-surface-card p-5",children:[C.jsxDEV("div",{className:"mb-3 flex gap-1",children:o5.map((E)=>C.jsxDEV(PZ,{variant:"ghost",size:"sm",className:_===E?"bg-surface-muted text-fg":"text-fg-muted",onPress:()=>W(E),children:E},E,!1,void 0,this))},void 0,!1,void 0,this),_==="settings"?C.jsxDEV(ev,{api:Q,page:q,ct:L,initialFields:I?.page.fields??{},onSaved:A,onError:R},void 0,!1,void 0,this):null,_==="seo"?C.jsxDEV(Zh,{api:Q,page:q,onError:R},void 0,!1,void 0,this):null,_==="workflow"?C.jsxDEV(Xh,{api:Q,page:q,onChanged:(E)=>{A(E)},onError:R},void 0,!1,void 0,this):null,_==="i18n"?C.jsxDEV(Yh,{api:Q,page:q,onError:R},void 0,!1,void 0,this):null,_==="audit"?C.jsxDEV(Qh,{api:Q,pageId:q.id,onError:R},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function rv({api:Q,block:q,blockType:z,isFirst:_,isLast:W,onMove:K,onRemove:A,onPatch:L,onDirtyChange:M,onError:I,dragging:N,isOver:O,onDragStartBlock:R,onDragOverBlock:j,onDropBlock:y,onDragEndBlock:f}){let[b,a]=HZ.useState(null),[r,JZ]=HZ.useState(!1),[ZZ,UZ]=HZ.useState("idle"),xZ=HZ.useRef(""),qZ=HZ.useRef(null),l=q.block_id,MZ=q.id;HZ.useEffect(()=>{if(q.pending){a({}),xZ.current="{}";return}let u=!0;return Q.call("getBlock",{blockId:l}).then((E)=>{if(!u)return;let g=E?.fields??{};a(g),xZ.current=JSON.stringify(g)}).catch((E)=>I(WX(E))),()=>{u=!1}},[Q,l,I,q.pending]);let n=b!=null&&JSON.stringify(b)!==xZ.current,wZ=HZ.useCallback(async()=>{if(q.pending||b==null)return;let u=JSON.stringify(b);if(u===xZ.current)return;UZ("saving");try{await Q.call("updateBlock",{blockId:l,fields:b}),xZ.current=u,L(MZ,b),UZ("saved"),setTimeout(()=>UZ((E)=>E==="saved"?"idle":E),1500)}catch(E){I(WX(E)),UZ("idle")}},[Q,l,MZ,b,L,I,q.pending]),KZ=(u)=>a(u);HZ.useEffect(()=>{M(MZ,n)},[n,MZ,M]),HZ.useEffect(()=>()=>{M(MZ,!1)},[MZ,M]);let zZ=z?.fieldsSchema??[],h=z?.name??q.block_type;return C.jsxDEV("div",{ref:qZ,className:`mb-2.5 rounded-panel border bg-surface-card transition-colors ${O?"border-brand-green":"border-border"} ${N?"opacity-40":""} ${q.pending?"pointer-events-none opacity-60":""}`,onDragOver:(u)=>{u.preventDefault(),j()},onDrop:(u)=>{u.preventDefault(),y()},children:[C.jsxDEV("div",{className:"flex items-center gap-2.5 px-3.5 py-2.5",children:[C.jsxDEV("span",{draggable:!0,onDragStart:(u)=>{if(qZ.current)u.dataTransfer.setDragImage(qZ.current,12,12);u.dataTransfer.effectAllowed="move",u.dataTransfer.setData("text/plain",""),R()},onDragEnd:f,className:"shrink-0 cursor-grab select-none px-0.5 text-fg-subtle hover:text-fg active:cursor-grabbing",title:"Drag to reorder",children:"⠿"},void 0,!1,void 0,this),C.jsxDEV("button",{type:"button",className:"w-4 shrink-0 text-fg-subtle hover:text-fg",title:r?"Expand":"Collapse",onClick:()=>JZ((u)=>!u),children:r?"▸":"▾"},void 0,!1,void 0,this),C.jsxDEV("span",{className:"font-medium text-fg",children:h},void 0,!1,void 0,this),q.is_shared?C.jsxDEV("span",{className:"text-[11px] text-accent-strong",children:"shared"},void 0,!1,void 0,this):null,C.jsxDEV("span",{className:`text-[11px] ${n&&ZZ!=="saving"?"text-accent-strong":"text-fg-subtle"}`,children:ZZ==="saving"?"saving…":ZZ==="saved"?"saved ✓":n?"● unsaved":""},void 0,!1,void 0,this),C.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),C.jsxDEV(PZ,{variant:"ghost",size:"sm",isDisabled:_,onPress:()=>K(-1),children:"↑"},void 0,!1,void 0,this),C.jsxDEV(PZ,{variant:"ghost",size:"sm",isDisabled:W,onPress:()=>K(1),children:"↓"},void 0,!1,void 0,this),C.jsxDEV(PZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:A,children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r?C.jsxDEV("div",{className:"cursor-pointer truncate px-3.5 pb-3 text-sm text-fg-subtle",onClick:()=>JZ(!1),children:b==null?"…":Kh(b)||C.jsxDEV("span",{className:"italic",children:"empty"},void 0,!1,void 0,this)},void 0,!1,void 0,this):C.jsxDEV("div",{className:"border-t border-border px-3.5 py-3.5",children:b==null?C.jsxDEV("p",{className:"text-sm text-fg-subtle",children:"loading…"},void 0,!1,void 0,this):zZ.length===0?C.jsxDEV("p",{className:"text-sm text-fg-subtle",children:"This block has no editable fields."},void 0,!1,void 0,this):C.jsxDEV(C.Fragment,{children:[C.jsxDEV(vW,{schema:zZ,value:b,onChange:KZ,api:Q},void 0,!1,void 0,this),C.jsxDEV("div",{className:"mt-3.5 flex items-center gap-2 border-t border-border pt-3",children:[C.jsxDEV(PZ,{size:"sm",onPress:()=>void wZ(),isDisabled:!n||ZZ==="saving"||q.pending,children:ZZ==="saving"?"Saving…":"Save"},void 0,!1,void 0,this),n?C.jsxDEV("span",{className:"text-[11px] text-accent-strong",children:"Unsaved changes"},void 0,!1,void 0,this):ZZ==="saved"?C.jsxDEV("span",{className:"text-[11px] text-fg-subtle",children:"Saved ✓"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function tv({allowed:Q,btBySlug:q,onAdd:z}){let[_,W]=HZ.useState(!1);if(!_)return C.jsxDEV(PZ,{variant:"secondary",size:"sm",onPress:()=>W(!0),children:"+ Add block"},void 0,!1,void 0,this);return C.jsxDEV("div",{className:"rounded-panel border border-border bg-surface-card p-2.5",children:[C.jsxDEV("div",{className:"mb-1.5 px-1 text-[11px] text-fg-subtle",children:"Add a block"},void 0,!1,void 0,this),C.jsxDEV("div",{className:"flex flex-wrap gap-1.5",children:Q.map((K)=>C.jsxDEV(PZ,{variant:"ghost",size:"sm",onPress:()=>{z(K),W(!1)},children:q.get(K)?.name??K},K,!1,void 0,this))},void 0,!1,void 0,this),C.jsxDEV("div",{className:"mt-1.5 text-right",children:C.jsxDEV(PZ,{variant:"ghost",size:"sm",className:"text-fg-subtle",onPress:()=>W(!1),children:"cancel"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ev({api:Q,page:q,ct:z,initialFields:_,onSaved:W,onError:K}){let[A,L]=HZ.useState(q.title),[M,I]=HZ.useState(q.slug),[N,O]=HZ.useState(q.locale),[R,j]=HZ.useState(_),[y,f]=HZ.useState(!1),[b,a]=HZ.useState(!1),r=z?.fieldsSchema??[];HZ.useEffect(()=>{L(q.title),I(q.slug),O(q.locale)},[q.id,q.title,q.slug,q.locale]),HZ.useEffect(()=>{j(_)},[_]);let JZ=async()=>{a(!0);try{let ZZ=await Q.call("updatePage",{pageId:q.id,title:A,slug:M,locale:N,...r.length?{fields:R}:{}});if(ZZ?.page)W(ZZ.page);f(!0),setTimeout(()=>f(!1),1500)}catch(ZZ){K(WX(ZZ))}finally{a(!1)}};return C.jsxDEV("div",{className:"flex flex-col gap-4",children:[C.jsxDEV(Fq,{children:"Page"},void 0,!1,void 0,this),y?C.jsxDEV(_B,{ok:!0,children:"saved"},void 0,!1,void 0,this):null,C.jsxDEV(HY,{label:"Title",value:A,onChange:L},void 0,!1,void 0,this),C.jsxDEV(HY,{label:"Slug",value:M,onChange:I},void 0,!1,void 0,this),C.jsxDEV(HY,{label:"Locale",value:N,onChange:O},void 0,!1,void 0,this),r.length?C.jsxDEV(C.Fragment,{children:[C.jsxDEV(Fq,{children:"Fields"},void 0,!1,void 0,this),C.jsxDEV(vW,{schema:r,value:R,onChange:j,api:Q},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,C.jsxDEV(PZ,{onPress:JZ,isDisabled:b||!A.trim()||!M.trim(),children:b?"Saving…":"Save"},void 0,!1,void 0,this),C.jsxDEV(UM,{children:[C.jsxDEV("span",{children:"Status"},void 0,!1,void 0,this),C.jsxDEV("span",{children:q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Zh({api:Q,page:q,onError:z}){let[_,W]=HZ.useState({metaTitle:q.metaTitle??"",metaDescription:q.metaDescription??"",canonicalUrl:q.canonicalUrl??"",robots:q.robots??"",ogTitle:q.ogTitle??"",ogDescription:q.ogDescription??""}),[K,A]=HZ.useState(!1),L=async()=>{try{await Q.call("updatePageSeo",{pageId:q.id,..._}),A(!0),setTimeout(()=>A(!1),1500)}catch(I){z(WX(I))}},M=(I,N,O=!1)=>O?C.jsxDEV(HM,{label:N,value:_[I],onChange:(R)=>W({..._,[I]:R})},void 0,!1,void 0,this):C.jsxDEV(HY,{label:N,value:_[I],onChange:(R)=>W({..._,[I]:R})},void 0,!1,void 0,this);return C.jsxDEV("div",{className:"flex flex-col gap-4",children:[C.jsxDEV(Fq,{children:"SEO"},void 0,!1,void 0,this),K?C.jsxDEV(_B,{ok:!0,children:"saved"},void 0,!1,void 0,this):null,M("metaTitle","Meta title"),M("metaDescription","Meta description",!0),M("canonicalUrl","Canonical URL"),M("robots","Robots (e.g. noindex)"),M("ogTitle","OG title"),M("ogDescription","OG description",!0),C.jsxDEV(PZ,{className:"w-full",onPress:L,children:"Save SEO"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Xh({api:Q,page:q,onChanged:z,onError:_}){let W=async(L,M)=>{try{let I=await Q.call(L,{pageId:q.id,...M});if(I?.page)z(I.page)}catch(I){_(WX(I))}},K=String(q.status),A=K==="review"?[{label:"Approve (publish)",action:"approve"},{label:"Reject",action:"reject",variant:"secondary"},{label:"Publish directly",action:"publishPage",variant:"secondary"}]:K==="published"?[{label:"Unpublish",action:"unpublishPage",variant:"secondary"}]:[{label:"Publish",action:"publishPage"},{label:"Submit for review",action:"submitForReview",variant:"secondary"}];return C.jsxDEV("div",{children:[C.jsxDEV(Fq,{children:"Workflow"},void 0,!1,void 0,this),C.jsxDEV("div",{className:"mb-3 flex items-center gap-2 text-[13px] text-fg-muted",children:[C.jsxDEV("span",{className:"text-fg-subtle",children:"Status"},void 0,!1,void 0,this),C.jsxDEV(fz,{status:q.status,children:q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),C.jsxDEV("div",{className:"flex flex-col gap-2",children:A.map((L)=>C.jsxDEV(PZ,{variant:L.variant,onPress:()=>W(L.action),children:L.label},L.action,!1,void 0,this))},void 0,!1,void 0,this),C.jsxDEV("p",{className:"mt-2.5 text-fg-subtle",children:"Publish needs a reviewer/admin role; submit-for-review is editor-gated."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Yh({api:Q,page:q,onError:z}){let[_,W]=HZ.useState([]),[K,A]=HZ.useState(""),L=HZ.useCallback(()=>Q.call("listTranslations",{pageId:q.id}).then(W).catch((I)=>z(WX(I))),[Q,q.id,z]);HZ.useEffect(()=>{L()},[L]);let M=async()=>{try{await Q.call("createTranslation",{pageId:q.id,locale:K}),A(""),L()}catch(I){z(WX(I))}};return C.jsxDEV("div",{children:[C.jsxDEV(Fq,{children:"Translations"},void 0,!1,void 0,this),C.jsxDEV("div",{className:"flex flex-col gap-2",children:_.map((I)=>C.jsxDEV("div",{className:mz,children:[C.jsxDEV("span",{className:"flex-1 truncate font-medium",children:I.locale},void 0,!1,void 0,this),C.jsxDEV("span",{className:"text-fg-subtle",children:["/",I.slug]},void 0,!0,void 0,this),C.jsxDEV(fz,{status:I.status,children:I.status},void 0,!1,void 0,this)]},I.id,!0,void 0,this))},void 0,!1,void 0,this),C.jsxDEV("div",{className:"mt-2 flex items-end gap-1.5",children:[C.jsxDEV(HY,{label:"",value:K,onChange:A,placeholder:"locale (e.g. cs)"},void 0,!1,void 0,this),C.jsxDEV(PZ,{variant:"secondary",onPress:M,isDisabled:!K,children:"add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Qh({api:Q,pageId:q,onError:z}){let[_,W]=HZ.useState([]);return HZ.useEffect(()=>{Q.listPageAudit(q).then(W).catch((K)=>z(WX(K)))},[Q,q,z]),C.jsxDEV("div",{children:[C.jsxDEV(Fq,{children:"Audit trail"},void 0,!1,void 0,this),C.jsxDEV("div",{className:"flex flex-col gap-2",children:[_.map((K)=>C.jsxDEV("div",{className:`${mz} text-xs`,children:[C.jsxDEV("span",{className:"rounded-full bg-surface-muted px-2 py-0.5 font-mono text-xs text-fg-muted",children:K.action},void 0,!1,void 0,this),C.jsxDEV("span",{className:"flex-1 truncate text-fg-subtle",children:[K.fromStatus," → ",K.toStatus]},void 0,!0,void 0,this),C.jsxDEV("span",{className:"text-fg-subtle",children:K.actor??"system"},void 0,!1,void 0,this)]},K.id,!0,void 0,this)),_.length===0?C.jsxDEV("p",{className:"text-fg-subtle",children:"No history yet."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function jP({api:Q,onError:q}){let[z,_]=HZ.useState([]),[W,K]=HZ.useState(0),[A,L]=HZ.useState(!1),[M,I]=HZ.useState(null),[N,O]=HZ.useState(!1),R=HZ.useCallback((y)=>{Q.listMedia(FP,y).then((f)=>{_((b)=>y===0?f:[...b,...f]),L(f.length===FP),K(y+f.length)}).catch((f)=>q(WX(f)))},[Q,q]);HZ.useEffect(()=>{R(0)},[R]);let j=async(y)=>{if(!y?.length)return;O(!0),q("");try{for(let f of Array.from(y))await Q.uploadMedia(f);R(0)}catch(f){q(WX(f))}finally{O(!1)}};return C.jsxDEV(C.Fragment,{children:[C.jsxDEV(zB,{lead:"Media",em:z.length===0?"None yet":z.length===1?"1 file":`${z.length}${A?"+":""} files`,children:C.jsxDEV(WM,{text:"Let's",em:"upload something",children:C.jsxDEV("label",{className:`inline-flex shrink-0 cursor-pointer items-center rounded-full bg-surface-inverted px-6 py-3 text-compact text-fg-inverted ${N?"pointer-events-none opacity-50":""}`,children:[N?"Uploading…":"+ Upload",C.jsxDEV("input",{type:"file",multiple:!0,hidden:!0,disabled:N,onChange:(y)=>{j(y.target.files),y.target.value=""}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),C.jsxDEV("div",{className:hW,children:[z.length===0?C.jsxDEV("p",{className:"text-fg-subtle",children:"No media yet. Upload images to use them in blocks and SEO."},void 0,!1,void 0,this):C.jsxDEV("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(180px,1fr))] gap-2.5",children:z.map((y)=>C.jsxDEV("div",{className:`cursor-pointer overflow-hidden rounded-lg border bg-surface-card ${M?.id===y.id?"border-fg":"border-border"}`,onClick:()=>I(y),children:[DP(y)?C.jsxDEV("img",{className:"block h-[130px] w-full object-cover",src:Q.resolve(`/media/${y.file.key}`),alt:y.alt??""},void 0,!1,void 0,this):C.jsxDEV("div",{className:"flex h-[130px] items-center justify-center bg-surface-muted font-mono text-xs text-fg-subtle",children:$P(y)},void 0,!1,void 0,this),C.jsxDEV("div",{className:"truncate px-2 py-1.5 text-[11px] text-fg-muted",children:y.file.filename??y.id},void 0,!1,void 0,this)]},y.id,!0,void 0,this))},void 0,!1,void 0,this),A?C.jsxDEV("div",{className:"mt-3.5 text-center",children:C.jsxDEV(PZ,{variant:"secondary",size:"sm",onPress:()=>R(W),children:"Load more"},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,M?C.jsxDEV(Jh,{api:Q,media:M,onClose:()=>I(null),onSaved:(y)=>{I(y),_((f)=>f.map((b)=>b.id===y.id?y:b))},onDeleted:(y)=>{I(null),_((f)=>f.filter((b)=>b.id!==y))},onError:q},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Jh({api:Q,media:q,onClose:z,onSaved:_,onDeleted:W,onError:K}){let[A,L]=HZ.useState(q.alt??""),[M,I]=HZ.useState(!1);HZ.useEffect(()=>L(q.alt??""),[q]);let N=Q.resolve(`/media/${q.file.key}`),O=async()=>{I(!0);try{_(await Q.updateMedia(q.id,A||null))}catch(j){K(WX(j))}finally{I(!1)}},R=async()=>{if(!confirm("Delete this file permanently? If a block or page still references it, that image will break — this cannot be undone."))return;I(!0);try{await Q.deleteMedia(q.id),W(q.id)}catch(j){K(WX(j))}finally{I(!1)}};return C.jsxDEV(r5,{onClose:z,wide:!0,children:[C.jsxDEV(t5,{children:[C.jsxDEV(HB,{children:"Media"},void 0,!1,void 0,this)," ",q.file.filename??""]},void 0,!0,void 0,this),DP(q)?C.jsxDEV("img",{className:"mx-auto mb-3.5 block max-h-[340px] max-w-full rounded-lg bg-surface-muted object-contain",src:N,alt:q.alt??""},void 0,!1,void 0,this):C.jsxDEV("div",{className:"mb-3.5 flex h-[200px] items-center justify-center rounded-lg bg-surface-muted font-mono text-fg-subtle",children:$P(q)},void 0,!1,void 0,this),C.jsxDEV("div",{className:"mb-4",children:C.jsxDEV(HY,{label:"Alt text (for accessibility & SEO)",value:A,onChange:L,placeholder:"Describe the image…"},void 0,!1,void 0,this)},void 0,!1,void 0,this),C.jsxDEV(UM,{children:[C.jsxDEV("span",{children:"Type"},void 0,!1,void 0,this),C.jsxDEV("span",{children:q.file.contentType??"—"},void 0,!1,void 0,this),C.jsxDEV("span",{children:"Size"},void 0,!1,void 0,this),C.jsxDEV("span",{children:Wh(q.file.size)},void 0,!1,void 0,this),C.jsxDEV("span",{children:"Uploaded"},void 0,!1,void 0,this),C.jsxDEV("span",{children:q.file.uploadedAt?new Date(q.file.uploadedAt).toLocaleString():q.createdAt??"—"},void 0,!1,void 0,this),C.jsxDEV("span",{children:"URL"},void 0,!1,void 0,this),C.jsxDEV("span",{className:"break-all",children:C.jsxDEV("a",{className:"underline underline-offset-2",href:N,target:"_blank",rel:"noreferrer",children:["/media/",q.file.key]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),C.jsxDEV("div",{className:"mt-3.5 flex items-center gap-2",children:[C.jsxDEV(PZ,{onPress:O,isDisabled:M||A===(q.alt??""),children:"Save"},void 0,!1,void 0,this),C.jsxDEV(PZ,{variant:"secondary",size:"sm",onPress:()=>navigator.clipboard?.writeText(N),children:"Copy URL"},void 0,!1,void 0,this),C.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),C.jsxDEV(PZ,{variant:"ghost",className:"text-danger",onPress:R,isDisabled:M,children:"Delete"},void 0,!1,void 0,this),C.jsxDEV(PZ,{variant:"ghost",onPress:z,children:"Close"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function qh(Q){let q=Q.roles;if(Array.isArray(q))return q.filter((z)=>typeof z==="string");if(typeof q==="string")try{let z=JSON.parse(q);return Array.isArray(z)?z:[]}catch{return[]}return[]}function CP({api:Q,me:q,onError:z}){let[_,W]=HZ.useState([]),[K,A]=HZ.useState(!1),[L,M]=HZ.useState(""),I=HZ.useCallback(()=>{Q.call("listUsers",{limit:200}).then(W).catch((j)=>z(WX(j)))},[Q,z]);HZ.useEffect(()=>{I()},[I]);let N=async(j,y)=>{M(j.username);try{await Q.call("setUserRoles",{username:j.username,roles:y}),I()}catch(f){z(WX(f))}finally{M("")}},O=async(j,y)=>{M(j.username);try{await Q.call("setUserActive",{username:j.username,active:y}),I()}catch(f){z(WX(f))}finally{M("")}},R=async(j)=>{if(!confirm(`Delete user ${j.username}? This cannot be undone.`))return;M(j.username);try{await Q.call("deleteUser",{username:j.username}),I()}catch(y){z(WX(y))}finally{M("")}};return C.jsxDEV(C.Fragment,{children:[C.jsxDEV(zB,{lead:"Users",em:_.length===0?"None yet":_.length===1?"1 account":`${_.length} accounts`,children:C.jsxDEV(WM,{text:"Let's",em:"invite someone",children:C.jsxDEV(PZ,{className:"shrink-0",onPress:()=>A(!0),children:"+ Invite"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),C.jsxDEV("div",{className:hW,children:C.jsxDEV("div",{className:"flex flex-col gap-2",children:[_.map((j)=>{let y=qh(j),f=q?.userId===j.username,b=j.active===void 0||j.active===null?!0:Boolean(Number(j.active));return C.jsxDEV("div",{className:`${mz} flex-wrap items-start`,children:[C.jsxDEV("div",{className:"flex min-w-[200px] flex-1 flex-col gap-0.5",children:[C.jsxDEV("span",{className:"font-semibold",children:[j.username,f?C.jsxDEV("span",{className:"ml-1.5 font-normal text-fg-subtle",children:"(you)"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),j.email&&j.email!==j.username?C.jsxDEV("span",{className:"text-xs text-fg-subtle",children:j.email},void 0,!1,void 0,this):null,j.createdAt?C.jsxDEV("span",{className:"text-[11px] text-fg-subtle",children:["joined ",new Date(Number(j.createdAt)).toLocaleDateString()]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),C.jsxDEV(Gh,{value:y,disabled:L===j.username,onSave:(a)=>N(j,a)},void 0,!1,void 0,this),C.jsxDEV(fz,{status:b?"active":"inactive",children:b?"active":"inactive"},void 0,!1,void 0,this),C.jsxDEV(PZ,{variant:"ghost",size:"sm",isDisabled:L===j.username||f,onPress:()=>O(j,!b),children:b?"Deactivate":"Activate"},void 0,!1,void 0,this),C.jsxDEV(PZ,{variant:"ghost",size:"sm",className:"text-danger",isDisabled:L===j.username||f,onPress:()=>R(j),children:"Delete"},void 0,!1,void 0,this)]},j.username,!0,void 0,this)}),_.length===0?C.jsxDEV("p",{className:"text-fg-subtle",children:"No users yet. Invite someone to get started."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),K?C.jsxDEV(Hh,{api:Q,onClose:()=>A(!1),onInvited:()=>{A(!1),I()},onError:z},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function Gh({value:Q,disabled:q,onSave:z}){let[_,W]=HZ.useState(Q.join(", ")),[K,A]=HZ.useState(!1);HZ.useEffect(()=>{W(Q.join(", "))},[Q]);let L=()=>{A(!1);let M=_.split(",").map((I)=>I.trim()).filter(Boolean);if(M.length===0){W(Q.join(", "));return}if(M.length===Q.length&&M.every((I,N)=>I===Q[N]))return;z(M)};if(K)return C.jsxDEV("input",{autoFocus:!0,className:"h-10 w-[220px] rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none focus:border-brand-green",value:_,disabled:q,onChange:(M)=>W(M.target.value),onBlur:L,onKeyDown:(M)=>{if(M.key==="Enter")L();if(M.key==="Escape")W(Q.join(", ")),A(!1)}},void 0,!1,void 0,this);return C.jsxDEV("span",{className:"flex cursor-pointer flex-wrap gap-1",onClick:()=>A(!0),title:"Click to edit",children:Q.length===0?C.jsxDEV(fz,{children:"no roles"},void 0,!1,void 0,this):Q.map((M)=>C.jsxDEV(fz,{status:M==="admin"?"published":void 0,children:M},M,!1,void 0,this))},void 0,!1,void 0,this)}function Hh({api:Q,onClose:q,onInvited:z,onError:_}){let[W,K]=HZ.useState(""),[A,L]=HZ.useState("editor"),[M,I]=HZ.useState(!1);return C.jsxDEV(r5,{onClose:q,children:[C.jsxDEV(t5,{children:["Invite an ",C.jsxDEV(HB,{children:"editor"},void 0,!1,void 0,this)," or teammate"]},void 0,!0,void 0,this),C.jsxDEV("p",{className:"-mt-2 mb-4 text-fg-subtle",children:"They'll get a one-time magic link that logs them in and creates their account."},void 0,!1,void 0,this),C.jsxDEV("div",{className:"flex flex-col gap-4",children:[C.jsxDEV(HY,{label:"Email",type:"email",autoFocus:!0,value:W,onChange:K,placeholder:"them@example.com"},void 0,!1,void 0,this),C.jsxDEV(HY,{label:"Roles (comma-separated — e.g. editor, reviewer, admin)",value:A,onChange:L,placeholder:"editor"},void 0,!1,void 0,this),C.jsxDEV("div",{className:"mt-2 flex justify-end gap-2",children:[C.jsxDEV(PZ,{variant:"ghost",onPress:q,children:"Cancel"},void 0,!1,void 0,this),C.jsxDEV(PZ,{onPress:async()=>{I(!0);try{let O=A.split(",").map((R)=>R.trim()).filter(Boolean);await Q.call("inviteUser",{email:W,roles:O}),z()}catch(O){_(WX(O))}finally{I(!1)}},isDisabled:M||!W,children:M?"Sending…":"Send invite"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function PP({api:Q,cfg:q,me:z,onSignOut:_,onError:W}){return C.jsxDEV(C.Fragment,{children:[C.jsxDEV(zB,{lead:"Settings",em:z?.userId??"your account"},void 0,!1,void 0,this),C.jsxDEV("div",{className:`${hW} grid grid-cols-2 gap-5 max-[820px]:grid-cols-1`,children:[C.jsxDEV(zh,{api:Q,me:z,onError:W,onSignOut:_},void 0,!1,void 0,this),C.jsxDEV(_h,{cfg:q,me:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function zh({api:Q,me:q,onError:z,onSignOut:_}){let[W,K]=HZ.useState(""),[A,L]=HZ.useState(""),[M,I]=HZ.useState(""),[N,O]=HZ.useState(""),[R,j]=HZ.useState(!1),y=(a)=>{O(a),setTimeout(()=>O(""),1800)},f=async()=>{j(!0);try{await Q.call("changeEmail",{email:W}),K(""),y("Contact email updated")}catch(a){z(WX(a))}finally{j(!1)}},b=async()=>{j(!0);try{await Q.call("changePassword",{currentPassword:A,newPassword:M}),L(""),I(""),y("Password updated")}catch(a){z(WX(a))}finally{j(!1)}};return C.jsxDEV(IP,{children:[C.jsxDEV(Fq,{children:"My account"},void 0,!1,void 0,this),N?C.jsxDEV(_B,{ok:!0,children:N},void 0,!1,void 0,this):null,C.jsxDEV(UM,{className:"mb-4",children:[C.jsxDEV("span",{children:"Username"},void 0,!1,void 0,this),C.jsxDEV("span",{children:q?.userId??"—"},void 0,!1,void 0,this),C.jsxDEV("span",{children:"Roles"},void 0,!1,void 0,this),C.jsxDEV("span",{children:(q?.roles??[]).join(", ")||"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),C.jsxDEV("div",{className:"flex flex-col gap-4",children:[C.jsxDEV(HY,{label:"Change contact email",type:"email",value:W,onChange:K,placeholder:"you@example.com"},void 0,!1,void 0,this),C.jsxDEV(PZ,{className:"w-full",onPress:f,isDisabled:R||!W,children:"Save email"},void 0,!1,void 0,this),C.jsxDEV(HY,{label:"Current password",type:"password",value:A,onChange:L,autoComplete:"current-password"},void 0,!1,void 0,this),C.jsxDEV(HY,{label:"New password (at least 8 characters)",type:"password",value:M,onChange:I,autoComplete:"new-password"},void 0,!1,void 0,this),C.jsxDEV(PZ,{className:"w-full",onPress:b,isDisabled:R||M.length<8||A.length===0,children:"Change password"},void 0,!1,void 0,this),C.jsxDEV(PZ,{variant:"ghost",className:"mt-2 w-full text-danger",onPress:_,children:"Sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function _h({cfg:Q,me:q}){return C.jsxDEV(IP,{children:[C.jsxDEV(Fq,{children:"About"},void 0,!1,void 0,this),C.jsxDEV(UM,{children:[C.jsxDEV("span",{children:"Tenant"},void 0,!1,void 0,this),C.jsxDEV("span",{children:Q.tenant||"main"},void 0,!1,void 0,this),C.jsxDEV("span",{children:"API"},void 0,!1,void 0,this),C.jsxDEV("span",{className:"break-all",children:Q.baseUrl},void 0,!1,void 0,this),C.jsxDEV("span",{children:"Signed in as"},void 0,!1,void 0,this),C.jsxDEV("span",{children:q?.userId??"—"},void 0,!1,void 0,this),C.jsxDEV("span",{children:"Editor"},void 0,!1,void 0,this),C.jsxDEV("span",{children:"pramen · cms-editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function DP(Q){return(Q.file.contentType??"").startsWith("image/")}function $P(Q){let q=(Q.file.contentType??"").split("/")[1];return(Q.file.filename?.split(".").pop()??q??"file").slice(0,5).toUpperCase()}function Wh(Q){if(!Q||Q<=0)return"—";let q=["B","KB","MB","GB"],z=0,_=Q;while(_>=1024&&z<q.length-1)_/=1024,z++;return`${_<10&&z>0?_.toFixed(1):Math.round(_)} ${q[z]}`}function WX(Q){if(Q instanceof xW)return Q.message;return Q instanceof Error?Q.message:String(Q)}function NP(Q){return Q.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function Uh(Q){return Q.replace(/<[^>]*>/g," ").replace(/ /g," ").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\s+/g," ").trim()}function Kh(Q){let q=Object.values(Q).find((_)=>typeof _==="string"&&_.trim());if(typeof q!=="string")return"";let z=Uh(q);return z.length>90?z.slice(0,90)+"…":z}function Bh(Q,q,z,_,W){let K=z+_;if(K<0||K>=Q.length)return;let A=Q.map((L)=>L.id);[A[z],A[K]]=[A[K],A[z]],W(q,A)}var HZ,C,o5,mz="flex items-center gap-3 rounded-[14px] border border-transparent bg-surface-card px-[18px] py-3.5",hW="mx-auto max-w-[1200px] px-7 pb-8 pt-2",HB=({children:Q})=>C.jsxDEV("span",{className:"text-fg-subtle",children:Q},void 0,!1,void 0,this),FP=60;var AH=P(()=>{Oq();i5();OP();HZ=m(XZ(),1),C=m(DZ(),1),o5=["settings","seo","workflow","i18n","audit"]});var SP={};oG(SP,{default:()=>Lh});var WB,Lh;var EP=P(()=>{QJ();Oq();Mq();AH();WB=m(DZ(),1),Lh=DY().params({slug:"string",id:"string"}).route("/collections/:slug/:id").render(function({params:q}){let{api:z,collections:_,setError:W}=uY(),K=fY(),A=_.find((M)=>M.slug===q.slug),L=()=>K("collection",{params:{slug:q.slug}});if(!A)return WB.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[WB.jsxDEV("p",{className:"text-fg-subtle",children:_.length===0?"Loading…":`Unknown collection: ${q.slug}`},void 0,!1,void 0,this),_.length>0?WB.jsxDEV(PZ,{variant:"ghost",size:"sm",onPress:()=>K("home"),children:"← Pages"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this);return WB.jsxDEV(VP,{api:z,def:A,id:q.id==="new"?null:q.id,onSaved:L,onDeleted:L,onBack:L,onError:W},void 0,!1,void 0,this)})});var kP={};oG(kP,{default:()=>Ah});var UB,Ah;var xP=P(()=>{QJ();Oq();Mq();AH();UB=m(DZ(),1),Ah=DY().params({slug:"string"}).route("/collections/:slug").render(function({params:q}){let{api:z,collections:_,setError:W}=uY(),K=fY(),A=_.find((L)=>L.slug===q.slug);if(!A)return UB.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[UB.jsxDEV("p",{className:"text-fg-subtle",children:_.length===0?"Loading…":`Unknown collection: ${q.slug}`},void 0,!1,void 0,this),_.length>0?UB.jsxDEV(PZ,{variant:"ghost",size:"sm",onPress:()=>K("home"),children:"← Pages"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this);return UB.jsxDEV(wP,{api:z,def:A,onOpen:(L)=>K("collection-item",{params:{slug:A.slug,id:L}}),onNew:()=>K("collection-item",{params:{slug:A.slug,id:"new"}}),onError:W},void 0,!1,void 0,this)})});var yP={};oG(yP,{default:()=>Oh});var KB,vP,Oh;var hP=P(()=>{QJ();Mq();AH();KB=m(XZ(),1),vP=m(DZ(),1),Oh=DY().route("/").render(function(){let{api:q,setError:z}=uY(),_=fY(),[W,K]=KB.useState([]),[A,L]=KB.useState([]),M=()=>q.listPages().then(K).catch((I)=>z(WX(I)));return KB.useEffect(()=>{M(),q.listBlockTypes().then(L).catch((I)=>z(WX(I)))},[q]),vP.jsxDEV(TP,{api:q,pages:W,blockTypes:A,onOpen:(I)=>_("page",{params:{pageId:I.id}}),onCreated:M,onError:z},void 0,!1,void 0,this)})});var bP={};oG(bP,{default:()=>Mh});var gP,Mh;var mP=P(()=>{QJ();Mq();AH();gP=m(DZ(),1),Mh=DY().route("/media").render(function(){let{api:q,setError:z}=uY();return gP.jsxDEV(jP,{api:q,onError:z},void 0,!1,void 0,this)})});var fP={};oG(fP,{default:()=>Fh});var bW,uz,Fh;var uP=P(()=>{QJ();Oq();Mq();AH();bW=m(XZ(),1),uz=m(DZ(),1),Fh=DY().params({pageId:"string",tab:"?string"}).route("/pages/:pageId").render(function({params:q}){let{api:z,setError:_}=uY(),W=fY(),[K,A]=bW.useState(null),[L,M]=bW.useState([]),[I,N]=bW.useState(!1);bW.useEffect(()=>{let j=!0;return N(!1),z.listPages().then((y)=>{if(!j)return;let f=y.find((b)=>b.id===q.pageId)??null;A(f),N(!f)}).catch((y)=>_(WX(y))),z.listBlockTypes().then((y)=>j&&M(y)).catch((y)=>_(WX(y))),()=>{j=!1}},[z,q.pageId,_]);let O=o5.includes(q.tab)?q.tab:"settings",R=(j)=>W("page",{params:{pageId:q.pageId,tab:j},replace:!0});if(I)return uz.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[uz.jsxDEV("p",{className:"text-fg-subtle",children:"Page not found."},void 0,!1,void 0,this),uz.jsxDEV(PZ,{variant:"ghost",size:"sm",onPress:()=>W("home"),children:"← all pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(!K)return uz.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:uz.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);return uz.jsxDEV(RP,{api:z,page:K,blockTypes:L,tab:O,onTab:R,onBack:()=>W("home"),onChange:A},void 0,!1,void 0,this)})});var dP={};oG(dP,{default:()=>Nh});var cP,Nh;var pP=P(()=>{QJ();Mq();AH();cP=m(DZ(),1),Nh=DY().route("/settings").render(function(){let{api:q,cfg:z,me:_,setError:W,reconfigure:K}=uY();return cP.jsxDEV(PP,{api:q,cfg:z,me:_,onSignOut:K,onError:W},void 0,!1,void 0,this)})});var lP={};oG(lP,{default:()=>Ih});var dz,Ih;var iP=P(()=>{QJ();Oq();Mq();AH();dz=m(DZ(),1),Ih=DY().route("/users").render(function(){let{api:q,me:z,isAdmin:_,setError:W}=uY(),K=fY();if(z===null)return dz.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:dz.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(!_)return dz.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[dz.jsxDEV("p",{className:"text-fg-subtle",children:"Admins only."},void 0,!1,void 0,this),dz.jsxDEV(PZ,{variant:"ghost",size:"sm",onPress:()=>K("home"),children:"← back to pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return dz.jsxDEV(CP,{api:q,me:z,onError:W},void 0,!1,void 0,this)})});var nP={};oG(nP,{default:()=>Th});var OH,Th;var sP=P(()=>{QJ();Oq();OH=m(DZ(),1),Th=DY().render(function(){let q=fY();return OH.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:[OH.jsxDEV("h1",{className:"m-0 text-[56px] font-normal leading-[1.05] tracking-[-0.01em] max-[820px]:text-[40px]",children:[OH.jsxDEV("span",{className:"block text-fg-subtle",children:"Not found"},void 0,!1,void 0,this),OH.jsxDEV("span",{className:"block text-fg",children:"Nothing lives here"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),OH.jsxDEV("div",{className:"mt-4 flex items-center gap-2",children:[OH.jsxDEV("p",{className:"text-fg-subtle",children:"That page doesn't exist."},void 0,!1,void 0,this),OH.jsxDEV(PZ,{variant:"ghost",size:"sm",onPress:()=>q("home"),children:"← back to pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)})});QJ();var JD=m(XZ(),1),qD=m(Y2(),1);QJ();var GG=m(XZ(),1);QJ();Oq();Mq();var KY=m(DZ(),1);function s5(){let{cfg:Q,isAdmin:q,collections:z,error:_,reconfigure:W}=uY(),K=fY(),{pathname:A}=bA(),L=A.startsWith("/collections/")?A.split("/")[2]:void 0,M=L?`col:${L}`:A.startsWith("/pages")||A==="/"?"pages":A.startsWith("/media")?"media":A.startsWith("/users")?"users":A.startsWith("/settings")?"settings":"",I=(O)=>M===O?"bg-surface-muted text-fg":"text-fg-muted",N=typeof window<"u"?window.PRAMEN_CMS_EDITOR?.extraNav??[]:[];return KY.jsxDEV(KY.Fragment,{children:[KY.jsxDEV("div",{className:"sticky top-0 z-10 flex items-center gap-4 bg-surface px-7 py-4",children:[KY.jsxDEV("span",{className:"text-[15px] font-bold tracking-[0.01em] text-fg",children:["pramen ",KY.jsxDEV("span",{className:"font-normal text-fg-subtle",children:"· cms"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),KY.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),KY.jsxDEV("nav",{className:"flex items-center gap-0.5",children:[KY.jsxDEV(PZ,{variant:"ghost",size:"sm",className:I("pages"),onPress:()=>K("home"),children:"Pages"},void 0,!1,void 0,this),z.map((O)=>KY.jsxDEV(PZ,{variant:"ghost",size:"sm",className:I(`col:${O.slug}`),onPress:()=>K("collection",{params:{slug:O.slug}}),children:[O.icon?`${O.icon} `:"",O.pluralLabel]},O.slug,!0,void 0,this)),KY.jsxDEV(PZ,{variant:"ghost",size:"sm",className:I("media"),onPress:()=>K("media"),children:"Media"},void 0,!1,void 0,this),q?KY.jsxDEV(PZ,{variant:"ghost",size:"sm",className:I("users"),onPress:()=>K("users"),children:"Users"},void 0,!1,void 0,this):null,KY.jsxDEV(PZ,{variant:"ghost",size:"sm",className:I("settings"),onPress:()=>K("settings"),children:"Settings"},void 0,!1,void 0,this),N.map((O)=>KY.jsxDEV("a",{href:O.href,target:"_blank",rel:"noopener noreferrer",className:"rounded-md px-2.5 py-1.5 text-sm text-fg-muted transition-colors hover:bg-surface-muted hover:text-fg",children:O.label},O.href,!1,void 0,this))]},void 0,!0,void 0,this),KY.jsxDEV("span",{className:"ml-3 text-fg-subtle",children:Q.tenant},void 0,!1,void 0,this),KY.jsxDEV(PZ,{variant:"ghost",size:"sm",onPress:W,children:"sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_?KY.jsxDEV("div",{className:"mx-7 mt-2 rounded-lg border border-danger bg-surface-card px-4 py-2.5 text-sm text-danger",children:_},void 0,!1,void 0,this):null,KY.jsxDEV(r_,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var aP=()=>Promise.resolve().then(() => (EP(),SP)).then((Q)=>({default:Q.default.component})),oP=()=>Promise.resolve().then(() => (xP(),kP)).then((Q)=>({default:Q.default.component})),rP=()=>Promise.resolve().then(() => (hP(),yP)).then((Q)=>({default:Q.default.component})),tP=()=>Promise.resolve().then(() => (mP(),bP)).then((Q)=>({default:Q.default.component})),eP=()=>Promise.resolve().then(() => (uP(),fP)).then((Q)=>({default:Q.default.component})),ZD=()=>Promise.resolve().then(() => (pP(),dP)).then((Q)=>({default:Q.default.component})),XD=()=>Promise.resolve().then(() => (iP(),lP)).then((Q)=>({default:Q.default.component})),YD=()=>Promise.resolve().then(() => (sP(),nP)).then((Q)=>({default:Q.default.component})),e5={"collection-item":"/collections/:slug/:id",collection:"/collections/:slug",home:"/",media:"/media",page:"/pages/:pageId",settings:"/settings",users:"/users"},wh=[{path:"/",component:s5,isLayout:!0,children:[{path:"/collection-item",matchPath:"/collections/:slug/:id",component:GG.lazy(aP),preload:aP},{path:"/collection",matchPath:"/collections/:slug",component:GG.lazy(oP),preload:oP},{path:"/home",matchPath:"/",component:GG.lazy(rP),preload:rP},{path:"/media",component:GG.lazy(tP),preload:tP},{path:"/page",matchPath:"/pages/:pageId",component:GG.lazy(eP),preload:eP},{path:"/settings",component:GG.lazy(ZD),preload:ZD},{path:"/users",component:GG.lazy(XD),preload:XD},{path:"/:__notFound+",component:GG.lazy(YD),preload:YD}]}],Z8=e9(wh);Mq();var KM=m(DZ(),1),QD=document.getElementById("app");if(QD)qD.createRoot(QD).render(KM.jsxDEV(JD.StrictMode,{children:KM.jsxDEV(LP,{children:KM.jsxDEV(hA,{routes:Z8,pageRegistry:e5},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this));
|