@pramen/cms-editor 0.0.21 → 0.0.23
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/README.md +17 -0
- package/dist/app.css +1 -0
- package/dist/index.html +3 -1
- package/dist/main.54b274dt.js +251 -0
- package/dist/tokens.css +68 -0
- package/package.json +10 -2
- package/src/app-context.tsx +86 -0
- package/src/app.css +3 -0
- package/src/buzola.gen.ts +78 -0
- package/src/components.tsx +851 -0
- package/src/fields.tsx +83 -92
- package/src/main.tsx +13 -6
- package/src/routes/_404.tsx +20 -0
- package/src/routes/_layout.tsx +48 -0
- package/src/routes/home.tsx +34 -0
- package/src/routes/media.tsx +12 -0
- package/src/routes/page.tsx +62 -0
- package/src/routes/settings.tsx +12 -0
- package/src/routes/users.tsx +26 -0
- package/src/virtual-modules.d.ts +6 -0
- package/dist/main.43fpw937.js +0 -405
- package/src/app.tsx +0 -969
- package/src/styles.ts +0 -176
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
var CE=Object.create;var{getPrototypeOf:DE,defineProperty:d9,getOwnPropertyNames:PE}=Object;var $E=Object.prototype.hasOwnProperty;function SE(J){return this[J]}var EE,kE,g=(J,q,z)=>{var _=J!=null&&typeof J==="object";if(_){var W=q?EE??=new WeakMap:kE??=new WeakMap,K=W.get(J);if(K)return K}z=J!=null?CE(DE(J)):{};let A=q||!J||!J.__esModule?d9(z,"default",{value:J,enumerable:!0}):z;for(let L of PE(J))if(!$E.call(A,L))d9(A,L,{get:SE.bind(J,L),enumerable:!0});if(_)W.set(J,A);return A};var pq=(J,q)=>()=>(q||J((q={exports:{}}).exports,q),q.exports);var xE=(J)=>J;function yE(J,q){this[J]=xE.bind(null,q)}var p_=(J,q)=>{for(var z in q)d9(J,z,{get:q[z],enumerable:!0,configurable:!0,set:yE.bind(q,z)})};var C=(J,q)=>()=>(J&&(q=J(J=0)),q);class TA{cache=new Map;_maxSize;constructor(J){if(J<0)throw Error(`[buzola] LoaderCache maxSize must be non-negative, got ${J}`);this._maxSize=J}get maxSize(){return this._maxSize}get size(){return this.cache.size}get(J){let q=this.cache.get(J);if(q!==void 0||this.cache.has(J))this.cache.delete(J),this.cache.set(J,q);return q}has(J){return this.cache.has(J)}set(J,q){this.cache.delete(J),this.cache.set(J,q);while(this.cache.size>this._maxSize){let z=this.cache.keys().next().value;this.cache.delete(z)}}delete(J){this.cache.delete(J)}clear(){this.cache.clear()}}function l_(J,q){let z=q.pathname,_=z.split("/").filter(Boolean);return c9(J.root,_,0,{},z)}function c9(J,q,z,_,W){if(z===q.length){if(J.route)return xT(J.route.chain,_,W);return null}let K=q[z],A=J.staticChildren.get(K);if(A){let L=c9(A,q,z+1,_,W);if(L)return L}if(J.dynamicChild){let L={..._,[J.dynamicChild.paramName]:decodeURIComponent(K)},F=c9(J.dynamicChild.node,q,z+1,L,W);if(F)return F}if(J.catchAllChild){let L=q.slice(z).map((T)=>decodeURIComponent(T)).join("/"),F={..._,[J.catchAllChild.paramName]:L};return xT(J.catchAllChild.chain,F,W)}return null}function xT(J,q,z){return J.map((_)=>({node:_,params:q,pathname:z}))}function p9(J){let q=J.endsWith("+");return{name:q?J.slice(1,-1):J.slice(1),isCatchAll:q}}function LK(J){let q=[];for(let z of J.split("/"))if(z.startsWith(":"))q.push(p9(z).name);return q}class wA{routes;adapter;viewTransitions;_basePath;persistentParamsFn;pageRegistry;subscribers=new Set;invalidationListeners=new Set;state;navigationId=0;stopFn;blockers=new Set;pendingScrollBehavior="after-transition";_loaderCache;constructor(J){this.routes=J.routes,this.adapter=J.adapter,this.viewTransitions=J.viewTransitions??!1,this._basePath=J.basePath?J.basePath.replace(/\/$/,""):"",this.persistentParamsFn=J.persistentParams,this.pageRegistry=J.pageRegistry??{},this._loaderCache=J.loaderCacheSize?new TA(J.loaderCacheSize):void 0;let q=this.adapter.getCurrentURL(),z=this.createMatchUrl(q),_=l_(this.routes,z)??[];if(_.length===0)console.warn(`[buzola] No route matched URL "${q.pathname}". Define a catch-all 404 route to handle unmatched URLs.`);this.state={location:q,matches:_,isPending:!1,navigationState:this.adapter.getState()}}get basePath(){return this._basePath}get loaderCache(){return this._loaderCache}getState(){return this.state}subscribe(J){return this.subscribers.add(J),()=>{this.subscribers.delete(J)}}start(){let J=(z)=>{if(!z.canIntercept)return;let _=new URL(z.destination.url),W=this.createMatchUrl(_),K=l_(this.routes,W);if(!K){console.warn(`[buzola] No route matched URL "${_.pathname}". The navigation was not intercepted.`);return}let A=++this.navigationId,L=z.viewTransition||this.viewTransitions,F=this.pendingScrollBehavior;this.pendingScrollBehavior="after-transition",z.intercept({scroll:F,handler:async()=>{for(let N of this.blockers){if(this.navigationId!==A)return;if(!await N())throw new l9}if(this.setState({...this.state,isPending:!0,pendingLocation:_}),this.navigationId!==A)return;let T=()=>{this.setState({location:_,matches:K,isPending:!1,pendingLocation:void 0,navigationState:this.adapter.getState()})};if(L&&typeof document<"u"&&"startViewTransition"in document)document.startViewTransition(T);else T()}})};this.adapter.addEventListener("navigate",J);let q=()=>{this.adapter.removeEventListener("navigate",J)};return this.stopFn=q,q}navigate(J,q){if(q?.resetScroll===!1)this.pendingScrollBehavior="manual";this.adapter.navigate(this._basePath+J,q)}navigateToPage(J,q,z){let _=this.buildPagePath(J,q);this.navigate(this.stripBasePath(_),z)}buildPagePath(J,q){let z=this.pageRegistry[J];if(!z)throw Error(`[buzola] Unknown page "${J}". Is it registered in the page registry?`);let _=this.resolveParams(z,q);return this.buildPath(z,_)}preload(J,q){let z=this.buildPagePath(J,q),_=new URL(z,"http://localhost"),W=this.createMatchUrl(_),K=l_(this.routes,W);if(!K)return;for(let A of K)A.node.preload?.()}back(){this.adapter.back()}forward(){this.adapter.forward()}buildPath(J,q){let z=J.split("/"),_=[],W=[];for(let T of z)if(T.startsWith(":")){let{name:N,isCatchAll:M}=p9(T),R=q?.[N];if(R===void 0)W.push(N);else if(M)_.push(R);else _.push(encodeURIComponent(R))}else _.push(T);if(W.length>0){if(!q)throw Error(`[buzola] Missing params for path "${J}": ${W.join(", ")}`);throw Error(`[buzola] Missing param "${W[0]}" for path "${J}"`)}let K=new Set(LK(J)),A=new URLSearchParams;if(q){for(let[T,N]of Object.entries(q))if(!K.has(T)&&N!==void 0)A.set(T,N)}let L=this._basePath+_.join("/"),F=A.toString();return F?`${L}?${F}`:L}stripBasePath(J){if(this._basePath&&J.startsWith(this._basePath))return J.slice(this._basePath.length)||"/";return J}resolveParams(J,q){let z=LK(J),_=this.getCurrentParams(),W=this.persistentParamsFn?.()??{},K={};for(let A of z){let L=q?.[A]??_[A]??W[A];if(L!==void 0)K[A]=L}if(q){let A=new Set(z);for(let[L,F]of Object.entries(q))if(!A.has(L)&&F!==void 0)K[L]=F}return K}getCurrentParams(){let J={};for(let q of this.state.matches)Object.assign(J,q.params);return J}invalidateAll(){for(let J of this.invalidationListeners)J()}onInvalidate(J){return this.invalidationListeners.add(J),()=>{this.invalidationListeners.delete(J)}}addBlocker(J){return this.blockers.add(J),()=>{this.blockers.delete(J)}}dispose(){this.stopFn?.(),this.stopFn=void 0,this.subscribers.clear(),this.invalidationListeners.clear()}updateRoutes(J){this.routes=J;let q=l_(this.routes,this.createMatchUrl(this.state.location))??[];this.setState({...this.state,matches:q})}createMatchUrl(J){if(!this._basePath)return J;let q=new URL(J);return q.pathname=this.stripBasePath(q.pathname),q}setState(J){this.state=J;for(let q of this.subscribers)q(this.state)}}var l9;var i9=C(()=>{l9=class l9 extends Error{constructor(){super("Navigation aborted by blocker");this.name="NavigationAbortedError"}}});function vT(J){let{path:q,fullPath:z,component:_,searchSchema:W,preload:K,isLayout:A=!1,isIndex:L=!1}=J;return{id:`route:${z||"/"}${A?":layout":""}`,path:yT(q),fullPath:yT(z),component:_,searchSchema:W,preload:K,isLayout:A,isIndex:L}}function s9(J,q=""){let z=hT(J,q,[]),_=n9();for(let W of z)vE(_,W.pattern,W.chain);return{root:_}}function hT(J,q,z){let _=[];for(let W of J){let K=W.isPathlessGroup?"":W.path,A=W.children!=null&&W.children.length>0,L=W.isLayout??A,F=W.isIndex??(!L&&(W.path==="/"||W.path==="")),T;if(W.matchPath!=null)T=W.matchPath;else if(F)T=q||"/";else T=bE(q||"/",K);let N=vT({path:K,fullPath:T,component:W.component,searchSchema:W.searchSchema,preload:W.preload,isLayout:L,isIndex:F});if(L){let M=[...z,N];if(W.children){let R=W.isPathlessGroup?q:T;_.push(...hT(W.children,R,M))}}else _.push({pattern:T,chain:[...z,N]})}return _}function n9(){return{staticChildren:new Map}}function vE(J,q,z){let _=hE(q),W=J;for(let K=0;K<_.length;K++){let A=_[K];if(A.startsWith(":")&&(A.endsWith("+")||A.endsWith("*"))){let L=A.slice(1,-1);W.catchAllChild={paramName:L,chain:z};return}if(A.startsWith(":")){let L=A.slice(1);if(!W.dynamicChild)W.dynamicChild={paramName:L,node:n9()};W=W.dynamicChild.node}else{let L=W.staticChildren.get(A);if(!L)L=n9(),W.staticChildren.set(A,L);W=L}}W.route={chain:z}}function hE(J){return J.split("/").filter(Boolean)}function yT(J){if(J===""||J==="/")return"/";let q=J.startsWith("/")?J:`/${J}`;return q.endsWith("/")?q.slice(0,-1):q}function bE(J,q){if(q==="/")return J==="/"?"/":J;let z=J==="/"?"":J,_=q.startsWith("/")?q:`/${q}`;return z+_}function a9(){let J=window.navigation;if(!J)throw Error("Navigation API is not available. Buzola requires a browser that supports the Navigation API.");let q=new Set,z=!1,_=(W)=>{let K=z;z=!1;let A={destination:{url:W.destination.url},canIntercept:W.canIntercept,navigationType:W.navigationType,userInitiated:W.userInitiated,viewTransition:K,intercept(L){W.intercept({handler:L.handler,scroll:L.scroll})}};for(let L of q)L(A)};return{getCurrentURL(){return new URL(J.currentEntry.url)},navigate(W,K){if(K?.viewTransition)z=!0;J.navigate(W,{history:K?.replace?"replace":"push",state:K?.state})},back(){J.back()},forward(){J.forward()},addEventListener(W,K){let A=q.size===0;if(q.add(K),A)J.addEventListener("navigate",_)},removeEventListener(W,K){if(q.delete(K),q.size===0)J.removeEventListener("navigate",_)},getState(){return J.currentEntry?.getState?.()}}}function bT(J){return!("issues"in J["~standard"].validate(void 0))}function o9(J,q,z){let _=J["~standard"].validate(q);if("issues"in _)throw Error(`${z}${_.issues.map((W)=>W.message).join(", ")}`);return _.value}function gT(J){let q=J.startsWith("?"),z=q?J.slice(1):J,_=z.endsWith("[]"),W=_?z.slice(0,-2):z,K=mE[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 F=[];for(let T of L){let N=K(T);if("issues"in N)return N;F.push(N.value)}return{value:F}};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 gE,mE;var VA=C(()=>{gE=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,mE={string:(J)=>typeof J==="string"?{value:J}:{issues:[{message:"expected string"}]},number:(J)=>{let q=Number(J);return Number.isNaN(q)?{issues:[{message:"expected number"}]}:{value:q}},uuid:(J)=>typeof J==="string"&&gE.test(J)?{value:J}:{issues:[{message:"expected UUID"}]}}});var e=pq((fE,RA)=>{(function(){function J(w,m){Object.defineProperty(_.prototype,w,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",m[0],m[1])}})}function q(w){if(w===null||typeof w!=="object")return null;return w=Oq&&w[Oq]||w["@@iterator"],typeof w==="function"?w:null}function z(w,m){w=(w=w.constructor)&&(w.displayName||w.name)||"ReactClass";var XZ=w+"."+m;_Z[XZ]||(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.",m,w),_Z[XZ]=!0)}function _(w,m,XZ){this.props=w,this.context=m,this.refs=yY,this.updater=XZ||UQ}function W(){}function K(w,m,XZ){this.props=w,this.context=m,this.refs=yY,this.updater=XZ||UQ}function A(){}function L(w){return""+w}function F(w){try{L(w);var m=!1}catch(wZ){m=!0}if(m){m=console;var XZ=m.error,GZ=typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return XZ.call(m,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",GZ),L(w)}}function T(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===Fq?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case s:return"Fragment";case t:return"Profiler";case V:return"StrictMode";case JX:return"Suspense";case FZ:return"SuspenseList";case BX: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 KZ:return"Portal";case jZ:return w.displayName||"Context";case TZ:return(w._context.displayName||"Context")+".Consumer";case yZ:var m=w.render;return w=w.displayName,w||(w=m.displayName||m.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case YX:return m=w.displayName||null,m!==null?m:T(w.type)||"Memo";case TX:m=w._payload,w=w._init;try{return T(w(m))}catch(XZ){}}return null}function N(w){if(w===s)return"<>";if(typeof w==="object"&&w!==null&&w.$$typeof===TX)return"<...>";try{var m=T(w);return m?"<"+m+">":"<...>"}catch(XZ){return"<...>"}}function M(){var w=lZ.A;return w===null?null:w.getOwner()}function R(){return Error("react-stack-top-frame")}function j(w){if(fz.call(w,"key")){var m=Object.getOwnPropertyDescriptor(w,"key").get;if(m&&m.isReactWarning)return!1}return w.key!==void 0}function v(w,m){function XZ(){qB||(qB=!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)",m))}XZ.isReactWarning=!0,Object.defineProperty(w,"key",{get:XZ,configurable:!0})}function f(){var w=T(this.type);return LH[w]||(LH[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 h(w,m,XZ,GZ,wZ,fZ){var uZ=XZ.ref;return w={$$typeof:p,type:w,key:m,props:XZ,_owner:GZ},(uZ!==void 0?uZ:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:f}):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:wZ}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:fZ}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function n(w,m){return m=h(w.type,m,w.props,w._owner,w._debugStack,w._debugTask),w._store&&(m._store.validated=w._store.validated),m}function r(w){JZ(w)?w._store&&(w._store.validated=1):typeof w==="object"&&w!==null&&w.$$typeof===TX&&(w._payload.status==="fulfilled"?JZ(w._payload.value)&&w._payload.value._store&&(w._payload.value._store.validated=1):w._store&&(w._store.validated=1))}function JZ(w){return typeof w==="object"&&w!==null&&w.$$typeof===p}function qZ(w){var m={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(XZ){return m[XZ]})}function IZ(w,m){return typeof w==="object"&&w!==null&&w.key!=null?(F(w.key),qZ(""+w.key)):m.toString(36)}function mZ(w){switch(w.status){case"fulfilled":return w.value;case"rejected":throw w.reason;default:switch(typeof w.status==="string"?w.then(A,A):(w.status="pending",w.then(function(m){w.status==="pending"&&(w.status="fulfilled",w.value=m)},function(m){w.status==="pending"&&(w.status="rejected",w.reason=m)})),w.status){case"fulfilled":return w.value;case"rejected":throw w.reason}}throw w}function QZ(w,m,XZ,GZ,wZ){var fZ=typeof w;if(fZ==="undefined"||fZ==="boolean")w=null;var uZ=!1;if(w===null)uZ=!0;else switch(fZ){case"bigint":case"string":case"number":uZ=!0;break;case"object":switch(w.$$typeof){case p:case KZ:uZ=!0;break;case TX:return uZ=w._init,QZ(uZ(w._payload),m,XZ,GZ,wZ)}}if(uZ){uZ=w,wZ=wZ(uZ);var WX=GZ===""?"."+IZ(uZ,0):GZ;return CZ(wZ)?(XZ="",WX!=null&&(XZ=WX.replace(dz,"$&/")+"/"),QZ(wZ,m,XZ,"",function(vY){return vY})):wZ!=null&&(JZ(wZ)&&(wZ.key!=null&&(uZ&&uZ.key===wZ.key||F(wZ.key)),XZ=n(wZ,XZ+(wZ.key==null||uZ&&uZ.key===wZ.key?"":(""+wZ.key).replace(dz,"$&/")+"/")+WX),GZ!==""&&uZ!=null&&JZ(uZ)&&uZ.key==null&&uZ._store&&!uZ._store.validated&&(XZ._store.validated=2),wZ=XZ),m.push(wZ)),1}if(uZ=0,WX=GZ===""?".":GZ+":",CZ(w))for(var $Z=0;$Z<w.length;$Z++)GZ=w[$Z],fZ=WX+IZ(GZ,$Z),uZ+=QZ(GZ,m,XZ,fZ,wZ);else if($Z=q(w),typeof $Z==="function")for($Z===w.entries&&(uz||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),uz=!0),w=$Z.call(w),$Z=0;!(GZ=w.next()).done;)GZ=GZ.value,fZ=WX+IZ(GZ,$Z++),uZ+=QZ(GZ,m,XZ,fZ,wZ);else if(fZ==="object"){if(typeof w.then==="function")return QZ(mZ(w),m,XZ,GZ,wZ);throw m=String(w),Error("Objects are not valid as a React child (found: "+(m==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":m)+"). If you meant to render a collection of children, use an array instead.")}return uZ}function b(w,m,XZ){if(w==null)return w;var GZ=[],wZ=0;return QZ(w,GZ,"","",function(fZ){return m.call(XZ,fZ,wZ++)}),GZ}function AZ(w){if(w._status===-1){var m=w._ioInfo;m!=null&&(m.start=m.end=performance.now()),m=w._result;var XZ=m();if(XZ.then(function(wZ){if(w._status===0||w._status===-1){w._status=1,w._result=wZ;var fZ=w._ioInfo;fZ!=null&&(fZ.end=performance.now()),XZ.status===void 0&&(XZ.status="fulfilled",XZ.value=wZ)}},function(wZ){if(w._status===0||w._status===-1){w._status=2,w._result=wZ;var fZ=w._ioInfo;fZ!=null&&(fZ.end=performance.now()),XZ.status===void 0&&(XZ.status="rejected",XZ.reason=wZ)}}),m=w._ioInfo,m!=null){m.value=XZ;var GZ=XZ.displayName;typeof GZ==="string"&&(m.name=GZ)}w._status===-1&&(w._status=0,w._result=XZ)}if(w._status===1)return m=w._result,m===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?`,m),"default"in m||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'))`,m),m.default;throw w._result}function a(){var w=lZ.H;return w===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
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.`),w}function LZ(){lZ.asyncTransitions--}function WZ(w){if(OH===null)try{var m=("require"+Math.random()).slice(0,7);OH=(RA&&RA[m]).call(RA,"timers").setImmediate}catch(XZ){OH=function(GZ){GB===!1&&(GB=!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 wZ=new MessageChannel;wZ.port1.onmessage=GZ,wZ.port2.postMessage(void 0)}}return OH(w)}function zZ(w){return 1<w.length&&typeof AggregateError==="function"?AggregateError(w):w[0]}function y(w,m){m!==FH-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. "),FH=m}function u(w,m,XZ){var GZ=lZ.actQueue;if(GZ!==null)if(GZ.length!==0)try{c(GZ),WZ(function(){return u(w,m,XZ)});return}catch(wZ){lZ.thrownErrors.push(wZ)}else lZ.actQueue=null;0<lZ.thrownErrors.length?(GZ=zZ(lZ.thrownErrors),lZ.thrownErrors.length=0,XZ(GZ)):m(w)}function c(w){if(!NH){NH=!0;var m=0;try{for(;m<w.length;m++){var XZ=w[m];do{lZ.didUsePromise=!1;var GZ=XZ(!1);if(GZ!==null){if(lZ.didUsePromise){w[m]=XZ,w.splice(0,m);return}XZ=GZ}else break}while(1)}w.length=0}catch(wZ){w.splice(0,m+1),lZ.thrownErrors.push(wZ)}finally{NH=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var p=Symbol.for("react.transitional.element"),KZ=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),t=Symbol.for("react.profiler"),TZ=Symbol.for("react.consumer"),jZ=Symbol.for("react.context"),yZ=Symbol.for("react.forward_ref"),JX=Symbol.for("react.suspense"),FZ=Symbol.for("react.suspense_list"),YX=Symbol.for("react.memo"),TX=Symbol.for("react.lazy"),BX=Symbol.for("react.activity"),Oq=Symbol.iterator,_Z={},UQ={isMounted:function(){return!1},enqueueForceUpdate:function(w){z(w,"forceUpdate")},enqueueReplaceState:function(w){z(w,"replaceState")},enqueueSetState:function(w){z(w,"setState")}},KQ=Object.assign,yY={};Object.freeze(yY),_.prototype.isReactComponent={},_.prototype.setState=function(w,m){if(typeof w!=="object"&&typeof w!=="function"&&w!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,w,m,"setState")},_.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};var oX={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(JG in oX)oX.hasOwnProperty(JG)&&J(JG,oX[JG]);W.prototype=_.prototype,oX=K.prototype=new W,oX.constructor=K,KQ(oX,_.prototype),oX.isPureReactComponent=!0;var CZ=Array.isArray,Fq=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},fz=Object.prototype.hasOwnProperty,jX=console.createTask?console.createTask:function(){return null};oX={react_stack_bottom_frame:function(w){return w()}};var qB,EJ,LH={},AH=oX.react_stack_bottom_frame.bind(oX,R)(),zF=jX(N(R)),uz=!1,dz=/\/+/g,QG=typeof reportError==="function"?reportError:function(w){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var m=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof w==="object"&&w!==null&&typeof w.message==="string"?String(w.message):String(w),error:w});if(!window.dispatchEvent(m))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",w);return}console.error(w)},GB=!1,OH=null,FH=0,MH=!1,NH=!1,hW=typeof queueMicrotask==="function"?function(w){queueMicrotask(function(){return queueMicrotask(w)})}:WZ;oX=Object.freeze({__proto__:null,c:function(w){return a().useMemoCache(w)}});var JG={map:b,forEach:function(w,m,XZ){b(w,function(){m.apply(this,arguments)},XZ)},count:function(w){var m=0;return b(w,function(){m++}),m},toArray:function(w){return b(w,function(m){return m})||[]},only:function(w){if(!JZ(w))throw Error("React.Children.only expected to receive a single React element child.");return w}};fE.Activity=BX,fE.Children=JG,fE.Component=_,fE.Fragment=s,fE.Profiler=t,fE.PureComponent=K,fE.StrictMode=V,fE.Suspense=JX,fE.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=lZ,fE.__COMPILER_RUNTIME=oX,fE.act=function(w){var m=lZ.actQueue,XZ=FH;FH++;var GZ=lZ.actQueue=m!==null?m:[],wZ=!1;try{var fZ=w()}catch($Z){lZ.thrownErrors.push($Z)}if(0<lZ.thrownErrors.length)throw y(m,XZ),w=zZ(lZ.thrownErrors),lZ.thrownErrors.length=0,w;if(fZ!==null&&typeof fZ==="object"&&typeof fZ.then==="function"){var uZ=fZ;return hW(function(){wZ||MH||(MH=!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($Z,vY){wZ=!0,uZ.then(function(BQ){if(y(m,XZ),XZ===0){try{c(GZ),WZ(function(){return u(BQ,$Z,vY)})}catch(bW){lZ.thrownErrors.push(bW)}if(0<lZ.thrownErrors.length){var qG=zZ(lZ.thrownErrors);lZ.thrownErrors.length=0,vY(qG)}}else $Z(BQ)},function(BQ){y(m,XZ),0<lZ.thrownErrors.length?(BQ=zZ(lZ.thrownErrors),lZ.thrownErrors.length=0,vY(BQ)):vY(BQ)})}}}var WX=fZ;if(y(m,XZ),XZ===0&&(c(GZ),GZ.length!==0&&hW(function(){wZ||MH||(MH=!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 w=zZ(lZ.thrownErrors),lZ.thrownErrors.length=0,w;return{then:function($Z,vY){wZ=!0,XZ===0?(lZ.actQueue=GZ,WZ(function(){return u(WX,$Z,vY)})):$Z(WX)}}},fE.cache=function(w){return function(){return w.apply(null,arguments)}},fE.cacheSignal=function(){return null},fE.captureOwnerStack=function(){var w=lZ.getCurrentStack;return w===null?null:w()},fE.cloneElement=function(w,m,XZ){if(w===null||w===void 0)throw Error("The argument must be a React element, but you passed "+w+".");var GZ=KQ({},w.props),wZ=w.key,fZ=w._owner;if(m!=null){var uZ;Z:{if(fz.call(m,"ref")&&(uZ=Object.getOwnPropertyDescriptor(m,"ref").get)&&uZ.isReactWarning){uZ=!1;break Z}uZ=m.ref!==void 0}uZ&&(fZ=M()),j(m)&&(F(m.key),wZ=""+m.key);for(WX in m)!fz.call(m,WX)||WX==="key"||WX==="__self"||WX==="__source"||WX==="ref"&&m.ref===void 0||(GZ[WX]=m[WX])}var WX=arguments.length-2;if(WX===1)GZ.children=XZ;else if(1<WX){uZ=Array(WX);for(var $Z=0;$Z<WX;$Z++)uZ[$Z]=arguments[$Z+2];GZ.children=uZ}GZ=h(w.type,wZ,GZ,fZ,w._debugStack,w._debugTask);for(wZ=2;wZ<arguments.length;wZ++)r(arguments[wZ]);return GZ},fE.createContext=function(w){return w={$$typeof:jZ,_currentValue:w,_currentValue2:w,_threadCount:0,Provider:null,Consumer:null},w.Provider=w,w.Consumer={$$typeof:TZ,_context:w},w._currentRenderer=null,w._currentRenderer2=null,w},fE.createElement=function(w,m,XZ){for(var GZ=2;GZ<arguments.length;GZ++)r(arguments[GZ]);GZ={};var wZ=null;if(m!=null)for($Z in EJ||!("__self"in m)||"key"in m||(EJ=!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(m)&&(F(m.key),wZ=""+m.key),m)fz.call(m,$Z)&&$Z!=="key"&&$Z!=="__self"&&$Z!=="__source"&&(GZ[$Z]=m[$Z]);var fZ=arguments.length-2;if(fZ===1)GZ.children=XZ;else if(1<fZ){for(var uZ=Array(fZ),WX=0;WX<fZ;WX++)uZ[WX]=arguments[WX+2];Object.freeze&&Object.freeze(uZ),GZ.children=uZ}if(w&&w.defaultProps)for($Z in fZ=w.defaultProps,fZ)GZ[$Z]===void 0&&(GZ[$Z]=fZ[$Z]);wZ&&v(GZ,typeof w==="function"?w.displayName||w.name||"Unknown":w);var $Z=1e4>lZ.recentlyCreatedOwnerStacks++;return h(w,wZ,GZ,M(),$Z?Error("react-stack-top-frame"):AH,$Z?jX(N(w)):zF)},fE.createRef=function(){var w={current:null};return Object.seal(w),w},fE.forwardRef=function(w){w!=null&&w.$$typeof===YX?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof w!=="function"?console.error("forwardRef requires a render function but was given %s.",w===null?"null":typeof w):w.length!==0&&w.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",w.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),w!=null&&w.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var m={$$typeof:yZ,render:w},XZ;return Object.defineProperty(m,"displayName",{enumerable:!1,configurable:!0,get:function(){return XZ},set:function(GZ){XZ=GZ,w.name||w.displayName||(Object.defineProperty(w,"name",{value:GZ}),w.displayName=GZ)}}),m},fE.isValidElement=JZ,fE.lazy=function(w){w={_status:-1,_result:w};var m={$$typeof:TX,_payload:w,_init:AZ},XZ={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return w._ioInfo=XZ,m._debugInfo=[{awaited:XZ}],m},fE.memo=function(w,m){w==null&&console.error("memo: The first argument must be a component. Instead received: %s",w===null?"null":typeof w),m={$$typeof:YX,type:w,compare:m===void 0?null:m};var XZ;return Object.defineProperty(m,"displayName",{enumerable:!1,configurable:!0,get:function(){return XZ},set:function(GZ){XZ=GZ,w.name||w.displayName||(Object.defineProperty(w,"name",{value:GZ}),w.displayName=GZ)}}),m},fE.startTransition=function(w){var m=lZ.T,XZ={};XZ._updatedFibers=new Set,lZ.T=XZ;try{var GZ=w(),wZ=lZ.S;wZ!==null&&wZ(XZ,GZ),typeof GZ==="object"&&GZ!==null&&typeof GZ.then==="function"&&(lZ.asyncTransitions++,GZ.then(LZ,LZ),GZ.then(A,QG))}catch(fZ){QG(fZ)}finally{m===null&&XZ._updatedFibers&&(w=XZ._updatedFibers.size,XZ._updatedFibers.clear(),10<w&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),m!==null&&XZ.types!==null&&(m.types!==null&&m.types!==XZ.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."),m.types=XZ.types),lZ.T=m}},fE.unstable_useCacheRefresh=function(){return a().useCacheRefresh()},fE.use=function(w){return a().use(w)},fE.useActionState=function(w,m,XZ){return a().useActionState(w,m,XZ)},fE.useCallback=function(w,m){return a().useCallback(w,m)},fE.useContext=function(w){var m=a();return w.$$typeof===TZ&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),m.useContext(w)},fE.useDebugValue=function(w,m){return a().useDebugValue(w,m)},fE.useDeferredValue=function(w,m){return a().useDeferredValue(w,m)},fE.useEffect=function(w,m){return w==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),a().useEffect(w,m)},fE.useEffectEvent=function(w){return a().useEffectEvent(w)},fE.useId=function(){return a().useId()},fE.useImperativeHandle=function(w,m,XZ){return a().useImperativeHandle(w,m,XZ)},fE.useInsertionEffect=function(w,m){return w==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),a().useInsertionEffect(w,m)},fE.useLayoutEffect=function(w,m){return w==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),a().useLayoutEffect(w,m)},fE.useMemo=function(w,m){return a().useMemo(w,m)},fE.useOptimistic=function(w,m){return a().useOptimistic(w,m)},fE.useReducer=function(w,m,XZ){return a().useReducer(w,m,XZ)},fE.useRef=function(w){return a().useRef(w)},fE.useState=function(w){return a().useState(w)},fE.useSyncExternalStore=function(w,m,XZ){return a().useSyncExternalStore(w,m,XZ)},fE.useTransition=function(){return a().useTransition()},fE.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var i_=pq((uE)=>{var Jz=g(e());(function(){function J(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===a?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case f:return"Fragment";case n:return"Profiler";case h:return"StrictMode";case IZ:return"Suspense";case mZ:return"SuspenseList";case AZ: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 v:return"Portal";case JZ:return V.displayName||"Context";case r:return(V._context.displayName||"Context")+".Consumer";case qZ:var t=V.render;return V=V.displayName,V||(V=t.displayName||t.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case QZ:return t=V.displayName||null,t!==null?t:J(V.type)||"Memo";case b:t=V._payload,V=V._init;try{return J(V(t))}catch(TZ){}}return null}function q(V){return""+V}function z(V){try{q(V);var t=!1}catch(yZ){t=!0}if(t){t=console;var TZ=t.error,jZ=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return TZ.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",jZ),q(V)}}function _(V){if(V===f)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===b)return"<...>";try{var t=J(V);return t?"<"+t+">":"<...>"}catch(TZ){return"<...>"}}function W(){var V=LZ.A;return V===null?null:V.getOwner()}function K(){return Error("react-stack-top-frame")}function A(V){if(WZ.call(V,"key")){var t=Object.getOwnPropertyDescriptor(V,"key").get;if(t&&t.isReactWarning)return!1}return V.key!==void 0}function L(V,t){function TZ(){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)",t))}TZ.isReactWarning=!0,Object.defineProperty(V,"key",{get:TZ,configurable:!0})}function F(){var V=J(this.type);return c[V]||(c[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 T(V,t,TZ,jZ,yZ,JX){var FZ=TZ.ref;return V={$$typeof:j,type:V,key:t,props:TZ,_owner:jZ},(FZ!==void 0?FZ:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:F}):Object.defineProperty(V,"ref",{enumerable:!1,value:null}),V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(V,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(V,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:yZ}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:JX}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function N(V,t,TZ,jZ,yZ,JX){var FZ=t.children;if(FZ!==void 0)if(jZ)if(zZ(FZ)){for(jZ=0;jZ<FZ.length;jZ++)M(FZ[jZ]);Object.freeze&&Object.freeze(FZ)}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 M(FZ);if(WZ.call(t,"key")){FZ=J(V);var YX=Object.keys(t).filter(function(BX){return BX!=="key"});jZ=0<YX.length?"{key: someKey, "+YX.join(": ..., ")+": ...}":"{key: someKey}",s[FZ+jZ]||(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} />`,jZ,FZ,YX,FZ),s[FZ+jZ]=!0)}if(FZ=null,TZ!==void 0&&(z(TZ),FZ=""+TZ),A(t)&&(z(t.key),FZ=""+t.key),"key"in t){TZ={};for(var TX in t)TX!=="key"&&(TZ[TX]=t[TX])}else TZ=t;return FZ&&L(TZ,typeof V==="function"?V.displayName||V.name||"Unknown":V),T(V,FZ,TZ,W(),yZ,JX)}function M(V){R(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===b&&(V._payload.status==="fulfilled"?R(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function R(V){return typeof V==="object"&&V!==null&&V.$$typeof===j}var j=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),r=Symbol.for("react.consumer"),JZ=Symbol.for("react.context"),qZ=Symbol.for("react.forward_ref"),IZ=Symbol.for("react.suspense"),mZ=Symbol.for("react.suspense_list"),QZ=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),AZ=Symbol.for("react.activity"),a=Symbol.for("react.client.reference"),LZ=Jz.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,WZ=Object.prototype.hasOwnProperty,zZ=Array.isArray,y=console.createTask?console.createTask:function(){return null};Jz={react_stack_bottom_frame:function(V){return V()}};var u,c={},p=Jz.react_stack_bottom_frame.bind(Jz,K)(),KZ=y(_(K)),s={};uE.Fragment=f,uE.jsx=function(V,t,TZ){var jZ=1e4>LZ.recentlyCreatedOwnerStacks++;return N(V,t,TZ,!1,jZ?Error("react-stack-top-frame"):p,jZ?y(_(V)):KZ)},uE.jsxs=function(V,t,TZ){var jZ=1e4>LZ.recentlyCreatedOwnerStacks++;return N(V,t,TZ,!0,jZ?Error("react-stack-top-frame"):p,jZ?y(_(V)):KZ)}})()});class r9{activeUrlHref=null;activeCacheKey=null;activePromise=null;activeResolvedData;hasResolved=!1;pendingBackgroundKey=null;id;constructor(){this.id=dE++}resolve(J){let{currentUrlHref:q,cacheKey:z,load:_,loaderCache:W,onBackgroundSettled:K}=J;if(this.handleUrlChange(q,W),this.activeCacheKey===z){if(this.pendingBackgroundKey===z)return{action:"render",data:this.activeResolvedData,isLoading:!0};if(this.hasResolved)return{action:"render",data:this.activeResolvedData,isLoading:!1};return{action:"suspend",promise:this.activePromise}}if(this.hasResolved){let L=_();return this.activeCacheKey=z,this.activePromise=L,this.pendingBackgroundKey=z,L.then((F)=>{if(this.activeCacheKey===z)K({ok:!0,result:F})},()=>{if(this.activeCacheKey===z)K({ok:!1})}),{action:"render",data:this.activeResolvedData,isLoading:!0}}let A=_();return this.activeCacheKey=z,this.activePromise=A,{action:"suspend",promise:A}}commitResult(J){this.activeResolvedData=J,this.hasResolved=!0}commitBackgroundResult(J){this.activeResolvedData=J,this.pendingBackgroundKey=null}commitBackgroundError(){this.hasResolved=!1,this.pendingBackgroundKey=null}dispose(J){if(J&&this.hasResolved&&this.activeResolvedData!==void 0&&this.activeUrlHref)this.saveToStaleCache(J,this.activeUrlHref,this.activeResolvedData);this.activeUrlHref=null,this.activeCacheKey=null,this.activePromise=null,this.activeResolvedData=void 0,this.hasResolved=!1,this.pendingBackgroundKey=null}handleUrlChange(J,q){if(this.activeUrlHref!==null&&this.activeUrlHref!==J){if(q&&this.hasResolved&&this.activeResolvedData!==void 0)this.saveToStaleCache(q,this.activeUrlHref,this.activeResolvedData);let z=q&&this.restoreFromStaleCache(q,J);if(z?.hit)this.activeResolvedData=z.value,this.hasResolved=!0;else this.hasResolved=!1,this.activeResolvedData=void 0;this.pendingBackgroundKey=null}else if(this.activeUrlHref===null&&q){let z=this.restoreFromStaleCache(q,J);if(z.hit)this.activeResolvedData=z.value,this.hasResolved=!0}this.activeUrlHref=J}staleCacheKey(J){return`${this.id}:${J}`}restoreFromStaleCache(J,q){let z=this.staleCacheKey(q);if(!J.has(z))return{hit:!1};let _=J.get(z);return J.delete(z),{hit:!0,value:_}}saveToStaleCache(J,q,z){J.set(this.staleCacheKey(q),z)}}var dE=0;var t9,iG,ZJ;var n_=C(()=>{t9=g(e(),1),iG=t9.createContext(null),ZJ=t9.createContext(null)});var jA,qz;var CA=C(()=>{jA=g(e(),1);qz=class qz extends jA.Component{state={error:null,prevResetKey:void 0};static getDerivedStateFromError(J){return{error:J}}static getDerivedStateFromProps(J,q){if(q.error&&J.resetKey!==q.prevResetKey)return{error:null,prevResetKey:J.resetKey};if(J.resetKey!==q.prevResetKey)return{prevResetKey:J.resetKey};return null}componentDidCatch(J,q){console.error("Buzola route error:",J,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 jA.default.createElement("div",{style:{color:"red"}},`Route error: ${this.state.error.message}`)}return this.props.children}}});function cE(J){return"~standard"in J}function pE(J){if(cE(J))return{schema:J,paramsMeta:J.__buzolaKeys??[]};let q=J,z=[],_={};for(let[K,A]of Object.entries(q))if(typeof A==="string"){let L=gT(A);_[K]=L.schema,z.push({name:K,optional:L.optional,array:L.array})}else _[K]=A,z.push({name:K,optional:bT(A),array:!1});return{schema:{"~standard":{version:1,vendor:"buzola",validate:(K)=>{let A=K??{},L={};for(let[F,T]of Object.entries(_)){let N=T["~standard"].validate(A[F]);if("issues"in N)return N;L[F]=N.value}return{value:L}}}},paramsMeta:z}}class s_{pageId;params;__buzolaRedirect=!0;constructor(J,q){this.pageId=J,this.params=q}}function AK(J){if(J.length===0)return;if(J.length===1)return J[0];return async(q)=>{let z=await Promise.all(J.map((W)=>W(q))),_=z.find((W)=>W instanceof s_);if(_)return _;return Object.assign({},...z)}}function OK(J,q,z,_,W,K){let A=new Set(q.filter((M)=>M.array).map((M)=>M.name)),L=z?new r9:void 0;function F(){let M=OY.use(ZJ);if(!M)throw Error("createPage component must be used within a <BuzolaProvider>");let R=OY.use(iG),j=OY.useMemo(()=>{let{state:IZ,matches:mZ,params:QZ}=M,b=mZ.find((LZ)=>LZ.node.component===F),AZ=new Set(b?LK(b.node.fullPath):[]),a={};if(A.size>0)for(let LZ of A){if(AZ.has(LZ))continue;let WZ=[...IZ.location.searchParams.getAll(LZ),...IZ.location.searchParams.getAll(`${LZ}[]`)];if(WZ.length>0)a[LZ]=WZ}IZ.location.searchParams.forEach((LZ,WZ)=>{let zZ=WZ.endsWith("[]")?WZ.slice(0,-2):WZ;if(!AZ.has(zZ)&&!(zZ in a))a[zZ]=LZ});for(let[LZ,WZ]of Object.entries(QZ))if(A.has(LZ))a[LZ]=WZ.split(",");else a[LZ]=WZ;if(J)return o9(J,a,"Page params validation failed: ");return a},[M]),[v,f]=OY.useState(0),[,h]=OY.useReducer((IZ)=>IZ+1,0),n=OY.useCallback(()=>f((IZ)=>IZ+1),[]);OY.useEffect(()=>{if(!R)return;return R.onInvalidate(()=>f((IZ)=>IZ+1))},[R]);let r,JZ=!1,qZ=!1;if(z&&L){let IZ=M.state.location.href,mZ=`${IZ}:${v}`,QZ=L.resolve({currentUrlHref:IZ,cacheKey:mZ,load:()=>z({params:j,redirect:mT}),loaderCache:R?.loaderCache,onBackgroundSettled:(b)=>{if(b.ok){if(b.result instanceof s_){R?.navigateToPage(b.result.pageId,b.result.params,{replace:!0});return}L.commitBackgroundResult(b.result)}else L.commitBackgroundError();h()}});if(QZ.action==="render")r=QZ.data,JZ=QZ.isLoading;else{let b=OY.use(QZ.promise);if(b instanceof s_)R?.navigateToPage(b.pageId,b.params,{replace:!0}),qZ=!0;else r=b,L.commitResult(r)}}if(OY.useEffect(()=>{return()=>L?.dispose(R?.loaderCache)},[]),qZ)return null;return DA.jsx(W,{params:j,data:r,invalidate:n,isLoading:JZ})}function T(){let M=OY.use(ZJ),[R,j]=OY.useState(0),v=OY.useCallback(()=>j((n)=>n+1),[]),f=`${M?.state.location.href??""}:${R}`;return DA.jsx(qz,{fallback:typeof K==="function"?(n)=>K({error:n,params:M?.params??{},retry:v}):K,resetKey:f,children:DA.jsx(F,{},R)})}return{__buzolaPage:!0,component:K?T:F,route:_,paramsSchema:J,paramsMeta:q,loader:z}}function lE(J,q,z,_){return{route(W){return{render(K){return OK(J,q,AK(z),W,K,_)}}},render(W){return OK(J,q,AK(z),void 0,W,_)}}}function e9(J,q,z){return{loader(_){return e9(J,q,[...z,_])},catch(_){return lE(J,q,z,_)},route(_){return{catch(W){return{render(K){return OK(J,q,AK(z),_,K,W)}}},render(W){return OK(J,q,AK(z),_,W)}}},render(_){return OK(J,q,AK(z),void 0,_)}}}function SQ(){return{params(J){let{schema:q,paramsMeta:z}=pE(J);return e9(q,z,[])},...e9(void 0,[],[])}}var DA,OY,mT=(J,q)=>{return new s_(J,q)};var fT=C(()=>{VA();n_();CA();DA=g(i_(),1),OY=g(e(),1)});function nE(){return QQ.default.createElement("div",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem",maxWidth:"600px",margin:"0 auto"}},iE?[QQ.default.createElement("h1",{key:"h"},"404 — Page Not Found"),QQ.default.createElement("p",{key:"p1"},`No route matches "${typeof window<"u"?window.location.pathname:""}".`),QQ.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 />.")]:[QQ.default.createElement("h1",{key:"h"},"404"),QQ.default.createElement("p",{key:"p"},"Page not found.")])}function a_({fallback:J,errorFallback:q,notFound:z}){let _=QQ.use(ZJ);if(!_)throw Error("<Outlet /> must be used within a <BuzolaProvider>");let{state:W,depth:K,matches:A}=_,L=K,F=A[L];while(F&&!F.node.component)L++,F=A[L];let T=QQ.useMemo(()=>{if(!F)return null;let M={..._.params};for(let R=K;R<=L;R++)if(A[R])M={...M,...A[R].params};return{state:W,depth:L+1,matches:A,params:M}},[W,K,L,A,F,_.params]);if(!F){if(K===0&&A.length===0){if(z===null)return null;return z??QQ.default.createElement(nE,null)}return null}let N=F.node.component;return FK.jsx(qz,{fallback:q,resetKey:F.node.id,children:FK.jsx(QQ.Suspense,{fallback:J??null,children:T&&FK.jsx(ZJ,{value:T,children:FK.jsx(N,{})})})})}var FK,QQ,iE;var Z3=C(()=>{n_();CA();FK=g(i_(),1),QQ=g(e(),1),iE=typeof process<"u"&&!0});function PA({routes:J,children:q,middleware:z,..._}){let W=EQ.useRef(_.router);if(!W.current)W.current=new wA({routes:J,adapter:a9(),persistentParams:_.persistentParams,pageRegistry:_.pageRegistry});let K=W.current,A=EQ.useCallback((R)=>K.subscribe(R),[K]),L=EQ.useCallback(()=>K.getState(),[K]),F=EQ.useSyncExternalStore(A,L,L);EQ.useLayoutEffect(()=>{return K.start()},[K]);let T=EQ.useMemo(()=>({state:F,depth:0,matches:F.matches,params:{}}),[F]),N=EQ.useMemo(()=>{let R={};for(let j of F.matches)R={...R,...j.params};return R},[F.matches]),M=q??MK.jsx(a_,{});return MK.jsx(iG,{value:K,children:MK.jsx(ZJ,{value:T,children:z?MK.jsx(z,{params:N,matches:F.matches,children:M}):M})})}var MK,EQ;var uT=C(()=>{i9();n_();Z3();MK=g(i_(),1),EQ=g(e(),1)});function NK(){let J=Gq.use(iG);if(!J)throw Error("useRouter must be used within a <BuzolaProvider>");return J}function sE(){let J=Gq.use(ZJ);if(!J)throw Error("Route hooks must be used within a <BuzolaProvider>");return J}function XJ(){let J=NK();return Gq.useCallback((q,z)=>{J.navigateToPage(q,z?.params,z)},[J])}function $A(){let J=sE(),q=NK(),{state:z,matches:_,params:W,depth:K}=J;return Gq.useMemo(()=>({params:W,matches:_,depth:K,isPending:z.isPending,pendingLocation:z.pendingLocation?q.stripBasePath(z.pendingLocation.pathname):void 0,pathname:q.stripBasePath(z.location.pathname)}),[W,_,K,z.isPending,z.pendingLocation,z.location.pathname,q])}var Gq;var X3=C(()=>{VA();n_();Gq=g(e(),1)});var aE,SA;var cT=C(()=>{X3();aE=g(i_(),1),SA=g(e(),1)});var pT=C(()=>{uT();Z3();cT();CA();X3();n_()});var Hq=C(()=>{i9();VA();fT();pT()});var lT=pq((Yk)=>{(function(){function J(){if(qZ=!1,b){var u=Yk.unstable_now();LZ=u;var c=!0;try{Z:{r=!1,JZ&&(JZ=!1,mZ(AZ),AZ=-1),n=!0;var p=h;try{X:{K(u);for(f=z(R);f!==null&&!(f.expirationTime>u&&L());){var KZ=f.callback;if(typeof KZ==="function"){f.callback=null,h=f.priorityLevel;var s=KZ(f.expirationTime<=u);if(u=Yk.unstable_now(),typeof s==="function"){f.callback=s,K(u),c=!0;break X}f===z(R)&&_(R),K(u)}else _(R);f=z(R)}if(f!==null)c=!0;else{var V=z(j);V!==null&&F(A,V.startTime-u),c=!1}}break Z}finally{f=null,h=p,n=!1}c=void 0}}finally{c?WZ():b=!1}}}function q(u,c){var p=u.length;u.push(c);Z:for(;0<p;){var KZ=p-1>>>1,s=u[KZ];if(0<W(s,c))u[KZ]=c,u[p]=s,p=KZ;else break Z}}function z(u){return u.length===0?null:u[0]}function _(u){if(u.length===0)return null;var c=u[0],p=u.pop();if(p!==c){u[0]=p;Z:for(var KZ=0,s=u.length,V=s>>>1;KZ<V;){var t=2*(KZ+1)-1,TZ=u[t],jZ=t+1,yZ=u[jZ];if(0>W(TZ,p))jZ<s&&0>W(yZ,TZ)?(u[KZ]=yZ,u[jZ]=p,KZ=jZ):(u[KZ]=TZ,u[t]=p,KZ=t);else if(jZ<s&&0>W(yZ,p))u[KZ]=yZ,u[jZ]=p,KZ=jZ;else break Z}}return c}function W(u,c){var p=u.sortIndex-c.sortIndex;return p!==0?p:u.id-c.id}function K(u){for(var c=z(j);c!==null;){if(c.callback===null)_(j);else if(c.startTime<=u)_(j),c.sortIndex=c.expirationTime,q(R,c);else break;c=z(j)}}function A(u){if(JZ=!1,K(u),!r)if(z(R)!==null)r=!0,b||(b=!0,WZ());else{var c=z(j);c!==null&&F(A,c.startTime-u)}}function L(){return qZ?!0:Yk.unstable_now()-LZ<a?!1:!0}function F(u,c){AZ=IZ(function(){u(Yk.unstable_now())},c)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Yk.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var T=performance;Yk.unstable_now=function(){return T.now()}}else{var N=Date,M=N.now();Yk.unstable_now=function(){return N.now()-M}}var R=[],j=[],v=1,f=null,h=3,n=!1,r=!1,JZ=!1,qZ=!1,IZ=typeof setTimeout==="function"?setTimeout:null,mZ=typeof clearTimeout==="function"?clearTimeout:null,QZ=typeof setImmediate<"u"?setImmediate:null,b=!1,AZ=-1,a=5,LZ=-1;if(typeof QZ==="function")var WZ=function(){QZ(J)};else if(typeof MessageChannel<"u"){var zZ=new MessageChannel,y=zZ.port2;zZ.port1.onmessage=J,WZ=function(){y.postMessage(null)}}else WZ=function(){IZ(J,0)};Yk.unstable_IdlePriority=5,Yk.unstable_ImmediatePriority=1,Yk.unstable_LowPriority=4,Yk.unstable_NormalPriority=3,Yk.unstable_Profiling=null,Yk.unstable_UserBlockingPriority=2,Yk.unstable_cancelCallback=function(u){u.callback=null},Yk.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"):a=0<u?Math.floor(1000/u):5},Yk.unstable_getCurrentPriorityLevel=function(){return h},Yk.unstable_next=function(u){switch(h){case 1:case 2:case 3:var c=3;break;default:c=h}var p=h;h=c;try{return u()}finally{h=p}},Yk.unstable_requestPaint=function(){qZ=!0},Yk.unstable_runWithPriority=function(u,c){switch(u){case 1:case 2:case 3:case 4:case 5:break;default:u=3}var p=h;h=u;try{return c()}finally{h=p}},Yk.unstable_scheduleCallback=function(u,c,p){var KZ=Yk.unstable_now();switch(typeof p==="object"&&p!==null?(p=p.delay,p=typeof p==="number"&&0<p?KZ+p:KZ):p=KZ,u){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5000}return s=p+s,u={id:v++,callback:c,priorityLevel:u,startTime:p,expirationTime:s,sortIndex:-1},p>KZ?(u.sortIndex=p,q(j,u),z(R)===null&&u===z(j)&&(JZ?(mZ(AZ),AZ=-1):JZ=!0,F(A,p-KZ))):(u.sortIndex=s,q(R,u),r||n||(r=!0,b||(b=!0,WZ()))),u},Yk.unstable_shouldYield=L,Yk.unstable_wrapCallback=function(u){var c=h;return function(){var p=h;h=c;try{return u.apply(this,arguments)}finally{h=p}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var iT=pq((Qk)=>{var Y3=g(e());(function(){function J(){}function q(N){return""+N}function z(N,M,R){var j=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{q(j);var v=!1}catch(f){v=!0}return v&&(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:F,key:j==null?null:""+j,children:N,containerInfo:M,implementation:R}}function _(N,M){if(N==="font")return"";if(typeof M==="string")return M==="use-credentials"?M:""}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=T.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:J,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:J,C:J,L:J,m:J,X:J,S:J,M:J},p:0,findDOMNode:null},F=Symbol.for("react.portal"),T=Y3.__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"),Qk.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,Qk.createPortal=function(N,M){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!M||M.nodeType!==1&&M.nodeType!==9&&M.nodeType!==11)throw Error("Target container is not a DOM element.");return z(N,M,null,R)},Qk.flushSync=function(N){var M=T.T,R=L.p;try{if(T.T=null,L.p=2,N)return N()}finally{T.T=M,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.")}},Qk.preconnect=function(N,M){typeof N==="string"&&N?M!=null&&typeof M!=="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(M)):M!=null&&typeof M.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(M.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"&&(M?(M=M.crossOrigin,M=typeof M==="string"?M==="use-credentials"?M:"":void 0):M=null,L.d.C(N,M))},Qk.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 M=arguments[1];typeof M==="object"&&M.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(M)):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(M))}typeof N==="string"&&L.d.D(N)},Qk.preinit=function(N,M){if(typeof N==="string"&&N?M==null||typeof M!=="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(M)):M.as!=="style"&&M.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(M.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"&&M&&typeof M.as==="string"){var R=M.as,j=_(R,M.crossOrigin),v=typeof M.integrity==="string"?M.integrity:void 0,f=typeof M.fetchPriority==="string"?M.fetchPriority:void 0;R==="style"?L.d.S(N,typeof M.precedence==="string"?M.precedence:void 0,{crossOrigin:j,integrity:v,fetchPriority:f}):R==="script"&&L.d.X(N,{crossOrigin:j,integrity:v,fetchPriority:f,nonce:typeof M.nonce==="string"?M.nonce:void 0})}},Qk.preinitModule=function(N,M){var R="";if(typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),M!==void 0&&typeof M!=="object"?R+=" The `options` argument encountered was "+W(M)+".":M&&("as"in M)&&M.as!=="script"&&(R+=" The `as` option encountered was "+K(M.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=M&&typeof M.as==="string"?M.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 M==="object"&&M!==null){if(M.as==null||M.as==="script")R=_(M.as,M.crossOrigin),L.d.M(N,{crossOrigin:R,integrity:typeof M.integrity==="string"?M.integrity:void 0,nonce:typeof M.nonce==="string"?M.nonce:void 0})}else M==null&&L.d.M(N)},Qk.preload=function(N,M){var R="";if(typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),M==null||typeof M!=="object"?R+=" The `options` argument encountered was "+W(M)+".":typeof M.as==="string"&&M.as||(R+=" The `as` option encountered was "+W(M.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 M==="object"&&M!==null&&typeof M.as==="string"){R=M.as;var j=_(R,M.crossOrigin);L.d.L(N,R,{crossOrigin:j,integrity:typeof M.integrity==="string"?M.integrity:void 0,nonce:typeof M.nonce==="string"?M.nonce:void 0,type:typeof M.type==="string"?M.type:void 0,fetchPriority:typeof M.fetchPriority==="string"?M.fetchPriority:void 0,referrerPolicy:typeof M.referrerPolicy==="string"?M.referrerPolicy:void 0,imageSrcSet:typeof M.imageSrcSet==="string"?M.imageSrcSet:void 0,imageSizes:typeof M.imageSizes==="string"?M.imageSizes:void 0,media:typeof M.media==="string"?M.media:void 0})}},Qk.preloadModule=function(N,M){var R="";typeof N==="string"&&N||(R+=" The `href` argument encountered was "+W(N)+"."),M!==void 0&&typeof M!=="object"?R+=" The `options` argument encountered was "+W(M)+".":M&&("as"in M)&&typeof M.as!=="string"&&(R+=" The `as` option encountered was "+W(M.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"&&(M?(R=_(M.as,M.crossOrigin),L.d.m(N,{as:typeof M.as==="string"&&M.as!=="script"?M.as:void 0,crossOrigin:R,integrity:typeof M.integrity==="string"?M.integrity:void 0})):L.d.m(N))},Qk.requestFormReset=function(N){L.d.r(N)},Qk.unstable_batchedUpdates=function(N,M){return N(M)},Qk.useFormState=function(N,M,R){return A().useFormState(N,M,R)},Qk.useFormStatus=function(){return A().useHostTransitionStatus()},Qk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var lq=pq((Dg,nT)=>{var Jk=g(iT());nT.exports=Jk});var sT=pq((qk)=>{var UX=g(lT()),o_=g(e()),Q3=g(lq());(function(){function J(Z,X){for(Z=Z.memoizedState;Z!==null&&0<X;)Z=Z.next,X--;return Z}function q(Z,X,Y,Q){if(Y>=X.length)return Q;var G=X[Y],H=HY(Z)?Z.slice():rZ({},Z);return H[G]=q(Z[G],X,Y+1,Q),H}function z(Z,X,Y){if(X.length!==Y.length)console.warn("copyWithRename() expects paths of the same length");else{for(var Q=0;Q<Y.length-1;Q++)if(X[Q]!==Y[Q]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return _(Z,X,Y,0)}}function _(Z,X,Y,Q){var G=X[Q],H=HY(Z)?Z.slice():rZ({},Z);return Q+1===X.length?(H[Y[Q]]=H[G],HY(H)?H.splice(G,1):delete H[G]):H[G]=_(Z[G],X,Y,Q+1),H}function W(Z,X,Y){var Q=X[Y],G=HY(Z)?Z.slice():rZ({},Z);if(Y+1===X.length)return HY(G)?G.splice(Q,1):delete G[Q],G;return G[Q]=W(Z[Q],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 F(){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 T(){}function N(){}function M(Z){var X=[];return Z.forEach(function(Y){X.push(Y)}),X.sort().join(", ")}function R(Z,X,Y,Q){return new AP(Z,X,Y,Q)}function j(Z,X){Z.context===jG&&(z0(Z.current,2,X,Z,null,null),X_())}function v(Z,X){if(pQ!==null){var Y=X.staleFamilies;X=X.updatedFamilies,_U(),m8(Z.current,X,Y),X_()}}function f(Z){pQ=Z}function h(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 qZ(Z){if(n(Z)!==Z)throw Error("Unable to find node on an unmounted component.")}function IZ(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,Q=X;;){var G=Y.return;if(G===null)break;var H=G.alternate;if(H===null){if(Q=G.return,Q!==null){Y=Q;continue}break}if(G.child===H.child){for(H=G.child;H;){if(H===Y)return qZ(G),Z;if(H===Q)return qZ(G),X;H=H.sibling}throw Error("Unable to find node on an unmounted component.")}if(Y.return!==Q.return)Y=G,Q=H;else{for(var U=!1,B=G.child;B;){if(B===Y){U=!0,Y=G,Q=H;break}if(B===Q){U=!0,Q=G,Y=H;break}B=B.sibling}if(!U){for(B=H.child;B;){if(B===Y){U=!0,Y=H,Q=G;break}if(B===Q){U=!0,Q=H,Y=G;break}B=B.sibling}if(!U)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(Y.alternate!==Q)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 mZ(Z){var X=Z.tag;if(X===5||X===26||X===27||X===6)return Z;for(Z=Z.child;Z!==null;){if(X=mZ(Z),X!==null)return X;Z=Z.sibling}return null}function QZ(Z){if(Z===null||typeof Z!=="object")return null;return Z=iI&&Z[iI]||Z["@@iterator"],typeof Z==="function"?Z:null}function b(Z){if(Z==null)return null;if(typeof Z==="function")return Z.$$typeof===h$?null:Z.displayName||Z.name||null;if(typeof Z==="string")return Z;switch(Z){case z_:return"Fragment";case L0:return"Profiler";case AL:return"StrictMode";case O0:return"Suspense";case F0:return"SuspenseList";case M0: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 H_:return"Portal";case aJ:return Z.displayName||"Context";case A0:return(Z._context.displayName||"Context")+".Consumer";case NU:var X=Z.render;return Z=Z.displayName,Z||(Z=X.displayName||X.name||"",Z=Z!==""?"ForwardRef("+Z+")":"ForwardRef"),Z;case OL:return X=Z.displayName||null,X!==null?X:b(Z.type)||"Memo";case wQ:X=Z._payload,Z=Z._init;try{return b(Z(X))}catch(Y){}}return null}function AZ(Z){return typeof Z.tag==="number"?a(Z):typeof Z.name==="string"?Z.name:null}function a(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 b(X);case 8:return X===AL?"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 a(Z.return)}return null}function LZ(Z){return{current:Z}}function WZ(Z,X){0>Dq?console.error("Unexpected pop."):(X!==I0[Dq]&&console.error("Unexpected Fiber popped."),Z.current=N0[Dq],N0[Dq]=null,I0[Dq]=null,Dq--)}function zZ(Z,X,Y){Dq++,N0[Dq]=Z.current,I0[Dq]=Y,Z.current=X}function y(Z){return Z===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),Z}function u(Z,X){zZ(NG,X,Z),zZ(IU,Z,Z),zZ(MG,null,Z);var Y=X.nodeType;switch(Y){case 9:case 11:Y=Y===9?"#document":"#fragment",X=(X=X.documentElement)?(X=X.namespaceURI)?OI(X):uq:uq;break;default:if(Y=X.tagName,X=X.namespaceURI)X=OI(X),X=FI(X,Y);else switch(Y){case"svg":X=d_;break;case"math":X=LA;break;default:X=uq}}Y=Y.toLowerCase(),Y=W8(null,Y),Y={context:X,ancestorInfo:Y},WZ(MG,Z),zZ(MG,Y,Z)}function c(Z){WZ(MG,Z),WZ(IU,Z),WZ(NG,Z)}function p(){return y(MG.current)}function KZ(Z){Z.memoizedState!==null&&zZ(FL,Z,Z);var X=y(MG.current),Y=Z.type,Q=FI(X.context,Y);Y=W8(X.ancestorInfo,Y),Q={context:Q,ancestorInfo:Y},X!==Q&&(zZ(IU,Z,Z),zZ(MG,Q,Z))}function s(Z){IU.current===Z&&(WZ(MG,Z),WZ(IU,Z)),FL.current===Z&&(WZ(FL,Z),UK._currentValue=Qz)}function V(){}function t(){if(TU===0){nI=console.log,sI=console.info,aI=console.warn,oI=console.error,rI=console.group,tI=console.groupCollapsed,eI=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:V,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}TU++}function TZ(){if(TU--,TU===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:rZ({},Z,{value:nI}),info:rZ({},Z,{value:sI}),warn:rZ({},Z,{value:aI}),error:rZ({},Z,{value:oI}),group:rZ({},Z,{value:rI}),groupCollapsed:rZ({},Z,{value:tI}),groupEnd:rZ({},Z,{value:eI})})}0>TU&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function jZ(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 yZ(Z){if(T0===void 0)try{throw Error()}catch(Y){var X=Y.stack.trim().match(/\n( *(at )?)/);T0=X&&X[1]||"",Z4=-1<Y.stack.indexOf(`
|
|
26
|
+
at`)?" (<anonymous>)":-1<Y.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
27
|
+
`+T0+Z+Z4}function JX(Z,X){if(!Z||w0)return"";var Y=V0.get(Z);if(Y!==void 0)return Y;w0=!0,Y=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var Q=null;Q=i.H,i.H=null,t();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(YZ){var d=YZ}Reflect.construct(Z,[],$)}else{try{$.call()}catch(YZ){d=YZ}Z.call($.prototype)}}else{try{throw Error()}catch(YZ){d=YZ}($=Z())&&typeof $.catch==="function"&&$.catch(function(){})}}catch(YZ){if(YZ&&d&&typeof YZ.stack==="string")return[YZ.stack,d.stack]}return[null,null]}};G.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var H=Object.getOwnPropertyDescriptor(G.DetermineComponentFrameRoot,"name");H&&H.configurable&&Object.defineProperty(G.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var U=G.DetermineComponentFrameRoot(),B=U[0],O=U[1];if(B&&O){var I=B.split(`
|
|
28
|
+
`),k=O.split(`
|
|
29
|
+
`);for(U=H=0;H<I.length&&!I[H].includes("DetermineComponentFrameRoot");)H++;for(;U<k.length&&!k[U].includes("DetermineComponentFrameRoot");)U++;if(H===I.length||U===k.length)for(H=I.length-1,U=k.length-1;1<=H&&0<=U&&I[H]!==k[U];)U--;for(;1<=H&&0<=U;H--,U--)if(I[H]!==k[U]){if(H!==1||U!==1)do if(H--,U--,0>U||I[H]!==k[U]){var x=`
|
|
30
|
+
`+I[H].replace(" at new "," at ");return Z.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",Z.displayName)),typeof Z==="function"&&V0.set(Z,x),x}while(1<=H&&0<=U);break}}}finally{w0=!1,i.H=Q,TZ(),Error.prepareStackTrace=Y}return I=(I=Z?Z.displayName||Z.name:"")?yZ(I):"",typeof Z==="function"&&V0.set(Z,I),I}function FZ(Z,X){switch(Z.tag){case 26:case 27:case 5:return yZ(Z.type);case 16:return yZ("Lazy");case 13:return Z.child!==X&&X!==null?yZ("Suspense Fallback"):yZ("Suspense");case 19:return yZ("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 yZ("Activity");default:return""}}function YX(Z){try{var X="",Y=null;do{X+=FZ(Z,Y);var Q=Z._debugInfo;if(Q)for(var G=Q.length-1;0<=G;G--){var H=Q[G];if(typeof H.name==="string"){var U=X;Z:{var{name:B,env:O,debugLocation:I}=H;if(I!=null){var k=jZ(I),x=k.lastIndexOf(`
|
|
31
|
+
`),$=x===-1?k:k.slice(x+1);if($.indexOf(B)!==-1){var d=`
|
|
32
|
+
`+$;break Z}}d=yZ(B+(O?" ["+O+"]":""))}X=U+d}}Y=Z,Z=Z.return}while(Z);return X}catch(YZ){return`
|
|
33
|
+
Error generating stack: `+YZ.message+`
|
|
34
|
+
`+YZ.stack}}function TX(Z){return(Z=Z?Z.displayName||Z.name:"")?yZ(Z):""}function BX(){if(VQ===null)return null;var Z=VQ._debugOwner;return Z!=null?AZ(Z):null}function Oq(){if(VQ===null)return"";var Z=VQ;try{var X="";switch(Z.tag===6&&(Z=Z.return),Z.tag){case 26:case 27:case 5:X+=yZ(Z.type);break;case 13:X+=yZ("Suspense");break;case 19:X+=yZ("SuspenseList");break;case 31:X+=yZ("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 Q=Y._debugStack;if(Z&&Q){var G=jZ(Q);G!==""&&(X+=`
|
|
35
|
+
`+G)}}else if(Z.debugStack!=null){var H=Z.debugStack;(Z=Z.owner)&&H&&(X+=`
|
|
36
|
+
`+jZ(H))}else break;var U=X}catch(B){U=`
|
|
37
|
+
Error generating stack: `+B.message+`
|
|
38
|
+
`+B.stack}return U}function _Z(Z,X,Y,Q,G,H,U){var B=VQ;UQ(Z);try{return Z!==null&&Z._debugTask?Z._debugTask.run(X.bind(null,Y,Q,G,H,U)):X(Y,Q,G,H,U)}finally{UQ(B)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function UQ(Z){i.getCurrentStack=Z===null?null:Oq,oJ=!1,VQ=Z}function KQ(Z){return typeof Symbol==="function"&&Symbol.toStringTag&&Z[Symbol.toStringTag]||Z.constructor.name||"Object"}function yY(Z){try{return oX(Z),!1}catch(X){return!0}}function oX(Z){return""+Z}function CZ(Z,X){if(yY(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,KQ(Z)),oX(Z)}function Fq(Z,X){if(yY(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,KQ(Z)),oX(Z)}function lZ(Z){if(yY(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.",KQ(Z)),oX(Z)}function fz(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{W_=X.inject(Z),bY=X}catch(Y){console.error("React instrumentation encountered an error: %o.",Y)}return X.checkDCE?!0:!1}function jX(Z){if(typeof c$==="function"&&p$(Z),bY&&typeof bY.setStrictMode==="function")try{bY.setStrictMode(W_,Z)}catch(X){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",X))}}function qB(Z){return Z>>>=0,Z===0?32:31-(l$(Z)/i$|0)|0}function EJ(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 LH(Z,X,Y){var Q=Z.pendingLanes;if(Q===0)return 0;var G=0,H=Z.suspendedLanes,U=Z.pingedLanes;Z=Z.warmLanes;var B=Q&134217727;return B!==0?(Q=B&~H,Q!==0?G=EJ(Q):(U&=B,U!==0?G=EJ(U):Y||(Y=B&~Z,Y!==0&&(G=EJ(Y))))):(B=Q&~H,B!==0?G=EJ(B):U!==0?G=EJ(U):Y||(Y=Q&~Z,Y!==0&&(G=EJ(Y)))),G===0?0:X!==0&&X!==G&&(X&H)===0&&(H=G&-G,Y=X&-X,H>=Y||H===32&&(Y&4194048)!==0)?X:G}function AH(Z,X){return(Z.pendingLanes&~(Z.suspendedLanes&~Z.pingedLanes)&X)===0}function zF(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 uz(){var Z=IL;return IL<<=1,(IL&62914560)===0&&(IL=4194304),Z}function dz(Z){for(var X=[],Y=0;31>Y;Y++)X.push(Z);return X}function QG(Z,X){Z.pendingLanes|=X,X!==268435456&&(Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0)}function GB(Z,X,Y,Q,G,H){var U=Z.pendingLanes;Z.pendingLanes=Y,Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0,Z.expiredLanes&=Y,Z.entangledLanes&=Y,Z.errorRecoveryDisabledLanes&=Y,Z.shellSuspendCounter=0;var{entanglements:B,expirationTimes:O,hiddenUpdates:I}=Z;for(Y=U&~Y;0<Y;){var k=31-fY(Y),x=1<<k;B[k]=0,O[k]=-1;var $=I[k];if($!==null)for(I[k]=null,k=0;k<$.length;k++){var d=$[k];d!==null&&(d.lane&=-536870913)}Y&=~x}Q!==0&&OH(Z,Q,0),H!==0&&G===0&&Z.tag!==0&&(Z.suspendedLanes|=H&~(U&~X))}function OH(Z,X,Y){Z.pendingLanes|=X,Z.suspendedLanes&=~X;var Q=31-fY(X);Z.entangledLanes|=X,Z.entanglements[Q]=Z.entanglements[Q]|1073741824|Y&261930}function FH(Z,X){var Y=Z.entangledLanes|=X;for(Z=Z.entanglements;Y;){var Q=31-fY(Y),G=1<<Q;G&X|Z[Q]&X&&(Z[Q]|=X),Y&=~G}}function MH(Z,X){var Y=X&-X;return Y=(Y&42)!==0?1:NH(Y),(Y&(Z.suspendedLanes|X))!==0?0:Y}function NH(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 hW(Z,X,Y){if(tJ)for(Z=Z.pendingUpdatersLaneMap;0<Y;){var Q=31-fY(Y),G=1<<Q;Z[Q].add(X),Y&=~G}}function JG(Z,X){if(tJ)for(var{pendingUpdatersLaneMap:Y,memoizedUpdaters:Q}=Z;0<X;){var G=31-fY(X);Z=1<<G,G=Y[G],0<G.size&&(G.forEach(function(H){var U=H.alternate;U!==null&&Q.has(U)||Q.add(H)}),G.clear()),X&=~Z}}function w(Z){return Z&=-Z,RQ!==0&&RQ<Z?LJ!==0&&LJ<Z?(Z&134217727)!==0?eJ:TL:LJ:RQ}function m(){var Z=OX.p;if(Z!==0)return Z;return Z=window.event,Z===void 0?eJ:mI(Z.type)}function XZ(Z,X){var Y=OX.p;try{return OX.p=Z,X()}finally{OX.p=Y}}function GZ(Z){delete Z[RY],delete Z[uY],delete Z[P0],delete Z[n$],delete Z[s$]}function wZ(Z){var X=Z[RY];if(X)return X;for(var Y=Z.parentNode;Y;){if(X=Y[TG]||Y[RY]){if(Y=X.alternate,X.child!==null||Y!==null&&Y.child!==null)for(Z=jI(Z);Z!==null;){if(Y=Z[RY])return Y;Z=jI(Z)}return X}Z=Y,Y=Z.parentNode}return null}function fZ(Z){if(Z=Z[RY]||Z[TG]){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 WX(Z){var X=Z[X4];return X||(X=Z[X4]={hoistableStyles:new Map,hoistableScripts:new Map}),X}function $Z(Z){Z[wU]=!0}function vY(Z,X){BQ(Z,X),BQ(Z+"Capture",X)}function BQ(Z,X){vH[Z]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",Z),vH[Z]=X;var Y=Z.toLowerCase();$0[Y]=Z,Z==="onDoubleClick"&&($0.ondblclick=Z);for(Z=0;Z<X.length;Z++)Y4.add(X[Z])}function qG(Z,X){a$[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 bW(Z){if(BJ.call(J4,Z))return!0;if(BJ.call(Q4,Z))return!1;if(o$.test(Z))return J4[Z]=!0;return Q4[Z]=!0,console.error("Invalid attribute name: `%s`",Z),!1}function a5(Z,X,Y){if(bW(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 CZ(Y,X),Z===""+Y?Y:Z}}function HB(Z,X,Y){if(bW(X))if(Y===null)Z.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":Z.removeAttribute(X);return;case"boolean":var Q=X.toLowerCase().slice(0,5);if(Q!=="data-"&&Q!=="aria-"){Z.removeAttribute(X);return}}CZ(Y,X),Z.setAttribute(X,""+Y)}}function zB(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}CZ(Y,X),Z.setAttribute(X,""+Y)}}function Mq(Z,X,Y,Q){if(Q===null)Z.removeAttribute(Y);else{switch(typeof Q){case"undefined":case"function":case"symbol":case"boolean":Z.removeAttribute(Y);return}CZ(Q,Y),Z.setAttributeNS(X,Y,""+Q)}}function mQ(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 o5(Z){var X=Z.type;return(Z=Z.nodeName)&&Z.toLowerCase()==="input"&&(X==="checkbox"||X==="radio")}function iD(Z,X,Y){var Q=Object.getOwnPropertyDescriptor(Z.constructor.prototype,X);if(!Z.hasOwnProperty(X)&&typeof Q<"u"&&typeof Q.get==="function"&&typeof Q.set==="function"){var{get:G,set:H}=Q;return Object.defineProperty(Z,X,{configurable:!0,get:function(){return G.call(this)},set:function(U){lZ(U),Y=""+U,H.call(this,U)}}),Object.defineProperty(Z,X,{enumerable:Q.enumerable}),{getValue:function(){return Y},setValue:function(U){lZ(U),Y=""+U},stopTracking:function(){Z._valueTracker=null,delete Z[X]}}}}function _F(Z){if(!Z._valueTracker){var X=o5(Z)?"checked":"value";Z._valueTracker=iD(Z,X,""+Z[X])}}function r5(Z){if(!Z)return!1;var X=Z._valueTracker;if(!X)return!0;var Y=X.getValue(),Q="";return Z&&(Q=o5(Z)?Z.checked?"true":"false":Z.value),Z=Q,Z!==Y?(X.setValue(Z),!0):!1}function _B(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 fQ(Z){return Z.replace(r$,function(X){return"\\"+X.charCodeAt(0).toString(16)+" "})}function t5(Z,X){X.checked===void 0||X.defaultChecked===void 0||G4||(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",BX()||"A component",X.type),G4=!0),X.value===void 0||X.defaultValue===void 0||q4||(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",BX()||"A component",X.type),q4=!0)}function WF(Z,X,Y,Q,G,H,U,B){if(Z.name="",U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"?(CZ(U,"type"),Z.type=U):Z.removeAttribute("type"),X!=null)if(U==="number"){if(X===0&&Z.value===""||Z.value!=X)Z.value=""+mQ(X)}else Z.value!==""+mQ(X)&&(Z.value=""+mQ(X));else U!=="submit"&&U!=="reset"||Z.removeAttribute("value");X!=null?UF(Z,U,mQ(X)):Y!=null?UF(Z,U,mQ(Y)):Q!=null&&Z.removeAttribute("value"),G==null&&H!=null&&(Z.defaultChecked=!!H),G!=null&&(Z.checked=G&&typeof G!=="function"&&typeof G!=="symbol"),B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"?(CZ(B,"name"),Z.name=""+mQ(B)):Z.removeAttribute("name")}function e5(Z,X,Y,Q,G,H,U,B){if(H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&typeof H!=="boolean"&&(CZ(H,"type"),Z.type=H),X!=null||Y!=null){if(!(H!=="submit"&&H!=="reset"||X!==void 0&&X!==null)){_F(Z);return}Y=Y!=null?""+mQ(Y):"",X=X!=null?""+mQ(X):Y,B||X===Z.value||(Z.value=X),Z.defaultValue=X}Q=Q!=null?Q:G,Q=typeof Q!=="function"&&typeof Q!=="symbol"&&!!Q,Z.checked=B?Z.checked:!!Q,Z.defaultChecked=!!Q,U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"&&(CZ(U,"name"),Z.name=U),_F(Z)}function UF(Z,X,Y){X==="number"&&_B(Z.ownerDocument)===Z||Z.defaultValue===""+Y||(Z.defaultValue=""+Y)}function Z8(Z,X){X.value==null&&(typeof X.children==="object"&&X.children!==null?o_.Children.forEach(X.children,function(Y){Y==null||typeof Y==="string"||typeof Y==="number"||typeof Y==="bigint"||z4||(z4=!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||_4||(_4=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),X.selected==null||H4||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),H4=!0)}function X8(){var Z=BX();return Z?`
|
|
39
|
+
|
|
40
|
+
Check the render method of \``+Z+"`.":""}function cz(Z,X,Y,Q){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&&Q&&(Z[Y].defaultSelected=!0)}else{Y=""+mQ(Y),X=null;for(G=0;G<Z.length;G++){if(Z[G].value===Y){Z[G].selected=!0,Q&&(Z[G].defaultSelected=!0);return}X!==null||Z[G].disabled||(X=Z[G])}X!==null&&(X.selected=!0)}}function Y8(Z,X){for(Z=0;Z<U4.length;Z++){var Y=U4[Z];if(X[Y]!=null){var Q=HY(X[Y]);X.multiple&&!Q?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Y,X8()):!X.multiple&&Q&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Y,X8())}}X.value===void 0||X.defaultValue===void 0||W4||(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"),W4=!0)}function Q8(Z,X){X.value===void 0||X.defaultValue===void 0||K4||(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",BX()||"A component"),K4=!0),X.children!=null&&X.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function J8(Z,X,Y){if(X!=null&&(X=""+mQ(X),X!==Z.value&&(Z.value=X),Y==null)){Z.defaultValue!==X&&(Z.defaultValue=X);return}Z.defaultValue=Y!=null?""+mQ(Y):""}function q8(Z,X,Y,Q){if(X==null){if(Q!=null){if(Y!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(HY(Q)){if(1<Q.length)throw Error("<textarea> can only have at most one child.");Q=Q[0]}Y=Q}Y==null&&(Y=""),X=Y}Y=mQ(X),Z.defaultValue=Y,Q=Z.textContent,Q===Y&&Q!==""&&Q!==null&&(Z.value=Q),_F(Z)}function G8(Z,X){return Z.serverProps===void 0&&Z.serverTail.length===0&&Z.children.length===1&&3<Z.distanceFromLeaf&&Z.distanceFromLeaf>15-X?G8(Z.children[0],X):Z}function LQ(Z){return" "+" ".repeat(Z)}function pz(Z){return"+ "+" ".repeat(Z)}function IH(Z){return"- "+" ".repeat(Z)}function H8(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 gW(Z,X){return B4.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 WB(Z,X,Y){var Q=120-2*Y;if(X===null)return pz(Y)+gW(Z,Q)+`
|
|
41
|
+
`;if(typeof X==="string"){for(var G=0;G<X.length&&G<Z.length&&X.charCodeAt(G)===Z.charCodeAt(G);G++);return G>Q-8&&10<G&&(Z="..."+Z.slice(G-8),X="..."+X.slice(G-8)),pz(Y)+gW(Z,Q)+`
|
|
42
|
+
`+IH(Y)+gW(X,Q)+`
|
|
43
|
+
`}return LQ(Y)+gW(Z,Q)+`
|
|
44
|
+
`}function KF(Z){return Object.prototype.toString.call(Z).replace(/^\[object (.*)\]$/,function(X,Y){return Y})}function mW(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===sJ)return(X=b(Z.type))?"<"+X+">":"<...>";var Y=KF(Z);if(Y==="Object"){Y="",X-=2;for(var Q in Z)if(Z.hasOwnProperty(Q)){var G=JSON.stringify(Q);if(G!=='"'+Q+'"'&&(Q=G),X-=Q.length-2,G=mW(Z[Q],15>X?X:15),X-=G.length,0>X){Y+=Y===""?"...":", ...";break}Y+=(Y===""?"":",")+Q+":"+G}return"{"+Y+"}"}return Y;case"function":return(X=Z.displayName||Z.name)?"function "+X:"function";default:return String(Z)}}function lz(Z,X){return typeof Z!=="string"||B4.test(Z)?"{"+mW(Z,X-2)+"}":Z.length>X-2?5>X?'"..."':'"'+Z.slice(0,X-5)+'..."':'"'+Z+'"'}function BF(Z,X,Y){var Q=120-Y.length-Z.length,G=[],H;for(H in X)if(X.hasOwnProperty(H)&&H!=="children"){var U=lz(X[H],120-Y.length-H.length-1);Q-=H.length+U.length+2,G.push(H+"="+U)}return G.length===0?Y+"<"+Z+`>
|
|
45
|
+
`:0<Q?Y+"<"+Z+" "+G.join(" ")+`>
|
|
46
|
+
`:Y+"<"+Z+`
|
|
47
|
+
`+Y+" "+G.join(`
|
|
48
|
+
`+Y+" ")+`
|
|
49
|
+
`+Y+`>
|
|
50
|
+
`}function nD(Z,X,Y){var Q="",G=rZ({},X),H;for(H in Z)if(Z.hasOwnProperty(H)){delete G[H];var U=120-2*Y-H.length-2,B=mW(Z[H],U);X.hasOwnProperty(H)?(U=mW(X[H],U),Q+=pz(Y)+H+": "+B+`
|
|
51
|
+
`,Q+=IH(Y)+H+": "+U+`
|
|
52
|
+
`):Q+=pz(Y)+H+": "+B+`
|
|
53
|
+
`}for(var O in G)G.hasOwnProperty(O)&&(Z=mW(G[O],120-2*Y-O.length-2),Q+=IH(Y)+O+": "+Z+`
|
|
54
|
+
`);return Q}function sD(Z,X,Y,Q){var G="",H=new Map;for(I in Y)Y.hasOwnProperty(I)&&H.set(I.toLowerCase(),I);if(H.size===1&&H.has("children"))G+=BF(Z,X,LQ(Q));else{for(var U in X)if(X.hasOwnProperty(U)&&U!=="children"){var B=120-2*(Q+1)-U.length-1,O=H.get(U.toLowerCase());if(O!==void 0){H.delete(U.toLowerCase());var I=X[U];O=Y[O];var k=lz(I,B);B=lz(O,B),typeof I==="object"&&I!==null&&typeof O==="object"&&O!==null&&KF(I)==="Object"&&KF(O)==="Object"&&(2<Object.keys(I).length||2<Object.keys(O).length||-1<k.indexOf("...")||-1<B.indexOf("..."))?G+=LQ(Q+1)+U+`={{
|
|
55
|
+
`+nD(I,O,Q+2)+LQ(Q+1)+`}}
|
|
56
|
+
`:(G+=pz(Q+1)+U+"="+k+`
|
|
57
|
+
`,G+=IH(Q+1)+U+"="+B+`
|
|
58
|
+
`)}else G+=LQ(Q+1)+U+"="+lz(X[U],B)+`
|
|
59
|
+
`}H.forEach(function(x){if(x!=="children"){var $=120-2*(Q+1)-x.length-1;G+=IH(Q+1)+x+"="+lz(Y[x],$)+`
|
|
60
|
+
`}}),G=G===""?LQ(Q)+"<"+Z+`>
|
|
61
|
+
`:LQ(Q)+"<"+Z+`
|
|
62
|
+
`+G+LQ(Q)+`>
|
|
63
|
+
`}if(Z=Y.children,X=X.children,typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint"){if(H="",typeof X==="string"||typeof X==="number"||typeof X==="bigint")H=""+X;G+=WB(H,""+Z,Q+1)}else if(typeof X==="string"||typeof X==="number"||typeof X==="bigint")G=Z==null?G+WB(""+X,null,Q+1):G+WB(""+X,void 0,Q+1);return G}function z8(Z,X){var Y=H8(Z);if(Y===null){Y="";for(Z=Z.child;Z;)Y+=z8(Z,X),Z=Z.sibling;return Y}return LQ(X)+"<"+Y+`>
|
|
64
|
+
`}function LF(Z,X){var Y=G8(Z,X);if(Y!==Z&&(Z.children.length!==1||Z.children[0]!==Y))return LQ(X)+`...
|
|
65
|
+
`+LF(Y,X+1);Y="";var Q=Z.fiber._debugInfo;if(Q)for(var G=0;G<Q.length;G++){var H=Q[G].name;typeof H==="string"&&(Y+=LQ(X)+"<"+H+`>
|
|
66
|
+
`,X++)}if(Q="",G=Z.fiber.pendingProps,Z.fiber.tag===6)Q=WB(G,Z.serverProps,X),X++;else if(H=H8(Z.fiber),H!==null)if(Z.serverProps===void 0){Q=X;var U=120-2*Q-H.length-2,B="";for(I in G)if(G.hasOwnProperty(I)&&I!=="children"){var O=lz(G[I],15);if(U-=I.length+O.length+2,0>U){B+=" ...";break}B+=" "+I+"="+O}Q=LQ(Q)+"<"+H+B+`>
|
|
67
|
+
`,X++}else Z.serverProps===null?(Q=BF(H,G,pz(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."):(Q=sD(H,G,Z.serverProps,X),X++);var I="";G=Z.fiber.child;for(H=0;G&&H<Z.children.length;)U=Z.children[H],U.fiber===G?(I+=LF(U,X),H++):I+=z8(G,X),G=G.sibling;G&&0<Z.children.length&&(I+=LQ(X)+`...
|
|
68
|
+
`),G=Z.serverTail,Z.serverProps===null&&X--;for(Z=0;Z<G.length;Z++)H=G[Z],I=typeof H==="string"?I+(IH(X)+gW(H,120-2*X)+`
|
|
69
|
+
`):I+BF(H.type,H.props,IH(X));return Y+Q+I}function AF(Z){try{return`
|
|
70
|
+
|
|
71
|
+
`+LF(Z,0)}catch(X){return""}}function _8(Z,X,Y){for(var Q=X,G=null,H=0;Q;)Q===Z&&(H=0),G={fiber:Q,children:G!==null?[G]:[],serverProps:Q===X?Y:Q===Z?null:void 0,serverTail:[],distanceFromLeaf:H},H++,Q=Q.return;return G!==null?AF(G).replaceAll(/^[+-]/gm,">"):""}function W8(Z,X){var Y=rZ({},Z||A4),Q={tag:X};if(L4.indexOf(X)!==-1&&(Y.aTagInScope=null,Y.buttonTagInScope=null,Y.nobrTagInScope=null),e$.indexOf(X)!==-1&&(Y.pTagInButtonScope=null),t$.indexOf(X)!==-1&&X!=="address"&&X!=="div"&&X!=="p"&&(Y.listItemTagAutoclosing=null,Y.dlItemTagAutoclosing=null),Y.current=Q,X==="form"&&(Y.formTag=Q),X==="a"&&(Y.aTagInScope=Q),X==="button"&&(Y.buttonTagInScope=Q),X==="nobr"&&(Y.nobrTagInScope=Q),X==="p"&&(Y.pTagInButtonScope=Q),X==="li"&&(Y.listItemTagAutoclosing=Q),X==="dd"||X==="dt")Y.dlItemTagAutoclosing=Q;return X==="#document"||X==="html"?Y.containerTagInScope=null:Y.containerTagInScope||(Y.containerTagInScope=Q),Z!==null||X!=="#document"&&X!=="html"&&X!=="body"?Y.implicitRootScope===!0&&(Y.implicitRootScope=!1):Y.implicitRootScope=!0,Y}function U8(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 ZS.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 aD(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 K8(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 OF(Z,X){X=X||A4;var Y=X.current;if(X=(Y=U8(Z,Y&&Y.tag,X.implicitRootScope)?null:Y)?null:aD(Z,X),X=Y||X,!X)return!0;var Q=X.tag;if(X=String(!!Y)+"|"+Z+"|"+Q,wL[X])return!1;wL[X]=!0;var G=(X=VQ)?K8(X.return,Q):null,H=X!==null&&G!==null?_8(G,X,null):"",U="<"+Z+">";return Y?(Y="",Q==="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,Q,Y,H)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
73
|
+
This will cause a hydration error.%s`,U,Q,H),X&&(Z=X.return,G===null||Z===null||G===Z&&Z._debugOwner===X._debugOwner||_Z(G,function(){console.error(`<%s> cannot contain a nested %s.
|
|
74
|
+
See this log for the ancestor stack trace.`,Q,U)})),!1}function UB(Z,X,Y){if(Y||U8("#text",X,!1))return!0;if(Y="#text|"+X,wL[Y])return!1;wL[Y]=!0;var Q=(Y=VQ)?K8(Y,X):null;return Y=Y!==null&&Q!==null?_8(Q,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 fW(Z,X){if(X){var Y=Z.firstChild;if(Y&&Y===Z.lastChild&&Y.nodeType===3){Y.nodeValue=X;return}}Z.textContent=X}function oD(Z){return Z.replace(QS,function(X,Y){return Y.toUpperCase()})}function B8(Z,X,Y){var Q=X.indexOf("--")===0;Q||(-1<X.indexOf("-")?U_.hasOwnProperty(X)&&U_[X]||(U_[X]=!0,console.error("Unsupported style property %s. Did you mean %s?",X,oD(X.replace(YS,"ms-")))):XS.test(X)?U_.hasOwnProperty(X)&&U_[X]||(U_[X]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",X,X.charAt(0).toUpperCase()+X.slice(1))):!M4.test(Y)||E0.hasOwnProperty(Y)&&E0[Y]||(E0[Y]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,X,Y.replace(M4,""))),typeof Y==="number"&&(isNaN(Y)?N4||(N4=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",X)):isFinite(Y)||I4||(I4=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",X)))),Y==null||typeof Y==="boolean"||Y===""?Q?Z.setProperty(X,""):X==="float"?Z.cssFloat="":Z[X]="":Q?Z.setProperty(X,Y):typeof Y!=="number"||Y===0||T4.has(X)?X==="float"?Z.cssFloat=Y:(Fq(Y,X),Z[X]=(""+Y).trim()):Z[X]=Y+"px"}function L8(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 Q={};if(Y){for(var G in Y)if(Y.hasOwnProperty(G)&&!X.hasOwnProperty(G))for(var H=S0[G]||[G],U=0;U<H.length;U++)Q[H[U]]=G}for(var B in X)if(X.hasOwnProperty(B)&&(!Y||Y[B]!==X[B]))for(G=S0[B]||[B],H=0;H<G.length;H++)Q[G[H]]=B;B={};for(var O in X)for(G=S0[O]||[O],H=0;H<G.length;H++)B[G[H]]=O;O={};for(var I in Q)if(G=Q[I],(H=B[I])&&G!==H&&(U=G+","+H,!O[U])){O[U]=!0,U=console;var k=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.",k==null||typeof k==="boolean"||k===""?"Removing":"Updating",G,H)}}for(var x in Y)!Y.hasOwnProperty(x)||X!=null&&X.hasOwnProperty(x)||(x.indexOf("--")===0?Z.setProperty(x,""):x==="float"?Z.cssFloat="":Z[x]="");for(var $ in X)I=X[$],X.hasOwnProperty($)&&Y[$]!==I&&B8(Z,$,I)}else for(Q in X)X.hasOwnProperty(Q)&&B8(Z,Q,X[Q])}function uW(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 A8(Z){return JS.get(Z)||Z}function rD(Z,X){if(BJ.call(B_,X)&&B_[X])return!0;if(GS.test(X)){if(Z="aria-"+X.slice(4).toLowerCase(),Z=w4.hasOwnProperty(Z)?Z:null,Z==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",X),B_[X]=!0;if(X!==Z)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",X,Z),B_[X]=!0}if(qS.test(X)){if(Z=X.toLowerCase(),Z=w4.hasOwnProperty(Z)?Z:null,Z==null)return B_[X]=!0,!1;X!==Z&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",X,Z),B_[X]=!0)}return!0}function tD(Z,X){var Y=[],Q;for(Q in X)rD(Z,Q)||Y.push(Q);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 eD(Z,X,Y,Q){if(BJ.call(dY,X)&&dY[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."),dY[X]=!0;if(typeof Y==="function"&&(Z==="form"&&X==="action"||Z==="input"&&X==="formAction"||Z==="button"&&X==="formAction"))return!0;if(Q!=null){if(Z=Q.possibleRegistrationNames,Q.registrationNameDependencies.hasOwnProperty(X))return!0;if(Q=Z.hasOwnProperty(G)?Z[G]:null,Q!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",X,Q),dY[X]=!0;if(R4.test(X))return console.error("Unknown event handler property `%s`. It will be ignored.",X),dY[X]=!0}else if(R4.test(X))return HS.test(X)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",X),dY[X]=!0;if(zS.test(X)||_S.test(X))return!0;if(G==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),dY[X]=!0;if(G==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),dY[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),dY[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),dY[X]=!0;if(RL.hasOwnProperty(G)){if(G=RL[G],G!==X)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",X,G),dY[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),dY[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),dY[X]=!0}case"function":case"symbol":return dY[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),dY[X]=!0}}return!0}function ZP(Z,X,Y){var Q=[],G;for(G in X)eD(Z,G,X[G],Y)||Q.push(G);X=Q.map(function(H){return"`"+H+"`"}).join(", "),Q.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<Q.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 dW(Z){return WS.test(""+Z)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":Z}function Nq(){}function FF(Z){return Z=Z.target||Z.srcElement||window,Z.correspondingUseElement&&(Z=Z.correspondingUseElement),Z.nodeType===3?Z.parentNode:Z}function O8(Z){var X=fZ(Z);if(X&&(Z=X.stateNode)){var Y=Z[uY]||null;Z:switch(Z=X.stateNode,X.type){case"input":if(WF(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;CZ(X,"name"),Y=Y.querySelectorAll('input[name="'+fQ(""+X)+'"][type="radio"]');for(X=0;X<Y.length;X++){var Q=Y[X];if(Q!==Z&&Q.form===Z.form){var G=Q[uY]||null;if(!G)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");WF(Q,G.value,G.defaultValue,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name)}}for(X=0;X<Y.length;X++)Q=Y[X],Q.form===Z.form&&r5(Q)}break Z;case"textarea":J8(Z,Y.value,Y.defaultValue);break Z;case"select":X=Y.value,X!=null&&cz(Z,!!Y.multiple,X,!1)}}}function F8(Z,X,Y){if(k0)return Z(X,Y);k0=!0;try{var Q=Z(X);return Q}finally{if(k0=!1,L_!==null||A_!==null){if(X_(),L_&&(X=L_,Z=A_,A_=L_=null,O8(X),Z))for(X=0;X<Z.length;X++)O8(Z[X])}}}function cW(Z,X){var Y=Z.stateNode;if(Y===null)return null;var Q=Y[uY]||null;if(Q===null)return null;Y=Q[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":(Q=!Q.disabled)||(Z=Z.type,Q=!(Z==="button"||Z==="input"||Z==="select"||Z==="textarea")),Z=!Q;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 M8(){if(jL)return jL;var Z,X=y0,Y=X.length,Q,G="value"in wG?wG.value:wG.textContent,H=G.length;for(Z=0;Z<Y&&X[Z]===G[Z];Z++);var U=Y-Z;for(Q=1;Q<=U&&X[Y-Q]===G[H-Q];Q++);return jL=G.slice(Z,1<Q?1-Q:void 0)}function KB(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 BB(){return!0}function N8(){return!1}function oY(Z){function X(Y,Q,G,H,U){this._reactName=Y,this._targetInst=G,this.type=Q,this.nativeEvent=H,this.target=U,this.currentTarget=null;for(var B in Z)Z.hasOwnProperty(B)&&(Y=Z[B],this[B]=Y?Y(H):H[B]);return this.isDefaultPrevented=(H.defaultPrevented!=null?H.defaultPrevented:H.returnValue===!1)?BB:N8,this.isPropagationStopped=N8,this}return rZ(X.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Y=this.nativeEvent;Y&&(Y.preventDefault?Y.preventDefault():typeof Y.returnValue!=="unknown"&&(Y.returnValue=!1),this.isDefaultPrevented=BB)},stopPropagation:function(){var Y=this.nativeEvent;Y&&(Y.stopPropagation?Y.stopPropagation():typeof Y.cancelBubble!=="unknown"&&(Y.cancelBubble=!0),this.isPropagationStopped=BB)},persist:function(){},isPersistent:BB}),X}function XP(Z){var X=this.nativeEvent;return X.getModifierState?X.getModifierState(Z):(Z=VS[Z])?!!X[Z]:!1}function MF(){return XP}function I8(Z,X){switch(Z){case"keyup":return vS.indexOf(X.keyCode)!==-1;case"keydown":return X.keyCode!==P4;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function T8(Z){return Z=Z.detail,typeof Z==="object"&&"data"in Z?Z.data:null}function YP(Z,X){switch(Z){case"compositionend":return T8(X);case"keypress":if(X.which!==S4)return null;return k4=!0,E4;case"textInput":return Z=X.data,Z===E4&&k4?null:Z;default:return null}}function QP(Z,X){if(O_)return Z==="compositionend"||!g0&&I8(Z,X)?(Z=M8(),jL=y0=wG=null,O_=!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 $4&&X.locale!=="ko"?null:X.data;default:return null}}function w8(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();return X==="input"?!!bS[Z.type]:X==="textarea"?!0:!1}function JP(Z){if(!Zq)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 V8(Z,X,Y,Q){L_?A_?A_.push(Q):A_=[Q]:L_=Q,X=qL(X,"onChange"),0<X.length&&(Y=new CL("onChange","change",null,Y,Q),Z.push({event:Y,listeners:X}))}function qP(Z){qI(Z,0)}function LB(Z){var X=uZ(Z);if(r5(X))return Z}function R8(Z,X){if(Z==="change")return X}function j8(){PU&&(PU.detachEvent("onpropertychange",C8),$U=PU=null)}function C8(Z){if(Z.propertyName==="value"&&LB($U)){var X=[];V8(X,$U,Z,FF(Z)),F8(qP,X)}}function GP(Z,X,Y){Z==="focusin"?(j8(),PU=X,$U=Y,PU.attachEvent("onpropertychange",C8)):Z==="focusout"&&j8()}function HP(Z){if(Z==="selectionchange"||Z==="keyup"||Z==="keydown")return LB($U)}function zP(Z,X){if(Z==="click")return LB(X)}function _P(Z,X){if(Z==="input"||Z==="change")return LB(X)}function WP(Z,X){return Z===X&&(Z!==0||1/Z===1/X)||Z!==Z&&X!==X}function pW(Z,X){if(cY(Z,X))return!0;if(typeof Z!=="object"||Z===null||typeof X!=="object"||X===null)return!1;var Y=Object.keys(Z),Q=Object.keys(X);if(Y.length!==Q.length)return!1;for(Q=0;Q<Y.length;Q++){var G=Y[Q];if(!BJ.call(X,G)||!cY(Z[G],X[G]))return!1}return!0}function D8(Z){for(;Z&&Z.firstChild;)Z=Z.firstChild;return Z}function P8(Z,X){var Y=D8(Z);Z=0;for(var Q;Y;){if(Y.nodeType===3){if(Q=Z+Y.textContent.length,Z<=X&&Q>=X)return{node:Y,offset:X-Z};Z=Q}Z:{for(;Y;){if(Y.nextSibling){Y=Y.nextSibling;break Z}Y=Y.parentNode}Y=void 0}Y=D8(Y)}}function $8(Z,X){return Z&&X?Z===X?!0:Z&&Z.nodeType===3?!1:X&&X.nodeType===3?$8(Z,X.parentNode):("contains"in Z)?Z.contains(X):Z.compareDocumentPosition?!!(Z.compareDocumentPosition(X)&16):!1:!1}function S8(Z){Z=Z!=null&&Z.ownerDocument!=null&&Z.ownerDocument.defaultView!=null?Z.ownerDocument.defaultView:window;for(var X=_B(Z.document);X instanceof Z.HTMLIFrameElement;){try{var Y=typeof X.contentWindow.location.href==="string"}catch(Q){Y=!1}if(Y)Z=X.contentWindow;else break;X=_B(Z.document)}return X}function NF(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 E8(Z,X,Y){var Q=Y.window===Y?Y.document:Y.nodeType===9?Y:Y.ownerDocument;f0||F_==null||F_!==_B(Q)||(Q=F_,("selectionStart"in Q)&&NF(Q)?Q={start:Q.selectionStart,end:Q.selectionEnd}:(Q=(Q.ownerDocument&&Q.ownerDocument.defaultView||window).getSelection(),Q={anchorNode:Q.anchorNode,anchorOffset:Q.anchorOffset,focusNode:Q.focusNode,focusOffset:Q.focusOffset}),SU&&pW(SU,Q)||(SU=Q,Q=qL(m0,"onSelect"),0<Q.length&&(X=new CL("onSelect","select",null,X,Y),Z.push({event:X,listeners:Q}),X.target=F_)))}function TH(Z,X){var Y={};return Y[Z.toLowerCase()]=X.toLowerCase(),Y["Webkit"+Z]="webkit"+X,Y["Moz"+Z]="moz"+X,Y}function wH(Z){if(u0[Z])return u0[Z];if(!M_[Z])return Z;var X=M_[Z],Y;for(Y in X)if(X.hasOwnProperty(Y)&&Y in y4)return u0[Z]=X[Y];return Z}function WJ(Z,X){m4.set(Z,X),vY(X,[Z])}function UP(Z){for(var X=PL,Y=0;Y<Z.length;Y++){var Q=Z[Y];if(typeof Q==="object"&&Q!==null)if(HY(Q)&&Q.length===2&&typeof Q[0]==="string"){if(X!==PL&&X!==i0)return p0;X=i0}else return p0;else{if(typeof Q==="function"||typeof Q==="string"&&50<Q.length||X!==PL&&X!==l0)return p0;X=l0}}return X}function IF(Z,X,Y,Q){for(var G in Z)BJ.call(Z,G)&&G[0]!=="_"&&kJ(G,Z[G],X,Y,Q)}function kJ(Z,X,Y,Q,G){switch(typeof X){case"object":if(X===null){X="null";break}else{if(X.$$typeof===sJ){var H=b(X.type)||"…",U=X.key;X=X.props;var B=Object.keys(X),O=B.length;if(U==null&&O===0){X="<"+H+" />";break}if(3>Q||O===1&&B[0]==="children"&&U==null){X="<"+H+" … />";break}Y.push([G+" ".repeat(Q)+Z,"<"+H]),U!==null&&kJ("key",U,Y,Q+1,G),Z=!1;for(var I in X)I==="children"?X.children!=null&&(!HY(X.children)||0<X.children.length)&&(Z=!0):BJ.call(X,I)&&I[0]!=="_"&&kJ(I,X[I],Y,Q+1,G);Y.push(["",Z?">…</"+H+">":"/>"]);return}if(H=Object.prototype.toString.call(X),H=H.slice(8,H.length-1),H==="Array"){if(I=UP(X),I===l0||I===PL){X=JSON.stringify(X);break}else if(I===i0){Y.push([G+" ".repeat(Q)+Z,""]);for(Z=0;Z<X.length;Z++)H=X[Z],kJ(H[0],H[1],Y,Q+1,G);return}}if(H==="Promise"){if(X.status==="fulfilled"){if(H=Y.length,kJ(Z,X.value,Y,Q,G),Y.length>H){Y=Y[H],Y[1]="Promise<"+(Y[1]||"Object")+">";return}}else if(X.status==="rejected"&&(H=Y.length,kJ(Z,X.reason,Y,Q,G),Y.length>H)){Y=Y[H],Y[1]="Rejected Promise<"+Y[1]+">";return}Y.push([" ".repeat(Q)+Z,"Promise"]);return}H==="Object"&&(I=Object.getPrototypeOf(X))&&typeof I.constructor==="function"&&(H=I.constructor.name),Y.push([G+" ".repeat(Q)+Z,H==="Object"?3>Q?"":"…":H]),3>Q&&IF(X,Y,Q+1,G);return}case"function":X=X.name===""?"() => {}":X.name+"() {}";break;case"string":X=X===pS?"…":JSON.stringify(X);break;case"undefined":X="undefined";break;case"boolean":X=X?"true":"false";break;default:X=String(X)}Y.push([G+" ".repeat(Q)+Z,X])}function k8(Z,X,Y,Q){var G=!0;for(U in Z)U in X||(Y.push([$L+" ".repeat(Q)+U,"…"]),G=!1);for(var H in X)if(H in Z){var U=Z[H],B=X[H];if(U!==B){if(Q===0&&H==="children")G=" ".repeat(Q)+H,Y.push([$L+G,"…"],[SL+G,"…"]);else{if(!(3<=Q)){if(typeof U==="object"&&typeof B==="object"&&U!==null&&B!==null&&U.$$typeof===B.$$typeof)if(B.$$typeof===sJ){if(U.type===B.type&&U.key===B.key){U=b(B.type)||"…",G=" ".repeat(Q)+H,U="<"+U+" … />",Y.push([$L+G,U],[SL+G,U]),G=!1;continue}}else{var O=Object.prototype.toString.call(U),I=Object.prototype.toString.call(B);if(O===I&&(I==="[object Object]"||I==="[object Array]")){O=[d4+" ".repeat(Q)+H,I==="[object Array]"?"Array":""],Y.push(O),I=Y.length,k8(U,B,Y,Q+1)?I===Y.length&&(O[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&&(O=Function.prototype.toString.call(U),I=Function.prototype.toString.call(B),O===I)){U=B.name===""?"() => {}":B.name+"() {}",Y.push([d4+" ".repeat(Q)+H,U+" Referentially unequal function closure. Consider memoization."]);continue}}kJ(H,U,Y,Q,$L),kJ(H,B,Y,Q,SL)}G=!1}}else Y.push([SL+" ".repeat(Q)+H,"…"]),G=!1;return G}function AQ(Z){eZ=Z&63?"Blocking":Z&64?"Gesture":Z&4194176?"Transition":Z&62914560?"Suspense":Z&2080374784?"Idle":"Other"}function xJ(Z,X,Y,Q){PX&&(RG.start=X,RG.end=Y,Pq.color="warning",Pq.tooltipText=Q,Pq.properties=null,(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,Q,RG)):performance.measure(Q,RG))}function AB(Z,X,Y){xJ(Z,X,Y,"Reconnect")}function OB(Z,X,Y,Q,G){var H=a(Z);if(H!==null&&PX){var{alternate:U,actualDuration:B}=Z;if(U===null||U.child!==Z.child)for(var O=Z.child;O!==null;O=O.sibling)B-=O.actualDuration;Q=0.5>B?Q?"tertiary-light":"primary-light":10>B?Q?"tertiary":"primary":100>B?Q?"tertiary-dark":"primary-dark":"error";var I=Z.memoizedProps;B=Z._debugTask,I!==null&&U!==null&&U.memoizedProps!==I?(O=[lS],I=k8(U.memoizedProps,I,O,0),1<O.length&&(I&&!VG&&(U.lanes&G)===0&&100<Z.actualDuration?(VG=!0,O[0]=iS,Pq.color="warning",Pq.tooltipText=c4):(Pq.color=Q,Pq.tooltipText=H),Pq.properties=O,RG.start=X,RG.end=Y,B!=null?B.run(performance.measure.bind(performance,""+H,RG)):performance.measure(""+H,RG))):B!=null?B.run(console.timeStamp.bind(console,H,X,Y,dQ,void 0,Q)):console.timeStamp(H,X,Y,dQ,void 0,Q)}}function TF(Z,X,Y,Q){if(PX){var G=a(Z);if(G!==null){for(var H=null,U=[],B=0;B<Q.length;B++){var O=Q[B];H==null&&O.source!==null&&(H=O.source._debugTask),O=O.value,U.push(["Error",typeof O==="object"&&O!==null&&typeof O.message==="string"?String(O.message):String(O)])}Z.key!==null&&kJ("key",Z.key,U,0,""),Z.memoizedProps!==null&&IF(Z.memoizedProps,U,0,""),H==null&&(H=Z._debugTask),Z={start:X,end:Y,detail:{devtools:{color:"error",track:dQ,tooltipText:Z.tag===13?"Hydration failed":"Error boundary caught an error",properties:U}}},H?H.run(performance.measure.bind(performance,""+G,Z)):performance.measure(""+G,Z)}}}function yJ(Z,X,Y,Q,G){if(G!==null){if(PX){var H=a(Z);if(H!==null){Q=[];for(var U=0;U<G.length;U++){var B=G[U].value;Q.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z.key!==null&&kJ("key",Z.key,Q,0,""),Z.memoizedProps!==null&&IF(Z.memoizedProps,Q,0,""),X={start:X,end:Y,detail:{devtools:{color:"error",track:dQ,tooltipText:"A lifecycle or effect errored",properties:Q}}},(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,""+H,X)):performance.measure(""+H,X)}}}else H=a(Z),H!==null&&PX&&(G=1>Q?"secondary-light":100>Q?"secondary":500>Q?"secondary-dark":"error",(Z=Z._debugTask)?Z.run(console.timeStamp.bind(console,H,X,Y,dQ,void 0,G)):console.timeStamp(H,X,Y,dQ,void 0,G))}function KP(Z,X,Y,Q){if(PX&&!(X<=Z)){var G=(Y&738197653)===Y?"tertiary-dark":"primary-dark";Y=(Y&536870912)===Y?"Prepared":(Y&201326741)===Y?"Hydrated":"Render",Q?Q.run(console.timeStamp.bind(console,Y,Z,X,eZ,tZ,G)):console.timeStamp(Y,Z,X,eZ,tZ,G)}}function x8(Z,X,Y,Q){!PX||X<=Z||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",Q?Q.run(console.timeStamp.bind(console,"Prewarm",Z,X,eZ,tZ,Y)):console.timeStamp("Prewarm",Z,X,eZ,tZ,Y))}function y8(Z,X,Y,Q){!PX||X<=Z||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",Q?Q.run(console.timeStamp.bind(console,"Suspended",Z,X,eZ,tZ,Y)):console.timeStamp("Suspended",Z,X,eZ,tZ,Y))}function BP(Z,X,Y,Q,G,H){if(PX&&!(X<=Z)){Y=[];for(var U=0;U<Q.length;U++){var B=Q[U].value;Y.push(["Recoverable Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z={start:Z,end:X,detail:{devtools:{color:"primary-dark",track:eZ,trackGroup:tZ,tooltipText:G?"Hydration Failed":"Recovered after Error",properties:Y}}},H?H.run(performance.measure.bind(performance,"Recovered",Z)):performance.measure("Recovered",Z)}}function wF(Z,X,Y,Q){!PX||X<=Z||(Q?Q.run(console.timeStamp.bind(console,"Errored",Z,X,eZ,tZ,"error")):console.timeStamp("Errored",Z,X,eZ,tZ,"error"))}function LP(Z,X,Y,Q){!PX||X<=Z||(Q?Q.run(console.timeStamp.bind(console,Y,Z,X,eZ,tZ,"secondary-light")):console.timeStamp(Y,Z,X,eZ,tZ,"secondary-light"))}function v8(Z,X,Y,Q,G){if(PX&&!(X<=Z)){for(var H=[],U=0;U<Y.length;U++){var B=Y[U].value;H.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}Z={start:Z,end:X,detail:{devtools:{color:"error",track:eZ,trackGroup:tZ,tooltipText:Q?"Remaining Effects Errored":"Commit Errored",properties:H}}},G?G.run(performance.measure.bind(performance,"Errored",Z)):performance.measure("Errored",Z)}}function lW(Z,X,Y){!PX||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 FB(){for(var Z=N_,X=n0=N_=0;X<Z;){var Y=cQ[X];cQ[X++]=null;var Q=cQ[X];cQ[X++]=null;var G=cQ[X];cQ[X++]=null;var H=cQ[X];if(cQ[X++]=null,Q!==null&&G!==null){var U=Q.pending;U===null?G.next=G:(G.next=U.next,U.next=G),Q.pending=G}H!==0&&h8(Y,G,H)}}function MB(Z,X,Y,Q){cQ[N_++]=Z,cQ[N_++]=X,cQ[N_++]=Y,cQ[N_++]=Q,n0|=Q,Z.lanes|=Q,Z=Z.alternate,Z!==null&&(Z.lanes|=Q)}function VF(Z,X,Y,Q){return MB(Z,X,Y,Q),NB(Z)}function hY(Z,X){return MB(Z,null,null,X),NB(Z)}function h8(Z,X,Y){Z.lanes|=Y;var Q=Z.alternate;Q!==null&&(Q.lanes|=Y);for(var G=!1,H=Z.return;H!==null;)H.childLanes|=Y,Q=H.alternate,Q!==null&&(Q.childLanes|=Y),H.tag===22&&(Z=H.stateNode,Z===null||Z._visibility&EU||(G=!0)),Z=H,H=H.return;return Z.tag===3?(H=Z.stateNode,G&&X!==null&&(G=31-fY(Y),Z=H.hiddenUpdates,Q=Z[G],Q===null?Z[G]=[X]:Q.push(X),X.lane=Y|536870912),H):null}function NB(Z){if(JK>HE)throw rH=JK=0,qK=C9=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.");rH>zE&&(rH=0,qK=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&&t1(Z);for(var X=Z,Y=X.return;Y!==null;)X.alternate===null&&(X.flags&4098)!==0&&t1(Z),X=Y,Y=X.return;return X.tag===3?X.stateNode:null}function VH(Z){if(pQ===null)return Z;var X=pQ(Z);return X===void 0?Z:X.current}function RF(Z){if(pQ===null)return Z;var X=pQ(Z);return X===void 0?Z!==null&&Z!==void 0&&typeof Z.render==="function"&&(X=VH(Z.render),Z.render!==X)?(X={$$typeof:NU,render:X},Z.displayName!==void 0&&(X.displayName=Z.displayName),X):Z:X.current}function b8(Z,X){if(pQ===null)return!1;var Y=Z.elementType;X=X.type;var Q=!1,G=typeof X==="object"&&X!==null?X.$$typeof:null;switch(Z.tag){case 1:typeof X==="function"&&(Q=!0);break;case 0:typeof X==="function"?Q=!0:G===wQ&&(Q=!0);break;case 11:G===NU?Q=!0:G===wQ&&(Q=!0);break;case 14:case 15:G===OL?Q=!0:G===wQ&&(Q=!0);break;default:return!1}return Q&&(Z=pQ(Y),Z!==void 0&&Z===pQ(X))?!0:!1}function g8(Z){pQ!==null&&typeof WeakSet==="function"&&(I_===null&&(I_=new WeakSet),I_.add(Z))}function m8(Z,X,Y){do{var Q=Z,G=Q.alternate,H=Q.child,U=Q.sibling,B=Q.tag;Q=Q.type;var O=null;switch(B){case 0:case 15:case 1:O=Q;break;case 11:O=Q.render}if(pQ===null)throw Error("Expected resolveFamily to be set during hot reload.");var I=!1;if(Q=!1,O!==null&&(O=pQ(O),O!==void 0&&(Y.has(O)?Q=!0:X.has(O)&&(B===1?Q=!0:I=!0))),I_!==null&&(I_.has(Z)||G!==null&&I_.has(G))&&(Q=!0),Q&&(Z._debugNeedsRemount=!0),Q||I)G=hY(Z,2),G!==null&&gX(G,Z,2);if(H===null||Q||m8(H,X,Y),U===null)break;Z=U}while(1)}function AP(Z,X,Y,Q){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=Q,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,p4||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function jF(Z){return Z=Z.prototype,!(!Z||!Z.isReactComponent)}function Iq(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=VH(Z.type);break;case 1:Y.type=VH(Z.type);break;case 11:Y.type=RF(Z.type)}return Y}function f8(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 CF(Z,X,Y,Q,G,H){var U=0,B=Z;if(typeof Z==="function")jF(Z)&&(U=1),B=VH(B);else if(typeof Z==="string")U=p(),U=R$(Z,Y,U)?26:Z==="html"||Z==="head"||Z==="body"?27:5;else Z:switch(Z){case M0:return X=R(31,Y,X,G),X.elementType=M0,X.lanes=H,X;case z_:return RH(Y.children,G,H,X);case AL:U=8,G|=gY,G|=AJ;break;case L0:return Z=Y,Q=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,Q|iZ),X.elementType=L0,X.lanes=H,X.stateNode={effectDuration:0,passiveEffectDuration:0},X;case O0:return X=R(13,Y,X,G),X.elementType=O0,X.lanes=H,X;case F0:return X=R(19,Y,X,G),X.elementType=F0,X.lanes=H,X;default:if(typeof Z==="object"&&Z!==null)switch(Z.$$typeof){case aJ:U=10;break Z;case A0:U=9;break Z;case NU:U=11,B=RF(B);break Z;case OL:U=14;break Z;case wQ: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===sJ?(Y="<"+(b(Z.type)||"Unknown")+" />",B=" Did you accidentally export a JSX literal instead of a component?"):Y=typeof Z,(U=Q?AZ(Q):null)&&(B+=`
|
|
77
|
+
|
|
78
|
+
Check the render method of \``+U+"`."),U=29,Y=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(Y+"."+B)),B=null}return X=R(U,Y,X,G),X.elementType=Z,X.type=B,X.lanes=H,X._debugOwner=Q,X}function IB(Z,X,Y){return X=CF(Z.type,Z.key,Z.props,Z._owner,X,Y),X._debugOwner=Z._owner,X._debugStack=Z._debugStack,X._debugTask=Z._debugTask,X}function RH(Z,X,Y,Q){return Z=R(7,Z,Q,X),Z.lanes=Y,Z}function DF(Z,X,Y){return Z=R(6,Z,null,X),Z.lanes=Y,Z}function u8(Z){var X=R(18,null,null,vZ);return X.stateNode=Z,X}function PF(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 OQ(Z,X){if(typeof Z==="object"&&Z!==null){var Y=s0.get(Z);if(Y!==void 0)return Y;return X={value:Z,source:X,stack:YX(X)},s0.set(Z,X),X}return{value:Z,source:X,stack:YX(X)}}function Tq(Z,X){GG(),T_[w_++]=kU,T_[w_++]=EL,EL=Z,kU=X}function d8(Z,X,Y){GG(),lQ[iQ++]=Sq,lQ[iQ++]=Eq,lQ[iQ++]=bH,bH=Z;var Q=Sq;Z=Eq;var G=32-fY(Q)-1;Q&=~(1<<G),Y+=1;var H=32-fY(X)+G;if(30<H){var U=G-G%5;H=(Q&(1<<U)-1).toString(32),Q>>=U,G-=U,Sq=1<<32-fY(X)+G|Y<<G|Q,Eq=H+Z}else Sq=1<<H|Y<<G|Q,Eq=Z}function $F(Z){GG(),Z.return!==null&&(Tq(Z,1),d8(Z,1,0))}function SF(Z){for(;Z===EL;)EL=T_[--w_],T_[w_]=null,kU=T_[--w_],T_[w_]=null;for(;Z===bH;)bH=lQ[--iQ],lQ[iQ]=null,Eq=lQ[--iQ],lQ[iQ]=null,Sq=lQ[--iQ],lQ[iQ]=null}function c8(){return GG(),bH!==null?{id:Sq,overflow:Eq}:null}function p8(Z,X){GG(),lQ[iQ++]=Sq,lQ[iQ++]=Eq,lQ[iQ++]=bH,Sq=X.id,Eq=X.overflow,bH=Z}function GG(){QX||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function jH(Z,X){if(Z.return===null){if(jQ===null)jQ={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X};else{if(jQ.fiber!==Z)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");jQ.distanceFromLeaf>X&&(jQ.distanceFromLeaf=X)}return jQ}var Y=jH(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 l8(){QX&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function TB(Z,X){Xq||(Z=jH(Z,0),Z.serverProps=null,X!==null&&(X=VI(X),Z.serverTail.push(X)))}function HG(Z){var X=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Y="",Q=jQ;throw Q!==null&&(jQ=null,Y=AF(Q)),iW(OQ(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)),a0}function i8(Z){var{stateNode:X,type:Y,memoizedProps:Q}=Z;switch(X[RY]=Z,X[uY]=Q,oM(Y,Q),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<GK.length;Y++)qX(GK[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":qG("input",Q),qX("invalid",X),t5(X,Q),e5(X,Q.value,Q.defaultValue,Q.checked,Q.defaultChecked,Q.type,Q.name,!0);break;case"option":Z8(X,Q);break;case"select":qG("select",Q),qX("invalid",X),Y8(X,Q);break;case"textarea":qG("textarea",Q),qX("invalid",X),Q8(X,Q),q8(X,Q.value,Q.defaultValue,Q.children)}Y=Q.children,typeof Y!=="string"&&typeof Y!=="number"&&typeof Y!=="bigint"||X.textContent===""+Y||Q.suppressHydrationWarning===!0||_I(X.textContent,Y)?(Q.popover!=null&&(qX("beforetoggle",X),qX("toggle",X)),Q.onScroll!=null&&qX("scroll",X),Q.onScrollEnd!=null&&qX("scrollend",X),Q.onClick!=null&&(X.onclick=Nq),X=!0):X=!1,X||HG(Z,!0)}function n8(Z){for(jY=Z.return;jY;)switch(jY.tag){case 5:case 31:case 13:nQ=!1;return;case 27:case 3:nQ=!0;return;default:jY=jY.return}}function iz(Z){if(Z!==jY)return!1;if(!QX)return n8(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")||X0(Z.type,Z.memoizedProps);Y=!Y}if(Y&&$X){for(Y=$X;Y;){var Q=jH(Z,0),G=VI(Y);Q.serverTail.push(G),Y=G.type==="Suspense"?q0(Y):TQ(Y.nextSibling)}HG(Z)}if(n8(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=q0(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=q0(Z)}else X===27?(X=$X,FG(Z.type)?(Z=g9,g9=null,$X=Z):$X=X):$X=jY?TQ(Z.stateNode.nextSibling):null;return!0}function CH(){$X=jY=null,Xq=QX=!1}function EF(){var Z=CG;return Z!==null&&(nY===null?nY=Z:nY.push.apply(nY,Z),CG=null),Z}function iW(Z){CG===null?CG=[Z]:CG.push(Z)}function kF(){var Z=jQ;if(Z!==null){jQ=null;for(var X=AF(Z);0<Z.children.length;)Z=Z.children[0];_Z(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 wB(){V_=kL=null,R_=!1}function zG(Z,X,Y){zZ(o0,X._currentValue,Z),X._currentValue=Y,zZ(r0,X._currentRenderer,Z),X._currentRenderer!==void 0&&X._currentRenderer!==null&&X._currentRenderer!==i4&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),X._currentRenderer=i4}function wq(Z,X){Z._currentValue=o0.current;var Y=r0.current;WZ(r0,X),Z._currentRenderer=Y,WZ(o0,X)}function xF(Z,X,Y){for(;Z!==null;){var Q=Z.alternate;if((Z.childLanes&X)!==X?(Z.childLanes|=X,Q!==null&&(Q.childLanes|=X)):Q!==null&&(Q.childLanes&X)!==X&&(Q.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 yF(Z,X,Y,Q){var G=Z.child;G!==null&&(G.return=Z);for(;G!==null;){var H=G.dependencies;if(H!==null){var U=G.child;H=H.firstContext;Z:for(;H!==null;){var B=H;H=G;for(var O=0;O<X.length;O++)if(B.context===X[O]){H.lanes|=Y,B=H.alternate,B!==null&&(B.lanes|=Y),xF(H.return,Y,Z),Q||(U=null);break Z}H=B.next}}else if(G.tag===18){if(U=G.return,U===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");U.lanes|=Y,H=U.alternate,H!==null&&(H.lanes|=Y),xF(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 nz(Z,X,Y,Q){Z=null;for(var G=X,H=!1;G!==null;){if(!H){if((G.flags&524288)!==0)H=!0;else if((G.flags&262144)!==0)break}if(G.tag===10){var U=G.alternate;if(U===null)throw Error("Should have a current fiber. This is a bug in React.");if(U=U.memoizedProps,U!==null){var B=G.type;cY(G.pendingProps.value,U.value)||(Z!==null?Z.push(B):Z=[B])}}else if(G===FL.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(UK):Z=[UK])}G=G.return}Z!==null&&yF(X,Z,Y,Q),X.flags|=262144}function VB(Z){for(Z=Z.firstContext;Z!==null;){if(!cY(Z.context._currentValue,Z.memoizedValue))return!0;Z=Z.next}return!1}function DH(Z){kL=Z,V_=null,Z=Z.dependencies,Z!==null&&(Z.firstContext=null)}function kX(Z){return R_&&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()."),s8(kL,Z)}function RB(Z,X){return kL===null&&DH(Z),s8(Z,X)}function s8(Z,X){var Y=X._currentValue;if(X={context:X,memoizedValue:Y,next:null},V_===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().");V_=X,Z.dependencies={lanes:0,firstContext:X,_debugThenableState:null},Z.flags|=524288}else V_=V_.next=X;return Y}function vF(){return{controller:new aS,data:new Map,refCount:0}}function PH(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 nW(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&&oS(rS,function(){Z.controller.abort()})}function vJ(Z,X,Y){if((Z&127)!==0)0>Yq&&(Yq=tX(),yU=xL(X),t0=X,Y!=null&&(e0=a(Y)),(zX&(_Y|PQ))!==AY&&(mX=!0,$G=xU),Z=LU(),X=BU(),Z!==j_||X!==vU?j_=-1.1:X!==null&&($G=xU),mH=Z,vU=X);else if((Z&4194048)!==0&&0>sQ&&(sQ=tX(),hU=xL(X),n4=X,Y!=null&&(s4=a(Y)),0>yq)){if(Z=LU(),X=BU(),Z!==EG||X!==fH)EG=-1.1;SG=Z,fH=X}}function OP(Z){if(0>Yq){Yq=tX(),yU=Z._debugTask!=null?Z._debugTask:null,(zX&(_Y|PQ))!==AY&&($G=xU);var X=LU(),Y=BU();X!==j_||Y!==vU?j_=-1.1:Y!==null&&($G=xU),mH=X,vU=Y}if(0>sQ&&(sQ=tX(),hU=Z._debugTask!=null?Z._debugTask:null,0>yq)){if(Z=LU(),X=BU(),Z!==EG||X!==fH)EG=-1.1;SG=Z,fH=X}}function Vq(){var Z=gH;return gH=0,Z}function jB(Z){var X=gH;return gH=Z,X}function sW(Z){var X=gH;return gH+=Z,X}function CB(){xZ=SZ=-1.1}function FQ(){var Z=SZ;return SZ=-1.1,Z}function MQ(Z){0<=Z&&(SZ=Z)}function hJ(){var Z=hX;return hX=-0,Z}function bJ(Z){0<=Z&&(hX=Z)}function gJ(){var Z=xX;return xX=null,Z}function mJ(){var Z=mX;return mX=!1,Z}function hF(Z){pY=tX(),0>Z.actualStartTime&&(Z.actualStartTime=pY)}function bF(Z){if(0<=pY){var X=tX()-pY;Z.actualDuration+=X,Z.selfBaseDuration=X,pY=-1}}function a8(Z){if(0<=pY){var X=tX()-pY;Z.actualDuration+=X,pY=-1}}function fJ(){if(0<=pY){var Z=tX(),X=Z-pY;pY=-1,gH+=X,hX+=X,xZ=Z}}function o8(Z){xX===null&&(xX=[]),xX.push(Z),xq===null&&(xq=[]),xq.push(Z)}function uJ(){pY=tX(),0>SZ&&(SZ=pY)}function aW(Z){for(var X=Z.child;X;)Z.actualDuration+=X.actualDuration,X=X.sibling}function FP(Z,X){if(gU===null){var Y=gU=[];X9=0,uH=iM(),C_={status:"pending",value:void 0,then:function(Q){Y.push(Q)}}}return X9++,X.then(r8,r8),X}function r8(){if(--X9===0&&(-1<sQ||(yq=-1.1),gU!==null)){C_!==null&&(C_.status="fulfilled");var Z=gU;gU=null,uH=0,C_=null;for(var X=0;X<Z.length;X++)(0,Z[X])()}}function MP(Z,X){var Y=[],Q={status:"pending",value:null,reason:null,then:function(G){Y.push(G)}};return Z.then(function(){Q.status="fulfilled",Q.value=X;for(var G=0;G<Y.length;G++)(0,Y[G])(X)},function(G){Q.status="rejected",Q.reason=G;for(G=0;G<Y.length;G++)(0,Y[G])(void 0)}),Q}function gF(){var Z=dH.current;return Z!==null?Z:RX.pooledCache}function DB(Z,X){X===null?zZ(dH,dH.current,Z):zZ(dH,X.pool,Z)}function t8(){var Z=gF();return Z===null?null:{parent:rX._currentValue,pool:Z}}function e8(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function ZN(Z){return Z=Z.status,Z==="fulfilled"||Z==="rejected"}function XN(Z,X,Y){i.actQueue!==null&&(i.didUsePromise=!0);var Q=Z.thenables;if(Y=Q[Y],Y===void 0?Q.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(Nq,Nq),X=Y),X._debugInfo===void 0){Z=performance.now(),Q=X.displayName;var G={name:typeof Q==="string"?Q:"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,QN(Z),Z;default:if(typeof X.status==="string")X.then(Nq,Nq);else{if(Z=RX,Z!==null&&100<Z.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");Z=X,Z.status="pending",Z.then(function(H){if(X.status==="pending"){var U=X;U.status="fulfilled",U.value=H}},function(H){if(X.status==="pending"){var U=X;U.status="rejected",U.reason=H}})}switch(X.status){case"fulfilled":return X.value;case"rejected":throw Z=X.reason,QN(Z),Z}throw pH=X,lU=!0,D_}}function _G(Z){try{return XE(Z)}catch(X){if(X!==null&&typeof X==="object"&&typeof X.then==="function")throw pH=X,lU=!0,D_;throw X}}function YN(){if(pH===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var Z=pH;return pH=null,lU=!1,Z}function QN(Z){if(Z===D_||Z===uL)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 TY(Z){var X=nZ;return Z!=null&&(nZ=X===null?Z:X.concat(Z)),X}function mF(){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 PB(Z,X,Y){for(var Q=Object.keys(Z.props),G=0;G<Q.length;G++){var H=Q[G];if(H!=="children"&&H!=="key"){X===null&&(X=IB(Z,Y.mode,0),X._debugInfo=nZ,X.return=Y),_Z(X,function(U){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",U)},H);break}}}function $B(Z){var X=iU;return iU+=1,P_===null&&(P_=e8()),XN(P_,Z,X)}function oW(Z,X){X=X.props.ref,Z.ref=X!==void 0?X:null}function JN(Z,X){if(X.$$typeof===y$)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 SB(Z,X){var Y=mF();Y!==null?Y.run(JN.bind(null,Z,X)):JN(Z,X)}function qN(Z,X){var Y=a(Z)||"Component";L7[Y]||(L7[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 EB(Z,X){var Y=mF();Y!==null?Y.run(qN.bind(null,Z,X)):qN(Z,X)}function GN(Z,X){var Y=a(Z)||"Component";A7[Y]||(A7[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 kB(Z,X){var Y=mF();Y!==null?Y.run(GN.bind(null,Z,X)):GN(Z,X)}function HN(Z){function X(P,S){if(Z){var E=P.deletions;E===null?(P.deletions=[S],P.flags|=16):E.push(S)}}function Y(P,S){if(!Z)return null;for(;S!==null;)X(P,S),S=S.sibling;return null}function Q(P){for(var S=new Map;P!==null;)P.key!==null?S.set(P.key,P):S.set(P.index,P),P=P.sibling;return S}function G(P,S){return P=Iq(P,S),P.index=0,P.sibling=null,P}function H(P,S,E){if(P.index=E,!Z)return P.flags|=1048576,S;if(E=P.alternate,E!==null)return E=E.index,E<S?(P.flags|=67108866,S):E;return P.flags|=67108866,S}function U(P){return Z&&P.alternate===null&&(P.flags|=67108866),P}function B(P,S,E,o){if(S===null||S.tag!==6)return S=DF(E,P.mode,o),S.return=P,S._debugOwner=P,S._debugTask=P._debugTask,S._debugInfo=nZ,S;return S=G(S,E),S.return=P,S._debugInfo=nZ,S}function O(P,S,E,o){var HZ=E.type;if(HZ===z_)return S=k(P,S,E.props.children,o,E.key),PB(E,S,P),S;if(S!==null&&(S.elementType===HZ||b8(S,E)||typeof HZ==="object"&&HZ!==null&&HZ.$$typeof===wQ&&_G(HZ)===S.type))return S=G(S,E.props),oW(S,E),S.return=P,S._debugOwner=E._owner,S._debugInfo=nZ,S;return S=IB(E,P.mode,o),oW(S,E),S.return=P,S._debugInfo=nZ,S}function I(P,S,E,o){if(S===null||S.tag!==4||S.stateNode.containerInfo!==E.containerInfo||S.stateNode.implementation!==E.implementation)return S=PF(E,P.mode,o),S.return=P,S._debugInfo=nZ,S;return S=G(S,E.children||[]),S.return=P,S._debugInfo=nZ,S}function k(P,S,E,o,HZ){if(S===null||S.tag!==7)return S=RH(E,P.mode,o,HZ),S.return=P,S._debugOwner=P,S._debugTask=P._debugTask,S._debugInfo=nZ,S;return S=G(S,E),S.return=P,S._debugInfo=nZ,S}function x(P,S,E){if(typeof S==="string"&&S!==""||typeof S==="number"||typeof S==="bigint")return S=DF(""+S,P.mode,E),S.return=P,S._debugOwner=P,S._debugTask=P._debugTask,S._debugInfo=nZ,S;if(typeof S==="object"&&S!==null){switch(S.$$typeof){case sJ:return E=IB(S,P.mode,E),oW(E,S),E.return=P,P=TY(S._debugInfo),E._debugInfo=nZ,nZ=P,E;case H_:return S=PF(S,P.mode,E),S.return=P,S._debugInfo=nZ,S;case wQ:var o=TY(S._debugInfo);return S=_G(S),P=x(P,S,E),nZ=o,P}if(HY(S)||QZ(S))return E=RH(S,P.mode,E,null),E.return=P,E._debugOwner=P,E._debugTask=P._debugTask,P=TY(S._debugInfo),E._debugInfo=nZ,nZ=P,E;if(typeof S.then==="function")return o=TY(S._debugInfo),P=x(P,$B(S),E),nZ=o,P;if(S.$$typeof===aJ)return x(P,RB(P,S),E);SB(P,S)}return typeof S==="function"&&EB(P,S),typeof S==="symbol"&&kB(P,S),null}function $(P,S,E,o){var HZ=S!==null?S.key:null;if(typeof E==="string"&&E!==""||typeof E==="number"||typeof E==="bigint")return HZ!==null?null:B(P,S,""+E,o);if(typeof E==="object"&&E!==null){switch(E.$$typeof){case sJ:return E.key===HZ?(HZ=TY(E._debugInfo),P=O(P,S,E,o),nZ=HZ,P):null;case H_:return E.key===HZ?I(P,S,E,o):null;case wQ:return HZ=TY(E._debugInfo),E=_G(E),P=$(P,S,E,o),nZ=HZ,P}if(HY(E)||QZ(E)){if(HZ!==null)return null;return HZ=TY(E._debugInfo),P=k(P,S,E,o,null),nZ=HZ,P}if(typeof E.then==="function")return HZ=TY(E._debugInfo),P=$(P,S,$B(E),o),nZ=HZ,P;if(E.$$typeof===aJ)return $(P,S,RB(P,E),o);SB(P,E)}return typeof E==="function"&&EB(P,E),typeof E==="symbol"&&kB(P,E),null}function d(P,S,E,o,HZ){if(typeof o==="string"&&o!==""||typeof o==="number"||typeof o==="bigint")return P=P.get(E)||null,B(S,P,""+o,HZ);if(typeof o==="object"&&o!==null){switch(o.$$typeof){case sJ:return E=P.get(o.key===null?E:o.key)||null,P=TY(o._debugInfo),S=O(S,E,o,HZ),nZ=P,S;case H_:return P=P.get(o.key===null?E:o.key)||null,I(S,P,o,HZ);case wQ:var bZ=TY(o._debugInfo);return o=_G(o),S=d(P,S,E,o,HZ),nZ=bZ,S}if(HY(o)||QZ(o))return E=P.get(E)||null,P=TY(o._debugInfo),S=k(S,E,o,HZ,null),nZ=P,S;if(typeof o.then==="function")return bZ=TY(o._debugInfo),S=d(P,S,E,$B(o),HZ),nZ=bZ,S;if(o.$$typeof===aJ)return d(P,S,E,RB(S,o),HZ);SB(S,o)}return typeof o==="function"&&EB(S,o),typeof o==="symbol"&&kB(S,o),null}function YZ(P,S,E,o){if(typeof E!=="object"||E===null)return o;switch(E.$$typeof){case sJ:case H_:N(P,S,E);var HZ=E.key;if(typeof HZ!=="string")break;if(o===null){o=new Set,o.add(HZ);break}if(!o.has(HZ)){o.add(HZ);break}_Z(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.",HZ)});break;case wQ:E=_G(E),YZ(P,S,E,o)}return o}function BZ(P,S,E,o){for(var HZ=null,bZ=null,DZ=null,VZ=S,pZ=S=0,SX=null;VZ!==null&&pZ<E.length;pZ++){VZ.index>pZ?(SX=VZ,VZ=null):SX=VZ.sibling;var sX=$(P,VZ,E[pZ],o);if(sX===null){VZ===null&&(VZ=SX);break}HZ=YZ(P,sX,E[pZ],HZ),Z&&VZ&&sX.alternate===null&&X(P,VZ),S=H(sX,S,pZ),DZ===null?bZ=sX:DZ.sibling=sX,DZ=sX,VZ=SX}if(pZ===E.length)return Y(P,VZ),QX&&Tq(P,pZ),bZ;if(VZ===null){for(;pZ<E.length;pZ++)VZ=x(P,E[pZ],o),VZ!==null&&(HZ=YZ(P,VZ,E[pZ],HZ),S=H(VZ,S,pZ),DZ===null?bZ=VZ:DZ.sibling=VZ,DZ=VZ);return QX&&Tq(P,pZ),bZ}for(VZ=Q(VZ);pZ<E.length;pZ++)SX=d(VZ,P,pZ,E[pZ],o),SX!==null&&(HZ=YZ(P,SX,E[pZ],HZ),Z&&SX.alternate!==null&&VZ.delete(SX.key===null?pZ:SX.key),S=H(SX,S,pZ),DZ===null?bZ=SX:DZ.sibling=SX,DZ=SX);return Z&&VZ.forEach(function(cq){return X(P,cq)}),QX&&Tq(P,pZ),bZ}function DX(P,S,E,o){if(E==null)throw Error("An iterable object provided no iterator.");for(var HZ=null,bZ=null,DZ=S,VZ=S=0,pZ=null,SX=null,sX=E.next();DZ!==null&&!sX.done;VZ++,sX=E.next()){DZ.index>VZ?(pZ=DZ,DZ=null):pZ=DZ.sibling;var cq=$(P,DZ,sX.value,o);if(cq===null){DZ===null&&(DZ=pZ);break}SX=YZ(P,cq,sX.value,SX),Z&&DZ&&cq.alternate===null&&X(P,DZ),S=H(cq,S,VZ),bZ===null?HZ=cq:bZ.sibling=cq,bZ=cq,DZ=pZ}if(sX.done)return Y(P,DZ),QX&&Tq(P,VZ),HZ;if(DZ===null){for(;!sX.done;VZ++,sX=E.next())DZ=x(P,sX.value,o),DZ!==null&&(SX=YZ(P,DZ,sX.value,SX),S=H(DZ,S,VZ),bZ===null?HZ=DZ:bZ.sibling=DZ,bZ=DZ);return QX&&Tq(P,VZ),HZ}for(DZ=Q(DZ);!sX.done;VZ++,sX=E.next())pZ=d(DZ,P,VZ,sX.value,o),pZ!==null&&(SX=YZ(P,pZ,sX.value,SX),Z&&pZ.alternate!==null&&DZ.delete(pZ.key===null?VZ:pZ.key),S=H(pZ,S,VZ),bZ===null?HZ=pZ:bZ.sibling=pZ,bZ=pZ);return Z&&DZ.forEach(function(jE){return X(P,jE)}),QX&&Tq(P,VZ),HZ}function GX(P,S,E,o){if(typeof E==="object"&&E!==null&&E.type===z_&&E.key===null&&(PB(E,null,P),E=E.props.children),typeof E==="object"&&E!==null){switch(E.$$typeof){case sJ:var HZ=TY(E._debugInfo);Z:{for(var bZ=E.key;S!==null;){if(S.key===bZ){if(bZ=E.type,bZ===z_){if(S.tag===7){Y(P,S.sibling),o=G(S,E.props.children),o.return=P,o._debugOwner=E._owner,o._debugInfo=nZ,PB(E,o,P),P=o;break Z}}else if(S.elementType===bZ||b8(S,E)||typeof bZ==="object"&&bZ!==null&&bZ.$$typeof===wQ&&_G(bZ)===S.type){Y(P,S.sibling),o=G(S,E.props),oW(o,E),o.return=P,o._debugOwner=E._owner,o._debugInfo=nZ,P=o;break Z}Y(P,S);break}else X(P,S);S=S.sibling}E.type===z_?(o=RH(E.props.children,P.mode,o,E.key),o.return=P,o._debugOwner=P,o._debugTask=P._debugTask,o._debugInfo=nZ,PB(E,o,P),P=o):(o=IB(E,P.mode,o),oW(o,E),o.return=P,o._debugInfo=nZ,P=o)}return P=U(P),nZ=HZ,P;case H_:Z:{HZ=E;for(E=HZ.key;S!==null;){if(S.key===E)if(S.tag===4&&S.stateNode.containerInfo===HZ.containerInfo&&S.stateNode.implementation===HZ.implementation){Y(P,S.sibling),o=G(S,HZ.children||[]),o.return=P,P=o;break Z}else{Y(P,S);break}else X(P,S);S=S.sibling}o=PF(HZ,P.mode,o),o.return=P,P=o}return U(P);case wQ:return HZ=TY(E._debugInfo),E=_G(E),P=GX(P,S,E,o),nZ=HZ,P}if(HY(E))return HZ=TY(E._debugInfo),P=BZ(P,S,E,o),nZ=HZ,P;if(QZ(E)){if(HZ=TY(E._debugInfo),bZ=QZ(E),typeof bZ!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var DZ=bZ.call(E);if(DZ===E){if(P.tag!==0||Object.prototype.toString.call(P.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(DZ)!=="[object Generator]")K7||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."),K7=!0}else E.entries!==bZ||q9||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),q9=!0);return P=DX(P,S,DZ,o),nZ=HZ,P}if(typeof E.then==="function")return HZ=TY(E._debugInfo),P=GX(P,S,$B(E),o),nZ=HZ,P;if(E.$$typeof===aJ)return GX(P,S,RB(P,E),o);SB(P,E)}if(typeof E==="string"&&E!==""||typeof E==="number"||typeof E==="bigint")return HZ=""+E,S!==null&&S.tag===6?(Y(P,S.sibling),o=G(S,HZ),o.return=P,P=o):(Y(P,S),o=DF(HZ,P.mode,o),o.return=P,o._debugOwner=P,o._debugTask=P._debugTask,o._debugInfo=nZ,P=o),U(P);return typeof E==="function"&&EB(P,E),typeof E==="symbol"&&kB(P,E),Y(P,S)}return function(P,S,E,o){var HZ=nZ;nZ=null;try{iU=0;var bZ=GX(P,S,E,o);return P_=null,bZ}catch(SX){if(SX===D_||SX===uL)throw SX;var DZ=R(29,SX,null,P.mode);DZ.lanes=o,DZ.return=P;var VZ=DZ._debugInfo=nZ;if(DZ._debugOwner=P._debugOwner,DZ._debugTask=P._debugTask,VZ!=null){for(var pZ=VZ.length-1;0<=pZ;pZ--)if(typeof VZ[pZ].stack==="string"){DZ._debugOwner=VZ[pZ],DZ._debugTask=VZ[pZ].debugTask;break}}return DZ}finally{nZ=HZ}}}function zN(Z,X){var Y=HY(Z);return Z=!Y&&typeof QZ(Z)==="function",Y||Z?(Y=Y?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",Y,X,Y),!1):!0}function fF(Z){Z.updateQueue={baseState:Z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function uF(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 WG(Z){return{lane:Z,tag:F7,payload:null,callback:null,next:null}}function UG(Z,X,Y){var Q=Z.updateQueue;if(Q===null)return null;if(Q=Q.shared,H9===Q&&!I7){var G=a(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),I7=!0}if((zX&_Y)!==AY)return G=Q.pending,G===null?X.next=X:(X.next=G.next,G.next=X),Q.pending=X,X=NB(Z),h8(Z,null,Y),X;return MB(Z,Q,X,Y),NB(Z)}function rW(Z,X,Y){if(X=X.updateQueue,X!==null&&(X=X.shared,(Y&4194048)!==0)){var Q=X.lanes;Q&=Z.pendingLanes,Y|=Q,X.lanes=Y,FH(Z,Y)}}function xB(Z,X){var{updateQueue:Y,alternate:Q}=Z;if(Q!==null&&(Q=Q.updateQueue,Y===Q)){var G=null,H=null;if(Y=Y.firstBaseUpdate,Y!==null){do{var U={lane:Y.lane,tag:Y.tag,payload:Y.payload,callback:null,next:null};H===null?G=H=U:H=H.next=U,Y=Y.next}while(Y!==null);H===null?G=H=X:H=H.next=X}else G=H=X;Y={baseState:Q.baseState,firstBaseUpdate:G,lastBaseUpdate:H,shared:Q.shared,callbacks:Q.callbacks},Z.updateQueue=Y;return}Z=Y.lastBaseUpdate,Z===null?Y.firstBaseUpdate=X:Z.next=X,Y.lastBaseUpdate=X}function tW(){if(z9){var Z=C_;if(Z!==null)throw Z}}function eW(Z,X,Y,Q){z9=!1;var G=Z.updateQueue;kG=!1,H9=G.shared;var{firstBaseUpdate:H,lastBaseUpdate:U}=G,B=G.shared.pending;if(B!==null){G.shared.pending=null;var O=B,I=O.next;O.next=null,U===null?H=I:U.next=I,U=O;var k=Z.alternate;k!==null&&(k=k.updateQueue,B=k.lastBaseUpdate,B!==U&&(B===null?k.firstBaseUpdate=I:B.next=I,k.lastBaseUpdate=O))}if(H!==null){var x=G.baseState;U=0,k=I=O=null,B=H;do{var $=B.lane&-536870913,d=$!==B.lane;if(d?(sZ&$)===$:(Q&$)===$){$!==0&&$===uH&&(z9=!0),k!==null&&(k=k.next={lane:0,tag:B.tag,payload:B.payload,callback:null,next:null});Z:{$=Z;var YZ=B,BZ=X,DX=Y;switch(YZ.tag){case M7:if(YZ=YZ.payload,typeof YZ==="function"){R_=!0;var GX=YZ.call(DX,x,BZ);if($.mode&gY){jX(!0);try{YZ.call(DX,x,BZ)}finally{jX(!1)}}R_=!1,x=GX;break Z}x=YZ;break Z;case G9:$.flags=$.flags&-65537|128;case F7:if(GX=YZ.payload,typeof GX==="function"){if(R_=!0,YZ=GX.call(DX,x,BZ),$.mode&gY){jX(!0);try{GX.call(DX,x,BZ)}finally{jX(!1)}}R_=!1}else YZ=GX;if(YZ===null||YZ===void 0)break Z;x=rZ({},x,YZ);break Z;case N7:kG=!0}}$=B.callback,$!==null&&(Z.flags|=64,d&&(Z.flags|=8192),d=G.callbacks,d===null?G.callbacks=[$]:d.push($))}else d={lane:$,tag:B.tag,payload:B.payload,callback:B.callback,next:null},k===null?(I=k=d,O=x):k=k.next=d,U|=$;if(B=B.next,B===null)if(B=G.shared.pending,B===null)break;else d=B,B=d.next,d.next=null,G.lastBaseUpdate=d,G.shared.pending=null}while(1);k===null&&(O=x),G.baseState=O,G.firstBaseUpdate=I,G.lastBaseUpdate=k,H===null&&(G.shared.lanes=0),vG|=U,Z.lanes=U,Z.memoizedState=x}H9=null}function _N(Z,X){if(typeof Z!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+Z);Z.call(X)}function NP(Z,X){var Y=Z.shared.hiddenCallbacks;if(Y!==null)for(Z.shared.hiddenCallbacks=null,Z=0;Z<Y.length;Z++)_N(Y[Z],X)}function WN(Z,X){var Y=Z.callbacks;if(Y!==null)for(Z.callbacks=null,Z=0;Z<Y.length;Z++)_N(Y[Z],X)}function UN(Z,X){var Y=qq;zZ(cL,Y,Z),zZ($_,X,Z),qq=Y|X.baseLanes}function dF(Z){zZ(cL,qq,Z),zZ($_,$_.current,Z)}function cF(Z){qq=cL.current,WZ($_,Z),WZ(cL,Z)}function KG(Z){var X=Z.alternate;zZ(nX,nX.current&S_,Z),zZ(CQ,Z,Z),aQ===null&&(X===null||$_.current!==null?aQ=Z:X.memoizedState!==null&&(aQ=Z))}function pF(Z){zZ(nX,nX.current,Z),zZ(CQ,Z,Z),aQ===null&&(aQ=Z)}function KN(Z){Z.tag===22?(zZ(nX,nX.current,Z),zZ(CQ,Z,Z),aQ===null&&(aQ=Z)):BG(Z)}function BG(Z){zZ(nX,nX.current,Z),zZ(CQ,CQ.current,Z)}function NQ(Z){WZ(CQ,Z),aQ===Z&&(aQ=null),WZ(nX,Z)}function yB(Z){for(var X=Z;X!==null;){if(X.tag===13){var Y=X.memoizedState;if(Y!==null&&(Y=Y.dehydrated,Y===null||Q0(Y)||J0(Y)))return X}else if(X.tag===19&&(X.memoizedProps.revealOrder==="forwards"||X.memoizedProps.revealOrder==="backwards"||X.memoizedProps.revealOrder==="unstable_legacy-backwards"||X.memoizedProps.revealOrder==="together")){if((X.flags&128)!==0)return X}else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)break;for(;X.sibling===null;){if(X.return===null||X.return===Z)return null;X=X.return}X.sibling.return=X.return,X=X.sibling}return null}function oZ(){var Z=l;rQ===null?rQ=[Z]:rQ.push(Z)}function ZZ(){var Z=l;if(rQ!==null&&(gq++,rQ[gq]!==Z)){var X=a(hZ);if(!T7.has(X)&&(T7.add(X),rQ!==null)){for(var Y="",Q=0;Q<=gq;Q++){var G=rQ[Q],H=Q===gq?Z:G;for(G=Q+1+". "+G;30>G.length;)G+=" ";G+=H+`
|
|
108
|
+
`,Y+=G}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
109
|
+
|
|
110
|
+
Previous render Next render
|
|
111
|
+
------------------------------------------------------
|
|
112
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
113
|
+
`,X,Y)}}}function sz(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.",l,typeof Z)}function vB(){var Z=a(hZ);V7.has(Z)||(V7.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 lF(Z,X){if(aU)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.",l),!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`,l,"["+X.join(", ")+"]","["+Z.join(", ")+"]");for(var Y=0;Y<X.length&&Y<Z.length;Y++)if(!cY(Z[Y],X[Y]))return!1;return!0}function iF(Z,X,Y,Q,G,H){if(hq=H,hZ=X,rQ=Z!==null?Z._debugHookTypes:null,gq=-1,aU=Z!==null&&Z.type!==X.type,Object.prototype.toString.call(Y)==="[object AsyncFunction]"||Object.prototype.toString.call(Y)==="[object AsyncGeneratorFunction]")H=a(hZ),_9.has(H)||(_9.add(H),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",H===null?"An unknown Component":"<"+H+">"));X.memoizedState=null,X.updateQueue=null,X.lanes=0,i.H=Z!==null&&Z.memoizedState!==null?U9:rQ!==null?R7:W9,iH=H=(X.mode&gY)!==vZ;var U=Y9(Y,Q,G);if(iH=!1,k_&&(U=nF(X,Y,Q,G)),H){jX(!0);try{U=nF(X,Y,Q,G)}finally{jX(!1)}}return BN(Z,X),U}function BN(Z,X){X._debugHookTypes=rQ,X.dependencies===null?bq!==null&&(X.dependencies={lanes:0,firstContext:null,_debugThenableState:bq}):X.dependencies._debugThenableState=bq,i.H=oU;var Y=VX!==null&&VX.next!==null;if(hq=0,rQ=l=eX=VX=hZ=null,gq=-1,Z!==null&&(Z.flags&65011712)!==(X.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),lL=!1,sU=0,bq=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&&VB(Z)&&(ZY=!0)),lU?(lU=!1,Z=!0):Z=!1,Z&&(X=a(X)||"Unknown",w7.has(X)||_9.has(X)||(w7.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 nF(Z,X,Y,Q){hZ=Z;var G=0;do{if(k_&&(bq=null),sU=0,k_=!1,G>=QE)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(G+=1,aU=!1,eX=VX=null,Z.updateQueue!=null){var H=Z.updateQueue;H.lastEffect=null,H.events=null,H.stores=null,H.memoCache!=null&&(H.memoCache.index=0)}gq=-1,i.H=j7,H=Y9(X,Y,Q)}while(k_);return H}function IP(){var Z=i.H,X=Z.useState()[0];return X=typeof X.then==="function"?ZU(X):X,Z=Z.useState()[0],(VX!==null?VX.memoizedState:null)!==Z&&(hZ.flags|=1024),X}function sF(){var Z=iL!==0;return iL=0,Z}function aF(Z,X,Y){X.updateQueue=Z.updateQueue,X.flags=(X.mode&AJ)!==vZ?X.flags&-402655237:X.flags&-2053,Z.lanes&=~Y}function oF(Z){if(lL){for(Z=Z.memoizedState;Z!==null;){var X=Z.queue;X!==null&&(X.pending=null),Z=Z.next}lL=!1}hq=0,rQ=eX=VX=hZ=null,gq=-1,l=null,k_=!1,sU=iL=0,bq=null}function mY(){var Z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return eX===null?hZ.memoizedState=eX=Z:eX=eX.next=Z,eX}function FX(){if(VX===null){var Z=hZ.alternate;Z=Z!==null?Z.memoizedState:null}else Z=VX.next;var X=eX===null?hZ.memoizedState:eX.next;if(X!==null)eX=X,VX=Z;else{if(Z===null){if(hZ.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?hZ.memoizedState=eX=Z:eX=eX.next=Z}return eX}function hB(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ZU(Z){var X=sU;return sU+=1,bq===null&&(bq=e8()),Z=XN(bq,Z,X),X=hZ,(eX===null?X.memoizedState:eX.next)===null&&(X=X.alternate,i.H=X!==null&&X.memoizedState!==null?U9:W9),Z}function LG(Z){if(Z!==null&&typeof Z==="object"){if(typeof Z.then==="function")return ZU(Z);if(Z.$$typeof===aJ)return kX(Z)}throw Error("An unsupported type was passed to use(): "+String(Z))}function $H(Z){var X=null,Y=hZ.updateQueue;if(Y!==null&&(X=Y.memoCache),X==null){var Q=hZ.alternate;Q!==null&&(Q=Q.updateQueue,Q!==null&&(Q=Q.memoCache,Q!=null&&(X={data:Q.data.map(function(G){return G.slice()}),index:0})))}if(X==null&&(X={data:[],index:0}),Y===null&&(Y=hB(),hZ.updateQueue=Y),Y.memoCache=X,Y=X.data[X.index],Y===void 0||aU)for(Y=X.data[X.index]=Array(Z),Q=0;Q<Z;Q++)Y[Q]=v$;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 UJ(Z,X){return typeof X==="function"?X(Z):X}function rF(Z,X,Y){var Q=mY();if(Y!==void 0){var G=Y(X);if(iH){jX(!0);try{Y(X)}finally{jX(!1)}}}else G=X;return Q.memoizedState=Q.baseState=G,Z={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Z,lastRenderedState:G},Q.queue=Z,Z=Z.dispatch=jP.bind(null,hZ,Z),[Q.memoizedState,Z]}function az(Z){var X=FX();return tF(X,VX,Z)}function tF(Z,X,Y){var Q=Z.queue;if(Q===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Q.lastRenderedReducer=Y;var G=Z.baseQueue,H=Q.pending;if(H!==null){if(G!==null){var U=G.next;G.next=H.next,H.next=U}X.baseQueue!==G&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),X.baseQueue=G=H,Q.pending=null}if(H=Z.baseState,G===null)Z.memoizedState=H;else{X=G.next;var B=U=null,O=null,I=X,k=!1;do{var x=I.lane&-536870913;if(x!==I.lane?(sZ&x)===x:(hq&x)===x){var $=I.revertLane;if($===0)O!==null&&(O=O.next={lane:0,revertLane:0,gesture:null,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null}),x===uH&&(k=!0);else if((hq&$)===$){I=I.next,$===uH&&(k=!0);continue}else x={lane:0,revertLane:I.revertLane,gesture:null,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},O===null?(B=O=x,U=H):O=O.next=x,hZ.lanes|=$,vG|=$;x=I.action,iH&&Y(H,x),H=I.hasEagerState?I.eagerState:Y(H,x)}else $={lane:x,revertLane:I.revertLane,gesture:I.gesture,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},O===null?(B=O=$,U=H):O=O.next=$,hZ.lanes|=x,vG|=x;I=I.next}while(I!==null&&I!==X);if(O===null?U=H:O.next=B,!cY(H,Z.memoizedState)&&(ZY=!0,k&&(Y=C_,Y!==null)))throw Y;Z.memoizedState=H,Z.baseState=U,Z.baseQueue=O,Q.lastRenderedState=H}return G===null&&(Q.lanes=0),[Z.memoizedState,Q.dispatch]}function XU(Z){var X=FX(),Y=X.queue;if(Y===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Y.lastRenderedReducer=Z;var{dispatch:Q,pending:G}=Y,H=X.memoizedState;if(G!==null){Y.pending=null;var U=G=G.next;do H=Z(H,U.action),U=U.next;while(U!==G);cY(H,X.memoizedState)||(ZY=!0),X.memoizedState=H,X.baseQueue===null&&(X.baseState=H),Y.lastRenderedState=H}return[H,Q]}function eF(Z,X,Y){var Q=hZ,G=mY();if(QX){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var H=Y();E_||H===Y()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),E_=!0)}else{if(H=X(),E_||(Y=X(),cY(H,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),E_=!0)),RX===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(sZ&127)!==0||LN(Q,X,H)}return G.memoizedState=H,Y={value:H,getSnapshot:X},G.queue=Y,fB(ON.bind(null,Q,Y,Z),[Z]),Q.flags|=2048,rz(oQ|iY,{destroy:void 0},AN.bind(null,Q,Y,H,X),null),H}function bB(Z,X,Y){var Q=hZ,G=FX(),H=QX;if(H){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");Y=Y()}else if(Y=X(),!E_){var U=X();cY(Y,U)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),E_=!0)}if(U=!cY((VX||G).memoizedState,Y))G.memoizedState=Y,ZY=!0;G=G.queue;var B=ON.bind(null,Q,G,Z);if(rY(2048,iY,B,[Z]),G.getSnapshot!==X||U||eX!==null&&eX.memoizedState.tag&oQ){if(Q.flags|=2048,rz(oQ|iY,{destroy:void 0},AN.bind(null,Q,G,Y,X),null),RX===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");H||(hq&127)!==0||LN(Q,X,Y)}return Y}function LN(Z,X,Y){Z.flags|=16384,Z={getSnapshot:X,value:Y},X=hZ.updateQueue,X===null?(X=hB(),hZ.updateQueue=X,X.stores=[Z]):(Y=X.stores,Y===null?X.stores=[Z]:Y.push(Z))}function AN(Z,X,Y,Q){X.value=Y,X.getSnapshot=Q,FN(X)&&MN(Z)}function ON(Z,X,Y){return Y(function(){FN(X)&&(vJ(2,"updateSyncExternalStore()",Z),MN(Z))})}function FN(Z){var X=Z.getSnapshot;Z=Z.value;try{var Y=X();return!cY(Z,Y)}catch(Q){return!0}}function MN(Z){var X=hY(Z,2);X!==null&&gX(X,Z,2)}function ZM(Z){var X=mY();if(typeof Z==="function"){var Y=Z;if(Z=Y(),iH){jX(!0);try{Y()}finally{jX(!1)}}}return X.memoizedState=X.baseState=Z,X.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:Z},X}function XM(Z){Z=ZM(Z);var X=Z.queue,Y=bN.bind(null,hZ,X);return X.dispatch=Y,[Z.memoizedState,Y]}function YM(Z){var X=mY();X.memoizedState=X.baseState=Z;var Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return X.queue=Y,X=OM.bind(null,hZ,!0,Y),Y.dispatch=X,[Z,X]}function NN(Z,X){var Y=FX();return IN(Y,VX,Z,X)}function IN(Z,X,Y,Q){return Z.baseState=Y,tF(Z,VX,typeof Q==="function"?Q:UJ)}function TN(Z,X){var Y=FX();if(VX!==null)return IN(Y,VX,Z,X);return Y.baseState=Z,[Z,Y.queue.dispatch]}function TP(Z,X,Y,Q,G){if(iB(Z))throw Error("Cannot update form state while rendering.");if(Z=X.action,Z!==null){var H={payload:G,action:Z,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(U){H.listeners.push(U)}};i.T!==null?Y(!0):H.isTransition=!1,Q(H),Y=X.pending,Y===null?(H.next=X.pending=H,wN(X,H)):(H.next=Y.next,X.pending=Y.next=H)}}function wN(Z,X){var{action:Y,payload:Q}=X,G=Z.state;if(X.isTransition){var H=i.T,U={};U._updatedFibers=new Set,i.T=U;try{var B=Y(G,Q),O=i.S;O!==null&&O(U,B),VN(Z,X,B)}catch(I){QM(Z,X,I)}finally{H!==null&&U.types!==null&&(H.types!==null&&H.types!==U.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),H.types=U.types),i.T=H,H===null&&U._updatedFibers&&(Z=U._updatedFibers.size,U._updatedFibers.clear(),10<Z&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{U=Y(G,Q),VN(Z,X,U)}catch(I){QM(Z,X,I)}}function VN(Z,X,Y){Y!==null&&typeof Y==="object"&&typeof Y.then==="function"?(i.asyncTransitions++,Y.then(lB,lB),Y.then(function(Q){RN(Z,X,Q)},function(Q){return QM(Z,X,Q)}),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.")):RN(Z,X,Y)}function RN(Z,X,Y){X.status="fulfilled",X.value=Y,jN(X),Z.state=Y,X=Z.pending,X!==null&&(Y=X.next,Y===X?Z.pending=null:(Y=Y.next,X.next=Y,wN(Z,Y)))}function QM(Z,X,Y){var Q=Z.pending;if(Z.pending=null,Q!==null){Q=Q.next;do X.status="rejected",X.reason=Y,jN(X),X=X.next;while(X!==Q)}Z.action=null}function jN(Z){Z=Z.listeners;for(var X=0;X<Z.length;X++)(0,Z[X])()}function CN(Z,X){return X}function oz(Z,X){if(QX){var Y=RX.formState;if(Y!==null){Z:{var Q=hZ;if(QX){if($X){X:{var G=$X;for(var H=nQ;G.nodeType!==8;){if(!H){G=null;break X}if(G=TQ(G.nextSibling),G===null){G=null;break X}}H=G.data,G=H===y9||H===WT?G:null}if(G){$X=TQ(G.nextSibling),Q=G.data===y9;break Z}}HG(Q)}Q=!1}Q&&(X=Y[0])}}return Y=mY(),Y.memoizedState=Y.baseState=X,Q={pending:null,lanes:0,dispatch:null,lastRenderedReducer:CN,lastRenderedState:X},Y.queue=Q,Y=bN.bind(null,hZ,Q),Q.dispatch=Y,Q=ZM(!1),H=OM.bind(null,hZ,!1,Q.queue),Q=mY(),G={state:X,dispatch:null,action:Z,pending:null},Q.queue=G,Y=TP.bind(null,hZ,G,H,Y),G.dispatch=Y,Q.memoizedState=Z,[X,Y,!1]}function gB(Z){var X=FX();return DN(X,VX,Z)}function DN(Z,X,Y){if(X=tF(Z,X,CN)[0],Z=az(UJ)[0],typeof X==="object"&&X!==null&&typeof X.then==="function")try{var Q=ZU(X)}catch(U){if(U===D_)throw uL;throw U}else Q=X;X=FX();var G=X.queue,H=G.dispatch;return Y!==X.memoizedState&&(hZ.flags|=2048,rz(oQ|iY,{destroy:void 0},wP.bind(null,G,Y),null)),[Q,H,Z]}function wP(Z,X){Z.action=X}function mB(Z){var X=FX(),Y=VX;if(Y!==null)return DN(X,Y,Z);FX(),X=X.memoizedState,Y=FX();var Q=Y.queue.dispatch;return Y.memoizedState=Z,[X,Q,!1]}function rz(Z,X,Y,Q){return Z={tag:Z,create:Y,deps:Q,inst:X,next:null},X=hZ.updateQueue,X===null&&(X=hB(),hZ.updateQueue=X),Y=X.lastEffect,Y===null?X.lastEffect=Z.next=Z:(Q=Y.next,Y.next=Z,Z.next=Q,X.lastEffect=Z),Z}function JM(Z){var X=mY();return Z={current:Z},X.memoizedState=Z}function SH(Z,X,Y,Q){var G=mY();hZ.flags|=Z,G.memoizedState=rz(oQ|X,{destroy:void 0},Y,Q===void 0?null:Q)}function rY(Z,X,Y,Q){var G=FX();Q=Q===void 0?null:Q;var H=G.memoizedState.inst;VX!==null&&Q!==null&&lF(Q,VX.memoizedState.deps)?G.memoizedState=rz(X,H,Y,Q):(hZ.flags|=Z,G.memoizedState=rz(oQ|X,H,Y,Q))}function fB(Z,X){(hZ.mode&AJ)!==vZ?SH(276826112,iY,Z,X):SH(8390656,iY,Z,X)}function VP(Z){hZ.flags|=4;var X=hZ.updateQueue;if(X===null)X=hB(),hZ.updateQueue=X,X.events=[Z];else{var Y=X.events;Y===null?X.events=[Z]:Y.push(Z)}}function qM(Z){var X=mY(),Y={impl:Z};return X.memoizedState=Y,function(){if((zX&_Y)!==AY)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Y.impl.apply(void 0,arguments)}}function uB(Z){var X=FX().memoizedState;return VP({ref:X,nextImpl:Z}),function(){if((zX&_Y)!==AY)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function GM(Z,X){var Y=4194308;return(hZ.mode&AJ)!==vZ&&(Y|=134217728),SH(Y,DQ,Z,X)}function PN(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 HM(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 Q=4194308;(hZ.mode&AJ)!==vZ&&(Q|=134217728),SH(Q,DQ,PN.bind(null,X,Z),Y)}function dB(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,rY(4,DQ,PN.bind(null,X,Z),Y)}function zM(Z,X){return mY().memoizedState=[Z,X===void 0?null:X],Z}function cB(Z,X){var Y=FX();X=X===void 0?null:X;var Q=Y.memoizedState;if(X!==null&&lF(X,Q[1]))return Q[0];return Y.memoizedState=[Z,X],Z}function _M(Z,X){var Y=mY();X=X===void 0?null:X;var Q=Z();if(iH){jX(!0);try{Z()}finally{jX(!1)}}return Y.memoizedState=[Q,X],Q}function pB(Z,X){var Y=FX();X=X===void 0?null:X;var Q=Y.memoizedState;if(X!==null&&lF(X,Q[1]))return Q[0];if(Q=Z(),iH){jX(!0);try{Z()}finally{jX(!1)}}return Y.memoizedState=[Q,X],Q}function WM(Z,X){var Y=mY();return UM(Y,Z,X)}function $N(Z,X){var Y=FX();return EN(Y,VX.memoizedState,Z,X)}function SN(Z,X){var Y=FX();return VX===null?UM(Y,Z,X):EN(Y,VX.memoizedState,Z,X)}function UM(Z,X,Y){if(Y===void 0||(hq&1073741824)!==0&&(sZ&261930)===0)return Z.memoizedState=X;return Z.memoizedState=Y,Z=k1(),hZ.lanes|=Z,vG|=Z,Y}function EN(Z,X,Y,Q){if(cY(Y,X))return Y;if($_.current!==null)return Z=UM(Z,Y,Q),cY(Z,X)||(ZY=!0),Z;if((hq&42)===0||(hq&1073741824)!==0&&(sZ&261930)===0)return ZY=!0,Z.memoizedState=Y;return Z=k1(),hZ.lanes|=Z,vG|=Z,X}function lB(){i.asyncTransitions--}function kN(Z,X,Y,Q,G){var H=OX.p;OX.p=H!==0&&H<LJ?H:LJ;var U=i.T,B={};B._updatedFibers=new Set,i.T=B,OM(Z,!1,X,Y);try{var O=G(),I=i.S;if(I!==null&&I(B,O),O!==null&&typeof O==="object"&&typeof O.then==="function"){i.asyncTransitions++,O.then(lB,lB);var k=MP(O,Q);YU(Z,X,k,IQ(Z))}else YU(Z,X,Q,IQ(Z))}catch(x){YU(Z,X,{then:function(){},status:"rejected",reason:x},IQ(Z))}finally{OX.p=H,U!==null&&B.types!==null&&(U.types!==null&&U.types!==B.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),U.types=B.types),i.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 KM(Z,X,Y,Q){if(Z.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var G=xN(Z).queue;OP(Z),kN(Z,G,X,Qz,Y===null?T:function(){return yN(Z),Y(Q)})}function xN(Z){var X=Z.memoizedState;if(X!==null)return X;X={memoizedState:Qz,baseState:Qz,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:Qz},next:null};var Y={};return X.next={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:Y},next:null},Z.memoizedState=X,Z=Z.alternate,Z!==null&&(Z.memoizedState=X),X}function yN(Z){i.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var X=xN(Z);X.next===null&&(X=Z.alternate.memoizedState),YU(Z,X.next.queue,{},IQ(Z))}function BM(){var Z=ZM(!1);return Z=kN.bind(null,hZ,Z.queue,!0,!1),mY().memoizedState=Z,[!1,Z]}function vN(){var Z=az(UJ)[0],X=FX().memoizedState;return[typeof Z==="boolean"?Z:ZU(Z),X]}function hN(){var Z=XU(UJ)[0],X=FX().memoizedState;return[typeof Z==="boolean"?Z:ZU(Z),X]}function EH(){return kX(UK)}function LM(){var Z=mY(),X=RX.identifierPrefix;if(QX){var Y=Eq,Q=Sq;Y=(Q&~(1<<32-fY(Q)-1)).toString(32)+Y,X="_"+X+"R_"+Y,Y=iL++,0<Y&&(X+="H"+Y.toString(32)),X+="_"}else Y=YE++,X="_"+X+"r_"+Y.toString(32)+"_";return Z.memoizedState=X}function AM(){return mY().memoizedState=RP.bind(null,hZ)}function RP(Z,X){for(var Y=Z.return;Y!==null;){switch(Y.tag){case 24:case 3:var Q=IQ(Y),G=WG(Q),H=UG(Y,G,Q);H!==null&&(vJ(Q,"refresh()",Z),gX(H,Y,Q),rW(H,Y,Q)),Z=vF(),X!==null&&X!==void 0&&H!==null&&console.error("The seed argument is not enabled outside experimental channels."),G.payload={cache:Z};return}Y=Y.return}}function jP(Z,X,Y){var Q=arguments;typeof Q[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()."),Q=IQ(Z);var G={lane:Q,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};iB(Z)?gN(X,G):(G=VF(Z,X,G,Q),G!==null&&(vJ(Q,"dispatch()",Z),gX(G,Z,Q),mN(G,X,Q)))}function bN(Z,X,Y){var Q=arguments;typeof Q[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()."),Q=IQ(Z),YU(Z,X,Y,Q)&&vJ(Q,"setState()",Z)}function YU(Z,X,Y,Q){var G={lane:Q,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};if(iB(Z))gN(X,G);else{var H=Z.alternate;if(Z.lanes===0&&(H===null||H.lanes===0)&&(H=X.lastRenderedReducer,H!==null)){var U=i.H;i.H=FJ;try{var B=X.lastRenderedState,O=H(B,Y);if(G.hasEagerState=!0,G.eagerState=O,cY(O,B))return MB(Z,X,G,0),RX===null&&FB(),!1}catch(I){}finally{i.H=U}}if(Y=VF(Z,X,G,Q),Y!==null)return gX(Y,Z,Q),mN(Y,X,Q),!0}return!1}function OM(Z,X,Y,Q){if(i.T===null&&uH===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."),Q={lane:2,revertLane:iM(),gesture:null,action:Q,hasEagerState:!1,eagerState:null,next:null},iB(Z)){if(X)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else X=VF(Z,Y,Q,2),X!==null&&(vJ(2,"setOptimistic()",Z),gX(X,Z,2))}function iB(Z){var X=Z.alternate;return Z===hZ||X!==null&&X===hZ}function gN(Z,X){k_=lL=!0;var Y=Z.pending;Y===null?X.next=X:(X.next=Y.next,Y.next=X),Z.pending=X}function mN(Z,X,Y){if((Y&4194048)!==0){var Q=X.lanes;Q&=Z.pendingLanes,Y|=Q,X.lanes=Y,FH(Z,Y)}}function FM(Z){if(Z!==null&&typeof Z!=="function"){var X=String(Z);h7.has(X)||(h7.add(X),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",Z))}}function MM(Z,X,Y,Q){var G=Z.memoizedState,H=Y(Q,G);if(Z.mode&gY){jX(!0);try{H=Y(Q,G)}finally{jX(!1)}}H===void 0&&(X=b(X)||"Component",k7.has(X)||(k7.add(X),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",X))),G=H===null||H===void 0?G:rZ({},G,H),Z.memoizedState=G,Z.lanes===0&&(Z.updateQueue.baseState=G)}function fN(Z,X,Y,Q,G,H,U){var B=Z.stateNode;if(typeof B.shouldComponentUpdate==="function"){if(Y=B.shouldComponentUpdate(Q,H,U),Z.mode&gY){jX(!0);try{Y=B.shouldComponentUpdate(Q,H,U)}finally{jX(!1)}}return Y===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",b(X)||"Component"),Y}return X.prototype&&X.prototype.isPureReactComponent?!pW(Y,Q)||!pW(G,H):!0}function uN(Z,X,Y,Q){var G=X.state;typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps(Y,Q),typeof X.UNSAFE_componentWillReceiveProps==="function"&&X.UNSAFE_componentWillReceiveProps(Y,Q),X.state!==G&&(Z=a(Z)||"Component",D7.has(Z)||(D7.add(Z),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Z)),K9.enqueueReplaceState(X,X.state,null))}function kH(Z,X){var Y=X;if("ref"in X){Y={};for(var Q in X)Q!=="ref"&&(Y[Q]=X[Q])}if(Z=Z.defaultProps){Y===X&&(Y=rZ({},Y));for(var G in Z)Y[G]===void 0&&(Y[G]=Z[G])}return Y}function dN(Z){c0(Z),console.warn(`%s
|
|
121
|
+
|
|
122
|
+
%s
|
|
123
|
+
`,x_?"An error occurred in the <"+x_+"> 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 cN(Z){var X=x_?"The above error occurred in the <"+x_+"> 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, "+((B9||"Anonymous")+".");if(typeof Z==="object"&&Z!==null&&typeof Z.environmentName==="string"){var Q=Z.environmentName;Z=[`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,Z,X,Y].slice(0),typeof Z[0]==="string"?Z.splice(0,1,MT+" "+Z[0],NT,FA+Q+FA,IT):Z.splice(0,0,MT,NT,FA+Q+FA,IT),Z.unshift(console),Q=VE.apply(console.error,Z),Q()}else console.error(`%o
|
|
130
|
+
|
|
131
|
+
%s
|
|
132
|
+
|
|
133
|
+
%s
|
|
134
|
+
`,Z,X,Y)}function pN(Z){c0(Z)}function nB(Z,X){try{x_=X.source?a(X.source):null,B9=null;var Y=X.value;if(i.actQueue!==null)i.thrownErrors.push(Y);else{var Q=Z.onUncaughtError;Q(Y,{componentStack:X.stack})}}catch(G){setTimeout(function(){throw G})}}function lN(Z,X,Y){try{x_=Y.source?a(Y.source):null,B9=a(X);var Q=Z.onCaughtError;Q(Y.value,{componentStack:Y.stack,errorBoundary:X.tag===1?X.stateNode:null})}catch(G){setTimeout(function(){throw G})}}function NM(Z,X,Y){return Y=WG(Y),Y.tag=G9,Y.payload={element:null},Y.callback=function(){_Z(X.source,nB,Z,X)},Y}function IM(Z){return Z=WG(Z),Z.tag=G9,Z}function TM(Z,X,Y,Q){var G=Y.type.getDerivedStateFromError;if(typeof G==="function"){var H=Q.value;Z.payload=function(){return G(H)},Z.callback=function(){g8(Y),_Z(Q.source,lN,X,Y,Q)}}var U=Y.stateNode;U!==null&&typeof U.componentDidCatch==="function"&&(Z.callback=function(){g8(Y),_Z(Q.source,lN,X,Y,Q),typeof G!=="function"&&(bG===null?bG=new Set([this]):bG.add(this)),tS(this,Q),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.",a(Y)||"Unknown")})}function CP(Z,X,Y,Q,G){if(Y.flags|=32768,tJ&&WU(Z,G),Q!==null&&typeof Q==="object"&&typeof Q.then==="function"){if(X=Y.alternate,X!==null&&nz(X,Y,G,!0),QX&&(Xq=!0),Y=CQ.current,Y!==null){switch(Y.tag){case 31:case 13:return aQ===null?YL():Y.alternate===null&&bX===fq&&(bX=aL),Y.flags&=-257,Y.flags|=65536,Y.lanes=G,Q===dL?Y.flags|=16384:(X=Y.updateQueue,X===null?Y.updateQueue=new Set([Q]):X.add(Q),dM(Z,Q,G)),!1;case 22:return Y.flags|=65536,Q===dL?Y.flags|=16384:(X=Y.updateQueue,X===null?(X={transitions:null,markerInstances:null,retryQueue:new Set([Q])},Y.updateQueue=X):(Y=X.retryQueue,Y===null?X.retryQueue=new Set([Q]):Y.add(Q)),dM(Z,Q,G)),!1}throw Error("Unexpected Suspense handler tag ("+Y.tag+"). This is a bug in React.")}return dM(Z,Q,G),YL(),!1}if(QX)return Xq=!0,X=CQ.current,X!==null?((X.flags&65536)===0&&(X.flags|=256),X.flags|=65536,X.lanes=G,Q!==a0&&iW(OQ(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:Q}),Y))):(Q!==a0&&iW(OQ(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:Q}),Y)),Z=Z.current.alternate,Z.flags|=65536,G&=-G,Z.lanes|=G,Q=OQ(Q,Y),G=NM(Z.stateNode,Q,G),xB(Z,G),bX!==xG&&(bX=nH)),!1;var H=OQ(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:Q}),Y);if(YK===null?YK=[H]:YK.push(H),bX!==xG&&(bX=nH),X===null)return!0;Q=OQ(Q,Y),Y=X;do{switch(Y.tag){case 3:return Y.flags|=65536,Z=G&-G,Y.lanes|=Z,Z=NM(Y.stateNode,Q,Z),xB(Y,Z),!1;case 1:if(X=Y.type,H=Y.stateNode,(Y.flags&128)===0&&(typeof X.getDerivedStateFromError==="function"||H!==null&&typeof H.componentDidCatch==="function"&&(bG===null||!bG.has(H))))return Y.flags|=65536,G&=-G,Y.lanes|=G,G=IM(G),TM(G,Z,Y,Q),xB(Y,G),!1}Y=Y.return}while(Y!==null);return!1}function wY(Z,X,Y,Q){X.child=Z===null?O7(X,null,Y,Q):lH(X,Z.child,Y,Q)}function iN(Z,X,Y,Q,G){Y=Y.render;var H=X.ref;if("ref"in Q){var U={};for(var B in Q)B!=="ref"&&(U[B]=Q[B])}else U=Q;if(DH(X),Q=iF(Z,X,Y,U,H,G),B=sF(),Z!==null&&!ZY)return aF(Z,X,G),Rq(Z,X,G);return QX&&B&&$F(X),X.flags|=1,wY(Z,X,Q,G),X.child}function nN(Z,X,Y,Q,G){if(Z===null){var H=Y.type;if(typeof H==="function"&&!jF(H)&&H.defaultProps===void 0&&Y.compare===null)return Y=VH(H),X.tag=15,X.type=Y,VM(X,H),sN(Z,X,Y,Q,G);return Z=CF(Y.type,null,Q,X,X.mode,G),Z.ref=X.ref,Z.return=X,X.child=Z}if(H=Z.child,!$M(Z,G)){var U=H.memoizedProps;if(Y=Y.compare,Y=Y!==null?Y:pW,Y(U,Q)&&Z.ref===X.ref)return Rq(Z,X,G)}return X.flags|=1,Z=Iq(H,Q),Z.ref=X.ref,Z.return=X,X.child=Z}function sN(Z,X,Y,Q,G){if(Z!==null){var H=Z.memoizedProps;if(pW(H,Q)&&Z.ref===X.ref&&X.type===Z.type)if(ZY=!1,X.pendingProps=Q=H,$M(Z,G))(Z.flags&131072)!==0&&(ZY=!0);else return X.lanes=Z.lanes,Rq(Z,X,G)}return wM(Z,X,Y,Q,G)}function aN(Z,X,Y,Q){var G=Q.children,H=Z!==null?Z.memoizedState:null;if(Z===null&&X.stateNode===null&&(X.stateNode={_visibility:EU,_pendingMarkers:null,_retryCache:null,_transitions:null}),Q.mode==="hidden"){if((X.flags&128)!==0){if(H=H!==null?H.baseLanes|Y:Y,Z!==null){Q=X.child=Z.child;for(G=0;Q!==null;)G=G|Q.lanes|Q.childLanes,Q=Q.sibling;Q=G&~H}else Q=0,X.child=null;return oN(Z,X,H,Y,Q)}if((Y&536870912)!==0)X.memoizedState={baseLanes:0,cachePool:null},Z!==null&&DB(X,H!==null?H.cachePool:null),H!==null?UN(X,H):dF(X),KN(X);else return Q=X.lanes=536870912,oN(Z,X,H!==null?H.baseLanes|Y:Y,Y,Q)}else H!==null?(DB(X,H.cachePool),UN(X,H),BG(X),X.memoizedState=null):(Z!==null&&DB(X,null),dF(X),BG(X));return wY(Z,X,G,Y),X.child}function QU(Z,X){return Z!==null&&Z.tag===22||X.stateNode!==null||(X.stateNode={_visibility:EU,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.sibling}function oN(Z,X,Y,Q,G){var H=gF();return H=H===null?null:{parent:rX._currentValue,pool:H},X.memoizedState={baseLanes:Y,cachePool:H},Z!==null&&DB(X,null),dF(X),KN(X),Z!==null&&nz(Z,X,Q,!0),X.childLanes=G,null}function sB(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=oB({mode:X.mode,children:X.children},Z.mode),X.ref=Z.ref,Z.child=X,X.return=Z,X}function rN(Z,X,Y){return lH(X,Z.child,null,Y),Z=sB(X,X.pendingProps),Z.flags|=2,NQ(X),X.memoizedState=null,Z}function DP(Z,X,Y){var Q=X.pendingProps,G=(X.flags&128)!==0;if(X.flags&=-129,Z===null){if(QX){if(Q.mode==="hidden")return Z=sB(X,Q),X.lanes=536870912,QU(null,Z);if(pF(X),(Z=$X)?(Y=wI(Z,nQ),Y=Y!==null&&Y.data===eH?Y:null,Y!==null&&(Q={dehydrated:Y,treeContext:c8(),retryLane:536870912,hydrationErrors:null},X.memoizedState=Q,Q=u8(Y),Q.return=X,X.child=Q,jY=X,$X=null)):Y=null,Y===null)throw TB(X,Z),HG(X);return X.lanes=536870912,null}return sB(X,Q)}var H=Z.memoizedState;if(H!==null){var U=H.dehydrated;if(pF(X),G)if(X.flags&256)X.flags&=-257,X=rN(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(l8(),(Y&536870912)!==0&&XL(X),ZY||nz(Z,X,Y,!1),G=(Y&Z.childLanes)!==0,ZY||G){if(Q=RX,Q!==null&&(U=MH(Q,Y),U!==0&&U!==H.retryLane))throw H.retryLane=U,hY(Z,U),gX(Q,Z,U),L9;YL(),X=rN(Z,X,Y)}else Z=H.treeContext,$X=TQ(U.nextSibling),jY=X,QX=!0,CG=null,Xq=!1,jQ=null,nQ=!1,Z!==null&&p8(X,Z),X=sB(X,Q),X.flags|=4096;return X}return H=Z.child,Q={mode:Q.mode,children:Q.children},(Y&536870912)!==0&&(Y&Z.lanes)!==0&&XL(X),Z=Iq(H,Q),Z.ref=X.ref,X.child=Z,Z.return=X,Z}function aB(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 wM(Z,X,Y,Q,G){if(Y.prototype&&typeof Y.prototype.render==="function"){var H=b(Y)||"Unknown";b7[H]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",H,H),b7[H]=!0)}if(X.mode&gY&&OJ.recordLegacyContextWarning(X,null),Z===null&&(VM(X,X.type),Y.contextTypes&&(H=b(Y)||"Unknown",m7[H]||(m7[H]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",H)))),DH(X),Y=iF(Z,X,Y,Q,void 0,G),Q=sF(),Z!==null&&!ZY)return aF(Z,X,G),Rq(Z,X,G);return QX&&Q&&$F(X),X.flags|=1,wY(Z,X,Y,G),X.child}function tN(Z,X,Y,Q,G,H){if(DH(X),gq=-1,aU=Z!==null&&Z.type!==X.type,X.updateQueue=null,Y=nF(X,Q,Y,G),BN(Z,X),Q=sF(),Z!==null&&!ZY)return aF(Z,X,H),Rq(Z,X,H);return QX&&Q&&$F(X),X.flags|=1,wY(Z,X,Y,H),X.child}function eN(Z,X,Y,Q,G){switch(A(X)){case!1:var H=X.stateNode,U=new X.type(X.memoizedProps,H.context).state;H.updater.enqueueSetState(H,U,null);break;case!0:X.flags|=128,X.flags|=65536,H=Error("Simulated error coming from DevTools");var B=G&-G;if(X.lanes|=B,U=RX,U===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B=IM(B),TM(B,U,X,OQ(H,X)),xB(X,B)}if(DH(X),X.stateNode===null){if(U=jG,H=Y.contextType,"contextType"in Y&&H!==null&&(H===void 0||H.$$typeof!==aJ)&&!v7.has(Y)&&(v7.add(Y),B=H===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof H!=="object"?" However, it is set to a "+typeof H+".":H.$$typeof===A0?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(H).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",b(Y)||"Component",B)),typeof H==="object"&&H!==null&&(U=kX(H)),H=new Y(Q,U),X.mode&gY){jX(!0);try{H=new Y(Q,U)}finally{jX(!1)}}if(U=X.memoizedState=H.state!==null&&H.state!==void 0?H.state:null,H.updater=K9,X.stateNode=H,H._reactInternals=X,H._reactInternalInstance=C7,typeof Y.getDerivedStateFromProps==="function"&&U===null&&(U=b(Y)||"Component",P7.has(U)||(P7.add(U),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",U,H.state===null?"null":"undefined",U))),typeof Y.getDerivedStateFromProps==="function"||typeof H.getSnapshotBeforeUpdate==="function"){var O=B=U=null;if(typeof H.componentWillMount==="function"&&H.componentWillMount.__suppressDeprecationWarning!==!0?U="componentWillMount":typeof H.UNSAFE_componentWillMount==="function"&&(U="UNSAFE_componentWillMount"),typeof H.componentWillReceiveProps==="function"&&H.componentWillReceiveProps.__suppressDeprecationWarning!==!0?B="componentWillReceiveProps":typeof H.UNSAFE_componentWillReceiveProps==="function"&&(B="UNSAFE_componentWillReceiveProps"),typeof H.componentWillUpdate==="function"&&H.componentWillUpdate.__suppressDeprecationWarning!==!0?O="componentWillUpdate":typeof H.UNSAFE_componentWillUpdate==="function"&&(O="UNSAFE_componentWillUpdate"),U!==null||B!==null||O!==null){H=b(Y)||"Component";var I=typeof Y.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";S7.has(H)||(S7.add(H),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
137
|
+
|
|
138
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
139
|
+
|
|
140
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
141
|
+
https://react.dev/link/unsafe-component-lifecycles`,H,I,U!==null?`
|
|
142
|
+
`+U:"",B!==null?`
|
|
143
|
+
`+B:"",O!==null?`
|
|
144
|
+
`+O:""))}}H=X.stateNode,U=b(Y)||"Component",H.render||(Y.prototype&&typeof Y.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",U):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",U)),!H.getInitialState||H.getInitialState.isReactClassApproved||H.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",U),H.getDefaultProps&&!H.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",U),H.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",U),Y.childContextTypes&&!y7.has(Y)&&(y7.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&&!x7.has(Y)&&(x7.add(Y),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",U)),typeof H.componentShouldUpdate==="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",U),Y.prototype&&Y.prototype.isPureReactComponent&&typeof H.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",b(Y)||"A pure component"),typeof H.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",U),typeof H.componentDidReceiveProps==="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",U),typeof H.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",U),typeof H.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",U),B=H.props!==Q,H.props!==void 0&&B&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",U),H.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",U,U),typeof H.getSnapshotBeforeUpdate!=="function"||typeof H.componentDidUpdate==="function"||$7.has(Y)||($7.add(Y),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",b(Y))),typeof H.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",U),typeof H.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",U),typeof Y.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",U),(B=H.state)&&(typeof B!=="object"||HY(B))&&console.error("%s.state: must be set to an object or null",U),typeof H.getChildContext==="function"&&typeof Y.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",U),H=X.stateNode,H.props=Q,H.state=X.memoizedState,H.refs={},fF(X),U=Y.contextType,H.context=typeof U==="object"&&U!==null?kX(U):jG,H.state===Q&&(U=b(Y)||"Component",E7.has(U)||(E7.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&gY&&OJ.recordLegacyContextWarning(X,H),OJ.recordUnsafeLifecycleWarnings(X,H),H.state=X.memoizedState,U=Y.getDerivedStateFromProps,typeof U==="function"&&(MM(X,Y,U,Q),H.state=X.memoizedState),typeof Y.getDerivedStateFromProps==="function"||typeof H.getSnapshotBeforeUpdate==="function"||typeof H.UNSAFE_componentWillMount!=="function"&&typeof H.componentWillMount!=="function"||(U=H.state,typeof H.componentWillMount==="function"&&H.componentWillMount(),typeof H.UNSAFE_componentWillMount==="function"&&H.UNSAFE_componentWillMount(),U!==H.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",a(X)||"Component"),K9.enqueueReplaceState(H,H.state,null)),eW(X,Q,H,G),tW(),H.state=X.memoizedState),typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==vZ&&(X.flags|=134217728),H=!0}else if(Z===null){H=X.stateNode;var k=X.memoizedProps;B=kH(Y,k),H.props=B;var x=H.context;O=Y.contextType,U=jG,typeof O==="object"&&O!==null&&(U=kX(O)),I=Y.getDerivedStateFromProps,O=typeof I==="function"||typeof H.getSnapshotBeforeUpdate==="function",k=X.pendingProps!==k,O||typeof H.UNSAFE_componentWillReceiveProps!=="function"&&typeof H.componentWillReceiveProps!=="function"||(k||x!==U)&&uN(X,H,Q,U),kG=!1;var $=X.memoizedState;H.state=$,eW(X,Q,H,G),tW(),x=X.memoizedState,k||$!==x||kG?(typeof I==="function"&&(MM(X,Y,I,Q),x=X.memoizedState),(B=kG||fN(X,Y,B,Q,$,x,U))?(O||typeof H.UNSAFE_componentWillMount!=="function"&&typeof H.componentWillMount!=="function"||(typeof H.componentWillMount==="function"&&H.componentWillMount(),typeof H.UNSAFE_componentWillMount==="function"&&H.UNSAFE_componentWillMount()),typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==vZ&&(X.flags|=134217728)):(typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==vZ&&(X.flags|=134217728),X.memoizedProps=Q,X.memoizedState=x),H.props=Q,H.state=x,H.context=U,H=B):(typeof H.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&AJ)!==vZ&&(X.flags|=134217728),H=!1)}else{H=X.stateNode,uF(Z,X),U=X.memoizedProps,O=kH(Y,U),H.props=O,I=X.pendingProps,$=H.context,x=Y.contextType,B=jG,typeof x==="object"&&x!==null&&(B=kX(x)),k=Y.getDerivedStateFromProps,(x=typeof k==="function"||typeof H.getSnapshotBeforeUpdate==="function")||typeof H.UNSAFE_componentWillReceiveProps!=="function"&&typeof H.componentWillReceiveProps!=="function"||(U!==I||$!==B)&&uN(X,H,Q,B),kG=!1,$=X.memoizedState,H.state=$,eW(X,Q,H,G),tW();var d=X.memoizedState;U!==I||$!==d||kG||Z!==null&&Z.dependencies!==null&&VB(Z.dependencies)?(typeof k==="function"&&(MM(X,Y,k,Q),d=X.memoizedState),(O=kG||fN(X,Y,O,Q,$,d,B)||Z!==null&&Z.dependencies!==null&&VB(Z.dependencies))?(x||typeof H.UNSAFE_componentWillUpdate!=="function"&&typeof H.componentWillUpdate!=="function"||(typeof H.componentWillUpdate==="function"&&H.componentWillUpdate(Q,d,B),typeof H.UNSAFE_componentWillUpdate==="function"&&H.UNSAFE_componentWillUpdate(Q,d,B)),typeof H.componentDidUpdate==="function"&&(X.flags|=4),typeof H.getSnapshotBeforeUpdate==="function"&&(X.flags|=1024)):(typeof H.componentDidUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=4),typeof H.getSnapshotBeforeUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=1024),X.memoizedProps=Q,X.memoizedState=d),H.props=Q,H.state=d,H.context=B,H=O):(typeof H.componentDidUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=4),typeof H.getSnapshotBeforeUpdate!=="function"||U===Z.memoizedProps&&$===Z.memoizedState||(X.flags|=1024),H=!1)}if(B=H,aB(Z,X),U=(X.flags&128)!==0,B||U){if(B=X.stateNode,UQ(X),U&&typeof Y.getDerivedStateFromError!=="function")Y=null,pY=-1;else if(Y=Y7(B),X.mode&gY){jX(!0);try{Y7(B)}finally{jX(!1)}}X.flags|=1,Z!==null&&U?(X.child=lH(X,Z.child,null,G),X.child=lH(X,null,Y,G)):wY(Z,X,Y,G),X.memoizedState=B.state,Z=X.child}else Z=Rq(Z,X,G);return G=X.stateNode,H&&G.props!==Q&&(y_||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",a(X)||"a component"),y_=!0),Z}function Z1(Z,X,Y,Q){return CH(),X.flags|=256,wY(Z,X,Y,Q),X.child}function VM(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=b(X)||"Unknown",f7[Z]||(console.error("%s: Function components do not support getDerivedStateFromProps.",Z),f7[Z]=!0)),typeof X.contextType==="object"&&X.contextType!==null&&(X=b(X)||"Unknown",g7[X]||(console.error("%s: Function components do not support contextType.",X),g7[X]=!0))}function RM(Z){return{baseLanes:Z,cachePool:t8()}}function jM(Z,X,Y){return Z=Z!==null?Z.childLanes&~Y:0,X&&(Z|=YQ),Z}function X1(Z,X,Y){var Q,G=X.pendingProps;K(X)&&(X.flags|=128);var H=!1,U=(X.flags&128)!==0;if((Q=U)||(Q=Z!==null&&Z.memoizedState===null?!1:(nX.current&nU)!==0),Q&&(H=!0,X.flags&=-129),Q=(X.flags&32)!==0,X.flags&=-33,Z===null){if(QX){if(H?KG(X):BG(X),(Z=$X)?(Y=wI(Z,nQ),Y=Y!==null&&Y.data!==eH?Y:null,Y!==null&&(Q={dehydrated:Y,treeContext:c8(),retryLane:536870912,hydrationErrors:null},X.memoizedState=Q,Q=u8(Y),Q.return=X,X.child=Q,jY=X,$X=null)):Y=null,Y===null)throw TB(X,Z),HG(X);return J0(Y)?X.lanes=32:X.lanes=536870912,null}var B=G.children;if(G=G.fallback,H){BG(X);var O=X.mode;return B=oB({mode:"hidden",children:B},O),G=RH(G,O,Y,null),B.return=X,G.return=X,B.sibling=G,X.child=B,G=X.child,G.memoizedState=RM(Y),G.childLanes=jM(Z,Q,Y),X.memoizedState=A9,QU(null,G)}return KG(X),CM(X,B)}var I=Z.memoizedState;if(I!==null){var k=I.dehydrated;if(k!==null){if(U)X.flags&256?(KG(X),X.flags&=-257,X=DM(Z,X,Y)):X.memoizedState!==null?(BG(X),X.child=Z.child,X.flags|=128,X=null):(BG(X),B=G.fallback,O=X.mode,G=oB({mode:"visible",children:G.children},O),B=RH(B,O,Y,null),B.flags|=2,G.return=X,B.return=X,G.sibling=B,X.child=G,lH(X,Z.child,null,Y),G=X.child,G.memoizedState=RM(Y),G.childLanes=jM(Z,Q,Y),X.memoizedState=A9,X=QU(null,G));else if(KG(X),l8(),(Y&536870912)!==0&&XL(X),J0(k)){if(Q=k.nextSibling&&k.nextSibling.dataset,Q){B=Q.dgst;var x=Q.msg;O=Q.stck;var $=Q.cstck}H=x,Q=B,G=O,k=$,B=H,O=k,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=Q,Q=O===void 0?null:O,G={value:B,source:null,stack:Q},typeof Q==="string"&&s0.set(B,G),iW(G),X=DM(Z,X,Y)}else if(ZY||nz(Z,X,Y,!1),Q=(Y&Z.childLanes)!==0,ZY||Q){if(Q=RX,Q!==null&&(G=MH(Q,Y),G!==0&&G!==I.retryLane))throw I.retryLane=G,hY(Z,G),gX(Q,Z,G),L9;Q0(k)||YL(),X=DM(Z,X,Y)}else Q0(k)?(X.flags|=192,X.child=Z.child,X=null):(Z=I.treeContext,$X=TQ(k.nextSibling),jY=X,QX=!0,CG=null,Xq=!1,jQ=null,nQ=!1,Z!==null&&p8(X,Z),X=CM(X,G.children),X.flags|=4096);return X}}if(H)return BG(X),B=G.fallback,O=X.mode,$=Z.child,k=$.sibling,G=Iq($,{mode:"hidden",children:G.children}),G.subtreeFlags=$.subtreeFlags&65011712,k!==null?B=Iq(k,B):(B=RH(B,O,Y,null),B.flags|=2),B.return=X,G.return=X,G.sibling=B,X.child=G,QU(null,G),G=X.child,B=Z.child.memoizedState,B===null?B=RM(Y):(O=B.cachePool,O!==null?($=rX._currentValue,O=O.parent!==$?{parent:$,pool:$}:O):O=t8(),B={baseLanes:B.baseLanes|Y,cachePool:O}),G.memoizedState=B,G.childLanes=jM(Z,Q,Y),X.memoizedState=A9,QU(Z.child,G);return I!==null&&(Y&62914560)===Y&&(Y&Z.lanes)!==0&&XL(X),KG(X),Y=Z.child,Z=Y.sibling,Y=Iq(Y,{mode:"visible",children:G.children}),Y.return=X,Y.sibling=null,Z!==null&&(Q=X.deletions,Q===null?(X.deletions=[Z],X.flags|=16):Q.push(Z)),X.child=Y,X.memoizedState=null,Y}function CM(Z,X){return X=oB({mode:"visible",children:X},Z.mode),X.return=Z,Z.child=X}function oB(Z,X){return Z=R(22,Z,null,X),Z.lanes=0,Z}function DM(Z,X,Y){return lH(X,Z.child,null,Y),Z=CM(X,X.pendingProps.children),Z.flags|=2,X.memoizedState=null,Z}function Y1(Z,X,Y){Z.lanes|=X;var Q=Z.alternate;Q!==null&&(Q.lanes|=X),xF(Z.return,X,Y)}function PM(Z,X,Y,Q,G,H){var U=Z.memoizedState;U===null?Z.memoizedState={isBackwards:X,rendering:null,renderingStartTime:0,last:Q,tail:Y,tailMode:G,treeForkCount:H}:(U.isBackwards=X,U.rendering=null,U.renderingStartTime=0,U.last=Q,U.tail=Y,U.tailMode=G,U.treeForkCount=H)}function Q1(Z,X,Y){var Q=X.pendingProps,G=Q.revealOrder,H=Q.tail,U=Q.children,B=nX.current;if((Q=(B&nU)!==0)?(B=B&S_|nU,X.flags|=128):B&=S_,zZ(nX,B,X),B=G==null?"null":G,G!=="forwards"&&G!=="unstable_legacy-backwards"&&G!=="together"&&G!=="independent"&&!u7[B])if(u7[B]=!0,G==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(G==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof G==="string")switch(G.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',G,G.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',G,G.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',G)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',G);if(B=H==null?"null":H,!sL[B])if(H==null){if(G==="forwards"||G==="backwards"||G==="unstable_legacy-backwards")sL[B]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else H!=="visible"&&H!=="collapsed"&&H!=="hidden"?(sL[B]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',H)):G!=="forwards"&&G!=="backwards"&&G!=="unstable_legacy-backwards"&&(sL[B]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',H));Z:if((G==="forwards"||G==="backwards"||G==="unstable_legacy-backwards")&&U!==void 0&&U!==null&&U!==!1)if(HY(U)){for(B=0;B<U.length;B++)if(!zN(U[B],B))break Z}else if(B=QZ(U),typeof B==="function"){if(B=B.call(U))for(var O=B.next(),I=0;!O.done;O=B.next()){if(!zN(O.value,I))break Z;I++}}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(wY(Z,X,U,Y),QX?(GG(),U=kU):U=0,!Q&&Z!==null&&(Z.flags&128)!==0)Z:for(Z=X.child;Z!==null;){if(Z.tag===13)Z.memoizedState!==null&&Y1(Z,Y,X);else if(Z.tag===19)Y1(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&&yB(Z)===null&&(G=Y),Y=Y.sibling;Y=G,Y===null?(G=X.child,X.child=null):(G=Y.sibling,Y.sibling=null),PM(X,!1,G,Y,H,U);break;case"backwards":case"unstable_legacy-backwards":Y=null,G=X.child;for(X.child=null;G!==null;){if(Z=G.alternate,Z!==null&&yB(Z)===null){X.child=G;break}Z=G.sibling,G.sibling=Y,Y=G,G=Z}PM(X,!0,Y,null,H,U);break;case"together":PM(X,!1,null,null,void 0,U);break;default:X.memoizedState=null}return X.child}function Rq(Z,X,Y){if(Z!==null&&(X.dependencies=Z.dependencies),pY=-1,vG|=X.lanes,(Y&X.childLanes)===0)if(Z!==null){if(nz(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=Iq(Z,Z.pendingProps),X.child=Y;for(Y.return=X;Z.sibling!==null;)Z=Z.sibling,Y=Y.sibling=Iq(Z,Z.pendingProps),Y.return=X;Y.sibling=null}return X.child}function $M(Z,X){if((Z.lanes&X)!==0)return!0;return Z=Z.dependencies,Z!==null&&VB(Z)?!0:!1}function PP(Z,X,Y){switch(X.tag){case 3:u(X,X.stateNode.containerInfo),zG(X,rX,Z.memoizedState.cache),CH();break;case 27:case 5:KZ(X);break;case 4:u(X,X.stateNode.containerInfo);break;case 10:zG(X,X.type,X.memoizedProps.value);break;case 12:(Y&X.childLanes)!==0&&(X.flags|=4),X.flags|=2048;var Q=X.stateNode;Q.effectDuration=-0,Q.passiveEffectDuration=-0;break;case 31:if(X.memoizedState!==null)return X.flags|=128,pF(X),null;break;case 13:if(Q=X.memoizedState,Q!==null){if(Q.dehydrated!==null)return KG(X),X.flags|=128,null;if((Y&X.child.childLanes)!==0)return X1(Z,X,Y);return KG(X),Z=Rq(Z,X,Y),Z!==null?Z.sibling:null}KG(X);break;case 19:var G=(Z.flags&128)!==0;if(Q=(Y&X.childLanes)!==0,Q||(nz(Z,X,Y,!1),Q=(Y&X.childLanes)!==0),G){if(Q)return Q1(Z,X,Y);X.flags|=128}if(G=X.memoizedState,G!==null&&(G.rendering=null,G.tail=null,G.lastEffect=null),zZ(nX,nX.current,X),Q)break;else return null;case 22:return X.lanes=0,aN(Z,X,Y,X.pendingProps);case 24:zG(X,rX,Z.memoizedState.cache)}return Rq(Z,X,Y)}function SM(Z,X,Y){if(X._debugNeedsRemount&&Z!==null){Y=CF(X.type,X.key,X.pendingProps,X._debugOwner||null,X.mode,X.lanes),Y._debugStack=X._debugStack,Y._debugTask=X._debugTask;var Q=X.return;if(Q===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===Q.child)Q.child=Y;else{var G=Q.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=Q.deletions,X===null?(Q.deletions=[Z],Q.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(!$M(Z,Y)&&(X.flags&128)===0)return ZY=!1,PP(Z,X,Y);ZY=(Z.flags&131072)!==0?!0:!1}else{if(ZY=!1,Q=QX)GG(),Q=(X.flags&1048576)!==0;Q&&(Q=X.index,GG(),d8(X,kU,Q))}switch(X.lanes=0,X.tag){case 16:Z:if(Q=X.pendingProps,Z=_G(X.elementType),X.type=Z,typeof Z==="function")jF(Z)?(Q=kH(Z,Q),X.tag=1,X.type=Z=VH(Z),X=eN(null,X,Z,Q,Y)):(X.tag=0,VM(X,Z),X.type=Z=VH(Z),X=wM(null,X,Z,Q,Y));else{if(Z!==void 0&&Z!==null){if(G=Z.$$typeof,G===NU){X.tag=11,X.type=Z=RF(Z),X=iN(null,X,Z,Q,Y);break Z}else if(G===OL){X.tag=14,X=nN(null,X,Z,Q,Y);break Z}}throw X="",Z!==null&&typeof Z==="object"&&Z.$$typeof===wQ&&(X=" Did you wrap a component in React.lazy() more than once?"),Y=b(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 wM(Z,X,X.type,X.pendingProps,Y);case 1:return Q=X.type,G=kH(Q,X.pendingProps),eN(Z,X,Q,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.");Q=X.pendingProps;var H=X.memoizedState;G=H.element,uF(Z,X),eW(X,Q,null,Y);var U=X.memoizedState;if(Q=U.cache,zG(X,rX,Q),Q!==H.cache&&yF(X,[rX],Y,!0),tW(),Q=U.element,H.isDehydrated)if(H={element:Q,isDehydrated:!1,cache:U.cache},X.updateQueue.baseState=H,X.memoizedState=H,X.flags&256){X=Z1(Z,X,Q,Y);break Z}else if(Q!==G){G=OQ(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),X),iW(G),X=Z1(Z,X,Q,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=TQ(Z.firstChild),jY=X,QX=!0,CG=null,Xq=!1,jQ=null,nQ=!0,Y=O7(X,null,Q,Y);for(X.child=Y;Y;)Y.flags=Y.flags&-3|4096,Y=Y.sibling}else{if(CH(),Q===G){X=Rq(Z,X,Y);break Z}wY(Z,X,Q,Y)}X=X.child}return X;case 26:return aB(Z,X),Z===null?(Y=PI(X.type,null,X.pendingProps,null))?X.memoizedState=Y:QX||(Y=X.type,Z=X.pendingProps,Q=y(NG.current),Q=GL(Q).createElement(Y),Q[RY]=X,Q[uY]=Z,VY(Q,Y,Z),$Z(Q),X.stateNode=Q):X.memoizedState=PI(X.type,Z.memoizedProps,X.pendingProps,Z.memoizedState),null;case 27:return KZ(X),Z===null&&QX&&(Q=y(NG.current),G=p(),Q=X.stateNode=CI(X.type,X.pendingProps,Q,G,!1),Xq||(G=LI(Q,X.type,X.pendingProps,G),G!==null&&(jH(X,0).serverProps=G)),jY=X,nQ=!0,G=$X,FG(X.type)?(g9=G,$X=TQ(Q.firstChild)):$X=G),wY(Z,X,X.pendingProps.children,Y),aB(Z,X),Z===null&&(X.flags|=4194304),X.child;case 5:return Z===null&&QX&&(H=p(),Q=OF(X.type,H.ancestorInfo),G=$X,(U=!G)||(U=O$(G,X.type,X.pendingProps,nQ),U!==null?(X.stateNode=U,Xq||(H=LI(U,X.type,X.pendingProps,H),H!==null&&(jH(X,0).serverProps=H)),jY=X,$X=TQ(U.firstChild),nQ=!1,H=!0):H=!1,U=!H),U&&(Q&&TB(X,G),HG(X))),KZ(X),G=X.type,H=X.pendingProps,U=Z!==null?Z.memoizedProps:null,Q=H.children,X0(G,H)?Q=null:U!==null&&X0(G,U)&&(X.flags|=32),X.memoizedState!==null&&(G=iF(Z,X,IP,null,null,Y),UK._currentValue=G),aB(Z,X),wY(Z,X,Q,Y),X.child;case 6:return Z===null&&QX&&(Y=X.pendingProps,Z=p(),Q=Z.ancestorInfo.current,Y=Q!=null?UB(Y,Q.tag,Z.ancestorInfo.implicitRootScope):!0,Z=$X,(Q=!Z)||(Q=F$(Z,X.pendingProps,nQ),Q!==null?(X.stateNode=Q,jY=X,$X=null,Q=!0):Q=!1,Q=!Q),Q&&(Y&&TB(X,Z),HG(X))),null;case 13:return X1(Z,X,Y);case 4:return u(X,X.stateNode.containerInfo),Q=X.pendingProps,Z===null?X.child=lH(X,null,Q,Y):wY(Z,X,Q,Y),X.child;case 11:return iN(Z,X,X.type,X.pendingProps,Y);case 7:return wY(Z,X,X.pendingProps,Y),X.child;case 8:return wY(Z,X,X.pendingProps.children,Y),X.child;case 12:return X.flags|=4,X.flags|=2048,Q=X.stateNode,Q.effectDuration=-0,Q.passiveEffectDuration=-0,wY(Z,X,X.pendingProps.children,Y),X.child;case 10:return Q=X.type,G=X.pendingProps,H=G.value,"value"in G||d7||(d7=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),zG(X,Q,H),wY(Z,X,G.children,Y),X.child;case 9:return G=X.type._context,Q=X.pendingProps.children,typeof Q!=="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."),DH(X),G=kX(G),Q=Y9(Q,G,void 0),X.flags|=1,wY(Z,X,Q,Y),X.child;case 14:return nN(Z,X,X.type,X.pendingProps,Y);case 15:return sN(Z,X,X.type,X.pendingProps,Y);case 19:return Q1(Z,X,Y);case 31:return DP(Z,X,Y);case 22:return aN(Z,X,Y,X.pendingProps);case 24:return DH(X),Q=kX(rX),Z===null?(G=gF(),G===null&&(G=RX,H=vF(),G.pooledCache=H,PH(H),H!==null&&(G.pooledCacheLanes|=Y),G=H),X.memoizedState={parent:Q,cache:G},fF(X),zG(X,rX,G)):((Z.lanes&Y)!==0&&(uF(Z,X),eW(X,null,null,Y),tW()),G=Z.memoizedState,H=X.memoizedState,G.parent!==Q?(G={parent:Q,cache:Q},X.memoizedState=G,X.lanes===0&&(X.memoizedState=X.updateQueue.baseState=G),zG(X,rX,Q)):(Q=H.cache,zG(X,rX,Q),Q!==G.cache&&yF(X,[rX],Y,!0))),wY(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 jq(Z){Z.flags|=4}function EM(Z,X,Y,Q,G){if(X=(Z.mode&sS)!==vZ)X=!1;if(X){if(Z.flags|=16777216,(G&335544128)===G)if(Z.stateNode.complete)Z.flags|=8192;else if(h1())Z.flags|=8192;else throw pH=dL,J9}else Z.flags&=-16777217}function J1(Z,X){if(X.type!=="stylesheet"||(X.state.loading&tQ)!==Yz)Z.flags&=-16777217;else if(Z.flags|=16777216,!xI(X))if(h1())Z.flags|=8192;else throw pH=dL,J9}function rB(Z,X){X!==null&&(Z.flags|=4),Z.flags&16384&&(X=Z.tag!==22?uz():536870912,Z.lanes|=X,oH|=X)}function JU(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 Q=null;Y!==null;)Y.alternate!==null&&(Q=Y),Y=Y.sibling;Q===null?X||Z.tail===null?Z.tail=null:Z.tail.sibling=null:Q.sibling=null}}function CX(Z){var X=Z.alternate!==null&&Z.alternate.child===Z.child,Y=0,Q=0;if(X)if((Z.mode&iZ)!==vZ){for(var{selfBaseDuration:G,child:H}=Z;H!==null;)Y|=H.lanes|H.childLanes,Q|=H.subtreeFlags&65011712,Q|=H.flags&65011712,G+=H.treeBaseDuration,H=H.sibling;Z.treeBaseDuration=G}else for(G=Z.child;G!==null;)Y|=G.lanes|G.childLanes,Q|=G.subtreeFlags&65011712,Q|=G.flags&65011712,G.return=Z,G=G.sibling;else if((Z.mode&iZ)!==vZ){G=Z.actualDuration,H=Z.selfBaseDuration;for(var U=Z.child;U!==null;)Y|=U.lanes|U.childLanes,Q|=U.subtreeFlags,Q|=U.flags,G+=U.actualDuration,H+=U.treeBaseDuration,U=U.sibling;Z.actualDuration=G,Z.treeBaseDuration=H}else for(G=Z.child;G!==null;)Y|=G.lanes|G.childLanes,Q|=G.subtreeFlags,Q|=G.flags,G.return=Z,G=G.sibling;return Z.subtreeFlags|=Q,Z.childLanes=Y,X}function $P(Z,X,Y){var Q=X.pendingProps;switch(SF(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,Q=null,Z!==null&&(Q=Z.memoizedState.cache),X.memoizedState.cache!==Q&&(X.flags|=2048),wq(rX,X),c(X),Y.pendingContext&&(Y.context=Y.pendingContext,Y.pendingContext=null),Z===null||Z.child===null)iz(X)?(kF(),jq(X)):Z===null||Z.memoizedState.isDehydrated&&(X.flags&256)===0||(X.flags|=1024,EF());return CX(X),null;case 26:var{type:G,memoizedState:H}=X;return Z===null?(jq(X),H!==null?(CX(X),J1(X,H)):(CX(X),EM(X,G,null,Q,Y))):H?H!==Z.memoizedState?(jq(X),CX(X),J1(X,H)):(CX(X),X.flags&=-16777217):(Z=Z.memoizedProps,Z!==Q&&jq(X),CX(X),EM(X,G,Z,Q,Y)),null;case 27:if(s(X),Y=y(NG.current),G=X.type,Z!==null&&X.stateNode!=null)Z.memoizedProps!==Q&&jq(X);else{if(!Q){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=p(),iz(X)?i8(X,Z):(Z=CI(G,Q,Y,Z,!0),X.stateNode=Z,jq(X))}return CX(X),null;case 5:if(s(X),G=X.type,Z!==null&&X.stateNode!=null)Z.memoizedProps!==Q&&jq(X);else{if(!Q){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=p();if(iz(X))i8(X,U);else{switch(H=y(NG.current),OF(G,U.ancestorInfo),U=U.context,H=GL(H),U){case d_:H=H.createElementNS(K_,G);break;case LA:H=H.createElementNS(VL,G);break;default:switch(G){case"svg":H=H.createElementNS(K_,G);break;case"math":H=H.createElementNS(VL,G);break;case"script":H=H.createElement("div"),H.innerHTML="<script></script>",H=H.removeChild(H.firstChild);break;case"select":H=typeof Q.is==="string"?H.createElement("select",{is:Q.is}):H.createElement("select"),Q.multiple?H.multiple=!0:Q.size&&(H.size=Q.size);break;default:H=typeof Q.is==="string"?H.createElement(G,{is:Q.is}):H.createElement(G),G.indexOf("-")===-1&&(G!==G.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",G),Object.prototype.toString.call(H)!=="[object HTMLUnknownElement]"||BJ.call(KT,G)||(KT[G]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",G)))}}H[RY]=X,H[uY]=Q;Z:for(U=X.child;U!==null;){if(U.tag===5||U.tag===6)H.appendChild(U.stateNode);else if(U.tag!==4&&U.tag!==27&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===X)break Z;for(;U.sibling===null;){if(U.return===null||U.return===X)break Z;U=U.return}U.sibling.return=U.return,U=U.sibling}X.stateNode=H;Z:switch(VY(H,G,Q),G){case"button":case"input":case"select":case"textarea":Q=!!Q.autoFocus;break Z;case"img":Q=!0;break Z;default:Q=!1}Q&&jq(X)}}return CX(X),EM(X,X.type,Z===null?null:Z.memoizedProps,X.pendingProps,Y),null;case 6:if(Z&&X.stateNode!=null)Z.memoizedProps!==Q&&jq(X);else{if(typeof Q!=="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=y(NG.current),Y=p(),iz(X)){if(Z=X.stateNode,Y=X.memoizedProps,G=!Xq,Q=null,H=jY,H!==null)switch(H.tag){case 3:G&&(G=RI(Z,Y,Q),G!==null&&(jH(X,0).serverProps=G));break;case 27:case 5:Q=H.memoizedProps,G&&(G=RI(Z,Y,Q),G!==null&&(jH(X,0).serverProps=G))}Z[RY]=X,Z=Z.nodeValue===Y||Q!==null&&Q.suppressHydrationWarning===!0||_I(Z.nodeValue,Y)?!0:!1,Z||HG(X,!0)}else G=Y.ancestorInfo.current,G!=null&&UB(Q,G.tag,Y.ancestorInfo.implicitRootScope),Z=GL(Z).createTextNode(Q),Z[RY]=X,X.stateNode=Z}return CX(X),null;case 31:if(Y=X.memoizedState,Z===null||Z.memoizedState!==null){if(Q=iz(X),Y!==null){if(Z===null){if(!Q)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[RY]=X,CX(X),(X.mode&iZ)!==vZ&&Y!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration))}else kF(),CH(),(X.flags&128)===0&&(Y=X.memoizedState=null),X.flags|=4,CX(X),(X.mode&iZ)!==vZ&&Y!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else Y=EF(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=Y),Z=!0;if(!Z){if(X.flags&256)return NQ(X),X;return NQ(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(Q=X.memoizedState,Z===null||Z.memoizedState!==null&&Z.memoizedState.dehydrated!==null){if(G=Q,H=iz(X),G!==null&&G.dehydrated!==null){if(Z===null){if(!H)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(H=X.memoizedState,H=H!==null?H.dehydrated:null,!H)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");H[RY]=X,CX(X),(X.mode&iZ)!==vZ&&G!==null&&(G=X.child,G!==null&&(X.treeBaseDuration-=G.treeBaseDuration))}else kF(),CH(),(X.flags&128)===0&&(G=X.memoizedState=null),X.flags|=4,CX(X),(X.mode&iZ)!==vZ&&G!==null&&(G=X.child,G!==null&&(X.treeBaseDuration-=G.treeBaseDuration));G=!1}else G=EF(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=G),G=!0;if(!G){if(X.flags&256)return NQ(X),X;return NQ(X),null}}if(NQ(X),(X.flags&128)!==0)return X.lanes=Y,(X.mode&iZ)!==vZ&&aW(X),X;return Y=Q!==null,Z=Z!==null&&Z.memoizedState!==null,Y&&(Q=X.child,G=null,Q.alternate!==null&&Q.alternate.memoizedState!==null&&Q.alternate.memoizedState.cachePool!==null&&(G=Q.alternate.memoizedState.cachePool.pool),H=null,Q.memoizedState!==null&&Q.memoizedState.cachePool!==null&&(H=Q.memoizedState.cachePool.pool),H!==G&&(Q.flags|=2048)),Y!==Z&&Y&&(X.child.flags|=8192),rB(X,X.updateQueue),CX(X),(X.mode&iZ)!==vZ&&Y&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration)),null;case 4:return c(X),Z===null&&sM(X.stateNode.containerInfo),CX(X),null;case 10:return wq(X.type,X),CX(X),null;case 19:if(WZ(nX,X),Q=X.memoizedState,Q===null)return CX(X),null;if(G=(X.flags&128)!==0,H=Q.rendering,H===null)if(G)JU(Q,!1);else{if(bX!==fq||Z!==null&&(Z.flags&128)!==0)for(Z=X.child;Z!==null;){if(H=yB(Z),H!==null){X.flags|=128,JU(Q,!1),Z=H.updateQueue,X.updateQueue=Z,rB(X,Z),X.subtreeFlags=0,Z=Y;for(Y=X.child;Y!==null;)f8(Y,Z),Y=Y.sibling;return zZ(nX,nX.current&S_|nU,X),QX&&Tq(X,Q.treeForkCount),X.child}Z=Z.sibling}Q.tail!==null&&KY()>XA&&(X.flags|=128,G=!0,JU(Q,!1),X.lanes=4194304)}else{if(!G)if(Z=yB(H),Z!==null){if(X.flags|=128,G=!0,Z=Z.updateQueue,X.updateQueue=Z,rB(X,Z),JU(Q,!0),Q.tail===null&&Q.tailMode==="hidden"&&!H.alternate&&!QX)return CX(X),null}else 2*KY()-Q.renderingStartTime>XA&&Y!==536870912&&(X.flags|=128,G=!0,JU(Q,!1),X.lanes=4194304);Q.isBackwards?(H.sibling=X.child,X.child=H):(Z=Q.last,Z!==null?Z.sibling=H:X.child=H,Q.last=H)}if(Q.tail!==null)return Z=Q.tail,Q.rendering=Z,Q.tail=Z.sibling,Q.renderingStartTime=KY(),Z.sibling=null,Y=nX.current,Y=G?Y&S_|nU:Y&S_,zZ(nX,Y,X),QX&&Tq(X,Q.treeForkCount),Z;return CX(X),null;case 22:case 23:return NQ(X),cF(X),Q=X.memoizedState!==null,Z!==null?Z.memoizedState!==null!==Q&&(X.flags|=8192):Q&&(X.flags|=8192),Q?(Y&536870912)!==0&&(X.flags&128)===0&&(CX(X),X.subtreeFlags&6&&(X.flags|=8192)):CX(X),Y=X.updateQueue,Y!==null&&rB(X,Y.retryQueue),Y=null,Z!==null&&Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(Y=Z.memoizedState.cachePool.pool),Q=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(Q=X.memoizedState.cachePool.pool),Q!==Y&&(X.flags|=2048),Z!==null&&WZ(dH,X),null;case 24:return Y=null,Z!==null&&(Y=Z.memoizedState.cache),X.memoizedState.cache!==Y&&(X.flags|=2048),wq(rX,X),CX(X),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function SP(Z,X){switch(SF(X),X.tag){case 1:return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==vZ&&aW(X),X):null;case 3:return wq(rX,X),c(X),Z=X.flags,(Z&65536)!==0&&(Z&128)===0?(X.flags=Z&-65537|128,X):null;case 26:case 27:case 5:return s(X),null;case 31:if(X.memoizedState!==null){if(NQ(X),X.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");CH()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==vZ&&aW(X),X):null;case 13:if(NQ(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.");CH()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==vZ&&aW(X),X):null;case 19:return WZ(nX,X),null;case 4:return c(X),null;case 10:return wq(X.type,X),null;case 22:case 23:return NQ(X),cF(X),Z!==null&&WZ(dH,X),Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&iZ)!==vZ&&aW(X),X):null;case 24:return wq(rX,X),null;case 25:return null;default:return null}}function q1(Z,X){switch(SF(X),X.tag){case 3:wq(rX,X),c(X);break;case 26:case 27:case 5:s(X);break;case 4:c(X);break;case 31:X.memoizedState!==null&&NQ(X);break;case 13:NQ(X);break;case 19:WZ(nX,X);break;case 10:wq(X.type,X);break;case 22:case 23:NQ(X),cF(X),Z!==null&&WZ(dH,X);break;case 24:wq(rX,X)}}function dJ(Z){return(Z.mode&iZ)!==vZ}function G1(Z,X){dJ(Z)?(uJ(),qU(X,Z),fJ()):qU(X,Z)}function kM(Z,X,Y){dJ(Z)?(uJ(),tz(Y,Z,X),fJ()):tz(Y,Z,X)}function qU(Z,X){try{var Y=X.updateQueue,Q=Y!==null?Y.lastEffect:null;if(Q!==null){var G=Q.next;Y=G;do{if((Y.tag&Z)===Z&&(Q=void 0,(Z&lY)!==pL&&(m_=!0),Q=_Z(X,eS,Y),(Z&lY)!==pL&&(m_=!1),Q!==void 0&&typeof Q!=="function")){var H=void 0;H=(Y.tag&DQ)!==0?"useLayoutEffect":(Y.tag&lY)!==0?"useInsertionEffect":"useEffect";var U=void 0;U=Q===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof Q.then==="function"?`
|
|
146
|
+
|
|
147
|
+
It looks like you wrote `+H+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
148
|
+
|
|
149
|
+
`+H+`(() => {
|
|
150
|
+
async function fetchData() {
|
|
151
|
+
// You can await here
|
|
152
|
+
const response = await MyAPI.getData(someId);
|
|
153
|
+
// ...
|
|
154
|
+
}
|
|
155
|
+
fetchData();
|
|
156
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
157
|
+
|
|
158
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+Q,_Z(X,function(B,O){console.error("%s must not return anything besides a function, which is used for clean-up.%s",B,O)},H,U)}Y=Y.next}while(Y!==G)}}catch(B){AX(X,X.return,B)}}function tz(Z,X,Y){try{var Q=X.updateQueue,G=Q!==null?Q.lastEffect:null;if(G!==null){var H=G.next;Q=H;do{if((Q.tag&Z)===Z){var U=Q.inst,B=U.destroy;B!==void 0&&(U.destroy=void 0,(Z&lY)!==pL&&(m_=!0),G=X,_Z(G,ZE,G,Y,B),(Z&lY)!==pL&&(m_=!1))}Q=Q.next}while(Q!==H)}}catch(O){AX(X,X.return,O)}}function H1(Z,X){dJ(Z)?(uJ(),qU(X,Z),fJ()):qU(X,Z)}function xM(Z,X,Y){dJ(Z)?(uJ(),tz(Y,Z,X),fJ()):tz(Y,Z,X)}function z1(Z){var X=Z.updateQueue;if(X!==null){var Y=Z.stateNode;Z.type.defaultProps||"ref"in Z.memoizedProps||y_||(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.",a(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.",a(Z)||"instance"));try{_Z(Z,WN,X,Y)}catch(Q){AX(Z,Z.return,Q)}}}function EP(Z,X,Y){return Z.getSnapshotBeforeUpdate(X,Y)}function kP(Z,X){var{memoizedProps:Y,memoizedState:Q}=X;X=Z.stateNode,Z.type.defaultProps||"ref"in Z.memoizedProps||y_||(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.",a(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.",a(Z)||"instance"));try{var G=kH(Z.type,Y),H=_Z(Z,EP,X,G,Q);Y=c7,H!==void 0||Y.has(Z.type)||(Y.add(Z.type),_Z(Z,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",a(Z))})),X.__reactInternalSnapshotBeforeUpdate=H}catch(U){AX(Z,Z.return,U)}}function _1(Z,X,Y){Y.props=kH(Z.type,Z.memoizedProps),Y.state=Z.memoizedState,dJ(Z)?(uJ(),_Z(Z,z7,Z,X,Y),fJ()):_Z(Z,z7,Z,X,Y)}function xP(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(dJ(Z))try{uJ(),Z.refCleanup=X(Y)}finally{fJ()}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().",a(Z)),X.current=Y}}function GU(Z,X){try{_Z(Z,xP,Z)}catch(Y){AX(Z,X,Y)}}function cJ(Z,X){var{ref:Y,refCleanup:Q}=Z;if(Y!==null)if(typeof Q==="function")try{if(dJ(Z))try{uJ(),_Z(Z,Q)}finally{fJ(Z)}else _Z(Z,Q)}catch(G){AX(Z,X,G)}finally{Z.refCleanup=null,Z=Z.alternate,Z!=null&&(Z.refCleanup=null)}else if(typeof Y==="function")try{if(dJ(Z))try{uJ(),_Z(Z,Y,null)}finally{fJ(Z)}else _Z(Z,Y,null)}catch(G){AX(Z,X,G)}else Y.current=null}function W1(Z,X,Y,Q){var G=Z.memoizedProps,H=G.id,U=G.onCommit;G=G.onRender,X=X===null?"mount":"update",gL&&(X="nested-update"),typeof G==="function"&&G(H,X,Z.actualDuration,Z.treeBaseDuration,Z.actualStartTime,Y),typeof U==="function"&&U(H,X,Q,Y)}function yP(Z,X,Y,Q){var G=Z.memoizedProps;Z=G.id,G=G.onPostCommit,X=X===null?"mount":"update",gL&&(X="nested-update"),typeof G==="function"&&G(Z,X,Q,Y)}function U1(Z){var{type:X,memoizedProps:Y,stateNode:Q}=Z;try{_Z(Z,J$,Q,X,Y,Z)}catch(G){AX(Z,Z.return,G)}}function yM(Z,X,Y){try{_Z(Z,G$,Z.stateNode,Z.type,Y,X,Z)}catch(Q){AX(Z,Z.return,Q)}}function K1(Z){return Z.tag===5||Z.tag===3||Z.tag===26||Z.tag===27&&FG(Z.type)||Z.tag===4}function vM(Z){Z:for(;;){for(;Z.sibling===null;){if(Z.return===null||K1(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&&FG(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 hM(Z,X,Y){var Q=Z.tag;if(Q===5||Q===6)Z=Z.stateNode,X?(NI(Y),(Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y).insertBefore(Z,X)):(NI(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=Nq));else if(Q!==4&&(Q===27&&FG(Z.type)&&(Y=Z.stateNode,X=null),Z=Z.child,Z!==null))for(hM(Z,X,Y),Z=Z.sibling;Z!==null;)hM(Z,X,Y),Z=Z.sibling}function tB(Z,X,Y){var Q=Z.tag;if(Q===5||Q===6)Z=Z.stateNode,X?Y.insertBefore(Z,X):Y.appendChild(Z);else if(Q!==4&&(Q===27&&FG(Z.type)&&(Y=Z.stateNode),Z=Z.child,Z!==null))for(tB(Z,X,Y),Z=Z.sibling;Z!==null;)tB(Z,X,Y),Z=Z.sibling}function vP(Z){for(var X,Y=Z.return;Y!==null;){if(K1(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=vM(Z),tB(Z,Y,X);break;case 5:Y=X.stateNode,X.flags&32&&(MI(Y),X.flags&=-33),X=vM(Z),tB(Z,X,Y);break;case 3:case 4:X=X.stateNode.containerInfo,Y=vM(Z),hM(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 B1(Z){var{stateNode:X,memoizedProps:Y}=Z;try{_Z(Z,w$,Z.type,Y,X,Z)}catch(Q){AX(Z,Z.return,Q)}}function L1(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 hP(Z,X){if(Z=Z.containerInfo,v9=MA,Z=S8(Z),NF(Z)){if("selectionStart"in Z)var Y={start:Z.selectionStart,end:Z.selectionEnd};else Z:{Y=(Y=Z.ownerDocument)&&Y.defaultView||window;var Q=Y.getSelection&&Y.getSelection();if(Q&&Q.rangeCount!==0){Y=Q.anchorNode;var{anchorOffset:G,focusNode:H}=Q;Q=Q.focusOffset;try{Y.nodeType,H.nodeType}catch(YZ){Y=null;break Z}var U=0,B=-1,O=-1,I=0,k=0,x=Z,$=null;X:for(;;){for(var d;;){if(x!==Y||G!==0&&x.nodeType!==3||(B=U+G),x!==H||Q!==0&&x.nodeType!==3||(O=U+Q),x.nodeType===3&&(U+=x.nodeValue.length),(d=x.firstChild)===null)break;$=x,x=d}for(;;){if(x===Z)break X;if($===Y&&++I===G&&(B=U),$===H&&++k===Q&&(O=U),(d=x.nextSibling)!==null)break;x=$,$=x.parentNode}x=d}Y=B===-1||O===-1?null:{start:B,end:O}}else Y=null}Y=Y||{start:0,end:0}}else Y=null;h9={focusedElem:Z,selectionRange:Y},MA=!1;for(LY=X;LY!==null;)if(X=LY,Z=X.child,(X.subtreeFlags&1028)!==0&&Z!==null)Z.return=X,LY=Z;else for(;LY!==null;){switch(Z=X=LY,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&&kP(Z,Y);break;case 3:if((G&1024)!==0){if(Z=Z.stateNode.containerInfo,Y=Z.nodeType,Y===9)Y0(Z);else if(Y===1)switch(Z.nodeName){case"HEAD":case"HTML":case"BODY":Y0(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,LY=Z;break}LY=X.return}}function A1(Z,X,Y){var Q=FQ(),G=hJ(),H=gJ(),U=mJ(),B=Y.flags;switch(Y.tag){case 0:case 11:case 15:pJ(Z,Y),B&4&&G1(Y,DQ|oQ);break;case 1:if(pJ(Z,Y),B&4)if(Z=Y.stateNode,X===null)Y.type.defaultProps||"ref"in Y.memoizedProps||y_||(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.",a(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.",a(Y)||"instance")),dJ(Y)?(uJ(),_Z(Y,Q9,Y,Z),fJ()):_Z(Y,Q9,Y,Z);else{var O=kH(Y.type,X.memoizedProps);X=X.memoizedState,Y.type.defaultProps||"ref"in Y.memoizedProps||y_||(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.",a(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.",a(Y)||"instance")),dJ(Y)?(uJ(),_Z(Y,q7,Y,Z,O,X,Z.__reactInternalSnapshotBeforeUpdate),fJ()):_Z(Y,q7,Y,Z,O,X,Z.__reactInternalSnapshotBeforeUpdate)}B&64&&z1(Y),B&512&&GU(Y,Y.return);break;case 3:if(X=Vq(),pJ(Z,Y),B&64&&(B=Y.updateQueue,B!==null)){if(O=null,Y.child!==null)switch(Y.child.tag){case 27:case 5:O=Y.child.stateNode;break;case 1:O=Y.child.stateNode}try{_Z(Y,WN,B,O)}catch(k){AX(Y,Y.return,k)}}Z.effectDuration+=jB(X);break;case 27:X===null&&B&4&&B1(Y);case 26:case 5:if(pJ(Z,Y),X===null){if(B&4)U1(Y);else if(B&64){Z=Y.type,X=Y.memoizedProps,O=Y.stateNode;try{_Z(Y,q$,O,Z,X,Y)}catch(k){AX(Y,Y.return,k)}}}B&512&&GU(Y,Y.return);break;case 12:if(B&4){B=Vq(),pJ(Z,Y),Z=Y.stateNode,Z.effectDuration+=sW(B);try{_Z(Y,W1,Y,X,DG,Z.effectDuration)}catch(k){AX(Y,Y.return,k)}}else pJ(Z,Y);break;case 31:pJ(Z,Y),B&4&&M1(Z,Y);break;case 13:pJ(Z,Y),B&4&&N1(Z,Y),B&64&&(Z=Y.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null&&(B=lP.bind(null,Y),M$(Z,B))));break;case 22:if(B=Y.memoizedState!==null||mq,!B){X=X!==null&&X.memoizedState!==null||XY,O=mq;var I=XY;mq=B,(XY=X)&&!I?(lJ(Z,Y,(Y.subtreeFlags&8772)!==0),(Y.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&0.05<xZ-SZ&&AB(Y,SZ,xZ)):pJ(Z,Y),mq=O,XY=I}break;case 30:break;default:pJ(Z,Y)}(Y.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&((mX||0.05<hX)&&yJ(Y,SZ,xZ,hX,xX),Y.alternate===null&&Y.return!==null&&Y.return.alternate!==null&&0.05<xZ-SZ&&(L1(Y.return.alternate,Y.return)||xJ(Y,SZ,xZ,"Mount"))),MQ(Q),bJ(G),xX=H,mX=U}function O1(Z){var X=Z.alternate;X!==null&&(Z.alternate=null,O1(X)),Z.child=null,Z.deletions=null,Z.sibling=null,Z.tag===5&&(X=Z.stateNode,X!==null&&GZ(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 Cq(Z,X,Y){for(Y=Y.child;Y!==null;)F1(Z,X,Y),Y=Y.sibling}function F1(Z,X,Y){if(bY&&typeof bY.onCommitFiberUnmount==="function")try{bY.onCommitFiberUnmount(W_,Y)}catch(I){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",I))}var Q=FQ(),G=hJ(),H=gJ(),U=mJ();switch(Y.tag){case 26:XY||cJ(Y,X),Cq(Z,X,Y),Y.memoizedState?Y.memoizedState.count--:Y.stateNode&&(Z=Y.stateNode,Z.parentNode.removeChild(Z));break;case 27:XY||cJ(Y,X);var B=YY,O=ZQ;FG(Y.type)&&(YY=Y.stateNode,ZQ=!1),Cq(Z,X,Y),_Z(Y,AU,Y.stateNode),YY=B,ZQ=O;break;case 5:XY||cJ(Y,X);case 6:if(B=YY,O=ZQ,YY=null,Cq(Z,X,Y),YY=B,ZQ=O,YY!==null)if(ZQ)try{_Z(Y,_$,YY,Y.stateNode)}catch(I){AX(Y,X,I)}else try{_Z(Y,z$,YY,Y.stateNode)}catch(I){AX(Y,X,I)}break;case 18:YY!==null&&(ZQ?(Z=YY,II(Z.nodeType===9?Z.body:Z.nodeName==="HTML"?Z.ownerDocument.body:Z,Y.stateNode),G_(Z)):II(YY,Y.stateNode));break;case 4:B=YY,O=ZQ,YY=Y.stateNode.containerInfo,ZQ=!0,Cq(Z,X,Y),YY=B,ZQ=O;break;case 0:case 11:case 14:case 15:tz(lY,Y,X),XY||kM(Y,X,DQ),Cq(Z,X,Y);break;case 1:XY||(cJ(Y,X),B=Y.stateNode,typeof B.componentWillUnmount==="function"&&_1(Y,X,B)),Cq(Z,X,Y);break;case 21:Cq(Z,X,Y);break;case 22:XY=(B=XY)||Y.memoizedState!==null,Cq(Z,X,Y),XY=B;break;default:Cq(Z,X,Y)}(Y.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Y,SZ,xZ,hX,xX),MQ(Q),bJ(G),xX=H,mX=U}function M1(Z,X){if(X.memoizedState===null&&(Z=X.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null))){Z=Z.dehydrated;try{_Z(X,I$,Z)}catch(Y){AX(X,X.return,Y)}}}function N1(Z,X){if(X.memoizedState===null&&(Z=X.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null))))try{_Z(X,T$,Z)}catch(Y){AX(X,X.return,Y)}}function bP(Z){switch(Z.tag){case 31:case 13:case 19:var X=Z.stateNode;return X===null&&(X=Z.stateNode=new p7),X;case 22:return Z=Z.stateNode,X=Z._retryCache,X===null&&(X=Z._retryCache=new p7),X;default:throw Error("Unexpected Suspense handler tag ("+Z.tag+"). This is a bug in React.")}}function eB(Z,X){var Y=bP(Z);X.forEach(function(Q){if(!Y.has(Q)){if(Y.add(Q),tJ)if(v_!==null&&h_!==null)WU(h_,v_);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var G=iP.bind(null,Z,Q);Q.then(G,G)}})}function tY(Z,X){var Y=X.deletions;if(Y!==null)for(var Q=0;Q<Y.length;Q++){var G=Z,H=X,U=Y[Q],B=FQ(),O=H;Z:for(;O!==null;){switch(O.tag){case 27:if(FG(O.type)){YY=O.stateNode,ZQ=!1;break Z}break;case 5:YY=O.stateNode,ZQ=!1;break Z;case 3:case 4:YY=O.stateNode.containerInfo,ZQ=!0;break Z}O=O.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.");F1(G,H,U),YY=null,ZQ=!1,(U.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&0.05<xZ-SZ&&xJ(U,SZ,xZ,"Unmount"),MQ(B),G=U,H=G.alternate,H!==null&&(H.return=null),G.return=null}if(X.subtreeFlags&13886)for(X=X.child;X!==null;)I1(X,Z),X=X.sibling}function I1(Z,X){var Y=FQ(),Q=hJ(),G=gJ(),H=mJ(),U=Z.alternate,B=Z.flags;switch(Z.tag){case 0:case 11:case 14:case 15:tY(X,Z),eY(Z),B&4&&(tz(lY|oQ,Z,Z.return),qU(lY|oQ,Z),kM(Z,Z.return,DQ|oQ));break;case 1:if(tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),B&64&&mq&&(B=Z.updateQueue,B!==null&&(U=B.callbacks,U!==null))){var O=B.shared.hiddenCallbacks;B.shared.hiddenCallbacks=O===null?U:O.concat(U)}break;case 26:if(O=MJ,tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),B&4){var I=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,O=O.ownerDocument||O;X:switch(B){case"title":if(I=O.getElementsByTagName("title")[0],!I||I[wU]||I[RY]||I.namespaceURI===K_||I.hasAttribute("itemprop"))I=O.createElement(B),O.head.insertBefore(I,O.querySelector("head > title"));VY(I,B,U),I[RY]=Z,$Z(I),B=I;break Z;case"link":var k=EI("link","href",O).get(B+(U.href||""));if(k){for(var x=0;x<k.length;x++)if(I=k[x],I.getAttribute("href")===(U.href==null||U.href===""?null:U.href)&&I.getAttribute("rel")===(U.rel==null?null:U.rel)&&I.getAttribute("title")===(U.title==null?null:U.title)&&I.getAttribute("crossorigin")===(U.crossOrigin==null?null:U.crossOrigin)){k.splice(x,1);break X}}I=O.createElement(B),VY(I,B,U),O.head.appendChild(I);break;case"meta":if(k=EI("meta","content",O).get(B+(U.content||""))){for(x=0;x<k.length;x++)if(I=k[x],CZ(U.content,"content"),I.getAttribute("content")===(U.content==null?null:""+U.content)&&I.getAttribute("name")===(U.name==null?null:U.name)&&I.getAttribute("property")===(U.property==null?null:U.property)&&I.getAttribute("http-equiv")===(U.httpEquiv==null?null:U.httpEquiv)&&I.getAttribute("charset")===(U.charSet==null?null:U.charSet)){k.splice(x,1);break X}}I=O.createElement(B),VY(I,B,U),O.head.appendChild(I);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+B+'". This is a bug in React.')}I[RY]=Z,$Z(I),B=I}Z.stateNode=B}else kI(O,Z.type,Z.stateNode);else Z.stateNode=SI(O,B,Z.memoizedProps);else I!==B?(I===null?U.stateNode!==null&&(U=U.stateNode,U.parentNode.removeChild(U)):I.count--,B===null?kI(O,Z.type,Z.stateNode):SI(O,B,Z.memoizedProps)):B===null&&Z.stateNode!==null&&yM(Z,Z.memoizedProps,U.memoizedProps)}break;case 27:tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),U!==null&&B&4&&yM(Z,Z.memoizedProps,U.memoizedProps);break;case 5:if(tY(X,Z),eY(Z),B&512&&(XY||U===null||cJ(U,U.return)),Z.flags&32){O=Z.stateNode;try{_Z(Z,MI,O)}catch(BZ){AX(Z,Z.return,BZ)}}B&4&&Z.stateNode!=null&&(O=Z.memoizedProps,yM(Z,O,U!==null?U.memoizedProps:O)),B&1024&&(O9=!0,Z.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(tY(X,Z),eY(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,O=Z.stateNode;try{_Z(Z,H$,O,U,B)}catch(BZ){AX(Z,Z.return,BZ)}}break;case 3:if(O=Vq(),AA=null,I=MJ,MJ=HL(X.containerInfo),tY(X,Z),MJ=I,eY(Z),B&4&&U!==null&&U.memoizedState.isDehydrated)try{_Z(Z,N$,X.containerInfo)}catch(BZ){AX(Z,Z.return,BZ)}O9&&(O9=!1,T1(Z)),X.effectDuration+=jB(O);break;case 4:B=MJ,MJ=HL(Z.stateNode.containerInfo),tY(X,Z),eY(Z),MJ=B;break;case 12:B=Vq(),tY(X,Z),eY(Z),Z.stateNode.effectDuration+=sW(B);break;case 31:tY(X,Z),eY(Z),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,eB(Z,B)));break;case 13:tY(X,Z),eY(Z),Z.child.flags&8192&&Z.memoizedState!==null!==(U!==null&&U.memoizedState!==null)&&(ZA=KY()),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,eB(Z,B)));break;case 22:O=Z.memoizedState!==null;var $=U!==null&&U.memoizedState!==null,d=mq,YZ=XY;if(mq=d||O,XY=YZ||$,tY(X,Z),XY=YZ,mq=d,$&&!O&&!d&&!YZ&&(Z.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&0.05<xZ-SZ&&AB(Z,SZ,xZ),eY(Z),B&8192)Z:for(X=Z.stateNode,X._visibility=O?X._visibility&~EU:X._visibility|EU,!O||U===null||$||mq||XY||(xH(Z),(Z.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&0.05<xZ-SZ&&xJ(Z,SZ,xZ,"Disconnect")),U=null,X=Z;;){if(X.tag===5||X.tag===26){if(U===null){$=U=X;try{I=$.stateNode,O?_Z($,U$,I):_Z($,L$,$.stateNode,$.memoizedProps)}catch(BZ){AX($,$.return,BZ)}}}else if(X.tag===6){if(U===null){$=X;try{k=$.stateNode,O?_Z($,K$,k):_Z($,A$,k,$.memoizedProps)}catch(BZ){AX($,$.return,BZ)}}}else if(X.tag===18){if(U===null){$=X;try{x=$.stateNode,O?_Z($,W$,x):_Z($,B$,$.stateNode)}catch(BZ){AX($,$.return,BZ)}}}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,eB(Z,U))));break;case 19:tY(X,Z),eY(Z),B&4&&(B=Z.updateQueue,B!==null&&(Z.updateQueue=null,eB(Z,B)));break;case 30:break;case 21:break;default:tY(X,Z),eY(Z)}(Z.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&((mX||0.05<hX)&&yJ(Z,SZ,xZ,hX,xX),Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null&&0.05<xZ-SZ&&(L1(Z.return.alternate,Z.return)||xJ(Z,SZ,xZ,"Mount"))),MQ(Y),bJ(Q),xX=G,mX=H}function eY(Z){var X=Z.flags;if(X&2){try{_Z(Z,vP,Z)}catch(Y){AX(Z,Z.return,Y)}Z.flags&=-3}X&4096&&(Z.flags&=-4097)}function T1(Z){if(Z.subtreeFlags&1024)for(Z=Z.child;Z!==null;){var X=Z;T1(X),X.tag===5&&X.flags&1024&&X.stateNode.reset(),Z=Z.sibling}}function pJ(Z,X){if(X.subtreeFlags&8772)for(X=X.child;X!==null;)A1(Z,X.alternate,X),X=X.sibling}function w1(Z){var X=FQ(),Y=hJ(),Q=gJ(),G=mJ();switch(Z.tag){case 0:case 11:case 14:case 15:kM(Z,Z.return,DQ),xH(Z);break;case 1:cJ(Z,Z.return);var H=Z.stateNode;typeof H.componentWillUnmount==="function"&&_1(Z,Z.return,H),xH(Z);break;case 27:_Z(Z,AU,Z.stateNode);case 26:case 5:cJ(Z,Z.return),xH(Z);break;case 22:Z.memoizedState===null&&xH(Z);break;case 30:xH(Z);break;default:xH(Z)}(Z.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Z,SZ,xZ,hX,xX),MQ(X),bJ(Y),xX=Q,mX=G}function xH(Z){for(Z=Z.child;Z!==null;)w1(Z),Z=Z.sibling}function V1(Z,X,Y,Q){var G=FQ(),H=hJ(),U=gJ(),B=mJ(),O=Y.flags;switch(Y.tag){case 0:case 11:case 15:lJ(Z,Y,Q),G1(Y,DQ);break;case 1:if(lJ(Z,Y,Q),X=Y.stateNode,typeof X.componentDidMount==="function"&&_Z(Y,Q9,Y,X),X=Y.updateQueue,X!==null){Z=Y.stateNode;try{_Z(Y,NP,X,Z)}catch(I){AX(Y,Y.return,I)}}Q&&O&64&&z1(Y),GU(Y,Y.return);break;case 27:B1(Y);case 26:case 5:lJ(Z,Y,Q),Q&&X===null&&O&4&&U1(Y),GU(Y,Y.return);break;case 12:if(Q&&O&4){O=Vq(),lJ(Z,Y,Q),Q=Y.stateNode,Q.effectDuration+=sW(O);try{_Z(Y,W1,Y,X,DG,Q.effectDuration)}catch(I){AX(Y,Y.return,I)}}else lJ(Z,Y,Q);break;case 31:lJ(Z,Y,Q),Q&&O&4&&M1(Z,Y);break;case 13:lJ(Z,Y,Q),Q&&O&4&&N1(Z,Y);break;case 22:Y.memoizedState===null&&lJ(Z,Y,Q),GU(Y,Y.return);break;case 30:break;default:lJ(Z,Y,Q)}(Y.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Y,SZ,xZ,hX,xX),MQ(G),bJ(H),xX=U,mX=B}function lJ(Z,X,Y){Y=Y&&(X.subtreeFlags&8772)!==0;for(X=X.child;X!==null;)V1(Z,X.alternate,X,Y),X=X.sibling}function bM(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&&PH(Z),Y!=null&&nW(Y))}function gM(Z,X){Z=null,X.alternate!==null&&(Z=X.alternate.memoizedState.cache),X=X.memoizedState.cache,X!==Z&&(PH(X),Z!=null&&nW(Z))}function KJ(Z,X,Y,Q,G){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(X=X.child;X!==null;){var H=X.sibling;R1(Z,X,Y,Q,H!==null?H.actualStartTime:G),X=H}}function R1(Z,X,Y,Q,G){var H=FQ(),U=hJ(),B=gJ(),O=mJ(),I=VG,k=X.flags;switch(X.tag){case 0:case 11:case 15:(X.mode&iZ)!==vZ&&0<X.actualStartTime&&(X.flags&1)!==0&&OB(X,X.actualStartTime,G,zY,Y),KJ(Z,X,Y,Q,G),k&2048&&H1(X,iY|oQ);break;case 1:(X.mode&iZ)!==vZ&&0<X.actualStartTime&&((X.flags&128)!==0?TF(X,X.actualStartTime,G,[]):(X.flags&1)!==0&&OB(X,X.actualStartTime,G,zY,Y)),KJ(Z,X,Y,Q,G);break;case 3:var x=Vq(),$=zY;zY=X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)===0,KJ(Z,X,Y,Q,G),zY=$,k&2048&&(Y=null,X.alternate!==null&&(Y=X.alternate.memoizedState.cache),Q=X.memoizedState.cache,Q!==Y&&(PH(Q),Y!=null&&nW(Y))),Z.passiveEffectDuration+=jB(x);break;case 12:if(k&2048){k=Vq(),KJ(Z,X,Y,Q,G),Z=X.stateNode,Z.passiveEffectDuration+=sW(k);try{_Z(X,yP,X,X.alternate,DG,Z.passiveEffectDuration)}catch(d){AX(X,X.return,d)}}else KJ(Z,X,Y,Q,G);break;case 31:k=zY,x=X.alternate!==null?X.alternate.memoizedState:null,$=X.memoizedState,x!==null&&$===null?($=X.deletions,$!==null&&0<$.length&&$[0].tag===18?(zY=!1,x=x.hydrationErrors,x!==null&&TF(X,X.actualStartTime,G,x)):zY=!0):zY=!1,KJ(Z,X,Y,Q,G),zY=k;break;case 13:k=zY,x=X.alternate!==null?X.alternate.memoizedState:null,$=X.memoizedState,x===null||x.dehydrated===null||$!==null&&$.dehydrated!==null?zY=!1:($=X.deletions,$!==null&&0<$.length&&$[0].tag===18?(zY=!1,x=x.hydrationErrors,x!==null&&TF(X,X.actualStartTime,G,x)):zY=!0),KJ(Z,X,Y,Q,G),zY=k;break;case 23:break;case 22:$=X.stateNode,x=X.alternate,X.memoizedState!==null?$._visibility&$q?KJ(Z,X,Y,Q,G):HU(Z,X,Y,Q,G):$._visibility&$q?KJ(Z,X,Y,Q,G):($._visibility|=$q,ez(Z,X,Y,Q,(X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child),G),(X.mode&iZ)===vZ||zY||(Z=X.actualStartTime,0<=Z&&0.05<G-Z&&AB(X,Z,G),0<=SZ&&0<=xZ&&0.05<xZ-SZ&&AB(X,SZ,xZ))),k&2048&&bM(x,X);break;case 24:KJ(Z,X,Y,Q,G),k&2048&&gM(X.alternate,X);break;default:KJ(Z,X,Y,Q,G)}if((X.mode&iZ)!==vZ){if(Z=!zY&&X.alternate===null&&X.return!==null&&X.return.alternate!==null)Y=X.actualStartTime,0<=Y&&0.05<G-Y&&xJ(X,Y,G,"Mount");0<=SZ&&0<=xZ&&((mX||0.05<hX)&&yJ(X,SZ,xZ,hX,xX),Z&&0.05<xZ-SZ&&xJ(X,SZ,xZ,"Mount"))}MQ(H),bJ(U),xX=B,mX=O,VG=I}function ez(Z,X,Y,Q,G,H){G=G&&((X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child));for(X=X.child;X!==null;){var U=X.sibling;j1(Z,X,Y,Q,G,U!==null?U.actualStartTime:H),X=U}}function j1(Z,X,Y,Q,G,H){var U=FQ(),B=hJ(),O=gJ(),I=mJ(),k=VG;G&&(X.mode&iZ)!==vZ&&0<X.actualStartTime&&(X.flags&1)!==0&&OB(X,X.actualStartTime,H,zY,Y);var x=X.flags;switch(X.tag){case 0:case 11:case 15:ez(Z,X,Y,Q,G,H),H1(X,iY);break;case 23:break;case 22:var $=X.stateNode;X.memoizedState!==null?$._visibility&$q?ez(Z,X,Y,Q,G,H):HU(Z,X,Y,Q,H):($._visibility|=$q,ez(Z,X,Y,Q,G,H)),G&&x&2048&&bM(X.alternate,X);break;case 24:ez(Z,X,Y,Q,G,H),G&&x&2048&&gM(X.alternate,X);break;default:ez(Z,X,Y,Q,G,H)}(X.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&(mX||0.05<hX)&&yJ(X,SZ,xZ,hX,xX),MQ(U),bJ(B),xX=O,mX=I,VG=k}function HU(Z,X,Y,Q,G){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(var H=X.child;H!==null;){X=H.sibling;var U=Z,B=Y,O=Q,I=X!==null?X.actualStartTime:G,k=VG;(H.mode&iZ)!==vZ&&0<H.actualStartTime&&(H.flags&1)!==0&&OB(H,H.actualStartTime,I,zY,B);var x=H.flags;switch(H.tag){case 22:HU(U,H,B,O,I),x&2048&&bM(H.alternate,H);break;case 24:HU(U,H,B,O,I),x&2048&&gM(H.alternate,H);break;default:HU(U,H,B,O,I)}VG=k,H=X}}function Z_(Z,X,Y){if(Z.subtreeFlags&rU)for(Z=Z.child;Z!==null;)C1(Z,X,Y),Z=Z.sibling}function C1(Z,X,Y){switch(Z.tag){case 26:Z_(Z,X,Y),Z.flags&rU&&Z.memoizedState!==null&&j$(Y,MJ,Z.memoizedState,Z.memoizedProps);break;case 5:Z_(Z,X,Y);break;case 3:case 4:var Q=MJ;MJ=HL(Z.stateNode.containerInfo),Z_(Z,X,Y),MJ=Q;break;case 22:Z.memoizedState===null&&(Q=Z.alternate,Q!==null&&Q.memoizedState!==null?(Q=rU,rU=16777216,Z_(Z,X,Y),rU=Q):Z_(Z,X,Y));break;default:Z_(Z,X,Y)}}function D1(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 zU(Z){var X=Z.deletions;if((Z.flags&16)!==0){if(X!==null)for(var Y=0;Y<X.length;Y++){var Q=X[Y],G=FQ();LY=Q,S1(Q,Z),(Q.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&0.05<xZ-SZ&&xJ(Q,SZ,xZ,"Unmount"),MQ(G)}D1(Z)}if(Z.subtreeFlags&10256)for(Z=Z.child;Z!==null;)P1(Z),Z=Z.sibling}function P1(Z){var X=FQ(),Y=hJ(),Q=gJ(),G=mJ();switch(Z.tag){case 0:case 11:case 15:zU(Z),Z.flags&2048&&xM(Z,Z.return,iY|oQ);break;case 3:var H=Vq();zU(Z),Z.stateNode.passiveEffectDuration+=jB(H);break;case 12:H=Vq(),zU(Z),Z.stateNode.passiveEffectDuration+=sW(H);break;case 22:H=Z.stateNode,Z.memoizedState!==null&&H._visibility&$q&&(Z.return===null||Z.return.tag!==13)?(H._visibility&=~$q,ZL(Z),(Z.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&0.05<xZ-SZ&&xJ(Z,SZ,xZ,"Disconnect")):zU(Z);break;default:zU(Z)}(Z.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Z,SZ,xZ,hX,xX),MQ(X),bJ(Y),mX=G,xX=Q}function ZL(Z){var X=Z.deletions;if((Z.flags&16)!==0){if(X!==null)for(var Y=0;Y<X.length;Y++){var Q=X[Y],G=FQ();LY=Q,S1(Q,Z),(Q.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&0.05<xZ-SZ&&xJ(Q,SZ,xZ,"Unmount"),MQ(G)}D1(Z)}for(Z=Z.child;Z!==null;)$1(Z),Z=Z.sibling}function $1(Z){var X=FQ(),Y=hJ(),Q=gJ(),G=mJ();switch(Z.tag){case 0:case 11:case 15:xM(Z,Z.return,iY),ZL(Z);break;case 22:var H=Z.stateNode;H._visibility&$q&&(H._visibility&=~$q,ZL(Z));break;default:ZL(Z)}(Z.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Z,SZ,xZ,hX,xX),MQ(X),bJ(Y),mX=G,xX=Q}function S1(Z,X){for(;LY!==null;){var Y=LY,Q=Y,G=X,H=FQ(),U=hJ(),B=gJ(),O=mJ();switch(Q.tag){case 0:case 11:case 15:xM(Q,G,iY);break;case 23:case 22:Q.memoizedState!==null&&Q.memoizedState.cachePool!==null&&(G=Q.memoizedState.cachePool.pool,G!=null&&PH(G));break;case 24:nW(Q.memoizedState.cache)}if((Q.mode&iZ)!==vZ&&0<=SZ&&0<=xZ&&(mX||0.05<hX)&&yJ(Q,SZ,xZ,hX,xX),MQ(H),bJ(U),mX=O,xX=B,Q=Y.child,Q!==null)Q.return=Y,LY=Q;else Z:for(Y=Z;LY!==null;){if(Q=LY,H=Q.sibling,U=Q.return,O1(Q),Q===Y){LY=null;break Z}if(H!==null){H.return=U,LY=H;break Z}LY=U}}}function gP(){qE.forEach(function(Z){return Z()})}function E1(){var Z=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return Z||i.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),Z}function IQ(Z){if((zX&_Y)!==AY&&sZ!==0)return sZ&-sZ;var X=i.T;return X!==null?(X._updatedFibers||(X._updatedFibers=new Set),X._updatedFibers.add(Z),iM()):m()}function k1(){if(YQ===0)if((sZ&536870912)===0||QX){var Z=NL;NL<<=1,(NL&3932160)===0&&(NL=262144),YQ=Z}else YQ=536870912;return Z=CQ.current,Z!==null&&(Z.flags|=32),YQ}function gX(Z,X,Y){if(m_&&console.error("useInsertionEffect must not schedule updates."),D9&&(JA=!0),Z===RX&&(MX===sH||MX===aH)||Z.cancelPendingCommit!==null)Y_(Z,0),AG(Z,sZ,YQ,!1);if(QG(Z,Y),(zX&_Y)!==AY&&Z===RX){if(oJ)switch(X.tag){case 0:case 11:case 15:Z=aZ&&a(aZ)||"Unknown",qT.has(Z)||(qT.add(Z),X=a(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:JT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),JT=!0)}}else tJ&&hW(Z,X,Y),sP(X),Z===RX&&((zX&_Y)===AY&&(hG|=Y),bX===xG&&AG(Z,sZ,YQ,!1)),iJ(Z)}function x1(Z,X,Y){if((zX&(_Y|PQ))!==AY)throw Error("Should not already be working.");if(sZ!==0&&aZ!==null){var Q=aZ,G=KY();switch(r4){case ZK:case sH:var H=bU;PX&&((Q=Q._debugTask)?Q.run(console.timeStamp.bind(console,"Suspended",H,G,dQ,void 0,"primary-light")):console.timeStamp("Suspended",H,G,dQ,void 0,"primary-light"));break;case aH:H=bU,PX&&((Q=Q._debugTask)?Q.run(console.timeStamp.bind(console,"Action",H,G,dQ,void 0,"primary-light")):console.timeStamp("Action",H,G,dQ,void 0,"primary-light"));break;default:PX&&(Q=G-bU,3>Q||console.timeStamp("Blocked",bU,G,dQ,void 0,5>Q?"primary-light":10>Q?"primary":100>Q?"primary-dark":"error"))}}H=(Y=!Y&&(X&127)===0&&(X&Z.expiredLanes)===0||AH(Z,X))?fP(Z,X):fM(Z,X,!0);var U=Y;do{if(H===fq){b_&&!Y&&AG(Z,X,0,!1),X=MX,bU=tX(),r4=X;break}else{if(Q=KY(),G=Z.current.alternate,U&&!mP(G)){AQ(X),G=BY,H=Q,!PX||H<=G||(lX?lX.run(console.timeStamp.bind(console,"Teared Render",G,H,eZ,tZ,"error")):console.timeStamp("Teared Render",G,H,eZ,tZ,"error")),yH(X,Q),H=fM(Z,X,!1),U=!1;continue}if(H===nH){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){AQ(X),wF(BY,Q,X,lX),yH(X,Q),X=B;Z:{Q=Z,H=U,U=YK;var O=Q.current.memoizedState.isDehydrated;if(O&&(Y_(Q,B).flags|=256),B=fM(Q,B,!1),B!==nH){if(N9&&!O){Q.errorRecoveryDisabledLanes|=H,hG|=H,H=xG;break Z}Q=nY,nY=U,Q!==null&&(nY===null?nY=Q:nY.push.apply(nY,Q))}H=B}if(U=!1,H!==nH)continue;else Q=KY()}}if(H===eU){AQ(X),wF(BY,Q,X,lX),yH(X,Q),Y_(Z,0),AG(Z,X,0,!0);break}Z:{switch(Y=Z,H){case fq:case eU:throw Error("Root did not complete. This is a bug in React.");case xG:if((X&4194048)!==X)break;case oL:AQ(X),x8(BY,Q,X,lX),yH(X,Q),G=X,(G&127)!==0?vL=Q:(G&4194048)!==0&&(hL=Q),AG(Y,X,YQ,!yG);break Z;case nH:nY=null;break;case aL:case l7:break;default:throw Error("Unknown root exit status.")}if(i.actQueue!==null)uM(Y,G,X,nY,QK,eL,YQ,hG,oH,H,null,null,BY,Q);else{if((X&62914560)===X&&(U=ZA+s7-KY(),10<U)){if(AG(Y,X,YQ,!yG),LH(Y,0,!0)!==0)break Z;NJ=X,Y.timeoutHandle=BT(y1.bind(null,Y,G,nY,QK,eL,X,YQ,hG,oH,yG,H,"Throttled",BY,Q),U);break Z}y1(Y,G,nY,QK,eL,X,YQ,hG,oH,yG,H,null,BY,Q)}}}break}while(1);iJ(Z)}function y1(Z,X,Y,Q,G,H,U,B,O,I,k,x,$,d){Z.timeoutHandle=Xz;var YZ=X.subtreeFlags,BZ=null;if(YZ&8192||(YZ&16785408)===16785408){if(BZ={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Nq},C1(X,H,BZ),YZ=(H&62914560)===H?ZA-KY():(H&4194048)===H?n7-KY():0,YZ=C$(BZ,YZ),YZ!==null){NJ=H,Z.cancelPendingCommit=YZ(uM.bind(null,Z,X,H,Y,Q,G,U,B,O,k,BZ,BZ.waitingForViewTransition?"Waiting for the previous Animation":0<BZ.count?0<BZ.imgCount?"Suspended on CSS and Images":"Suspended on CSS":BZ.imgCount===1?"Suspended on an Image":0<BZ.imgCount?"Suspended on Images":null,$,d)),AG(Z,H,U,!I);return}}uM(Z,X,H,Y,Q,G,U,B,O,k,BZ,x,$,d)}function mP(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 Q=0;Q<Y.length;Q++){var G=Y[Q],H=G.getSnapshot;G=G.value;try{if(!cY(H(),G))return!1}catch(U){return!1}}if(Y=X.child,X.subtreeFlags&16384&&Y!==null)Y.return=X,X=Y;else{if(X===Z)break;for(;X.sibling===null;){if(X.return===null||X.return===Z)return!0;X=X.return}X.sibling.return=X.return,X=X.sibling}}return!0}function AG(Z,X,Y,Q){X&=~I9,X&=~hG,Z.suspendedLanes|=X,Z.pingedLanes&=~X,Q&&(Z.warmLanes|=X),Q=Z.expirationTimes;for(var G=X;0<G;){var H=31-fY(G),U=1<<H;Q[H]=-1,G&=~U}Y!==0&&OH(Z,Y,X)}function X_(){return(zX&(_Y|PQ))===AY?(UU(0,!1),!1):!0}function mM(){if(aZ!==null){if(MX===XQ)var Z=aZ.return;else Z=aZ,wB(),oF(Z),P_=null,iU=0,Z=aZ;for(;Z!==null;)q1(Z.alternate,Z),Z=Z.return;aZ=null}}function yH(Z,X){(Z&127)!==0&&(PG=X),(Z&4194048)!==0&&(Qq=X),(Z&62914560)!==0&&(a4=X),(Z&2080374784)!==0&&(o4=X)}function Y_(Z,X){PX&&(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=BY;if(BY=tX(),sZ!==0&&0<Y){if(AQ(sZ),bX===aL||bX===xG)x8(Y,BY,X,lX);else{var Q=BY,G=lX;if(PX&&!(Q<=Y)){var H=(X&738197653)===X?"tertiary-dark":"primary-dark",U=(X&536870912)===X?"Prewarm":(X&201326741)===X?"Interrupted Hydration":"Interrupted Render";G?G.run(console.timeStamp.bind(console,U,Y,Q,eZ,tZ,H)):console.timeStamp(U,Y,Q,eZ,tZ,H)}}yH(sZ,BY)}if(Y=lX,lX=null,(X&127)!==0){lX=yU,G=0<=Yq&&Yq<PG?PG:Yq,Q=0<=mH&&mH<PG?PG:mH,H=0<=Q?Q:0<=G?G:BY,0<=vL?(AQ(2),y8(vL,H,X,Y)):(bL&127)!==0&&(AQ(2),lW(PG,H,vq)),Y=G;var B=Q,O=vU,I=0<j_,k=$G===xU,x=$G===yL;if(G=BY,Q=yU,H=t0,U=e0,PX){if(eZ="Blocking",0<Y?Y>G&&(Y=G):Y=G,0<B?B>Y&&(B=Y):B=Y,O!==null&&Y>B){var $=I?"secondary-light":"warning";Q?Q.run(console.timeStamp.bind(console,I?"Consecutive":"Event: "+O,B,Y,eZ,tZ,$)):console.timeStamp(I?"Consecutive":"Event: "+O,B,Y,eZ,tZ,$)}G>Y&&(B=k?"error":(X&738197653)===X?"tertiary-light":"primary-light",k=x?"Promise Resolved":k?"Cascading Update":5<G-Y?"Update Blocked":"Update",x=[],U!=null&&x.push(["Component name",U]),H!=null&&x.push(["Method name",H]),Y={start:Y,end:G,detail:{devtools:{properties:x,track:eZ,trackGroup:tZ,color:B}}},Q?Q.run(performance.measure.bind(performance,k,Y)):performance.measure(k,Y))}Yq=-1.1,$G=0,e0=t0=null,vL=-1.1,j_=mH,mH=-1.1,PG=tX()}if((X&4194048)!==0&&(lX=hU,G=0<=yq&&yq<Qq?Qq:yq,Y=0<=sQ&&sQ<Qq?Qq:sQ,Q=0<=SG&&SG<Qq?Qq:SG,H=0<=Q?Q:0<=Y?Y:BY,0<=hL?(AQ(256),y8(hL,H,X,lX)):(bL&4194048)!==0&&(AQ(256),lW(Qq,H,vq)),x=Q,B=fH,O=0<EG,I=Z9===yL,H=BY,Q=hU,U=n4,k=s4,PX&&(eZ="Transition",0<Y?Y>H&&(Y=H):Y=H,0<G?G>Y&&(G=Y):G=Y,0<x?x>G&&(x=G):x=G,G>x&&B!==null&&($=O?"secondary-light":"warning",Q?Q.run(console.timeStamp.bind(console,O?"Consecutive":"Event: "+B,x,G,eZ,tZ,$)):console.timeStamp(O?"Consecutive":"Event: "+B,x,G,eZ,tZ,$)),Y>G&&(Q?Q.run(console.timeStamp.bind(console,"Action",G,Y,eZ,tZ,"primary-dark")):console.timeStamp("Action",G,Y,eZ,tZ,"primary-dark")),H>Y&&(G=I?"Promise Resolved":5<H-Y?"Update Blocked":"Update",x=[],k!=null&&x.push(["Component name",k]),U!=null&&x.push(["Method name",U]),Y={start:Y,end:H,detail:{devtools:{properties:x,track:eZ,trackGroup:tZ,color:"primary-light"}}},Q?Q.run(performance.measure.bind(performance,G,Y)):performance.measure(G,Y))),sQ=yq=-1.1,Z9=0,hL=-1.1,EG=SG,SG=-1.1,Qq=tX()),(X&62914560)!==0&&(bL&62914560)!==0&&(AQ(4194304),lW(a4,BY,vq)),(X&2080374784)!==0&&(bL&2080374784)!==0&&(AQ(268435456),lW(o4,BY,vq)),Y=Z.timeoutHandle,Y!==Xz&&(Z.timeoutHandle=Xz,ME(Y)),Y=Z.cancelPendingCommit,Y!==null&&(Z.cancelPendingCommit=null,Y()),NJ=0,mM(),RX=Z,aZ=Y=Iq(Z.current,null),sZ=X,MX=XQ,$Q=null,yG=!1,b_=AH(Z,X),N9=!1,bX=fq,oH=YQ=I9=hG=vG=0,nY=YK=null,eL=!1,(X&8)!==0&&(X|=X&32),Q=Z.entangledLanes,Q!==0)for(Z=Z.entanglements,Q&=X;0<Q;)G=31-fY(Q),H=1<<G,X|=Z[G],Q&=~H;return qq=X,FB(),Z=u4(),1000<Z-f4&&(i.recentlyCreatedOwnerStacks=0,f4=Z),OJ.discardPendingWarnings(),Y}function v1(Z,X){hZ=null,i.H=oU,i.getCurrentStack=null,oJ=!1,VQ=null,X===D_||X===uL?(X=YN(),MX=ZK):X===J9?(X=YN(),MX=i7):MX=X===L9?M9:X!==null&&typeof X==="object"&&typeof X.then==="function"?XK:rL,$Q=X;var Y=aZ;Y===null?(bX=eU,nB(Z,OQ(X,Z.current))):Y.mode&iZ&&bF(Y)}function h1(){var Z=CQ.current;return Z===null?!0:(sZ&4194048)===sZ?aQ===null?!0:!1:(sZ&62914560)===sZ||(sZ&536870912)!==0?Z===aQ:!1}function b1(){var Z=i.H;return i.H=oU,Z===null?oU:Z}function g1(){var Z=i.A;return i.A=JE,Z}function XL(Z){lX===null&&(lX=Z._debugTask==null?null:Z._debugTask)}function YL(){bX=xG,yG||(sZ&4194048)!==sZ&&CQ.current!==null||(b_=!0),(vG&134217727)===0&&(hG&134217727)===0||RX===null||AG(RX,sZ,YQ,!1)}function fM(Z,X,Y){var Q=zX;zX|=_Y;var G=b1(),H=g1();if(RX!==Z||sZ!==X){if(tJ){var U=Z.memoizedUpdaters;0<U.size&&(WU(Z,sZ),U.clear()),JG(Z,X)}QK=null,Y_(Z,X)}X=!1,U=bX;Z:do try{if(MX!==XQ&&aZ!==null){var B=aZ,O=$Q;switch(MX){case M9:mM(),U=oL;break Z;case ZK:case sH:case aH:case XK:CQ.current===null&&(X=!0);var I=MX;if(MX=XQ,$Q=null,Q_(Z,B,O,I),Y&&b_){U=fq;break Z}break;default:I=MX,MX=XQ,$Q=null,Q_(Z,B,O,I)}}m1(),U=bX;break}catch(k){v1(Z,k)}while(1);return X&&Z.shellSuspendCounter++,wB(),zX=Q,i.H=G,i.A=H,aZ===null&&(RX=null,sZ=0,FB()),U}function m1(){for(;aZ!==null;)f1(aZ)}function fP(Z,X){var Y=zX;zX|=_Y;var Q=b1(),G=g1();if(RX!==Z||sZ!==X){if(tJ){var H=Z.memoizedUpdaters;0<H.size&&(WU(Z,sZ),H.clear()),JG(Z,X)}QK=null,XA=KY()+a7,Y_(Z,X)}else b_=AH(Z,X);Z:do try{if(MX!==XQ&&aZ!==null)X:switch(X=aZ,H=$Q,MX){case rL:MX=XQ,$Q=null,Q_(Z,X,H,rL);break;case sH:case aH:if(ZN(H)){MX=XQ,$Q=null,u1(X);break}X=function(){MX!==sH&&MX!==aH||RX!==Z||(MX=tL),iJ(Z)},H.then(X,X);break Z;case ZK:MX=tL;break Z;case i7:MX=F9;break Z;case tL:ZN(H)?(MX=XQ,$Q=null,u1(X)):(MX=XQ,$Q=null,Q_(Z,X,H,tL));break;case F9:var U=null;switch(aZ.tag){case 26:U=aZ.memoizedState;case 5:case 27:var B=aZ;if(U?xI(U):B.stateNode.complete){MX=XQ,$Q=null;var O=B.sibling;if(O!==null)aZ=O;else{var I=B.return;I!==null?(aZ=I,QL(I)):aZ=null}break X}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}MX=XQ,$Q=null,Q_(Z,X,H,F9);break;case XK:MX=XQ,$Q=null,Q_(Z,X,H,XK);break;case M9:mM(),bX=oL;break Z;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}i.actQueue!==null?m1():uP();break}catch(k){v1(Z,k)}while(1);if(wB(),i.H=Q,i.A=G,zX=Y,aZ!==null)return fq;return RX=null,sZ=0,FB(),bX}function uP(){for(;aZ!==null&&!m$();)f1(aZ)}function f1(Z){var X=Z.alternate;(Z.mode&iZ)!==vZ?(hF(Z),X=_Z(Z,SM,X,Z,qq),bF(Z)):X=_Z(Z,SM,X,Z,qq),Z.memoizedProps=Z.pendingProps,X===null?QL(Z):aZ=X}function u1(Z){var X=_Z(Z,dP,Z);Z.memoizedProps=Z.pendingProps,X===null?QL(Z):aZ=X}function dP(Z){var X=Z.alternate,Y=(Z.mode&iZ)!==vZ;switch(Y&&hF(Z),Z.tag){case 15:case 0:X=tN(X,Z,Z.pendingProps,Z.type,void 0,sZ);break;case 11:X=tN(X,Z,Z.pendingProps,Z.type.render,Z.ref,sZ);break;case 5:oF(Z);default:q1(X,Z),Z=aZ=f8(Z,qq),X=SM(X,Z,qq)}return Y&&bF(Z),X}function Q_(Z,X,Y,Q){wB(),oF(X),P_=null,iU=0;var G=X.return;try{if(CP(Z,G,X,Y,sZ)){bX=eU,nB(Z,OQ(Y,Z.current)),aZ=null;return}}catch(H){if(G!==null)throw aZ=G,H;bX=eU,nB(Z,OQ(Y,Z.current)),aZ=null;return}if(X.flags&32768){if(QX||Q===rL)Z=!0;else if(b_||(sZ&536870912)!==0)Z=!1;else if(yG=Z=!0,Q===sH||Q===aH||Q===ZK||Q===XK)Q=CQ.current,Q!==null&&Q.tag===13&&(Q.flags|=16384);d1(X,Z)}else QL(X)}function QL(Z){var X=Z;do{if((X.flags&32768)!==0){d1(X,yG);return}var Y=X.alternate;if(Z=X.return,hF(X),Y=_Z(X,$P,Y,X,qq),(X.mode&iZ)!==vZ&&a8(X),Y!==null){aZ=Y;return}if(X=X.sibling,X!==null){aZ=X;return}aZ=X=Z}while(X!==null);bX===fq&&(bX=l7)}function d1(Z,X){do{var Y=SP(Z.alternate,Z);if(Y!==null){Y.flags&=32767,aZ=Y;return}if((Z.mode&iZ)!==vZ){a8(Z),Y=Z.actualDuration;for(var Q=Z.child;Q!==null;)Y+=Q.actualDuration,Q=Q.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=oL,aZ=null}function uM(Z,X,Y,Q,G,H,U,B,O,I,k,x,$,d){Z.cancelPendingCommit=null;do _U();while(QY!==gG);if(OJ.flushLegacyContextWarning(),OJ.flushPendingUnsafeLifecycleWarnings(),(zX&(_Y|PQ))!==AY)throw Error("Should not already be working.");if(AQ(Y),I===nH?wF($,d,Y,lX):Q!==null?BP($,d,Y,Q,X!==null&&X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)!==0,lX):KP($,d,Y,lX),X!==null){if(Y===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),X===Z.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(H=X.lanes|X.childLanes,H|=n0,GB(Z,Y,H,U,B,O),Z===RX&&(aZ=RX=null,sZ=0),g_=X,mG=Z,NJ=Y,V9=H,j9=G,XT=Q,R9=d,YT=x,IJ=YA,QT=null,X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0?(Z.callbackNode=null,Z.callbackPriority=0,nP(__,function(){return _K=window.event,IJ===YA&&(IJ=w9),n1(),null})):(Z.callbackNode=null,Z.callbackPriority=0),xq=null,DG=tX(),x!==null&&LP(d,DG,x,lX),Q=(X.flags&13878)!==0,(X.subtreeFlags&13878)!==0||Q){Q=i.T,i.T=null,G=OX.p,OX.p=RQ,U=zX,zX|=PQ;try{hP(Z,X,Y)}finally{zX=U,OX.p=G,i.T=Q}}QY=r7,c1(),p1(),l1()}}function c1(){if(QY===r7){QY=gG;var Z=mG,X=g_,Y=NJ,Q=(X.flags&13878)!==0;if((X.subtreeFlags&13878)!==0||Q){Q=i.T,i.T=null;var G=OX.p;OX.p=RQ;var H=zX;zX|=PQ;try{v_=Y,h_=Z,CB(),I1(X,Z),h_=v_=null,Y=h9;var U=S8(Z.containerInfo),B=Y.focusedElem,O=Y.selectionRange;if(U!==B&&B&&B.ownerDocument&&$8(B.ownerDocument.documentElement,B)){if(O!==null&&NF(B)){var{start:I,end:k}=O;if(k===void 0&&(k=I),"selectionStart"in B)B.selectionStart=I,B.selectionEnd=Math.min(k,B.value.length);else{var x=B.ownerDocument||document,$=x&&x.defaultView||window;if($.getSelection){var d=$.getSelection(),YZ=B.textContent.length,BZ=Math.min(O.start,YZ),DX=O.end===void 0?BZ:Math.min(O.end,YZ);!d.extend&&BZ>DX&&(U=DX,DX=BZ,BZ=U);var GX=P8(B,BZ),P=P8(B,DX);if(GX&&P&&(d.rangeCount!==1||d.anchorNode!==GX.node||d.anchorOffset!==GX.offset||d.focusNode!==P.node||d.focusOffset!==P.offset)){var S=x.createRange();S.setStart(GX.node,GX.offset),d.removeAllRanges(),BZ>DX?(d.addRange(S),d.extend(P.node,P.offset)):(S.setEnd(P.node,P.offset),d.addRange(S))}}}}x=[];for(d=B;d=d.parentNode;)d.nodeType===1&&x.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof B.focus==="function"&&B.focus();for(B=0;B<x.length;B++){var E=x[B];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}MA=!!v9,h9=v9=null}finally{zX=H,OX.p=G,i.T=Q}}Z.current=X,QY=t7}}function p1(){if(QY===t7){QY=gG;var Z=QT;if(Z!==null){DG=tX();var X=kq,Y=DG;!PX||Y<=X||(vq?vq.run(console.timeStamp.bind(console,Z,X,Y,eZ,tZ,"secondary-light")):console.timeStamp(Z,X,Y,eZ,tZ,"secondary-light"))}Z=mG,X=g_,Y=NJ;var Q=(X.flags&8772)!==0;if((X.subtreeFlags&8772)!==0||Q){Q=i.T,i.T=null;var G=OX.p;OX.p=RQ;var H=zX;zX|=PQ;try{v_=Y,h_=Z,CB(),A1(Z,X.alternate,X),h_=v_=null}finally{zX=H,OX.p=G,i.T=Q}}Z=R9,X=YT,kq=tX(),Z=X===null?Z:DG,X=kq,Y=IJ===T9,Q=lX,xq!==null?v8(Z,X,xq,!1,Q):!PX||X<=Z||(Q?Q.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=e7}}function l1(){if(QY===ZT||QY===e7){if(QY===ZT){var Z=kq;kq=tX();var X=kq,Y=IJ===T9;!PX||X<=Z||(vq?vq.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")),IJ!==T9&&(IJ=o7)}QY=gG,f$(),Z=mG;var Q=g_;X=NJ,Y=XT;var G=Q.actualDuration!==0||(Q.subtreeFlags&10256)!==0||(Q.flags&10256)!==0;G?QY=QA:(QY=gG,g_=mG=null,i1(Z,Z.pendingLanes),rH=0,qK=null);var H=Z.pendingLanes;if(H===0&&(bG=null),G||r1(Z),H=w(X),Q=Q.stateNode,bY&&typeof bY.onCommitFiberRoot==="function")try{var U=(Q.current.flags&128)===128;switch(H){case RQ:var B=j0;break;case LJ:B=C0;break;case eJ:B=__;break;case TL:B=D0;break;default:B=__}bY.onCommitFiberRoot(W_,Q,B,U)}catch(x){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",x))}if(tJ&&Z.memoizedUpdaters.clear(),gP(),Y!==null){U=i.T,B=OX.p,OX.p=RQ,i.T=null;try{var O=Z.onRecoverableError;for(Q=0;Q<Y.length;Q++){var I=Y[Q],k=cP(I.stack);_Z(I.source,O,I.value,k)}}finally{i.T=U,OX.p=B}}(NJ&3)!==0&&_U(),iJ(Z),H=Z.pendingLanes,(X&261930)!==0&&(H&42)!==0?(mL=!0,Z===C9?JK++:(JK=0,C9=Z)):JK=0,G||yH(X,kq),UU(0,!1)}}function cP(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 i1(Z,X){(Z.pooledCacheLanes&=X)===0&&(X=Z.pooledCache,X!=null&&(Z.pooledCache=null,nW(X)))}function _U(){return c1(),p1(),l1(),n1()}function n1(){if(QY!==QA)return!1;var Z=mG,X=V9;V9=0;var Y=w(NJ),Q=eJ===0||eJ>Y?eJ:Y;Y=i.T;var G=OX.p;try{OX.p=Q,i.T=null;var H=j9;j9=null,Q=mG;var U=NJ;if(QY=gG,g_=mG=null,NJ=0,(zX&(_Y|PQ))!==AY)throw Error("Cannot flush passive effects while already rendering.");AQ(U),D9=!0,JA=!1;var B=0;if(xq=null,B=KY(),IJ===o7)lW(kq,B,vq);else{var O=kq,I=B,k=IJ===w9;!PX||I<=O||(lX?lX.run(console.timeStamp.bind(console,k?"Waiting for Paint":"Waiting",O,I,eZ,tZ,"secondary-light")):console.timeStamp(k?"Waiting for Paint":"Waiting",O,I,eZ,tZ,"secondary-light"))}O=zX,zX|=PQ;var x=Q.current;CB(),P1(x);var $=Q.current;x=R9,CB(),R1(Q,$,U,H,x),r1(Q),zX=O;var d=KY();if($=B,x=lX,xq!==null?v8($,d,xq,!0,x):!PX||d<=$||(x?x.run(console.timeStamp.bind(console,"Remaining Effects",$,d,eZ,tZ,"secondary-dark")):console.timeStamp("Remaining Effects",$,d,eZ,tZ,"secondary-dark")),yH(U,d),UU(0,!1),JA?Q===qK?rH++:(rH=0,qK=Q):rH=0,JA=D9=!1,bY&&typeof bY.onPostCommitFiberRoot==="function")try{bY.onPostCommitFiberRoot(W_,Q)}catch(BZ){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",BZ))}var YZ=Q.current.stateNode;return YZ.effectDuration=0,YZ.passiveEffectDuration=0,!0}finally{OX.p=G,i.T=Y,i1(Z,X)}}function s1(Z,X,Y){X=OQ(Y,X),o8(X),X=NM(Z.stateNode,X,2),Z=UG(Z,X,2),Z!==null&&(QG(Z,2),iJ(Z))}function AX(Z,X,Y){if(m_=!1,Z.tag===3)s1(Z,Z,Y);else{for(;X!==null;){if(X.tag===3){s1(X,Z,Y);return}if(X.tag===1){var Q=X.stateNode;if(typeof X.type.getDerivedStateFromError==="function"||typeof Q.componentDidCatch==="function"&&(bG===null||!bG.has(Q))){Z=OQ(Y,Z),o8(Z),Y=IM(2),Q=UG(X,Y,2),Q!==null&&(TM(Y,Q,X,Z),QG(Q,2),iJ(Q));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 dM(Z,X,Y){var Q=Z.pingCache;if(Q===null){Q=Z.pingCache=new GE;var G=new Set;Q.set(X,G)}else G=Q.get(X),G===void 0&&(G=new Set,Q.set(X,G));G.has(Y)||(N9=!0,G.add(Y),Q=pP.bind(null,Z,X,Y),tJ&&WU(Z,Y),X.then(Q,Q))}function pP(Z,X,Y){var Q=Z.pingCache;Q!==null&&Q.delete(X),Z.pingedLanes|=Z.suspendedLanes&Y,Z.warmLanes&=~Y,(Y&127)!==0?0>Yq&&(PG=Yq=tX(),yU=xL("Promise Resolved"),$G=yL):(Y&4194048)!==0&&0>sQ&&(Qq=sQ=tX(),hU=xL("Promise Resolved"),Z9=yL),E1()&&i.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===xG||bX===aL&&(sZ&62914560)===sZ&&KY()-ZA<s7?(zX&_Y)===AY&&Y_(Z,0):I9|=Y,oH===sZ&&(oH=0)),iJ(Z)}function a1(Z,X){X===0&&(X=uz()),Z=hY(Z,X),Z!==null&&(QG(Z,X),iJ(Z))}function lP(Z){var X=Z.memoizedState,Y=0;X!==null&&(Y=X.retryLane),a1(Z,Y)}function iP(Z,X){var Y=0;switch(Z.tag){case 31:case 13:var{stateNode:Q,memoizedState:G}=Z;G!==null&&(Y=G.retryLane);break;case 19:Q=Z.stateNode;break;case 22:Q=Z.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}Q!==null&&Q.delete(X),a1(Z,Y)}function cM(Z,X,Y){if((X.subtreeFlags&67117056)!==0)for(X=X.child;X!==null;){var Q=Z,G=X,H=G.type===AL;H=Y||H,G.tag!==22?G.flags&67108864?H&&_Z(G,o1,Q,G):cM(Q,G,H):G.memoizedState===null&&(H&&G.flags&8192?_Z(G,o1,Q,G):G.subtreeFlags&67108864&&_Z(G,cM,Q,G,H)),X=X.sibling}}function o1(Z,X){jX(!0);try{w1(X),$1(X),V1(Z,X.alternate,X,!1),j1(Z,X,0,null,!1,0)}finally{jX(!1)}}function r1(Z){var X=!0;Z.current.mode&(gY|AJ)||(X=!1),cM(Z,Z.current,X)}function t1(Z){if((zX&_Y)===AY){var X=Z.tag;if(X===3||X===1||X===0||X===11||X===14||X===15){if(X=a(Z)||"ReactComponent",qA!==null){if(qA.has(X))return;qA.add(X)}else qA=new Set([X]);_Z(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 WU(Z,X){tJ&&Z.memoizedUpdaters.forEach(function(Y){hW(Z,Y,X)})}function nP(Z,X){var Y=i.actQueue;return Y!==null?(Y.push(X),_E):R0(Z,X)}function sP(Z){E1()&&i.actQueue===null&&_Z(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`,a(Z))})}function iJ(Z){Z!==f_&&Z.next===null&&(f_===null?GA=f_=Z:f_=f_.next=Z),HA=!0,i.actQueue!==null?$9||($9=!0,YI()):P9||(P9=!0,YI())}function UU(Z,X){if(!S9&&HA){S9=!0;do{var Y=!1;for(var Q=GA;Q!==null;){if(!X)if(Z!==0){var G=Q.pendingLanes;if(G===0)var H=0;else{var{suspendedLanes:U,pingedLanes:B}=Q;H=(1<<31-fY(42|Z)+1)-1,H&=G&~(U&~B),H=H&201326741?H&201326741|1:H?H|2:0}H!==0&&(Y=!0,XI(Q,H))}else H=sZ,H=LH(Q,Q===RX?H:0,Q.cancelPendingCommit!==null||Q.timeoutHandle!==Xz),(H&3)===0||AH(Q,H)||(Y=!0,XI(Q,H));Q=Q.next}}while(Y);S9=!1}}function aP(){_K=window.event,pM()}function pM(){HA=$9=P9=!1;var Z=0;fG!==0&&Y$()&&(Z=fG);for(var X=KY(),Y=null,Q=GA;Q!==null;){var G=Q.next,H=e1(Q,X);if(H===0)Q.next=null,Y===null?GA=G:Y.next=G,G===null&&(f_=Y);else if(Y=Q,Z!==0||(H&3)!==0)HA=!0;Q=G}QY!==gG&&QY!==QA||UU(Z,!1),fG!==0&&(fG=0)}function e1(Z,X){for(var{suspendedLanes:Y,pingedLanes:Q,expirationTimes:G}=Z,H=Z.pendingLanes&-62914561;0<H;){var U=31-fY(H),B=1<<U,O=G[U];if(O===-1){if((B&Y)===0||(B&Q)!==0)G[U]=zF(B,X)}else O<=X&&(Z.expiredLanes|=B);H&=~B}if(X=RX,Y=sZ,Y=LH(Z,Z===X?Y:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==Xz),Q=Z.callbackNode,Y===0||Z===X&&(MX===sH||MX===aH)||Z.cancelPendingCommit!==null)return Q!==null&&lM(Q),Z.callbackNode=null,Z.callbackPriority=0;if((Y&3)===0||AH(Z,Y)){if(X=Y&-Y,X!==Z.callbackPriority||i.actQueue!==null&&Q!==E9)lM(Q);else return X;switch(w(Y)){case RQ:case LJ:Y=C0;break;case eJ:Y=__;break;case TL:Y=D0;break;default:Y=__}return Q=ZI.bind(null,Z),i.actQueue!==null?(i.actQueue.push(Q),Y=E9):Y=R0(Y,Q),Z.callbackPriority=X,Z.callbackNode=Y,X}return Q!==null&&lM(Q),Z.callbackPriority=2,Z.callbackNode=null,2}function ZI(Z,X){if(mL=gL=!1,_K=window.event,QY!==gG&&QY!==QA)return Z.callbackNode=null,Z.callbackPriority=0,null;var Y=Z.callbackNode;if(IJ===YA&&(IJ=w9),_U()&&Z.callbackNode!==Y)return null;var Q=sZ;if(Q=LH(Z,Z===RX?Q:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==Xz),Q===0)return null;return x1(Z,Q,X),e1(Z,KY()),Z.callbackNode!=null&&Z.callbackNode===Y?ZI.bind(null,Z):null}function XI(Z,X){if(_U())return null;gL=mL,mL=!1,x1(Z,X,!0)}function lM(Z){Z!==E9&&Z!==null&&g$(Z)}function YI(){i.actQueue!==null&&i.actQueue.push(function(){return pM(),null}),NE(function(){(zX&(_Y|PQ))!==AY?R0(j0,aP):pM()})}function iM(){if(fG===0){var Z=uH;Z===0&&(Z=ML,ML<<=1,(ML&261888)===0&&(ML=256)),fG=Z}return fG}function QI(Z){if(Z==null||typeof Z==="symbol"||typeof Z==="boolean")return null;if(typeof Z==="function")return Z;return CZ(Z,"action"),dW(""+Z)}function JI(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 oP(Z,X,Y,Q,G){if(X==="submit"&&Y&&Y.stateNode===G){var H=QI((G[uY]||null).action),U=Q.submitter;U&&(X=(X=U[uY]||null)?QI(X.formAction):U.getAttribute("formAction"),X!==null&&(H=X,U=null));var B=new CL("action","action",null,Q,G);Z.push({event:B,listeners:[{instance:null,listener:function(){if(Q.defaultPrevented){if(fG!==0){var O=U?JI(G,U):new FormData(G),I={pending:!0,data:O,method:G.method,action:H};Object.freeze(I),KM(Y,I,null,O)}}else typeof H==="function"&&(B.preventDefault(),O=U?JI(G,U):new FormData(G),I={pending:!0,data:O,method:G.method,action:H},Object.freeze(I),KM(Y,I,H,O))},currentTarget:G}]})}}function JL(Z,X,Y){Z.currentTarget=Y;try{X(Z)}catch(Q){c0(Q)}Z.currentTarget=null}function qI(Z,X){X=(X&4)!==0;for(var Y=0;Y<Z.length;Y++){var Q=Z[Y];Z:{var G=void 0,H=Q.event;if(Q=Q.listeners,X)for(var U=Q.length-1;0<=U;U--){var B=Q[U],O=B.instance,I=B.currentTarget;if(B=B.listener,O!==G&&H.isPropagationStopped())break Z;O!==null?_Z(O,JL,H,B,I):JL(H,B,I),G=O}else for(U=0;U<Q.length;U++){if(B=Q[U],O=B.instance,I=B.currentTarget,B=B.listener,O!==G&&H.isPropagationStopped())break Z;O!==null?_Z(O,JL,H,B,I):JL(H,B,I),G=O}}}}function qX(Z,X){k9.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[P0];Y===void 0&&(Y=X[P0]=new Set);var Q=Z+"__bubble";Y.has(Q)||(GI(X,Z,2,!1),Y.add(Q))}function nM(Z,X,Y){k9.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 Q=0;X&&(Q|=4),GI(Y,Z,Q,X)}function sM(Z){if(!Z[zA]){Z[zA]=!0,Y4.forEach(function(Y){Y!=="selectionchange"&&(k9.has(Y)||nM(Y,!1,Z),nM(Y,!0,Z))});var X=Z.nodeType===9?Z:Z.ownerDocument;X===null||X[zA]||(X[zA]=!0,nM("selectionchange",!1,X))}}function GI(Z,X,Y,Q){switch(mI(X)){case RQ:var G=S$;break;case LJ:G=E$;break;default:G=W0}Y=G.bind(null,X,Y,Z),G=void 0,!x0||X!=="touchstart"&&X!=="touchmove"&&X!=="wheel"||(G=!0),Q?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 aM(Z,X,Y,Q,G){var H=Q;if((X&1)===0&&(X&2)===0&&Q!==null)Z:for(;;){if(Q===null)return;var U=Q.tag;if(U===3||U===4){var B=Q.stateNode.containerInfo;if(B===G)break;if(U===4)for(U=Q.return;U!==null;){var O=U.tag;if((O===3||O===4)&&U.stateNode.containerInfo===G)return;U=U.return}for(;B!==null;){if(U=wZ(B),U===null)return;if(O=U.tag,O===5||O===6||O===26||O===27){Q=H=U;continue Z}B=B.parentNode}}Q=Q.return}F8(function(){var I=H,k=FF(Y),x=[];Z:{var $=m4.get(Z);if($!==void 0){var d=CL,YZ=Z;switch(Z){case"keypress":if(KB(Y)===0)break Z;case"keydown":case"keyup":d=jS;break;case"focusin":YZ="focus",d=b0;break;case"focusout":YZ="blur",d=b0;break;case"beforeblur":case"afterblur":d=b0;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":d=j4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=BS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=PS;break;case v4:case h4:case b4:d=OS;break;case g4:d=SS;break;case"scroll":case"scrollend":d=US;break;case"wheel":d=kS;break;case"copy":case"cut":case"paste":d=MS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=D4;break;case"toggle":case"beforetoggle":d=yS}var BZ=(X&4)!==0,DX=!BZ&&(Z==="scroll"||Z==="scrollend"),GX=BZ?$!==null?$+"Capture":null:$;BZ=[];for(var P=I,S;P!==null;){var E=P;if(S=E.stateNode,E=E.tag,E!==5&&E!==26&&E!==27||S===null||GX===null||(E=cW(P,GX),E!=null&&BZ.push(KU(P,E,S))),DX)break;P=P.return}0<BZ.length&&($=new d($,YZ,null,Y,k),x.push({event:$,listeners:BZ}))}}if((X&7)===0){Z:{if($=Z==="mouseover"||Z==="pointerover",d=Z==="mouseout"||Z==="pointerout",$&&Y!==VU&&(YZ=Y.relatedTarget||Y.fromElement)&&(wZ(YZ)||YZ[TG]))break Z;if(d||$){if($=k.window===k?k:($=k.ownerDocument)?$.defaultView||$.parentWindow:window,d){if(YZ=Y.relatedTarget||Y.toElement,d=I,YZ=YZ?wZ(YZ):null,YZ!==null&&(DX=n(YZ),BZ=YZ.tag,YZ!==DX||BZ!==5&&BZ!==27&&BZ!==6))YZ=null}else d=null,YZ=I;if(d!==YZ){if(BZ=j4,E="onMouseLeave",GX="onMouseEnter",P="mouse",Z==="pointerout"||Z==="pointerover")BZ=D4,E="onPointerLeave",GX="onPointerEnter",P="pointer";if(DX=d==null?$:uZ(d),S=YZ==null?$:uZ(YZ),$=new BZ(E,P+"leave",d,Y,k),$.target=DX,$.relatedTarget=S,E=null,wZ(k)===I&&(BZ=new BZ(GX,P+"enter",YZ,Y,k),BZ.target=S,BZ.relatedTarget=DX,E=BZ),DX=E,d&&YZ)X:{BZ=rP,GX=d,P=YZ,S=0;for(E=GX;E;E=BZ(E))S++;E=0;for(var o=P;o;o=BZ(o))E++;for(;0<S-E;)GX=BZ(GX),S--;for(;0<E-S;)P=BZ(P),E--;for(;S--;){if(GX===P||P!==null&&GX===P.alternate){BZ=GX;break X}GX=BZ(GX),P=BZ(P)}BZ=null}else BZ=null;d!==null&&HI(x,$,d,BZ,!1),YZ!==null&&DX!==null&&HI(x,DX,YZ,BZ,!0)}}}Z:{if($=I?uZ(I):window,d=$.nodeName&&$.nodeName.toLowerCase(),d==="select"||d==="input"&&$.type==="file")var HZ=R8;else if(w8($))if(x4)HZ=_P;else{HZ=HP;var bZ=GP}else d=$.nodeName,!d||d.toLowerCase()!=="input"||$.type!=="checkbox"&&$.type!=="radio"?I&&uW(I.elementType)&&(HZ=R8):HZ=zP;if(HZ&&(HZ=HZ(Z,I))){V8(x,HZ,Y,k);break Z}bZ&&bZ(Z,$,I),Z==="focusout"&&I&&$.type==="number"&&I.memoizedProps.value!=null&&UF($,"number",$.value)}switch(bZ=I?uZ(I):window,Z){case"focusin":if(w8(bZ)||bZ.contentEditable==="true")F_=bZ,m0=I,SU=null;break;case"focusout":SU=m0=F_=null;break;case"mousedown":f0=!0;break;case"contextmenu":case"mouseup":case"dragend":f0=!1,E8(x,Y,k);break;case"selectionchange":if(gS)break;case"keydown":case"keyup":E8(x,Y,k)}var DZ;if(g0)Z:{switch(Z){case"compositionstart":var VZ="onCompositionStart";break Z;case"compositionend":VZ="onCompositionEnd";break Z;case"compositionupdate":VZ="onCompositionUpdate";break Z}VZ=void 0}else O_?I8(Z,Y)&&(VZ="onCompositionEnd"):Z==="keydown"&&Y.keyCode===P4&&(VZ="onCompositionStart");if(VZ&&($4&&Y.locale!=="ko"&&(O_||VZ!=="onCompositionStart"?VZ==="onCompositionEnd"&&O_&&(DZ=M8()):(wG=k,y0=("value"in wG)?wG.value:wG.textContent,O_=!0)),bZ=qL(I,VZ),0<bZ.length&&(VZ=new C4(VZ,Z,null,Y,k),x.push({event:VZ,listeners:bZ}),DZ?VZ.data=DZ:(DZ=T8(Y),DZ!==null&&(VZ.data=DZ)))),DZ=hS?YP(Z,Y):QP(Z,Y))VZ=qL(I,"onBeforeInput"),0<VZ.length&&(bZ=new IS("onBeforeInput","beforeinput",null,Y,k),x.push({event:bZ,listeners:VZ}),bZ.data=DZ);oP(x,Z,I,Y,k)}qI(x,X)})}function KU(Z,X,Y){return{instance:Z,listener:X,currentTarget:Y}}function qL(Z,X){for(var Y=X+"Capture",Q=[];Z!==null;){var G=Z,H=G.stateNode;if(G=G.tag,G!==5&&G!==26&&G!==27||H===null||(G=cW(Z,Y),G!=null&&Q.unshift(KU(Z,G,H)),G=cW(Z,X),G!=null&&Q.push(KU(Z,G,H))),Z.tag===3)return Q;Z=Z.return}return[]}function rP(Z){if(Z===null)return null;do Z=Z.return;while(Z&&Z.tag!==5&&Z.tag!==27);return Z?Z:null}function HI(Z,X,Y,Q,G){for(var H=X._reactName,U=[];Y!==null&&Y!==Q;){var B=Y,O=B.alternate,I=B.stateNode;if(B=B.tag,O!==null&&O===Q)break;B!==5&&B!==26&&B!==27||I===null||(O=I,G?(I=cW(Y,H),I!=null&&U.unshift(KU(Y,I,O))):G||(I=cW(Y,H),I!=null&&U.push(KU(Y,I,O)))),Y=Y.return}U.length!==0&&Z.push({event:X,listeners:U})}function oM(Z,X){tD(Z,X),Z!=="input"&&Z!=="textarea"&&Z!=="select"||X==null||X.value!==null||V4||(V4=!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:vH,possibleRegistrationNames:$0};uW(Z)||typeof X.is==="string"||ZP(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 UY(Z,X,Y,Q){X!==Y&&(Y=OG(Y),OG(X)!==Y&&(Q[Z]=X))}function tP(Z,X,Y){X.forEach(function(Q){Y[WI(Q)]=Q==="style"?tM(Z):Z.getAttribute(Q)})}function nJ(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 zI(Z,X){return Z=Z.namespaceURI===VL||Z.namespaceURI===K_?Z.ownerDocument.createElementNS(Z.namespaceURI,Z.tagName):Z.ownerDocument.createElement(Z.tagName),Z.innerHTML=X,Z.innerHTML}function OG(Z){return yY(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.",KQ(Z)),oX(Z)),(typeof Z==="string"?Z:""+Z).replace(WE,`
|
|
181
|
+
`).replace(UE,"")}function _I(Z,X){return X=OG(X),OG(Z)===X?!0:!1}function wX(Z,X,Y,Q,G,H){switch(Y){case"children":if(typeof Q==="string")UB(Q,X,!1),X==="body"||X==="textarea"&&Q===""||fW(Z,Q);else if(typeof Q==="number"||typeof Q==="bigint")UB(""+Q,X,!1),X!=="body"&&fW(Z,""+Q);break;case"className":zB(Z,"class",Q);break;case"tabIndex":zB(Z,"tabindex",Q);break;case"dir":case"role":case"viewBox":case"width":case"height":zB(Z,Y,Q);break;case"style":L8(Z,Q,H);break;case"data":if(X!=="object"){zB(Z,"data",Q);break}case"src":case"href":if(Q===""&&(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(Q==null||typeof Q==="function"||typeof Q==="symbol"||typeof Q==="boolean"){Z.removeAttribute(Y);break}CZ(Q,Y),Q=dW(""+Q),Z.setAttribute(Y,Q);break;case"action":case"formAction":if(Q!=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 Q==="function"&&(G.encType==null&&G.method==null||UA||(UA=!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||WA||(WA=!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"||_A?X!=="button"||G.type==null||G.type==="submit"||_A?typeof Q==="function"&&(G.name==null||zT||(zT=!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||UA||(UA=!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||WA||(WA=!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."))):(_A=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(_A=!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 Q==="function"){Z.setAttribute(Y,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof H==="function"&&(Y==="formAction"?(X!=="input"&&wX(Z,X,"name",G.name,G,null),wX(Z,X,"formEncType",G.formEncType,G,null),wX(Z,X,"formMethod",G.formMethod,G,null),wX(Z,X,"formTarget",G.formTarget,G,null)):(wX(Z,X,"encType",G.encType,G,null),wX(Z,X,"method",G.method,G,null),wX(Z,X,"target",G.target,G,null)));if(Q==null||typeof Q==="symbol"||typeof Q==="boolean"){Z.removeAttribute(Y);break}CZ(Q,Y),Q=dW(""+Q),Z.setAttribute(Y,Q);break;case"onClick":Q!=null&&(typeof Q!=="function"&&nJ(Y,Q),Z.onclick=Nq);break;case"onScroll":Q!=null&&(typeof Q!=="function"&&nJ(Y,Q),qX("scroll",Z));break;case"onScrollEnd":Q!=null&&(typeof Q!=="function"&&nJ(Y,Q),qX("scrollend",Z));break;case"dangerouslySetInnerHTML":if(Q!=null){if(typeof Q!=="object"||!("__html"in Q))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=Q.__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=Q&&typeof Q!=="function"&&typeof Q!=="symbol";break;case"muted":Z.muted=Q&&typeof Q!=="function"&&typeof Q!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(Q==null||typeof Q==="function"||typeof Q==="boolean"||typeof Q==="symbol"){Z.removeAttribute("xlink:href");break}CZ(Q,Y),Y=dW(""+Q),Z.setAttributeNS(tH,"xlink:href",Y);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Q!=null&&typeof Q!=="function"&&typeof Q!=="symbol"?(CZ(Q,Y),Z.setAttribute(Y,""+Q)):Z.removeAttribute(Y);break;case"inert":Q!==""||KA[Y]||(KA[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":Q&&typeof Q!=="function"&&typeof Q!=="symbol"?Z.setAttribute(Y,""):Z.removeAttribute(Y);break;case"capture":case"download":Q===!0?Z.setAttribute(Y,""):Q!==!1&&Q!=null&&typeof Q!=="function"&&typeof Q!=="symbol"?(CZ(Q,Y),Z.setAttribute(Y,Q)):Z.removeAttribute(Y);break;case"cols":case"rows":case"size":case"span":Q!=null&&typeof Q!=="function"&&typeof Q!=="symbol"&&!isNaN(Q)&&1<=Q?(CZ(Q,Y),Z.setAttribute(Y,Q)):Z.removeAttribute(Y);break;case"rowSpan":case"start":Q==null||typeof Q==="function"||typeof Q==="symbol"||isNaN(Q)?Z.removeAttribute(Y):(CZ(Q,Y),Z.setAttribute(Y,Q));break;case"popover":qX("beforetoggle",Z),qX("toggle",Z),HB(Z,"popover",Q);break;case"xlinkActuate":Mq(Z,tH,"xlink:actuate",Q);break;case"xlinkArcrole":Mq(Z,tH,"xlink:arcrole",Q);break;case"xlinkRole":Mq(Z,tH,"xlink:role",Q);break;case"xlinkShow":Mq(Z,tH,"xlink:show",Q);break;case"xlinkTitle":Mq(Z,tH,"xlink:title",Q);break;case"xlinkType":Mq(Z,tH,"xlink:type",Q);break;case"xmlBase":Mq(Z,x9,"xml:base",Q);break;case"xmlLang":Mq(Z,x9,"xml:lang",Q);break;case"xmlSpace":Mq(Z,x9,"xml:space",Q);break;case"is":H!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),HB(Z,"is",Q);break;case"innerText":case"textContent":break;case"popoverTarget":_T||Q==null||typeof Q!=="object"||(_T=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",Q));default:!(2<Y.length)||Y[0]!=="o"&&Y[0]!=="O"||Y[1]!=="n"&&Y[1]!=="N"?(Y=A8(Y),HB(Z,Y,Q)):vH.hasOwnProperty(Y)&&Q!=null&&typeof Q!=="function"&&nJ(Y,Q)}}function rM(Z,X,Y,Q,G,H){switch(Y){case"style":L8(Z,Q,H);break;case"dangerouslySetInnerHTML":if(Q!=null){if(typeof Q!=="object"||!("__html"in Q))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=Q.__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 Q==="string"?fW(Z,Q):(typeof Q==="number"||typeof Q==="bigint")&&fW(Z,""+Q);break;case"onScroll":Q!=null&&(typeof Q!=="function"&&nJ(Y,Q),qX("scroll",Z));break;case"onScrollEnd":Q!=null&&(typeof Q!=="function"&&nJ(Y,Q),qX("scrollend",Z));break;case"onClick":Q!=null&&(typeof Q!=="function"&&nJ(Y,Q),Z.onclick=Nq);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(vH.hasOwnProperty(Y))Q!=null&&typeof Q!=="function"&&nJ(Y,Q);else Z:{if(Y[0]==="o"&&Y[1]==="n"&&(G=Y.endsWith("Capture"),X=Y.slice(2,G?Y.length-7:void 0),H=Z[uY]||null,H=H!=null?H[Y]:null,typeof H==="function"&&Z.removeEventListener(X,H,G),typeof Q==="function")){typeof H!=="function"&&H!==null&&(Y in Z?Z[Y]=null:Z.hasAttribute(Y)&&Z.removeAttribute(Y)),Z.addEventListener(X,Q,G);break Z}Y in Z?Z[Y]=Q:Q===!0?Z.setAttribute(Y,""):HB(Z,Y,Q)}}}function VY(Z,X,Y){switch(oM(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 Q=!1,G=!1,H;for(H in Y)if(Y.hasOwnProperty(H)){var U=Y[H];if(U!=null)switch(H){case"src":Q=!0;break;case"srcSet":G=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:wX(Z,X,H,U,Y,null)}}G&&wX(Z,X,"srcSet",Y.srcSet,Y,null),Q&&wX(Z,X,"src",Y.src,Y,null);return;case"input":qG("input",Y),qX("invalid",Z);var B=H=U=G=null,O=null,I=null;for(Q in Y)if(Y.hasOwnProperty(Q)){var k=Y[Q];if(k!=null)switch(Q){case"name":G=k;break;case"type":U=k;break;case"checked":O=k;break;case"defaultChecked":I=k;break;case"value":H=k;break;case"defaultValue":B=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:wX(Z,X,Q,k,Y,null)}}t5(Z,Y),e5(Z,H,B,O,I,U,G,!1);return;case"select":qG("select",Y),qX("invalid",Z),Q=U=H=null;for(G in Y)if(Y.hasOwnProperty(G)&&(B=Y[G],B!=null))switch(G){case"value":H=B;break;case"defaultValue":U=B;break;case"multiple":Q=B;default:wX(Z,X,G,B,Y,null)}Y8(Z,Y),X=H,Y=U,Z.multiple=!!Q,X!=null?cz(Z,!!Q,X,!1):Y!=null&&cz(Z,!!Q,Y,!0);return;case"textarea":qG("textarea",Y),qX("invalid",Z),H=G=Q=null;for(U in Y)if(Y.hasOwnProperty(U)&&(B=Y[U],B!=null))switch(U){case"value":Q=B;break;case"defaultValue":G=B;break;case"children":H=B;break;case"dangerouslySetInnerHTML":if(B!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:wX(Z,X,U,B,Y,null)}Q8(Z,Y),q8(Z,Q,G,H);return;case"option":Z8(Z,Y);for(O in Y)if(Y.hasOwnProperty(O)&&(Q=Y[O],Q!=null))switch(O){case"selected":Z.selected=Q&&typeof Q!=="function"&&typeof Q!=="symbol";break;default:wX(Z,X,O,Q,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(Q=0;Q<GK.length;Q++)qX(GK[Q],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(I in Y)if(Y.hasOwnProperty(I)&&(Q=Y[I],Q!=null))switch(I){case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:wX(Z,X,I,Q,Y,null)}return;default:if(uW(X)){for(k in Y)Y.hasOwnProperty(k)&&(Q=Y[k],Q!==void 0&&rM(Z,X,k,Q,Y,void 0));return}}for(B in Y)Y.hasOwnProperty(B)&&(Q=Y[B],Q!=null&&wX(Z,X,B,Q,Y,null))}function eP(Z,X,Y,Q){switch(oM(X,Q),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var G=null,H=null,U=null,B=null,O=null,I=null,k=null;for(d in Y){var x=Y[d];if(Y.hasOwnProperty(d)&&x!=null)switch(d){case"checked":break;case"value":break;case"defaultValue":O=x;default:Q.hasOwnProperty(d)||wX(Z,X,d,null,Q,x)}}for(var $ in Q){var d=Q[$];if(x=Y[$],Q.hasOwnProperty($)&&(d!=null||x!=null))switch($){case"type":H=d;break;case"name":G=d;break;case"checked":I=d;break;case"defaultChecked":k=d;break;case"value":U=d;break;case"defaultValue":B=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:d!==x&&wX(Z,X,$,d,Q,x)}}X=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,Q=Q.type==="checkbox"||Q.type==="radio"?Q.checked!=null:Q.value!=null,X||!Q||HT||(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"),HT=!0),!X||Q||GT||(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"),GT=!0),WF(Z,U,B,O,I,k,H,G);return;case"select":d=U=B=$=null;for(H in Y)if(O=Y[H],Y.hasOwnProperty(H)&&O!=null)switch(H){case"value":break;case"multiple":d=O;default:Q.hasOwnProperty(H)||wX(Z,X,H,null,Q,O)}for(G in Q)if(H=Q[G],O=Y[G],Q.hasOwnProperty(G)&&(H!=null||O!=null))switch(G){case"value":$=H;break;case"defaultValue":B=H;break;case"multiple":U=H;default:H!==O&&wX(Z,X,G,H,Q,O)}Q=B,X=U,Y=d,$!=null?cz(Z,!!X,$,!1):!!Y!==!!X&&(Q!=null?cz(Z,!!X,Q,!0):cz(Z,!!X,X?[]:"",!1));return;case"textarea":d=$=null;for(B in Y)if(G=Y[B],Y.hasOwnProperty(B)&&G!=null&&!Q.hasOwnProperty(B))switch(B){case"value":break;case"children":break;default:wX(Z,X,B,null,Q,G)}for(U in Q)if(G=Q[U],H=Y[U],Q.hasOwnProperty(U)&&(G!=null||H!=null))switch(U){case"value":$=G;break;case"defaultValue":d=G;break;case"children":break;case"dangerouslySetInnerHTML":if(G!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:G!==H&&wX(Z,X,U,G,Q,H)}J8(Z,$,d);return;case"option":for(var YZ in Y)if($=Y[YZ],Y.hasOwnProperty(YZ)&&$!=null&&!Q.hasOwnProperty(YZ))switch(YZ){case"selected":Z.selected=!1;break;default:wX(Z,X,YZ,null,Q,$)}for(O in Q)if($=Q[O],d=Y[O],Q.hasOwnProperty(O)&&$!==d&&($!=null||d!=null))switch(O){case"selected":Z.selected=$&&typeof $!=="function"&&typeof $!=="symbol";break;default:wX(Z,X,O,$,Q,d)}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 BZ in Y)$=Y[BZ],Y.hasOwnProperty(BZ)&&$!=null&&!Q.hasOwnProperty(BZ)&&wX(Z,X,BZ,null,Q,$);for(I in Q)if($=Q[I],d=Y[I],Q.hasOwnProperty(I)&&$!==d&&($!=null||d!=null))switch(I){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,I,$,Q,d)}return;default:if(uW(X)){for(var DX in Y)$=Y[DX],Y.hasOwnProperty(DX)&&$!==void 0&&!Q.hasOwnProperty(DX)&&rM(Z,X,DX,void 0,Q,$);for(k in Q)$=Q[k],d=Y[k],!Q.hasOwnProperty(k)||$===d||$===void 0&&d===void 0||rM(Z,X,k,$,Q,d);return}}for(var GX in Y)$=Y[GX],Y.hasOwnProperty(GX)&&$!=null&&!Q.hasOwnProperty(GX)&&wX(Z,X,GX,null,Q,$);for(x in Q)$=Q[x],d=Y[x],!Q.hasOwnProperty(x)||$===d||$==null&&d==null||wX(Z,X,x,$,Q,d)}function WI(Z){switch(Z){case"class":return"className";case"for":return"htmlFor";default:return Z}}function tM(Z){var X={};Z=Z.style;for(var Y=0;Y<Z.length;Y++){var Q=Z[Y];X[Q]=Z.getPropertyValue(Q)}return X}function UI(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 Q,G=Q="",H;for(H in X)if(X.hasOwnProperty(H)){var U=X[H];U!=null&&typeof U!=="boolean"&&U!==""&&(H.indexOf("--")===0?(Fq(U,H),Q+=G+H+":"+(""+U).trim()):typeof U!=="number"||U===0||T4.has(H)?(Fq(U,H),Q+=G+H.replace(O4,"-$1").toLowerCase().replace(F4,"-ms-")+":"+(""+U).trim()):Q+=G+H.replace(O4,"-$1").toLowerCase().replace(F4,"-ms-")+":"+U+"px",G=";")}Q=Q||null,X=Z.getAttribute("style"),X!==Q&&(Q=OG(Q),OG(X)!==Q&&(Y.style=tM(Z)))}}function uQ(Z,X,Y,Q,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof Q){case"undefined":case"function":case"symbol":case"boolean":return}else if(Q!=null)switch(typeof Q){case"function":case"symbol":case"boolean":break;default:if(CZ(Q,X),Z===""+Q)return}UY(X,Z,Q,H)}function KI(Z,X,Y,Q,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null){switch(typeof Q){case"function":case"symbol":return}if(!Q)return}else switch(typeof Q){case"function":case"symbol":break;default:if(Q)return}UY(X,Z,Q,H)}function eM(Z,X,Y,Q,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof Q){case"undefined":case"function":case"symbol":return}else if(Q!=null)switch(typeof Q){case"function":case"symbol":break;default:if(CZ(Q,Y),Z===""+Q)return}UY(X,Z,Q,H)}function BI(Z,X,Y,Q,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof Q){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(Q))return}else if(Q!=null)switch(typeof Q){case"function":case"symbol":case"boolean":break;default:if(!isNaN(Q)&&(CZ(Q,X),Z===""+Q))return}UY(X,Z,Q,H)}function Z0(Z,X,Y,Q,G,H){if(G.delete(Y),Z=Z.getAttribute(Y),Z===null)switch(typeof Q){case"undefined":case"function":case"symbol":case"boolean":return}else if(Q!=null)switch(typeof Q){case"function":case"symbol":case"boolean":break;default:if(CZ(Q,X),Y=dW(""+Q),Z===Y)return}UY(X,Z,Q,H)}function LI(Z,X,Y,Q){for(var G={},H=new Set,U=Z.attributes,B=0;B<U.length;B++)switch(U[B].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:H.add(U[B].name)}if(uW(X)){for(var O in Y)if(Y.hasOwnProperty(O)){var I=Y[O];if(I!=null){if(vH.hasOwnProperty(O))typeof I!=="function"&&nJ(O,I);else if(Y.suppressHydrationWarning!==!0)switch(O){case"children":typeof I!=="string"&&typeof I!=="number"||UY("children",Z.textContent,I,G);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":U=Z.innerHTML,I=I?I.__html:void 0,I!=null&&(I=zI(Z,I),UY(O,U,I,G));continue;case"style":H.delete(O),UI(Z,I,G);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":H.delete(O.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",O);continue;case"className":H.delete("class"),U=a5(Z,"class",I),UY("className",U,I,G);continue;default:Q.context===uq&&X!=="svg"&&X!=="math"?H.delete(O.toLowerCase()):H.delete(O),U=a5(Z,O,I),UY(O,U,I,G)}}}}else for(I in Y)if(Y.hasOwnProperty(I)&&(O=Y[I],O!=null)){if(vH.hasOwnProperty(I))typeof O!=="function"&&nJ(I,O);else if(Y.suppressHydrationWarning!==!0)switch(I){case"children":typeof O!=="string"&&typeof O!=="number"||UY("children",Z.textContent,O,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,O=O?O.__html:void 0,O!=null&&(O=zI(Z,O),U!==O&&(G[I]={__html:U}));continue;case"className":uQ(Z,I,"class",O,H,G);continue;case"tabIndex":uQ(Z,I,"tabindex",O,H,G);continue;case"style":H.delete(I),UI(Z,O,G);continue;case"multiple":H.delete(I),UY(I,Z.multiple,O,G);continue;case"muted":H.delete(I),UY(I,Z.muted,O,G);continue;case"autoFocus":H.delete("autofocus"),UY(I,Z.autofocus,O,G);continue;case"data":if(X!=="object"){H.delete(I),U=Z.getAttribute("data"),UY(I,U,O,G);continue}case"src":case"href":if(!(O!==""||X==="a"&&I==="href"||X==="object"&&I==="data")){I==="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.',I,I):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.',I,I);continue}Z0(Z,I,I,O,H,G);continue;case"action":case"formAction":if(U=Z.getAttribute(I),typeof O==="function"){H.delete(I.toLowerCase()),I==="formAction"?(H.delete("name"),H.delete("formenctype"),H.delete("formmethod"),H.delete("formtarget")):(H.delete("enctype"),H.delete("method"),H.delete("target"));continue}else if(U===KE){H.delete(I.toLowerCase()),UY(I,"function",O,G);continue}Z0(Z,I,I.toLowerCase(),O,H,G);continue;case"xlinkHref":Z0(Z,I,"xlink:href",O,H,G);continue;case"contentEditable":eM(Z,I,"contenteditable",O,H,G);continue;case"spellCheck":eM(Z,I,"spellcheck",O,H,G);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":eM(Z,I,I,O,H,G);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":KI(Z,I,I.toLowerCase(),O,H,G);continue;case"capture":case"download":Z:{B=Z;var k=U=I,x=G;if(H.delete(k),B=B.getAttribute(k),B===null)switch(typeof O){case"undefined":case"function":case"symbol":break Z;default:if(O===!1)break Z}else if(O!=null)switch(typeof O){case"function":case"symbol":break;case"boolean":if(O===!0&&B==="")break Z;break;default:if(CZ(O,U),B===""+O)break Z}UY(U,B,O,x)}continue;case"cols":case"rows":case"size":case"span":Z:{if(B=Z,k=U=I,x=G,H.delete(k),B=B.getAttribute(k),B===null)switch(typeof O){case"undefined":case"function":case"symbol":case"boolean":break Z;default:if(isNaN(O)||1>O)break Z}else if(O!=null)switch(typeof O){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(O)||1>O)&&(CZ(O,U),B===""+O))break Z}UY(U,B,O,x)}continue;case"rowSpan":BI(Z,I,"rowspan",O,H,G);continue;case"start":BI(Z,I,I,O,H,G);continue;case"xHeight":uQ(Z,I,"x-height",O,H,G);continue;case"xlinkActuate":uQ(Z,I,"xlink:actuate",O,H,G);continue;case"xlinkArcrole":uQ(Z,I,"xlink:arcrole",O,H,G);continue;case"xlinkRole":uQ(Z,I,"xlink:role",O,H,G);continue;case"xlinkShow":uQ(Z,I,"xlink:show",O,H,G);continue;case"xlinkTitle":uQ(Z,I,"xlink:title",O,H,G);continue;case"xlinkType":uQ(Z,I,"xlink:type",O,H,G);continue;case"xmlBase":uQ(Z,I,"xml:base",O,H,G);continue;case"xmlLang":uQ(Z,I,"xml:lang",O,H,G);continue;case"xmlSpace":uQ(Z,I,"xml:space",O,H,G);continue;case"inert":O!==""||KA[I]||(KA[I]=!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.",I)),KI(Z,I,I,O,H,G);continue;default:if(!(2<I.length)||I[0]!=="o"&&I[0]!=="O"||I[1]!=="n"&&I[1]!=="N"){B=A8(I),U=!1,Q.context===uq&&X!=="svg"&&X!=="math"?H.delete(B.toLowerCase()):(k=I.toLowerCase(),k=RL.hasOwnProperty(k)?RL[k]||null:null,k!==null&&k!==I&&(U=!0,H.delete(k)),H.delete(B));Z:if(k=Z,x=B,B=O,bW(x))if(k.hasAttribute(x))k=k.getAttribute(x),CZ(B,x),B=k===""+B?B:k;else{switch(typeof B){case"function":case"symbol":break Z;case"boolean":if(k=x.toLowerCase().slice(0,5),k!=="data-"&&k!=="aria-")break Z}B=B===void 0?void 0:null}else B=void 0;U||UY(I,B,O,G)}}}return 0<H.size&&Y.suppressHydrationWarning!==!0&&tP(Z,H,G),Object.keys(G).length===0?null:G}function Z$(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 AI(Z){switch(Z){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function X$(){if(typeof performance.getEntriesByType==="function"){for(var Z=0,X=0,Y=performance.getEntriesByType("resource"),Q=0;Q<Y.length;Q++){var G=Y[Q],H=G.transferSize,U=G.initiatorType,B=G.duration;if(H&&B&&AI(U)){U=0,B=G.responseEnd;for(Q+=1;Q<Y.length;Q++){var O=Y[Q],I=O.startTime;if(I>B)break;var{transferSize:k,initiatorType:x}=O;k&&AI(x)&&(O=O.responseEnd,U+=k*(O<B?1:(B-I)/(O-I)))}if(--Q,X+=8*(H+U)/(G.duration/1000),Z++,10<Z)break}}if(0<Z)return X/Z/1e6}return navigator.connection&&(Z=navigator.connection.downlink,typeof Z==="number")?Z:5}function GL(Z){return Z.nodeType===9?Z:Z.ownerDocument}function OI(Z){switch(Z){case K_:return d_;case VL:return LA;default:return uq}}function FI(Z,X){if(Z===uq)switch(X){case"svg":return d_;case"math":return LA;default:return uq}return Z===d_&&X==="foreignObject"?uq:Z}function X0(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 Y$(){var Z=window.event;if(Z&&Z.type==="popstate"){if(Z===b9)return!1;return b9=Z,!0}return b9=null,!1}function BU(){var Z=window.event;return Z&&Z!==_K?Z.type:null}function LU(){var Z=window.event;return Z&&Z!==_K?Z.timeStamp:-1.1}function Q$(Z){setTimeout(function(){throw Z})}function J$(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 q$(){}function G$(Z,X,Y,Q){eP(Z,X,Y,Q),Z[uY]=Q}function MI(Z){fW(Z,"")}function H$(Z,X,Y){Z.nodeValue=Y}function NI(Z){if(!Z.__reactWarnedAboutChildrenConflict){var X=Z[uY]||null;if(X!==null){var Y=fZ(Z);Y!==null&&(typeof X.children==="string"||typeof X.children==="number"?(Z.__reactWarnedAboutChildrenConflict=!0,_Z(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,_Z(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 FG(Z){return Z==="head"}function z$(Z,X){Z.removeChild(X)}function _$(Z,X){(Z.nodeType===9?Z.body:Z.nodeName==="HTML"?Z.ownerDocument.body:Z).removeChild(X)}function II(Z,X){var Y=X,Q=0;do{var G=Y.nextSibling;if(Z.removeChild(Y),G&&G.nodeType===8)if(Y=G.data,Y===zK||Y===BA){if(Q===0){Z.removeChild(G),G_(X);return}Q--}else if(Y===HK||Y===uG||Y===Zz||Y===u_||Y===eH)Q++;else if(Y===LE)AU(Z.ownerDocument.documentElement);else if(Y===OE){Y=Z.ownerDocument.head,AU(Y);for(var H=Y.firstChild;H;){var{nextSibling:U,nodeName:B}=H;H[wU]||B==="SCRIPT"||B==="STYLE"||B==="LINK"&&H.rel.toLowerCase()==="stylesheet"||Y.removeChild(H),H=U}}else Y===AE&&AU(Z.ownerDocument.body);Y=G}while(Y);G_(X)}function TI(Z,X){var Y=Z;Z=0;do{var Q=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||""),Q&&Q.nodeType===8)if(Y=Q.data,Y===zK)if(Z===0)break;else Z--;else Y!==HK&&Y!==uG&&Y!==Zz&&Y!==u_||Z++;Y=Q}while(Y)}function W$(Z){TI(Z,!0)}function U$(Z){Z=Z.style,typeof Z.setProperty==="function"?Z.setProperty("display","none","important"):Z.display="none"}function K$(Z){Z.nodeValue=""}function B$(Z){TI(Z,!1)}function L$(Z,X){X=X[FE],X=X!==void 0&&X!==null&&X.hasOwnProperty("display")?X.display:null,Z.style.display=X==null||typeof X==="boolean"?"":(""+X).trim()}function A$(Z,X){Z.nodeValue=X}function Y0(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":Y0(Y),GZ(Y);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Y.rel.toLowerCase()==="stylesheet")continue}Z.removeChild(Y)}}function O$(Z,X,Y,Q){for(;Z.nodeType===1;){var G=Y;if(Z.nodeName.toLowerCase()!==X.toLowerCase()){if(!Q&&(Z.nodeName!=="INPUT"||Z.type!=="hidden"))break}else if(!Q)if(X==="input"&&Z.type==="hidden"){CZ(G.name,"name");var H=G.name==null?null:""+G.name;if(G.type==="hidden"&&Z.getAttribute("name")===H)return Z}else return Z;else if(!Z[wU])switch(X){case"meta":if(!Z.hasAttribute("itemprop"))break;return Z;case"link":if(H=Z.getAttribute("rel"),H==="stylesheet"&&Z.hasAttribute("data-precedence"))break;else if(H!==G.rel||Z.getAttribute("href")!==(G.href==null||G.href===""?null:G.href)||Z.getAttribute("crossorigin")!==(G.crossOrigin==null?null:G.crossOrigin)||Z.getAttribute("title")!==(G.title==null?null:G.title))break;return Z;case"style":if(Z.hasAttribute("data-precedence"))break;return Z;case"script":if(H=Z.getAttribute("src"),(H!==(G.src==null?null:G.src)||Z.getAttribute("type")!==(G.type==null?null:G.type)||Z.getAttribute("crossorigin")!==(G.crossOrigin==null?null:G.crossOrigin))&&H&&Z.hasAttribute("async")&&!Z.hasAttribute("itemprop"))break;return Z;default:return Z}if(Z=TQ(Z.nextSibling),Z===null)break}return null}function F$(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=TQ(Z.nextSibling),Z===null)return null}return Z}function wI(Z,X){for(;Z.nodeType!==8;){if((Z.nodeType!==1||Z.nodeName!=="INPUT"||Z.type!=="hidden")&&!X)return null;if(Z=TQ(Z.nextSibling),Z===null)return null}return Z}function Q0(Z){return Z.data===uG||Z.data===Zz}function J0(Z){return Z.data===u_||Z.data===uG&&Z.ownerDocument.readyState!==UT}function M$(Z,X){var Y=Z.ownerDocument;if(Z.data===Zz)Z._reactRetry=X;else if(Z.data!==uG||Y.readyState!==UT)X();else{var Q=function(){X(),Y.removeEventListener("DOMContentLoaded",Q)};Y.addEventListener("DOMContentLoaded",Q),Z._reactRetry=Q}}function TQ(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===HK||X===u_||X===uG||X===Zz||X===eH||X===y9||X===WT)break;if(X===zK||X===BA)return null}}return Z}function VI(Z){if(Z.nodeType===1){for(var X=Z.nodeName.toLowerCase(),Y={},Q=Z.attributes,G=0;G<Q.length;G++){var H=Q[G];Y[WI(H.name)]=H.name.toLowerCase()==="style"?tM(Z):H.value}return{type:X,props:Y}}return Z.nodeType===8?Z.data===eH?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:Z.nodeValue}function RI(Z,X,Y){return Y===null||Y[BE]!==!0?(Z.nodeValue===X?Z=null:(X=OG(X),Z=OG(Z.nodeValue)===X?null:Z.nodeValue),Z):null}function q0(Z){Z=Z.nextSibling;for(var X=0;Z;){if(Z.nodeType===8){var Y=Z.data;if(Y===zK||Y===BA){if(X===0)return TQ(Z.nextSibling);X--}else Y!==HK&&Y!==u_&&Y!==uG&&Y!==Zz&&Y!==eH||X++}Z=Z.nextSibling}return null}function jI(Z){Z=Z.previousSibling;for(var X=0;Z;){if(Z.nodeType===8){var Y=Z.data;if(Y===HK||Y===u_||Y===uG||Y===Zz||Y===eH){if(X===0)return Z;X--}else Y!==zK&&Y!==BA||X++}Z=Z.previousSibling}return null}function N$(Z){G_(Z)}function I$(Z){G_(Z)}function T$(Z){G_(Z)}function CI(Z,X,Y,Q,G){switch(G&&OF(Z,Q.ancestorInfo),X=GL(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 w$(Z,X,Y,Q){if(!Y[TG]&&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]);VY(Y,Z,X),Y[RY]=Q,Y[uY]=X}function AU(Z){for(var X=Z.attributes;X.length;)Z.removeAttributeNode(X[0]);GZ(Z)}function HL(Z){return typeof Z.getRootNode==="function"?Z.getRootNode():Z.nodeType===9?Z:Z.ownerDocument}function DI(Z,X,Y){var Q=c_;if(Q&&typeof X==="string"&&X){var G=fQ(X);G='link[rel="'+Z+'"][href="'+G+'"]',typeof Y==="string"&&(G+='[crossorigin="'+Y+'"]'),FT.has(G)||(FT.add(G),Z={rel:Z,crossOrigin:Y,href:X},Q.querySelector(G)===null&&(X=Q.createElement("link"),VY(X,"link",Z),$Z(X),Q.head.appendChild(X)))}}function PI(Z,X,Y,Q){var G=(G=NG.current)?HL(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=J_(Y.href),X=WX(G).hoistableStyles,Q=X.get(Y),Q||(Q={type:"style",instance:null,count:0,state:null},X.set(Y,Q)),Q):{type:"void",instance:null,count:0,state:null};case"link":if(Y.rel==="stylesheet"&&typeof Y.href==="string"&&typeof Y.precedence==="string"){Z=J_(Y.href);var H=WX(G).hoistableStyles,U=H.get(Z);if(!U&&(G=G.ownerDocument||G,U={type:"stylesheet",instance:null,count:0,state:{loading:Yz,preload:null}},H.set(Z,U),(H=G.querySelector(OU(Z)))&&!H._p&&(U.instance=H,U.state.loading=WK|tQ),!eQ.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};eQ.set(Z,B),H||V$(G,Z,B,U.state)}if(X&&Q===null)throw Y=`
|
|
182
|
+
|
|
183
|
+
- `+zL(X)+`
|
|
184
|
+
+ `+zL(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&&Q!==null)throw Y=`
|
|
185
|
+
|
|
186
|
+
- `+zL(X)+`
|
|
187
|
+
+ `+zL(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=q_(Y),X=WX(G).hoistableScripts,Q=X.get(Y),Q||(Q={type:"script",instance:null,count:0,state:null},X.set(Y,Q)),Q):{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 zL(Z){var X=0,Y="<link";return typeof Z.rel==="string"?(X++,Y+=' rel="'+Z.rel+'"'):BJ.call(Z,"rel")&&(X++,Y+=' rel="'+(Z.rel===null?"null":"invalid type "+typeof Z.rel)+'"'),typeof Z.href==="string"?(X++,Y+=' href="'+Z.href+'"'):BJ.call(Z,"href")&&(X++,Y+=' href="'+(Z.href===null?"null":"invalid type "+typeof Z.href)+'"'),typeof Z.precedence==="string"?(X++,Y+=' precedence="'+Z.precedence+'"'):BJ.call(Z,"precedence")&&(X++,Y+=" precedence={"+(Z.precedence===null?"null":"invalid type "+typeof Z.precedence)+"}"),Object.getOwnPropertyNames(Z).length>X&&(Y+=" ..."),Y+" />"}function J_(Z){return'href="'+fQ(Z)+'"'}function OU(Z){return'link[rel="stylesheet"]['+Z+"]"}function $I(Z){return rZ({},Z,{"data-precedence":Z.precedence,precedence:null})}function V$(Z,X,Y,Q){Z.querySelector('link[rel="preload"][as="style"]['+X+"]")?Q.loading=WK:(X=Z.createElement("link"),Q.preload=X,X.addEventListener("load",function(){return Q.loading|=WK}),X.addEventListener("error",function(){return Q.loading|=AT}),VY(X,"link",Y),$Z(X),Z.head.appendChild(X))}function q_(Z){return'[src="'+fQ(Z)+'"]'}function FU(Z){return"script[async]"+Z}function SI(Z,X,Y){if(X.count++,X.instance===null)switch(X.type){case"style":var Q=Z.querySelector('style[data-href~="'+fQ(Y.href)+'"]');if(Q)return X.instance=Q,$Z(Q),Q;var G=rZ({},Y,{"data-href":Y.href,"data-precedence":Y.precedence,href:null,precedence:null});return Q=(Z.ownerDocument||Z).createElement("style"),$Z(Q),VY(Q,"style",G),_L(Q,Y.precedence,Z),X.instance=Q;case"stylesheet":G=J_(Y.href);var H=Z.querySelector(OU(G));if(H)return X.state.loading|=tQ,X.instance=H,$Z(H),H;Q=$I(Y),(G=eQ.get(G))&&G0(Q,G),H=(Z.ownerDocument||Z).createElement("link"),$Z(H);var U=H;return U._p=new Promise(function(B,O){U.onload=B,U.onerror=O}),VY(H,"link",Q),X.state.loading|=tQ,_L(H,Y.precedence,Z),X.instance=H;case"script":if(H=q_(Y.src),G=Z.querySelector(FU(H)))return X.instance=G,$Z(G),G;if(Q=Y,G=eQ.get(H))Q=rZ({},Y),H0(Q,G);return Z=Z.ownerDocument||Z,G=Z.createElement("script"),$Z(G),VY(G,"link",Q),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&tQ)===Yz&&(Q=X.instance,X.state.loading|=tQ,_L(Q,Y.precedence,Z));return X.instance}function _L(Z,X,Y){for(var Q=Y.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),G=Q.length?Q[Q.length-1]:null,H=G,U=0;U<Q.length;U++){var B=Q[U];if(B.dataset.precedence===X)H=B;else if(H!==G)break}H?H.parentNode.insertBefore(Z,H.nextSibling):(X=Y.nodeType===9?Y.head:Y,X.insertBefore(Z,X.firstChild))}function G0(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.title==null&&(Z.title=X.title)}function H0(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.integrity==null&&(Z.integrity=X.integrity)}function EI(Z,X,Y){if(AA===null){var Q=new Map,G=AA=new Map;G.set(Y,Q)}else G=AA,Q=G.get(Y),Q||(Q=new Map,G.set(Y,Q));if(Q.has(Z))return Q;Q.set(Z,null),Y=Y.getElementsByTagName(Z);for(G=0;G<Y.length;G++){var H=Y[G];if(!(H[wU]||H[RY]||Z==="link"&&H.getAttribute("rel")==="stylesheet")&&H.namespaceURI!==K_){var U=H.getAttribute(X)||"";U=Z+U;var B=Q.get(U);B?B.push(H):Q.set(U,[H])}}return Q}function kI(Z,X,Y){Z=Z.ownerDocument||Z,Z.head.insertBefore(Y,X==="title"?Z.querySelector("head > title"):null)}function R$(Z,X,Y){var Q=!Y.ancestorInfo.containerTagInScope;if(Y.context===d_||X.itemProp!=null)return!Q||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===""){Q&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof X.rel!=="string"||typeof X.href!=="string"||X.href===""||X.onLoad||X.onError){if(X.rel==="stylesheet"&&typeof X.precedence==="string"){Z=X.href;var{onError:G,disabled:H}=X;Y=[],X.onLoad&&Y.push("`onLoad`"),G&&Y.push("`onError`"),H!=null&&Y.push("`disabled`"),G=Z$(Y,"and"),G+=Y.length===1?" prop":" props",H=Y.length===1?"an "+G:"the "+G,Y.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',Z,H,G)}Q&&(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"&&Q&&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"){Q&&(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":Q&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",Z)}return!1}function xI(Z){return Z.type==="stylesheet"&&(Z.state.loading&OT)===Yz?!1:!0}function j$(Z,X,Y,Q){if(Y.type==="stylesheet"&&(typeof Q.media!=="string"||matchMedia(Q.media).matches!==!1)&&(Y.state.loading&tQ)===Yz){if(Y.instance===null){var G=J_(Q.href),H=X.querySelector(OU(G));if(H){X=H._p,X!==null&&typeof X==="object"&&typeof X.then==="function"&&(Z.count++,Z=WL.bind(Z),X.then(Z,Z)),Y.state.loading|=tQ,Y.instance=H,$Z(H);return}H=X.ownerDocument||X,Q=$I(Q),(G=eQ.get(G))&&G0(Q,G),H=H.createElement("link"),$Z(H);var U=H;U._p=new Promise(function(B,O){U.onload=B,U.onerror=O}),VY(H,"link",Q),Y.instance=H}Z.stylesheets===null&&(Z.stylesheets=new Map),Z.stylesheets.set(Y,X),(X=Y.state.preload)&&(Y.state.loading&OT)===Yz&&(Z.count++,Y=WL.bind(Z),X.addEventListener("load",Y),X.addEventListener("error",Y))}}function C$(Z,X){return Z.stylesheets&&Z.count===0&&UL(Z,Z.stylesheets),0<Z.count||0<Z.imgCount?function(Y){var Q=setTimeout(function(){if(Z.stylesheets&&UL(Z,Z.stylesheets),Z.unsuspend){var H=Z.unsuspend;Z.unsuspend=null,H()}},IE+X);0<Z.imgBytes&&m9===0&&(m9=125*X$()*wE);var G=setTimeout(function(){if(Z.waitingForImages=!1,Z.count===0&&(Z.stylesheets&&UL(Z,Z.stylesheets),Z.unsuspend)){var H=Z.unsuspend;Z.unsuspend=null,H()}},(Z.imgBytes>m9?50:TE)+X);return Z.unsuspend=Y,function(){Z.unsuspend=null,clearTimeout(Q),clearTimeout(G)}}:null}function WL(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)UL(this,this.stylesheets);else if(this.unsuspend){var Z=this.unsuspend;this.unsuspend=null,Z()}}}function UL(Z,X){Z.stylesheets=null,Z.unsuspend!==null&&(Z.count++,OA=new Map,X.forEach(D$,Z),OA=null,WL.call(Z))}function D$(Z,X){if(!(X.state.loading&tQ)){var Y=OA.get(Z);if(Y)var Q=Y.get(f9);else{Y=new Map,OA.set(Z,Y);for(var G=Z.querySelectorAll("link[data-precedence],style[data-precedence]"),H=0;H<G.length;H++){var U=G[H];if(U.nodeName==="LINK"||U.getAttribute("media")!=="not all")Y.set(U.dataset.precedence,U),Q=U}Q&&Y.set(f9,Q)}G=X.instance,U=G.getAttribute("data-precedence"),H=Y.get(U)||Q,H===Q&&Y.set(f9,G),Y.set(U,G),this.count++,Q=WL.bind(this),G.addEventListener("load",Q),G.addEventListener("error",Q),H?H.parentNode.insertBefore(G,H.nextSibling):(Z=Z.nodeType===9?Z.head:Z,Z.insertBefore(G,Z.firstChild)),X.state.loading|=tQ}}function P$(Z,X,Y,Q,G,H,U,B,O){this.tag=1,this.containerInfo=Z,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Xz,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=dz(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=dz(0),this.hiddenUpdates=dz(null),this.identifierPrefix=Q,this.onUncaughtError=G,this.onCaughtError=H,this.onRecoverableError=U,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=O,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 yI(Z,X,Y,Q,G,H,U,B,O,I,k,x){return Z=new P$(Z,X,Y,U,O,I,k,x,B),X=nS,H===!0&&(X|=gY|AJ),X|=iZ,H=R(3,null,null,X),Z.current=H,H.stateNode=Z,X=vF(),PH(X),Z.pooledCache=X,PH(X),H.memoizedState={element:Q,isDehydrated:Y,cache:X},fF(H),Z}function vI(Z){if(!Z)return jG;return Z=jG,Z}function z0(Z,X,Y,Q,G,H){if(bY&&typeof bY.onScheduleFiberRoot==="function")try{bY.onScheduleFiberRoot(W_,Q,Y)}catch(U){rJ||(rJ=!0,console.error("React instrumentation encountered an error: %o",U))}G=vI(G),Q.context===null?Q.context=G:Q.pendingContext=G,oJ&&VQ!==null&&!TT&&(TT=!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.`,a(VQ)||"Unknown")),Q=WG(X),Q.payload={element:Y},H=H===void 0?null:H,H!==null&&(typeof H!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",H),Q.callback=H),Y=UG(Z,Q,X),Y!==null&&(vJ(X,"root.render()",null),gX(Y,Z,X),rW(Y,Z,X))}function hI(Z,X){if(Z=Z.memoizedState,Z!==null&&Z.dehydrated!==null){var Y=Z.retryLane;Z.retryLane=Y!==0&&Y<X?Y:X}}function _0(Z,X){hI(Z,X),(Z=Z.alternate)&&hI(Z,X)}function bI(Z){if(Z.tag===13||Z.tag===31){var X=hY(Z,67108864);X!==null&&gX(X,Z,67108864),_0(Z,67108864)}}function gI(Z){if(Z.tag===13||Z.tag===31){var X=IQ(Z);X=NH(X);var Y=hY(Z,X);Y!==null&&gX(Y,Z,X),_0(Z,X)}}function $$(){return VQ}function S$(Z,X,Y,Q){var G=i.T;i.T=null;var H=OX.p;try{OX.p=RQ,W0(Z,X,Y,Q)}finally{OX.p=H,i.T=G}}function E$(Z,X,Y,Q){var G=i.T;i.T=null;var H=OX.p;try{OX.p=LJ,W0(Z,X,Y,Q)}finally{OX.p=H,i.T=G}}function W0(Z,X,Y,Q){if(MA){var G=U0(Q);if(G===null)aM(Z,X,Q,NA,Y),fI(Z,Q);else if(k$(G,Z,X,Y,Q))Q.stopPropagation();else if(fI(Z,Q),X&4&&-1<RE.indexOf(Z)){for(;G!==null;){var H=fZ(G);if(H!==null)switch(H.tag){case 3:if(H=H.stateNode,H.current.memoizedState.isDehydrated){var U=EJ(H.pendingLanes);if(U!==0){var B=H;B.pendingLanes|=2;for(B.entangledLanes|=2;U;){var O=1<<31-fY(U);B.entanglements[1]|=O,U&=~O}iJ(H),(zX&(_Y|PQ))===AY&&(XA=KY()+a7,UU(0,!1))}}break;case 31:case 13:B=hY(H,2),B!==null&&gX(B,H,2),X_(),_0(H,2)}if(H=U0(Q),H===null&&aM(Z,X,Q,NA,Y),H===G)break;G=H}G!==null&&Q.stopPropagation()}else aM(Z,X,Q,null,Y)}}function U0(Z){return Z=FF(Z),K0(Z)}function K0(Z){if(NA=null,Z=wZ(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 NA=Z,null}function mI(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 RQ;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 LJ;case"message":switch(u$()){case j0:return RQ;case C0:return LJ;case __:case d$:return eJ;case D0:return TL;default:return eJ}default:return eJ}}function fI(Z,X){switch(Z){case"focusin":case"focusout":dG=null;break;case"dragenter":case"dragleave":cG=null;break;case"mouseover":case"mouseout":pG=null;break;case"pointerover":case"pointerout":KK.delete(X.pointerId);break;case"gotpointercapture":case"lostpointercapture":BK.delete(X.pointerId)}}function MU(Z,X,Y,Q,G,H){if(Z===null||Z.nativeEvent!==H)return Z={blockedOn:X,domEventName:Y,eventSystemFlags:Q,nativeEvent:H,targetContainers:[G]},X!==null&&(X=fZ(X),X!==null&&bI(X)),Z;return Z.eventSystemFlags|=Q,X=Z.targetContainers,G!==null&&X.indexOf(G)===-1&&X.push(G),Z}function k$(Z,X,Y,Q,G){switch(X){case"focusin":return dG=MU(dG,Z,X,Y,Q,G),!0;case"dragenter":return cG=MU(cG,Z,X,Y,Q,G),!0;case"mouseover":return pG=MU(pG,Z,X,Y,Q,G),!0;case"pointerover":var H=G.pointerId;return KK.set(H,MU(KK.get(H)||null,Z,X,Y,Q,G)),!0;case"gotpointercapture":return H=G.pointerId,BK.set(H,MU(BK.get(H)||null,Z,X,Y,Q,G)),!0}return!1}function uI(Z){var X=wZ(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,XZ(Z.priority,function(){gI(Y)});return}}else if(X===31){if(X=JZ(Y),X!==null){Z.blockedOn=X,XZ(Z.priority,function(){gI(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 KL(Z){if(Z.blockedOn!==null)return!1;for(var X=Z.targetContainers;0<X.length;){var Y=U0(Z.nativeEvent);if(Y===null){Y=Z.nativeEvent;var Q=new Y.constructor(Y.type,Y),G=Q;VU!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),VU=G,Y.target.dispatchEvent(Q),VU===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."),VU=null}else return X=fZ(Y),X!==null&&bI(X),Z.blockedOn=Y,!1;X.shift()}return!0}function dI(Z,X,Y){KL(Z)&&Y.delete(X)}function x$(){u9=!1,dG!==null&&KL(dG)&&(dG=null),cG!==null&&KL(cG)&&(cG=null),pG!==null&&KL(pG)&&(pG=null),KK.forEach(dI),BK.forEach(dI)}function BL(Z,X){Z.blockedOn===X&&(Z.blockedOn=null,u9||(u9=!0,UX.unstable_scheduleCallback(UX.unstable_NormalPriority,x$)))}function cI(Z){IA!==Z&&(IA=Z,UX.unstable_scheduleCallback(UX.unstable_NormalPriority,function(){IA===Z&&(IA=null);for(var X=0;X<Z.length;X+=3){var Y=Z[X],Q=Z[X+1],G=Z[X+2];if(typeof Q!=="function")if(K0(Q||Y)===null)continue;else break;var H=fZ(Y);H!==null&&(Z.splice(X,3),X-=3,Y={pending:!0,data:G,method:Y.method,action:Q},Object.freeze(Y),KM(H,Y,Q,G))}}))}function G_(Z){function X(O){return BL(O,Z)}dG!==null&&BL(dG,Z),cG!==null&&BL(cG,Z),pG!==null&&BL(pG,Z),KK.forEach(X),BK.forEach(X);for(var Y=0;Y<lG.length;Y++){var Q=lG[Y];Q.blockedOn===Z&&(Q.blockedOn=null)}for(;0<lG.length&&(Y=lG[0],Y.blockedOn===null);)uI(Y),Y.blockedOn===null&&lG.shift();if(Y=(Z.ownerDocument||Z).$$reactFormReplay,Y!=null)for(Q=0;Q<Y.length;Q+=3){var G=Y[Q],H=Y[Q+1],U=G[uY]||null;if(typeof H==="function")U||cI(Y);else if(U){var B=null;if(H&&H.hasAttribute("formAction")){if(G=H,U=H[uY]||null)B=U.formAction;else if(K0(G)!==null)continue}else B=U.action;typeof B==="function"?Y[Q+1]=B:(Y.splice(Q,3),Q-=3),cI(Y)}}}function pI(){function Z(H){H.canIntercept&&H.info==="react-transition"&&H.intercept({handler:function(){return new Promise(function(U){return G=U})},focusReset:"manual",scroll:"manual"})}function X(){G!==null&&(G(),G=null),Q||setTimeout(Y,20)}function Y(){if(!Q&&!navigation.transition){var H=navigation.currentEntry;H&&H.url!=null&&navigation.navigate(H.url,{state:H.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var Q=!1,G=null;return navigation.addEventListener("navigate",Z),navigation.addEventListener("navigatesuccess",X),navigation.addEventListener("navigateerror",X),setTimeout(Y,100),function(){Q=!0,navigation.removeEventListener("navigate",Z),navigation.removeEventListener("navigatesuccess",X),navigation.removeEventListener("navigateerror",X),G!==null&&(G(),G=null)}}}function B0(Z){this._internalRoot=Z}function LL(Z){this._internalRoot=Z}function lI(Z){Z[TG]&&(Z._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var rZ=Object.assign,y$=Symbol.for("react.element"),sJ=Symbol.for("react.transitional.element"),H_=Symbol.for("react.portal"),z_=Symbol.for("react.fragment"),AL=Symbol.for("react.strict_mode"),L0=Symbol.for("react.profiler"),A0=Symbol.for("react.consumer"),aJ=Symbol.for("react.context"),NU=Symbol.for("react.forward_ref"),O0=Symbol.for("react.suspense"),F0=Symbol.for("react.suspense_list"),OL=Symbol.for("react.memo"),wQ=Symbol.for("react.lazy"),M0=Symbol.for("react.activity"),v$=Symbol.for("react.memo_cache_sentinel"),iI=Symbol.iterator,h$=Symbol.for("react.client.reference"),HY=Array.isArray,i=o_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,OX=Q3.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,b$=Object.freeze({pending:!1,data:null,method:null,action:null}),N0=[],I0=[],Dq=-1,MG=LZ(null),IU=LZ(null),NG=LZ(null),FL=LZ(null),TU=0,nI,sI,aI,oI,rI,tI,eI;V.__reactDisabledLog=!0;var T0,Z4,w0=!1,V0=new(typeof WeakMap==="function"?WeakMap:Map),VQ=null,oJ=!1,BJ=Object.prototype.hasOwnProperty,R0=UX.unstable_scheduleCallback,g$=UX.unstable_cancelCallback,m$=UX.unstable_shouldYield,f$=UX.unstable_requestPaint,KY=UX.unstable_now,u$=UX.unstable_getCurrentPriorityLevel,j0=UX.unstable_ImmediatePriority,C0=UX.unstable_UserBlockingPriority,__=UX.unstable_NormalPriority,d$=UX.unstable_LowPriority,D0=UX.unstable_IdlePriority,c$=UX.log,p$=UX.unstable_setDisableYieldValue,W_=null,bY=null,rJ=!1,tJ=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",fY=Math.clz32?Math.clz32:qB,l$=Math.log,i$=Math.LN2,ML=256,NL=262144,IL=4194304,RQ=2,LJ=8,eJ=32,TL=268435456,IG=Math.random().toString(36).slice(2),RY="__reactFiber$"+IG,uY="__reactProps$"+IG,TG="__reactContainer$"+IG,P0="__reactEvents$"+IG,n$="__reactListeners$"+IG,s$="__reactHandles$"+IG,X4="__reactResources$"+IG,wU="__reactMarker$"+IG,Y4=new Set,vH={},$0={},a$={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},o$=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]*$"),Q4={},J4={},r$=/[\n"\\]/g,q4=!1,G4=!1,H4=!1,z4=!1,_4=!1,W4=!1,U4=["value","defaultValue"],K4=!1,B4=/["'&<>\n\t]|^\s|\s$/,t$="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(" "),L4="applet caption html table td th marquee object template foreignObject desc title".split(" "),e$=L4.concat(["button"]),ZS="dd dt li option optgroup p rp rt".split(" "),A4={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},wL={},S0={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"]},O4=/([A-Z])/g,F4=/^ms-/,XS=/^(?:webkit|moz|o)[A-Z]/,YS=/^-ms-/,QS=/-(.)/g,M4=/;\s*$/,U_={},E0={},N4=!1,I4=!1,T4=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(" ")),VL="http://www.w3.org/1998/Math/MathML",K_="http://www.w3.org/2000/svg",JS=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"]]),RL={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"},w4={"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},B_={},qS=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]*$"),GS=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]*$"),V4=!1,dY={},R4=/^on./,HS=/^on[^A-Z]/,zS=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]*$"),_S=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]*$"),WS=/^[\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,VU=null,L_=null,A_=null,k0=!1,Zq=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),x0=!1;if(Zq)try{var RU={};Object.defineProperty(RU,"passive",{get:function(){x0=!0}}),window.addEventListener("test",RU,RU),window.removeEventListener("test",RU,RU)}catch(Z){x0=!1}var wG=null,y0=null,jL=null,hH={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(Z){return Z.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},CL=oY(hH),jU=rZ({},hH,{view:0,detail:0}),US=oY(jU),v0,h0,CU,DL=rZ({},jU,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:MF,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!==CU&&(CU&&Z.type==="mousemove"?(v0=Z.screenX-CU.screenX,h0=Z.screenY-CU.screenY):h0=v0=0,CU=Z),v0},movementY:function(Z){return"movementY"in Z?Z.movementY:h0}}),j4=oY(DL),KS=rZ({},DL,{dataTransfer:0}),BS=oY(KS),LS=rZ({},jU,{relatedTarget:0}),b0=oY(LS),AS=rZ({},hH,{animationName:0,elapsedTime:0,pseudoElement:0}),OS=oY(AS),FS=rZ({},hH,{clipboardData:function(Z){return"clipboardData"in Z?Z.clipboardData:window.clipboardData}}),MS=oY(FS),NS=rZ({},hH,{data:0}),C4=oY(NS),IS=C4,TS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wS={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"},VS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},RS=rZ({},jU,{key:function(Z){if(Z.key){var X=TS[Z.key]||Z.key;if(X!=="Unidentified")return X}return Z.type==="keypress"?(Z=KB(Z),Z===13?"Enter":String.fromCharCode(Z)):Z.type==="keydown"||Z.type==="keyup"?wS[Z.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:MF,charCode:function(Z){return Z.type==="keypress"?KB(Z):0},keyCode:function(Z){return Z.type==="keydown"||Z.type==="keyup"?Z.keyCode:0},which:function(Z){return Z.type==="keypress"?KB(Z):Z.type==="keydown"||Z.type==="keyup"?Z.keyCode:0}}),jS=oY(RS),CS=rZ({},DL,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),D4=oY(CS),DS=rZ({},jU,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:MF}),PS=oY(DS),$S=rZ({},hH,{propertyName:0,elapsedTime:0,pseudoElement:0}),SS=oY($S),ES=rZ({},DL,{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}),kS=oY(ES),xS=rZ({},hH,{newState:0,oldState:0}),yS=oY(xS),vS=[9,13,27,32],P4=229,g0=Zq&&"CompositionEvent"in window,DU=null;Zq&&"documentMode"in document&&(DU=document.documentMode);var hS=Zq&&"TextEvent"in window&&!DU,$4=Zq&&(!g0||DU&&8<DU&&11>=DU),S4=32,E4=String.fromCharCode(S4),k4=!1,O_=!1,bS={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},PU=null,$U=null,x4=!1;Zq&&(x4=JP("input")&&(!document.documentMode||9<document.documentMode));var cY=typeof Object.is==="function"?Object.is:WP,gS=Zq&&"documentMode"in document&&11>=document.documentMode,F_=null,m0=null,SU=null,f0=!1,M_={animationend:TH("Animation","AnimationEnd"),animationiteration:TH("Animation","AnimationIteration"),animationstart:TH("Animation","AnimationStart"),transitionrun:TH("Transition","TransitionRun"),transitionstart:TH("Transition","TransitionStart"),transitioncancel:TH("Transition","TransitionCancel"),transitionend:TH("Transition","TransitionEnd")},u0={},y4={};Zq&&(y4=document.createElement("div").style,("AnimationEvent"in window)||(delete M_.animationend.animation,delete M_.animationiteration.animation,delete M_.animationstart.animation),("TransitionEvent"in window)||delete M_.transitionend.transition);var v4=wH("animationend"),h4=wH("animationiteration"),b4=wH("animationstart"),mS=wH("transitionrun"),fS=wH("transitionstart"),uS=wH("transitioncancel"),g4=wH("transitionend"),m4=new Map,d0="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(" ");d0.push("scrollEnd");var f4=0;if(typeof performance==="object"&&typeof performance.now==="function")var dS=performance,u4=function(){return dS.now()};else{var cS=Date;u4=function(){return cS.now()}}var c0=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)},pS="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.",PL=0,p0=1,l0=2,i0=3,$L="– ",SL="+ ",d4=" ",PX=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",dQ="Components ⚛",tZ="Scheduler ⚛",eZ="Blocking",VG=!1,Pq={color:"primary",properties:null,tooltipText:"",track:dQ},RG={start:-0,end:-0,detail:{devtools:Pq}},lS=["Changed Props",""],c4="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",iS=["Changed Props",c4],EU=1,$q=2,cQ=[],N_=0,n0=0,jG={};Object.freeze(jG);var pQ=null,I_=null,vZ=0,nS=1,iZ=2,gY=8,AJ=16,sS=32,p4=!1;try{var l4=Object.preventExtensions({})}catch(Z){p4=!0}var s0=new WeakMap,T_=[],w_=0,EL=null,kU=0,lQ=[],iQ=0,bH=null,Sq=1,Eq="",jY=null,$X=null,QX=!1,Xq=!1,jQ=null,CG=null,nQ=!1,a0=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."),o0=LZ(null),r0=LZ(null),i4={},kL=null,V_=null,R_=!1,aS=typeof AbortController<"u"?AbortController:function(){var Z=[],X=this.signal={aborted:!1,addEventListener:function(Y,Q){Z.push(Q)}};this.abort=function(){X.aborted=!0,Z.forEach(function(Y){return Y()})}},oS=UX.unstable_scheduleCallback,rS=UX.unstable_NormalPriority,rX={$$typeof:aJ,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},tX=UX.unstable_now,xL=console.createTask?console.createTask:function(){return null},xU=1,yL=2,BY=-0,DG=-0,kq=-0,xq=null,pY=-1.1,gH=-0,hX=-0,SZ=-1.1,xZ=-1.1,xX=null,mX=!1,PG=-0,Yq=-1.1,yU=null,$G=0,t0=null,e0=null,mH=-1.1,vU=null,j_=-1.1,vL=-1.1,Qq=-0,yq=-1.1,sQ=-1.1,Z9=0,hU=null,n4=null,s4=null,SG=-1.1,fH=null,EG=-1.1,hL=-1.1,a4=-0,o4=-0,bL=0,vq=null,r4=0,bU=-1.1,gL=!1,mL=!1,gU=null,X9=0,uH=0,C_=null,t4=i.S;i.S=function(Z,X){if(n7=KY(),typeof X==="object"&&X!==null&&typeof X.then==="function"){if(0>yq&&0>sQ){yq=tX();var Y=LU(),Q=BU();if(Y!==EG||Q!==fH)EG=-1.1;SG=Y,fH=Q}FP(Z,X)}t4!==null&&t4(Z,X)};var dH=LZ(null),OJ={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},mU=[],fU=[],uU=[],dU=[],cU=[],pU=[],cH=new Set;OJ.recordUnsafeLifecycleWarnings=function(Z,X){cH.has(Z.type)||(typeof X.componentWillMount==="function"&&X.componentWillMount.__suppressDeprecationWarning!==!0&&mU.push(Z),Z.mode&gY&&typeof X.UNSAFE_componentWillMount==="function"&&fU.push(Z),typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&uU.push(Z),Z.mode&gY&&typeof X.UNSAFE_componentWillReceiveProps==="function"&&dU.push(Z),typeof X.componentWillUpdate==="function"&&X.componentWillUpdate.__suppressDeprecationWarning!==!0&&cU.push(Z),Z.mode&gY&&typeof X.UNSAFE_componentWillUpdate==="function"&&pU.push(Z))},OJ.flushPendingUnsafeLifecycleWarnings=function(){var Z=new Set;0<mU.length&&(mU.forEach(function(B){Z.add(a(B)||"Component"),cH.add(B.type)}),mU=[]);var X=new Set;0<fU.length&&(fU.forEach(function(B){X.add(a(B)||"Component"),cH.add(B.type)}),fU=[]);var Y=new Set;0<uU.length&&(uU.forEach(function(B){Y.add(a(B)||"Component"),cH.add(B.type)}),uU=[]);var Q=new Set;0<dU.length&&(dU.forEach(function(B){Q.add(a(B)||"Component"),cH.add(B.type)}),dU=[]);var G=new Set;0<cU.length&&(cU.forEach(function(B){G.add(a(B)||"Component"),cH.add(B.type)}),cU=[]);var H=new Set;if(0<pU.length&&(pU.forEach(function(B){H.add(a(B)||"Component"),cH.add(B.type)}),pU=[]),0<X.size){var U=M(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<Q.size&&(U=M(Q),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
194
|
+
|
|
195
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
197
|
+
|
|
198
|
+
Please update the following components: %s`,U)),0<H.size&&(U=M(H),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
199
|
+
|
|
200
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
201
|
+
|
|
202
|
+
Please update the following components: %s`,U)),0<Z.size&&(U=M(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=M(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=M(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 fL=new Map,e4=new Set;OJ.recordLegacyContextWarning=function(Z,X){var Y=null;for(var Q=Z;Q!==null;)Q.mode&gY&&(Y=Q),Q=Q.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."):!e4.has(Z.type)&&(Q=fL.get(Y),Z.type.contextTypes!=null||Z.type.childContextTypes!=null||X!==null&&typeof X.getChildContext==="function")&&(Q===void 0&&(Q=[],fL.set(Y,Q)),Q.push(Z))},OJ.flushLegacyContextWarning=function(){fL.forEach(function(Z){if(Z.length!==0){var X=Z[0],Y=new Set;Z.forEach(function(G){Y.add(a(G)||"Component"),e4.add(G.type)});var Q=M(Y);_Z(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`,Q)})}})},OJ.discardPendingWarnings=function(){mU=[],fU=[],uU=[],dU=[],cU=[],pU=[],fL=new Map};var Z7={react_stack_bottom_frame:function(Z,X,Y){var Q=oJ;oJ=!0;try{return Z(X,Y)}finally{oJ=Q}}},Y9=Z7.react_stack_bottom_frame.bind(Z7),X7={react_stack_bottom_frame:function(Z){var X=oJ;oJ=!0;try{return Z.render()}finally{oJ=X}}},Y7=X7.react_stack_bottom_frame.bind(X7),Q7={react_stack_bottom_frame:function(Z,X){try{X.componentDidMount()}catch(Y){AX(Z,Z.return,Y)}}},Q9=Q7.react_stack_bottom_frame.bind(Q7),J7={react_stack_bottom_frame:function(Z,X,Y,Q,G){try{X.componentDidUpdate(Y,Q,G)}catch(H){AX(Z,Z.return,H)}}},q7=J7.react_stack_bottom_frame.bind(J7),G7={react_stack_bottom_frame:function(Z,X){var Y=X.stack;Z.componentDidCatch(X.value,{componentStack:Y!==null?Y:""})}},tS=G7.react_stack_bottom_frame.bind(G7),H7={react_stack_bottom_frame:function(Z,X,Y){try{Y.componentWillUnmount()}catch(Q){AX(Z,X,Q)}}},z7=H7.react_stack_bottom_frame.bind(H7),_7={react_stack_bottom_frame:function(Z){var X=Z.create;return Z=Z.inst,X=X(),Z.destroy=X}},eS=_7.react_stack_bottom_frame.bind(_7),W7={react_stack_bottom_frame:function(Z,X,Y){try{Y()}catch(Q){AX(Z,X,Q)}}},ZE=W7.react_stack_bottom_frame.bind(W7),U7={react_stack_bottom_frame:function(Z){var X=Z._init;return X(Z._payload)}},XE=U7.react_stack_bottom_frame.bind(U7),D_=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`."),J9=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."),uL=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."),dL={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.')}},pH=null,lU=!1,P_=null,iU=0,nZ=null,q9,K7=q9=!1,B7={},L7={},A7={};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 Q=a(Z),G=Q||"null";if(!B7[G]){B7[G]=!0,Y=Y._owner,Z=Z._debugOwner;var H="";Z&&typeof Z.tag==="number"&&(G=a(Z))&&(H=`
|
|
225
|
+
|
|
226
|
+
Check the render method of \``+G+"`."),H||Q&&(H=`
|
|
227
|
+
|
|
228
|
+
Check the top-level render call using <`+Q+">.");var U="";Y!=null&&Z!==Y&&(Q=null,typeof Y.tag==="number"?Q=a(Y):typeof Y.name==="string"&&(Q=Y.name),Q&&(U=" It was passed a child from "+Q+".")),_Z(X,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',H,U)})}}};var lH=HN(!0),O7=HN(!1),F7=0,M7=1,N7=2,G9=3,kG=!1,I7=!1,H9=null,z9=!1,$_=LZ(null),cL=LZ(0),CQ=LZ(null),aQ=null,S_=1,nU=2,nX=LZ(0),pL=0,oQ=1,lY=2,DQ=4,iY=8,E_,T7=new Set,w7=new Set,_9=new Set,V7=new Set,hq=0,hZ=null,VX=null,eX=null,lL=!1,k_=!1,iH=!1,iL=0,sU=0,bq=null,YE=0,QE=25,l=null,rQ=null,gq=-1,aU=!1,oU={readContext:kX,use:LG,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};oU.useEffectEvent=pX;var W9=null,R7=null,U9=null,j7=null,Jq=null,FJ=null,nL=null;W9={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return l="useCallback",oZ(),sz(X),zM(Z,X)},useContext:function(Z){return l="useContext",oZ(),kX(Z)},useEffect:function(Z,X){return l="useEffect",oZ(),sz(X),fB(Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",oZ(),sz(Y),HM(Z,X,Y)},useInsertionEffect:function(Z,X){l="useInsertionEffect",oZ(),sz(X),SH(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",oZ(),sz(X),GM(Z,X)},useMemo:function(Z,X){l="useMemo",oZ(),sz(X);var Y=i.H;i.H=Jq;try{return _M(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",oZ();var Q=i.H;i.H=Jq;try{return rF(Z,X,Y)}finally{i.H=Q}},useRef:function(Z){return l="useRef",oZ(),JM(Z)},useState:function(Z){l="useState",oZ();var X=i.H;i.H=Jq;try{return XM(Z)}finally{i.H=X}},useDebugValue:function(){l="useDebugValue",oZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",oZ(),WM(Z,X)},useTransition:function(){return l="useTransition",oZ(),BM()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",oZ(),eF(Z,X,Y)},useId:function(){return l="useId",oZ(),LM()},useFormState:function(Z,X){return l="useFormState",oZ(),vB(),oz(Z,X)},useActionState:function(Z,X){return l="useActionState",oZ(),oz(Z,X)},useOptimistic:function(Z){return l="useOptimistic",oZ(),YM(Z)},useHostTransitionStatus:EH,useMemoCache:$H,useCacheRefresh:function(){return l="useCacheRefresh",oZ(),AM()},useEffectEvent:function(Z){return l="useEffectEvent",oZ(),qM(Z)}},R7={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return l="useCallback",ZZ(),zM(Z,X)},useContext:function(Z){return l="useContext",ZZ(),kX(Z)},useEffect:function(Z,X){return l="useEffect",ZZ(),fB(Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",ZZ(),HM(Z,X,Y)},useInsertionEffect:function(Z,X){l="useInsertionEffect",ZZ(),SH(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",ZZ(),GM(Z,X)},useMemo:function(Z,X){l="useMemo",ZZ();var Y=i.H;i.H=Jq;try{return _M(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",ZZ();var Q=i.H;i.H=Jq;try{return rF(Z,X,Y)}finally{i.H=Q}},useRef:function(Z){return l="useRef",ZZ(),JM(Z)},useState:function(Z){l="useState",ZZ();var X=i.H;i.H=Jq;try{return XM(Z)}finally{i.H=X}},useDebugValue:function(){l="useDebugValue",ZZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",ZZ(),WM(Z,X)},useTransition:function(){return l="useTransition",ZZ(),BM()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",ZZ(),eF(Z,X,Y)},useId:function(){return l="useId",ZZ(),LM()},useActionState:function(Z,X){return l="useActionState",ZZ(),oz(Z,X)},useFormState:function(Z,X){return l="useFormState",ZZ(),vB(),oz(Z,X)},useOptimistic:function(Z){return l="useOptimistic",ZZ(),YM(Z)},useHostTransitionStatus:EH,useMemoCache:$H,useCacheRefresh:function(){return l="useCacheRefresh",ZZ(),AM()},useEffectEvent:function(Z){return l="useEffectEvent",ZZ(),qM(Z)}},U9={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return l="useCallback",ZZ(),cB(Z,X)},useContext:function(Z){return l="useContext",ZZ(),kX(Z)},useEffect:function(Z,X){l="useEffect",ZZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",ZZ(),dB(Z,X,Y)},useInsertionEffect:function(Z,X){return l="useInsertionEffect",ZZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",ZZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){l="useMemo",ZZ();var Y=i.H;i.H=FJ;try{return pB(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",ZZ();var Q=i.H;i.H=FJ;try{return az(Z,X,Y)}finally{i.H=Q}},useRef:function(){return l="useRef",ZZ(),FX().memoizedState},useState:function(){l="useState",ZZ();var Z=i.H;i.H=FJ;try{return az(UJ)}finally{i.H=Z}},useDebugValue:function(){l="useDebugValue",ZZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",ZZ(),$N(Z,X)},useTransition:function(){return l="useTransition",ZZ(),vN()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",ZZ(),bB(Z,X,Y)},useId:function(){return l="useId",ZZ(),FX().memoizedState},useFormState:function(Z){return l="useFormState",ZZ(),vB(),gB(Z)},useActionState:function(Z){return l="useActionState",ZZ(),gB(Z)},useOptimistic:function(Z,X){return l="useOptimistic",ZZ(),NN(Z,X)},useHostTransitionStatus:EH,useMemoCache:$H,useCacheRefresh:function(){return l="useCacheRefresh",ZZ(),FX().memoizedState},useEffectEvent:function(Z){return l="useEffectEvent",ZZ(),uB(Z)}},j7={readContext:function(Z){return kX(Z)},use:LG,useCallback:function(Z,X){return l="useCallback",ZZ(),cB(Z,X)},useContext:function(Z){return l="useContext",ZZ(),kX(Z)},useEffect:function(Z,X){l="useEffect",ZZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",ZZ(),dB(Z,X,Y)},useInsertionEffect:function(Z,X){return l="useInsertionEffect",ZZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",ZZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){l="useMemo",ZZ();var Y=i.H;i.H=nL;try{return pB(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",ZZ();var Q=i.H;i.H=nL;try{return XU(Z,X,Y)}finally{i.H=Q}},useRef:function(){return l="useRef",ZZ(),FX().memoizedState},useState:function(){l="useState",ZZ();var Z=i.H;i.H=nL;try{return XU(UJ)}finally{i.H=Z}},useDebugValue:function(){l="useDebugValue",ZZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",ZZ(),SN(Z,X)},useTransition:function(){return l="useTransition",ZZ(),hN()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",ZZ(),bB(Z,X,Y)},useId:function(){return l="useId",ZZ(),FX().memoizedState},useFormState:function(Z){return l="useFormState",ZZ(),vB(),mB(Z)},useActionState:function(Z){return l="useActionState",ZZ(),mB(Z)},useOptimistic:function(Z,X){return l="useOptimistic",ZZ(),TN(Z,X)},useHostTransitionStatus:EH,useMemoCache:$H,useCacheRefresh:function(){return l="useCacheRefresh",ZZ(),FX().memoizedState},useEffectEvent:function(Z){return l="useEffectEvent",ZZ(),uB(Z)}},Jq={readContext:function(Z){return F(),kX(Z)},use:function(Z){return L(),LG(Z)},useCallback:function(Z,X){return l="useCallback",L(),oZ(),zM(Z,X)},useContext:function(Z){return l="useContext",L(),oZ(),kX(Z)},useEffect:function(Z,X){return l="useEffect",L(),oZ(),fB(Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",L(),oZ(),HM(Z,X,Y)},useInsertionEffect:function(Z,X){l="useInsertionEffect",L(),oZ(),SH(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",L(),oZ(),GM(Z,X)},useMemo:function(Z,X){l="useMemo",L(),oZ();var Y=i.H;i.H=Jq;try{return _M(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",L(),oZ();var Q=i.H;i.H=Jq;try{return rF(Z,X,Y)}finally{i.H=Q}},useRef:function(Z){return l="useRef",L(),oZ(),JM(Z)},useState:function(Z){l="useState",L(),oZ();var X=i.H;i.H=Jq;try{return XM(Z)}finally{i.H=X}},useDebugValue:function(){l="useDebugValue",L(),oZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",L(),oZ(),WM(Z,X)},useTransition:function(){return l="useTransition",L(),oZ(),BM()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",L(),oZ(),eF(Z,X,Y)},useId:function(){return l="useId",L(),oZ(),LM()},useFormState:function(Z,X){return l="useFormState",L(),oZ(),oz(Z,X)},useActionState:function(Z,X){return l="useActionState",L(),oZ(),oz(Z,X)},useOptimistic:function(Z){return l="useOptimistic",L(),oZ(),YM(Z)},useMemoCache:function(Z){return L(),$H(Z)},useHostTransitionStatus:EH,useCacheRefresh:function(){return l="useCacheRefresh",oZ(),AM()},useEffectEvent:function(Z){return l="useEffectEvent",L(),oZ(),qM(Z)}},FJ={readContext:function(Z){return F(),kX(Z)},use:function(Z){return L(),LG(Z)},useCallback:function(Z,X){return l="useCallback",L(),ZZ(),cB(Z,X)},useContext:function(Z){return l="useContext",L(),ZZ(),kX(Z)},useEffect:function(Z,X){l="useEffect",L(),ZZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",L(),ZZ(),dB(Z,X,Y)},useInsertionEffect:function(Z,X){return l="useInsertionEffect",L(),ZZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",L(),ZZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){l="useMemo",L(),ZZ();var Y=i.H;i.H=FJ;try{return pB(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",L(),ZZ();var Q=i.H;i.H=FJ;try{return az(Z,X,Y)}finally{i.H=Q}},useRef:function(){return l="useRef",L(),ZZ(),FX().memoizedState},useState:function(){l="useState",L(),ZZ();var Z=i.H;i.H=FJ;try{return az(UJ)}finally{i.H=Z}},useDebugValue:function(){l="useDebugValue",L(),ZZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",L(),ZZ(),$N(Z,X)},useTransition:function(){return l="useTransition",L(),ZZ(),vN()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",L(),ZZ(),bB(Z,X,Y)},useId:function(){return l="useId",L(),ZZ(),FX().memoizedState},useFormState:function(Z){return l="useFormState",L(),ZZ(),gB(Z)},useActionState:function(Z){return l="useActionState",L(),ZZ(),gB(Z)},useOptimistic:function(Z,X){return l="useOptimistic",L(),ZZ(),NN(Z,X)},useMemoCache:function(Z){return L(),$H(Z)},useHostTransitionStatus:EH,useCacheRefresh:function(){return l="useCacheRefresh",ZZ(),FX().memoizedState},useEffectEvent:function(Z){return l="useEffectEvent",L(),ZZ(),uB(Z)}},nL={readContext:function(Z){return F(),kX(Z)},use:function(Z){return L(),LG(Z)},useCallback:function(Z,X){return l="useCallback",L(),ZZ(),cB(Z,X)},useContext:function(Z){return l="useContext",L(),ZZ(),kX(Z)},useEffect:function(Z,X){l="useEffect",L(),ZZ(),rY(2048,iY,Z,X)},useImperativeHandle:function(Z,X,Y){return l="useImperativeHandle",L(),ZZ(),dB(Z,X,Y)},useInsertionEffect:function(Z,X){return l="useInsertionEffect",L(),ZZ(),rY(4,lY,Z,X)},useLayoutEffect:function(Z,X){return l="useLayoutEffect",L(),ZZ(),rY(4,DQ,Z,X)},useMemo:function(Z,X){l="useMemo",L(),ZZ();var Y=i.H;i.H=FJ;try{return pB(Z,X)}finally{i.H=Y}},useReducer:function(Z,X,Y){l="useReducer",L(),ZZ();var Q=i.H;i.H=FJ;try{return XU(Z,X,Y)}finally{i.H=Q}},useRef:function(){return l="useRef",L(),ZZ(),FX().memoizedState},useState:function(){l="useState",L(),ZZ();var Z=i.H;i.H=FJ;try{return XU(UJ)}finally{i.H=Z}},useDebugValue:function(){l="useDebugValue",L(),ZZ()},useDeferredValue:function(Z,X){return l="useDeferredValue",L(),ZZ(),SN(Z,X)},useTransition:function(){return l="useTransition",L(),ZZ(),hN()},useSyncExternalStore:function(Z,X,Y){return l="useSyncExternalStore",L(),ZZ(),bB(Z,X,Y)},useId:function(){return l="useId",L(),ZZ(),FX().memoizedState},useFormState:function(Z){return l="useFormState",L(),ZZ(),mB(Z)},useActionState:function(Z){return l="useActionState",L(),ZZ(),mB(Z)},useOptimistic:function(Z,X){return l="useOptimistic",L(),ZZ(),TN(Z,X)},useMemoCache:function(Z){return L(),$H(Z)},useHostTransitionStatus:EH,useCacheRefresh:function(){return l="useCacheRefresh",ZZ(),FX().memoizedState},useEffectEvent:function(Z){return l="useEffectEvent",L(),ZZ(),uB(Z)}};var C7={},D7=new Set,P7=new Set,$7=new Set,S7=new Set,E7=new Set,k7=new Set,x7=new Set,y7=new Set,v7=new Set,h7=new Set;Object.freeze(C7);var K9={enqueueSetState:function(Z,X,Y){Z=Z._reactInternals;var Q=IQ(Z),G=WG(Q);G.payload=X,Y!==void 0&&Y!==null&&(FM(Y),G.callback=Y),X=UG(Z,G,Q),X!==null&&(vJ(Q,"this.setState()",Z),gX(X,Z,Q),rW(X,Z,Q))},enqueueReplaceState:function(Z,X,Y){Z=Z._reactInternals;var Q=IQ(Z),G=WG(Q);G.tag=M7,G.payload=X,Y!==void 0&&Y!==null&&(FM(Y),G.callback=Y),X=UG(Z,G,Q),X!==null&&(vJ(Q,"this.replaceState()",Z),gX(X,Z,Q),rW(X,Z,Q))},enqueueForceUpdate:function(Z,X){Z=Z._reactInternals;var Y=IQ(Z),Q=WG(Y);Q.tag=N7,X!==void 0&&X!==null&&(FM(X),Q.callback=X),X=UG(Z,Q,Y),X!==null&&(vJ(Y,"this.forceUpdate()",Z),gX(X,Z,Y),rW(X,Z,Y))}},x_=null,B9=null,L9=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,b7={},g7={},m7={},f7={},y_=!1,u7={},sL={},A9={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},d7=!1,c7=null;c7=new Set;var mq=!1,XY=!1,O9=!1,p7=typeof WeakSet==="function"?WeakSet:Set,LY=null,v_=null,h_=null,YY=null,ZQ=!1,MJ=null,zY=!1,rU=8192,JE={getCacheForType:function(Z){var X=kX(rX),Y=X.data.get(Z);return Y===void 0&&(Y=Z(),X.data.set(Z,Y)),Y},cacheSignal:function(){return kX(rX).controller.signal},getOwner:function(){return VQ}};if(typeof Symbol==="function"&&Symbol.for){var tU=Symbol.for;tU("selector.component"),tU("selector.has_pseudo_class"),tU("selector.role"),tU("selector.test_id"),tU("selector.text")}var qE=[],GE=typeof WeakMap==="function"?WeakMap:Map,AY=0,_Y=2,PQ=4,fq=0,eU=1,nH=2,aL=3,xG=4,oL=6,l7=5,zX=AY,RX=null,aZ=null,sZ=0,XQ=0,rL=1,sH=2,ZK=3,i7=4,F9=5,XK=6,tL=7,M9=8,aH=9,MX=XQ,$Q=null,yG=!1,b_=!1,N9=!1,qq=0,bX=fq,vG=0,hG=0,I9=0,YQ=0,oH=0,YK=null,nY=null,eL=!1,ZA=0,n7=0,s7=300,XA=1/0,a7=500,QK=null,lX=null,bG=null,YA=0,T9=1,w9=2,o7=3,gG=0,r7=1,t7=2,e7=3,ZT=4,QA=5,QY=0,mG=null,g_=null,NJ=0,V9=0,R9=-0,j9=null,XT=null,YT=null,IJ=YA,QT=null,HE=50,JK=0,C9=null,D9=!1,JA=!1,zE=50,rH=0,qK=null,m_=!1,qA=null,JT=!1,qT=new Set,_E={},GA=null,f_=null,P9=!1,$9=!1,HA=!1,S9=!1,fG=0,E9={};(function(){for(var Z=0;Z<d0.length;Z++){var X=d0[Z],Y=X.toLowerCase();X=X[0].toUpperCase()+X.slice(1),WJ(Y,"on"+X)}WJ(v4,"onAnimationEnd"),WJ(h4,"onAnimationIteration"),WJ(b4,"onAnimationStart"),WJ("dblclick","onDoubleClick"),WJ("focusin","onFocus"),WJ("focusout","onBlur"),WJ(mS,"onTransitionRun"),WJ(fS,"onTransitionStart"),WJ(uS,"onTransitionCancel"),WJ(g4,"onTransitionEnd")})(),BQ("onMouseEnter",["mouseout","mouseover"]),BQ("onMouseLeave",["mouseout","mouseover"]),BQ("onPointerEnter",["pointerout","pointerover"]),BQ("onPointerLeave",["pointerout","pointerover"]),vY("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),vY("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),vY("onBeforeInput",["compositionend","keypress","textInput","paste"]),vY("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),vY("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),vY("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var GK="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(" "),k9=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(GK)),zA="_reactListening"+Math.random().toString(36).slice(2),GT=!1,HT=!1,_A=!1,zT=!1,WA=!1,UA=!1,_T=!1,KA={},WE=/\r\n?/g,UE=/\u0000|\uFFFD/g,tH="http://www.w3.org/1999/xlink",x9="http://www.w3.org/XML/1998/namespace",KE="javascript:throw new Error('React form unexpectedly submitted.')",BE="suppressHydrationWarning",eH="&",BA="/&",HK="$",zK="/$",uG="$?",Zz="$~",u_="$!",LE="html",AE="body",OE="head",y9="F!",WT="F",UT="loading",FE="style",uq=0,d_=1,LA=2,v9=null,h9=null,KT={dialog:!0,webview:!0},b9=null,_K=void 0,BT=typeof setTimeout==="function"?setTimeout:void 0,ME=typeof clearTimeout==="function"?clearTimeout:void 0,Xz=-1,LT=typeof Promise==="function"?Promise:void 0,NE=typeof queueMicrotask==="function"?queueMicrotask:typeof LT<"u"?function(Z){return LT.resolve(null).then(Z).catch(Q$)}:BT,g9=null,Yz=0,WK=1,AT=2,OT=3,tQ=4,eQ=new Map,FT=new Set,dq=OX.d;OX.d={f:function(){var Z=dq.f(),X=X_();return Z||X},r:function(Z){var X=fZ(Z);X!==null&&X.tag===5&&X.type==="form"?yN(X):dq.r(Z)},D:function(Z){dq.D(Z),DI("dns-prefetch",Z,null)},C:function(Z,X){dq.C(Z,X),DI("preconnect",Z,X)},L:function(Z,X,Y){dq.L(Z,X,Y);var Q=c_;if(Q&&Z&&X){var G='link[rel="preload"][as="'+fQ(X)+'"]';X==="image"?Y&&Y.imageSrcSet?(G+='[imagesrcset="'+fQ(Y.imageSrcSet)+'"]',typeof Y.imageSizes==="string"&&(G+='[imagesizes="'+fQ(Y.imageSizes)+'"]')):G+='[href="'+fQ(Z)+'"]':G+='[href="'+fQ(Z)+'"]';var H=G;switch(X){case"style":H=J_(Z);break;case"script":H=q_(Z)}eQ.has(H)||(Z=rZ({rel:"preload",href:X==="image"&&Y&&Y.imageSrcSet?void 0:Z,as:X},Y),eQ.set(H,Z),Q.querySelector(G)!==null||X==="style"&&Q.querySelector(OU(H))||X==="script"&&Q.querySelector(FU(H))||(X=Q.createElement("link"),VY(X,"link",Z),$Z(X),Q.head.appendChild(X)))}},m:function(Z,X){dq.m(Z,X);var Y=c_;if(Y&&Z){var Q=X&&typeof X.as==="string"?X.as:"script",G='link[rel="modulepreload"][as="'+fQ(Q)+'"][href="'+fQ(Z)+'"]',H=G;switch(Q){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":H=q_(Z)}if(!eQ.has(H)&&(Z=rZ({rel:"modulepreload",href:Z},X),eQ.set(H,Z),Y.querySelector(G)===null)){switch(Q){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Y.querySelector(FU(H)))return}Q=Y.createElement("link"),VY(Q,"link",Z),$Z(Q),Y.head.appendChild(Q)}}},X:function(Z,X){dq.X(Z,X);var Y=c_;if(Y&&Z){var Q=WX(Y).hoistableScripts,G=q_(Z),H=Q.get(G);H||(H=Y.querySelector(FU(G)),H||(Z=rZ({src:Z,async:!0},X),(X=eQ.get(G))&&H0(Z,X),H=Y.createElement("script"),$Z(H),VY(H,"link",Z),Y.head.appendChild(H)),H={type:"script",instance:H,count:1,state:null},Q.set(G,H))}},S:function(Z,X,Y){dq.S(Z,X,Y);var Q=c_;if(Q&&Z){var G=WX(Q).hoistableStyles,H=J_(Z);X=X||"default";var U=G.get(H);if(!U){var B={loading:Yz,preload:null};if(U=Q.querySelector(OU(H)))B.loading=WK|tQ;else{Z=rZ({rel:"stylesheet",href:Z,"data-precedence":X},Y),(Y=eQ.get(H))&&G0(Z,Y);var O=U=Q.createElement("link");$Z(O),VY(O,"link",Z),O._p=new Promise(function(I,k){O.onload=I,O.onerror=k}),O.addEventListener("load",function(){B.loading|=WK}),O.addEventListener("error",function(){B.loading|=AT}),B.loading|=tQ,_L(U,X,Q)}U={type:"stylesheet",instance:U,count:1,state:B},G.set(H,U)}}},M:function(Z,X){dq.M(Z,X);var Y=c_;if(Y&&Z){var Q=WX(Y).hoistableScripts,G=q_(Z),H=Q.get(G);H||(H=Y.querySelector(FU(G)),H||(Z=rZ({src:Z,async:!0,type:"module"},X),(X=eQ.get(G))&&H0(Z,X),H=Y.createElement("script"),$Z(H),VY(H,"link",Z),Y.head.appendChild(H)),H={type:"script",instance:H,count:1,state:null},Q.set(G,H))}}};var c_=typeof document>"u"?null:document,AA=null,IE=60000,TE=800,wE=500,m9=0,f9=null,OA=null,Qz=b$,UK={$$typeof:aJ,Provider:null,Consumer:null,_currentValue:Qz,_currentValue2:Qz,_threadCount:0},MT="%c%s%c",NT="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",IT="",FA=" ",VE=Function.prototype.bind,TT=!1,wT=null,VT=null,RT=null,jT=null,CT=null,DT=null,PT=null,$T=null,ST=null,ET=null;wT=function(Z,X,Y,Q){X=J(Z,X),X!==null&&(Y=q(X.memoizedState,Y,0,Q),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=hY(Z,2),Y!==null&&gX(Y,Z,2))},VT=function(Z,X,Y){X=J(Z,X),X!==null&&(Y=W(X.memoizedState,Y,0),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=hY(Z,2),Y!==null&&gX(Y,Z,2))},RT=function(Z,X,Y,Q){X=J(Z,X),X!==null&&(Y=z(X.memoizedState,Y,Q),X.memoizedState=Y,X.baseState=Y,Z.memoizedProps=rZ({},Z.memoizedProps),Y=hY(Z,2),Y!==null&&gX(Y,Z,2))},jT=function(Z,X,Y){Z.pendingProps=q(Z.memoizedProps,X,0,Y),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=hY(Z,2),X!==null&&gX(X,Z,2)},CT=function(Z,X){Z.pendingProps=W(Z.memoizedProps,X,0),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=hY(Z,2),X!==null&&gX(X,Z,2)},DT=function(Z,X,Y){Z.pendingProps=z(Z.memoizedProps,X,Y),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=hY(Z,2),X!==null&&gX(X,Z,2)},PT=function(Z){var X=hY(Z,2);X!==null&&gX(X,Z,2)},$T=function(Z){var X=uz(),Y=hY(Z,X);Y!==null&&gX(Y,Z,X)},ST=function(Z){A=Z},ET=function(Z){K=Z};var MA=!0,NA=null,u9=!1,dG=null,cG=null,pG=null,KK=new Map,BK=new Map,lG=[],RE="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(" "),IA=null;if(LL.prototype.render=B0.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()."):h(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 Q=X.current,G=IQ(Q);z0(Q,G,Y,X,null,null)},LL.prototype.unmount=B0.prototype.unmount=function(){var Z=arguments;if(typeof Z[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),Z=this._internalRoot,Z!==null){this._internalRoot=null;var X=Z.containerInfo;(zX&(_Y|PQ))!==AY&&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."),z0(Z.current,2,null,Z,null,null),X_(),X[TG]=null}},LL.prototype.unstable_scheduleHydration=function(Z){if(Z){var X=m();Z={blockedOn:null,target:Z,priority:X};for(var Y=0;Y<lG.length&&X!==0&&X<lG[Y].priority;Y++);lG.splice(Y,0,Z),Y===0&&uI(Z)}},function(){var Z=o_.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"),OX.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=IZ(X),Z=Z!==null?mZ(Z):null,Z=Z===null?null:Z.stateNode,Z},!function(){var Z={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:i,reconcilerVersion:"19.2.7"};return Z.overrideHookState=wT,Z.overrideHookStateDeletePath=VT,Z.overrideHookStateRenamePath=RT,Z.overrideProps=jT,Z.overridePropsDeletePath=CT,Z.overridePropsRenamePath=DT,Z.scheduleUpdate=PT,Z.scheduleRetry=$T,Z.setErrorHandler=ST,Z.setSuspenseHandler=ET,Z.scheduleRefresh=v,Z.scheduleRoot=j,Z.setRefreshHandler=f,Z.getCurrentFiber=$$,fz(Z)}()&&Zq&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var kT=window.location.protocol;/^(https?|file):$/.test(kT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(kT==="file:"?`
|
|
232
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}qk.createRoot=function(Z,X){if(!h(Z))throw Error("Target container is not a DOM element.");lI(Z);var Y=!1,Q="",G=dN,H=cN,U=pN;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===sJ&&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&&(Q=X.identifierPrefix),X.onUncaughtError!==void 0&&(G=X.onUncaughtError),X.onCaughtError!==void 0&&(H=X.onCaughtError),X.onRecoverableError!==void 0&&(U=X.onRecoverableError)),X=yI(Z,1,!1,null,null,Y,Q,null,G,H,U,pI),Z[TG]=X.current,sM(Z),new B0(X)},qk.hydrateRoot=function(Z,X,Y){if(!h(Z))throw Error("Target container is not a DOM element.");lI(Z),X===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var Q=!1,G="",H=dN,U=cN,B=pN,O=null;return Y!==null&&Y!==void 0&&(Y.unstable_strictMode===!0&&(Q=!0),Y.identifierPrefix!==void 0&&(G=Y.identifierPrefix),Y.onUncaughtError!==void 0&&(H=Y.onUncaughtError),Y.onCaughtError!==void 0&&(U=Y.onCaughtError),Y.onRecoverableError!==void 0&&(B=Y.onRecoverableError),Y.formState!==void 0&&(O=Y.formState)),X=yI(Z,1,!0,X,Y!=null?Y:null,Q,G,O,H,U,B,pI),X.context=vI(null),Y=X.current,Q=IQ(Y),Q=NH(Q),G=WG(Q),G.callback=null,UG(Y,G,Q),vJ(Q,"hydrateRoot()",null),Y=Q,X.current.lanes=Y,QG(X,Y),iJ(X),Z[TG]=X.current,sM(Z),new LL(X)},qk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var oT=pq((vg,aT)=>{var Gk=g(sT());aT.exports=Gk});function rT(J,q){if(typeof J==="function")return J(q);else if(J!==null&&J!==void 0)J.current=q}function tT(...J){return(q)=>{let z=!1,_=J.map((W)=>{let K=rT(W,q);if(!z&&typeof K=="function")z=!0;return K});if(z)return()=>{for(let W=0;W<_.length;W++){let K=_[W];if(typeof K=="function")K();else rT(J[W],null)}}}}var Hk;var eT=C(()=>{Hk=g(e(),1)});function _k(J){return typeof J==="object"&&J!==null&&"then"in J}function Z2(J){return J!=null&&typeof J==="object"&&"$$typeof"in J&&J.$$typeof===zk&&"_payload"in J&&_k(J._payload)}function Wk(J){let q=Uk(J),z=JY.forwardRef((_,W)=>{let{children:K,...A}=_;if(Z2(K)&&typeof kA==="function")K=kA(K._payload);let L=JY.Children.toArray(K),F=L.find(Bk);if(F){let T=F.props.children,N=L.map((M)=>{if(M===F){if(JY.Children.count(T)>1)return JY.Children.only(null);return JY.isValidElement(T)?T.props.children:null}else return M});return EA.jsx(q,{...A,ref:W,children:JY.isValidElement(T)?JY.cloneElement(T,void 0,N):null})}return EA.jsx(q,{...A,ref:W,children:K})});return z.displayName=`${J}.Slot`,z}function Uk(J){let q=JY.forwardRef((z,_)=>{let{children:W,...K}=z;if(Z2(W)&&typeof kA==="function")W=kA(W._payload);if(JY.isValidElement(W)){let A=Ak(W),L=Lk(K,W.props);if(W.type!==JY.Fragment)L.ref=_?tT(_,A):A;return JY.cloneElement(W,L)}return JY.Children.count(W)>1?JY.Children.only(null):null});return q.displayName=`${J}.SlotClone`,q}function Bk(J){return JY.isValidElement(J)&&typeof J.type==="function"&&"__radixId"in J.type&&J.type.__radixId===Kk}function Lk(J,q){let z={...q};for(let _ in q){let W=J[_],K=q[_];if(/^on[A-Z]/.test(_)){if(W&&K)z[_]=(...L)=>{let F=K(...L);return W(...L),F};else if(W)z[_]=W}else if(_==="style")z[_]={...W,...K};else if(_==="className")z[_]=[W,K].filter(Boolean).join(" ")}return{...J,...z}}function Ak(J){let q=Object.getOwnPropertyDescriptor(J.props,"ref")?.get,z=q&&"isReactWarning"in q&&q.isReactWarning;if(z)return J.ref;if(q=Object.getOwnPropertyDescriptor(J,"ref")?.get,z=q&&"isReactWarning"in q&&q.isReactWarning,z)return J.props.ref;return J.props.ref||J.ref}var JY,EA,zk,kA,X2,Kk;var Y2=C(()=>{eT();JY=g(e(),1),EA=g(i_(),1),zk=Symbol.for("react.lazy"),kA=JY[" use ".trim().toString()];X2=Wk("Slot");Kk=Symbol("radix.slottable")});function Q2(J){var q,z,_="";if(typeof J=="string"||typeof J=="number")_+=J;else if(typeof J=="object")if(Array.isArray(J)){var W=J.length;for(q=0;q<W;q++)J[q]&&(z=Q2(J[q]))&&(_&&(_+=" "),_+=z)}else for(z in J)J[z]&&(_&&(_+=" "),_+=z);return _}function IK(){for(var J,q,z=0,_="",W=arguments.length;z<W;z++)(J=arguments[z])&&(q=Q2(J))&&(_&&(_+=" "),_+=q);return _}var J2;var xA=C(()=>{J2=IK});var q2=(J)=>typeof J==="boolean"?`${J}`:J===0?"0":J,G2,H2=(J,q)=>(z)=>{var _;if((q===null||q===void 0?void 0:q.variants)==null)return G2(J,z===null||z===void 0?void 0:z.class,z===null||z===void 0?void 0:z.className);let{variants:W,defaultVariants:K}=q,A=Object.keys(W).map((T)=>{let N=z===null||z===void 0?void 0:z[T],M=K===null||K===void 0?void 0:K[T];if(N===null)return null;let R=q2(N)||q2(M);return W[T][R]}),L=z&&Object.entries(z).reduce((T,N)=>{let[M,R]=N;if(R===void 0)return T;return T[M]=R,T},{}),F=q===null||q===void 0?void 0:(_=q.compoundVariants)===null||_===void 0?void 0:_.reduce((T,N)=>{let{class:M,className:R,...j}=N;return Object.entries(j).every((v)=>{let[f,h]=v;return Array.isArray(h)?h.includes({...K,...L}[f]):{...K,...L}[f]===h})?[...T,M,R]:T},[]);return G2(J,A,F,z===null||z===void 0?void 0:z.class,z===null||z===void 0?void 0:z.className)};var z2=C(()=>{xA();G2=IK});var Ok=(J,q)=>{let z=Array(J.length+q.length);for(let _=0;_<J.length;_++)z[_]=J[_];for(let _=0;_<q.length;_++)z[J.length+_]=q[_];return z},Fk=(J,q)=>({classGroupId:J,validator:q}),O2=(J=new Map,q=null,z)=>({nextPart:J,validators:q,classGroupId:z}),_2,Mk=(J)=>{let q=Ik(J),{conflictingClassGroups:z,conflictingClassGroupModifiers:_}=J;return{getClassGroupId:(A)=>{if(A.startsWith("[")&&A.endsWith("]"))return Nk(A);let L=A.split("-"),F=L[0]===""&&L.length>1?1:0;return F2(L,F,q)},getConflictingClassGroupIds:(A,L)=>{if(L){let F=_[A],T=z[A];if(F){if(T)return Ok(T,F);return F}return T||_2}return z[A]||_2}}},F2=(J,q,z)=>{if(J.length-q===0)return z.classGroupId;let W=J[q],K=z.nextPart.get(W);if(K){let T=F2(J,q+1,K);if(T)return T}let A=z.validators;if(A===null)return;let L=q===0?J.join("-"):J.slice(q).join("-"),F=A.length;for(let T=0;T<F;T++){let N=A[T];if(N.validator(L))return N.classGroupId}return},Nk=(J)=>J.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let q=J.slice(1,-1),z=q.indexOf(":"),_=q.slice(0,z);return _?"arbitrary.."+_:void 0})(),Ik=(J)=>{let{theme:q,classGroups:z}=J;return Tk(z,q)},Tk=(J,q)=>{let z=O2();for(let _ in J){let W=J[_];G3(W,z,_,q)}return z},G3=(J,q,z,_)=>{let W=J.length;for(let K=0;K<W;K++){let A=J[K];wk(A,q,z,_)}},wk=(J,q,z,_)=>{if(typeof J==="string"){Vk(J,q,z);return}if(typeof J==="function"){Rk(J,q,z,_);return}jk(J,q,z,_)},Vk=(J,q,z)=>{let _=J===""?q:M2(q,J);_.classGroupId=z},Rk=(J,q,z,_)=>{if(Ck(J)){G3(J(_),q,z,_);return}if(q.validators===null)q.validators=[];q.validators.push(Fk(z,J))},jk=(J,q,z,_)=>{let W=Object.entries(J),K=W.length;for(let A=0;A<K;A++){let[L,F]=W[A];G3(F,M2(q,L),z,_)}},M2=(J,q)=>{let z=J,_=q.split("-"),W=_.length;for(let K=0;K<W;K++){let A=_[K],L=z.nextPart.get(A);if(!L)L=O2(),z.nextPart.set(A,L);z=L}return z},Ck=(J)=>("isThemeGetter"in J)&&J.isThemeGetter===!0,Dk=(J)=>{if(J<1)return{get:()=>{return},set:()=>{}};let q=0,z=Object.create(null),_=Object.create(null),W=(K,A)=>{if(z[K]=A,q++,q>J)q=0,_=z,z=Object.create(null)};return{get(K){let A=z[K];if(A!==void 0)return A;if((A=_[K])!==void 0)return W(K,A),A},set(K,A){if(K in z)z[K]=A;else W(K,A)}}},Pk,W2=(J,q,z,_,W)=>({modifiers:J,hasImportantModifier:q,baseClassName:z,maybePostfixModifierPosition:_,isExternal:W}),$k=(J)=>{let{prefix:q,experimentalParseClassName:z}=J,_=(W)=>{let K=[],A=0,L=0,F=0,T,N=W.length;for(let f=0;f<N;f++){let h=W[f];if(A===0&&L===0){if(h===":"){K.push(W.slice(F,f)),F=f+1;continue}if(h==="/"){T=f;continue}}if(h==="[")A++;else if(h==="]")A--;else if(h==="(")L++;else if(h===")")L--}let M=K.length===0?W:W.slice(F),R=M,j=!1;if(M.endsWith("!"))R=M.slice(0,-1),j=!0;else if(M.startsWith("!"))R=M.slice(1),j=!0;let v=T&&T>F?T-F:void 0;return W2(K,j,R,v)};if(q){let W=q+":",K=_;_=(A)=>A.startsWith(W)?K(A.slice(W.length)):W2(Pk,!1,A,void 0,!0)}if(z){let W=_;_=(K)=>z({className:K,parseClassName:W})}return _},Sk=(J)=>{let q=new Map;return J.orderSensitiveModifiers.forEach((z,_)=>{q.set(z,1e6+_)}),(z)=>{let _=[],W=[];for(let K=0;K<z.length;K++){let A=z[K],L=A[0]==="[",F=q.has(A);if(L||F){if(W.length>0)W.sort(),_.push(...W),W=[];_.push(A)}else W.push(A)}if(W.length>0)W.sort(),_.push(...W);return _}},Ek=(J)=>({cache:Dk(J.cacheSize),parseClassName:$k(J),sortModifiers:Sk(J),postfixLookupClassGroupIds:kk(J),...Mk(J)}),kk=(J)=>{let q=Object.create(null),z=J.postfixLookupClassGroups;if(z)for(let _=0;_<z.length;_++)q[z[_]]=!0;return q},xk,yk=(J,q)=>{let{parseClassName:z,getClassGroupId:_,getConflictingClassGroupIds:W,sortModifiers:K,postfixLookupClassGroupIds:A}=q,L=[],F=J.trim().split(xk),T="";for(let N=F.length-1;N>=0;N-=1){let M=F[N],{isExternal:R,modifiers:j,hasImportantModifier:v,baseClassName:f,maybePostfixModifierPosition:h}=z(M);if(R){T=M+(T.length>0?" "+T:T);continue}let n=!!h,r;if(n){let QZ=f.substring(0,h);r=_(QZ);let b=r&&A[r]?_(f):void 0;if(b&&b!==r)r=b,n=!1}else r=_(f);if(!r){if(!n){T=M+(T.length>0?" "+T:T);continue}if(r=_(f),!r){T=M+(T.length>0?" "+T:T);continue}n=!1}let JZ=j.length===0?"":j.length===1?j[0]:K(j).join(":"),qZ=v?JZ+"!":JZ,IZ=qZ+r;if(L.indexOf(IZ)>-1)continue;L.push(IZ);let mZ=W(r,n);for(let QZ=0;QZ<mZ.length;++QZ){let b=mZ[QZ];L.push(qZ+b)}T=M+(T.length>0?" "+T:T)}return T},vk=(...J)=>{let q=0,z,_,W="";while(q<J.length)if(z=J[q++]){if(_=N2(z))W&&(W+=" "),W+=_}return W},N2=(J)=>{if(typeof J==="string")return J;let q,z="";for(let _=0;_<J.length;_++)if(J[_]){if(q=N2(J[_]))z&&(z+=" "),z+=q}return z},U2=(J,...q)=>{let z,_,W,K,A=(F)=>{let T=q.reduce((N,M)=>M(N),J());return z=Ek(T),_=z.cache.get,W=z.cache.set,K=L,L(F)},L=(F)=>{let T=_(F);if(T)return T;let N=yk(F,z);return W(F,N),N};return K=A,(...F)=>K(vk(...F))},hk,WY=(J)=>{let q=(z)=>z[J]||hk;return q.isThemeGetter=!0,q},I2,T2,bk,gk,mk,fk,uk,dk,nG=(J)=>bk.test(J),ZX=(J)=>!!J&&!Number.isNaN(Number(J)),zq=(J)=>!!J&&Number.isInteger(Number(J)),J3=(J)=>J.endsWith("%")&&ZX(J.slice(0,-1)),iq=(J)=>gk.test(J),w2=()=>!0,ck=(J)=>mk.test(J)&&!fk.test(J),H3=()=>!1,pk=(J)=>uk.test(J),lk=(J)=>dk.test(J),ik=(J)=>!OZ(J)&&!MZ(J),nk=(J)=>J.startsWith("@container")&&(J[10]==="/"&&J[11]!==void 0||J[11]==="s"&&J[16]!==void 0&&J.startsWith("-size/",10)||J[11]==="n"&&J[18]!==void 0&&J.startsWith("-normal/",10)),sk=(J)=>sG(J,j2,H3),OZ=(J)=>I2.test(J),Hz=(J)=>sG(J,C2,ck),K2=(J)=>sG(J,Yx,ZX),ak=(J)=>sG(J,P2,w2),ok=(J)=>sG(J,D2,H3),B2=(J)=>sG(J,V2,H3),rk=(J)=>sG(J,R2,lk),yA=(J)=>sG(J,$2,pk),MZ=(J)=>T2.test(J),TK=(J)=>zz(J,C2),tk=(J)=>zz(J,D2),L2=(J)=>zz(J,V2),ek=(J)=>zz(J,j2),Zx=(J)=>zz(J,R2),vA=(J)=>zz(J,$2,!0),Xx=(J)=>zz(J,P2,!0),sG=(J,q,z)=>{let _=I2.exec(J);if(_){if(_[1])return q(_[1]);return z(_[2])}return!1},zz=(J,q,z=!1)=>{let _=T2.exec(J);if(_){if(_[1])return q(_[1]);return z}return!1},V2=(J)=>J==="position"||J==="percentage",R2=(J)=>J==="image"||J==="url",j2=(J)=>J==="length"||J==="size"||J==="bg-size",C2=(J)=>J==="length",Yx=(J)=>J==="number",D2=(J)=>J==="family-name",P2=(J)=>J==="number"||J==="weight",$2=(J)=>J==="shadow",A2=()=>{let J=WY("color"),q=WY("font"),z=WY("text"),_=WY("font-weight"),W=WY("tracking"),K=WY("leading"),A=WY("breakpoint"),L=WY("container"),F=WY("spacing"),T=WY("radius"),N=WY("shadow"),M=WY("inset-shadow"),R=WY("text-shadow"),j=WY("drop-shadow"),v=WY("blur"),f=WY("perspective"),h=WY("aspect"),n=WY("ease"),r=WY("animate"),JZ=()=>["auto","avoid","all","avoid-page","page","left","right","column"],qZ=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],IZ=()=>[...qZ(),MZ,OZ],mZ=()=>["auto","hidden","clip","visible","scroll"],QZ=()=>["auto","contain","none"],b=()=>[MZ,OZ,F],AZ=()=>[nG,"full","auto",...b()],a=()=>[zq,"none","subgrid",MZ,OZ],LZ=()=>["auto",{span:["full",zq,MZ,OZ]},zq,MZ,OZ],WZ=()=>[zq,"auto",MZ,OZ],zZ=()=>["auto","min","max","fr",MZ,OZ],y=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],u=()=>["start","end","center","stretch","center-safe","end-safe"],c=()=>["auto",...b()],p=()=>[nG,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...b()],KZ=()=>[nG,"screen","full","dvw","lvw","svw","min","max","fit",...b()],s=()=>[nG,"screen","full","lh","dvh","lvh","svh","min","max","fit",...b()],V=()=>[J,MZ,OZ],t=()=>[...qZ(),L2,B2,{position:[MZ,OZ]}],TZ=()=>["no-repeat",{repeat:["","x","y","space","round"]}],jZ=()=>["auto","cover","contain",ek,sk,{size:[MZ,OZ]}],yZ=()=>[J3,TK,Hz],JX=()=>["","none","full",T,MZ,OZ],FZ=()=>["",ZX,TK,Hz],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"],BX=()=>[ZX,J3,L2,B2],Oq=()=>["","none",v,MZ,OZ],_Z=()=>["none",ZX,MZ,OZ],UQ=()=>["none",ZX,MZ,OZ],KQ=()=>[ZX,MZ,OZ],yY=()=>[nG,"full",...b()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[iq],breakpoint:[iq],color:[w2],container:[iq],"drop-shadow":[iq],ease:["in","out","in-out"],font:[ik],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[iq],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[iq],shadow:[iq],spacing:["px",ZX],text:[iq],"text-shadow":[iq],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",nG,OZ,MZ,h]}],container:["container"],"container-type":[{"@container":["","normal","size",MZ,OZ]}],"container-named":[nk],columns:[{columns:[ZX,OZ,MZ,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:IZ()}],overflow:[{overflow:mZ()}],"overflow-x":[{"overflow-x":mZ()}],"overflow-y":[{"overflow-y":mZ()}],overscroll:[{overscroll:QZ()}],"overscroll-x":[{"overscroll-x":QZ()}],"overscroll-y":[{"overscroll-y":QZ()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:AZ()}],"inset-x":[{"inset-x":AZ()}],"inset-y":[{"inset-y":AZ()}],start:[{"inset-s":AZ(),start:AZ()}],end:[{"inset-e":AZ(),end:AZ()}],"inset-bs":[{"inset-bs":AZ()}],"inset-be":[{"inset-be":AZ()}],top:[{top:AZ()}],right:[{right:AZ()}],bottom:[{bottom:AZ()}],left:[{left:AZ()}],visibility:["visible","invisible","collapse"],z:[{z:[zq,"auto",MZ,OZ]}],basis:[{basis:[nG,"full","auto",L,...b()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ZX,nG,"auto","initial","none",OZ]}],grow:[{grow:["",ZX,MZ,OZ]}],shrink:[{shrink:["",ZX,MZ,OZ]}],order:[{order:[zq,"first","last","none",MZ,OZ]}],"grid-cols":[{"grid-cols":a()}],"col-start-end":[{col:LZ()}],"col-start":[{"col-start":WZ()}],"col-end":[{"col-end":WZ()}],"grid-rows":[{"grid-rows":a()}],"row-start-end":[{row:LZ()}],"row-start":[{"row-start":WZ()}],"row-end":[{"row-end":WZ()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":zZ()}],"auto-rows":[{"auto-rows":zZ()}],gap:[{gap:b()}],"gap-x":[{"gap-x":b()}],"gap-y":[{"gap-y":b()}],"justify-content":[{justify:[...y(),"normal"]}],"justify-items":[{"justify-items":[...u(),"normal"]}],"justify-self":[{"justify-self":["auto",...u()]}],"align-content":[{content:["normal",...y()]}],"align-items":[{items:[...u(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...u(),{baseline:["","last"]}]}],"place-content":[{"place-content":y()}],"place-items":[{"place-items":[...u(),"baseline"]}],"place-self":[{"place-self":["auto",...u()]}],p:[{p:b()}],px:[{px:b()}],py:[{py:b()}],ps:[{ps:b()}],pe:[{pe:b()}],pbs:[{pbs:b()}],pbe:[{pbe:b()}],pt:[{pt:b()}],pr:[{pr:b()}],pb:[{pb:b()}],pl:[{pl:b()}],m:[{m:c()}],mx:[{mx:c()}],my:[{my:c()}],ms:[{ms:c()}],me:[{me:c()}],mbs:[{mbs:c()}],mbe:[{mbe:c()}],mt:[{mt:c()}],mr:[{mr:c()}],mb:[{mb:c()}],ml:[{ml:c()}],"space-x":[{"space-x":b()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":b()}],"space-y-reverse":["space-y-reverse"],size:[{size:p()}],"inline-size":[{inline:["auto",...KZ()]}],"min-inline-size":[{"min-inline":["auto",...KZ()]}],"max-inline-size":[{"max-inline":["none",...KZ()]}],"block-size":[{block:["auto",...s()]}],"min-block-size":[{"min-block":["auto",...s()]}],"max-block-size":[{"max-block":["none",...s()]}],w:[{w:[L,"screen",...p()]}],"min-w":[{"min-w":[L,"screen","none",...p()]}],"max-w":[{"max-w":[L,"screen","none","prose",{screen:[A]},...p()]}],h:[{h:["screen","lh",...p()]}],"min-h":[{"min-h":["screen","lh","none",...p()]}],"max-h":[{"max-h":["screen","lh",...p()]}],"font-size":[{text:["base",z,TK,Hz]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[_,Xx,ak]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",J3,OZ]}],"font-family":[{font:[tk,ok,q]}],"font-features":[{"font-features":[OZ]}],"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,MZ,OZ]}],"line-clamp":[{"line-clamp":[ZX,"none",MZ,K2]}],leading:[{leading:[K,...b()]}],"list-image":[{"list-image":["none",MZ,OZ]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",MZ,OZ]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...YX(),"wavy"]}],"text-decoration-thickness":[{decoration:[ZX,"from-font","auto",MZ,Hz]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[ZX,"auto",MZ,OZ]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"tab-size":[{tab:[zq,MZ,OZ]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",MZ,OZ]}],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",MZ,OZ]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:t()}],"bg-repeat":[{bg:TZ()}],"bg-size":[{bg:jZ()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},zq,MZ,OZ],radial:["",MZ,OZ],conic:[zq,MZ,OZ]},Zx,rk]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:yZ()}],"gradient-via-pos":[{via:yZ()}],"gradient-to-pos":[{to:yZ()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],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:FZ()}],"border-w-x":[{"border-x":FZ()}],"border-w-y":[{"border-y":FZ()}],"border-w-s":[{"border-s":FZ()}],"border-w-e":[{"border-e":FZ()}],"border-w-bs":[{"border-bs":FZ()}],"border-w-be":[{"border-be":FZ()}],"border-w-t":[{"border-t":FZ()}],"border-w-r":[{"border-r":FZ()}],"border-w-b":[{"border-b":FZ()}],"border-w-l":[{"border-l":FZ()}],"divide-x":[{"divide-x":FZ()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":FZ()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...YX(),"hidden","none"]}],"divide-style":[{divide:[...YX(),"hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-bs":[{"border-bs":V()}],"border-color-be":[{"border-be":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:[...YX(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ZX,MZ,OZ]}],"outline-w":[{outline:["",ZX,TK,Hz]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",N,vA,yA]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",M,vA,yA]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:FZ()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[ZX,Hz]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":FZ()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",R,vA,yA]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[ZX,MZ,OZ]}],"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":BX()}],"mask-image-linear-to-pos":[{"mask-linear-to":BX()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":BX()}],"mask-image-t-to-pos":[{"mask-t-to":BX()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":BX()}],"mask-image-r-to-pos":[{"mask-r-to":BX()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":BX()}],"mask-image-b-to-pos":[{"mask-b-to":BX()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":BX()}],"mask-image-l-to-pos":[{"mask-l-to":BX()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":BX()}],"mask-image-x-to-pos":[{"mask-x-to":BX()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":BX()}],"mask-image-y-to-pos":[{"mask-y-to":BX()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[MZ,OZ]}],"mask-image-radial-from-pos":[{"mask-radial-from":BX()}],"mask-image-radial-to-pos":[{"mask-radial-to":BX()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"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":qZ()}],"mask-image-conic-pos":[{"mask-conic":[ZX]}],"mask-image-conic-from-pos":[{"mask-conic-from":BX()}],"mask-image-conic-to-pos":[{"mask-conic-to":BX()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:t()}],"mask-repeat":[{mask:TZ()}],"mask-size":[{mask:jZ()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",MZ,OZ]}],filter:[{filter:["","none",MZ,OZ]}],blur:[{blur:Oq()}],brightness:[{brightness:[ZX,MZ,OZ]}],contrast:[{contrast:[ZX,MZ,OZ]}],"drop-shadow":[{"drop-shadow":["","none",j,vA,yA]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",ZX,MZ,OZ]}],"hue-rotate":[{"hue-rotate":[ZX,MZ,OZ]}],invert:[{invert:["",ZX,MZ,OZ]}],saturate:[{saturate:[ZX,MZ,OZ]}],sepia:[{sepia:["",ZX,MZ,OZ]}],"backdrop-filter":[{"backdrop-filter":["","none",MZ,OZ]}],"backdrop-blur":[{"backdrop-blur":Oq()}],"backdrop-brightness":[{"backdrop-brightness":[ZX,MZ,OZ]}],"backdrop-contrast":[{"backdrop-contrast":[ZX,MZ,OZ]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ZX,MZ,OZ]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ZX,MZ,OZ]}],"backdrop-invert":[{"backdrop-invert":["",ZX,MZ,OZ]}],"backdrop-opacity":[{"backdrop-opacity":[ZX,MZ,OZ]}],"backdrop-saturate":[{"backdrop-saturate":[ZX,MZ,OZ]}],"backdrop-sepia":[{"backdrop-sepia":["",ZX,MZ,OZ]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":b()}],"border-spacing-x":[{"border-spacing-x":b()}],"border-spacing-y":[{"border-spacing-y":b()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",MZ,OZ]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ZX,"initial",MZ,OZ]}],ease:[{ease:["linear","initial",n,MZ,OZ]}],delay:[{delay:[ZX,MZ,OZ]}],animate:[{animate:["none",r,MZ,OZ]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,MZ,OZ]}],"perspective-origin":[{"perspective-origin":IZ()}],rotate:[{rotate:_Z()}],"rotate-x":[{"rotate-x":_Z()}],"rotate-y":[{"rotate-y":_Z()}],"rotate-z":[{"rotate-z":_Z()}],scale:[{scale:UQ()}],"scale-x":[{"scale-x":UQ()}],"scale-y":[{"scale-y":UQ()}],"scale-z":[{"scale-z":UQ()}],"scale-3d":["scale-3d"],skew:[{skew:KQ()}],"skew-x":[{"skew-x":KQ()}],"skew-y":[{"skew-y":KQ()}],transform:[{transform:[MZ,OZ,"","none","gpu","cpu"]}],"transform-origin":[{origin:IZ()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:yY()}],"translate-x":[{"translate-x":yY()}],"translate-y":[{"translate-y":yY()}],"translate-z":[{"translate-z":yY()}],"translate-none":["translate-none"],zoom:[{zoom:[zq,MZ,OZ]}],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}],"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",MZ,OZ]}],"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":V()}],"scrollbar-track-color":[{"scrollbar-track":V()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mbs":[{"scroll-mbs":b()}],"scroll-mbe":[{"scroll-mbe":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pbs":[{"scroll-pbs":b()}],"scroll-pbe":[{"scroll-pbe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"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",MZ,OZ]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[ZX,TK,Hz,K2]}],stroke:[{stroke:["none",...V()]}],"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"]}},Qx=(J,{cacheSize:q,prefix:z,experimentalParseClassName:_,extend:W={},override:K={}})=>{return r_(J,"cacheSize",q),r_(J,"prefix",z),r_(J,"experimentalParseClassName",_),hA(J.theme,K.theme),hA(J.classGroups,K.classGroups),hA(J.conflictingClassGroups,K.conflictingClassGroups),hA(J.conflictingClassGroupModifiers,K.conflictingClassGroupModifiers),r_(J,"postfixLookupClassGroups",K.postfixLookupClassGroups),r_(J,"orderSensitiveModifiers",K.orderSensitiveModifiers),bA(J.theme,W.theme),bA(J.classGroups,W.classGroups),bA(J.conflictingClassGroups,W.conflictingClassGroups),bA(J.conflictingClassGroupModifiers,W.conflictingClassGroupModifiers),q3(J,W,"postfixLookupClassGroups"),q3(J,W,"orderSensitiveModifiers"),J},r_=(J,q,z)=>{if(z!==void 0)J[q]=z},hA=(J,q)=>{if(q)for(let z in q)r_(J,z,q[z])},bA=(J,q)=>{if(q)for(let z in q)q3(J,q,z)},q3=(J,q,z)=>{let _=q[z];if(_!==void 0)J[z]=J[z]?J[z].concat(_):_},S2=(J,...q)=>typeof J==="function"?U2(A2,J,...q):U2(()=>Qx(A2(),J),...q);var E2=C(()=>{_2=[],Pk=[],xk=/\s+/,hk=[],I2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,T2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,bk=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,gk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mk=/\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$/,fk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,uk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,dk=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/});var nq,Jx,qx=(J)=>{if(typeof J==="boolean")return J?"":void 0;if(J===void 0||J===null)return;return String(J)},Gx=(J)=>{let q=JSON.stringify(J),z=nq.useRef({signature:q,value:J});if(z.current.signature!==q)z.current={signature:q,value:J};return z.current.value},gZ=(J,q)=>{let z=H2(q?.baseClass,{variants:q?.variants,defaultVariants:q?.defaultVariants,compoundVariants:q?.compoundVariants}),_=q?.passVariantProps?new Set(q.passVariantProps):void 0,W=nq.forwardRef((K,A)=>{let{children:L,...F}=K,T=F.className;delete F.className;let N={};for(let n in q?.variants)if(N[n]=F[n],n in F&&!_?.has(n))delete F[n];let M=Gx(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}`]=qx(JZ)}let j=F.style,v=nq.useMemo(()=>q?.style?{...q.style,...j}:j,[j]),f=nq.useMemo(()=>Jx(IK(z(M),T)),[M,T]),h=J;if(K.asChild&&typeof J==="string")h=X2,delete F.asChild;return nq.createElement(h,{ref:A,className:f,...q.defaultProps,...R,...F,style:v},L)});return W.displayName=q?.displayName??"uic",W};var FY=C(()=>{Y2();z2();xA();E2();nq=g(e(),1),Jx=S2({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 wJ(...J){return(...q)=>{for(let z of J)if(typeof z==="function")z(...q)}}var t_=()=>{};var k2,dZ;var CY=C(()=>{k2=g(e(),1),dZ=typeof document<"u"?k2.default.useLayoutEffect:()=>{}});function _x(J=!1){let q=MY.useContext(x2),z=MY.useRef(null);if(z.current===null&&!J){let _=MY.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(_){let W=z3.get(_);if(W==null)z3.set(_,{id:q.current,state:_.memoizedState});else if(_.memoizedState!==W.state)q.current=W.id,z3.delete(_)}z.current=++q.current}return z.current}function Wx(J){let q=MY.useContext(x2);if(q===gA&&!zx)console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let z=_x(!!J),_=`react-aria${q.prefix}`;return J||`${_}-${z}`}function Ux(J){let q=MY.default.useId(),[z]=MY.useState(sY()),_=z?"react-aria":`react-aria${gA.prefix}`;return J||`${_}-${q}`}function Kx(){return!1}function Bx(){return!0}function Lx(J){return()=>{}}function sY(){if(typeof MY.default.useSyncExternalStore==="function")return MY.default.useSyncExternalStore(Lx,Kx,Bx);return MY.useContext(Hx)}var MY,gA,x2,Hx,zx,z3,y2;var aG=C(()=>{MY=g(e(),1),gA={prefix:String(Math.round(Math.random()*10000000000)),current:0},x2=MY.default.createContext(gA),Hx=MY.default.createContext(!1),zx=Boolean(typeof window<"u"&&window.document&&window.document.createElement),z3=new WeakMap;y2=typeof MY.default.useId==="function"?Ux:Wx});function v2(J){let[q,z]=oG.useState(J),_=oG.useRef(q),W=oG.useRef(null),K=oG.useRef(()=>{if(!W.current)return;let L=W.current.next();if(L.done){W.current=null;return}if(_.current===L.value)K.current();else z(L.value)});dZ(()=>{if(_.current=q,W.current)K.current()});let A=oG.useCallback((L)=>{W.current=L(_.current),K.current()},[K]);return[q,A]}var oG;var h2=C(()=>{CY();oG=g(e(),1)});function aX(J){let[q,z]=sq.useState(J),_=sq.useRef(null),W=y2(q),K=sq.useRef(null);if(wK)wK.register(K,W);if(Ax){let A=e_.get(W);if(A&&!A.includes(_))A.push(_);else e_.set(W,[_])}return dZ(()=>{let A=W;return()=>{if(wK)wK.unregister(K);e_.delete(A)}},[W]),sq.useEffect(()=>{let A=_.current;if(A)z(A);return()=>{if(A)_.current=null}}),W}function b2(J,q){if(J===q)return J;let z=e_.get(J);if(z)return z.forEach((W)=>W.current=q),q;let _=e_.get(q);if(_)return _.forEach((W)=>W.current=J),J;return q}function _q(J=[]){let q=aX(),[z,_]=v2(q),W=sq.useCallback(()=>{_(function*(){yield q,yield document.getElementById(q)?q:void 0})},[q,_]);return dZ(W,[q,W,...J]),z}var sq,Ax,e_,wK;var YJ=C(()=>{CY();aG();h2();sq=g(e(),1),Ax=Boolean(typeof window<"u"&&window.document&&window.document.createElement),e_=new Map;if(typeof FinalizationRegistry<"u")wK=new FinalizationRegistry((J)=>{e_.delete(J)})});function Wq(...J){if(J.length===1&&J[0])return J[0];return(q)=>{let z=!1,_=J.map((W)=>{let K=g2(W,q);return z||=typeof K=="function",K});if(z)return()=>{_.forEach((W,K)=>{if(typeof W==="function")W();else g2(J[K],null)})}}}function g2(J,q){if(typeof J==="function")return J(q);else if(J!=null)J.current=q}var _3=()=>{};function RZ(...J){let q={...J[0]};for(let z=1;z<J.length;z++){let _=J[z];for(let W in _){let K=q[W],A=_[W];if(typeof K==="function"&&typeof A==="function"&&W[0]==="o"&&W[1]==="n"&&W.charCodeAt(2)>=65&&W.charCodeAt(2)<=90)q[W]=wJ(K,A);else if((W==="className"||W==="UNSAFE_className")&&typeof K==="string"&&typeof A==="string")q[W]=J2(K,A);else if(W==="id"&&K&&A)q.id=b2(K,A);else if(W==="ref"&&K&&A)q.ref=Wq(K,A);else q[W]=A!==void 0?A:K}}return q}var DY=C(()=>{t_();YJ();_3();xA()});var VJ=C(()=>{DY()});var mA=C(()=>{_3()});var m2=C(()=>{CY()});function JQ(J){let q=_z.useRef(null),z=_z.useRef(void 0),_=_z.useCallback((W)=>{if(typeof J==="function"){let K=J,A=K(W);return()=>{if(typeof A==="function")A();else K(null)}}else if(J)return J.current=W,()=>{J.current=null}},[J]);return _z.useMemo(()=>({get current(){return q.current},set current(W){if(q.current=W,z.current)z.current(),z.current=void 0;if(W!=null)z.current=_(W)}}),[_])}var _z;var f2=C(()=>{_z=g(e(),1)});var ZW=C(()=>{f2()});function kQ({values:J,children:q}){for(let[z,_]of J)q=NY.default.createElement(z.Provider,{value:_},q);return q}function yX(J){let{className:q,style:z,children:_,defaultClassName:W,defaultChildren:K,defaultStyle:A,values:L,render:F}=J;return NY.useMemo(()=>{let T,N,M;if(typeof q==="function")T=q({...L,defaultClassName:W});else T=q;if(typeof z==="function")N=z({...L,defaultStyle:A||{}});else N=z;if(typeof _==="function")M=_({...L,defaultChildren:K});else if(_==null)M=K;else M=_;return{className:T??W,style:N||A?{...A,...N}:void 0,children:M??K,"data-rac":"",render:F?(R)=>F(R,L):void 0}},[q,z,_,W,K,A,L,F])}function Uz(J,q){let z=NY.useContext(J);if(q===null)return null;if(z&&typeof z==="object"&&"slots"in z&&z.slots){let _=q||Wz;if(!z.slots[_]){let W=new Intl.ListFormat().format(Object.keys(z.slots).map((A)=>`"${A}"`)),K=q?`Invalid slot "${q}".`:"A slot prop is required.";throw Error(`${K} Valid slot names are ${W}.`)}return z.slots[_]}return z}function fX(J,q,z){let _=Uz(z,J.slot)||{},{ref:W,...K}=_,A=JQ(NY.useMemo(()=>Wq(q,W),[q,W])),L=RZ(K,J);if("style"in K&&K.style&&"style"in J&&J.style)if(typeof K.style==="function"||typeof J.style==="function")L.style=(F)=>{let T=typeof K.style==="function"?K.style(F):K.style,N={...F.defaultStyle,...T},M=typeof J.style==="function"?J.style({...F,defaultStyle:N}):J.style;return{...N,...M}};else L.style={...K.style,...J.style};return[L,A]}function fA(J=!0){let[q,z]=NY.useState(J),_=NY.useRef(!1),W=NY.useCallback((K)=>{_.current=!0,z(!!K)},[]);return dZ(()=>{if(!_.current)z(!1)},[]),[W,q]}function d2(J){let q=/^(data-.*)$/,z={};for(let _ in J)if(!q.test(_))z[_]=J[_];return z}function Ox(J,q,z){let{render:_,...W}=q,K=NY.useRef(null),A=NY.useMemo(()=>Wq(z,K),[z,K]);dZ(()=>{if(_){if(!K.current)console.warn("Ref was not connected to DOM element returned by custom `render` function. Did you forget to pass through or merge the `ref`?");else if(K.current.localName!==J)console.warn(`Unexpected DOM element returned by custom \`render\` function. Expected <${J}>, got <${K.current.localName}>. This may break the component behavior and accessibility.`)}},[J,_]);let L={...W,ref:A};if(_)return _(L,void 0);return NY.default.createElement(J,L)}var NY,Wz,u2,LX;var qQ=C(()=>{VJ();mA();m2();ZW();NY=g(e(),1),Wz=Symbol("default");u2={},LX=new Proxy({},{get(J,q){if(typeof q!=="string")return;let z=u2[q];if(!z)z=NY.forwardRef(Ox.bind(null,q)),u2[q]=z;return z}})});function RJ(J){let q=(z,_)=>{if(Kz.useContext(Fx))return null;return J(z,_)};return q.displayName=J.displayName||J.name,Kz.forwardRef(q)}var Kz,Fx;var c2=C(()=>{Kz=g(e(),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(J){return this.content.appendChild(J)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(J){return this.content.removeChild(J)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(J,q){return this.content.insertBefore(J,q)}});Fx=Kz.createContext(!1)});var XW=C(()=>{c2()});var uA,dA,Bz;var W3=C(()=>{qQ();XW();uA=g(e(),1),dA=uA.createContext({}),Bz=RJ(function(q,z){[q,z]=fX(q,z,dA);let{elementType:_="label",...W}=q,K=LX[_];return uA.default.createElement(K,{className:"react-aria-Label",...W,ref:z})})});function HX(J,q={}){let{labelable:z,isLink:_,global:W,events:K=W,propNames:A}=q,L={};for(let F in J)if(Object.prototype.hasOwnProperty.call(J,F)&&(Mx.has(F)||z&&Nx.has(F)||_&&Ix.has(F)||W&&Tx.has(F)||K&&(p2.has(F)||F.endsWith("Capture")&&p2.has(F.slice(0,-7)))||A?.has(F)||wx.test(F)))L[F]=J[F];return L}var Mx,Nx,Ix,Tx,p2,wx;var rG=C(()=>{Mx=new Set(["id"]),Nx=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Ix=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Tx=new Set(["dir","lang","hidden","inert","translate"]),p2=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"]),wx=/^(data-.*)$/});function tG(J,q){let{id:z,"aria-label":_,"aria-labelledby":W}=J;if(z=aX(z),W&&_)W=[...new Set([z,...W.trim().split(/\s+/)])].join(" ");else if(W)W=W.trim().split(/\s+/).join(" ");if(!_&&!W&&q)_=q;return{id:z,"aria-label":_,"aria-labelledby":W}}var VK=C(()=>{YJ()});function l2(J){let{id:q,label:z,"aria-labelledby":_,"aria-label":W,labelElementType:K="label"}=J;q=aX(q);let A=aX(),L={};if(z)_=_?`${A} ${_}`:A,L={id:A,htmlFor:K==="label"?q:void 0};else if(!_&&!W)console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let F=tG({id:q,"aria-label":W,"aria-labelledby":_});return{labelProps:L,fieldProps:F}}var i2=C(()=>{YJ();VK()});function n2(J){if(Intl.Locale){let z=new Intl.Locale(J).maximize(),_=typeof z.getTextInfo==="function"?z.getTextInfo():z.textInfo;if(_)return _.direction==="rtl";if(z.script)return Vx.has(z.script)}let q=J.split("-")[0];return Rx.has(q)}var Vx,Rx;var s2=C(()=>{Vx=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Rx=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"])});function r2(){let J=typeof window<"u"&&window[o2]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([J])}catch{J="en-US"}return{locale:J,direction:n2(J)?"rtl":"ltr"}}function a2(){U3=r2();for(let J of RK)J(U3)}function t2(){let J=sY(),[q,z]=cA.useState(U3);if(cA.useEffect(()=>{if(RK.size===0)window.addEventListener("languagechange",a2);return RK.add(z),()=>{if(RK.delete(z),RK.size===0)window.removeEventListener("languagechange",a2)}},[]),J)return{locale:typeof window<"u"&&window[o2]||"en-US",direction:"ltr"};return q}var cA,o2,U3,RK;var e2=C(()=>{s2();aG();cA=g(e(),1),o2=Symbol.for("react-aria.i18n.locale");U3=r2(),RK=new Set});function YW(){let J=t2();return pA.useContext(jx)||J}var pA,jx;var lA=C(()=>{e2();pA=g(e(),1),jx=pA.default.createContext(null)});var Uq=C(()=>{rG()});var iA,Zw;var Xw=C(()=>{iA=g(e(),1),Zw=iA.createContext(null)});function nA(J,q="assertive",z=7000){if(!QW)if(QW=new Yw,!(typeof IS_REACT_ACT_ENVIRONMENT==="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u"))setTimeout(()=>{if(QW?.isAttached())QW?.announce(J,q,z)},100);else QW.announce(J,q,z);else QW.announce(J,q,z)}class Yw{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(J){let q=document.createElement("div");return q.setAttribute("role","log"),q.setAttribute("aria-live",J),q.setAttribute("aria-relevant","additions"),q}destroy(){if(!this.node)return;document.body.removeChild(this.node),this.node=null}announce(J,q="assertive",z=7000){if(!this.node)return;let _=document.createElement("div");if(typeof J==="object")_.setAttribute("role","img"),_.setAttribute("aria-labelledby",J["aria-labelledby"]);else _.textContent=J;if(q==="assertive")this.assertiveLog?.appendChild(_);else this.politeLog?.appendChild(_);if(J!=="")setTimeout(()=>{_.remove()},z)}clear(J){if(!this.node)return;if((!J||J==="assertive")&&this.assertiveLog)this.assertiveLog.innerHTML="";if((!J||J==="polite")&&this.politeLog)this.politeLog.innerHTML=""}}var QW=null;var Qw=()=>{};var Jw=C(()=>{Qw()});function aY(J){if(Cx())J.focus({preventScroll:!0});else{let q=Dx(J);J.focus(),Px(q)}}function Cx(){if(sA==null){sA=!1;try{document.createElement("div").focus({get preventScroll(){return sA=!0,!0}})}catch{}}return sA}function Dx(J){let q=J.parentNode,z=[],_=document.scrollingElement||document.documentElement;while(q instanceof HTMLElement&&q!==_){if(q.offsetHeight<q.scrollHeight||q.offsetWidth<q.scrollWidth)z.push({element:q,scrollTop:q.scrollTop,scrollLeft:q.scrollLeft});q=q.parentNode}if(_ instanceof HTMLElement)z.push({element:_,scrollTop:_.scrollTop,scrollLeft:_.scrollLeft});return z}function Px(J){for(let{element:q,scrollTop:z,scrollLeft:_}of J)q.scrollTop=z,q.scrollLeft=_}var sA=null;var Lz=()=>{};function $x(J){return J!==null&&typeof J==="object"&&"nodeType"in J&&typeof J.nodeType==="number"}function qw(J){return $x(J)&&J.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in J}var cZ=(J)=>{return J?.ownerDocument??document},uX=(J)=>{if(J&&"window"in J&&J.window===J)return J;return cZ(J).defaultView||window};var PY=()=>{};function xQ(){return Sx}var Sx=!1;var Gw=()=>{};var aA=C(()=>{Gw()});function XX(J,q){if(!xQ())return q&&J?J.contains(q):!1;if(!J||!q)return!1;let z=q;while(z!==null){if(z===J)return!0;if(z.tagName==="SLOT"&&z.assignedSlot)z=z.assignedSlot.parentNode;else if(qw(z))z=z.host;else z=z.parentNode}return!1}function UZ(J){if(xQ()&&J.target instanceof Element&&J.target.shadowRoot){if("composedPath"in J)return J.composedPath()[0]??null;else if("composedPath"in J.nativeEvent)return J.nativeEvent.composedPath()[0]??null}return J.target}function K3(J){if(!J)return!1;let q=J.getRootNode(),z=uX(J);if(!(q instanceof z.Document||q instanceof z.ShadowRoot))return!1;let _=q.activeElement;return _!=null&&J.contains(_)}var KX=(J=document)=>{if(!xQ())return J.activeElement;let q=J.activeElement;while(q&&"shadowRoot"in q&&q.shadowRoot?.activeElement)q=q.shadowRoot.activeElement;return q};var dX=C(()=>{PY();aA()});function kx(J){let q=uX(J);if(!(J instanceof q.HTMLElement)&&!(J instanceof q.SVGElement))return!1;let{display:z,visibility:_}=J.style,W=z!=="none"&&_!=="hidden"&&_!=="collapse";if(W){let{getComputedStyle:K}=J.ownerDocument.defaultView,{display:A,visibility:L}=K(J);W=A!=="none"&&L!=="hidden"&&L!=="collapse"}return W}function xx(J,q){return!J.hasAttribute("hidden")&&!J.hasAttribute("data-react-aria-prevent-focus")&&(J.nodeName==="DETAILS"&&q&&q.nodeName!=="SUMMARY"?J.hasAttribute("open"):!0)}function oA(J,q){if(Ex)return J.checkVisibility({visibilityProperty:!0})&&!J.closest("[data-react-aria-prevent-focus]");return J.nodeName!=="#comment"&&kx(J)&&xx(J,q)&&(!J.parentElement||oA(J.parentElement,J))}var Ex;var Hw=C(()=>{PY();Ex=typeof Element<"u"&&"checkVisibility"in Element.prototype});function rA(J,q){return J.matches(yx)&&!zw(J)&&(q?.skipVisibilityCheck||oA(J))}function tA(J){return J.matches(vx)&&oA(J)&&!zw(J)}function zw(J){let q=J;while(q!=null){if(q instanceof q.ownerDocument.defaultView.HTMLElement&&q.inert)return!0;q=q.parentElement}return!1}var B3,yx,vx;var eA=C(()=>{Hw();B3=["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"],yx=B3.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";B3.push('[tabindex]:not([tabindex="-1"]):not([disabled])');vx=B3.join(':not([hidden]):not([tabindex="-1"]),')});function CK(J){let q=J;return q.nativeEvent=J,q.isDefaultPrevented=()=>q.defaultPrevented,q.isPropagationStopped=()=>q.cancelBubble,q.persist=()=>{},q}function XO(J,q){Object.defineProperty(J,"target",{value:q}),Object.defineProperty(J,"currentTarget",{value:q})}function YO(J){let q=ZO.useRef({isFocused:!1,observer:null});return dZ(()=>{let z=q.current;return()=>{if(z.observer)z.observer.disconnect(),z.observer=null}},[]),ZO.useCallback((z)=>{let _=UZ(z);if(_ instanceof HTMLButtonElement||_ instanceof HTMLInputElement||_ instanceof HTMLTextAreaElement||_ instanceof HTMLSelectElement){q.current.isFocused=!0;let W=_,K=(A)=>{if(q.current.isFocused=!1,W.disabled){let L=CK(A);J?.(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===KX()?null:KX();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"]})}},[J])}function _w(J){while(J&&!rA(J,{skipVisibilityCheck:!0}))J=J.parentElement;let q=uX(J),z=q.document.activeElement;if(!z||z===J)return;jK=!0;let _=!1,W=(N)=>{if(UZ(N)===z||_)N.stopImmediatePropagation()},K=(N)=>{if(UZ(N)===z||_){if(N.stopImmediatePropagation(),!J&&!_)_=!0,aY(z),F()}},A=(N)=>{if(UZ(N)===J||_)N.stopImmediatePropagation()},L=(N)=>{if(UZ(N)===J||_){if(N.stopImmediatePropagation(),!_)_=!0,aY(z),F()}};q.addEventListener("blur",W,!0),q.addEventListener("focusout",K,!0),q.addEventListener("focusin",L,!0),q.addEventListener("focus",A,!0);let F=()=>{cancelAnimationFrame(T),q.removeEventListener("blur",W,!0),q.removeEventListener("focusout",K,!0),q.removeEventListener("focusin",L,!0),q.removeEventListener("focus",A,!0),jK=!1,_=!1},T=requestAnimationFrame(F);return F}var ZO,jK=!1;var DK=C(()=>{Lz();dX();PY();eA();CY();ZO=g(e(),1)});function QO(J){if(typeof window>"u"||window.navigator==null)return!1;let q=window.navigator.userAgentData?.brands;return Array.isArray(q)&&q.some((z)=>J.test(z.brand))||J.test(window.navigator.userAgent)}function L3(J){return typeof window<"u"&&window.navigator!=null?J.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function aq(J){let q=null;return()=>{if(q==null)q=J();return q}}var jJ,hx,A3,CJ,Ww,Uw,O3,PK,Kw;var QJ=C(()=>{jJ=aq(function(){return L3(/^Mac/i)}),hx=aq(function(){return L3(/^iPhone/i)}),A3=aq(function(){return L3(/^iPad/i)||jJ()&&navigator.maxTouchPoints>1}),CJ=aq(function(){return hx()||A3()}),Ww=aq(function(){return jJ()||CJ()}),Uw=aq(function(){return QO(/AppleWebKit/i)&&!O3()}),O3=aq(function(){return QO(/Chrome/i)}),PK=aq(function(){return QO(/Android/i)}),Kw=aq(function(){return QO(/Firefox/i)})});function JO(J){if(J.pointerType===""&&J.isTrusted)return!0;if(PK()&&J.pointerType)return J.type==="click"&&J.buttons===1;return J.detail===0&&!J.pointerType}function Bw(J){return!PK()&&J.width===0&&J.height===0||J.width===1&&J.height===1&&J.pressure===0&&J.detail===0&&J.pointerType==="mouse"}var F3=C(()=>{QJ()});function Az(){return JW.useContext(bx)}function gx(J,q){let z=J.getAttribute("target");return(!z||z==="_self")&&J.origin===location.origin&&!J.hasAttribute("download")&&!q.metaKey&&!q.ctrlKey&&!q.altKey&&!q.shiftKey}function JJ(J,q,z=!0){let{metaKey:_,ctrlKey:W,altKey:K,shiftKey:A}=q;if(Kw()&&window.event?.type?.startsWith("key")&&J.target==="_blank")if(jJ())_=!0;else W=!0;let L=Uw()&&jJ()&&!A3()?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});JJ.isOpening=z,aY(J),J.dispatchEvent(L),JJ.isOpening=!1}function mx(J,q){if(J instanceof HTMLAnchorElement)q(J);else if(J.hasAttribute("data-href")){let z=document.createElement("a");if(z.href=J.getAttribute("data-href"),J.hasAttribute("data-target"))z.target=J.getAttribute("data-target");if(J.hasAttribute("data-rel"))z.rel=J.getAttribute("data-rel");if(J.hasAttribute("data-download"))z.download=J.getAttribute("data-download");if(J.hasAttribute("data-ping"))z.ping=J.getAttribute("data-ping");if(J.hasAttribute("data-referrer-policy"))z.referrerPolicy=J.getAttribute("data-referrer-policy");J.appendChild(z),q(z),J.removeChild(z)}}function fx(J,q){mx(J,(z)=>JJ(z,q))}function qW(J){let z=Az().useHref(J?.href??""),_={};if(J){for(let W of["href","target","rel","download","ping","referrerPolicy"])if(W in J)_[W]=W==="href"?z:J[W]}return _}function Lw(J,q,z,_){if(!q.isNative&&J.currentTarget instanceof HTMLAnchorElement&&J.currentTarget.href&&!J.isDefaultPrevented()&&gx(J.currentTarget,J)&&z)J.preventDefault(),q.open(J.currentTarget,J,z,_)}var JW,bx;var eG=C(()=>{Lz();QJ();JW=g(e(),1),bx=JW.createContext({isNative:!0,open:fx,useHref:(J)=>J});JJ.isOpening=!1});function GO(J,q){for(let z of M3)z(J,q)}function dx(J){return!(J.metaKey||!jJ()&&J.altKey||J.ctrlKey||J.key==="Control"||J.key==="Shift"||J.key==="Meta")}function qO(J){if(Oz=!0,!JJ.isOpening&&dx(J))Fz="keyboard",SK="keyboard",GO("keyboard",J)}function GW(J){if(Fz="pointer",SK="pointerType"in J?J.pointerType:"mouse",J.type==="mousedown"||J.type==="pointerdown")Oz=!0,GO("pointer",J)}function Aw(J){if(!JJ.isOpening&&JO(J))Oz=!0,Fz="virtual",SK="virtual"}function Ow(J){let q=uX(UZ(J)),z=cZ(UZ(J));if(UZ(J)===q||UZ(J)===z||jK||!J.isTrusted)return;if(!Oz&&!N3)Fz="virtual",SK="virtual",GO("virtual",J);Oz=!1,N3=!1}function Fw(){if(jK)return;Oz=!1,N3=!0}function I3(J){if(typeof window>"u"||typeof document>"u")return;let q=uX(J),z=cZ(J);if($K.get(q))return;let _=q.HTMLElement.prototype.focus;if(q.HTMLElement.prototype.focus=function(){Oz=!0,_.apply(this,arguments)},z.addEventListener("keydown",qO,!0),z.addEventListener("keyup",qO,!0),z.addEventListener("click",Aw,!0),q.addEventListener("focus",Ow,!0),q.addEventListener("blur",Fw,!1),typeof PointerEvent<"u")z.addEventListener("pointerdown",GW,!0),z.addEventListener("pointermove",GW,!0),z.addEventListener("pointerup",GW,!0);q.addEventListener("beforeunload",()=>{Mw(J)},{once:!0}),$K.set(q,{focus:_})}function cx(J){let q=cZ(J),z;if(q.readyState!=="loading")I3(J);else z=()=>{I3(J)},q.addEventListener("DOMContentLoaded",z);return()=>Mw(J,z)}function Kq(){return Fz!=="pointer"}function Mz(){return Fz}function EK(J){Fz=J,SK=J==="pointer"?"mouse":J,GO(J,null)}function lx(J,q,z){let _=z?UZ(z):void 0,W=cZ(_),K=uX(_),A=typeof K<"u"?K.HTMLInputElement:HTMLInputElement,L=typeof K<"u"?K.HTMLTextAreaElement:HTMLTextAreaElement,F=typeof K<"u"?K.HTMLElement:HTMLElement,T=typeof K<"u"?K.KeyboardEvent:KeyboardEvent,N=KX(W);return J=J||N instanceof A&&!px.has(N.type)||N instanceof L||N instanceof F&&N.isContentEditable,!(J&&q==="keyboard"&&z instanceof T&&!ux[z.key])}function Nw(J,q,z){I3(),T3.useEffect(()=>{if(z?.enabled===!1)return;let _=(W,K)=>{if(!lx(!!z?.isTextInput,W,K))return;J(Kq())};return M3.add(_),()=>{M3.delete(_)}},q)}var T3,Fz=null,SK="keyboard",M3,$K,Oz=!1,N3=!1,ux,Mw=(J,q)=>{let z=uX(J),_=cZ(J);if(q)_.removeEventListener("DOMContentLoaded",q);if(!$K.has(z))return;if(z.HTMLElement.prototype.focus=$K.get(z).focus,_.removeEventListener("keydown",qO,!0),_.removeEventListener("keyup",qO,!0),_.removeEventListener("click",Aw,!0),z.removeEventListener("focus",Ow,!0),z.removeEventListener("blur",Fw,!1),typeof PointerEvent<"u")_.removeEventListener("pointerdown",GW,!0),_.removeEventListener("pointermove",GW,!0),_.removeEventListener("pointerup",GW,!0);$K.delete(z)},px;var ZH=C(()=>{dX();PY();DK();QJ();F3();eG();T3=g(e(),1),M3=new Set,$K=new Map,ux={Tab:!0,Escape:!0};if(typeof document<"u")cx();px=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function Iw(){if(typeof window>"u")return;function J(_){return"propertyName"in _}let q=(_)=>{let W=UZ(_);if(!J(_)||!W)return;let K=XH.get(W);if(!K)K=new Set,XH.set(W,K),W.addEventListener("transitioncancel",z,{once:!0});K.add(_.propertyName)},z=(_)=>{let W=UZ(_);if(!J(_)||!W)return;let K=XH.get(W);if(!K)return;if(K.delete(_.propertyName),K.size===0)W.removeEventListener("transitioncancel",z),XH.delete(W);if(XH.size===0){for(let A of w3)A();w3.clear()}};document.body.addEventListener("transitionrun",q),document.body.addEventListener("transitionend",z)}function ix(){for(let[J]of XH)if("isConnected"in J&&!J.isConnected)XH.delete(J)}function HO(J){requestAnimationFrame(()=>{if(ix(),XH.size===0)J();else w3.add(J)})}var XH,w3;var V3=C(()=>{dX();XH=new Map,w3=new Set;if(typeof document<"u")if(document.readyState!=="loading")Iw();else document.addEventListener("DOMContentLoaded",Iw)});function oq(J){if(!J.isConnected)return;let q=cZ(J);if(Mz()==="virtual"){let z=KX(q);HO(()=>{let _=KX(q);if((_===z||_===q.body)&&J.isConnected)aY(J)})}else aY(J)}var kK=C(()=>{Lz();dX();ZH();PY();V3()});function Nz(J){let{isDisabled:q,onFocus:z,onBlur:_,onFocusChange:W}=J,K=R3.useCallback((F)=>{if(UZ(F)===F.currentTarget){if(_)_(F);if(W)W(!1);return!0}},[_,W]),A=YO(K),L=R3.useCallback((F)=>{let T=UZ(F),N=cZ(T),M=N?KX(N):KX();if(T===F.currentTarget&&T===M){if(z)z(F);if(W)W(!0);A(F)}},[W,z,A]);return{focusProps:{onFocus:!q&&(z||W||_)?L:void 0,onBlur:!q&&(_||W)?K:void 0}}}var R3;var zO=C(()=>{dX();PY();DK();R3=g(e(),1)});function j3(J){if(!J)return;let q=!0;return(z)=>{let _={...z,preventDefault(){z.preventDefault()},isDefaultPrevented(){return z.isDefaultPrevented()},stopPropagation(){if(q)console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");else q=!0},continuePropagation(){q=!1},isPropagationStopped(){return q}};if(J(_),q)z.stopPropagation()}}var Tw=()=>{};function Iz(J){return{keyboardProps:J.isDisabled?{}:{onKeyDown:j3(J.onKeyDown),onKeyUp:j3(J.onKeyUp)}}}var _O=C(()=>{Tw()});function WO(J,q){dZ(()=>{if(J&&J.ref&&q)return J.ref.current=q.current,()=>{if(J.ref)J.ref.current=null}})}var C3=C(()=>{CY()});function nx(J){let q=rq.useContext(UO)||{};WO(q,J);let{ref:z,..._}=q;return _}function YH(J,q){let{focusProps:z}=Nz(J),{keyboardProps:_}=Iz(J),W=RZ(z,_),K=nx(q),A=J.isDisabled?{}:K,L=rq.useRef(J.autoFocus);rq.useEffect(()=>{if(L.current&&q.current)oq(q.current);L.current=!1},[q]);let F=J.excludeFromTabOrder?-1:0;if(J.isDisabled)F=void 0;return{focusableProps:RZ({...W,tabIndex:F},A)}}var rq,UO;var HW=C(()=>{kK();DY();zO();_O();C3();rq=g(e(),1),UO=rq.default.createContext(null)});function ww(J){if(CJ()){if(zW==="default"){let q=cZ(J);D3=q.documentElement.style.webkitUserSelect,q.documentElement.style.webkitUserSelect="none"}zW="disabled"}else if(J instanceof HTMLElement||J instanceof SVGElement){let q="userSelect"in J.style?"userSelect":"webkitUserSelect";KO.set(J,J.style[q]),J.style[q]="none"}}function P3(J){if(CJ()){if(zW!=="disabled")return;zW="restoring",setTimeout(()=>{HO(()=>{if(zW==="restoring"){let q=cZ(J);if(q.documentElement.style.webkitUserSelect==="none")q.documentElement.style.webkitUserSelect=D3||"";D3="",zW="default"}})},300)}else if(J instanceof HTMLElement||J instanceof SVGElement){if(J&&KO.has(J)){let q=KO.get(J),z="userSelect"in J.style?"userSelect":"webkitUserSelect";if(J.style[z]==="none")J.style[z]=q;if(J.getAttribute("style")==="")J.removeAttribute("style");KO.delete(J)}}}var zW="default",D3="",KO;var Vw=C(()=>{PY();QJ();V3();KO=new WeakMap});function Rw(J){return J?.defaultView?.__webpack_nonce__||globalThis.__webpack_nonce__||void 0}function BO(J){let q=J??(typeof document<"u"?document:void 0);if(!q)return Rw(q);if($3.has(q))return $3.get(q);let z=q.querySelector('meta[property="csp-nonce"]'),_=z&&z instanceof uX(z).HTMLMetaElement&&(z.nonce||z.content)||Rw(q)||void 0;if(_!==void 0)$3.set(q,_);return _}var $3;var S3=C(()=>{PY();$3=new WeakMap});var jw,xK;var E3=C(()=>{jw=g(e(),1),xK=jw.default.createContext({register:()=>{}});xK.displayName="PressResponderContext"});function $Y(J){let q=_W.useRef(null);return sx(()=>{q.current=J},[J]),_W.useCallback((...z)=>{let _=q.current;return _?.(...z)},[])}var _W,sx;var Tz=C(()=>{CY();_W=g(e(),1),sx=_W.default.useInsertionEffect??dZ});function JH(){let J=QH.useRef(new Map),q=QH.useCallback((W,K,A,L)=>{let F=L?.once?(...T)=>{J.current.delete(A),A(...T)}:A;J.current.set(A,{type:K,eventTarget:W,fn:F,options:L}),W.addEventListener(K,F,L)},[]),z=QH.useCallback((W,K,A,L)=>{let F=J.current.get(A)?.fn||A;W.removeEventListener(K,F,L),J.current.delete(A)},[]),_=QH.useCallback(()=>{J.current.forEach((W,K)=>{z(W.eventTarget,W.type,K,W.options)})},[z]);return QH.useEffect(()=>{return _},[_]),{addGlobalListener:q,removeGlobalListener:z,removeAllGlobalListeners:_}}var QH;var yK=C(()=>{QH=g(e(),1)});function ox(J){let q=qY.useContext(xK);if(q){let{register:z,ref:_,...W}=q;J=RZ(W,J),z()}return WO(q,J.ref),J}class vK{#Z;constructor(J,q,z,_){this.#Z=!0;let K=(_?.target??z.currentTarget)?.getBoundingClientRect(),A,L=0,F,T=null;if(z.clientX!=null&&z.clientY!=null)F=z.clientX,T=z.clientY;if(K)if(F!=null&&T!=null)A=F-K.left,L=T-K.top;else A=K.width/2,L=K.height/2;this.type=J,this.pointerType=q,this.target=z.currentTarget,this.shiftKey=z.shiftKey,this.metaKey=z.metaKey,this.ctrlKey=z.ctrlKey,this.altKey=z.altKey,this.x=A,this.y=L,this.key=z.key}continuePropagation(){this.#Z=!1}get shouldStopPropagation(){return this.#Z}}function qH(J){let{onPress:q,onPressChange:z,onPressStart:_,onPressEnd:W,onPressUp:K,onClick:A,isDisabled:L,isPressed:F,preventFocusOnPress:T,shouldCancelOnPointerExit:N,allowTextSelectionOnPress:M,ref:R,...j}=ox(J),[v,f]=qY.useState(!1),h=qY.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:n,removeAllGlobalListeners:r}=JH(),JZ=qY.useCallback((y,u)=>{let c=h.current;if(L||c.didFirePressStart)return!1;let p=!0;if(c.isTriggeringEvent=!0,_){let KZ=new vK("pressstart",u,y);_(KZ),p=KZ.shouldStopPropagation}if(z)z(!0);return c.isTriggeringEvent=!1,c.didFirePressStart=!0,f(!0),p},[L,_,z]),qZ=qY.useCallback((y,u,c=!0)=>{let p=h.current;if(!p.didFirePressStart)return!1;p.didFirePressStart=!1,p.isTriggeringEvent=!0;let KZ=!0;if(W){let s=new vK("pressend",u,y);W(s),KZ=s.shouldStopPropagation}if(z)z(!1);if(f(!1),q&&c&&!L){let s=new vK("press",u,y);q(s),KZ&&=s.shouldStopPropagation}return p.isTriggeringEvent=!1,KZ},[L,W,z,q]),IZ=$Y(qZ),mZ=qY.useCallback((y,u)=>{let c=h.current;if(L)return!1;if(K){c.isTriggeringEvent=!0;let p=new vK("pressup",u,y);return K(p),c.isTriggeringEvent=!1,p.shouldStopPropagation}return!0},[L,K]),QZ=$Y(mZ),b=qY.useCallback((y)=>{let u=h.current;if(u.isPressed&&u.target){if(u.didFirePressStart&&u.pointerType!=null)qZ(wz(u.target,y),u.pointerType,!1);if(u.isPressed=!1,u.isOverTarget=!1,u.activePointerId=null,u.pointerType=null,r(),!M)P3(u.target);for(let c of u.disposables)c();u.disposables=[]}},[M,r,qZ]),AZ=$Y(b);qY.useEffect(()=>{if(L&&h.current.isPressed)AZ({currentTarget:h.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[L]);let a=qY.useCallback((y)=>{if(N)b(y)},[N,b]),LZ=qY.useCallback((y)=>{if(L)return;A?.(y)},[L,A]),WZ=qY.useCallback((y,u)=>{if(L)return;if(A){let c=new MouseEvent("click",y);XO(c,u),A(CK(c))}},[L,A]),zZ=qY.useMemo(()=>{let y=h.current,u={onKeyDown(p){if(k3(p.nativeEvent,p.currentTarget)&&XX(p.currentTarget,UZ(p))){if($w(UZ(p),p.key))p.preventDefault();let KZ=!0;if(!y.isPressed&&!p.repeat)y.target=p.currentTarget,y.isPressed=!0,y.pointerType="keyboard",KZ=JZ(p,"keyboard");let s=p.currentTarget,V=(t)=>{if(k3(t,s)&&!t.repeat&&XX(s,UZ(t))&&y.target)QZ(wz(y.target,t),"keyboard")};if(n(cZ(p.currentTarget),"keyup",wJ(V,c),!0),KZ)p.stopPropagation();if(p.metaKey&&jJ())y.metaKeyEvents?.set(p.key,p.nativeEvent)}else if(p.key==="Meta")y.metaKeyEvents=new Map},onClick(p){if(p&&!XX(p.currentTarget,UZ(p)))return;if(p&&p.button===0&&!y.isTriggeringEvent&&!JJ.isOpening){let KZ=!0;if(L)p.preventDefault();if(!y.ignoreEmulatedMouseEvents&&!y.isPressed&&(y.pointerType==="virtual"||JO(p.nativeEvent))){let s=JZ(p,"virtual"),V=QZ(p,"virtual"),t=IZ(p,"virtual");LZ(p),KZ=s&&V&&t}else if(y.isPressed&&y.pointerType!=="keyboard"){let s=y.pointerType||p.nativeEvent.pointerType||"virtual",V=QZ(wz(p.currentTarget,p),s),t=IZ(wz(p.currentTarget,p),s,!0);KZ=V&&t,y.isOverTarget=!1,LZ(p),AZ(p)}if(y.ignoreEmulatedMouseEvents=!1,KZ)p.stopPropagation()}}},c=(p)=>{if(y.isPressed&&y.target&&k3(p,y.target)){if($w(UZ(p),p.key))p.preventDefault();let KZ=UZ(p),s=XX(y.target,KZ);if(IZ(wz(y.target,p),"keyboard",s),s)WZ(p,y.target);if(r(),p.key!=="Enter"&&x3(y.target)&&XX(y.target,KZ)&&!p[Cw])p[Cw]=!0,JJ(y.target,p,!1);y.isPressed=!1,y.metaKeyEvents?.delete(p.key)}else if(p.key==="Meta"&&y.metaKeyEvents?.size){let KZ=y.metaKeyEvents;y.metaKeyEvents=void 0;for(let s of KZ.values())y.target?.dispatchEvent(new KeyboardEvent("keyup",s))}};if(typeof PointerEvent<"u"){u.onPointerDown=(s)=>{if(s.button!==0||!XX(s.currentTarget,UZ(s)))return;if(Bw(s.nativeEvent)){y.pointerType="virtual";return}y.pointerType=s.pointerType;let V=!0;if(!y.isPressed){if(y.isPressed=!0,y.isOverTarget=!0,y.activePointerId=s.pointerId,y.target=s.currentTarget,!M)ww(y.target);V=JZ(s,y.pointerType);let t=UZ(s);if("releasePointerCapture"in t)if("hasPointerCapture"in t){if(t.hasPointerCapture(s.pointerId))t.releasePointerCapture(s.pointerId)}else t.releasePointerCapture(s.pointerId);n(cZ(s.currentTarget),"pointerup",p,!1),n(cZ(s.currentTarget),"pointercancel",KZ,!1)}if(V)s.stopPropagation()},u.onMouseDown=(s)=>{if(!XX(s.currentTarget,UZ(s)))return;if(s.button===0){if(T){let V=_w(s.target);if(V)y.disposables.push(V)}s.stopPropagation()}},u.onPointerUp=(s)=>{if(!XX(s.currentTarget,UZ(s))||y.pointerType==="virtual")return;if(s.button===0&&!y.isPressed)QZ(s,y.pointerType||s.pointerType)},u.onPointerEnter=(s)=>{if(s.pointerId===y.activePointerId&&y.target&&!y.isOverTarget&&y.pointerType!=null)y.isOverTarget=!0,JZ(wz(y.target,s),y.pointerType)},u.onPointerLeave=(s)=>{if(s.pointerId===y.activePointerId&&y.target&&y.isOverTarget&&y.pointerType!=null)y.isOverTarget=!1,IZ(wz(y.target,s),y.pointerType,!1),a(s)};let p=(s)=>{if(s.pointerId===y.activePointerId&&y.isPressed&&s.button===0&&y.target){if(XX(y.target,UZ(s))&&y.pointerType!=null){let V=!1,t=setTimeout(()=>{if(y.isPressed&&y.target instanceof HTMLElement)if(V)AZ(s);else aY(y.target),y.target.click()},80);n(s.currentTarget,"click",()=>V=!0,!0),y.disposables.push(()=>clearTimeout(t))}else AZ(s);y.isOverTarget=!1}},KZ=(s)=>{AZ(s)};u.onDragStart=(s)=>{if(!XX(s.currentTarget,UZ(s)))return;AZ(s)}}return u},[n,L,T,r,M,a,JZ,LZ,WZ]);return qY.useEffect(()=>{if(!R)return;let y=cZ(R.current);if(!y||!y.head||y.getElementById(Dw))return;let u=y.createElement("style");u.id=Dw;let c=BO(y);if(c)u.nonce=c;u.textContent=`
|
|
236
|
+
@layer {
|
|
237
|
+
[${Pw}] {
|
|
238
|
+
touch-action: pan-x pan-y pinch-zoom;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
`.trim(),y.head.prepend(u)},[R]),qY.useEffect(()=>{let y=h.current;return()=>{if(!M)P3(y.target??void 0);for(let u of y.disposables)u();y.disposables=[]}},[M]),{isPressed:F||v,pressProps:RZ(j,zZ,{[Pw]:!0})}}function x3(J){return J.tagName==="A"&&J.hasAttribute("href")}function k3(J,q){let{key:z,code:_}=J,W=q,K=W.getAttribute("role");return(z==="Enter"||z===" "||z==="Spacebar"||_==="Space")&&!(W instanceof uX(W).HTMLInputElement&&!Sw(W,z)||W instanceof uX(W).HTMLTextAreaElement||W.isContentEditable)&&!((K==="link"||!K&&x3(W))&&z!=="Enter")}function wz(J,q){let{clientX:z,clientY:_}=q;return{currentTarget:J,shiftKey:q.shiftKey,ctrlKey:q.ctrlKey,metaKey:q.metaKey,altKey:q.altKey,clientX:z,clientY:_,key:q.key}}function rx(J){if(J instanceof HTMLInputElement)return!1;if(J instanceof HTMLButtonElement)return J.type!=="submit"&&J.type!=="reset";if(x3(J))return!1;return!0}function $w(J,q){if(J instanceof HTMLInputElement)return!Sw(J,q);return rx(J)}function Sw(J,q){return J.type==="checkbox"||J.type==="radio"?q===" ":tx.has(J.type)}var ax,qY,Cw,Dw="react-aria-pressable-style",Pw="data-react-aria-pressable",tx;var hK=C(()=>{t_();DK();Vw();Lz();dX();S3();PY();QJ();F3();DY();eG();E3();Tz();yK();C3();ax=g(lq(),1),qY=g(e(),1);Cw=Symbol("linkClicked");tx=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function y3(J,q){let{elementType:z="button",isDisabled:_,onPress:W,onPressStart:K,onPressEnd:A,onPressUp:L,onPressChange:F,preventFocusOnPress:T,allowFocusWhenDisabled:N,onClick:M,href:R,target:j,rel:v,type:f="button"}=J,h;if(z==="button")h={type:f,disabled:_,form:J.form,formAction:J.formAction,formEncType:J.formEncType,formMethod:J.formMethod,formNoValidate:J.formNoValidate,formTarget:J.formTarget,name:J.name,value:J.value};else h={role:"button",href:z==="a"&&!_?R:void 0,target:z==="a"?j:void 0,type:z==="input"?f:void 0,disabled:z==="input"?_:void 0,"aria-disabled":!_||z==="input"?void 0:_,rel:z==="a"?v:void 0};let{pressProps:n,isPressed:r}=qH({onPressStart:K,onPressEnd:A,onPressChange:F,onPress:W,onPressUp:L,onClick:M,isDisabled:_,preventFocusOnPress:T,ref:q}),{focusableProps:JZ}=YH(J,q);if(N)JZ.tabIndex=_?-1:JZ.tabIndex;let qZ=RZ(JZ,n,HX(J,{labelable:!0}));return{isPressed:r,buttonProps:RZ(h,qZ,{"aria-haspopup":J["aria-haspopup"],"aria-expanded":J["aria-expanded"],"aria-controls":J["aria-controls"],"aria-pressed":J["aria-pressed"],"aria-current":J["aria-current"],"aria-disabled":J["aria-disabled"]})}}var Ew=C(()=>{rG();DY();HW();hK()});var kw=C(()=>{Ew()});function WW(J){let{isDisabled:q,onBlurWithin:z,onFocusWithin:_,onFocusWithinChange:W}=J,K=bK.useRef({isFocusWithin:!1}),{addGlobalListener:A,removeAllGlobalListeners:L}=JH(),F=bK.useCallback((M)=>{if(!XX(M.currentTarget,UZ(M)))return;if(K.current.isFocusWithin&&!XX(M.currentTarget,M.relatedTarget)){if(K.current.isFocusWithin=!1,L(),z)z(M);if(W)W(!1)}},[z,W,K,L]),T=YO(F),N=bK.useCallback((M)=>{if(!XX(M.currentTarget,UZ(M)))return;let R=UZ(M),j=cZ(R),v=KX(j);if(!K.current.isFocusWithin&&v===R){if(_)_(M);if(W)W(!0);K.current.isFocusWithin=!0,T(M);let f=M.currentTarget;A(j,"focus",(h)=>{let n=UZ(h);if(K.current.isFocusWithin&&!XX(f,n)){let r=new j.defaultView.FocusEvent("blur",{relatedTarget:n});XO(r,f);let JZ=CK(r);F(JZ)}},{capture:!0})}},[_,W,T,A,F]);if(q)return{focusWithinProps:{onFocus:void 0,onBlur:void 0}};return{focusWithinProps:{onFocus:N,onBlur:F}}}var bK;var LO=C(()=>{DK();dX();PY();yK();bK=g(e(),1)});function yQ(J={}){let{autoFocus:q=!1,isTextInput:z,within:_}=J,W=GH.useRef({isFocused:!1,isFocusVisible:q||Kq()}),[K,A]=GH.useState(!1),[L,F]=GH.useState(()=>W.current.isFocused&&W.current.isFocusVisible),T=GH.useCallback(()=>F(W.current.isFocused&&W.current.isFocusVisible),[]),N=GH.useCallback((j)=>{W.current.isFocused=j,W.current.isFocusVisible=Kq(),A(j),T()},[T]);Nw((j)=>{W.current.isFocusVisible=j,T()},[z,K],{enabled:K,isTextInput:z});let{focusProps:M}=Nz({isDisabled:_,onFocusChange:N}),{focusWithinProps:R}=WW({isDisabled:!_,onFocusWithinChange:N});return{isFocused:K,isFocusVisible:L,focusProps:_?R:M}}var GH;var xw=C(()=>{ZH();zO();LO();GH=g(e(),1)});var UW=C(()=>{xw()});function ex(){v3=!0,setTimeout(()=>{v3=!1},500)}function yw(J){if(J.pointerType==="touch")ex()}function Zy(){let J=cZ(null);if(typeof J>"u")return;if(AO===0){if(typeof PointerEvent<"u")J.addEventListener("pointerup",yw)}return AO++,()=>{if(AO--,AO>0)return;if(typeof PointerEvent<"u")J.removeEventListener("pointerup",yw)}}function SY(J){let{onHoverStart:q,onHoverChange:z,onHoverEnd:_,isDisabled:W}=J,[K,A]=tq.useState(!1),L=tq.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;tq.useEffect(Zy,[]);let{addGlobalListener:F,removeAllGlobalListeners:T}=JH(),{hoverProps:N,triggerHoverEnd:M}=tq.useMemo(()=>{let R=(f,h)=>{if(L.pointerType=h,W||h==="touch"||L.isHovered||!XX(f.currentTarget,UZ(f)))return;L.isHovered=!0;let n=f.currentTarget;if(L.target=n,F(cZ(UZ(f)),"pointerover",(r)=>{if(L.isHovered&&L.target&&!XX(L.target,UZ(r)))j(r,r.pointerType)},{capture:!0}),q)q({type:"hoverstart",target:n,pointerType:h});if(z)z(!0);A(!0)},j=(f,h)=>{let n=L.target;if(L.pointerType="",L.target=null,h==="touch"||!L.isHovered||!n)return;if(L.isHovered=!1,T(),_)_({type:"hoverend",target:n,pointerType:h});if(z)z(!1);A(!1)},v={};if(typeof PointerEvent<"u")v.onPointerEnter=(f)=>{if(v3&&f.pointerType==="mouse")return;R(f,f.pointerType)},v.onPointerLeave=(f)=>{if(!W&&XX(f.currentTarget,UZ(f)))j(f,f.pointerType)};return{hoverProps:v,triggerHoverEnd:j}},[q,z,_,W,L,F,T]);return tq.useEffect(()=>{if(W)M({currentTarget:L.target},L.pointerType)},[W]),{hoverProps:N,isHovered:K}}var tq,v3=!1,AO=0;var OO=C(()=>{dX();PY();yK();tq=g(e(),1)});var Vz=C(()=>{OO()});var h3=C(()=>{YJ()});function Yy(J,q){if(q){for(let z in J)if(z.startsWith("on")&&!Xy.test(z))J[z]=void 0;J.href=void 0,J.target=void 0}return J}var eq,gK,Rz,Xy;var b3=C(()=>{qQ();Xw();Jw();kw();XW();Uq();VJ();UW();Vz();h3();eq=g(e(),1),gK=eq.createContext({}),Rz=RJ(function(q,z){[q,z]=fX(q,z,gK);let _=q,{isPending:W}=_,{buttonProps:K,isPressed:A}=y3(q,z);K=Yy(K,W);let{focusProps:L,isFocused:F,isFocusVisible:T}=yQ(q),{hoverProps:N,isHovered:M}=SY({...q,isDisabled:q.isDisabled||W}),R={isHovered:M,isPressed:(_.isPressed||A)&&!W,isFocused:F,isFocusVisible:T,isDisabled:q.isDisabled||!1,isPending:W??!1},j=yX({...q,values:R,defaultClassName:"react-aria-Button"}),v=aX(K.id),f=aX(),h=K["aria-labelledby"];if(W){if(h)h=`${h} ${f}`;else if(K["aria-label"])h=`${v} ${f}`}let n=eq.useRef(W);eq.useEffect(()=>{let JZ={"aria-labelledby":h||v};if(!n.current&&F&&W)nA(JZ,"assertive");else if(n.current&&F&&!W)nA(JZ,"assertive");n.current=W},[W,F,h,v]);let r=HX(q,{global:!0});return delete r.onClick,eq.default.createElement(LX.button,{...RZ(r,j,K,L,N),type:K.type==="submit"&&W?"button":K.type,id:v,ref:z,"aria-labelledby":h,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":M||void 0,"data-focused":F||void 0,"data-pending":W||void 0,"data-focus-visible":T||void 0},eq.default.createElement(Zw.Provider,{value:{id:f}},j.children))}),Xy=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/});var KW,HH,ZG;var BW=C(()=>{qQ();KW=g(e(),1),HH=KW.createContext({}),ZG=KW.forwardRef(function(q,z){[q,z]=fX(q,z,HH);let{elementType:_="span",...W}=q,K=LX[_];return KW.default.createElement(K,{className:"react-aria-Text",...W,ref:z})})});var DJ,mK,LW,Qy;var g3=C(()=>{qQ();BW();Uq();DJ=g(e(),1),mK=DJ.createContext(null),LW=DJ.forwardRef(function(q,z){if(!DJ.useContext(mK)?.isInvalid)return null;return DJ.default.createElement(Qy,{...q,ref:z})}),Qy=DJ.forwardRef((J,q)=>{let z=DJ.useContext(mK),{elementType:_,...W}=J,K=HX(W,{global:!0}),A=yX({...W,defaultClassName:"react-aria-FieldError",defaultChildren:z.validationErrors.length===0?void 0:z.validationErrors.join(" "),values:z});if(A.children==null)return null;return DJ.default.createElement(ZG,{slot:"errorMessage",elementType:_,...K,...A,ref:q})})});function c3(J){if(J[f3]){let{realtimeValidation:q,displayValidation:z,updateValidation:_,resetValidation:W,commitValidation:K}=J[f3];return{realtimeValidation:q,displayValidation:z,updateValidation:_,resetValidation:W,commitValidation:K}}return Jy(J)}function Jy(J){let{isInvalid:q,validationState:z,name:_,value:W,builtinValidation:K,validate:A,validationBehavior:L="aria"}=J;if(z)q||=z==="invalid";let F=q!==void 0?{isInvalid:q,validationErrors:[],validationDetails:hw}:null,T=IY.useMemo(()=>{if(!A||W==null)return null;let a=qy(A,W);return vw(a)},[A,W]);if(K?.validationDetails.valid)K=void 0;let N=IY.useContext(bw),M=IY.useMemo(()=>{if(_)return Array.isArray(_)?_.flatMap((a)=>u3(N[a])):u3(N[_]);return[]},[N,_]),[R,j]=IY.useState(N),[v,f]=IY.useState(!1);if(N!==R)j(N),f(!1);let h=IY.useMemo(()=>vw(v?[]:M),[v,M]),n=IY.useRef(AW),[r,JZ]=IY.useState(AW),qZ=IY.useRef(AW),IZ=()=>{if(!mZ)return;QZ(!1);let a=T||K||n.current;if(!m3(a,qZ.current))qZ.current=a,JZ(a)},[mZ,QZ]=IY.useState(!1);return IY.useEffect(IZ),{realtimeValidation:F||h||T||K||AW,displayValidation:L==="native"?F||h||r:F||h||T||K||r,updateValidation(a){if(L==="aria"&&!m3(r,a))JZ(a);else n.current=a},resetValidation(){let a=AW;if(!m3(a,qZ.current))qZ.current=a,JZ(a);if(L==="native")QZ(!1);f(!0)},commitValidation(){if(L==="native")QZ(!0);f(!0)}}}function u3(J){if(!J)return[];return Array.isArray(J)?J:[J]}function qy(J,q){if(typeof J==="function"){let z=J(q);if(z&&typeof z!=="boolean")return u3(z)}return[]}function vw(J){return J.length?{isInvalid:!0,validationErrors:J,validationDetails:hw}:null}function m3(J,q){if(J===q)return!0;return!!J&&!!q&&J.isInvalid===q.isInvalid&&J.validationErrors.length===q.validationErrors.length&&J.validationErrors.every((z,_)=>z===q.validationErrors[_])&&Object.entries(J.validationDetails).every(([z,_])=>q.validationDetails[z]===_)}var IY,d3,hw,AW,bw,f3="__reactAriaFormValidationState";var gw=C(()=>{IY=g(e(),1),d3={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},hw={...d3,customError:!0,valid:!1},AW={isInvalid:!1,validationDetails:d3,validationErrors:[]},bw=IY.createContext({})});var mw=C(()=>{gw()});var FO,fw;var uw=C(()=>{FO=g(e(),1),fw=FO.createContext(null)});function dw(J){let{description:q,errorMessage:z,isInvalid:_,validationState:W}=J,{labelProps:K,fieldProps:A}=l2(J),L=_q([Boolean(q),Boolean(z),_,W]),F=_q([Boolean(q),Boolean(z),_,W]);return A=RZ(A,{"aria-describedby":[L,F,J["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:K,fieldProps:A,descriptionProps:{id:L},errorMessageProps:{id:F}}}var cw=C(()=>{i2();DY();YJ()});function lw(J,q,z){let _=$Y((W)=>{if(z&&!W.defaultPrevented)z(q)});pw.useEffect(()=>{let W=J?.current?.form;return W?.addEventListener("reset",_),()=>{W?.removeEventListener("reset",_)}},[J])}var pw;var iw=C(()=>{Tz();pw=g(e(),1)});function nw(J,q,z){let{validationBehavior:_,focus:W}=J;dZ(()=>{if(_==="native"&&z?.current&&!z.current.disabled){let T=q.realtimeValidation.isInvalid?q.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";if(z.current.setCustomValidity(T),!z.current.hasAttribute("title"))z.current.title="";if(!q.realtimeValidation.isInvalid)q.updateValidation(Hy(z.current))}});let K=MO.useRef(!1),A=$Y(()=>{if(!K.current)q.resetValidation()}),L=$Y((T)=>{if(!q.displayValidation.isInvalid)q.commitValidation();let N=z?.current?.form;if(!T.defaultPrevented&&z&&N&&zy(N)===z.current){if(W)W();else z.current?.focus();EK("keyboard")}T.preventDefault()}),F=$Y(()=>{q.commitValidation()});MO.useEffect(()=>{let T=z?.current;if(!T)return;let N=T.form,M=N?.reset;if(N)N.reset=()=>{K.current=!window.event||window.event.type==="message"&&UZ(window.event)instanceof MessagePort,M?.call(N),K.current=!1};return T.addEventListener("invalid",L),T.addEventListener("change",F),N?.addEventListener("reset",A),()=>{if(T.removeEventListener("invalid",L),T.removeEventListener("change",F),N?.removeEventListener("reset",A),N)N.reset=M}},[z,_])}function Gy(J){let q=J.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 Hy(J){return{isInvalid:!J.validity.valid,validationDetails:Gy(J),validationErrors:J.validationMessage?[J.validationMessage]:[]}}function zy(J){for(let q=0;q<J.elements.length;q++){let z=J.elements[q];if(z.validity?.valid===!1)return z}return null}var MO;var sw=C(()=>{dX();ZH();Tz();CY();MO=g(e(),1)});function jz(J,q,z){let[_,W]=GQ.useState(J||q),K=GQ.useRef(_),A=GQ.useRef(J!==void 0),L=J!==void 0;GQ.useEffect(()=>{let M=A.current;if(M!==L)console.warn(`WARN: A component changed from ${M?"controlled":"uncontrolled"} to ${L?"controlled":"uncontrolled"}.`);A.current=L},[L]);let F=L?J:_;_y(()=>{K.current=F});let[,T]=GQ.useReducer(()=>({}),{}),N=GQ.useCallback((M,...R)=>{let j=typeof M==="function"?M(K.current):M;if(!Object.is(K.current,j))K.current=j,W(j),T(),z?.(j,...R)},[z]);return[F,N]}var GQ,_y;var NO=C(()=>{GQ=g(e(),1),_y=typeof document<"u"?GQ.default.useInsertionEffect??GQ.default.useLayoutEffect:()=>{}});function Wy(J={}){let{style:q,isFocusable:z}=J,[_,W]=OW.useState(!1),{focusWithinProps:K}=WW({isDisabled:!z,onFocusWithinChange:(L)=>W(L)}),A=OW.useMemo(()=>{if(_)return q;else if(q)return{...aw,...q};else return aw},[_]);return{visuallyHiddenProps:{...K,style:A}}}function ow(J){let{children:q,elementType:z="div",isFocusable:_,style:W,...K}=J,{visuallyHiddenProps:A}=Wy(J);return OW.default.createElement(z,RZ(K,A),q)}var OW,aw;var rw=C(()=>{DY();LO();OW=g(e(),1),aw={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 IO,tw;var ew=C(()=>{IO=g(e(),1),tw=IO.createContext({})});var TO,wO,Uy=(J)=>{let{onHoverStart:q,onHoverChange:z,onHoverEnd:_,...W}=J;return W},VO;var p3=C(()=>{qQ();XW();VJ();UW();Vz();TO=g(e(),1),wO=TO.createContext({}),VO=RJ(function(q,z){[q,z]=fX(q,z,wO);let{hoverProps:_,isHovered:W}=SY({...q,isDisabled:q.disabled}),{isFocused:K,isFocusVisible:A,focusProps:L}=yQ({isTextInput:!0,autoFocus:q.autoFocus}),F=!!q["aria-invalid"]&&q["aria-invalid"]!=="false",T=yX({...q,values:{isHovered:W,isFocused:K,isFocusVisible:A,isDisabled:q.disabled||!1,isInvalid:F},defaultClassName:"react-aria-Input"});return TO.default.createElement(LX.input,{...RZ(Uy(q),L,_),...T,ref:z,"data-focused":K||void 0,"data-disabled":q.disabled||void 0,"data-hovered":W||void 0,"data-focus-visible":A||void 0,"data-invalid":F||void 0})})});class vQ{constructor(J){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=J}get childNodes(){throw Error("childNodes is not supported")}clone(){let J=new this.constructor(this.key);return J.value=this.value,J.level=this.level,J.hasChildNodes=this.hasChildNodes,J.rendered=this.rendered,J.textValue=this.textValue,J["aria-label"]=this["aria-label"],J.index=this.index,J.parentKey=this.parentKey,J.prevKey=this.prevKey,J.nextKey=this.nextKey,J.firstChildKey=this.firstChildKey,J.lastChildKey=this.lastChildKey,J.props=this.props,J.render=this.render,J.colSpan=this.colSpan,J.colIndex=this.colIndex,J}filter(J,q,z){let _=this.clone();return q.addDescendants(_,J),_}}function Ky(J,q,z,_){if(z==null)return[null,null];let W=null,K=null,A=J.getItem(z);while(A!=null){let L=A.filter(J,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?J.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 RO,ZV,jO,FW,CO;var l3=C(()=>{RO=class RO extends vQ{filter(J,q,z){let[_,W]=Ky(J,q,this.firstChildKey,z),K=this.clone();return K.firstChildKey=_,K.lastChildKey=W,K}};ZV=class ZV extends vQ{static{this.type="header"}};jO=class jO extends vQ{static{this.type="loader"}};FW=class FW extends RO{static{this.type="item"}filter(J,q,z){if(z(this.textValue,this)){let _=this.clone();return q.addDescendants(_,J),_}return null}};CO=class CO extends RO{static{this.type="section"}filter(J,q,z){let _=super.filter(J,q,z);if(_){if(_.lastChildKey!==null){let W=J.getItem(_.lastChildKey);if(W&&W.type!=="header")return _}}return null}}});function fK(J){let{children:q,items:z,idScope:_,addIdAndValue:W,dependencies:K=[]}=J,A=MW.useMemo(()=>typeof q==="function"?q.toString():void 0,[q]),L=MW.useMemo(()=>new WeakMap,[...K,A]);return MW.useMemo(()=>{if(z&&typeof q==="function"){let F=[];for(let T of z){let N=By(T)?T:null,M=N?L.get(N):null;if(!M){M=q(T);let R=M.props.id??T?.key??T?.id;if(_!=null&&M.props.id==null&&R!=null)R=_+":"+R;let j=R??F.length;if(M=MW.cloneElement(M,W?{key:j,id:R,value:T}:{key:j}),N)L.set(N,M)}F.push(M)}return F}else if(typeof q!=="function")return q},[q,z,L,_,W])}function By(J){switch(typeof J){case"object":return J!=null;case"function":case"symbol":return!0;default:return!1}}var MW;var i3=C(()=>{MW=g(e(),1)});var n3=pq((Ly)=>{var hQ=g(e());(function(){function J(R,j){return R===j&&(R!==0||1/R===1/j)||R!==R&&j!==j}function q(R,j){T||hQ.startTransition===void 0||(T=!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 v=j();if(!N){var f=j();W(v,f)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),N=!0)}f=K({inst:{value:v,getSnapshot:j}});var h=f[0].inst,n=f[1];return L(function(){h.value=v,h.getSnapshot=j,z(h)&&n({inst:h})},[R,v,j]),A(function(){return z(h)&&n({inst:h}),R(function(){z(h)&&n({inst:h})})},[R]),F(v),v}function z(R){var j=R.getSnapshot;R=R.value;try{var v=j();return!W(R,v)}catch(f){return!0}}function _(R,j){return j()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var W=typeof Object.is==="function"?Object.is:J,K=hQ.useState,A=hQ.useEffect,L=hQ.useLayoutEffect,F=hQ.useDebugValue,T=!1,N=!1,M=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_:q;Ly.useSyncExternalStore=hQ.useSyncExternalStore!==void 0?hQ.useSyncExternalStore:M,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});function Oy(J,q,z){let _=sY(),W=_X.useRef(_);W.current=_;let K=_X.useCallback(()=>{return W.current?z():q()},[q,z]);return QV.useSyncExternalStore(J,K)}function Fy(J){return class extends vQ{static{this.type=J}}}function My(J,q,z,_,W,K){if(typeof J==="string")J=Fy(J);let A=_X.useCallback((F)=>{F?.setProps(q,z,J,_,K)},[q,z,_,K,J]),L=_X.useContext(a3);if(L){let F=L.ownerDocument.nodesByProps.get(q);if(!F)F=L.ownerDocument.createElement(J.type),F.setProps(q,z,J,_,K),L.appendChild(F),L.ownerDocument.updateCollection(),L.ownerDocument.nodesByProps.set(q,F);return W?_X.default.createElement(a3.Provider,{value:F},W):null}return _X.default.createElement(J.type,{ref:A},W)}function Bq(J,q){let z=({node:W})=>q(W.props,W.props.ref,W),_=_X.forwardRef((W,K)=>{let A=_X.useContext(UO);if(!_X.useContext(JV)){if(q.length>=3)throw Error(q.name+" cannot be rendered outside a collection.");return q(W,K)}return My(J,W,K,"children"in W?W.children:null,null,(F)=>_X.default.createElement(UO.Provider,{value:A},_X.default.createElement(z,{node:F})))});return _.displayName=q.name,_}function Ny(J){return fK({...J,addIdAndValue:!0})}function o3(J){let q=_X.useContext(XV),z=(q?.dependencies||[]).concat(J.dependencies),_=J.idScope??q?.idScope,W=Ny({...J,idScope:_,dependencies:z});if(_X.useContext(s3))W=_X.default.createElement(Iy,null,W);return q=_X.useMemo(()=>({dependencies:z,idScope:_}),[_,...z]),_X.default.createElement(XV.Provider,{value:q},W)}function Iy({children:J}){let q=_X.useContext(s3),z=_X.useMemo(()=>_X.default.createElement(s3.Provider,{value:null},_X.default.createElement(JV.Provider,{value:!0},J)),[J]);return sY()?_X.default.createElement(a3.Provider,{value:q},z):YV.createPortal(z,q)}var YV,_X,QV,JV,s3,rd,a3,XV;var r3=C(()=>{l3();i3();HW();aG();YV=g(lq(),1),_X=g(e(),1),QV=g(n3(),1),JV=_X.createContext(!1),s3=_X.createContext(null);rd=typeof _X.default.useSyncExternalStore==="function"?_X.default.useSyncExternalStore:Oy,a3=_X.createContext(null);XV=_X.createContext(null)});var uK=C(()=>{r3()});var GV=C(()=>{i3()});function HV(J,q,z){return fK({items:q?J.getChildren(q.key):J,dependencies:[z],children(_){if(_.type==="content")return HQ.default.createElement(HQ.default.Fragment,null);let W=_.render(_);if(!z||_.type!=="item")return W;return HQ.default.createElement(HQ.default.Fragment,null,z({type:"item",key:_.key,dropPosition:"before"}),W,Ty(J,_,z))}})}function Ty(J,q,z){let _=q.key,W=J.getKeyAfter(_),K=W!=null?J.getItem(W):null;while(K!=null&&K.type!=="item")W=J.getKeyAfter(K.key),K=W!=null?J.getItem(W):null;let A=q.nextKey!=null?J.getItem(q.nextKey):null;while(A!=null&&A.type!=="item")A=A.nextKey!=null?J.getItem(A.nextKey):null;let L=[];if(A==null){let F=q;while(F?.type==="item"&&(!K||F.parentKey!==K.parentKey&&K.level<F.level)){let T=z({type:"item",key:F.key,dropPosition:"after"});if(HQ.isValidElement(T))L.push(HQ.cloneElement(T,{key:`${F.key}-after`}));F=F.parentKey!=null?J.getItem(F.parentKey):null}}return L}function Z6(J){return HQ.useMemo(()=>J!=null?new Set([J]):null,[J])}var HQ,e3,dK;var X6=C(()=>{GV();HQ=g(e(),1),e3={CollectionRoot({collection:J,renderDropIndicator:q}){return HV(J,null,q)},CollectionBranch({collection:J,parent:q,renderDropIndicator:z}){return HV(J,q,z)}};dK=HQ.createContext(e3)});var Cz,zV;var _V=C(()=>{Cz=g(e(),1),zV=Cz.createContext({})});var cK=C(()=>{l3()});var WV="react-aria-clear-focus",UV="react-aria-focus";var KV=()=>{};function DO(J){let q=Vy(cZ(J));if(q!==J){if(q)wy(q,J);if(J)Y6(J,q)}}function wy(J,q){J.dispatchEvent(new FocusEvent("blur",{relatedTarget:q})),J.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:q}))}function Y6(J,q){J.dispatchEvent(new FocusEvent("focus",{relatedTarget:q})),J.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:q}))}function Vy(J){let q=KX(J),z=q?.getAttribute("aria-activedescendant");if(z)return J.getElementById(z)||q;return q}var Q6=C(()=>{dX();PY()});function zH(J){if(jJ())return J.metaKey;return J.ctrlKey}function Dz(J){return J instanceof HTMLInputElement&&!Ry.has(J.type)||J instanceof HTMLTextAreaElement||J instanceof HTMLElement&&J.isContentEditable}var Ry;var pK=C(()=>{QJ();Ry=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])});function Pz(J,q,z,_){let W=$Y(z),K=z==null;BV.useEffect(()=>{if(K||!J.current)return;let A=J.current;return A.addEventListener(q,W,_),()=>{A.removeEventListener(q,W,_)}},[J,q,_,K])}var BV;var J6=C(()=>{Tz();BV=g(e(),1)});class NW{constructor(J,q="en-US"){this.strings=Object.fromEntries(Object.entries(J).filter(([,z])=>z)),this.defaultLocale=q}getStringForLocale(J,q){let _=this.getStringsForLocale(q)[J];if(!_)throw Error(`Could not find intl message ${J} in ${q} locale`);return _}getStringsForLocale(J){let q=this.strings[J];if(!q)q=Dy(J,this.strings,this.defaultLocale),this.strings[J]=q;return q}static getGlobalDictionaryForPackage(J){if(typeof window>"u")return null;let q=window[jy];if(PO===void 0){let _=window[Cy];if(!_)return null;PO={};for(let W in _)PO[W]=new NW({[q]:_[W]},q)}let z=PO?.[J];if(!z)throw Error(`Strings for package "${J}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return z}}function Dy(J,q,z="en-US"){if(q[J])return q[J];let _=Py(J);if(q[_])return q[_];for(let W in q)if(W.startsWith(_+"-"))return q[W];return q[z]}function Py(J){if(Intl.Locale)return new Intl.Locale(J).language;return J.split("-")[0]}var jy,Cy,PO=void 0;var LV=C(()=>{jy=Symbol.for("react-aria.i18n.locale"),Cy=Symbol.for("react-aria.i18n.strings")});class $O{constructor(J,q){this.locale=J,this.strings=q}format(J,q){let z=this.strings.getStringForLocale(J,this.locale);return typeof z==="function"?z(q,this):z}plural(J,q,z="cardinal"){let _=q["="+J];if(_)return typeof _==="function"?_():_;let W=this.locale+":"+z,K=AV.get(W);if(!K)K=new Intl.PluralRules(this.locale,{type:z}),AV.set(W,K);let A=K.select(J);return _=q[A]||q.other,typeof _==="function"?_():_}number(J){let q=OV.get(this.locale);if(!q)q=new Intl.NumberFormat(this.locale),OV.set(this.locale,q);return q.format(J)}select(J,q){let z=J[q]||J.other;return typeof z==="function"?z():z}}var AV,OV;var FV=C(()=>{AV=new Map,OV=new Map});var MV=C(()=>{LV();FV()});function $y(J){let q=NV.get(J);if(!q)q=new NW(J),NV.set(J,q);return q}function Sy(J,q){return q&&NW.getGlobalDictionaryForPackage(q)||$y(J)}function TV(J,q){let{locale:z}=YW(),_=Sy(J,q);return IV.useMemo(()=>new $O(z,_),[z,_])}var IV,NV;var wV=C(()=>{lA();MV();IV=g(e(),1),NV=new WeakMap});var SO,VV;var RV=C(()=>{SO=g(e(),1),VV=SO.createContext(null)});function jV(J){let q=XG.useRef({});return XG.default.createElement(ky.Provider,{value:q},J.children)}var Ey,XG,ky;var CV=C(()=>{Ey=g(lq(),1),XG=g(e(),1),ky=XG.createContext(null)});var EO,IW;var kO=C(()=>{EO=g(e(),1),IW=EO.createContext({isSelected:!1})});function q6(J){let q=HX(J,{labelable:!0}),z;if(J.orientation==="vertical")z="vertical";if(J.elementType!=="hr")return{separatorProps:{...q,role:"separator","aria-orientation":z}};return{separatorProps:q}}var DV=C(()=>{rG()});var PV=C(()=>{DV()});var xO,$V,SV,G6;var EV=C(()=>{qQ();PV();cK();uK();Uq();VJ();xO=g(e(),1),$V=xO.createContext({});SV=class SV extends vQ{static{this.type="separator"}filter(J,q){let z=q.getItem(this.prevKey);if(z&&z.type!=="separator"){let _=this.clone();return q.addDescendants(_,J),_}return null}};G6=Bq(SV,function(q,z){[q,z]=fX(q,z,$V);let{elementType:_,orientation:W,style:K,className:A,slot:L,...F}=q,T=_||"hr";if(T==="hr"&&W==="vertical")T="div";let N=LX[T],{separatorProps:M}=q6({...F,elementType:_,orientation:W}),R=HX(q,{global:!0});return xO.default.createElement(N,{render:q.render,...RZ(R,M),style:K,className:A??"react-aria-Separator",ref:z,slot:L||void 0})})});function xy(J){if(typeof J==="string")return J.replace(/\s*/g,"");return""+J}function kV(J,q){let z=H6.get(J);if(!z)throw Error("Unknown list");return`${z.id}-option-${xy(q)}`}var H6;var xV=C(()=>{H6=new WeakMap});class yV{constructor(J,q,z,_){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=(K)=>{if(K.nodeType===Node.ELEMENT_NODE){let A=K.shadowRoot;if(A){let L=this._doc.createTreeWalker(A,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(L),NodeFilter.FILTER_ACCEPT}else if(typeof this.filter==="function")return this.filter(K);else if(this.filter?.acceptNode)return this.filter.acceptNode(K);else if(this.filter===null)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=J,this.root=q,this.filter=_??null,this.whatToShow=z??NodeFilter.SHOW_ALL,this._currentNode=q,this._walkerStack.unshift(J.createTreeWalker(q,z,this._acceptNode));let W=q.shadowRoot;if(W){let K=this._doc.createTreeWalker(W,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(K)}}get currentNode(){return this._currentNode}set currentNode(J){if(!XX(this.root,J))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let q=[],z=J,_=J;this._currentNode=J;while(z&&z!==this.root)if(z.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let K=z,A=this._doc.createTreeWalker(K,this.whatToShow,{acceptNode:this._acceptNode});q.push(A),A.currentNode=_,this._currentSetFor.add(A),z=_=K.host}else z=z.parentNode;let W=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});q.push(W),W.currentNode=_,this._currentSetFor.add(W),this._walkerStack=q}get doc(){return this._doc}firstChild(){let J=this.currentNode,q=this.nextNode();if(!XX(J,q))return this.currentNode=J,null;if(q)this.currentNode=q;return q}lastChild(){let q=this._walkerStack[0].lastChild();if(q)this.currentNode=q;return q}nextNode(){let J=this._walkerStack[0].nextNode();if(J){if(J.shadowRoot){let z;if(typeof this.filter==="function")z=this.filter(J);else if(this.filter?.acceptNode)z=this.filter.acceptNode(J);if(z===NodeFilter.FILTER_ACCEPT)return this.currentNode=J,J;let _=this.nextNode();if(_)this.currentNode=_;return _}if(J)this.currentNode=J;return J}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 J=this._walkerStack[0];if(J.currentNode===J.root){if(this._currentSetFor.has(J))if(this._currentSetFor.delete(J),this._walkerStack.length>1){this._walkerStack.shift();let z=this.previousNode();if(z)this.currentNode=z;return z}else return null;return null}let q=J.previousNode();if(q){if(q.shadowRoot){let _;if(typeof this.filter==="function")_=this.filter(q);else if(this.filter?.acceptNode)_=this.filter.acceptNode(q);if(_===NodeFilter.FILTER_ACCEPT){if(q)this.currentNode=q;return q}let W=this.lastChild();if(W)this.currentNode=W;return W}if(q)this.currentNode=q;return q}else if(this._walkerStack.length>1){this._walkerStack.shift();let z=this.previousNode();if(z)this.currentNode=z;return z}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function yO(J,q,z,_){if(xQ())return new yV(J,q,z,_);return J.createTreeWalker(q,z,_)}var z6=C(()=>{dX();aA()});function gV(J){let{children:q,contain:z,restoreFocus:_,autoFocus:W}=J,K=iX.useRef(null),A=iX.useRef(null),L=iX.useRef([]),{parentNode:F}=iX.useContext(vV)||{},T=iX.useMemo(()=>new hO({scopeRef:L}),[L]);dZ(()=>{let R=F||GY.root;if(GY.getTreeNode(R.scopeRef)&&EX&&!vO(EX,R.scopeRef)){let j=GY.getTreeNode(EX);if(j)R=j}R.addChild(T),GY.addNode(T)},[T,F]),dZ(()=>{let R=GY.getTreeNode(L);if(R)R.contain=!!z},[z]),dZ(()=>{let R=K.current?.nextSibling,j=[],v=(f)=>f.stopPropagation();while(R&&R!==A.current)j.push(R),R.addEventListener(_6,v),R=R.nextSibling;return L.current=j,()=>{for(let f of j)f.removeEventListener(_6,v)}},[q]),my(L,_,z),by(L,z),fy(L,_,z),gy(L,W),iX.useEffect(()=>{let R=KX(cZ(L.current?L.current[0]:void 0)),j=null;if(GJ(R,L.current)){for(let v of GY.traverse())if(v.scopeRef&&GJ(R,v.scopeRef.current))j=v;if(j===GY.getTreeNode(L))EX=j.scopeRef}},[L]),dZ(()=>{return()=>{let R=GY.getTreeNode(L)?.parent?.scopeRef??null;if((L===EX||vO(L,EX))&&(!R||GY.getTreeNode(R)))EX=R;GY.removeTreeNode(L)}},[L]);let N=iX.useMemo(()=>yy(L),[]),M=iX.useMemo(()=>({focusManager:N,parentNode:T}),[T,N]);return iX.default.createElement(vV.Provider,{value:M},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 yy(J){return{focusNext(q={}){let z=J.current,{from:_,tabbable:W,wrap:K,accept:A}=q,L=_||KX(cZ(z[0]??void 0)),F=z[0].previousElementSibling,T=$z(z),N=qJ(T,{tabbable:W,accept:A},z);N.currentNode=GJ(L,z)?L:F;let M=N.nextNode();if(!M&&K)N.currentNode=F,M=N.nextNode();if(M)YG(M,!0);return M},focusPrevious(q={}){let z=J.current,{from:_,tabbable:W,wrap:K,accept:A}=q,L=_||KX(cZ(z[0]??void 0)),F=z[z.length-1].nextElementSibling,T=$z(z),N=qJ(T,{tabbable:W,accept:A},z);N.currentNode=GJ(L,z)?L:F;let M=N.previousNode();if(!M&&K)N.currentNode=F,M=N.previousNode();if(M)YG(M,!0);return M},focusFirst(q={}){let z=J.current,{tabbable:_,accept:W}=q,K=$z(z),A=qJ(K,{tabbable:_,accept:W},z);A.currentNode=z[0].previousElementSibling;let L=A.nextNode();if(L)YG(L,!0);return L},focusLast(q={}){let z=J.current,{tabbable:_,accept:W}=q,K=$z(z),A=qJ(K,{tabbable:_,accept:W},z);A.currentNode=z[z.length-1].nextElementSibling;let L=A.previousNode();if(L)YG(L,!0);return L}}}function $z(J){return J[0].parentElement}function lK(J){let q=GY.getTreeNode(EX);while(q&&q.scopeRef!==J){if(q.contain)return!1;q=q.parent}return!0}function vy(J){if(!J.form)return Array.from(cZ(J).querySelectorAll(`input[type="radio"][name="${CSS.escape(J.name)}"]`)).filter((_)=>!_.form);let q=J.form.elements.namedItem(J.name),z=uX(J);if(q instanceof z.RadioNodeList)return Array.from(q).filter((_)=>_ instanceof z.HTMLInputElement);if(q instanceof z.HTMLInputElement)return[q];return[]}function hy(J){if(J.checked)return!0;let q=vy(J);return q.length>0&&!q.some((z)=>z.checked)}function by(J,q){let z=iX.useRef(void 0),_=iX.useRef(void 0);dZ(()=>{let W=J.current;if(!q){if(_.current)cancelAnimationFrame(_.current),_.current=void 0;return}let K=cZ(W?W[0]:void 0),A=(T)=>{if(T.key!=="Tab"||T.altKey||T.ctrlKey||T.metaKey||!lK(J)||T.isComposing)return;let N=KX(K),M=J.current;if(!M||!GJ(N,M))return;let R=$z(M),j=qJ(R,{tabbable:!0},M);if(!N)return;j.currentNode=N;let v=T.shiftKey?j.previousNode():j.nextNode();if(!v)j.currentNode=T.shiftKey?M[M.length-1].nextElementSibling:M[0].previousElementSibling,v=T.shiftKey?j.previousNode():j.nextNode();if(T.preventDefault(),v){if(YG(v,!0),v instanceof uX(v).HTMLInputElement)v.select()}},L=(T)=>{if((!EX||vO(EX,J))&&GJ(UZ(T),J.current))EX=J,z.current=UZ(T);else if(lK(J)&&!_H(UZ(T),J)){if(z.current)z.current.focus();else if(EX&&EX.current)W6(EX.current)}else if(lK(J))z.current=UZ(T)},F=(T)=>{if(_.current)cancelAnimationFrame(_.current);_.current=requestAnimationFrame(()=>{let N=Mz(),M=(N==="virtual"||N===null)&&PK()&&O3(),R=KX(K);if(!M&&R&&lK(J)&&!_H(R,J)){EX=J;let j=UZ(T);if(j&&j.isConnected)z.current=j,z.current?.focus();else if(EX.current)W6(EX.current)}})};return K.addEventListener("keydown",A,!1),K.addEventListener("focusin",L,!1),W?.forEach((T)=>T.addEventListener("focusin",L,!1)),W?.forEach((T)=>T.addEventListener("focusout",F,!1)),()=>{K.removeEventListener("keydown",A,!1),K.removeEventListener("focusin",L,!1),W?.forEach((T)=>T.removeEventListener("focusin",L,!1)),W?.forEach((T)=>T.removeEventListener("focusout",F,!1))}},[J,q]),dZ(()=>{return()=>{if(_.current)cancelAnimationFrame(_.current)}},[_])}function mV(J){return _H(J)}function GJ(J,q){if(!J)return!1;if(!q)return!1;return q.some((z)=>XX(z,J))}function _H(J,q=null){if(J instanceof Element&&J.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:z}of GY.traverse(GY.getTreeNode(q)))if(z&&GJ(J,z.current))return!0;return!1}function fV(J){return _H(J,EX)}function vO(J,q){let z=GY.getTreeNode(q)?.parent;while(z){if(z.scopeRef===J)return!0;z=z.parent}return!1}function YG(J,q=!1){if(J!=null&&!q)try{oq(J)}catch{}else if(J!=null)try{J.focus()}catch{}}function uV(J,q=!0){let z=J[0].previousElementSibling,_=$z(J),W=qJ(_,{tabbable:q},J);W.currentNode=z;let K=W.nextNode();if(q&&!K)_=$z(J),W=qJ(_,{tabbable:!1},J),W.currentNode=z,K=W.nextNode();return K}function W6(J,q=!0){YG(uV(J,q))}function gy(J,q){let z=iX.default.useRef(q);iX.useEffect(()=>{if(z.current){EX=J;let _=cZ(J.current?J.current[0]:void 0);if(!GJ(KX(_),EX.current)&&J.current)W6(J.current)}z.current=!1},[J])}function my(J,q,z){dZ(()=>{if(q||z)return;let _=J.current,W=cZ(_?_[0]:void 0),K=(A)=>{let L=UZ(A);if(GJ(L,J.current))EX=J;else if(!mV(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))}},[J,q,z])}function hV(J){let q=GY.getTreeNode(EX);while(q&&q.scopeRef!==J){if(q.nodeToRestore)return!1;q=q.parent}return q?.scopeRef===J}function fy(J,q,z){let _=iX.useRef(typeof document<"u"?KX(cZ(J.current?J.current[0]:void 0)):null);dZ(()=>{let W=J.current,K=cZ(W?W[0]:void 0);if(!q||z)return;let A=()=>{if((!EX||vO(EX,J))&&GJ(KX(K),J.current))EX=J};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))}},[J,z]),dZ(()=>{let W=cZ(J.current?J.current[0]:void 0);if(!q)return;let K=(A)=>{if(A.key!=="Tab"||A.altKey||A.ctrlKey||A.metaKey||!lK(J)||A.isComposing)return;let L=W.activeElement;if(!_H(L,J)||!hV(J))return;let F=GY.getTreeNode(J);if(!F)return;let T=F.nodeToRestore,N=qJ(W.body,{tabbable:!0});N.currentNode=L;let M=A.shiftKey?N.previousNode():N.nextNode();if(!T||!T.isConnected||T===W.body)T=void 0,F.nodeToRestore=void 0;if((!M||!_H(M,J))&&T){N.currentNode=T;do M=A.shiftKey?N.previousNode():N.nextNode();while(_H(M,J));if(A.preventDefault(),A.stopPropagation(),M)YG(M,!0);else if(!mV(T))L.blur();else YG(T,!0)}};if(!z)W.addEventListener("keydown",K,!0);return()=>{if(!z)W.removeEventListener("keydown",K,!0)}},[J,q,z]),dZ(()=>{let W=cZ(J.current?J.current[0]:void 0);if(!q)return;let K=GY.getTreeNode(J);if(!K)return;return K.nodeToRestore=_.current??void 0,()=>{let A=GY.getTreeNode(J);if(!A)return;let L=A.nodeToRestore,F=KX(W);if(q&&L&&(F&&_H(F,J)||F===W.body&&hV(J))){let T=GY.clone();requestAnimationFrame(()=>{if(W.activeElement===W.body){let N=T.getTreeNode(J);while(N){if(N.nodeToRestore&&N.nodeToRestore.isConnected){bV(N.nodeToRestore);return}N=N.parent}N=T.getTreeNode(J);while(N){if(N.scopeRef&&N.scopeRef.current&&GY.getTreeNode(N.scopeRef)){let M=uV(N.scopeRef.current,!0);bV(M);return}N=N.parent}}})}}},[J,q])}function bV(J){if(J.dispatchEvent(new CustomEvent(_6,{bubbles:!0,cancelable:!0})))YG(J)}function qJ(J,q,z){let _=q?.tabbable?tA:rA,W=J?.nodeType===Node.ELEMENT_NODE?J:null,K=cZ(W),A=yO(K,J||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(!hy(L))return NodeFilter.FILTER_REJECT;if(A.currentNode.tagName==="INPUT"&&A.currentNode.type==="radio"&&A.currentNode.name===L.name)return NodeFilter.FILTER_REJECT}if(_(L)&&(!z||GJ(L,z))&&(!q?.accept||q.accept(L)))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}});if(q?.from)A.currentNode=q.from;return A}class U6{constructor(){this.fastMap=new Map,this.root=new hO({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(J){return this.fastMap.get(J)}addTreeNode(J,q,z){let _=this.fastMap.get(q??null);if(!_)return;let W=new hO({scopeRef:J});if(_.addChild(W),W.parent=_,this.fastMap.set(J,W),z)W.nodeToRestore=z}addNode(J){this.fastMap.set(J.scopeRef,J)}removeTreeNode(J){if(J===null)return;let q=this.fastMap.get(J);if(!q)return;let z=q.parent;for(let W of this.traverse())if(W!==q&&q.nodeToRestore&&W.nodeToRestore&&q.scopeRef&&q.scopeRef.current&&GJ(W.nodeToRestore,q.scopeRef.current))W.nodeToRestore=q.nodeToRestore;let _=q.children;if(z){if(z.removeChild(q),_.size>0)_.forEach((W)=>z&&z.addChild(W))}this.fastMap.delete(q.scopeRef)}*traverse(J=this.root){if(J.scopeRef!=null)yield J;if(J.children.size>0)for(let q of J.children)yield*this.traverse(q)}clone(){let J=new U6;for(let q of this.traverse())J.addTreeNode(q.scopeRef,q.parent?.scopeRef??null,q.nodeToRestore);return J}}class hO{constructor(J){this.children=new Set,this.contain=!1,this.scopeRef=J.scopeRef}addChild(J){this.children.add(J),J.parent=this}removeChild(J){this.children.delete(J),J.parent=void 0}}var iX,vV,_6="react-aria-focus-scope-restore",EX=null,GY;var iK=C(()=>{z6();kK();dX();ZH();PY();QJ();eA();CY();iX=g(e(),1),vV=iX.default.createContext(null);GY=new U6});function nK(J){return Ww()?J.altKey:J.ctrlKey}function bO(J,q){let z=`[data-key="${CSS.escape(String(q))}"]`,_=J.current?.dataset.collection;if(_)z=`[data-collection="${CSS.escape(_)}"]${z}`;return J.current?.querySelector(z)}function cV(J){let q=aX();return dV.set(J,q),q}function pV(J){return dV.get(J)}var dV;var K6=C(()=>{QJ();YJ();dV=new WeakMap});function Lq(J,q){if(!J)return!1;let z=window.getComputedStyle(J),_=document.scrollingElement||document.documentElement,W=/(auto|scroll)/.test(z.overflow+z.overflowX+z.overflowY);if(J===_&&z.overflow!=="hidden")W=!0;if(W&&q)W=J.scrollHeight!==J.clientHeight||J.scrollWidth!==J.clientWidth;return W}var sK=()=>{};function gO(J,q){let z=[],_=document.scrollingElement||document.documentElement;while(J){if(Lq(J,q))z.push(J);if(J===_)break;J=J.parentElement}return z}var lV=C(()=>{sK()});function aK(J,q,z={}){let{block:_="nearest",inline:W="nearest"}=z;if(J===q)return;let{scrollTop:K,scrollLeft:A}=J,L=q.getBoundingClientRect(),F=J.getBoundingClientRect(),T=window.getComputedStyle(q),N=window.getComputedStyle(J),M=document.scrollingElement||document.documentElement,R=J===M,j=J===M?0:F.top,v=J===M?J.clientHeight:F.bottom,f=J===M?0:F.left,h=J===M?J.clientWidth:F.right,n=parseFloat(T.scrollMarginTop)||0,r=parseFloat(T.scrollMarginBottom)||0,JZ=parseFloat(T.scrollMarginLeft)||0,qZ=parseFloat(T.scrollMarginRight)||0,IZ=parseFloat(N.scrollPaddingTop)||0,mZ=parseFloat(N.scrollPaddingBottom)||0,QZ=parseFloat(N.scrollPaddingLeft)||0,b=parseFloat(N.scrollPaddingRight)||0,AZ=parseFloat(N.borderTopWidth)||0,a=parseFloat(N.borderBottomWidth)||0,LZ=parseFloat(N.borderLeftWidth)||0,WZ=parseFloat(N.borderRightWidth)||0,zZ=L.top-n,y=L.bottom+r,u=L.left-JZ,c=L.right+qZ,p=J===M?0:LZ+WZ,KZ=J===M?0:AZ+a,s=J===M?0:J.offsetWidth-J.clientWidth-p,V=J===M?0:J.offsetHeight-J.clientHeight-KZ,t=j+(R?0:AZ)+IZ,TZ=v-(R?0:a)-mZ-V,jZ=f+(R?0:LZ)+QZ,yZ=h-(R?0:WZ)-b;if(N.direction==="rtl"&&!CJ())jZ+=s;else yZ-=s;let JX=zZ<t||y>TZ,FZ=u<jZ||c>yZ;if(JX&&_==="start")K+=zZ-t;else if(JX&&_==="center")K+=(zZ+y)/2-(t+TZ)/2;else if(JX&&_==="end")K+=y-TZ;else if(JX&&_==="nearest"){let YX=zZ-t,TX=y-TZ;K+=Math.abs(YX)<=Math.abs(TX)?YX:TX}if(FZ&&W==="start")A+=u-jZ;else if(FZ&&W==="center")A+=(u+c)/2-(jZ+yZ)/2;else if(FZ&&W==="end")A+=c-yZ;else if(FZ&&W==="nearest"){let YX=u-jZ,TX=c-yZ;A+=Math.abs(YX)<=Math.abs(TX)?YX:TX}J.scrollTo({left:A,top:K})}function B6(J,q={}){let{containingElement:z}=q;if(J&&J.isConnected){let _=document.scrollingElement||document.documentElement;if(window.getComputedStyle(_).overflow!=="hidden"){let{left:K,top:A}=J.getBoundingClientRect();J?.scrollIntoView?.({block:"nearest"});let{left:L,top:F}=J.getBoundingClientRect();if(Math.abs(K-L)>1||Math.abs(A-F)>1)z?.scrollIntoView?.({block:"center",inline:"center"}),J.scrollIntoView?.({block:"nearest"})}else{let{left:K,top:A}=J.getBoundingClientRect(),L=gO(J,!0);for(let N of L)aK(N,J);let{left:F,top:T}=J.getBoundingClientRect();if(Math.abs(K-F)>1||Math.abs(A-T)>1){L=z?gO(z,!0):[];for(let N of L)aK(N,z,{block:"center",inline:"center"});for(let N of gO(J,!0))aK(N,J)}}}}var iV=C(()=>{lV();QJ()});function sV(J){let{keyboardDelegate:q,selectionManager:z,onTypeSelect:_}=J,W=nV.useRef({search:"",timeout:void 0}).current,K=(A)=>{let L=dy(A.key);if(!L||A.ctrlKey||A.metaKey||!XX(A.currentTarget,UZ(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 F=q.getKeyForSearch(W.search,z.focusedKey);if(F==null)F=q.getKeyForSearch(W.search);if(F!=null){if(z.setFocusedKey(F),_)_(F)}}clearTimeout(W.timeout),W.timeout=setTimeout(()=>{W.search=""},uy)};return{typeSelectProps:{onKeyDownCapture:q.getKeyForSearch?K:void 0}}}function dy(J){if(J.length===1||!/^[A-Z]/i.test(J))return J;return""}var nV,uy=1000;var aV=C(()=>{dX();nV=g(e(),1)});function A6(J,q){let z=L6.useRef(!0),_=L6.useRef(null);dZ(()=>{return z.current=!0,()=>{z.current=!1}},[]),dZ(()=>{if(z.current)z.current=!1;else if(!_.current||q.some((W,K)=>!Object.is(W,_[K])))J();_.current=q},q)}var L6;var oV=C(()=>{CY();L6=g(e(),1)});function tV(J){let{selectionManager:q,keyboardDelegate:z,ref:_,autoFocus:W=!1,shouldFocusWrap:K=!1,disallowEmptySelection:A=!1,disallowSelectAll:L=!1,escapeKeyBehavior:F="clearSelection",selectOnFocus:T=q.selectionBehavior==="replace",disallowTypeAhead:N=!1,shouldUseVirtualFocus:M,allowsTabNavigation:R=!1,scrollRef:j=_,linkBehavior:v="action"}=J,{direction:f}=YW(),h=Az(),n=(y)=>{if(y.altKey&&y.key==="Tab")y.preventDefault();if(!_.current||!XX(_.current,UZ(y)))return;let u=(c,p)=>{if(c!=null){if(q.isLink(c)&&v==="selection"&&T&&!nK(y)){rV.flushSync(()=>{q.setFocusedKey(c,p)});let KZ=bO(_,c),s=q.getItemProps(c);if(KZ)h.open(KZ,y,s.href,s.routerOptions);return}if(q.setFocusedKey(c,p),q.isLink(c)&&v==="override")return;if(y.shiftKey&&q.selectionMode==="multiple")q.extendSelection(c);else if(T&&!nK(y))q.replaceSelection(c)}};switch(y.key){case"ArrowDown":if(z.getKeyBelow){let c=q.focusedKey!=null?z.getKeyBelow?.(q.focusedKey):z.getFirstKey?.();if(c==null&&K)c=z.getFirstKey?.(q.focusedKey);if(c!=null)y.preventDefault(),u(c)}break;case"ArrowUp":if(z.getKeyAbove){let c=q.focusedKey!=null?z.getKeyAbove?.(q.focusedKey):z.getLastKey?.();if(c==null&&K)c=z.getLastKey?.(q.focusedKey);if(c!=null)y.preventDefault(),u(c)}break;case"ArrowLeft":if(z.getKeyLeftOf){let c=q.focusedKey!=null?z.getKeyLeftOf?.(q.focusedKey):z.getFirstKey?.();if(c==null&&K)c=f==="rtl"?z.getFirstKey?.(q.focusedKey):z.getLastKey?.(q.focusedKey);if(c!=null)y.preventDefault(),u(c,f==="rtl"?"first":"last")}break;case"ArrowRight":if(z.getKeyRightOf){let c=q.focusedKey!=null?z.getKeyRightOf?.(q.focusedKey):z.getFirstKey?.();if(c==null&&K)c=f==="rtl"?z.getLastKey?.(q.focusedKey):z.getFirstKey?.(q.focusedKey);if(c!=null)y.preventDefault(),u(c,f==="rtl"?"last":"first")}break;case"Home":if(z.getFirstKey){if(q.focusedKey===null&&y.shiftKey)return;y.preventDefault();let c=z.getFirstKey(q.focusedKey,zH(y));if(q.setFocusedKey(c),c!=null){if(zH(y)&&y.shiftKey&&q.selectionMode==="multiple")q.extendSelection(c);else if(T)q.replaceSelection(c)}}break;case"End":if(z.getLastKey){if(q.focusedKey===null&&y.shiftKey)return;y.preventDefault();let c=z.getLastKey(q.focusedKey,zH(y));if(q.setFocusedKey(c),c!=null){if(zH(y)&&y.shiftKey&&q.selectionMode==="multiple")q.extendSelection(c);else if(T)q.replaceSelection(c)}}break;case"PageDown":if(z.getKeyPageBelow&&q.focusedKey!=null){let c=z.getKeyPageBelow(q.focusedKey);if(c!=null)y.preventDefault(),u(c)}break;case"PageUp":if(z.getKeyPageAbove&&q.focusedKey!=null){let c=z.getKeyPageAbove(q.focusedKey);if(c!=null)y.preventDefault(),u(c)}break;case"a":if(zH(y)&&q.selectionMode==="multiple"&&L!==!0)y.preventDefault(),q.selectAll();break;case"Escape":if(F==="clearSelection"&&!A&&q.selectedKeys.size!==0)y.stopPropagation(),y.preventDefault(),q.clearSelection();break;case"Tab":if(!R){if(y.shiftKey)_.current.focus();else{let c=qJ(_.current,{tabbable:!0}),p=void 0,KZ;do if(KZ=c.lastChild(),KZ)p=KZ;while(KZ);let s=KX();if(p&&(!K3(p)||s&&!tA(s)))aY(p)}break}}},r=PJ.useRef({top:0,left:0});Pz(j,"scroll",()=>{r.current={top:j.current?.scrollTop??0,left:j.current?.scrollLeft??0}});let JZ=(y)=>{if(q.isFocused){if(!XX(y.currentTarget,UZ(y)))q.setFocused(!1);return}if(!XX(y.currentTarget,UZ(y)))return;if(q.setFocused(!0),q.focusedKey==null){let u=(p)=>{if(p!=null){if(q.setFocusedKey(p),T&&!q.isSelected(p))q.replaceSelection(p)}},c=y.relatedTarget;if(c&&y.currentTarget.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_FOLLOWING)u(q.lastSelectedKey??z.getLastKey?.());else u(q.firstSelectedKey??z.getFirstKey?.())}else if(j.current)j.current.scrollTop=r.current.top,j.current.scrollLeft=r.current.left;if(q.focusedKey!=null&&j.current){let u=bO(_,q.focusedKey);if(u instanceof HTMLElement){if(!K3(u)&&!M)aY(u);if(Mz()==="keyboard")B6(u,{containingElement:_.current})}}},qZ=(y)=>{if(!XX(y.currentTarget,y.relatedTarget))q.setFocused(!1)},IZ=PJ.useRef(!1);Pz(_,UV,!M?void 0:(y)=>{let{detail:u}=y;if(y.stopPropagation(),q.setFocused(!0),u?.focusStrategy==="first")IZ.current=!0}),A6(()=>{if(IZ.current){let y=z.getFirstKey?.()??null;if(y==null){let u=KX();if(DO(_.current),Y6(u,null),q.collection.size>0)IZ.current=!1}else q.setFocusedKey(y),IZ.current=!1}},[q.collection]),A6(()=>{if(q.collection.size>0)IZ.current=!1},[q.focusedKey]),Pz(_,WV,!M?void 0:(y)=>{if(y.stopPropagation(),q.setFocused(!1),y.detail?.clearFocusKey)q.setFocusedKey(null)});let mZ=PJ.useRef(W),QZ=PJ.useRef(!1);PJ.useEffect(()=>{if(mZ.current){let y=null;if(W==="first")y=z.getFirstKey?.()??null;if(W==="last")y=z.getLastKey?.()??null;let u=q.selectedKeys;if(u.size){for(let c of u)if(q.canSelectItem(c)){y=c;break}}if(q.setFocused(!0),q.setFocusedKey(y),y==null&&!M&&_.current)oq(_.current);if(q.collection.size>0)mZ.current=!1,QZ.current=!0}});let b=PJ.useRef(q.focusedKey),AZ=PJ.useRef(null);PJ.useEffect(()=>{if(q.isFocused&&q.focusedKey!=null&&(q.focusedKey!==b.current||QZ.current)&&j.current&&_.current){let y=Mz(),u=bO(_,q.focusedKey);if(!(u instanceof HTMLElement))return;if(y==="keyboard"||QZ.current){if(AZ.current)cancelAnimationFrame(AZ.current);AZ.current=requestAnimationFrame(()=>{if(j.current){if(aK(j.current,u),y!=="virtual")B6(u,{containingElement:_.current})}})}}if(!M&&q.isFocused&&q.focusedKey==null&&b.current!=null&&_.current)oq(_.current);b.current=q.focusedKey,QZ.current=!1}),PJ.useEffect(()=>{return()=>{if(AZ.current)cancelAnimationFrame(AZ.current)}},[]),Pz(_,"react-aria-focus-scope-restore",(y)=>{y.preventDefault(),q.setFocused(!0)});let a={onKeyDown:n,onFocus:JZ,onBlur:qZ,onMouseDown(y){if(j.current===UZ(y))y.preventDefault()}},{typeSelectProps:LZ}=sV({keyboardDelegate:z,selectionManager:q});if(!N)a=RZ(LZ,a);let WZ=void 0;if(!M)WZ=q.focusedKey==null?0:-1;let zZ=cV(q.collection);return{collectionProps:RZ(a,{tabIndex:WZ,"data-collection":zZ})}}var rV,PJ;var eV=C(()=>{KV();Q6();kK();Lz();dX();iK();ZH();K6();pK();eA();DY();iV();J6();lA();eG();aV();oV();rV=g(lq(),1),PJ=g(e(),1)});function XR(J){let[q,z]=ZR.useState();return dZ(()=>{if(!J)return;let _=O6.get(J);if(!_){let W=`react-aria-description-${cy++}`;z(W);let K=document.createElement("div");K.id=W,K.style.display="none",K.textContent=J,document.body.appendChild(K),_={refCount:0,element:K},O6.set(J,_)}else z(_.element.id);return _.refCount++,()=>{if(_&&--_.refCount===0)_.element.remove(),O6.delete(J)}},[J]),{"aria-describedby":J?q:void 0}}var ZR,cy=0,O6;var YR=C(()=>{CY();ZR=g(e(),1),O6=new Map});function JR(J){let{isDisabled:q,onLongPressStart:z,onLongPressEnd:_,onLongPress:W,threshold:K=py,accessibilityDescription:A}=J,L=QR.useRef(void 0),{addGlobalListener:F,removeGlobalListener:T}=JH(),{pressProps:N}=qH({isDisabled:q,onPressStart(R){if(R.continuePropagation(),R.pointerType==="mouse"||R.pointerType==="touch"){if(z)z({...R,type:"longpressstart"});if(L.current=setTimeout(()=>{if(R.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),cZ(R.target).activeElement!==R.target)aY(R.target);if(W)W({...R,type:"longpress"});L.current=void 0},K),R.pointerType==="touch"){let j=(f)=>{f.preventDefault()},v=uX(R.target);F(R.target,"contextmenu",j,{once:!0}),F(v,"pointerup",()=>{setTimeout(()=>{T(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"})}}),M=XR(W&&!q?A:void 0);return{longPressProps:RZ(N,M)}}var QR,py=500;var qR=C(()=>{Lz();PY();DY();YR();yK();hK();QR=g(e(),1)});function TW(J){let{id:q,selectionManager:z,key:_,ref:W,shouldSelectOnPressUp:K,shouldUseVirtualFocus:A,focus:L,isDisabled:F,onAction:T,allowsDifferentPressOrigin:N,linkBehavior:M="action"}=J,R=Az();q=aX(q);let j=(V)=>{if(V.pointerType==="keyboard"&&nK(V))z.toggleSelection(_);else{if(z.selectionMode==="none")return;if(z.isLink(_)){if(M==="selection"&&W.current){let t=z.getItemProps(_);R.open(W.current,V,t.href,t.routerOptions),z.setSelectedKeys(z.selectedKeys);return}else if(M==="override"||M==="none")return}if(z.selectionMode==="single")if(z.isSelected(_)&&!z.disallowEmptySelection)z.toggleSelection(_);else z.replaceSelection(_);else if(V&&V.shiftKey)z.extendSelection(_);else if(z.selectionBehavior==="toggle"||V&&(zH(V)||V.pointerType==="touch"||V.pointerType==="virtual"))z.toggleSelection(_);else z.replaceSelection(_)}};Sz.useEffect(()=>{if(_===z.focusedKey&&z.isFocused)if(!A){if(L)L();else if(KX()!==W.current&&W.current)oq(W.current)}else DO(W.current)},[W,_,z.focusedKey,z.childFocusStrategy,z.isFocused,A]),F=F||z.isDisabled(_);let v={};if(!A&&!F)v={tabIndex:_===z.focusedKey?0:-1,onFocus(V){if(UZ(V)===W.current)z.setFocusedKey(_)}};else if(F)v.onMouseDown=(V)=>{V.preventDefault()};Sz.useEffect(()=>{if(F&&z.focusedKey===_)z.setFocusedKey(null)},[z,F,_]);let f=z.isLink(_)&&M==="override",h=T&&J.UNSTABLE_itemBehavior==="action",n=z.isLink(_)&&M!=="selection"&&M!=="none",r=!F&&z.canSelectItem(_)&&!f&&!h,JZ=(T||n)&&!F,qZ=JZ&&(z.selectionBehavior==="replace"?!r:!r||z.isEmpty),IZ=JZ&&r&&z.selectionBehavior==="replace",mZ=qZ||IZ,QZ=Sz.useRef(null),b=mZ&&r,AZ=Sz.useRef(!1),a=Sz.useRef(!1),LZ=z.getItemProps(_),WZ=(V)=>{if(T)T(),W.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}));if(n&&W.current)R.open(W.current,V,LZ.href,LZ.routerOptions)},zZ={ref:W};if(K)if(zZ.onPressStart=(V)=>{if(QZ.current=V.pointerType,AZ.current=b,V.pointerType==="keyboard"&&(!mZ||HR(V.key)))j(V)},!N)zZ.onPress=(V)=>{if(qZ||IZ&&V.pointerType!=="mouse"){if(V.pointerType==="keyboard"&&!GR(V.key))return;WZ(V)}else if(V.pointerType!=="keyboard"&&r)j(V)};else zZ.onPressUp=qZ?void 0:(V)=>{if(V.pointerType==="mouse"&&r)j(V)},zZ.onPress=qZ?WZ:(V)=>{if(V.pointerType!=="keyboard"&&V.pointerType!=="mouse"&&r)j(V)};else zZ.onPressStart=(V)=>{if(QZ.current=V.pointerType,AZ.current=b,a.current=qZ,r&&(V.pointerType==="mouse"&&!qZ||V.pointerType==="keyboard"&&(!JZ||HR(V.key))))j(V)},zZ.onPress=(V)=>{if(V.pointerType==="touch"||V.pointerType==="pen"||V.pointerType==="virtual"||V.pointerType==="keyboard"&&mZ&&GR(V.key)||V.pointerType==="mouse"&&a.current){if(mZ)WZ(V);else if(r)j(V)}};if(v["data-collection"]=pV(z.collection),v["data-key"]=_,zZ.preventFocusOnPress=A,A)zZ=RZ(zZ,{onPressStart(V){if(V.pointerType!=="touch")z.setFocused(!0),z.setFocusedKey(_)},onPress(V){if(V.pointerType==="touch")z.setFocused(!0),z.setFocusedKey(_)}});if(LZ){for(let V of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])if(LZ[V])zZ[V]=wJ(zZ[V],LZ[V])}let{pressProps:y,isPressed:u}=qH(zZ),c=IZ?(V)=>{if(QZ.current==="mouse")V.stopPropagation(),V.preventDefault(),WZ(V)}:void 0,{longPressProps:p}=JR({isDisabled:!b,onLongPress(V){if(V.pointerType==="touch")j(V),z.setSelectionBehavior("toggle")}}),KZ=(V)=>{if(QZ.current==="touch"&&AZ.current)V.preventDefault()},s=M!=="none"&&z.isLink(_)?(V)=>{if(!JJ.isOpening)V.preventDefault()}:void 0;return{itemProps:RZ(v,r||qZ||A&&!F?y:{},b?p:{},{onDoubleClick:c,onDragStartCapture:KZ,onClick:s,id:q},A?{onMouseDown:(V)=>V.preventDefault()}:void 0),isPressed:u,isSelected:z.isSelected(_),isFocused:z.isFocused&&z.focusedKey===_,isDisabled:F,allowsSelection:r,hasAction:mZ}}function GR(J){return J==="Enter"}function HR(J){return J===" "}var Sz;var mO=C(()=>{t_();kK();dX();K6();pK();DY();Q6();eG();hK();YJ();qR();Sz=g(e(),1)});function zR(J,q){if(typeof q.getChildren==="function")return q.getChildren(J.key);return J.childNodes}var _R=()=>{};function oK(J){let q=WR.get(J);if(q!=null)return q;let z=0,_=(W)=>{for(let K of W)if(K.type==="section")_(zR(K,J));else if(K.type==="item")z++};return _(J),WR.set(J,z),z}var WR;var UR=C(()=>{_R();WR=new WeakMap});var F6=C(()=>{UR()});function M6(J,q,z){let{key:_}=J,W=H6.get(q),K=J.isDisabled??q.selectionManager.isDisabled(_),A=J.isSelected??q.selectionManager.isSelected(_),L=J.shouldSelectOnPressUp??W?.shouldSelectOnPressUp,F=J.shouldFocusOnHover??W?.shouldFocusOnHover,T=J.shouldUseVirtualFocus??W?.shouldUseVirtualFocus,N=J.isVirtualized??W?.isVirtualized,M=_q(),R=_q(),j={role:"option","aria-disabled":K||void 0,"aria-selected":q.selectionManager.selectionMode!=="none"?A:void 0,"aria-label":J["aria-label"],"aria-labelledby":M,"aria-describedby":R},v=q.collection.getItem(_);if(N){let AZ=Number(v?.index);j["aria-posinset"]=Number.isNaN(AZ)?void 0:AZ+1,j["aria-setsize"]=oK(q.collection)}let f=W?.onAction?()=>W?.onAction?.(_):void 0,h=kV(q,_),{itemProps:n,isPressed:r,isFocused:JZ,hasAction:qZ,allowsSelection:IZ}=TW({selectionManager:q.selectionManager,key:_,ref:z,shouldSelectOnPressUp:L,allowsDifferentPressOrigin:L&&F,isVirtualized:N,shouldUseVirtualFocus:T,isDisabled:K,onAction:f||v?.props?.onAction?wJ(v?.props?.onAction,f):void 0,linkBehavior:W?.linkBehavior,UNSTABLE_itemBehavior:W?.UNSTABLE_itemBehavior,id:h}),{hoverProps:mZ}=SY({isDisabled:K||!F,onHoverStart(){if(!Kq())q.selectionManager.setFocused(!0),q.selectionManager.setFocusedKey(_)}}),QZ=HX(v?.props);delete QZ.id;let b=qW(v?.props);return{optionProps:{...j,...RZ(QZ,n,mZ,b),id:h},labelProps:{id:M},descriptionProps:{id:R},isFocused:JZ,isFocusVisible:JZ&&q.selectionManager.isFocused&&Kq(),isSelected:A,isDisabled:K,isPressed:r,allowsSelection:IZ,hasAction:qZ}}var KR=C(()=>{t_();rG();xV();ZH();DY();mO();OO();eG();YJ();F6()});var BR=C(()=>{KR()});var LR=C(()=>{r3()});function wW(J){let q=AR.version.split(".");if(parseInt(q[0],10)>=19)return J;return J?"true":void 0}var AR;var OR=C(()=>{AR=g(e(),1)});var N6=C(()=>{OR()});function rK(J,q){let z=J;if(Lq(z,q))z=z.parentElement;while(z&&!Lq(z,q))z=z.parentElement;return z||document.scrollingElement||document.documentElement}var I6=C(()=>{sK()});function T6(J,q){let{collection:z,onLoadMore:_,scrollOffset:W=1}=J,K=FR.useRef(null),A=$Y((L)=>{for(let F of L)if(F.isIntersecting&&_)_()});dZ(()=>{if(q.current)K.current=new IntersectionObserver(A,{root:rK(q?.current),rootMargin:`0px ${100*W}% ${100*W}% ${100*W}%`}),K.current.observe(q.current);return()=>{if(K.current)K.current.disconnect()}},[z,q,W])}var FR;var MR=C(()=>{I6();Tz();CY();FR=g(e(),1)});var NR=C(()=>{MR()});var IR=C(()=>{zO()});var TR=C(()=>{_O()});var cX,w6,tK,ly;var wR=C(()=>{qQ();_V();kO();BW();BR();uK();Uq();N6();cK();NR();VJ();IR();Vz();TR();ZW();cX=g(e(),1),w6=cX.createContext(null),tK=Bq(FW,function(q,z,_){let W=JQ(z),K=cX.useContext(w6),{dragAndDropHooks:A,dragState:L,dropState:F}=cX.useContext(zV),T=L&&!(L.isDisabled||L.selectionManager.isDisabled(_.key)),{optionProps:N,labelProps:M,descriptionProps:R,...j}=M6({key:_.key,"aria-label":q?.["aria-label"]},K,W),{hoverProps:v,isHovered:f}=SY({isDisabled:!j.allowsSelection&&!j.hasAction&&!T,onHoverStart:_.props.onHoverStart,onHoverChange:_.props.onHoverChange,onHoverEnd:_.props.onHoverEnd}),{keyboardProps:h}=Iz(q),{focusProps:n}=Nz(q),r=null;if(L&&A)r=A.useDraggableItem({key:_.key,hasAction:j.hasAction},L);let JZ=null;if(F&&A)JZ=A.useDroppableItem({target:{type:"item",key:_.key,dropPosition:"on"}},F,W);let qZ=L&&L.isDragging(_.key),IZ=yX({...q,id:void 0,children:q.children,defaultClassName:"react-aria-ListBoxItem",values:{...j,isHovered:f,selectionMode:K.selectionManager.selectionMode,selectionBehavior:K.selectionManager.selectionBehavior,allowsDragging:!!L,isDragging:qZ,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 mZ=q.href?LX.a:LX.div,QZ=HX(q,{global:!0});if(delete QZ.id,delete QZ.onClick,q.href&&N.tabIndex==null)N.tabIndex=-1;return cX.default.createElement(mZ,{...RZ(QZ,IZ,N,v,h,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":f||void 0,"data-focused":j.isFocused||void 0,"data-focus-visible":j.isFocusVisible||void 0,"data-pressed":j.isPressed||void 0,"data-dragging":qZ||void 0,"data-drop-target":JZ?.isDropTarget||void 0,"data-selection-mode":K.selectionManager.selectionMode==="none"?void 0:K.selectionManager.selectionMode},cX.default.createElement(kQ,{values:[[HH,{slots:{[Wz]:M,label:M,description:R}}],[IW,{isSelected:j.isSelected}]]},IZ.children))}),ly=Bq(jO,function(q,z,_){let W=cX.useContext(w6),{isLoading:K,onLoadMore:A,scrollOffset:L,...F}=q,T=cX.useRef(null),N=cX.useMemo(()=>({onLoadMore:A,collection:W?.collection,sentinelRef:T,scrollOffset:L}),[A,L,W?.collection]);T6(N,T);let M=yX({...F,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:wW(!0)},cX.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:T,style:{position:"absolute",height:1,width:1}})),K&&M.children&&cX.default.createElement(cX.default.Fragment,null,cX.default.createElement(LX.div,{...RZ(HX(q,{global:!0}),R),...M,role:"option",ref:z},M.children)))})});function VR(J){return J.dataset.liveAnnouncer==="true"||J.dataset.reactAriaTopLayer!==void 0}function RR(J,q){let z=uX(J?.[0]),_=q instanceof z.Element?{root:q}:q,W=_?.root??document.body,K=_?.shouldUseInert&&iy,A=new Set(J),L=new Set,F=(h)=>{return K&&h instanceof z.HTMLElement?h.inert:h.getAttribute("aria-hidden")==="true"},T=(h,n)=>{if(K&&h instanceof z.HTMLElement)h.inert=n;else if(n)h.setAttribute("aria-hidden","true");else if(h.removeAttribute("aria-hidden"),h instanceof z.HTMLElement)h.inert=!1},N=new Set;if(xQ())for(let h of J){let n=h;while(n&&n!==W){let r=n.getRootNode();if("shadowRoot"in r)N.add(r.shadowRoot);n=r.parentNode}}let M=(h)=>{for(let qZ of h.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))A.add(qZ);let n=(qZ)=>{if(L.has(qZ)||A.has(qZ)||qZ.parentElement&&L.has(qZ.parentElement)&&qZ.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let IZ of A)if(XX(qZ,IZ))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},r=yO(cZ(h),h,NodeFilter.SHOW_ELEMENT,{acceptNode:n}),JZ=n(h);if(JZ===NodeFilter.FILTER_ACCEPT)R(h);if(JZ!==NodeFilter.FILTER_REJECT){let qZ=r.nextNode();while(qZ!=null)R(qZ),qZ=r.nextNode()}},R=(h)=>{let n=eK.get(h)??0;if(F(h)&&n===0)return;if(n===0)T(h,!0);L.add(h),eK.set(h,n+1)};if(HJ.length)HJ[HJ.length-1].disconnect();M(W);let j=new MutationObserver((h)=>{for(let n of h){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)&&VR(r))A.add(r);else if(r instanceof Element)M(r)}if(xQ()){for(let r of N)if(!r.isConnected){j.disconnect();break}}}});j.observe(W,{childList:!0,subtree:!0});let v=new Set;if(xQ())for(let h of N){let n=new MutationObserver((r)=>{for(let JZ of r){if(JZ.type!=="childList")continue;if(JZ.target.isConnected&&![...A,...L].some((qZ)=>XX(qZ,JZ.target))){for(let qZ of JZ.addedNodes)if((qZ instanceof HTMLElement||qZ instanceof SVGElement)&&VR(qZ))A.add(qZ);else if(qZ instanceof Element)M(qZ)}if(xQ()){for(let qZ of N)if(!qZ.isConnected){j.disconnect();break}}}});n.observe(h,{childList:!0,subtree:!0}),v.add(n)}let f={visibleNodes:A,hiddenNodes:L,observe(){j.observe(W,{childList:!0,subtree:!0})},disconnect(){j.disconnect()}};return HJ.push(f),()=>{if(j.disconnect(),xQ())for(let h of v)h.disconnect();for(let h of L){let n=eK.get(h);if(n==null)continue;if(n===1)T(h,!1),eK.delete(h);else eK.set(h,n-1)}if(f===HJ[HJ.length-1]){if(HJ.pop(),HJ.length)HJ[HJ.length-1].observe()}else HJ.splice(HJ.indexOf(f),1)}}var iy,eK,HJ;var jR=C(()=>{z6();PY();dX();aA();iy=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;eK=new WeakMap,HJ=[]});function DR(J){let{ref:q,onInteractOutside:z,isDisabled:_,onInteractOutsideStart:W}=J,K=fO.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),A=$Y((F)=>{if(z&&CR(F,q)){if(W)W(F);K.current.isPointerDown=!0}}),L=$Y((F)=>{if(z)z(F)});fO.useEffect(()=>{let F=K.current;if(_)return;let T=q.current,N=cZ(T);if(typeof PointerEvent<"u"){let M=(R)=>{if(F.isPointerDown&&CR(R,q))L(R);F.isPointerDown=!1};return N.addEventListener("pointerdown",A,!0),N.addEventListener("click",M,!0),()=>{N.removeEventListener("pointerdown",A,!0),N.removeEventListener("click",M,!0)}}},[q,_])}function CR(J,q){if(J.button>0)return!1;let z=UZ(J);if(z){let _=z.ownerDocument;if(!_||!XX(_.documentElement,z))return!1;if(z.closest("[data-react-aria-top-layer]"))return!1}if(!q.current)return!1;return!J.composedPath().includes(q.current)}var fO;var PR=C(()=>{dX();PY();Tz();fO=g(e(),1)});function $R(J,q){let{onClose:z,shouldCloseOnBlur:_,isOpen:W,isDismissable:K=!1,isKeyboardDismissDisabled:A=!1,shouldCloseOnInteractOutside:L}=J,F=uO.useRef(void 0);uO.useEffect(()=>{if(W&&!Aq.includes(q))return Aq.push(q),()=>{let v=Aq.indexOf(q);if(v>=0)Aq.splice(v,1)}},[W,q]);let T=()=>{if(Aq[Aq.length-1]===q&&z)z()},N=(v)=>{let f=Aq[Aq.length-1];if(F.current=f,!L||L(UZ(v))){if(f===q)v.stopPropagation()}},M=(v)=>{if(!L||L(UZ(v))){if(Aq[Aq.length-1]===q)v.stopPropagation();if(F.current===q)T()}F.current=void 0},R=(v)=>{if(v.key==="Escape"&&!A&&!v.nativeEvent.isComposing)v.stopPropagation(),v.preventDefault(),T()};DR({ref:q,onInteractOutside:K&&W?M:void 0,onInteractOutsideStart:N});let{focusWithinProps:j}=WW({isDisabled:!_,onBlurWithin:(v)=>{if(!v.relatedTarget||fV(v.relatedTarget))return;if(!L||L(v.relatedTarget))z?.()}});return{overlayProps:{onKeyDown:R,...j},underlayProps:{}}}var uO,Aq;var SR=C(()=>{dX();iK();LO();PR();uO=g(e(),1),Aq=[]});function xR(J={}){let{isDisabled:q}=J;dZ(()=>{if(q)return;if(dO++,dO===1)if(CJ())V6=sy();else V6=ny();return()=>{if(dO--,dO===0)V6()}},[q])}function ny(){let J=window.innerWidth-document.documentElement.clientWidth;return wJ(J>0&&("scrollbarGutter"in document.documentElement.style?cO(document.documentElement,"scrollbarGutter","stable"):cO(document.documentElement,"paddingRight",`${J}px`)),cO(document.documentElement,"overflow","hidden"))}function sy(){let J=cO(document.documentElement,"overflow","hidden"),q,z=!1,_=(N)=>{let M=UZ(N);q=Lq(M)?M:rK(M,!0),z=!1;let R=M.ownerDocument.defaultView.getSelection();if(R&&!R.isCollapsed&&R.containsNode(M,!0))z=!0;if(N.composedPath().some((j)=>j instanceof HTMLInputElement&&j.type==="range"))z=!0;if("selectionStart"in M&&"selectionEnd"in M&&M.selectionStart<M.selectionEnd&&M.ownerDocument.activeElement===M)z=!0},W=document.createElement("style"),K=BO();if(K)W.nonce=K;W.textContent=`
|
|
242
|
+
@layer {
|
|
243
|
+
* {
|
|
244
|
+
overscroll-behavior: contain;
|
|
245
|
+
}
|
|
246
|
+
}`.trim(),document.head.prepend(W);let A=(N)=>{if(N.touches.length===2||z)return;if(!q||q===document.documentElement||q===document.body){N.preventDefault();return}if(q.scrollHeight===q.clientHeight&&q.scrollWidth===q.clientWidth)N.preventDefault()},L=(N)=>{let M=UZ(N),R=N.relatedTarget;if(R&&Dz(R))R.focus({preventScroll:!0}),ER(R,Dz(M));else if(!R)M.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},F=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(N){let M=KX(),R=M!=null&&Dz(M);if(F.call(this,{...N,preventScroll:!0}),!N||!N.preventScroll)ER(this,R)};let T=wJ(R6(document,"touchstart",_,{passive:!1,capture:!0}),R6(document,"touchmove",A,{passive:!1,capture:!0}),R6(document,"blur",L,!0));return()=>{J(),T(),W.remove(),HTMLElement.prototype.focus=F}}function cO(J,q,z){let _=J.style[q];return J.style[q]=z,()=>{J.style[q]=_}}function R6(J,q,z,_){return J.addEventListener(q,z,_),()=>{J.removeEventListener(q,z,_)}}function ER(J,q){if(q||!ZB)kR(J);else ZB.addEventListener("resize",()=>kR(J),{once:!0})}function kR(J){let q=document.scrollingElement||document.documentElement,z=J;while(z&&z!==q){let _=rK(z);if(_!==document.documentElement&&_!==document.body&&_!==z){let W=_.getBoundingClientRect(),K=z.getBoundingClientRect();if(K.top<W.top||K.bottom>W.top+z.clientHeight){let A=W.bottom;if(ZB)A=Math.min(A,ZB.offsetTop+ZB.height);let L=K.top-W.top-((A-W.top)/2-K.height/2);_.scrollTo({top:Math.max(0,Math.min(_.scrollHeight-_.clientHeight,_.scrollTop+L)),behavior:"smooth"})}}z=_.parentElement}}var ZB,dO=0,V6;var yR=C(()=>{t_();dX();S3();I6();QJ();sK();CY();pK();ZB=typeof document<"u"&&window.visualViewport});var j6;var vR=C(()=>{j6={};j6={dismiss:"تجاهل"}});var C6;var hR=C(()=>{C6={};C6={dismiss:"Отхвърляне"}});var D6;var bR=C(()=>{D6={};D6={dismiss:"Odstranit"}});var P6;var gR=C(()=>{P6={};P6={dismiss:"Luk"}});var $6;var mR=C(()=>{$6={};$6={dismiss:"Schließen"}});var S6;var fR=C(()=>{S6={};S6={dismiss:"Απόρριψη"}});var E6;var uR=C(()=>{E6={};E6={dismiss:"Dismiss"}});var k6;var dR=C(()=>{k6={};k6={dismiss:"Descartar"}});var x6;var cR=C(()=>{x6={};x6={dismiss:"Lõpeta"}});var y6;var pR=C(()=>{y6={};y6={dismiss:"Hylkää"}});var v6;var lR=C(()=>{v6={};v6={dismiss:"Rejeter"}});var h6;var iR=C(()=>{h6={};h6={dismiss:"התעלם"}});var b6;var nR=C(()=>{b6={};b6={dismiss:"Odbaci"}});var g6;var sR=C(()=>{g6={};g6={dismiss:"Elutasítás"}});var m6;var aR=C(()=>{m6={};m6={dismiss:"Ignora"}});var f6;var oR=C(()=>{f6={};f6={dismiss:"閉じる"}});var u6;var rR=C(()=>{u6={};u6={dismiss:"무시"}});var d6;var tR=C(()=>{d6={};d6={dismiss:"Atmesti"}});var c6;var eR=C(()=>{c6={};c6={dismiss:"Nerādīt"}});var p6;var Zj=C(()=>{p6={};p6={dismiss:"Lukk"}});var l6;var Xj=C(()=>{l6={};l6={dismiss:"Negeren"}});var i6;var Yj=C(()=>{i6={};i6={dismiss:"Zignoruj"}});var n6;var Qj=C(()=>{n6={};n6={dismiss:"Descartar"}});var s6;var Jj=C(()=>{s6={};s6={dismiss:"Dispensar"}});var a6;var qj=C(()=>{a6={};a6={dismiss:"Revocare"}});var o6;var Gj=C(()=>{o6={};o6={dismiss:"Пропустить"}});var r6;var Hj=C(()=>{r6={};r6={dismiss:"Zrušiť"}});var t6;var zj=C(()=>{t6={};t6={dismiss:"Opusti"}});var e6;var _j=C(()=>{e6={};e6={dismiss:"Odbaci"}});var Z5;var Wj=C(()=>{Z5={};Z5={dismiss:"Avvisa"}});var X5;var Uj=C(()=>{X5={};X5={dismiss:"Kapat"}});var Y5;var Kj=C(()=>{Y5={};Y5={dismiss:"Скасувати"}});var Q5;var Bj=C(()=>{Q5={};Q5={dismiss:"取消"}});var J5;var Lj=C(()=>{J5={};J5={dismiss:"關閉"}});var q5;var Aj=C(()=>{vR();hR();bR();gR();mR();fR();uR();dR();cR();pR();lR();iR();nR();sR();aR();oR();rR();tR();eR();Zj();Xj();Yj();Qj();Jj();qj();Gj();Hj();zj();_j();Wj();Uj();Kj();Bj();Lj();q5={};q5={"ar-AE":j6,"bg-BG":C6,"cs-CZ":D6,"da-DK":P6,"de-DE":$6,"el-GR":S6,"en-US":E6,"es-ES":k6,"et-EE":x6,"fi-FI":y6,"fr-FR":v6,"he-IL":h6,"hr-HR":b6,"hu-HU":g6,"it-IT":m6,"ja-JP":f6,"ko-KR":u6,"lt-LT":d6,"lv-LV":c6,"nb-NO":p6,"nl-NL":l6,"pl-PL":i6,"pt-BR":n6,"pt-PT":s6,"ro-RO":a6,"ru-RU":o6,"sk-SK":r6,"sl-SI":t6,"sr-SP":e6,"sv-SE":Z5,"tr-TR":X5,"uk-UA":Y5,"zh-CN":Q5,"zh-TW":J5}});function ay(J){return J&&J.__esModule?J.default:J}function H5(J){let{onDismiss:q,...z}=J,_=TV(ay(q5),"@react-aria/overlays"),W=tG(z,_.format("dismiss")),K=()=>{if(q)q()};return G5.default.createElement(ow,null,G5.default.createElement("button",{...W,tabIndex:-1,onClick:K,style:{width:1,height:1}}))}var G5;var Oj=C(()=>{Aj();VK();wV();rw();G5=g(e(),1)});function Fj({children:J}){let q=Ez.useMemo(()=>({register:()=>{}}),[]);return Ez.default.createElement(xK.Provider,{value:q},J)}var Ez;var Mj=C(()=>{E3();Ez=g(e(),1)});function Nj(){return XB.useContext(oy)??{}}var XB,oy;var Ij=C(()=>{XB=g(e(),1),oy=XB.createContext({})});function z5(J){let q=sY(),{portalContainer:z=q?null:document.body,isExiting:_}=J,[W,K]=$J.useState(!1),A=$J.useMemo(()=>({contain:W,setContain:K}),[W,K]),{getContainer:L}=Nj();if(!J.portalContainer&&L)z=L();if(!z)return null;let F=J.children;if(!J.disableFocusManagement)F=$J.default.createElement(gV,{restoreFocus:!0,contain:(J.shouldContainFocus||W)&&!_},F);return F=$J.default.createElement(wj.Provider,{value:A},$J.default.createElement(Fj,null,F)),Tj.default.createPortal(F,z)}function Vj(){let q=$J.useContext(wj)?.setContain;dZ(()=>{q?.(!0)},[q])}var $J,Tj,wj;var _5=C(()=>{Mj();iK();aG();CY();Ij();$J=g(e(),1),Tj=g(lq(),1),wj=$J.default.createContext(null)});var Rj=C(()=>{Oj();_5()});function W5(J){let[q,z]=jz(J.isOpen,J.defaultOpen||!1,J.onOpenChange),_=pO.useCallback(()=>{z(!0)},[z]),W=pO.useCallback(()=>{z(!1)},[z]),K=pO.useCallback(()=>{z(!q)},[z,q]);return{isOpen:q,setOpen:z,open:_,close:W,toggle:K}}var pO;var jj=C(()=>{NO();pO=g(e(),1)});var Cj=C(()=>{jj()});function RW(J,q=!0){let[z,_]=VW.useState(!0),W=z&&q;return dZ(()=>{if(W&&J.current&&"getAnimations"in J.current){for(let K of J.current.getAnimations())if(K instanceof CSSTransition)K.cancel()}},[J,W]),Pj(J,W,VW.useCallback(()=>_(!1),[])),W}function jW(J,q){let[z,_]=VW.useState(q?"open":"closed");switch(z){case"open":if(!q)_("exiting");break;case"closed":case"exiting":if(q)_("open");break}let W=z==="exiting";return Pj(J,W,VW.useCallback(()=>{_((K)=>K==="exiting"?"closed":K)},[])),W}function Pj(J,q,z){dZ(()=>{if(q&&J.current){if(!("getAnimations"in J.current)){z();return}let _=J.current.getAnimations();if(_.length===0){z();return}let W=!1;return Promise.allSettled(_.map((K)=>K.finished)).then(()=>{if(!W)Dj.flushSync(()=>{z()})}),()=>{W=!0}}},[J,q,z])}var Dj,VW;var $j=C(()=>{CY();Dj=g(lq(),1),VW=g(e(),1)});var U5=C(()=>{$j()});var lO,Sj;var Ej=C(()=>{lO=g(e(),1),Sj=lO.createContext({})});var kj;var xj=C(()=>{kj=new WeakMap});function B5(J,q,z){let{id:_,key:W,closeOnSelect:K,shouldCloseOnSelect:A,isVirtualized:L,"aria-haspopup":F,onPressStart:T,onPressUp:N,onPress:M,onPressChange:R,onPressEnd:j,onClick:v,onHoverStart:f,onHoverChange:h,onHoverEnd:n,onKeyDown:r,onKeyUp:JZ,onFocus:qZ,onFocusChange:IZ,onBlur:mZ,selectionManager:QZ=q.selectionManager}=J,b=!!F,AZ=b&&J["aria-expanded"]==="true",a=J.isDisabled??QZ.isDisabled(W),LZ=J.isSelected??QZ.isSelected(W),WZ=kj.get(q),zZ=q.collection.getItem(W),y=J.onClose||WZ.onClose,u=Az(),c=()=>{if(b)return;if(zZ?.props?.onAction)zZ.props.onAction();else if(J.onAction)J.onAction(W);if(WZ.onAction){let CZ=WZ.onAction;CZ(W)}},p="menuitem";if(!b){if(QZ.selectionMode==="single")p="menuitemradio";else if(QZ.selectionMode==="multiple")p="menuitemcheckbox"}let KZ=_q(),s=_q(),V=_q(),t={id:_,"aria-disabled":a||void 0,role:p,"aria-label":J["aria-label"],"aria-labelledby":KZ,"aria-describedby":[J["aria-describedby"],s,V].filter(Boolean).join(" ")||void 0,"aria-controls":J["aria-controls"],"aria-haspopup":F,"aria-expanded":J["aria-expanded"]};if(QZ.selectionMode!=="none"&&!b)t["aria-checked"]=LZ;if(L){let CZ=Number(zZ?.index);t["aria-posinset"]=Number.isNaN(CZ)?void 0:CZ+1,t["aria-setsize"]=oK(q.collection)}let TZ=K5.useRef(!1),jZ=(CZ)=>{R?.(CZ),TZ.current=CZ},yZ=K5.useRef(null),JX=(CZ)=>{if(CZ.pointerType!=="keyboard")yZ.current={pointerType:CZ.pointerType};if(CZ.pointerType==="mouse"){if(!TZ.current)CZ.target.click()}N?.(CZ)},FZ=(CZ)=>{v?.(CZ),c(),Lw(CZ,u,zZ.props.href,zZ?.props.routerOptions);let Fq=yZ.current?.pointerType==="keyboard"?yZ.current?.key==="Enter"||QZ.selectionMode==="none"||QZ.isLink(W):QZ.selectionMode!=="multiple"||QZ.isLink(W);if(Fq=A??K??Fq,y&&!b&&Fq)y();yZ.current=null},{itemProps:YX,isFocused:TX}=TW({id:_,selectionManager:QZ,key:W,ref:z,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:WZ.shouldUseVirtualFocus}),{pressProps:BX,isPressed:Oq}=qH({onPressStart:T,onPress:M,onPressUp:JX,onPressChange:jZ,onPressEnd:j,isDisabled:a}),{hoverProps:_Z}=SY({isDisabled:a,onHoverStart(CZ){if(!Kq()&&!(AZ&&F))QZ.setFocused(!0),QZ.setFocusedKey(W);f?.(CZ)},onHoverChange:h,onHoverEnd:n}),{keyboardProps:UQ}=Iz({onKeyDown:(CZ)=>{if(CZ.repeat){CZ.continuePropagation();return}switch(CZ.key){case" ":yZ.current={pointerType:"keyboard",key:" "},UZ(CZ).click(),EK("keyboard");break;case"Enter":if(yZ.current={pointerType:"keyboard",key:"Enter"},UZ(CZ).tagName!=="A")UZ(CZ).click();EK("keyboard");break;default:if(!b)CZ.continuePropagation();r?.(CZ);break}},onKeyUp:JZ}),{focusableProps:KQ}=YH({onBlur:mZ,onFocus:qZ,onFocusChange:IZ},z),yY=HX(zZ?.props);delete yY.id;let oX=qW(zZ?.props);return{menuItemProps:{...t,...RZ(yY,oX,b?{onFocus:YX.onFocus,"data-collection":YX["data-collection"],"data-key":YX["data-key"]}:YX,BX,_Z,UQ,KQ,WZ.shouldUseVirtualFocus||b?{onMouseDown:(CZ)=>CZ.preventDefault()}:void 0,a?void 0:{onClick:FZ}),tabIndex:YX.tabIndex!=null&&AZ&&!WZ.shouldUseVirtualFocus?-1:YX.tabIndex},labelProps:{id:KZ},descriptionProps:{id:s},keyboardShortcutProps:{id:V},isFocused:TX,isFocusVisible:TX&&QZ.isFocused&&Kq()&&!AZ,isSelected:LZ,isPressed:Oq,isDisabled:a}}var K5;var yj=C(()=>{rG();dX();eG();ZH();xj();DY();HW();OO();_O();hK();mO();YJ();F6();K5=g(e(),1)});var vj=C(()=>{yj()});var zQ,bj,ry,ty,hj,kz;var gj=C(()=>{qQ();X6();Ej();kO();BW();vj();cK();uK();Uq();VJ();Vz();ZW();zQ=g(e(),1),bj=zQ.createContext(null),ry=zQ.createContext(null);ty=class ty extends vQ{static{this.type="submenutrigger"}filter(J,q,z){let _=J.getItem(this.firstChildKey);if(_&&z(_.textValue,this)){let W=this.clone();return q.addDescendants(W,J),W}return null}};hj=zQ.createContext(null),kz=Bq(FW,function(q,z,_){[q,z]=fX(q,z,hj);let W=Uz(hj)?.id,K=zQ.useContext(bj),A=JQ(z),L=zQ.useContext(ry),{isVirtualized:F}=zQ.useContext(dK),{menuItemProps:T,labelProps:N,descriptionProps:M,keyboardShortcutProps:R,...j}=B5({...q,id:W,key:_.key,selectionManager:L,isVirtualized:F},K,A),{hoverProps:v,isHovered:f}=SY({isDisabled:j.isDisabled}),h=yX({...q,id:void 0,children:_.rendered,defaultClassName:"react-aria-MenuItem",values:{...j,isHovered:f,isFocusVisible:j.isFocusVisible,selectionMode:L.selectionMode,selectionBehavior:L.selectionBehavior,hasSubmenu:!!q["aria-haspopup"],isOpen:q["aria-expanded"]==="true"}}),n=q.href?LX.a:LX.div,r=HX(q,{global:!0});return delete r.id,delete r.onClick,zQ.default.createElement(n,{...RZ(r,h,T,v),ref:A,"data-disabled":j.isDisabled||void 0,"data-hovered":f||void 0,"data-focused":j.isFocused||void 0,"data-focus-visible":j.isFocusVisible||void 0,"data-pressed":j.isPressed||void 0,"data-selected":j.isSelected||void 0,"data-selection-mode":L.selectionMode==="none"?void 0:L.selectionMode,"data-has-submenu":!!q["aria-haspopup"]||void 0,"data-open":q["aria-expanded"]==="true"||void 0},zQ.default.createElement(kQ,{values:[[HH,{slots:{[Wz]:N,label:N,description:M}}],[Sj,R],[IW,{isSelected:j.isSelected}]]},h.children))})});var CW,iO;var mj=C(()=>{CW=g(e(),1),iO=CW.createContext(null)});var fj=C(()=>{NO()});function L5(J,q){let{inputElementType:z="input",isDisabled:_=!1,isRequired:W=!1,isReadOnly:K=!1,type:A="text",validationBehavior:L="aria"}=J,[F,T]=jz(J.value,J.defaultValue||"",J.onChange),{focusableProps:N}=YH(J,q),M=c3({...J,value:F}),{isInvalid:R,validationErrors:j,validationDetails:v}=M.displayValidation,{labelProps:f,fieldProps:h,descriptionProps:n,errorMessageProps:r}=dw({...J,isInvalid:R,errorMessage:J.errorMessage||j}),JZ=HX(J,{labelable:!0}),qZ={type:A,pattern:J.pattern},[IZ]=nO.useState(F);return lw(q,J.defaultValue??IZ,T),nw(J,M,q),{labelProps:f,inputProps:RZ(JZ,z==="input"?qZ:void 0,{disabled:_,readOnly:K,required:W&&L==="native","aria-required":W&&L==="aria"||void 0,"aria-invalid":R||void 0,"aria-errormessage":J["aria-errormessage"],"aria-activedescendant":J["aria-activedescendant"],"aria-autocomplete":J["aria-autocomplete"],"aria-haspopup":J["aria-haspopup"],"aria-controls":J["aria-controls"],value:F,onChange:(mZ)=>T(UZ(mZ).value),autoComplete:J.autoComplete,autoCapitalize:J.autoCapitalize,maxLength:J.maxLength,minLength:J.minLength,name:J.name,form:J.form,placeholder:J.placeholder,inputMode:J.inputMode,autoCorrect:J.autoCorrect,spellCheck:J.spellCheck,[parseInt(nO.default.version,10)>=17?"enterKeyHint":"enterkeyhint"]:J.enterKeyHint,onCopy:J.onCopy,onCut:J.onCut,onPaste:J.onPaste,onCompositionEnd:J.onCompositionEnd,onCompositionStart:J.onCompositionStart,onCompositionUpdate:J.onCompositionUpdate,onSelect:J.onSelect,onBeforeInput:J.onBeforeInput,onInput:J.onInput,...N,...h}),descriptionProps:n,errorMessageProps:r,isInvalid:R,validationErrors:j,validationDetails:v}}var nO;var uj=C(()=>{rG();dX();DY();cw();HW();iw();sw();fj();mw();nO=g(e(),1)});function A5(J,q,z){let{isDisabled:_}=J,W=aX(),K=aX(),A=sY(),L=xz.useRef(null),F=xz.useCallback(()=>{L.current=requestAnimationFrame(()=>{if(z.current)z.current.setAttribute("hidden","until-found")}),dj.flushSync(()=>{q.toggle()})},[z,q]);Pz(z,"beforematch",F);let T=xz.useRef(null);return dZ(()=>{if(L.current)cancelAnimationFrame(L.current);if(z.current&&!A){let N=z.current;if(T.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!==T.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((M)=>M.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((M)=>M.finished)).then(()=>N.setAttribute("hidden","until-found")).catch(()=>{});T.current=q.isExpanded}},[_,z,q.isExpanded,A]),xz.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 dj,xz;var cj=C(()=>{J6();YJ();aG();CY();dj=g(lq(),1),xz=g(e(),1)});var pj=C(()=>{cj()});function O5(J){let[q,z]=jz(J.isExpanded,J.defaultExpanded||!1,J.onExpandedChange),_=sO.useCallback(()=>{z(!0)},[z]),W=sO.useCallback(()=>{z(!1)},[z]),K=sO.useCallback(()=>{z(!q)},[z,q]);return{isExpanded:q,setExpanded:z,expand:_,collapse:W,toggle:K}}var sO;var lj=C(()=>{NO();sO=g(e(),1)});var ij=C(()=>{lj()});var EY,nj,sj,aj,oj,F5,M5;var rj=C(()=>{b3();qQ();pj();ij();Uq();VJ();mA();UW();h3();EY=g(e(),1),nj=EY.createContext(null),sj=EY.createContext(null),aj=EY.createContext(null),oj=EY.createContext(null),F5=EY.forwardRef(function(q,z){[q,z]=fX(q,z,sj);let _=EY.useContext(nj),{id:W,...K}=q,A=aX();W||=A;let L=_?_.expandedKeys.has(W):q.isExpanded,F=O5({...q,isExpanded:L,onExpandedChange(n){if(_)_.toggleKey(W);q.onExpandedChange?.(n)}}),T=EY.default.useRef(null),N=q.isDisabled||_?.isDisabled||!1,{buttonProps:M,panelProps:R}=A5({...q,isExpanded:L,isDisabled:N},F,T),{isFocusVisible:j,focusProps:v}=yQ({within:!0}),f=yX({...q,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:F.isExpanded,isDisabled:N,isFocusVisibleWithin:j,state:F}}),h=HX(K,{global:!0});return EY.default.createElement(kQ,{values:[[gK,{slots:{[Wz]:{},trigger:M}}],[oj,{panelProps:R,panelRef:T}],[aj,F]]},EY.default.createElement(LX.div,{...RZ(h,f,v),ref:z,"data-expanded":F.isExpanded||void 0,"data-disabled":N||void 0,"data-focus-visible-within":j||void 0},f.children))}),M5=EY.forwardRef(function(q,z){let{role:_="group"}=q,{panelProps:W,panelRef:K}=EY.useContext(oj),{isFocusVisible:A,focusProps:L}=yQ({within:!0}),F=yX({...q,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:A}}),T=HX(q,{global:!0,labelable:!0});return EY.default.createElement(LX.div,{...RZ(T,F,W,L),ref:Wq(z,K),role:_,"data-focus-visible-within":A||void 0},EY.default.createElement(kQ,{values:[[gK,null]]},q.children))})});function N5(J,q,z){let{overlayProps:_,underlayProps:W}=$R({...J,isOpen:q.isOpen,onClose:q.close},z);return xR({isDisabled:!q.isOpen}),Vj(),tj.useEffect(()=>{if(q.isOpen&&z.current)return RR([z.current],{shouldUseInert:!0})},[q.isOpen,z]),{modalProps:RZ(_),underlayProps:W}}var tj;var ej=C(()=>{jR();SR();DY();_5();yR();tj=g(e(),1)});var ZC=C(()=>{ej()});var XC=C(()=>{sK()});var YC=C(()=>{aG()});function T5(){let J=sY(),[q,z]=aO.useState(()=>J?{width:0,height:0}:I5());return aO.useEffect(()=>{let _=(L)=>{z((F)=>{if(L.width===F.width&&L.height===F.height)return F;return L})},W=()=>{if(_Q&&_Q.scale>1)return;_(I5())},K,A=(L)=>{if(_Q&&_Q.scale>1)return;if(Dz(UZ(L)))K=requestAnimationFrame(()=>{let F=KX();if(!F||!Dz(F))_({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})})};if(_(I5()),CJ())window.addEventListener("blur",A,!0);if(!_Q)window.addEventListener("resize",W);else _Q.addEventListener("resize",W);return()=>{if(cancelAnimationFrame(K),CJ())window.removeEventListener("blur",A,!0);if(!_Q)window.removeEventListener("resize",W);else _Q.removeEventListener("resize",W)}},[]),q}function I5(){return{width:_Q?Math.min(_Q.width*_Q.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:_Q?_Q.height*_Q.scale:document.documentElement.clientHeight}}var aO,_Q;var QC=C(()=>{dX();QJ();aG();pK();aO=g(e(),1),_Q=typeof document<"u"&&window.visualViewport});var JC=C(()=>{QC()});function ey(J,q){[J,q]=fX(J,q,GC);let z=vX.useContext(iO),_=W5(J),W=J.isOpen!=null||J.defaultOpen!=null||!z?_:z;if(W===z){if(J.onOpenChange||J.defaultOpen!==void 0||J.isOpen!==void 0)console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.")}let K=JQ(q),A=vX.useRef(null),L=jW(K,W.isOpen),F=jW(A,W.isOpen),T=L||F||J.isExiting||!1,N=sY();if(!W.isOpen&&!T||N)return null;return vX.default.createElement(Zv,{...J,state:W,isExiting:T,overlayRef:K,modalRef:A})}function Zv({UNSTABLE_portalContainer:J,...q}){let z=q.modalRef,{state:_}=q,{modalProps:W,underlayProps:K}=N5(q,_,z),A=RW(q.overlayRef)||q.isEntering||!1,L=yX({...q,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:A,isExiting:q.isExiting,state:_}}),F=T5(),T=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,v=R.getBoundingClientRect().height%1;T=R.scrollWidth-j,N=R.scrollHeight-v}let M={...L.style,"--visual-viewport-width":F.width+"px","--visual-viewport-height":F.height+"px","--page-width":T!==void 0?T+"px":void 0,"--page-height":N!==void 0?N+"px":void 0};return vX.default.createElement(z5,{isExiting:q.isExiting,portalContainer:J},vX.default.createElement(LX.div,{...RZ(HX(q,{global:!0}),K),...L,style:M,ref:q.overlayRef,"data-entering":A||void 0,"data-exiting":q.isExiting||void 0},vX.default.createElement(kQ,{values:[[w5,{modalProps:W,modalRef:z,isExiting:q.isExiting,isDismissable:q.isDismissable}],[iO,_]]},L.children)))}function qC(J){let{modalProps:q,modalRef:z,isExiting:_,isDismissable:W}=vX.useContext(w5),K=vX.useContext(iO),A=vX.useMemo(()=>Wq(J.modalRef,z),[J.modalRef,z]),L=JQ(A),F=RW(L),T=yX({...J,defaultClassName:"react-aria-Modal",values:{isEntering:F,isExiting:_,state:K}});return vX.default.createElement(LX.div,{...RZ(HX(J,{global:!0}),q),...T,ref:L,"data-entering":F||void 0,"data-exiting":_||void 0},W&&vX.default.createElement(H5,{onDismiss:K.close}),T.children)}var vX,GC,w5,V5,oO;var HC=C(()=>{qQ();mj();ZC();Rj();Uq();XC();VJ();mA();Cj();U5();YC();ZW();JC();vX=g(e(),1),GC=vX.createContext(null),w5=vX.createContext(null),V5=vX.forwardRef(function(q,z){if(vX.useContext(w5)){if(q.onOpenChange||q.defaultOpen!==void 0||q.isOpen!==void 0){let f=new Set(["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"]),h=Object.keys(q).filter((n)=>f.has(n));console.warn(`This modal is already wrapped in a ModalOverlay, props [${h.join(", ")}] should be placed on the ModalOverlay instead.`)}return vX.default.createElement(qC,{...q,modalRef:z},q.children)}let{isDismissable:W,isKeyboardDismissDisabled:K,isOpen:A,defaultOpen:L,onOpenChange:F,children:T,isEntering:N,isExiting:M,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:j,...v}=q;return vX.default.createElement(oO,{isDismissable:W,isKeyboardDismissDisabled:K,isOpen:A,defaultOpen:L,onOpenChange:F,isEntering:N,isExiting:M,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:j},vX.default.createElement(qC,{...v,modalRef:z},T))});oO=vX.forwardRef(ey)});function DW(J,q,z){if(!J)return"";if(typeof q==="string")q=q.replace(/\s+/g,"");let _=R5.get(J);if(!_)console.error("There is no tab id, please check if you have rendered the tab panel before the tab list.");return`${_}-${z}-${q}`}var R5;var rO=C(()=>{R5=new WeakMap});function j5(J,q,z){let{key:_,isDisabled:W,shouldSelectOnPressUp:K}=J,{selectionManager:A,selectedKey:L}=q,F=_===L,T=W||q.isDisabled||q.selectionManager.isDisabled(_),N=q.collection.getItem(_),{itemProps:M,isPressed:R}=TW({selectionManager:A,key:_,ref:z,isDisabled:T,shouldSelectOnPressUp:K??N?.props.href!=null,linkBehavior:"selection"}),j=DW(q,_,"tab"),v=DW(q,_,"tabpanel"),{tabIndex:f}=M,h=HX(N?.props,{labelable:!0});delete h.id;let n=qW(N?.props),{focusableProps:r}=YH({...N?.props,isDisabled:T},z);return{tabProps:RZ(h,r,n,M,{id:j,"aria-selected":F,"aria-disabled":T||void 0,"aria-controls":F?v:void 0,tabIndex:T?void 0:f,role:"tab"}),isSelected:F,isDisabled:T,isPressed:R}}var zC=C(()=>{rG();rO();DY();HW();eG();mO()});function WC(J,q){let z=q?.isDisabled,[_,W]=_C.useState(!1);return dZ(()=>{if(J?.current&&!z){let K=()=>{if(J.current){let L=qJ(J.current,{tabbable:!0});W(!!L.nextNode())}};K();let A=new MutationObserver(K);return A.observe(J.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{A.disconnect()}}}),z?!1:_}var _C;var UC=C(()=>{iK();CY();_C=g(e(),1)});function C5(J,q,z){let _=WC(z)?void 0:0,W=DW(q,J.id??q?.selectedKey,"tabpanel"),K=tG({...J,id:W,"aria-labelledby":DW(q,q?.selectedKey,"tab")});return{tabPanelProps:RZ(K,{tabIndex:_,role:"tabpanel","aria-describedby":J["aria-describedby"],"aria-details":J["aria-details"]})}}var KC=C(()=>{rO();DY();UC();VK()});class D5{constructor(J,q,z,_=new Set){this.collection=J,this.flipDirection=q==="rtl"&&z==="horizontal",this.disabledKeys=_,this.tabDirection=z==="horizontal"}getKeyLeftOf(J){if(this.flipDirection)return this.getNextKey(J);return this.getPreviousKey(J)}getKeyRightOf(J){if(this.flipDirection)return this.getPreviousKey(J);return this.getNextKey(J)}isDisabled(J){return this.disabledKeys.has(J)||!!this.collection.getItem(J)?.props?.isDisabled}getFirstKey(){let J=this.collection.getFirstKey();if(J!=null&&this.isDisabled(J))J=this.getNextKey(J);return J}getLastKey(){let J=this.collection.getLastKey();if(J!=null&&this.isDisabled(J))J=this.getPreviousKey(J);return J}getKeyAbove(J){if(this.tabDirection)return null;return this.getPreviousKey(J)}getKeyBelow(J){if(this.tabDirection)return null;return this.getNextKey(J)}getNextKey(J){let q=J;do if(q=this.collection.getKeyAfter(q),q==null)q=this.collection.getFirstKey();while(q!=null&&this.isDisabled(q));return q}getPreviousKey(J){let q=J;do if(q=this.collection.getKeyBefore(q),q==null)q=this.collection.getLastKey();while(q!=null&&this.isDisabled(q));return q}}var BC=()=>{};function P5(J,q,z){let{orientation:_="horizontal",keyboardActivation:W="automatic"}=J,{collection:K,selectionManager:A,disabledKeys:L}=q,{direction:F}=YW(),T=LC.useMemo(()=>new D5(K,F,_,L),[K,L,_,F]),{collectionProps:N}=tV({ref:z,selectionManager:A,keyboardDelegate:T,selectOnFocus:W==="automatic",disallowEmptySelection:!0,scrollRef:z,linkBehavior:"selection"}),M=aX();R5.set(q,M);let R=tG({...J,id:M});return{tabListProps:{...RZ(N,R),role:"tablist","aria-orientation":_,tabIndex:void 0}}}var LC;var AC=C(()=>{DY();rO();BC();YJ();VK();lA();eV();LC=g(e(),1)});var OC=C(()=>{zC();KC();AC()});function Xv({props:J,forwardedRef:q}){let z=NX.useContext(yz),{CollectionRoot:_}=NX.useContext(dK),{orientation:W="horizontal",keyboardActivation:K="automatic"}=Uz($5),A=JQ(q),{tabListProps:L}=P5({...J,orientation:W,keyboardActivation:K},z,A),F=yX({...J,children:null,defaultClassName:"react-aria-TabList",values:{orientation:W,state:z}}),T=HX(J,{global:!0});return delete T.id,NX.default.createElement(LX.div,{...RZ(T,F,L),ref:A,"data-orientation":W||void 0},NX.default.createElement(jV,null,NX.default.createElement(_,{collection:z.collection,persistedKeys:Z6(z.selectionManager.focusedKey)})))}function Yv(J){let q=NX.useContext(yz),{id:z,tabPanelRef:_,isInitiallySelected:W,isExiting:K,...A}=J,{tabPanelProps:L}=C5(J,q,_),{focusProps:F,isFocused:T,isFocusVisible:N}=yQ(),M=q.selectedKey===J.id,R=RW(_)&&!W,j=yX({...J,defaultClassName:"react-aria-TabPanel",values:{isFocused:T,isFocusVisible:N,isInert:wW(!M),isEntering:R,isExiting:K,state:q}}),v=HX(A,{global:!0});delete v.id;let f=M?RZ(v,L,F,j):RZ(v,j);return NX.default.createElement(LX.div,{...f,ref:_,"data-focused":T||void 0,"data-focus-visible":N||void 0,inert:wW(!M||J.inert),"data-inert":!M?"true":void 0,"data-entering":R||void 0,"data-exiting":K||void 0},NX.default.createElement(kQ,{values:[[$5,null],[yz,null]]},NX.default.createElement(dK.Provider,{value:e3},j.children)))}var NX,$5,yz,S5,FC,E5,k5;var MC=C(()=>{qQ();X6();kO();CV();OC();LR();uK();cK();XW();Uq();N6();VJ();U5();UW();Vz();ZW();NX=g(e(),1),$5=NX.createContext(null),yz=NX.createContext(null),S5=NX.forwardRef(function(q,z){return NX.useContext(yz)?NX.default.createElement(Xv,{props:q,forwardedRef:z}):NX.default.createElement(o3,q)});FC=class FC extends vQ{static{this.type="item"}};E5=Bq(FC,(J,q,z)=>{let _=NX.useContext(yz),W=JQ(q),{tabProps:K,isSelected:A,isDisabled:L,isPressed:F}=j5({key:z.key,...J},_,W),{focusProps:T,isFocused:N,isFocusVisible:M}=yQ(),{hoverProps:R,isHovered:j}=SY({isDisabled:L,onHoverStart:J.onHoverStart,onHoverEnd:J.onHoverEnd,onHoverChange:J.onHoverChange}),v=yX({...J,id:void 0,children:z.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:A,isDisabled:L,isFocused:N,isFocusVisible:M,isPressed:F,isHovered:j}}),f=z.props.href?LX.a:LX.div,h=HX(J,{global:!0});return delete h.id,delete h.onClick,NX.default.createElement(f,{...RZ(h,v,K,T,R),ref:W,"data-selected":A||void 0,"data-disabled":L||void 0,"data-focused":N||void 0,"data-focus-visible":M||void 0,"data-pressed":F||void 0,"data-hovered":j||void 0},NX.default.createElement(IW.Provider,{value:{isSelected:A}},v.children))}),k5=RJ(function(q,z){let _=NX.useContext(yz),W=JQ(z),K=_.selectedKey===q.id,[A,L]=NX.useState(_.selectedKey!=null?K:null);if(A==null&&_.selectedKey!=null)L(K);else if(!K&&A)L(!1);let F=jW(W,K);if(!K&&!q.shouldForceMount&&!F)return null;return NX.default.createElement(Yv,{...q,tabPanelRef:W,isInitiallySelected:A||!1,isExiting:F})})});var PW,tO,Qv=(J)=>{let{onHoverStart:q,onHoverChange:z,onHoverEnd:_,...W}=J;return W},x5;var y5=C(()=>{qQ();VJ();UW();Vz();PW=g(e(),1),tO=PW.createContext({}),x5=PW.forwardRef(function(q,z){[q,z]=fX(q,z,tO);let{hoverProps:_,isHovered:W}=SY(q),{isFocused:K,isFocusVisible:A,focusProps:L}=yQ({isTextInput:!0,autoFocus:q.autoFocus}),F=!!q["aria-invalid"]&&q["aria-invalid"]!=="false",T=yX({...q,values:{isHovered:W,isFocused:K,isFocusVisible:A,isDisabled:q.disabled||!1,isInvalid:F},defaultClassName:"react-aria-TextArea"});return PW.default.createElement(LX.textarea,{...RZ(Qv(q),L,_),...T,ref:z,"data-focused":K||void 0,"data-disabled":q.disabled||void 0,"data-hovered":W||void 0,"data-focus-visible":A||void 0,"data-invalid":F||void 0})})});var NC=C(()=>{uj()});var SJ,IC,YB;var TC=C(()=>{qQ();g3();RV();uw();ew();p3();W3();y5();BW();NC();XW();Uq();SJ=g(e(),1),IC=SJ.createContext(null),YB=RJ(function(q,z){[q,z]=fX(q,z,IC);let{validationBehavior:_}=Uz(fw)||{},W=q.validationBehavior??_??"native",K=SJ.useRef(null);[q,K]=fX(q,K,VV);let[A,L]=fA(!q["aria-label"]&&!q["aria-labelledby"]),[F,T]=SJ.useState("input"),{labelProps:N,inputProps:M,descriptionProps:R,errorMessageProps:j,...v}=L5({...d2(q),inputElementType:F,label:L,validationBehavior:W},K),f=SJ.useCallback((r)=>{if(K.current=r,r)T(r instanceof HTMLTextAreaElement?"textarea":"input")},[K]),h=yX({...q,values:{isDisabled:q.isDisabled||!1,isInvalid:v.isInvalid,isReadOnly:q.isReadOnly||!1,isRequired:q.isRequired||!1},defaultClassName:"react-aria-TextField"}),n=HX(q,{global:!0});return delete n.id,SJ.default.createElement(LX.div,{...n,...h,ref:z,slot:q.slot||void 0,"data-disabled":q.isDisabled||void 0,"data-invalid":v.isInvalid||void 0,"data-readonly":q.isReadOnly||void 0,"data-required":q.isRequired||void 0},SJ.default.createElement(kQ,{values:[[dA,{...N,ref:A}],[wO,{...M,ref:f}],[tO,{...M,ref:f}],[tw,{role:"presentation",isInvalid:v.isInvalid,isDisabled:q.isDisabled||!1}],[HH,{slots:{description:R,errorMessage:j}}],[mK,v]]},h.children))})});class QB{constructor(J){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=J?.maxVisibleToasts??1/0,this.wrapUpdate=J?.wrapUpdate}runWithWrapUpdate(J,q){if(this.wrapUpdate)this.wrapUpdate(J,q);else J()}subscribe(J){return this.subscriptions.add(J),()=>this.subscriptions.delete(J)}add(J,q={}){let z="_"+Math.random().toString(36).slice(2),_={...q,content:J,key:z,timer:q.timeout?new VC(()=>this.close(z),q.timeout):void 0};return this.queue.unshift(_),this.updateVisibleToasts("add"),z}close(J){let q=this.queue.findIndex((z)=>z.key===J);if(q>=0)this.queue[q].onClose?.(),this.queue.splice(q,1);this.updateVisibleToasts("remove")}updateVisibleToasts(J){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let q of this.subscriptions)q()},J)}pauseAll(){for(let J of this.visibleToasts)if(J.timer)J.timer.pause()}resumeAll(){for(let J of this.visibleToasts)if(J.timer)J.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}}class VC{constructor(J,q){this.startTime=null,this.remaining=q,this.callback=J}reset(J){this.remaining=J,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 wC,Jv;var RC=C(()=>{wC=g(e(),1),Jv=g(n3(),1)});var jC=C(()=>{RC()});var CC=()=>{};var zJ=C(()=>{b3();rj();g3();p3();W3();wR();gj();HC();EV();MC();BW();y5();TC();CC();jC()});var EZ;var h5=C(()=>{zJ();FY();EZ=gZ(Rz,{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 PZ=pq((Gv)=>{var vz=g(e());(function(){function J(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===a?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case f:return"Fragment";case n:return"Profiler";case h:return"StrictMode";case IZ:return"Suspense";case mZ:return"SuspenseList";case AZ: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 v:return"Portal";case JZ:return V.displayName||"Context";case r:return(V._context.displayName||"Context")+".Consumer";case qZ:var t=V.render;return V=V.displayName,V||(V=t.displayName||t.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case QZ:return t=V.displayName||null,t!==null?t:J(V.type)||"Memo";case b:t=V._payload,V=V._init;try{return J(V(t))}catch(TZ){}}return null}function q(V){return""+V}function z(V){try{q(V);var t=!1}catch(yZ){t=!0}if(t){t=console;var TZ=t.error,jZ=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return TZ.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",jZ),q(V)}}function _(V){if(V===f)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===b)return"<...>";try{var t=J(V);return t?"<"+t+">":"<...>"}catch(TZ){return"<...>"}}function W(){var V=LZ.A;return V===null?null:V.getOwner()}function K(){return Error("react-stack-top-frame")}function A(V){if(WZ.call(V,"key")){var t=Object.getOwnPropertyDescriptor(V,"key").get;if(t&&t.isReactWarning)return!1}return V.key!==void 0}function L(V,t){function TZ(){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)",t))}TZ.isReactWarning=!0,Object.defineProperty(V,"key",{get:TZ,configurable:!0})}function F(){var V=J(this.type);return c[V]||(c[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 T(V,t,TZ,jZ,yZ,JX){var FZ=TZ.ref;return V={$$typeof:j,type:V,key:t,props:TZ,_owner:jZ},(FZ!==void 0?FZ:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:F}):Object.defineProperty(V,"ref",{enumerable:!1,value:null}),V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(V,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(V,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:yZ}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:JX}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function N(V,t,TZ,jZ,yZ,JX){var FZ=t.children;if(FZ!==void 0)if(jZ)if(zZ(FZ)){for(jZ=0;jZ<FZ.length;jZ++)M(FZ[jZ]);Object.freeze&&Object.freeze(FZ)}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 M(FZ);if(WZ.call(t,"key")){FZ=J(V);var YX=Object.keys(t).filter(function(BX){return BX!=="key"});jZ=0<YX.length?"{key: someKey, "+YX.join(": ..., ")+": ...}":"{key: someKey}",s[FZ+jZ]||(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} />`,jZ,FZ,YX,FZ),s[FZ+jZ]=!0)}if(FZ=null,TZ!==void 0&&(z(TZ),FZ=""+TZ),A(t)&&(z(t.key),FZ=""+t.key),"key"in t){TZ={};for(var TX in t)TX!=="key"&&(TZ[TX]=t[TX])}else TZ=t;return FZ&&L(TZ,typeof V==="function"?V.displayName||V.name||"Unknown":V),T(V,FZ,TZ,W(),yZ,JX)}function M(V){R(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===b&&(V._payload.status==="fulfilled"?R(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function R(V){return typeof V==="object"&&V!==null&&V.$$typeof===j}var j=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),r=Symbol.for("react.consumer"),JZ=Symbol.for("react.context"),qZ=Symbol.for("react.forward_ref"),IZ=Symbol.for("react.suspense"),mZ=Symbol.for("react.suspense_list"),QZ=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),AZ=Symbol.for("react.activity"),a=Symbol.for("react.client.reference"),LZ=vz.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,WZ=Object.prototype.hasOwnProperty,zZ=Array.isArray,y=console.createTask?console.createTask:function(){return null};vz={react_stack_bottom_frame:function(V){return V()}};var u,c={},p=vz.react_stack_bottom_frame.bind(vz,K)(),KZ=y(_(K)),s={};Gv.Fragment=f,Gv.jsxDEV=function(V,t,TZ,jZ){var yZ=1e4>LZ.recentlyCreatedOwnerStacks++;return N(V,t,TZ,jZ,yZ?Error("react-stack-top-frame"):p,yZ?y(_(V)):KZ)}})()});var $W,Hv,kY=({label:J,description:q,errorMessage:z,placeholder:_,size:W,...K})=>$W.jsxDEV(YB,{...K,className:"flex w-full flex-col gap-2",children:[$W.jsxDEV(Bz,{className:"text-heading5 font-medium text-fg",children:J},void 0,!1,void 0,this),$W.jsxDEV(Hv,{placeholder:_,fieldSize:W},void 0,!1,void 0,this),q?$W.jsxDEV(ZG,{slot:"description",className:"text-xs text-fg-muted",children:q},void 0,!1,void 0,this):null,$W.jsxDEV(LW,{className:"text-xs text-danger",children:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var SC=C(()=>{zJ();FY();$W=g(PZ(),1),Hv=gZ(VO,{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 SW,zv,eO=({label:J,description:q,errorMessage:z,placeholder:_,rows:W,...K})=>SW.jsxDEV(YB,{...K,className:"flex w-full flex-col gap-2",children:[SW.jsxDEV(Bz,{className:"text-sm font-medium text-fg",children:J},void 0,!1,void 0,this),SW.jsxDEV(zv,{placeholder:_,rows:W},void 0,!1,void 0,this),q?SW.jsxDEV(ZG,{slot:"description",className:"text-xs text-fg-muted",children:q},void 0,!1,void 0,this):null,SW.jsxDEV(LW,{className:"text-xs text-danger",children:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this);var EC=C(()=>{zJ();FY();SW=g(PZ(),1),zv=gZ(x5,{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 kC;var xC=C(()=>{kC=g(PZ(),1)});var _v;var yC=C(()=>{_v=g(PZ(),1)});var Wv;var vC=C(()=>{Wv=g(PZ(),1)});var Uv,$YZ,SYZ;var hC=C(()=>{zJ();FY();Uv=g(PZ(),1),$YZ=gZ(Rz,{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"}),SYZ=gZ(tK,{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 bC,bYZ,gYZ;var gC=C(()=>{zJ();FY();bC=g(PZ(),1),bYZ=gZ(oO,{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"}),gYZ=gZ(V5,{displayName:"DialogModal",baseClass:"rounded-lg bg-surface p-5 outline-none shadow-[0px_2px_8px_0px_rgba(0,0,0,0.06)]"})});var Bv,dYZ,cYZ;var mC=C(()=>{zJ();FY();Bv=g(PZ(),1),dYZ=gZ(kz,{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"}}}),cYZ=gZ(G6,{displayName:"DropdownMenuSeparator",baseClass:"my-2 h-px border-0 bg-border"})});var ZF,fC,nYZ;var uC=C(()=>{zJ();FY();ZF=g(e(),1),fC=g(PZ(),1),nYZ=gZ(kz,{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 Lv;var g5=C(()=>{Lv=g(PZ(),1)});var dC,ZQZ;var cC=C(()=>{zJ();dC=g(PZ(),1),ZQZ=new QB({maxVisibleToasts:5})});var JQZ,qQZ;var pC=C(()=>{zJ();FY();JQZ=gZ(F5,{displayName:"Disclosure"}),qQZ=gZ(M5,{displayName:"DisclosurePanel"})});var _QZ,WQZ,UQZ;var lC=C(()=>{zJ();FY();_QZ=gZ(S5,{displayName:"TabList",baseClass:"flex gap-2 border-b border-border"}),WQZ=gZ(E5,{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"}),UQZ=gZ(k5,{displayName:"TabPanel",baseClass:"py-4 text-sm text-fg outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring"})});var Av;var iC=C(()=>{h5();Av=g(PZ(),1)});var Ov;var nC=C(()=>{Ov=g(PZ(),1)});var FQZ,MQZ;var sC=C(()=>{FY();FQZ=gZ("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=gZ("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 Fv;var aC=C(()=>{g5();Fv=g(PZ(),1)});var jQZ;var oC=C(()=>{FY();jQZ=gZ("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 PQZ;var rC=C(()=>{FY();PQZ=gZ("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 EQZ;var tC=C(()=>{FY();EQZ=gZ("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 eC,Mv,yQZ,vQZ,hQZ;var ZD=C(()=>{FY();eC=g(e(),1),Mv=g(PZ(),1),yQZ=gZ("div",{displayName:"AppShell",baseClass:"grid h-screen w-full overflow-hidden bg-surface grid-rows-[100%] grid-cols-[1fr] md:grid-cols-[auto_1fr]"}),vQZ=gZ("aside",{displayName:"AppShell.Sidebar",baseClass:"h-full w-64 shrink-0 overflow-y-auto border-r border-border bg-surface"}),hQZ=gZ("main",{displayName:"AppShell.Main",baseClass:"min-w-0 flex-1 bg-surface px-6 pb-6 pt-6"})});var XD,Nv,Iv,Tv,wv=(J)=>XD.jsxDEV(Tv,{...J},void 0,!1,void 0,this),Vv,Rv,uQZ,dQZ,cQZ;var YD=C(()=>{zJ();FY();XD=g(PZ(),1),Nv=gZ("header",{displayName:"Topbar",baseClass:"flex h-14 w-full items-center gap-5 border-b border-border"}),Iv=gZ("div",{displayName:"Topbar.Brand",baseClass:"flex min-w-0 items-center gap-3 text-compact leading-4 font-medium tracking-tight text-fg"}),Tv=gZ("nav",{displayName:"Topbar.Nav",baseClass:"ml-auto flex min-w-0 items-center gap-2 overflow-x-auto"}),Vv=gZ("div",{displayName:"Topbar.Actions",baseClass:"ml-auto flex items-center gap-4"}),Rv=gZ("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"]}),uQZ=gZ(tK,{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"}),dQZ=gZ(kz,{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"}),cQZ=Object.assign(Nv,{Brand:Iv,Nav:wv,NavLink:Rv,Actions:Vv})});var jv,Cv,iQZ;var QD=C(()=>{FY();jv=g(e(),1),Cv=g(PZ(),1),iQZ=gZ("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 WH=C(()=>{FY();h5();SC();EC();xC();yC();vC();hC();gC();mC();uC();g5();cC();pC();lC();iC();nC();sC();aC();oC();rC();tC();ZD();YD();QD()});function qD(){try{let J=localStorage.getItem(JD);if(J)return JSON.parse(J)}catch{}return{baseUrl:"http://localhost:8787",token:"",tenant:"main"}}function GD(J){localStorage.setItem(JD,JSON.stringify(J))}class m5{cfg;constructor(J){this.cfg=J}setConfig(J){this.cfg=J}base(){return this.cfg.baseUrl.replace(/\/+$/,"")}async call(J,q){let z=await fetch(`${this.base()}/rpc/${J}`,{method:"POST",headers:{"content-type":"application/json","x-pramen-tenant":this.cfg.tenant||"main",...this.cfg.token?{authorization:`Bearer ${this.cfg.token}`}:{}},body:JSON.stringify(q??{})}),_;try{_=await z.json()}catch{throw new EW(`non-JSON response (HTTP ${z.status})`,"bad_response",z.status)}if(_.ok!==!0){let W=_.error??`request failed (HTTP ${z.status})`,K=z.status===403?" — check your token has an editor/reviewer role":"";throw new EW(W+K,_.code??"error",z.status)}return _.result}async put(J,q,z){let _=J.startsWith("http")?J:`${this.base()}${J}`,W=await fetch(_,{method:"PUT",headers:{"content-type":z},body:q});if(!W.ok)throw new EW(`upload failed (HTTP ${W.status})`,"upload_failed",W.status)}resolve(J){return J.startsWith("http")?J:`${this.base()}${J}`}listBlockTypes=()=>this.call("listBlockTypes");listContentTypes=()=>this.call("listContentTypes");getContentType=(J)=>this.call("getContentType",{id:J});listPages=()=>this.call("listPages");getPagePreview=(J,q)=>this.call("getPage",{slug:J,locale:q,preview:!0});listPageAudit=(J)=>this.call("listPageAudit",{pageId:J});listMedia=(J=50,q=0)=>this.call("listMedia",{limit:J,offset:q});getMedia=(J)=>this.call("getMedia",{id:J});updateMedia=(J,q)=>this.call("updateMedia",{id:J,alt:q});deleteMedia=(J)=>this.call("deleteMedia",{id:J});async uploadMedia(J){let q=J.type||"application/octet-stream",z=await this.call("signMediaUpload",{contentType:q,filename:J.name});return await this.put(z.url,await J.arrayBuffer(),q),this.call("createMedia",{ref:z.ref,alt:J.name})}}var EW,JD="pramen.cmsEditor";var f5=C(()=>{EW=class EW extends Error{code;status;constructor(J,q,z){super(J);this.code=q;this.status=z;this.name="ApiError"}}});function _J(){let J=bQ.use(HD);if(!J)throw Error("useApp must be used within <AppProvider>");return J}function zD({children:J}){let[q,z]=bQ.useState(qD()),[_,W]=bQ.useState(null),[K,A]=bQ.useState(""),L=bQ.useMemo(()=>new m5(q),[q]),F=Boolean(q.baseUrl&&q.token);if(bQ.useEffect(()=>{if(!F)return;L.call("me").then(W).catch(()=>W({}))},[L,F]),!F)return WQ.jsxDEV(Dv,{cfg:q,onSave:(N)=>{GD(N),z(N)}},void 0,!1,void 0,this);let T={api:L,cfg:q,me:_,isAdmin:(_?.roles??[]).includes("admin"),error:K,setError:A,reconfigure:()=>{W(null),A(""),z({...q,token:""})}};return WQ.jsxDEV(HD,{value:T,children:J},void 0,!1,void 0,this)}function Dv({cfg:J,onSave:q}){let[z,_]=bQ.useState(J);return WQ.jsxDEV("div",{className:"mx-auto mt-[14vh] w-full max-w-[520px] px-6",children:WQ.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:[WQ.jsxDEV("h1",{className:"mb-4 text-display text-fg",children:["pramen ",WQ.jsxDEV("span",{className:"text-fg-subtle",children:"· cms editor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),WQ.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 (",WQ.jsxDEV("code",{children:"CORS_ORIGINS"},void 0,!1,void 0,this),")."]},void 0,!0,void 0,this),WQ.jsxDEV("div",{className:"flex flex-col gap-4",children:[WQ.jsxDEV(kY,{label:"Worker base URL",value:z.baseUrl,onChange:(W)=>_({...z,baseUrl:W}),placeholder:"https://your-worker.workers.dev"},void 0,!1,void 0,this),WQ.jsxDEV(kY,{label:"Tenant",value:z.tenant,onChange:(W)=>_({...z,tenant:W}),placeholder:"main"},void 0,!1,void 0,this),WQ.jsxDEV(kY,{label:"Bearer token (editor or reviewer)",value:z.token,onChange:(W)=>_({...z,token:W}),placeholder:"eyJ…"},void 0,!1,void 0,this),WQ.jsxDEV(EZ,{className:"mt-2 w-full",onPress:()=>q(z),isDisabled:!z.baseUrl||!z.token,children:"Connect"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var bQ,WQ,HD;var UH=C(()=>{WH();f5();bQ=g(e(),1),WQ=g(PZ(),1),HD=bQ.createContext(null)});function kW({label:J,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:J},void 0,!1,void 0,this),q]},void 0,!0,void 0,this)}function XF({schema:J,value:q,onChange:z,api:_}){let W=(K,A)=>z({...q,[K]:A});return NZ.jsxDEV("div",{className:"flex flex-col gap-4",children:J.map((K)=>NZ.jsxDEV(Pv,{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 Pv({def:J,value:q,onChange:z,api:_}){let W=NZ.jsxDEV(NZ.Fragment,{children:[J.label??J.name," ",J.required?NZ.jsxDEV("span",{className:"text-danger",children:"*"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this);switch(J.type){case"text":case"url":return NZ.jsxDEV(kY,{label:W,value:q??"",onChange:z,placeholder:J.type==="url"?"https://…":""},void 0,!1,void 0,this);case"textarea":return NZ.jsxDEV(eO,{label:W,value:typeof q==="string"?q:q==null?"":JSON.stringify(q),onChange:z},void 0,!1,void 0,this);case"richtext":return NZ.jsxDEV(kW,{label:W,children:NZ.jsxDEV(Ev,{value:typeof q==="string"?q:"",onChange:z},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"number":return NZ.jsxDEV(kW,{label:W,children:NZ.jsxDEV("input",{className:d5,type:"number",value:q==null?"":String(q),onChange:(K)=>z(K.target.value===""?null:Number(K.target.value))},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"date":case"datetime":return NZ.jsxDEV(kW,{label:W,children:NZ.jsxDEV("input",{className:d5,type:J.type==="date"?"date":"datetime-local",value:q??"",onChange:(K)=>z(K.target.value||null)},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"boolean":return NZ.jsxDEV("label",{className:"flex items-center gap-2",children:[NZ.jsxDEV("input",{type:"checkbox",checked:Boolean(q),onChange:(K)=>z(K.target.checked)},void 0,!1,void 0,this),NZ.jsxDEV("span",{className:"text-sm text-fg",children:J.label??J.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this);case"select":return NZ.jsxDEV(kW,{label:W,children:NZ.jsxDEV("select",{className:d5,value:q??"",onChange:(K)=>z(K.target.value||null),children:[NZ.jsxDEV("option",{value:"",children:"—"},void 0,!1,void 0,this),(J.options??[]).map((K)=>NZ.jsxDEV("option",{value:K,children:K},K,!1,void 0,this))]},void 0,!0,void 0,this)},void 0,!1,void 0,this);case"media":return NZ.jsxDEV(kW,{label:W,children:NZ.jsxDEV(xv,{value:q,onChange:z,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"group":return NZ.jsxDEV(kW,{label:W,children:NZ.jsxDEV("div",{className:"rounded-lg border border-border bg-surface-muted p-3.5",children:NZ.jsxDEV(XF,{schema:J.fields??[],value:q??{},onChange:z,api:_},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this);case"repeater":return NZ.jsxDEV(kv,{def:J,value:q??[],onChange:z,api:_,label:W},void 0,!1,void 0,this);default:return null}}function Sv(J){let q=J.trim();return/^(https?:\/\/|mailto:|tel:|\/|#)/i.test(q)?q:null}function _D(J){return J.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 Ev({value:J,onChange:q}){let z=gQ.useRef(null),_=gQ.useRef("");gQ.useEffect(()=>{let L=z.current;if(L&&J!==_.current)L.innerHTML=_D(J||""),_.current=J||""},[J]);let W=()=>{let L=_D(z.current?.innerHTML??"");_.current=L,q(L)},K=(L,F)=>{z.current?.focus(),document.execCommand(L,!1,F),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:$v.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:(F)=>F.preventDefault(),onClick:()=>L.run(K),children:L.label},L.label,!1,void 0,this))},void 0,!1,void 0,this),NZ.jsxDEV("div",{ref:z,className:"prose prose-sm min-h-[180px] max-w-none px-4 py-3.5 text-sm leading-relaxed text-fg outline-none empty:before:text-fg-subtle empty:before:content-[attr(data-placeholder)]",contentEditable:!0,suppressContentEditableWarning:!0,"data-placeholder":"Write…",onInput:W,onBlur:W,onPaste:A},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function kv({def:J,value:q,onChange:z,api:_,label:W}){let K=Array.isArray(q)?q:[],A=(N,M)=>z(K.map((R,j)=>j===N?M:R)),L=()=>z([...K,{}]),F=(N)=>z(K.filter((M,R)=>R!==N)),T=(N,M)=>{let R=N+M;if(R<0||R>=K.length)return;let j=K.slice();[j[N],j[R]]=[j[R],j[N]],z(j)};return NZ.jsxDEV("div",{className:"flex flex-col gap-2",children:[NZ.jsxDEV("span",{className:"text-sm font-medium text-fg",children:W},void 0,!1,void 0,this),K.map((N,M)=>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(EZ,{variant:"ghost",size:"sm",onPress:()=>T(M,-1),children:"↑"},void 0,!1,void 0,this),NZ.jsxDEV(EZ,{variant:"ghost",size:"sm",onPress:()=>T(M,1),children:"↓"},void 0,!1,void 0,this),NZ.jsxDEV(EZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:()=>F(M),children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),NZ.jsxDEV(XF,{schema:J.fields??[],value:N,onChange:(R)=>A(M,R),api:_},void 0,!1,void 0,this)]},M,!0,void 0,this)),NZ.jsxDEV(EZ,{variant:"secondary",size:"sm",className:"self-start",onPress:L,isDisabled:J.max!=null&&K.length>=J.max,children:["+ add ",J.label??J.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function xv({value:J,onChange:q,api:z}){let[_,W]=gQ.useState(!1),[K,A]=gQ.useState(null);return gQ.useEffect(()=>{if(J)z.call("getMedia",{id:J}).then(A).catch(()=>A(null));else A(null)},[J,z]),NZ.jsxDEV("div",{children:[NZ.jsxDEV("div",{className:"flex items-center gap-3 rounded-[14px] border border-transparent bg-surface-card px-[18px] py-3.5",children:[K?NZ.jsxDEV("img",{className:"h-10 w-10 rounded object-cover",src:z.resolve(`/media/${K.file.key}`),alt:""},void 0,!1,void 0,this):NZ.jsxDEV("span",{className:"text-fg-subtle",children:"no media"},void 0,!1,void 0,this),NZ.jsxDEV("span",{className:"flex-1 truncate text-fg-subtle",children:K?.file.filename??J??""},void 0,!1,void 0,this),NZ.jsxDEV(EZ,{variant:"secondary",size:"sm",onPress:()=>W(!0),children:"pick"},void 0,!1,void 0,this),J?NZ.jsxDEV(EZ,{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(yv,{api:z,onClose:()=>W(!1),onPick:(L)=>{q(L),W(!1)}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function yv({api:J,onClose:q,onPick:z}){let[_,W]=gQ.useState([]),[K,A]=gQ.useState(!1),[L,F]=gQ.useState(""),T=()=>J.listMedia().then(W).catch((M)=>F(String(M.message??M)));gQ.useEffect(()=>{T()},[]);let N=async(M)=>{A(!0),F("");try{let R=await J.uploadMedia(M);z(R.id)}catch(R){F(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:(M)=>M.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:(M)=>M.target.files?.[0]&&N(M.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((M)=>NZ.jsxDEV("div",{className:"cursor-pointer overflow-hidden rounded-lg border border-border bg-surface-card",onClick:()=>z(M.id),children:[(M.file.contentType??"").startsWith("image/")?NZ.jsxDEV("img",{className:"block h-[130px] w-full object-cover",src:J.resolve(`/media/${M.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:M.file.filename??M.id},void 0,!1,void 0,this)]},M.id,!0,void 0,this))},void 0,!1,void 0,this),NZ.jsxDEV("div",{className:"mt-3 text-right",children:NZ.jsxDEV(EZ,{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 gQ,NZ,d5="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",$v;var WD=C(()=>{WH();gQ=g(e(),1),NZ=g(PZ(),1);$v=[{label:"B",title:"Bold",run:(J)=>J("bold")},{label:"I",title:"Italic",run:(J)=>J("italic")},{label:"H2",title:"Heading",run:(J)=>J("formatBlock","H2")},{label:"H3",title:"Subheading",run:(J)=>J("formatBlock","H3")},{label:"¶",title:"Paragraph",run:(J)=>J("formatBlock","P")},{label:"• List",title:"Bulleted list",run:(J)=>J("insertUnorderedList")},{label:"1. List",title:"Numbered list",run:(J)=>J("insertOrderedList")},{label:"Link",title:"Add link",run:(J)=>{let q=window.prompt("Link URL (https://, mailto:, /path)","https://");if(!q)return;let z=Sv(q);if(!z){window.alert("Only http(s), mailto, tel, or relative (/, #) links are allowed.");return}J("createLink",z)}},{label:"Unlink",title:"Remove link",run:(J)=>J("unlink")},{label:"Clear",title:"Clear formatting",run:(J)=>J("removeFormat")}]});function qF({lead:J,em:q,children:z}){return D.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:[D.jsxDEV("h1",{className:"m-0 text-[56px] font-normal leading-[1.05] tracking-[-0.01em] max-[820px]:text-[40px]",children:[D.jsxDEV("span",{className:"block text-fg-subtle",children:J},void 0,!1,void 0,this),D.jsxDEV("span",{className:"block text-fg",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z]},void 0,!0,void 0,this)}function p5({text:J,em:q,children:z}){return D.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:[D.jsxDEV("span",{className:"text-lg text-[#0f3a25]",children:[J," ",D.jsxDEV("span",{className:"font-semibold",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z]},void 0,!0,void 0,this)}function KH({children:J}){return D.jsxDEV("div",{className:"mb-2 mt-[18px] text-sm text-fg-subtle first:mt-0",children:J},void 0,!1,void 0,this)}function hz({status:J,children:q}){return D.jsxDEV("span",{className:`inline-block whitespace-nowrap rounded-full border px-2.5 py-0.5 text-[11px] font-medium ${J==="published"||J==="active"?"bg-brand-green text-[#0f3a25] border-transparent":J==="in_review"||J==="review"?"bg-accent-yellow text-[#4a3512] border-transparent":J==="rejected"||J==="archived"||J==="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 l5({onClose:J,wide:q,children:z}){return D.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-[rgba(20,15,5,0.28)] p-6",onClick:J,children:D.jsxDEV("div",{className:`max-h-[86vh] w-full overflow-auto rounded-panel border border-border bg-surface-card px-9 py-8 shadow-[0_24px_60px_rgba(30,20,10,0.12)] ${q?"max-w-[680px]":"max-w-[520px]"}`,onClick:(_)=>_.stopPropagation(),children:z},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function i5({children:J}){return D.jsxDEV("h2",{className:"mb-5 text-[28px] font-normal leading-[1.15] text-fg",children:J},void 0,!1,void 0,this)}function GF({children:J,className:q}){return D.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:J},void 0,!1,void 0,this)}function LD({children:J}){return D.jsxDEV("div",{className:"overflow-auto rounded-panel border border-border bg-surface-card p-6",children:J},void 0,!1,void 0,this)}function YF({ok:J,children:q}){return D.jsxDEV("div",{className:`my-2 rounded-lg border px-3.5 py-2.5 text-[13px] ${J?"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 AD({api:J,pages:q,blockTypes:z,onOpen:_,onCreated:W,onError:K}){let[A,L]=kZ.useState(!1);return D.jsxDEV(D.Fragment,{children:[D.jsxDEV(qF,{lead:"Pages",em:q.length===0?"None yet":q.length===1?"1 page total":`${q.length} pages total`,children:D.jsxDEV(p5,{text:"Let's",em:"create something",children:D.jsxDEV(EZ,{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),D.jsxDEV("div",{className:JF,children:D.jsxDEV("div",{className:"flex flex-col gap-2",children:[q.map((F)=>D.jsxDEV("div",{className:`${xW} cursor-pointer hover:bg-surface-muted`,onClick:()=>_(F),children:[D.jsxDEV("span",{className:"flex-1 truncate font-medium",children:F.title},void 0,!1,void 0,this),D.jsxDEV("span",{className:"text-fg-subtle",children:["/",F.slug]},void 0,!0,void 0,this),D.jsxDEV("span",{className:"text-fg-subtle",children:F.locale},void 0,!1,void 0,this),D.jsxDEV(hz,{status:F.status,children:F.status},void 0,!1,void 0,this)]},F.id,!0,void 0,this)),q.length===0?D.jsxDEV("p",{className:"text-fg-subtle",children:["No pages yet. ",z.length===0?"Define block types + a content type first (via the API/admin).":"Create one."]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),A?D.jsxDEV(vv,{api:J,onClose:()=>L(!1),onCreated:()=>{L(!1),W()},onError:K},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function vv({api:J,onClose:q,onCreated:z,onError:_}){let[W,K]=kZ.useState([]),[A,L]=kZ.useState(""),[F,T]=kZ.useState(""),[N,M]=kZ.useState("");kZ.useEffect(()=>{J.listContentTypes().then((j)=>{if(K(j),j[0])L(j[0].id)}).catch((j)=>_(IX(j)))},[J,_]);let R=async()=>{try{await J.call("createPage",{typeId:A,title:F,slug:N||KD(F)}),z()}catch(j){_(IX(j))}};return D.jsxDEV(l5,{onClose:q,children:[D.jsxDEV(i5,{children:["Create a ",D.jsxDEV(QF,{children:"new page"},void 0,!1,void 0,this)," and define the essentials",D.jsxDEV(QF,{children:"."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"flex flex-col gap-4",children:[D.jsxDEV("label",{className:"flex w-full flex-col gap-2",children:[D.jsxDEV("span",{className:"text-sm font-medium text-fg",children:"Content type"},void 0,!1,void 0,this),D.jsxDEV("select",{className:"h-10 w-full rounded-lg border border-border bg-surface-card px-4 text-sm text-fg outline-none focus:border-brand-green",value:A,onChange:(j)=>L(j.target.value),children:W.map((j)=>D.jsxDEV("option",{value:j.id,children:j.name},j.id,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV(kY,{label:"Title",value:F,onChange:T},void 0,!1,void 0,this),D.jsxDEV(kY,{label:"Slug",value:N,onChange:M,placeholder:KD(F)},void 0,!1,void 0,this),D.jsxDEV("div",{className:"mt-2 flex justify-end gap-2",children:[D.jsxDEV(EZ,{variant:"ghost",onPress:q,children:"cancel"},void 0,!1,void 0,this),D.jsxDEV(EZ,{onPress:R,isDisabled:!A||!F,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 OD({api:J,page:q,blockTypes:z,tab:_,onTab:W,onBack:K,onChange:A}){let[L,F]=kZ.useState(null),[T,N]=kZ.useState(null),[M,R]=kZ.useState(null),[j,v]=kZ.useState(""),[f,h]=kZ.useState(""),n=kZ.useMemo(()=>new Map(z.map((b)=>[b.slug,b])),[z]),r=kZ.useCallback(async()=>{try{let[b,AZ]=await Promise.all([J.getContentType(q.typeId),J.getPagePreview(q.slug,q.locale)]);F(b??null),N(AZ)}catch(b){v(IX(b))}},[J,q.typeId,q.slug,q.locale]);kZ.useEffect(()=>{r(),R(null)},[r]);let JZ=L?.regions??[],qZ=(b)=>{h(b),setTimeout(()=>h(""),1800)},IZ=async(b,AZ)=>{try{await J.call("addBlock",{pageId:q.id,blockTypeSlug:AZ,region:b,fields:{}}),await r(),qZ("block added")}catch(a){v(IX(a))}},mZ=async(b)=>{try{if(await J.call("removeBlock",{pageBlockId:b.id}),M?.id===b.id)R(null);await r()}catch(AZ){v(IX(AZ))}},QZ=async(b,AZ)=>{try{await J.call("reorderRegion",{pageId:q.id,region:b,order:AZ}),await r()}catch(a){v(IX(a))}};return D.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:[D.jsxDEV("div",{className:"overflow-auto rounded-panel bg-surface-muted p-[18px]",children:[D.jsxDEV(EZ,{variant:"ghost",size:"sm",onPress:K,children:"← all pages"},void 0,!1,void 0,this),D.jsxDEV(KH,{children:"Regions"},void 0,!1,void 0,this),JZ.map((b)=>D.jsxDEV("div",{className:`${xW} mb-2`,children:[D.jsxDEV("span",{className:"flex-1 truncate font-medium",children:b.label??b.name},void 0,!1,void 0,this),D.jsxDEV("span",{className:"text-fg-subtle",children:(T?.regions[b.name]??[]).length},void 0,!1,void 0,this)]},b.name,!0,void 0,this)),D.jsxDEV(KH,{children:"Status"},void 0,!1,void 0,this),D.jsxDEV("div",{className:xW,children:[D.jsxDEV("span",{className:"flex-1 truncate font-medium",children:q.title},void 0,!1,void 0,this),D.jsxDEV(hz,{status:q.status,children:q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"overflow-auto py-1.5",children:[j?D.jsxDEV(YF,{children:j},void 0,!1,void 0,this):null,f?D.jsxDEV(YF,{ok:!0,children:f},void 0,!1,void 0,this):null,JZ.map((b)=>{let AZ=T?.regions[b.name]??[],a=b.allowedTypes&&b.allowedTypes.length?b.allowedTypes:z.map((LZ)=>LZ.slug);return D.jsxDEV("div",{className:"mb-6",children:[D.jsxDEV("h3",{className:"m-0 mb-3 flex items-baseline gap-3 text-[22px] font-normal text-fg",children:[b.label??b.name,b.allowedTypes?D.jsxDEV("span",{className:"text-[11px] font-normal text-fg-subtle",children:["only: ",b.allowedTypes.join(", ")]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),AZ.map((LZ,WZ)=>D.jsxDEV("div",{className:`mb-2.5 rounded-panel border bg-surface-card p-3.5 ${M?.id===LZ.id?"border-fg":"border-border"}`,onClick:()=>R(LZ),children:D.jsxDEV("div",{className:"flex items-center gap-2.5",children:[D.jsxDEV("span",{className:"rounded-full bg-surface-muted px-2 py-0.5 font-mono text-xs text-fg-muted",children:LZ.block_type},void 0,!1,void 0,this),LZ.is_shared?D.jsxDEV("span",{className:"text-[11px] text-accent-strong",children:"shared"},void 0,!1,void 0,this):null,D.jsxDEV("span",{className:"flex-1 truncate text-fg-subtle",children:av(LZ.fields)},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"ghost",size:"sm",onPress:()=>BD(AZ,b.name,WZ,-1,QZ),children:"↑"},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"ghost",size:"sm",onPress:()=>BD(AZ,b.name,WZ,1,QZ),children:"↓"},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"ghost",size:"sm",className:"text-danger",onPress:()=>mZ(LZ),children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},LZ.id,!1,void 0,this)),D.jsxDEV("div",{className:"mt-2.5 flex flex-wrap gap-1.5",children:a.map((LZ)=>D.jsxDEV(EZ,{variant:"secondary",size:"sm",onPress:()=>IZ(b.name,LZ),children:["+ ",n.get(LZ)?.name??LZ]},LZ,!0,void 0,this))},void 0,!1,void 0,this)]},b.name,!0,void 0,this)}),JZ.length===0?D.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),D.jsxDEV("div",{className:"overflow-auto rounded-panel border border-border bg-surface-card p-5",children:M?D.jsxDEV(hv,{api:J,block:M,blockType:n.get(M.block_type),onClose:()=>R(null),onSaved:r,onError:v},void 0,!1,void 0,this):D.jsxDEV(D.Fragment,{children:[D.jsxDEV("div",{className:"mb-3 flex gap-1",children:c5.map((b)=>D.jsxDEV(EZ,{variant:"ghost",size:"sm",className:_===b?"bg-surface-muted text-fg":"text-fg-muted",onPress:()=>W(b),children:b},b,!1,void 0,this))},void 0,!1,void 0,this),_==="settings"?D.jsxDEV(bv,{page:q},void 0,!1,void 0,this):null,_==="seo"?D.jsxDEV(gv,{api:J,page:q,onError:v},void 0,!1,void 0,this):null,_==="workflow"?D.jsxDEV(mv,{api:J,page:q,onChanged:(b)=>{A(b)},onError:v},void 0,!1,void 0,this):null,_==="i18n"?D.jsxDEV(fv,{api:J,page:q,onError:v},void 0,!1,void 0,this):null,_==="audit"?D.jsxDEV(uv,{api:J,pageId:q.id,onError:v},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function hv({api:J,block:q,blockType:z,onClose:_,onSaved:W,onError:K}){let[A,L]=kZ.useState({}),[F,T]=kZ.useState(!1);kZ.useEffect(()=>{J.call("getBlock",{blockId:q.block_id}).then((R)=>L(R?.fields??{})).catch((R)=>K(IX(R)))},[J,q.block_id,K]);let N=z?.fieldsSchema??[],M=async()=>{T(!0);try{await J.call("updateBlock",{blockId:q.block_id,fields:A}),W()}catch(R){K(IX(R))}finally{T(!1)}};return D.jsxDEV("div",{children:[D.jsxDEV("div",{className:"flex items-center gap-2",children:[D.jsxDEV("span",{className:"rounded-full bg-surface-muted px-2 py-0.5 font-mono text-xs text-fg-muted",children:q.block_type},void 0,!1,void 0,this),D.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"ghost",size:"sm",onPress:_,children:"done"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),N.length===0?D.jsxDEV("p",{className:"text-fg-subtle",children:"This block type has no fields."},void 0,!1,void 0,this):D.jsxDEV(XF,{schema:N,value:A,onChange:L,api:J},void 0,!1,void 0,this),D.jsxDEV(EZ,{className:"mt-3 w-full",onPress:M,isDisabled:F,children:"Save block"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function bv({page:J}){return D.jsxDEV(GF,{children:[D.jsxDEV("span",{children:"Title"},void 0,!1,void 0,this),D.jsxDEV("span",{children:J.title},void 0,!1,void 0,this),D.jsxDEV("span",{children:"Slug"},void 0,!1,void 0,this),D.jsxDEV("span",{children:["/",J.slug]},void 0,!0,void 0,this),D.jsxDEV("span",{children:"Locale"},void 0,!1,void 0,this),D.jsxDEV("span",{children:J.locale},void 0,!1,void 0,this),D.jsxDEV("span",{children:"Status"},void 0,!1,void 0,this),D.jsxDEV("span",{children:J.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function gv({api:J,page:q,onError:z}){let[_,W]=kZ.useState({metaTitle:q.metaTitle??"",metaDescription:q.metaDescription??"",canonicalUrl:q.canonicalUrl??"",robots:q.robots??"",ogTitle:q.ogTitle??"",ogDescription:q.ogDescription??""}),[K,A]=kZ.useState(!1),L=async()=>{try{await J.call("updatePageSeo",{pageId:q.id,..._}),A(!0),setTimeout(()=>A(!1),1500)}catch(T){z(IX(T))}},F=(T,N,M=!1)=>M?D.jsxDEV(eO,{label:N,value:_[T],onChange:(R)=>W({..._,[T]:R})},void 0,!1,void 0,this):D.jsxDEV(kY,{label:N,value:_[T],onChange:(R)=>W({..._,[T]:R})},void 0,!1,void 0,this);return D.jsxDEV("div",{className:"flex flex-col gap-4",children:[D.jsxDEV(KH,{children:"SEO"},void 0,!1,void 0,this),K?D.jsxDEV(YF,{ok:!0,children:"saved"},void 0,!1,void 0,this):null,F("metaTitle","Meta title"),F("metaDescription","Meta description",!0),F("canonicalUrl","Canonical URL"),F("robots","Robots (e.g. noindex)"),F("ogTitle","OG title"),F("ogDescription","OG description",!0),D.jsxDEV(EZ,{className:"w-full",onPress:L,children:"Save SEO"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function mv({api:J,page:q,onChanged:z,onError:_}){let W=async(K,A)=>{try{let L=await J.call(K,{pageId:q.id,...A});if(L?.page)z(L.page)}catch(L){_(IX(L))}};return D.jsxDEV("div",{children:[D.jsxDEV(KH,{children:"Workflow"},void 0,!1,void 0,this),D.jsxDEV("div",{className:"mb-3 flex items-center gap-2 text-[13px] text-fg-muted",children:[D.jsxDEV("span",{className:"text-fg-subtle",children:"Status"},void 0,!1,void 0,this),D.jsxDEV(hz,{status:q.status,children:q.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"flex flex-col gap-2",children:[D.jsxDEV(EZ,{variant:"secondary",onPress:()=>W("submitForReview"),children:"Submit for review"},void 0,!1,void 0,this),D.jsxDEV(EZ,{onPress:()=>W("approve"),children:"Approve (publish)"},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"secondary",onPress:()=>W("reject"),children:"Reject"},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"secondary",onPress:()=>W("publishPage"),children:"Publish directly"},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"ghost",onPress:()=>W("unpublishPage"),children:"Unpublish"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("p",{className:"mt-2.5 text-fg-subtle",children:"Submit is editor-gated; approve/publish are reviewer-gated."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function fv({api:J,page:q,onError:z}){let[_,W]=kZ.useState([]),[K,A]=kZ.useState(""),L=kZ.useCallback(()=>J.call("listTranslations",{pageId:q.id}).then(W).catch((T)=>z(IX(T))),[J,q.id,z]);kZ.useEffect(()=>{L()},[L]);let F=async()=>{try{await J.call("createTranslation",{pageId:q.id,locale:K}),A(""),L()}catch(T){z(IX(T))}};return D.jsxDEV("div",{children:[D.jsxDEV(KH,{children:"Translations"},void 0,!1,void 0,this),D.jsxDEV("div",{className:"flex flex-col gap-2",children:_.map((T)=>D.jsxDEV("div",{className:xW,children:[D.jsxDEV("span",{className:"flex-1 truncate font-medium",children:T.locale},void 0,!1,void 0,this),D.jsxDEV("span",{className:"text-fg-subtle",children:["/",T.slug]},void 0,!0,void 0,this),D.jsxDEV(hz,{status:T.status,children:T.status},void 0,!1,void 0,this)]},T.id,!0,void 0,this))},void 0,!1,void 0,this),D.jsxDEV("div",{className:"mt-2 flex items-end gap-1.5",children:[D.jsxDEV(kY,{label:"",value:K,onChange:A,placeholder:"locale (e.g. cs)"},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"secondary",onPress:F,isDisabled:!K,children:"add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function uv({api:J,pageId:q,onError:z}){let[_,W]=kZ.useState([]);return kZ.useEffect(()=>{J.listPageAudit(q).then(W).catch((K)=>z(IX(K)))},[J,q,z]),D.jsxDEV("div",{children:[D.jsxDEV(KH,{children:"Audit trail"},void 0,!1,void 0,this),D.jsxDEV("div",{className:"flex flex-col gap-2",children:[_.map((K)=>D.jsxDEV("div",{className:`${xW} text-xs`,children:[D.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),D.jsxDEV("span",{className:"flex-1 truncate text-fg-subtle",children:[K.fromStatus," → ",K.toStatus]},void 0,!0,void 0,this),D.jsxDEV("span",{className:"text-fg-subtle",children:K.actor??"system"},void 0,!1,void 0,this)]},K.id,!0,void 0,this)),_.length===0?D.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 FD({api:J,onError:q}){let[z,_]=kZ.useState([]),[W,K]=kZ.useState(0),[A,L]=kZ.useState(!1),[F,T]=kZ.useState(null),[N,M]=kZ.useState(!1),R=kZ.useCallback((v)=>{J.listMedia(UD,v).then((f)=>{_((h)=>v===0?f:[...h,...f]),L(f.length===UD),K(v+f.length)}).catch((f)=>q(IX(f)))},[J,q]);kZ.useEffect(()=>{R(0)},[R]);let j=async(v)=>{if(!v?.length)return;M(!0),q("");try{for(let f of Array.from(v))await J.uploadMedia(f);R(0)}catch(f){q(IX(f))}finally{M(!1)}};return D.jsxDEV(D.Fragment,{children:[D.jsxDEV(qF,{lead:"Media",em:z.length===0?"None yet":z.length===1?"1 file":`${z.length}${A?"+":""} files`,children:D.jsxDEV(p5,{text:"Let's",em:"upload something",children:D.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",D.jsxDEV("input",{type:"file",multiple:!0,hidden:!0,disabled:N,onChange:(v)=>{j(v.target.files),v.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),D.jsxDEV("div",{className:JF,children:[z.length===0?D.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):D.jsxDEV("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(180px,1fr))] gap-2.5",children:z.map((v)=>D.jsxDEV("div",{className:`cursor-pointer overflow-hidden rounded-lg border bg-surface-card ${F?.id===v.id?"border-fg":"border-border"}`,onClick:()=>T(v),children:[ID(v)?D.jsxDEV("img",{className:"block h-[130px] w-full object-cover",src:J.resolve(`/media/${v.file.key}`),alt:v.alt??""},void 0,!1,void 0,this):D.jsxDEV("div",{className:"flex h-[130px] items-center justify-center bg-surface-muted font-mono text-xs text-fg-subtle",children:TD(v)},void 0,!1,void 0,this),D.jsxDEV("div",{className:"truncate px-2 py-1.5 text-[11px] text-fg-muted",children:v.file.filename??v.id},void 0,!1,void 0,this)]},v.id,!0,void 0,this))},void 0,!1,void 0,this),A?D.jsxDEV("div",{className:"mt-3.5 text-center",children:D.jsxDEV(EZ,{variant:"secondary",size:"sm",onPress:()=>R(W),children:"Load more"},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,F?D.jsxDEV(dv,{api:J,media:F,onClose:()=>T(null),onSaved:(v)=>{T(v),_((f)=>f.map((h)=>h.id===v.id?v:h))},onDeleted:(v)=>{T(null),_((f)=>f.filter((h)=>h.id!==v))},onError:q},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function dv({api:J,media:q,onClose:z,onSaved:_,onDeleted:W,onError:K}){let[A,L]=kZ.useState(q.alt??""),[F,T]=kZ.useState(!1);kZ.useEffect(()=>L(q.alt??""),[q]);let N=J.resolve(`/media/${q.file.key}`),M=async()=>{T(!0);try{_(await J.updateMedia(q.id,A||null))}catch(j){K(IX(j))}finally{T(!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;T(!0);try{await J.deleteMedia(q.id),W(q.id)}catch(j){K(IX(j))}finally{T(!1)}};return D.jsxDEV(l5,{onClose:z,wide:!0,children:[D.jsxDEV(i5,{children:[D.jsxDEV(QF,{children:"Media"},void 0,!1,void 0,this)," ",q.file.filename??""]},void 0,!0,void 0,this),ID(q)?D.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):D.jsxDEV("div",{className:"mb-3.5 flex h-[200px] items-center justify-center rounded-lg bg-surface-muted font-mono text-fg-subtle",children:TD(q)},void 0,!1,void 0,this),D.jsxDEV("div",{className:"mb-4",children:D.jsxDEV(kY,{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),D.jsxDEV(GF,{children:[D.jsxDEV("span",{children:"Type"},void 0,!1,void 0,this),D.jsxDEV("span",{children:q.file.contentType??"—"},void 0,!1,void 0,this),D.jsxDEV("span",{children:"Size"},void 0,!1,void 0,this),D.jsxDEV("span",{children:sv(q.file.size)},void 0,!1,void 0,this),D.jsxDEV("span",{children:"Uploaded"},void 0,!1,void 0,this),D.jsxDEV("span",{children:q.file.uploadedAt?new Date(q.file.uploadedAt).toLocaleString():q.createdAt??"—"},void 0,!1,void 0,this),D.jsxDEV("span",{children:"URL"},void 0,!1,void 0,this),D.jsxDEV("span",{className:"break-all",children:D.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),D.jsxDEV("div",{className:"mt-3.5 flex items-center gap-2",children:[D.jsxDEV(EZ,{onPress:M,isDisabled:F||A===(q.alt??""),children:"Save"},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"secondary",size:"sm",onPress:()=>navigator.clipboard?.writeText(N),children:"Copy URL"},void 0,!1,void 0,this),D.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"ghost",className:"text-danger",onPress:R,isDisabled:F,children:"Delete"},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"ghost",onPress:z,children:"Close"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function cv(J){let q=J.roles;if(Array.isArray(q))return q.filter((z)=>typeof z==="string");if(typeof q==="string")try{let z=JSON.parse(q);return Array.isArray(z)?z:[]}catch{return[]}return[]}function MD({api:J,me:q,onError:z}){let[_,W]=kZ.useState([]),[K,A]=kZ.useState(!1),[L,F]=kZ.useState(""),T=kZ.useCallback(()=>{J.call("listUsers",{limit:200}).then(W).catch((j)=>z(IX(j)))},[J,z]);kZ.useEffect(()=>{T()},[T]);let N=async(j,v)=>{F(j.username);try{await J.call("setUserRoles",{username:j.username,roles:v}),T()}catch(f){z(IX(f))}finally{F("")}},M=async(j,v)=>{F(j.username);try{await J.call("setUserActive",{username:j.username,active:v}),T()}catch(f){z(IX(f))}finally{F("")}},R=async(j)=>{if(!confirm(`Delete user ${j.username}? This cannot be undone.`))return;F(j.username);try{await J.call("deleteUser",{username:j.username}),T()}catch(v){z(IX(v))}finally{F("")}};return D.jsxDEV(D.Fragment,{children:[D.jsxDEV(qF,{lead:"Users",em:_.length===0?"None yet":_.length===1?"1 account":`${_.length} accounts`,children:D.jsxDEV(p5,{text:"Let's",em:"invite someone",children:D.jsxDEV(EZ,{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),D.jsxDEV("div",{className:JF,children:D.jsxDEV("div",{className:"flex flex-col gap-2",children:[_.map((j)=>{let v=cv(j),f=q?.userId===j.username,h=j.active===void 0||j.active===null?!0:Boolean(Number(j.active));return D.jsxDEV("div",{className:`${xW} flex-wrap items-start`,children:[D.jsxDEV("div",{className:"flex min-w-[200px] flex-1 flex-col gap-0.5",children:[D.jsxDEV("span",{className:"font-semibold",children:[j.username,f?D.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?D.jsxDEV("span",{className:"text-xs text-fg-subtle",children:j.email},void 0,!1,void 0,this):null,j.createdAt?D.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),D.jsxDEV(pv,{value:v,disabled:L===j.username,onSave:(n)=>N(j,n)},void 0,!1,void 0,this),D.jsxDEV(hz,{status:h?"active":"inactive",children:h?"active":"inactive"},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"ghost",size:"sm",isDisabled:L===j.username||f,onPress:()=>M(j,!h),children:h?"Deactivate":"Activate"},void 0,!1,void 0,this),D.jsxDEV(EZ,{variant:"ghost",size:"sm",className:"text-danger",isDisabled:L===j.username||f,onPress:()=>R(j),children:"Delete"},void 0,!1,void 0,this)]},j.username,!0,void 0,this)}),_.length===0?D.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?D.jsxDEV(lv,{api:J,onClose:()=>A(!1),onInvited:()=>{A(!1),T()},onError:z},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function pv({value:J,disabled:q,onSave:z}){let[_,W]=kZ.useState(J.join(", ")),[K,A]=kZ.useState(!1);kZ.useEffect(()=>{W(J.join(", "))},[J]);let L=()=>{A(!1);let F=_.split(",").map((T)=>T.trim()).filter(Boolean);if(F.length===0){W(J.join(", "));return}if(F.length===J.length&&F.every((T,N)=>T===J[N]))return;z(F)};if(K)return D.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:(F)=>W(F.target.value),onBlur:L,onKeyDown:(F)=>{if(F.key==="Enter")L();if(F.key==="Escape")W(J.join(", ")),A(!1)}},void 0,!1,void 0,this);return D.jsxDEV("span",{className:"flex cursor-pointer flex-wrap gap-1",onClick:()=>A(!0),title:"Click to edit",children:J.length===0?D.jsxDEV(hz,{children:"no roles"},void 0,!1,void 0,this):J.map((F)=>D.jsxDEV(hz,{status:F==="admin"?"published":void 0,children:F},F,!1,void 0,this))},void 0,!1,void 0,this)}function lv({api:J,onClose:q,onInvited:z,onError:_}){let[W,K]=kZ.useState(""),[A,L]=kZ.useState("editor"),[F,T]=kZ.useState(!1);return D.jsxDEV(l5,{onClose:q,children:[D.jsxDEV(i5,{children:["Invite an ",D.jsxDEV(QF,{children:"editor"},void 0,!1,void 0,this)," or teammate"]},void 0,!0,void 0,this),D.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),D.jsxDEV("div",{className:"flex flex-col gap-4",children:[D.jsxDEV(kY,{label:"Email",type:"email",autoFocus:!0,value:W,onChange:K,placeholder:"them@example.com"},void 0,!1,void 0,this),D.jsxDEV(kY,{label:"Roles (comma-separated — e.g. editor, reviewer, admin)",value:A,onChange:L,placeholder:"editor"},void 0,!1,void 0,this),D.jsxDEV("div",{className:"mt-2 flex justify-end gap-2",children:[D.jsxDEV(EZ,{variant:"ghost",onPress:q,children:"Cancel"},void 0,!1,void 0,this),D.jsxDEV(EZ,{onPress:async()=>{T(!0);try{let M=A.split(",").map((R)=>R.trim()).filter(Boolean);await J.call("inviteUser",{email:W,roles:M}),z()}catch(M){_(IX(M))}finally{T(!1)}},isDisabled:F||!W,children:F?"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 ND({api:J,cfg:q,me:z,onSignOut:_,onError:W}){return D.jsxDEV(D.Fragment,{children:[D.jsxDEV(qF,{lead:"Settings",em:z?.userId??"your account"},void 0,!1,void 0,this),D.jsxDEV("div",{className:`${JF} grid grid-cols-2 gap-5 max-[820px]:grid-cols-1`,children:[D.jsxDEV(iv,{api:J,me:z,onError:W,onSignOut:_},void 0,!1,void 0,this),D.jsxDEV(nv,{cfg:q,me:z},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function iv({api:J,me:q,onError:z,onSignOut:_}){let[W,K]=kZ.useState(""),[A,L]=kZ.useState(""),[F,T]=kZ.useState(""),[N,M]=kZ.useState(""),[R,j]=kZ.useState(!1),v=(n)=>{M(n),setTimeout(()=>M(""),1800)},f=async()=>{j(!0);try{await J.call("changeEmail",{email:W}),K(""),v("Contact email updated")}catch(n){z(IX(n))}finally{j(!1)}},h=async()=>{j(!0);try{await J.call("changePassword",{currentPassword:A,newPassword:F}),L(""),T(""),v("Password updated")}catch(n){z(IX(n))}finally{j(!1)}};return D.jsxDEV(LD,{children:[D.jsxDEV(KH,{children:"My account"},void 0,!1,void 0,this),N?D.jsxDEV(YF,{ok:!0,children:N},void 0,!1,void 0,this):null,D.jsxDEV(GF,{className:"mb-4",children:[D.jsxDEV("span",{children:"Username"},void 0,!1,void 0,this),D.jsxDEV("span",{children:q?.userId??"—"},void 0,!1,void 0,this),D.jsxDEV("span",{children:"Roles"},void 0,!1,void 0,this),D.jsxDEV("span",{children:(q?.roles??[]).join(", ")||"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"flex flex-col gap-4",children:[D.jsxDEV(kY,{label:"Change contact email",type:"email",value:W,onChange:K,placeholder:"you@example.com"},void 0,!1,void 0,this),D.jsxDEV(EZ,{className:"w-full",onPress:f,isDisabled:R||!W,children:"Save email"},void 0,!1,void 0,this),D.jsxDEV(kY,{label:"Current password",type:"password",value:A,onChange:L,autoComplete:"current-password"},void 0,!1,void 0,this),D.jsxDEV(kY,{label:"New password (at least 8 characters)",type:"password",value:F,onChange:T,autoComplete:"new-password"},void 0,!1,void 0,this),D.jsxDEV(EZ,{className:"w-full",onPress:h,isDisabled:R||F.length<8||A.length===0,children:"Change password"},void 0,!1,void 0,this),D.jsxDEV(EZ,{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 nv({cfg:J,me:q}){return D.jsxDEV(LD,{children:[D.jsxDEV(KH,{children:"About"},void 0,!1,void 0,this),D.jsxDEV(GF,{children:[D.jsxDEV("span",{children:"Tenant"},void 0,!1,void 0,this),D.jsxDEV("span",{children:J.tenant||"main"},void 0,!1,void 0,this),D.jsxDEV("span",{children:"API"},void 0,!1,void 0,this),D.jsxDEV("span",{className:"break-all",children:J.baseUrl},void 0,!1,void 0,this),D.jsxDEV("span",{children:"Signed in as"},void 0,!1,void 0,this),D.jsxDEV("span",{children:q?.userId??"—"},void 0,!1,void 0,this),D.jsxDEV("span",{children:"Editor"},void 0,!1,void 0,this),D.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 ID(J){return(J.file.contentType??"").startsWith("image/")}function TD(J){let q=(J.file.contentType??"").split("/")[1];return(J.file.filename?.split(".").pop()??q??"file").slice(0,5).toUpperCase()}function sv(J){if(!J||J<=0)return"—";let q=["B","KB","MB","GB"],z=0,_=J;while(_>=1024&&z<q.length-1)_/=1024,z++;return`${_<10&&z>0?_.toFixed(1):Math.round(_)} ${q[z]}`}function IX(J){if(J instanceof EW)return J.message;return J instanceof Error?J.message:String(J)}function KD(J){return J.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function av(J){let q=Object.values(J).find((z)=>typeof z==="string"&&z);return typeof q==="string"?q.length>48?q.slice(0,48)+"…":q:""}function BD(J,q,z,_,W){let K=z+_;if(K<0||K>=J.length)return;let A=J.map((L)=>L.id);[A[z],A[K]]=[A[K],A[z]],W(q,A)}var kZ,D,c5,xW="flex items-center gap-3 rounded-[14px] border border-transparent bg-surface-card px-[18px] py-3.5",JF="mx-auto max-w-[1200px] px-7 pb-8 pt-2",QF=({children:J})=>D.jsxDEV("span",{className:"text-fg-subtle",children:J},void 0,!1,void 0,this),UD=60;var yW=C(()=>{WH();f5();WD();kZ=g(e(),1),D=g(PZ(),1),c5=["settings","seo","workflow","i18n","audit"]});var wD={};p_(wD,{default:()=>ov});var JB,VD,ov;var RD=C(()=>{Hq();UH();yW();JB=g(e(),1),VD=g(PZ(),1),ov=SQ().route("/").render(function(){let{api:q,setError:z}=_J(),_=XJ(),[W,K]=JB.useState([]),[A,L]=JB.useState([]),F=()=>q.listPages().then(K).catch((T)=>z(IX(T)));return JB.useEffect(()=>{F(),q.listBlockTypes().then(L).catch((T)=>z(IX(T)))},[q]),VD.jsxDEV(AD,{api:q,pages:W,blockTypes:A,onOpen:(T)=>_("page",{params:{pageId:T.id}}),onCreated:F,onError:z},void 0,!1,void 0,this)})});var jD={};p_(jD,{default:()=>rv});var CD,rv;var DD=C(()=>{Hq();UH();yW();CD=g(PZ(),1),rv=SQ().route("/media").render(function(){let{api:q,setError:z}=_J();return CD.jsxDEV(FD,{api:q,onError:z},void 0,!1,void 0,this)})});var PD={};p_(PD,{default:()=>tv});var vW,bz,tv;var $D=C(()=>{Hq();WH();UH();yW();vW=g(e(),1),bz=g(PZ(),1),tv=SQ().params({pageId:"string",tab:"?string"}).route("/pages/:pageId").render(function({params:q}){let{api:z,setError:_}=_J(),W=XJ(),[K,A]=vW.useState(null),[L,F]=vW.useState([]),[T,N]=vW.useState(!1);vW.useEffect(()=>{let j=!0;return N(!1),z.listPages().then((v)=>{if(!j)return;let f=v.find((h)=>h.id===q.pageId)??null;A(f),N(!f)}).catch((v)=>_(IX(v))),z.listBlockTypes().then((v)=>j&&F(v)).catch((v)=>_(IX(v))),()=>{j=!1}},[z,q.pageId,_]);let M=c5.includes(q.tab)?q.tab:"settings",R=(j)=>W("page",{params:{pageId:q.pageId,tab:j},replace:!0});if(T)return bz.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[bz.jsxDEV("p",{className:"text-fg-subtle",children:"Page not found."},void 0,!1,void 0,this),bz.jsxDEV(EZ,{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 bz.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:bz.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);return bz.jsxDEV(OD,{api:z,page:K,blockTypes:L,tab:M,onTab:R,onBack:()=>W("home"),onChange:A},void 0,!1,void 0,this)})});var SD={};p_(SD,{default:()=>ev});var ED,ev;var kD=C(()=>{Hq();UH();yW();ED=g(PZ(),1),ev=SQ().route("/settings").render(function(){let{api:q,cfg:z,me:_,setError:W,reconfigure:K}=_J();return ED.jsxDEV(ND,{api:q,cfg:z,me:_,onSignOut:K,onError:W},void 0,!1,void 0,this)})});var xD={};p_(xD,{default:()=>Zh});var gz,Zh;var yD=C(()=>{Hq();WH();UH();yW();gz=g(PZ(),1),Zh=SQ().route("/users").render(function(){let{api:q,me:z,isAdmin:_,setError:W}=_J(),K=XJ();if(z===null)return gz.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:gz.jsxDEV("p",{className:"text-fg-subtle",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(!_)return gz.jsxDEV("div",{className:"mx-auto flex max-w-[1200px] items-center gap-2 px-7 pt-8",children:[gz.jsxDEV("p",{className:"text-fg-subtle",children:"Admins only."},void 0,!1,void 0,this),gz.jsxDEV(EZ,{variant:"ghost",size:"sm",onPress:()=>K("home"),children:"← back to pages"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return gz.jsxDEV(MD,{api:q,me:z,onError:W},void 0,!1,void 0,this)})});var vD={};p_(vD,{default:()=>Xh});var BH,Xh;var hD=C(()=>{Hq();WH();BH=g(PZ(),1),Xh=SQ().render(function(){let q=XJ();return BH.jsxDEV("div",{className:"mx-auto max-w-[1200px] px-7 pt-8",children:[BH.jsxDEV("h1",{className:"m-0 text-[56px] font-normal leading-[1.05] tracking-[-0.01em] max-[820px]:text-[40px]",children:[BH.jsxDEV("span",{className:"block text-fg-subtle",children:"Not found"},void 0,!1,void 0,this),BH.jsxDEV("span",{className:"block text-fg",children:"Nothing lives here"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),BH.jsxDEV("div",{className:"mt-4 flex items-center gap-2",children:[BH.jsxDEV("p",{className:"text-fg-subtle",children:"That page doesn't exist."},void 0,!1,void 0,this),BH.jsxDEV(EZ,{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)})});Hq();var pD=g(e(),1),lD=g(oT(),1);Hq();var mz=g(e(),1);Hq();WH();UH();var xY=g(PZ(),1);function u5(){let{cfg:J,isAdmin:q,error:z,reconfigure:_}=_J(),W=XJ(),{pathname:K}=$A(),A=K.startsWith("/pages")||K==="/"?"pages":K.startsWith("/media")?"media":K.startsWith("/users")?"users":K.startsWith("/settings")?"settings":"",L=(F)=>A===F?"bg-surface-muted text-fg":"text-fg-muted";return xY.jsxDEV(xY.Fragment,{children:[xY.jsxDEV("div",{className:"sticky top-0 z-10 flex items-center gap-4 bg-surface px-7 py-4",children:[xY.jsxDEV("span",{className:"text-[15px] font-bold tracking-[0.01em] text-fg",children:["pramen ",xY.jsxDEV("span",{className:"font-normal text-fg-subtle",children:"· cms"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),xY.jsxDEV("span",{className:"flex-1"},void 0,!1,void 0,this),xY.jsxDEV("nav",{className:"flex items-center gap-0.5",children:[xY.jsxDEV(EZ,{variant:"ghost",size:"sm",className:L("pages"),onPress:()=>W("home"),children:"Pages"},void 0,!1,void 0,this),xY.jsxDEV(EZ,{variant:"ghost",size:"sm",className:L("media"),onPress:()=>W("media"),children:"Media"},void 0,!1,void 0,this),q?xY.jsxDEV(EZ,{variant:"ghost",size:"sm",className:L("users"),onPress:()=>W("users"),children:"Users"},void 0,!1,void 0,this):null,xY.jsxDEV(EZ,{variant:"ghost",size:"sm",className:L("settings"),onPress:()=>W("settings"),children:"Settings"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),xY.jsxDEV("span",{className:"ml-3 text-fg-subtle",children:J.tenant},void 0,!1,void 0,this),xY.jsxDEV(EZ,{variant:"ghost",size:"sm",onPress:_,children:"sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z?xY.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:z},void 0,!1,void 0,this):null,xY.jsxDEV(a_,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var bD=()=>Promise.resolve().then(() => (RD(),wD)).then((J)=>({default:J.default.component})),gD=()=>Promise.resolve().then(() => (DD(),jD)).then((J)=>({default:J.default.component})),mD=()=>Promise.resolve().then(() => ($D(),PD)).then((J)=>({default:J.default.component})),fD=()=>Promise.resolve().then(() => (kD(),SD)).then((J)=>({default:J.default.component})),uD=()=>Promise.resolve().then(() => (yD(),xD)).then((J)=>({default:J.default.component})),dD=()=>Promise.resolve().then(() => (hD(),vD)).then((J)=>({default:J.default.component})),n5={home:"/",media:"/media",page:"/pages/:pageId",settings:"/settings",users:"/users"},Yh=[{path:"/",component:u5,isLayout:!0,children:[{path:"/home",matchPath:"/",component:mz.lazy(bD),preload:bD},{path:"/media",component:mz.lazy(gD),preload:gD},{path:"/page",matchPath:"/pages/:pageId",component:mz.lazy(mD),preload:mD},{path:"/settings",component:mz.lazy(fD),preload:fD},{path:"/users",component:mz.lazy(uD),preload:uD},{path:"/:__notFound+",component:mz.lazy(dD),preload:dD}]}],s5=s9(Yh);UH();var HF=g(PZ(),1),cD=document.getElementById("app");if(cD)lD.createRoot(cD).render(HF.jsxDEV(pD.StrictMode,{children:HF.jsxDEV(zD,{children:HF.jsxDEV(PA,{routes:s5,pageRegistry:n5},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this));
|