@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
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
var uE=Object.create;var{getPrototypeOf:dE,defineProperty:n9,getOwnPropertyNames:cE}=Object;var pE=Object.prototype.hasOwnProperty;function lE(Q){return this[Q]}var iE,nE,f=(Q,q,H)=>{var _=Q!=null&&typeof Q==="object";if(_){var W=q?iE??=new WeakMap:nE??=new WeakMap,K=W.get(Q);if(K)return K}H=Q!=null?uE(dE(Q)):{};let A=q||!Q||!Q.__esModule?n9(H,"default",{value:Q,enumerable:!0}):H;for(let L of cE(Q))if(!pE.call(A,L))n9(A,L,{get:lE.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 sE=(Q)=>Q;function aE(Q,q){this[Q]=sE.bind(null,q)}var rG=(Q,q)=>{for(var H in q)n9(Q,H,{get:q[H],enumerable:!0,configurable:!0,set:aE.bind(q,H)})};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 H=this.cache.keys().next().value;this.cache.delete(H)}}delete(Q){this.cache.delete(Q)}clear(){this.cache.clear()}}function n_(Q,q){let H=q.pathname,_=H.split("/").filter(Boolean);return s9(Q.root,_,0,{},H)}function s9(Q,q,H,_,W){if(H===q.length){if(Q.route)return mT(Q.route.chain,_,W);return null}let K=q[H],A=Q.staticChildren.get(K);if(A){let L=s9(A,q,H+1,_,W);if(L)return L}if(Q.dynamicChild){let L={..._,[Q.dynamicChild.paramName]:decodeURIComponent(K)},O=s9(Q.dynamicChild.node,q,H+1,L,W);if(O)return O}if(Q.catchAllChild){let L=q.slice(H).map((I)=>decodeURIComponent(I)).join("/"),O={..._,[Q.catchAllChild.paramName]:L};return mT(Q.catchAllChild.chain,O,W)}return null}function mT(Q,q,H){return Q.map((_)=>({node:_,params:q,pathname:H}))}function a9(Q){let q=Q.endsWith("+");return{name:q?Q.slice(1,-1):Q.slice(1),isCatchAll:q}}function FK(Q){let q=[];for(let H of Q.split("/"))if(H.startsWith(":"))q.push(a9(H).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(),H=this.createMatchUrl(q),_=n_(this.routes,H)??[];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=(H)=>{if(!H.canIntercept)return;let _=new URL(H.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=H.viewTransition||this.viewTransitions,O=this.pendingScrollBehavior;this.pendingScrollBehavior="after-transition",H.intercept({scroll:O,handler:async()=>{for(let N of this.blockers){if(this.navigationId!==A)return;if(!await N())throw new r9}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,H){let _=this.buildPagePath(Q,q);this.navigate(this.stripBasePath(_),H)}buildPagePath(Q,q){let H=this.pageRegistry[Q];if(!H)throw Error(`[buzola] Unknown page "${Q}". Is it registered in the page registry?`);let _=this.resolveParams(H,q);return this.buildPath(H,_)}preload(Q,q){let H=this.buildPagePath(Q,q),_=new URL(H,"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 H=Q.split("/"),_=[],W=[];for(let I of H)if(I.startsWith(":")){let{name:N,isCatchAll:F}=a9(I),R=q?.[N];if(R===void 0)W.push(N);else if(F)_.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(FK(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("/"),O=A.toString();return O?`${L}?${O}`:L}stripBasePath(Q){if(this._basePath&&Q.startsWith(this._basePath))return Q.slice(this._basePath.length)||"/";return Q}resolveParams(Q,q){let H=FK(Q),_=this.getCurrentParams(),W=this.persistentParamsFn?.()??{},K={};for(let A of H){let L=q?.[A]??_[A]??W[A];if(L!==void 0)K[A]=L}if(q){let A=new Set(H);for(let[L,O]of Object.entries(q))if(!A.has(L)&&O!==void 0)K[L]=O}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 r9;var o9=P(()=>{r9=class r9 extends Error{constructor(){super("Navigation aborted by blocker");this.name="NavigationAbortedError"}}});function uT(Q){let{path:q,fullPath:H,component:_,searchSchema:W,preload:K,isLayout:A=!1,isIndex:L=!1}=Q;return{id:`route:${H||"/"}${A?":layout":""}`,path:fT(q),fullPath:fT(H),component:_,searchSchema:W,preload:K,isLayout:A,isIndex:L}}function e9(Q,q=""){let H=dT(Q,q,[]),_=t9();for(let W of H)rE(_,W.pattern,W.chain);return{root:_}}function dT(Q,q,H){let _=[];for(let W of Q){let K=W.isPathlessGroup?"":W.path,A=W.children!=null&&W.children.length>0,L=W.isLayout??A,O=W.isIndex??(!L&&(W.path==="/"||W.path==="")),I;if(W.matchPath!=null)I=W.matchPath;else if(O)I=q||"/";else I=tE(q||"/",K);let N=uT({path:K,fullPath:I,component:W.component,searchSchema:W.searchSchema,preload:W.preload,isLayout:L,isIndex:O});if(L){let F=[...H,N];if(W.children){let R=W.isPathlessGroup?q:I;_.push(...dT(W.children,R,F))}}else _.push({pattern:I,chain:[...H,N]})}return _}function t9(){return{staticChildren:new Map}}function rE(Q,q,H){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:H};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:H}}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 tE(Q,q){if(q==="/")return Q==="/"?"/":Q;let H=Q==="/"?"":Q,_=q.startsWith("/")?q:`/${q}`;return H+_}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,H=!1,_=(W)=>{let K=H;H=!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)H=!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,H){let _=Q["~standard"].validate(q);if("issues"in _)throw Error(`${H}${_.issues.map((W)=>W.message).join(", ")}`);return _.value}function pT(Q){let q=Q.startsWith("?"),H=q?Q.slice(1):Q,_=H.endsWith("[]"),W=_?H.slice(0,-2):H,K=Zk[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 O=[];for(let I of L){let N=K(I);if("issues"in N)return N;O.push(N.value)}return{value:O}};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 eE,Zk;var EA=P(()=>{eE=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,Zk={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"&&eE.test(Q)?{value:Q}:{issues:[{message:"expected UUID"}]}}});var XZ=nq((Xk,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 H(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 O(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 F(){var V=lZ.A;return V===null?null:V.getOwner()}function R(){return Error("react-stack-top-frame")}function j(V){if(cH.call(V,"key")){var d=Object.getOwnPropertyDescriptor(V,"key").get;if(d&&d.isReactWarning)return!1}return V.key!==void 0}function h(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 g(){var V=I(this.type);return Fz[V]||(Fz[V]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),V=this.props.ref,V!==void 0?V:null}function x(V,d,QZ,_Z,RZ,fZ){var uZ=QZ.ref;return V={$$typeof:m,type:V,key:d,props:QZ,_owner:_Z},(uZ!==void 0?uZ:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:g}):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 n(V,d){return d=x(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===m}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?(O(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 GZ(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 m:case e:uZ=!0;break;case TX:return uZ=V._init,GZ(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(lH,"$&/")+"/"),GZ(RZ,d,QZ,"",function(hY){return hY})):RZ!=null&&(JZ(RZ)&&(RZ.key!=null&&(uZ&&uZ.key===RZ.key||O(RZ.key)),QZ=n(RZ,QZ+(RZ.key==null||uZ&&uZ.key===RZ.key?"":(""+RZ.key).replace(lH,"$&/")+"/")+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+=GZ(_Z,d,QZ,fZ,RZ);else if(EZ=q(V),typeof EZ==="function")for(EZ===V.entries&&(pH||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),pH=!0),V=EZ.call(V),EZ=0;!(_Z=V.next()).done;)_Z=_Z.value,fZ=UX+UZ(_Z,EZ++),uZ+=GZ(_Z,d,QZ,fZ,RZ);else if(fZ==="object"){if(typeof V.then==="function")return GZ(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 GZ(V,_Z,"","",function(fZ){return d.call(QZ,fZ,RZ++)}),_Z}function FZ(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 s(){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(Nz===null)try{var d=("require"+Math.random()).slice(0,7);Nz=(kA&&kA[d]).call(kA,"timers").setImmediate}catch(QZ){Nz=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 Nz(V)}function HZ(V){return 1<V.length&&typeof AggregateError==="function"?AggregateError(V):V[0]}function b(V,d){d!==Iz-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. "),Iz=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=HZ(lZ.thrownErrors),lZ.thrownErrors.length=0,QZ(_Z)):d(V)}function E(V){if(!wz){wz=!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{wz=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var m=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){H(V,"forceUpdate")},enqueueReplaceState:function(V){H(V,"replaceState")},enqueueSetState:function(V){H(V,"setState")}},FQ=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 rX={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(HG in rX)rX.hasOwnProperty(HG)&&Q(HG,rX[HG]);W.prototype=_.prototype,rX=K.prototype=new W,rX.constructor=K,FQ(rX,_.prototype),rX.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},cH=Object.prototype.hasOwnProperty,jX=console.createTask?console.createTask:function(){return null};rX={react_stack_bottom_frame:function(V){return V()}};var BB,kJ,Fz={},Mz=rX.react_stack_bottom_frame.bind(rX,R)(),BF=jX(N(R)),pH=!1,lH=/\/+/g,zG=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,Nz=null,Iz=0,Tz=!1,wz=!1,mW=typeof queueMicrotask==="function"?function(V){queueMicrotask(function(){return queueMicrotask(V)})}:KZ;rX=Object.freeze({__proto__:null,c:function(V){return s().useMemoCache(V)}});var HG={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}};Xk.Activity=LX,Xk.Children=HG,Xk.Component=_,Xk.Fragment=p,Xk.Profiler=o,Xk.PureComponent=K,Xk.StrictMode=w,Xk.Suspense=JX,Xk.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=lZ,Xk.__COMPILER_RUNTIME=rX,Xk.act=function(V){var d=lZ.actQueue,QZ=Iz;Iz++;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 b(d,QZ),V=HZ(lZ.thrownErrors),lZ.thrownErrors.length=0,V;if(fZ!==null&&typeof fZ==="object"&&typeof fZ.then==="function"){var uZ=fZ;return mW(function(){RZ||Tz||(Tz=!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(MQ){if(b(d,QZ),QZ===0){try{E(_Z),KZ(function(){return u(MQ,EZ,hY)})}catch(fW){lZ.thrownErrors.push(fW)}if(0<lZ.thrownErrors.length){var _G=HZ(lZ.thrownErrors);lZ.thrownErrors.length=0,hY(_G)}}else EZ(MQ)},function(MQ){b(d,QZ),0<lZ.thrownErrors.length?(MQ=HZ(lZ.thrownErrors),lZ.thrownErrors.length=0,hY(MQ)):hY(MQ)})}}}var UX=fZ;if(b(d,QZ),QZ===0&&(E(_Z),_Z.length!==0&&mW(function(){RZ||Tz||(Tz=!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=HZ(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)}}},Xk.cache=function(V){return function(){return V.apply(null,arguments)}},Xk.cacheSignal=function(){return null},Xk.captureOwnerStack=function(){var V=lZ.getCurrentStack;return V===null?null:V()},Xk.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=FQ({},V.props),RZ=V.key,fZ=V._owner;if(d!=null){var uZ;Z:{if(cH.call(d,"ref")&&(uZ=Object.getOwnPropertyDescriptor(d,"ref").get)&&uZ.isReactWarning){uZ=!1;break Z}uZ=d.ref!==void 0}uZ&&(fZ=F()),j(d)&&(O(d.key),RZ=""+d.key);for(UX in d)!cH.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=x(V.type,RZ,_Z,fZ,V._debugStack,V._debugTask);for(RZ=2;RZ<arguments.length;RZ++)r(arguments[RZ]);return _Z},Xk.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},Xk.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)&&(O(d.key),RZ=""+d.key),d)cH.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&&h(_Z,typeof V==="function"?V.displayName||V.name||"Unknown":V);var EZ=1e4>lZ.recentlyCreatedOwnerStacks++;return x(V,RZ,_Z,F(),EZ?Error("react-stack-top-frame"):Mz,EZ?jX(N(V)):BF)},Xk.createRef=function(){var V={current:null};return Object.seal(V),V},Xk.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},Xk.isValidElement=JZ,Xk.lazy=function(V){V={_status:-1,_result:V};var d={$$typeof:TX,_payload:V,_init:FZ},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},Xk.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},Xk.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,zG))}catch(fZ){zG(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}},Xk.unstable_useCacheRefresh=function(){return s().useCacheRefresh()},Xk.use=function(V){return s().use(V)},Xk.useActionState=function(V,d,QZ){return s().useActionState(V,d,QZ)},Xk.useCallback=function(V,d){return s().useCallback(V,d)},Xk.useContext=function(V){var d=s();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)},Xk.useDebugValue=function(V,d){return s().useDebugValue(V,d)},Xk.useDeferredValue=function(V,d){return s().useDeferredValue(V,d)},Xk.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?"),s().useEffect(V,d)},Xk.useEffectEvent=function(V){return s().useEffectEvent(V)},Xk.useId=function(){return s().useId()},Xk.useImperativeHandle=function(V,d,QZ){return s().useImperativeHandle(V,d,QZ)},Xk.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?"),s().useInsertionEffect(V,d)},Xk.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?"),s().useLayoutEffect(V,d)},Xk.useMemo=function(V,d){return s().useMemo(V,d)},Xk.useOptimistic=function(V,d){return s().useOptimistic(V,d)},Xk.useReducer=function(V,d,QZ){return s().useReducer(V,d,QZ)},Xk.useRef=function(V){return s().useRef(V)},Xk.useState=function(V){return s().useState(V)},Xk.useSyncExternalStore=function(V,d,QZ){return s().useSyncExternalStore(V,d,QZ)},Xk.useTransition=function(){return s().useTransition()},Xk.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((Yk)=>{var zH=f(XZ());(function(){function Q(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===s?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case g:return"Fragment";case n:return"Profiler";case x:return"StrictMode";case UZ:return"Suspense";case xZ:return"SuspenseList";case FZ: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 h: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 GZ: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 H(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===g)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 O(){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:O}):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(HZ(IZ)){for(VZ=0;VZ<IZ.length;VZ++)F(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 F(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&&(H(OZ),IZ=""+OZ),A(o)&&(H(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 F(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"),h=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),n=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"),GZ=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),FZ=Symbol.for("react.activity"),s=Symbol.for("react.client.reference"),wZ=zH.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,KZ=Object.prototype.hasOwnProperty,HZ=Array.isArray,b=console.createTask?console.createTask:function(){return null};zH={react_stack_bottom_frame:function(w){return w()}};var u,E={},m=zH.react_stack_bottom_frame.bind(zH,K)(),e=b(_(K)),p={};Yk.Fragment=g,Yk.jsx=function(w,o,OZ){var VZ=1e4>wZ.recentlyCreatedOwnerStacks++;return N(w,o,OZ,!1,VZ?Error("react-stack-top-frame"):m,VZ?b(_(w)):e)},Yk.jsxs=function(w,o,OZ){var VZ=1e4>wZ.recentlyCreatedOwnerStacks++;return N(w,o,OZ,!0,VZ?Error("react-stack-top-frame"):m,VZ?b(_(w)):e)}})()});class Y3{activeUrlHref=null;activeCacheKey=null;activePromise=null;activeResolvedData;hasResolved=!1;pendingBackgroundKey=null;id;constructor(){this.id=Qk++}resolve(Q){let{currentUrlHref:q,cacheKey:H,load:_,loaderCache:W,onBackgroundSettled:K}=Q;if(this.handleUrlChange(q,W),this.activeCacheKey===H){if(this.pendingBackgroundKey===H)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=H,this.activePromise=L,this.pendingBackgroundKey=H,L.then((O)=>{if(this.activeCacheKey===H)K({ok:!0,result:O})},()=>{if(this.activeCacheKey===H)K({ok:!1})}),{action:"render",data:this.activeResolvedData,isLoading:!0}}let A=_();return this.activeCacheKey=H,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 H=q&&this.restoreFromStaleCache(q,Q);if(H?.hit)this.activeResolvedData=H.value,this.hasResolved=!0;else this.hasResolved=!1,this.activeResolvedData=void 0;this.pendingBackgroundKey=null}else if(this.activeUrlHref===null&&q){let H=this.restoreFromStaleCache(q,Q);if(H.hit)this.activeResolvedData=H.value,this.hasResolved=!0}this.activeUrlHref=Q}staleCacheKey(Q){return`${this.id}:${Q}`}restoreFromStaleCache(Q,q){let H=this.staleCacheKey(q);if(!Q.has(H))return{hit:!1};let _=Q.get(H);return Q.delete(H),{hit:!0,value:_}}saveToStaleCache(Q,q,H){Q.set(this.staleCacheKey(q),H)}}var Qk=0;var Q3,oG,YJ;var a_=P(()=>{Q3=f(XZ(),1),oG=Q3.createContext(null),YJ=Q3.createContext(null)});var xA,HH;var yA=P(()=>{xA=f(XZ(),1);HH=class HH 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 Jk(Q){return"~standard"in Q}function qk(Q){if(Jk(Q))return{schema:Q,paramsMeta:Q.__buzolaKeys??[]};let q=Q,H=[],_={};for(let[K,A]of Object.entries(q))if(typeof A==="string"){let L=pT(A);_[K]=L.schema,H.push({name:K,optional:L.optional,array:L.array})}else _[K]=A,H.push({name:K,optional:cT(A),array:!1});return{schema:{"~standard":{version:1,vendor:"buzola",validate:(K)=>{let A=K??{},L={};for(let[O,I]of Object.entries(_)){let N=I["~standard"].validate(A[O]);if("issues"in N)return N;L[O]=N.value}return{value:L}}}},paramsMeta:H}}class r_{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 H=await Promise.all(Q.map((W)=>W(q))),_=H.find((W)=>W instanceof r_);if(_)return _;return Object.assign({},...H)}}function NK(Q,q,H,_,W,K){let A=new Set(q.filter((F)=>F.array).map((F)=>F.name)),L=H?new Y3:void 0;function O(){let F=MY.use(YJ);if(!F)throw Error("createPage component must be used within a <BuzolaProvider>");let R=MY.use(oG),j=MY.useMemo(()=>{let{state:UZ,matches:xZ,params:GZ}=F,l=xZ.find((wZ)=>wZ.node.component===O),FZ=new Set(l?FK(l.node.fullPath):[]),s={};if(A.size>0)for(let wZ of A){if(FZ.has(wZ))continue;let KZ=[...UZ.location.searchParams.getAll(wZ),...UZ.location.searchParams.getAll(`${wZ}[]`)];if(KZ.length>0)s[wZ]=KZ}UZ.location.searchParams.forEach((wZ,KZ)=>{let HZ=KZ.endsWith("[]")?KZ.slice(0,-2):KZ;if(!FZ.has(HZ)&&!(HZ in s))s[HZ]=wZ});for(let[wZ,KZ]of Object.entries(GZ))if(A.has(wZ))s[wZ]=KZ.split(",");else s[wZ]=KZ;if(Q)return X3(Q,s,"Page params validation failed: ");return s},[F]),[h,g]=MY.useState(0),[,x]=MY.useReducer((UZ)=>UZ+1,0),n=MY.useCallback(()=>g((UZ)=>UZ+1),[]);MY.useEffect(()=>{if(!R)return;return R.onInvalidate(()=>g((UZ)=>UZ+1))},[R]);let r,JZ=!1,ZZ=!1;if(H&&L){let UZ=F.state.location.href,xZ=`${UZ}:${h}`,GZ=L.resolve({currentUrlHref:UZ,cacheKey:xZ,load:()=>H({params:j,redirect:lT}),loaderCache:R?.loaderCache,onBackgroundSettled:(l)=>{if(l.ok){if(l.result instanceof r_){R?.navigateToPage(l.result.pageId,l.result.params,{replace:!0});return}L.commitBackgroundResult(l.result)}else L.commitBackgroundError();x()}});if(GZ.action==="render")r=GZ.data,JZ=GZ.isLoading;else{let l=MY.use(GZ.promise);if(l instanceof r_)R?.navigateToPage(l.pageId,l.params,{replace:!0}),ZZ=!0;else r=l,L.commitResult(r)}}if(MY.useEffect(()=>{return()=>L?.dispose(R?.loaderCache)},[]),ZZ)return null;return vA.jsx(W,{params:j,data:r,invalidate:n,isLoading:JZ})}function I(){let F=MY.use(YJ),[R,j]=MY.useState(0),h=MY.useCallback(()=>j((n)=>n+1),[]),g=`${F?.state.location.href??""}:${R}`;return vA.jsx(HH,{fallback:typeof K==="function"?(n)=>K({error:n,params:F?.params??{},retry:h}):K,resetKey:g,children:vA.jsx(O,{},R)})}return{__buzolaPage:!0,component:K?I:O,route:_,paramsSchema:Q,paramsMeta:q,loader:H}}function Gk(Q,q,H,_){return{route(W){return{render(K){return NK(Q,q,MK(H),W,K,_)}}},render(W){return NK(Q,q,MK(H),void 0,W,_)}}}function J3(Q,q,H){return{loader(_){return J3(Q,q,[...H,_])},catch(_){return Gk(Q,q,H,_)},route(_){return{catch(W){return{render(K){return NK(Q,q,MK(H),_,K,W)}}},render(W){return NK(Q,q,MK(H),_,W)}}},render(_){return NK(Q,q,MK(H),void 0,_)}}}function DY(){return{params(Q){let{schema:q,paramsMeta:H}=qk(Q);return J3(q,H,[])},...J3(void 0,[],[])}}var vA,MY,lT=(Q,q)=>{return new r_(Q,q)};var iT=P(()=>{EA();a_();yA();vA=f(s_(),1),MY=f(XZ(),1)});function Hk(){return HQ.default.createElement("div",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem",maxWidth:"600px",margin:"0 auto"}},zk?[HQ.default.createElement("h1",{key:"h"},"404 — Page Not Found"),HQ.default.createElement("p",{key:"p1"},`No route matches "${typeof window<"u"?window.location.pathname:""}".`),HQ.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 />.")]:[HQ.default.createElement("h1",{key:"h"},"404"),HQ.default.createElement("p",{key:"p"},"Page not found.")])}function o_({fallback:Q,errorFallback:q,notFound:H}){let _=HQ.use(YJ);if(!_)throw Error("<Outlet /> must be used within a <BuzolaProvider>");let{state:W,depth:K,matches:A}=_,L=K,O=A[L];while(O&&!O.node.component)L++,O=A[L];let I=HQ.useMemo(()=>{if(!O)return null;let F={..._.params};for(let R=K;R<=L;R++)if(A[R])F={...F,...A[R].params};return{state:W,depth:L+1,matches:A,params:F}},[W,K,L,A,O,_.params]);if(!O){if(K===0&&A.length===0){if(H===null)return null;return H??HQ.default.createElement(Hk,null)}return null}let N=O.node.component;return IK.jsx(HH,{fallback:q,resetKey:O.node.id,children:IK.jsx(HQ.Suspense,{fallback:Q??null,children:I&&IK.jsx(YJ,{value:I,children:IK.jsx(N,{})})})})}var IK,HQ,zk;var q3=P(()=>{a_();yA();IK=f(s_(),1),HQ=f(XZ(),1),zk=typeof process<"u"&&!0});function hA({routes:Q,children:q,middleware:H,..._}){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]),O=vQ.useSyncExternalStore(A,L,L);vQ.useLayoutEffect(()=>{return K.start()},[K]);let I=vQ.useMemo(()=>({state:O,depth:0,matches:O.matches,params:{}}),[O]),N=vQ.useMemo(()=>{let R={};for(let j of O.matches)R={...R,...j.params};return R},[O.matches]),F=q??TK.jsx(o_,{});return TK.jsx(oG,{value:K,children:TK.jsx(YJ,{value:I,children:H?TK.jsx(H,{params:N,matches:O.matches,children:F}):F})})}var TK,vQ;var nT=P(()=>{o9();a_();q3();TK=f(s_(),1),vQ=f(XZ(),1)});function wK(){let Q=zq.use(oG);if(!Q)throw Error("useRouter must be used within a <BuzolaProvider>");return Q}function _k(){let Q=zq.use(YJ);if(!Q)throw Error("Route hooks must be used within a <BuzolaProvider>");return Q}function fY(){let Q=wK();return zq.useCallback((q,H)=>{Q.navigateToPage(q,H?.params,H)},[Q])}function bA(){let Q=_k(),q=wK(),{state:H,matches:_,params:W,depth:K}=Q;return zq.useMemo(()=>({params:W,matches:_,depth:K,isPending:H.isPending,pendingLocation:H.pendingLocation?q.stripBasePath(H.pendingLocation.pathname):void 0,pathname:q.stripBasePath(H.location.pathname)}),[W,_,K,H.isPending,H.pendingLocation,H.location.pathname,q])}var zq;var G3=P(()=>{EA();a_();zq=f(XZ(),1)});var Wk,gA;var aT=P(()=>{G3();Wk=f(s_(),1),gA=f(XZ(),1)});var rT=P(()=>{nT();q3();aT();yA();G3();a_()});var QJ=P(()=>{o9();EA();iT();rT()});var oT=nq((Fk)=>{(function(){function Q(){if(ZZ=!1,l){var u=Fk.unstable_now();wZ=u;var E=!0;try{Z:{r=!1,JZ&&(JZ=!1,xZ(FZ),FZ=-1),n=!0;var m=x;try{X:{K(u);for(g=H(R);g!==null&&!(g.expirationTime>u&&L());){var e=g.callback;if(typeof e==="function"){g.callback=null,x=g.priorityLevel;var p=e(g.expirationTime<=u);if(u=Fk.unstable_now(),typeof p==="function"){g.callback=p,K(u),E=!0;break X}g===H(R)&&_(R),K(u)}else _(R);g=H(R)}if(g!==null)E=!0;else{var w=H(j);w!==null&&O(A,w.startTime-u),E=!1}}break Z}finally{g=null,x=m,n=!1}E=void 0}}finally{E?KZ():l=!1}}}function q(u,E){var m=u.length;u.push(E);Z:for(;0<m;){var e=m-1>>>1,p=u[e];if(0<W(p,E))u[e]=E,u[m]=p,m=e;else break Z}}function H(u){return u.length===0?null:u[0]}function _(u){if(u.length===0)return null;var E=u[0],m=u.pop();if(m!==E){u[0]=m;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,m))VZ<p&&0>W(vZ,OZ)?(u[e]=vZ,u[VZ]=m,e=VZ):(u[e]=OZ,u[o]=m,e=o);else if(VZ<p&&0>W(vZ,m))u[e]=vZ,u[VZ]=m,e=VZ;else break Z}}return E}function W(u,E){var m=u.sortIndex-E.sortIndex;return m!==0?m:u.id-E.id}function K(u){for(var E=H(j);E!==null;){if(E.callback===null)_(j);else if(E.startTime<=u)_(j),E.sortIndex=E.expirationTime,q(R,E);else break;E=H(j)}}function A(u){if(JZ=!1,K(u),!r)if(H(R)!==null)r=!0,l||(l=!0,KZ());else{var E=H(j);E!==null&&O(A,E.startTime-u)}}function L(){return ZZ?!0:Fk.unstable_now()-wZ<s?!1:!0}function O(u,E){FZ=UZ(function(){u(Fk.unstable_now())},E)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Fk.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var I=performance;Fk.unstable_now=function(){return I.now()}}else{var N=Date,F=N.now();Fk.unstable_now=function(){return N.now()-F}}var R=[],j=[],h=1,g=null,x=3,n=!1,r=!1,JZ=!1,ZZ=!1,UZ=typeof setTimeout==="function"?setTimeout:null,xZ=typeof clearTimeout==="function"?clearTimeout:null,GZ=typeof setImmediate<"u"?setImmediate:null,l=!1,FZ=-1,s=5,wZ=-1;if(typeof GZ==="function")var KZ=function(){GZ(Q)};else if(typeof MessageChannel<"u"){var HZ=new MessageChannel,b=HZ.port2;HZ.port1.onmessage=Q,KZ=function(){b.postMessage(null)}}else KZ=function(){UZ(Q,0)};Fk.unstable_IdlePriority=5,Fk.unstable_ImmediatePriority=1,Fk.unstable_LowPriority=4,Fk.unstable_NormalPriority=3,Fk.unstable_Profiling=null,Fk.unstable_UserBlockingPriority=2,Fk.unstable_cancelCallback=function(u){u.callback=null},Fk.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"):s=0<u?Math.floor(1000/u):5},Fk.unstable_getCurrentPriorityLevel=function(){return x},Fk.unstable_next=function(u){switch(x){case 1:case 2:case 3:var E=3;break;default:E=x}var m=x;x=E;try{return u()}finally{x=m}},Fk.unstable_requestPaint=function(){ZZ=!0},Fk.unstable_runWithPriority=function(u,E){switch(u){case 1:case 2:case 3:case 4:case 5:break;default:u=3}var m=x;x=u;try{return E()}finally{x=m}},Fk.unstable_scheduleCallback=function(u,E,m){var e=Fk.unstable_now();switch(typeof m==="object"&&m!==null?(m=m.delay,m=typeof m==="number"&&0<m?e+m:e):m=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=m+p,u={id:h++,callback:E,priorityLevel:u,startTime:m,expirationTime:p,sortIndex:-1},m>e?(u.sortIndex=m,q(j,u),H(R)===null&&u===H(j)&&(JZ?(xZ(FZ),FZ=-1):JZ=!0,O(A,m-e))):(u.sortIndex=p,q(R,u),r||n||(r=!0,l||(l=!0,KZ()))),u},Fk.unstable_shouldYield=L,Fk.unstable_wrapCallback=function(u){var E=x;return function(){var m=x;x=E;try{return u.apply(this,arguments)}finally{x=m}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var tT=nq((Mk)=>{var z3=f(XZ());(function(){function Q(){}function q(N){return""+N}function H(N,F,R){var j=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{q(j);var h=!1}catch(g){h=!0}return h&&(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:O,key:j==null?null:""+j,children:N,containerInfo:F,implementation:R}}function _(N,F){if(N==="font")return"";if(typeof F==="string")return F==="use-credentials"?F:""}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},O=Symbol.for("react.portal"),I=z3.__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,F){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!F||F.nodeType!==1&&F.nodeType!==9&&F.nodeType!==11)throw Error("Target container is not a DOM element.");return H(N,F,null,R)},Mk.flushSync=function(N){var F=I.T,R=L.p;try{if(I.T=null,L.p=2,N)return N()}finally{I.T=F,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,F){typeof N==="string"&&N?F!=null&&typeof F!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",K(F)):F!=null&&typeof F.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",W(F.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"&&(F?(F=F.crossOrigin,F=typeof F==="string"?F==="use-credentials"?F:"":void 0):F=null,L.d.C(N,F))},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 F=arguments[1];typeof F==="object"&&F.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",K(F)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",K(F))}typeof N==="string"&&L.d.D(N)},Mk.preinit=function(N,F){if(typeof N==="string"&&N?F==null||typeof F!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",K(F)):F.as!=="style"&&F.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',K(F.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"&&F&&typeof F.as==="string"){var R=F.as,j=_(R,F.crossOrigin),h=typeof F.integrity==="string"?F.integrity:void 0,g=typeof F.fetchPriority==="string"?F.fetchPriority:void 0;R==="style"?L.d.S(N,typeof F.precedence==="string"?F.precedence:void 0,{crossOrigin:j,integrity:h,fetchPriority:g}):R==="script"&&L.d.X(N,{crossOrigin:j,integrity:h,fetchPriority:g,nonce:typeof F.nonce==="string"?F.nonce:void 0})}},Mk.preinitModule=function(N,F){var R="";if(typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),F!==void 0&&typeof F!=="object"?R+=" The `options` argument encountered was "+W(F)+".":F&&("as"in F)&&F.as!=="script"&&(R+=" The `as` option encountered was "+K(F.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=F&&typeof F.as==="string"?F.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 F==="object"&&F!==null){if(F.as==null||F.as==="script")R=_(F.as,F.crossOrigin),L.d.M(N,{crossOrigin:R,integrity:typeof F.integrity==="string"?F.integrity:void 0,nonce:typeof F.nonce==="string"?F.nonce:void 0})}else F==null&&L.d.M(N)},Mk.preload=function(N,F){var R="";if(typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),F==null||typeof F!=="object"?R+=" The `options` argument encountered was "+W(F)+".":typeof F.as==="string"&&F.as||(R+=" The `as` option encountered was "+W(F.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 F==="object"&&F!==null&&typeof F.as==="string"){R=F.as;var j=_(R,F.crossOrigin);L.d.L(N,R,{crossOrigin:j,integrity:typeof F.integrity==="string"?F.integrity:void 0,nonce:typeof F.nonce==="string"?F.nonce:void 0,type:typeof F.type==="string"?F.type:void 0,fetchPriority:typeof F.fetchPriority==="string"?F.fetchPriority:void 0,referrerPolicy:typeof F.referrerPolicy==="string"?F.referrerPolicy:void 0,imageSrcSet:typeof F.imageSrcSet==="string"?F.imageSrcSet:void 0,imageSizes:typeof F.imageSizes==="string"?F.imageSizes:void 0,media:typeof F.media==="string"?F.media:void 0})}},Mk.preloadModule=function(N,F){var R="";typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),F!==void 0&&typeof F!=="object"?R+=" The `options` argument encountered was "+W(F)+".":F&&("as"in F)&&typeof F.as!=="string"&&(R+=" The `as` option encountered was "+W(F.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"&&(F?(R=_(F.as,F.crossOrigin),L.d.m(N,{as:typeof F.as==="string"&&F.as!=="script"?F.as:void 0,crossOrigin:R,integrity:typeof F.integrity==="string"?F.integrity:void 0})):L.d.m(N))},Mk.requestFormReset=function(N){L.d.r(N)},Mk.unstable_batchedUpdates=function(N,F){return N(F)},Mk.useFormState=function(N,F,R){return A().useFormState(N,F,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((sg,eT)=>{var Nk=f(tT());eT.exports=Nk});var Z2=nq((Ik)=>{var KX=f(oT()),t_=f(XZ()),H3=f(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],z=HY(Z)?Z.slice():oZ({},Z);return z[G]=q(Z[G],X,Y+1,J),z}function H(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],z=HY(Z)?Z.slice():oZ({},Z);return J+1===X.length?(z[Y[J]]=z[G],HY(z)?z.splice(G,1):delete z[G]):z[G]=_(Z[G],X,Y,J+1),z}function W(Z,X,Y){var J=X[Y],G=HY(Z)?Z.slice():oZ({},Z);if(Y+1===X.length)return HY(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 O(){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 F(Z){var X=[];return Z.forEach(function(Y){X.push(Y)}),X.sort().join(", ")}function R(Z,X,Y,J){return new SD(Z,X,Y,J)}function j(Z,X){Z.context===$G&&(BM(Z.current,2,X,Z,null,null),J_())}function h(Z,X){if(iQ!==null){var Y=X.staleFamilies;X=X.updatedFamilies,KU(),l8(Z.current,X,Y),J_()}}function g(Z){iQ=Z}function x(Z){return!(!Z||Z.nodeType!==1&&Z.nodeType!==9&&Z.nodeType!==11)}function n(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(n(Z)!==Z)throw Error("Unable to find node on an unmounted component.")}function UZ(Z){var X=Z.alternate;if(!X){if(X=n(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 z=G.alternate;if(z===null){if(J=G.return,J!==null){Y=J;continue}break}if(G.child===z.child){for(z=G.child;z;){if(z===Y)return ZZ(G),Z;if(z===J)return ZZ(G),X;z=z.sibling}throw Error("Unable to find node on an unmounted component.")}if(Y.return!==J.return)Y=G,J=z;else{for(var U=!1,B=G.child;B;){if(B===Y){U=!0,Y=G,J=z;break}if(B===J){U=!0,J=G,Y=z;break}B=B.sibling}if(!U){for(B=z.child;B;){if(B===Y){U=!0,Y=z,J=G;break}if(B===J){U=!0,J=z,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 GZ(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 NM:return"Profiler";case VL:return"StrictMode";case TM:return"Suspense";case wM:return"SuspenseList";case VM: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 rJ:return Z.displayName||"Context";case IM:return(Z._context.displayName||"Context")+".Consumer";case wU: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 FZ(Z){return typeof Z.tag==="number"?s(Z):typeof Z.name==="string"?Z.name:null}function s(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 s(Z.return)}return null}function wZ(Z){return{current:Z}}function KZ(Z,X){0>Sq?console.error("Unexpected pop."):(X!==jM[Sq]&&console.error("Unexpected Fiber popped."),Z.current=RM[Sq],RM[Sq]=null,jM[Sq]=null,Sq--)}function HZ(Z,X,Y){Sq++,RM[Sq]=Z.current,jM[Sq]=Y,Z.current=X}function b(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){HZ(VG,X,Z),HZ(VU,Z,Z),HZ(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),HZ(wG,Y,Z)}function E(Z){KZ(wG,Z),KZ(VU,Z),KZ(VG,Z)}function m(){return b(wG.current)}function e(Z){Z.memoizedState!==null&&HZ(jL,Z,Z);var X=b(wG.current),Y=Z.type,J=VN(X.context,Y);Y=O8(X.ancestorInfo,Y),J={context:J,ancestorInfo:Y},X!==J&&(HZ(VU,Z,Z),HZ(wG,J,Z))}function p(Z){VU.current===Z&&(KZ(wG,Z),KZ(VU,Z)),jL.current===Z&&(KZ(jL,Z),LK._currentValue=GH)}function w(){}function o(){if(RU===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})}RU++}function OZ(){if(RU--,RU===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:oZ({},Z,{value:eN}),info:oZ({},Z,{value:Z7}),warn:oZ({},Z,{value:X7}),error:oZ({},Z,{value:Y7}),group:oZ({},Z,{value:Q7}),groupCollapsed:oZ({},Z,{value:J7}),groupEnd:oZ({},Z,{value:q7})})}0>RU&&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(CM===void 0)try{throw Error()}catch(Y){var X=Y.stack.trim().match(/\n( *(at )?)/);CM=X&&X[1]||"",G7=-1<Y.stack.indexOf(`
|
|
26
|
+
at`)?" (<anonymous>)":-1<Y.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
27
|
+
`+CM+Z+G7}function JX(Z,X){if(!Z||PM)return"";var Y=DM.get(Z);if(Y!==void 0)return Y;PM=!0,Y=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var J=null;J=a.H,a.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(zZ){var c=zZ}Reflect.construct(Z,[],$)}else{try{$.call()}catch(zZ){c=zZ}Z.call($.prototype)}}else{try{throw Error()}catch(zZ){c=zZ}($=Z())&&typeof $.catch==="function"&&$.catch(function(){})}}catch(zZ){if(zZ&&c&&typeof zZ.stack==="string")return[zZ.stack,c.stack]}return[null,null]}};G.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var z=Object.getOwnPropertyDescriptor(G.DetermineComponentFrameRoot,"name");z&&z.configurable&&Object.defineProperty(G.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var U=G.DetermineComponentFrameRoot(),B=U[0],M=U[1];if(B&&M){var T=B.split(`
|
|
28
|
+
`),y=M.split(`
|
|
29
|
+
`);for(U=z=0;z<T.length&&!T[z].includes("DetermineComponentFrameRoot");)z++;for(;U<y.length&&!y[U].includes("DetermineComponentFrameRoot");)U++;if(z===T.length||U===y.length)for(z=T.length-1,U=y.length-1;1<=z&&0<=U&&T[z]!==y[U];)U--;for(;1<=z&&0<=U;z--,U--)if(T[z]!==y[U]){if(z!==1||U!==1)do if(z--,U--,0>U||T[z]!==y[U]){var v=`
|
|
30
|
+
`+T[z].replace(" at new "," at ");return Z.displayName&&v.includes("<anonymous>")&&(v=v.replace("<anonymous>",Z.displayName)),typeof Z==="function"&&DM.set(Z,v),v}while(1<=z&&0<=U);break}}}finally{PM=!1,a.H=J,OZ(),Error.prepareStackTrace=Y}return T=(T=Z?Z.displayName||Z.name:"")?vZ(T):"",typeof Z==="function"&&DM.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 z=J[G];if(typeof z.name==="string"){var U=X;Z:{var{name:B,env:M,debugLocation:T}=z;if(T!=null){var y=VZ(T),v=y.lastIndexOf(`
|
|
31
|
+
`),$=v===-1?y:y.slice(v+1);if($.indexOf(B)!==-1){var c=`
|
|
32
|
+
`+$;break Z}}c=vZ(B+(M?" ["+M+"]":""))}X=U+c}}Y=Z,Z=Z.return}while(Z);return X}catch(zZ){return`
|
|
33
|
+
Error generating stack: `+zZ.message+`
|
|
34
|
+
`+zZ.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?FZ(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 z=Z.debugStack;(Z=Z.owner)&&z&&(X+=`
|
|
36
|
+
`+VZ(z))}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,z,U){var B=DQ;OQ(Z);try{return Z!==null&&Z._debugTask?Z._debugTask.run(X.bind(null,Y,J,G,z,U)):X(Y,J,G,z,U)}finally{OQ(B)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function OQ(Z){a.getCurrentStack=Z===null?null:Nq,oJ=!1,DQ=Z}function FQ(Z){return typeof Symbol==="function"&&Symbol.toStringTag&&Z[Symbol.toStringTag]||Z.constructor.name||"Object"}function vY(Z){try{return rX(Z),!1}catch(X){return!0}}function rX(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,FQ(Z)),rX(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,FQ(Z)),rX(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.",FQ(Z)),rX(Z)}function cH(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 JS==="function"&&qS(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-(GS(Z)/zS|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 Fz(Z,X,Y){var J=Z.pendingLanes;if(J===0)return 0;var G=0,z=Z.suspendedLanes,U=Z.pingedLanes;Z=Z.warmLanes;var B=J&134217727;return B!==0?(J=B&~z,J!==0?G=kJ(J):(U&=B,U!==0?G=kJ(U):Y||(Y=B&~Z,Y!==0&&(G=kJ(Y))))):(B=J&~z,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&z)===0&&(z=G&-G,Y=X&-X,z>=Y||z===32&&(Y&4194048)!==0)?X:G}function Mz(Z,X){return(Z.pendingLanes&~(Z.suspendedLanes&~Z.pingedLanes)&X)===0}function BF(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 pH(){var Z=DL;return DL<<=1,(DL&62914560)===0&&(DL=4194304),Z}function lH(Z){for(var X=[],Y=0;31>Y;Y++)X.push(Z);return X}function zG(Z,X){Z.pendingLanes|=X,X!==268435456&&(Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0)}function LB(Z,X,Y,J,G,z){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:M,hiddenUpdates:T}=Z;for(Y=U&~Y;0<Y;){var y=31-cY(Y),v=1<<y;B[y]=0,M[y]=-1;var $=T[y];if($!==null)for(T[y]=null,y=0;y<$.length;y++){var c=$[y];c!==null&&(c.lane&=-536870913)}Y&=~v}J!==0&&Nz(Z,J,0),z!==0&&G===0&&Z.tag!==0&&(Z.suspendedLanes|=z&~(U&~X))}function Nz(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 Iz(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 Tz(Z,X){var Y=X&-X;return Y=(Y&42)!==0?1:wz(Y),(Y&(Z.suspendedLanes|X))!==0?0:Y}function wz(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 mW(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 HG(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(z){var U=z.alternate;U!==null&&J.has(U)||J.add(z)}),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=FX.p;if(Z!==0)return Z;return Z=window.event,Z===void 0?Zq:lN(Z.type)}function QZ(Z,X){var Y=FX.p;try{return FX.p=Z,X()}finally{FX.p=Y}}function _Z(Z){delete Z[CY],delete Z[pY],delete Z[xM],delete Z[HS],delete Z[_S]}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[z7];return X||(X=Z[z7]={hoistableStyles:new Map,hoistableScripts:new Map}),X}function EZ(Z){Z[jU]=!0}function hY(Z,X){MQ(Z,X),MQ(Z+"Capture",X)}function MQ(Z,X){gz[Z]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",Z),gz[Z]=X;var Y=Z.toLowerCase();yM[Y]=Z,Z==="onDoubleClick"&&(yM.ondblclick=Z);for(Z=0;Z<X.length;Z++)H7.add(X[Z])}function _G(Z,X){WS[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 fW(Z){if(LJ.call(W7,Z))return!0;if(LJ.call(_7,Z))return!1;if(US.test(Z))return W7[Z]=!0;return _7[Z]=!0,console.error("Invalid attribute name: `%s`",Z),!1}function X8(Z,X,Y){if(fW(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(fW(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 zD(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:z}=J;return Object.defineProperty(Z,X,{configurable:!0,get:function(){return G.call(this)},set:function(U){lZ(U),Y=""+U,z.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 LF(Z){if(!Z._valueTracker){var X=Y8(Z)?"checked":"value";Z._valueTracker=zD(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 FB(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(KS,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 AF(Z,X,Y,J,G,z,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?OF(Z,U,uQ(X)):Y!=null?OF(Z,U,uQ(Y)):J!=null&&Z.removeAttribute("value"),G==null&&z!=null&&(Z.defaultChecked=!!z),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,z,U,B){if(z!=null&&typeof z!=="function"&&typeof z!=="symbol"&&typeof z!=="boolean"&&($Z(z,"type"),Z.type=z),X!=null||Y!=null){if(!(z!=="submit"&&z!=="reset"||X!==void 0&&X!==null)){LF(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),LF(Z)}function OF(Z,X,Y){X==="number"&&FB(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 z8(){var Z=LX();return Z?`
|
|
39
|
+
|
|
40
|
+
Check the render method of \``+Z+"`.":""}function iH(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 H8(Z,X){for(Z=0;Z<F7.length;Z++){var Y=F7[Z];if(X[Y]!=null){var J=HY(X[Y]);X.multiple&&!J?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Y,z8()):!X.multiple&&J&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Y,z8())}}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||M7||(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"),M7=!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(HY(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),LF(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 nH(Z){return"+ "+" ".repeat(Z)}function Vz(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 uW(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 MB(Z,X,Y){var J=120-2*Y;if(X===null)return nH(Y)+uW(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)),nH(Y)+uW(Z,J)+`
|
|
42
|
+
`+Vz(Y)+uW(X,J)+`
|
|
43
|
+
`}return NQ(Y)+uW(Z,J)+`
|
|
44
|
+
`}function FF(Z){return Object.prototype.toString.call(Z).replace(/^\[object (.*)\]$/,function(X,Y){return Y})}function dW(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(HY(Z))return"[...]";if(Z.$$typeof===aJ)return(X=l(Z.type))?"<"+X+">":"<...>";var Y=FF(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=dW(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 sH(Z,X){return typeof Z!=="string"||N7.test(Z)?"{"+dW(Z,X-2)+"}":Z.length>X-2?5>X?'"..."':'"'+Z.slice(0,X-5)+'..."':'"'+Z+'"'}function MF(Z,X,Y){var J=120-Y.length-Z.length,G=[],z;for(z in X)if(X.hasOwnProperty(z)&&z!=="children"){var U=sH(X[z],120-Y.length-z.length-1);J-=z.length+U.length+2,G.push(z+"="+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=oZ({},X),z;for(z in Z)if(Z.hasOwnProperty(z)){delete G[z];var U=120-2*Y-z.length-2,B=dW(Z[z],U);X.hasOwnProperty(z)?(U=dW(X[z],U),J+=nH(Y)+z+": "+B+`
|
|
51
|
+
`,J+=Vz(Y)+z+": "+U+`
|
|
52
|
+
`):J+=nH(Y)+z+": "+B+`
|
|
53
|
+
`}for(var M in G)G.hasOwnProperty(M)&&(Z=dW(G[M],120-2*Y-M.length-2),J+=Vz(Y)+M+": "+Z+`
|
|
54
|
+
`);return J}function _D(Z,X,Y,J){var G="",z=new Map;for(T in Y)Y.hasOwnProperty(T)&&z.set(T.toLowerCase(),T);if(z.size===1&&z.has("children"))G+=MF(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,M=z.get(U.toLowerCase());if(M!==void 0){z.delete(U.toLowerCase());var T=X[U];M=Y[M];var y=sH(T,B);B=sH(M,B),typeof T==="object"&&T!==null&&typeof M==="object"&&M!==null&&FF(T)==="Object"&&FF(M)==="Object"&&(2<Object.keys(T).length||2<Object.keys(M).length||-1<y.indexOf("...")||-1<B.indexOf("..."))?G+=NQ(J+1)+U+`={{
|
|
55
|
+
`+HD(T,M,J+2)+NQ(J+1)+`}}
|
|
56
|
+
`:(G+=nH(J+1)+U+"="+y+`
|
|
57
|
+
`,G+=Vz(J+1)+U+"="+B+`
|
|
58
|
+
`)}else G+=NQ(J+1)+U+"="+sH(X[U],B)+`
|
|
59
|
+
`}z.forEach(function(v){if(v!=="children"){var $=120-2*(J+1)-v.length-1;G+=Vz(J+1)+v+"="+sH(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(z="",typeof X==="string"||typeof X==="number"||typeof X==="bigint")z=""+X;G+=MB(z,""+Z,J+1)}else if(typeof X==="string"||typeof X==="number"||typeof X==="bigint")G=Z==null?G+MB(""+X,null,J+1):G+MB(""+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 NF(Z,X){var Y=K8(Z,X);if(Y!==Z&&(Z.children.length!==1||Z.children[0]!==Y))return NQ(X)+`...
|
|
65
|
+
`+NF(Y,X+1);Y="";var J=Z.fiber._debugInfo;if(J)for(var G=0;G<J.length;G++){var z=J[G].name;typeof z==="string"&&(Y+=NQ(X)+"<"+z+`>
|
|
66
|
+
`,X++)}if(J="",G=Z.fiber.pendingProps,Z.fiber.tag===6)J=MB(G,Z.serverProps,X),X++;else if(z=B8(Z.fiber),z!==null)if(Z.serverProps===void 0){J=X;var U=120-2*J-z.length-2,B="";for(T in G)if(G.hasOwnProperty(T)&&T!=="children"){var M=sH(G[T],15);if(U-=T.length+M.length+2,0>U){B+=" ...";break}B+=" "+T+"="+M}J=NQ(J)+"<"+z+B+`>
|
|
67
|
+
`,X++}else Z.serverProps===null?(J=MF(z,G,nH(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=_D(z,G,Z.serverProps,X),X++);var T="";G=Z.fiber.child;for(z=0;G&&z<Z.children.length;)U=Z.children[z],U.fiber===G?(T+=NF(U,X),z++):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++)z=G[Z],T=typeof z==="string"?T+(Vz(X)+uW(z,120-2*X)+`
|
|
69
|
+
`):T+MF(z.type,z.props,Vz(X));return Y+J+T}function IF(Z){try{return`
|
|
70
|
+
|
|
71
|
+
`+NF(Z,0)}catch(X){return""}}function A8(Z,X,Y){for(var J=X,G=null,z=0;J;)J===Z&&(z=0),G={fiber:J,children:G!==null?[G]:[],serverProps:J===X?Y:J===Z?null:void 0,serverTail:[],distanceFromLeaf:z},z++,J=J.return;return G!==null?IF(G).replaceAll(/^[+-]/gm,">"):""}function O8(Z,X){var Y=oZ({},Z||T7),J={tag:X};if(I7.indexOf(X)!==-1&&(Y.aTagInScope=null,Y.buttonTagInScope=null,Y.nobrTagInScope=null),LS.indexOf(X)!==-1&&(Y.pTagInButtonScope=null),BS.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 F8(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 AS.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 WD(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 M8(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 TF(Z,X){X=X||T7;var Y=X.current;if(X=(Y=F8(Z,Y&&Y.tag,X.implicitRootScope)?null:Y)?null:WD(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)?M8(X.return,J):null,z=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,z)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
73
|
+
This will cause a hydration error.%s`,U,J,z),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||F8("#text",X,!1))return!0;if(Y="#text|"+X,SL[Y])return!1;SL[Y]=!0;var J=(Y=DQ)?M8(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 cW(Z,X){if(X){var Y=Z.firstChild;if(Y&&Y===Z.lastChild&&Y.nodeType===3){Y.nodeValue=X;return}}Z.textContent=X}function UD(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,UD(X.replace(FS,"ms-")))):OS.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)||hM.hasOwnProperty(Y)&&hM[Y]||(hM[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 z=vM[G]||[G],U=0;U<z.length;U++)J[z[U]]=G}for(var B in X)if(X.hasOwnProperty(B)&&(!Y||Y[B]!==X[B]))for(G=vM[B]||[B],z=0;z<G.length;z++)J[G[z]]=B;B={};for(var M in X)for(G=vM[M]||[M],z=0;z<G.length;z++)B[G[z]]=M;M={};for(var T in J)if(G=J[T],(z=B[T])&&G!==z&&(U=G+","+z,!M[U])){M[U]=!0,U=console;var y=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.",y==null||typeof y==="boolean"||y===""?"Removing":"Updating",G,z)}}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 pW(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 NS.get(Z)||Z}function KD(Z,X){if(LJ.call(O_,X)&&O_[X])return!0;if(TS.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(IS.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 BD(Z,X){var Y=[],J;for(J in X)KD(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 LD(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 wS.test(X)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",X),lY[X]=!0;if(VS.test(X)||RS.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 AD(Z,X,Y){var J=[],G;for(G in X)LD(Z,G,X[G],Y)||J.push(G);X=J.map(function(z){return"`"+z+"`"}).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 lW(Z){return jS.test(""+Z)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":Z}function wq(){}function wF(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(AF(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.");AF(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&&iH(Z,!!Y.multiple,X,!1)}}}function V8(Z,X,Y){if(bM)return Z(X,Y);bM=!0;try{var J=Z(X);return J}finally{if(bM=!1,F_!==null||M_!==null){if(J_(),F_&&(X=F_,Z=M_,M_=F_=null,w8(X),Z))for(X=0;X<Z.length;X++)w8(Z[X])}}}function iW(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=mM,Y=X.length,J,G="value"in CG?CG.value:CG.textContent,z=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[z-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,z,U){this._reactName=Y,this._targetInst=G,this.type=J,this.nativeEvent=z,this.target=U,this.currentTarget=null;for(var B in Z)Z.hasOwnProperty(B)&&(Y=Z[B],this[B]=Y?Y(z):z[B]);return this.isDefaultPrevented=(z.defaultPrevented!=null?z.defaultPrevented:z.returnValue===!1)?TB:j8,this.isPropagationStopped=j8,this}return oZ(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 OD(Z){var X=this.nativeEvent;return X.getModifierState?X.getModifierState(Z):(Z=gS[Z])?!!X[Z]:!1}function VF(){return OD}function C8(Z,X){switch(Z){case"keyup":return rS.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 FD(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"||!cM&&C8(Z,X)?(Z=R8(),xL=mM=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"?!!tS[Z.type]:X==="textarea"?!0:!1}function ND(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){F_?M_?M_.push(J):M_=[J]:F_=J,X=BL(X,"onChange"),0<X.length&&(Y=new yL("onChange","change",null,Y,J),Z.push({event:Y,listeners:X}))}function ID(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(){EU&&(EU.detachEvent("onpropertychange",k8),kU=EU=null)}function k8(Z){if(Z.propertyName==="value"&&wB(kU)){var X=[];$8(X,kU,Z,wF(Z)),V8(ID,X)}}function TD(Z,X,Y){Z==="focusin"?(E8(),EU=X,kU=Y,EU.attachEvent("onpropertychange",k8)):Z==="focusout"&&E8()}function wD(Z){if(Z==="selectionchange"||Z==="keyup"||Z==="keydown")return wB(kU)}function VD(Z,X){if(Z==="click")return wB(X)}function RD(Z,X){if(Z==="input"||Z==="change")return wB(X)}function jD(Z,X){return Z===X&&(Z!==0||1/Z===1/X)||Z!==Z&&X!==X}function nW(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=FB(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=FB(Z.document)}return X}function RF(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;lM||I_==null||I_!==FB(J)||(J=I_,("selectionStart"in J)&&RF(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}),xU&&nW(xU,J)||(xU=J,J=BL(pM,"onSelect"),0<J.length&&(X=new yL("onSelect","select",null,X,Y),Z.push({event:X,listeners:J}),X.target=I_)))}function Rz(Z,X){var Y={};return Y[Z.toLowerCase()]=X.toLowerCase(),Y["Webkit"+Z]="webkit"+X,Y["Moz"+Z]="moz"+X,Y}function jz(Z){if(iM[Z])return iM[Z];if(!T_[Z])return Z;var X=T_[Z],Y;for(Y in X)if(X.hasOwnProperty(Y)&&Y in f7)return iM[Z]=X[Y];return Z}function UJ(Z,X){l7.set(Z,X),hY(X,[Z])}function CD(Z){for(var X=hL,Y=0;Y<Z.length;Y++){var J=Z[Y];if(typeof J==="object"&&J!==null)if(HY(J)&&J.length===2&&typeof J[0]==="string"){if(X!==hL&&X!==oM)return aM;X=oM}else return aM;else{if(typeof J==="function"||typeof J==="string"&&50<J.length||X!==hL&&X!==rM)return aM;X=rM}}return X}function jF(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 z=l(X.type)||"…",U=X.key;X=X.props;var B=Object.keys(X),M=B.length;if(U==null&&M===0){X="<"+z+" />";break}if(3>J||M===1&&B[0]==="children"&&U==null){X="<"+z+" … />";break}Y.push([G+" ".repeat(J)+Z,"<"+z]),U!==null&&xJ("key",U,Y,J+1,G),Z=!1;for(var T in X)T==="children"?X.children!=null&&(!HY(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?">…</"+z+">":"/>"]);return}if(z=Object.prototype.toString.call(X),z=z.slice(8,z.length-1),z==="Array"){if(T=CD(X),T===rM||T===hL){X=JSON.stringify(X);break}else if(T===oM){Y.push([G+" ".repeat(J)+Z,""]);for(Z=0;Z<X.length;Z++)z=X[Z],xJ(z[0],z[1],Y,J+1,G);return}}if(z==="Promise"){if(X.status==="fulfilled"){if(z=Y.length,xJ(Z,X.value,Y,J,G),Y.length>z){Y=Y[z],Y[1]="Promise<"+(Y[1]||"Object")+">";return}}else if(X.status==="rejected"&&(z=Y.length,xJ(Z,X.reason,Y,J,G),Y.length>z)){Y=Y[z],Y[1]="Rejected Promise<"+Y[1]+">";return}Y.push([" ".repeat(J)+Z,"Promise"]);return}z==="Object"&&(T=Object.getPrototypeOf(X))&&typeof T.constructor==="function"&&(z=T.constructor.name),Y.push([G+" ".repeat(J)+Z,z==="Object"?3>J?"":"…":z]),3>J&&jF(X,Y,J+1,G);return}case"function":X=X.name===""?"() => {}":X.name+"() {}";break;case"string":X=X===qE?"…":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 z in X)if(z in Z){var U=Z[z],B=X[z];if(U!==B){if(J===0&&z==="children")G=" ".repeat(J)+z,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)+z,U="<"+U+" … />",Y.push([bL+G,U],[gL+G,U]),G=!1;continue}}else{var M=Object.prototype.toString.call(U),T=Object.prototype.toString.call(B);if(M===T&&(T==="[object Object]"||T==="[object Array]")){M=[s7+" ".repeat(J)+z,T==="[object Array]"?"Array":""],Y.push(M),T=Y.length,g8(U,B,Y,J+1)?T===Y.length&&(M[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&&(M=Function.prototype.toString.call(U),T=Function.prototype.toString.call(B),M===T)){U=B.name===""?"() => {}":B.name+"() {}",Y.push([s7+" ".repeat(J)+z,U+" Referentially unequal function closure. Consider memoization."]);continue}}xJ(z,U,Y,J,bL),xJ(z,B,Y,J,gL)}G=!1}}else Y.push([gL+" ".repeat(J)+z,"…"]),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 z=s(Z);if(z!==null&&DX){var{alternate:U,actualDuration:B}=Z;if(U===null||U.child!==Z.child)for(var M=Z.child;M!==null;M=M.sibling)B-=M.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?(M=[GE],T=g8(U.memoizedProps,T,M,0),1<M.length&&(T&&!PG&&(U.lanes&G)===0&&100<Z.actualDuration?(PG=!0,M[0]=zE,Eq.color="warning",Eq.tooltipText=a7):(Eq.color=J,Eq.tooltipText=z),Eq.properties=M,DG.start=X,DG.end=Y,B!=null?B.run(performance.measure.bind(performance,""+z,DG)):performance.measure(""+z,DG))):B!=null?B.run(console.timeStamp.bind(console,z,X,Y,pQ,void 0,J)):console.timeStamp(z,X,Y,pQ,void 0,J)}}function CF(Z,X,Y,J){if(DX){var G=s(Z);if(G!==null){for(var z=null,U=[],B=0;B<J.length;B++){var M=J[B];z==null&&M.source!==null&&(z=M.source._debugTask),M=M.value,U.push(["Error",typeof M==="object"&&M!==null&&typeof M.message==="string"?String(M.message):String(M)])}Z.key!==null&&xJ("key",Z.key,U,0,""),Z.memoizedProps!==null&&jF(Z.memoizedProps,U,0,""),z==null&&(z=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}}},z?z.run(performance.measure.bind(performance,""+G,Z)):performance.measure(""+G,Z)}}}function vJ(Z,X,Y,J,G){if(G!==null){if(DX){var z=s(Z);if(z!==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&&jF(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,""+z,X)):performance.measure(""+z,X)}}}else z=s(Z),z!==null&&DX&&(G=1>J?"secondary-light":100>J?"secondary":500>J?"secondary-dark":"error",(Z=Z._debugTask)?Z.run(console.timeStamp.bind(console,z,X,Y,pQ,void 0,G)):console.timeStamp(z,X,Y,pQ,void 0,G))}function PD(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 DD(Z,X,Y,J,G,z){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}}},z?z.run(performance.measure.bind(performance,"Recovered",Z)):performance.measure("Recovered",Z)}}function PF(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 $D(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 z=[],U=0;U<Y.length;U++){var B=Y[U].value;z.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:z}}},G?G.run(performance.measure.bind(performance,"Errored",Z)):performance.measure("Errored",Z)}}function sW(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=tM=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 z=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}z!==0&&d8(Y,G,z)}}function CB(Z,X,Y,J){lQ[w_++]=Z,lQ[w_++]=X,lQ[w_++]=Y,lQ[w_++]=J,tM|=J,Z.lanes|=J,Z=Z.alternate,Z!==null&&(Z.lanes|=J)}function DF(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,z=Z.return;z!==null;)z.childLanes|=Y,J=z.alternate,J!==null&&(J.childLanes|=Y),z.tag===22&&(Z=z.stateNode,Z===null||Z._visibility&yU||(G=!0)),Z=z,z=z.return;return Z.tag===3?(z=Z.stateNode,G&&X!==null&&(G=31-cY(Y),Z=z.hiddenUpdates,J=Z[G],J===null?Z[G]=[X]:J.push(X),X.lane=Y|536870912),z):null}function PB(Z){if(zK>wE)throw ZH=zK=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.");ZH>VE&&(ZH=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 Cz(Z){if(iQ===null)return Z;var X=iQ(Z);return X===void 0?Z:X.current}function $F(Z){if(iQ===null)return Z;var X=iQ(Z);return X===void 0?Z!==null&&Z!==void 0&&typeof Z.render==="function"&&(X=Cz(Z.render),Z.render!==X)?(X={$$typeof:wU,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===wU?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,z=J.child,U=J.sibling,B=J.tag;J=J.type;var M=null;switch(B){case 0:case 15:case 1:M=J;break;case 11:M=J.render}if(iQ===null)throw Error("Expected resolveFamily to be set during hot reload.");var T=!1;if(J=!1,M!==null&&(M=iQ(M),M!==void 0&&(Y.has(M)?J=!0:X.has(M)&&(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(z===null||J||l8(z,X,Y),U===null)break;Z=U}while(1)}function SD(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,r7||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function SF(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=Cz(Z.type);break;case 1:Y.type=Cz(Z.type);break;case 11:Y.type=$F(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 EF(Z,X,Y,J,G,z){var U=0,B=Z;if(typeof Z==="function")SF(Z)&&(U=1),B=Cz(B);else if(typeof Z==="string")U=m(),U=m$(Z,Y,U)?26:Z==="html"||Z==="head"||Z==="body"?27:5;else Z:switch(Z){case VM:return X=R(31,Y,X,G),X.elementType=VM,X.lanes=z,X;case U_:return Pz(Y.children,G,z,X);case VL:U=8,G|=mY,G|=OJ;break;case NM: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=NM,X.lanes=z,X.stateNode={effectDuration:0,passiveEffectDuration:0},X;case TM:return X=R(13,Y,X,G),X.elementType=TM,X.lanes=z,X;case wM:return X=R(19,Y,X,G),X.elementType=wM,X.lanes=z,X;default:if(typeof Z==="object"&&Z!==null)switch(Z.$$typeof){case rJ:U=10;break Z;case IM:U=9;break Z;case wU:U=11,B=$F(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":HY(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?FZ(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=z,X._debugOwner=J,X}function DB(Z,X,Y){return X=EF(Z.type,Z.key,Z.props,Z._owner,X,Y),X._debugOwner=Z._owner,X._debugStack=Z._debugStack,X._debugTask=Z._debugTask,X}function Pz(Z,X,Y,J){return Z=R(7,Z,J,X),Z.lanes=Y,Z}function kF(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 xF(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=eM.get(Z);if(Y!==void 0)return Y;return X={value:Z,source:X,stack:YX(X)},eM.set(Z,X),X}return{value:Z,source:X,stack:YX(X)}}function Rq(Z,X){WG(),R_[j_++]=vU,R_[j_++]=mL,mL=Z,vU=X}function s8(Z,X,Y){WG(),nQ[sQ++]=xq,nQ[sQ++]=yq,nQ[sQ++]=fz,fz=Z;var J=xq;Z=yq;var G=32-cY(J)-1;J&=~(1<<G),Y+=1;var z=32-cY(X)+G;if(30<z){var U=G-G%5;z=(J&(1<<U)-1).toString(32),J>>=U,G-=U,xq=1<<32-cY(X)+G|Y<<G|J,yq=z+Z}else xq=1<<z|Y<<G|J,yq=Z}function yF(Z){WG(),Z.return!==null&&(Rq(Z,1),s8(Z,1,0))}function vF(Z){for(;Z===mL;)mL=R_[--j_],R_[j_]=null,vU=R_[--j_],R_[j_]=null;for(;Z===fz;)fz=nQ[--sQ],nQ[sQ]=null,yq=nQ[--sQ],nQ[sQ]=null,xq=nQ[--sQ],nQ[sQ]=null}function a8(){return WG(),fz!==null?{id:xq,overflow:yq}:null}function r8(Z,X){WG(),nQ[sQ++]=xq,nQ[sQ++]=yq,nQ[sQ++]=fz,xq=X.id,yq=X.overflow,fz=Z}function WG(){QX||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Dz(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=Dz(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 o8(){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=Dz(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=IF(J)),aW(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,XM(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<_K.length;Y++)qX(_K[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),H8(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 aH(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")||GM(Z.type,Z.memoizedProps);Y=!Y}if(Y&&$X){for(Y=$X;Y;){var J=Dz(Z,0),G=$N(Y);J.serverTail.push(G),Y=G.type==="Suspense"?WM(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=WM(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=WM(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 $z(){$X=PY=null,Yq=QX=!1}function hF(){var Z=SG;return Z!==null&&(rY===null?rY=Z:rY.push.apply(rY,Z),SG=null),Z}function aW(Z){SG===null?SG=[Z]:SG.push(Z)}function bF(){var Z=SQ;if(Z!==null){SQ=null;for(var X=IF(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){HZ(X9,X._currentValue,Z),X._currentValue=Y,HZ(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 gF(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 mF(Z,X,Y,J){var G=Z.child;G!==null&&(G.return=Z);for(;G!==null;){var z=G.dependencies;if(z!==null){var U=G.child;z=z.firstContext;Z:for(;z!==null;){var B=z;z=G;for(var M=0;M<X.length;M++)if(B.context===X[M]){z.lanes|=Y,B=z.alternate,B!==null&&(B.lanes|=Y),gF(z.return,Y,Z),J||(U=null);break Z}z=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,z=U.alternate,z!==null&&(z.lanes|=Y),gF(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 rH(Z,X,Y,J){Z=null;for(var G=X,z=!1;G!==null;){if(!z){if((G.flags&524288)!==0)z=!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(LK):Z=[LK])}G=G.return}Z!==null&&mF(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 Sz(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&&Sz(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 fF(){return{controller:new WE,data:new Map,refCount:0}}function Ez(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 rW(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&&UE(KE,function(){Z.controller.abort()})}function hJ(Z,X,Y){if((Z&127)!==0)0>Qq&&(Qq=tX(),bU=uL(X),Q9=X,Y!=null&&(J9=s(Y)),(HX&(WY|xQ))!==FY&&(mX=!0,xG=hU),Z=FU(),X=OU(),Z!==D_||X!==gU?D_=-1.1:X!==null&&(xG=hU),dz=Z,gU=X);else if((Z&4194048)!==0&&0>rQ&&(rQ=tX(),mU=uL(X),e7=X,Y!=null&&(ZI=s(Y)),0>bq)){if(Z=FU(),X=OU(),Z!==vG||X!==cz)vG=-1.1;yG=Z,cz=X}}function ED(Z){if(0>Qq){Qq=tX(),bU=Z._debugTask!=null?Z._debugTask:null,(HX&(WY|xQ))!==FY&&(xG=hU);var X=FU(),Y=OU();X!==D_||Y!==gU?D_=-1.1:Y!==null&&(xG=hU),dz=X,gU=Y}if(0>rQ&&(rQ=tX(),mU=Z._debugTask!=null?Z._debugTask:null,0>bq)){if(Z=FU(),X=OU(),Z!==vG||X!==cz)vG=-1.1;yG=Z,cz=X}}function Cq(){var Z=uz;return uz=0,Z}function xB(Z){var X=uz;return uz=Z,X}function oW(Z){var X=uz;return uz+=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 uF(Z){nY=tX(),0>Z.actualStartTime&&(Z.actualStartTime=nY)}function dF(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,uz+=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 tW(Z){for(var X=Z.child;X;)Z.actualDuration+=X.actualDuration,X=X.sibling}function kD(Z,X){if(uU===null){var Y=uU=[];G9=0,pz=o0(),$_={status:"pending",value:void 0,then:function(J){Y.push(J)}}}return G9++,X.then(Q1,Q1),X}function Q1(){if(--G9===0&&(-1<rQ||(bq=-1.1),uU!==null)){$_!==null&&($_.status="fulfilled");var Z=uU;uU=null,pz=0,$_=null;for(var X=0;X<Z.length;X++)(0,Z[X])()}}function xD(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 cF(){var Z=lz.current;return Z!==null?Z:RX.pooledCache}function vB(Z,X){X===null?HZ(lz,lz.current,Z):HZ(lz,X.pool,Z)}function J1(){var Z=cF();return Z===null?null:{parent:oX._currentValue,pool:Z}}function q1(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function G1(Z){return Z=Z.status,Z==="fulfilled"||Z==="rejected"}function z1(Z,X,Y){a.actQueue!==null&&(a.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(z){if(X.status==="pending"){var U=X;U.status="fulfilled",U.value=z}},function(z){if(X.status==="pending"){var U=X;U.status="rejected",U.reason=z}})}switch(X.status){case"fulfilled":return X.value;case"rejected":throw Z=X.reason,_1(Z),Z}throw nz=X,sU=!0,S_}}function BG(Z){try{return OE(Z)}catch(X){if(X!==null&&typeof X==="object"&&typeof X.then==="function")throw nz=X,sU=!0,S_;throw X}}function H1(){if(nz===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var Z=nz;return nz=null,sU=!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 pF(){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 z=J[G];if(z!=="children"&&z!=="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)},z);break}}}function bB(Z){var X=aU;return aU+=1,E_===null&&(E_=q1()),z1(E_,Z,X)}function eW(Z,X){X=X.props.ref,Z.ref=X!==void 0?X:null}function W1(Z,X){if(X.$$typeof===a$)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=pF();Y!==null?Y.run(W1.bind(null,Z,X)):W1(Z,X)}function U1(Z,X){var Y=s(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=pF();Y!==null?Y.run(U1.bind(null,Z,X)):U1(Z,X)}function K1(Z,X){var Y=s(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=pF();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 z(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=kF(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 M(D,S,k,t){var WZ=k.type;if(WZ===U_)return S=y(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),eW(S,k),S.return=D,S._debugOwner=k._owner,S._debugInfo=nZ,S;return S=DB(k,D.mode,t),eW(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=xF(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 y(D,S,k,t,WZ){if(S===null||S.tag!==7)return S=Pz(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=kF(""+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),eW(k,S),k.return=D,D=VY(S._debugInfo),k._debugInfo=nZ,nZ=D,k;case W_:return S=xF(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(HY(S)||GZ(S))return k=Pz(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===rJ)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=M(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(HY(k)||GZ(k)){if(WZ!==null)return null;return WZ=VY(k._debugInfo),D=y(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===rJ)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=M(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(HY(t)||GZ(t))return k=D.get(k)||null,D=VY(t._debugInfo),S=y(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===rJ)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 zZ(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),zZ(D,S,k,t)}return t}function AZ(D,S,k,t){for(var WZ=null,gZ=null,SZ=null,CZ=S,pZ=S=0,SX=null;CZ!==null&&pZ<k.length;pZ++){CZ.index>pZ?(SX=CZ,CZ=null):SX=CZ.sibling;var sX=$(D,CZ,k[pZ],t);if(sX===null){CZ===null&&(CZ=SX);break}WZ=zZ(D,sX,k[pZ],WZ),Z&&CZ&&sX.alternate===null&&X(D,CZ),S=z(sX,S,pZ),SZ===null?gZ=sX:SZ.sibling=sX,SZ=sX,CZ=SX}if(pZ===k.length)return Y(D,CZ),QX&&Rq(D,pZ),gZ;if(CZ===null){for(;pZ<k.length;pZ++)CZ=v(D,k[pZ],t),CZ!==null&&(WZ=zZ(D,CZ,k[pZ],WZ),S=z(CZ,S,pZ),SZ===null?gZ=CZ:SZ.sibling=CZ,SZ=CZ);return QX&&Rq(D,pZ),gZ}for(CZ=J(CZ);pZ<k.length;pZ++)SX=c(CZ,D,pZ,k[pZ],t),SX!==null&&(WZ=zZ(D,SX,k[pZ],WZ),Z&&SX.alternate!==null&&CZ.delete(SX.key===null?pZ:SX.key),S=z(SX,S,pZ),SZ===null?gZ=SX:SZ.sibling=SX,SZ=SX);return Z&&CZ.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,CZ=S=0,pZ=null,SX=null,sX=k.next();SZ!==null&&!sX.done;CZ++,sX=k.next()){SZ.index>CZ?(pZ=SZ,SZ=null):pZ=SZ.sibling;var iq=$(D,SZ,sX.value,t);if(iq===null){SZ===null&&(SZ=pZ);break}SX=zZ(D,iq,sX.value,SX),Z&&SZ&&iq.alternate===null&&X(D,SZ),S=z(iq,S,CZ),gZ===null?WZ=iq:gZ.sibling=iq,gZ=iq,SZ=pZ}if(sX.done)return Y(D,SZ),QX&&Rq(D,CZ),WZ;if(SZ===null){for(;!sX.done;CZ++,sX=k.next())SZ=v(D,sX.value,t),SZ!==null&&(SX=zZ(D,SZ,sX.value,SX),S=z(SZ,S,CZ),gZ===null?WZ=SZ:gZ.sibling=SZ,gZ=SZ);return QX&&Rq(D,CZ),WZ}for(SZ=J(SZ);!sX.done;CZ++,sX=k.next())pZ=c(SZ,D,CZ,sX.value,t),pZ!==null&&(SX=zZ(D,pZ,sX.value,SX),Z&&pZ.alternate!==null&&SZ.delete(pZ.key===null?CZ:pZ.key),S=z(pZ,S,CZ),gZ===null?WZ=pZ:gZ.sibling=pZ,gZ=pZ);return Z&&SZ.forEach(function(fE){return X(D,fE)}),QX&&Rq(D,CZ),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),eW(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=Pz(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),eW(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=xF(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(HY(k))return WZ=VY(k._debugInfo),D=AZ(D,S,k,t),nZ=WZ,D;if(GZ(k)){if(WZ=VY(k._debugInfo),gZ=GZ(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]")MI||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."),MI=!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===rJ)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=kF(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{aU=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 CZ=SZ._debugInfo=nZ;if(SZ._debugOwner=D._debugOwner,SZ._debugTask=D._debugTask,CZ!=null){for(var pZ=CZ.length-1;0<=pZ;pZ--)if(typeof CZ[pZ].stack==="string"){SZ._debugOwner=CZ[pZ],SZ._debugTask=CZ[pZ].debugTask;break}}return SZ}finally{nZ=WZ}}}function L1(Z,X){var Y=HY(Z);return Z=!Y&&typeof GZ(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 lF(Z){Z.updateQueue={baseState:Z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function iF(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=s(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((HX&WY)!==FY)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 ZU(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,Iz(Z,Y)}}function uB(Z,X){var{updateQueue:Y,alternate:J}=Z;if(J!==null&&(J=J.updateQueue,Y===J)){var G=null,z=null;if(Y=Y.firstBaseUpdate,Y!==null){do{var U={lane:Y.lane,tag:Y.tag,payload:Y.payload,callback:null,next:null};z===null?G=z=U:z=z.next=U,Y=Y.next}while(Y!==null);z===null?G=z=X:z=z.next=X}else G=z=X;Y={baseState:J.baseState,firstBaseUpdate:G,lastBaseUpdate:z,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 XU(){if(B9){var Z=$_;if(Z!==null)throw Z}}function YU(Z,X,Y,J){B9=!1;var G=Z.updateQueue;hG=!1,K9=G.shared;var{firstBaseUpdate:z,lastBaseUpdate:U}=G,B=G.shared.pending;if(B!==null){G.shared.pending=null;var M=B,T=M.next;M.next=null,U===null?z=T:U.next=T,U=M;var y=Z.alternate;y!==null&&(y=y.updateQueue,B=y.lastBaseUpdate,B!==U&&(B===null?y.firstBaseUpdate=T:B.next=T,y.lastBaseUpdate=M))}if(z!==null){var v=G.baseState;U=0,y=T=M=null,B=z;do{var $=B.lane&-536870913,c=$!==B.lane;if(c?(sZ&$)===$:(J&$)===$){$!==0&&$===pz&&(B9=!0),y!==null&&(y=y.next={lane:0,tag:B.tag,payload:B.payload,callback:null,next:null});Z:{$=Z;var zZ=B,AZ=X,PX=Y;switch(zZ.tag){case RI:if(zZ=zZ.payload,typeof zZ==="function"){P_=!0;var GX=zZ.call(PX,v,AZ);if($.mode&mY){jX(!0);try{zZ.call(PX,v,AZ)}finally{jX(!1)}}P_=!1,v=GX;break Z}v=zZ;break Z;case U9:$.flags=$.flags&-65537|128;case VI:if(GX=zZ.payload,typeof GX==="function"){if(P_=!0,zZ=GX.call(PX,v,AZ),$.mode&mY){jX(!0);try{GX.call(PX,v,AZ)}finally{jX(!1)}}P_=!1}else zZ=GX;if(zZ===null||zZ===void 0)break Z;v=oZ({},v,zZ);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},y===null?(T=y=c,M=v):y=y.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);y===null&&(M=v),G.baseState=M,G.firstBaseUpdate=T,G.lastBaseUpdate=y,z===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 yD(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 F1(Z,X){var Y=Gq;HZ(oL,Y,Z),HZ(k_,X,Z),Gq=Y|X.baseLanes}function nF(Z){HZ(oL,Gq,Z),HZ(k_,k_.current,Z)}function sF(Z){Gq=oL.current,KZ(k_,Z),KZ(oL,Z)}function OG(Z){var X=Z.alternate;HZ(nX,nX.current&x_,Z),HZ(EQ,Z,Z),oQ===null&&(X===null||k_.current!==null?oQ=Z:X.memoizedState!==null&&(oQ=Z))}function aF(Z){HZ(nX,nX.current,Z),HZ(EQ,Z,Z),oQ===null&&(oQ=Z)}function M1(Z){Z.tag===22?(HZ(nX,nX.current,Z),HZ(EQ,Z,Z),oQ===null&&(oQ=Z)):FG(Z)}function FG(Z){HZ(nX,nX.current,Z),HZ(EQ,EQ.current,Z)}function RQ(Z){KZ(EQ,Z),oQ===Z&&(oQ=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||HM(Y)||_M(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 rZ(){var Z=i;eQ===null?eQ=[Z]:eQ.push(Z)}function YZ(){var Z=i;if(eQ!==null&&(uq++,eQ[uq]!==Z)){var X=s(bZ);if(!PI.has(X)&&(PI.add(X),eQ!==null)){for(var Y="",J=0;J<=uq;J++){var G=eQ[J],z=J===uq?Z:G;for(G=J+1+". "+G;30>G.length;)G+=" ";G+=z+`
|
|
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 oH(Z){Z===void 0||Z===null||HY(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=s(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 rF(Z,X){if(tU)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 oF(Z,X,Y,J,G,z){if(mq=z,bZ=X,eQ=Z!==null?Z._debugHookTypes:null,uq=-1,tU=Z!==null&&Z.type!==X.type,Object.prototype.toString.call(Y)==="[object AsyncFunction]"||Object.prototype.toString.call(Y)==="[object AsyncGeneratorFunction]")z=s(bZ),L9.has(z)||(L9.add(z),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.",z===null?"An unknown Component":"<"+z+">"));X.memoizedState=null,X.updateQueue=null,X.lanes=0,a.H=Z!==null&&Z.memoizedState!==null?O9:eQ!==null?SI:A9,az=z=(X.mode&mY)!==hZ;var U=z9(Y,J,G);if(az=!1,v_&&(U=tF(X,Y,J,G)),z){jX(!0);try{U=tF(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,a.H=eU;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)),sU?(sU=!1,Z=!0):Z=!1,Z&&(X=s(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 tF(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,tU=!1,eX=VX=null,Z.updateQueue!=null){var z=Z.updateQueue;z.lastEffect=null,z.events=null,z.stores=null,z.memoCache!=null&&(z.memoCache.index=0)}uq=-1,a.H=EI,z=z9(X,Y,J)}while(v_);return z}function vD(){var Z=a.H,X=Z.useState()[0];return X=typeof X.then==="function"?QU(X):X,Z=Z.useState()[0],(VX!==null?VX.memoizedState:null)!==Z&&(bZ.flags|=1024),X}function eF(){var Z=ZA!==0;return ZA=0,Z}function Z0(Z,X,Y){X.updateQueue=Z.updateQueue,X.flags=(X.mode&OJ)!==hZ?X.flags&-402655237:X.flags&-2053,Z.lanes&=~Y}function X0(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 MX(){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 QU(Z){var X=oU;return oU+=1,fq===null&&(fq=q1()),Z=z1(fq,Z,X),X=bZ,(eX===null?X.memoizedState:eX.next)===null&&(X=X.alternate,a.H=X!==null&&X.memoizedState!==null?O9:A9),Z}function MG(Z){if(Z!==null&&typeof Z==="object"){if(typeof Z.then==="function")return QU(Z);if(Z.$$typeof===rJ)return kX(Z)}throw Error("An unsupported type was passed to use(): "+String(Z))}function kz(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||tU)for(Y=X.data[X.index]=Array(Z),J=0;J<Z;J++)Y[J]=r$;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 Y0(Z,X,Y){var J=dY();if(Y!==void 0){var G=Y(X);if(az){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=fD.bind(null,bZ,Z),[J.memoizedState,Z]}function tH(Z){var X=MX();return Q0(X,VX,Z)}function Q0(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,z=J.pending;if(z!==null){if(G!==null){var U=G.next;G.next=z.next,z.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=z,J.pending=null}if(z=Z.baseState,G===null)Z.memoizedState=z;else{X=G.next;var B=U=null,M=null,T=X,y=!1;do{var v=T.lane&-536870913;if(v!==T.lane?(sZ&v)===v:(mq&v)===v){var $=T.revertLane;if($===0)M!==null&&(M=M.next={lane:0,revertLane:0,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),v===pz&&(y=!0);else if((mq&$)===$){T=T.next,$===pz&&(y=!0);continue}else v={lane:0,revertLane:T.revertLane,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},M===null?(B=M=v,U=z):M=M.next=v,bZ.lanes|=$,mG|=$;v=T.action,az&&Y(z,v),z=T.hasEagerState?T.eagerState:Y(z,v)}else $={lane:v,revertLane:T.revertLane,gesture:T.gesture,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},M===null?(B=M=$,U=z):M=M.next=$,bZ.lanes|=v,mG|=v;T=T.next}while(T!==null&&T!==X);if(M===null?U=z:M.next=B,!iY(z,Z.memoizedState)&&(ZY=!0,y&&(Y=$_,Y!==null)))throw Y;Z.memoizedState=z,Z.baseState=U,Z.baseQueue=M,J.lastRenderedState=z}return G===null&&(J.lanes=0),[Z.memoizedState,J.dispatch]}function JU(Z){var X=MX(),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,z=X.memoizedState;if(G!==null){Y.pending=null;var U=G=G.next;do z=Z(z,U.action),U=U.next;while(U!==G);iY(z,X.memoizedState)||(ZY=!0),X.memoizedState=z,X.baseQueue===null&&(X.baseState=z),Y.lastRenderedState=z}return[z,J]}function J0(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 z=Y();y_||z===Y()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),y_=!0)}else{if(z=X(),y_||(Y=X(),iY(z,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,z)}return G.memoizedState=z,Y={value:z,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,z,X),null),z}function lB(Z,X,Y){var J=bZ,G=MX(),z=QX;if(z){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.");z||(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 q0(Z){var X=dY();if(typeof Z==="function"){var Y=Z;if(Z=Y(),az){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 G0(Z){Z=q0(Z);var X=Z.queue,Y=c1.bind(null,bZ,X);return X.dispatch=Y,[Z.memoizedState,Y]}function z0(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=T0.bind(null,bZ,!0,Y),Y.dispatch=X,[Z,X]}function j1(Z,X){var Y=MX();return C1(Y,VX,Z,X)}function C1(Z,X,Y,J){return Z.baseState=Y,Q0(Z,VX,typeof J==="function"?J:KJ)}function P1(Z,X){var Y=MX();if(VX!==null)return C1(Y,VX,Z,X);return Y.baseState=Z,[Z,Y.queue.dispatch]}function hD(Z,X,Y,J,G){if(ZL(Z))throw Error("Cannot update form state while rendering.");if(Z=X.action,Z!==null){var z={payload:G,action:Z,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(U){z.listeners.push(U)}};a.T!==null?Y(!0):z.isTransition=!1,J(z),Y=X.pending,Y===null?(z.next=X.pending=z,D1(X,z)):(z.next=Y.next,X.pending=Y.next=z)}}function D1(Z,X){var{action:Y,payload:J}=X,G=Z.state;if(X.isTransition){var z=a.T,U={};U._updatedFibers=new Set,a.T=U;try{var B=Y(G,J),M=a.S;M!==null&&M(U,B),$1(Z,X,B)}catch(T){H0(Z,X,T)}finally{z!==null&&U.types!==null&&(z.types!==null&&z.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."),z.types=U.types),a.T=z,z===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){H0(Z,X,T)}}function $1(Z,X,Y){Y!==null&&typeof Y==="object"&&typeof Y.then==="function"?(a.asyncTransitions++,Y.then(eB,eB),Y.then(function(J){S1(Z,X,J)},function(J){return H0(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 H0(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 eH(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 z=aQ;G.nodeType!==8;){if(!z){G=null;break X}if(G=CQ(G.nextSibling),G===null){G=null;break X}}z=G.data,G=z===m9||z===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=q0(!1),z=T0.bind(null,bZ,!1,J.queue),J=dY(),G={state:X,dispatch:null,action:Z,pending:null},J.queue=G,Y=hD.bind(null,bZ,G,z,Y),G.dispatch=Y,J.memoizedState=Z,[X,Y,!1]}function iB(Z){var X=MX();return x1(X,VX,Z)}function x1(Z,X,Y){if(X=Q0(Z,X,k1)[0],Z=tH(KJ)[0],typeof X==="object"&&X!==null&&typeof X.then==="function")try{var J=QU(X)}catch(U){if(U===S_)throw aL;throw U}else J=X;X=MX();var G=X.queue,z=G.dispatch;return Y!==X.memoizedState&&(bZ.flags|=2048,Z_(tQ|aY,{destroy:void 0},bD.bind(null,G,Y),null)),[J,z,Z]}function bD(Z,X){Z.action=X}function nB(Z){var X=MX(),Y=VX;if(Y!==null)return x1(X,Y,Z);MX(),X=X.memoizedState,Y=MX();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 _0(Z){var X=dY();return Z={current:Z},X.memoizedState=Z}function xz(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=MX();J=J===void 0?null:J;var z=G.memoizedState.inst;VX!==null&&J!==null&&rF(J,VX.memoizedState.deps)?G.memoizedState=Z_(X,z,Y,J):(bZ.flags|=Z,G.memoizedState=Z_(tQ|X,z,Y,J))}function sB(Z,X){(bZ.mode&OJ)!==hZ?xz(276826112,aY,Z,X):xz(8390656,aY,Z,X)}function gD(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 W0(Z){var X=dY(),Y={impl:Z};return X.memoizedState=Y,function(){if((HX&WY)!==FY)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=MX().memoizedState;return gD({ref:X,nextImpl:Z}),function(){if((HX&WY)!==FY)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function U0(Z,X){var Y=4194308;return(bZ.mode&OJ)!==hZ&&(Y|=134217728),xz(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 K0(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),xz(J,kQ,y1.bind(null,X,Z),Y)}function rB(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 B0(Z,X){return dY().memoizedState=[Z,X===void 0?null:X],Z}function oB(Z,X){var Y=MX();X=X===void 0?null:X;var J=Y.memoizedState;if(X!==null&&rF(X,J[1]))return J[0];return Y.memoizedState=[Z,X],Z}function L0(Z,X){var Y=dY();X=X===void 0?null:X;var J=Z();if(az){jX(!0);try{Z()}finally{jX(!1)}}return Y.memoizedState=[J,X],J}function tB(Z,X){var Y=MX();X=X===void 0?null:X;var J=Y.memoizedState;if(X!==null&&rF(X,J[1]))return J[0];if(J=Z(),az){jX(!0);try{Z()}finally{jX(!1)}}return Y.memoizedState=[J,X],J}function A0(Z,X){var Y=dY();return O0(Y,Z,X)}function v1(Z,X){var Y=MX();return b1(Y,VX.memoizedState,Z,X)}function h1(Z,X){var Y=MX();return VX===null?O0(Y,Z,X):b1(Y,VX.memoizedState,Z,X)}function O0(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=O0(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(){a.asyncTransitions--}function g1(Z,X,Y,J,G){var z=FX.p;FX.p=z!==0&&z<AJ?z:AJ;var U=a.T,B={};B._updatedFibers=new Set,a.T=B,T0(Z,!1,X,Y);try{var M=G(),T=a.S;if(T!==null&&T(B,M),M!==null&&typeof M==="object"&&typeof M.then==="function"){a.asyncTransitions++,M.then(eB,eB);var y=xD(M,J);qU(Z,X,y,jQ(Z))}else qU(Z,X,J,jQ(Z))}catch(v){qU(Z,X,{then:function(){},status:"rejected",reason:v},jQ(Z))}finally{FX.p=z,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),a.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 F0(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;ED(Z),g1(Z,G,X,GH,Y===null?I:function(){return f1(Z),Y(J)})}function m1(Z){var X=Z.memoizedState;if(X!==null)return X;X={memoizedState:GH,baseState:GH,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:KJ,lastRenderedState:GH},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){a.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),qU(Z,X.next.queue,{},jQ(Z))}function M0(){var Z=q0(!1);return Z=g1.bind(null,bZ,Z.queue,!0,!1),dY().memoizedState=Z,[!1,Z]}function u1(){var Z=tH(KJ)[0],X=MX().memoizedState;return[typeof Z==="boolean"?Z:QU(Z),X]}function d1(){var Z=JU(KJ)[0],X=MX().memoizedState;return[typeof Z==="boolean"?Z:QU(Z),X]}function yz(){return kX(LK)}function N0(){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=FE++,X="_"+X+"r_"+Y.toString(32)+"_";return Z.memoizedState=X}function I0(){return dY().memoizedState=mD.bind(null,bZ)}function mD(Z,X){for(var Y=Z.return;Y!==null;){switch(Y.tag){case 24:case 3:var J=jQ(Y),G=LG(J),z=AG(Y,G,J);z!==null&&(hJ(J,"refresh()",Z),gX(z,Y,J),ZU(z,Y,J)),Z=fF(),X!==null&&X!==void 0&&z!==null&&console.error("The seed argument is not enabled outside experimental channels."),G.payload={cache:Z};return}Y=Y.return}}function fD(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=DF(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),qU(Z,X,Y,J)&&hJ(J,"setState()",Z)}function qU(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 z=Z.alternate;if(Z.lanes===0&&(z===null||z.lanes===0)&&(z=X.lastRenderedReducer,z!==null)){var U=a.H;a.H=MJ;try{var B=X.lastRenderedState,M=z(B,Y);if(G.hasEagerState=!0,G.eagerState=M,iY(M,B))return CB(Z,X,G,0),RX===null&&jB(),!1}catch(T){}finally{a.H=U}}if(Y=DF(Z,X,G,J),Y!==null)return gX(Y,Z,J),l1(Y,X,J),!0}return!1}function T0(Z,X,Y,J){if(a.T===null&&pz===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:o0(),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=DF(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,Iz(Z,Y)}}function w0(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 V0(Z,X,Y,J){var G=Z.memoizedState,z=Y(J,G);if(Z.mode&mY){jX(!0);try{z=Y(J,G)}finally{jX(!1)}}z===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=z===null||z===void 0?G:oZ({},G,z),Z.memoizedState=G,Z.lanes===0&&(Z.updateQueue.baseState=G)}function i1(Z,X,Y,J,G,z,U){var B=Z.stateNode;if(typeof B.shouldComponentUpdate==="function"){if(Y=B.shouldComponentUpdate(J,z,U),Z.mode&mY){jX(!0);try{Y=B.shouldComponentUpdate(J,z,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?!nW(Y,J)||!nW(G,z):!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=s(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)),F9.enqueueReplaceState(X,X.state,null))}function vz(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=oZ({},Y));for(var G in Z)Y[G]===void 0&&(Y[G]=Z[G])}return Y}function s1(Z){sM(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, "+((M9||"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=gE.apply(console.error,Z),J()}else console.error(`%o
|
|
130
|
+
|
|
131
|
+
%s
|
|
132
|
+
|
|
133
|
+
%s
|
|
134
|
+
`,Z,X,Y)}function r1(Z){sM(Z)}function XL(Z,X){try{h_=X.source?s(X.source):null,M9=null;var Y=X.value;if(a.actQueue!==null)a.thrownErrors.push(Y);else{var J=Z.onUncaughtError;J(Y,{componentStack:X.stack})}}catch(G){setTimeout(function(){throw G})}}function o1(Z,X,Y){try{h_=Y.source?s(Y.source):null,M9=s(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 R0(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 j0(Z){return Z=LG(Z),Z.tag=U9,Z}function C0(Z,X,Y,J){var G=Y.type.getDerivedStateFromError;if(typeof G==="function"){var z=J.value;Z.payload=function(){return G(z)},Z.callback=function(){p8(Y),BZ(J.source,o1,X,Y,J)}}var U=Y.stateNode;U!==null&&typeof U.componentDidCatch==="function"&&(Z.callback=function(){p8(Y),BZ(J.source,o1,X,Y,J),typeof G!=="function"&&(uG===null?uG=new Set([this]):uG.add(this)),BE(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.",s(Y)||"Unknown")})}function uD(Z,X,Y,J,G){if(Y.flags|=32768,eJ&&BU(Z,G),J!==null&&typeof J==="object"&&typeof J.then==="function"){if(X=Y.alternate,X!==null&&rH(X,Y,G,!0),QX&&(Yq=!0),Y=EQ.current,Y!==null){switch(Y.tag){case 31:case 13:return oQ===null?WL():Y.alternate===null&&bX===cq&&(bX=QA),Y.flags&=-257,Y.flags|=65536,Y.lanes=G,J===rL?Y.flags|=16384:(X=Y.updateQueue,X===null?Y.updateQueue=new Set([J]):X.add(J),n0(Z,J,G)),!1;case 22:return Y.flags|=65536,J===rL?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)),n0(Z,J,G)),!1}throw Error("Unexpected Suspense handler tag ("+Y.tag+"). This is a bug in React.")}return n0(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&&aW(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&&aW(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=R0(Z.stateNode,J,G),uB(Z,G),bX!==bG&&(bX=rz)),!1;var z=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(qK===null?qK=[z]:qK.push(z),bX!==bG&&(bX=rz),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=R0(Y.stateNode,J,Z),uB(Y,Z),!1;case 1:if(X=Y.type,z=Y.stateNode,(Y.flags&128)===0&&(typeof X.getDerivedStateFromError==="function"||z!==null&&typeof z.componentDidCatch==="function"&&(uG===null||!uG.has(z))))return Y.flags|=65536,G&=-G,Y.lanes|=G,G=j0(G),C0(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):sz(X,Z.child,Y,J)}function t1(Z,X,Y,J,G){Y=Y.render;var z=X.ref;if("ref"in J){var U={};for(var B in J)B!=="ref"&&(U[B]=J[B])}else U=J;if(Sz(X),J=oF(Z,X,Y,U,z,G),B=eF(),Z!==null&&!ZY)return Z0(Z,X,G),Pq(Z,X,G);return QX&&B&&yF(X),X.flags|=1,RY(Z,X,J,G),X.child}function e1(Z,X,Y,J,G){if(Z===null){var z=Y.type;if(typeof z==="function"&&!SF(z)&&z.defaultProps===void 0&&Y.compare===null)return Y=Cz(z),X.tag=15,X.type=Y,D0(X,z),Z4(Z,X,Y,J,G);return Z=EF(Y.type,null,J,X,X.mode,G),Z.ref=X.ref,Z.return=X,X.child=Z}if(z=Z.child,!y0(Z,G)){var U=z.memoizedProps;if(Y=Y.compare,Y=Y!==null?Y:nW,Y(U,J)&&Z.ref===X.ref)return Pq(Z,X,G)}return X.flags|=1,Z=Vq(z,J),Z.ref=X.ref,Z.return=X,X.child=Z}function Z4(Z,X,Y,J,G){if(Z!==null){var z=Z.memoizedProps;if(nW(z,J)&&Z.ref===X.ref&&X.type===Z.type)if(ZY=!1,X.pendingProps=J=z,y0(Z,G))(Z.flags&131072)!==0&&(ZY=!0);else return X.lanes=Z.lanes,Pq(Z,X,G)}return P0(Z,X,Y,J,G)}function X4(Z,X,Y,J){var G=J.children,z=Z!==null?Z.memoizedState:null;if(Z===null&&X.stateNode===null&&(X.stateNode={_visibility:yU,_pendingMarkers:null,_retryCache:null,_transitions:null}),J.mode==="hidden"){if((X.flags&128)!==0){if(z=z!==null?z.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&~z}else J=0,X.child=null;return Y4(Z,X,z,Y,J)}if((Y&536870912)!==0)X.memoizedState={baseLanes:0,cachePool:null},Z!==null&&vB(X,z!==null?z.cachePool:null),z!==null?F1(X,z):nF(X),M1(X);else return J=X.lanes=536870912,Y4(Z,X,z!==null?z.baseLanes|Y:Y,Y,J)}else z!==null?(vB(X,z.cachePool),F1(X,z),FG(X),X.memoizedState=null):(Z!==null&&vB(X,null),nF(X),FG(X));return RY(Z,X,G,Y),X.child}function GU(Z,X){return Z!==null&&Z.tag===22||X.stateNode!==null||(X.stateNode={_visibility:yU,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.sibling}function Y4(Z,X,Y,J,G){var z=cF();return z=z===null?null:{parent:oX._currentValue,pool:z},X.memoizedState={baseLanes:Y,cachePool:z},Z!==null&&vB(X,null),nF(X),M1(X),Z!==null&&rH(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 sz(X,Z.child,null,Y),Z=YL(X,X.pendingProps),Z.flags|=2,RQ(X),X.memoizedState=null,Z}function dD(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,GU(null,Z);if(aF(X),(Z=$X)?(Y=DN(Z,aQ),Y=Y!==null&&Y.data===YH?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 z=Z.memoizedState;if(z!==null){var U=z.dehydrated;if(aF(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(o8(),(Y&536870912)!==0&&_L(X),ZY||rH(Z,X,Y,!1),G=(Y&Z.childLanes)!==0,ZY||G){if(J=RX,J!==null&&(U=Tz(J,Y),U!==0&&U!==z.retryLane))throw z.retryLane=U,bY(Z,U),gX(J,Z,U),N9;WL(),X=Q4(Z,X,Y)}else Z=z.treeContext,$X=CQ(U.nextSibling),PY=X,QX=!0,SG=null,Yq=!1,SQ=null,aQ=!1,Z!==null&&r8(X,Z),X=YL(X,J),X.flags|=4096;return X}return z=Z.child,J={mode:J.mode,children:J.children},(Y&536870912)!==0&&(Y&Z.lanes)!==0&&_L(X),Z=Vq(z,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 P0(Z,X,Y,J,G){if(Y.prototype&&typeof Y.prototype.render==="function"){var z=l(Y)||"Unknown";cI[z]||(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.",z,z),cI[z]=!0)}if(X.mode&mY&&FJ.recordLegacyContextWarning(X,null),Z===null&&(D0(X,X.type),Y.contextTypes&&(z=l(Y)||"Unknown",lI[z]||(lI[z]=!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)",z)))),Sz(X),Y=oF(Z,X,Y,J,void 0,G),J=eF(),Z!==null&&!ZY)return Z0(Z,X,G),Pq(Z,X,G);return QX&&J&&yF(X),X.flags|=1,RY(Z,X,Y,G),X.child}function J4(Z,X,Y,J,G,z){if(Sz(X),uq=-1,tU=Z!==null&&Z.type!==X.type,X.updateQueue=null,Y=tF(X,J,Y,G),N1(Z,X),J=eF(),Z!==null&&!ZY)return Z0(Z,X,z),Pq(Z,X,z);return QX&&J&&yF(X),X.flags|=1,RY(Z,X,Y,z),X.child}function q4(Z,X,Y,J,G){switch(A(X)){case!1:var z=X.stateNode,U=new X.type(X.memoizedProps,z.context).state;z.updater.enqueueSetState(z,U,null);break;case!0:X.flags|=128,X.flags|=65536,z=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=j0(B),C0(B,U,X,TQ(z,X)),uB(X,B)}if(Sz(X),X.stateNode===null){if(U=$G,z=Y.contextType,"contextType"in Y&&z!==null&&(z===void 0||z.$$typeof!==rJ)&&!uI.has(Y)&&(uI.add(Y),B=z===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 z!=="object"?" However, it is set to a "+typeof z+".":z.$$typeof===IM?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(z).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 z==="object"&&z!==null&&(U=kX(z)),z=new Y(J,U),X.mode&mY){jX(!0);try{z=new Y(J,U)}finally{jX(!1)}}if(U=X.memoizedState=z.state!==null&&z.state!==void 0?z.state:null,z.updater=F9,X.stateNode=z,z._reactInternals=X,z._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,z.state===null?"null":"undefined",U))),typeof Y.getDerivedStateFromProps==="function"||typeof z.getSnapshotBeforeUpdate==="function"){var M=B=U=null;if(typeof z.componentWillMount==="function"&&z.componentWillMount.__suppressDeprecationWarning!==!0?U="componentWillMount":typeof z.UNSAFE_componentWillMount==="function"&&(U="UNSAFE_componentWillMount"),typeof z.componentWillReceiveProps==="function"&&z.componentWillReceiveProps.__suppressDeprecationWarning!==!0?B="componentWillReceiveProps":typeof z.UNSAFE_componentWillReceiveProps==="function"&&(B="UNSAFE_componentWillReceiveProps"),typeof z.componentWillUpdate==="function"&&z.componentWillUpdate.__suppressDeprecationWarning!==!0?M="componentWillUpdate":typeof z.UNSAFE_componentWillUpdate==="function"&&(M="UNSAFE_componentWillUpdate"),U!==null||B!==null||M!==null){z=l(Y)||"Component";var T=typeof Y.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";hI.has(z)||(hI.add(z),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`,z,T,U!==null?`
|
|
142
|
+
`+U:"",B!==null?`
|
|
143
|
+
`+B:"",M!==null?`
|
|
144
|
+
`+M:""))}}z=X.stateNode,U=l(Y)||"Component",z.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)),!z.getInitialState||z.getInitialState.isReactClassApproved||z.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),z.getDefaultProps&&!z.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),z.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 z.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 z.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 z.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",U),typeof z.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 z.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",U),typeof z.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",U),B=z.props!==J,z.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),z.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 z.getSnapshotBeforeUpdate!=="function"||typeof z.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 z.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 z.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=z.state)&&(typeof B!=="object"||HY(B))&&console.error("%s.state: must be set to an object or null",U),typeof z.getChildContext==="function"&&typeof Y.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",U),z=X.stateNode,z.props=J,z.state=X.memoizedState,z.refs={},lF(X),U=Y.contextType,z.context=typeof U==="object"&&U!==null?kX(U):$G,z.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&&FJ.recordLegacyContextWarning(X,z),FJ.recordUnsafeLifecycleWarnings(X,z),z.state=X.memoizedState,U=Y.getDerivedStateFromProps,typeof U==="function"&&(V0(X,Y,U,J),z.state=X.memoizedState),typeof Y.getDerivedStateFromProps==="function"||typeof z.getSnapshotBeforeUpdate==="function"||typeof z.UNSAFE_componentWillMount!=="function"&&typeof z.componentWillMount!=="function"||(U=z.state,typeof z.componentWillMount==="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount==="function"&&z.UNSAFE_componentWillMount(),U!==z.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",s(X)||"Component"),F9.enqueueReplaceState(z,z.state,null)),YU(X,J,z,G),XU(),z.state=X.memoizedState),typeof z.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&OJ)!==hZ&&(X.flags|=134217728),z=!0}else if(Z===null){z=X.stateNode;var y=X.memoizedProps;B=vz(Y,y),z.props=B;var v=z.context;M=Y.contextType,U=$G,typeof M==="object"&&M!==null&&(U=kX(M)),T=Y.getDerivedStateFromProps,M=typeof T==="function"||typeof z.getSnapshotBeforeUpdate==="function",y=X.pendingProps!==y,M||typeof z.UNSAFE_componentWillReceiveProps!=="function"&&typeof z.componentWillReceiveProps!=="function"||(y||v!==U)&&n1(X,z,J,U),hG=!1;var $=X.memoizedState;z.state=$,YU(X,J,z,G),XU(),v=X.memoizedState,y||$!==v||hG?(typeof T==="function"&&(V0(X,Y,T,J),v=X.memoizedState),(B=hG||i1(X,Y,B,J,$,v,U))?(M||typeof z.UNSAFE_componentWillMount!=="function"&&typeof z.componentWillMount!=="function"||(typeof z.componentWillMount==="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount==="function"&&z.UNSAFE_componentWillMount()),typeof z.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&OJ)!==hZ&&(X.flags|=134217728)):(typeof z.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&OJ)!==hZ&&(X.flags|=134217728),X.memoizedProps=J,X.memoizedState=v),z.props=J,z.state=v,z.context=U,z=B):(typeof z.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&OJ)!==hZ&&(X.flags|=134217728),z=!1)}else{z=X.stateNode,iF(Z,X),U=X.memoizedProps,M=vz(Y,U),z.props=M,T=X.pendingProps,$=z.context,v=Y.contextType,B=$G,typeof v==="object"&&v!==null&&(B=kX(v)),y=Y.getDerivedStateFromProps,(v=typeof y==="function"||typeof z.getSnapshotBeforeUpdate==="function")||typeof z.UNSAFE_componentWillReceiveProps!=="function"&&typeof z.componentWillReceiveProps!=="function"||(U!==T||$!==B)&&n1(X,z,J,B),hG=!1,$=X.memoizedState,z.state=$,YU(X,J,z,G),XU();var c=X.memoizedState;U!==T||$!==c||hG||Z!==null&&Z.dependencies!==null&&EB(Z.dependencies)?(typeof y==="function"&&(V0(X,Y,y,J),c=X.memoizedState),(M=hG||i1(X,Y,M,J,$,c,B)||Z!==null&&Z.dependencies!==null&&EB(Z.dependencies))?(v||typeof z.UNSAFE_componentWillUpdate!=="function"&&typeof z.componentWillUpdate!=="function"||(typeof z.componentWillUpdate==="function"&&z.componentWillUpdate(J,c,B),typeof z.UNSAFE_componentWillUpdate==="function"&&z.UNSAFE_componentWillUpdate(J,c,B)),typeof z.componentDidUpdate==="function"&&(X.flags|=4),typeof z.getSnapshotBeforeUpdate==="function"&&(X.flags|=1024)):(typeof z.componentDidUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=4),typeof z.getSnapshotBeforeUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=1024),X.memoizedProps=J,X.memoizedState=c),z.props=J,z.state=c,z.context=B,z=M):(typeof z.componentDidUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=4),typeof z.getSnapshotBeforeUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=1024),z=!1)}if(B=z,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=HI(B),X.mode&mY){jX(!0);try{HI(B)}finally{jX(!1)}}X.flags|=1,Z!==null&&U?(X.child=sz(X,Z.child,null,G),X.child=sz(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,z&&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.",s(X)||"a component"),b_=!0),Z}function G4(Z,X,Y,J){return $z(),X.flags|=256,RY(Z,X,Y,J),X.child}function D0(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 $0(Z){return{baseLanes:Z,cachePool:J1()}}function S0(Z,X,Y){return Z=Z!==null?Z.childLanes&~Y:0,X&&(Z|=zQ),Z}function z4(Z,X,Y){var J,G=X.pendingProps;K(X)&&(X.flags|=128);var z=!1,U=(X.flags&128)!==0;if((J=U)||(J=Z!==null&&Z.memoizedState===null?!1:(nX.current&rU)!==0),J&&(z=!0,X.flags&=-129),J=(X.flags&32)!==0,X.flags&=-33,Z===null){if(QX){if(z?OG(X):FG(X),(Z=$X)?(Y=DN(Z,aQ),Y=Y!==null&&Y.data!==YH?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 _M(Y)?X.lanes=32:X.lanes=536870912,null}var B=G.children;if(G=G.fallback,z){FG(X);var M=X.mode;return B=JL({mode:"hidden",children:B},M),G=Pz(G,M,Y,null),B.return=X,G.return=X,B.sibling=G,X.child=B,G=X.child,G.memoizedState=$0(Y),G.childLanes=S0(Z,J,Y),X.memoizedState=I9,GU(null,G)}return OG(X),E0(X,B)}var T=Z.memoizedState;if(T!==null){var y=T.dehydrated;if(y!==null){if(U)X.flags&256?(OG(X),X.flags&=-257,X=k0(Z,X,Y)):X.memoizedState!==null?(FG(X),X.child=Z.child,X.flags|=128,X=null):(FG(X),B=G.fallback,M=X.mode,G=JL({mode:"visible",children:G.children},M),B=Pz(B,M,Y,null),B.flags|=2,G.return=X,B.return=X,G.sibling=B,X.child=G,sz(X,Z.child,null,Y),G=X.child,G.memoizedState=$0(Y),G.childLanes=S0(Z,J,Y),X.memoizedState=I9,X=GU(null,G));else if(OG(X),o8(),(Y&536870912)!==0&&_L(X),_M(y)){if(J=y.nextSibling&&y.nextSibling.dataset,J){B=J.dgst;var v=J.msg;M=J.stck;var $=J.cstck}z=v,J=B,G=M,y=$,B=z,M=y,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=M===void 0?null:M,G={value:B,source:null,stack:J},typeof J==="string"&&eM.set(B,G),aW(G),X=k0(Z,X,Y)}else if(ZY||rH(Z,X,Y,!1),J=(Y&Z.childLanes)!==0,ZY||J){if(J=RX,J!==null&&(G=Tz(J,Y),G!==0&&G!==T.retryLane))throw T.retryLane=G,bY(Z,G),gX(J,Z,G),N9;HM(y)||WL(),X=k0(Z,X,Y)}else HM(y)?(X.flags|=192,X.child=Z.child,X=null):(Z=T.treeContext,$X=CQ(y.nextSibling),PY=X,QX=!0,SG=null,Yq=!1,SQ=null,aQ=!1,Z!==null&&r8(X,Z),X=E0(X,G.children),X.flags|=4096);return X}}if(z)return FG(X),B=G.fallback,M=X.mode,$=Z.child,y=$.sibling,G=Vq($,{mode:"hidden",children:G.children}),G.subtreeFlags=$.subtreeFlags&65011712,y!==null?B=Vq(y,B):(B=Pz(B,M,Y,null),B.flags|=2),B.return=X,G.return=X,G.sibling=B,X.child=G,GU(null,G),G=X.child,B=Z.child.memoizedState,B===null?B=$0(Y):(M=B.cachePool,M!==null?($=oX._currentValue,M=M.parent!==$?{parent:$,pool:$}:M):M=J1(),B={baseLanes:B.baseLanes|Y,cachePool:M}),G.memoizedState=B,G.childLanes=S0(Z,J,Y),X.memoizedState=I9,GU(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 E0(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 k0(Z,X,Y){return sz(X,Z.child,null,Y),Z=E0(X,X.pendingProps.children),Z.flags|=2,X.memoizedState=null,Z}function H4(Z,X,Y){Z.lanes|=X;var J=Z.alternate;J!==null&&(J.lanes|=X),gF(Z.return,X,Y)}function x0(Z,X,Y,J,G,z){var U=Z.memoizedState;U===null?Z.memoizedState={isBackwards:X,rendering:null,renderingStartTime:0,last:J,tail:Y,tailMode:G,treeForkCount:z}:(U.isBackwards=X,U.rendering=null,U.renderingStartTime=0,U.last=J,U.tail=Y,U.tailMode=G,U.treeForkCount=z)}function _4(Z,X,Y){var J=X.pendingProps,G=J.revealOrder,z=J.tail,U=J.children,B=nX.current;if((J=(B&rU)!==0)?(B=B&x_|rU,X.flags|=128):B&=x_,HZ(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=z==null?"null":z,!YA[B])if(z==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 z!=="visible"&&z!=="collapsed"&&z!=="hidden"?(YA[B]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',z)):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"?',z));Z:if((G==="forwards"||G==="backwards"||G==="unstable_legacy-backwards")&&U!==void 0&&U!==null&&U!==!1)if(HY(U)){for(B=0;B<U.length;B++)if(!L1(U[B],B))break Z}else if(B=GZ(U),typeof B==="function"){if(B=B.call(U))for(var M=B.next(),T=0;!M.done;M=B.next()){if(!L1(M.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=vU):U=0,!J&&Z!==null&&(Z.flags&128)!==0)Z:for(Z=X.child;Z!==null;){if(Z.tag===13)Z.memoizedState!==null&&H4(Z,Y,X);else if(Z.tag===19)H4(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),x0(X,!1,G,Y,z,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}x0(X,!0,Y,null,z,U);break;case"together":x0(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(rH(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 y0(Z,X){if((Z.lanes&X)!==0)return!0;return Z=Z.dependencies,Z!==null&&EB(Z)?!0:!1}function cD(Z,X,Y){switch(X.tag){case 3:u(X,X.stateNode.containerInfo),KG(X,oX,Z.memoizedState.cache),$z();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,aF(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 z4(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||(rH(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),HZ(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,oX,Z.memoizedState.cache)}return Pq(Z,X,Y)}function v0(Z,X,Y){if(X._debugNeedsRemount&&Z!==null){Y=EF(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(!y0(Z,Y)&&(X.flags&128)===0)return ZY=!1,cD(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,vU,J))}switch(X.lanes=0,X.tag){case 16:Z:if(J=X.pendingProps,Z=BG(X.elementType),X.type=Z,typeof Z==="function")SF(Z)?(J=vz(Z,J),X.tag=1,X.type=Z=Cz(Z),X=q4(null,X,Z,J,Y)):(X.tag=0,D0(X,Z),X.type=Z=Cz(Z),X=P0(null,X,Z,J,Y));else{if(Z!==void 0&&Z!==null){if(G=Z.$$typeof,G===wU){X.tag=11,X.type=Z=$F(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 P0(Z,X,X.type,X.pendingProps,Y);case 1:return J=X.type,G=vz(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 z=X.memoizedState;G=z.element,iF(Z,X),YU(X,J,null,Y);var U=X.memoizedState;if(J=U.cache,KG(X,oX,J),J!==z.cache&&mF(X,[oX],Y,!0),XU(),J=U.element,z.isDehydrated)if(z={element:J,isDehydrated:!1,cache:U.cache},X.updateQueue.baseState=z,X.memoizedState=z,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),aW(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($z(),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=b(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=b(VG.current),G=m(),J=X.stateNode=kN(X.type,X.pendingProps,J,G,!1),Yq||(G=IN(J,X.type,X.pendingProps,G),G!==null&&(Dz(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&&(z=m(),J=TF(X.type,z.ancestorInfo),G=$X,(U=!G)||(U=E$(G,X.type,X.pendingProps,aQ),U!==null?(X.stateNode=U,Yq||(z=IN(U,X.type,X.pendingProps,z),z!==null&&(Dz(X,0).serverProps=z)),PY=X,$X=CQ(U.firstChild),aQ=!1,z=!0):z=!1,U=!z),U&&(J&&$B(X,G),UG(X))),e(X),G=X.type,z=X.pendingProps,U=Z!==null?Z.memoizedProps:null,J=z.children,GM(G,z)?J=null:U!==null&&GM(G,U)&&(X.flags|=32),X.memoizedState!==null&&(G=oF(Z,X,vD,null,null,Y),LK._currentValue=G),QL(Z,X),RY(Z,X,J,Y),X.child;case 6:return Z===null&&QX&&(Y=X.pendingProps,Z=m(),J=Z.ancestorInfo.current,Y=J!=null?NB(Y,J.tag,Z.ancestorInfo.implicitRootScope):!0,Z=$X,(J=!Z)||(J=k$(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 z4(Z,X,Y);case 4:return u(X,X.stateNode.containerInfo),J=X.pendingProps,Z===null?X.child=sz(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,z=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,z),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."),Sz(X),G=kX(G),J=z9(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 dD(Z,X,Y);case 22:return X4(Z,X,Y,X.pendingProps);case 24:return Sz(X),J=kX(oX),Z===null?(G=cF(),G===null&&(G=RX,z=fF(),G.pooledCache=z,Ez(z),z!==null&&(G.pooledCacheLanes|=Y),G=z),X.memoizedState={parent:J,cache:G},lF(X),KG(X,oX,G)):((Z.lanes&Y)!==0&&(iF(Z,X),YU(X,null,null,Y),XU()),G=Z.memoizedState,z=X.memoizedState,G.parent!==J?(G={parent:J,cache:J},X.memoizedState=G,X.lanes===0&&(X.memoizedState=X.updateQueue.baseState=G),KG(X,oX,J)):(J=z.cache,KG(X,oX,J),J!==G.cache&&mF(X,[oX],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 h0(Z,X,Y,J,G){if(X=(Z.mode&_E)!==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 nz=rL,_9}else Z.flags&=-16777217}function W4(Z,X){if(X.type!=="stylesheet"||(X.state.loading&ZJ)!==qH)Z.flags&=-16777217;else if(Z.flags|=16777216,!mN(X))if(d4())Z.flags|=8192;else throw nz=rL,_9}function qL(Z,X){X!==null&&(Z.flags|=4),Z.flags&16384&&(X=Z.tag!==22?pH():536870912,Z.lanes|=X,ez|=X)}function zU(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:z}=Z;z!==null;)Y|=z.lanes|z.childLanes,J|=z.subtreeFlags&65011712,J|=z.flags&65011712,G+=z.treeBaseDuration,z=z.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,z=Z.selfBaseDuration;for(var U=Z.child;U!==null;)Y|=U.lanes|U.childLanes,J|=U.subtreeFlags,J|=U.flags,G+=U.actualDuration,z+=U.treeBaseDuration,U=U.sibling;Z.actualDuration=G,Z.treeBaseDuration=z}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 pD(Z,X,Y){var J=X.pendingProps;switch(vF(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(oX,X),E(X),Y.pendingContext&&(Y.context=Y.pendingContext,Y.pendingContext=null),Z===null||Z.child===null)aH(X)?(bF(),Dq(X)):Z===null||Z.memoizedState.isDehydrated&&(X.flags&256)===0||(X.flags|=1024,hF());return CX(X),null;case 26:var{type:G,memoizedState:z}=X;return Z===null?(Dq(X),z!==null?(CX(X),W4(X,z)):(CX(X),h0(X,G,null,J,Y))):z?z!==Z.memoizedState?(Dq(X),CX(X),W4(X,z)):(CX(X),X.flags&=-16777217):(Z=Z.memoizedProps,Z!==J&&Dq(X),CX(X),h0(X,G,Z,J,Y)),null;case 27:if(p(X),Y=b(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=m(),aH(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=m();if(aH(X))t8(X,U);else{switch(z=b(VG.current),TF(G,U.ancestorInfo),U=U.context,z=LL(z),U){case l_:z=z.createElementNS(A_,G);break;case wA:z=z.createElementNS(EL,G);break;default:switch(G){case"svg":z=z.createElementNS(A_,G);break;case"math":z=z.createElementNS(EL,G);break;case"script":z=z.createElement("div"),z.innerHTML="<script></script>",z=z.removeChild(z.firstChild);break;case"select":z=typeof J.is==="string"?z.createElement("select",{is:J.is}):z.createElement("select"),J.multiple?z.multiple=!0:J.size&&(z.size=J.size);break;default:z=typeof J.is==="string"?z.createElement(G,{is:J.is}):z.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(z)!=="[object HTMLUnknownElement]"||LJ.call(MT,G)||(MT[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)))}}z[CY]=X,z[pY]=J;Z:for(U=X.child;U!==null;){if(U.tag===5||U.tag===6)z.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=z;Z:switch(jY(z,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),h0(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=b(VG.current),Y=m(),aH(X)){if(Z=X.stateNode,Y=X.memoizedProps,G=!Yq,J=null,z=PY,z!==null)switch(z.tag){case 3:G&&(G=SN(Z,Y,J),G!==null&&(Dz(X,0).serverProps=G));break;case 27:case 5:J=z.memoizedProps,G&&(G=SN(Z,Y,J),G!==null&&(Dz(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=aH(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 bF(),$z(),(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=hF(),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,z=aH(X),G!==null&&G.dehydrated!==null){if(Z===null){if(!z)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 suspense instance. This error is likely caused by a bug in React. Please file an issue.");z[CY]=X,CX(X),(X.mode&iZ)!==hZ&&G!==null&&(G=X.child,G!==null&&(X.treeBaseDuration-=G.treeBaseDuration))}else bF(),$z(),(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=hF(),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&&tW(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),z=null,J.memoizedState!==null&&J.memoizedState.cachePool!==null&&(z=J.memoizedState.cachePool.pool),z!==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&&e0(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,z=J.rendering,z===null)if(G)zU(J,!1);else{if(bX!==cq||Z!==null&&(Z.flags&128)!==0)for(Z=X.child;Z!==null;){if(z=dB(Z),z!==null){X.flags|=128,zU(J,!1),Z=z.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 HZ(nX,nX.current&x_|rU,X),QX&&Rq(X,J.treeForkCount),X.child}Z=Z.sibling}J.tail!==null&&LY()>_A&&(X.flags|=128,G=!0,zU(J,!1),X.lanes=4194304)}else{if(!G)if(Z=dB(z),Z!==null){if(X.flags|=128,G=!0,Z=Z.updateQueue,X.updateQueue=Z,qL(X,Z),zU(J,!0),J.tail===null&&J.tailMode==="hidden"&&!z.alternate&&!QX)return CX(X),null}else 2*LY()-J.renderingStartTime>_A&&Y!==536870912&&(X.flags|=128,G=!0,zU(J,!1),X.lanes=4194304);J.isBackwards?(z.sibling=X.child,X.child=z):(Z=J.last,Z!==null?Z.sibling=z:X.child=z,J.last=z)}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_|rU:Y&x_,HZ(nX,Y,X),QX&&Rq(X,J.treeForkCount),Z;return CX(X),null;case 22:case 23:return RQ(X),sF(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(lz,X),null;case 24:return Y=null,Z!==null&&(Y=Z.memoizedState.cache),X.memoizedState.cache!==Y&&(X.flags|=2048),jq(oX,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 lD(Z,X){switch(vF(X),X.tag){case 1:return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&tW(X),X):null;case 3:return jq(oX,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.");$z()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&tW(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.");$z()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&tW(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),sF(X),Z!==null&&KZ(lz,X),Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==hZ&&tW(X),X):null;case 24:return jq(oX,X),null;case 25:return null;default:return null}}function U4(Z,X){switch(vF(X),X.tag){case 3:jq(oX,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),sF(X),Z!==null&&KZ(lz,X);break;case 24:jq(oX,X)}}function cJ(Z){return(Z.mode&iZ)!==hZ}function K4(Z,X){cJ(Z)?(dJ(),HU(X,Z),uJ()):HU(X,Z)}function b0(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,LE,Y),(Z&sY)!==tL&&(d_=!1),J!==void 0&&typeof J!=="function")){var z=void 0;z=(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 `+z+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
148
|
+
|
|
149
|
+
`+z+`(() => {
|
|
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,M){console.error("%s must not return anything besides a function, which is used for clean-up.%s",B,M)},z,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 z=G.next;J=z;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,AE,G,Y,B),(Z&sY)!==tL&&(d_=!1))}J=J.next}while(J!==z)}}catch(M){OX(X,X.return,M)}}function B4(Z,X){cJ(Z)?(dJ(),HU(X,Z),uJ()):HU(X,Z)}function g0(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.",s(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.",s(Z)||"instance"));try{BZ(Z,O1,X,Y)}catch(J){OX(Z,Z.return,J)}}}function iD(Z,X,Y){return Z.getSnapshotBeforeUpdate(X,Y)}function nD(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.",s(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.",s(Z)||"instance"));try{var G=vz(Z.type,Y),z=BZ(Z,iD,X,G,J);Y=aI,z!==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.",s(Z))})),X.__reactInternalSnapshotBeforeUpdate=z}catch(U){OX(Z,Z.return,U)}}function A4(Z,X,Y){Y.props=vz(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 sD(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().",s(Z)),X.current=Y}}function _U(Z,X){try{BZ(Z,sD,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,z=G.id,U=G.onCommit;G=G.onRender,X=X===null?"mount":"update",iL&&(X="nested-update"),typeof G==="function"&&G(z,X,Z.actualDuration,Z.treeBaseDuration,Z.actualStartTime,Y),typeof U==="function"&&U(z,X,J,Y)}function aD(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 F4(Z){var{type:X,memoizedProps:Y,stateNode:J}=Z;try{BZ(Z,N$,J,X,Y,Z)}catch(G){OX(Z,Z.return,G)}}function m0(Z,X,Y){try{BZ(Z,T$,Z.stateNode,Z.type,Y,X,Z)}catch(J){OX(Z,Z.return,J)}}function M4(Z){return Z.tag===5||Z.tag===3||Z.tag===26||Z.tag===27&&TG(Z.type)||Z.tag===4}function f0(Z){Z:for(;;){for(;Z.sibling===null;){if(Z.return===null||M4(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 u0(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(u0(Z,X,Y),Z=Z.sibling;Z!==null;)u0(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 rD(Z){for(var X,Y=Z.return;Y!==null;){if(M4(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=f0(Z),GL(Z,Y,X);break;case 5:Y=X.stateNode,X.flags&32&&(RN(Y),X.flags&=-33),X=f0(Z),GL(Z,X,Y);break;case 3:case 4:X=X.stateNode.containerInfo,Y=f0(Z),u0(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,b$,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),RF(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:z}=J;J=J.focusOffset;try{Y.nodeType,z.nodeType}catch(zZ){Y=null;break Z}var U=0,B=-1,M=-1,T=0,y=0,v=Z,$=null;X:for(;;){for(var c;;){if(v!==Y||G!==0&&v.nodeType!==3||(B=U+G),v!==z||J!==0&&v.nodeType!==3||(M=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),$===z&&++y===J&&(M=U),(c=v.nextSibling)!==null)break;v=$,$=v.parentNode}v=c}Y=B===-1||M===-1?null:{start:B,end:M}}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&&nD(Z,Y);break;case 3:if((G&1024)!==0){if(Z=Z.stateNode.containerInfo,Y=Z.nodeType,Y===9)zM(Z);else if(Y===1)switch(Z.nodeName){case"HEAD":case"HTML":case"BODY":zM(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(),z=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.",s(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.",s(Y)||"instance")),cJ(Y)?(dJ(),BZ(Y,H9,Y,Z),uJ()):BZ(Y,H9,Y,Z);else{var M=vz(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.",s(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.",s(Y)||"instance")),cJ(Y)?(dJ(),BZ(Y,UI,Y,Z,M,X,Z.__reactInternalSnapshotBeforeUpdate),uJ()):BZ(Y,UI,Y,Z,M,X,Z.__reactInternalSnapshotBeforeUpdate)}B&64&&L4(Y),B&512&&_U(Y,Y.return);break;case 3:if(X=Cq(),lJ(Z,Y),B&64&&(B=Y.updateQueue,B!==null)){if(M=null,Y.child!==null)switch(Y.child.tag){case 27:case 5:M=Y.child.stateNode;break;case 1:M=Y.child.stateNode}try{BZ(Y,O1,B,M)}catch(y){OX(Y,Y.return,y)}}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)F4(Y);else if(B&64){Z=Y.type,X=Y.memoizedProps,M=Y.stateNode;try{BZ(Y,I$,M,Z,X,Y)}catch(y){OX(Y,Y.return,y)}}}B&512&&_U(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(y){OX(Y,Y.return,y)}}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=G$.bind(null,Y),x$(Z,B))));break;case 22:if(B=Y.memoizedState!==null||dq,!B){X=X!==null&&X.memoizedState!==null||XY,M=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=M,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=z,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(),z=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,M=qQ;TG(Y.type)&&(YY=Y.stateNode,qQ=!1),$q(Z,X,Y),BZ(Y,MU,Y.stateNode),YY=B,qQ=M;break;case 5:XY||pJ(Y,X);case 6:if(B=YY,M=qQ,YY=null,$q(Z,X,Y),YY=B,qQ=M,YY!==null)if(qQ)try{BZ(Y,R$,YY,Y.stateNode)}catch(T){OX(Y,X,T)}else try{BZ(Y,V$,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,M=qQ,YY=Y.stateNode.containerInfo,qQ=!0,$q(Z,X,Y),YY=B,qQ=M;break;case 0:case 11:case 14:case 15:X_(sY,Y,X),XY||b0(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=z,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,v$,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,h$,Z)}catch(Y){OX(X,X.return,Y)}}function tD(Z){switch(Z.tag){case 31:case 13:case 19:var X=Z.stateNode;return X===null&&(X=Z.stateNode=new rI),X;case 22:return Z=Z.stateNode,X=Z._retryCache,X===null&&(X=Z._retryCache=new rI),X;default:throw Error("Unexpected Suspense handler tag ("+Z.tag+"). This is a bug in React.")}}function zL(Z,X){var Y=tD(Z);X.forEach(function(J){if(!Y.has(J)){if(Y.add(J),eJ)if(g_!==null&&m_!==null)BU(m_,g_);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var G=z$.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,z=X,U=Y[J],B=wQ(),M=z;Z:for(;M!==null;){switch(M.tag){case 27:if(TG(M.type)){YY=M.stateNode,qQ=!1;break Z}break;case 5:YY=M.stateNode,qQ=!1;break Z;case 3:case 4:YY=M.stateNode.containerInfo,qQ=!0;break Z}M=M.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,z,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,z=G.alternate,z!==null&&(z.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(),z=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),b0(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 M=B.shared.hiddenCallbacks;B.shared.hiddenCallbacks=M===null?U:M.concat(U)}break;case 26:if(M=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,M=M.ownerDocument||M;X:switch(B){case"title":if(T=M.getElementsByTagName("title")[0],!T||T[jU]||T[CY]||T.namespaceURI===A_||T.hasAttribute("itemprop"))T=M.createElement(B),M.head.insertBefore(T,M.querySelector("head > title"));jY(T,B,U),T[CY]=Z,EZ(T),B=T;break Z;case"link":var y=bN("link","href",M).get(B+(U.href||""));if(y){for(var v=0;v<y.length;v++)if(T=y[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)){y.splice(v,1);break X}}T=M.createElement(B),jY(T,B,U),M.head.appendChild(T);break;case"meta":if(y=bN("meta","content",M).get(B+(U.content||""))){for(v=0;v<y.length;v++)if(T=y[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)){y.splice(v,1);break X}}T=M.createElement(B),jY(T,B,U),M.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(M,Z.type,Z.stateNode);else Z.stateNode=hN(M,B,Z.memoizedProps);else T!==B?(T===null?U.stateNode!==null&&(U=U.stateNode,U.parentNode.removeChild(U)):T.count--,B===null?gN(M,Z.type,Z.stateNode):hN(M,B,Z.memoizedProps)):B===null&&Z.stateNode!==null&&m0(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&&m0(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){M=Z.stateNode;try{BZ(Z,RN,M)}catch(AZ){OX(Z,Z.return,AZ)}}B&4&&Z.stateNode!=null&&(M=Z.memoizedProps,m0(Z,M,U!==null?U.memoizedProps:M)),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,M=Z.stateNode;try{BZ(Z,w$,M,U,B)}catch(AZ){OX(Z,Z.return,AZ)}}break;case 3:if(M=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,y$,X.containerInfo)}catch(AZ){OX(Z,Z.return,AZ)}T9&&(T9=!1,P4(Z)),X.effectDuration+=xB(M);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,zL(Z,B)));break;case 13:QQ(X,Z),JQ(Z),Z.child.flags&8192&&Z.memoizedState!==null!==(U!==null&&U.memoizedState!==null)&&(HA=LY()),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,zL(Z,B)));break;case 22:M=Z.memoizedState!==null;var $=U!==null&&U.memoizedState!==null,c=dq,zZ=XY;if(dq=c||M,XY=zZ||$,QQ(X,Z),XY=zZ,dq=c,$&&!M&&!c&&!zZ&&(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=M?X._visibility&~yU:X._visibility|yU,!M||U===null||$||dq||XY||(hz(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,M?BZ($,C$,T):BZ($,$$,$.stateNode,$.memoizedProps)}catch(AZ){OX($,$.return,AZ)}}}else if(X.tag===6){if(U===null){$=X;try{y=$.stateNode,M?BZ($,P$,y):BZ($,S$,y,$.memoizedProps)}catch(AZ){OX($,$.return,AZ)}}}else if(X.tag===18){if(U===null){$=X;try{v=$.stateNode,M?BZ($,j$,v):BZ($,D$,$.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,zL(Z,U))));break;case 19:QQ(X,Z),JQ(Z),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,zL(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=z}function JQ(Z){var X=Z.flags;if(X&2){try{BZ(Z,rD,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:b0(Z,Z.return,kQ),hz(Z);break;case 1:pJ(Z,Z.return);var z=Z.stateNode;typeof z.componentWillUnmount==="function"&&A4(Z,Z.return,z),hz(Z);break;case 27:BZ(Z,MU,Z.stateNode);case 26:case 5:pJ(Z,Z.return),hz(Z);break;case 22:Z.memoizedState===null&&hz(Z);break;case 30:hz(Z);break;default:hz(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 hz(Z){for(Z=Z.child;Z!==null;)D4(Z),Z=Z.sibling}function $4(Z,X,Y,J){var G=wQ(),z=bJ(),U=mJ(),B=fJ(),M=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,H9,Y,X),X=Y.updateQueue,X!==null){Z=Y.stateNode;try{BZ(Y,yD,X,Z)}catch(T){OX(Y,Y.return,T)}}J&&M&64&&L4(Y),_U(Y,Y.return);break;case 27:N4(Y);case 26:case 5:iJ(Z,Y,J),J&&X===null&&M&4&&F4(Y),_U(Y,Y.return);break;case 12:if(J&&M&4){M=Cq(),iJ(Z,Y,J),J=Y.stateNode,J.effectDuration+=oW(M);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&&M&4&&R4(Z,Y);break;case 13:iJ(Z,Y,J),J&&M&4&&j4(Z,Y);break;case 22:Y.memoizedState===null&&iJ(Z,Y,J),_U(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(z),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 d0(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&&Ez(Z),Y!=null&&rW(Y))}function c0(Z,X){Z=null,X.alternate!==null&&(Z=X.alternate.memoizedState.cache),X=X.memoizedState.cache,X!==Z&&(Ez(X),Z!=null&&rW(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 z=X.sibling;S4(Z,X,Y,J,z!==null?z.actualStartTime:G),X=z}}function S4(Z,X,Y,J,G){var z=wQ(),U=bJ(),B=mJ(),M=fJ(),T=PG,y=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),y&2048&&B4(X,aY|tQ);break;case 1:(X.mode&iZ)!==hZ&&0<X.actualStartTime&&((X.flags&128)!==0?CF(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=$,y&2048&&(Y=null,X.alternate!==null&&(Y=X.alternate.memoizedState.cache),J=X.memoizedState.cache,J!==Y&&(Ez(J),Y!=null&&rW(Y))),Z.passiveEffectDuration+=xB(v);break;case 12:if(y&2048){y=Cq(),BJ(Z,X,Y,J,G),Z=X.stateNode,Z.passiveEffectDuration+=oW(y);try{BZ(X,aD,X,X.alternate,EG,Z.passiveEffectDuration)}catch(c){OX(X,X.return,c)}}else BJ(Z,X,Y,J,G);break;case 31:y=_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&&CF(X,X.actualStartTime,G,v)):_Y=!0):_Y=!1,BJ(Z,X,Y,J,G),_Y=y;break;case 13:y=_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&&CF(X,X.actualStartTime,G,v)):_Y=!0),BJ(Z,X,Y,J,G),_Y=y;break;case 23:break;case 22:$=X.stateNode,v=X.alternate,X.memoizedState!==null?$._visibility&kq?BJ(Z,X,Y,J,G):WU(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))),y&2048&&d0(v,X);break;case 24:BJ(Z,X,Y,J,G),y&2048&&c0(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(z),gJ(U),xX=B,mX=M,PG=T}function Y_(Z,X,Y,J,G,z){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:z),X=U}}function E4(Z,X,Y,J,G,z){var U=wQ(),B=bJ(),M=mJ(),T=fJ(),y=PG;G&&(X.mode&iZ)!==hZ&&0<X.actualStartTime&&(X.flags&1)!==0&&RB(X,X.actualStartTime,z,_Y,Y);var v=X.flags;switch(X.tag){case 0:case 11:case 15:Y_(Z,X,Y,J,G,z),B4(X,aY);break;case 23:break;case 22:var $=X.stateNode;X.memoizedState!==null?$._visibility&kq?Y_(Z,X,Y,J,G,z):WU(Z,X,Y,J,z):($._visibility|=kq,Y_(Z,X,Y,J,G,z)),G&&v&2048&&d0(X.alternate,X);break;case 24:Y_(Z,X,Y,J,G,z),G&&v&2048&&c0(X.alternate,X);break;default:Y_(Z,X,Y,J,G,z)}(X.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&(mX||0.05<hX)&&vJ(X,kZ,yZ,hX,xX),VQ(U),gJ(B),xX=M,mX=T,PG=y}function WU(Z,X,Y,J,G){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(var z=X.child;z!==null;){X=z.sibling;var U=Z,B=Y,M=J,T=X!==null?X.actualStartTime:G,y=PG;(z.mode&iZ)!==hZ&&0<z.actualStartTime&&(z.flags&1)!==0&&RB(z,z.actualStartTime,T,_Y,B);var v=z.flags;switch(z.tag){case 22:WU(U,z,B,M,T),v&2048&&d0(z.alternate,z);break;case 24:WU(U,z,B,M,T),v&2048&&c0(z.alternate,z);break;default:WU(U,z,B,M,T)}PG=y,z=X}}function Q_(Z,X,Y){if(Z.subtreeFlags&ZK)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&ZK&&Z.memoizedState!==null&&f$(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=ZK,ZK=16777216,Q_(Z,X,Y),ZK=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 UU(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:UU(Z),Z.flags&2048&&g0(Z,Z.return,aY|tQ);break;case 3:var z=Cq();UU(Z),Z.stateNode.passiveEffectDuration+=xB(z);break;case 12:z=Cq(),UU(Z),Z.stateNode.passiveEffectDuration+=oW(z);break;case 22:z=Z.stateNode,Z.memoizedState!==null&&z._visibility&kq&&(Z.return===null||Z.return.tag!==13)?(z._visibility&=~kq,HL(Z),(Z.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&0.05<yZ-kZ&&yJ(Z,kZ,yZ,"Disconnect")):UU(Z);break;default:UU(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 HL(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:g0(Z,Z.return,aY),HL(Z);break;case 22:var z=Z.stateNode;z._visibility&kq&&(z._visibility&=~kq,HL(Z));break;default:HL(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,z=wQ(),U=bJ(),B=mJ(),M=fJ();switch(J.tag){case 0:case 11:case 15:g0(J,G,aY);break;case 23:case 22:J.memoizedState!==null&&J.memoizedState.cachePool!==null&&(G=J.memoizedState.cachePool.pool,G!=null&&Ez(G));break;case 24:rW(J.memoizedState.cache)}if((J.mode&iZ)!==hZ&&0<=kZ&&0<=yZ&&(mX||0.05<hX)&&vJ(J,kZ,yZ,hX,xX),VQ(z),gJ(U),mX=M,xX=B,J=Y.child,J!==null)J.return=Y,OY=J;else Z:for(Y=Z;OY!==null;){if(J=OY,z=J.sibling,U=J.return,w4(J),J===Y){OY=null;break Z}if(z!==null){z.return=U,OY=z;break Z}OY=U}}}function eD(){IE.forEach(function(Z){return Z()})}function b4(){var Z=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return Z||a.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),Z}function jQ(Z){if((HX&WY)!==FY&&sZ!==0)return sZ&-sZ;var X=a.T;return X!==null?(X._updatedFibers||(X._updatedFibers=new Set),X._updatedFibers.add(Z),o0()):d()}function g4(){if(zQ===0)if((sZ&536870912)===0||QX){var Z=PL;PL<<=1,(PL&3932160)===0&&(PL=262144),zQ=Z}else zQ=536870912;return Z=EQ.current,Z!==null&&(Z.flags|=32),zQ}function gX(Z,X,Y){if(d_&&console.error("useInsertionEffect must not schedule updates."),k9&&(KA=!0),Z===RX&&(NX===oz||NX===tz)||Z.cancelPendingCommit!==null)q_(Z,0),NG(Z,sZ,zQ,!1);if(zG(Z,Y),(HX&WY)!==FY&&Z===RX){if(oJ)switch(X.tag){case 0:case 11:case 15:Z=aZ&&s(aZ)||"Unknown",UT.has(Z)||(UT.add(Z),X=s(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&&mW(Z,X,Y),_$(X),Z===RX&&((HX&WY)===FY&&(fG|=Y),bX===bG&&NG(Z,sZ,zQ,!1)),nJ(Z)}function m4(Z,X,Y){if((HX&(WY|xQ))!==FY)throw Error("Should not already be working.");if(sZ!==0&&aZ!==null){var J=aZ,G=LY();switch(QI){case QK:case oz:var z=fU;DX&&((J=J._debugTask)?J.run(console.timeStamp.bind(console,"Suspended",z,G,pQ,void 0,"primary-light")):console.timeStamp("Suspended",z,G,pQ,void 0,"primary-light"));break;case tz:z=fU,DX&&((J=J._debugTask)?J.run(console.timeStamp.bind(console,"Action",z,G,pQ,void 0,"primary-light")):console.timeStamp("Action",z,G,pQ,void 0,"primary-light"));break;default:DX&&(J=G-fU,3>J||console.timeStamp("Blocked",fU,G,pQ,void 0,5>J?"primary-light":10>J?"primary":100>J?"primary-dark":"error"))}}z=(Y=!Y&&(X&127)===0&&(X&Z.expiredLanes)===0||Mz(Z,X))?X$(Z,X):l0(Z,X,!0);var U=Y;do{if(z===cq){f_&&!Y&&NG(Z,X,0,!1),X=NX,fU=tX(),QI=X;break}else{if(J=LY(),G=Z.current.alternate,U&&!Z$(G)){IQ(X),G=AY,z=J,!DX||z<=G||(lX?lX.run(console.timeStamp.bind(console,"Teared Render",G,z,eZ,tZ,"error")):console.timeStamp("Teared Render",G,z,eZ,tZ,"error")),bz(X,J),z=l0(Z,X,!1),U=!1;continue}if(z===rz){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),PF(AY,J,X,lX),bz(X,J),X=B;Z:{J=Z,z=U,U=qK;var M=J.current.memoizedState.isDehydrated;if(M&&(q_(J,B).flags|=256),B=l0(J,B,!1),B!==rz){if(R9&&!M){J.errorRecoveryDisabledLanes|=z,fG|=z,z=bG;break Z}J=rY,rY=U,J!==null&&(rY===null?rY=J:rY.push.apply(rY,J))}z=B}if(U=!1,z!==rz)continue;else J=LY()}}if(z===YK){IQ(X),PF(AY,J,X,lX),bz(X,J),q_(Z,0),NG(Z,X,0,!0);break}Z:{switch(Y=Z,z){case cq:case YK: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),bz(X,J),G=X,(G&127)!==0?cL=J:(G&4194048)!==0&&(pL=J),NG(Y,X,zQ,!gG);break Z;case rz:rY=null;break;case QA:case oI:break;default:throw Error("Unknown root exit status.")}if(a.actQueue!==null)i0(Y,G,X,rY,GK,zA,zQ,fG,ez,z,null,null,AY,J);else{if((X&62914560)===X&&(U=HA+ZT-LY(),10<U)){if(NG(Y,X,zQ,!gG),Fz(Y,0,!0)!==0)break Z;IJ=X,Y.timeoutHandle=NT(f4.bind(null,Y,G,rY,GK,zA,X,zQ,fG,ez,gG,z,"Throttled",AY,J),U);break Z}f4(Y,G,rY,GK,zA,X,zQ,fG,ez,gG,z,null,AY,J)}}}break}while(1);nJ(Z)}function f4(Z,X,Y,J,G,z,U,B,M,T,y,v,$,c){Z.timeoutHandle=JH;var zZ=X.subtreeFlags,AZ=null;if(zZ&8192||(zZ&16785408)===16785408){if(AZ={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:wq},k4(X,z,AZ),zZ=(z&62914560)===z?HA-LY():(z&4194048)===z?eI-LY():0,zZ=u$(AZ,zZ),zZ!==null){IJ=z,Z.cancelPendingCommit=zZ(i0.bind(null,Z,X,z,Y,J,G,U,B,M,y,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,z,U,!T);return}}i0(Z,X,z,Y,J,G,U,B,M,y,AZ,v,$,c)}function Z$(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],z=G.getSnapshot;G=G.value;try{if(!iY(z(),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 z=31-cY(G),U=1<<z;J[z]=-1,G&=~U}Y!==0&&Nz(Z,Y,X)}function J_(){return(HX&(WY|xQ))===FY?(LU(0,!1),!1):!0}function p0(){if(aZ!==null){if(NX===GQ)var Z=aZ.return;else Z=aZ,SB(),X0(Z),E_=null,aU=0,Z=aZ;for(;Z!==null;)U4(Z.alternate,Z),Z=Z.return;aZ=null}}function bz(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 z=(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,z)):console.timeStamp(U,Y,J,eZ,tZ,z)}}bz(sZ,AY)}if(Y=lX,lX=null,(X&127)!==0){lX=bU,G=0<=Qq&&Qq<kG?kG:Qq,J=0<=dz&&dz<kG?kG:dz,z=0<=J?J:0<=G?G:AY,0<=cL?(IQ(2),f8(cL,z,X,Y)):(lL&127)!==0&&(IQ(2),sW(kG,z,gq)),Y=G;var B=J,M=gU,T=0<D_,y=xG===hU,v=xG===dL;if(G=AY,J=bU,z=Q9,U=J9,DX){if(eZ="Blocking",0<Y?Y>G&&(Y=G):Y=G,0<B?B>Y&&(B=Y):B=Y,M!==null&&Y>B){var $=T?"secondary-light":"warning";J?J.run(console.timeStamp.bind(console,T?"Consecutive":"Event: "+M,B,Y,eZ,tZ,$)):console.timeStamp(T?"Consecutive":"Event: "+M,B,Y,eZ,tZ,$)}G>Y&&(B=y?"error":(X&738197653)===X?"tertiary-light":"primary-light",y=v?"Promise Resolved":y?"Cascading Update":5<G-Y?"Update Blocked":"Update",v=[],U!=null&&v.push(["Component name",U]),z!=null&&v.push(["Method name",z]),Y={start:Y,end:G,detail:{devtools:{properties:v,track:eZ,trackGroup:tZ,color:B}}},J?J.run(performance.measure.bind(performance,y,Y)):performance.measure(y,Y))}Qq=-1.1,xG=0,J9=Q9=null,cL=-1.1,D_=dz,dz=-1.1,kG=tX()}if((X&4194048)!==0&&(lX=mU,G=0<=bq&&bq<Jq?Jq:bq,Y=0<=rQ&&rQ<Jq?Jq:rQ,J=0<=yG&&yG<Jq?Jq:yG,z=0<=J?J:0<=Y?Y:AY,0<=pL?(IQ(256),f8(pL,z,X,lX)):(lL&4194048)!==0&&(IQ(256),sW(Jq,z,gq)),v=J,B=cz,M=0<vG,T=q9===dL,z=AY,J=mU,U=e7,y=ZI,DX&&(eZ="Transition",0<Y?Y>z&&(Y=z):Y=z,0<G?G>Y&&(G=Y):G=Y,0<v?v>G&&(v=G):v=G,G>v&&B!==null&&($=M?"secondary-light":"warning",J?J.run(console.timeStamp.bind(console,M?"Consecutive":"Event: "+B,v,G,eZ,tZ,$)):console.timeStamp(M?"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")),z>Y&&(G=T?"Promise Resolved":5<z-Y?"Update Blocked":"Update",v=[],y!=null&&v.push(["Component name",y]),U!=null&&v.push(["Method name",U]),Y={start:Y,end:z,detail:{devtools:{properties:v,track:eZ,trackGroup:tZ,color:"primary-light"}}},J?J.run(performance.measure.bind(performance,G,Y)):performance.measure(G,Y))),rQ=bq=-1.1,q9=0,pL=-1.1,vG=yG,yG=-1.1,Jq=tX()),(X&62914560)!==0&&(lL&62914560)!==0&&(IQ(4194304),sW(XI,AY,gq)),(X&2080374784)!==0&&(lL&2080374784)!==0&&(IQ(268435456),sW(YI,AY,gq)),Y=Z.timeoutHandle,Y!==JH&&(Z.timeoutHandle=JH,xE(Y)),Y=Z.cancelPendingCommit,Y!==null&&(Z.cancelPendingCommit=null,Y()),IJ=0,p0(),RX=Z,aZ=Y=Vq(Z.current,null),sZ=X,NX=GQ,yQ=null,gG=!1,f_=Mz(Z,X),R9=!1,bX=cq,ez=zQ=j9=fG=mG=0,rY=qK=null,zA=!1,(X&8)!==0&&(X|=X&32),J=Z.entangledLanes,J!==0)for(Z=Z.entanglements,J&=X;0<J;)G=31-cY(J),z=1<<G,X|=Z[G],J&=~z;return Gq=X,jB(),Z=n7(),1000<Z-i7&&(a.recentlyCreatedOwnerStacks=0,i7=Z),FJ.discardPendingWarnings(),Y}function u4(Z,X){bZ=null,a.H=eU,a.getCurrentStack=null,oJ=!1,DQ=null,X===S_||X===aL?(X=H1(),NX=QK):X===_9?(X=H1(),NX=tI):NX=X===N9?V9:X!==null&&typeof X==="object"&&typeof X.then==="function"?JK:qA,yQ=X;var Y=aZ;Y===null?(bX=YK,XL(Z,TQ(X,Z.current))):Y.mode&iZ&&dF(Y)}function d4(){var Z=EQ.current;return Z===null?!0:(sZ&4194048)===sZ?oQ===null?!0:!1:(sZ&62914560)===sZ||(sZ&536870912)!==0?Z===oQ:!1}function c4(){var Z=a.H;return a.H=eU,Z===null?eU:Z}function p4(){var Z=a.A;return a.A=NE,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,zQ,!1)}function l0(Z,X,Y){var J=HX;HX|=WY;var G=c4(),z=p4();if(RX!==Z||sZ!==X){if(eJ){var U=Z.memoizedUpdaters;0<U.size&&(BU(Z,sZ),U.clear()),HG(Z,X)}GK=null,q_(Z,X)}X=!1,U=bX;Z:do try{if(NX!==GQ&&aZ!==null){var B=aZ,M=yQ;switch(NX){case V9:p0(),U=JA;break Z;case QK:case oz:case tz:case JK:EQ.current===null&&(X=!0);var T=NX;if(NX=GQ,yQ=null,G_(Z,B,M,T),Y&&f_){U=cq;break Z}break;default:T=NX,NX=GQ,yQ=null,G_(Z,B,M,T)}}l4(),U=bX;break}catch(y){u4(Z,y)}while(1);return X&&Z.shellSuspendCounter++,SB(),HX=J,a.H=G,a.A=z,aZ===null&&(RX=null,sZ=0,jB()),U}function l4(){for(;aZ!==null;)i4(aZ)}function X$(Z,X){var Y=HX;HX|=WY;var J=c4(),G=p4();if(RX!==Z||sZ!==X){if(eJ){var z=Z.memoizedUpdaters;0<z.size&&(BU(Z,sZ),z.clear()),HG(Z,X)}GK=null,_A=LY()+XT,q_(Z,X)}else f_=Mz(Z,X);Z:do try{if(NX!==GQ&&aZ!==null)X:switch(X=aZ,z=yQ,NX){case qA:NX=GQ,yQ=null,G_(Z,X,z,qA);break;case oz:case tz:if(G1(z)){NX=GQ,yQ=null,n4(X);break}X=function(){NX!==oz&&NX!==tz||RX!==Z||(NX=GA),nJ(Z)},z.then(X,X);break Z;case QK:NX=GA;break Z;case tI:NX=w9;break Z;case GA:G1(z)?(NX=GQ,yQ=null,n4(X)):(NX=GQ,yQ=null,G_(Z,X,z,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 M=B.sibling;if(M!==null)aZ=M;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,z,w9);break;case JK:NX=GQ,yQ=null,G_(Z,X,z,JK);break;case V9:p0(),bX=JA;break Z;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}a.actQueue!==null?l4():Y$();break}catch(y){u4(Z,y)}while(1);if(SB(),a.H=J,a.A=G,HX=Y,aZ!==null)return cq;return RX=null,sZ=0,jB(),bX}function Y$(){for(;aZ!==null&&!ZS();)i4(aZ)}function i4(Z){var X=Z.alternate;(Z.mode&iZ)!==hZ?(uF(Z),X=BZ(Z,v0,X,Z,Gq),dF(Z)):X=BZ(Z,v0,X,Z,Gq),Z.memoizedProps=Z.pendingProps,X===null?UL(Z):aZ=X}function n4(Z){var X=BZ(Z,Q$,Z);Z.memoizedProps=Z.pendingProps,X===null?UL(Z):aZ=X}function Q$(Z){var X=Z.alternate,Y=(Z.mode&iZ)!==hZ;switch(Y&&uF(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:X0(Z);default:U4(X,Z),Z=aZ=i8(Z,Gq),X=v0(X,Z,Gq)}return Y&&dF(Z),X}function G_(Z,X,Y,J){SB(),X0(X),E_=null,aU=0;var G=X.return;try{if(uD(Z,G,X,Y,sZ)){bX=YK,XL(Z,TQ(Y,Z.current)),aZ=null;return}}catch(z){if(G!==null)throw aZ=G,z;bX=YK,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===oz||J===tz||J===QK||J===JK)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,uF(X),Y=BZ(X,pD,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=oI)}function s4(Z,X){do{var Y=lD(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 i0(Z,X,Y,J,G,z,U,B,M,T,y,v,$,c){Z.cancelPendingCommit=null;do KU();while(QY!==dG);if(FJ.flushLegacyContextWarning(),FJ.flushPendingUnsafeLifecycleWarnings(),(HX&(WY|xQ))!==FY)throw Error("Should not already be working.");if(IQ(Y),T===rz?PF($,c,Y,lX):J!==null?DD($,c,Y,J,X!==null&&X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)!==0,lX):PD($,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(z=X.lanes|X.childLanes,z|=tM,LB(Z,Y,z,U,B,M),Z===RX&&(aZ=RX=null,sZ=0),u_=X,cG=Z,IJ=Y,D9=z,S9=G,zT=J,$9=c,HT=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 KK=window.event,TJ===WA&&(TJ=P9),e4(),null})):(Z.callbackNode=null,Z.callbackPriority=0),hq=null,EG=tX(),v!==null&&$D(c,EG,v,lX),J=(X.flags&13878)!==0,(X.subtreeFlags&13878)!==0||J){J=a.T,a.T=null,G=FX.p,FX.p=$Q,U=HX,HX|=xQ;try{oD(Z,X,Y)}finally{HX=U,FX.p=G,a.T=J}}QY=QT,a4(),r4(),o4()}}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=a.T,a.T=null;var G=FX.p;FX.p=$Q;var z=HX;HX|=xQ;try{g_=Y,m_=Z,yB(),C4(X,Z),m_=g_=null,Y=u9;var U=h8(Z.containerInfo),B=Y.focusedElem,M=Y.selectionRange;if(U!==B&&B&&B.ownerDocument&&v8(B.ownerDocument.documentElement,B)){if(M!==null&&RF(B)){var{start:T,end:y}=M;if(y===void 0&&(y=T),"selectionStart"in B)B.selectionStart=T,B.selectionEnd=Math.min(y,B.value.length);else{var v=B.ownerDocument||document,$=v&&v.defaultView||window;if($.getSelection){var c=$.getSelection(),zZ=B.textContent.length,AZ=Math.min(M.start,zZ),PX=M.end===void 0?AZ:Math.min(M.end,zZ);!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{HX=z,FX.p=G,a.T=J}}Z.current=X,QY=JT}}function r4(){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=a.T,a.T=null;var G=FX.p;FX.p=$Q;var z=HX;HX|=xQ;try{g_=Y,m_=Z,yB(),T4(Z,X.alternate,X),m_=g_=null}finally{HX=z,FX.p=G,a.T=J}}Z=$9,X=HT,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 o4(){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,XS(),Z=cG;var J=u_;X=IJ,Y=zT;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),ZH=0,HK=null);var z=Z.pendingLanes;if(z===0&&(uG=null),G||QN(Z),z=V(X),J=J.stateNode,gY&&typeof gY.onCommitFiberRoot==="function")try{var U=(J.current.flags&128)===128;switch(z){case $Q:var B=SM;break;case AJ:B=EM;break;case Zq:B=K_;break;case $L:B=kM;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(),eD(),Y!==null){U=a.T,B=FX.p,FX.p=$Q,a.T=null;try{var M=Z.onRecoverableError;for(J=0;J<Y.length;J++){var T=Y[J],y=J$(T.stack);BZ(T.source,M,T.value,y)}}finally{a.T=U,FX.p=B}}(IJ&3)!==0&&KU(),nJ(Z),z=Z.pendingLanes,(X&261930)!==0&&(z&42)!==0?(nL=!0,Z===E9?zK++:(zK=0,E9=Z)):zK=0,G||bz(X,vq),LU(0,!1)}}function J$(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,rW(X)))}function KU(){return a4(),r4(),o4(),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=a.T;var G=FX.p;try{FX.p=J,a.T=null;var z=S9;S9=null,J=cG;var U=IJ;if(QY=dG,u_=cG=null,IJ=0,(HX&(WY|xQ))!==FY)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)sW(vq,B,gq);else{var M=vq,T=B,y=TJ===P9;!DX||T<=M||(lX?lX.run(console.timeStamp.bind(console,y?"Waiting for Paint":"Waiting",M,T,eZ,tZ,"secondary-light")):console.timeStamp(y?"Waiting for Paint":"Waiting",M,T,eZ,tZ,"secondary-light"))}M=HX,HX|=xQ;var v=J.current;yB(),y4(v);var $=J.current;v=$9,yB(),S4(J,$,U,z,v),QN(J),HX=M;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")),bz(U,c),LU(0,!1),KA?J===HK?ZH++:(ZH=0,HK=J):ZH=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 zZ=J.current.stateNode;return zZ.effectDuration=0,zZ.passiveEffectDuration=0,!0}finally{FX.p=G,a.T=Y,t4(Z,X)}}function ZN(Z,X,Y){X=TQ(Y,X),Y1(X),X=R0(Z.stateNode,X,2),Z=AG(Z,X,2),Z!==null&&(zG(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=j0(2),J=AG(X,Y,2),J!==null&&(C0(Y,J,X,Z),zG(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 n0(Z,X,Y){var J=Z.pingCache;if(J===null){J=Z.pingCache=new TE;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=q$.bind(null,Z,X,Y),eJ&&BU(Z,Y),X.then(J,J))}function q$(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(),bU=uL("Promise Resolved"),xG=dL):(Y&4194048)!==0&&0>rQ&&(Jq=rQ=tX(),mU=uL("Promise Resolved"),q9=dL),b4()&&a.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()-HA<ZT?(HX&WY)===FY&&q_(Z,0):j9|=Y,ez===sZ&&(ez=0)),nJ(Z)}function XN(Z,X){X===0&&(X=pH()),Z=bY(Z,X),Z!==null&&(zG(Z,X),nJ(Z))}function G$(Z){var X=Z.memoizedState,Y=0;X!==null&&(Y=X.retryLane),XN(Z,Y)}function z$(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 s0(Z,X,Y){if((X.subtreeFlags&67117056)!==0)for(X=X.child;X!==null;){var J=Z,G=X,z=G.type===VL;z=Y||z,G.tag!==22?G.flags&67108864?z&&BZ(G,YN,J,G):s0(J,G,z):G.memoizedState===null&&(z&&G.flags&8192?BZ(G,YN,J,G):G.subtreeFlags&67108864&&BZ(G,s0,J,G,z)),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),s0(Z,Z.current,X)}function JN(Z){if((HX&WY)===FY){var X=Z.tag;if(X===3||X===1||X===0||X===11||X===14||X===15){if(X=s(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 BU(Z,X){eJ&&Z.memoizedUpdaters.forEach(function(Y){mW(Z,Y,X)})}function H$(Z,X){var Y=a.actQueue;return Y!==null?(Y.push(X),RE):$M(Z,X)}function _$(Z){b4()&&a.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`,s(Z))})}function nJ(Z){Z!==c_&&Z.next===null&&(c_===null?LA=c_=Z:c_=c_.next=Z),AA=!0,a.actQueue!==null?y9||(y9=!0,HN()):x9||(x9=!0,HN())}function LU(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 z=0;else{var{suspendedLanes:U,pingedLanes:B}=J;z=(1<<31-cY(42|Z)+1)-1,z&=G&~(U&~B),z=z&201326741?z&201326741|1:z?z|2:0}z!==0&&(Y=!0,zN(J,z))}else z=sZ,z=Fz(J,J===RX?z:0,J.cancelPendingCommit!==null||J.timeoutHandle!==JH),(z&3)===0||Mz(J,z)||(Y=!0,zN(J,z));J=J.next}}while(Y);v9=!1}}function W$(){KK=window.event,a0()}function a0(){AA=y9=x9=!1;var Z=0;pG!==0&&F$()&&(Z=pG);for(var X=LY(),Y=null,J=LA;J!==null;){var G=J.next,z=qN(J,X);if(z===0)J.next=null,Y===null?LA=G:Y.next=G,G===null&&(c_=Y);else if(Y=J,Z!==0||(z&3)!==0)AA=!0;J=G}QY!==dG&&QY!==UA||LU(Z,!1),pG!==0&&(pG=0)}function qN(Z,X){for(var{suspendedLanes:Y,pingedLanes:J,expirationTimes:G}=Z,z=Z.pendingLanes&-62914561;0<z;){var U=31-cY(z),B=1<<U,M=G[U];if(M===-1){if((B&Y)===0||(B&J)!==0)G[U]=BF(B,X)}else M<=X&&(Z.expiredLanes|=B);z&=~B}if(X=RX,Y=sZ,Y=Fz(Z,Z===X?Y:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==JH),J=Z.callbackNode,Y===0||Z===X&&(NX===oz||NX===tz)||Z.cancelPendingCommit!==null)return J!==null&&r0(J),Z.callbackNode=null,Z.callbackPriority=0;if((Y&3)===0||Mz(Z,Y)){if(X=Y&-Y,X!==Z.callbackPriority||a.actQueue!==null&&J!==h9)r0(J);else return X;switch(V(Y)){case $Q:case AJ:Y=EM;break;case Zq:Y=K_;break;case $L:Y=kM;break;default:Y=K_}return J=GN.bind(null,Z),a.actQueue!==null?(a.actQueue.push(J),Y=h9):Y=$M(Y,J),Z.callbackPriority=X,Z.callbackNode=Y,X}return J!==null&&r0(J),Z.callbackPriority=2,Z.callbackNode=null,2}function GN(Z,X){if(nL=iL=!1,KK=window.event,QY!==dG&&QY!==UA)return Z.callbackNode=null,Z.callbackPriority=0,null;var Y=Z.callbackNode;if(TJ===WA&&(TJ=P9),KU()&&Z.callbackNode!==Y)return null;var J=sZ;if(J=Fz(Z,Z===RX?J:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==JH),J===0)return null;return m4(Z,J,X),qN(Z,LY()),Z.callbackNode!=null&&Z.callbackNode===Y?GN.bind(null,Z):null}function zN(Z,X){if(KU())return null;iL=nL,nL=!1,m4(Z,X,!0)}function r0(Z){Z!==h9&&Z!==null&&e$(Z)}function HN(){a.actQueue!==null&&a.actQueue.push(function(){return a0(),null}),yE(function(){(HX&(WY|xQ))!==FY?$M(SM,W$):a0()})}function o0(){if(pG===0){var Z=pz;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"),lW(""+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 U$(Z,X,Y,J,G){if(X==="submit"&&Y&&Y.stateNode===G){var z=_N((G[pY]||null).action),U=J.submitter;U&&(X=(X=U[pY]||null)?_N(X.formAction):U.getAttribute("formAction"),X!==null&&(z=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 M=U?WN(G,U):new FormData(G),T={pending:!0,data:M,method:G.method,action:z};Object.freeze(T),F0(Y,T,null,M)}}else typeof z==="function"&&(B.preventDefault(),M=U?WN(G,U):new FormData(G),T={pending:!0,data:M,method:G.method,action:z},Object.freeze(T),F0(Y,T,z,M))},currentTarget:G}]})}}function KL(Z,X,Y){Z.currentTarget=Y;try{X(Z)}catch(J){sM(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,z=J.event;if(J=J.listeners,X)for(var U=J.length-1;0<=U;U--){var B=J[U],M=B.instance,T=B.currentTarget;if(B=B.listener,M!==G&&z.isPropagationStopped())break Z;M!==null?BZ(M,KL,z,B,T):KL(z,B,T),G=M}else for(U=0;U<J.length;U++){if(B=J[U],M=B.instance,T=B.currentTarget,B=B.listener,M!==G&&z.isPropagationStopped())break Z;M!==null?BZ(M,KL,z,B,T):KL(z,B,T),G=M}}}}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[xM];Y===void 0&&(Y=X[xM]=new Set);var J=Z+"__bubble";Y.has(J)||(KN(X,Z,2,!1),Y.add(J))}function t0(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 e0(Z){if(!Z[OA]){Z[OA]=!0,H7.forEach(function(Y){Y!=="selectionchange"&&(b9.has(Y)||t0(Y,!1,Z),t0(Y,!0,Z))});var X=Z.nodeType===9?Z:Z.ownerDocument;X===null||X[OA]||(X[OA]=!0,t0("selectionchange",!1,X))}}function KN(Z,X,Y,J){switch(lN(X)){case $Q:var G=l$;break;case AJ:G=i$;break;default:G=AM}Y=G.bind(null,X,Y,Z),G=void 0,!gM||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 ZM(Z,X,Y,J,G){var z=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 M=U.tag;if((M===3||M===4)&&U.stateNode.containerInfo===G)return;U=U.return}for(;B!==null;){if(U=RZ(B),U===null)return;if(M=U.tag,M===5||M===6||M===26||M===27){J=z=U;continue Z}B=B.parentNode}}J=J.return}V8(function(){var T=z,y=wF(Y),v=[];Z:{var $=l7.get(Z);if($!==void 0){var c=yL,zZ=Z;switch(Z){case"keypress":if(IB(Y)===0)break Z;case"keydown":case"keyup":c=fS;break;case"focusin":zZ="focus",c=dM;break;case"focusout":zZ="blur",c=dM;break;case"beforeblur":case"afterblur":c=dM;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=DS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=cS;break;case u7:case d7:case c7:c=ES;break;case p7:c=lS;break;case"scroll":case"scrollend":c=CS;break;case"wheel":c=nS;break;case"copy":case"cut":case"paste":c=xS;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=aS}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=iW(D,GX),k!=null&&AZ.push(AU(D,k,S))),PX)break;D=D.return}0<AZ.length&&($=new c($,zZ,null,Y,y),v.push({event:$,listeners:AZ}))}}if((X&7)===0){Z:{if($=Z==="mouseover"||Z==="pointerover",c=Z==="mouseout"||Z==="pointerout",$&&Y!==CU&&(zZ=Y.relatedTarget||Y.fromElement)&&(RZ(zZ)||zZ[jG]))break Z;if(c||$){if($=y.window===y?y:($=y.ownerDocument)?$.defaultView||$.parentWindow:window,c){if(zZ=Y.relatedTarget||Y.toElement,c=T,zZ=zZ?RZ(zZ):null,zZ!==null&&(PX=n(zZ),AZ=zZ.tag,zZ!==PX||AZ!==5&&AZ!==27&&AZ!==6))zZ=null}else c=null,zZ=T;if(c!==zZ){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=zZ==null?$:uZ(zZ),$=new AZ(k,D+"leave",c,Y,y),$.target=PX,$.relatedTarget=S,k=null,RZ(y)===T&&(AZ=new AZ(GX,D+"enter",zZ,Y,y),AZ.target=S,AZ.relatedTarget=PX,k=AZ),PX=k,c&&zZ)X:{AZ=K$,GX=c,D=zZ,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),zZ!==null&&PX!==null&&BN(v,PX,zZ,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=RD;else{WZ=wD;var gZ=TD}else c=$.nodeName,!c||c.toLowerCase()!=="input"||$.type!=="checkbox"&&$.type!=="radio"?T&&pW(T.elementType)&&(WZ=S8):WZ=VD;if(WZ&&(WZ=WZ(Z,T))){$8(v,WZ,Y,y);break Z}gZ&&gZ(Z,$,T),Z==="focusout"&&T&&$.type==="number"&&T.memoizedProps.value!=null&&OF($,"number",$.value)}switch(gZ=T?uZ(T):window,Z){case"focusin":if(D8(gZ)||gZ.contentEditable==="true")I_=gZ,pM=T,xU=null;break;case"focusout":xU=pM=I_=null;break;case"mousedown":lM=!0;break;case"contextmenu":case"mouseup":case"dragend":lM=!1,b8(v,Y,y);break;case"selectionchange":if(eS)break;case"keydown":case"keyup":b8(v,Y,y)}var SZ;if(cM)Z:{switch(Z){case"compositionstart":var CZ="onCompositionStart";break Z;case"compositionend":CZ="onCompositionEnd";break Z;case"compositionupdate":CZ="onCompositionUpdate";break Z}CZ=void 0}else N_?C8(Z,Y)&&(CZ="onCompositionEnd"):Z==="keydown"&&Y.keyCode===y7&&(CZ="onCompositionStart");if(CZ&&(v7&&Y.locale!=="ko"&&(N_||CZ!=="onCompositionStart"?CZ==="onCompositionEnd"&&N_&&(SZ=R8()):(CG=y,mM=("value"in CG)?CG.value:CG.textContent,N_=!0)),gZ=BL(T,CZ),0<gZ.length&&(CZ=new k7(CZ,Z,null,Y,y),v.push({event:CZ,listeners:gZ}),SZ?CZ.data=SZ:(SZ=P8(Y),SZ!==null&&(CZ.data=SZ)))),SZ=oS?FD(Z,Y):MD(Z,Y))CZ=BL(T,"onBeforeInput"),0<CZ.length&&(gZ=new vS("onBeforeInput","beforeinput",null,Y,y),v.push({event:gZ,listeners:CZ}),gZ.data=SZ);U$(v,Z,T,Y,y)}UN(v,X)})}function AU(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,z=G.stateNode;if(G=G.tag,G!==5&&G!==26&&G!==27||z===null||(G=iW(Z,Y),G!=null&&J.unshift(AU(Z,G,z)),G=iW(Z,X),G!=null&&J.push(AU(Z,G,z))),Z.tag===3)return J;Z=Z.return}return[]}function K$(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 z=X._reactName,U=[];Y!==null&&Y!==J;){var B=Y,M=B.alternate,T=B.stateNode;if(B=B.tag,M!==null&&M===J)break;B!==5&&B!==26&&B!==27||T===null||(M=T,G?(T=iW(Y,z),T!=null&&U.unshift(AU(Y,T,M))):G||(T=iW(Y,z),T!=null&&U.push(AU(Y,T,M)))),Y=Y.return}U.length!==0&&Z.push({event:X,listeners:U})}function XM(Z,X){BD(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:gz,possibleRegistrationNames:yM};pW(Z)||typeof X.is==="string"||AD(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 B$(Z,X,Y){X.forEach(function(J){Y[ON(J)]=J==="style"?QM(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.",FQ(Z)),rX(Z)),(typeof Z==="string"?Z:""+Z).replace(jE,`
|
|
181
|
+
`).replace(CE,"")}function AN(Z,X){return X=IG(X),IG(Z)===X?!0:!1}function wX(Z,X,Y,J,G,z){switch(Y){case"children":if(typeof J==="string")NB(J,X,!1),X==="body"||X==="textarea"&&J===""||cW(Z,J);else if(typeof J==="number"||typeof J==="bigint")NB(""+J,X,!1),X!=="body"&&cW(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,z);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=lW(""+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||MA||(MA=!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"||FA?X!=="button"||G.type==null||G.type==="submit"||FA?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||MA||(MA=!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."))):(FA=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(FA=!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 z==="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=lW(""+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=lW(""+J),Z.setAttributeNS(XH,"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,XH,"xlink:actuate",J);break;case"xlinkArcrole":Tq(Z,XH,"xlink:arcrole",J);break;case"xlinkRole":Tq(Z,XH,"xlink:role",J);break;case"xlinkShow":Tq(Z,XH,"xlink:show",J);break;case"xlinkTitle":Tq(Z,XH,"xlink:title",J);break;case"xlinkType":Tq(Z,XH,"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":z!=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)):gz.hasOwnProperty(Y)&&J!=null&&typeof J!=="function"&&sJ(Y,J)}}function YM(Z,X,Y,J,G,z){switch(Y){case"style":I8(Z,J,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"children":typeof J==="string"?cW(Z,J):(typeof J==="number"||typeof J==="bigint")&&cW(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(gz.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),z=Z[pY]||null,z=z!=null?z[Y]:null,typeof z==="function"&&Z.removeEventListener(X,z,G),typeof J==="function")){typeof z!=="function"&&z!==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(XM(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,z;for(z in Y)if(Y.hasOwnProperty(z)){var U=Y[z];if(U!=null)switch(z){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,z,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=z=U=G=null,M=null,T=null;for(J in Y)if(Y.hasOwnProperty(J)){var y=Y[J];if(y!=null)switch(J){case"name":G=y;break;case"type":U=y;break;case"checked":M=y;break;case"defaultChecked":T=y;break;case"value":z=y;break;case"defaultValue":B=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:wX(Z,X,J,y,Y,null)}}J8(Z,Y),q8(Z,z,B,M,T,U,G,!1);return;case"select":_G("select",Y),qX("invalid",Z),J=U=z=null;for(G in Y)if(Y.hasOwnProperty(G)&&(B=Y[G],B!=null))switch(G){case"value":z=B;break;case"defaultValue":U=B;break;case"multiple":J=B;default:wX(Z,X,G,B,Y,null)}H8(Z,Y),X=z,Y=U,Z.multiple=!!J,X!=null?iH(Z,!!J,X,!1):Y!=null&&iH(Z,!!J,Y,!0);return;case"textarea":_G("textarea",Y),qX("invalid",Z),z=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":z=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,z);return;case"option":G8(Z,Y);for(M in Y)if(Y.hasOwnProperty(M)&&(J=Y[M],J!=null))switch(M){case"selected":Z.selected=J&&typeof J!=="function"&&typeof J!=="symbol";break;default:wX(Z,X,M,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<_K.length;J++)qX(_K[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(pW(X)){for(y in Y)Y.hasOwnProperty(y)&&(J=Y[y],J!==void 0&&YM(Z,X,y,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 L$(Z,X,Y,J){switch(XM(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,z=null,U=null,B=null,M=null,T=null,y=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":M=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":z=c;break;case"name":G=c;break;case"checked":T=c;break;case"defaultChecked":y=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),AF(Z,U,B,M,T,y,z,G);return;case"select":c=U=B=$=null;for(z in Y)if(M=Y[z],Y.hasOwnProperty(z)&&M!=null)switch(z){case"value":break;case"multiple":c=M;default:J.hasOwnProperty(z)||wX(Z,X,z,null,J,M)}for(G in J)if(z=J[G],M=Y[G],J.hasOwnProperty(G)&&(z!=null||M!=null))switch(G){case"value":$=z;break;case"defaultValue":B=z;break;case"multiple":U=z;default:z!==M&&wX(Z,X,G,z,J,M)}J=B,X=U,Y=c,$!=null?iH(Z,!!X,$,!1):!!Y!==!!X&&(J!=null?iH(Z,!!X,J,!0):iH(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],z=Y[U],J.hasOwnProperty(U)&&(G!=null||z!=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!==z&&wX(Z,X,U,G,J,z)}W8(Z,$,c);return;case"option":for(var zZ in Y)if($=Y[zZ],Y.hasOwnProperty(zZ)&&$!=null&&!J.hasOwnProperty(zZ))switch(zZ){case"selected":Z.selected=!1;break;default:wX(Z,X,zZ,null,J,$)}for(M in J)if($=J[M],c=Y[M],J.hasOwnProperty(M)&&$!==c&&($!=null||c!=null))switch(M){case"selected":Z.selected=$&&typeof $!=="function"&&typeof $!=="symbol";break;default:wX(Z,X,M,$,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(pW(X)){for(var PX in Y)$=Y[PX],Y.hasOwnProperty(PX)&&$!==void 0&&!J.hasOwnProperty(PX)&&YM(Z,X,PX,void 0,J,$);for(y in J)$=J[y],c=Y[y],!J.hasOwnProperty(y)||$===c||$===void 0&&c===void 0||YM(Z,X,y,$,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 QM(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 FN(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="",z;for(z in X)if(X.hasOwnProperty(z)){var U=X[z];U!=null&&typeof U!=="boolean"&&U!==""&&(z.indexOf("--")===0?(Iq(U,z),J+=G+z+":"+(""+U).trim()):typeof U!=="number"||U===0||P7.has(z)?(Iq(U,z),J+=G+z.replace(w7,"-$1").toLowerCase().replace(V7,"-ms-")+":"+(""+U).trim()):J+=G+z.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=QM(Z)))}}function cQ(Z,X,Y,J,G,z){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,z)}function MN(Z,X,Y,J,G,z){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,z)}function JM(Z,X,Y,J,G,z){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,z)}function NN(Z,X,Y,J,G,z){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,z)}function qM(Z,X,Y,J,G,z){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=lW(""+J),Z===Y)return}BY(X,Z,J,z)}function IN(Z,X,Y,J){for(var G={},z=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:z.add(U[B].name)}if(pW(X)){for(var M in Y)if(Y.hasOwnProperty(M)){var T=Y[M];if(T!=null){if(gz.hasOwnProperty(M))typeof T!=="function"&&sJ(M,T);else if(Y.suppressHydrationWarning!==!0)switch(M){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(M,U,T,G));continue;case"style":z.delete(M),FN(Z,T,G);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":z.delete(M.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",M);continue;case"className":z.delete("class"),U=X8(Z,"class",T),BY("className",U,T,G);continue;default:J.context===pq&&X!=="svg"&&X!=="math"?z.delete(M.toLowerCase()):z.delete(M),U=X8(Z,M,T),BY(M,U,T,G)}}}}else for(T in Y)if(Y.hasOwnProperty(T)&&(M=Y[T],M!=null)){if(gz.hasOwnProperty(T))typeof M!=="function"&&sJ(T,M);else if(Y.suppressHydrationWarning!==!0)switch(T){case"children":typeof M!=="string"&&typeof M!=="number"||BY("children",Z.textContent,M,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,M=M?M.__html:void 0,M!=null&&(M=LN(Z,M),U!==M&&(G[T]={__html:U}));continue;case"className":cQ(Z,T,"class",M,z,G);continue;case"tabIndex":cQ(Z,T,"tabindex",M,z,G);continue;case"style":z.delete(T),FN(Z,M,G);continue;case"multiple":z.delete(T),BY(T,Z.multiple,M,G);continue;case"muted":z.delete(T),BY(T,Z.muted,M,G);continue;case"autoFocus":z.delete("autofocus"),BY(T,Z.autofocus,M,G);continue;case"data":if(X!=="object"){z.delete(T),U=Z.getAttribute("data"),BY(T,U,M,G);continue}case"src":case"href":if(!(M!==""||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}qM(Z,T,T,M,z,G);continue;case"action":case"formAction":if(U=Z.getAttribute(T),typeof M==="function"){z.delete(T.toLowerCase()),T==="formAction"?(z.delete("name"),z.delete("formenctype"),z.delete("formmethod"),z.delete("formtarget")):(z.delete("enctype"),z.delete("method"),z.delete("target"));continue}else if(U===PE){z.delete(T.toLowerCase()),BY(T,"function",M,G);continue}qM(Z,T,T.toLowerCase(),M,z,G);continue;case"xlinkHref":qM(Z,T,"xlink:href",M,z,G);continue;case"contentEditable":JM(Z,T,"contenteditable",M,z,G);continue;case"spellCheck":JM(Z,T,"spellcheck",M,z,G);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":JM(Z,T,T,M,z,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":MN(Z,T,T.toLowerCase(),M,z,G);continue;case"capture":case"download":Z:{B=Z;var y=U=T,v=G;if(z.delete(y),B=B.getAttribute(y),B===null)switch(typeof M){case"undefined":case"function":case"symbol":break Z;default:if(M===!1)break Z}else if(M!=null)switch(typeof M){case"function":case"symbol":break;case"boolean":if(M===!0&&B==="")break Z;break;default:if($Z(M,U),B===""+M)break Z}BY(U,B,M,v)}continue;case"cols":case"rows":case"size":case"span":Z:{if(B=Z,y=U=T,v=G,z.delete(y),B=B.getAttribute(y),B===null)switch(typeof M){case"undefined":case"function":case"symbol":case"boolean":break Z;default:if(isNaN(M)||1>M)break Z}else if(M!=null)switch(typeof M){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(M)||1>M)&&($Z(M,U),B===""+M))break Z}BY(U,B,M,v)}continue;case"rowSpan":NN(Z,T,"rowspan",M,z,G);continue;case"start":NN(Z,T,T,M,z,G);continue;case"xHeight":cQ(Z,T,"x-height",M,z,G);continue;case"xlinkActuate":cQ(Z,T,"xlink:actuate",M,z,G);continue;case"xlinkArcrole":cQ(Z,T,"xlink:arcrole",M,z,G);continue;case"xlinkRole":cQ(Z,T,"xlink:role",M,z,G);continue;case"xlinkShow":cQ(Z,T,"xlink:show",M,z,G);continue;case"xlinkTitle":cQ(Z,T,"xlink:title",M,z,G);continue;case"xlinkType":cQ(Z,T,"xlink:type",M,z,G);continue;case"xmlBase":cQ(Z,T,"xml:base",M,z,G);continue;case"xmlLang":cQ(Z,T,"xml:lang",M,z,G);continue;case"xmlSpace":cQ(Z,T,"xml:space",M,z,G);continue;case"inert":M!==""||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)),MN(Z,T,T,M,z,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"?z.delete(B.toLowerCase()):(y=T.toLowerCase(),y=kL.hasOwnProperty(y)?kL[y]||null:null,y!==null&&y!==T&&(U=!0,z.delete(y)),z.delete(B));Z:if(y=Z,v=B,B=M,fW(v))if(y.hasAttribute(v))y=y.getAttribute(v),$Z(B,v),B=y===""+B?B:y;else{switch(typeof B){case"function":case"symbol":break Z;case"boolean":if(y=v.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-")break Z}B=B===void 0?void 0:null}else B=void 0;U||BY(T,B,M,G)}}}return 0<z.size&&Y.suppressHydrationWarning!==!0&&B$(Z,z,G),Object.keys(G).length===0?null:G}function A$(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 O$(){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],z=G.transferSize,U=G.initiatorType,B=G.duration;if(z&&B&&TN(U)){U=0,B=G.responseEnd;for(J+=1;J<Y.length;J++){var M=Y[J],T=M.startTime;if(T>B)break;var{transferSize:y,initiatorType:v}=M;y&&TN(v)&&(M=M.responseEnd,U+=y*(M<B?1:(B-T)/(M-T)))}if(--J,X+=8*(z+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 GM(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 F$(){var Z=window.event;if(Z&&Z.type==="popstate"){if(Z===d9)return!1;return d9=Z,!0}return d9=null,!1}function OU(){var Z=window.event;return Z&&Z!==KK?Z.type:null}function FU(){var Z=window.event;return Z&&Z!==KK?Z.timeStamp:-1.1}function M$(Z){setTimeout(function(){throw Z})}function N$(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 I$(){}function T$(Z,X,Y,J){L$(Z,X,Y,J),Z[pY]=J}function RN(Z){cW(Z,"")}function w$(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 V$(Z,X){Z.removeChild(X)}function R$(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===UK||Y===TA){if(J===0){Z.removeChild(G),__(X);return}J--}else if(Y===WK||Y===lG||Y===QH||Y===p_||Y===YH)J++;else if(Y===$E)MU(Z.ownerDocument.documentElement);else if(Y===EE){Y=Z.ownerDocument.head,MU(Y);for(var z=Y.firstChild;z;){var{nextSibling:U,nodeName:B}=z;z[jU]||B==="SCRIPT"||B==="STYLE"||B==="LINK"&&z.rel.toLowerCase()==="stylesheet"||Y.removeChild(z),z=U}}else Y===SE&&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===UK)if(Z===0)break;else Z--;else Y!==WK&&Y!==lG&&Y!==QH&&Y!==p_||Z++;Y=J}while(Y)}function j$(Z){PN(Z,!0)}function C$(Z){Z=Z.style,typeof Z.setProperty==="function"?Z.setProperty("display","none","important"):Z.display="none"}function P$(Z){Z.nodeValue=""}function D$(Z){PN(Z,!1)}function $$(Z,X){X=X[kE],X=X!==void 0&&X!==null&&X.hasOwnProperty("display")?X.display:null,Z.style.display=X==null||typeof X==="boolean"?"":(""+X).trim()}function S$(Z,X){Z.nodeValue=X}function zM(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":zM(Y),_Z(Y);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Y.rel.toLowerCase()==="stylesheet")continue}Z.removeChild(Y)}}function E$(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 z=G.name==null?null:""+G.name;if(G.type==="hidden"&&Z.getAttribute("name")===z)return Z}else return Z;else if(!Z[jU])switch(X){case"meta":if(!Z.hasAttribute("itemprop"))break;return Z;case"link":if(z=Z.getAttribute("rel"),z==="stylesheet"&&Z.hasAttribute("data-precedence"))break;else if(z!==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(z=Z.getAttribute("src"),(z!==(G.src==null?null:G.src)||Z.getAttribute("type")!==(G.type==null?null:G.type)||Z.getAttribute("crossorigin")!==(G.crossOrigin==null?null:G.crossOrigin))&&z&&Z.hasAttribute("async")&&!Z.hasAttribute("itemprop"))break;return Z;default:return Z}if(Z=CQ(Z.nextSibling),Z===null)break}return null}function k$(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 HM(Z){return Z.data===lG||Z.data===QH}function _M(Z){return Z.data===p_||Z.data===lG&&Z.ownerDocument.readyState!==FT}function x$(Z,X){var Y=Z.ownerDocument;if(Z.data===QH)Z._reactRetry=X;else if(Z.data!==lG||Y.readyState!==FT)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===WK||X===p_||X===lG||X===QH||X===YH||X===m9||X===OT)break;if(X===UK||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 z=J[G];Y[ON(z.name)]=z.name.toLowerCase()==="style"?QM(Z):z.value}return{type:X,props:Y}}return Z.nodeType===8?Z.data===YH?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:Z.nodeValue}function SN(Z,X,Y){return Y===null||Y[DE]!==!0?(Z.nodeValue===X?Z=null:(X=IG(X),Z=IG(Z.nodeValue)===X?null:Z.nodeValue),Z):null}function WM(Z){Z=Z.nextSibling;for(var X=0;Z;){if(Z.nodeType===8){var Y=Z.data;if(Y===UK||Y===TA){if(X===0)return CQ(Z.nextSibling);X--}else Y!==WK&&Y!==p_&&Y!==lG&&Y!==QH&&Y!==YH||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===WK||Y===p_||Y===lG||Y===QH||Y===YH){if(X===0)return Z;X--}else Y!==UK&&Y!==TA||X++}Z=Z.previousSibling}return null}function y$(Z){__(Z)}function v$(Z){__(Z)}function h$(Z){__(Z)}function kN(Z,X,Y,J,G){switch(G&&TF(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 b$(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=z_(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=z_(Y.href);var z=UX(G).hoistableStyles,U=z.get(Z);if(!U&&(G=G.ownerDocument||G,U={type:"stylesheet",instance:null,count:0,state:{loading:qH,preload:null}},z.set(Z,U),(z=G.querySelector(NU(Z)))&&!z._p&&(U.instance=z,U.state.loading=BK|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),z||g$(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=H_(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 z_(Z){return'href="'+dQ(Z)+'"'}function NU(Z){return'link[rel="stylesheet"]['+Z+"]"}function vN(Z){return oZ({},Z,{"data-precedence":Z.precedence,precedence:null})}function g$(Z,X,Y,J){Z.querySelector('link[rel="preload"][as="style"]['+X+"]")?J.loading=BK:(X=Z.createElement("link"),J.preload=X,X.addEventListener("load",function(){return J.loading|=BK}),X.addEventListener("error",function(){return J.loading|=TT}),jY(X,"link",Y),EZ(X),Z.head.appendChild(X))}function H_(Z){return'[src="'+dQ(Z)+'"]'}function IU(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=oZ({},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),FL(J,Y.precedence,Z),X.instance=J;case"stylesheet":G=z_(Y.href);var z=Z.querySelector(NU(G));if(z)return X.state.loading|=ZJ,X.instance=z,EZ(z),z;J=vN(Y),(G=XJ.get(G))&&UM(J,G),z=(Z.ownerDocument||Z).createElement("link"),EZ(z);var U=z;return U._p=new Promise(function(B,M){U.onload=B,U.onerror=M}),jY(z,"link",J),X.state.loading|=ZJ,FL(z,Y.precedence,Z),X.instance=z;case"script":if(z=H_(Y.src),G=Z.querySelector(IU(z)))return X.instance=G,EZ(G),G;if(J=Y,G=XJ.get(z))J=oZ({},Y),KM(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)===qH&&(J=X.instance,X.state.loading|=ZJ,FL(J,Y.precedence,Z));return X.instance}function FL(Z,X,Y){for(var J=Y.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),G=J.length?J[J.length-1]:null,z=G,U=0;U<J.length;U++){var B=J[U];if(B.dataset.precedence===X)z=B;else if(z!==G)break}z?z.parentNode.insertBefore(Z,z.nextSibling):(X=Y.nodeType===9?Y.head:Y,X.insertBefore(Z,X.firstChild))}function UM(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.title==null&&(Z.title=X.title)}function KM(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 z=Y[G];if(!(z[jU]||z[CY]||Z==="link"&&z.getAttribute("rel")==="stylesheet")&&z.namespaceURI!==A_){var U=z.getAttribute(X)||"";U=Z+U;var B=J.get(U);B?B.push(z):J.set(U,[z])}}return J}function gN(Z,X,Y){Z=Z.ownerDocument||Z,Z.head.insertBefore(Y,X==="title"?Z.querySelector("head > title"):null)}function m$(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:z}=X;Y=[],X.onLoad&&Y.push("`onLoad`"),G&&Y.push("`onError`"),z!=null&&Y.push("`disabled`"),G=A$(Y,"and"),G+=Y.length===1?" prop":" props",z=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,z,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)===qH?!1:!0}function f$(Z,X,Y,J){if(Y.type==="stylesheet"&&(typeof J.media!=="string"||matchMedia(J.media).matches!==!1)&&(Y.state.loading&ZJ)===qH){if(Y.instance===null){var G=z_(J.href),z=X.querySelector(NU(G));if(z){X=z._p,X!==null&&typeof X==="object"&&typeof X.then==="function"&&(Z.count++,Z=ML.bind(Z),X.then(Z,Z)),Y.state.loading|=ZJ,Y.instance=z,EZ(z);return}z=X.ownerDocument||X,J=vN(J),(G=XJ.get(G))&&UM(J,G),z=z.createElement("link"),EZ(z);var U=z;U._p=new Promise(function(B,M){U.onload=B,U.onerror=M}),jY(z,"link",J),Y.instance=z}Z.stylesheets===null&&(Z.stylesheets=new Map),Z.stylesheets.set(Y,X),(X=Y.state.preload)&&(Y.state.loading&wT)===qH&&(Z.count++,Y=ML.bind(Z),X.addEventListener("load",Y),X.addEventListener("error",Y))}}function u$(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 z=Z.unsuspend;Z.unsuspend=null,z()}},vE+X);0<Z.imgBytes&&p9===0&&(p9=125*O$()*bE);var G=setTimeout(function(){if(Z.waitingForImages=!1,Z.count===0&&(Z.stylesheets&&NL(Z,Z.stylesheets),Z.unsuspend)){var z=Z.unsuspend;Z.unsuspend=null,z()}},(Z.imgBytes>p9?50:hE)+X);return Z.unsuspend=Y,function(){Z.unsuspend=null,clearTimeout(J),clearTimeout(G)}}:null}function ML(){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(d$,Z),RA=null,ML.call(Z))}function d$(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]"),z=0;z<G.length;z++){var U=G[z];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"),z=Y.get(U)||J,z===J&&Y.set(l9,G),Y.set(U,G),this.count++,J=ML.bind(this),G.addEventListener("load",J),G.addEventListener("error",J),z?z.parentNode.insertBefore(G,z.nextSibling):(Z=Z.nodeType===9?Z.head:Z,Z.insertBefore(G,Z.firstChild)),X.state.loading|=ZJ}}function c$(Z,X,Y,J,G,z,U,B,M){this.tag=1,this.containerInfo=Z,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=JH,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=lH(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lH(0),this.hiddenUpdates=lH(null),this.identifierPrefix=J,this.onUncaughtError=G,this.onCaughtError=z,this.onRecoverableError=U,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=M,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,z,U,B,M,T,y,v){return Z=new c$(Z,X,Y,U,M,T,y,v,B),X=HE,z===!0&&(X|=mY|OJ),X|=iZ,z=R(3,null,null,X),Z.current=z,z.stateNode=Z,X=fF(),Ez(X),Z.pooledCache=X,Ez(X),z.memoizedState={element:J,isDehydrated:Y,cache:X},lF(z),Z}function uN(Z){if(!Z)return $G;return Z=$G,Z}function BM(Z,X,Y,J,G,z){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,oJ&&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.`,s(DQ)||"Unknown")),J=LG(X),J.payload={element:Y},z=z===void 0?null:z,z!==null&&(typeof z!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",z),J.callback=z),Y=AG(Z,J,X),Y!==null&&(hJ(X,"root.render()",null),gX(Y,Z,X),ZU(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 LM(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),LM(Z,67108864)}}function pN(Z){if(Z.tag===13||Z.tag===31){var X=jQ(Z);X=wz(X);var Y=bY(Z,X);Y!==null&&gX(Y,Z,X),LM(Z,X)}}function p$(){return DQ}function l$(Z,X,Y,J){var G=a.T;a.T=null;var z=FX.p;try{FX.p=$Q,AM(Z,X,Y,J)}finally{FX.p=z,a.T=G}}function i$(Z,X,Y,J){var G=a.T;a.T=null;var z=FX.p;try{FX.p=AJ,AM(Z,X,Y,J)}finally{FX.p=z,a.T=G}}function AM(Z,X,Y,J){if(CA){var G=OM(J);if(G===null)ZM(Z,X,J,PA,Y),iN(Z,J);else if(n$(G,Z,X,Y,J))J.stopPropagation();else if(iN(Z,J),X&4&&-1<mE.indexOf(Z)){for(;G!==null;){var z=fZ(G);if(z!==null)switch(z.tag){case 3:if(z=z.stateNode,z.current.memoizedState.isDehydrated){var U=kJ(z.pendingLanes);if(U!==0){var B=z;B.pendingLanes|=2;for(B.entangledLanes|=2;U;){var M=1<<31-cY(U);B.entanglements[1]|=M,U&=~M}nJ(z),(HX&(WY|xQ))===FY&&(_A=LY()+XT,LU(0,!1))}}break;case 31:case 13:B=bY(z,2),B!==null&&gX(B,z,2),J_(),LM(z,2)}if(z=OM(J),z===null&&ZM(Z,X,J,PA,Y),z===G)break;G=z}G!==null&&J.stopPropagation()}else ZM(Z,X,J,null,Y)}}function OM(Z){return Z=wF(Z),FM(Z)}function FM(Z){if(PA=null,Z=RZ(Z),Z!==null){var X=n(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(YS()){case SM:return $Q;case EM:return AJ;case K_:case QS:return Zq;case kM: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":AK.delete(X.pointerId);break;case"gotpointercapture":case"lostpointercapture":OK.delete(X.pointerId)}}function TU(Z,X,Y,J,G,z){if(Z===null||Z.nativeEvent!==z)return Z={blockedOn:X,domEventName:Y,eventSystemFlags:J,nativeEvent:z,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 n$(Z,X,Y,J,G){switch(X){case"focusin":return iG=TU(iG,Z,X,Y,J,G),!0;case"dragenter":return nG=TU(nG,Z,X,Y,J,G),!0;case"mouseover":return sG=TU(sG,Z,X,Y,J,G),!0;case"pointerover":var z=G.pointerId;return AK.set(z,TU(AK.get(z)||null,Z,X,Y,J,G)),!0;case"gotpointercapture":return z=G.pointerId,OK.set(z,TU(OK.get(z)||null,Z,X,Y,J,G)),!0}return!1}function nN(Z){var X=RZ(Z.target);if(X!==null){var Y=n(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=OM(Z.nativeEvent);if(Y===null){Y=Z.nativeEvent;var J=new Y.constructor(Y.type,Y),G=J;CU!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),CU=G,Y.target.dispatchEvent(J),CU===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."),CU=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 s$(){i9=!1,iG!==null&&IL(iG)&&(iG=null),nG!==null&&IL(nG)&&(nG=null),sG!==null&&IL(sG)&&(sG=null),AK.forEach(sN),OK.forEach(sN)}function TL(Z,X){Z.blockedOn===X&&(Z.blockedOn=null,i9||(i9=!0,KX.unstable_scheduleCallback(KX.unstable_NormalPriority,s$)))}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(FM(J||Y)===null)continue;else break;var z=fZ(Y);z!==null&&(Z.splice(X,3),X-=3,Y={pending:!0,data:G,method:Y.method,action:J},Object.freeze(Y),F0(z,Y,J,G))}}))}function __(Z){function X(M){return TL(M,Z)}iG!==null&&TL(iG,Z),nG!==null&&TL(nG,Z),sG!==null&&TL(sG,Z),AK.forEach(X),OK.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],z=Y[J+1],U=G[pY]||null;if(typeof z==="function")U||aN(Y);else if(U){var B=null;if(z&&z.hasAttribute("formAction")){if(G=z,U=z[pY]||null)B=U.formAction;else if(FM(G)!==null)continue}else B=U.action;typeof B==="function"?Y[J+1]=B:(Y.splice(J,3),J-=3),aN(Y)}}}function rN(){function Z(z){z.canIntercept&&z.info==="react-transition"&&z.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 z=navigation.currentEntry;z&&z.url!=null&&navigation.navigate(z.url,{state:z.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 MM(Z){this._internalRoot=Z}function wL(Z){this._internalRoot=Z}function oN(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 oZ=Object.assign,a$=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"),NM=Symbol.for("react.profiler"),IM=Symbol.for("react.consumer"),rJ=Symbol.for("react.context"),wU=Symbol.for("react.forward_ref"),TM=Symbol.for("react.suspense"),wM=Symbol.for("react.suspense_list"),RL=Symbol.for("react.memo"),PQ=Symbol.for("react.lazy"),VM=Symbol.for("react.activity"),r$=Symbol.for("react.memo_cache_sentinel"),tN=Symbol.iterator,o$=Symbol.for("react.client.reference"),HY=Array.isArray,a=t_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,FX=H3.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,t$=Object.freeze({pending:!1,data:null,method:null,action:null}),RM=[],jM=[],Sq=-1,wG=wZ(null),VU=wZ(null),VG=wZ(null),jL=wZ(null),RU=0,eN,Z7,X7,Y7,Q7,J7,q7;w.__reactDisabledLog=!0;var CM,G7,PM=!1,DM=new(typeof WeakMap==="function"?WeakMap:Map),DQ=null,oJ=!1,LJ=Object.prototype.hasOwnProperty,$M=KX.unstable_scheduleCallback,e$=KX.unstable_cancelCallback,ZS=KX.unstable_shouldYield,XS=KX.unstable_requestPaint,LY=KX.unstable_now,YS=KX.unstable_getCurrentPriorityLevel,SM=KX.unstable_ImmediatePriority,EM=KX.unstable_UserBlockingPriority,K_=KX.unstable_NormalPriority,QS=KX.unstable_LowPriority,kM=KX.unstable_IdlePriority,JS=KX.log,qS=KX.unstable_setDisableYieldValue,B_=null,gY=null,tJ=!1,eJ=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",cY=Math.clz32?Math.clz32:BB,GS=Math.log,zS=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,xM="__reactEvents$"+RG,HS="__reactListeners$"+RG,_S="__reactHandles$"+RG,z7="__reactResources$"+RG,jU="__reactMarker$"+RG,H7=new Set,gz={},yM={},WS={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},US=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={},KS=/[\n"\\]/g,U7=!1,K7=!1,B7=!1,L7=!1,A7=!1,O7=!1,F7=["value","defaultValue"],M7=!1,N7=/["'&<>\n\t]|^\s|\s$/,BS="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(" "),LS=I7.concat(["button"]),AS="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={},vM={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-/,OS=/^(?:webkit|moz|o)[A-Z]/,FS=/^-ms-/,MS=/-(.)/g,R7=/;\s*$/,L_={},hM={},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",NS=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_={},IS=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]*$"),TS=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./,wS=/^on[^A-Z]/,VS=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]*$"),RS=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]*$"),jS=/^[\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,CU=null,F_=null,M_=null,bM=!1,Xq=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gM=!1;if(Xq)try{var PU={};Object.defineProperty(PU,"passive",{get:function(){gM=!0}}),window.addEventListener("test",PU,PU),window.removeEventListener("test",PU,PU)}catch(Z){gM=!1}var CG=null,mM=null,xL=null,mz={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(Z){return Z.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yL=XQ(mz),DU=oZ({},mz,{view:0,detail:0}),CS=XQ(DU),fM,uM,$U,vL=oZ({},DU,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:VF,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!==$U&&($U&&Z.type==="mousemove"?(fM=Z.screenX-$U.screenX,uM=Z.screenY-$U.screenY):uM=fM=0,$U=Z),fM},movementY:function(Z){return"movementY"in Z?Z.movementY:uM}}),E7=XQ(vL),PS=oZ({},vL,{dataTransfer:0}),DS=XQ(PS),$S=oZ({},DU,{relatedTarget:0}),dM=XQ($S),SS=oZ({},mz,{animationName:0,elapsedTime:0,pseudoElement:0}),ES=XQ(SS),kS=oZ({},mz,{clipboardData:function(Z){return"clipboardData"in Z?Z.clipboardData:window.clipboardData}}),xS=XQ(kS),yS=oZ({},mz,{data:0}),k7=XQ(yS),vS=k7,hS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bS={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"},gS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},mS=oZ({},DU,{key:function(Z){if(Z.key){var X=hS[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"?bS[Z.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:VF,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}}),fS=XQ(mS),uS=oZ({},vL,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),x7=XQ(uS),dS=oZ({},DU,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:VF}),cS=XQ(dS),pS=oZ({},mz,{propertyName:0,elapsedTime:0,pseudoElement:0}),lS=XQ(pS),iS=oZ({},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}),nS=XQ(iS),sS=oZ({},mz,{newState:0,oldState:0}),aS=XQ(sS),rS=[9,13,27,32],y7=229,cM=Xq&&"CompositionEvent"in window,SU=null;Xq&&"documentMode"in document&&(SU=document.documentMode);var oS=Xq&&"TextEvent"in window&&!SU,v7=Xq&&(!cM||SU&&8<SU&&11>=SU),h7=32,b7=String.fromCharCode(h7),g7=!1,N_=!1,tS={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},EU=null,kU=null,m7=!1;Xq&&(m7=ND("input")&&(!document.documentMode||9<document.documentMode));var iY=typeof Object.is==="function"?Object.is:jD,eS=Xq&&"documentMode"in document&&11>=document.documentMode,I_=null,pM=null,xU=null,lM=!1,T_={animationend:Rz("Animation","AnimationEnd"),animationiteration:Rz("Animation","AnimationIteration"),animationstart:Rz("Animation","AnimationStart"),transitionrun:Rz("Transition","TransitionRun"),transitionstart:Rz("Transition","TransitionStart"),transitioncancel:Rz("Transition","TransitionCancel"),transitionend:Rz("Transition","TransitionEnd")},iM={},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=jz("animationend"),d7=jz("animationiteration"),c7=jz("animationstart"),ZE=jz("transitionrun"),XE=jz("transitionstart"),YE=jz("transitioncancel"),p7=jz("transitionend"),l7=new Map,nM="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(" ");nM.push("scrollEnd");var i7=0;if(typeof performance==="object"&&typeof performance.now==="function")var QE=performance,n7=function(){return QE.now()};else{var JE=Date;n7=function(){return JE.now()}}var sM=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)},qE="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,aM=1,rM=2,oM=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}},GE=["Changed Props",""],a7="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",zE=["Changed Props",a7],yU=1,kq=2,lQ=[],w_=0,tM=0,$G={};Object.freeze($G);var iQ=null,V_=null,hZ=0,HE=1,iZ=2,mY=8,OJ=16,_E=32,r7=!1;try{var o7=Object.preventExtensions({})}catch(Z){r7=!0}var eM=new WeakMap,R_=[],j_=0,mL=null,vU=0,nQ=[],sQ=0,fz=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,WE=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()})}},UE=KX.unstable_scheduleCallback,KE=KX.unstable_NormalPriority,oX={$$typeof:rJ,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},hU=1,dL=2,AY=-0,EG=-0,vq=-0,hq=null,nY=-1.1,uz=-0,hX=-0,kZ=-1.1,yZ=-1.1,xX=null,mX=!1,kG=-0,Qq=-1.1,bU=null,xG=0,Q9=null,J9=null,dz=-1.1,gU=null,D_=-1.1,cL=-1.1,Jq=-0,bq=-1.1,rQ=-1.1,q9=0,mU=null,e7=null,ZI=null,yG=-1.1,cz=null,vG=-1.1,pL=-1.1,XI=-0,YI=-0,lL=0,gq=null,QI=0,fU=-1.1,iL=!1,nL=!1,uU=null,G9=0,pz=0,$_=null,JI=a.S;a.S=function(Z,X){if(eI=LY(),typeof X==="object"&&X!==null&&typeof X.then==="function"){if(0>bq&&0>rQ){bq=tX();var Y=FU(),J=OU();if(Y!==vG||J!==cz)vG=-1.1;yG=Y,cz=J}kD(Z,X)}JI!==null&&JI(Z,X)};var lz=wZ(null),FJ={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},dU=[],cU=[],pU=[],lU=[],iU=[],nU=[],iz=new Set;FJ.recordUnsafeLifecycleWarnings=function(Z,X){iz.has(Z.type)||(typeof X.componentWillMount==="function"&&X.componentWillMount.__suppressDeprecationWarning!==!0&&dU.push(Z),Z.mode&mY&&typeof X.UNSAFE_componentWillMount==="function"&&cU.push(Z),typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&pU.push(Z),Z.mode&mY&&typeof X.UNSAFE_componentWillReceiveProps==="function"&&lU.push(Z),typeof X.componentWillUpdate==="function"&&X.componentWillUpdate.__suppressDeprecationWarning!==!0&&iU.push(Z),Z.mode&mY&&typeof X.UNSAFE_componentWillUpdate==="function"&&nU.push(Z))},FJ.flushPendingUnsafeLifecycleWarnings=function(){var Z=new Set;0<dU.length&&(dU.forEach(function(B){Z.add(s(B)||"Component"),iz.add(B.type)}),dU=[]);var X=new Set;0<cU.length&&(cU.forEach(function(B){X.add(s(B)||"Component"),iz.add(B.type)}),cU=[]);var Y=new Set;0<pU.length&&(pU.forEach(function(B){Y.add(s(B)||"Component"),iz.add(B.type)}),pU=[]);var J=new Set;0<lU.length&&(lU.forEach(function(B){J.add(s(B)||"Component"),iz.add(B.type)}),lU=[]);var G=new Set;0<iU.length&&(iU.forEach(function(B){G.add(s(B)||"Component"),iz.add(B.type)}),iU=[]);var z=new Set;if(0<nU.length&&(nU.forEach(function(B){z.add(s(B)||"Component"),iz.add(B.type)}),nU=[]),0<X.size){var U=F(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=F(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<z.size&&(U=F(z),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=F(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=F(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=F(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;FJ.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))},FJ.flushLegacyContextWarning=function(){sL.forEach(function(Z){if(Z.length!==0){var X=Z[0],Y=new Set;Z.forEach(function(G){Y.add(s(G)||"Component"),qI.add(G.type)});var J=F(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)})}})},FJ.discardPendingWarnings=function(){dU=[],cU=[],pU=[],lU=[],iU=[],nU=[],sL=new Map};var GI={react_stack_bottom_frame:function(Z,X,Y){var J=oJ;oJ=!0;try{return Z(X,Y)}finally{oJ=J}}},z9=GI.react_stack_bottom_frame.bind(GI),zI={react_stack_bottom_frame:function(Z){var X=oJ;oJ=!0;try{return Z.render()}finally{oJ=X}}},HI=zI.react_stack_bottom_frame.bind(zI),_I={react_stack_bottom_frame:function(Z,X){try{X.componentDidMount()}catch(Y){OX(Z,Z.return,Y)}}},H9=_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(z){OX(Z,Z.return,z)}}},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:""})}},BE=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}},LE=AI.react_stack_bottom_frame.bind(AI),OI={react_stack_bottom_frame:function(Z,X,Y){try{Y()}catch(J){OX(Z,X,J)}}},AE=OI.react_stack_bottom_frame.bind(OI),FI={react_stack_bottom_frame:function(Z){var X=Z._init;return X(Z._payload)}},OE=FI.react_stack_bottom_frame.bind(FI),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."),rL={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.')}},nz=null,sU=!1,E_=null,aU=0,nZ=null,W9,MI=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=s(Z),G=J||"null";if(!NI[G]){NI[G]=!0,Y=Y._owner,Z=Z._debugOwner;var z="";Z&&typeof Z.tag==="number"&&(G=s(Z))&&(z=`
|
|
225
|
+
|
|
226
|
+
Check the render method of \``+G+"`."),z||J&&(z=`
|
|
227
|
+
|
|
228
|
+
Check the top-level render call using <`+J+">.");var U="";Y!=null&&Z!==Y&&(J=null,typeof Y.tag==="number"?J=s(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.',z,U)})}}};var sz=B1(!0),wI=B1(!1),VI=0,RI=1,jI=2,U9=3,hG=!1,CI=!1,K9=null,B9=!1,k_=wZ(null),oL=wZ(0),EQ=wZ(null),oQ=null,x_=1,rU=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,az=!1,ZA=0,oU=0,fq=null,FE=0,ME=25,i=null,eQ=null,uq=-1,tU=!1,eU={readContext:kX,use:MG,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};eU.useEffectEvent=pX;var A9=null,SI=null,O9=null,EI=null,qq=null,MJ=null,XA=null;A9={readContext:function(Z){return kX(Z)},use:MG,useCallback:function(Z,X){return i="useCallback",rZ(),oH(X),B0(Z,X)},useContext:function(Z){return i="useContext",rZ(),kX(Z)},useEffect:function(Z,X){return i="useEffect",rZ(),oH(X),sB(Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",rZ(),oH(Y),K0(Z,X,Y)},useInsertionEffect:function(Z,X){i="useInsertionEffect",rZ(),oH(X),xz(4,sY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",rZ(),oH(X),U0(Z,X)},useMemo:function(Z,X){i="useMemo",rZ(),oH(X);var Y=a.H;a.H=qq;try{return L0(Z,X)}finally{a.H=Y}},useReducer:function(Z,X,Y){i="useReducer",rZ();var J=a.H;a.H=qq;try{return Y0(Z,X,Y)}finally{a.H=J}},useRef:function(Z){return i="useRef",rZ(),_0(Z)},useState:function(Z){i="useState",rZ();var X=a.H;a.H=qq;try{return G0(Z)}finally{a.H=X}},useDebugValue:function(){i="useDebugValue",rZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",rZ(),A0(Z,X)},useTransition:function(){return i="useTransition",rZ(),M0()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",rZ(),J0(Z,X,Y)},useId:function(){return i="useId",rZ(),N0()},useFormState:function(Z,X){return i="useFormState",rZ(),cB(),eH(Z,X)},useActionState:function(Z,X){return i="useActionState",rZ(),eH(Z,X)},useOptimistic:function(Z){return i="useOptimistic",rZ(),z0(Z)},useHostTransitionStatus:yz,useMemoCache:kz,useCacheRefresh:function(){return i="useCacheRefresh",rZ(),I0()},useEffectEvent:function(Z){return i="useEffectEvent",rZ(),W0(Z)}},SI={readContext:function(Z){return kX(Z)},use:MG,useCallback:function(Z,X){return i="useCallback",YZ(),B0(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(),K0(Z,X,Y)},useInsertionEffect:function(Z,X){i="useInsertionEffect",YZ(),xz(4,sY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",YZ(),U0(Z,X)},useMemo:function(Z,X){i="useMemo",YZ();var Y=a.H;a.H=qq;try{return L0(Z,X)}finally{a.H=Y}},useReducer:function(Z,X,Y){i="useReducer",YZ();var J=a.H;a.H=qq;try{return Y0(Z,X,Y)}finally{a.H=J}},useRef:function(Z){return i="useRef",YZ(),_0(Z)},useState:function(Z){i="useState",YZ();var X=a.H;a.H=qq;try{return G0(Z)}finally{a.H=X}},useDebugValue:function(){i="useDebugValue",YZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",YZ(),A0(Z,X)},useTransition:function(){return i="useTransition",YZ(),M0()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",YZ(),J0(Z,X,Y)},useId:function(){return i="useId",YZ(),N0()},useActionState:function(Z,X){return i="useActionState",YZ(),eH(Z,X)},useFormState:function(Z,X){return i="useFormState",YZ(),cB(),eH(Z,X)},useOptimistic:function(Z){return i="useOptimistic",YZ(),z0(Z)},useHostTransitionStatus:yz,useMemoCache:kz,useCacheRefresh:function(){return i="useCacheRefresh",YZ(),I0()},useEffectEvent:function(Z){return i="useEffectEvent",YZ(),W0(Z)}},O9={readContext:function(Z){return kX(Z)},use:MG,useCallback:function(Z,X){return i="useCallback",YZ(),oB(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(),rB(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=a.H;a.H=MJ;try{return tB(Z,X)}finally{a.H=Y}},useReducer:function(Z,X,Y){i="useReducer",YZ();var J=a.H;a.H=MJ;try{return tH(Z,X,Y)}finally{a.H=J}},useRef:function(){return i="useRef",YZ(),MX().memoizedState},useState:function(){i="useState",YZ();var Z=a.H;a.H=MJ;try{return tH(KJ)}finally{a.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(),MX().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:yz,useMemoCache:kz,useCacheRefresh:function(){return i="useCacheRefresh",YZ(),MX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",YZ(),aB(Z)}},EI={readContext:function(Z){return kX(Z)},use:MG,useCallback:function(Z,X){return i="useCallback",YZ(),oB(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(),rB(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=a.H;a.H=XA;try{return tB(Z,X)}finally{a.H=Y}},useReducer:function(Z,X,Y){i="useReducer",YZ();var J=a.H;a.H=XA;try{return JU(Z,X,Y)}finally{a.H=J}},useRef:function(){return i="useRef",YZ(),MX().memoizedState},useState:function(){i="useState",YZ();var Z=a.H;a.H=XA;try{return JU(KJ)}finally{a.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(),MX().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:yz,useMemoCache:kz,useCacheRefresh:function(){return i="useCacheRefresh",YZ(),MX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",YZ(),aB(Z)}},qq={readContext:function(Z){return O(),kX(Z)},use:function(Z){return L(),MG(Z)},useCallback:function(Z,X){return i="useCallback",L(),rZ(),B0(Z,X)},useContext:function(Z){return i="useContext",L(),rZ(),kX(Z)},useEffect:function(Z,X){return i="useEffect",L(),rZ(),sB(Z,X)},useImperativeHandle:function(Z,X,Y){return i="useImperativeHandle",L(),rZ(),K0(Z,X,Y)},useInsertionEffect:function(Z,X){i="useInsertionEffect",L(),rZ(),xz(4,sY,Z,X)},useLayoutEffect:function(Z,X){return i="useLayoutEffect",L(),rZ(),U0(Z,X)},useMemo:function(Z,X){i="useMemo",L(),rZ();var Y=a.H;a.H=qq;try{return L0(Z,X)}finally{a.H=Y}},useReducer:function(Z,X,Y){i="useReducer",L(),rZ();var J=a.H;a.H=qq;try{return Y0(Z,X,Y)}finally{a.H=J}},useRef:function(Z){return i="useRef",L(),rZ(),_0(Z)},useState:function(Z){i="useState",L(),rZ();var X=a.H;a.H=qq;try{return G0(Z)}finally{a.H=X}},useDebugValue:function(){i="useDebugValue",L(),rZ()},useDeferredValue:function(Z,X){return i="useDeferredValue",L(),rZ(),A0(Z,X)},useTransition:function(){return i="useTransition",L(),rZ(),M0()},useSyncExternalStore:function(Z,X,Y){return i="useSyncExternalStore",L(),rZ(),J0(Z,X,Y)},useId:function(){return i="useId",L(),rZ(),N0()},useFormState:function(Z,X){return i="useFormState",L(),rZ(),eH(Z,X)},useActionState:function(Z,X){return i="useActionState",L(),rZ(),eH(Z,X)},useOptimistic:function(Z){return i="useOptimistic",L(),rZ(),z0(Z)},useMemoCache:function(Z){return L(),kz(Z)},useHostTransitionStatus:yz,useCacheRefresh:function(){return i="useCacheRefresh",rZ(),I0()},useEffectEvent:function(Z){return i="useEffectEvent",L(),rZ(),W0(Z)}},MJ={readContext:function(Z){return O(),kX(Z)},use:function(Z){return L(),MG(Z)},useCallback:function(Z,X){return i="useCallback",L(),YZ(),oB(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(),rB(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=a.H;a.H=MJ;try{return tB(Z,X)}finally{a.H=Y}},useReducer:function(Z,X,Y){i="useReducer",L(),YZ();var J=a.H;a.H=MJ;try{return tH(Z,X,Y)}finally{a.H=J}},useRef:function(){return i="useRef",L(),YZ(),MX().memoizedState},useState:function(){i="useState",L(),YZ();var Z=a.H;a.H=MJ;try{return tH(KJ)}finally{a.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(),MX().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(),kz(Z)},useHostTransitionStatus:yz,useCacheRefresh:function(){return i="useCacheRefresh",YZ(),MX().memoizedState},useEffectEvent:function(Z){return i="useEffectEvent",L(),YZ(),aB(Z)}},XA={readContext:function(Z){return O(),kX(Z)},use:function(Z){return L(),MG(Z)},useCallback:function(Z,X){return i="useCallback",L(),YZ(),oB(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(),rB(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=a.H;a.H=MJ;try{return tB(Z,X)}finally{a.H=Y}},useReducer:function(Z,X,Y){i="useReducer",L(),YZ();var J=a.H;a.H=MJ;try{return JU(Z,X,Y)}finally{a.H=J}},useRef:function(){return i="useRef",L(),YZ(),MX().memoizedState},useState:function(){i="useState",L(),YZ();var Z=a.H;a.H=MJ;try{return JU(KJ)}finally{a.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(),MX().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(),kz(Z)},useHostTransitionStatus:yz,useCacheRefresh:function(){return i="useCacheRefresh",YZ(),MX().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 F9={enqueueSetState:function(Z,X,Y){Z=Z._reactInternals;var J=jQ(Z),G=LG(J);G.payload=X,Y!==void 0&&Y!==null&&(w0(Y),G.callback=Y),X=AG(Z,G,J),X!==null&&(hJ(J,"this.setState()",Z),gX(X,Z,J),ZU(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&&(w0(Y),G.callback=Y),X=AG(Z,G,J),X!==null&&(hJ(J,"this.replaceState()",Z),gX(X,Z,J),ZU(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&&(w0(X),J.callback=X),X=AG(Z,J,Y),X!==null&&(hJ(Y,"this.forceUpdate()",Z),gX(X,Z,Y),ZU(X,Z,Y))}},h_=null,M9=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,rI=typeof WeakSet==="function"?WeakSet:Set,OY=null,g_=null,m_=null,YY=null,qQ=!1,NJ=null,_Y=!1,ZK=8192,NE={getCacheForType:function(Z){var X=kX(oX),Y=X.data.get(Z);return Y===void 0&&(Y=Z(),X.data.set(Z,Y)),Y},cacheSignal:function(){return kX(oX).controller.signal},getOwner:function(){return DQ}};if(typeof Symbol==="function"&&Symbol.for){var XK=Symbol.for;XK("selector.component"),XK("selector.has_pseudo_class"),XK("selector.role"),XK("selector.test_id"),XK("selector.text")}var IE=[],TE=typeof WeakMap==="function"?WeakMap:Map,FY=0,WY=2,xQ=4,cq=0,YK=1,rz=2,QA=3,bG=4,JA=6,oI=5,HX=FY,RX=null,aZ=null,sZ=0,GQ=0,qA=1,oz=2,QK=3,tI=4,w9=5,JK=6,GA=7,V9=8,tz=9,NX=GQ,yQ=null,gG=!1,f_=!1,R9=!1,Gq=0,bX=cq,mG=0,fG=0,j9=0,zQ=0,ez=0,qK=null,rY=null,zA=!1,HA=0,eI=0,ZT=300,_A=1/0,XT=500,GK=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,zT=null,HT=null,TJ=WA,_T=null,wE=50,zK=0,E9=null,k9=!1,KA=!1,VE=50,ZH=0,HK=null,d_=!1,BA=null,WT=!1,UT=new Set,RE={},LA=null,c_=null,x9=!1,y9=!1,AA=!1,v9=!1,pG=0,h9={};(function(){for(var Z=0;Z<nM.length;Z++){var X=nM[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(ZE,"onTransitionRun"),UJ(XE,"onTransitionStart"),UJ(YE,"onTransitionCancel"),UJ(p7,"onTransitionEnd")})(),MQ("onMouseEnter",["mouseout","mouseover"]),MQ("onMouseLeave",["mouseout","mouseover"]),MQ("onPointerEnter",["pointerout","pointerover"]),MQ("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 _K="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(_K)),OA="_reactListening"+Math.random().toString(36).slice(2),KT=!1,BT=!1,FA=!1,LT=!1,MA=!1,NA=!1,AT=!1,IA={},jE=/\r\n?/g,CE=/\u0000|\uFFFD/g,XH="http://www.w3.org/1999/xlink",g9="http://www.w3.org/XML/1998/namespace",PE="javascript:throw new Error('React form unexpectedly submitted.')",DE="suppressHydrationWarning",YH="&",TA="/&",WK="$",UK="/$",lG="$?",QH="$~",p_="$!",$E="html",SE="body",EE="head",m9="F!",OT="F",FT="loading",kE="style",pq=0,l_=1,wA=2,f9=null,u9=null,MT={dialog:!0,webview:!0},d9=null,KK=void 0,NT=typeof setTimeout==="function"?setTimeout:void 0,xE=typeof clearTimeout==="function"?clearTimeout:void 0,JH=-1,IT=typeof Promise==="function"?Promise:void 0,yE=typeof queueMicrotask==="function"?queueMicrotask:typeof IT<"u"?function(Z){return IT.resolve(null).then(Z).catch(M$)}:NT,c9=null,qH=0,BK=1,TT=2,wT=3,ZJ=4,XJ=new Map,VT=new Set,lq=FX.d;FX.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 z=G;switch(X){case"style":z=z_(Z);break;case"script":z=H_(Z)}XJ.has(z)||(Z=oZ({rel:"preload",href:X==="image"&&Y&&Y.imageSrcSet?void 0:Z,as:X},Y),XJ.set(z,Z),J.querySelector(G)!==null||X==="style"&&J.querySelector(NU(z))||X==="script"&&J.querySelector(IU(z))||(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)+'"]',z=G;switch(J){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":z=H_(Z)}if(!XJ.has(z)&&(Z=oZ({rel:"modulepreload",href:Z},X),XJ.set(z,Z),Y.querySelector(G)===null)){switch(J){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Y.querySelector(IU(z)))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=H_(Z),z=J.get(G);z||(z=Y.querySelector(IU(G)),z||(Z=oZ({src:Z,async:!0},X),(X=XJ.get(G))&&KM(Z,X),z=Y.createElement("script"),EZ(z),jY(z,"link",Z),Y.head.appendChild(z)),z={type:"script",instance:z,count:1,state:null},J.set(G,z))}},S:function(Z,X,Y){lq.S(Z,X,Y);var J=i_;if(J&&Z){var G=UX(J).hoistableStyles,z=z_(Z);X=X||"default";var U=G.get(z);if(!U){var B={loading:qH,preload:null};if(U=J.querySelector(NU(z)))B.loading=BK|ZJ;else{Z=oZ({rel:"stylesheet",href:Z,"data-precedence":X},Y),(Y=XJ.get(z))&&UM(Z,Y);var M=U=J.createElement("link");EZ(M),jY(M,"link",Z),M._p=new Promise(function(T,y){M.onload=T,M.onerror=y}),M.addEventListener("load",function(){B.loading|=BK}),M.addEventListener("error",function(){B.loading|=TT}),B.loading|=ZJ,FL(U,X,J)}U={type:"stylesheet",instance:U,count:1,state:B},G.set(z,U)}}},M:function(Z,X){lq.M(Z,X);var Y=i_;if(Y&&Z){var J=UX(Y).hoistableScripts,G=H_(Z),z=J.get(G);z||(z=Y.querySelector(IU(G)),z||(Z=oZ({src:Z,async:!0,type:"module"},X),(X=XJ.get(G))&&KM(Z,X),z=Y.createElement("script"),EZ(z),jY(z,"link",Z),Y.head.appendChild(z)),z={type:"script",instance:z,count:1,state:null},J.set(G,z))}}};var i_=typeof document>"u"?null:document,VA=null,vE=60000,hE=800,bE=500,p9=0,l9=null,RA=null,GH=t$,LK={$$typeof:rJ,Provider:null,Consumer:null,_currentValue:GH,_currentValue2:GH,_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=" ",gE=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=oZ({},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=oZ({},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=H(X.memoizedState,Y,J),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=oZ({},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=H(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=pH(),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,AK=new Map,OK=new Map,aG=[],mE="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=MM.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()."):x(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);BM(J,G,Y,X,null,null)},wL.prototype.unmount=MM.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;(HX&(WY|xQ))!==FY&&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."),BM(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"),FX.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:a,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=h,Z.scheduleRoot=j,Z.setRefreshHandler=g,Z.getCurrentFiber=p$,cH(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")}Ik.createRoot=function(Z,X){if(!x(Z))throw Error("Target container is not a DOM element.");oN(Z);var Y=!1,J="",G=s1,z=a1,U=r1;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&&(z=X.onCaughtError),X.onRecoverableError!==void 0&&(U=X.onRecoverableError)),X=fN(Z,1,!1,null,null,Y,J,null,G,z,U,rN),Z[jG]=X.current,e0(Z),new MM(X)},Ik.hydrateRoot=function(Z,X,Y){if(!x(Z))throw Error("Target container is not a DOM element.");oN(Z),X===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var J=!1,G="",z=s1,U=a1,B=r1,M=null;return Y!==null&&Y!==void 0&&(Y.unstable_strictMode===!0&&(J=!0),Y.identifierPrefix!==void 0&&(G=Y.identifierPrefix),Y.onUncaughtError!==void 0&&(z=Y.onUncaughtError),Y.onCaughtError!==void 0&&(U=Y.onCaughtError),Y.onRecoverableError!==void 0&&(B=Y.onRecoverableError),Y.formState!==void 0&&(M=Y.formState)),X=fN(Z,1,!0,X,Y!=null?Y:null,J,G,M,z,U,B,rN),X.context=uN(null),Y=X.current,J=jQ(Y),J=wz(J),G=LG(J),G.callback=null,AG(Y,G,J),hJ(J,"hydrateRoot()",null),Y=J,X.current.lanes=Y,zG(X,Y),nJ(X),Z[jG]=X.current,e0(Z),new wL(X)},Ik.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((Ym,X2)=>{var Tk=f(Z2());X2.exports=Tk});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 H=!1,_=Q.map((W)=>{let K=Q2(W,q);if(!H&&typeof K=="function")H=!0;return K});if(H)return()=>{for(let W=0;W<_.length;W++){let K=_[W];if(typeof K=="function")K();else Q2(Q[W],null)}}}}var wk;var q2=P(()=>{wk=f(XZ(),1)});function Rk(Q){return typeof Q==="object"&&Q!==null&&"then"in Q}function G2(Q){return Q!=null&&typeof Q==="object"&&"$$typeof"in Q&&Q.$$typeof===Vk&&"_payload"in Q&&Rk(Q._payload)}function jk(Q){let q=Ck(Q),H=JY.forwardRef((_,W)=>{let{children:K,...A}=_;if(G2(K)&&typeof fA==="function")K=fA(K._payload);let L=JY.Children.toArray(K),O=L.find(Dk);if(O){let I=O.props.children,N=L.map((F)=>{if(F===O){if(JY.Children.count(I)>1)return JY.Children.only(null);return JY.isValidElement(I)?I.props.children:null}else return F});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 H.displayName=`${Q}.Slot`,H}function Ck(Q){let q=JY.forwardRef((H,_)=>{let{children:W,...K}=H;if(G2(W)&&typeof fA==="function")W=fA(W._payload);if(JY.isValidElement(W)){let A=Sk(W),L=$k(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 Dk(Q){return JY.isValidElement(Q)&&typeof Q.type==="function"&&"__radixId"in Q.type&&Q.type.__radixId===Pk}function $k(Q,q){let H={...q};for(let _ in q){let W=Q[_],K=q[_];if(/^on[A-Z]/.test(_)){if(W&&K)H[_]=(...L)=>{let O=K(...L);return W(...L),O};else if(W)H[_]=W}else if(_==="style")H[_]={...W,...K};else if(_==="className")H[_]=[W,K].filter(Boolean).join(" ")}return{...Q,...H}}function Sk(Q){let q=Object.getOwnPropertyDescriptor(Q.props,"ref")?.get,H=q&&"isReactWarning"in q&&q.isReactWarning;if(H)return Q.ref;if(q=Object.getOwnPropertyDescriptor(Q,"ref")?.get,H=q&&"isReactWarning"in q&&q.isReactWarning,H)return Q.props.ref;return Q.props.ref||Q.ref}var JY,mA,Vk,fA,z2,Pk;var H2=P(()=>{q2();JY=f(XZ(),1),mA=f(s_(),1),Vk=Symbol.for("react.lazy"),fA=JY[" use ".trim().toString()];z2=jk("Slot");Pk=Symbol("radix.slottable")});function _2(Q){var q,H,_="";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]&&(H=_2(Q[q]))&&(_&&(_+=" "),_+=H)}else for(H in Q)Q[H]&&(_&&(_+=" "),_+=H);return _}function VK(){for(var Q,q,H=0,_="",W=arguments.length;H<W;H++)(Q=arguments[H])&&(q=_2(Q))&&(_&&(_+=" "),_+=q);return _}var W2;var uA=P(()=>{W2=VK});var U2=(Q)=>typeof Q==="boolean"?`${Q}`:Q===0?"0":Q,K2,B2=(Q,q)=>(H)=>{var _;if((q===null||q===void 0?void 0:q.variants)==null)return K2(Q,H===null||H===void 0?void 0:H.class,H===null||H===void 0?void 0:H.className);let{variants:W,defaultVariants:K}=q,A=Object.keys(W).map((I)=>{let N=H===null||H===void 0?void 0:H[I],F=K===null||K===void 0?void 0:K[I];if(N===null)return null;let R=U2(N)||U2(F);return W[I][R]}),L=H&&Object.entries(H).reduce((I,N)=>{let[F,R]=N;if(R===void 0)return I;return I[F]=R,I},{}),O=q===null||q===void 0?void 0:(_=q.compoundVariants)===null||_===void 0?void 0:_.reduce((I,N)=>{let{class:F,className:R,...j}=N;return Object.entries(j).every((h)=>{let[g,x]=h;return Array.isArray(x)?x.includes({...K,...L}[g]):{...K,...L}[g]===x})?[...I,F,R]:I},[]);return K2(Q,A,O,H===null||H===void 0?void 0:H.class,H===null||H===void 0?void 0:H.className)};var L2=P(()=>{uA();K2=VK});var Ek=(Q,q)=>{let H=Array(Q.length+q.length);for(let _=0;_<Q.length;_++)H[_]=Q[_];for(let _=0;_<q.length;_++)H[Q.length+_]=q[_];return H},kk=(Q,q)=>({classGroupId:Q,validator:q}),w2=(Q=new Map,q=null,H)=>({nextPart:Q,validators:q,classGroupId:H}),A2,xk=(Q)=>{let q=vk(Q),{conflictingClassGroups:H,conflictingClassGroupModifiers:_}=Q;return{getClassGroupId:(A)=>{if(A.startsWith("[")&&A.endsWith("]"))return yk(A);let L=A.split("-"),O=L[0]===""&&L.length>1?1:0;return V2(L,O,q)},getConflictingClassGroupIds:(A,L)=>{if(L){let O=_[A],I=H[A];if(O){if(I)return Ek(I,O);return O}return I||A2}return H[A]||A2}}},V2=(Q,q,H)=>{if(Q.length-q===0)return H.classGroupId;let W=Q[q],K=H.nextPart.get(W);if(K){let I=V2(Q,q+1,K);if(I)return I}let A=H.validators;if(A===null)return;let L=q===0?Q.join("-"):Q.slice(q).join("-"),O=A.length;for(let I=0;I<O;I++){let N=A[I];if(N.validator(L))return N.classGroupId}return},yk=(Q)=>Q.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let q=Q.slice(1,-1),H=q.indexOf(":"),_=q.slice(0,H);return _?"arbitrary.."+_:void 0})(),vk=(Q)=>{let{theme:q,classGroups:H}=Q;return hk(H,q)},hk=(Q,q)=>{let H=w2();for(let _ in Q){let W=Q[_];U3(W,H,_,q)}return H},U3=(Q,q,H,_)=>{let W=Q.length;for(let K=0;K<W;K++){let A=Q[K];bk(A,q,H,_)}},bk=(Q,q,H,_)=>{if(typeof Q==="string"){gk(Q,q,H);return}if(typeof Q==="function"){mk(Q,q,H,_);return}fk(Q,q,H,_)},gk=(Q,q,H)=>{let _=Q===""?q:R2(q,Q);_.classGroupId=H},mk=(Q,q,H,_)=>{if(uk(Q)){U3(Q(_),q,H,_);return}if(q.validators===null)q.validators=[];q.validators.push(kk(H,Q))},fk=(Q,q,H,_)=>{let W=Object.entries(Q),K=W.length;for(let A=0;A<K;A++){let[L,O]=W[A];U3(O,R2(q,L),H,_)}},R2=(Q,q)=>{let H=Q,_=q.split("-"),W=_.length;for(let K=0;K<W;K++){let A=_[K],L=H.nextPart.get(A);if(!L)L=w2(),H.nextPart.set(A,L);H=L}return H},uk=(Q)=>("isThemeGetter"in Q)&&Q.isThemeGetter===!0,dk=(Q)=>{if(Q<1)return{get:()=>{return},set:()=>{}};let q=0,H=Object.create(null),_=Object.create(null),W=(K,A)=>{if(H[K]=A,q++,q>Q)q=0,_=H,H=Object.create(null)};return{get(K){let A=H[K];if(A!==void 0)return A;if((A=_[K])!==void 0)return W(K,A),A},set(K,A){if(K in H)H[K]=A;else W(K,A)}}},ck,O2=(Q,q,H,_,W)=>({modifiers:Q,hasImportantModifier:q,baseClassName:H,maybePostfixModifierPosition:_,isExternal:W}),pk=(Q)=>{let{prefix:q,experimentalParseClassName:H}=Q,_=(W)=>{let K=[],A=0,L=0,O=0,I,N=W.length;for(let g=0;g<N;g++){let x=W[g];if(A===0&&L===0){if(x===":"){K.push(W.slice(O,g)),O=g+1;continue}if(x==="/"){I=g;continue}}if(x==="[")A++;else if(x==="]")A--;else if(x==="(")L++;else if(x===")")L--}let F=K.length===0?W:W.slice(O),R=F,j=!1;if(F.endsWith("!"))R=F.slice(0,-1),j=!0;else if(F.startsWith("!"))R=F.slice(1),j=!0;let h=I&&I>O?I-O:void 0;return O2(K,j,R,h)};if(q){let W=q+":",K=_;_=(A)=>A.startsWith(W)?K(A.slice(W.length)):O2(ck,!1,A,void 0,!0)}if(H){let W=_;_=(K)=>H({className:K,parseClassName:W})}return _},lk=(Q)=>{let q=new Map;return Q.orderSensitiveModifiers.forEach((H,_)=>{q.set(H,1e6+_)}),(H)=>{let _=[],W=[];for(let K=0;K<H.length;K++){let A=H[K],L=A[0]==="[",O=q.has(A);if(L||O){if(W.length>0)W.sort(),_.push(...W),W=[];_.push(A)}else W.push(A)}if(W.length>0)W.sort(),_.push(...W);return _}},ik=(Q)=>({cache:dk(Q.cacheSize),parseClassName:pk(Q),sortModifiers:lk(Q),postfixLookupClassGroupIds:nk(Q),...xk(Q)}),nk=(Q)=>{let q=Object.create(null),H=Q.postfixLookupClassGroups;if(H)for(let _=0;_<H.length;_++)q[H[_]]=!0;return q},sk,ak=(Q,q)=>{let{parseClassName:H,getClassGroupId:_,getConflictingClassGroupIds:W,sortModifiers:K,postfixLookupClassGroupIds:A}=q,L=[],O=Q.trim().split(sk),I="";for(let N=O.length-1;N>=0;N-=1){let F=O[N],{isExternal:R,modifiers:j,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:x}=H(F);if(R){I=F+(I.length>0?" "+I:I);continue}let n=!!x,r;if(n){let GZ=g.substring(0,x);r=_(GZ);let l=r&&A[r]?_(g):void 0;if(l&&l!==r)r=l,n=!1}else r=_(g);if(!r){if(!n){I=F+(I.length>0?" "+I:I);continue}if(r=_(g),!r){I=F+(I.length>0?" "+I:I);continue}n=!1}let JZ=j.length===0?"":j.length===1?j[0]:K(j).join(":"),ZZ=h?JZ+"!":JZ,UZ=ZZ+r;if(L.indexOf(UZ)>-1)continue;L.push(UZ);let xZ=W(r,n);for(let GZ=0;GZ<xZ.length;++GZ){let l=xZ[GZ];L.push(ZZ+l)}I=F+(I.length>0?" "+I:I)}return I},rk=(...Q)=>{let q=0,H,_,W="";while(q<Q.length)if(H=Q[q++]){if(_=j2(H))W&&(W+=" "),W+=_}return W},j2=(Q)=>{if(typeof Q==="string")return Q;let q,H="";for(let _=0;_<Q.length;_++)if(Q[_]){if(q=j2(Q[_]))H&&(H+=" "),H+=q}return H},F2=(Q,...q)=>{let H,_,W,K,A=(O)=>{let I=q.reduce((N,F)=>F(N),Q());return H=ik(I),_=H.cache.get,W=H.cache.set,K=L,L(O)},L=(O)=>{let I=_(O);if(I)return I;let N=ak(O,H);return W(O,N),N};return K=A,(...O)=>K(rk(...O))},ok,UY=(Q)=>{let q=(H)=>H[Q]||ok;return q.isThemeGetter=!0,q},C2,P2,tk,ek,Zx,Xx,Yx,Qx,tG=(Q)=>tk.test(Q),ZX=(Q)=>!!Q&&!Number.isNaN(Number(Q)),Hq=(Q)=>!!Q&&Number.isInteger(Number(Q)),_3=(Q)=>Q.endsWith("%")&&ZX(Q.slice(0,-1)),aq=(Q)=>ek.test(Q),D2=()=>!0,Jx=(Q)=>Zx.test(Q)&&!Xx.test(Q),K3=()=>!1,qx=(Q)=>Yx.test(Q),Gx=(Q)=>Qx.test(Q),zx=(Q)=>!MZ(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)),_x=(Q)=>eG(Q,E2,K3),MZ=(Q)=>C2.test(Q),WH=(Q)=>eG(Q,k2,Jx),M2=(Q)=>eG(Q,Fx,ZX),Wx=(Q)=>eG(Q,y2,D2),Ux=(Q)=>eG(Q,x2,K3),N2=(Q)=>eG(Q,$2,K3),Kx=(Q)=>eG(Q,S2,Gx),dA=(Q)=>eG(Q,v2,qx),TZ=(Q)=>P2.test(Q),RK=(Q)=>UH(Q,k2),Bx=(Q)=>UH(Q,x2),I2=(Q)=>UH(Q,$2),Lx=(Q)=>UH(Q,E2),Ax=(Q)=>UH(Q,S2),cA=(Q)=>UH(Q,v2,!0),Ox=(Q)=>UH(Q,y2,!0),eG=(Q,q,H)=>{let _=C2.exec(Q);if(_){if(_[1])return q(_[1]);return H(_[2])}return!1},UH=(Q,q,H=!1)=>{let _=P2.exec(Q);if(_){if(_[1])return q(_[1]);return H}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",Fx=(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"),H=UY("text"),_=UY("font-weight"),W=UY("tracking"),K=UY("leading"),A=UY("breakpoint"),L=UY("container"),O=UY("spacing"),I=UY("radius"),N=UY("shadow"),F=UY("inset-shadow"),R=UY("text-shadow"),j=UY("drop-shadow"),h=UY("blur"),g=UY("perspective"),x=UY("aspect"),n=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,MZ],xZ=()=>["auto","hidden","clip","visible","scroll"],GZ=()=>["auto","contain","none"],l=()=>[TZ,MZ,O],FZ=()=>[tG,"full","auto",...l()],s=()=>[Hq,"none","subgrid",TZ,MZ],wZ=()=>["auto",{span:["full",Hq,TZ,MZ]},Hq,TZ,MZ],KZ=()=>[Hq,"auto",TZ,MZ],HZ=()=>["auto","min","max","fr",TZ,MZ],b=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],u=()=>["start","end","center","stretch","center-safe","end-safe"],E=()=>["auto",...l()],m=()=>[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,MZ],o=()=>[...ZZ(),I2,N2,{position:[TZ,MZ]}],OZ=()=>["no-repeat",{repeat:["","x","y","space","round"]}],VZ=()=>["auto","cover","contain",Lx,_x,{size:[TZ,MZ]}],vZ=()=>[_3,RK,WH],JX=()=>["","none","full",I,TZ,MZ],IZ=()=>["",ZX,RK,WH],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",h,TZ,MZ],BZ=()=>["none",ZX,TZ,MZ],OQ=()=>["none",ZX,TZ,MZ],FQ=()=>[ZX,TZ,MZ],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:[zx],"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,MZ,TZ,x]}],container:["container"],"container-type":[{"@container":["","normal","size",TZ,MZ]}],"container-named":[Hx],columns:[{columns:[ZX,MZ,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:GZ()}],"overscroll-x":[{"overscroll-x":GZ()}],"overscroll-y":[{"overscroll-y":GZ()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:FZ()}],"inset-x":[{"inset-x":FZ()}],"inset-y":[{"inset-y":FZ()}],start:[{"inset-s":FZ(),start:FZ()}],end:[{"inset-e":FZ(),end:FZ()}],"inset-bs":[{"inset-bs":FZ()}],"inset-be":[{"inset-be":FZ()}],top:[{top:FZ()}],right:[{right:FZ()}],bottom:[{bottom:FZ()}],left:[{left:FZ()}],visibility:["visible","invisible","collapse"],z:[{z:[Hq,"auto",TZ,MZ]}],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",MZ]}],grow:[{grow:["",ZX,TZ,MZ]}],shrink:[{shrink:["",ZX,TZ,MZ]}],order:[{order:[Hq,"first","last","none",TZ,MZ]}],"grid-cols":[{"grid-cols":s()}],"col-start-end":[{col:wZ()}],"col-start":[{"col-start":KZ()}],"col-end":[{"col-end":KZ()}],"grid-rows":[{"grid-rows":s()}],"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":HZ()}],"auto-rows":[{"auto-rows":HZ()}],gap:[{gap:l()}],"gap-x":[{"gap-x":l()}],"gap-y":[{"gap-y":l()}],"justify-content":[{justify:[...b(),"normal"]}],"justify-items":[{"justify-items":[...u(),"normal"]}],"justify-self":[{"justify-self":["auto",...u()]}],"align-content":[{content:["normal",...b()]}],"align-items":[{items:[...u(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...u(),{baseline:["","last"]}]}],"place-content":[{"place-content":b()}],"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:m()}],"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",...m()]}],"min-w":[{"min-w":[L,"screen","none",...m()]}],"max-w":[{"max-w":[L,"screen","none","prose",{screen:[A]},...m()]}],h:[{h:["screen","lh",...m()]}],"min-h":[{"min-h":["screen","lh","none",...m()]}],"max-h":[{"max-h":["screen","lh",...m()]}],"font-size":[{text:["base",H,RK,WH]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[_,Ox,Wx]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",_3,MZ]}],"font-family":[{font:[Bx,Ux,q]}],"font-features":[{"font-features":[MZ]}],"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,MZ]}],"line-clamp":[{"line-clamp":[ZX,"none",TZ,M2]}],leading:[{leading:[K,...l()]}],"list-image":[{"list-image":["none",TZ,MZ]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",TZ,MZ]}],"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,WH]}],"text-decoration-color":[{decoration:w()}],"underline-offset":[{"underline-offset":[ZX,"auto",TZ,MZ]}],"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:[Hq,TZ,MZ]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",TZ,MZ]}],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,MZ]}],"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"]},Hq,TZ,MZ],radial:["",TZ,MZ],conic:[Hq,TZ,MZ]},Ax,Kx]}],"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,MZ]}],"outline-w":[{outline:["",ZX,RK,WH]}],"outline-color":[{outline:w()}],shadow:[{shadow:["","none",N,cA,dA]}],"shadow-color":[{shadow:w()}],"inset-shadow":[{"inset-shadow":["none",F,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,WH]}],"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,MZ]}],"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,MZ]}],"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,MZ]}],filter:[{filter:["","none",TZ,MZ]}],blur:[{blur:Nq()}],brightness:[{brightness:[ZX,TZ,MZ]}],contrast:[{contrast:[ZX,TZ,MZ]}],"drop-shadow":[{"drop-shadow":["","none",j,cA,dA]}],"drop-shadow-color":[{"drop-shadow":w()}],grayscale:[{grayscale:["",ZX,TZ,MZ]}],"hue-rotate":[{"hue-rotate":[ZX,TZ,MZ]}],invert:[{invert:["",ZX,TZ,MZ]}],saturate:[{saturate:[ZX,TZ,MZ]}],sepia:[{sepia:["",ZX,TZ,MZ]}],"backdrop-filter":[{"backdrop-filter":["","none",TZ,MZ]}],"backdrop-blur":[{"backdrop-blur":Nq()}],"backdrop-brightness":[{"backdrop-brightness":[ZX,TZ,MZ]}],"backdrop-contrast":[{"backdrop-contrast":[ZX,TZ,MZ]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ZX,TZ,MZ]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ZX,TZ,MZ]}],"backdrop-invert":[{"backdrop-invert":["",ZX,TZ,MZ]}],"backdrop-opacity":[{"backdrop-opacity":[ZX,TZ,MZ]}],"backdrop-saturate":[{"backdrop-saturate":[ZX,TZ,MZ]}],"backdrop-sepia":[{"backdrop-sepia":["",ZX,TZ,MZ]}],"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,MZ]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ZX,"initial",TZ,MZ]}],ease:[{ease:["linear","initial",n,TZ,MZ]}],delay:[{delay:[ZX,TZ,MZ]}],animate:[{animate:["none",r,TZ,MZ]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,TZ,MZ]}],"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:FQ()}],"skew-x":[{"skew-x":FQ()}],"skew-y":[{"skew-y":FQ()}],transform:[{transform:[TZ,MZ,"","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:[Hq,TZ,MZ]}],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,MZ]}],"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,MZ]}],fill:[{fill:["none",...w()]}],"stroke-w":[{stroke:[ZX,RK,WH,M2]}],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:H,experimentalParseClassName:_,extend:W={},override:K={}})=>{return e_(Q,"cacheSize",q),e_(Q,"prefix",H),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,H)=>{if(H!==void 0)Q[q]=H},pA=(Q,q)=>{if(q)for(let H in q)e_(Q,H,q[H])},lA=(Q,q)=>{if(q)for(let H in q)W3(Q,q,H)},W3=(Q,q,H)=>{let _=q[H];if(_!==void 0)Q[H]=Q[H]?Q[H].concat(_):_},h2=(Q,...q)=>typeof Q==="function"?F2(T2,Q,...q):F2(()=>Mx(T2(),Q),...q);var b2=P(()=>{A2=[],ck=[],sk=/\s+/,ok=[],C2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,P2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,tk=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ek=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zx=/\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$/,Xx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Yx=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qx=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/});var rq,Nx,Ix=(Q)=>{if(typeof Q==="boolean")return Q?"":void 0;if(Q===void 0||Q===null)return;return String(Q)},Tx=(Q)=>{let q=JSON.stringify(Q),H=rq.useRef({signature:q,value:Q});if(H.current.signature!==q)H.current={signature:q,value:Q};return H.current.value},mZ=(Q,q)=>{let H=B2(q?.baseClass,{variants:q?.variants,defaultVariants:q?.defaultVariants,compoundVariants:q?.compoundVariants}),_=q?.passVariantProps?new Set(q.passVariantProps):void 0,W=rq.forwardRef((K,A)=>{let{children:L,...O}=K,I=O.className;delete O.className;let N={};for(let n in q?.variants)if(N[n]=O[n],n in O&&!_?.has(n))delete O[n];let F=Tx(N),R={};if(q?.variantsAsDataAttrs&&q.variants)for(let n of q.variantsAsDataAttrs){let r=n.toString(),JZ=K[r]??q.defaultVariants?.[n];R[`data-${r}`]=Ix(JZ)}let j=O.style,h=rq.useMemo(()=>q?.style?{...q.style,...j}:j,[j]),g=rq.useMemo(()=>Nx(VK(H(F),I)),[F,I]),x=Q;if(K.asChild&&typeof Q==="string")x=z2,delete O.asChild;return rq.createElement(x,{ref:A,className:g,...q.defaultProps,...R,...O,style:h},L)});return W.displayName=q?.displayName??"uic",W};var NY=P(()=>{H2();L2();uA();b2();rq=f(XZ(),1),Nx=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 H of Q)if(typeof H==="function")H(...q)}}var ZW=()=>{};var g2,dZ;var $Y=P(()=>{g2=f(XZ(),1),dZ=typeof document<"u"?g2.default.useLayoutEffect:()=>{}});function Rx(Q=!1){let q=IY.useContext(m2),H=IY.useRef(null);if(H.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(_)}H.current=++q.current}return H.current}function jx(Q){let q=IY.useContext(m2);if(q===iA&&!Vx)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 H=Rx(!!Q),_=`react-aria${q.prefix}`;return Q||`${_}-${H}`}function Cx(Q){let q=IY.default.useId(),[H]=IY.useState(oY()),_=H?"react-aria":`react-aria${iA.prefix}`;return Q||`${_}-${q}`}function Px(){return!1}function Dx(){return!0}function $x(Q){return()=>{}}function oY(){if(typeof IY.default.useSyncExternalStore==="function")return IY.default.useSyncExternalStore($x,Px,Dx);return IY.useContext(wx)}var IY,iA,m2,wx,Vx,B3,f2;var Zz=P(()=>{IY=f(XZ(),1),iA={prefix:String(Math.round(Math.random()*10000000000)),current:0},m2=IY.default.createContext(iA),wx=IY.default.createContext(!1),Vx=Boolean(typeof window<"u"&&window.document&&window.document.createElement),B3=new WeakMap;f2=typeof IY.default.useId==="function"?Cx:jx});function u2(Q){let[q,H]=Xz.useState(Q),_=Xz.useRef(q),W=Xz.useRef(null),K=Xz.useRef(()=>{if(!W.current)return;let L=W.current.next();if(L.done){W.current=null;return}if(_.current===L.value)K.current();else H(L.value)});dZ(()=>{if(_.current=q,W.current)K.current()});let A=Xz.useCallback((L)=>{W.current=L(_.current),K.current()},[K]);return[q,A]}var Xz;var d2=P(()=>{$Y();Xz=f(XZ(),1)});function aX(Q){let[q,H]=oq.useState(Q),_=oq.useRef(null),W=f2(q),K=oq.useRef(null);if(jK)jK.register(K,W);if(Sx){let A=XW.get(W);if(A&&!A.includes(_))A.push(_);else XW.set(W,[_])}return dZ(()=>{let A=W;return()=>{if(jK)jK.unregister(K);XW.delete(A)}},[W]),oq.useEffect(()=>{let A=_.current;if(A)H(A);return()=>{if(A)_.current=null}}),W}function c2(Q,q){if(Q===q)return Q;let H=XW.get(Q);if(H)return H.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(),[H,_]=u2(q),W=oq.useCallback(()=>{_(function*(){yield q,yield document.getElementById(q)?q:void 0})},[q,_]);return dZ(W,[q,W,...Q]),H}var oq,Sx,XW,jK;var JJ=P(()=>{$Y();Zz();d2();oq=f(XZ(),1),Sx=Boolean(typeof window<"u"&&window.document&&window.document.createElement),XW=new Map;if(typeof FinalizationRegistry<"u")jK=new FinalizationRegistry((Q)=>{XW.delete(Q)})});function Wq(...Q){if(Q.length===1&&Q[0])return Q[0];return(q)=>{let H=!1,_=Q.map((W)=>{let K=p2(W,q);return H||=typeof K=="function",K});if(H)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 PZ(...Q){let q={...Q[0]};for(let H=1;H<Q.length;H++){let _=Q[H];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=KH.useRef(null),H=KH.useRef(void 0),_=KH.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 KH.useMemo(()=>({get current(){return q.current},set current(W){if(q.current=W,H.current)H.current(),H.current=void 0;if(W!=null)H.current=_(W)}}),[_])}var KH;var i2=P(()=>{KH=f(XZ(),1)});var YW=P(()=>{i2()});function hQ({values:Q,children:q}){for(let[H,_]of Q)q=TY.default.createElement(H.Provider,{value:_},q);return q}function yX(Q){let{className:q,style:H,children:_,defaultClassName:W,defaultChildren:K,defaultStyle:A,values:L,render:O}=Q;return TY.useMemo(()=>{let I,N,F;if(typeof q==="function")I=q({...L,defaultClassName:W});else I=q;if(typeof H==="function")N=H({...L,defaultStyle:A||{}});else N=H;if(typeof _==="function")F=_({...L,defaultChildren:K});else if(_==null)F=K;else F=_;return{className:I??W,style:N||A?{...A,...N}:void 0,children:F??K,"data-rac":"",render:O?(R)=>O(R,L):void 0}},[q,H,_,W,K,A,L,O])}function LH(Q,q){let H=TY.useContext(Q);if(q===null)return null;if(H&&typeof H==="object"&&"slots"in H&&H.slots){let _=q||BH;if(!H.slots[_]){let W=new Intl.ListFormat().format(Object.keys(H.slots).map((A)=>`"${A}"`)),K=q?`Invalid slot "${q}".`:"A slot prop is required.";throw Error(`${K} Valid slot names are ${W}.`)}return H.slots[_]}return H}function fX(Q,q,H){let _=LH(H,Q.slot)||{},{ref:W,...K}=_,A=_Q(TY.useMemo(()=>Wq(q,W),[q,W])),L=PZ(K,Q);if("style"in K&&K.style&&"style"in Q&&Q.style)if(typeof K.style==="function"||typeof Q.style==="function")L.style=(O)=>{let I=typeof K.style==="function"?K.style(O):K.style,N={...O.defaultStyle,...I},F=typeof Q.style==="function"?Q.style({...O,defaultStyle:N}):Q.style;return{...N,...F}};else L.style={...K.style,...Q.style};return[L,A]}function sA(Q=!0){let[q,H]=TY.useState(Q),_=TY.useRef(!1),W=TY.useCallback((K)=>{_.current=!0,H(!!K)},[]);return dZ(()=>{if(!_.current)H(!1)},[]),[W,q]}function s2(Q){let q=/^(data-.*)$/,H={};for(let _ in Q)if(!q.test(_))H[_]=Q[_];return H}function Ex(Q,q,H){let{render:_,...W}=q,K=TY.useRef(null),A=TY.useMemo(()=>Wq(H,K),[H,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,BH,n2,AX;var WQ=P(()=>{RJ();nA();l2();YW();TY=f(XZ(),1),BH=Symbol("default");n2={},AX=new Proxy({},{get(Q,q){if(typeof q!=="string")return;let H=n2[q];if(!H)H=TY.forwardRef(Ex.bind(null,q)),n2[q]=H;return H}})});function jJ(Q){let q=(H,_)=>{if(AH.useContext(kx))return null;return Q(H,_)};return q.displayName=Q.displayName||Q.name,AH.forwardRef(q)}var AH,kx;var a2=P(()=>{AH=f(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)}});kx=AH.createContext(!1)});var QW=P(()=>{a2()});var aA,rA,OH;var A3=P(()=>{WQ();QW();aA=f(XZ(),1),rA=aA.createContext({}),OH=jJ(function(q,H){[q,H]=fX(q,H,rA);let{elementType:_="label",...W}=q,K=AX[_];return aA.default.createElement(K,{className:"react-aria-Label",...W,ref:H})})});function zX(Q,q={}){let{labelable:H,isLink:_,global:W,events:K=W,propNames:A}=q,L={};for(let O in Q)if(Object.prototype.hasOwnProperty.call(Q,O)&&(xx.has(O)||H&&yx.has(O)||_&&vx.has(O)||W&&hx.has(O)||K&&(r2.has(O)||O.endsWith("Capture")&&r2.has(O.slice(0,-7)))||A?.has(O)||bx.test(O)))L[O]=Q[O];return L}var xx,yx,vx,hx,r2,bx;var Yz=P(()=>{xx=new Set(["id"]),yx=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),vx=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),hx=new Set(["dir","lang","hidden","inert","translate"]),r2=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"]),bx=/^(data-.*)$/});function Qz(Q,q){let{id:H,"aria-label":_,"aria-labelledby":W}=Q;if(H=aX(H),W&&_)W=[...new Set([H,...W.trim().split(/\s+/)])].join(" ");else if(W)W=W.trim().split(/\s+/).join(" ");if(!_&&!W&&q)_=q;return{id:H,"aria-label":_,"aria-labelledby":W}}var CK=P(()=>{JJ()});function o2(Q){let{id:q,label:H,"aria-labelledby":_,"aria-label":W,labelElementType:K="label"}=Q;q=aX(q);let A=aX(),L={};if(H)_=_?`${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 O=Qz({id:q,"aria-label":W,"aria-labelledby":_});return{labelProps:L,fieldProps:O}}var t2=P(()=>{JJ();CK()});function e2(Q){if(Intl.Locale){let H=new Intl.Locale(Q).maximize(),_=typeof H.getTextInfo==="function"?H.getTextInfo():H.textInfo;if(_)return _.direction==="rtl";if(H.script)return gx.has(H.script)}let q=Q.split("-")[0];return mx.has(q)}var gx,mx;var Zw=P(()=>{gx=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),mx=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 PK)Q(O3)}function Jw(){let Q=oY(),[q,H]=oA.useState(O3);if(oA.useEffect(()=>{if(PK.size===0)window.addEventListener("languagechange",Xw);return PK.add(H),()=>{if(PK.delete(H),PK.size===0)window.removeEventListener("languagechange",Xw)}},[]),Q)return{locale:typeof window<"u"&&window[Yw]||"en-US",direction:"ltr"};return q}var oA,Yw,O3,PK;var qw=P(()=>{Zw();Zz();oA=f(XZ(),1),Yw=Symbol.for("react-aria.i18n.locale");O3=Qw(),PK=new Set});function JW(){let Q=Jw();return tA.useContext(fx)||Q}var tA,fx;var eA=P(()=>{qw();tA=f(XZ(),1),fx=tA.default.createContext(null)});var Uq=P(()=>{Yz()});var ZO,Gw;var zw=P(()=>{ZO=f(XZ(),1),Gw=ZO.createContext(null)});function XO(Q,q="assertive",H=7000){if(!qW)if(qW=new Hw,!(typeof IS_REACT_ACT_ENVIRONMENT==="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u"))setTimeout(()=>{if(qW?.isAttached())qW?.announce(Q,q,H)},100);else qW.announce(Q,q,H);else qW.announce(Q,q,H)}class Hw{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",H=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()},H)}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(ux())Q.focus({preventScroll:!0});else{let q=dx(Q);Q.focus(),cx(q)}}function ux(){if(YO==null){YO=!1;try{document.createElement("div").focus({get preventScroll(){return YO=!0,!0}})}catch{}}return YO}function dx(Q){let q=Q.parentNode,H=[],_=document.scrollingElement||document.documentElement;while(q instanceof HTMLElement&&q!==_){if(q.offsetHeight<q.scrollHeight||q.offsetWidth<q.scrollWidth)H.push({element:q,scrollTop:q.scrollTop,scrollLeft:q.scrollLeft});q=q.parentNode}if(_ instanceof HTMLElement)H.push({element:_,scrollTop:_.scrollTop,scrollLeft:_.scrollLeft});return H}function cx(Q){for(let{element:q,scrollTop:H,scrollLeft:_}of Q)q.scrollTop=H,q.scrollLeft=_}var YO=null;var FH=()=>{};function px(Q){return Q!==null&&typeof Q==="object"&&"nodeType"in Q&&typeof Q.nodeType==="number"}function Uw(Q){return px(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 lx}var lx=!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 H=q;while(H!==null){if(H===Q)return!0;if(H.tagName==="SLOT"&&H.assignedSlot)H=H.assignedSlot.parentNode;else if(Uw(H))H=H.host;else H=H.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 F3(Q){if(!Q)return!1;let q=Q.getRootNode(),H=uX(Q);if(!(q instanceof H.Document||q instanceof H.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 nx(Q){let q=uX(Q);if(!(Q instanceof q.HTMLElement)&&!(Q instanceof q.SVGElement))return!1;let{display:H,visibility:_}=Q.style,W=H!=="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 sx(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(ix)return Q.checkVisibility({visibilityProperty:!0})&&!Q.closest("[data-react-aria-prevent-focus]");return Q.nodeName!=="#comment"&&nx(Q)&&sx(Q,q)&&(!Q.parentElement||JO(Q.parentElement,Q))}var ix;var Bw=P(()=>{EY();ix=typeof Element<"u"&&"checkVisibility"in Element.prototype});function qO(Q,q){return Q.matches(ax)&&!Lw(Q)&&(q?.skipVisibilityCheck||JO(Q))}function GO(Q){return Q.matches(rx)&&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 M3,ax,rx;var zO=P(()=>{Bw();M3=["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"],ax=M3.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";M3.push('[tabindex]:not([tabindex="-1"]):not([disabled])');rx=M3.join(':not([hidden]):not([tabindex="-1"]),')});function $K(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=HO.useRef({isFocused:!1,observer:null});return dZ(()=>{let H=q.current;return()=>{if(H.observer)H.observer.disconnect(),H.observer=null}},[]),HO.useCallback((H)=>{let _=LZ(H);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=$K(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),H=q.document.activeElement;if(!H||H===Q)return;DK=!0;let _=!1,W=(N)=>{if(LZ(N)===H||_)N.stopImmediatePropagation()},K=(N)=>{if(LZ(N)===H||_){if(N.stopImmediatePropagation(),!Q&&!_)_=!0,tY(H),O()}},A=(N)=>{if(LZ(N)===Q||_)N.stopImmediatePropagation()},L=(N)=>{if(LZ(N)===Q||_){if(N.stopImmediatePropagation(),!_)_=!0,tY(H),O()}};q.addEventListener("blur",W,!0),q.addEventListener("focusout",K,!0),q.addEventListener("focusin",L,!0),q.addEventListener("focus",A,!0);let O=()=>{cancelAnimationFrame(I),q.removeEventListener("blur",W,!0),q.removeEventListener("focusout",K,!0),q.removeEventListener("focusin",L,!0),q.removeEventListener("focus",A,!0),DK=!1,_=!1},I=requestAnimationFrame(O);return O}var HO,DK=!1;var SK=P(()=>{FH();dX();EY();zO();$Y();HO=f(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((H)=>Q.test(H.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,Fw,T3,EK,Mw;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()}),Fw=tq(function(){return UO(/AppleWebKit/i)&&!T3()}),T3=tq(function(){return UO(/Chrome/i)}),EK=tq(function(){return UO(/Android/i)}),Mw=tq(function(){return UO(/Firefox/i)})});function KO(Q){if(Q.pointerType===""&&Q.isTrusted)return!0;if(EK()&&Q.pointerType)return Q.type==="click"&&Q.buttons===1;return Q.detail===0&&!Q.pointerType}function Nw(Q){return!EK()&&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 MH(){return GW.useContext(tx)}function ex(Q,q){let H=Q.getAttribute("target");return(!H||H==="_self")&&Q.origin===location.origin&&!Q.hasAttribute("download")&&!q.metaKey&&!q.ctrlKey&&!q.altKey&&!q.shiftKey}function GJ(Q,q,H=!0){let{metaKey:_,ctrlKey:W,altKey:K,shiftKey:A}=q;if(Mw()&&window.event?.type?.startsWith("key")&&Q.target==="_blank")if(CJ())_=!0;else W=!0;let L=Fw()&&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=H,tY(Q),Q.dispatchEvent(L),GJ.isOpening=!1}function Zy(Q,q){if(Q instanceof HTMLAnchorElement)q(Q);else if(Q.hasAttribute("data-href")){let H=document.createElement("a");if(H.href=Q.getAttribute("data-href"),Q.hasAttribute("data-target"))H.target=Q.getAttribute("data-target");if(Q.hasAttribute("data-rel"))H.rel=Q.getAttribute("data-rel");if(Q.hasAttribute("data-download"))H.download=Q.getAttribute("data-download");if(Q.hasAttribute("data-ping"))H.ping=Q.getAttribute("data-ping");if(Q.hasAttribute("data-referrer-policy"))H.referrerPolicy=Q.getAttribute("data-referrer-policy");Q.appendChild(H),q(H),Q.removeChild(H)}}function Xy(Q,q){Zy(Q,(H)=>GJ(H,q))}function zW(Q){let H=MH().useHref(Q?.href??""),_={};if(Q){for(let W of["href","target","rel","download","ping","referrerPolicy"])if(W in Q)_[W]=W==="href"?H:Q[W]}return _}function Iw(Q,q,H,_){if(!q.isNative&&Q.currentTarget instanceof HTMLAnchorElement&&Q.currentTarget.href&&!Q.isDefaultPrevented()&&ex(Q.currentTarget,Q)&&H)Q.preventDefault(),q.open(Q.currentTarget,Q,H,_)}var GW,tx;var Jz=P(()=>{FH();qJ();GW=f(XZ(),1),tx=GW.createContext({isNative:!0,open:Xy,useHref:(Q)=>Q});GJ.isOpening=!1});function LO(Q,q){for(let H of V3)H(Q,q)}function Qy(Q){return!(Q.metaKey||!CJ()&&Q.altKey||Q.ctrlKey||Q.key==="Control"||Q.key==="Shift"||Q.key==="Meta")}function BO(Q){if(NH=!0,!GJ.isOpening&&Qy(Q))IH="keyboard",xK="keyboard",LO("keyboard",Q)}function HW(Q){if(IH="pointer",xK="pointerType"in Q?Q.pointerType:"mouse",Q.type==="mousedown"||Q.type==="pointerdown")NH=!0,LO("pointer",Q)}function Tw(Q){if(!GJ.isOpening&&KO(Q))NH=!0,IH="virtual",xK="virtual"}function ww(Q){let q=uX(LZ(Q)),H=cZ(LZ(Q));if(LZ(Q)===q||LZ(Q)===H||DK||!Q.isTrusted)return;if(!NH&&!R3)IH="virtual",xK="virtual",LO("virtual",Q);NH=!1,R3=!1}function Vw(){if(DK)return;NH=!1,R3=!0}function j3(Q){if(typeof window>"u"||typeof document>"u")return;let q=uX(Q),H=cZ(Q);if(kK.get(q))return;let _=q.HTMLElement.prototype.focus;if(q.HTMLElement.prototype.focus=function(){NH=!0,_.apply(this,arguments)},H.addEventListener("keydown",BO,!0),H.addEventListener("keyup",BO,!0),H.addEventListener("click",Tw,!0),q.addEventListener("focus",ww,!0),q.addEventListener("blur",Vw,!1),typeof PointerEvent<"u")H.addEventListener("pointerdown",HW,!0),H.addEventListener("pointermove",HW,!0),H.addEventListener("pointerup",HW,!0);q.addEventListener("beforeunload",()=>{Rw(Q)},{once:!0}),kK.set(q,{focus:_})}function Jy(Q){let q=cZ(Q),H;if(q.readyState!=="loading")j3(Q);else H=()=>{j3(Q)},q.addEventListener("DOMContentLoaded",H);return()=>Rw(Q,H)}function Kq(){return IH!=="pointer"}function TH(){return IH}function yK(Q){IH=Q,xK=Q==="pointer"?"mouse":Q,LO(Q,null)}function Gy(Q,q,H){let _=H?LZ(H):void 0,W=cZ(_),K=uX(_),A=typeof K<"u"?K.HTMLInputElement:HTMLInputElement,L=typeof K<"u"?K.HTMLTextAreaElement:HTMLTextAreaElement,O=typeof K<"u"?K.HTMLElement:HTMLElement,I=typeof K<"u"?K.KeyboardEvent:KeyboardEvent,N=BX(W);return Q=Q||N instanceof A&&!qy.has(N.type)||N instanceof L||N instanceof O&&N.isContentEditable,!(Q&&q==="keyboard"&&H instanceof I&&!Yy[H.key])}function jw(Q,q,H){j3(),C3.useEffect(()=>{if(H?.enabled===!1)return;let _=(W,K)=>{if(!Gy(!!H?.isTextInput,W,K))return;Q(Kq())};return V3.add(_),()=>{V3.delete(_)}},q)}var C3,IH=null,xK="keyboard",V3,kK,NH=!1,R3=!1,Yy,Rw=(Q,q)=>{let H=uX(Q),_=cZ(Q);if(q)_.removeEventListener("DOMContentLoaded",q);if(!kK.has(H))return;if(H.HTMLElement.prototype.focus=kK.get(H).focus,_.removeEventListener("keydown",BO,!0),_.removeEventListener("keyup",BO,!0),_.removeEventListener("click",Tw,!0),H.removeEventListener("focus",ww,!0),H.removeEventListener("blur",Vw,!1),typeof PointerEvent<"u")_.removeEventListener("pointerdown",HW,!0),_.removeEventListener("pointermove",HW,!0),_.removeEventListener("pointerup",HW,!0);kK.delete(H)},qy;var qz=P(()=>{dX();EY();SK();qJ();w3();Jz();C3=f(XZ(),1),V3=new Set,kK=new Map,Yy={Tab:!0,Escape:!0};if(typeof document<"u")Jy();qy=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=Gz.get(W);if(!K)K=new Set,Gz.set(W,K),W.addEventListener("transitioncancel",H,{once:!0});K.add(_.propertyName)},H=(_)=>{let W=LZ(_);if(!Q(_)||!W)return;let K=Gz.get(W);if(!K)return;if(K.delete(_.propertyName),K.size===0)W.removeEventListener("transitioncancel",H),Gz.delete(W);if(Gz.size===0){for(let A of P3)A();P3.clear()}};document.body.addEventListener("transitionrun",q),document.body.addEventListener("transitionend",H)}function zy(){for(let[Q]of Gz)if("isConnected"in Q&&!Q.isConnected)Gz.delete(Q)}function AO(Q){requestAnimationFrame(()=>{if(zy(),Gz.size===0)Q();else P3.add(Q)})}var Gz,P3;var D3=P(()=>{dX();Gz=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(TH()==="virtual"){let H=BX(q);AO(()=>{let _=BX(q);if((_===H||_===q.body)&&Q.isConnected)tY(Q)})}else tY(Q)}var vK=P(()=>{FH();dX();qz();EY();D3()});function wH(Q){let{isDisabled:q,onFocus:H,onBlur:_,onFocusChange:W}=Q,K=$3.useCallback((O)=>{if(LZ(O)===O.currentTarget){if(_)_(O);if(W)W(!1);return!0}},[_,W]),A=WO(K),L=$3.useCallback((O)=>{let I=LZ(O),N=cZ(I),F=N?BX(N):BX();if(I===O.currentTarget&&I===F){if(H)H(O);if(W)W(!0);A(O)}},[W,H,A]);return{focusProps:{onFocus:!q&&(H||W||_)?L:void 0,onBlur:!q&&(_||W)?K:void 0}}}var $3;var OO=P(()=>{dX();EY();SK();$3=f(XZ(),1)});function S3(Q){if(!Q)return;let q=!0;return(H)=>{let _={...H,preventDefault(){H.preventDefault()},isDefaultPrevented(){return H.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)H.stopPropagation()}}var Pw=()=>{};function VH(Q){return{keyboardProps:Q.isDisabled?{}:{onKeyDown:S3(Q.onKeyDown),onKeyUp:S3(Q.onKeyUp)}}}var FO=P(()=>{Pw()});function MO(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)||{};MO(q,Q);let{ref:H,..._}=q;return _}function zz(Q,q){let{focusProps:H}=wH(Q),{keyboardProps:_}=VH(Q),W=PZ(H,_),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 O=Q.excludeFromTabOrder?-1:0;if(Q.isDisabled)O=void 0;return{focusableProps:PZ({...W,tabIndex:O},A)}}var ZG,NO;var _W=P(()=>{vK();SY();OO();FO();E3();ZG=f(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),H="userSelect"in Q.style?"userSelect":"webkitUserSelect";if(Q.style[H]==="none")Q.style[H]=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 H=q.querySelector('meta[property="csp-nonce"]'),_=H&&H instanceof uX(H).HTMLMetaElement&&(H.nonce||H.content)||Sw(q)||void 0;if(_!==void 0)y3.set(q,_);return _}var y3;var v3=P(()=>{EY();y3=new WeakMap});var Ew,hK;var h3=P(()=>{Ew=f(XZ(),1),hK=Ew.default.createContext({register:()=>{}});hK.displayName="PressResponderContext"});function kY(Q){let q=UW.useRef(null);return _y(()=>{q.current=Q},[Q]),UW.useCallback((...H)=>{let _=q.current;return _?.(...H)},[])}var UW,_y;var RH=P(()=>{$Y();UW=f(XZ(),1),_y=UW.default.useInsertionEffect??dZ});function _z(){let Q=Hz.useRef(new Map),q=Hz.useCallback((W,K,A,L)=>{let O=L?.once?(...I)=>{Q.current.delete(A),A(...I)}:A;Q.current.set(A,{type:K,eventTarget:W,fn:O,options:L}),W.addEventListener(K,O,L)},[]),H=Hz.useCallback((W,K,A,L)=>{let O=Q.current.get(A)?.fn||A;W.removeEventListener(K,O,L),Q.current.delete(A)},[]),_=Hz.useCallback(()=>{Q.current.forEach((W,K)=>{H(W.eventTarget,W.type,K,W.options)})},[H]);return Hz.useEffect(()=>{return _},[_]),{addGlobalListener:q,removeGlobalListener:H,removeAllGlobalListeners:_}}var Hz;var bK=P(()=>{Hz=f(XZ(),1)});function Uy(Q){let q=qY.useContext(hK);if(q){let{register:H,ref:_,...W}=q;Q=PZ(W,Q),H()}return MO(q,Q.ref),Q}class gK{#Z;constructor(Q,q,H,_){this.#Z=!0;let K=(_?.target??H.currentTarget)?.getBoundingClientRect(),A,L=0,O,I=null;if(H.clientX!=null&&H.clientY!=null)O=H.clientX,I=H.clientY;if(K)if(O!=null&&I!=null)A=O-K.left,L=I-K.top;else A=K.width/2,L=K.height/2;this.type=Q,this.pointerType=q,this.target=H.currentTarget,this.shiftKey=H.shiftKey,this.metaKey=H.metaKey,this.ctrlKey=H.ctrlKey,this.altKey=H.altKey,this.x=A,this.y=L,this.key=H.key}continuePropagation(){this.#Z=!1}get shouldStopPropagation(){return this.#Z}}function Wz(Q){let{onPress:q,onPressChange:H,onPressStart:_,onPressEnd:W,onPressUp:K,onClick:A,isDisabled:L,isPressed:O,preventFocusOnPress:I,shouldCancelOnPointerExit:N,allowTextSelectionOnPress:F,ref:R,...j}=Uy(Q),[h,g]=qY.useState(!1),x=qY.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:n,removeAllGlobalListeners:r}=_z(),JZ=qY.useCallback((b,u)=>{let E=x.current;if(L||E.didFirePressStart)return!1;let m=!0;if(E.isTriggeringEvent=!0,_){let e=new gK("pressstart",u,b);_(e),m=e.shouldStopPropagation}if(H)H(!0);return E.isTriggeringEvent=!1,E.didFirePressStart=!0,g(!0),m},[L,_,H]),ZZ=qY.useCallback((b,u,E=!0)=>{let m=x.current;if(!m.didFirePressStart)return!1;m.didFirePressStart=!1,m.isTriggeringEvent=!0;let e=!0;if(W){let p=new gK("pressend",u,b);W(p),e=p.shouldStopPropagation}if(H)H(!1);if(g(!1),q&&E&&!L){let p=new gK("press",u,b);q(p),e&&=p.shouldStopPropagation}return m.isTriggeringEvent=!1,e},[L,W,H,q]),UZ=kY(ZZ),xZ=qY.useCallback((b,u)=>{let E=x.current;if(L)return!1;if(K){E.isTriggeringEvent=!0;let m=new gK("pressup",u,b);return K(m),E.isTriggeringEvent=!1,m.shouldStopPropagation}return!0},[L,K]),GZ=kY(xZ),l=qY.useCallback((b)=>{let u=x.current;if(u.isPressed&&u.target){if(u.didFirePressStart&&u.pointerType!=null)ZZ(jH(u.target,b),u.pointerType,!1);if(u.isPressed=!1,u.isOverTarget=!1,u.activePointerId=null,u.pointerType=null,r(),!F)x3(u.target);for(let E of u.disposables)E();u.disposables=[]}},[F,r,ZZ]),FZ=kY(l);qY.useEffect(()=>{if(L&&x.current.isPressed)FZ({currentTarget:x.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[L]);let s=qY.useCallback((b)=>{if(N)l(b)},[N,l]),wZ=qY.useCallback((b)=>{if(L)return;A?.(b)},[L,A]),KZ=qY.useCallback((b,u)=>{if(L)return;if(A){let E=new MouseEvent("click",b);_O(E,u),A($K(E))}},[L,A]),HZ=qY.useMemo(()=>{let b=x.current,u={onKeyDown(m){if(b3(m.nativeEvent,m.currentTarget)&&XX(m.currentTarget,LZ(m))){if(vw(LZ(m),m.key))m.preventDefault();let e=!0;if(!b.isPressed&&!m.repeat)b.target=m.currentTarget,b.isPressed=!0,b.pointerType="keyboard",e=JZ(m,"keyboard");let p=m.currentTarget,w=(o)=>{if(b3(o,p)&&!o.repeat&&XX(p,LZ(o))&&b.target)GZ(jH(b.target,o),"keyboard")};if(n(cZ(m.currentTarget),"keyup",VJ(w,E),!0),e)m.stopPropagation();if(m.metaKey&&CJ())b.metaKeyEvents?.set(m.key,m.nativeEvent)}else if(m.key==="Meta")b.metaKeyEvents=new Map},onClick(m){if(m&&!XX(m.currentTarget,LZ(m)))return;if(m&&m.button===0&&!b.isTriggeringEvent&&!GJ.isOpening){let e=!0;if(L)m.preventDefault();if(!b.ignoreEmulatedMouseEvents&&!b.isPressed&&(b.pointerType==="virtual"||KO(m.nativeEvent))){let p=JZ(m,"virtual"),w=GZ(m,"virtual"),o=UZ(m,"virtual");wZ(m),e=p&&w&&o}else if(b.isPressed&&b.pointerType!=="keyboard"){let p=b.pointerType||m.nativeEvent.pointerType||"virtual",w=GZ(jH(m.currentTarget,m),p),o=UZ(jH(m.currentTarget,m),p,!0);e=w&&o,b.isOverTarget=!1,wZ(m),FZ(m)}if(b.ignoreEmulatedMouseEvents=!1,e)m.stopPropagation()}}},E=(m)=>{if(b.isPressed&&b.target&&b3(m,b.target)){if(vw(LZ(m),m.key))m.preventDefault();let e=LZ(m),p=XX(b.target,e);if(UZ(jH(b.target,m),"keyboard",p),p)KZ(m,b.target);if(r(),m.key!=="Enter"&&g3(b.target)&&XX(b.target,e)&&!m[kw])m[kw]=!0,GJ(b.target,m,!1);b.isPressed=!1,b.metaKeyEvents?.delete(m.key)}else if(m.key==="Meta"&&b.metaKeyEvents?.size){let e=b.metaKeyEvents;b.metaKeyEvents=void 0;for(let p of e.values())b.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)){b.pointerType="virtual";return}b.pointerType=p.pointerType;let w=!0;if(!b.isPressed){if(b.isPressed=!0,b.isOverTarget=!0,b.activePointerId=p.pointerId,b.target=p.currentTarget,!F)Dw(b.target);w=JZ(p,b.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);n(cZ(p.currentTarget),"pointerup",m,!1),n(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)b.disposables.push(w)}p.stopPropagation()}},u.onPointerUp=(p)=>{if(!XX(p.currentTarget,LZ(p))||b.pointerType==="virtual")return;if(p.button===0&&!b.isPressed)GZ(p,b.pointerType||p.pointerType)},u.onPointerEnter=(p)=>{if(p.pointerId===b.activePointerId&&b.target&&!b.isOverTarget&&b.pointerType!=null)b.isOverTarget=!0,JZ(jH(b.target,p),b.pointerType)},u.onPointerLeave=(p)=>{if(p.pointerId===b.activePointerId&&b.target&&b.isOverTarget&&b.pointerType!=null)b.isOverTarget=!1,UZ(jH(b.target,p),b.pointerType,!1),s(p)};let m=(p)=>{if(p.pointerId===b.activePointerId&&b.isPressed&&p.button===0&&b.target){if(XX(b.target,LZ(p))&&b.pointerType!=null){let w=!1,o=setTimeout(()=>{if(b.isPressed&&b.target instanceof HTMLElement)if(w)FZ(p);else tY(b.target),b.target.click()},80);n(p.currentTarget,"click",()=>w=!0,!0),b.disposables.push(()=>clearTimeout(o))}else FZ(p);b.isOverTarget=!1}},e=(p)=>{FZ(p)};u.onDragStart=(p)=>{if(!XX(p.currentTarget,LZ(p)))return;FZ(p)}}return u},[n,L,I,r,F,s,JZ,wZ,KZ]);return qY.useEffect(()=>{if(!R)return;let b=cZ(R.current);if(!b||!b.head||b.getElementById(xw))return;let u=b.createElement("style");u.id=xw;let E=TO(b);if(E)u.nonce=E;u.textContent=`
|
|
236
|
+
@layer {
|
|
237
|
+
[${yw}] {
|
|
238
|
+
touch-action: pan-x pan-y pinch-zoom;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
`.trim(),b.head.prepend(u)},[R]),qY.useEffect(()=>{let b=x.current;return()=>{if(!F)x3(b.target??void 0);for(let u of b.disposables)u();b.disposables=[]}},[F]),{isPressed:O||h,pressProps:PZ(j,HZ,{[yw]:!0})}}function g3(Q){return Q.tagName==="A"&&Q.hasAttribute("href")}function b3(Q,q){let{key:H,code:_}=Q,W=q,K=W.getAttribute("role");return(H==="Enter"||H===" "||H==="Spacebar"||_==="Space")&&!(W instanceof uX(W).HTMLInputElement&&!hw(W,H)||W instanceof uX(W).HTMLTextAreaElement||W.isContentEditable)&&!((K==="link"||!K&&g3(W))&&H!=="Enter")}function jH(Q,q){let{clientX:H,clientY:_}=q;return{currentTarget:Q,shiftKey:q.shiftKey,ctrlKey:q.ctrlKey,metaKey:q.metaKey,altKey:q.altKey,clientX:H,clientY:_,key:q.key}}function Ky(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 Ky(Q)}function hw(Q,q){return Q.type==="checkbox"||Q.type==="radio"?q===" ":By.has(Q.type)}var Wy,qY,kw,xw="react-aria-pressable-style",yw="data-react-aria-pressable",By;var mK=P(()=>{ZW();SK();$w();FH();dX();v3();EY();qJ();w3();SY();Jz();h3();RH();bK();E3();Wy=f(sq(),1),qY=f(XZ(),1);kw=Symbol("linkClicked");By=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function m3(Q,q){let{elementType:H="button",isDisabled:_,onPress:W,onPressStart:K,onPressEnd:A,onPressUp:L,onPressChange:O,preventFocusOnPress:I,allowFocusWhenDisabled:N,onClick:F,href:R,target:j,rel:h,type:g="button"}=Q,x;if(H==="button")x={type:g,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 x={role:"button",href:H==="a"&&!_?R:void 0,target:H==="a"?j:void 0,type:H==="input"?g:void 0,disabled:H==="input"?_:void 0,"aria-disabled":!_||H==="input"?void 0:_,rel:H==="a"?h:void 0};let{pressProps:n,isPressed:r}=Wz({onPressStart:K,onPressEnd:A,onPressChange:O,onPress:W,onPressUp:L,onClick:F,isDisabled:_,preventFocusOnPress:I,ref:q}),{focusableProps:JZ}=zz(Q,q);if(N)JZ.tabIndex=_?-1:JZ.tabIndex;let ZZ=PZ(JZ,n,zX(Q,{labelable:!0}));return{isPressed:r,buttonProps:PZ(x,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(()=>{Yz();SY();_W();mK()});var gw=P(()=>{bw()});function KW(Q){let{isDisabled:q,onBlurWithin:H,onFocusWithin:_,onFocusWithinChange:W}=Q,K=fK.useRef({isFocusWithin:!1}),{addGlobalListener:A,removeAllGlobalListeners:L}=_z(),O=fK.useCallback((F)=>{if(!XX(F.currentTarget,LZ(F)))return;if(K.current.isFocusWithin&&!XX(F.currentTarget,F.relatedTarget)){if(K.current.isFocusWithin=!1,L(),H)H(F);if(W)W(!1)}},[H,W,K,L]),I=WO(O),N=fK.useCallback((F)=>{if(!XX(F.currentTarget,LZ(F)))return;let R=LZ(F),j=cZ(R),h=BX(j);if(!K.current.isFocusWithin&&h===R){if(_)_(F);if(W)W(!0);K.current.isFocusWithin=!0,I(F);let g=F.currentTarget;A(j,"focus",(x)=>{let n=LZ(x);if(K.current.isFocusWithin&&!XX(g,n)){let r=new j.defaultView.FocusEvent("blur",{relatedTarget:n});_O(r,g);let JZ=$K(r);O(JZ)}},{capture:!0})}},[_,W,I,A,O]);if(q)return{focusWithinProps:{onFocus:void 0,onBlur:void 0}};return{focusWithinProps:{onFocus:N,onBlur:O}}}var fK;var wO=P(()=>{SK();dX();EY();bK();fK=f(XZ(),1)});function gQ(Q={}){let{autoFocus:q=!1,isTextInput:H,within:_}=Q,W=Uz.useRef({isFocused:!1,isFocusVisible:q||Kq()}),[K,A]=Uz.useState(!1),[L,O]=Uz.useState(()=>W.current.isFocused&&W.current.isFocusVisible),I=Uz.useCallback(()=>O(W.current.isFocused&&W.current.isFocusVisible),[]),N=Uz.useCallback((j)=>{W.current.isFocused=j,W.current.isFocusVisible=Kq(),A(j),I()},[I]);jw((j)=>{W.current.isFocusVisible=j,I()},[H,K],{enabled:K,isTextInput:H});let{focusProps:F}=wH({isDisabled:_,onFocusChange:N}),{focusWithinProps:R}=KW({isDisabled:!_,onFocusWithinChange:N});return{isFocused:K,isFocusVisible:L,focusProps:_?R:F}}var Uz;var mw=P(()=>{qz();OO();wO();Uz=f(XZ(),1)});var BW=P(()=>{mw()});function Ly(){f3=!0,setTimeout(()=>{f3=!1},500)}function fw(Q){if(Q.pointerType==="touch")Ly()}function Ay(){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:H,onHoverEnd:_,isDisabled:W}=Q,[K,A]=XG.useState(!1),L=XG.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;XG.useEffect(Ay,[]);let{addGlobalListener:O,removeAllGlobalListeners:I}=_z(),{hoverProps:N,triggerHoverEnd:F}=XG.useMemo(()=>{let R=(g,x)=>{if(L.pointerType=x,W||x==="touch"||L.isHovered||!XX(g.currentTarget,LZ(g)))return;L.isHovered=!0;let n=g.currentTarget;if(L.target=n,O(cZ(LZ(g)),"pointerover",(r)=>{if(L.isHovered&&L.target&&!XX(L.target,LZ(r)))j(r,r.pointerType)},{capture:!0}),q)q({type:"hoverstart",target:n,pointerType:x});if(H)H(!0);A(!0)},j=(g,x)=>{let n=L.target;if(L.pointerType="",L.target=null,x==="touch"||!L.isHovered||!n)return;if(L.isHovered=!1,I(),_)_({type:"hoverend",target:n,pointerType:x});if(H)H(!1);A(!1)},h={};if(typeof PointerEvent<"u")h.onPointerEnter=(g)=>{if(f3&&g.pointerType==="mouse")return;R(g,g.pointerType)},h.onPointerLeave=(g)=>{if(!W&&XX(g.currentTarget,LZ(g)))j(g,g.pointerType)};return{hoverProps:h,triggerHoverEnd:j}},[q,H,_,W,L,O,I]);return XG.useEffect(()=>{if(W)F({currentTarget:L.target},L.pointerType)},[W]),{hoverProps:N,isHovered:K}}var XG,f3=!1,VO=0;var RO=P(()=>{dX();EY();bK();XG=f(XZ(),1)});var CH=P(()=>{RO()});var u3=P(()=>{JJ()});function Fy(Q,q){if(q){for(let H in Q)if(H.startsWith("on")&&!Oy.test(H))Q[H]=void 0;Q.href=void 0,Q.target=void 0}return Q}var YG,uK,PH,Oy;var d3=P(()=>{WQ();zw();Ww();gw();QW();Uq();RJ();BW();CH();u3();YG=f(XZ(),1),uK=YG.createContext({}),PH=jJ(function(q,H){[q,H]=fX(q,H,uK);let _=q,{isPending:W}=_,{buttonProps:K,isPressed:A}=m3(q,H);K=Fy(K,W);let{focusProps:L,isFocused:O,isFocusVisible:I}=gQ(q),{hoverProps:N,isHovered:F}=xY({...q,isDisabled:q.isDisabled||W}),R={isHovered:F,isPressed:(_.isPressed||A)&&!W,isFocused:O,isFocusVisible:I,isDisabled:q.isDisabled||!1,isPending:W??!1},j=yX({...q,values:R,defaultClassName:"react-aria-Button"}),h=aX(K.id),g=aX(),x=K["aria-labelledby"];if(W){if(x)x=`${x} ${g}`;else if(K["aria-label"])x=`${h} ${g}`}let n=YG.useRef(W);YG.useEffect(()=>{let JZ={"aria-labelledby":x||h};if(!n.current&&O&&W)XO(JZ,"assertive");else if(n.current&&O&&!W)XO(JZ,"assertive");n.current=W},[W,O,x,h]);let r=zX(q,{global:!0});return delete r.onClick,YG.default.createElement(AX.button,{...PZ(r,j,K,L,N),type:K.type==="submit"&&W?"button":K.type,id:h,ref:H,"aria-labelledby":x,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":F||void 0,"data-focused":O||void 0,"data-pending":W||void 0,"data-focus-visible":I||void 0},YG.default.createElement(Gw.Provider,{value:{id:g}},j.children))}),Oy=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/});var LW,Kz,QG;var AW=P(()=>{WQ();LW=f(XZ(),1),Kz=LW.createContext({}),QG=LW.forwardRef(function(q,H){[q,H]=fX(q,H,Kz);let{elementType:_="span",...W}=q,K=AX[_];return LW.default.createElement(K,{className:"react-aria-Text",...W,ref:H})})});var DJ,dK,OW,My;var c3=P(()=>{WQ();AW();Uq();DJ=f(XZ(),1),dK=DJ.createContext(null),OW=DJ.forwardRef(function(q,H){if(!DJ.useContext(dK)?.isInvalid)return null;return DJ.default.createElement(My,{...q,ref:H})}),My=DJ.forwardRef((Q,q)=>{let H=DJ.useContext(dK),{elementType:_,...W}=Q,K=zX(W,{global:!0}),A=yX({...W,defaultClassName:"react-aria-FieldError",defaultChildren:H.validationErrors.length===0?void 0:H.validationErrors.join(" "),values:H});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:H,updateValidation:_,resetValidation:W,commitValidation:K}=Q[l3];return{realtimeValidation:q,displayValidation:H,updateValidation:_,resetValidation:W,commitValidation:K}}return Ny(Q)}function Ny(Q){let{isInvalid:q,validationState:H,name:_,value:W,builtinValidation:K,validate:A,validationBehavior:L="aria"}=Q;if(H)q||=H==="invalid";let O=q!==void 0?{isInvalid:q,validationErrors:[],validationDetails:dw}:null,I=wY.useMemo(()=>{if(!A||W==null)return null;let s=Iy(A,W);return uw(s)},[A,W]);if(K?.validationDetails.valid)K=void 0;let N=wY.useContext(cw),F=wY.useMemo(()=>{if(_)return Array.isArray(_)?_.flatMap((s)=>i3(N[s])):i3(N[_]);return[]},[N,_]),[R,j]=wY.useState(N),[h,g]=wY.useState(!1);if(N!==R)j(N),g(!1);let x=wY.useMemo(()=>uw(h?[]:F),[h,F]),n=wY.useRef(FW),[r,JZ]=wY.useState(FW),ZZ=wY.useRef(FW),UZ=()=>{if(!xZ)return;GZ(!1);let s=I||K||n.current;if(!p3(s,ZZ.current))ZZ.current=s,JZ(s)},[xZ,GZ]=wY.useState(!1);return wY.useEffect(UZ),{realtimeValidation:O||x||I||K||FW,displayValidation:L==="native"?O||x||r:O||x||I||K||r,updateValidation(s){if(L==="aria"&&!p3(r,s))JZ(s);else n.current=s},resetValidation(){let s=FW;if(!p3(s,ZZ.current))ZZ.current=s,JZ(s);if(L==="native")GZ(!1);g(!0)},commitValidation(){if(L==="native")GZ(!0);g(!0)}}}function i3(Q){if(!Q)return[];return Array.isArray(Q)?Q:[Q]}function Iy(Q,q){if(typeof Q==="function"){let H=Q(q);if(H&&typeof H!=="boolean")return i3(H)}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((H,_)=>H===q.validationErrors[_])&&Object.entries(Q.validationDetails).every(([H,_])=>q.validationDetails[H]===_)}var wY,n3,dw,FW,cw,l3="__reactAriaFormValidationState";var pw=P(()=>{wY=f(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},FW={isInvalid:!1,validationDetails:n3,validationErrors:[]},cw=wY.createContext({})});var lw=P(()=>{pw()});var jO,iw;var nw=P(()=>{jO=f(XZ(),1),iw=jO.createContext(null)});function sw(Q){let{description:q,errorMessage:H,isInvalid:_,validationState:W}=Q,{labelProps:K,fieldProps:A}=o2(Q),L=_q([Boolean(q),Boolean(H),_,W]),O=_q([Boolean(q),Boolean(H),_,W]);return A=PZ(A,{"aria-describedby":[L,O,Q["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:K,fieldProps:A,descriptionProps:{id:L},errorMessageProps:{id:O}}}var aw=P(()=>{t2();SY();JJ()});function ow(Q,q,H){let _=kY((W)=>{if(H&&!W.defaultPrevented)H(q)});rw.useEffect(()=>{let W=Q?.current?.form;return W?.addEventListener("reset",_),()=>{W?.removeEventListener("reset",_)}},[Q])}var rw;var tw=P(()=>{RH();rw=f(XZ(),1)});function ew(Q,q,H){let{validationBehavior:_,focus:W}=Q;dZ(()=>{if(_==="native"&&H?.current&&!H.current.disabled){let I=q.realtimeValidation.isInvalid?q.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";if(H.current.setCustomValidity(I),!H.current.hasAttribute("title"))H.current.title="";if(!q.realtimeValidation.isInvalid)q.updateValidation(wy(H.current))}});let K=CO.useRef(!1),A=kY(()=>{if(!K.current)q.resetValidation()}),L=kY((I)=>{if(!q.displayValidation.isInvalid)q.commitValidation();let N=H?.current?.form;if(!I.defaultPrevented&&H&&N&&Vy(N)===H.current){if(W)W();else H.current?.focus();yK("keyboard")}I.preventDefault()}),O=kY(()=>{q.commitValidation()});CO.useEffect(()=>{let I=H?.current;if(!I)return;let N=I.form,F=N?.reset;if(N)N.reset=()=>{K.current=!window.event||window.event.type==="message"&&LZ(window.event)instanceof MessagePort,F?.call(N),K.current=!1};return I.addEventListener("invalid",L),I.addEventListener("change",O),N?.addEventListener("reset",A),()=>{if(I.removeEventListener("invalid",L),I.removeEventListener("change",O),N?.removeEventListener("reset",A),N)N.reset=F}},[H,_])}function Ty(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 wy(Q){return{isInvalid:!Q.validity.valid,validationDetails:Ty(Q),validationErrors:Q.validationMessage?[Q.validationMessage]:[]}}function Vy(Q){for(let q=0;q<Q.elements.length;q++){let H=Q.elements[q];if(H.validity?.valid===!1)return H}return null}var CO;var ZV=P(()=>{dX();qz();RH();$Y();CO=f(XZ(),1)});function DH(Q,q,H){let[_,W]=UQ.useState(Q||q),K=UQ.useRef(_),A=UQ.useRef(Q!==void 0),L=Q!==void 0;UQ.useEffect(()=>{let F=A.current;if(F!==L)console.warn(`WARN: A component changed from ${F?"controlled":"uncontrolled"} to ${L?"controlled":"uncontrolled"}.`);A.current=L},[L]);let O=L?Q:_;Ry(()=>{K.current=O});let[,I]=UQ.useReducer(()=>({}),{}),N=UQ.useCallback((F,...R)=>{let j=typeof F==="function"?F(K.current):F;if(!Object.is(K.current,j))K.current=j,W(j),I(),H?.(j,...R)},[H]);return[O,N]}var UQ,Ry;var PO=P(()=>{UQ=f(XZ(),1),Ry=typeof document<"u"?UQ.default.useInsertionEffect??UQ.default.useLayoutEffect:()=>{}});function jy(Q={}){let{style:q,isFocusable:H}=Q,[_,W]=MW.useState(!1),{focusWithinProps:K}=KW({isDisabled:!H,onFocusWithinChange:(L)=>W(L)}),A=MW.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:H="div",isFocusable:_,style:W,...K}=Q,{visuallyHiddenProps:A}=jy(Q);return MW.default.createElement(H,PZ(K,A),q)}var MW,XV;var QV=P(()=>{SY();wO();MW=f(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=f(XZ(),1),JV=DO.createContext({})});var $O,SO,Cy=(Q)=>{let{onHoverStart:q,onHoverChange:H,onHoverEnd:_,...W}=Q;return W},EO;var a3=P(()=>{WQ();QW();RJ();BW();CH();$O=f(XZ(),1),SO=$O.createContext({}),EO=jJ(function(q,H){[q,H]=fX(q,H,SO);let{hoverProps:_,isHovered:W}=xY({...q,isDisabled:q.disabled}),{isFocused:K,isFocusVisible:A,focusProps:L}=gQ({isTextInput:!0,autoFocus:q.autoFocus}),O=!!q["aria-invalid"]&&q["aria-invalid"]!=="false",I=yX({...q,values:{isHovered:W,isFocused:K,isFocusVisible:A,isDisabled:q.disabled||!1,isInvalid:O},defaultClassName:"react-aria-Input"});return $O.default.createElement(AX.input,{...PZ(Cy(q),L,_),...I,ref:H,"data-focused":K||void 0,"data-disabled":q.disabled||void 0,"data-hovered":W||void 0,"data-focus-visible":A||void 0,"data-invalid":O||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,H){let _=this.clone();return q.addDescendants(_,Q),_}}function Py(Q,q,H,_){if(H==null)return[null,null];let W=null,K=null,A=Q.getItem(H);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 r3=P(()=>{kO=class kO extends mQ{filter(Q,q,H){let[_,W]=Py(Q,q,this.firstChildKey,H),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,H){if(H(this.textValue,this)){let _=this.clone();return q.addDescendants(_,Q),_}return null}};yO=class yO extends kO{static{this.type="section"}filter(Q,q,H){let _=super.filter(Q,q,H);if(_){if(_.lastChildKey!==null){let W=Q.getItem(_.lastChildKey);if(W&&W.type!=="header")return _}}return null}}});function cK(Q){let{children:q,items:H,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(H&&typeof q==="function"){let O=[];for(let I of H){let N=Dy(I)?I:null,F=N?L.get(N):null;if(!F){F=q(I);let R=F.props.id??I?.key??I?.id;if(_!=null&&F.props.id==null&&R!=null)R=_+":"+R;let j=R??O.length;if(F=IW.cloneElement(F,W?{key:j,id:R,value:I}:{key:j}),N)L.set(N,F)}O.push(F)}return O}else if(typeof q!=="function")return q},[q,H,L,_,W])}function Dy(Q){switch(typeof Q){case"object":return Q!=null;case"function":case"symbol":return!0;default:return!1}}var IW;var o3=P(()=>{IW=f(XZ(),1)});var t3=nq(($y)=>{var fQ=f(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 h=j();if(!N){var g=j();W(h,g)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),N=!0)}g=K({inst:{value:h,getSnapshot:j}});var x=g[0].inst,n=g[1];return L(function(){x.value=h,x.getSnapshot=j,H(x)&&n({inst:x})},[R,h,j]),A(function(){return H(x)&&n({inst:x}),R(function(){H(x)&&n({inst:x})})},[R]),O(h),h}function H(R){var j=R.getSnapshot;R=R.value;try{var h=j();return!W(R,h)}catch(g){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,O=fQ.useDebugValue,I=!1,N=!1,F=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_:q;$y.useSyncExternalStore=fQ.useSyncExternalStore!==void 0?fQ.useSyncExternalStore:F,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});function Ey(Q,q,H){let _=oY(),W=_X.useRef(_);W.current=_;let K=_X.useCallback(()=>{return W.current?H():q()},[q,H]);return _V.useSyncExternalStore(Q,K)}function ky(Q){return class extends mQ{static{this.type=Q}}}function xy(Q,q,H,_,W,K){if(typeof Q==="string")Q=ky(Q);let A=_X.useCallback((O)=>{O?.setProps(q,H,Q,_,K)},[q,H,_,K,Q]),L=_X.useContext(Z6);if(L){let O=L.ownerDocument.nodesByProps.get(q);if(!O)O=L.ownerDocument.createElement(Q.type),O.setProps(q,H,Q,_,K),L.appendChild(O),L.ownerDocument.updateCollection(),L.ownerDocument.nodesByProps.set(q,O);return W?_X.default.createElement(Z6.Provider,{value:O},W):null}return _X.default.createElement(Q.type,{ref:A},W)}function Bq(Q,q){let H=({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 xy(Q,W,K,"children"in W?W.children:null,null,(O)=>_X.default.createElement(NO.Provider,{value:A},_X.default.createElement(H,{node:O})))});return _.displayName=q.name,_}function yy(Q){return cK({...Q,addIdAndValue:!0})}function X6(Q){let q=_X.useContext(zV),H=(q?.dependencies||[]).concat(Q.dependencies),_=Q.idScope??q?.idScope,W=yy({...Q,idScope:_,dependencies:H});if(_X.useContext(e3))W=_X.default.createElement(vy,null,W);return q=_X.useMemo(()=>({dependencies:H,idScope:_}),[_,...H]),_X.default.createElement(zV.Provider,{value:q},W)}function vy({children:Q}){let q=_X.useContext(e3),H=_X.useMemo(()=>_X.default.createElement(e3.Provider,{value:null},_X.default.createElement(WV.Provider,{value:!0},Q)),[Q]);return oY()?_X.default.createElement(Z6.Provider,{value:q},H):HV.createPortal(H,q)}var HV,_X,_V,WV,e3,Mc,Z6,zV;var Y6=P(()=>{r3();o3();_W();Zz();HV=f(sq(),1),_X=f(XZ(),1),_V=f(t3(),1),WV=_X.createContext(!1),e3=_X.createContext(null);Mc=typeof _X.default.useSyncExternalStore==="function"?_X.default.useSyncExternalStore:Ey,Z6=_X.createContext(null);zV=_X.createContext(null)});var pK=P(()=>{Y6()});var KV=P(()=>{o3()});function BV(Q,q,H){return cK({items:q?Q.getChildren(q.key):Q,dependencies:[H],children(_){if(_.type==="content")return KQ.default.createElement(KQ.default.Fragment,null);let W=_.render(_);if(!H||_.type!=="item")return W;return KQ.default.createElement(KQ.default.Fragment,null,H({type:"item",key:_.key,dropPosition:"before"}),W,hy(Q,_,H))}})}function hy(Q,q,H){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 O=q;while(O?.type==="item"&&(!K||O.parentKey!==K.parentKey&&K.level<O.level)){let I=H({type:"item",key:O.key,dropPosition:"after"});if(KQ.isValidElement(I))L.push(KQ.cloneElement(I,{key:`${O.key}-after`}));O=O.parentKey!=null?Q.getItem(O.parentKey):null}}return L}function q6(Q){return KQ.useMemo(()=>Q!=null?new Set([Q]):null,[Q])}var KQ,J6,lK;var G6=P(()=>{KV();KQ=f(XZ(),1),J6={CollectionRoot({collection:Q,renderDropIndicator:q}){return BV(Q,null,q)},CollectionBranch({collection:Q,parent:q,renderDropIndicator:H}){return BV(Q,q,H)}};lK=KQ.createContext(J6)});var $H,LV;var AV=P(()=>{$H=f(XZ(),1),LV=$H.createContext({})});var iK=P(()=>{r3()});var OV="react-aria-clear-focus",FV="react-aria-focus";var MV=()=>{};function vO(Q){let q=gy(cZ(Q));if(q!==Q){if(q)by(q,Q);if(Q)z6(Q,q)}}function by(Q,q){Q.dispatchEvent(new FocusEvent("blur",{relatedTarget:q})),Q.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:q}))}function z6(Q,q){Q.dispatchEvent(new FocusEvent("focus",{relatedTarget:q})),Q.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:q}))}function gy(Q){let q=BX(Q),H=q?.getAttribute("aria-activedescendant");if(H)return Q.getElementById(H)||q;return q}var H6=P(()=>{dX();EY()});function Bz(Q){if(CJ())return Q.metaKey;return Q.ctrlKey}function SH(Q){return Q instanceof HTMLInputElement&&!my.has(Q.type)||Q instanceof HTMLTextAreaElement||Q instanceof HTMLElement&&Q.isContentEditable}var my;var nK=P(()=>{qJ();my=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function EH(Q,q,H,_){let W=kY(H),K=H==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(()=>{RH();NV=f(XZ(),1)});class TW{constructor(Q,q="en-US"){this.strings=Object.fromEntries(Object.entries(Q).filter(([,H])=>H)),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=dy(Q,this.strings,this.defaultLocale),this.strings[Q]=q;return q}static getGlobalDictionaryForPackage(Q){if(typeof window>"u")return null;let q=window[fy];if(hO===void 0){let _=window[uy];if(!_)return null;hO={};for(let W in _)hO[W]=new TW({[q]:_[W]},q)}let H=hO?.[Q];if(!H)throw Error(`Strings for package "${Q}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return H}}function dy(Q,q,H="en-US"){if(q[Q])return q[Q];let _=cy(Q);if(q[_])return q[_];for(let W in q)if(W.startsWith(_+"-"))return q[W];return q[H]}function cy(Q){if(Intl.Locale)return new Intl.Locale(Q).language;return Q.split("-")[0]}var fy,uy,hO=void 0;var IV=P(()=>{fy=Symbol.for("react-aria.i18n.locale"),uy=Symbol.for("react-aria.i18n.strings")});class bO{constructor(Q,q){this.locale=Q,this.strings=q}format(Q,q){let H=this.strings.getStringForLocale(Q,this.locale);return typeof H==="function"?H(q,this):H}plural(Q,q,H="cardinal"){let _=q["="+Q];if(_)return typeof _==="function"?_():_;let W=this.locale+":"+H,K=TV.get(W);if(!K)K=new Intl.PluralRules(this.locale,{type:H}),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 H=Q[q]||Q.other;return typeof H==="function"?H():H}}var TV,wV;var VV=P(()=>{TV=new Map,wV=new Map});var RV=P(()=>{IV();VV()});function py(Q){let q=jV.get(Q);if(!q)q=new TW(Q),jV.set(Q,q);return q}function ly(Q,q){return q&&TW.getGlobalDictionaryForPackage(q)||py(Q)}function PV(Q,q){let{locale:H}=JW(),_=ly(Q,q);return CV.useMemo(()=>new bO(H,_),[H,_])}var CV,jV;var DV=P(()=>{eA();RV();CV=f(XZ(),1),jV=new WeakMap});var gO,$V;var SV=P(()=>{gO=f(XZ(),1),$V=gO.createContext(null)});function EV(Q){let q=JG.useRef({});return JG.default.createElement(ny.Provider,{value:q},Q.children)}var iy,JG,ny;var kV=P(()=>{iy=f(sq(),1),JG=f(XZ(),1),ny=JG.createContext(null)});var mO,wW;var fO=P(()=>{mO=f(XZ(),1),wW=mO.createContext({isSelected:!1})});function W6(Q){let q=zX(Q,{labelable:!0}),H;if(Q.orientation==="vertical")H="vertical";if(Q.elementType!=="hr")return{separatorProps:{...q,role:"separator","aria-orientation":H}};return{separatorProps:q}}var xV=P(()=>{Yz()});var yV=P(()=>{xV()});var uO,vV,hV,U6;var bV=P(()=>{WQ();yV();iK();pK();Uq();RJ();uO=f(XZ(),1),vV=uO.createContext({});hV=class hV extends mQ{static{this.type="separator"}filter(Q,q){let H=q.getItem(this.prevKey);if(H&&H.type!=="separator"){let _=this.clone();return q.addDescendants(_,Q),_}return null}};U6=Bq(hV,function(q,H){[q,H]=fX(q,H,vV);let{elementType:_,orientation:W,style:K,className:A,slot:L,...O}=q,I=_||"hr";if(I==="hr"&&W==="vertical")I="div";let N=AX[I],{separatorProps:F}=W6({...O,elementType:_,orientation:W}),R=zX(q,{global:!0});return uO.default.createElement(N,{render:q.render,...PZ(R,F),style:K,className:A??"react-aria-Separator",ref:H,slot:L||void 0})})});function sy(Q){if(typeof Q==="string")return Q.replace(/\s*/g,"");return""+Q}function gV(Q,q){let H=K6.get(Q);if(!H)throw Error("Unknown list");return`${H.id}-option-${sy(q)}`}var K6;var mV=P(()=>{K6=new WeakMap});class fV{constructor(Q,q,H,_){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=H??NodeFilter.SHOW_ALL,this._currentNode=q,this._walkerStack.unshift(Q.createTreeWalker(q,H,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=[],H=Q,_=Q;this._currentNode=Q;while(H&&H!==this.root)if(H.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let K=H,A=this._doc.createTreeWalker(K,this.whatToShow,{acceptNode:this._acceptNode});q.push(A),A.currentNode=_,this._currentSetFor.add(A),H=_=K.host}else H=H.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 H;if(typeof this.filter==="function")H=this.filter(Q);else if(this.filter?.acceptNode)H=this.filter.acceptNode(Q);if(H===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 H=this.previousNode();if(H)this.currentNode=H;return H}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 H=this.previousNode();if(H)this.currentNode=H;return H}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function dO(Q,q,H,_){if(bQ())return new fV(Q,q,H,_);return Q.createTreeWalker(q,H,_)}var B6=P(()=>{dX();QO()});function pV(Q){let{children:q,contain:H,restoreFocus:_,autoFocus:W}=Q,K=iX.useRef(null),A=iX.useRef(null),L=iX.useRef([]),{parentNode:O}=iX.useContext(uV)||{},I=iX.useMemo(()=>new pO({scopeRef:L}),[L]);dZ(()=>{let R=O||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,O]),dZ(()=>{let R=GY.getTreeNode(L);if(R)R.contain=!!H},[H]),dZ(()=>{let R=K.current?.nextSibling,j=[],h=(g)=>g.stopPropagation();while(R&&R!==A.current)j.push(R),R.addEventListener(L6,h),R=R.nextSibling;return L.current=j,()=>{for(let g of j)g.removeEventListener(L6,h)}},[q]),Zv(L,_,H),ty(L,H),Xv(L,_,H),ey(L,W),iX.useEffect(()=>{let R=BX(cZ(L.current?L.current[0]:void 0)),j=null;if(HJ(R,L.current)){for(let h of GY.traverse())if(h.scopeRef&&HJ(R,h.scopeRef.current))j=h;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(()=>ay(L),[]),F=iX.useMemo(()=>({focusManager:N,parentNode:I}),[I,N]);return iX.default.createElement(uV.Provider,{value:F},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 ay(Q){return{focusNext(q={}){let H=Q.current,{from:_,tabbable:W,wrap:K,accept:A}=q,L=_||BX(cZ(H[0]??void 0)),O=H[0].previousElementSibling,I=kH(H),N=zJ(I,{tabbable:W,accept:A},H);N.currentNode=HJ(L,H)?L:O;let F=N.nextNode();if(!F&&K)N.currentNode=O,F=N.nextNode();if(F)qG(F,!0);return F},focusPrevious(q={}){let H=Q.current,{from:_,tabbable:W,wrap:K,accept:A}=q,L=_||BX(cZ(H[0]??void 0)),O=H[H.length-1].nextElementSibling,I=kH(H),N=zJ(I,{tabbable:W,accept:A},H);N.currentNode=HJ(L,H)?L:O;let F=N.previousNode();if(!F&&K)N.currentNode=O,F=N.previousNode();if(F)qG(F,!0);return F},focusFirst(q={}){let H=Q.current,{tabbable:_,accept:W}=q,K=kH(H),A=zJ(K,{tabbable:_,accept:W},H);A.currentNode=H[0].previousElementSibling;let L=A.nextNode();if(L)qG(L,!0);return L},focusLast(q={}){let H=Q.current,{tabbable:_,accept:W}=q,K=kH(H),A=zJ(K,{tabbable:_,accept:W},H);A.currentNode=H[H.length-1].nextElementSibling;let L=A.previousNode();if(L)qG(L,!0);return L}}}function kH(Q){return Q[0].parentElement}function sK(Q){let q=GY.getTreeNode(EX);while(q&&q.scopeRef!==Q){if(q.contain)return!1;q=q.parent}return!0}function ry(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),H=uX(Q);if(q instanceof H.RadioNodeList)return Array.from(q).filter((_)=>_ instanceof H.HTMLInputElement);if(q instanceof H.HTMLInputElement)return[q];return[]}function oy(Q){if(Q.checked)return!0;let q=ry(Q);return q.length>0&&!q.some((H)=>H.checked)}function ty(Q,q){let H=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||!sK(Q)||I.isComposing)return;let N=BX(K),F=Q.current;if(!F||!HJ(N,F))return;let R=kH(F),j=zJ(R,{tabbable:!0},F);if(!N)return;j.currentNode=N;let h=I.shiftKey?j.previousNode():j.nextNode();if(!h)j.currentNode=I.shiftKey?F[F.length-1].nextElementSibling:F[0].previousElementSibling,h=I.shiftKey?j.previousNode():j.nextNode();if(I.preventDefault(),h){if(qG(h,!0),h instanceof uX(h).HTMLInputElement)h.select()}},L=(I)=>{if((!EX||cO(EX,Q))&&HJ(LZ(I),Q.current))EX=Q,H.current=LZ(I);else if(sK(Q)&&!Lz(LZ(I),Q)){if(H.current)H.current.focus();else if(EX&&EX.current)A6(EX.current)}else if(sK(Q))H.current=LZ(I)},O=(I)=>{if(_.current)cancelAnimationFrame(_.current);_.current=requestAnimationFrame(()=>{let N=TH(),F=(N==="virtual"||N===null)&&EK()&&T3(),R=BX(K);if(!F&&R&&sK(Q)&&!Lz(R,Q)){EX=Q;let j=LZ(I);if(j&&j.isConnected)H.current=j,H.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",O,!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",O,!1))}},[Q,q]),dZ(()=>{return()=>{if(_.current)cancelAnimationFrame(_.current)}},[_])}function lV(Q){return Lz(Q)}function HJ(Q,q){if(!Q)return!1;if(!q)return!1;return q.some((H)=>XX(H,Q))}function Lz(Q,q=null){if(Q instanceof Element&&Q.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:H}of GY.traverse(GY.getTreeNode(q)))if(H&&HJ(Q,H.current))return!0;return!1}function iV(Q){return Lz(Q,EX)}function cO(Q,q){let H=GY.getTreeNode(q)?.parent;while(H){if(H.scopeRef===Q)return!0;H=H.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 H=Q[0].previousElementSibling,_=kH(Q),W=zJ(_,{tabbable:q},Q);W.currentNode=H;let K=W.nextNode();if(q&&!K)_=kH(Q),W=zJ(_,{tabbable:!1},Q),W.currentNode=H,K=W.nextNode();return K}function A6(Q,q=!0){qG(nV(Q,q))}function ey(Q,q){let H=iX.default.useRef(q);iX.useEffect(()=>{if(H.current){EX=Q;let _=cZ(Q.current?Q.current[0]:void 0);if(!HJ(BX(_),EX.current)&&Q.current)A6(Q.current)}H.current=!1},[Q])}function Zv(Q,q,H){dZ(()=>{if(q||H)return;let _=Q.current,W=cZ(_?_[0]:void 0),K=(A)=>{let L=LZ(A);if(HJ(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,H])}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 Xv(Q,q,H){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||H)return;let A=()=>{if((!EX||cO(EX,Q))&&HJ(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,H]),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||!sK(Q)||A.isComposing)return;let L=W.activeElement;if(!Lz(L,Q)||!dV(Q))return;let O=GY.getTreeNode(Q);if(!O)return;let I=O.nodeToRestore,N=zJ(W.body,{tabbable:!0});N.currentNode=L;let F=A.shiftKey?N.previousNode():N.nextNode();if(!I||!I.isConnected||I===W.body)I=void 0,O.nodeToRestore=void 0;if((!F||!Lz(F,Q))&&I){N.currentNode=I;do F=A.shiftKey?N.previousNode():N.nextNode();while(Lz(F,Q));if(A.preventDefault(),A.stopPropagation(),F)qG(F,!0);else if(!lV(I))L.blur();else qG(I,!0)}};if(!H)W.addEventListener("keydown",K,!0);return()=>{if(!H)W.removeEventListener("keydown",K,!0)}},[Q,q,H]),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,O=BX(W);if(q&&L&&(O&&Lz(O,Q)||O===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 F=nV(N.scopeRef.current,!0);cV(F);return}N=N.parent}}})}}},[Q,q])}function cV(Q){if(Q.dispatchEvent(new CustomEvent(L6,{bubbles:!0,cancelable:!0})))qG(Q)}function zJ(Q,q,H){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)&&(!H||HJ(L,H))&&(!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,H){let _=this.fastMap.get(q??null);if(!_)return;let W=new pO({scopeRef:Q});if(_.addChild(W),W.parent=_,this.fastMap.set(Q,W),H)W.nodeToRestore=H}addNode(Q){this.fastMap.set(Q.scopeRef,Q)}removeTreeNode(Q){if(Q===null)return;let q=this.fastMap.get(Q);if(!q)return;let H=q.parent;for(let W of this.traverse())if(W!==q&&q.nodeToRestore&&W.nodeToRestore&&q.scopeRef&&q.scopeRef.current&&HJ(W.nodeToRestore,q.scopeRef.current))W.nodeToRestore=q.nodeToRestore;let _=q.children;if(H){if(H.removeChild(q),_.size>0)_.forEach((W)=>H&&H.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 aK=P(()=>{B6();vK();dX();qz();EY();qJ();zO();$Y();iX=f(XZ(),1),uV=iX.default.createContext(null);GY=new O6});function rK(Q){return Ow()?Q.altKey:Q.ctrlKey}function lO(Q,q){let H=`[data-key="${CSS.escape(String(q))}"]`,_=Q.current?.dataset.collection;if(_)H=`[data-collection="${CSS.escape(_)}"]${H}`;return Q.current?.querySelector(H)}function aV(Q){let q=aX();return sV.set(Q,q),q}function rV(Q){return sV.get(Q)}var sV;var F6=P(()=>{qJ();JJ();sV=new WeakMap});function Lq(Q,q){if(!Q)return!1;let H=window.getComputedStyle(Q),_=document.scrollingElement||document.documentElement,W=/(auto|scroll)/.test(H.overflow+H.overflowX+H.overflowY);if(Q===_&&H.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 H=[],_=document.scrollingElement||document.documentElement;while(Q){if(Lq(Q,q))H.push(Q);if(Q===_)break;Q=Q.parentElement}return H}var oV=P(()=>{oK()});function tK(Q,q,H={}){let{block:_="nearest",inline:W="nearest"}=H;if(Q===q)return;let{scrollTop:K,scrollLeft:A}=Q,L=q.getBoundingClientRect(),O=Q.getBoundingClientRect(),I=window.getComputedStyle(q),N=window.getComputedStyle(Q),F=document.scrollingElement||document.documentElement,R=Q===F,j=Q===F?0:O.top,h=Q===F?Q.clientHeight:O.bottom,g=Q===F?0:O.left,x=Q===F?Q.clientWidth:O.right,n=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,GZ=parseFloat(N.scrollPaddingLeft)||0,l=parseFloat(N.scrollPaddingRight)||0,FZ=parseFloat(N.borderTopWidth)||0,s=parseFloat(N.borderBottomWidth)||0,wZ=parseFloat(N.borderLeftWidth)||0,KZ=parseFloat(N.borderRightWidth)||0,HZ=L.top-n,b=L.bottom+r,u=L.left-JZ,E=L.right+ZZ,m=Q===F?0:wZ+KZ,e=Q===F?0:FZ+s,p=Q===F?0:Q.offsetWidth-Q.clientWidth-m,w=Q===F?0:Q.offsetHeight-Q.clientHeight-e,o=j+(R?0:FZ)+UZ,OZ=h-(R?0:s)-xZ-w,VZ=g+(R?0:wZ)+GZ,vZ=x-(R?0:KZ)-l;if(N.direction==="rtl"&&!PJ())VZ+=p;else vZ-=p;let JX=HZ<o||b>OZ,IZ=u<VZ||E>vZ;if(JX&&_==="start")K+=HZ-o;else if(JX&&_==="center")K+=(HZ+b)/2-(o+OZ)/2;else if(JX&&_==="end")K+=b-OZ;else if(JX&&_==="nearest"){let YX=HZ-o,TX=b-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 M6(Q,q={}){let{containingElement:H}=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:O}=Q.getBoundingClientRect();if(Math.abs(K-L)>1||Math.abs(A-O)>1)H?.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)tK(N,Q);let{left:O,top:I}=Q.getBoundingClientRect();if(Math.abs(K-O)>1||Math.abs(A-I)>1){L=H?iO(H,!0):[];for(let N of L)tK(N,H,{block:"center",inline:"center"});for(let N of iO(Q,!0))tK(N,Q)}}}}var tV=P(()=>{oV();qJ()});function ZR(Q){let{keyboardDelegate:q,selectionManager:H,onTypeSelect:_}=Q,W=eV.useRef({search:"",timeout:void 0}).current,K=(A)=>{let L=Qv(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 O=q.getKeyForSearch(W.search,H.focusedKey);if(O==null)O=q.getKeyForSearch(W.search);if(O!=null){if(H.setFocusedKey(O),_)_(O)}}clearTimeout(W.timeout),W.timeout=setTimeout(()=>{W.search=""},Yv)};return{typeSelectProps:{onKeyDownCapture:q.getKeyForSearch?K:void 0}}}function Qv(Q){if(Q.length===1||!/^[A-Z]/i.test(Q))return Q;return""}var eV,Yv=1000;var XR=P(()=>{dX();eV=f(XZ(),1)});function I6(Q,q){let H=N6.useRef(!0),_=N6.useRef(null);dZ(()=>{return H.current=!0,()=>{H.current=!1}},[]),dZ(()=>{if(H.current)H.current=!1;else if(!_.current||q.some((W,K)=>!Object.is(W,_[K])))Q();_.current=q},q)}var N6;var YR=P(()=>{$Y();N6=f(XZ(),1)});function JR(Q){let{selectionManager:q,keyboardDelegate:H,ref:_,autoFocus:W=!1,shouldFocusWrap:K=!1,disallowEmptySelection:A=!1,disallowSelectAll:L=!1,escapeKeyBehavior:O="clearSelection",selectOnFocus:I=q.selectionBehavior==="replace",disallowTypeAhead:N=!1,shouldUseVirtualFocus:F,allowsTabNavigation:R=!1,scrollRef:j=_,linkBehavior:h="action"}=Q,{direction:g}=JW(),x=MH(),n=(b)=>{if(b.altKey&&b.key==="Tab")b.preventDefault();if(!_.current||!XX(_.current,LZ(b)))return;let u=(E,m)=>{if(E!=null){if(q.isLink(E)&&h==="selection"&&I&&!rK(b)){QR.flushSync(()=>{q.setFocusedKey(E,m)});let e=lO(_,E),p=q.getItemProps(E);if(e)x.open(e,b,p.href,p.routerOptions);return}if(q.setFocusedKey(E,m),q.isLink(E)&&h==="override")return;if(b.shiftKey&&q.selectionMode==="multiple")q.extendSelection(E);else if(I&&!rK(b))q.replaceSelection(E)}};switch(b.key){case"ArrowDown":if(H.getKeyBelow){let E=q.focusedKey!=null?H.getKeyBelow?.(q.focusedKey):H.getFirstKey?.();if(E==null&&K)E=H.getFirstKey?.(q.focusedKey);if(E!=null)b.preventDefault(),u(E)}break;case"ArrowUp":if(H.getKeyAbove){let E=q.focusedKey!=null?H.getKeyAbove?.(q.focusedKey):H.getLastKey?.();if(E==null&&K)E=H.getLastKey?.(q.focusedKey);if(E!=null)b.preventDefault(),u(E)}break;case"ArrowLeft":if(H.getKeyLeftOf){let E=q.focusedKey!=null?H.getKeyLeftOf?.(q.focusedKey):H.getFirstKey?.();if(E==null&&K)E=g==="rtl"?H.getFirstKey?.(q.focusedKey):H.getLastKey?.(q.focusedKey);if(E!=null)b.preventDefault(),u(E,g==="rtl"?"first":"last")}break;case"ArrowRight":if(H.getKeyRightOf){let E=q.focusedKey!=null?H.getKeyRightOf?.(q.focusedKey):H.getFirstKey?.();if(E==null&&K)E=g==="rtl"?H.getLastKey?.(q.focusedKey):H.getFirstKey?.(q.focusedKey);if(E!=null)b.preventDefault(),u(E,g==="rtl"?"last":"first")}break;case"Home":if(H.getFirstKey){if(q.focusedKey===null&&b.shiftKey)return;b.preventDefault();let E=H.getFirstKey(q.focusedKey,Bz(b));if(q.setFocusedKey(E),E!=null){if(Bz(b)&&b.shiftKey&&q.selectionMode==="multiple")q.extendSelection(E);else if(I)q.replaceSelection(E)}}break;case"End":if(H.getLastKey){if(q.focusedKey===null&&b.shiftKey)return;b.preventDefault();let E=H.getLastKey(q.focusedKey,Bz(b));if(q.setFocusedKey(E),E!=null){if(Bz(b)&&b.shiftKey&&q.selectionMode==="multiple")q.extendSelection(E);else if(I)q.replaceSelection(E)}}break;case"PageDown":if(H.getKeyPageBelow&&q.focusedKey!=null){let E=H.getKeyPageBelow(q.focusedKey);if(E!=null)b.preventDefault(),u(E)}break;case"PageUp":if(H.getKeyPageAbove&&q.focusedKey!=null){let E=H.getKeyPageAbove(q.focusedKey);if(E!=null)b.preventDefault(),u(E)}break;case"a":if(Bz(b)&&q.selectionMode==="multiple"&&L!==!0)b.preventDefault(),q.selectAll();break;case"Escape":if(O==="clearSelection"&&!A&&q.selectedKeys.size!==0)b.stopPropagation(),b.preventDefault(),q.clearSelection();break;case"Tab":if(!R){if(b.shiftKey)_.current.focus();else{let E=zJ(_.current,{tabbable:!0}),m=void 0,e;do if(e=E.lastChild(),e)m=e;while(e);let p=BX();if(m&&(!F3(m)||p&&!GO(p)))tY(m)}break}}},r=$J.useRef({top:0,left:0});EH(j,"scroll",()=>{r.current={top:j.current?.scrollTop??0,left:j.current?.scrollLeft??0}});let JZ=(b)=>{if(q.isFocused){if(!XX(b.currentTarget,LZ(b)))q.setFocused(!1);return}if(!XX(b.currentTarget,LZ(b)))return;if(q.setFocused(!0),q.focusedKey==null){let u=(m)=>{if(m!=null){if(q.setFocusedKey(m),I&&!q.isSelected(m))q.replaceSelection(m)}},E=b.relatedTarget;if(E&&b.currentTarget.compareDocumentPosition(E)&Node.DOCUMENT_POSITION_FOLLOWING)u(q.lastSelectedKey??H.getLastKey?.());else u(q.firstSelectedKey??H.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(!F3(u)&&!F)tY(u);if(TH()==="keyboard")M6(u,{containingElement:_.current})}}},ZZ=(b)=>{if(!XX(b.currentTarget,b.relatedTarget))q.setFocused(!1)},UZ=$J.useRef(!1);EH(_,FV,!F?void 0:(b)=>{let{detail:u}=b;if(b.stopPropagation(),q.setFocused(!0),u?.focusStrategy==="first")UZ.current=!0}),I6(()=>{if(UZ.current){let b=H.getFirstKey?.()??null;if(b==null){let u=BX();if(vO(_.current),z6(u,null),q.collection.size>0)UZ.current=!1}else q.setFocusedKey(b),UZ.current=!1}},[q.collection]),I6(()=>{if(q.collection.size>0)UZ.current=!1},[q.focusedKey]),EH(_,OV,!F?void 0:(b)=>{if(b.stopPropagation(),q.setFocused(!1),b.detail?.clearFocusKey)q.setFocusedKey(null)});let xZ=$J.useRef(W),GZ=$J.useRef(!1);$J.useEffect(()=>{if(xZ.current){let b=null;if(W==="first")b=H.getFirstKey?.()??null;if(W==="last")b=H.getLastKey?.()??null;let u=q.selectedKeys;if(u.size){for(let E of u)if(q.canSelectItem(E)){b=E;break}}if(q.setFocused(!0),q.setFocusedKey(b),b==null&&!F&&_.current)eq(_.current);if(q.collection.size>0)xZ.current=!1,GZ.current=!0}});let l=$J.useRef(q.focusedKey),FZ=$J.useRef(null);$J.useEffect(()=>{if(q.isFocused&&q.focusedKey!=null&&(q.focusedKey!==l.current||GZ.current)&&j.current&&_.current){let b=TH(),u=lO(_,q.focusedKey);if(!(u instanceof HTMLElement))return;if(b==="keyboard"||GZ.current){if(FZ.current)cancelAnimationFrame(FZ.current);FZ.current=requestAnimationFrame(()=>{if(j.current){if(tK(j.current,u),b!=="virtual")M6(u,{containingElement:_.current})}})}}if(!F&&q.isFocused&&q.focusedKey==null&&l.current!=null&&_.current)eq(_.current);l.current=q.focusedKey,GZ.current=!1}),$J.useEffect(()=>{return()=>{if(FZ.current)cancelAnimationFrame(FZ.current)}},[]),EH(_,"react-aria-focus-scope-restore",(b)=>{b.preventDefault(),q.setFocused(!0)});let s={onKeyDown:n,onFocus:JZ,onBlur:ZZ,onMouseDown(b){if(j.current===LZ(b))b.preventDefault()}},{typeSelectProps:wZ}=ZR({keyboardDelegate:H,selectionManager:q});if(!N)s=PZ(wZ,s);let KZ=void 0;if(!F)KZ=q.focusedKey==null?0:-1;let HZ=aV(q.collection);return{collectionProps:PZ(s,{tabIndex:KZ,"data-collection":HZ})}}var QR,$J;var qR=P(()=>{MV();H6();vK();FH();dX();aK();qz();F6();nK();zO();SY();tV();_6();eA();Jz();XR();YR();QR=f(sq(),1),$J=f(XZ(),1)});function zR(Q){let[q,H]=GR.useState();return dZ(()=>{if(!Q)return;let _=T6.get(Q);if(!_){let W=`react-aria-description-${Jv++}`;H(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 H(_.element.id);return _.refCount++,()=>{if(_&&--_.refCount===0)_.element.remove(),T6.delete(Q)}},[Q]),{"aria-describedby":Q?q:void 0}}var GR,Jv=0,T6;var HR=P(()=>{$Y();GR=f(XZ(),1),T6=new Map});function WR(Q){let{isDisabled:q,onLongPressStart:H,onLongPressEnd:_,onLongPress:W,threshold:K=qv,accessibilityDescription:A}=Q,L=_R.useRef(void 0),{addGlobalListener:O,removeGlobalListener:I}=_z(),{pressProps:N}=Wz({isDisabled:q,onPressStart(R){if(R.continuePropagation(),R.pointerType==="mouse"||R.pointerType==="touch"){if(H)H({...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=(g)=>{g.preventDefault()},h=uX(R.target);O(R.target,"contextmenu",j,{once:!0}),O(h,"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"})}}),F=zR(W&&!q?A:void 0);return{longPressProps:PZ(N,F)}}var _R,qv=500;var UR=P(()=>{FH();EY();SY();HR();bK();mK();_R=f(XZ(),1)});function VW(Q){let{id:q,selectionManager:H,key:_,ref:W,shouldSelectOnPressUp:K,shouldUseVirtualFocus:A,focus:L,isDisabled:O,onAction:I,allowsDifferentPressOrigin:N,linkBehavior:F="action"}=Q,R=MH();q=aX(q);let j=(w)=>{if(w.pointerType==="keyboard"&&rK(w))H.toggleSelection(_);else{if(H.selectionMode==="none")return;if(H.isLink(_)){if(F==="selection"&&W.current){let o=H.getItemProps(_);R.open(W.current,w,o.href,o.routerOptions),H.setSelectedKeys(H.selectedKeys);return}else if(F==="override"||F==="none")return}if(H.selectionMode==="single")if(H.isSelected(_)&&!H.disallowEmptySelection)H.toggleSelection(_);else H.replaceSelection(_);else if(w&&w.shiftKey)H.extendSelection(_);else if(H.selectionBehavior==="toggle"||w&&(Bz(w)||w.pointerType==="touch"||w.pointerType==="virtual"))H.toggleSelection(_);else H.replaceSelection(_)}};xH.useEffect(()=>{if(_===H.focusedKey&&H.isFocused)if(!A){if(L)L();else if(BX()!==W.current&&W.current)eq(W.current)}else vO(W.current)},[W,_,H.focusedKey,H.childFocusStrategy,H.isFocused,A]),O=O||H.isDisabled(_);let h={};if(!A&&!O)h={tabIndex:_===H.focusedKey?0:-1,onFocus(w){if(LZ(w)===W.current)H.setFocusedKey(_)}};else if(O)h.onMouseDown=(w)=>{w.preventDefault()};xH.useEffect(()=>{if(O&&H.focusedKey===_)H.setFocusedKey(null)},[H,O,_]);let g=H.isLink(_)&&F==="override",x=I&&Q.UNSTABLE_itemBehavior==="action",n=H.isLink(_)&&F!=="selection"&&F!=="none",r=!O&&H.canSelectItem(_)&&!g&&!x,JZ=(I||n)&&!O,ZZ=JZ&&(H.selectionBehavior==="replace"?!r:!r||H.isEmpty),UZ=JZ&&r&&H.selectionBehavior==="replace",xZ=ZZ||UZ,GZ=xH.useRef(null),l=xZ&&r,FZ=xH.useRef(!1),s=xH.useRef(!1),wZ=H.getItemProps(_),KZ=(w)=>{if(I)I(),W.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}));if(n&&W.current)R.open(W.current,w,wZ.href,wZ.routerOptions)},HZ={ref:W};if(K)if(HZ.onPressStart=(w)=>{if(GZ.current=w.pointerType,FZ.current=l,w.pointerType==="keyboard"&&(!xZ||BR(w.key)))j(w)},!N)HZ.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 HZ.onPressUp=ZZ?void 0:(w)=>{if(w.pointerType==="mouse"&&r)j(w)},HZ.onPress=ZZ?KZ:(w)=>{if(w.pointerType!=="keyboard"&&w.pointerType!=="mouse"&&r)j(w)};else HZ.onPressStart=(w)=>{if(GZ.current=w.pointerType,FZ.current=l,s.current=ZZ,r&&(w.pointerType==="mouse"&&!ZZ||w.pointerType==="keyboard"&&(!JZ||BR(w.key))))j(w)},HZ.onPress=(w)=>{if(w.pointerType==="touch"||w.pointerType==="pen"||w.pointerType==="virtual"||w.pointerType==="keyboard"&&xZ&&KR(w.key)||w.pointerType==="mouse"&&s.current){if(xZ)KZ(w);else if(r)j(w)}};if(h["data-collection"]=rV(H.collection),h["data-key"]=_,HZ.preventFocusOnPress=A,A)HZ=PZ(HZ,{onPressStart(w){if(w.pointerType!=="touch")H.setFocused(!0),H.setFocusedKey(_)},onPress(w){if(w.pointerType==="touch")H.setFocused(!0),H.setFocusedKey(_)}});if(wZ){for(let w of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])if(wZ[w])HZ[w]=VJ(HZ[w],wZ[w])}let{pressProps:b,isPressed:u}=Wz(HZ),E=UZ?(w)=>{if(GZ.current==="mouse")w.stopPropagation(),w.preventDefault(),KZ(w)}:void 0,{longPressProps:m}=WR({isDisabled:!l,onLongPress(w){if(w.pointerType==="touch")j(w),H.setSelectionBehavior("toggle")}}),e=(w)=>{if(GZ.current==="touch"&&FZ.current)w.preventDefault()},p=F!=="none"&&H.isLink(_)?(w)=>{if(!GJ.isOpening)w.preventDefault()}:void 0;return{itemProps:PZ(h,r||ZZ||A&&!O?b:{},l?m:{},{onDoubleClick:E,onDragStartCapture:e,onClick:p,id:q},A?{onMouseDown:(w)=>w.preventDefault()}:void 0),isPressed:u,isSelected:H.isSelected(_),isFocused:H.isFocused&&H.focusedKey===_,isDisabled:O,allowsSelection:r,hasAction:xZ}}function KR(Q){return Q==="Enter"}function BR(Q){return Q===" "}var xH;var nO=P(()=>{ZW();vK();dX();F6();nK();SY();H6();Jz();mK();JJ();UR();xH=f(XZ(),1)});function LR(Q,q){if(typeof q.getChildren==="function")return q.getChildren(Q.key);return Q.childNodes}var AR=()=>{};function eK(Q){let q=OR.get(Q);if(q!=null)return q;let H=0,_=(W)=>{for(let K of W)if(K.type==="section")_(LR(K,Q));else if(K.type==="item")H++};return _(Q),OR.set(Q,H),H}var OR;var FR=P(()=>{AR();OR=new WeakMap});var w6=P(()=>{FR()});function V6(Q,q,H){let{key:_}=Q,W=K6.get(q),K=Q.isDisabled??q.selectionManager.isDisabled(_),A=Q.isSelected??q.selectionManager.isSelected(_),L=Q.shouldSelectOnPressUp??W?.shouldSelectOnPressUp,O=Q.shouldFocusOnHover??W?.shouldFocusOnHover,I=Q.shouldUseVirtualFocus??W?.shouldUseVirtualFocus,N=Q.isVirtualized??W?.isVirtualized,F=_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":F,"aria-describedby":R},h=q.collection.getItem(_);if(N){let FZ=Number(h?.index);j["aria-posinset"]=Number.isNaN(FZ)?void 0:FZ+1,j["aria-setsize"]=eK(q.collection)}let g=W?.onAction?()=>W?.onAction?.(_):void 0,x=gV(q,_),{itemProps:n,isPressed:r,isFocused:JZ,hasAction:ZZ,allowsSelection:UZ}=VW({selectionManager:q.selectionManager,key:_,ref:H,shouldSelectOnPressUp:L,allowsDifferentPressOrigin:L&&O,isVirtualized:N,shouldUseVirtualFocus:I,isDisabled:K,onAction:g||h?.props?.onAction?VJ(h?.props?.onAction,g):void 0,linkBehavior:W?.linkBehavior,UNSTABLE_itemBehavior:W?.UNSTABLE_itemBehavior,id:x}),{hoverProps:xZ}=xY({isDisabled:K||!O,onHoverStart(){if(!Kq())q.selectionManager.setFocused(!0),q.selectionManager.setFocusedKey(_)}}),GZ=zX(h?.props);delete GZ.id;let l=zW(h?.props);return{optionProps:{...j,...PZ(GZ,n,xZ,l),id:x},labelProps:{id:F},descriptionProps:{id:R},isFocused:JZ,isFocusVisible:JZ&&q.selectionManager.isFocused&&Kq(),isSelected:A,isDisabled:K,isPressed:r,allowsSelection:UZ,hasAction:ZZ}}var MR=P(()=>{ZW();Yz();mV();qz();SY();nO();RO();Jz();JJ();w6()});var NR=P(()=>{MR()});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=f(XZ(),1)});var R6=P(()=>{wR()});function ZB(Q,q){let H=Q;if(Lq(H,q))H=H.parentElement;while(H&&!Lq(H,q))H=H.parentElement;return H||document.scrollingElement||document.documentElement}var j6=P(()=>{oK()});function C6(Q,q){let{collection:H,onLoadMore:_,scrollOffset:W=1}=Q,K=VR.useRef(null),A=kY((L)=>{for(let O of L)if(O.isIntersecting&&_)_()});dZ(()=>{if(q.current)K.current=new IntersectionObserver(A,{root:ZB(q?.current),rootMargin:`0px ${100*W}% ${100*W}% ${100*W}%`}),K.current.observe(q.current);return()=>{if(K.current)K.current.disconnect()}},[H,q,W])}var VR;var RR=P(()=>{j6();RH();$Y();VR=f(XZ(),1)});var jR=P(()=>{RR()});var CR=P(()=>{OO()});var PR=P(()=>{FO()});var cX,P6,XB,Gv;var DR=P(()=>{WQ();AV();fO();AW();NR();pK();Uq();R6();iK();jR();RJ();CR();CH();PR();YW();cX=f(XZ(),1),P6=cX.createContext(null),XB=Bq(NW,function(q,H,_){let W=_Q(H),K=cX.useContext(P6),{dragAndDropHooks:A,dragState:L,dropState:O}=cX.useContext(LV),I=L&&!(L.isDisabled||L.selectionManager.isDisabled(_.key)),{optionProps:N,labelProps:F,descriptionProps:R,...j}=V6({key:_.key,"aria-label":q?.["aria-label"]},K,W),{hoverProps:h,isHovered:g}=xY({isDisabled:!j.allowsSelection&&!j.hasAction&&!I,onHoverStart:_.props.onHoverStart,onHoverChange:_.props.onHoverChange,onHoverEnd:_.props.onHoverEnd}),{keyboardProps:x}=VH(q),{focusProps:n}=wH(q),r=null;if(L&&A)r=A.useDraggableItem({key:_.key,hasAction:j.hasAction},L);let JZ=null;if(O&&A)JZ=A.useDroppableItem({target:{type:"item",key:_.key,dropPosition:"on"}},O,W);let ZZ=L&&L.isDragging(_.key),UZ=yX({...q,id:void 0,children:q.children,defaultClassName:"react-aria-ListBoxItem",values:{...j,isHovered:g,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,GZ=zX(q,{global:!0});if(delete GZ.id,delete GZ.onClick,q.href&&N.tabIndex==null)N.tabIndex=-1;return cX.default.createElement(xZ,{...PZ(GZ,UZ,N,h,x,n,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":g||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:[[Kz,{slots:{[BH]:F,label:F,description:R}}],[wW,{isSelected:j.isSelected}]]},UZ.children))}),Gv=Bq(xO,function(q,H,_){let W=cX.useContext(P6),{isLoading:K,onLoadMore:A,scrollOffset:L,...O}=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 F=yX({...O,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&&F.children&&cX.default.createElement(cX.default.Fragment,null,cX.default.createElement(AX.div,{...PZ(zX(q,{global:!0}),R),...F,role:"option",ref:H},F.children)))})});function $R(Q){return Q.dataset.liveAnnouncer==="true"||Q.dataset.reactAriaTopLayer!==void 0}function SR(Q,q){let H=uX(Q?.[0]),_=q instanceof H.Element?{root:q}:q,W=_?.root??document.body,K=_?.shouldUseInert&&zv,A=new Set(Q),L=new Set,O=(x)=>{return K&&x instanceof H.HTMLElement?x.inert:x.getAttribute("aria-hidden")==="true"},I=(x,n)=>{if(K&&x instanceof H.HTMLElement)x.inert=n;else if(n)x.setAttribute("aria-hidden","true");else if(x.removeAttribute("aria-hidden"),x instanceof H.HTMLElement)x.inert=!1},N=new Set;if(bQ())for(let x of Q){let n=x;while(n&&n!==W){let r=n.getRootNode();if("shadowRoot"in r)N.add(r.shadowRoot);n=r.parentNode}}let F=(x)=>{for(let ZZ of x.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))A.add(ZZ);let n=(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(x),x,NodeFilter.SHOW_ELEMENT,{acceptNode:n}),JZ=n(x);if(JZ===NodeFilter.FILTER_ACCEPT)R(x);if(JZ!==NodeFilter.FILTER_REJECT){let ZZ=r.nextNode();while(ZZ!=null)R(ZZ),ZZ=r.nextNode()}},R=(x)=>{let n=YB.get(x)??0;if(O(x)&&n===0)return;if(n===0)I(x,!0);L.add(x),YB.set(x,n+1)};if(_J.length)_J[_J.length-1].disconnect();F(W);let j=new MutationObserver((x)=>{for(let n of x){if(n.type!=="childList")continue;if(n.target.isConnected&&![...A,...L].some((r)=>XX(r,n.target))){for(let r of n.addedNodes)if((r instanceof HTMLElement||r instanceof SVGElement)&&$R(r))A.add(r);else if(r instanceof Element)F(r)}if(bQ()){for(let r of N)if(!r.isConnected){j.disconnect();break}}}});j.observe(W,{childList:!0,subtree:!0});let h=new Set;if(bQ())for(let x of N){let n=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)F(ZZ)}if(bQ()){for(let ZZ of N)if(!ZZ.isConnected){j.disconnect();break}}}});n.observe(x,{childList:!0,subtree:!0}),h.add(n)}let g={visibleNodes:A,hiddenNodes:L,observe(){j.observe(W,{childList:!0,subtree:!0})},disconnect(){j.disconnect()}};return _J.push(g),()=>{if(j.disconnect(),bQ())for(let x of h)x.disconnect();for(let x of L){let n=YB.get(x);if(n==null)continue;if(n===1)I(x,!1),YB.delete(x);else YB.set(x,n-1)}if(g===_J[_J.length-1]){if(_J.pop(),_J.length)_J[_J.length-1].observe()}else _J.splice(_J.indexOf(g),1)}}var zv,YB,_J;var ER=P(()=>{B6();EY();dX();QO();zv=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;YB=new WeakMap,_J=[]});function xR(Q){let{ref:q,onInteractOutside:H,isDisabled:_,onInteractOutsideStart:W}=Q,K=sO.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),A=kY((O)=>{if(H&&kR(O,q)){if(W)W(O);K.current.isPointerDown=!0}}),L=kY((O)=>{if(H)H(O)});sO.useEffect(()=>{let O=K.current;if(_)return;let I=q.current,N=cZ(I);if(typeof PointerEvent<"u"){let F=(R)=>{if(O.isPointerDown&&kR(R,q))L(R);O.isPointerDown=!1};return N.addEventListener("pointerdown",A,!0),N.addEventListener("click",F,!0),()=>{N.removeEventListener("pointerdown",A,!0),N.removeEventListener("click",F,!0)}}},[q,_])}function kR(Q,q){if(Q.button>0)return!1;let H=LZ(Q);if(H){let _=H.ownerDocument;if(!_||!XX(_.documentElement,H))return!1;if(H.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();RH();sO=f(XZ(),1)});function vR(Q,q){let{onClose:H,shouldCloseOnBlur:_,isOpen:W,isDismissable:K=!1,isKeyboardDismissDisabled:A=!1,shouldCloseOnInteractOutside:L}=Q,O=aO.useRef(void 0);aO.useEffect(()=>{if(W&&!Aq.includes(q))return Aq.push(q),()=>{let h=Aq.indexOf(q);if(h>=0)Aq.splice(h,1)}},[W,q]);let I=()=>{if(Aq[Aq.length-1]===q&&H)H()},N=(h)=>{let g=Aq[Aq.length-1];if(O.current=g,!L||L(LZ(h))){if(g===q)h.stopPropagation()}},F=(h)=>{if(!L||L(LZ(h))){if(Aq[Aq.length-1]===q)h.stopPropagation();if(O.current===q)I()}O.current=void 0},R=(h)=>{if(h.key==="Escape"&&!A&&!h.nativeEvent.isComposing)h.stopPropagation(),h.preventDefault(),I()};xR({ref:q,onInteractOutside:K&&W?F:void 0,onInteractOutsideStart:N});let{focusWithinProps:j}=KW({isDisabled:!_,onBlurWithin:(h)=>{if(!h.relatedTarget||iV(h.relatedTarget))return;if(!L||L(h.relatedTarget))H?.()}});return{overlayProps:{onKeyDown:R,...j},underlayProps:{}}}var aO,Aq;var hR=P(()=>{dX();aK();wO();yR();aO=f(XZ(),1),Aq=[]});function mR(Q={}){let{isDisabled:q}=Q;dZ(()=>{if(q)return;if(rO++,rO===1)if(PJ())D6=_v();else D6=Hv();return()=>{if(rO--,rO===0)D6()}},[q])}function Hv(){let Q=window.innerWidth-document.documentElement.clientWidth;return VJ(Q>0&&("scrollbarGutter"in document.documentElement.style?oO(document.documentElement,"scrollbarGutter","stable"):oO(document.documentElement,"paddingRight",`${Q}px`)),oO(document.documentElement,"overflow","hidden"))}function _v(){let Q=oO(document.documentElement,"overflow","hidden"),q,H=!1,_=(N)=>{let F=LZ(N);q=Lq(F)?F:ZB(F,!0),H=!1;let R=F.ownerDocument.defaultView.getSelection();if(R&&!R.isCollapsed&&R.containsNode(F,!0))H=!0;if(N.composedPath().some((j)=>j instanceof HTMLInputElement&&j.type==="range"))H=!0;if("selectionStart"in F&&"selectionEnd"in F&&F.selectionStart<F.selectionEnd&&F.ownerDocument.activeElement===F)H=!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||H)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 F=LZ(N),R=N.relatedTarget;if(R&&SH(R))R.focus({preventScroll:!0}),bR(R,SH(F));else if(!R)F.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},O=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(N){let F=BX(),R=F!=null&&SH(F);if(O.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=O}}function oO(Q,q,H){let _=Q.style[q];return Q.style[q]=H,()=>{Q.style[q]=_}}function $6(Q,q,H,_){return Q.addEventListener(q,H,_),()=>{Q.removeEventListener(q,H,_)}}function bR(Q,q){if(q||!QB)gR(Q);else QB.addEventListener("resize",()=>gR(Q),{once:!0})}function gR(Q){let q=document.scrollingElement||document.documentElement,H=Q;while(H&&H!==q){let _=ZB(H);if(_!==document.documentElement&&_!==document.body&&_!==H){let W=_.getBoundingClientRect(),K=H.getBoundingClientRect();if(K.top<W.top||K.bottom>W.top+H.clientHeight){let A=W.bottom;if(QB)A=Math.min(A,QB.offsetTop+QB.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"})}}H=_.parentElement}}var QB,rO=0,D6;var fR=P(()=>{ZW();dX();v3();j6();qJ();oK();$Y();nK();QB=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 rR=P(()=>{m6={};m6={dismiss:"Hylkää"}});var f6;var oR=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 r6;var zj=P(()=>{r6={};r6={dismiss:"Negeren"}});var o6;var Hj=P(()=>{o6={};o6={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 Fj=P(()=>{G5={};G5={dismiss:"Kapat"}});var z5;var Mj=P(()=>{z5={};z5={dismiss:"Скасувати"}});var H5;var Nj=P(()=>{H5={};H5={dismiss:"取消"}});var _5;var Ij=P(()=>{_5={};_5={dismiss:"關閉"}});var W5;var Tj=P(()=>{uR();dR();cR();pR();lR();iR();nR();sR();aR();rR();oR();tR();eR();Zj();Xj();Yj();Qj();Jj();qj();Gj();zj();Hj();_j();Wj();Uj();Kj();Bj();Lj();Aj();Oj();Fj();Mj();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":r6,"pl-PL":o6,"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":z5,"zh-CN":H5,"zh-TW":_5}});function Wv(Q){return Q&&Q.__esModule?Q.default:Q}function K5(Q){let{onDismiss:q,...H}=Q,_=PV(Wv(W5),"@react-aria/overlays"),W=Qz(H,_.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();CK();DV();QV();U5=f(XZ(),1)});function Vj({children:Q}){let q=yH.useMemo(()=>({register:()=>{}}),[]);return yH.default.createElement(hK.Provider,{value:q},Q)}var yH;var Rj=P(()=>{h3();yH=f(XZ(),1)});function jj(){return JB.useContext(Uv)??{}}var JB,Uv;var Cj=P(()=>{JB=f(XZ(),1),Uv=JB.createContext({})});function B5(Q){let q=oY(),{portalContainer:H=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)H=L();if(!H)return null;let O=Q.children;if(!Q.disableFocusManagement)O=SJ.default.createElement(pV,{restoreFocus:!0,contain:(Q.shouldContainFocus||W)&&!_},O);return O=SJ.default.createElement(Dj.Provider,{value:A},SJ.default.createElement(Vj,null,O)),Pj.default.createPortal(O,H)}function $j(){let q=SJ.useContext(Dj)?.setContain;dZ(()=>{q?.(!0)},[q])}var SJ,Pj,Dj;var L5=P(()=>{Rj();aK();Zz();$Y();Cj();SJ=f(XZ(),1),Pj=f(sq(),1),Dj=SJ.default.createContext(null)});var Sj=P(()=>{wj();L5()});function A5(Q){let[q,H]=DH(Q.isOpen,Q.defaultOpen||!1,Q.onOpenChange),_=tO.useCallback(()=>{H(!0)},[H]),W=tO.useCallback(()=>{H(!1)},[H]),K=tO.useCallback(()=>{H(!q)},[H,q]);return{isOpen:q,setOpen:H,open:_,close:W,toggle:K}}var tO;var Ej=P(()=>{PO();tO=f(XZ(),1)});var kj=P(()=>{Ej()});function CW(Q,q=!0){let[H,_]=jW.useState(!0),W=H&&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[H,_]=jW.useState(q?"open":"closed");switch(H){case"open":if(!q)_("exiting");break;case"closed":case"exiting":if(q)_("open");break}let W=H==="exiting";return yj(Q,W,jW.useCallback(()=>{_((K)=>K==="exiting"?"closed":K)},[])),W}function yj(Q,q,H){dZ(()=>{if(q&&Q.current){if(!("getAnimations"in Q.current)){H();return}let _=Q.current.getAnimations();if(_.length===0){H();return}let W=!1;return Promise.allSettled(_.map((K)=>K.finished)).then(()=>{if(!W)xj.flushSync(()=>{H()})}),()=>{W=!0}}},[Q,q,H])}var xj,jW;var vj=P(()=>{$Y();xj=f(sq(),1),jW=f(XZ(),1)});var O5=P(()=>{vj()});var eO,hj;var bj=P(()=>{eO=f(XZ(),1),hj=eO.createContext({})});var gj;var mj=P(()=>{gj=new WeakMap});function M5(Q,q,H){let{id:_,key:W,closeOnSelect:K,shouldCloseOnSelect:A,isVirtualized:L,"aria-haspopup":O,onPressStart:I,onPressUp:N,onPress:F,onPressChange:R,onPressEnd:j,onClick:h,onHoverStart:g,onHoverChange:x,onHoverEnd:n,onKeyDown:r,onKeyUp:JZ,onFocus:ZZ,onFocusChange:UZ,onBlur:xZ,selectionManager:GZ=q.selectionManager}=Q,l=!!O,FZ=l&&Q["aria-expanded"]==="true",s=Q.isDisabled??GZ.isDisabled(W),wZ=Q.isSelected??GZ.isSelected(W),KZ=gj.get(q),HZ=q.collection.getItem(W),b=Q.onClose||KZ.onClose,u=MH(),E=()=>{if(l)return;if(HZ?.props?.onAction)HZ.props.onAction();else if(Q.onAction)Q.onAction(W);if(KZ.onAction){let $Z=KZ.onAction;$Z(W)}},m="menuitem";if(!l){if(GZ.selectionMode==="single")m="menuitemradio";else if(GZ.selectionMode==="multiple")m="menuitemcheckbox"}let e=_q(),p=_q(),w=_q(),o={id:_,"aria-disabled":s||void 0,role:m,"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":O,"aria-expanded":Q["aria-expanded"]};if(GZ.selectionMode!=="none"&&!l)o["aria-checked"]=wZ;if(L){let $Z=Number(HZ?.index);o["aria-posinset"]=Number.isNaN($Z)?void 0:$Z+1,o["aria-setsize"]=eK(q.collection)}let OZ=F5.useRef(!1),VZ=($Z)=>{R?.($Z),OZ.current=$Z},vZ=F5.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)=>{h?.($Z),E(),Iw($Z,u,HZ.props.href,HZ?.props.routerOptions);let Iq=vZ.current?.pointerType==="keyboard"?vZ.current?.key==="Enter"||GZ.selectionMode==="none"||GZ.isLink(W):GZ.selectionMode!=="multiple"||GZ.isLink(W);if(Iq=A??K??Iq,b&&!l&&Iq)b();vZ.current=null},{itemProps:YX,isFocused:TX}=VW({id:_,selectionManager:GZ,key:W,ref:H,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:KZ.shouldUseVirtualFocus}),{pressProps:LX,isPressed:Nq}=Wz({onPressStart:I,onPress:F,onPressUp:JX,onPressChange:VZ,onPressEnd:j,isDisabled:s}),{hoverProps:BZ}=xY({isDisabled:s,onHoverStart($Z){if(!Kq()&&!(FZ&&O))GZ.setFocused(!0),GZ.setFocusedKey(W);g?.($Z)},onHoverChange:x,onHoverEnd:n}),{keyboardProps:OQ}=VH({onKeyDown:($Z)=>{if($Z.repeat){$Z.continuePropagation();return}switch($Z.key){case" ":vZ.current={pointerType:"keyboard",key:" "},LZ($Z).click(),yK("keyboard");break;case"Enter":if(vZ.current={pointerType:"keyboard",key:"Enter"},LZ($Z).tagName!=="A")LZ($Z).click();yK("keyboard");break;default:if(!l)$Z.continuePropagation();r?.($Z);break}},onKeyUp:JZ}),{focusableProps:FQ}=zz({onBlur:xZ,onFocus:ZZ,onFocusChange:UZ},H),vY=zX(HZ?.props);delete vY.id;let rX=zW(HZ?.props);return{menuItemProps:{...o,...PZ(vY,rX,l?{onFocus:YX.onFocus,"data-collection":YX["data-collection"],"data-key":YX["data-key"]}:YX,LX,BZ,OQ,FQ,KZ.shouldUseVirtualFocus||l?{onMouseDown:($Z)=>$Z.preventDefault()}:void 0,s?void 0:{onClick:IZ}),tabIndex:YX.tabIndex!=null&&FZ&&!KZ.shouldUseVirtualFocus?-1:YX.tabIndex},labelProps:{id:e},descriptionProps:{id:p},keyboardShortcutProps:{id:w},isFocused:TX,isFocusVisible:TX&&GZ.isFocused&&Kq()&&!FZ,isSelected:wZ,isPressed:Nq,isDisabled:s}}var F5;var fj=P(()=>{Yz();dX();Jz();qz();mj();SY();_W();RO();FO();mK();nO();JJ();w6();F5=f(XZ(),1)});var uj=P(()=>{fj()});var BQ,cj,Kv,Bv,dj,vH;var pj=P(()=>{WQ();G6();bj();fO();AW();uj();iK();pK();Uq();RJ();CH();YW();BQ=f(XZ(),1),cj=BQ.createContext(null),Kv=BQ.createContext(null);Bv=class Bv extends mQ{static{this.type="submenutrigger"}filter(Q,q,H){let _=Q.getItem(this.firstChildKey);if(_&&H(_.textValue,this)){let W=this.clone();return q.addDescendants(W,Q),W}return null}};dj=BQ.createContext(null),vH=Bq(NW,function(q,H,_){[q,H]=fX(q,H,dj);let W=LH(dj)?.id,K=BQ.useContext(cj),A=_Q(H),L=BQ.useContext(Kv),{isVirtualized:O}=BQ.useContext(lK),{menuItemProps:I,labelProps:N,descriptionProps:F,keyboardShortcutProps:R,...j}=M5({...q,id:W,key:_.key,selectionManager:L,isVirtualized:O},K,A),{hoverProps:h,isHovered:g}=xY({isDisabled:j.isDisabled}),x=yX({...q,id:void 0,children:_.rendered,defaultClassName:"react-aria-MenuItem",values:{...j,isHovered:g,isFocusVisible:j.isFocusVisible,selectionMode:L.selectionMode,selectionBehavior:L.selectionBehavior,hasSubmenu:!!q["aria-haspopup"],isOpen:q["aria-expanded"]==="true"}}),n=q.href?AX.a:AX.div,r=zX(q,{global:!0});return delete r.id,delete r.onClick,BQ.default.createElement(n,{...PZ(r,x,I,h),ref:A,"data-disabled":j.isDisabled||void 0,"data-hovered":g||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:[[Kz,{slots:{[BH]:N,label:N,description:F}}],[hj,R],[wW,{isSelected:j.isSelected}]]},x.children))})});var DW,ZF;var lj=P(()=>{DW=f(XZ(),1),ZF=DW.createContext(null)});var ij=P(()=>{PO()});function N5(Q,q){let{inputElementType:H="input",isDisabled:_=!1,isRequired:W=!1,isReadOnly:K=!1,type:A="text",validationBehavior:L="aria"}=Q,[O,I]=DH(Q.value,Q.defaultValue||"",Q.onChange),{focusableProps:N}=zz(Q,q),F=s3({...Q,value:O}),{isInvalid:R,validationErrors:j,validationDetails:h}=F.displayValidation,{labelProps:g,fieldProps:x,descriptionProps:n,errorMessageProps:r}=sw({...Q,isInvalid:R,errorMessage:Q.errorMessage||j}),JZ=zX(Q,{labelable:!0}),ZZ={type:A,pattern:Q.pattern},[UZ]=XF.useState(O);return ow(q,Q.defaultValue??UZ,I),ew(Q,F,q),{labelProps:g,inputProps:PZ(JZ,H==="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:O,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(XF.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,...x}),descriptionProps:n,errorMessageProps:r,isInvalid:R,validationErrors:j,validationDetails:h}}var XF;var nj=P(()=>{Yz();dX();SY();aw();_W();tw();ZV();ij();lw();XF=f(XZ(),1)});function I5(Q,q,H){let{isDisabled:_}=Q,W=aX(),K=aX(),A=oY(),L=hH.useRef(null),O=hH.useCallback(()=>{L.current=requestAnimationFrame(()=>{if(H.current)H.current.setAttribute("hidden","until-found")}),sj.flushSync(()=>{q.toggle()})},[H,q]);EH(H,"beforematch",O);let I=hH.useRef(null);return dZ(()=>{if(L.current)cancelAnimationFrame(L.current);if(H.current&&!A){let N=H.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((F)=>F.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((F)=>F.finished)).then(()=>N.setAttribute("hidden","until-found")).catch(()=>{});I.current=q.isExpanded}},[_,H,q.isExpanded,A]),hH.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,hH;var aj=P(()=>{_6();JJ();Zz();$Y();sj=f(sq(),1),hH=f(XZ(),1)});var rj=P(()=>{aj()});function T5(Q){let[q,H]=DH(Q.isExpanded,Q.defaultExpanded||!1,Q.onExpandedChange),_=YF.useCallback(()=>{H(!0)},[H]),W=YF.useCallback(()=>{H(!1)},[H]),K=YF.useCallback(()=>{H(!q)},[H,q]);return{isExpanded:q,setExpanded:H,expand:_,collapse:W,toggle:K}}var YF;var oj=P(()=>{PO();YF=f(XZ(),1)});var tj=P(()=>{oj()});var yY,ej,ZC,XC,YC,w5,V5;var QC=P(()=>{d3();WQ();rj();tj();Uq();RJ();nA();BW();u3();yY=f(XZ(),1),ej=yY.createContext(null),ZC=yY.createContext(null),XC=yY.createContext(null),YC=yY.createContext(null),w5=yY.forwardRef(function(q,H){[q,H]=fX(q,H,ZC);let _=yY.useContext(ej),{id:W,...K}=q,A=aX();W||=A;let L=_?_.expandedKeys.has(W):q.isExpanded,O=T5({...q,isExpanded:L,onExpandedChange(n){if(_)_.toggleKey(W);q.onExpandedChange?.(n)}}),I=yY.default.useRef(null),N=q.isDisabled||_?.isDisabled||!1,{buttonProps:F,panelProps:R}=I5({...q,isExpanded:L,isDisabled:N},O,I),{isFocusVisible:j,focusProps:h}=gQ({within:!0}),g=yX({...q,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:O.isExpanded,isDisabled:N,isFocusVisibleWithin:j,state:O}}),x=zX(K,{global:!0});return yY.default.createElement(hQ,{values:[[uK,{slots:{[BH]:{},trigger:F}}],[YC,{panelProps:R,panelRef:I}],[XC,O]]},yY.default.createElement(AX.div,{...PZ(x,g,h),ref:H,"data-expanded":O.isExpanded||void 0,"data-disabled":N||void 0,"data-focus-visible-within":j||void 0},g.children))}),V5=yY.forwardRef(function(q,H){let{role:_="group"}=q,{panelProps:W,panelRef:K}=yY.useContext(YC),{isFocusVisible:A,focusProps:L}=gQ({within:!0}),O=yX({...q,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:A}}),I=zX(q,{global:!0,labelable:!0});return yY.default.createElement(AX.div,{...PZ(I,O,W,L),ref:Wq(H,K),role:_,"data-focus-visible-within":A||void 0},yY.default.createElement(hQ,{values:[[uK,null]]},q.children))})});function R5(Q,q,H){let{overlayProps:_,underlayProps:W}=vR({...Q,isOpen:q.isOpen,onClose:q.close},H);return mR({isDisabled:!q.isOpen}),$j(),JC.useEffect(()=>{if(q.isOpen&&H.current)return SR([H.current],{shouldUseInert:!0})},[q.isOpen,H]),{modalProps:PZ(_),underlayProps:W}}var JC;var qC=P(()=>{ER();hR();SY();L5();fR();JC=f(XZ(),1)});var GC=P(()=>{qC()});var zC=P(()=>{oK()});var HC=P(()=>{Zz()});function C5(){let Q=oY(),[q,H]=QF.useState(()=>Q?{width:0,height:0}:j5());return QF.useEffect(()=>{let _=(L)=>{H((O)=>{if(L.width===O.width&&L.height===O.height)return O;return L})},W=()=>{if(LQ&&LQ.scale>1)return;_(j5())},K,A=(L)=>{if(LQ&&LQ.scale>1)return;if(SH(LZ(L)))K=requestAnimationFrame(()=>{let O=BX();if(!O||!SH(O))_({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 QF,LQ;var _C=P(()=>{dX();qJ();Zz();nK();QF=f(XZ(),1),LQ=typeof document<"u"&&window.visualViewport});var WC=P(()=>{_C()});function Lv(Q,q){[Q,q]=fX(Q,q,KC);let H=vX.useContext(ZF),_=A5(Q),W=Q.isOpen!=null||Q.defaultOpen!=null||!H?_:H;if(W===H){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),O=PW(A,W.isOpen),I=L||O||Q.isExiting||!1,N=oY();if(!W.isOpen&&!I||N)return null;return vX.default.createElement(Av,{...Q,state:W,isExiting:I,overlayRef:K,modalRef:A})}function Av({UNSTABLE_portalContainer:Q,...q}){let H=q.modalRef,{state:_}=q,{modalProps:W,underlayProps:K}=R5(q,_,H),A=CW(q.overlayRef)||q.isEntering||!1,L=yX({...q,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:A,isExiting:q.isExiting,state:_}}),O=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,h=R.getBoundingClientRect().height%1;I=R.scrollWidth-j,N=R.scrollHeight-h}let F={...L.style,"--visual-viewport-width":O.width+"px","--visual-viewport-height":O.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,{...PZ(zX(q,{global:!0}),K),...L,style:F,ref:q.overlayRef,"data-entering":A||void 0,"data-exiting":q.isExiting||void 0},vX.default.createElement(hQ,{values:[[P5,{modalProps:W,modalRef:H,isExiting:q.isExiting,isDismissable:q.isDismissable}],[ZF,_]]},L.children)))}function UC(Q){let{modalProps:q,modalRef:H,isExiting:_,isDismissable:W}=vX.useContext(P5),K=vX.useContext(ZF),A=vX.useMemo(()=>Wq(Q.modalRef,H),[Q.modalRef,H]),L=_Q(A),O=CW(L),I=yX({...Q,defaultClassName:"react-aria-Modal",values:{isEntering:O,isExiting:_,state:K}});return vX.default.createElement(AX.div,{...PZ(zX(Q,{global:!0}),q),...I,ref:L,"data-entering":O||void 0,"data-exiting":_||void 0},W&&vX.default.createElement(K5,{onDismiss:K.close}),I.children)}var vX,KC,P5,D5,JF;var BC=P(()=>{WQ();lj();GC();Sj();Uq();zC();RJ();nA();kj();O5();HC();YW();WC();vX=f(XZ(),1),KC=vX.createContext(null),P5=vX.createContext(null),D5=vX.forwardRef(function(q,H){if(vX.useContext(P5)){if(q.onOpenChange||q.defaultOpen!==void 0||q.isOpen!==void 0){let g=new Set(["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"]),x=Object.keys(q).filter((n)=>g.has(n));console.warn(`This modal is already wrapped in a ModalOverlay, props [${x.join(", ")}] should be placed on the ModalOverlay instead.`)}return vX.default.createElement(UC,{...q,modalRef:H},q.children)}let{isDismissable:W,isKeyboardDismissDisabled:K,isOpen:A,defaultOpen:L,onOpenChange:O,children:I,isEntering:N,isExiting:F,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:j,...h}=q;return vX.default.createElement(JF,{isDismissable:W,isKeyboardDismissDisabled:K,isOpen:A,defaultOpen:L,onOpenChange:O,isEntering:N,isExiting:F,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:j},vX.default.createElement(UC,{...h,modalRef:H},I))});JF=vX.forwardRef(Lv)});function $W(Q,q,H){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`${_}-${H}-${q}`}var $5;var qF=P(()=>{$5=new WeakMap});function S5(Q,q,H){let{key:_,isDisabled:W,shouldSelectOnPressUp:K}=Q,{selectionManager:A,selectedKey:L}=q,O=_===L,I=W||q.isDisabled||q.selectionManager.isDisabled(_),N=q.collection.getItem(_),{itemProps:F,isPressed:R}=VW({selectionManager:A,key:_,ref:H,isDisabled:I,shouldSelectOnPressUp:K??N?.props.href!=null,linkBehavior:"selection"}),j=$W(q,_,"tab"),h=$W(q,_,"tabpanel"),{tabIndex:g}=F,x=zX(N?.props,{labelable:!0});delete x.id;let n=zW(N?.props),{focusableProps:r}=zz({...N?.props,isDisabled:I},H);return{tabProps:PZ(x,r,n,F,{id:j,"aria-selected":O,"aria-disabled":I||void 0,"aria-controls":O?h:void 0,tabIndex:I?void 0:g,role:"tab"}),isSelected:O,isDisabled:I,isPressed:R}}var LC=P(()=>{Yz();qF();SY();_W();Jz();nO()});function OC(Q,q){let H=q?.isDisabled,[_,W]=AC.useState(!1);return dZ(()=>{if(Q?.current&&!H){let K=()=>{if(Q.current){let L=zJ(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()}}}),H?!1:_}var AC;var FC=P(()=>{aK();$Y();AC=f(XZ(),1)});function E5(Q,q,H){let _=OC(H)?void 0:0,W=$W(q,Q.id??q?.selectedKey,"tabpanel"),K=Qz({...Q,id:W,"aria-labelledby":$W(q,q?.selectedKey,"tab")});return{tabPanelProps:PZ(K,{tabIndex:_,role:"tabpanel","aria-describedby":Q["aria-describedby"],"aria-details":Q["aria-details"]})}}var MC=P(()=>{qF();SY();FC();CK()});class k5{constructor(Q,q,H,_=new Set){this.collection=Q,this.flipDirection=q==="rtl"&&H==="horizontal",this.disabledKeys=_,this.tabDirection=H==="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,H){let{orientation:_="horizontal",keyboardActivation:W="automatic"}=Q,{collection:K,selectionManager:A,disabledKeys:L}=q,{direction:O}=JW(),I=IC.useMemo(()=>new k5(K,O,_,L),[K,L,_,O]),{collectionProps:N}=JR({ref:H,selectionManager:A,keyboardDelegate:I,selectOnFocus:W==="automatic",disallowEmptySelection:!0,scrollRef:H,linkBehavior:"selection"}),F=aX();$5.set(q,F);let R=Qz({...Q,id:F});return{tabListProps:{...PZ(N,R),role:"tablist","aria-orientation":_,tabIndex:void 0}}}var IC;var TC=P(()=>{SY();qF();NC();JJ();CK();eA();qR();IC=f(XZ(),1)});var wC=P(()=>{LC();MC();TC()});function Ov({props:Q,forwardedRef:q}){let H=IX.useContext(bH),{CollectionRoot:_}=IX.useContext(lK),{orientation:W="horizontal",keyboardActivation:K="automatic"}=LH(y5),A=_Q(q),{tabListProps:L}=x5({...Q,orientation:W,keyboardActivation:K},H,A),O=yX({...Q,children:null,defaultClassName:"react-aria-TabList",values:{orientation:W,state:H}}),I=zX(Q,{global:!0});return delete I.id,IX.default.createElement(AX.div,{...PZ(I,O,L),ref:A,"data-orientation":W||void 0},IX.default.createElement(EV,null,IX.default.createElement(_,{collection:H.collection,persistedKeys:q6(H.selectionManager.focusedKey)})))}function Fv(Q){let q=IX.useContext(bH),{id:H,tabPanelRef:_,isInitiallySelected:W,isExiting:K,...A}=Q,{tabPanelProps:L}=E5(Q,q,_),{focusProps:O,isFocused:I,isFocusVisible:N}=gQ(),F=q.selectedKey===Q.id,R=CW(_)&&!W,j=yX({...Q,defaultClassName:"react-aria-TabPanel",values:{isFocused:I,isFocusVisible:N,isInert:RW(!F),isEntering:R,isExiting:K,state:q}}),h=zX(A,{global:!0});delete h.id;let g=F?PZ(h,L,O,j):PZ(h,j);return IX.default.createElement(AX.div,{...g,ref:_,"data-focused":I||void 0,"data-focus-visible":N||void 0,inert:RW(!F||Q.inert),"data-inert":!F?"true":void 0,"data-entering":R||void 0,"data-exiting":K||void 0},IX.default.createElement(hQ,{values:[[y5,null],[bH,null]]},IX.default.createElement(lK.Provider,{value:J6},j.children)))}var IX,y5,bH,v5,VC,h5,b5;var RC=P(()=>{WQ();G6();fO();kV();wC();IR();pK();iK();QW();Uq();R6();RJ();O5();BW();CH();YW();IX=f(XZ(),1),y5=IX.createContext(null),bH=IX.createContext(null),v5=IX.forwardRef(function(q,H){return IX.useContext(bH)?IX.default.createElement(Ov,{props:q,forwardedRef:H}):IX.default.createElement(X6,q)});VC=class VC extends mQ{static{this.type="item"}};h5=Bq(VC,(Q,q,H)=>{let _=IX.useContext(bH),W=_Q(q),{tabProps:K,isSelected:A,isDisabled:L,isPressed:O}=S5({key:H.key,...Q},_,W),{focusProps:I,isFocused:N,isFocusVisible:F}=gQ(),{hoverProps:R,isHovered:j}=xY({isDisabled:L,onHoverStart:Q.onHoverStart,onHoverEnd:Q.onHoverEnd,onHoverChange:Q.onHoverChange}),h=yX({...Q,id:void 0,children:H.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:A,isDisabled:L,isFocused:N,isFocusVisible:F,isPressed:O,isHovered:j}}),g=H.props.href?AX.a:AX.div,x=zX(Q,{global:!0});return delete x.id,delete x.onClick,IX.default.createElement(g,{...PZ(x,h,K,I,R),ref:W,"data-selected":A||void 0,"data-disabled":L||void 0,"data-focused":N||void 0,"data-focus-visible":F||void 0,"data-pressed":O||void 0,"data-hovered":j||void 0},IX.default.createElement(wW.Provider,{value:{isSelected:A}},h.children))}),b5=jJ(function(q,H){let _=IX.useContext(bH),W=_Q(H),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 O=PW(W,K);if(!K&&!q.shouldForceMount&&!O)return null;return IX.default.createElement(Fv,{...q,tabPanelRef:W,isInitiallySelected:A||!1,isExiting:O})})});var SW,GF,Mv=(Q)=>{let{onHoverStart:q,onHoverChange:H,onHoverEnd:_,...W}=Q;return W},g5;var m5=P(()=>{WQ();RJ();BW();CH();SW=f(XZ(),1),GF=SW.createContext({}),g5=SW.forwardRef(function(q,H){[q,H]=fX(q,H,GF);let{hoverProps:_,isHovered:W}=xY(q),{isFocused:K,isFocusVisible:A,focusProps:L}=gQ({isTextInput:!0,autoFocus:q.autoFocus}),O=!!q["aria-invalid"]&&q["aria-invalid"]!=="false",I=yX({...q,values:{isHovered:W,isFocused:K,isFocusVisible:A,isDisabled:q.disabled||!1,isInvalid:O},defaultClassName:"react-aria-TextArea"});return SW.default.createElement(AX.textarea,{...PZ(Mv(q),L,_),...I,ref:H,"data-focused":K||void 0,"data-disabled":q.disabled||void 0,"data-hovered":W||void 0,"data-focus-visible":A||void 0,"data-invalid":O||void 0})})});var jC=P(()=>{nj()});var EJ,CC,qB;var PC=P(()=>{WQ();c3();SV();nw();qV();a3();A3();m5();AW();jC();QW();Uq();EJ=f(XZ(),1),CC=EJ.createContext(null),qB=jJ(function(q,H){[q,H]=fX(q,H,CC);let{validationBehavior:_}=LH(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"]),[O,I]=EJ.useState("input"),{labelProps:N,inputProps:F,descriptionProps:R,errorMessageProps:j,...h}=N5({...s2(q),inputElementType:O,label:L,validationBehavior:W},K),g=EJ.useCallback((r)=>{if(K.current=r,r)I(r instanceof HTMLTextAreaElement?"textarea":"input")},[K]),x=yX({...q,values:{isDisabled:q.isDisabled||!1,isInvalid:h.isInvalid,isReadOnly:q.isReadOnly||!1,isRequired:q.isRequired||!1},defaultClassName:"react-aria-TextField"}),n=zX(q,{global:!0});return delete n.id,EJ.default.createElement(AX.div,{...n,...x,ref:H,slot:q.slot||void 0,"data-disabled":q.isDisabled||void 0,"data-invalid":h.isInvalid||void 0,"data-readonly":q.isReadOnly||void 0,"data-required":q.isRequired||void 0},EJ.default.createElement(hQ,{values:[[rA,{...N,ref:A}],[SO,{...F,ref:g}],[GF,{...F,ref:g}],[JV,{role:"presentation",isInvalid:h.isInvalid,isDisabled:q.isDisabled||!1}],[Kz,{slots:{description:R,errorMessage:j}}],[dK,h]]},x.children))})});class GB{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 H="_"+Math.random().toString(36).slice(2),_={...q,content:Q,key:H,timer:q.timeout?new $C(()=>this.close(H),q.timeout):void 0};return this.queue.unshift(_),this.updateVisibleToasts("add"),H}close(Q){let q=this.queue.findIndex((H)=>H.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,Nv;var SC=P(()=>{DC=f(XZ(),1),Nv=f(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 jZ;var u5=P(()=>{WJ();NY();jZ=mZ(PH,{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((Tv)=>{var gH=f(XZ());(function(){function Q(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===s?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case g:return"Fragment";case n:return"Profiler";case x:return"StrictMode";case UZ:return"Suspense";case xZ:return"SuspenseList";case FZ: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 h: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 GZ: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 H(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===g)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 O(){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:O}):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(HZ(IZ)){for(VZ=0;VZ<IZ.length;VZ++)F(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 F(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&&(H(OZ),IZ=""+OZ),A(o)&&(H(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 F(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"),h=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),n=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"),GZ=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),FZ=Symbol.for("react.activity"),s=Symbol.for("react.client.reference"),wZ=gH.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,KZ=Object.prototype.hasOwnProperty,HZ=Array.isArray,b=console.createTask?console.createTask:function(){return null};gH={react_stack_bottom_frame:function(w){return w()}};var u,E={},m=gH.react_stack_bottom_frame.bind(gH,K)(),e=b(_(K)),p={};Tv.Fragment=g,Tv.jsxDEV=function(w,o,OZ,VZ){var vZ=1e4>wZ.recentlyCreatedOwnerStacks++;return N(w,o,OZ,VZ,vZ?Error("react-stack-top-frame"):m,vZ?b(_(w)):e)}})()});var EW,wv,zY=({label:Q,description:q,errorMessage:H,placeholder:_,size:W,...K})=>EW.jsxDEV(qB,{...K,className:"flex w-full flex-col gap-2",children:[EW.jsxDEV(OH,{className:"text-heading5 font-medium text-fg",children:Q},void 0,!1,void 0,this),EW.jsxDEV(wv,{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:H},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var hC=P(()=>{WJ();NY();EW=f(DZ(),1),wv=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,Vv,zF=({label:Q,description:q,errorMessage:H,placeholder:_,rows:W,...K})=>kW.jsxDEV(qB,{...K,className:"flex w-full flex-col gap-2",children:[kW.jsxDEV(OH,{className:"text-sm font-medium text-fg",children:Q},void 0,!1,void 0,this),kW.jsxDEV(Vv,{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:H},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var bC=P(()=>{WJ();NY();kW=f(DZ(),1),Vv=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=f(DZ(),1)});var Rv;var fC=P(()=>{Rv=f(DZ(),1)});var jv;var uC=P(()=>{jv=f(DZ(),1)});var Cv,rYZ,oYZ;var dC=P(()=>{WJ();NY();Cv=f(DZ(),1),rYZ=mZ(PH,{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(XB,{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,JQZ,qQZ;var pC=P(()=>{WJ();NY();cC=f(DZ(),1),JQZ=mZ(JF,{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"}),qQZ=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 Dv,_QZ,WQZ;var lC=P(()=>{WJ();NY();Dv=f(DZ(),1),_QZ=mZ(vH,{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"}}}),WQZ=mZ(U6,{displayName:"DropdownMenuSeparator",baseClass:"my-2 h-px border-0 bg-border"})});var HF,iC,LQZ;var nC=P(()=>{WJ();NY();HF=f(XZ(),1),iC=f(DZ(),1),LQZ=mZ(vH,{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 $v;var c5=P(()=>{$v=f(DZ(),1)});var sC,TQZ;var aC=P(()=>{WJ();sC=f(DZ(),1),TQZ=new GB({maxVisibleToasts:5})});var jQZ,CQZ;var rC=P(()=>{WJ();NY();jQZ=mZ(w5,{displayName:"Disclosure"}),CQZ=mZ(V5,{displayName:"DisclosurePanel"})});var SQZ,EQZ,kQZ;var oC=P(()=>{WJ();NY();SQZ=mZ(v5,{displayName:"TabList",baseClass:"flex gap-2 border-b border-border"}),EQZ=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"}),kQZ=mZ(b5,{displayName:"TabPanel",baseClass:"py-4 text-sm text-fg outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring"})});var Sv;var tC=P(()=>{u5();Sv=f(DZ(),1)});var Ev;var eC=P(()=>{Ev=f(DZ(),1)});var gQZ,mQZ;var ZP=P(()=>{NY();gQZ=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"}}),mQZ=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 kv;var XP=P(()=>{c5();kv=f(DZ(),1)});var iQZ;var YP=P(()=>{NY();iQZ=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 aQZ;var QP=P(()=>{NY();aQZ=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 tQZ;var JP=P(()=>{NY();tQZ=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,xv,XJZ,YJZ,QJZ;var GP=P(()=>{NY();qP=f(XZ(),1),xv=f(DZ(),1),XJZ=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]"}),YJZ=mZ("aside",{displayName:"AppShell.Sidebar",baseClass:"h-full w-64 shrink-0 overflow-y-auto border-r border-border bg-surface"}),QJZ=mZ("main",{displayName:"AppShell.Main",baseClass:"min-w-0 flex-1 bg-surface px-6 pb-6 pt-6"})});var zP,yv,vv,hv,bv=(Q)=>zP.jsxDEV(hv,{...Q},void 0,!1,void 0,this),gv,mv,HJZ,_JZ,WJZ;var HP=P(()=>{WJ();NY();zP=f(DZ(),1),yv=mZ("header",{displayName:"Topbar",baseClass:"flex h-14 w-full items-center gap-5 border-b border-border"}),vv=mZ("div",{displayName:"Topbar.Brand",baseClass:"flex min-w-0 items-center gap-3 text-compact leading-4 font-medium tracking-tight text-fg"}),hv=mZ("nav",{displayName:"Topbar.Nav",baseClass:"ml-auto flex min-w-0 items-center gap-2 overflow-x-auto"}),gv=mZ("div",{displayName:"Topbar.Actions",baseClass:"ml-auto flex items-center gap-4"}),mv=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(XB,{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"}),_JZ=mZ(vH,{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"}),WJZ=Object.assign(yv,{Brand:vv,Nav:bv,NavLink:mv,Actions:gv})});var fv,uv,BJZ;var _P=P(()=>{NY();fv=f(XZ(),1),uv=f(DZ(),1),BJZ=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();rC();oC();tC();eC();ZP();XP();YP();QP();JP();GP();HP();_P()});function _F(Q){try{let q=String(Q).split(".")[1];if(!q)return!1;let H=JSON.parse(atob(q.replace(/-/g,"+").replace(/_/g,"/")));return typeof H.exp==="number"&&Date.now()>=H.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&&_F(this.cfg.token))return this.onExpired(),new Promise(()=>{});let H=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 H.json()}catch{throw new xW(`non-JSON response (HTTP ${H.status})`,"bad_response",H.status)}if(_.ok!==!0){let W=_.error??`request failed (HTTP ${H.status})`,K=H.status===403?" — check your token has an editor/reviewer role":"";throw new xW(W+K,_.code??"error",H.status)}return _.result}async put(Q,q,H){let _=Q.startsWith("http")?Q:`${this.base()}${Q}`,W=await fetch(_,{method:"PUT",headers:{"content-type":H},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",H=await this.call("signMediaUpload",{contentType:q,filename:Q.name});return await this.put(H.url,await Q.arrayBuffer(),q),this.call("createMedia",{ref:H.ref,alt:Q.name})}}var xW,p5="pramen.cmsEditor";var i5=P(()=>{xW=class xW extends Error{code;status;constructor(Q,q,H){super(Q);this.code=q;this.status=H;this.name="ApiError"}}});function n5(){KP(),location.replace(zB)}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,H]=eY.useState(WP()),[_,W]=eY.useState(null),[K,A]=eY.useState([]),[L,O]=eY.useState(""),I=Boolean(q.baseUrl&&q.token)&&!_F(q.token),N=eY.useMemo(()=>new l5(q,zB?n5:void 0),[q]);if(eY.useEffect(()=>{if(!zB)return;let R=()=>{if(!q.token||_F(q.token))n5()};R();let j=()=>{if(!document.hidden)R()},h=window.setInterval(R,30000);return window.addEventListener("visibilitychange",j),window.addEventListener("focus",R),()=>{window.clearInterval(h),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 zB?null:AQ.jsxDEV(dv,{cfg:q,onSave:(R)=>{UP(R),H(R)}},void 0,!1,void 0,this);let F={api:N,cfg:q,me:_,isAdmin:(_?.roles??[]).includes("admin"),collections:K,error:L,setError:O,reconfigure:()=>{if(zB){n5();return}W(null),O(""),H({...q,token:""})}};return AQ.jsxDEV(BP,{value:F,children:Q},void 0,!1,void 0,this)}function dv({cfg:Q,onSave:q}){let[H,_]=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(zY,{label:"Worker base URL",value:H.baseUrl,onChange:(W)=>_({...H,baseUrl:W}),placeholder:"https://your-worker.workers.dev"},void 0,!1,void 0,this),AQ.jsxDEV(zY,{label:"Tenant",value:H.tenant,onChange:(W)=>_({...H,tenant:W}),placeholder:"main"},void 0,!1,void 0,this),AQ.jsxDEV(zY,{label:"Bearer token (editor or reviewer)",value:H.token,onChange:(W)=>_({...H,token:W}),placeholder:"eyJ…"},void 0,!1,void 0,this),AQ.jsxDEV(jZ,{className:"mt-2 w-full",onPress:()=>q(H),isDisabled:!H.baseUrl||!H.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,zB,BP;var Fq=P(()=>{Oq();i5();eY=f(XZ(),1),AQ=f(DZ(),1),zB=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:H,api:_}){let W=(K,A)=>H({...q,[K]:A});return NZ.jsxDEV("div",{className:"flex flex-col gap-4",children:Q.map((K)=>NZ.jsxDEV(cv,{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 cv({def:Q,value:q,onChange:H,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(zY,{label:W,value:q??"",onChange:H,placeholder:Q.type==="url"?"https://…":""},void 0,!1,void 0,this);case"textarea":return NZ.jsxDEV(zF,{label:W,value:typeof q==="string"?q:q==null?"":JSON.stringify(q),onChange:H},void 0,!1,void 0,this);case"richtext":return NZ.jsxDEV(yW,{label:W,children:NZ.jsxDEV(iv,{value:typeof q==="string"?q:"",onChange:H},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)=>H(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)=>H(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)=>H(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(sv,{def:Q,value:q,onChange:H,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"media":return NZ.jsxDEV(yW,{label:W,children:NZ.jsxDEV(av,{value:q,onChange:H,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:H,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"repeater":return NZ.jsxDEV(nv,{def:Q,value:q??[],onChange:H,api:_,label:W},void 0,!1,void 0,this);default:return null}}function lv(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 iv({value:Q,onChange:q}){let H=ZQ.useRef(null),_=ZQ.useRef("");ZQ.useEffect(()=>{let L=H.current;if(L&&Q!==_.current)L.innerHTML=AP(Q||""),_.current=Q||""},[Q]);let W=()=>{let L=AP(H.current?.innerHTML??"");_.current=L,q(L)},K=(L,O)=>{H.current?.focus(),document.execCommand(L,!1,O),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:pv.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:(O)=>O.preventDefault(),onClick:()=>L.run(K),children:L.label},L.label,!1,void 0,this))},void 0,!1,void 0,this),NZ.jsxDEV("div",{ref:H,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 nv({def:Q,value:q,onChange:H,api:_,label:W}){let K=Array.isArray(q)?q:[],A=(N,F)=>H(K.map((R,j)=>j===N?F:R)),L=()=>H([...K,{}]),O=(N)=>H(K.filter((F,R)=>R!==N)),I=(N,F)=>{let R=N+F;if(R<0||R>=K.length)return;let j=K.slice();[j[N],j[R]]=[j[R],j[N]],H(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,F)=>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(jZ,{variant:"ghost",size:"sm",onPress:()=>I(F,-1),children:"↑"},void 0,!1,void 0,this),NZ.jsxDEV(jZ,{variant:"ghost",size:"sm",onPress:()=>I(F,1),children:"↓"},void 0,!1,void 0,this),NZ.jsxDEV(jZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:()=>O(F),children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),NZ.jsxDEV(vW,{schema:Q.fields??[],value:N,onChange:(R)=>A(F,R),api:_},void 0,!1,void 0,this)]},F,!0,void 0,this)),NZ.jsxDEV(jZ,{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 sv({def:Q,value:q,onChange:H,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,O=A?W??[]:(Q.options??[]).map((I)=>({value:I,label:I}));return NZ.jsxDEV("select",{className:a5,value:q??"",onChange:(I)=>H(I.target.value||null),children:[NZ.jsxDEV("option",{value:"",children:L?"Načítám…":"—"},void 0,!1,void 0,this),O.map((I)=>NZ.jsxDEV("option",{value:I.value,children:I.label},I.value,!1,void 0,this))]},void 0,!0,void 0,this)}function av({value:Q,onChange:q,api:H}){let[_,W]=ZQ.useState(!1),[K,A]=ZQ.useState(null);return ZQ.useEffect(()=>{if(Q)H.call("getMedia",{id:Q}).then(A).catch(()=>A(null));else A(null)},[Q,H]),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:H.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(jZ,{variant:"secondary",size:"sm",onPress:()=>W(!0),children:"pick"},void 0,!1,void 0,this),Q?NZ.jsxDEV(jZ,{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(rv,{api:H,onClose:()=>W(!1),onPick:(L)=>{q(L),W(!1)}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function rv({api:Q,onClose:q,onPick:H}){let[_,W]=ZQ.useState([]),[K,A]=ZQ.useState(!1),[L,O]=ZQ.useState(""),I=()=>Q.listMedia().then(W).catch((F)=>O(String(F.message??F)));ZQ.useEffect(()=>{I()},[]);let N=async(F)=>{A(!0),O("");try{let R=await Q.uploadMedia(F);H(R.id)}catch(R){O(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:(F)=>F.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:(F)=>F.target.files?.[0]&&N(F.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((F)=>NZ.jsxDEV("div",{className:"cursor-pointer overflow-hidden rounded-lg border border-border bg-surface-card",onClick:()=>H(F.id),children:[(F.file.contentType??"").startsWith("image/")?NZ.jsxDEV("img",{className:"block h-[130px] w-full object-cover",src:Q.resolve(`/media/${F.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:F.file.filename??F.id},void 0,!1,void 0,this)]},F.id,!0,void 0,this))},void 0,!1,void 0,this),NZ.jsxDEV("div",{className:"mt-3 text-right",children:NZ.jsxDEV(jZ,{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",pv;var OP=P(()=>{Oq();ZQ=f(XZ(),1),NZ=f(DZ(),1);pv=[{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 H=lv(q);if(!H){window.alert("Only http(s), mailto, tel, or relative (/, #) links are allowed.");return}Q("createLink",H)}},{label:"Unlink",title:"Remove link",run:(Q)=>Q("unlink")},{label:"Clear",title:"Clear formatting",run:(Q)=>Q("removeFormat")}]});function _B({lead:Q,em:q,children:H}){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),H]},void 0,!0,void 0,this)}function WF({text:Q,em:q,children:H}){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),H]},void 0,!0,void 0,this)}function Mq({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 fH({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 o5({onClose:Q,wide:q,children:H}){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:H},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 UF({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 TP({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 WB({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 wP({api:Q,pages:q,blockTypes:H,onOpen:_,onCreated:W,onError:K}){let[A,L]=qZ.useState(!1);return C.jsxDEV(C.Fragment,{children:[C.jsxDEV(_B,{lead:"Pages",em:q.length===0?"None yet":q.length===1?"1 page total":`${q.length} pages total`,children:C.jsxDEV(WF,{text:"Let's",em:"create something",children:C.jsxDEV(jZ,{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((O)=>C.jsxDEV("div",{className:`${mH} cursor-pointer hover:bg-surface-muted`,onClick:()=>_(O),children:[C.jsxDEV("span",{className:"flex-1 truncate font-medium",children:O.title},void 0,!1,void 0,this),C.jsxDEV("span",{className:"text-fg-subtle",children:["/",O.slug]},void 0,!0,void 0,this),C.jsxDEV("span",{className:"text-fg-subtle",children:O.locale},void 0,!1,void 0,this),C.jsxDEV(fH,{status:O.status,children:O.status},void 0,!1,void 0,this)]},O.id,!0,void 0,this)),q.length===0?C.jsxDEV("p",{className:"text-fg-subtle",children:["No pages yet. ",H.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:H,onError:_}){let[W,K]=qZ.useState([]),[A,L]=qZ.useState(""),[O,I]=qZ.useState(""),[N,F]=qZ.useState("");qZ.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:O,slug:N||IP(O)}),H()}catch(j){_(WX(j))}};return C.jsxDEV(o5,{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(zY,{label:"Title",value:O,onChange:I},void 0,!1,void 0,this),C.jsxDEV(zY,{label:"Slug",value:N,onChange:F,placeholder:IP(O)},void 0,!1,void 0,this),C.jsxDEV("div",{className:"mt-2 flex justify-end gap-2",children:[C.jsxDEV(jZ,{variant:"ghost",onPress:q,children:"cancel"},void 0,!1,void 0,this),C.jsxDEV(jZ,{onPress:R,isDisabled:!A||!O,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 FP(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 VP({api:Q,def:q,onOpen:H,onNew:_,onError:W}){let[K,A]=qZ.useState([]),[L,O]=qZ.useState(0),[I,N]=qZ.useState(!1),[F,R]=qZ.useState(!0),j=qZ.useCallback((g)=>{return R(!0),Q.call("collectionList",{collection:q.slug,limit:MP,offset:g}).then((x)=>{A((n)=>g===0?x:[...n,...x]),N(x.length===MP),O(g+x.length)}).catch((x)=>W(WX(x))).finally(()=>R(!1))},[Q,q.slug,W]);qZ.useEffect(()=>{A([]),O(0),N(!1),j(0)},[j]);let h=(g)=>q.fields.find((x)=>x.name===g)?.label??g;return C.jsxDEV(C.Fragment,{children:[C.jsxDEV(_B,{lead:q.pluralLabel,em:K.length===0?"None yet":K.length===1?`1 ${q.label.toLowerCase()}`:`${K.length}${I?"+":""} ${q.pluralLabel.toLowerCase()}`,children:C.jsxDEV(WF,{text:"Let's",em:`add a ${q.label.toLowerCase()}`,children:C.jsxDEV(jZ,{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((g)=>{let x=String(g[q.idField]??""),[n,...r]=q.list;return C.jsxDEV("div",{className:`${mH} cursor-pointer hover:bg-surface-muted`,onClick:()=>H(x),children:[C.jsxDEV("span",{className:"flex-1 truncate font-medium",children:FP(g[n??q.titleField])||C.jsxDEV(HB,{children:"untitled"},void 0,!1,void 0,this)},void 0,!1,void 0,this),r.map((JZ)=>C.jsxDEV("span",{className:"truncate text-fg-subtle",title:h(JZ),children:FP(g[JZ])},JZ,!1,void 0,this))]},x,!0,void 0,this)}),!F&&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,F?C.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),I&&!F?C.jsxDEV("div",{className:"mt-3.5 text-center",children:C.jsxDEV(jZ,{variant:"secondary",size:"sm",onPress:()=>void j(L),children:"Load more"},void 0,!1,void 0,this)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function RP({api:Q,def:q,id:H,onSaved:_,onDeleted:W,onBack:K,onError:A}){let L=H===null,[O,I]=qZ.useState({}),[N,F]=qZ.useState(!L),[R,j]=qZ.useState(!1),[h,g]=qZ.useState(!1),[x,n]=qZ.useState(!1);qZ.useEffect(()=>{if(L){I({});return}let ZZ=!0;return F(!0),j(!1),Q.call("collectionGet",{collection:q.slug,id:H}).then((UZ)=>{if(!ZZ)return;if(UZ)I(UZ);else j(!0)}).catch((UZ)=>A(WX(UZ))).finally(()=>{if(ZZ)F(!1)}),()=>{ZZ=!1}},[Q,q.slug,H,L,A]);let r=async()=>{g(!0);try{if(L)await Q.call("collectionCreate",{collection:q.slug,values:O}),_();else{let ZZ=await Q.call("collectionUpdate",{collection:q.slug,id:H,values:O});if(ZZ)I(ZZ);n(!0),setTimeout(()=>n(!1),1200)}}catch(ZZ){A(WX(ZZ))}finally{g(!1)}},JZ=async()=>{if(L||!confirm(`Delete this ${q.label.toLowerCase()}? This cannot be undone.`))return;g(!0);try{await Q.call("collectionDelete",{collection:q.slug,id:H}),W()}catch(ZZ){A(WX(ZZ))}finally{g(!1)}};return C.jsxDEV("div",{className:hW,children:[C.jsxDEV("div",{className:"mb-4 mt-2 flex items-center gap-3",children:[C.jsxDEV(jZ,{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:[x?C.jsxDEV(WB,{ok:!0,children:"saved"},void 0,!1,void 0,this):null,C.jsxDEV(vW,{schema:q.fields,value:O,onChange:I,api:Q},void 0,!1,void 0,this),C.jsxDEV("div",{className:"mt-2 flex items-center gap-2",children:[C.jsxDEV(jZ,{onPress:r,isDisabled:h,children:h?"Saving…":L?"Create":"Save"},void 0,!1,void 0,this),!L?C.jsxDEV(jZ,{variant:"ghost",className:"text-danger",onPress:JZ,isDisabled:h,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 jP({api:Q,page:q,blockTypes:H,tab:_,onTab:W,onBack:K,onChange:A}){let[L,O]=qZ.useState(null),[I,N]=qZ.useState(null),[F,R]=qZ.useState(""),j=qZ.useRef(new Set),[h,g]=qZ.useState(0),x=qZ.useCallback((E,m)=>{let e=j.current;if(m?e.has(E):!e.has(E))return;if(m)e.add(E);else e.delete(E);g(e.size)},[]),n=()=>j.current.size===0||window.confirm(`You have unsaved changes in ${j.current.size} block${j.current.size===1?"":"s"}. Leave without saving?`),r=qZ.useMemo(()=>new Map(H.map((E)=>[E.slug,E])),[H]),JZ=qZ.useCallback(async()=>{try{let[E,m]=await Promise.all([Q.getContentType(q.typeId),Q.getPagePreview(q.slug,q.locale)]);O(E??null),N(m)}catch(E){R(WX(E))}},[Q,q.typeId,q.slug,q.locale]);qZ.useEffect(()=>{JZ()},[JZ]),qZ.useEffect(()=>{if(h===0)return;let E=(m)=>{m.preventDefault(),m.returnValue=""};return window.addEventListener("beforeunload",E),()=>window.removeEventListener("beforeunload",E)},[h]);let ZZ=L?.regions??[],UZ=(E,m)=>N((e)=>e?{...e,regions:{...e.regions,[E]:m(e.regions[E]??[])}}:e),xZ=async(E,m)=>{let e=`tmp:${crypto.randomUUID()}`;UZ(E,(p)=>[...p,{id:e,block_id:e,block_type:m,title:null,fields:{},is_shared:!1,pending:!0}]);try{let{block:p,placement:w}=await Q.call("addBlock",{pageId:q.id,blockTypeSlug:m,region:E,fields:{}}),o={id:String(w.id),block_id:String(p.id),block_type:m,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))}},GZ=async(E)=>{try{await Q.call("removeBlock",{pageBlockId:E.id}),await JZ()}catch(m){R(WX(m))}},l=async(E,m)=>{try{await Q.call("reorderRegion",{pageId:q.id,region:E,order:m}),await JZ()}catch(e){R(WX(e))}},FZ=qZ.useCallback((E,m)=>{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:m}:OZ);return{...e,regions:p}})},[]),[s,wZ]=qZ.useState(null),KZ=(E,m)=>wZ({region:E,from:m,over:m}),HZ=(E,m)=>wZ((e)=>e&&e.region===E&&e.over!==m?{...e,over:m}:e),b=()=>wZ(null),u=(E)=>{if(wZ(null),!s||s.region!==E||s.from===s.over)return;let m=(I?.regions[E]??[]).map((p)=>p.id),[e]=m.splice(s.from,1);m.splice(s.over,0,e),l(E,m)};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(jZ,{variant:"ghost",size:"sm",onPress:()=>{if(n())K()},children:"← all pages"},void 0,!1,void 0,this),h>0?C.jsxDEV("p",{className:"mt-2 text-[11px] text-accent-strong",children:["● ",h," unsaved block",h===1?"":"s"]},void 0,!0,void 0,this):null,C.jsxDEV(Mq,{children:"Regions"},void 0,!1,void 0,this),ZZ.map((E)=>C.jsxDEV("div",{className:`${mH} 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(Mq,{children:"Status"},void 0,!1,void 0,this),C.jsxDEV("div",{className:mH,children:[C.jsxDEV("span",{className:"flex-1 truncate font-medium",children:q.title},void 0,!1,void 0,this),C.jsxDEV(fH,{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:[F?C.jsxDEV(WB,{children:F},void 0,!1,void 0,this):null,ZZ.map((E)=>{let m=I?.regions[E.name]??[],e=E.allowedTypes&&E.allowedTypes.length?E.allowedTypes:H.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),m.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,m.map((p,w)=>C.jsxDEV(tv,{api:Q,block:p,blockType:r.get(p.block_type),isFirst:w===0,isLast:w===m.length-1,onMove:(o)=>Lh(m,E.name,w,o,l),onRemove:()=>GZ(p),onPatch:FZ,onDirtyChange:x,onError:R,dragging:s?.region===E.name&&s.from===w,isOver:!!s&&s.region===E.name&&s.over===w&&s.from!==w,onDragStartBlock:()=>KZ(E.name,w),onDragOverBlock:()=>HZ(E.name,w),onDropBlock:()=>u(E.name),onDragEndBlock:b},p.id,!1,void 0,this)),C.jsxDEV(ev,{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:r5.map((E)=>C.jsxDEV(jZ,{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(Zh,{api:Q,page:q,ct:L,initialFields:I?.page.fields??{},onSaved:A,onError:R},void 0,!1,void 0,this):null,_==="seo"?C.jsxDEV(Xh,{api:Q,page:q,onError:R},void 0,!1,void 0,this):null,_==="workflow"?C.jsxDEV(Yh,{api:Q,page:q,onChanged:(E)=>{A(E)},onError:R},void 0,!1,void 0,this):null,_==="i18n"?C.jsxDEV(Qh,{api:Q,page:q,onError:R},void 0,!1,void 0,this):null,_==="audit"?C.jsxDEV(Jh,{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 tv({api:Q,block:q,blockType:H,isFirst:_,isLast:W,onMove:K,onRemove:A,onPatch:L,onDirtyChange:O,onError:I,dragging:N,isOver:F,onDragStartBlock:R,onDragOverBlock:j,onDropBlock:h,onDragEndBlock:g}){let[x,n]=qZ.useState(null),[r,JZ]=qZ.useState(!1),[ZZ,UZ]=qZ.useState("idle"),xZ=qZ.useRef(""),GZ=qZ.useRef(null),l=q.block_id,FZ=q.id;qZ.useEffect(()=>{if(q.pending){n({}),xZ.current="{}";return}let u=!0;return Q.call("getBlock",{blockId:l}).then((E)=>{if(!u)return;let m=E?.fields??{};n(m),xZ.current=JSON.stringify(m)}).catch((E)=>I(WX(E))),()=>{u=!1}},[Q,l,I,q.pending]);let s=x!=null&&JSON.stringify(x)!==xZ.current,wZ=qZ.useCallback(async()=>{if(q.pending||x==null)return;let u=JSON.stringify(x);if(u===xZ.current)return;UZ("saving");try{await Q.call("updateBlock",{blockId:l,fields:x}),xZ.current=u,L(FZ,x),UZ("saved"),setTimeout(()=>UZ((E)=>E==="saved"?"idle":E),1500)}catch(E){I(WX(E)),UZ("idle")}},[Q,l,FZ,x,L,I,q.pending]),KZ=(u)=>n(u);qZ.useEffect(()=>{O(FZ,s)},[s,FZ,O]),qZ.useEffect(()=>()=>{O(FZ,!1)},[FZ,O]);let HZ=H?.fieldsSchema??[],b=H?.name??q.block_type;return C.jsxDEV("div",{ref:GZ,className:`mb-2.5 rounded-panel border bg-surface-card transition-colors ${F?"border-brand-green":"border-border"} ${N?"opacity-40":""} ${q.pending?"pointer-events-none opacity-60":""}`,onDragOver:(u)=>{u.preventDefault(),j()},onDrop:(u)=>{u.preventDefault(),h()},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(GZ.current)u.dataTransfer.setDragImage(GZ.current,12,12);u.dataTransfer.effectAllowed="move",u.dataTransfer.setData("text/plain",""),R()},onDragEnd:g,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:b},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] ${s&&ZZ!=="saving"?"text-accent-strong":"text-fg-subtle"}`,children:ZZ==="saving"?"saving…":ZZ==="saved"?"saved ✓":s?"● unsaved":""},void 0,!1,void 0,this),C.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),C.jsxDEV(jZ,{variant:"ghost",size:"sm",isDisabled:_,onPress:()=>K(-1),children:"↑"},void 0,!1,void 0,this),C.jsxDEV(jZ,{variant:"ghost",size:"sm",isDisabled:W,onPress:()=>K(1),children:"↓"},void 0,!1,void 0,this),C.jsxDEV(jZ,{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:x==null?"…":Bh(x)||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:x==null?C.jsxDEV("p",{className:"text-sm text-fg-subtle",children:"loading…"},void 0,!1,void 0,this):HZ.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:HZ,value:x,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(jZ,{size:"sm",onPress:()=>void wZ(),isDisabled:!s||ZZ==="saving"||q.pending,children:ZZ==="saving"?"Saving…":"Save"},void 0,!1,void 0,this),s?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 ev({allowed:Q,btBySlug:q,onAdd:H}){let[_,W]=qZ.useState(!1);if(!_)return C.jsxDEV(jZ,{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(jZ,{variant:"ghost",size:"sm",onPress:()=>{H(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(jZ,{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 Zh({api:Q,page:q,ct:H,initialFields:_,onSaved:W,onError:K}){let[A,L]=qZ.useState(q.title),[O,I]=qZ.useState(q.slug),[N,F]=qZ.useState(q.locale),[R,j]=qZ.useState(_),[h,g]=qZ.useState(!1),[x,n]=qZ.useState(!1),r=H?.fieldsSchema??[];qZ.useEffect(()=>{L(q.title),I(q.slug),F(q.locale)},[q.id,q.title,q.slug,q.locale]),qZ.useEffect(()=>{j(_)},[_]);let JZ=async()=>{n(!0);try{let ZZ=await Q.call("updatePage",{pageId:q.id,title:A,slug:O,locale:N,...r.length?{fields:R}:{}});if(ZZ?.page)W(ZZ.page);g(!0),setTimeout(()=>g(!1),1500)}catch(ZZ){K(WX(ZZ))}finally{n(!1)}};return C.jsxDEV("div",{className:"flex flex-col gap-4",children:[C.jsxDEV(Mq,{children:"Page"},void 0,!1,void 0,this),h?C.jsxDEV(WB,{ok:!0,children:"saved"},void 0,!1,void 0,this):null,C.jsxDEV(zY,{label:"Title",value:A,onChange:L},void 0,!1,void 0,this),C.jsxDEV(zY,{label:"Slug",value:O,onChange:I},void 0,!1,void 0,this),C.jsxDEV(zY,{label:"Locale",value:N,onChange:F},void 0,!1,void 0,this),r.length?C.jsxDEV(C.Fragment,{children:[C.jsxDEV(Mq,{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(jZ,{onPress:JZ,isDisabled:x||!A.trim()||!O.trim(),children:x?"Saving…":"Save"},void 0,!1,void 0,this),C.jsxDEV(UF,{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 Xh({api:Q,page:q,onError:H}){let[_,W]=qZ.useState({metaTitle:q.metaTitle??"",metaDescription:q.metaDescription??"",canonicalUrl:q.canonicalUrl??"",robots:q.robots??"",ogTitle:q.ogTitle??"",ogDescription:q.ogDescription??""}),[K,A]=qZ.useState(!1),L=async()=>{try{await Q.call("updatePageSeo",{pageId:q.id,..._}),A(!0),setTimeout(()=>A(!1),1500)}catch(I){H(WX(I))}},O=(I,N,F=!1)=>F?C.jsxDEV(zF,{label:N,value:_[I],onChange:(R)=>W({..._,[I]:R})},void 0,!1,void 0,this):C.jsxDEV(zY,{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(Mq,{children:"SEO"},void 0,!1,void 0,this),K?C.jsxDEV(WB,{ok:!0,children:"saved"},void 0,!1,void 0,this):null,O("metaTitle","Meta title"),O("metaDescription","Meta description",!0),O("canonicalUrl","Canonical URL"),O("robots","Robots (e.g. noindex)"),O("ogTitle","OG title"),O("ogDescription","OG description",!0),C.jsxDEV(jZ,{className:"w-full",onPress:L,children:"Save SEO"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Yh({api:Q,page:q,onChanged:H,onError:_}){let W=async(L,O)=>{try{let I=await Q.call(L,{pageId:q.id,...O});if(I?.page)H(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(Mq,{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(fH,{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(jZ,{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 Qh({api:Q,page:q,onError:H}){let[_,W]=qZ.useState([]),[K,A]=qZ.useState(""),L=qZ.useCallback(()=>Q.call("listTranslations",{pageId:q.id}).then(W).catch((I)=>H(WX(I))),[Q,q.id,H]);qZ.useEffect(()=>{L()},[L]);let O=async()=>{try{await Q.call("createTranslation",{pageId:q.id,locale:K}),A(""),L()}catch(I){H(WX(I))}};return C.jsxDEV("div",{children:[C.jsxDEV(Mq,{children:"Translations"},void 0,!1,void 0,this),C.jsxDEV("div",{className:"flex flex-col gap-2",children:_.map((I)=>C.jsxDEV("div",{className:mH,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(fH,{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(zY,{label:"",value:K,onChange:A,placeholder:"locale (e.g. cs)"},void 0,!1,void 0,this),C.jsxDEV(jZ,{variant:"secondary",onPress:O,isDisabled:!K,children:"add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Jh({api:Q,pageId:q,onError:H}){let[_,W]=qZ.useState([]);return qZ.useEffect(()=>{Q.listPageAudit(q).then(W).catch((K)=>H(WX(K)))},[Q,q,H]),C.jsxDEV("div",{children:[C.jsxDEV(Mq,{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:`${mH} 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 CP({api:Q,onError:q}){let[H,_]=qZ.useState([]),[W,K]=qZ.useState(0),[A,L]=qZ.useState(!1),[O,I]=qZ.useState(null),[N,F]=qZ.useState(!1),R=qZ.useCallback((h)=>{Q.listMedia(NP,h).then((g)=>{_((x)=>h===0?g:[...x,...g]),L(g.length===NP),K(h+g.length)}).catch((g)=>q(WX(g)))},[Q,q]);qZ.useEffect(()=>{R(0)},[R]);let j=async(h)=>{if(!h?.length)return;F(!0),q("");try{for(let g of Array.from(h))await Q.uploadMedia(g);R(0)}catch(g){q(WX(g))}finally{F(!1)}};return C.jsxDEV(C.Fragment,{children:[C.jsxDEV(_B,{lead:"Media",em:H.length===0?"None yet":H.length===1?"1 file":`${H.length}${A?"+":""} files`,children:C.jsxDEV(WF,{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:(h)=>{j(h.target.files),h.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:[H.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:H.map((h)=>C.jsxDEV("div",{className:`cursor-pointer overflow-hidden rounded-lg border bg-surface-card ${O?.id===h.id?"border-fg":"border-border"}`,onClick:()=>I(h),children:[$P(h)?C.jsxDEV("img",{className:"block h-[130px] w-full object-cover",src:Q.resolve(`/media/${h.file.key}`),alt:h.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:SP(h)},void 0,!1,void 0,this),C.jsxDEV("div",{className:"truncate px-2 py-1.5 text-[11px] text-fg-muted",children:h.file.filename??h.id},void 0,!1,void 0,this)]},h.id,!0,void 0,this))},void 0,!1,void 0,this),A?C.jsxDEV("div",{className:"mt-3.5 text-center",children:C.jsxDEV(jZ,{variant:"secondary",size:"sm",onPress:()=>R(W),children:"Load more"},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,O?C.jsxDEV(qh,{api:Q,media:O,onClose:()=>I(null),onSaved:(h)=>{I(h),_((g)=>g.map((x)=>x.id===h.id?h:x))},onDeleted:(h)=>{I(null),_((g)=>g.filter((x)=>x.id!==h))},onError:q},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function qh({api:Q,media:q,onClose:H,onSaved:_,onDeleted:W,onError:K}){let[A,L]=qZ.useState(q.alt??""),[O,I]=qZ.useState(!1);qZ.useEffect(()=>L(q.alt??""),[q]);let N=Q.resolve(`/media/${q.file.key}`),F=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(o5,{onClose:H,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),$P(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:SP(q)},void 0,!1,void 0,this),C.jsxDEV("div",{className:"mb-4",children:C.jsxDEV(zY,{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(UF,{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:Uh(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(jZ,{onPress:F,isDisabled:O||A===(q.alt??""),children:"Save"},void 0,!1,void 0,this),C.jsxDEV(jZ,{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(jZ,{variant:"ghost",className:"text-danger",onPress:R,isDisabled:O,children:"Delete"},void 0,!1,void 0,this),C.jsxDEV(jZ,{variant:"ghost",onPress:H,children:"Close"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Gh(Q){let q=Q.roles;if(Array.isArray(q))return q.filter((H)=>typeof H==="string");if(typeof q==="string")try{let H=JSON.parse(q);return Array.isArray(H)?H:[]}catch{return[]}return[]}function PP({api:Q,me:q,onError:H}){let[_,W]=qZ.useState([]),[K,A]=qZ.useState(!1),[L,O]=qZ.useState(""),I=qZ.useCallback(()=>{Q.call("listUsers",{limit:200}).then(W).catch((j)=>H(WX(j)))},[Q,H]);qZ.useEffect(()=>{I()},[I]);let N=async(j,h)=>{O(j.username);try{await Q.call("setUserRoles",{username:j.username,roles:h}),I()}catch(g){H(WX(g))}finally{O("")}},F=async(j,h)=>{O(j.username);try{await Q.call("setUserActive",{username:j.username,active:h}),I()}catch(g){H(WX(g))}finally{O("")}},R=async(j)=>{if(!confirm(`Delete user ${j.username}? This cannot be undone.`))return;O(j.username);try{await Q.call("deleteUser",{username:j.username}),I()}catch(h){H(WX(h))}finally{O("")}};return C.jsxDEV(C.Fragment,{children:[C.jsxDEV(_B,{lead:"Users",em:_.length===0?"None yet":_.length===1?"1 account":`${_.length} accounts`,children:C.jsxDEV(WF,{text:"Let's",em:"invite someone",children:C.jsxDEV(jZ,{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 h=Gh(j),g=q?.userId===j.username,x=j.active===void 0||j.active===null?!0:Boolean(Number(j.active));return C.jsxDEV("div",{className:`${mH} 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,g?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(zh,{value:h,disabled:L===j.username,onSave:(n)=>N(j,n)},void 0,!1,void 0,this),C.jsxDEV(fH,{status:x?"active":"inactive",children:x?"active":"inactive"},void 0,!1,void 0,this),C.jsxDEV(jZ,{variant:"ghost",size:"sm",isDisabled:L===j.username||g,onPress:()=>F(j,!x),children:x?"Deactivate":"Activate"},void 0,!1,void 0,this),C.jsxDEV(jZ,{variant:"ghost",size:"sm",className:"text-danger",isDisabled:L===j.username||g,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:H},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function zh({value:Q,disabled:q,onSave:H}){let[_,W]=qZ.useState(Q.join(", ")),[K,A]=qZ.useState(!1);qZ.useEffect(()=>{W(Q.join(", "))},[Q]);let L=()=>{A(!1);let O=_.split(",").map((I)=>I.trim()).filter(Boolean);if(O.length===0){W(Q.join(", "));return}if(O.length===Q.length&&O.every((I,N)=>I===Q[N]))return;H(O)};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:(O)=>W(O.target.value),onBlur:L,onKeyDown:(O)=>{if(O.key==="Enter")L();if(O.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(fH,{children:"no roles"},void 0,!1,void 0,this):Q.map((O)=>C.jsxDEV(fH,{status:O==="admin"?"published":void 0,children:O},O,!1,void 0,this))},void 0,!1,void 0,this)}function Hh({api:Q,onClose:q,onInvited:H,onError:_}){let[W,K]=qZ.useState(""),[A,L]=qZ.useState("editor"),[O,I]=qZ.useState(!1);return C.jsxDEV(o5,{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(zY,{label:"Email",type:"email",autoFocus:!0,value:W,onChange:K,placeholder:"them@example.com"},void 0,!1,void 0,this),C.jsxDEV(zY,{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(jZ,{variant:"ghost",onPress:q,children:"Cancel"},void 0,!1,void 0,this),C.jsxDEV(jZ,{onPress:async()=>{I(!0);try{let F=A.split(",").map((R)=>R.trim()).filter(Boolean);await Q.call("inviteUser",{email:W,roles:F}),H()}catch(F){_(WX(F))}finally{I(!1)}},isDisabled:O||!W,children:O?"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 DP({api:Q,cfg:q,me:H,onSignOut:_,onError:W}){return C.jsxDEV(C.Fragment,{children:[C.jsxDEV(_B,{lead:"Settings",em:H?.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(_h,{api:Q,me:H,onError:W,onSignOut:_},void 0,!1,void 0,this),C.jsxDEV(Wh,{cfg:q,me:H},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function _h({api:Q,me:q,onError:H,onSignOut:_}){let[W,K]=qZ.useState(""),[A,L]=qZ.useState(""),[O,I]=qZ.useState(""),[N,F]=qZ.useState(""),[R,j]=qZ.useState(!1),h=(n)=>{F(n),setTimeout(()=>F(""),1800)},g=async()=>{j(!0);try{await Q.call("changeEmail",{email:W}),K(""),h("Contact email updated")}catch(n){H(WX(n))}finally{j(!1)}},x=async()=>{j(!0);try{await Q.call("changePassword",{currentPassword:A,newPassword:O}),L(""),I(""),h("Password updated")}catch(n){H(WX(n))}finally{j(!1)}};return C.jsxDEV(TP,{children:[C.jsxDEV(Mq,{children:"My account"},void 0,!1,void 0,this),N?C.jsxDEV(WB,{ok:!0,children:N},void 0,!1,void 0,this):null,C.jsxDEV(UF,{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(zY,{label:"Change contact email",type:"email",value:W,onChange:K,placeholder:"you@example.com"},void 0,!1,void 0,this),C.jsxDEV(jZ,{className:"w-full",onPress:g,isDisabled:R||!W,children:"Save email"},void 0,!1,void 0,this),C.jsxDEV(zY,{label:"Current password",type:"password",value:A,onChange:L,autoComplete:"current-password"},void 0,!1,void 0,this),C.jsxDEV(zY,{label:"New password (at least 8 characters)",type:"password",value:O,onChange:I,autoComplete:"new-password"},void 0,!1,void 0,this),C.jsxDEV(jZ,{className:"w-full",onPress:x,isDisabled:R||O.length<8||A.length===0,children:"Change password"},void 0,!1,void 0,this),C.jsxDEV(jZ,{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 Wh({cfg:Q,me:q}){return C.jsxDEV(TP,{children:[C.jsxDEV(Mq,{children:"About"},void 0,!1,void 0,this),C.jsxDEV(UF,{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 $P(Q){return(Q.file.contentType??"").startsWith("image/")}function SP(Q){let q=(Q.file.contentType??"").split("/")[1];return(Q.file.filename?.split(".").pop()??q??"file").slice(0,5).toUpperCase()}function Uh(Q){if(!Q||Q<=0)return"—";let q=["B","KB","MB","GB"],H=0,_=Q;while(_>=1024&&H<q.length-1)_/=1024,H++;return`${_<10&&H>0?_.toFixed(1):Math.round(_)} ${q[H]}`}function WX(Q){if(Q instanceof xW)return Q.message;return Q instanceof Error?Q.message:String(Q)}function IP(Q){return Q.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function Kh(Q){return Q.replace(/<[^>]*>/g," ").replace(/ /g," ").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\s+/g," ").trim()}function Bh(Q){let q=Object.values(Q).find((_)=>typeof _==="string"&&_.trim());if(typeof q!=="string")return"";let H=Kh(q);return H.length>90?H.slice(0,90)+"…":H}function Lh(Q,q,H,_,W){let K=H+_;if(K<0||K>=Q.length)return;let A=Q.map((L)=>L.id);[A[H],A[K]]=[A[K],A[H]],W(q,A)}var qZ,C,r5,mH="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),MP=50,NP=60;var Az=P(()=>{Oq();i5();OP();qZ=f(XZ(),1),C=f(DZ(),1),r5=["settings","seo","workflow","i18n","audit"]});var EP={};rG(EP,{default:()=>Ah});var UB,Ah;var kP=P(()=>{QJ();Oq();Fq();Az();UB=f(DZ(),1),Ah=DY().params({slug:"string",id:"string"}).route("/collections/:slug/:id").render(function({params:q}){let{api:H,collections:_,setError:W}=uY(),K=fY(),A=_.find((O)=>O.slug===q.slug),L=()=>K("collection",{params:{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(jZ,{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(RP,{api:H,def:A,id:q.id==="new"?null:q.id,onSaved:L,onDeleted:L,onBack:L,onError:W},void 0,!1,void 0,this)})});var xP={};rG(xP,{default:()=>Oh});var KB,Oh;var yP=P(()=>{QJ();Oq();Fq();Az();KB=f(DZ(),1),Oh=DY().params({slug:"string"}).route("/collections/:slug").render(function({params:q}){let{api:H,collections:_,setError:W}=uY(),K=fY(),A=_.find((L)=>L.slug===q.slug);if(!A)return KB.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[KB.jsxDEV("p",{className:"text-fg-subtle",children:_.length===0?"Loading…":`Unknown collection: ${q.slug}`},void 0,!1,void 0,this),_.length>0?KB.jsxDEV(jZ,{variant:"ghost",size:"sm",onPress:()=>K("home"),children:"← Pages"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this);return KB.jsxDEV(VP,{api:H,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 vP={};rG(vP,{default:()=>Fh});var bW,hP,Fh;var bP=P(()=>{QJ();Fq();Az();bW=f(XZ(),1),hP=f(DZ(),1),Fh=DY().route("/").render(function(){let{api:q,setError:H,collections:_}=uY(),W=fY(),[K,A]=bW.useState([]),[L,O]=bW.useState([]),I=typeof window<"u"&&window.PRAMEN_CMS_EDITOR?.hidePages===!0,N=_[0]?.slug;bW.useEffect(()=>{if(I&&N)W("collection",{params:{slug:N},replace:!0})},[I,N,W]);let F=()=>q.listPages().then(A).catch((R)=>H(WX(R)));if(bW.useEffect(()=>{if(I)return;F(),q.listBlockTypes().then(O).catch((R)=>H(WX(R)))},[q,I]),I&&N)return null;return hP.jsxDEV(wP,{api:q,pages:K,blockTypes:L,onOpen:(R)=>W("page",{params:{pageId:R.id}}),onCreated:F,onError:H},void 0,!1,void 0,this)})});var gP={};rG(gP,{default:()=>Mh});var mP,Mh;var fP=P(()=>{QJ();Fq();Az();mP=f(DZ(),1),Mh=DY().route("/media").render(function(){let{api:q,setError:H}=uY();return mP.jsxDEV(CP,{api:q,onError:H},void 0,!1,void 0,this)})});var uP={};rG(uP,{default:()=>Nh});var gW,uH,Nh;var dP=P(()=>{QJ();Oq();Fq();Az();gW=f(XZ(),1),uH=f(DZ(),1),Nh=DY().params({pageId:"string",tab:"?string"}).route("/pages/:pageId").render(function({params:q}){let{api:H,setError:_}=uY(),W=fY(),[K,A]=gW.useState(null),[L,O]=gW.useState([]),[I,N]=gW.useState(!1);gW.useEffect(()=>{let j=!0;return N(!1),H.listPages().then((h)=>{if(!j)return;let g=h.find((x)=>x.id===q.pageId)??null;A(g),N(!g)}).catch((h)=>_(WX(h))),H.listBlockTypes().then((h)=>j&&O(h)).catch((h)=>_(WX(h))),()=>{j=!1}},[H,q.pageId,_]);let F=r5.includes(q.tab)?q.tab:"settings",R=(j)=>W("page",{params:{pageId:q.pageId,tab:j},replace:!0});if(I)return uH.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[uH.jsxDEV("p",{className:"text-fg-subtle",children:"Page not found."},void 0,!1,void 0,this),uH.jsxDEV(jZ,{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 uH.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:uH.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);return uH.jsxDEV(jP,{api:H,page:K,blockTypes:L,tab:F,onTab:R,onBack:()=>W("home"),onChange:A},void 0,!1,void 0,this)})});var cP={};rG(cP,{default:()=>Ih});var pP,Ih;var lP=P(()=>{QJ();Fq();Az();pP=f(DZ(),1),Ih=DY().route("/settings").render(function(){let{api:q,cfg:H,me:_,setError:W,reconfigure:K}=uY();return pP.jsxDEV(DP,{api:q,cfg:H,me:_,onSignOut:K,onError:W},void 0,!1,void 0,this)})});var iP={};rG(iP,{default:()=>Th});var dH,Th;var nP=P(()=>{QJ();Oq();Fq();Az();dH=f(DZ(),1),Th=DY().route("/users").render(function(){let{api:q,me:H,isAdmin:_,setError:W}=uY(),K=fY();if(H===null)return dH.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:dH.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(!_)return dH.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[dH.jsxDEV("p",{className:"text-fg-subtle",children:"Admins only."},void 0,!1,void 0,this),dH.jsxDEV(jZ,{variant:"ghost",size:"sm",onPress:()=>K("home"),children:"← back to pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return dH.jsxDEV(PP,{api:q,me:H,onError:W},void 0,!1,void 0,this)})});var sP={};rG(sP,{default:()=>wh});var Oz,wh;var aP=P(()=>{QJ();Oq();Oz=f(DZ(),1),wh=DY().render(function(){let q=fY();return Oz.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:[Oz.jsxDEV("h1",{className:"m-0 text-[56px] font-normal leading-[1.05] tracking-[-0.01em] max-[820px]:text-[40px]",children:[Oz.jsxDEV("span",{className:"block text-fg-subtle",children:"Not found"},void 0,!1,void 0,this),Oz.jsxDEV("span",{className:"block text-fg",children:"Nothing lives here"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Oz.jsxDEV("div",{className:"mt-4 flex items-center gap-2",children:[Oz.jsxDEV("p",{className:"text-fg-subtle",children:"That page doesn't exist."},void 0,!1,void 0,this),Oz.jsxDEV(jZ,{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 qD=f(XZ(),1),GD=f(Y2(),1);QJ();var GG=f(XZ(),1);QJ();Oq();Fq();var KY=f(DZ(),1);function s5(){let{cfg:Q,isAdmin:q,collections:H,error:_,reconfigure:W}=uY(),K=fY(),{pathname:A}=bA(),L=A.startsWith("/collections/")?A.split("/")[2]:void 0,O=L?`col:${L}`:A.startsWith("/pages")||A==="/"?"pages":A.startsWith("/media")?"media":A.startsWith("/users")?"users":A.startsWith("/settings")?"settings":"",I=(R)=>O===R?"bg-surface-muted text-fg":"text-fg-muted",N=typeof window<"u"?window.PRAMEN_CMS_EDITOR?.extraNav??[]:[],F=typeof window<"u"?window.PRAMEN_CMS_EDITOR?.hidePages===!0:!1;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:[F?null:KY.jsxDEV(jZ,{variant:"ghost",size:"sm",className:I("pages"),onPress:()=>K("home"),children:"Pages"},void 0,!1,void 0,this),H.map((R)=>KY.jsxDEV(jZ,{variant:"ghost",size:"sm",className:I(`col:${R.slug}`),onPress:()=>K("collection",{params:{slug:R.slug}}),children:[R.icon?`${R.icon} `:"",R.pluralLabel]},R.slug,!0,void 0,this)),KY.jsxDEV(jZ,{variant:"ghost",size:"sm",className:I("media"),onPress:()=>K("media"),children:"Media"},void 0,!1,void 0,this),q?KY.jsxDEV(jZ,{variant:"ghost",size:"sm",className:I("users"),onPress:()=>K("users"),children:"Users"},void 0,!1,void 0,this):null,KY.jsxDEV(jZ,{variant:"ghost",size:"sm",className:I("settings"),onPress:()=>K("settings"),children:"Settings"},void 0,!1,void 0,this),N.map((R)=>KY.jsxDEV("a",{href:R.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:R.label},R.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(jZ,{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(o_,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var rP=()=>Promise.resolve().then(() => (kP(),EP)).then((Q)=>({default:Q.default.component})),oP=()=>Promise.resolve().then(() => (yP(),xP)).then((Q)=>({default:Q.default.component})),tP=()=>Promise.resolve().then(() => (bP(),vP)).then((Q)=>({default:Q.default.component})),eP=()=>Promise.resolve().then(() => (fP(),gP)).then((Q)=>({default:Q.default.component})),ZD=()=>Promise.resolve().then(() => (dP(),uP)).then((Q)=>({default:Q.default.component})),XD=()=>Promise.resolve().then(() => (lP(),cP)).then((Q)=>({default:Q.default.component})),YD=()=>Promise.resolve().then(() => (nP(),iP)).then((Q)=>({default:Q.default.component})),QD=()=>Promise.resolve().then(() => (aP(),sP)).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"},Vh=[{path:"/",component:s5,isLayout:!0,children:[{path:"/collection-item",matchPath:"/collections/:slug/:id",component:GG.lazy(rP),preload:rP},{path:"/collection",matchPath:"/collections/:slug",component:GG.lazy(oP),preload:oP},{path:"/home",matchPath:"/",component:GG.lazy(tP),preload:tP},{path:"/media",component:GG.lazy(eP),preload:eP},{path:"/page",matchPath:"/pages/:pageId",component:GG.lazy(ZD),preload:ZD},{path:"/settings",component:GG.lazy(XD),preload:XD},{path:"/users",component:GG.lazy(YD),preload:YD},{path:"/:__notFound+",component:GG.lazy(QD),preload:QD}]}],Z8=e9(Vh);Fq();var KF=f(DZ(),1),JD=document.getElementById("app");if(JD)GD.createRoot(JD).render(KF.jsxDEV(qD.StrictMode,{children:KF.jsxDEV(LP,{children:KF.jsxDEV(hA,{routes:Z8,pageRegistry:e5},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this));
|