const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Auth-BPGa-hmu.js","assets/arrow-left-DrHDfZP0.js","assets/Onboard-CGpDQ9Fj.js","assets/sparkles-DvAH9Ugl.js","assets/chevron-left-B7sbI_VI.js","assets/chevron-right-C5xfoCCB.js","assets/MainLayout-BVwFznxU.js","assets/hooks-BtpJ7-Th.js","assets/message-square-DBSMkv3i.js","assets/inbox-BzZf3cYz.js","assets/ChatList-BKGpuY2W.js","assets/moon-e-_DXfX6.js","assets/ChatView-CuZuHQ4K.js","assets/utils-ByjjaO5W.js","assets/arrow-down-CAK3yI7l.js","assets/loader-circle-Xr_S4xGW.js","assets/pencil-CiGtTa33.js","assets/rotate-ccw-r95qOvcZ.js","assets/send-DGblvkUA.js","assets/check-d6msaYyh.js","assets/Discover-DP_5ZN_R.js","assets/useTopics-BLaR-PFJ.js","assets/radio-rny2T7l8.js","assets/Inbox-BJnbGkye.js","assets/OverflowMenu-v-eaZDdm.js","assets/InboxDetail-DVRu4q2N.js","assets/circle-x-D-sk-G2n.js","assets/TopicDetail-DP_dwjM-.js","assets/Notifications-NM5JAG-G.js","assets/Settings-hond9OJX.js","assets/email-BPUfqbzq.js","assets/NotificationTest-aERGQQnz.js","assets/Claiming-DdmMRHuS.js","assets/Signin-4LubQ-Lo.js","assets/Demo-CxjWj0jM.js","assets/ChatKit-DoKhZmpa.js","assets/pgsl-llm-callbacks-Do0KUajo.js","assets/JobChannel-Z_pQISFb.js","assets/PlanCard-BlfW2d05.js","assets/ConversationChannel-B6AcXjWv.js","assets/BeckyAvatar-EIB-53cz.js","assets/sleep-intake-BOT7MDve.js","assets/use-warm-theme-BqACzC6s.js","assets/AdminTrace-CweyuIXQ.js","assets/InChatFunnel-BrL-WFDt.js","assets/intake-sleep-B-EBa_LI.js","assets/meta-pixel-C0ayZyoC.js","assets/Baby-sriGeQde.js","assets/BabyIntake-CG4Ffk7s.js","assets/BabyQuiz-EoFTPud-.js"])))=>i.map(i=>d[i]);
var $y=Object.defineProperty;var Wy=(u,c,r)=>c in u?$y(u,c,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[c]=r;var _h=(u,c,r)=>Wy(u,typeof c!="symbol"?c+"":c,r);(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))s(f);new MutationObserver(f=>{for(const h of f)if(h.type==="childList")for(const g of h.addedNodes)g.tagName==="LINK"&&g.rel==="modulepreload"&&s(g)}).observe(document,{childList:!0,subtree:!0});function r(f){const h={};return f.integrity&&(h.integrity=f.integrity),f.referrerPolicy&&(h.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?h.credentials="include":f.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function s(f){if(f.ep)return;f.ep=!0;const h=r(f);fetch(f.href,h)}})();const Fy="modulepreload",Py=function(u){return"/"+u},Th={},Dt=function(c,r,s){let f=Promise.resolve();if(r&&r.length>0){let g=function(y){return Promise.all(y.map(D=>Promise.resolve(D).then(M=>({status:"fulfilled",value:M}),M=>({status:"rejected",reason:M}))))};document.getElementsByTagName("link");const A=document.querySelector("meta[property=csp-nonce]"),v=(A==null?void 0:A.nonce)||(A==null?void 0:A.getAttribute("nonce"));f=g(r.map(y=>{if(y=Py(y),y in Th)return;Th[y]=!0;const D=y.endsWith(".css"),M=D?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${M}`))return;const q=document.createElement("link");if(q.rel=D?"stylesheet":Fy,D||(q.as="script"),q.crossOrigin="",q.href=y,v&&q.setAttribute("nonce",v),document.head.appendChild(q),D)return new Promise(($,W)=>{q.addEventListener("load",$),q.addEventListener("error",()=>W(Error(`Unable to preload CSS for ${y}`)))})}))}function h(g){const A=new Event("vite:preloadError",{cancelable:!0});if(A.payload=g,window.dispatchEvent(A),!A.defaultPrevented)throw g}return f.then(g=>{for(const A of g||[])A.status==="rejected"&&h(A.reason);return c().catch(h)})};var ks={exports:{}},In={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Mh;function Iy(){if(Mh)return In;Mh=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function r(s,f,h){var g=null;if(h!==void 0&&(g=""+h),f.key!==void 0&&(g=""+f.key),"key"in f){h={};for(var A in f)A!=="key"&&(h[A]=f[A])}else h=f;return f=h.ref,{$$typeof:u,type:s,key:g,ref:f!==void 0?f:null,props:h}}return In.Fragment=c,In.jsx=r,In.jsxs=r,In}var Ch;function tg(){return Ch||(Ch=1,ks.exports=Iy()),ks.exports}var _=tg(),Js={exports:{}},rt={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var zh;function eg(){if(zh)return rt;zh=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),g=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),M=Symbol.for("react.activity"),q=Symbol.iterator;function $(E){return E===null||typeof E!="object"?null:(E=q&&E[q]||E["@@iterator"],typeof E=="function"?E:null)}var W={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Z=Object.assign,X={};function L(E,B,Q){this.props=E,this.context=B,this.refs=X,this.updater=Q||W}L.prototype.isReactComponent={},L.prototype.setState=function(E,B){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,B,"setState")},L.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function m(){}m.prototype=L.prototype;function V(E,B,Q){this.props=E,this.context=B,this.refs=X,this.updater=Q||W}var G=V.prototype=new m;G.constructor=V,Z(G,L.prototype),G.isPureReactComponent=!0;var P=Array.isArray;function at(){}var tt={H:null,A:null,T:null,S:null},xt=Object.prototype.hasOwnProperty;function Gt(E,B,Q){var F=Q.ref;return{$$typeof:u,type:E,key:B,ref:F!==void 0?F:null,props:Q}}function he(E,B){return Gt(E.type,B,E.props)}function qt(E){return typeof E=="object"&&E!==null&&E.$$typeof===u}function Ft(E){var B={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(Q){return B[Q]})}var Ae=/\/+/g;function ue(E,B){return typeof E=="object"&&E!==null&&E.key!=null?Ft(""+E.key):B.toString(36)}function Lt(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(at,at):(E.status="pending",E.then(function(B){E.status==="pending"&&(E.status="fulfilled",E.value=B)},function(B){E.status==="pending"&&(E.status="rejected",E.reason=B)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function b(E,B,Q,F,st){var j=typeof E;(j==="undefined"||j==="boolean")&&(E=null);var O=!1;if(E===null)O=!0;else switch(j){case"bigint":case"string":case"number":O=!0;break;case"object":switch(E.$$typeof){case u:case c:O=!0;break;case D:return O=E._init,b(O(E._payload),B,Q,F,st)}}if(O)return st=st(E),O=F===""?"."+ue(E,0):F,P(st)?(Q="",O!=null&&(Q=O.replace(Ae,"$&/")+"/"),b(st,B,Q,"",function(it){return it})):st!=null&&(qt(st)&&(st=he(st,Q+(st.key==null||E&&E.key===st.key?"":(""+st.key).replace(Ae,"$&/")+"/")+O)),B.push(st)),1;O=0;var I=F===""?".":F+":";if(P(E))for(var J=0;J<E.length;J++)F=E[J],j=I+ue(F,J),O+=b(F,B,Q,j,st);else if(J=$(E),typeof J=="function")for(E=J.call(E),J=0;!(F=E.next()).done;)F=F.value,j=I+ue(F,J++),O+=b(F,B,Q,j,st);else if(j==="object"){if(typeof E.then=="function")return b(Lt(E),B,Q,F,st);throw B=String(E),Error("Objects are not valid as a React child (found: "+(B==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":B)+"). If you meant to render a collection of children, use an array instead.")}return O}function Y(E,B,Q){if(E==null)return E;var F=[],st=0;return b(E,F,"","",function(j){return B.call(Q,j,st++)}),F}function k(E){if(E._status===-1){var B=E._result;B=B(),B.then(function(Q){(E._status===0||E._status===-1)&&(E._status=1,E._result=Q)},function(Q){(E._status===0||E._status===-1)&&(E._status=2,E._result=Q)}),E._status===-1&&(E._status=0,E._result=B)}if(E._status===1)return E._result.default;throw E._result}var lt=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var B=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(B))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)},Ct={map:Y,forEach:function(E,B,Q){Y(E,function(){B.apply(this,arguments)},Q)},count:function(E){var B=0;return Y(E,function(){B++}),B},toArray:function(E){return Y(E,function(B){return B})||[]},only:function(E){if(!qt(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return rt.Activity=M,rt.Children=Ct,rt.Component=L,rt.Fragment=r,rt.Profiler=f,rt.PureComponent=V,rt.StrictMode=s,rt.Suspense=v,rt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=tt,rt.__COMPILER_RUNTIME={__proto__:null,c:function(E){return tt.H.useMemoCache(E)}},rt.cache=function(E){return function(){return E.apply(null,arguments)}},rt.cacheSignal=function(){return null},rt.cloneElement=function(E,B,Q){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var F=Z({},E.props),st=E.key;if(B!=null)for(j in B.key!==void 0&&(st=""+B.key),B)!xt.call(B,j)||j==="key"||j==="__self"||j==="__source"||j==="ref"&&B.ref===void 0||(F[j]=B[j]);var j=arguments.length-2;if(j===1)F.children=Q;else if(1<j){for(var O=Array(j),I=0;I<j;I++)O[I]=arguments[I+2];F.children=O}return Gt(E.type,st,F)},rt.createContext=function(E){return E={$$typeof:g,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:h,_context:E},E},rt.createElement=function(E,B,Q){var F,st={},j=null;if(B!=null)for(F in B.key!==void 0&&(j=""+B.key),B)xt.call(B,F)&&F!=="key"&&F!=="__self"&&F!=="__source"&&(st[F]=B[F]);var O=arguments.length-2;if(O===1)st.children=Q;else if(1<O){for(var I=Array(O),J=0;J<O;J++)I[J]=arguments[J+2];st.children=I}if(E&&E.defaultProps)for(F in O=E.defaultProps,O)st[F]===void 0&&(st[F]=O[F]);return Gt(E,j,st)},rt.createRef=function(){return{current:null}},rt.forwardRef=function(E){return{$$typeof:A,render:E}},rt.isValidElement=qt,rt.lazy=function(E){return{$$typeof:D,_payload:{_status:-1,_result:E},_init:k}},rt.memo=function(E,B){return{$$typeof:y,type:E,compare:B===void 0?null:B}},rt.startTransition=function(E){var B=tt.T,Q={};tt.T=Q;try{var F=E(),st=tt.S;st!==null&&st(Q,F),typeof F=="object"&&F!==null&&typeof F.then=="function"&&F.then(at,lt)}catch(j){lt(j)}finally{B!==null&&Q.types!==null&&(B.types=Q.types),tt.T=B}},rt.unstable_useCacheRefresh=function(){return tt.H.useCacheRefresh()},rt.use=function(E){return tt.H.use(E)},rt.useActionState=function(E,B,Q){return tt.H.useActionState(E,B,Q)},rt.useCallback=function(E,B){return tt.H.useCallback(E,B)},rt.useContext=function(E){return tt.H.useContext(E)},rt.useDebugValue=function(){},rt.useDeferredValue=function(E,B){return tt.H.useDeferredValue(E,B)},rt.useEffect=function(E,B){return tt.H.useEffect(E,B)},rt.useEffectEvent=function(E){return tt.H.useEffectEvent(E)},rt.useId=function(){return tt.H.useId()},rt.useImperativeHandle=function(E,B,Q){return tt.H.useImperativeHandle(E,B,Q)},rt.useInsertionEffect=function(E,B){return tt.H.useInsertionEffect(E,B)},rt.useLayoutEffect=function(E,B){return tt.H.useLayoutEffect(E,B)},rt.useMemo=function(E,B){return tt.H.useMemo(E,B)},rt.useOptimistic=function(E,B){return tt.H.useOptimistic(E,B)},rt.useReducer=function(E,B,Q){return tt.H.useReducer(E,B,Q)},rt.useRef=function(E){return tt.H.useRef(E)},rt.useState=function(E){return tt.H.useState(E)},rt.useSyncExternalStore=function(E,B,Q){return tt.H.useSyncExternalStore(E,B,Q)},rt.useTransition=function(){return tt.H.useTransition()},rt.version="19.2.7",rt}var Rh;function fr(){return Rh||(Rh=1,Js.exports=eg()),Js.exports}var x=fr(),Ks={exports:{}},ti={},$s={exports:{}},Ws={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Dh;function ag(){return Dh||(Dh=1,(function(u){function c(b,Y){var k=b.length;b.push(Y);t:for(;0<k;){var lt=k-1>>>1,Ct=b[lt];if(0<f(Ct,Y))b[lt]=Y,b[k]=Ct,k=lt;else break t}}function r(b){return b.length===0?null:b[0]}function s(b){if(b.length===0)return null;var Y=b[0],k=b.pop();if(k!==Y){b[0]=k;t:for(var lt=0,Ct=b.length,E=Ct>>>1;lt<E;){var B=2*(lt+1)-1,Q=b[B],F=B+1,st=b[F];if(0>f(Q,k))F<Ct&&0>f(st,Q)?(b[lt]=st,b[F]=k,lt=F):(b[lt]=Q,b[B]=k,lt=B);else if(F<Ct&&0>f(st,k))b[lt]=st,b[F]=k,lt=F;else break t}}return Y}function f(b,Y){var k=b.sortIndex-Y.sortIndex;return k!==0?k:b.id-Y.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;u.unstable_now=function(){return h.now()}}else{var g=Date,A=g.now();u.unstable_now=function(){return g.now()-A}}var v=[],y=[],D=1,M=null,q=3,$=!1,W=!1,Z=!1,X=!1,L=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function G(b){for(var Y=r(y);Y!==null;){if(Y.callback===null)s(y);else if(Y.startTime<=b)s(y),Y.sortIndex=Y.expirationTime,c(v,Y);else break;Y=r(y)}}function P(b){if(Z=!1,G(b),!W)if(r(v)!==null)W=!0,at||(at=!0,Ft());else{var Y=r(y);Y!==null&&Lt(P,Y.startTime-b)}}var at=!1,tt=-1,xt=5,Gt=-1;function he(){return X?!0:!(u.unstable_now()-Gt<xt)}function qt(){if(X=!1,at){var b=u.unstable_now();Gt=b;var Y=!0;try{t:{W=!1,Z&&(Z=!1,m(tt),tt=-1),$=!0;var k=q;try{e:{for(G(b),M=r(v);M!==null&&!(M.expirationTime>b&&he());){var lt=M.callback;if(typeof lt=="function"){M.callback=null,q=M.priorityLevel;var Ct=lt(M.expirationTime<=b);if(b=u.unstable_now(),typeof Ct=="function"){M.callback=Ct,G(b),Y=!0;break e}M===r(v)&&s(v),G(b)}else s(v);M=r(v)}if(M!==null)Y=!0;else{var E=r(y);E!==null&&Lt(P,E.startTime-b),Y=!1}}break t}finally{M=null,q=k,$=!1}Y=void 0}}finally{Y?Ft():at=!1}}}var Ft;if(typeof V=="function")Ft=function(){V(qt)};else if(typeof MessageChannel<"u"){var Ae=new MessageChannel,ue=Ae.port2;Ae.port1.onmessage=qt,Ft=function(){ue.postMessage(null)}}else Ft=function(){L(qt,0)};function Lt(b,Y){tt=L(function(){b(u.unstable_now())},Y)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(b){b.callback=null},u.unstable_forceFrameRate=function(b){0>b||125<b?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):xt=0<b?Math.floor(1e3/b):5},u.unstable_getCurrentPriorityLevel=function(){return q},u.unstable_next=function(b){switch(q){case 1:case 2:case 3:var Y=3;break;default:Y=q}var k=q;q=Y;try{return b()}finally{q=k}},u.unstable_requestPaint=function(){X=!0},u.unstable_runWithPriority=function(b,Y){switch(b){case 1:case 2:case 3:case 4:case 5:break;default:b=3}var k=q;q=b;try{return Y()}finally{q=k}},u.unstable_scheduleCallback=function(b,Y,k){var lt=u.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?lt+k:lt):k=lt,b){case 1:var Ct=-1;break;case 2:Ct=250;break;case 5:Ct=1073741823;break;case 4:Ct=1e4;break;default:Ct=5e3}return Ct=k+Ct,b={id:D++,callback:Y,priorityLevel:b,startTime:k,expirationTime:Ct,sortIndex:-1},k>lt?(b.sortIndex=k,c(y,b),r(v)===null&&b===r(y)&&(Z?(m(tt),tt=-1):Z=!0,Lt(P,k-lt))):(b.sortIndex=Ct,c(v,b),W||$||(W=!0,at||(at=!0,Ft()))),b},u.unstable_shouldYield=he,u.unstable_wrapCallback=function(b){var Y=q;return function(){var k=q;q=Y;try{return b.apply(this,arguments)}finally{q=k}}}})(Ws)),Ws}var wh;function lg(){return wh||(wh=1,$s.exports=ag()),$s.exports}var Fs={exports:{}},me={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Oh;function ng(){if(Oh)return me;Oh=1;var u=fr();function c(v){var y="https://react.dev/errors/"+v;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var D=2;D<arguments.length;D++)y+="&args[]="+encodeURIComponent(arguments[D])}return"Minified React error #"+v+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var s={d:{f:r,r:function(){throw Error(c(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},f=Symbol.for("react.portal");function h(v,y,D){var M=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:M==null?null:""+M,children:v,containerInfo:y,implementation:D}}var g=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function A(v,y){if(v==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return me.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,me.createPortal=function(v,y){var D=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(c(299));return h(v,y,null,D)},me.flushSync=function(v){var y=g.T,D=s.p;try{if(g.T=null,s.p=2,v)return v()}finally{g.T=y,s.p=D,s.d.f()}},me.preconnect=function(v,y){typeof v=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,s.d.C(v,y))},me.prefetchDNS=function(v){typeof v=="string"&&s.d.D(v)},me.preinit=function(v,y){if(typeof v=="string"&&y&&typeof y.as=="string"){var D=y.as,M=A(D,y.crossOrigin),q=typeof y.integrity=="string"?y.integrity:void 0,$=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;D==="style"?s.d.S(v,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:M,integrity:q,fetchPriority:$}):D==="script"&&s.d.X(v,{crossOrigin:M,integrity:q,fetchPriority:$,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},me.preinitModule=function(v,y){if(typeof v=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var D=A(y.as,y.crossOrigin);s.d.M(v,{crossOrigin:D,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&s.d.M(v)},me.preload=function(v,y){if(typeof v=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var D=y.as,M=A(D,y.crossOrigin);s.d.L(v,D,{crossOrigin:M,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},me.preloadModule=function(v,y){if(typeof v=="string")if(y){var D=A(y.as,y.crossOrigin);s.d.m(v,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:D,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else s.d.m(v)},me.requestFormReset=function(v){s.d.r(v)},me.unstable_batchedUpdates=function(v,y){return v(y)},me.useFormState=function(v,y,D){return g.H.useFormState(v,y,D)},me.useFormStatus=function(){return g.H.useHostTransitionStatus()},me.version="19.2.7",me}var Nh;function ig(){if(Nh)return Fs.exports;Nh=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),Fs.exports=ng(),Fs.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var jh;function ug(){if(jh)return ti;jh=1;var u=lg(),c=fr(),r=ig();function s(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)e+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function h(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function g(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function A(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function v(t){if(h(t)!==t)throw Error(s(188))}function y(t){var e=t.alternate;if(!e){if(e=h(t),e===null)throw Error(s(188));return e!==t?null:t}for(var a=t,l=e;;){var n=a.return;if(n===null)break;var i=n.alternate;if(i===null){if(l=n.return,l!==null){a=l;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===a)return v(n),t;if(i===l)return v(n),e;i=i.sibling}throw Error(s(188))}if(a.return!==l.return)a=n,l=i;else{for(var o=!1,d=n.child;d;){if(d===a){o=!0,a=n,l=i;break}if(d===l){o=!0,l=n,a=i;break}d=d.sibling}if(!o){for(d=i.child;d;){if(d===a){o=!0,a=i,l=n;break}if(d===l){o=!0,l=i,a=n;break}d=d.sibling}if(!o)throw Error(s(189))}}if(a.alternate!==l)throw Error(s(190))}if(a.tag!==3)throw Error(s(188));return a.stateNode.current===a?t:e}function D(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=D(t),e!==null)return e;t=t.sibling}return null}var M=Object.assign,q=Symbol.for("react.element"),$=Symbol.for("react.transitional.element"),W=Symbol.for("react.portal"),Z=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),V=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),at=Symbol.for("react.suspense_list"),tt=Symbol.for("react.memo"),xt=Symbol.for("react.lazy"),Gt=Symbol.for("react.activity"),he=Symbol.for("react.memo_cache_sentinel"),qt=Symbol.iterator;function Ft(t){return t===null||typeof t!="object"?null:(t=qt&&t[qt]||t["@@iterator"],typeof t=="function"?t:null)}var Ae=Symbol.for("react.client.reference");function ue(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Ae?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Z:return"Fragment";case L:return"Profiler";case X:return"StrictMode";case P:return"Suspense";case at:return"SuspenseList";case Gt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case W:return"Portal";case V:return t.displayName||"Context";case m:return(t._context.displayName||"Context")+".Consumer";case G:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case tt:return e=t.displayName||null,e!==null?e:ue(t.type)||"Memo";case xt:e=t._payload,t=t._init;try{return ue(t(e))}catch{}}return null}var Lt=Array.isArray,b=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k={pending:!1,data:null,method:null,action:null},lt=[],Ct=-1;function E(t){return{current:t}}function B(t){0>Ct||(t.current=lt[Ct],lt[Ct]=null,Ct--)}function Q(t,e){Ct++,lt[Ct]=t.current,t.current=e}var F=E(null),st=E(null),j=E(null),O=E(null);function I(t,e){switch(Q(j,e),Q(st,t),Q(F,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Jd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Jd(e),t=Kd(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}B(F),Q(F,t)}function J(){B(F),B(st),B(j)}function it(t){t.memoizedState!==null&&Q(O,t);var e=F.current,a=Kd(e,t.type);e!==a&&(Q(st,t),Q(F,a))}function ut(t){st.current===t&&(B(F),B(st)),O.current===t&&(B(O),$n._currentValue=k)}var Tt,bt;function ht(t){if(Tt===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);Tt=e&&e[1]||"",bt=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Tt+t+bt}var Xt=!1;function At(t,e){if(!t||Xt)return"";Xt=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(w){var R=w}Reflect.construct(t,[],H)}else{try{H.call()}catch(w){R=w}t.call(H.prototype)}}else{try{throw Error()}catch(w){R=w}(H=t())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(w){if(w&&R&&typeof w.stack=="string")return[w.stack,R.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=l.DetermineComponentFrameRoot(),o=i[0],d=i[1];if(o&&d){var p=o.split(`
`),z=d.split(`
`);for(n=l=0;l<p.length&&!p[l].includes("DetermineComponentFrameRoot");)l++;for(;n<z.length&&!z[n].includes("DetermineComponentFrameRoot");)n++;if(l===p.length||n===z.length)for(l=p.length-1,n=z.length-1;1<=l&&0<=n&&p[l]!==z[n];)n--;for(;1<=l&&0<=n;l--,n--)if(p[l]!==z[n]){if(l!==1||n!==1)do if(l--,n--,0>n||p[l]!==z[n]){var N=`
`+p[l].replace(" at new "," at ");return t.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",t.displayName)),N}while(1<=l&&0<=n);break}}}finally{Xt=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?ht(a):""}function Qt(t,e){switch(t.tag){case 26:case 27:case 5:return ht(t.type);case 16:return ht("Lazy");case 13:return t.child!==e&&e!==null?ht("Suspense Fallback"):ht("Suspense");case 19:return ht("SuspenseList");case 0:case 15:return At(t.type,!1);case 11:return At(t.type.render,!1);case 1:return At(t.type,!0);case 31:return ht("Activity");default:return""}}function _e(t){try{var e="",a=null;do e+=Qt(t,a),a=t,t=t.return;while(t);return e}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}var Zt=Object.prototype.hasOwnProperty,Te=u.unstable_scheduleCallback,ce=u.unstable_cancelCallback,le=u.unstable_shouldYield,Me=u.unstable_requestPaint,kt=u.unstable_now,ua=u.unstable_getCurrentPriorityLevel,Ar=u.unstable_ImmediatePriority,_r=u.unstable_UserBlockingPriority,ci=u.unstable_NormalPriority,Dm=u.unstable_LowPriority,Tr=u.unstable_IdlePriority,wm=u.log,Om=u.unstable_setDisableYieldValue,cn=null,Ce=null;function Ca(t){if(typeof wm=="function"&&Om(t),Ce&&typeof Ce.setStrictMode=="function")try{Ce.setStrictMode(cn,t)}catch{}}var ze=Math.clz32?Math.clz32:Um,Nm=Math.log,jm=Math.LN2;function Um(t){return t>>>=0,t===0?32:31-(Nm(t)/jm|0)|0}var si=256,ri=262144,oi=4194304;function tl(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function fi(t,e,a){var l=t.pendingLanes;if(l===0)return 0;var n=0,i=t.suspendedLanes,o=t.pingedLanes;t=t.warmLanes;var d=l&134217727;return d!==0?(l=d&~i,l!==0?n=tl(l):(o&=d,o!==0?n=tl(o):a||(a=d&~t,a!==0&&(n=tl(a))))):(d=l&~i,d!==0?n=tl(d):o!==0?n=tl(o):a||(a=l&~t,a!==0&&(n=tl(a)))),n===0?0:e!==0&&e!==n&&(e&i)===0&&(i=n&-n,a=e&-e,i>=a||i===32&&(a&4194048)!==0)?e:n}function sn(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Lm(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Mr(){var t=oi;return oi<<=1,(oi&62914560)===0&&(oi=4194304),t}function ju(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function rn(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Hm(t,e,a,l,n,i){var o=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var d=t.entanglements,p=t.expirationTimes,z=t.hiddenUpdates;for(a=o&~a;0<a;){var N=31-ze(a),H=1<<N;d[N]=0,p[N]=-1;var R=z[N];if(R!==null)for(z[N]=null,N=0;N<R.length;N++){var w=R[N];w!==null&&(w.lane&=-536870913)}a&=~H}l!==0&&Cr(t,l,0),i!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=i&~(o&~e))}function Cr(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-ze(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|a&261930}function zr(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var l=31-ze(a),n=1<<l;n&e|t[l]&e&&(t[l]|=e),a&=~n}}function Rr(t,e){var a=e&-e;return a=(a&42)!==0?1:Uu(a),(a&(t.suspendedLanes|e))!==0?0:a}function Uu(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Lu(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Dr(){var t=Y.p;return t!==0?t:(t=window.event,t===void 0?32:ph(t.type))}function wr(t,e){var a=Y.p;try{return Y.p=t,e()}finally{Y.p=a}}var za=Math.random().toString(36).slice(2),se="__reactFiber$"+za,ge="__reactProps$"+za,vl="__reactContainer$"+za,Hu="__reactEvents$"+za,Bm="__reactListeners$"+za,qm="__reactHandles$"+za,Or="__reactResources$"+za,on="__reactMarker$"+za;function Bu(t){delete t[se],delete t[ge],delete t[Hu],delete t[Bm],delete t[qm]}function bl(t){var e=t[se];if(e)return e;for(var a=t.parentNode;a;){if(e=a[vl]||a[se]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=eh(t);t!==null;){if(a=t[se])return a;t=eh(t)}return e}t=a,a=t.parentNode}return null}function Sl(t){if(t=t[se]||t[vl]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function fn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(s(33))}function El(t){var e=t[Or];return e||(e=t[Or]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function ne(t){t[on]=!0}var Nr=new Set,jr={};function el(t,e){xl(t,e),xl(t+"Capture",e)}function xl(t,e){for(jr[t]=e,t=0;t<e.length;t++)Nr.add(e[t])}var Ym=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]*$"),Ur={},Lr={};function Vm(t){return Zt.call(Lr,t)?!0:Zt.call(Ur,t)?!1:Ym.test(t)?Lr[t]=!0:(Ur[t]=!0,!1)}function di(t,e,a){if(Vm(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+a)}}function hi(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+a)}}function ca(t,e,a,l){if(l===null)t.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttributeNS(e,a,""+l)}}function He(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Hr(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Gm(t,e,a){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var n=l.get,i=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(o){a=""+o,i.call(this,o)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(o){a=""+o},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function qu(t){if(!t._valueTracker){var e=Hr(t)?"checked":"value";t._valueTracker=Gm(t,e,""+t[e])}}function Br(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),l="";return t&&(l=Hr(t)?t.checked?"true":"false":t.value),t=l,t!==a?(e.setValue(t),!0):!1}function mi(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Xm=/[\n"\\]/g;function Be(t){return t.replace(Xm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Yu(t,e,a,l,n,i,o,d){t.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?t.type=o:t.removeAttribute("type"),e!=null?o==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+He(e)):t.value!==""+He(e)&&(t.value=""+He(e)):o!=="submit"&&o!=="reset"||t.removeAttribute("value"),e!=null?Vu(t,o,He(e)):a!=null?Vu(t,o,He(a)):l!=null&&t.removeAttribute("value"),n==null&&i!=null&&(t.defaultChecked=!!i),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.name=""+He(d):t.removeAttribute("name")}function qr(t,e,a,l,n,i,o,d){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.type=i),e!=null||a!=null){if(!(i!=="submit"&&i!=="reset"||e!=null)){qu(t);return}a=a!=null?""+He(a):"",e=e!=null?""+He(e):a,d||e===t.value||(t.value=e),t.defaultValue=e}l=l??n,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=d?t.checked:!!l,t.defaultChecked=!!l,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.name=o),qu(t)}function Vu(t,e,a){e==="number"&&mi(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function Al(t,e,a,l){if(t=t.options,e){e={};for(var n=0;n<a.length;n++)e["$"+a[n]]=!0;for(a=0;a<t.length;a++)n=e.hasOwnProperty("$"+t[a].value),t[a].selected!==n&&(t[a].selected=n),n&&l&&(t[a].defaultSelected=!0)}else{for(a=""+He(a),e=null,n=0;n<t.length;n++){if(t[n].value===a){t[n].selected=!0,l&&(t[n].defaultSelected=!0);return}e!==null||t[n].disabled||(e=t[n])}e!==null&&(e.selected=!0)}}function Yr(t,e,a){if(e!=null&&(e=""+He(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+He(a):""}function Vr(t,e,a,l){if(e==null){if(l!=null){if(a!=null)throw Error(s(92));if(Lt(l)){if(1<l.length)throw Error(s(93));l=l[0]}a=l}a==null&&(a=""),e=a}a=He(e),t.defaultValue=a,l=t.textContent,l===a&&l!==""&&l!==null&&(t.value=l),qu(t)}function _l(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}var Qm=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(" "));function Gr(t,e,a){var l=e.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,a):typeof a!="number"||a===0||Qm.has(e)?e==="float"?t.cssFloat=a:t[e]=(""+a).trim():t[e]=a+"px"}function Xr(t,e,a){if(e!=null&&typeof e!="object")throw Error(s(62));if(t=t.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var n in e)l=e[n],e.hasOwnProperty(n)&&a[n]!==l&&Gr(t,n,l)}else for(var i in e)e.hasOwnProperty(i)&&Gr(t,i,e[i])}function Gu(t){if(t.indexOf("-")===-1)return!1;switch(t){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}}var Zm=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"]]),km=/^[\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;function yi(t){return km.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function sa(){}var Xu=null;function Qu(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Tl=null,Ml=null;function Qr(t){var e=Sl(t);if(e&&(t=e.stateNode)){var a=t[ge]||null;t:switch(t=e.stateNode,e.type){case"input":if(Yu(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Be(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var l=a[e];if(l!==t&&l.form===t.form){var n=l[ge]||null;if(!n)throw Error(s(90));Yu(l,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<a.length;e++)l=a[e],l.form===t.form&&Br(l)}break t;case"textarea":Yr(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&Al(t,!!a.multiple,e,!1)}}}var Zu=!1;function Zr(t,e,a){if(Zu)return t(e,a);Zu=!0;try{var l=t(e);return l}finally{if(Zu=!1,(Tl!==null||Ml!==null)&&(au(),Tl&&(e=Tl,t=Ml,Ml=Tl=null,Qr(e),t)))for(e=0;e<t.length;e++)Qr(t[e])}}function dn(t,e){var a=t.stateNode;if(a===null)return null;var l=a[ge]||null;if(l===null)return null;a=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(s(231,e,typeof a));return a}var ra=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ku=!1;if(ra)try{var hn={};Object.defineProperty(hn,"passive",{get:function(){ku=!0}}),window.addEventListener("test",hn,hn),window.removeEventListener("test",hn,hn)}catch{ku=!1}var Ra=null,Ju=null,gi=null;function kr(){if(gi)return gi;var t,e=Ju,a=e.length,l,n="value"in Ra?Ra.value:Ra.textContent,i=n.length;for(t=0;t<a&&e[t]===n[t];t++);var o=a-t;for(l=1;l<=o&&e[a-l]===n[i-l];l++);return gi=n.slice(t,1<l?1-l:void 0)}function pi(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function vi(){return!0}function Jr(){return!1}function pe(t){function e(a,l,n,i,o){this._reactName=a,this._targetInst=n,this.type=l,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var d in t)t.hasOwnProperty(d)&&(a=t[d],this[d]=a?a(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?vi:Jr,this.isPropagationStopped=Jr,this}return M(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=vi)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=vi)},persist:function(){},isPersistent:vi}),e}var al={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bi=pe(al),mn=M({},al,{view:0,detail:0}),Jm=pe(mn),Ku,$u,yn,Si=M({},mn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fu,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==yn&&(yn&&t.type==="mousemove"?(Ku=t.screenX-yn.screenX,$u=t.screenY-yn.screenY):$u=Ku=0,yn=t),Ku)},movementY:function(t){return"movementY"in t?t.movementY:$u}}),Kr=pe(Si),Km=M({},Si,{dataTransfer:0}),$m=pe(Km),Wm=M({},mn,{relatedTarget:0}),Wu=pe(Wm),Fm=M({},al,{animationName:0,elapsedTime:0,pseudoElement:0}),Pm=pe(Fm),Im=M({},al,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),t0=pe(Im),e0=M({},al,{data:0}),$r=pe(e0),a0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},l0={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"},n0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function i0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=n0[t])?!!e[t]:!1}function Fu(){return i0}var u0=M({},mn,{key:function(t){if(t.key){var e=a0[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=pi(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?l0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fu,charCode:function(t){return t.type==="keypress"?pi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?pi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),c0=pe(u0),s0=M({},Si,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wr=pe(s0),r0=M({},mn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fu}),o0=pe(r0),f0=M({},al,{propertyName:0,elapsedTime:0,pseudoElement:0}),d0=pe(f0),h0=M({},Si,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),m0=pe(h0),y0=M({},al,{newState:0,oldState:0}),g0=pe(y0),p0=[9,13,27,32],Pu=ra&&"CompositionEvent"in window,gn=null;ra&&"documentMode"in document&&(gn=document.documentMode);var v0=ra&&"TextEvent"in window&&!gn,Fr=ra&&(!Pu||gn&&8<gn&&11>=gn),Pr=" ",Ir=!1;function to(t,e){switch(t){case"keyup":return p0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eo(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Cl=!1;function b0(t,e){switch(t){case"compositionend":return eo(e);case"keypress":return e.which!==32?null:(Ir=!0,Pr);case"textInput":return t=e.data,t===Pr&&Ir?null:t;default:return null}}function S0(t,e){if(Cl)return t==="compositionend"||!Pu&&to(t,e)?(t=kr(),gi=Ju=Ra=null,Cl=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Fr&&e.locale!=="ko"?null:e.data;default:return null}}var E0={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};function ao(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!E0[t.type]:e==="textarea"}function lo(t,e,a,l){Tl?Ml?Ml.push(l):Ml=[l]:Tl=l,e=ru(e,"onChange"),0<e.length&&(a=new bi("onChange","change",null,a,l),t.push({event:a,listeners:e}))}var pn=null,vn=null;function x0(t){Vd(t,0)}function Ei(t){var e=fn(t);if(Br(e))return t}function no(t,e){if(t==="change")return e}var io=!1;if(ra){var Iu;if(ra){var tc="oninput"in document;if(!tc){var uo=document.createElement("div");uo.setAttribute("oninput","return;"),tc=typeof uo.oninput=="function"}Iu=tc}else Iu=!1;io=Iu&&(!document.documentMode||9<document.documentMode)}function co(){pn&&(pn.detachEvent("onpropertychange",so),vn=pn=null)}function so(t){if(t.propertyName==="value"&&Ei(vn)){var e=[];lo(e,vn,t,Qu(t)),Zr(x0,e)}}function A0(t,e,a){t==="focusin"?(co(),pn=e,vn=a,pn.attachEvent("onpropertychange",so)):t==="focusout"&&co()}function _0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ei(vn)}function T0(t,e){if(t==="click")return Ei(e)}function M0(t,e){if(t==="input"||t==="change")return Ei(e)}function C0(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Re=typeof Object.is=="function"?Object.is:C0;function bn(t,e){if(Re(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),l=Object.keys(e);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var n=a[l];if(!Zt.call(e,n)||!Re(t[n],e[n]))return!1}return!0}function ro(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function oo(t,e){var a=ro(t);t=0;for(var l;a;){if(a.nodeType===3){if(l=t+a.textContent.length,t<=e&&l>=e)return{node:a,offset:e-t};t=l}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=ro(a)}}function fo(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?fo(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function ho(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=mi(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=mi(t.document)}return e}function ec(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var z0=ra&&"documentMode"in document&&11>=document.documentMode,zl=null,ac=null,Sn=null,lc=!1;function mo(t,e,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;lc||zl==null||zl!==mi(l)||(l=zl,"selectionStart"in l&&ec(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Sn&&bn(Sn,l)||(Sn=l,l=ru(ac,"onSelect"),0<l.length&&(e=new bi("onSelect","select",null,e,a),t.push({event:e,listeners:l}),e.target=zl)))}function ll(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}var Rl={animationend:ll("Animation","AnimationEnd"),animationiteration:ll("Animation","AnimationIteration"),animationstart:ll("Animation","AnimationStart"),transitionrun:ll("Transition","TransitionRun"),transitionstart:ll("Transition","TransitionStart"),transitioncancel:ll("Transition","TransitionCancel"),transitionend:ll("Transition","TransitionEnd")},nc={},yo={};ra&&(yo=document.createElement("div").style,"AnimationEvent"in window||(delete Rl.animationend.animation,delete Rl.animationiteration.animation,delete Rl.animationstart.animation),"TransitionEvent"in window||delete Rl.transitionend.transition);function nl(t){if(nc[t])return nc[t];if(!Rl[t])return t;var e=Rl[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in yo)return nc[t]=e[a];return t}var go=nl("animationend"),po=nl("animationiteration"),vo=nl("animationstart"),R0=nl("transitionrun"),D0=nl("transitionstart"),w0=nl("transitioncancel"),bo=nl("transitionend"),So=new Map,ic="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(" ");ic.push("scrollEnd");function $e(t,e){So.set(t,e),el(e,[t])}var xi=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},qe=[],Dl=0,uc=0;function Ai(){for(var t=Dl,e=uc=Dl=0;e<t;){var a=qe[e];qe[e++]=null;var l=qe[e];qe[e++]=null;var n=qe[e];qe[e++]=null;var i=qe[e];if(qe[e++]=null,l!==null&&n!==null){var o=l.pending;o===null?n.next=n:(n.next=o.next,o.next=n),l.pending=n}i!==0&&Eo(a,n,i)}}function _i(t,e,a,l){qe[Dl++]=t,qe[Dl++]=e,qe[Dl++]=a,qe[Dl++]=l,uc|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function cc(t,e,a,l){return _i(t,e,a,l),Ti(t)}function il(t,e){return _i(t,null,null,e),Ti(t)}function Eo(t,e,a){t.lanes|=a;var l=t.alternate;l!==null&&(l.lanes|=a);for(var n=!1,i=t.return;i!==null;)i.childLanes|=a,l=i.alternate,l!==null&&(l.childLanes|=a),i.tag===22&&(t=i.stateNode,t===null||t._visibility&1||(n=!0)),t=i,i=i.return;return t.tag===3?(i=t.stateNode,n&&e!==null&&(n=31-ze(a),t=i.hiddenUpdates,l=t[n],l===null?t[n]=[e]:l.push(e),e.lane=a|536870912),i):null}function Ti(t){if(50<Gn)throw Gn=0,gs=null,Error(s(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var wl={};function O0(t,e,a,l){this.tag=t,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function De(t,e,a,l){return new O0(t,e,a,l)}function sc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function oa(t,e){var a=t.alternate;return a===null?(a=De(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a}function xo(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Mi(t,e,a,l,n,i){var o=0;if(l=t,typeof t=="function")sc(t)&&(o=1);else if(typeof t=="string")o=Hy(t,a,F.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Gt:return t=De(31,a,e,n),t.elementType=Gt,t.lanes=i,t;case Z:return ul(a.children,n,i,e);case X:o=8,n|=24;break;case L:return t=De(12,a,e,n|2),t.elementType=L,t.lanes=i,t;case P:return t=De(13,a,e,n),t.elementType=P,t.lanes=i,t;case at:return t=De(19,a,e,n),t.elementType=at,t.lanes=i,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case V:o=10;break t;case m:o=9;break t;case G:o=11;break t;case tt:o=14;break t;case xt:o=16,l=null;break t}o=29,a=Error(s(130,t===null?"null":typeof t,"")),l=null}return e=De(o,a,e,n),e.elementType=t,e.type=l,e.lanes=i,e}function ul(t,e,a,l){return t=De(7,t,l,e),t.lanes=a,t}function rc(t,e,a){return t=De(6,t,null,e),t.lanes=a,t}function Ao(t){var e=De(18,null,null,0);return e.stateNode=t,e}function oc(t,e,a){return e=De(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var _o=new WeakMap;function Ye(t,e){if(typeof t=="object"&&t!==null){var a=_o.get(t);return a!==void 0?a:(e={value:t,source:e,stack:_e(e)},_o.set(t,e),e)}return{value:t,source:e,stack:_e(e)}}var Ol=[],Nl=0,Ci=null,En=0,Ve=[],Ge=0,Da=null,ta=1,ea="";function fa(t,e){Ol[Nl++]=En,Ol[Nl++]=Ci,Ci=t,En=e}function To(t,e,a){Ve[Ge++]=ta,Ve[Ge++]=ea,Ve[Ge++]=Da,Da=t;var l=ta;t=ea;var n=32-ze(l)-1;l&=~(1<<n),a+=1;var i=32-ze(e)+n;if(30<i){var o=n-n%5;i=(l&(1<<o)-1).toString(32),l>>=o,n-=o,ta=1<<32-ze(e)+n|a<<n|l,ea=i+t}else ta=1<<i|a<<n|l,ea=t}function fc(t){t.return!==null&&(fa(t,1),To(t,1,0))}function dc(t){for(;t===Ci;)Ci=Ol[--Nl],Ol[Nl]=null,En=Ol[--Nl],Ol[Nl]=null;for(;t===Da;)Da=Ve[--Ge],Ve[Ge]=null,ea=Ve[--Ge],Ve[Ge]=null,ta=Ve[--Ge],Ve[Ge]=null}function Mo(t,e){Ve[Ge++]=ta,Ve[Ge++]=ea,Ve[Ge++]=Da,ta=e.id,ea=e.overflow,Da=t}var re=null,Ht=null,vt=!1,wa=null,Xe=!1,hc=Error(s(519));function Oa(t){var e=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw xn(Ye(e,t)),hc}function Co(t){var e=t.stateNode,a=t.type,l=t.memoizedProps;switch(e[se]=t,e[ge]=l,a){case"dialog":yt("cancel",e),yt("close",e);break;case"iframe":case"object":case"embed":yt("load",e);break;case"video":case"audio":for(a=0;a<Qn.length;a++)yt(Qn[a],e);break;case"source":yt("error",e);break;case"img":case"image":case"link":yt("error",e),yt("load",e);break;case"details":yt("toggle",e);break;case"input":yt("invalid",e),qr(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":yt("invalid",e);break;case"textarea":yt("invalid",e),Vr(e,l.value,l.defaultValue,l.children)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||l.suppressHydrationWarning===!0||Zd(e.textContent,a)?(l.popover!=null&&(yt("beforetoggle",e),yt("toggle",e)),l.onScroll!=null&&yt("scroll",e),l.onScrollEnd!=null&&yt("scrollend",e),l.onClick!=null&&(e.onclick=sa),e=!0):e=!1,e||Oa(t,!0)}function zo(t){for(re=t.return;re;)switch(re.tag){case 5:case 31:case 13:Xe=!1;return;case 27:case 3:Xe=!0;return;default:re=re.return}}function jl(t){if(t!==re)return!1;if(!vt)return zo(t),vt=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||ws(t.type,t.memoizedProps)),a=!a),a&&Ht&&Oa(t),zo(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));Ht=th(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));Ht=th(t)}else e===27?(e=Ht,ka(t.type)?(t=Ls,Ls=null,Ht=t):Ht=e):Ht=re?Ze(t.stateNode.nextSibling):null;return!0}function cl(){Ht=re=null,vt=!1}function mc(){var t=wa;return t!==null&&(Ee===null?Ee=t:Ee.push.apply(Ee,t),wa=null),t}function xn(t){wa===null?wa=[t]:wa.push(t)}var yc=E(null),sl=null,da=null;function Na(t,e,a){Q(yc,e._currentValue),e._currentValue=a}function ha(t){t._currentValue=yc.current,B(yc)}function gc(t,e,a){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===a)break;t=t.return}}function pc(t,e,a,l){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var i=n.dependencies;if(i!==null){var o=n.child;i=i.firstContext;t:for(;i!==null;){var d=i;i=n;for(var p=0;p<e.length;p++)if(d.context===e[p]){i.lanes|=a,d=i.alternate,d!==null&&(d.lanes|=a),gc(i.return,a,t),l||(o=null);break t}i=d.next}}else if(n.tag===18){if(o=n.return,o===null)throw Error(s(341));o.lanes|=a,i=o.alternate,i!==null&&(i.lanes|=a),gc(o,a,t),o=null}else o=n.child;if(o!==null)o.return=n;else for(o=n;o!==null;){if(o===t){o=null;break}if(n=o.sibling,n!==null){n.return=o.return,o=n;break}o=o.return}n=o}}function Ul(t,e,a,l){t=null;for(var n=e,i=!1;n!==null;){if(!i){if((n.flags&524288)!==0)i=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var o=n.alternate;if(o===null)throw Error(s(387));if(o=o.memoizedProps,o!==null){var d=n.type;Re(n.pendingProps.value,o.value)||(t!==null?t.push(d):t=[d])}}else if(n===O.current){if(o=n.alternate,o===null)throw Error(s(387));o.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push($n):t=[$n])}n=n.return}t!==null&&pc(e,t,a,l),e.flags|=262144}function zi(t){for(t=t.firstContext;t!==null;){if(!Re(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function rl(t){sl=t,da=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function oe(t){return Ro(sl,t)}function Ri(t,e){return sl===null&&rl(t),Ro(t,e)}function Ro(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},da===null){if(t===null)throw Error(s(308));da=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else da=da.next=e;return a}var N0=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},j0=u.unstable_scheduleCallback,U0=u.unstable_NormalPriority,Pt={$$typeof:V,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vc(){return{controller:new N0,data:new Map,refCount:0}}function An(t){t.refCount--,t.refCount===0&&j0(U0,function(){t.controller.abort()})}var _n=null,bc=0,Ll=0,Hl=null;function L0(t,e){if(_n===null){var a=_n=[];bc=0,Ll=xs(),Hl={status:"pending",value:void 0,then:function(l){a.push(l)}}}return bc++,e.then(Do,Do),e}function Do(){if(--bc===0&&_n!==null){Hl!==null&&(Hl.status="fulfilled");var t=_n;_n=null,Ll=0,Hl=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function H0(t,e){var a=[],l={status:"pending",value:null,reason:null,then:function(n){a.push(n)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var n=0;n<a.length;n++)(0,a[n])(e)},function(n){for(l.status="rejected",l.reason=n,n=0;n<a.length;n++)(0,a[n])(void 0)}),l}var wo=b.S;b.S=function(t,e){yd=kt(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&L0(t,e),wo!==null&&wo(t,e)};var ol=E(null);function Sc(){var t=ol.current;return t!==null?t:Ut.pooledCache}function Di(t,e){e===null?Q(ol,ol.current):Q(ol,e.pool)}function Oo(){var t=Sc();return t===null?null:{parent:Pt._currentValue,pool:t}}var Bl=Error(s(460)),Ec=Error(s(474)),wi=Error(s(542)),Oi={then:function(){}};function No(t){return t=t.status,t==="fulfilled"||t==="rejected"}function jo(t,e,a){switch(a=t[a],a===void 0?t.push(e):a!==e&&(e.then(sa,sa),e=a),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Lo(t),t;default:if(typeof e.status=="string")e.then(sa,sa);else{if(t=Ut,t!==null&&100<t.shellSuspendCounter)throw Error(s(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=l}},function(l){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Lo(t),t}throw dl=e,Bl}}function fl(t){try{var e=t._init;return e(t._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(dl=a,Bl):a}}var dl=null;function Uo(){if(dl===null)throw Error(s(459));var t=dl;return dl=null,t}function Lo(t){if(t===Bl||t===wi)throw Error(s(483))}var ql=null,Tn=0;function Ni(t){var e=Tn;return Tn+=1,ql===null&&(ql=[]),jo(ql,t,e)}function Mn(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function ji(t,e){throw e.$$typeof===q?Error(s(525)):(t=Object.prototype.toString.call(e),Error(s(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Ho(t){function e(T,S){if(t){var C=T.deletions;C===null?(T.deletions=[S],T.flags|=16):C.push(S)}}function a(T,S){if(!t)return null;for(;S!==null;)e(T,S),S=S.sibling;return null}function l(T){for(var S=new Map;T!==null;)T.key!==null?S.set(T.key,T):S.set(T.index,T),T=T.sibling;return S}function n(T,S){return T=oa(T,S),T.index=0,T.sibling=null,T}function i(T,S,C){return T.index=C,t?(C=T.alternate,C!==null?(C=C.index,C<S?(T.flags|=67108866,S):C):(T.flags|=67108866,S)):(T.flags|=1048576,S)}function o(T){return t&&T.alternate===null&&(T.flags|=67108866),T}function d(T,S,C,U){return S===null||S.tag!==6?(S=rc(C,T.mode,U),S.return=T,S):(S=n(S,C),S.return=T,S)}function p(T,S,C,U){var nt=C.type;return nt===Z?N(T,S,C.props.children,U,C.key):S!==null&&(S.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===xt&&fl(nt)===S.type)?(S=n(S,C.props),Mn(S,C),S.return=T,S):(S=Mi(C.type,C.key,C.props,null,T.mode,U),Mn(S,C),S.return=T,S)}function z(T,S,C,U){return S===null||S.tag!==4||S.stateNode.containerInfo!==C.containerInfo||S.stateNode.implementation!==C.implementation?(S=oc(C,T.mode,U),S.return=T,S):(S=n(S,C.children||[]),S.return=T,S)}function N(T,S,C,U,nt){return S===null||S.tag!==7?(S=ul(C,T.mode,U,nt),S.return=T,S):(S=n(S,C),S.return=T,S)}function H(T,S,C){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return S=rc(""+S,T.mode,C),S.return=T,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case $:return C=Mi(S.type,S.key,S.props,null,T.mode,C),Mn(C,S),C.return=T,C;case W:return S=oc(S,T.mode,C),S.return=T,S;case xt:return S=fl(S),H(T,S,C)}if(Lt(S)||Ft(S))return S=ul(S,T.mode,C,null),S.return=T,S;if(typeof S.then=="function")return H(T,Ni(S),C);if(S.$$typeof===V)return H(T,Ri(T,S),C);ji(T,S)}return null}function R(T,S,C,U){var nt=S!==null?S.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return nt!==null?null:d(T,S,""+C,U);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case $:return C.key===nt?p(T,S,C,U):null;case W:return C.key===nt?z(T,S,C,U):null;case xt:return C=fl(C),R(T,S,C,U)}if(Lt(C)||Ft(C))return nt!==null?null:N(T,S,C,U,null);if(typeof C.then=="function")return R(T,S,Ni(C),U);if(C.$$typeof===V)return R(T,S,Ri(T,C),U);ji(T,C)}return null}function w(T,S,C,U,nt){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return T=T.get(C)||null,d(S,T,""+U,nt);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case $:return T=T.get(U.key===null?C:U.key)||null,p(S,T,U,nt);case W:return T=T.get(U.key===null?C:U.key)||null,z(S,T,U,nt);case xt:return U=fl(U),w(T,S,C,U,nt)}if(Lt(U)||Ft(U))return T=T.get(C)||null,N(S,T,U,nt,null);if(typeof U.then=="function")return w(T,S,C,Ni(U),nt);if(U.$$typeof===V)return w(T,S,C,Ri(S,U),nt);ji(S,U)}return null}function K(T,S,C,U){for(var nt=null,St=null,et=S,ft=S=0,pt=null;et!==null&&ft<C.length;ft++){et.index>ft?(pt=et,et=null):pt=et.sibling;var Et=R(T,et,C[ft],U);if(Et===null){et===null&&(et=pt);break}t&&et&&Et.alternate===null&&e(T,et),S=i(Et,S,ft),St===null?nt=Et:St.sibling=Et,St=Et,et=pt}if(ft===C.length)return a(T,et),vt&&fa(T,ft),nt;if(et===null){for(;ft<C.length;ft++)et=H(T,C[ft],U),et!==null&&(S=i(et,S,ft),St===null?nt=et:St.sibling=et,St=et);return vt&&fa(T,ft),nt}for(et=l(et);ft<C.length;ft++)pt=w(et,T,ft,C[ft],U),pt!==null&&(t&&pt.alternate!==null&&et.delete(pt.key===null?ft:pt.key),S=i(pt,S,ft),St===null?nt=pt:St.sibling=pt,St=pt);return t&&et.forEach(function(Fa){return e(T,Fa)}),vt&&fa(T,ft),nt}function ct(T,S,C,U){if(C==null)throw Error(s(151));for(var nt=null,St=null,et=S,ft=S=0,pt=null,Et=C.next();et!==null&&!Et.done;ft++,Et=C.next()){et.index>ft?(pt=et,et=null):pt=et.sibling;var Fa=R(T,et,Et.value,U);if(Fa===null){et===null&&(et=pt);break}t&&et&&Fa.alternate===null&&e(T,et),S=i(Fa,S,ft),St===null?nt=Fa:St.sibling=Fa,St=Fa,et=pt}if(Et.done)return a(T,et),vt&&fa(T,ft),nt;if(et===null){for(;!Et.done;ft++,Et=C.next())Et=H(T,Et.value,U),Et!==null&&(S=i(Et,S,ft),St===null?nt=Et:St.sibling=Et,St=Et);return vt&&fa(T,ft),nt}for(et=l(et);!Et.done;ft++,Et=C.next())Et=w(et,T,ft,Et.value,U),Et!==null&&(t&&Et.alternate!==null&&et.delete(Et.key===null?ft:Et.key),S=i(Et,S,ft),St===null?nt=Et:St.sibling=Et,St=Et);return t&&et.forEach(function(Ky){return e(T,Ky)}),vt&&fa(T,ft),nt}function Nt(T,S,C,U){if(typeof C=="object"&&C!==null&&C.type===Z&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case $:t:{for(var nt=C.key;S!==null;){if(S.key===nt){if(nt=C.type,nt===Z){if(S.tag===7){a(T,S.sibling),U=n(S,C.props.children),U.return=T,T=U;break t}}else if(S.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===xt&&fl(nt)===S.type){a(T,S.sibling),U=n(S,C.props),Mn(U,C),U.return=T,T=U;break t}a(T,S);break}else e(T,S);S=S.sibling}C.type===Z?(U=ul(C.props.children,T.mode,U,C.key),U.return=T,T=U):(U=Mi(C.type,C.key,C.props,null,T.mode,U),Mn(U,C),U.return=T,T=U)}return o(T);case W:t:{for(nt=C.key;S!==null;){if(S.key===nt)if(S.tag===4&&S.stateNode.containerInfo===C.containerInfo&&S.stateNode.implementation===C.implementation){a(T,S.sibling),U=n(S,C.children||[]),U.return=T,T=U;break t}else{a(T,S);break}else e(T,S);S=S.sibling}U=oc(C,T.mode,U),U.return=T,T=U}return o(T);case xt:return C=fl(C),Nt(T,S,C,U)}if(Lt(C))return K(T,S,C,U);if(Ft(C)){if(nt=Ft(C),typeof nt!="function")throw Error(s(150));return C=nt.call(C),ct(T,S,C,U)}if(typeof C.then=="function")return Nt(T,S,Ni(C),U);if(C.$$typeof===V)return Nt(T,S,Ri(T,C),U);ji(T,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,S!==null&&S.tag===6?(a(T,S.sibling),U=n(S,C),U.return=T,T=U):(a(T,S),U=rc(C,T.mode,U),U.return=T,T=U),o(T)):a(T,S)}return function(T,S,C,U){try{Tn=0;var nt=Nt(T,S,C,U);return ql=null,nt}catch(et){if(et===Bl||et===wi)throw et;var St=De(29,et,null,T.mode);return St.lanes=U,St.return=T,St}finally{}}}var hl=Ho(!0),Bo=Ho(!1),ja=!1;function xc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ac(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Ua(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function La(t,e,a){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(_t&2)!==0){var n=l.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),l.pending=e,e=Ti(t),Eo(t,null,a),e}return _i(t,l,e,a),Ti(t)}function Cn(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,zr(t,a)}}function _c(t,e){var a=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var n=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var o={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};i===null?n=i=o:i=i.next=o,a=a.next}while(a!==null);i===null?n=i=e:i=i.next=e}else n=i=e;a={baseState:l.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:l.shared,callbacks:l.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}var Tc=!1;function zn(){if(Tc){var t=Hl;if(t!==null)throw t}}function Rn(t,e,a,l){Tc=!1;var n=t.updateQueue;ja=!1;var i=n.firstBaseUpdate,o=n.lastBaseUpdate,d=n.shared.pending;if(d!==null){n.shared.pending=null;var p=d,z=p.next;p.next=null,o===null?i=z:o.next=z,o=p;var N=t.alternate;N!==null&&(N=N.updateQueue,d=N.lastBaseUpdate,d!==o&&(d===null?N.firstBaseUpdate=z:d.next=z,N.lastBaseUpdate=p))}if(i!==null){var H=n.baseState;o=0,N=z=p=null,d=i;do{var R=d.lane&-536870913,w=R!==d.lane;if(w?(gt&R)===R:(l&R)===R){R!==0&&R===Ll&&(Tc=!0),N!==null&&(N=N.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});t:{var K=t,ct=d;R=e;var Nt=a;switch(ct.tag){case 1:if(K=ct.payload,typeof K=="function"){H=K.call(Nt,H,R);break t}H=K;break t;case 3:K.flags=K.flags&-65537|128;case 0:if(K=ct.payload,R=typeof K=="function"?K.call(Nt,H,R):K,R==null)break t;H=M({},H,R);break t;case 2:ja=!0}}R=d.callback,R!==null&&(t.flags|=64,w&&(t.flags|=8192),w=n.callbacks,w===null?n.callbacks=[R]:w.push(R))}else w={lane:R,tag:d.tag,payload:d.payload,callback:d.callback,next:null},N===null?(z=N=w,p=H):N=N.next=w,o|=R;if(d=d.next,d===null){if(d=n.shared.pending,d===null)break;w=d,d=w.next,w.next=null,n.lastBaseUpdate=w,n.shared.pending=null}}while(!0);N===null&&(p=H),n.baseState=p,n.firstBaseUpdate=z,n.lastBaseUpdate=N,i===null&&(n.shared.lanes=0),Va|=o,t.lanes=o,t.memoizedState=H}}function qo(t,e){if(typeof t!="function")throw Error(s(191,t));t.call(e)}function Yo(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)qo(a[t],e)}var Yl=E(null),Ui=E(0);function Vo(t,e){t=xa,Q(Ui,t),Q(Yl,e),xa=t|e.baseLanes}function Mc(){Q(Ui,xa),Q(Yl,Yl.current)}function Cc(){xa=Ui.current,B(Yl),B(Ui)}var we=E(null),Qe=null;function Ha(t){var e=t.alternate;Q($t,$t.current&1),Q(we,t),Qe===null&&(e===null||Yl.current!==null||e.memoizedState!==null)&&(Qe=t)}function zc(t){Q($t,$t.current),Q(we,t),Qe===null&&(Qe=t)}function Go(t){t.tag===22?(Q($t,$t.current),Q(we,t),Qe===null&&(Qe=t)):Ba()}function Ba(){Q($t,$t.current),Q(we,we.current)}function Oe(t){B(we),Qe===t&&(Qe=null),B($t)}var $t=E(0);function Li(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||js(a)||Us(a)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var ma=0,ot=null,wt=null,It=null,Hi=!1,Vl=!1,ml=!1,Bi=0,Dn=0,Gl=null,B0=0;function Jt(){throw Error(s(321))}function Rc(t,e){if(e===null)return!1;for(var a=0;a<e.length&&a<t.length;a++)if(!Re(t[a],e[a]))return!1;return!0}function Dc(t,e,a,l,n,i){return ma=i,ot=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,b.H=t===null||t.memoizedState===null?Mf:Zc,ml=!1,i=a(l,n),ml=!1,Vl&&(i=Qo(e,a,l,n)),Xo(t),i}function Xo(t){b.H=Nn;var e=wt!==null&&wt.next!==null;if(ma=0,It=wt=ot=null,Hi=!1,Dn=0,Gl=null,e)throw Error(s(300));t===null||te||(t=t.dependencies,t!==null&&zi(t)&&(te=!0))}function Qo(t,e,a,l){ot=t;var n=0;do{if(Vl&&(Gl=null),Dn=0,Vl=!1,25<=n)throw Error(s(301));if(n+=1,It=wt=null,t.updateQueue!=null){var i=t.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}b.H=Cf,i=e(a,l)}while(Vl);return i}function q0(){var t=b.H,e=t.useState()[0];return e=typeof e.then=="function"?wn(e):e,t=t.useState()[0],(wt!==null?wt.memoizedState:null)!==t&&(ot.flags|=1024),e}function wc(){var t=Bi!==0;return Bi=0,t}function Oc(t,e,a){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a}function Nc(t){if(Hi){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Hi=!1}ma=0,It=wt=ot=null,Vl=!1,Dn=Bi=0,Gl=null}function ye(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return It===null?ot.memoizedState=It=t:It=It.next=t,It}function Wt(){if(wt===null){var t=ot.alternate;t=t!==null?t.memoizedState:null}else t=wt.next;var e=It===null?ot.memoizedState:It.next;if(e!==null)It=e,wt=t;else{if(t===null)throw ot.alternate===null?Error(s(467)):Error(s(310));wt=t,t={memoizedState:wt.memoizedState,baseState:wt.baseState,baseQueue:wt.baseQueue,queue:wt.queue,next:null},It===null?ot.memoizedState=It=t:It=It.next=t}return It}function qi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function wn(t){var e=Dn;return Dn+=1,Gl===null&&(Gl=[]),t=jo(Gl,t,e),e=ot,(It===null?e.memoizedState:It.next)===null&&(e=e.alternate,b.H=e===null||e.memoizedState===null?Mf:Zc),t}function Yi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return wn(t);if(t.$$typeof===V)return oe(t)}throw Error(s(438,String(t)))}function jc(t){var e=null,a=ot.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var l=ot.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=qi(),ot.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0)for(a=e.data[e.index]=Array(t),l=0;l<t;l++)a[l]=he;return e.index++,a}function ya(t,e){return typeof e=="function"?e(t):e}function Vi(t){var e=Wt();return Uc(e,wt,t)}function Uc(t,e,a){var l=t.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=a;var n=t.baseQueue,i=l.pending;if(i!==null){if(n!==null){var o=n.next;n.next=i.next,i.next=o}e.baseQueue=n=i,l.pending=null}if(i=t.baseState,n===null)t.memoizedState=i;else{e=n.next;var d=o=null,p=null,z=e,N=!1;do{var H=z.lane&-536870913;if(H!==z.lane?(gt&H)===H:(ma&H)===H){var R=z.revertLane;if(R===0)p!==null&&(p=p.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),H===Ll&&(N=!0);else if((ma&R)===R){z=z.next,R===Ll&&(N=!0);continue}else H={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},p===null?(d=p=H,o=i):p=p.next=H,ot.lanes|=R,Va|=R;H=z.action,ml&&a(i,H),i=z.hasEagerState?z.eagerState:a(i,H)}else R={lane:H,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},p===null?(d=p=R,o=i):p=p.next=R,ot.lanes|=H,Va|=H;z=z.next}while(z!==null&&z!==e);if(p===null?o=i:p.next=d,!Re(i,t.memoizedState)&&(te=!0,N&&(a=Hl,a!==null)))throw a;t.memoizedState=i,t.baseState=o,t.baseQueue=p,l.lastRenderedState=i}return n===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Lc(t){var e=Wt(),a=e.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=t;var l=a.dispatch,n=a.pending,i=e.memoizedState;if(n!==null){a.pending=null;var o=n=n.next;do i=t(i,o.action),o=o.next;while(o!==n);Re(i,e.memoizedState)||(te=!0),e.memoizedState=i,e.baseQueue===null&&(e.baseState=i),a.lastRenderedState=i}return[i,l]}function Zo(t,e,a){var l=ot,n=Wt(),i=vt;if(i){if(a===void 0)throw Error(s(407));a=a()}else a=e();var o=!Re((wt||n).memoizedState,a);if(o&&(n.memoizedState=a,te=!0),n=n.queue,qc(Ko.bind(null,l,n,t),[t]),n.getSnapshot!==e||o||It!==null&&It.memoizedState.tag&1){if(l.flags|=2048,Xl(9,{destroy:void 0},Jo.bind(null,l,n,a,e),null),Ut===null)throw Error(s(349));i||(ma&127)!==0||ko(l,e,a)}return a}function ko(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=ot.updateQueue,e===null?(e=qi(),ot.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function Jo(t,e,a,l){e.value=a,e.getSnapshot=l,$o(e)&&Wo(t)}function Ko(t,e,a){return a(function(){$o(e)&&Wo(t)})}function $o(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!Re(t,a)}catch{return!0}}function Wo(t){var e=il(t,2);e!==null&&xe(e,t,2)}function Hc(t){var e=ye();if(typeof t=="function"){var a=t;if(t=a(),ml){Ca(!0);try{a()}finally{Ca(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:t},e}function Fo(t,e,a,l){return t.baseState=a,Uc(t,wt,typeof l=="function"?l:ya)}function Y0(t,e,a,l,n){if(Qi(t))throw Error(s(485));if(t=e.action,t!==null){var i={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){i.listeners.push(o)}};b.T!==null?a(!0):i.isTransition=!1,l(i),a=e.pending,a===null?(i.next=e.pending=i,Po(e,i)):(i.next=a.next,e.pending=a.next=i)}}function Po(t,e){var a=e.action,l=e.payload,n=t.state;if(e.isTransition){var i=b.T,o={};b.T=o;try{var d=a(n,l),p=b.S;p!==null&&p(o,d),Io(t,e,d)}catch(z){Bc(t,e,z)}finally{i!==null&&o.types!==null&&(i.types=o.types),b.T=i}}else try{i=a(n,l),Io(t,e,i)}catch(z){Bc(t,e,z)}}function Io(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){tf(t,e,l)},function(l){return Bc(t,e,l)}):tf(t,e,a)}function tf(t,e,a){e.status="fulfilled",e.value=a,ef(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,Po(t,a)))}function Bc(t,e,a){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=a,ef(e),e=e.next;while(e!==l)}t.action=null}function ef(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function af(t,e){return e}function lf(t,e){if(vt){var a=Ut.formState;if(a!==null){t:{var l=ot;if(vt){if(Ht){e:{for(var n=Ht,i=Xe;n.nodeType!==8;){if(!i){n=null;break e}if(n=Ze(n.nextSibling),n===null){n=null;break e}}i=n.data,n=i==="F!"||i==="F"?n:null}if(n){Ht=Ze(n.nextSibling),l=n.data==="F!";break t}}Oa(l)}l=!1}l&&(e=a[0])}}return a=ye(),a.memoizedState=a.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:af,lastRenderedState:e},a.queue=l,a=Af.bind(null,ot,l),l.dispatch=a,l=Hc(!1),i=Qc.bind(null,ot,!1,l.queue),l=ye(),n={state:e,dispatch:null,action:t,pending:null},l.queue=n,a=Y0.bind(null,ot,n,i,a),n.dispatch=a,l.memoizedState=t,[e,a,!1]}function nf(t){var e=Wt();return uf(e,wt,t)}function uf(t,e,a){if(e=Uc(t,e,af)[0],t=Vi(ya)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=wn(e)}catch(o){throw o===Bl?wi:o}else l=e;e=Wt();var n=e.queue,i=n.dispatch;return a!==e.memoizedState&&(ot.flags|=2048,Xl(9,{destroy:void 0},V0.bind(null,n,a),null)),[l,i,t]}function V0(t,e){t.action=e}function cf(t){var e=Wt(),a=wt;if(a!==null)return uf(e,a,t);Wt(),e=e.memoizedState,a=Wt();var l=a.queue.dispatch;return a.memoizedState=t,[e,l,!1]}function Xl(t,e,a,l){return t={tag:t,create:a,deps:l,inst:e,next:null},e=ot.updateQueue,e===null&&(e=qi(),ot.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(l=a.next,a.next=t,t.next=l,e.lastEffect=t),t}function sf(){return Wt().memoizedState}function Gi(t,e,a,l){var n=ye();ot.flags|=t,n.memoizedState=Xl(1|e,{destroy:void 0},a,l===void 0?null:l)}function Xi(t,e,a,l){var n=Wt();l=l===void 0?null:l;var i=n.memoizedState.inst;wt!==null&&l!==null&&Rc(l,wt.memoizedState.deps)?n.memoizedState=Xl(e,i,a,l):(ot.flags|=t,n.memoizedState=Xl(1|e,i,a,l))}function rf(t,e){Gi(8390656,8,t,e)}function qc(t,e){Xi(2048,8,t,e)}function G0(t){ot.flags|=4;var e=ot.updateQueue;if(e===null)e=qi(),ot.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function of(t){var e=Wt().memoizedState;return G0({ref:e,nextImpl:t}),function(){if((_t&2)!==0)throw Error(s(440));return e.impl.apply(void 0,arguments)}}function ff(t,e){return Xi(4,2,t,e)}function df(t,e){return Xi(4,4,t,e)}function hf(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function mf(t,e,a){a=a!=null?a.concat([t]):null,Xi(4,4,hf.bind(null,e,t),a)}function Yc(){}function yf(t,e){var a=Wt();e=e===void 0?null:e;var l=a.memoizedState;return e!==null&&Rc(e,l[1])?l[0]:(a.memoizedState=[t,e],t)}function gf(t,e){var a=Wt();e=e===void 0?null:e;var l=a.memoizedState;if(e!==null&&Rc(e,l[1]))return l[0];if(l=t(),ml){Ca(!0);try{t()}finally{Ca(!1)}}return a.memoizedState=[l,e],l}function Vc(t,e,a){return a===void 0||(ma&1073741824)!==0&&(gt&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=pd(),ot.lanes|=t,Va|=t,a)}function pf(t,e,a,l){return Re(a,e)?a:Yl.current!==null?(t=Vc(t,a,l),Re(t,e)||(te=!0),t):(ma&42)===0||(ma&1073741824)!==0&&(gt&261930)===0?(te=!0,t.memoizedState=a):(t=pd(),ot.lanes|=t,Va|=t,e)}function vf(t,e,a,l,n){var i=Y.p;Y.p=i!==0&&8>i?i:8;var o=b.T,d={};b.T=d,Qc(t,!1,e,a);try{var p=n(),z=b.S;if(z!==null&&z(d,p),p!==null&&typeof p=="object"&&typeof p.then=="function"){var N=H0(p,l);On(t,e,N,Ue(t))}else On(t,e,l,Ue(t))}catch(H){On(t,e,{then:function(){},status:"rejected",reason:H},Ue())}finally{Y.p=i,o!==null&&d.types!==null&&(o.types=d.types),b.T=o}}function X0(){}function Gc(t,e,a,l){if(t.tag!==5)throw Error(s(476));var n=bf(t).queue;vf(t,n,e,k,a===null?X0:function(){return Sf(t),a(l)})}function bf(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:k,baseState:k,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:k},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Sf(t){var e=bf(t);e.next===null&&(e=t.alternate.memoizedState),On(t,e.next.queue,{},Ue())}function Xc(){return oe($n)}function Ef(){return Wt().memoizedState}function xf(){return Wt().memoizedState}function Q0(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=Ue();t=Ua(a);var l=La(e,t,a);l!==null&&(xe(l,e,a),Cn(l,e,a)),e={cache:vc()},t.payload=e;return}e=e.return}}function Z0(t,e,a){var l=Ue();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Qi(t)?_f(e,a):(a=cc(t,e,a,l),a!==null&&(xe(a,t,l),Tf(a,e,l)))}function Af(t,e,a){var l=Ue();On(t,e,a,l)}function On(t,e,a,l){var n={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Qi(t))_f(e,n);else{var i=t.alternate;if(t.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var o=e.lastRenderedState,d=i(o,a);if(n.hasEagerState=!0,n.eagerState=d,Re(d,o))return _i(t,e,n,0),Ut===null&&Ai(),!1}catch{}finally{}if(a=cc(t,e,n,l),a!==null)return xe(a,t,l),Tf(a,e,l),!0}return!1}function Qc(t,e,a,l){if(l={lane:2,revertLane:xs(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Qi(t)){if(e)throw Error(s(479))}else e=cc(t,a,l,2),e!==null&&xe(e,t,2)}function Qi(t){var e=t.alternate;return t===ot||e!==null&&e===ot}function _f(t,e){Vl=Hi=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Tf(t,e,a){if((a&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,zr(t,a)}}var Nn={readContext:oe,use:Yi,useCallback:Jt,useContext:Jt,useEffect:Jt,useImperativeHandle:Jt,useLayoutEffect:Jt,useInsertionEffect:Jt,useMemo:Jt,useReducer:Jt,useRef:Jt,useState:Jt,useDebugValue:Jt,useDeferredValue:Jt,useTransition:Jt,useSyncExternalStore:Jt,useId:Jt,useHostTransitionStatus:Jt,useFormState:Jt,useActionState:Jt,useOptimistic:Jt,useMemoCache:Jt,useCacheRefresh:Jt};Nn.useEffectEvent=Jt;var Mf={readContext:oe,use:Yi,useCallback:function(t,e){return ye().memoizedState=[t,e===void 0?null:e],t},useContext:oe,useEffect:rf,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,Gi(4194308,4,hf.bind(null,e,t),a)},useLayoutEffect:function(t,e){return Gi(4194308,4,t,e)},useInsertionEffect:function(t,e){Gi(4,2,t,e)},useMemo:function(t,e){var a=ye();e=e===void 0?null:e;var l=t();if(ml){Ca(!0);try{t()}finally{Ca(!1)}}return a.memoizedState=[l,e],l},useReducer:function(t,e,a){var l=ye();if(a!==void 0){var n=a(e);if(ml){Ca(!0);try{a(e)}finally{Ca(!1)}}}else n=e;return l.memoizedState=l.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},l.queue=t,t=t.dispatch=Z0.bind(null,ot,t),[l.memoizedState,t]},useRef:function(t){var e=ye();return t={current:t},e.memoizedState=t},useState:function(t){t=Hc(t);var e=t.queue,a=Af.bind(null,ot,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:Yc,useDeferredValue:function(t,e){var a=ye();return Vc(a,t,e)},useTransition:function(){var t=Hc(!1);return t=vf.bind(null,ot,t.queue,!0,!1),ye().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var l=ot,n=ye();if(vt){if(a===void 0)throw Error(s(407));a=a()}else{if(a=e(),Ut===null)throw Error(s(349));(gt&127)!==0||ko(l,e,a)}n.memoizedState=a;var i={value:a,getSnapshot:e};return n.queue=i,rf(Ko.bind(null,l,i,t),[t]),l.flags|=2048,Xl(9,{destroy:void 0},Jo.bind(null,l,i,a,e),null),a},useId:function(){var t=ye(),e=Ut.identifierPrefix;if(vt){var a=ea,l=ta;a=(l&~(1<<32-ze(l)-1)).toString(32)+a,e="_"+e+"R_"+a,a=Bi++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=B0++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Xc,useFormState:lf,useActionState:lf,useOptimistic:function(t){var e=ye();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Qc.bind(null,ot,!0,a),a.dispatch=e,[t,e]},useMemoCache:jc,useCacheRefresh:function(){return ye().memoizedState=Q0.bind(null,ot)},useEffectEvent:function(t){var e=ye(),a={impl:t};return e.memoizedState=a,function(){if((_t&2)!==0)throw Error(s(440));return a.impl.apply(void 0,arguments)}}},Zc={readContext:oe,use:Yi,useCallback:yf,useContext:oe,useEffect:qc,useImperativeHandle:mf,useInsertionEffect:ff,useLayoutEffect:df,useMemo:gf,useReducer:Vi,useRef:sf,useState:function(){return Vi(ya)},useDebugValue:Yc,useDeferredValue:function(t,e){var a=Wt();return pf(a,wt.memoizedState,t,e)},useTransition:function(){var t=Vi(ya)[0],e=Wt().memoizedState;return[typeof t=="boolean"?t:wn(t),e]},useSyncExternalStore:Zo,useId:Ef,useHostTransitionStatus:Xc,useFormState:nf,useActionState:nf,useOptimistic:function(t,e){var a=Wt();return Fo(a,wt,t,e)},useMemoCache:jc,useCacheRefresh:xf};Zc.useEffectEvent=of;var Cf={readContext:oe,use:Yi,useCallback:yf,useContext:oe,useEffect:qc,useImperativeHandle:mf,useInsertionEffect:ff,useLayoutEffect:df,useMemo:gf,useReducer:Lc,useRef:sf,useState:function(){return Lc(ya)},useDebugValue:Yc,useDeferredValue:function(t,e){var a=Wt();return wt===null?Vc(a,t,e):pf(a,wt.memoizedState,t,e)},useTransition:function(){var t=Lc(ya)[0],e=Wt().memoizedState;return[typeof t=="boolean"?t:wn(t),e]},useSyncExternalStore:Zo,useId:Ef,useHostTransitionStatus:Xc,useFormState:cf,useActionState:cf,useOptimistic:function(t,e){var a=Wt();return wt!==null?Fo(a,wt,t,e):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:jc,useCacheRefresh:xf};Cf.useEffectEvent=of;function kc(t,e,a,l){e=t.memoizedState,a=a(l,e),a=a==null?e:M({},e,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var Jc={enqueueSetState:function(t,e,a){t=t._reactInternals;var l=Ue(),n=Ua(l);n.payload=e,a!=null&&(n.callback=a),e=La(t,n,l),e!==null&&(xe(e,t,l),Cn(e,t,l))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var l=Ue(),n=Ua(l);n.tag=1,n.payload=e,a!=null&&(n.callback=a),e=La(t,n,l),e!==null&&(xe(e,t,l),Cn(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=Ue(),l=Ua(a);l.tag=2,e!=null&&(l.callback=e),e=La(t,l,a),e!==null&&(xe(e,t,a),Cn(e,t,a))}};function zf(t,e,a,l,n,i,o){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,i,o):e.prototype&&e.prototype.isPureReactComponent?!bn(a,l)||!bn(n,i):!0}function Rf(t,e,a,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,l),e.state!==t&&Jc.enqueueReplaceState(e,e.state,null)}function yl(t,e){var a=e;if("ref"in e){a={};for(var l in e)l!=="ref"&&(a[l]=e[l])}if(t=t.defaultProps){a===e&&(a=M({},a));for(var n in t)a[n]===void 0&&(a[n]=t[n])}return a}function Df(t){xi(t)}function wf(t){console.error(t)}function Of(t){xi(t)}function Zi(t,e){try{var a=t.onUncaughtError;a(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Nf(t,e,a){try{var l=t.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Kc(t,e,a){return a=Ua(a),a.tag=3,a.payload={element:null},a.callback=function(){Zi(t,e)},a}function jf(t){return t=Ua(t),t.tag=3,t}function Uf(t,e,a,l){var n=a.type.getDerivedStateFromError;if(typeof n=="function"){var i=l.value;t.payload=function(){return n(i)},t.callback=function(){Nf(e,a,l)}}var o=a.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){Nf(e,a,l),typeof n!="function"&&(Ga===null?Ga=new Set([this]):Ga.add(this));var d=l.stack;this.componentDidCatch(l.value,{componentStack:d!==null?d:""})})}function k0(t,e,a,l,n){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=a.alternate,e!==null&&Ul(e,a,n,!0),a=we.current,a!==null){switch(a.tag){case 31:case 13:return Qe===null?lu():a.alternate===null&&Kt===0&&(Kt=3),a.flags&=-257,a.flags|=65536,a.lanes=n,l===Oi?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([l]):e.add(l),bs(t,l,n)),!1;case 22:return a.flags|=65536,l===Oi?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([l]):a.add(l)),bs(t,l,n)),!1}throw Error(s(435,a.tag))}return bs(t,l,n),lu(),!1}if(vt)return e=we.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,l!==hc&&(t=Error(s(422),{cause:l}),xn(Ye(t,a)))):(l!==hc&&(e=Error(s(423),{cause:l}),xn(Ye(e,a))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,l=Ye(l,a),n=Kc(t.stateNode,l,n),_c(t,n),Kt!==4&&(Kt=2)),!1;var i=Error(s(520),{cause:l});if(i=Ye(i,a),Vn===null?Vn=[i]:Vn.push(i),Kt!==4&&(Kt=2),e===null)return!0;l=Ye(l,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=n&-n,a.lanes|=t,t=Kc(a.stateNode,l,t),_c(a,t),!1;case 1:if(e=a.type,i=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Ga===null||!Ga.has(i))))return a.flags|=65536,n&=-n,a.lanes|=n,n=jf(n),Uf(n,t,a,l),_c(a,n),!1}a=a.return}while(a!==null);return!1}var $c=Error(s(461)),te=!1;function fe(t,e,a,l){e.child=t===null?Bo(e,null,a,l):hl(e,t.child,a,l)}function Lf(t,e,a,l,n){a=a.render;var i=e.ref;if("ref"in l){var o={};for(var d in l)d!=="ref"&&(o[d]=l[d])}else o=l;return rl(e),l=Dc(t,e,a,o,i,n),d=wc(),t!==null&&!te?(Oc(t,e,n),ga(t,e,n)):(vt&&d&&fc(e),e.flags|=1,fe(t,e,l,n),e.child)}function Hf(t,e,a,l,n){if(t===null){var i=a.type;return typeof i=="function"&&!sc(i)&&i.defaultProps===void 0&&a.compare===null?(e.tag=15,e.type=i,Bf(t,e,i,l,n)):(t=Mi(a.type,null,l,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!ls(t,n)){var o=i.memoizedProps;if(a=a.compare,a=a!==null?a:bn,a(o,l)&&t.ref===e.ref)return ga(t,e,n)}return e.flags|=1,t=oa(i,l),t.ref=e.ref,t.return=e,e.child=t}function Bf(t,e,a,l,n){if(t!==null){var i=t.memoizedProps;if(bn(i,l)&&t.ref===e.ref)if(te=!1,e.pendingProps=l=i,ls(t,n))(t.flags&131072)!==0&&(te=!0);else return e.lanes=t.lanes,ga(t,e,n)}return Wc(t,e,a,l,n)}function qf(t,e,a,l){var n=l.children,i=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(i=i!==null?i.baseLanes|a:a,t!==null){for(l=e.child=t.child,n=0;l!==null;)n=n|l.lanes|l.childLanes,l=l.sibling;l=n&~i}else l=0,e.child=null;return Yf(t,e,i,a,l)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Di(e,i!==null?i.cachePool:null),i!==null?Vo(e,i):Mc(),Go(e);else return l=e.lanes=536870912,Yf(t,e,i!==null?i.baseLanes|a:a,a,l)}else i!==null?(Di(e,i.cachePool),Vo(e,i),Ba(),e.memoizedState=null):(t!==null&&Di(e,null),Mc(),Ba());return fe(t,e,n,a),e.child}function jn(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Yf(t,e,a,l,n){var i=Sc();return i=i===null?null:{parent:Pt._currentValue,pool:i},e.memoizedState={baseLanes:a,cachePool:i},t!==null&&Di(e,null),Mc(),Go(e),t!==null&&Ul(t,e,l,!0),e.childLanes=n,null}function ki(t,e){return e=Ki({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Vf(t,e,a){return hl(e,t.child,null,a),t=ki(e,e.pendingProps),t.flags|=2,Oe(e),e.memoizedState=null,t}function J0(t,e,a){var l=e.pendingProps,n=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(vt){if(l.mode==="hidden")return t=ki(e,l),e.lanes=536870912,jn(null,t);if(zc(e),(t=Ht)?(t=Id(t,Xe),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Da!==null?{id:ta,overflow:ea}:null,retryLane:536870912,hydrationErrors:null},a=Ao(t),a.return=e,e.child=a,re=e,Ht=null)):t=null,t===null)throw Oa(e);return e.lanes=536870912,null}return ki(e,l)}var i=t.memoizedState;if(i!==null){var o=i.dehydrated;if(zc(e),n)if(e.flags&256)e.flags&=-257,e=Vf(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(s(558));else if(te||Ul(t,e,a,!1),n=(a&t.childLanes)!==0,te||n){if(l=Ut,l!==null&&(o=Rr(l,a),o!==0&&o!==i.retryLane))throw i.retryLane=o,il(t,o),xe(l,t,o),$c;lu(),e=Vf(t,e,a)}else t=i.treeContext,Ht=Ze(o.nextSibling),re=e,vt=!0,wa=null,Xe=!1,t!==null&&Mo(e,t),e=ki(e,l),e.flags|=4096;return e}return t=oa(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Ji(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(s(284));(t===null||t.ref!==a)&&(e.flags|=4194816)}}function Wc(t,e,a,l,n){return rl(e),a=Dc(t,e,a,l,void 0,n),l=wc(),t!==null&&!te?(Oc(t,e,n),ga(t,e,n)):(vt&&l&&fc(e),e.flags|=1,fe(t,e,a,n),e.child)}function Gf(t,e,a,l,n,i){return rl(e),e.updateQueue=null,a=Qo(e,l,a,n),Xo(t),l=wc(),t!==null&&!te?(Oc(t,e,i),ga(t,e,i)):(vt&&l&&fc(e),e.flags|=1,fe(t,e,a,i),e.child)}function Xf(t,e,a,l,n){if(rl(e),e.stateNode===null){var i=wl,o=a.contextType;typeof o=="object"&&o!==null&&(i=oe(o)),i=new a(l,i),e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Jc,e.stateNode=i,i._reactInternals=e,i=e.stateNode,i.props=l,i.state=e.memoizedState,i.refs={},xc(e),o=a.contextType,i.context=typeof o=="object"&&o!==null?oe(o):wl,i.state=e.memoizedState,o=a.getDerivedStateFromProps,typeof o=="function"&&(kc(e,a,o,l),i.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(o=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),o!==i.state&&Jc.enqueueReplaceState(i,i.state,null),Rn(e,l,i,n),zn(),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){i=e.stateNode;var d=e.memoizedProps,p=yl(a,d);i.props=p;var z=i.context,N=a.contextType;o=wl,typeof N=="object"&&N!==null&&(o=oe(N));var H=a.getDerivedStateFromProps;N=typeof H=="function"||typeof i.getSnapshotBeforeUpdate=="function",d=e.pendingProps!==d,N||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(d||z!==o)&&Rf(e,i,l,o),ja=!1;var R=e.memoizedState;i.state=R,Rn(e,l,i,n),zn(),z=e.memoizedState,d||R!==z||ja?(typeof H=="function"&&(kc(e,a,H,l),z=e.memoizedState),(p=ja||zf(e,a,p,l,R,z,o))?(N||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(e.flags|=4194308)):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=z),i.props=l,i.state=z,i.context=o,l=p):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{i=e.stateNode,Ac(t,e),o=e.memoizedProps,N=yl(a,o),i.props=N,H=e.pendingProps,R=i.context,z=a.contextType,p=wl,typeof z=="object"&&z!==null&&(p=oe(z)),d=a.getDerivedStateFromProps,(z=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==H||R!==p)&&Rf(e,i,l,p),ja=!1,R=e.memoizedState,i.state=R,Rn(e,l,i,n),zn();var w=e.memoizedState;o!==H||R!==w||ja||t!==null&&t.dependencies!==null&&zi(t.dependencies)?(typeof d=="function"&&(kc(e,a,d,l),w=e.memoizedState),(N=ja||zf(e,a,N,l,R,w,p)||t!==null&&t.dependencies!==null&&zi(t.dependencies))?(z||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(l,w,p),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(l,w,p)),typeof i.componentDidUpdate=="function"&&(e.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof i.componentDidUpdate!="function"||o===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=w),i.props=l,i.state=w,i.context=p,l=N):(typeof i.componentDidUpdate!="function"||o===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),l=!1)}return i=l,Ji(t,e),l=(e.flags&128)!==0,i||l?(i=e.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:i.render(),e.flags|=1,t!==null&&l?(e.child=hl(e,t.child,null,n),e.child=hl(e,null,a,n)):fe(t,e,a,n),e.memoizedState=i.state,t=e.child):t=ga(t,e,n),t}function Qf(t,e,a,l){return cl(),e.flags|=256,fe(t,e,a,l),e.child}var Fc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Pc(t){return{baseLanes:t,cachePool:Oo()}}function Ic(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=je),t}function Zf(t,e,a){var l=e.pendingProps,n=!1,i=(e.flags&128)!==0,o;if((o=i)||(o=t!==null&&t.memoizedState===null?!1:($t.current&2)!==0),o&&(n=!0,e.flags&=-129),o=(e.flags&32)!==0,e.flags&=-33,t===null){if(vt){if(n?Ha(e):Ba(),(t=Ht)?(t=Id(t,Xe),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Da!==null?{id:ta,overflow:ea}:null,retryLane:536870912,hydrationErrors:null},a=Ao(t),a.return=e,e.child=a,re=e,Ht=null)):t=null,t===null)throw Oa(e);return Us(t)?e.lanes=32:e.lanes=536870912,null}var d=l.children;return l=l.fallback,n?(Ba(),n=e.mode,d=Ki({mode:"hidden",children:d},n),l=ul(l,n,a,null),d.return=e,l.return=e,d.sibling=l,e.child=d,l=e.child,l.memoizedState=Pc(a),l.childLanes=Ic(t,o,a),e.memoizedState=Fc,jn(null,l)):(Ha(e),ts(e,d))}var p=t.memoizedState;if(p!==null&&(d=p.dehydrated,d!==null)){if(i)e.flags&256?(Ha(e),e.flags&=-257,e=es(t,e,a)):e.memoizedState!==null?(Ba(),e.child=t.child,e.flags|=128,e=null):(Ba(),d=l.fallback,n=e.mode,l=Ki({mode:"visible",children:l.children},n),d=ul(d,n,a,null),d.flags|=2,l.return=e,d.return=e,l.sibling=d,e.child=l,hl(e,t.child,null,a),l=e.child,l.memoizedState=Pc(a),l.childLanes=Ic(t,o,a),e.memoizedState=Fc,e=jn(null,l));else if(Ha(e),Us(d)){if(o=d.nextSibling&&d.nextSibling.dataset,o)var z=o.dgst;o=z,l=Error(s(419)),l.stack="",l.digest=o,xn({value:l,source:null,stack:null}),e=es(t,e,a)}else if(te||Ul(t,e,a,!1),o=(a&t.childLanes)!==0,te||o){if(o=Ut,o!==null&&(l=Rr(o,a),l!==0&&l!==p.retryLane))throw p.retryLane=l,il(t,l),xe(o,t,l),$c;js(d)||lu(),e=es(t,e,a)}else js(d)?(e.flags|=192,e.child=t.child,e=null):(t=p.treeContext,Ht=Ze(d.nextSibling),re=e,vt=!0,wa=null,Xe=!1,t!==null&&Mo(e,t),e=ts(e,l.children),e.flags|=4096);return e}return n?(Ba(),d=l.fallback,n=e.mode,p=t.child,z=p.sibling,l=oa(p,{mode:"hidden",children:l.children}),l.subtreeFlags=p.subtreeFlags&65011712,z!==null?d=oa(z,d):(d=ul(d,n,a,null),d.flags|=2),d.return=e,l.return=e,l.sibling=d,e.child=l,jn(null,l),l=e.child,d=t.child.memoizedState,d===null?d=Pc(a):(n=d.cachePool,n!==null?(p=Pt._currentValue,n=n.parent!==p?{parent:p,pool:p}:n):n=Oo(),d={baseLanes:d.baseLanes|a,cachePool:n}),l.memoizedState=d,l.childLanes=Ic(t,o,a),e.memoizedState=Fc,jn(t.child,l)):(Ha(e),a=t.child,t=a.sibling,a=oa(a,{mode:"visible",children:l.children}),a.return=e,a.sibling=null,t!==null&&(o=e.deletions,o===null?(e.deletions=[t],e.flags|=16):o.push(t)),e.child=a,e.memoizedState=null,a)}function ts(t,e){return e=Ki({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Ki(t,e){return t=De(22,t,null,e),t.lanes=0,t}function es(t,e,a){return hl(e,t.child,null,a),t=ts(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function kf(t,e,a){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),gc(t.return,e,a)}function as(t,e,a,l,n,i){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:n,treeForkCount:i}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=l,o.tail=a,o.tailMode=n,o.treeForkCount=i)}function Jf(t,e,a){var l=e.pendingProps,n=l.revealOrder,i=l.tail;l=l.children;var o=$t.current,d=(o&2)!==0;if(d?(o=o&1|2,e.flags|=128):o&=1,Q($t,o),fe(t,e,l,a),l=vt?En:0,!d&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&kf(t,a,e);else if(t.tag===19)kf(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(n){case"forwards":for(a=e.child,n=null;a!==null;)t=a.alternate,t!==null&&Li(t)===null&&(n=a),a=a.sibling;a=n,a===null?(n=e.child,e.child=null):(n=a.sibling,a.sibling=null),as(e,!1,n,a,i,l);break;case"backwards":case"unstable_legacy-backwards":for(a=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&Li(t)===null){e.child=n;break}t=n.sibling,n.sibling=a,a=n,n=t}as(e,!0,a,null,i,l);break;case"together":as(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function ga(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),Va|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(Ul(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(s(153));if(e.child!==null){for(t=e.child,a=oa(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=oa(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function ls(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&zi(t)))}function K0(t,e,a){switch(e.tag){case 3:I(e,e.stateNode.containerInfo),Na(e,Pt,t.memoizedState.cache),cl();break;case 27:case 5:it(e);break;case 4:I(e,e.stateNode.containerInfo);break;case 10:Na(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,zc(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(Ha(e),e.flags|=128,null):(a&e.child.childLanes)!==0?Zf(t,e,a):(Ha(e),t=ga(t,e,a),t!==null?t.sibling:null);Ha(e);break;case 19:var n=(t.flags&128)!==0;if(l=(a&e.childLanes)!==0,l||(Ul(t,e,a,!1),l=(a&e.childLanes)!==0),n){if(l)return Jf(t,e,a);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Q($t,$t.current),l)break;return null;case 22:return e.lanes=0,qf(t,e,a,e.pendingProps);case 24:Na(e,Pt,t.memoizedState.cache)}return ga(t,e,a)}function Kf(t,e,a){if(t!==null)if(t.memoizedProps!==e.pendingProps)te=!0;else{if(!ls(t,a)&&(e.flags&128)===0)return te=!1,K0(t,e,a);te=(t.flags&131072)!==0}else te=!1,vt&&(e.flags&1048576)!==0&&To(e,En,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=fl(e.elementType),e.type=t,typeof t=="function")sc(t)?(l=yl(t,l),e.tag=1,e=Xf(null,e,t,l,a)):(e.tag=0,e=Wc(null,e,t,l,a));else{if(t!=null){var n=t.$$typeof;if(n===G){e.tag=11,e=Lf(null,e,t,l,a);break t}else if(n===tt){e.tag=14,e=Hf(null,e,t,l,a);break t}}throw e=ue(t)||t,Error(s(306,e,""))}}return e;case 0:return Wc(t,e,e.type,e.pendingProps,a);case 1:return l=e.type,n=yl(l,e.pendingProps),Xf(t,e,l,n,a);case 3:t:{if(I(e,e.stateNode.containerInfo),t===null)throw Error(s(387));l=e.pendingProps;var i=e.memoizedState;n=i.element,Ac(t,e),Rn(e,l,null,a);var o=e.memoizedState;if(l=o.cache,Na(e,Pt,l),l!==i.cache&&pc(e,[Pt],a,!0),zn(),l=o.element,i.isDehydrated)if(i={element:l,isDehydrated:!1,cache:o.cache},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){e=Qf(t,e,l,a);break t}else if(l!==n){n=Ye(Error(s(424)),e),xn(n),e=Qf(t,e,l,a);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ht=Ze(t.firstChild),re=e,vt=!0,wa=null,Xe=!0,a=Bo(e,null,l,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(cl(),l===n){e=ga(t,e,a);break t}fe(t,e,l,a)}e=e.child}return e;case 26:return Ji(t,e),t===null?(a=ih(e.type,null,e.pendingProps,null))?e.memoizedState=a:vt||(a=e.type,t=e.pendingProps,l=ou(j.current).createElement(a),l[se]=e,l[ge]=t,de(l,a,t),ne(l),e.stateNode=l):e.memoizedState=ih(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return it(e),t===null&&vt&&(l=e.stateNode=ah(e.type,e.pendingProps,j.current),re=e,Xe=!0,n=Ht,ka(e.type)?(Ls=n,Ht=Ze(l.firstChild)):Ht=n),fe(t,e,e.pendingProps.children,a),Ji(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&vt&&((n=l=Ht)&&(l=_y(l,e.type,e.pendingProps,Xe),l!==null?(e.stateNode=l,re=e,Ht=Ze(l.firstChild),Xe=!1,n=!0):n=!1),n||Oa(e)),it(e),n=e.type,i=e.pendingProps,o=t!==null?t.memoizedProps:null,l=i.children,ws(n,i)?l=null:o!==null&&ws(n,o)&&(e.flags|=32),e.memoizedState!==null&&(n=Dc(t,e,q0,null,null,a),$n._currentValue=n),Ji(t,e),fe(t,e,l,a),e.child;case 6:return t===null&&vt&&((t=a=Ht)&&(a=Ty(a,e.pendingProps,Xe),a!==null?(e.stateNode=a,re=e,Ht=null,t=!0):t=!1),t||Oa(e)),null;case 13:return Zf(t,e,a);case 4:return I(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=hl(e,null,l,a):fe(t,e,l,a),e.child;case 11:return Lf(t,e,e.type,e.pendingProps,a);case 7:return fe(t,e,e.pendingProps,a),e.child;case 8:return fe(t,e,e.pendingProps.children,a),e.child;case 12:return fe(t,e,e.pendingProps.children,a),e.child;case 10:return l=e.pendingProps,Na(e,e.type,l.value),fe(t,e,l.children,a),e.child;case 9:return n=e.type._context,l=e.pendingProps.children,rl(e),n=oe(n),l=l(n),e.flags|=1,fe(t,e,l,a),e.child;case 14:return Hf(t,e,e.type,e.pendingProps,a);case 15:return Bf(t,e,e.type,e.pendingProps,a);case 19:return Jf(t,e,a);case 31:return J0(t,e,a);case 22:return qf(t,e,a,e.pendingProps);case 24:return rl(e),l=oe(Pt),t===null?(n=Sc(),n===null&&(n=Ut,i=vc(),n.pooledCache=i,i.refCount++,i!==null&&(n.pooledCacheLanes|=a),n=i),e.memoizedState={parent:l,cache:n},xc(e),Na(e,Pt,n)):((t.lanes&a)!==0&&(Ac(t,e),Rn(e,null,null,a),zn()),n=t.memoizedState,i=e.memoizedState,n.parent!==l?(n={parent:l,cache:l},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),Na(e,Pt,l)):(l=i.cache,Na(e,Pt,l),l!==n.cache&&pc(e,[Pt],a,!0))),fe(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error(s(156,e.tag))}function pa(t){t.flags|=4}function ns(t,e,a,l,n){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(n&335544128)===n)if(t.stateNode.complete)t.flags|=8192;else if(Ed())t.flags|=8192;else throw dl=Oi,Ec}else t.flags&=-16777217}function $f(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!oh(e))if(Ed())t.flags|=8192;else throw dl=Oi,Ec}function $i(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Mr():536870912,t.lanes|=e,Jl|=e)}function Un(t,e){if(!vt)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Bt(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,l=0;if(e)for(var n=t.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags&65011712,l|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags,l|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=l,t.childLanes=a,e}function $0(t,e,a){var l=e.pendingProps;switch(dc(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bt(e),null;case 1:return Bt(e),null;case 3:return a=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),ha(Pt),J(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(jl(e)?pa(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,mc())),Bt(e),null;case 26:var n=e.type,i=e.memoizedState;return t===null?(pa(e),i!==null?(Bt(e),$f(e,i)):(Bt(e),ns(e,n,null,l,a))):i?i!==t.memoizedState?(pa(e),Bt(e),$f(e,i)):(Bt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&pa(e),Bt(e),ns(e,n,t,l,a)),null;case 27:if(ut(e),a=j.current,n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&pa(e);else{if(!l){if(e.stateNode===null)throw Error(s(166));return Bt(e),null}t=F.current,jl(e)?Co(e):(t=ah(n,l,a),e.stateNode=t,pa(e))}return Bt(e),null;case 5:if(ut(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&pa(e);else{if(!l){if(e.stateNode===null)throw Error(s(166));return Bt(e),null}if(i=F.current,jl(e))Co(e);else{var o=ou(j.current);switch(i){case 1:i=o.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:i=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":i=o.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":i=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":i=o.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof l.is=="string"?o.createElement("select",{is:l.is}):o.createElement("select"),l.multiple?i.multiple=!0:l.size&&(i.size=l.size);break;default:i=typeof l.is=="string"?o.createElement(n,{is:l.is}):o.createElement(n)}}i[se]=e,i[ge]=l;t:for(o=e.child;o!==null;){if(o.tag===5||o.tag===6)i.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)break t;for(;o.sibling===null;){if(o.return===null||o.return===e)break t;o=o.return}o.sibling.return=o.return,o=o.sibling}e.stateNode=i;t:switch(de(i,n,l),n){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&pa(e)}}return Bt(e),ns(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&pa(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(s(166));if(t=j.current,jl(e)){if(t=e.stateNode,a=e.memoizedProps,l=null,n=re,n!==null)switch(n.tag){case 27:case 5:l=n.memoizedProps}t[se]=e,t=!!(t.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||Zd(t.nodeValue,a)),t||Oa(e,!0)}else t=ou(t).createTextNode(l),t[se]=e,e.stateNode=t}return Bt(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(l=jl(e),a!==null){if(t===null){if(!l)throw Error(s(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(557));t[se]=e}else cl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Bt(e),t=!1}else a=mc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(Oe(e),e):(Oe(e),null);if((e.flags&128)!==0)throw Error(s(558))}return Bt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=jl(e),l!==null&&l.dehydrated!==null){if(t===null){if(!n)throw Error(s(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));n[se]=e}else cl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Bt(e),n=!1}else n=mc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(Oe(e),e):(Oe(e),null)}return Oe(e),(e.flags&128)!==0?(e.lanes=a,e):(a=l!==null,t=t!==null&&t.memoizedState!==null,a&&(l=e.child,n=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(n=l.alternate.memoizedState.cachePool.pool),i=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(i=l.memoizedState.cachePool.pool),i!==n&&(l.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),$i(e,e.updateQueue),Bt(e),null);case 4:return J(),t===null&&Ms(e.stateNode.containerInfo),Bt(e),null;case 10:return ha(e.type),Bt(e),null;case 19:if(B($t),l=e.memoizedState,l===null)return Bt(e),null;if(n=(e.flags&128)!==0,i=l.rendering,i===null)if(n)Un(l,!1);else{if(Kt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(i=Li(t),i!==null){for(e.flags|=128,Un(l,!1),t=i.updateQueue,e.updateQueue=t,$i(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)xo(a,t),a=a.sibling;return Q($t,$t.current&1|2),vt&&fa(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&kt()>tu&&(e.flags|=128,n=!0,Un(l,!1),e.lanes=4194304)}else{if(!n)if(t=Li(i),t!==null){if(e.flags|=128,n=!0,t=t.updateQueue,e.updateQueue=t,$i(e,t),Un(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!vt)return Bt(e),null}else 2*kt()-l.renderingStartTime>tu&&a!==536870912&&(e.flags|=128,n=!0,Un(l,!1),e.lanes=4194304);l.isBackwards?(i.sibling=e.child,e.child=i):(t=l.last,t!==null?t.sibling=i:e.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=kt(),t.sibling=null,a=$t.current,Q($t,n?a&1|2:a&1),vt&&fa(e,l.treeForkCount),t):(Bt(e),null);case 22:case 23:return Oe(e),Cc(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(a&536870912)!==0&&(e.flags&128)===0&&(Bt(e),e.subtreeFlags&6&&(e.flags|=8192)):Bt(e),a=e.updateQueue,a!==null&&$i(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==a&&(e.flags|=2048),t!==null&&B(ol),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),ha(Pt),Bt(e),null;case 25:return null;case 30:return null}throw Error(s(156,e.tag))}function W0(t,e){switch(dc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return ha(Pt),J(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return ut(e),null;case 31:if(e.memoizedState!==null){if(Oe(e),e.alternate===null)throw Error(s(340));cl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Oe(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(s(340));cl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return B($t),null;case 4:return J(),null;case 10:return ha(e.type),null;case 22:case 23:return Oe(e),Cc(),t!==null&&B(ol),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return ha(Pt),null;case 25:return null;default:return null}}function Wf(t,e){switch(dc(e),e.tag){case 3:ha(Pt),J();break;case 26:case 27:case 5:ut(e);break;case 4:J();break;case 31:e.memoizedState!==null&&Oe(e);break;case 13:Oe(e);break;case 19:B($t);break;case 10:ha(e.type);break;case 22:case 23:Oe(e),Cc(),t!==null&&B(ol);break;case 24:ha(Pt)}}function Ln(t,e){try{var a=e.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var n=l.next;a=n;do{if((a.tag&t)===t){l=void 0;var i=a.create,o=a.inst;l=i(),o.destroy=l}a=a.next}while(a!==n)}}catch(d){Rt(e,e.return,d)}}function qa(t,e,a){try{var l=e.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var i=n.next;l=i;do{if((l.tag&t)===t){var o=l.inst,d=o.destroy;if(d!==void 0){o.destroy=void 0,n=e;var p=a,z=d;try{z()}catch(N){Rt(n,p,N)}}}l=l.next}while(l!==i)}}catch(N){Rt(e,e.return,N)}}function Ff(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;try{Yo(e,a)}catch(l){Rt(t,t.return,l)}}}function Pf(t,e,a){a.props=yl(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(l){Rt(t,e,l)}}function Hn(t,e){try{var a=t.ref;if(a!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof a=="function"?t.refCleanup=a(l):a.current=l}}catch(n){Rt(t,e,n)}}function aa(t,e){var a=t.ref,l=t.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(n){Rt(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(n){Rt(t,e,n)}else a.current=null}function If(t){var e=t.type,a=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break t;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(n){Rt(t,t.return,n)}}function is(t,e,a){try{var l=t.stateNode;vy(l,t.type,a,e),l[ge]=e}catch(n){Rt(t,t.return,n)}}function td(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ka(t.type)||t.tag===4}function us(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||td(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ka(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function cs(t,e,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e):(e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=sa));else if(l!==4&&(l===27&&ka(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(cs(t,e,a),t=t.sibling;t!==null;)cs(t,e,a),t=t.sibling}function Wi(t,e,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(l!==4&&(l===27&&ka(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Wi(t,e,a),t=t.sibling;t!==null;)Wi(t,e,a),t=t.sibling}function ed(t){var e=t.stateNode,a=t.memoizedProps;try{for(var l=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);de(e,l,a),e[se]=t,e[ge]=a}catch(i){Rt(t,t.return,i)}}var va=!1,ee=!1,ss=!1,ad=typeof WeakSet=="function"?WeakSet:Set,ie=null;function F0(t,e){if(t=t.containerInfo,Rs=pu,t=ho(t),ec(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var n=l.anchorOffset,i=l.focusNode;l=l.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break t}var o=0,d=-1,p=-1,z=0,N=0,H=t,R=null;e:for(;;){for(var w;H!==a||n!==0&&H.nodeType!==3||(d=o+n),H!==i||l!==0&&H.nodeType!==3||(p=o+l),H.nodeType===3&&(o+=H.nodeValue.length),(w=H.firstChild)!==null;)R=H,H=w;for(;;){if(H===t)break e;if(R===a&&++z===n&&(d=o),R===i&&++N===l&&(p=o),(w=H.nextSibling)!==null)break;H=R,R=H.parentNode}H=w}a=d===-1||p===-1?null:{start:d,end:p}}else a=null}a=a||{start:0,end:0}}else a=null;for(Ds={focusedElem:t,selectionRange:a},pu=!1,ie=e;ie!==null;)if(e=ie,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ie=t;else for(;ie!==null;){switch(e=ie,i=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)n=t[a],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&i!==null){t=void 0,a=e,n=i.memoizedProps,i=i.memoizedState,l=a.stateNode;try{var K=yl(a.type,n);t=l.getSnapshotBeforeUpdate(K,i),l.__reactInternalSnapshotBeforeUpdate=t}catch(ct){Rt(a,a.return,ct)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,a=t.nodeType,a===9)Ns(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Ns(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(s(163))}if(t=e.sibling,t!==null){t.return=e.return,ie=t;break}ie=e.return}}function ld(t,e,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:Sa(t,a),l&4&&Ln(5,a);break;case 1:if(Sa(t,a),l&4)if(t=a.stateNode,e===null)try{t.componentDidMount()}catch(o){Rt(a,a.return,o)}else{var n=yl(a.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(o){Rt(a,a.return,o)}}l&64&&Ff(a),l&512&&Hn(a,a.return);break;case 3:if(Sa(t,a),l&64&&(t=a.updateQueue,t!==null)){if(e=null,a.child!==null)switch(a.child.tag){case 27:case 5:e=a.child.stateNode;break;case 1:e=a.child.stateNode}try{Yo(t,e)}catch(o){Rt(a,a.return,o)}}break;case 27:e===null&&l&4&&ed(a);case 26:case 5:Sa(t,a),e===null&&l&4&&If(a),l&512&&Hn(a,a.return);break;case 12:Sa(t,a);break;case 31:Sa(t,a),l&4&&ud(t,a);break;case 13:Sa(t,a),l&4&&cd(t,a),l&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=uy.bind(null,a),My(t,a))));break;case 22:if(l=a.memoizedState!==null||va,!l){e=e!==null&&e.memoizedState!==null||ee,n=va;var i=ee;va=l,(ee=e)&&!i?Ea(t,a,(a.subtreeFlags&8772)!==0):Sa(t,a),va=n,ee=i}break;case 30:break;default:Sa(t,a)}}function nd(t){var e=t.alternate;e!==null&&(t.alternate=null,nd(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Bu(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Yt=null,ve=!1;function ba(t,e,a){for(a=a.child;a!==null;)id(t,e,a),a=a.sibling}function id(t,e,a){if(Ce&&typeof Ce.onCommitFiberUnmount=="function")try{Ce.onCommitFiberUnmount(cn,a)}catch{}switch(a.tag){case 26:ee||aa(a,e),ba(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ee||aa(a,e);var l=Yt,n=ve;ka(a.type)&&(Yt=a.stateNode,ve=!1),ba(t,e,a),kn(a.stateNode),Yt=l,ve=n;break;case 5:ee||aa(a,e);case 6:if(l=Yt,n=ve,Yt=null,ba(t,e,a),Yt=l,ve=n,Yt!==null)if(ve)try{(Yt.nodeType===9?Yt.body:Yt.nodeName==="HTML"?Yt.ownerDocument.body:Yt).removeChild(a.stateNode)}catch(i){Rt(a,e,i)}else try{Yt.removeChild(a.stateNode)}catch(i){Rt(a,e,i)}break;case 18:Yt!==null&&(ve?(t=Yt,Fd(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),en(t)):Fd(Yt,a.stateNode));break;case 4:l=Yt,n=ve,Yt=a.stateNode.containerInfo,ve=!0,ba(t,e,a),Yt=l,ve=n;break;case 0:case 11:case 14:case 15:qa(2,a,e),ee||qa(4,a,e),ba(t,e,a);break;case 1:ee||(aa(a,e),l=a.stateNode,typeof l.componentWillUnmount=="function"&&Pf(a,e,l)),ba(t,e,a);break;case 21:ba(t,e,a);break;case 22:ee=(l=ee)||a.memoizedState!==null,ba(t,e,a),ee=l;break;default:ba(t,e,a)}}function ud(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{en(t)}catch(a){Rt(e,e.return,a)}}}function cd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{en(t)}catch(a){Rt(e,e.return,a)}}function P0(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new ad),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new ad),e;default:throw Error(s(435,t.tag))}}function Fi(t,e){var a=P0(t);e.forEach(function(l){if(!a.has(l)){a.add(l);var n=cy.bind(null,t,l);l.then(n,n)}})}function be(t,e){var a=e.deletions;if(a!==null)for(var l=0;l<a.length;l++){var n=a[l],i=t,o=e,d=o;t:for(;d!==null;){switch(d.tag){case 27:if(ka(d.type)){Yt=d.stateNode,ve=!1;break t}break;case 5:Yt=d.stateNode,ve=!1;break t;case 3:case 4:Yt=d.stateNode.containerInfo,ve=!0;break t}d=d.return}if(Yt===null)throw Error(s(160));id(i,o,n),Yt=null,ve=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)sd(e,t),e=e.sibling}var We=null;function sd(t,e){var a=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:be(e,t),Se(t),l&4&&(qa(3,t,t.return),Ln(3,t),qa(5,t,t.return));break;case 1:be(e,t),Se(t),l&512&&(ee||a===null||aa(a,a.return)),l&64&&va&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(a=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var n=We;if(be(e,t),Se(t),l&512&&(ee||a===null||aa(a,a.return)),l&4){var i=a!==null?a.memoizedState:null;if(l=t.memoizedState,a===null)if(l===null)if(t.stateNode===null){t:{l=t.type,a=t.memoizedProps,n=n.ownerDocument||n;e:switch(l){case"title":i=n.getElementsByTagName("title")[0],(!i||i[on]||i[se]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=n.createElement(l),n.head.insertBefore(i,n.querySelector("head > title"))),de(i,l,a),i[se]=t,ne(i),l=i;break t;case"link":var o=sh("link","href",n).get(l+(a.href||""));if(o){for(var d=0;d<o.length;d++)if(i=o[d],i.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&i.getAttribute("rel")===(a.rel==null?null:a.rel)&&i.getAttribute("title")===(a.title==null?null:a.title)&&i.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){o.splice(d,1);break e}}i=n.createElement(l),de(i,l,a),n.head.appendChild(i);break;case"meta":if(o=sh("meta","content",n).get(l+(a.content||""))){for(d=0;d<o.length;d++)if(i=o[d],i.getAttribute("content")===(a.content==null?null:""+a.content)&&i.getAttribute("name")===(a.name==null?null:a.name)&&i.getAttribute("property")===(a.property==null?null:a.property)&&i.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&i.getAttribute("charset")===(a.charSet==null?null:a.charSet)){o.splice(d,1);break e}}i=n.createElement(l),de(i,l,a),n.head.appendChild(i);break;default:throw Error(s(468,l))}i[se]=t,ne(i),l=i}t.stateNode=l}else rh(n,t.type,t.stateNode);else t.stateNode=ch(n,l,t.memoizedProps);else i!==l?(i===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):i.count--,l===null?rh(n,t.type,t.stateNode):ch(n,l,t.memoizedProps)):l===null&&t.stateNode!==null&&is(t,t.memoizedProps,a.memoizedProps)}break;case 27:be(e,t),Se(t),l&512&&(ee||a===null||aa(a,a.return)),a!==null&&l&4&&is(t,t.memoizedProps,a.memoizedProps);break;case 5:if(be(e,t),Se(t),l&512&&(ee||a===null||aa(a,a.return)),t.flags&32){n=t.stateNode;try{_l(n,"")}catch(K){Rt(t,t.return,K)}}l&4&&t.stateNode!=null&&(n=t.memoizedProps,is(t,n,a!==null?a.memoizedProps:n)),l&1024&&(ss=!0);break;case 6:if(be(e,t),Se(t),l&4){if(t.stateNode===null)throw Error(s(162));l=t.memoizedProps,a=t.stateNode;try{a.nodeValue=l}catch(K){Rt(t,t.return,K)}}break;case 3:if(hu=null,n=We,We=fu(e.containerInfo),be(e,t),We=n,Se(t),l&4&&a!==null&&a.memoizedState.isDehydrated)try{en(e.containerInfo)}catch(K){Rt(t,t.return,K)}ss&&(ss=!1,rd(t));break;case 4:l=We,We=fu(t.stateNode.containerInfo),be(e,t),Se(t),We=l;break;case 12:be(e,t),Se(t);break;case 31:be(e,t),Se(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Fi(t,l)));break;case 13:be(e,t),Se(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Ii=kt()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Fi(t,l)));break;case 22:n=t.memoizedState!==null;var p=a!==null&&a.memoizedState!==null,z=va,N=ee;if(va=z||n,ee=N||p,be(e,t),ee=N,va=z,Se(t),l&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(a===null||p||va||ee||gl(t)),a=null,e=t;;){if(e.tag===5||e.tag===26){if(a===null){p=a=e;try{if(i=p.stateNode,n)o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{d=p.stateNode;var H=p.memoizedProps.style,R=H!=null&&H.hasOwnProperty("display")?H.display:null;d.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(K){Rt(p,p.return,K)}}}else if(e.tag===6){if(a===null){p=e;try{p.stateNode.nodeValue=n?"":p.memoizedProps}catch(K){Rt(p,p.return,K)}}}else if(e.tag===18){if(a===null){p=e;try{var w=p.stateNode;n?Pd(w,!0):Pd(p.stateNode,!1)}catch(K){Rt(p,p.return,K)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;a===e&&(a=null),e=e.return}a===e&&(a=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,Fi(t,a))));break;case 19:be(e,t),Se(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Fi(t,l)));break;case 30:break;case 21:break;default:be(e,t),Se(t)}}function Se(t){var e=t.flags;if(e&2){try{for(var a,l=t.return;l!==null;){if(td(l)){a=l;break}l=l.return}if(a==null)throw Error(s(160));switch(a.tag){case 27:var n=a.stateNode,i=us(t);Wi(t,i,n);break;case 5:var o=a.stateNode;a.flags&32&&(_l(o,""),a.flags&=-33);var d=us(t);Wi(t,d,o);break;case 3:case 4:var p=a.stateNode.containerInfo,z=us(t);cs(t,z,p);break;default:throw Error(s(161))}}catch(N){Rt(t,t.return,N)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function rd(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;rd(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Sa(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)ld(t,e.alternate,e),e=e.sibling}function gl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:qa(4,e,e.return),gl(e);break;case 1:aa(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount=="function"&&Pf(e,e.return,a),gl(e);break;case 27:kn(e.stateNode);case 26:case 5:aa(e,e.return),gl(e);break;case 22:e.memoizedState===null&&gl(e);break;case 30:gl(e);break;default:gl(e)}t=t.sibling}}function Ea(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,n=t,i=e,o=i.flags;switch(i.tag){case 0:case 11:case 15:Ea(n,i,a),Ln(4,i);break;case 1:if(Ea(n,i,a),l=i,n=l.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(z){Rt(l,l.return,z)}if(l=i,n=l.updateQueue,n!==null){var d=l.stateNode;try{var p=n.shared.hiddenCallbacks;if(p!==null)for(n.shared.hiddenCallbacks=null,n=0;n<p.length;n++)qo(p[n],d)}catch(z){Rt(l,l.return,z)}}a&&o&64&&Ff(i),Hn(i,i.return);break;case 27:ed(i);case 26:case 5:Ea(n,i,a),a&&l===null&&o&4&&If(i),Hn(i,i.return);break;case 12:Ea(n,i,a);break;case 31:Ea(n,i,a),a&&o&4&&ud(n,i);break;case 13:Ea(n,i,a),a&&o&4&&cd(n,i);break;case 22:i.memoizedState===null&&Ea(n,i,a),Hn(i,i.return);break;case 30:break;default:Ea(n,i,a)}e=e.sibling}}function rs(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&t.refCount++,a!=null&&An(a))}function os(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&An(t))}function Fe(t,e,a,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)od(t,e,a,l),e=e.sibling}function od(t,e,a,l){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Fe(t,e,a,l),n&2048&&Ln(9,e);break;case 1:Fe(t,e,a,l);break;case 3:Fe(t,e,a,l),n&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&An(t)));break;case 12:if(n&2048){Fe(t,e,a,l),t=e.stateNode;try{var i=e.memoizedProps,o=i.id,d=i.onPostCommit;typeof d=="function"&&d(o,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(p){Rt(e,e.return,p)}}else Fe(t,e,a,l);break;case 31:Fe(t,e,a,l);break;case 13:Fe(t,e,a,l);break;case 23:break;case 22:i=e.stateNode,o=e.alternate,e.memoizedState!==null?i._visibility&2?Fe(t,e,a,l):Bn(t,e):i._visibility&2?Fe(t,e,a,l):(i._visibility|=2,Ql(t,e,a,l,(e.subtreeFlags&10256)!==0||!1)),n&2048&&rs(o,e);break;case 24:Fe(t,e,a,l),n&2048&&os(e.alternate,e);break;default:Fe(t,e,a,l)}}function Ql(t,e,a,l,n){for(n=n&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var i=t,o=e,d=a,p=l,z=o.flags;switch(o.tag){case 0:case 11:case 15:Ql(i,o,d,p,n),Ln(8,o);break;case 23:break;case 22:var N=o.stateNode;o.memoizedState!==null?N._visibility&2?Ql(i,o,d,p,n):Bn(i,o):(N._visibility|=2,Ql(i,o,d,p,n)),n&&z&2048&&rs(o.alternate,o);break;case 24:Ql(i,o,d,p,n),n&&z&2048&&os(o.alternate,o);break;default:Ql(i,o,d,p,n)}e=e.sibling}}function Bn(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var a=t,l=e,n=l.flags;switch(l.tag){case 22:Bn(a,l),n&2048&&rs(l.alternate,l);break;case 24:Bn(a,l),n&2048&&os(l.alternate,l);break;default:Bn(a,l)}e=e.sibling}}var qn=8192;function Zl(t,e,a){if(t.subtreeFlags&qn)for(t=t.child;t!==null;)fd(t,e,a),t=t.sibling}function fd(t,e,a){switch(t.tag){case 26:Zl(t,e,a),t.flags&qn&&t.memoizedState!==null&&By(a,We,t.memoizedState,t.memoizedProps);break;case 5:Zl(t,e,a);break;case 3:case 4:var l=We;We=fu(t.stateNode.containerInfo),Zl(t,e,a),We=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=qn,qn=16777216,Zl(t,e,a),qn=l):Zl(t,e,a));break;default:Zl(t,e,a)}}function dd(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Yn(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];ie=l,md(l,t)}dd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)hd(t),t=t.sibling}function hd(t){switch(t.tag){case 0:case 11:case 15:Yn(t),t.flags&2048&&qa(9,t,t.return);break;case 3:Yn(t);break;case 12:Yn(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Pi(t)):Yn(t);break;default:Yn(t)}}function Pi(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];ie=l,md(l,t)}dd(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:qa(8,e,e.return),Pi(e);break;case 22:a=e.stateNode,a._visibility&2&&(a._visibility&=-3,Pi(e));break;default:Pi(e)}t=t.sibling}}function md(t,e){for(;ie!==null;){var a=ie;switch(a.tag){case 0:case 11:case 15:qa(8,a,e);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:An(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,ie=l;else t:for(a=t;ie!==null;){l=ie;var n=l.sibling,i=l.return;if(nd(l),l===a){ie=null;break t}if(n!==null){n.return=i,ie=n;break t}ie=i}}}var I0={getCacheForType:function(t){var e=oe(Pt),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return oe(Pt).controller.signal}},ty=typeof WeakMap=="function"?WeakMap:Map,_t=0,Ut=null,mt=null,gt=0,zt=0,Ne=null,Ya=!1,kl=!1,fs=!1,xa=0,Kt=0,Va=0,pl=0,ds=0,je=0,Jl=0,Vn=null,Ee=null,hs=!1,Ii=0,yd=0,tu=1/0,eu=null,Ga=null,ae=0,Xa=null,Kl=null,Aa=0,ms=0,ys=null,gd=null,Gn=0,gs=null;function Ue(){return(_t&2)!==0&>!==0?gt&-gt:b.T!==null?xs():Dr()}function pd(){if(je===0)if((gt&536870912)===0||vt){var t=ri;ri<<=1,(ri&3932160)===0&&(ri=262144),je=t}else je=536870912;return t=we.current,t!==null&&(t.flags|=32),je}function xe(t,e,a){(t===Ut&&(zt===2||zt===9)||t.cancelPendingCommit!==null)&&($l(t,0),Qa(t,gt,je,!1)),rn(t,a),((_t&2)===0||t!==Ut)&&(t===Ut&&((_t&2)===0&&(pl|=a),Kt===4&&Qa(t,gt,je,!1)),la(t))}function vd(t,e,a){if((_t&6)!==0)throw Error(s(327));var l=!a&&(e&127)===0&&(e&t.expiredLanes)===0||sn(t,e),n=l?ly(t,e):vs(t,e,!0),i=l;do{if(n===0){kl&&!l&&Qa(t,e,0,!1);break}else{if(a=t.current.alternate,i&&!ey(a)){n=vs(t,e,!1),i=!1;continue}if(n===2){if(i=e,t.errorRecoveryDisabledLanes&i)var o=0;else o=t.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){e=o;t:{var d=t;n=Vn;var p=d.current.memoizedState.isDehydrated;if(p&&($l(d,o).flags|=256),o=vs(d,o,!1),o!==2){if(fs&&!p){d.errorRecoveryDisabledLanes|=i,pl|=i,n=4;break t}i=Ee,Ee=n,i!==null&&(Ee===null?Ee=i:Ee.push.apply(Ee,i))}n=o}if(i=!1,n!==2)continue}}if(n===1){$l(t,0),Qa(t,e,0,!0);break}t:{switch(l=t,i=n,i){case 0:case 1:throw Error(s(345));case 4:if((e&4194048)!==e)break;case 6:Qa(l,e,je,!Ya);break t;case 2:Ee=null;break;case 3:case 5:break;default:throw Error(s(329))}if((e&62914560)===e&&(n=Ii+300-kt(),10<n)){if(Qa(l,e,je,!Ya),fi(l,0,!0)!==0)break t;Aa=e,l.timeoutHandle=$d(bd.bind(null,l,a,Ee,eu,hs,e,je,pl,Jl,Ya,i,"Throttled",-0,0),n);break t}bd(l,a,Ee,eu,hs,e,je,pl,Jl,Ya,i,null,-0,0)}}break}while(!0);la(t)}function bd(t,e,a,l,n,i,o,d,p,z,N,H,R,w){if(t.timeoutHandle=-1,H=e.subtreeFlags,H&8192||(H&16785408)===16785408){H={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:sa},fd(e,i,H);var K=(i&62914560)===i?Ii-kt():(i&4194048)===i?yd-kt():0;if(K=qy(H,K),K!==null){Aa=i,t.cancelPendingCommit=K(Cd.bind(null,t,e,i,a,l,n,o,d,p,N,H,null,R,w)),Qa(t,i,o,!z);return}}Cd(t,e,i,a,l,n,o,d,p)}function ey(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var n=a[l],i=n.getSnapshot;n=n.value;try{if(!Re(i(),n))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Qa(t,e,a,l){e&=~ds,e&=~pl,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var n=e;0<n;){var i=31-ze(n),o=1<<i;l[i]=-1,n&=~o}a!==0&&Cr(t,a,e)}function au(){return(_t&6)===0?(Xn(0),!1):!0}function ps(){if(mt!==null){if(zt===0)var t=mt.return;else t=mt,da=sl=null,Nc(t),ql=null,Tn=0,t=mt;for(;t!==null;)Wf(t.alternate,t),t=t.return;mt=null}}function $l(t,e){var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,Ey(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Aa=0,ps(),Ut=t,mt=a=oa(t.current,null),gt=e,zt=0,Ne=null,Ya=!1,kl=sn(t,e),fs=!1,Jl=je=ds=pl=Va=Kt=0,Ee=Vn=null,hs=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var n=31-ze(l),i=1<<n;e|=t[n],l&=~i}return xa=e,Ai(),a}function Sd(t,e){ot=null,b.H=Nn,e===Bl||e===wi?(e=Uo(),zt=3):e===Ec?(e=Uo(),zt=4):zt=e===$c?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Ne=e,mt===null&&(Kt=1,Zi(t,Ye(e,t.current)))}function Ed(){var t=we.current;return t===null?!0:(gt&4194048)===gt?Qe===null:(gt&62914560)===gt||(gt&536870912)!==0?t===Qe:!1}function xd(){var t=b.H;return b.H=Nn,t===null?Nn:t}function Ad(){var t=b.A;return b.A=I0,t}function lu(){Kt=4,Ya||(gt&4194048)!==gt&&we.current!==null||(kl=!0),(Va&134217727)===0&&(pl&134217727)===0||Ut===null||Qa(Ut,gt,je,!1)}function vs(t,e,a){var l=_t;_t|=2;var n=xd(),i=Ad();(Ut!==t||gt!==e)&&(eu=null,$l(t,e)),e=!1;var o=Kt;t:do try{if(zt!==0&&mt!==null){var d=mt,p=Ne;switch(zt){case 8:ps(),o=6;break t;case 3:case 2:case 9:case 6:we.current===null&&(e=!0);var z=zt;if(zt=0,Ne=null,Wl(t,d,p,z),a&&kl){o=0;break t}break;default:z=zt,zt=0,Ne=null,Wl(t,d,p,z)}}ay(),o=Kt;break}catch(N){Sd(t,N)}while(!0);return e&&t.shellSuspendCounter++,da=sl=null,_t=l,b.H=n,b.A=i,mt===null&&(Ut=null,gt=0,Ai()),o}function ay(){for(;mt!==null;)_d(mt)}function ly(t,e){var a=_t;_t|=2;var l=xd(),n=Ad();Ut!==t||gt!==e?(eu=null,tu=kt()+500,$l(t,e)):kl=sn(t,e);t:do try{if(zt!==0&&mt!==null){e=mt;var i=Ne;e:switch(zt){case 1:zt=0,Ne=null,Wl(t,e,i,1);break;case 2:case 9:if(No(i)){zt=0,Ne=null,Td(e);break}e=function(){zt!==2&&zt!==9||Ut!==t||(zt=7),la(t)},i.then(e,e);break t;case 3:zt=7;break t;case 4:zt=5;break t;case 7:No(i)?(zt=0,Ne=null,Td(e)):(zt=0,Ne=null,Wl(t,e,i,7));break;case 5:var o=null;switch(mt.tag){case 26:o=mt.memoizedState;case 5:case 27:var d=mt;if(o?oh(o):d.stateNode.complete){zt=0,Ne=null;var p=d.sibling;if(p!==null)mt=p;else{var z=d.return;z!==null?(mt=z,nu(z)):mt=null}break e}}zt=0,Ne=null,Wl(t,e,i,5);break;case 6:zt=0,Ne=null,Wl(t,e,i,6);break;case 8:ps(),Kt=6;break t;default:throw Error(s(462))}}ny();break}catch(N){Sd(t,N)}while(!0);return da=sl=null,b.H=l,b.A=n,_t=a,mt!==null?0:(Ut=null,gt=0,Ai(),Kt)}function ny(){for(;mt!==null&&!le();)_d(mt)}function _d(t){var e=Kf(t.alternate,t,xa);t.memoizedProps=t.pendingProps,e===null?nu(t):mt=e}function Td(t){var e=t,a=e.alternate;switch(e.tag){case 15:case 0:e=Gf(a,e,e.pendingProps,e.type,void 0,gt);break;case 11:e=Gf(a,e,e.pendingProps,e.type.render,e.ref,gt);break;case 5:Nc(e);default:Wf(a,e),e=mt=xo(e,xa),e=Kf(a,e,xa)}t.memoizedProps=t.pendingProps,e===null?nu(t):mt=e}function Wl(t,e,a,l){da=sl=null,Nc(e),ql=null,Tn=0;var n=e.return;try{if(k0(t,n,e,a,gt)){Kt=1,Zi(t,Ye(a,t.current)),mt=null;return}}catch(i){if(n!==null)throw mt=n,i;Kt=1,Zi(t,Ye(a,t.current)),mt=null;return}e.flags&32768?(vt||l===1?t=!0:kl||(gt&536870912)!==0?t=!1:(Ya=t=!0,(l===2||l===9||l===3||l===6)&&(l=we.current,l!==null&&l.tag===13&&(l.flags|=16384))),Md(e,t)):nu(e)}function nu(t){var e=t;do{if((e.flags&32768)!==0){Md(e,Ya);return}t=e.return;var a=$0(e.alternate,e,xa);if(a!==null){mt=a;return}if(e=e.sibling,e!==null){mt=e;return}mt=e=t}while(e!==null);Kt===0&&(Kt=5)}function Md(t,e){do{var a=W0(t.alternate,t);if(a!==null){a.flags&=32767,mt=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){mt=t;return}mt=t=a}while(t!==null);Kt=6,mt=null}function Cd(t,e,a,l,n,i,o,d,p){t.cancelPendingCommit=null;do iu();while(ae!==0);if((_t&6)!==0)throw Error(s(327));if(e!==null){if(e===t.current)throw Error(s(177));if(i=e.lanes|e.childLanes,i|=uc,Hm(t,a,i,o,d,p),t===Ut&&(mt=Ut=null,gt=0),Kl=e,Xa=t,Aa=a,ms=i,ys=n,gd=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,sy(ci,function(){return Od(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=b.T,b.T=null,n=Y.p,Y.p=2,o=_t,_t|=4;try{F0(t,e,a)}finally{_t=o,Y.p=n,b.T=l}}ae=1,zd(),Rd(),Dd()}}function zd(){if(ae===1){ae=0;var t=Xa,e=Kl,a=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||a){a=b.T,b.T=null;var l=Y.p;Y.p=2;var n=_t;_t|=4;try{sd(e,t);var i=Ds,o=ho(t.containerInfo),d=i.focusedElem,p=i.selectionRange;if(o!==d&&d&&d.ownerDocument&&fo(d.ownerDocument.documentElement,d)){if(p!==null&&ec(d)){var z=p.start,N=p.end;if(N===void 0&&(N=z),"selectionStart"in d)d.selectionStart=z,d.selectionEnd=Math.min(N,d.value.length);else{var H=d.ownerDocument||document,R=H&&H.defaultView||window;if(R.getSelection){var w=R.getSelection(),K=d.textContent.length,ct=Math.min(p.start,K),Nt=p.end===void 0?ct:Math.min(p.end,K);!w.extend&&ct>Nt&&(o=Nt,Nt=ct,ct=o);var T=oo(d,ct),S=oo(d,Nt);if(T&&S&&(w.rangeCount!==1||w.anchorNode!==T.node||w.anchorOffset!==T.offset||w.focusNode!==S.node||w.focusOffset!==S.offset)){var C=H.createRange();C.setStart(T.node,T.offset),w.removeAllRanges(),ct>Nt?(w.addRange(C),w.extend(S.node,S.offset)):(C.setEnd(S.node,S.offset),w.addRange(C))}}}}for(H=[],w=d;w=w.parentNode;)w.nodeType===1&&H.push({element:w,left:w.scrollLeft,top:w.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<H.length;d++){var U=H[d];U.element.scrollLeft=U.left,U.element.scrollTop=U.top}}pu=!!Rs,Ds=Rs=null}finally{_t=n,Y.p=l,b.T=a}}t.current=e,ae=2}}function Rd(){if(ae===2){ae=0;var t=Xa,e=Kl,a=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||a){a=b.T,b.T=null;var l=Y.p;Y.p=2;var n=_t;_t|=4;try{ld(t,e.alternate,e)}finally{_t=n,Y.p=l,b.T=a}}ae=3}}function Dd(){if(ae===4||ae===3){ae=0,Me();var t=Xa,e=Kl,a=Aa,l=gd;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ae=5:(ae=0,Kl=Xa=null,wd(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(Ga=null),Lu(a),e=e.stateNode,Ce&&typeof Ce.onCommitFiberRoot=="function")try{Ce.onCommitFiberRoot(cn,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=b.T,n=Y.p,Y.p=2,b.T=null;try{for(var i=t.onRecoverableError,o=0;o<l.length;o++){var d=l[o];i(d.value,{componentStack:d.stack})}}finally{b.T=e,Y.p=n}}(Aa&3)!==0&&iu(),la(t),n=t.pendingLanes,(a&261930)!==0&&(n&42)!==0?t===gs?Gn++:(Gn=0,gs=t):Gn=0,Xn(0)}}function wd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,An(e)))}function iu(){return zd(),Rd(),Dd(),Od()}function Od(){if(ae!==5)return!1;var t=Xa,e=ms;ms=0;var a=Lu(Aa),l=b.T,n=Y.p;try{Y.p=32>a?32:a,b.T=null,a=ys,ys=null;var i=Xa,o=Aa;if(ae=0,Kl=Xa=null,Aa=0,(_t&6)!==0)throw Error(s(331));var d=_t;if(_t|=4,hd(i.current),od(i,i.current,o,a),_t=d,Xn(0,!1),Ce&&typeof Ce.onPostCommitFiberRoot=="function")try{Ce.onPostCommitFiberRoot(cn,i)}catch{}return!0}finally{Y.p=n,b.T=l,wd(t,e)}}function Nd(t,e,a){e=Ye(a,e),e=Kc(t.stateNode,e,2),t=La(t,e,2),t!==null&&(rn(t,2),la(t))}function Rt(t,e,a){if(t.tag===3)Nd(t,t,a);else for(;e!==null;){if(e.tag===3){Nd(e,t,a);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Ga===null||!Ga.has(l))){t=Ye(a,t),a=jf(2),l=La(e,a,2),l!==null&&(Uf(a,l,e,t),rn(l,2),la(l));break}}e=e.return}}function bs(t,e,a){var l=t.pingCache;if(l===null){l=t.pingCache=new ty;var n=new Set;l.set(e,n)}else n=l.get(e),n===void 0&&(n=new Set,l.set(e,n));n.has(a)||(fs=!0,n.add(a),t=iy.bind(null,t,e,a),e.then(t,t))}function iy(t,e,a){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,Ut===t&&(gt&a)===a&&(Kt===4||Kt===3&&(gt&62914560)===gt&&300>kt()-Ii?(_t&2)===0&&$l(t,0):ds|=a,Jl===gt&&(Jl=0)),la(t)}function jd(t,e){e===0&&(e=Mr()),t=il(t,e),t!==null&&(rn(t,e),la(t))}function uy(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),jd(t,a)}function cy(t,e){var a=0;switch(t.tag){case 31:case 13:var l=t.stateNode,n=t.memoizedState;n!==null&&(a=n.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(s(314))}l!==null&&l.delete(e),jd(t,a)}function sy(t,e){return Te(t,e)}var uu=null,Fl=null,Ss=!1,cu=!1,Es=!1,Za=0;function la(t){t!==Fl&&t.next===null&&(Fl===null?uu=Fl=t:Fl=Fl.next=t),cu=!0,Ss||(Ss=!0,oy())}function Xn(t,e){if(!Es&&cu){Es=!0;do for(var a=!1,l=uu;l!==null;){if(t!==0){var n=l.pendingLanes;if(n===0)var i=0;else{var o=l.suspendedLanes,d=l.pingedLanes;i=(1<<31-ze(42|t)+1)-1,i&=n&~(o&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(a=!0,Bd(l,i))}else i=gt,i=fi(l,l===Ut?i:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(i&3)===0||sn(l,i)||(a=!0,Bd(l,i));l=l.next}while(a);Es=!1}}function ry(){Ud()}function Ud(){cu=Ss=!1;var t=0;Za!==0&&Sy()&&(t=Za);for(var e=kt(),a=null,l=uu;l!==null;){var n=l.next,i=Ld(l,e);i===0?(l.next=null,a===null?uu=n:a.next=n,n===null&&(Fl=a)):(a=l,(t!==0||(i&3)!==0)&&(cu=!0)),l=n}ae!==0&&ae!==5||Xn(t),Za!==0&&(Za=0)}function Ld(t,e){for(var a=t.suspendedLanes,l=t.pingedLanes,n=t.expirationTimes,i=t.pendingLanes&-62914561;0<i;){var o=31-ze(i),d=1<<o,p=n[o];p===-1?((d&a)===0||(d&l)!==0)&&(n[o]=Lm(d,e)):p<=e&&(t.expiredLanes|=d),i&=~d}if(e=Ut,a=gt,a=fi(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,a===0||t===e&&(zt===2||zt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&ce(l),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||sn(t,a)){if(e=a&-a,e===t.callbackPriority)return e;switch(l!==null&&ce(l),Lu(a)){case 2:case 8:a=_r;break;case 32:a=ci;break;case 268435456:a=Tr;break;default:a=ci}return l=Hd.bind(null,t),a=Te(a,l),t.callbackPriority=e,t.callbackNode=a,e}return l!==null&&l!==null&&ce(l),t.callbackPriority=2,t.callbackNode=null,2}function Hd(t,e){if(ae!==0&&ae!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(iu()&&t.callbackNode!==a)return null;var l=gt;return l=fi(t,t===Ut?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(vd(t,l,e),Ld(t,kt()),t.callbackNode!=null&&t.callbackNode===a?Hd.bind(null,t):null)}function Bd(t,e){if(iu())return null;vd(t,e,!0)}function oy(){xy(function(){(_t&6)!==0?Te(Ar,ry):Ud()})}function xs(){if(Za===0){var t=Ll;t===0&&(t=si,si<<=1,(si&261888)===0&&(si=256)),Za=t}return Za}function qd(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:yi(""+t)}function Yd(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function fy(t,e,a,l,n){if(e==="submit"&&a&&a.stateNode===n){var i=qd((n[ge]||null).action),o=l.submitter;o&&(e=(e=o[ge]||null)?qd(e.formAction):o.getAttribute("formAction"),e!==null&&(i=e,o=null));var d=new bi("action","action",null,l,n);t.push({event:d,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Za!==0){var p=o?Yd(n,o):new FormData(n);Gc(a,{pending:!0,data:p,method:n.method,action:i},null,p)}}else typeof i=="function"&&(d.preventDefault(),p=o?Yd(n,o):new FormData(n),Gc(a,{pending:!0,data:p,method:n.method,action:i},i,p))},currentTarget:n}]})}}for(var As=0;As<ic.length;As++){var _s=ic[As],dy=_s.toLowerCase(),hy=_s[0].toUpperCase()+_s.slice(1);$e(dy,"on"+hy)}$e(go,"onAnimationEnd"),$e(po,"onAnimationIteration"),$e(vo,"onAnimationStart"),$e("dblclick","onDoubleClick"),$e("focusin","onFocus"),$e("focusout","onBlur"),$e(R0,"onTransitionRun"),$e(D0,"onTransitionStart"),$e(w0,"onTransitionCancel"),$e(bo,"onTransitionEnd"),xl("onMouseEnter",["mouseout","mouseover"]),xl("onMouseLeave",["mouseout","mouseover"]),xl("onPointerEnter",["pointerout","pointerover"]),xl("onPointerLeave",["pointerout","pointerover"]),el("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),el("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),el("onBeforeInput",["compositionend","keypress","textInput","paste"]),el("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),el("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),el("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qn="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(" "),my=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Qn));function Vd(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var l=t[a],n=l.event;l=l.listeners;t:{var i=void 0;if(e)for(var o=l.length-1;0<=o;o--){var d=l[o],p=d.instance,z=d.currentTarget;if(d=d.listener,p!==i&&n.isPropagationStopped())break t;i=d,n.currentTarget=z;try{i(n)}catch(N){xi(N)}n.currentTarget=null,i=p}else for(o=0;o<l.length;o++){if(d=l[o],p=d.instance,z=d.currentTarget,d=d.listener,p!==i&&n.isPropagationStopped())break t;i=d,n.currentTarget=z;try{i(n)}catch(N){xi(N)}n.currentTarget=null,i=p}}}}function yt(t,e){var a=e[Hu];a===void 0&&(a=e[Hu]=new Set);var l=t+"__bubble";a.has(l)||(Gd(e,t,2,!1),a.add(l))}function Ts(t,e,a){var l=0;e&&(l|=4),Gd(a,t,l,e)}var su="_reactListening"+Math.random().toString(36).slice(2);function Ms(t){if(!t[su]){t[su]=!0,Nr.forEach(function(a){a!=="selectionchange"&&(my.has(a)||Ts(a,!1,t),Ts(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[su]||(e[su]=!0,Ts("selectionchange",!1,e))}}function Gd(t,e,a,l){switch(ph(e)){case 2:var n=Gy;break;case 8:n=Xy;break;default:n=Vs}a=n.bind(null,e,a,t),n=void 0,!ku||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),l?n!==void 0?t.addEventListener(e,a,{capture:!0,passive:n}):t.addEventListener(e,a,!0):n!==void 0?t.addEventListener(e,a,{passive:n}):t.addEventListener(e,a,!1)}function Cs(t,e,a,l,n){var i=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var o=l.tag;if(o===3||o===4){var d=l.stateNode.containerInfo;if(d===n)break;if(o===4)for(o=l.return;o!==null;){var p=o.tag;if((p===3||p===4)&&o.stateNode.containerInfo===n)return;o=o.return}for(;d!==null;){if(o=bl(d),o===null)return;if(p=o.tag,p===5||p===6||p===26||p===27){l=i=o;continue t}d=d.parentNode}}l=l.return}Zr(function(){var z=i,N=Qu(a),H=[];t:{var R=So.get(t);if(R!==void 0){var w=bi,K=t;switch(t){case"keypress":if(pi(a)===0)break t;case"keydown":case"keyup":w=c0;break;case"focusin":K="focus",w=Wu;break;case"focusout":K="blur",w=Wu;break;case"beforeblur":case"afterblur":w=Wu;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=Kr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=$m;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=o0;break;case go:case po:case vo:w=Pm;break;case bo:w=d0;break;case"scroll":case"scrollend":w=Jm;break;case"wheel":w=m0;break;case"copy":case"cut":case"paste":w=t0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=Wr;break;case"toggle":case"beforetoggle":w=g0}var ct=(e&4)!==0,Nt=!ct&&(t==="scroll"||t==="scrollend"),T=ct?R!==null?R+"Capture":null:R;ct=[];for(var S=z,C;S!==null;){var U=S;if(C=U.stateNode,U=U.tag,U!==5&&U!==26&&U!==27||C===null||T===null||(U=dn(S,T),U!=null&&ct.push(Zn(S,U,C))),Nt)break;S=S.return}0<ct.length&&(R=new w(R,K,null,a,N),H.push({event:R,listeners:ct}))}}if((e&7)===0){t:{if(R=t==="mouseover"||t==="pointerover",w=t==="mouseout"||t==="pointerout",R&&a!==Xu&&(K=a.relatedTarget||a.fromElement)&&(bl(K)||K[vl]))break t;if((w||R)&&(R=N.window===N?N:(R=N.ownerDocument)?R.defaultView||R.parentWindow:window,w?(K=a.relatedTarget||a.toElement,w=z,K=K?bl(K):null,K!==null&&(Nt=h(K),ct=K.tag,K!==Nt||ct!==5&&ct!==27&&ct!==6)&&(K=null)):(w=null,K=z),w!==K)){if(ct=Kr,U="onMouseLeave",T="onMouseEnter",S="mouse",(t==="pointerout"||t==="pointerover")&&(ct=Wr,U="onPointerLeave",T="onPointerEnter",S="pointer"),Nt=w==null?R:fn(w),C=K==null?R:fn(K),R=new ct(U,S+"leave",w,a,N),R.target=Nt,R.relatedTarget=C,U=null,bl(N)===z&&(ct=new ct(T,S+"enter",K,a,N),ct.target=C,ct.relatedTarget=Nt,U=ct),Nt=U,w&&K)e:{for(ct=yy,T=w,S=K,C=0,U=T;U;U=ct(U))C++;U=0;for(var nt=S;nt;nt=ct(nt))U++;for(;0<C-U;)T=ct(T),C--;for(;0<U-C;)S=ct(S),U--;for(;C--;){if(T===S||S!==null&&T===S.alternate){ct=T;break e}T=ct(T),S=ct(S)}ct=null}else ct=null;w!==null&&Xd(H,R,w,ct,!1),K!==null&&Nt!==null&&Xd(H,Nt,K,ct,!0)}}t:{if(R=z?fn(z):window,w=R.nodeName&&R.nodeName.toLowerCase(),w==="select"||w==="input"&&R.type==="file")var St=no;else if(ao(R))if(io)St=M0;else{St=_0;var et=A0}else w=R.nodeName,!w||w.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?z&&Gu(z.elementType)&&(St=no):St=T0;if(St&&(St=St(t,z))){lo(H,St,a,N);break t}et&&et(t,R,z),t==="focusout"&&z&&R.type==="number"&&z.memoizedProps.value!=null&&Vu(R,"number",R.value)}switch(et=z?fn(z):window,t){case"focusin":(ao(et)||et.contentEditable==="true")&&(zl=et,ac=z,Sn=null);break;case"focusout":Sn=ac=zl=null;break;case"mousedown":lc=!0;break;case"contextmenu":case"mouseup":case"dragend":lc=!1,mo(H,a,N);break;case"selectionchange":if(z0)break;case"keydown":case"keyup":mo(H,a,N)}var ft;if(Pu)t:{switch(t){case"compositionstart":var pt="onCompositionStart";break t;case"compositionend":pt="onCompositionEnd";break t;case"compositionupdate":pt="onCompositionUpdate";break t}pt=void 0}else Cl?to(t,a)&&(pt="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(pt="onCompositionStart");pt&&(Fr&&a.locale!=="ko"&&(Cl||pt!=="onCompositionStart"?pt==="onCompositionEnd"&&Cl&&(ft=kr()):(Ra=N,Ju="value"in Ra?Ra.value:Ra.textContent,Cl=!0)),et=ru(z,pt),0<et.length&&(pt=new $r(pt,t,null,a,N),H.push({event:pt,listeners:et}),ft?pt.data=ft:(ft=eo(a),ft!==null&&(pt.data=ft)))),(ft=v0?b0(t,a):S0(t,a))&&(pt=ru(z,"onBeforeInput"),0<pt.length&&(et=new $r("onBeforeInput","beforeinput",null,a,N),H.push({event:et,listeners:pt}),et.data=ft)),fy(H,t,z,a,N)}Vd(H,e)})}function Zn(t,e,a){return{instance:t,listener:e,currentTarget:a}}function ru(t,e){for(var a=e+"Capture",l=[];t!==null;){var n=t,i=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||i===null||(n=dn(t,a),n!=null&&l.unshift(Zn(t,n,i)),n=dn(t,e),n!=null&&l.push(Zn(t,n,i))),t.tag===3)return l;t=t.return}return[]}function yy(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Xd(t,e,a,l,n){for(var i=e._reactName,o=[];a!==null&&a!==l;){var d=a,p=d.alternate,z=d.stateNode;if(d=d.tag,p!==null&&p===l)break;d!==5&&d!==26&&d!==27||z===null||(p=z,n?(z=dn(a,i),z!=null&&o.unshift(Zn(a,z,p))):n||(z=dn(a,i),z!=null&&o.push(Zn(a,z,p)))),a=a.return}o.length!==0&&t.push({event:e,listeners:o})}var gy=/\r\n?/g,py=/\u0000|\uFFFD/g;function Qd(t){return(typeof t=="string"?t:""+t).replace(gy,`
`).replace(py,"")}function Zd(t,e){return e=Qd(e),Qd(t)===e}function Ot(t,e,a,l,n,i){switch(a){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||_l(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&_l(t,""+l);break;case"className":hi(t,"class",l);break;case"tabIndex":hi(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":hi(t,a,l);break;case"style":Xr(t,l,i);break;case"data":if(e!=="object"){hi(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||a!=="href")){t.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=yi(""+l),t.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(a==="formAction"?(e!=="input"&&Ot(t,e,"name",n.name,n,null),Ot(t,e,"formEncType",n.formEncType,n,null),Ot(t,e,"formMethod",n.formMethod,n,null),Ot(t,e,"formTarget",n.formTarget,n,null)):(Ot(t,e,"encType",n.encType,n,null),Ot(t,e,"method",n.method,n,null),Ot(t,e,"target",n.target,n,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=yi(""+l),t.setAttribute(a,l);break;case"onClick":l!=null&&(t.onclick=sa);break;case"onScroll":l!=null&&yt("scroll",t);break;case"onScrollEnd":l!=null&&yt("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(s(60));t.innerHTML=a}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}a=yi(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""+l):t.removeAttribute(a);break;case"inert":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":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":l===!0?t.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,l):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(a,l):t.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(a):t.setAttribute(a,l);break;case"popover":yt("beforetoggle",t),yt("toggle",t),di(t,"popover",l);break;case"xlinkActuate":ca(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":ca(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":ca(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":ca(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":ca(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":ca(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":ca(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":ca(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":ca(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":di(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Zm.get(a)||a,di(t,a,l))}}function zs(t,e,a,l,n,i){switch(a){case"style":Xr(t,l,i);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(s(60));t.innerHTML=a}}break;case"children":typeof l=="string"?_l(t,l):(typeof l=="number"||typeof l=="bigint")&&_l(t,""+l);break;case"onScroll":l!=null&&yt("scroll",t);break;case"onScrollEnd":l!=null&&yt("scrollend",t);break;case"onClick":l!=null&&(t.onclick=sa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!jr.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(n=a.endsWith("Capture"),e=a.slice(2,n?a.length-7:void 0),i=t[ge]||null,i=i!=null?i[a]:null,typeof i=="function"&&t.removeEventListener(e,i,n),typeof l=="function")){typeof i!="function"&&i!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,l,n);break t}a in t?t[a]=l:l===!0?t.setAttribute(a,""):di(t,a,l)}}}function de(t,e,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":yt("error",t),yt("load",t);var l=!1,n=!1,i;for(i in a)if(a.hasOwnProperty(i)){var o=a[i];if(o!=null)switch(i){case"src":l=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:Ot(t,e,i,o,a,null)}}n&&Ot(t,e,"srcSet",a.srcSet,a,null),l&&Ot(t,e,"src",a.src,a,null);return;case"input":yt("invalid",t);var d=i=o=n=null,p=null,z=null;for(l in a)if(a.hasOwnProperty(l)){var N=a[l];if(N!=null)switch(l){case"name":n=N;break;case"type":o=N;break;case"checked":p=N;break;case"defaultChecked":z=N;break;case"value":i=N;break;case"defaultValue":d=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(s(137,e));break;default:Ot(t,e,l,N,a,null)}}qr(t,i,d,p,z,o,n,!1);return;case"select":yt("invalid",t),l=o=i=null;for(n in a)if(a.hasOwnProperty(n)&&(d=a[n],d!=null))switch(n){case"value":i=d;break;case"defaultValue":o=d;break;case"multiple":l=d;default:Ot(t,e,n,d,a,null)}e=i,a=o,t.multiple=!!l,e!=null?Al(t,!!l,e,!1):a!=null&&Al(t,!!l,a,!0);return;case"textarea":yt("invalid",t),i=n=l=null;for(o in a)if(a.hasOwnProperty(o)&&(d=a[o],d!=null))switch(o){case"value":l=d;break;case"defaultValue":n=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(s(91));break;default:Ot(t,e,o,d,a,null)}Vr(t,l,n,i);return;case"option":for(p in a)if(a.hasOwnProperty(p)&&(l=a[p],l!=null))switch(p){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Ot(t,e,p,l,a,null)}return;case"dialog":yt("beforetoggle",t),yt("toggle",t),yt("cancel",t),yt("close",t);break;case"iframe":case"object":yt("load",t);break;case"video":case"audio":for(l=0;l<Qn.length;l++)yt(Qn[l],t);break;case"image":yt("error",t),yt("load",t);break;case"details":yt("toggle",t);break;case"embed":case"source":case"link":yt("error",t),yt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in a)if(a.hasOwnProperty(z)&&(l=a[z],l!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:Ot(t,e,z,l,a,null)}return;default:if(Gu(e)){for(N in a)a.hasOwnProperty(N)&&(l=a[N],l!==void 0&&zs(t,e,N,l,a,void 0));return}}for(d in a)a.hasOwnProperty(d)&&(l=a[d],l!=null&&Ot(t,e,d,l,a,null))}function vy(t,e,a,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,i=null,o=null,d=null,p=null,z=null,N=null;for(w in a){var H=a[w];if(a.hasOwnProperty(w)&&H!=null)switch(w){case"checked":break;case"value":break;case"defaultValue":p=H;default:l.hasOwnProperty(w)||Ot(t,e,w,null,l,H)}}for(var R in l){var w=l[R];if(H=a[R],l.hasOwnProperty(R)&&(w!=null||H!=null))switch(R){case"type":i=w;break;case"name":n=w;break;case"checked":z=w;break;case"defaultChecked":N=w;break;case"value":o=w;break;case"defaultValue":d=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(s(137,e));break;default:w!==H&&Ot(t,e,R,w,l,H)}}Yu(t,o,d,p,z,N,i,n);return;case"select":w=o=d=R=null;for(i in a)if(p=a[i],a.hasOwnProperty(i)&&p!=null)switch(i){case"value":break;case"multiple":w=p;default:l.hasOwnProperty(i)||Ot(t,e,i,null,l,p)}for(n in l)if(i=l[n],p=a[n],l.hasOwnProperty(n)&&(i!=null||p!=null))switch(n){case"value":R=i;break;case"defaultValue":d=i;break;case"multiple":o=i;default:i!==p&&Ot(t,e,n,i,l,p)}e=d,a=o,l=w,R!=null?Al(t,!!a,R,!1):!!l!=!!a&&(e!=null?Al(t,!!a,e,!0):Al(t,!!a,a?[]:"",!1));return;case"textarea":w=R=null;for(d in a)if(n=a[d],a.hasOwnProperty(d)&&n!=null&&!l.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:Ot(t,e,d,null,l,n)}for(o in l)if(n=l[o],i=a[o],l.hasOwnProperty(o)&&(n!=null||i!=null))switch(o){case"value":R=n;break;case"defaultValue":w=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(s(91));break;default:n!==i&&Ot(t,e,o,n,l,i)}Yr(t,R,w);return;case"option":for(var K in a)if(R=a[K],a.hasOwnProperty(K)&&R!=null&&!l.hasOwnProperty(K))switch(K){case"selected":t.selected=!1;break;default:Ot(t,e,K,null,l,R)}for(p in l)if(R=l[p],w=a[p],l.hasOwnProperty(p)&&R!==w&&(R!=null||w!=null))switch(p){case"selected":t.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:Ot(t,e,p,R,l,w)}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 ct in a)R=a[ct],a.hasOwnProperty(ct)&&R!=null&&!l.hasOwnProperty(ct)&&Ot(t,e,ct,null,l,R);for(z in l)if(R=l[z],w=a[z],l.hasOwnProperty(z)&&R!==w&&(R!=null||w!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(s(137,e));break;default:Ot(t,e,z,R,l,w)}return;default:if(Gu(e)){for(var Nt in a)R=a[Nt],a.hasOwnProperty(Nt)&&R!==void 0&&!l.hasOwnProperty(Nt)&&zs(t,e,Nt,void 0,l,R);for(N in l)R=l[N],w=a[N],!l.hasOwnProperty(N)||R===w||R===void 0&&w===void 0||zs(t,e,N,R,l,w);return}}for(var T in a)R=a[T],a.hasOwnProperty(T)&&R!=null&&!l.hasOwnProperty(T)&&Ot(t,e,T,null,l,R);for(H in l)R=l[H],w=a[H],!l.hasOwnProperty(H)||R===w||R==null&&w==null||Ot(t,e,H,R,l,w)}function kd(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function by(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),l=0;l<a.length;l++){var n=a[l],i=n.transferSize,o=n.initiatorType,d=n.duration;if(i&&d&&kd(o)){for(o=0,d=n.responseEnd,l+=1;l<a.length;l++){var p=a[l],z=p.startTime;if(z>d)break;var N=p.transferSize,H=p.initiatorType;N&&kd(H)&&(p=p.responseEnd,o+=N*(p<d?1:(d-z)/(p-z)))}if(--l,e+=8*(i+o)/(n.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Rs=null,Ds=null;function ou(t){return t.nodeType===9?t:t.ownerDocument}function Jd(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Kd(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function ws(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Os=null;function Sy(){var t=window.event;return t&&t.type==="popstate"?t===Os?!1:(Os=t,!0):(Os=null,!1)}var $d=typeof setTimeout=="function"?setTimeout:void 0,Ey=typeof clearTimeout=="function"?clearTimeout:void 0,Wd=typeof Promise=="function"?Promise:void 0,xy=typeof queueMicrotask=="function"?queueMicrotask:typeof Wd<"u"?function(t){return Wd.resolve(null).then(t).catch(Ay)}:$d;function Ay(t){setTimeout(function(){throw t})}function ka(t){return t==="head"}function Fd(t,e){var a=e,l=0;do{var n=a.nextSibling;if(t.removeChild(a),n&&n.nodeType===8)if(a=n.data,a==="/$"||a==="/&"){if(l===0){t.removeChild(n),en(e);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")kn(t.ownerDocument.documentElement);else if(a==="head"){a=t.ownerDocument.head,kn(a);for(var i=a.firstChild;i;){var o=i.nextSibling,d=i.nodeName;i[on]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||a.removeChild(i),i=o}}else a==="body"&&kn(t.ownerDocument.body);a=n}while(a);en(e)}function Pd(t,e){var a=t;t=0;do{var l=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),l&&l.nodeType===8)if(a=l.data,a==="/$"){if(t===0)break;t--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||t++;a=l}while(a)}function Ns(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Ns(a),Bu(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function _y(t,e,a,l){for(;t.nodeType===1;){var n=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[on])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(i=t.getAttribute("rel"),i==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(i!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(i=t.getAttribute("src"),(i!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&i&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var i=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===i)return t}else return t;if(t=Ze(t.nextSibling),t===null)break}return null}function Ty(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Ze(t.nextSibling),t===null))return null;return t}function Id(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ze(t.nextSibling),t===null))return null;return t}function js(t){return t.data==="$?"||t.data==="$~"}function Us(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function My(t,e){var a=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||a.readyState!=="loading")e();else{var l=function(){e(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Ze(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Ls=null;function th(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="/$"||a==="/&"){if(e===0)return Ze(t.nextSibling);e--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||e++}t=t.nextSibling}return null}function eh(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(e===0)return t;e--}else a!=="/$"&&a!=="/&"||e++}t=t.previousSibling}return null}function ah(t,e,a){switch(e=ou(a),t){case"html":if(t=e.documentElement,!t)throw Error(s(452));return t;case"head":if(t=e.head,!t)throw Error(s(453));return t;case"body":if(t=e.body,!t)throw Error(s(454));return t;default:throw Error(s(451))}}function kn(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Bu(t)}var ke=new Map,lh=new Set;function fu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var _a=Y.d;Y.d={f:Cy,r:zy,D:Ry,C:Dy,L:wy,m:Oy,X:jy,S:Ny,M:Uy};function Cy(){var t=_a.f(),e=au();return t||e}function zy(t){var e=Sl(t);e!==null&&e.tag===5&&e.type==="form"?Sf(e):_a.r(t)}var Pl=typeof document>"u"?null:document;function nh(t,e,a){var l=Pl;if(l&&typeof e=="string"&&e){var n=Be(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof a=="string"&&(n+='[crossorigin="'+a+'"]'),lh.has(n)||(lh.add(n),t={rel:t,crossOrigin:a,href:e},l.querySelector(n)===null&&(e=l.createElement("link"),de(e,"link",t),ne(e),l.head.appendChild(e)))}}function Ry(t){_a.D(t),nh("dns-prefetch",t,null)}function Dy(t,e){_a.C(t,e),nh("preconnect",t,e)}function wy(t,e,a){_a.L(t,e,a);var l=Pl;if(l&&t&&e){var n='link[rel="preload"][as="'+Be(e)+'"]';e==="image"&&a&&a.imageSrcSet?(n+='[imagesrcset="'+Be(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(n+='[imagesizes="'+Be(a.imageSizes)+'"]')):n+='[href="'+Be(t)+'"]';var i=n;switch(e){case"style":i=Il(t);break;case"script":i=tn(t)}ke.has(i)||(t=M({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),ke.set(i,t),l.querySelector(n)!==null||e==="style"&&l.querySelector(Jn(i))||e==="script"&&l.querySelector(Kn(i))||(e=l.createElement("link"),de(e,"link",t),ne(e),l.head.appendChild(e)))}}function Oy(t,e){_a.m(t,e);var a=Pl;if(a&&t){var l=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+Be(l)+'"][href="'+Be(t)+'"]',i=n;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=tn(t)}if(!ke.has(i)&&(t=M({rel:"modulepreload",href:t},e),ke.set(i,t),a.querySelector(n)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Kn(i)))return}l=a.createElement("link"),de(l,"link",t),ne(l),a.head.appendChild(l)}}}function Ny(t,e,a){_a.S(t,e,a);var l=Pl;if(l&&t){var n=El(l).hoistableStyles,i=Il(t);e=e||"default";var o=n.get(i);if(!o){var d={loading:0,preload:null};if(o=l.querySelector(Jn(i)))d.loading=5;else{t=M({rel:"stylesheet",href:t,"data-precedence":e},a),(a=ke.get(i))&&Hs(t,a);var p=o=l.createElement("link");ne(p),de(p,"link",t),p._p=new Promise(function(z,N){p.onload=z,p.onerror=N}),p.addEventListener("load",function(){d.loading|=1}),p.addEventListener("error",function(){d.loading|=2}),d.loading|=4,du(o,e,l)}o={type:"stylesheet",instance:o,count:1,state:d},n.set(i,o)}}}function jy(t,e){_a.X(t,e);var a=Pl;if(a&&t){var l=El(a).hoistableScripts,n=tn(t),i=l.get(n);i||(i=a.querySelector(Kn(n)),i||(t=M({src:t,async:!0},e),(e=ke.get(n))&&Bs(t,e),i=a.createElement("script"),ne(i),de(i,"link",t),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},l.set(n,i))}}function Uy(t,e){_a.M(t,e);var a=Pl;if(a&&t){var l=El(a).hoistableScripts,n=tn(t),i=l.get(n);i||(i=a.querySelector(Kn(n)),i||(t=M({src:t,async:!0,type:"module"},e),(e=ke.get(n))&&Bs(t,e),i=a.createElement("script"),ne(i),de(i,"link",t),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},l.set(n,i))}}function ih(t,e,a,l){var n=(n=j.current)?fu(n):null;if(!n)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(e=Il(a.href),a=El(n).hoistableStyles,l=a.get(e),l||(l={type:"style",instance:null,count:0,state:null},a.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=Il(a.href);var i=El(n).hoistableStyles,o=i.get(t);if(o||(n=n.ownerDocument||n,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(t,o),(i=n.querySelector(Jn(t)))&&!i._p&&(o.instance=i,o.state.loading=5),ke.has(t)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},ke.set(t,a),i||Ly(n,t,a,o.state))),e&&l===null)throw Error(s(528,""));return o}if(e&&l!==null)throw Error(s(529,""));return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=tn(a),a=El(n).hoistableScripts,l=a.get(e),l||(l={type:"script",instance:null,count:0,state:null},a.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function Il(t){return'href="'+Be(t)+'"'}function Jn(t){return'link[rel="stylesheet"]['+t+"]"}function uh(t){return M({},t,{"data-precedence":t.precedence,precedence:null})}function Ly(t,e,a,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),de(e,"link",a),ne(e),t.head.appendChild(e))}function tn(t){return'[src="'+Be(t)+'"]'}function Kn(t){return"script[async]"+t}function ch(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Be(a.href)+'"]');if(l)return e.instance=l,ne(l),l;var n=M({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),ne(l),de(l,"style",n),du(l,a.precedence,t),e.instance=l;case"stylesheet":n=Il(a.href);var i=t.querySelector(Jn(n));if(i)return e.state.loading|=4,e.instance=i,ne(i),i;l=uh(a),(n=ke.get(n))&&Hs(l,n),i=(t.ownerDocument||t).createElement("link"),ne(i);var o=i;return o._p=new Promise(function(d,p){o.onload=d,o.onerror=p}),de(i,"link",l),e.state.loading|=4,du(i,a.precedence,t),e.instance=i;case"script":return i=tn(a.src),(n=t.querySelector(Kn(i)))?(e.instance=n,ne(n),n):(l=a,(n=ke.get(i))&&(l=M({},a),Bs(l,n)),t=t.ownerDocument||t,n=t.createElement("script"),ne(n),de(n,"link",l),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(s(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,du(l,a.precedence,t));return e.instance}function du(t,e,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=l.length?l[l.length-1]:null,i=n,o=0;o<l.length;o++){var d=l[o];if(d.dataset.precedence===e)i=d;else if(i!==n)break}i?i.parentNode.insertBefore(t,i.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function Hs(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Bs(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var hu=null;function sh(t,e,a){if(hu===null){var l=new Map,n=hu=new Map;n.set(a,l)}else n=hu,l=n.get(a),l||(l=new Map,n.set(a,l));if(l.has(t))return l;for(l.set(t,null),a=a.getElementsByTagName(t),n=0;n<a.length;n++){var i=a[n];if(!(i[on]||i[se]||t==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var o=i.getAttribute(e)||"";o=t+o;var d=l.get(o);d?d.push(i):l.set(o,[i])}}return l}function rh(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function Hy(t,e,a){if(a===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function oh(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function By(t,e,a,l){if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var n=Il(l.href),i=e.querySelector(Jn(n));if(i){e=i._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=mu.bind(t),e.then(t,t)),a.state.loading|=4,a.instance=i,ne(i);return}i=e.ownerDocument||e,l=uh(l),(n=ke.get(n))&&Hs(l,n),i=i.createElement("link"),ne(i);var o=i;o._p=new Promise(function(d,p){o.onload=d,o.onerror=p}),de(i,"link",l),a.instance=i}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&3)===0&&(t.count++,a=mu.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}var qs=0;function qy(t,e){return t.stylesheets&&t.count===0&&gu(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var l=setTimeout(function(){if(t.stylesheets&&gu(t,t.stylesheets),t.unsuspend){var i=t.unsuspend;t.unsuspend=null,i()}},6e4+e);0<t.imgBytes&&qs===0&&(qs=62500*by());var n=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&gu(t,t.stylesheets),t.unsuspend)){var i=t.unsuspend;t.unsuspend=null,i()}},(t.imgBytes>qs?50:800)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(n)}}:null}function mu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)gu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var yu=null;function gu(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,yu=new Map,e.forEach(Yy,t),yu=null,mu.call(t))}function Yy(t,e){if(!(e.state.loading&4)){var a=yu.get(t);if(a)var l=a.get(null);else{a=new Map,yu.set(t,a);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var o=n[i];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(a.set(o.dataset.precedence,o),l=o)}l&&a.set(null,l)}n=e.instance,o=n.getAttribute("data-precedence"),i=a.get(o)||l,i===l&&a.set(null,n),a.set(o,n),this.count++,l=mu.bind(this),n.addEventListener("load",l),n.addEventListener("error",l),i?i.parentNode.insertBefore(n,i.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),e.state.loading|=4}}var $n={$$typeof:V,Provider:null,Consumer:null,_currentValue:k,_currentValue2:k,_threadCount:0};function Vy(t,e,a,l,n,i,o,d,p){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ju(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ju(0),this.hiddenUpdates=ju(null),this.identifierPrefix=l,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=p,this.incompleteTransitions=new Map}function fh(t,e,a,l,n,i,o,d,p,z,N,H){return t=new Vy(t,e,a,o,p,z,N,H,d),e=1,i===!0&&(e|=24),i=De(3,null,null,e),t.current=i,i.stateNode=t,e=vc(),e.refCount++,t.pooledCache=e,e.refCount++,i.memoizedState={element:l,isDehydrated:a,cache:e},xc(i),t}function dh(t){return t?(t=wl,t):wl}function hh(t,e,a,l,n,i){n=dh(n),l.context===null?l.context=n:l.pendingContext=n,l=Ua(e),l.payload={element:a},i=i===void 0?null:i,i!==null&&(l.callback=i),a=La(t,l,e),a!==null&&(xe(a,t,e),Cn(a,t,e))}function mh(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function Ys(t,e){mh(t,e),(t=t.alternate)&&mh(t,e)}function yh(t){if(t.tag===13||t.tag===31){var e=il(t,67108864);e!==null&&xe(e,t,67108864),Ys(t,67108864)}}function gh(t){if(t.tag===13||t.tag===31){var e=Ue();e=Uu(e);var a=il(t,e);a!==null&&xe(a,t,e),Ys(t,e)}}var pu=!0;function Gy(t,e,a,l){var n=b.T;b.T=null;var i=Y.p;try{Y.p=2,Vs(t,e,a,l)}finally{Y.p=i,b.T=n}}function Xy(t,e,a,l){var n=b.T;b.T=null;var i=Y.p;try{Y.p=8,Vs(t,e,a,l)}finally{Y.p=i,b.T=n}}function Vs(t,e,a,l){if(pu){var n=Gs(l);if(n===null)Cs(t,e,l,vu,a),vh(t,l);else if(Zy(n,t,e,a,l))l.stopPropagation();else if(vh(t,l),e&4&&-1<Qy.indexOf(t)){for(;n!==null;){var i=Sl(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var o=tl(i.pendingLanes);if(o!==0){var d=i;for(d.pendingLanes|=2,d.entangledLanes|=2;o;){var p=1<<31-ze(o);d.entanglements[1]|=p,o&=~p}la(i),(_t&6)===0&&(tu=kt()+500,Xn(0))}}break;case 31:case 13:d=il(i,2),d!==null&&xe(d,i,2),au(),Ys(i,2)}if(i=Gs(l),i===null&&Cs(t,e,l,vu,a),i===n)break;n=i}n!==null&&l.stopPropagation()}else Cs(t,e,l,null,a)}}function Gs(t){return t=Qu(t),Xs(t)}var vu=null;function Xs(t){if(vu=null,t=bl(t),t!==null){var e=h(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=g(e),t!==null)return t;t=null}else if(a===31){if(t=A(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return vu=t,null}function ph(t){switch(t){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 2;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 8;case"message":switch(ua()){case Ar:return 2;case _r:return 8;case ci:case Dm:return 32;case Tr:return 268435456;default:return 32}default:return 32}}var Qs=!1,Ja=null,Ka=null,$a=null,Wn=new Map,Fn=new Map,Wa=[],Qy="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(" ");function vh(t,e){switch(t){case"focusin":case"focusout":Ja=null;break;case"dragenter":case"dragleave":Ka=null;break;case"mouseover":case"mouseout":$a=null;break;case"pointerover":case"pointerout":Wn.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fn.delete(e.pointerId)}}function Pn(t,e,a,l,n,i){return t===null||t.nativeEvent!==i?(t={blockedOn:e,domEventName:a,eventSystemFlags:l,nativeEvent:i,targetContainers:[n]},e!==null&&(e=Sl(e),e!==null&&yh(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function Zy(t,e,a,l,n){switch(e){case"focusin":return Ja=Pn(Ja,t,e,a,l,n),!0;case"dragenter":return Ka=Pn(Ka,t,e,a,l,n),!0;case"mouseover":return $a=Pn($a,t,e,a,l,n),!0;case"pointerover":var i=n.pointerId;return Wn.set(i,Pn(Wn.get(i)||null,t,e,a,l,n)),!0;case"gotpointercapture":return i=n.pointerId,Fn.set(i,Pn(Fn.get(i)||null,t,e,a,l,n)),!0}return!1}function bh(t){var e=bl(t.target);if(e!==null){var a=h(e);if(a!==null){if(e=a.tag,e===13){if(e=g(a),e!==null){t.blockedOn=e,wr(t.priority,function(){gh(a)});return}}else if(e===31){if(e=A(a),e!==null){t.blockedOn=e,wr(t.priority,function(){gh(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function bu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Gs(t.nativeEvent);if(a===null){a=t.nativeEvent;var l=new a.constructor(a.type,a);Xu=l,a.target.dispatchEvent(l),Xu=null}else return e=Sl(a),e!==null&&yh(e),t.blockedOn=a,!1;e.shift()}return!0}function Sh(t,e,a){bu(t)&&a.delete(e)}function ky(){Qs=!1,Ja!==null&&bu(Ja)&&(Ja=null),Ka!==null&&bu(Ka)&&(Ka=null),$a!==null&&bu($a)&&($a=null),Wn.forEach(Sh),Fn.forEach(Sh)}function Su(t,e){t.blockedOn===e&&(t.blockedOn=null,Qs||(Qs=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,ky)))}var Eu=null;function Eh(t){Eu!==t&&(Eu=t,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){Eu===t&&(Eu=null);for(var e=0;e<t.length;e+=3){var a=t[e],l=t[e+1],n=t[e+2];if(typeof l!="function"){if(Xs(l||a)===null)continue;break}var i=Sl(a);i!==null&&(t.splice(e,3),e-=3,Gc(i,{pending:!0,data:n,method:a.method,action:l},l,n))}}))}function en(t){function e(p){return Su(p,t)}Ja!==null&&Su(Ja,t),Ka!==null&&Su(Ka,t),$a!==null&&Su($a,t),Wn.forEach(e),Fn.forEach(e);for(var a=0;a<Wa.length;a++){var l=Wa[a];l.blockedOn===t&&(l.blockedOn=null)}for(;0<Wa.length&&(a=Wa[0],a.blockedOn===null);)bh(a),a.blockedOn===null&&Wa.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var n=a[l],i=a[l+1],o=n[ge]||null;if(typeof i=="function")o||Eh(a);else if(o){var d=null;if(i&&i.hasAttribute("formAction")){if(n=i,o=i[ge]||null)d=o.formAction;else if(Xs(n)!==null)continue}else d=o.action;typeof d=="function"?a[l+1]=d:(a.splice(l,3),l-=3),Eh(a)}}}function xh(){function t(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(o){return n=o})},focusReset:"manual",scroll:"manual"})}function e(){n!==null&&(n(),n=null),l||setTimeout(a,20)}function a(){if(!l&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,n=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),n!==null&&(n(),n=null)}}}function Zs(t){this._internalRoot=t}xu.prototype.render=Zs.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(s(409));var a=e.current,l=Ue();hh(a,l,t,e,null,null)},xu.prototype.unmount=Zs.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;hh(t.current,2,null,t,null,null),au(),e[vl]=null}};function xu(t){this._internalRoot=t}xu.prototype.unstable_scheduleHydration=function(t){if(t){var e=Dr();t={blockedOn:null,target:t,priority:e};for(var a=0;a<Wa.length&&e!==0&&e<Wa[a].priority;a++);Wa.splice(a,0,t),a===0&&bh(t)}};var Ah=c.version;if(Ah!=="19.2.7")throw Error(s(527,Ah,"19.2.7"));Y.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(s(188)):(t=Object.keys(t).join(","),Error(s(268,t)));return t=y(e),t=t!==null?D(t):null,t=t===null?null:t.stateNode,t};var Jy={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:b,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Au.isDisabled&&Au.supportsFiber)try{cn=Au.inject(Jy),Ce=Au}catch{}}return ti.createRoot=function(t,e){if(!f(t))throw Error(s(299));var a=!1,l="",n=Df,i=wf,o=Of;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(o=e.onRecoverableError)),e=fh(t,1,!1,null,null,a,l,null,n,i,o,xh),t[vl]=e.current,Ms(t),new Zs(e)},ti.hydrateRoot=function(t,e,a){if(!f(t))throw Error(s(299));var l=!1,n="",i=Df,o=wf,d=Of,p=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(n=a.identifierPrefix),a.onUncaughtError!==void 0&&(i=a.onUncaughtError),a.onCaughtError!==void 0&&(o=a.onCaughtError),a.onRecoverableError!==void 0&&(d=a.onRecoverableError),a.formState!==void 0&&(p=a.formState)),e=fh(t,1,!0,e,a??null,l,n,p,i,o,d,xh),e.context=dh(null),a=e.current,l=Ue(),l=Uu(l),n=Ua(l),n.callback=null,La(a,n,l),a=l,e.current.lanes=a,rn(e,a),la(e),t[vl]=e.current,Ms(t),new xu(e)},ti.version="19.2.7",ti}var Uh;function cg(){if(Uh)return Ks.exports;Uh=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),Ks.exports=ug(),Ks.exports}var sg=cg();/**
 * react-router v7.17.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var Lh="popstate";function Hh(u){return typeof u=="object"&&u!=null&&"pathname"in u&&"search"in u&&"hash"in u&&"state"in u&&"key"in u}function rg(u={}){function c(s,f){var y;let h=(y=f.state)==null?void 0:y.masked,{pathname:g,search:A,hash:v}=h||s.location;return ir("",{pathname:g,search:A,hash:v},f.state&&f.state.usr||null,f.state&&f.state.key||"default",h?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function r(s,f){return typeof f=="string"?f:li(f)}return fg(c,r,null,u)}function Vt(u,c){if(u===!1||u===null||typeof u>"u")throw new Error(c)}function Je(u,c){if(!u){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function og(){return Math.random().toString(36).substring(2,10)}function Bh(u,c){return{usr:u.state,key:u.key,idx:c,masked:u.mask?{pathname:u.pathname,search:u.search,hash:u.hash}:void 0}}function ir(u,c,r=null,s,f){return{pathname:typeof u=="string"?u:u.pathname,search:"",hash:"",...typeof c=="string"?an(c):c,state:r,key:c&&c.key||s||og(),mask:f}}function li({pathname:u="/",search:c="",hash:r=""}){return c&&c!=="?"&&(u+=c.charAt(0)==="?"?c:"?"+c),r&&r!=="#"&&(u+=r.charAt(0)==="#"?r:"#"+r),u}function an(u){let c={};if(u){let r=u.indexOf("#");r>=0&&(c.hash=u.substring(r),u=u.substring(0,r));let s=u.indexOf("?");s>=0&&(c.search=u.substring(s),u=u.substring(0,s)),u&&(c.pathname=u)}return c}function fg(u,c,r,s={}){let{window:f=document.defaultView,v5Compat:h=!1}=s,g=f.history,A="POP",v=null,y=D();y==null&&(y=0,g.replaceState({...g.state,idx:y},""));function D(){return(g.state||{idx:null}).idx}function M(){A="POP";let X=D(),L=X==null?null:X-y;y=X,v&&v({action:A,location:Z.location,delta:L})}function q(X,L){A="PUSH";let m=Hh(X)?X:ir(Z.location,X,L);y=D()+1;let V=Bh(m,y),G=Z.createHref(m.mask||m);try{g.pushState(V,"",G)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;f.location.assign(G)}h&&v&&v({action:A,location:Z.location,delta:1})}function $(X,L){A="REPLACE";let m=Hh(X)?X:ir(Z.location,X,L);y=D();let V=Bh(m,y),G=Z.createHref(m.mask||m);g.replaceState(V,"",G),h&&v&&v({action:A,location:Z.location,delta:0})}function W(X){return dg(f,X)}let Z={get action(){return A},get location(){return u(f,g)},listen(X){if(v)throw new Error("A history only accepts one active listener");return f.addEventListener(Lh,M),v=X,()=>{f.removeEventListener(Lh,M),v=null}},createHref(X){return c(f,X)},createURL:W,encodeLocation(X){let L=W(X);return{pathname:L.pathname,search:L.search,hash:L.hash}},push:q,replace:$,go(X){return g.go(X)}};return Z}function dg(u,c,r=!1){let s="http://localhost";u&&(s=u.location.origin!=="null"?u.location.origin:u.location.href),Vt(s,"No window.location.(origin|href) available to create URL");let f=typeof c=="string"?c:li(c);return f=f.replace(/ $/,"%20"),!r&&f.startsWith("//")&&(f=s+f),new URL(f,s)}function nm(u,c,r="/"){return hg(u,c,r,!1)}function hg(u,c,r,s,f){let h=typeof c=="string"?an(c):c,g=Ta(h.pathname||"/",r);if(g==null)return null;let A=mg(u),v=null,y=Mg(g);for(let D=0;v==null&&D<A.length;++D)v=_g(A[D],y,s);return v}function mg(u){let c=im(u);return yg(c),c}function im(u,c=[],r=[],s="",f=!1){let h=(g,A,v=f,y)=>{let D={relativePath:y===void 0?g.path||"":y,caseSensitive:g.caseSensitive===!0,childrenIndex:A,route:g};if(D.relativePath.startsWith("/")){if(!D.relativePath.startsWith(s)&&v)return;Vt(D.relativePath.startsWith(s),`Absolute route path "${D.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),D.relativePath=D.relativePath.slice(s.length)}let M=Pe([s,D.relativePath]),q=r.concat(D);g.children&&g.children.length>0&&(Vt(g.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${M}".`),im(g.children,c,q,M,v)),!(g.path==null&&!g.index)&&c.push({path:M,score:xg(M,g.index),routesMeta:q})};return u.forEach((g,A)=>{var v;if(g.path===""||!((v=g.path)!=null&&v.includes("?")))h(g,A);else for(let y of um(g.path))h(g,A,!0,y)}),c}function um(u){let c=u.split("/");if(c.length===0)return[];let[r,...s]=c,f=r.endsWith("?"),h=r.replace(/\?$/,"");if(s.length===0)return f?[h,""]:[h];let g=um(s.join("/")),A=[];return A.push(...g.map(v=>v===""?h:[h,v].join("/"))),f&&A.push(...g),A.map(v=>u.startsWith("/")&&v===""?"/":v)}function yg(u){u.sort((c,r)=>c.score!==r.score?r.score-c.score:Ag(c.routesMeta.map(s=>s.childrenIndex),r.routesMeta.map(s=>s.childrenIndex)))}var gg=/^:[\w-]+$/,pg=3,vg=2,bg=1,Sg=10,Eg=-2,qh=u=>u==="*";function xg(u,c){let r=u.split("/"),s=r.length;return r.some(qh)&&(s+=Eg),c&&(s+=vg),r.filter(f=>!qh(f)).reduce((f,h)=>f+(gg.test(h)?pg:h===""?bg:Sg),s)}function Ag(u,c){return u.length===c.length&&u.slice(0,-1).every((s,f)=>s===c[f])?u[u.length-1]-c[c.length-1]:0}function _g(u,c,r=!1){let{routesMeta:s}=u,f={},h="/",g=[];for(let A=0;A<s.length;++A){let v=s[A],y=A===s.length-1,D=h==="/"?c:c.slice(h.length)||"/",M=Cu({path:v.relativePath,caseSensitive:v.caseSensitive,end:y},D),q=v.route;if(!M&&y&&r&&!s[s.length-1].route.index&&(M=Cu({path:v.relativePath,caseSensitive:v.caseSensitive,end:!1},D)),!M)return null;Object.assign(f,M.params),g.push({params:f,pathname:Pe([h,M.pathname]),pathnameBase:Dg(Pe([h,M.pathnameBase])),route:q}),M.pathnameBase!=="/"&&(h=Pe([h,M.pathnameBase]))}return g}function Cu(u,c){typeof u=="string"&&(u={path:u,caseSensitive:!1,end:!0});let[r,s]=Tg(u.path,u.caseSensitive,u.end),f=c.match(r);if(!f)return null;let h=f[0],g=h.replace(/(.)\/+$/,"$1"),A=f.slice(1);return{params:s.reduce((y,{paramName:D,isOptional:M},q)=>{if(D==="*"){let W=A[q]||"";g=h.slice(0,h.length-W.length).replace(/(.)\/+$/,"$1")}const $=A[q];return M&&!$?y[D]=void 0:y[D]=($||"").replace(/%2F/g,"/"),y},{}),pathname:h,pathnameBase:g,pattern:u}}function Tg(u,c=!1,r=!0){Je(u==="*"||!u.endsWith("*")||u.endsWith("/*"),`Route path "${u}" will be treated as if it were "${u.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${u.replace(/\*$/,"/*")}".`);let s=[],f="^"+u.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(g,A,v,y,D)=>{if(s.push({paramName:A,isOptional:v!=null}),v){let M=D.charAt(y+g.length);return M&&M!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return u.endsWith("*")?(s.push({paramName:"*"}),f+=u==="*"||u==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?f+="\\/*$":u!==""&&u!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,c?void 0:"i"),s]}function Mg(u){try{return u.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return Je(!1,`The URL path "${u}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${c}).`),u}}function Ta(u,c){if(c==="/")return u;if(!u.toLowerCase().startsWith(c.toLowerCase()))return null;let r=c.endsWith("/")?c.length-1:c.length,s=u.charAt(r);return s&&s!=="/"?null:u.slice(r)||"/"}var Cg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function zg(u,c="/"){let{pathname:r,search:s="",hash:f=""}=typeof u=="string"?an(u):u,h;return r?(r=cm(r),r.startsWith("/")?h=Yh(r.substring(1),"/"):h=Yh(r,c)):h=c,{pathname:h,search:wg(s),hash:Og(f)}}function Yh(u,c){let r=zu(c).split("/");return u.split("/").forEach(f=>{f===".."?r.length>1&&r.pop():f!=="."&&r.push(f)}),r.length>1?r.join("/"):"/"}function Ps(u,c,r,s){return`Cannot include a '${u}' character in a manually specified \`to.${c}\` field [${JSON.stringify(s)}].  Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Rg(u){return u.filter((c,r)=>r===0||c.route.path&&c.route.path.length>0)}function dr(u){let c=Rg(u);return c.map((r,s)=>s===c.length-1?r.pathname:r.pathnameBase)}function Ru(u,c,r,s=!1){let f;typeof u=="string"?f=an(u):(f={...u},Vt(!f.pathname||!f.pathname.includes("?"),Ps("?","pathname","search",f)),Vt(!f.pathname||!f.pathname.includes("#"),Ps("#","pathname","hash",f)),Vt(!f.search||!f.search.includes("#"),Ps("#","search","hash",f)));let h=u===""||f.pathname==="",g=h?"/":f.pathname,A;if(g==null)A=r;else{let M=c.length-1;if(!s&&g.startsWith("..")){let q=g.split("/");for(;q[0]==="..";)q.shift(),M-=1;f.pathname=q.join("/")}A=M>=0?c[M]:"/"}let v=zg(f,A),y=g&&g!=="/"&&g.endsWith("/"),D=(h||g===".")&&r.endsWith("/");return!v.pathname.endsWith("/")&&(y||D)&&(v.pathname+="/"),v}var cm=u=>u.replace(/\/\/+/g,"/"),Pe=u=>cm(u.join("/")),zu=u=>u.replace(/\/+$/,""),Dg=u=>zu(u).replace(/^\/*/,"/"),wg=u=>!u||u==="?"?"":u.startsWith("?")?u:"?"+u,Og=u=>!u||u==="#"?"":u.startsWith("#")?u:"#"+u,Ng=class{constructor(u,c,r,s=!1){this.status=u,this.statusText=c||"",this.internal=s,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function jg(u){return u!=null&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.internal=="boolean"&&"data"in u}function Ug(u){let c=u.map(r=>r.route.path).filter(Boolean);return Pe(c)||"/"}var sm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function rm(u,c){let r=u;if(typeof r!="string"||!Cg.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let s=r,f=!1;if(sm)try{let h=new URL(window.location.href),g=r.startsWith("//")?new URL(h.protocol+r):new URL(r),A=Ta(g.pathname,c);g.origin===h.origin&&A!=null?r=A+g.search+g.hash:f=!0}catch{Je(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:f,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var om=["POST","PUT","PATCH","DELETE"];new Set(om);var Lg=["GET",...om];new Set(Lg);var ln=x.createContext(null);ln.displayName="DataRouter";var Du=x.createContext(null);Du.displayName="DataRouterState";var fm=x.createContext(!1);function Hg(){return x.useContext(fm)}var dm=x.createContext({isTransitioning:!1});dm.displayName="ViewTransition";var Bg=x.createContext(new Map);Bg.displayName="Fetchers";var qg=x.createContext(null);qg.displayName="Await";var Le=x.createContext(null);Le.displayName="Navigation";var ii=x.createContext(null);ii.displayName="Location";var Ke=x.createContext({outlet:null,matches:[],isDataRoute:!1});Ke.displayName="Route";var hr=x.createContext(null);hr.displayName="RouteError";var hm="REACT_ROUTER_ERROR",Yg="REDIRECT",Vg="ROUTE_ERROR_RESPONSE";function Gg(u){if(u.startsWith(`${hm}:${Yg}:{`))try{let c=JSON.parse(u.slice(28));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string"&&typeof c.location=="string"&&typeof c.reloadDocument=="boolean"&&typeof c.replace=="boolean")return c}catch{}}function Xg(u){if(u.startsWith(`${hm}:${Vg}:{`))try{let c=JSON.parse(u.slice(40));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string")return new Ng(c.status,c.statusText,c.data)}catch{}}function Qg(u,{relative:c}={}){Vt(nn(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:s}=x.useContext(Le),{hash:f,pathname:h,search:g}=ui(u,{relative:c}),A=h;return r!=="/"&&(A=h==="/"?r:Pe([r,h])),s.createHref({pathname:A,search:g,hash:f})}function nn(){return x.useContext(ii)!=null}function Ie(){return Vt(nn(),"useLocation() may be used only in the context of a <Router> component."),x.useContext(ii).location}var mm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ym(u){x.useContext(Le).static||x.useLayoutEffect(u)}function wu(){let{isDataRoute:u}=x.useContext(Ke);return u?up():Zg()}function Zg(){Vt(nn(),"useNavigate() may be used only in the context of a <Router> component.");let u=x.useContext(ln),{basename:c,navigator:r}=x.useContext(Le),{matches:s}=x.useContext(Ke),{pathname:f}=Ie(),h=JSON.stringify(dr(s)),g=x.useRef(!1);return ym(()=>{g.current=!0}),x.useCallback((v,y={})=>{if(Je(g.current,mm),!g.current)return;if(typeof v=="number"){r.go(v);return}let D=Ru(v,JSON.parse(h),f,y.relative==="path");u==null&&c!=="/"&&(D.pathname=D.pathname==="/"?c:Pe([c,D.pathname])),(y.replace?r.replace:r.push)(D,y.state,y)},[c,r,h,f,u])}var kg=x.createContext(null);function Jg(u){let c=x.useContext(Ke).outlet;return x.useMemo(()=>c&&x.createElement(kg.Provider,{value:u},c),[c,u])}function Kg(){let{matches:u}=x.useContext(Ke),c=u[u.length-1];return(c==null?void 0:c.params)??{}}function ui(u,{relative:c}={}){let{matches:r}=x.useContext(Ke),{pathname:s}=Ie(),f=JSON.stringify(dr(r));return x.useMemo(()=>Ru(u,JSON.parse(f),s,c==="path"),[u,f,s,c])}function $g(u,c){return gm(u,c)}function gm(u,c,r){var X;Vt(nn(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=x.useContext(Le),{matches:f}=x.useContext(Ke),h=f[f.length-1],g=h?h.params:{},A=h?h.pathname:"/",v=h?h.pathnameBase:"/",y=h&&h.route;{let L=y&&y.path||"";vm(A,!y||L.endsWith("*")||L.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${A}" (under <Route path="${L}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${L}"> to <Route path="${L==="/"?"*":`${L}/*`}">.`)}let D=Ie(),M;if(c){let L=typeof c=="string"?an(c):c;Vt(v==="/"||((X=L.pathname)==null?void 0:X.startsWith(v)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${v}" but pathname "${L.pathname}" was given in the \`location\` prop.`),M=L}else M=D;let q=M.pathname||"/",$=q;if(v!=="/"){let L=v.replace(/^\//,"").split("/");$="/"+q.replace(/^\//,"").split("/").slice(L.length).join("/")}let W=r&&r.state.matches.length?r.state.matches.map(L=>Object.assign(L,{route:r.manifest[L.route.id]||L.route})):nm(u,{pathname:$});Je(y||W!=null,`No routes matched location "${M.pathname}${M.search}${M.hash}" `),Je(W==null||W[W.length-1].route.element!==void 0||W[W.length-1].route.Component!==void 0||W[W.length-1].route.lazy!==void 0,`Matched leaf route at location "${M.pathname}${M.search}${M.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let Z=tp(W&&W.map(L=>Object.assign({},L,{params:Object.assign({},g,L.params),pathname:Pe([v,s.encodeLocation?s.encodeLocation(L.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathname]),pathnameBase:L.pathnameBase==="/"?v:Pe([v,s.encodeLocation?s.encodeLocation(L.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathnameBase])})),f,r);return c&&Z?x.createElement(ii.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...M},navigationType:"POP"}},Z):Z}function Wg(){let u=ip(),c=jg(u)?`${u.status} ${u.statusText}`:u instanceof Error?u.message:JSON.stringify(u),r=u instanceof Error?u.stack:null,s="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:s},h={padding:"2px 4px",backgroundColor:s},g=null;return console.error("Error handled by React Router default ErrorBoundary:",u),g=x.createElement(x.Fragment,null,x.createElement("p",null,"💿 Hey developer 👋"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:h},"ErrorBoundary")," or"," ",x.createElement("code",{style:h},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},c),r?x.createElement("pre",{style:f},r):null,g)}var Fg=x.createElement(Wg,null),pm=class extends x.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,c){return c.location!==u.location||c.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:c.error,location:c.location,revalidation:u.revalidation||c.revalidation}}componentDidCatch(u,c){this.props.onError?this.props.onError(u,c):console.error("React Router caught the following error during render",u)}render(){let u=this.state.error;if(this.context&&typeof u=="object"&&u&&"digest"in u&&typeof u.digest=="string"){const r=Xg(u.digest);r&&(u=r)}let c=u!==void 0?x.createElement(Ke.Provider,{value:this.props.routeContext},x.createElement(hr.Provider,{value:u,children:this.props.component})):this.props.children;return this.context?x.createElement(Pg,{error:u},c):c}};pm.contextType=fm;var Is=new WeakMap;function Pg({children:u,error:c}){let{basename:r}=x.useContext(Le);if(typeof c=="object"&&c&&"digest"in c&&typeof c.digest=="string"){let s=Gg(c.digest);if(s){let f=Is.get(c);if(f)throw f;let h=rm(s.location,r);if(sm&&!Is.get(c))if(h.isExternal||s.reloadDocument)window.location.href=h.absoluteURL||h.to;else{const g=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(h.to,{replace:s.replace}));throw Is.set(c,g),g}return x.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h.absoluteURL||h.to}`})}}return u}function Ig({routeContext:u,match:c,children:r}){let s=x.useContext(ln);return s&&s.static&&s.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=c.route.id),x.createElement(Ke.Provider,{value:u},r)}function tp(u,c=[],r){let s=r==null?void 0:r.state;if(u==null){if(!s)return null;if(s.errors)u=s.matches;else if(c.length===0&&!s.initialized&&s.matches.length>0)u=s.matches;else return null}let f=u,h=s==null?void 0:s.errors;if(h!=null){let D=f.findIndex(M=>M.route.id&&(h==null?void 0:h[M.route.id])!==void 0);Vt(D>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),f=f.slice(0,Math.min(f.length,D+1))}let g=!1,A=-1;if(r&&s){g=s.renderFallback;for(let D=0;D<f.length;D++){let M=f[D];if((M.route.HydrateFallback||M.route.hydrateFallbackElement)&&(A=D),M.route.id){let{loaderData:q,errors:$}=s,W=M.route.loader&&!q.hasOwnProperty(M.route.id)&&(!$||$[M.route.id]===void 0);if(M.route.lazy||W){r.isStatic&&(g=!0),A>=0?f=f.slice(0,A+1):f=[f[0]];break}}}}let v=r==null?void 0:r.onError,y=s&&v?(D,M)=>{var q,$;v(D,{location:s.location,params:(($=(q=s.matches)==null?void 0:q[0])==null?void 0:$.params)??{},pattern:Ug(s.matches),errorInfo:M})}:void 0;return f.reduceRight((D,M,q)=>{let $,W=!1,Z=null,X=null;s&&($=h&&M.route.id?h[M.route.id]:void 0,Z=M.route.errorElement||Fg,g&&(A<0&&q===0?(vm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),W=!0,X=null):A===q&&(W=!0,X=M.route.hydrateFallbackElement||null)));let L=c.concat(f.slice(0,q+1)),m=()=>{let V;return $?V=Z:W?V=X:M.route.Component?V=x.createElement(M.route.Component,null):M.route.element?V=M.route.element:V=D,x.createElement(Ig,{match:M,routeContext:{outlet:D,matches:L,isDataRoute:s!=null},children:V})};return s&&(M.route.ErrorBoundary||M.route.errorElement||q===0)?x.createElement(pm,{location:s.location,revalidation:s.revalidation,component:Z,error:$,children:m(),routeContext:{outlet:null,matches:L,isDataRoute:!0},onError:y}):m()},null)}function mr(u){return`${u} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function ep(u){let c=x.useContext(ln);return Vt(c,mr(u)),c}function ap(u){let c=x.useContext(Du);return Vt(c,mr(u)),c}function lp(u){let c=x.useContext(Ke);return Vt(c,mr(u)),c}function yr(u){let c=lp(u),r=c.matches[c.matches.length-1];return Vt(r.route.id,`${u} can only be used on routes that contain a unique "id"`),r.route.id}function np(){return yr("useRouteId")}function ip(){var s;let u=x.useContext(hr),c=ap("useRouteError"),r=yr("useRouteError");return u!==void 0?u:(s=c.errors)==null?void 0:s[r]}function up(){let{router:u}=ep("useNavigate"),c=yr("useNavigate"),r=x.useRef(!1);return ym(()=>{r.current=!0}),x.useCallback(async(f,h={})=>{Je(r.current,mm),r.current&&(typeof f=="number"?await u.navigate(f):await u.navigate(f,{fromRouteId:c,...h}))},[u,c])}var Vh={};function vm(u,c,r){!c&&!Vh[u]&&(Vh[u]=!0,Je(!1,r))}x.memo(cp);function cp({routes:u,manifest:c,future:r,state:s,isStatic:f,onError:h}){return gm(u,void 0,{manifest:c,state:s,isStatic:f,onError:h})}function Ou({to:u,replace:c,state:r,relative:s}){Vt(nn(),"<Navigate> may be used only in the context of a <Router> component.");let{static:f}=x.useContext(Le);Je(!f,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:h}=x.useContext(Ke),{pathname:g}=Ie(),A=wu(),v=Ru(u,dr(h),g,s==="path"),y=JSON.stringify(v);return x.useEffect(()=>{A(JSON.parse(y),{replace:c,state:r,relative:s})},[A,y,s,c,r]),null}function sp(u){return Jg(u.context)}function Mt(u){Vt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function rp({basename:u="/",children:c=null,location:r,navigationType:s="POP",navigator:f,static:h=!1,useTransitions:g}){Vt(!nn(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let A=u.replace(/^\/*/,"/"),v=x.useMemo(()=>({basename:A,navigator:f,static:h,useTransitions:g,future:{}}),[A,f,h,g]);typeof r=="string"&&(r=an(r));let{pathname:y="/",search:D="",hash:M="",state:q=null,key:$="default",mask:W}=r,Z=x.useMemo(()=>{let X=Ta(y,A);return X==null?null:{location:{pathname:X,search:D,hash:M,state:q,key:$,mask:W},navigationType:s}},[A,y,D,M,q,$,s,W]);return Je(Z!=null,`<Router basename="${A}"> is not able to match the URL "${y}${D}${M}" because it does not start with the basename, so the <Router> won't render anything.`),Z==null?null:x.createElement(Le.Provider,{value:v},x.createElement(ii.Provider,{children:c,value:Z}))}function op({children:u,location:c}){return $g(ur(u),c)}function ur(u,c=[]){let r=[];return x.Children.forEach(u,(s,f)=>{if(!x.isValidElement(s))return;let h=[...c,f];if(s.type===x.Fragment){r.push.apply(r,ur(s.props.children,h));return}Vt(s.type===Mt,`[${typeof s.type=="string"?s.type:s.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Vt(!s.props.index||!s.props.children,"An index route cannot have child routes.");let g={id:s.props.id||h.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,middleware:s.props.middleware,loader:s.props.loader,action:s.props.action,hydrateFallbackElement:s.props.hydrateFallbackElement,HydrateFallback:s.props.HydrateFallback,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.hasErrorBoundary===!0||s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(g.children=ur(s.props.children,h)),r.push(g)}),r}var Tu="get",Mu="application/x-www-form-urlencoded";function Nu(u){return typeof HTMLElement<"u"&&u instanceof HTMLElement}function fp(u){return Nu(u)&&u.tagName.toLowerCase()==="button"}function dp(u){return Nu(u)&&u.tagName.toLowerCase()==="form"}function hp(u){return Nu(u)&&u.tagName.toLowerCase()==="input"}function mp(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function yp(u,c){return u.button===0&&(!c||c==="_self")&&!mp(u)}function cr(u=""){return new URLSearchParams(typeof u=="string"||Array.isArray(u)||u instanceof URLSearchParams?u:Object.keys(u).reduce((c,r)=>{let s=u[r];return c.concat(Array.isArray(s)?s.map(f=>[r,f]):[[r,s]])},[]))}function gp(u,c){let r=cr(u);return c&&c.forEach((s,f)=>{r.has(f)||c.getAll(f).forEach(h=>{r.append(f,h)})}),r}var _u=null;function pp(){if(_u===null)try{new FormData(document.createElement("form"),0),_u=!1}catch{_u=!0}return _u}var vp=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function tr(u){return u!=null&&!vp.has(u)?(Je(!1,`"${u}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Mu}"`),null):u}function bp(u,c){let r,s,f,h,g;if(dp(u)){let A=u.getAttribute("action");s=A?Ta(A,c):null,r=u.getAttribute("method")||Tu,f=tr(u.getAttribute("enctype"))||Mu,h=new FormData(u)}else if(fp(u)||hp(u)&&(u.type==="submit"||u.type==="image")){let A=u.form;if(A==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let v=u.getAttribute("formaction")||A.getAttribute("action");if(s=v?Ta(v,c):null,r=u.getAttribute("formmethod")||A.getAttribute("method")||Tu,f=tr(u.getAttribute("formenctype"))||tr(A.getAttribute("enctype"))||Mu,h=new FormData(A,u),!pp()){let{name:y,type:D,value:M}=u;if(D==="image"){let q=y?`${y}.`:"";h.append(`${q}x`,"0"),h.append(`${q}y`,"0")}else y&&h.append(y,M)}}else{if(Nu(u))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Tu,s=null,f=Mu,g=u}return h&&f==="text/plain"&&(g=h,h=void 0),{action:s,method:r.toLowerCase(),encType:f,formData:h,body:g}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function gr(u,c){if(u===!1||u===null||typeof u>"u")throw new Error(c)}function bm(u,c,r,s){let f=typeof u=="string"?new URL(u,typeof window>"u"?"server://singlefetch/":window.location.origin):u;return r?f.pathname.endsWith("/")?f.pathname=`${f.pathname}_.${s}`:f.pathname=`${f.pathname}.${s}`:f.pathname==="/"?f.pathname=`_root.${s}`:c&&Ta(f.pathname,c)==="/"?f.pathname=`${zu(c)}/_root.${s}`:f.pathname=`${zu(f.pathname)}.${s}`,f}async function Sp(u,c){if(u.id in c)return c[u.id];try{let r=await import(u.module);return c[u.id]=r,r}catch(r){return console.error(`Error loading route module \`${u.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Ep(u){return u==null?!1:u.href==null?u.rel==="preload"&&typeof u.imageSrcSet=="string"&&typeof u.imageSizes=="string":typeof u.rel=="string"&&typeof u.href=="string"}async function xp(u,c,r){let s=await Promise.all(u.map(async f=>{let h=c.routes[f.route.id];if(h){let g=await Sp(h,r);return g.links?g.links():[]}return[]}));return Mp(s.flat(1).filter(Ep).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function Gh(u,c,r,s,f,h){let g=(v,y)=>r[y]?v.route.id!==r[y].route.id:!0,A=(v,y)=>{var D;return r[y].pathname!==v.pathname||((D=r[y].route.path)==null?void 0:D.endsWith("*"))&&r[y].params["*"]!==v.params["*"]};return h==="assets"?c.filter((v,y)=>g(v,y)||A(v,y)):h==="data"?c.filter((v,y)=>{var M;let D=s.routes[v.route.id];if(!D||!D.hasLoader)return!1;if(g(v,y)||A(v,y))return!0;if(v.route.shouldRevalidate){let q=v.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:((M=r[0])==null?void 0:M.params)||{},nextUrl:new URL(u,window.origin),nextParams:v.params,defaultShouldRevalidate:!0});if(typeof q=="boolean")return q}return!0}):[]}function Ap(u,c,{includeHydrateFallback:r}={}){return _p(u.map(s=>{let f=c.routes[s.route.id];if(!f)return[];let h=[f.module];return f.clientActionModule&&(h=h.concat(f.clientActionModule)),f.clientLoaderModule&&(h=h.concat(f.clientLoaderModule)),r&&f.hydrateFallbackModule&&(h=h.concat(f.hydrateFallbackModule)),f.imports&&(h=h.concat(f.imports)),h}).flat(1))}function _p(u){return[...new Set(u)]}function Tp(u){let c={},r=Object.keys(u).sort();for(let s of r)c[s]=u[s];return c}function Mp(u,c){let r=new Set;return new Set(c),u.reduce((s,f)=>{let h=JSON.stringify(Tp(f));return r.has(h)||(r.add(h),s.push({key:h,link:f})),s},[])}function pr(){let u=x.useContext(ln);return gr(u,"You must render this element inside a <DataRouterContext.Provider> element"),u}function Cp(){let u=x.useContext(Du);return gr(u,"You must render this element inside a <DataRouterStateContext.Provider> element"),u}var vr=x.createContext(void 0);vr.displayName="FrameworkContext";function br(){let u=x.useContext(vr);return gr(u,"You must render this element inside a <HydratedRouter> element"),u}function zp(u,c){let r=x.useContext(vr),[s,f]=x.useState(!1),[h,g]=x.useState(!1),{onFocus:A,onBlur:v,onMouseEnter:y,onMouseLeave:D,onTouchStart:M}=c,q=x.useRef(null);x.useEffect(()=>{if(u==="render"&&g(!0),u==="viewport"){let Z=L=>{L.forEach(m=>{g(m.isIntersecting)})},X=new IntersectionObserver(Z,{threshold:.5});return q.current&&X.observe(q.current),()=>{X.disconnect()}}},[u]),x.useEffect(()=>{if(s){let Z=setTimeout(()=>{g(!0)},100);return()=>{clearTimeout(Z)}}},[s]);let $=()=>{f(!0)},W=()=>{f(!1),g(!1)};return r?u!=="intent"?[h,q,{}]:[h,q,{onFocus:ei(A,$),onBlur:ei(v,W),onMouseEnter:ei(y,$),onMouseLeave:ei(D,W),onTouchStart:ei(M,$)}]:[!1,q,{}]}function ei(u,c){return r=>{u&&u(r),r.defaultPrevented||c(r)}}function Rp({page:u,...c}){let r=Hg(),{router:s}=pr(),f=x.useMemo(()=>nm(s.routes,u,s.basename),[s.routes,u,s.basename]);return f?r?x.createElement(wp,{page:u,matches:f,...c}):x.createElement(Op,{page:u,matches:f,...c}):null}function Dp(u){let{manifest:c,routeModules:r}=br(),[s,f]=x.useState([]);return x.useEffect(()=>{let h=!1;return xp(u,c,r).then(g=>{h||f(g)}),()=>{h=!0}},[u,c,r]),s}function wp({page:u,matches:c,...r}){let s=Ie(),{future:f}=br(),{basename:h}=pr(),g=x.useMemo(()=>{if(u===s.pathname+s.search+s.hash)return[];let A=bm(u,h,f.v8_trailingSlashAwareDataRequests,"rsc"),v=!1,y=[];for(let D of c)typeof D.route.shouldRevalidate=="function"?v=!0:y.push(D.route.id);return v&&y.length>0&&A.searchParams.set("_routes",y.join(",")),[A.pathname+A.search]},[h,f.v8_trailingSlashAwareDataRequests,u,s,c]);return x.createElement(x.Fragment,null,g.map(A=>x.createElement("link",{key:A,rel:"prefetch",as:"fetch",href:A,...r})))}function Op({page:u,matches:c,...r}){let s=Ie(),{future:f,manifest:h,routeModules:g}=br(),{basename:A}=pr(),{loaderData:v,matches:y}=Cp(),D=x.useMemo(()=>Gh(u,c,y,h,s,"data"),[u,c,y,h,s]),M=x.useMemo(()=>Gh(u,c,y,h,s,"assets"),[u,c,y,h,s]),q=x.useMemo(()=>{if(u===s.pathname+s.search+s.hash)return[];let Z=new Set,X=!1;if(c.forEach(m=>{var G;let V=h.routes[m.route.id];!V||!V.hasLoader||(!D.some(P=>P.route.id===m.route.id)&&m.route.id in v&&((G=g[m.route.id])!=null&&G.shouldRevalidate)||V.hasClientLoader?X=!0:Z.add(m.route.id))}),Z.size===0)return[];let L=bm(u,A,f.v8_trailingSlashAwareDataRequests,"data");return X&&Z.size>0&&L.searchParams.set("_routes",c.filter(m=>Z.has(m.route.id)).map(m=>m.route.id).join(",")),[L.pathname+L.search]},[A,f.v8_trailingSlashAwareDataRequests,v,s,h,D,c,u,g]),$=x.useMemo(()=>Ap(M,h),[M,h]),W=Dp(M);return x.createElement(x.Fragment,null,q.map(Z=>x.createElement("link",{key:Z,rel:"prefetch",as:"fetch",href:Z,...r})),$.map(Z=>x.createElement("link",{key:Z,rel:"modulepreload",href:Z,...r})),W.map(({key:Z,link:X})=>x.createElement("link",{key:Z,nonce:r.nonce,...X,crossOrigin:X.crossOrigin??r.crossOrigin})))}function Np(...u){return c=>{u.forEach(r=>{typeof r=="function"?r(c):r!=null&&(r.current=c)})}}var jp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{jp&&(window.__reactRouterVersion="7.17.0")}catch{}function Up({basename:u,children:c,useTransitions:r,window:s}){let f=x.useRef();f.current==null&&(f.current=rg({window:s,v5Compat:!0}));let h=f.current,[g,A]=x.useState({action:h.action,location:h.location}),v=x.useCallback(y=>{r===!1?A(y):x.startTransition(()=>A(y))},[r]);return x.useLayoutEffect(()=>h.listen(v),[h,v]),x.createElement(rp,{basename:u,children:c,location:g.location,navigationType:g.action,navigator:h,useTransitions:r})}var Sm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Sr=x.forwardRef(function({onClick:c,discover:r="render",prefetch:s="none",relative:f,reloadDocument:h,replace:g,mask:A,state:v,target:y,to:D,preventScrollReset:M,viewTransition:q,defaultShouldRevalidate:$,...W},Z){let{basename:X,navigator:L,useTransitions:m}=x.useContext(Le),V=typeof D=="string"&&Sm.test(D),G=rm(D,X);D=G.to;let P=Qg(D,{relative:f}),at=Ie(),tt=null;if(A){let Lt=Ru(A,[],at.mask?at.mask.pathname:"/",!0);X!=="/"&&(Lt.pathname=Lt.pathname==="/"?X:Pe([X,Lt.pathname])),tt=L.createHref(Lt)}let[xt,Gt,he]=zp(s,W),qt=qp(D,{replace:g,mask:A,state:v,target:y,preventScrollReset:M,relative:f,viewTransition:q,defaultShouldRevalidate:$,useTransitions:m});function Ft(Lt){c&&c(Lt),Lt.defaultPrevented||qt(Lt)}let Ae=!(G.isExternal||h),ue=x.createElement("a",{...W,...he,href:(Ae?tt:void 0)||G.absoluteURL||P,onClick:Ae?Ft:c,ref:Np(Z,Gt),target:y,"data-discover":!V&&r==="render"?"true":void 0});return xt&&!V?x.createElement(x.Fragment,null,ue,x.createElement(Rp,{page:P})):ue});Sr.displayName="Link";var Lp=x.forwardRef(function({"aria-current":c="page",caseSensitive:r=!1,className:s="",end:f=!1,style:h,to:g,viewTransition:A,children:v,...y},D){let M=ui(g,{relative:y.relative}),q=Ie(),$=x.useContext(Du),{navigator:W,basename:Z}=x.useContext(Le),X=$!=null&&Qp(M)&&A===!0,L=W.encodeLocation?W.encodeLocation(M).pathname:M.pathname,m=q.pathname,V=$&&$.navigation&&$.navigation.location?$.navigation.location.pathname:null;r||(m=m.toLowerCase(),V=V?V.toLowerCase():null,L=L.toLowerCase()),V&&Z&&(V=Ta(V,Z)||V);const G=L!=="/"&&L.endsWith("/")?L.length-1:L.length;let P=m===L||!f&&m.startsWith(L)&&m.charAt(G)==="/",at=V!=null&&(V===L||!f&&V.startsWith(L)&&V.charAt(L.length)==="/"),tt={isActive:P,isPending:at,isTransitioning:X},xt=P?c:void 0,Gt;typeof s=="function"?Gt=s(tt):Gt=[s,P?"active":null,at?"pending":null,X?"transitioning":null].filter(Boolean).join(" ");let he=typeof h=="function"?h(tt):h;return x.createElement(Sr,{...y,"aria-current":xt,className:Gt,ref:D,style:he,to:g,viewTransition:A},typeof v=="function"?v(tt):v)});Lp.displayName="NavLink";var Hp=x.forwardRef(({discover:u="render",fetcherKey:c,navigate:r,reloadDocument:s,replace:f,state:h,method:g=Tu,action:A,onSubmit:v,relative:y,preventScrollReset:D,viewTransition:M,defaultShouldRevalidate:q,...$},W)=>{let{useTransitions:Z}=x.useContext(Le),X=Gp(),L=Xp(A,{relative:y}),m=g.toLowerCase()==="get"?"get":"post",V=typeof A=="string"&&Sm.test(A),G=P=>{if(v&&v(P),P.defaultPrevented)return;P.preventDefault();let at=P.nativeEvent.submitter,tt=(at==null?void 0:at.getAttribute("formmethod"))||g,xt=()=>X(at||P.currentTarget,{fetcherKey:c,method:tt,navigate:r,replace:f,state:h,relative:y,preventScrollReset:D,viewTransition:M,defaultShouldRevalidate:q});Z&&r!==!1?x.startTransition(()=>xt()):xt()};return x.createElement("form",{ref:W,method:m,action:L,onSubmit:s?v:G,...$,"data-discover":!V&&u==="render"?"true":void 0})});Hp.displayName="Form";function Bp(u){return`${u} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Em(u){let c=x.useContext(ln);return Vt(c,Bp(u)),c}function qp(u,{target:c,replace:r,mask:s,state:f,preventScrollReset:h,relative:g,viewTransition:A,defaultShouldRevalidate:v,useTransitions:y}={}){let D=wu(),M=Ie(),q=ui(u,{relative:g});return x.useCallback($=>{if(yp($,c)){$.preventDefault();let W=r!==void 0?r:li(M)===li(q),Z=()=>D(u,{replace:W,mask:s,state:f,preventScrollReset:h,relative:g,viewTransition:A,defaultShouldRevalidate:v});y?x.startTransition(()=>Z()):Z()}},[M,D,q,r,s,f,c,u,h,g,A,v,y])}function P1(u){Je(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let c=x.useRef(cr(u)),r=x.useRef(!1),s=Ie(),f=x.useMemo(()=>gp(s.search,r.current?null:c.current),[s.search]),h=wu(),g=x.useCallback((A,v)=>{const y=cr(typeof A=="function"?A(new URLSearchParams(f)):A);r.current=!0,h("?"+y,v)},[h,f]);return[f,g]}var Yp=0,Vp=()=>`__${String(++Yp)}__`;function Gp(){let{router:u}=Em("useSubmit"),{basename:c}=x.useContext(Le),r=np(),s=u.fetch,f=u.navigate;return x.useCallback(async(h,g={})=>{let{action:A,method:v,encType:y,formData:D,body:M}=bp(h,c);if(g.navigate===!1){let q=g.fetcherKey||Vp();await s(q,r,g.action||A,{defaultShouldRevalidate:g.defaultShouldRevalidate,preventScrollReset:g.preventScrollReset,formData:D,body:M,formMethod:g.method||v,formEncType:g.encType||y,flushSync:g.flushSync})}else await f(g.action||A,{defaultShouldRevalidate:g.defaultShouldRevalidate,preventScrollReset:g.preventScrollReset,formData:D,body:M,formMethod:g.method||v,formEncType:g.encType||y,replace:g.replace,state:g.state,fromRouteId:r,flushSync:g.flushSync,viewTransition:g.viewTransition})},[s,f,c,r])}function Xp(u,{relative:c}={}){let{basename:r}=x.useContext(Le),s=x.useContext(Ke);Vt(s,"useFormAction must be used inside a RouteContext");let[f]=s.matches.slice(-1),h={...ui(u||".",{relative:c})},g=Ie();if(u==null){h.search=g.search;let A=new URLSearchParams(h.search),v=A.getAll("index");if(v.some(D=>D==="")){A.delete("index"),v.filter(M=>M).forEach(M=>A.append("index",M));let D=A.toString();h.search=D?`?${D}`:""}}return(!u||u===".")&&f.route.index&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(h.pathname=h.pathname==="/"?r:Pe([r,h.pathname])),li(h)}function Qp(u,{relative:c}={}){let r=x.useContext(dm);Vt(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=Em("useViewTransitionState"),f=ui(u,{relative:c});if(!r.isTransitioning)return!1;let h=Ta(r.currentLocation.pathname,s)||r.currentLocation.pathname,g=Ta(r.nextLocation.pathname,s)||r.nextLocation.pathname;return Cu(f.pathname,g)!=null||Cu(f.pathname,h)!=null}const Zp={storage:{publicUrl:()=>"#"},auth:{restore:()=>{},onAuthStateChange:()=>()=>{},adoptAnonIdentity:()=>"",whenTokenReady:()=>Promise.resolve()},flags:{get:()=>{},isEnabled:()=>!1,variant:()=>"",all:()=>({}),subscribe:()=>()=>{},keys:()=>[],setCookieOverride:()=>{},clearCookieOverride:()=>{}},log:{debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},db:{get:()=>Promise.resolve(null),set:()=>Promise.resolve(),on:()=>()=>{},onChild:()=>()=>{},connect:()=>Promise.resolve(),disconnect:()=>{}}},kp=new Set(["auth","storage","leads","log","flags","db"]);function Jp(){return new Proxy({},{get:(u,c)=>kp.has(c)?new Proxy({},{get:(r,s)=>{var f;return((f=Zp[c])==null?void 0:f[s])??(()=>Promise.resolve(null))}}):()=>{}})}const dt=typeof window<"u"&&window.Bodify?window.Bodify:Jp(),I1=Object.freeze(Object.defineProperty({__proto__:null,Bodify:dt},Symbol.toStringTag,{value:"Module"}));function Kp(u){const c=u.split("/"),r=[];for(let s=c.length-1;s>0;s--)r.push(c.slice(0,s).join("/"));return r}class $p{constructor(){this.maxAge=10080*60*1e3,this.maxMemoryEntries=500,this.dbName="boddb-cache",this.enabled=!0}}class Wp{constructor(c,r){this.memory=new Map,this.subscribedPaths=new Set,this.idb=null,this._vfs=null,this._vfsUnsub=null,this.options={...new $p,...r},this.client=c}async init(){this.options.enabled&&(this.idb=await this.openIDB(),await this.sweepExpired())}openIDB(){return new Promise((c,r)=>{const s=indexedDB.open(this.options.dbName,1);s.onupgradeneeded=()=>{const f=s.result;f.objectStoreNames.contains("entries")||f.createObjectStore("entries",{keyPath:"path"})},s.onsuccess=()=>c(s.result),s.onerror=()=>r(s.error)})}async sweepExpired(){if(!this.idb)return;const c=Date.now()-this.options.maxAge,f=this.idb.transaction("entries","readwrite").objectStore("entries").openCursor();return new Promise(h=>{f.onsuccess=()=>{const g=f.result;if(!g){h();return}g.value.cachedAt<c&&g.delete(),g.continue()},f.onerror=()=>h()})}async get(c){if(!this.options.enabled)return this.client.get(c);const r=this.memory.get(c);if(r&&this.subscribedPaths.has(c))return r.data;if(r)return this.revalidate(c),r.data;const s=await this.idbGet(c);if(s&&Date.now()-s.cachedAt<this.options.maxAge)return this.memSet(c,s),this.revalidate(c),s.data;const f=await this.client.getSnapshot(c),h={path:c,data:f.val(),updatedAt:f.updatedAt??Date.now(),cachedAt:Date.now()};return this.memSet(c,h),this.idbSet(h),h.data}revalidate(c){this.client.getSnapshot(c).then(r=>{const s={path:c,data:r.val(),updatedAt:r.updatedAt??Date.now(),cachedAt:Date.now()};this.memSet(c,s),this.idbSet(s)}).catch(()=>{})}on(c,r){this.subscribedPaths.add(c);const s=this.client.on(c,f=>{const h={path:c,data:f.val(),updatedAt:f.updatedAt??Date.now(),cachedAt:Date.now()};this.memSet(c,h),this.idbSet(h),r(f)});return()=>{s(),this.subscribedPaths.delete(c)}}onChild(c,r,s){this.subscribedPaths.add(c);const f=this.client.onChild(c,h=>{const g=this.memory.get(c);if(g&&g.data&&typeof g.data=="object"&&!Array.isArray(g.data)){const A={...g.data};h.type==="removed"?delete A[h.key]:A[h.key]=h.val();const v={path:c,data:A,updatedAt:Date.now(),cachedAt:Date.now()};this.memSet(c,v),this.idbSet(v)}r(h)},s);return()=>{f(),this.subscribedPaths.delete(c)}}connect(){return this.client.connect()}disconnect(){var c,r;(r=(c=this.client).disconnect)==null||r.call(c)}get serverInfo(){return this.client.serverInfo}onWelcome(c){return this.client.onWelcome(c)}async push(c,r,s){return await this.client.push(c,r,s)}query(c){return this.client.query(c)}async set(c,r,s){await this.client.set(c,r,s),this.invalidatePath(c)}async update(c,r,s){await this.client.update(c,r,s),this.invalidatePath(c)}async updateMulti(c){await this.client.updateMulti(c);for(const r of Object.keys(c))this.invalidatePath(r)}async delete(c){await this.client.delete(c),this.invalidatePath(c)}invalidatePath(c){this.invalidate(c);for(const r of Kp(c))this.invalidate(r)}invalidate(c){this.memory.delete(c),this.idbDelete(c)}async warmup(c){if(!this.idb)return;const r=Date.now()-this.options.maxAge,f=this.idb.transaction("entries","readonly").objectStore("entries"),h=c.map(g=>new Promise(A=>{const v=f.get(g);v.onsuccess=()=>{const y=v.result;y&&y.cachedAt>=r&&this.memSet(g,y),A()},v.onerror=()=>A()}));await Promise.all(h)}vfs(){return this._vfs||(this._vfs=new Fp(this.client.vfs(),this.options.maxAge,this.idb),this._vfsUnsub=this.client.onChild("_vfs",()=>{var c;(c=this._vfs)==null||c.clear()})),this._vfs}close(){var c,r;this._vfsUnsub&&(this._vfsUnsub(),this._vfsUnsub=null),(c=this._vfs)==null||c.clear(),this._vfs=null,this.memory.clear(),this.subscribedPaths.clear(),(r=this.idb)==null||r.close(),this.idb=null}memSet(c,r){for(this.memory.delete(c),this.memory.set(c,r);this.memory.size>this.options.maxMemoryEntries;){const s=this.memory.keys().next().value;if(s!==void 0)this.memory.delete(s);else break}}idbGet(c){if(!this.idb)return Promise.resolve(null);const s=this.idb.transaction("entries","readonly").objectStore("entries").get(c);return new Promise(f=>{s.onsuccess=()=>f(s.result??null),s.onerror=()=>f(null)})}idbSet(c){if(this.idb)try{this.idb.transaction("entries","readwrite").objectStore("entries").put(c)}catch{}}idbDelete(c){if(this.idb)try{this.idb.transaction("entries","readwrite").objectStore("entries").delete(c)}catch{}}}class Fp{constructor(c,r,s=null){this.raw=c,this.maxAge=r,this.idb=s,this.listCache=new Map,this.statCache=new Map,this._stats={hits:0,misses:0,invalidations:0,pushClears:0}}async stat(c){const r=this.statCache.get(c);if(r&&Date.now()-r.cachedAt<this.maxAge)return this._stats.hits++,this.raw.stat(c).then(h=>{this.statCache.set(c,{data:h,cachedAt:Date.now()}),this.idbSetVfs(`vfs:stat:${c}`,{data:h,cachedAt:Date.now()})}).catch(()=>{}),r.data;const s=await this.idbGetVfs(`vfs:stat:${c}`);if(s&&Date.now()-s.cachedAt<this.maxAge)return this._stats.hits++,this.statCache.set(c,s),this.raw.stat(c).then(h=>{this.statCache.set(c,{data:h,cachedAt:Date.now()}),this.idbSetVfs(`vfs:stat:${c}`,{data:h,cachedAt:Date.now()})}).catch(()=>{}),s.data;this._stats.misses++;const f=await this.raw.stat(c);return this.statCache.set(c,{data:f,cachedAt:Date.now()}),this.idbSetVfs(`vfs:stat:${c}`,{data:f,cachedAt:Date.now()}),f}async list(c){const r=this.listCache.get(c);if(r&&Date.now()-r.cachedAt<this.maxAge)return this._stats.hits++,this.raw.list(c).then(h=>{this.listCache.set(c,{data:h,cachedAt:Date.now()}),this.idbSetVfs(`vfs:list:${c}`,{data:h,cachedAt:Date.now()})}).catch(()=>{}),r.data;const s=await this.idbGetVfs(`vfs:list:${c}`);if(s&&Date.now()-s.cachedAt<this.maxAge)return this._stats.hits++,this.listCache.set(c,s),this.raw.list(c).then(h=>{this.listCache.set(c,{data:h,cachedAt:Date.now()}),this.idbSetVfs(`vfs:list:${c}`,{data:h,cachedAt:Date.now()})}).catch(()=>{}),s.data;this._stats.misses++;const f=await this.raw.list(c);return this.listCache.set(c,{data:f,cachedAt:Date.now()}),this.idbSetVfs(`vfs:list:${c}`,{data:f,cachedAt:Date.now()}),f}async tree(c,r){return this.raw.tree(c,r)}async upload(c,r,s){const f=await this.raw.upload(c,r,s);return this.invalidatePath(c),f}async delete(c){await this.raw.delete(c),this.invalidatePath(c)}async mkdir(c){const r=await this.raw.mkdir(c);return this.invalidatePath(c),this.listCache.delete(c),this.idbDeleteVfs(`vfs:list:${c}`),r}async move(c,r){const s=await this.raw.move(c,r);return this.invalidatePath(c),this.invalidatePath(r),s}async download(c){return this.raw.download(c)}invalidatePath(c){this._stats.invalidations++,this.statCache.delete(c),this.idbDeleteVfs(`vfs:stat:${c}`);const r=c.includes("/")?c.slice(0,c.lastIndexOf("/")):"";this.listCache.delete(r),this.idbDeleteVfs(`vfs:list:${r}`)}clear(){this._stats.pushClears++,this.listCache.clear(),this.statCache.clear(),this.idbClearVfs()}get stats(){const c=this._stats.hits+this._stats.misses;return{...this._stats,total:c,hitRate:c?Math.round(this._stats.hits/c*100)+"%":"n/a",listCacheSize:this.listCache.size,statCacheSize:this.statCache.size}}idbGetVfs(c){if(!this.idb)return Promise.resolve(null);try{const s=this.idb.transaction("entries","readonly").objectStore("entries").get(c);return new Promise(f=>{s.onsuccess=()=>{const h=s.result;f(h?{data:h.data,cachedAt:h.cachedAt}:null)},s.onerror=()=>f(null)})}catch{return Promise.resolve(null)}}idbSetVfs(c,r){if(this.idb)try{this.idb.transaction("entries","readwrite").objectStore("entries").put({path:c,data:r.data,cachedAt:r.cachedAt,updatedAt:Date.now()})}catch{}}idbDeleteVfs(c){if(this.idb)try{this.idb.transaction("entries","readwrite").objectStore("entries").delete(c)}catch{}}idbClearVfs(){if(this.idb)try{const s=this.idb.transaction("entries","readwrite").objectStore("entries").openCursor();s.onsuccess=()=>{const f=s.result;f&&(typeof f.key=="string"&&f.key.startsWith("vfs:")&&f.delete(),f.continue())}}catch{}}}const Pp="DEBUG";function Xh(u){try{const c=localStorage.getItem(Pp)??"";return c==="*"||c.split(",").includes(u)}catch{return!1}}function Ip(u){const c=`[${u}]`;return{debug:(...r)=>{Xh(u)&&console.debug(c,...r)},verbose:(...r)=>{Xh(u)&&console.debug(c,...r)},info:(...r)=>console.info(c,...r),warn:(...r)=>console.warn(c,...r),error:(...r)=>console.error(c,...r)}}const Er={forComponent:u=>Ip(u)},xm=Er.forComponent("bod");var lm;const ia=new Wp((lm=window.Bodify)==null?void 0:lm.db);ia.init();if(typeof window<"u"){const u=()=>{typeof document<"u"&&document.visibilityState==="hidden"||ia.connect().catch(c=>xm.warn("wake-reconnect failed",c))};window.addEventListener("online",u),window.addEventListener("focus",u),document.addEventListener("visibilitychange",u)}async function Ia(){var s,f,h;const u=ia.client;if(!u)return;const c=((s=dt==null?void 0:dt.auth)==null?void 0:s._token)??null,r=g=>Promise.race([g,new Promise((A,v)=>setTimeout(()=>v(new Error("reauthWs timeout")),3e3))]);try{if(!u.connected)return;c?await r(u._send("auth",{token:c})):((f=u.disconnect)==null||f.call(u),await((h=u.connect)==null?void 0:h.call(u)))}catch(g){xm.warn("reauthWs failed",g)}}localStorage.getItem("BOD_WS_RECORD")&&(window.bod=ia,window.bodWs=ia.client);const tv=Object.freeze(Object.defineProperty({__proto__:null,client:ia,reauthWs:Ia},Symbol.toStringTag,{value:"Module"}));function ev(){const u=navigator.userAgent;return/FBAN|FBAV|FB_IAB|FBIOS/.test(u)?"fb":/Instagram/i.test(u)?"ig":"none"}let Qh=!1;function er(){try{performance.mark("para:auth-resolved")}catch{}}function av(){var f;const u=performance.getEntriesByType("resource"),c=h=>h.replace(/^https?:\/\/[^/]+/,"").split("?")[0].slice(-60),r=h=>{const g=u.filter(h).sort((A,v)=>v.duration-A.duration)[0];return g?{start:Math.round(g.startTime),dur:Math.round(g.duration)}:void 0},s=(f=performance.getEntriesByName("para:auth-resolved")[0])==null?void 0:f.startTime;return{authResolved:s!=null?Math.round(s):-1,resourceCount:u.length,me:r(h=>h.name.includes("/auth/me")),sdk:r(h=>h.name.includes("/_bodify/sdk.js")),entry:r(h=>/\/assets\/index-|\/src\/main\.tsx/.test(h.name)),slowest:u.slice().sort((h,g)=>g.duration-h.duration).slice(0,3).map(h=>({n:c(h.name),start:Math.round(h.startTime),dur:Math.round(h.duration)}))}}function lv(){var u;if(!Qh){Qh=!0;try{const c=performance.getEntriesByType("navigation")[0],r=(u=performance.getEntriesByType("paint").find(h=>h.name==="first-contentful-paint"))==null?void 0:u.startTime;let s=null;try{s=localStorage.getItem("para-funnel")}catch{}const f={ttfb:Math.round((c==null?void 0:c.responseStart)??-1),domInteractive:Math.round((c==null?void 0:c.domInteractive)??-1),fcp:r!=null?Math.round(r):-1,appMounted:Math.round(performance.now()),slowBoot:performance.now()>=5e3,webview:ev(),path:location.pathname,...av(),...s?{funnel:s}:{}};dt.event("boot_timing",f)}catch{}}}const Am=x.createContext(null);function Zh(){const u="para_dau_date",c=new Date,r=`${c.getFullYear()}-${c.getMonth()+1}-${c.getDate()}`;localStorage.getItem(u)!==r&&(localStorage.setItem(u,r),dt.event("session_active"))}function nv({children:u}){const[c,r]=x.useState(null),[s,f]=x.useState(null),[h,g]=x.useState(!0);x.useEffect(()=>{const L=window.Bodify;if(!(L!=null&&L.auth)){er(),g(!1);return}return L.auth.getUser().then(m=>{m&&(r(m),dt.analytics.identify(m.id,{email:m.email,name:m.name}),Zh(),Ia()),er(),g(!1)}).catch(()=>{er(),g(!1)}),L.auth.onAuthStateChange((m,V)=>{r(m),f(V),Ia(),m&&(dt.analytics.identify(m.id,{email:m.email,name:m.name}),Zh())})},[]);const A=async(L,m,V)=>{const G=await dt.auth.signUp({email:L,password:m,name:V});G!=null&&G.emailVerificationRequired?f(G.user):G!=null&&G.user&&r(G.user)},v=async(L,m)=>{const V=await dt.auth.signIn({email:L,password:m});V!=null&&V.emailVerificationRequired?f(V.user):V!=null&&V.user&&r(V.user)},y=async L=>{const m=await dt.auth.verifyEmail(L);m!=null&&m.user&&(r(m.user),f(null))},D=async()=>{await dt.auth.resendVerification()},M=async()=>{await dt.auth.signOut(),r(null),f(null)},q=async()=>{var P,at;const L=await dt.auth.getUser().catch(()=>null);if(L)return r(L),Ia(),L;const m=(P=dt==null?void 0:dt.auth)==null?void 0:P._token;if(m)try{const tt=(at=JSON.parse(atob(m.split(".")[1])))==null?void 0:at.sub;if(tt){const xt=c&&c.id===tt?c:{id:tt,isAnonymous:!1};return r(xt),Ia(),xt}}catch{}const G={id:dt.auth.adoptAnonIdentity(),isAnonymous:!0};return r(G),(async()=>{try{const tt=await dt.auth.signInAnonymously();r(tt.user),await Ia()}catch(tt){console.error("[auth] anon token sign failed:",tt)}})(),G},$=async(L,m)=>{const V=await dt.auth.linkEmail(L,m);return r(V),await Ia(),V},W=async L=>{const m=await dt.auth.attachEmail(L);return r(m),await Ia(),m},Z=async L=>dt.auth.startPhoneSignIn(L),X=async(L,m)=>{const V=await dt.auth.linkPhone(L,m);return r(V),V};return _.jsx(Am.Provider,{value:{user:c,pendingVerification:s,loading:h,signUp:A,signIn:v,verifyEmail:y,resendVerification:D,signOut:M,ensureAnonymousSession:q,linkEmail:$,attachEmail:W,startPhoneSignIn:Z,linkPhone:X},children:u})}const un=()=>x.useContext(Am),_m=x.createContext({theme:"system",resolved:"dark",setTheme:()=>{}});function iv(){const u=new Date().getHours();return u<7||u>=19?"dark":"light"}function ni(){return iv()}function kh(u){return u==="system"?ni():u}function Jh(u){document.documentElement.classList.toggle("dark",u==="dark")}function Kh(u){const c=localStorage.getItem(u);if(!c)return"system";if(c==="light"||c==="dark"||c==="system")return c==="system"?"system":(localStorage.setItem(u,JSON.stringify({theme:c,setUnder:ni()})),c);try{const r=JSON.parse(c);return!["light","dark","system"].includes(r.theme)||r.theme==="system"?"system":r.setUnder&&ni()!==r.setUnder?(localStorage.removeItem(u),"system"):r.theme}catch{return"system"}}function uv(u,c){if(c==="system"){localStorage.removeItem(u);return}localStorage.setItem(u,JSON.stringify({theme:c,setUnder:ni()}))}function cv({children:u,storageKey:c="theme",defaultTheme:r="system"}){const[s,f]=x.useState(()=>{const v=Kh(c);return v!=="system"?v:r}),[h,g]=x.useState(()=>kh(s)),A=x.useCallback(v=>{uv(c,v),f(v)},[c]);return x.useEffect(()=>{const v=kh(s);g(v),Jh(v)},[s]),x.useEffect(()=>{const v=()=>{const D=Kh(c);if(D!==s){f(D);return}if(s==="system"){const M=ni();g(M),Jh(M)}};document.addEventListener("visibilitychange",v),window.addEventListener("focus",v);const y=setInterval(v,5*6e4);return()=>{document.removeEventListener("visibilitychange",v),window.removeEventListener("focus",v),clearInterval(y)}},[s,c]),_.jsx(_m.Provider,{value:{theme:s,resolved:h,setTheme:A},children:u})}const sv=()=>x.useContext(_m);function jt(u,c=2,r=350){return x.lazy(async()=>{let s;for(let f=0;f<=c;f++)try{return await u()}catch(h){if(s=h,f===c)break;await new Promise(g=>setTimeout(g,r*(f+1)))}throw s})}class rv extends x.Component{constructor(){super(...arguments);_h(this,"state",{failed:!1})}static getDerivedStateFromError(r){const s=String((r==null?void 0:r.message)??r??"");return{failed:/import|module script|Loading chunk|dynamically imported|Failed to fetch/i.test(s)}}render(){return this.state.failed?_.jsxs("div",{id:"boot-splash",children:[_.jsx("div",{className:"bs-brand",children:"Para"}),_.jsx("button",{onClick:()=>location.reload(),className:"mt-6 rounded-full px-5 py-2 text-body",style:{background:"var(--color-accent, #10b981)",color:"#fff",border:"none"},children:"Tap to reload"})]}):this.props.children}}const ov=[{sign:"Capricorn",startMonth:1,startDay:1,endMonth:1,endDay:19,element:"Earth",modality:"Cardinal",ruler:"Saturn",range:"Dec 22 – Jan 19"},{sign:"Aquarius",startMonth:1,startDay:20,endMonth:2,endDay:18,element:"Air",modality:"Fixed",ruler:"Uranus",range:"Jan 20 – Feb 18"},{sign:"Pisces",startMonth:2,startDay:19,endMonth:3,endDay:20,element:"Water",modality:"Mutable",ruler:"Neptune",range:"Feb 19 – Mar 20"},{sign:"Aries",startMonth:3,startDay:21,endMonth:4,endDay:19,element:"Fire",modality:"Cardinal",ruler:"Mars",range:"Mar 21 – Apr 19"},{sign:"Taurus",startMonth:4,startDay:20,endMonth:5,endDay:20,element:"Earth",modality:"Fixed",ruler:"Venus",range:"Apr 20 – May 20"},{sign:"Gemini",startMonth:5,startDay:21,endMonth:6,endDay:20,element:"Air",modality:"Mutable",ruler:"Mercury",range:"May 21 – Jun 20"},{sign:"Cancer",startMonth:6,startDay:21,endMonth:7,endDay:22,element:"Water",modality:"Cardinal",ruler:"Moon",range:"Jun 21 – Jul 22"},{sign:"Leo",startMonth:7,startDay:23,endMonth:8,endDay:22,element:"Fire",modality:"Fixed",ruler:"Sun",range:"Jul 23 – Aug 22"},{sign:"Virgo",startMonth:8,startDay:23,endMonth:9,endDay:22,element:"Earth",modality:"Mutable",ruler:"Mercury",range:"Aug 23 – Sep 22"},{sign:"Libra",startMonth:9,startDay:23,endMonth:10,endDay:22,element:"Air",modality:"Cardinal",ruler:"Venus",range:"Sep 23 – Oct 22"},{sign:"Scorpio",startMonth:10,startDay:23,endMonth:11,endDay:21,element:"Water",modality:"Fixed",ruler:"Pluto",range:"Oct 23 – Nov 21"},{sign:"Sagittarius",startMonth:11,startDay:22,endMonth:12,endDay:21,element:"Fire",modality:"Mutable",ruler:"Jupiter",range:"Nov 22 – Dec 21"},{sign:"Capricorn",startMonth:12,startDay:22,endMonth:12,endDay:31,element:"Earth",modality:"Cardinal",ruler:"Saturn",range:"Dec 22 – Jan 19"}],fv=["Rat","Ox","Tiger","Rabbit","Dragon","Snake","Horse","Goat","Monkey","Rooster","Dog","Pig"],dv=["Wood","Fire","Earth","Metal","Water"],hv=["Garnet","Amethyst","Aquamarine","Diamond","Emerald","Pearl","Ruby","Peridot","Sapphire","Opal","Topaz","Tanzanite"];function Tm(u,c){return ov.find(s=>s.startMonth===s.endMonth?u===s.startMonth&&c>=s.startDay&&c<=s.endDay:u===s.startMonth?c>=s.startDay:u===s.endMonth?c<=s.endDay:!1)}function mv(u,c,r){let s;return u===r.startMonth?s=c-r.startDay:u===r.endMonth?s=new Date(2e3,r.startMonth,0).getDate()-r.startDay+c:s=new Date(2e3,r.startMonth,0).getDate()-r.startDay+new Date(2e3,u-1,0).getDate()+c,s<10?1:s<20?2:3}function yv(u){const c=u-1924,r=(c%12+12)%12,s=Math.floor((c%10+10)%10/2);return{animal:fv[r],element:dv[s]}}function gv(u){let r=[...u.replace(/-/g,"")].reduce((s,f)=>s+Number(f),0);for(;r>9&&r!==11&&r!==22&&r!==33;)r=[...String(r)].reduce((s,f)=>s+Number(f),0);return r}function pv(u){return u>=3&&u<=5?"Spring":u>=6&&u<=8?"Summer":u>=9&&u<=11?"Autumn":"Winter"}function vv(u){if(!(u!=null&&u.trim()))return null;const c=new Date(u+"T00:00:00"),r=c.getMonth()+1,s=c.getDate();return isNaN(r)||isNaN(s)?null:Tm(r,s).sign}function tb(u){if(!(u!=null&&u.trim()))return null;const c=u.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!c)return null;const r=Number(c[1]),s=Number(c[2]),f=Number(c[3]),h=new Date(r,s-1,f);if(h.getFullYear()!==r||h.getMonth()!==s-1||h.getDate()!==f)return null;const g=Tm(s,f);return{zodiac:{sign:g.sign,element:g.element,modality:g.modality,rulingPlanet:g.ruler,decan:mv(s,f,g),dateRange:g.range},chineseZodiac:yv(r),numerology:{lifePath:gv(u)},birthstone:hv[s-1],season:pv(s)}}const bv={Aries:{stars:[[.28,.52,1],[.38,.44,.8],[.52,.38,.6],[.68,.41,.9],[.73,.44,.5]],lines:[[0,1],[1,2],[2,3],[3,4]]},Taurus:{stars:[[.22,.58,1],[.33,.47,.7],[.43,.39,.9],[.54,.34,.8],[.61,.28,.6],[.48,.52,.5],[.63,.46,.7]],lines:[[0,1],[1,2],[2,3],[3,4],[2,5],[5,6]]},Gemini:{stars:[[.33,.23,1],[.34,.38,.7],[.36,.54,.6],[.37,.68,.5],[.58,.22,.9],[.59,.39,.7],[.61,.53,.6],[.62,.69,.5]],lines:[[0,1],[1,2],[2,3],[4,5],[5,6],[6,7],[1,5],[2,6]]},Cancer:{stars:[[.33,.43,.7],[.44,.33,1],[.56,.44,.8],[.51,.57,.6],[.62,.31,.5]],lines:[[0,1],[1,2],[2,3],[1,4]]},Leo:{stars:[[.23,.53,.7],[.29,.36,1],[.39,.28,.9],[.51,.34,.8],[.57,.46,.6],[.67,.51,.5],[.56,.62,.7]],lines:[[0,1],[1,2],[2,3],[3,4],[4,5],[4,6],[6,0]]},Virgo:{stars:[[.28,.28,1],[.34,.41,.7],[.44,.51,.8],[.56,.44,.9],[.62,.56,.6],[.67,.38,.5],[.51,.62,.7],[.39,.61,.6]],lines:[[0,1],[1,2],[2,3],[3,4],[3,5],[2,6],[6,7],[7,1]]},Libra:{stars:[[.31,.32,.8],[.48,.27,1],[.66,.34,.7],[.38,.56,.9],[.62,.58,.6],[.5,.48,.5]],lines:[[0,1],[1,2],[0,3],[2,4],[3,5],[5,4]]},Scorpio:{stars:[[.18,.44,1],[.27,.38,.8],[.38,.41,.7],[.48,.46,.9],[.54,.52,.6],[.59,.57,.7],[.66,.61,.5],[.72,.56,.8],[.74,.47,.6]],lines:[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[7,8]]},Sagittarius:{stars:[[.33,.57,.7],[.39,.44,1],[.49,.33,.9],[.56,.44,.6],[.62,.56,.7],[.48,.51,.8],[.43,.63,.5],[.54,.27,.6]],lines:[[0,1],[1,2],[2,7],[1,5],[5,3],[3,4],[5,6]]},Capricorn:{stars:[[.28,.42,.8],[.38,.34,1],[.49,.37,.7],[.61,.43,.9],[.67,.52,.6],[.56,.57,.7],[.44,.51,.5]],lines:[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,2]]},Aquarius:{stars:[[.18,.41,.6],[.28,.37,1],[.39,.43,.8],[.49,.37,.7],[.59,.43,.9],[.66,.51,.6],[.72,.57,.5]],lines:[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6]]},Pisces:{stars:[[.23,.47,.7],[.29,.36,1],[.38,.29,.8],[.49,.34,.6],[.56,.44,.9],[.61,.52,.7],[.56,.58,.5],[.44,.57,.6],[.34,.51,.7]],lines:[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[7,8],[8,0]]}};function Sv(u,c){let r=c;const s=()=>(r=r*16807%2147483647,r/2147483647),f=["#fff","#fff","#fff","#fff","#ccd6ff","#d4e0ff","#fff4e0","#ffe8c8","#ffd6d6"];return Array.from({length:u},()=>{const h=s()<.5?0:s()<.6?1:2,g=s()<.015,A=g||s()<.2,v=s(),y=s(),D=v-.5,M=y-.5;return{angle:Math.atan2(M,D),dist:Math.sqrt(D*D+M*M),r:g?2+s()*1:A?1.3+s()*1.2:h===0?.4+s()*.4:h===1?.6+s()*.6:1+s()*.8,phase:s()*Math.PI*2,speed:g?.1+s()*.3:.3+s()*1.2,color:f[Math.floor(s()*f.length)],layer:h,baseAlpha:A?.85+s()*.15:.45+s()*.45,shimmer:g}})}function Ev(u,c){let r=c;const s=()=>(r=r*16807%2147483647,r/2147483647);return Array.from({length:u},()=>({x:s(),y:s(),speed:.003+s()*.008,alpha:.3+s()*.4}))}function xv(u,c){let r=c;const s=()=>(r=r*16807%2147483647,r/2147483647);return Array.from({length:u},()=>({x:.05+s()*.9,y:.05+s()*.7,r:120+s()*220,hue:s()<.4?160+s()*40:s()<.7?270+s()*50:30+s()*20,phase:s()*Math.PI*2,speed:.1+s()*.25}))}const Av={Fire:{r:255,g:120,b:50},Earth:{r:120,g:180,b:80},Air:{r:140,g:170,b:255},Water:{r:80,g:140,b:220}},_v={Garnet:"#9b2335",Amethyst:"#9966cc",Aquamarine:"#7fffd4",Diamond:"#e8e8e8",Emerald:"#50c878",Pearl:"#eae0c8",Ruby:"#e0115f",Peridot:"#b4c424",Sapphire:"#0f52ba",Opal:"#a8c3bc",Topaz:"#ffc87c",Tanzanite:"#5a4fcf"},Tv={Sun:1,Moon:.7,Mercury:.35,Venus:.5,Mars:.45,Jupiter:.85,Saturn:.75,Uranus:.55,Neptune:.55,Pluto:.3};function Mv({date:u,intensity:c,nebulaOpacity:r,showConstellation:s=!1,artifact:f="none",cosmic:h=null,darkMode:g=!0}){const A=x.useRef(null),v=x.useRef(0),y=x.useRef(u),D=x.useRef({rotation:0,targetRotation:0,angVel:0,mouseX:0,mouseY:0,tMouseX:0,tMouseY:0,curI:0,curArtifact:0,sign:null,cAlpha:0,lineProgress:0,labelAlpha:0,prevSign:null,prevAlpha:0,planetAlpha:0,elementTintAlpha:0,shootingStars:[],nextShootAt:2e3,pulsars:[],nextPulsarAt:8e3,births:[],nextBirthAt:15e3,auroraPhase:0,t:0}),M=typeof window<"u"&&window.innerWidth<640,q=x.useMemo(()=>Sv(M?600:1200,42),[M]),$=x.useMemo(()=>xv(M?6:10,77),[M]),W=x.useMemo(()=>Ev(M?300:600,99),[M]);x.useEffect(()=>{const X=D.current,L=(G,P)=>{X.tMouseX=(G/window.innerWidth-.5)*2,X.tMouseY=(P/window.innerHeight-.5)*2},m=G=>L(G.clientX,G.clientY),V=G=>{G.touches[0]&&L(G.touches[0].clientX,G.touches[0].clientY)};return window.addEventListener("mousemove",m,{passive:!0}),window.addEventListener("touchmove",V,{passive:!0}),()=>{window.removeEventListener("mousemove",m),window.removeEventListener("touchmove",V)}},[]),x.useEffect(()=>{const X=D.current,L=y.current,m=u;if(y.current=m,m&&L!==m){const[G,P,at]=(L||"2000-01-01").split("-").map(Number),[tt,xt,Gt]=m.split("-").map(Number);if(!isNaN(tt)&&!isNaN(xt)&&!isNaN(Gt)){const he=tt-(isNaN(G)?tt:G),qt=xt-(isNaN(P)?xt:P),Ft=Gt-(isNaN(at)?Gt:at),ue=!L||L===""?.8:Ft*.12+qt*.4+he*1.5;X.angVel+=ue,X.angVel=Math.max(-5,Math.min(5,X.angVel)),X.targetRotation+=ue*.6}}const V=vv(m);V!==X.sign&&(X.prevSign=X.sign,X.prevAlpha=X.cAlpha,X.sign=V,X.cAlpha=0,X.lineProgress=0,X.labelAlpha=0)},[u]);const Z=x.useCallback(X=>{const L=A.current;if(!L)return;const m=L.getContext("2d");if(!m)return;const V=Math.min(window.devicePixelRatio||1,2),G=L.clientWidth,P=L.clientHeight;(L.width!==G*V||L.height!==P*V)&&(L.width=G*V,L.height=P*V),m.setTransform(V,0,0,V,0,0),m.clearRect(0,0,G,P);const at=g,tt=at?"255,255,255":"0,0,0",xt=at?"#fff":"#000",Gt=at?"220,240,255":"30,30,60",he=at?"255,240,220":"180,140,60",qt=at?[255,250,235,255,220,180,200,170,130]:[210,170,60,190,145,50,160,120,40],Ft=at?"255,230,200":"170,130,50",Ae=at?"210,255,235":"5,80,50",ue=at?{}:{"#fff":"#222","#ccd6ff":"#1a2040","#d4e0ff":"#102030","#fff4e0":"#3a2800","#ffe8c8":"#402000","#ffd6d6":"#401010"},Lt=j=>ue[j]||j,b=D.current,Y=1/60;b.t+=Y;const k=b.t;b.curI+=(c-b.curI)*.04;const lt=b.curI,Ct=f==="none"?0:1;b.curArtifact+=(Ct-b.curArtifact)*.06,b.mouseX+=(b.tMouseX-b.mouseX)*.04,b.mouseY+=(b.tMouseY-b.mouseY)*.04,b.targetRotation+=Y*.015,b.rotation+=(b.targetRotation-b.rotation)*.05;const E=Math.abs(b.angVel);b.angVel*=.95,E<5e-4&&(b.angVel=0);const B=Math.min(1,E*.8),Q=G*.5,F=P*.5;if(b.sign&&s?(b.cAlpha=Math.min(1,b.cAlpha+Y*1.5),b.lineProgress=Math.min(1,b.lineProgress+Y*.8),b.labelAlpha=Math.min(1,b.labelAlpha+Y*.6)):s||(b.cAlpha=Math.max(0,b.cAlpha-Y*2)),b.prevSign&&(b.prevAlpha=Math.max(0,b.prevAlpha-Y*2.5),b.prevAlpha<=0&&(b.prevSign=null)),b.nextShootAt-=Y*1e3,b.nextShootAt<=0&<>.15&&(b.shootingStars.push({x:Math.random()*G,y:Math.random()*P*.5,angle:Math.PI*.1+Math.random()*Math.PI*.3,speed:400+Math.random()*500,life:0,maxLife:.3+Math.random()*.35,len:80+Math.random()*150}),b.nextShootAt=3e3+Math.random()*7e3),b.curArtifact>.005&&f==="nebula"){const j=r??lt*.25;for(const O of $){const I=O.x*G+Math.sin(k*O.speed+O.phase)*50,J=O.y*P+Math.cos(k*O.speed*.7+O.phase)*35,it=.5+.5*Math.sin(k*O.speed*.4+O.phase),ut=O.r*(.8+it*.5),Tt=b.curArtifact*j*(.5+it*.5);m.globalAlpha=1;const bt=m.createRadialGradient(I,J,0,I,J,ut);bt.addColorStop(0,`hsla(${O.hue}, 80%, 55%, ${Tt})`),bt.addColorStop(.3,`hsla(${O.hue}, 70%, 45%, ${Tt*.5})`),bt.addColorStop(.7,`hsla(${O.hue}, 60%, 35%, ${Tt*.15})`),bt.addColorStop(1,`hsla(${O.hue}, 50%, 30%, 0)`),m.fillStyle=bt,m.beginPath(),m.arc(I,J,ut,0,Math.PI*2),m.fill()}}if(b.curArtifact>.005&&f==="stardust"){const j=G*.5+Math.sin(k*.15)*35,O=P*.32+Math.cos(k*.12)*25,I=.6+.4*Math.sin(k*.35),J=b.curArtifact*lt,it=180+I*80,ut=m.createRadialGradient(j,O,0,j,O,it);ut.addColorStop(0,`rgba(16, 185, 129, ${J*.25*I})`),ut.addColorStop(.2,`rgba(16, 185, 129, ${J*.12})`),ut.addColorStop(.5,`rgba(80, 100, 220, ${J*.06})`),ut.addColorStop(1,"rgba(0,0,0,0)"),m.globalAlpha=1,m.fillStyle=ut,m.beginPath(),m.arc(j,O,it,0,Math.PI*2),m.fill();const Tt=m.createRadialGradient(j,O,0,j,O,40);Tt.addColorStop(0,at?`rgba(200, 255, 230, ${J*.4})`:`rgba(5, 80, 40, ${J*.4})`),Tt.addColorStop(.5,`rgba(16, 185, 129, ${J*.15})`),Tt.addColorStop(1,"rgba(16, 185, 129, 0)"),m.fillStyle=Tt,m.beginPath(),m.arc(j,O,40,0,Math.PI*2),m.fill();for(let bt=0;bt<8;bt++){const ht=k*.08+bt/8*Math.PI*2,Xt=80+40*Math.sin(k*.4+bt*1.3),At=j+Math.cos(ht)*Xt,Qt=O+Math.sin(ht)*Xt,_e=m.createLinearGradient(j,O,At,Qt);_e.addColorStop(0,`rgba(16,185,129,${J*.15})`),_e.addColorStop(1,"rgba(16,185,129,0)"),m.strokeStyle=_e,m.lineWidth=2.5,m.globalAlpha=1,m.beginPath(),m.moveTo(j,O),m.lineTo(At,Qt),m.stroke()}}if(lt>.1){m.fillStyle=xt;for(const j of W)j.y-=j.speed*Y,j.x+=Math.sin(k*.3+j.y*5)*3e-4,j.y<-.01&&(j.y=1.01,j.x=Math.random()),m.globalAlpha=j.alpha*lt*.7,m.fillRect(j.x*G,j.y*P,1,1)}if(lt>.15){b.auroraPhase+=Y*.08,m.save(),m.globalCompositeOperation=at?"screen":"multiply";const j=[{hue:160,y:.18,amp:40,freq:1.2,alpha:.04},{hue:270,y:.25,amp:30,freq:.9,alpha:.03},{hue:190,y:.15,amp:50,freq:1.5,alpha:.025}];for(const O of j){const I=O.y*P;m.beginPath(),m.moveTo(0,I);for(let it=0;it<=G;it+=8){const ut=I+Math.sin(it*O.freq*.005+b.auroraPhase+O.hue)*O.amp+Math.sin(it*.003+b.auroraPhase*1.7)*O.amp*.5;m.lineTo(it,ut)}m.lineTo(G,0),m.lineTo(0,0),m.closePath();const J=m.createLinearGradient(0,I-60,0,I+80);J.addColorStop(0,"rgba(0,0,0,0)"),J.addColorStop(.4,`hsla(${O.hue},60%,50%,${O.alpha*lt})`),J.addColorStop(.6,`hsla(${O.hue},60%,40%,${O.alpha*lt*.6})`),J.addColorStop(1,"rgba(0,0,0,0)"),m.fillStyle=J,m.fill()}m.restore()}for(const j of q){const O=j.layer===0?.3:j.layer===1?.65:1,I=j.angle+b.rotation*O,J=Math.sqrt(G*G+P*P)*.75,it=Q+Math.cos(I)*j.dist*J+b.mouseX*25*O,ut=F+Math.sin(I)*j.dist*J+b.mouseY*15*O;if(it<-60||it>G+60||ut<-60||ut>P+60)continue;const bt=j.baseAlpha*(.3+.5*(.5+.35*Math.sin(k*j.speed+j.phase)+.15*Math.sin(k*j.speed*2.7+j.phase*1.4)))*lt;if(!(bt<.008)){if(B>.02&<>.2){const ht=b.angVel*j.dist*J*O,Xt=Math.max(-80,Math.min(80,ht));if(Math.abs(Xt)>1.5){const At=-Math.sin(I),Qt=Math.cos(I);m.beginPath(),m.moveTo(it-At*Xt*.5,ut-Qt*Xt*.5),m.lineTo(it+At*Xt*.5,ut+Qt*Xt*.5),m.lineWidth=j.r*1.8,m.strokeStyle=Lt(j.color),m.globalAlpha=bt*.3,m.stroke()}}if(m.globalAlpha=bt,m.fillStyle=Lt(j.color),m.beginPath(),m.arc(it,ut,j.r,0,Math.PI*2),m.fill(),j.shimmer&&bt>.1){const ht=.5+.5*Math.sin(k*j.speed*.7+j.phase),Xt=j.r*(8+ht*6),At=m.createRadialGradient(it,ut,0,it,ut,Xt);At.addColorStop(0,Lt(j.color)),At.addColorStop(.15,Lt(j.color)),At.addColorStop(1,"rgba(0,0,0,0)"),m.globalAlpha=bt*.25*ht,m.fillStyle=At,m.beginPath(),m.arc(it,ut,Xt,0,Math.PI*2),m.fill();const Qt=j.r*(4+ht*3);m.globalAlpha=bt*.4*ht,m.strokeStyle=Lt(j.color),m.lineWidth=.8,m.beginPath(),m.moveTo(it-Qt,ut),m.lineTo(it+Qt,ut),m.moveTo(it,ut-Qt),m.lineTo(it,ut+Qt),m.stroke()}}}for(let j=b.shootingStars.length-1;j>=0;j--){const O=b.shootingStars[j];if(O.life+=Y,O.life>O.maxLife){b.shootingStars.splice(j,1);continue}const I=O.life/O.maxLife,J=I<.2?I/.2:1-(I-.2)/.8,it=O.x+Math.cos(O.angle)*O.speed*O.life,ut=O.y+Math.sin(O.angle)*O.speed*O.life,Tt=it-Math.cos(O.angle)*O.len*J,bt=ut-Math.sin(O.angle)*O.len*J,ht=m.createLinearGradient(Tt,bt,it,ut);ht.addColorStop(0,`rgba(${tt},0)`),ht.addColorStop(.6,`rgba(${tt},${J*.3*lt})`),ht.addColorStop(1,`rgba(${tt},${J*.9*lt})`),m.strokeStyle=ht,m.lineWidth=1.8,m.globalAlpha=1,m.beginPath(),m.moveTo(Tt,bt),m.lineTo(it,ut),m.stroke(),m.fillStyle=`rgba(${tt},${J*lt})`,m.beginPath(),m.arc(it,ut,2,0,Math.PI*2),m.fill()}b.nextPulsarAt-=Y*1e3,b.nextPulsarAt<=0&<>.2&&b.pulsars.length<2&&(b.pulsars.push({x:Math.random()*G,y:Math.random()*P,life:0,maxLife:2.5+Math.random()*1.5}),b.nextPulsarAt=6e3+Math.random()*1e4);for(let j=b.pulsars.length-1;j>=0;j--){const O=b.pulsars[j];if(O.life+=Y,O.life>O.maxLife){b.pulsars.splice(j,1);continue}const I=O.life/O.maxLife,J=I*60,it=I<.1?I/.1:1-(I-.1)/.9;if(m.strokeStyle=`rgba(${Gt},${it*.3*lt})`,m.lineWidth=1.5*(1-I),m.globalAlpha=1,m.beginPath(),m.arc(O.x,O.y,J,0,Math.PI*2),m.stroke(),I<.3){const ut=(1-I/.3)*.6*lt;m.fillStyle=`rgba(${Gt},${ut})`,m.beginPath(),m.arc(O.x,O.y,2,0,Math.PI*2),m.fill()}}if(b.nextBirthAt-=Y*1e3,b.nextBirthAt<=0&<>.2&&b.births.length<1){const j=at?["#fff","#ccd6ff","#fff4e0","#ffe8c8"]:["#000","#1a2040","#3a2800","#402000"];b.births.push({x:G*.1+Math.random()*G*.8,y:P*.1+Math.random()*P*.6,life:0,maxLife:2+Math.random()*1,color:j[Math.floor(Math.random()*j.length)]}),b.nextBirthAt=18e3+Math.random()*15e3}for(let j=b.births.length-1;j>=0;j--){const O=b.births[j];if(O.life+=Y,O.life>O.maxLife){b.births.splice(j,1);continue}const I=O.life/O.maxLife,J=I<.15?I/.15:1,it=I<.3?1:1-(I-.3)/.7,ut=J*20,Tt=m.createRadialGradient(O.x,O.y,0,O.x,O.y,ut);Tt.addColorStop(0,O.color),Tt.addColorStop(.3,O.color),Tt.addColorStop(1,"rgba(0,0,0,0)"),m.globalAlpha=it*.4*lt,m.fillStyle=Tt,m.beginPath(),m.arc(O.x,O.y,ut,0,Math.PI*2),m.fill();const bt=1+J*2*it;if(m.globalAlpha=it*.9*lt,m.fillStyle=xt,m.beginPath(),m.arc(O.x,O.y,bt,0,Math.PI*2),m.fill(),I<.3){const ht=J*15*it;m.strokeStyle=O.color,m.lineWidth=.6,m.globalAlpha=it*.5*lt,m.beginPath(),m.moveTo(O.x-ht,O.y),m.lineTo(O.x+ht,O.y),m.moveTo(O.x,O.y-ht),m.lineTo(O.x,O.y+ht),m.stroke()}}if(m.globalAlpha=1,h&&s?(b.planetAlpha=Math.min(1,b.planetAlpha+Y*.8),b.elementTintAlpha=Math.min(1,b.elementTintAlpha+Y*.6)):(b.planetAlpha=Math.max(0,b.planetAlpha-Y*1.5),b.elementTintAlpha=Math.max(0,b.elementTintAlpha-Y*1.5)),h&&b.elementTintAlpha>.01){const j=Av[h.zodiac.element];if(j){const At=b.elementTintAlpha*lt*.12,Qt=m.createRadialGradient(G*.5,P*.72,0,G*.5,P*.72,P*.7);Qt.addColorStop(0,`rgba(${j.r},${j.g},${j.b},${At})`),Qt.addColorStop(.5,`rgba(${j.r},${j.g},${j.b},${At*.3})`),Qt.addColorStop(1,"rgba(0,0,0,0)"),m.fillStyle=Qt,m.beginPath(),m.arc(G*.5,P*.72,P*.7,0,Math.PI*2),m.fill()}const I=5+(Tv[h.zodiac.rulingPlanet]||.5)*8,J=I*5,it=G*.73+Math.sin(k*.1)*8,ut=P*.68+Math.cos(k*.08)*6,Tt=b.planetAlpha*(at?lt:Math.max(lt,.7)),bt=m.createRadialGradient(it,ut,0,it,ut,J);bt.addColorStop(0,`rgba(${he},${Tt*.08})`),bt.addColorStop(.3,`rgba(${he},${Tt*.03})`),bt.addColorStop(1,`rgba(${he},0)`),m.fillStyle=bt,m.globalAlpha=1,m.beginPath(),m.arc(it,ut,J,0,Math.PI*2),m.fill();const ht=m.createRadialGradient(it-I*.2,ut-I*.2,0,it,ut,I);ht.addColorStop(0,`rgba(${qt[0]},${qt[1]},${qt[2]},${Tt*.5})`),ht.addColorStop(.7,`rgba(${qt[3]},${qt[4]},${qt[5]},${Tt*.25})`),ht.addColorStop(1,`rgba(${qt[6]},${qt[7]},${qt[8]},${Tt*.1})`),m.fillStyle=ht,m.beginPath(),m.arc(it,ut,I,0,Math.PI*2),m.fill(),h.zodiac.rulingPlanet==="Saturn"&&(m.strokeStyle=`rgba(${Ft},${Tt*.2})`,m.lineWidth=1,m.beginPath(),m.ellipse(it,ut,I*2.2,I*.5,-.2,0,Math.PI*2),m.stroke());const Xt=_v[h.birthstone];if(Xt)for(let At=0;At<8;At++){const Qt=G*.25+At*.07*G+Math.sin(k*.25+At*1.1)*25,_e=P*.65+Math.cos(k*.2+At*.9)*30+At%3*15,Zt=b.elementTintAlpha*lt*.3*(.4+.6*Math.sin(k*.4+At*2));m.fillStyle=Xt,m.globalAlpha=Zt,m.beginPath(),m.arc(Qt,_e,1.5+At%3*.5,0,Math.PI*2),m.fill()}m.globalAlpha=1}const st=(j,O,I)=>{const J=bv[j];if(!J||O<=0)return;const it=b.rotation*.65,ut=G*.5+b.mouseX*25*.65,Tt=P*.72+b.mouseY*15*.65,bt=Math.min(G*.45,P*.22),ht=J.stars.map(([Zt,Te])=>{const ce=(Zt-.5)*bt,le=(Te-.42)*bt,Me=Math.cos(it*.15),kt=Math.sin(it*.15);return[ut+ce*Me-le*kt,Tt+ce*kt+le*Me]}),Xt=J.lines.length,At=Math.floor(I*Xt),Qt=I*Xt-At,_e=at?1:3;m.strokeStyle=`rgba(16,185,129,${O*.3*lt*_e})`,m.lineWidth=at?1:1.5,m.shadowColor=`rgba(16,185,129,${O*.5*_e})`,m.shadowBlur=6,m.beginPath();for(let Zt=0;Zt<=At&&Zt<Xt;Zt++){const[Te,ce]=J.lines[Zt],[le,Me]=ht[Te],[kt,ua]=ht[ce];m.moveTo(le,Me),m.lineTo(Zt<At?kt:le+(kt-le)*Qt,Zt<At?ua:Me+(ua-Me)*Qt)}m.stroke(),m.shadowBlur=0;for(let Zt=0;Zt<J.stars.length;Zt++){const[,,Te]=J.stars[Zt],[ce,le]=ht[Zt],Me=O*Te*Math.min(1,I*Xt/Math.max(1,Zt))*lt;if(Me<=0)continue;const kt=5+Te*5,ua=m.createRadialGradient(ce,le,0,ce,le,kt);ua.addColorStop(0,`rgba(16,185,129,${Me*.7*_e})`),ua.addColorStop(.4,`rgba(16,185,129,${Me*.2*_e})`),ua.addColorStop(1,"rgba(16,185,129,0)"),m.fillStyle=ua,m.globalAlpha=1,m.beginPath(),m.arc(ce,le,kt,0,Math.PI*2),m.fill(),m.fillStyle=`rgba(${Ae},${Me})`,m.beginPath(),m.arc(ce,le,1.2+Te*1.3,0,Math.PI*2),m.fill()}if(j===b.sign&&b.labelAlpha>0){const Zt=Math.max(13,Math.min(16,G*.035)),Te=Math.max(10,Math.min(12,G*.025)),ce=Math.max(...ht.map(le=>le[1]));if(m.textAlign="center",m.globalAlpha=b.labelAlpha*(at?.5:1),m.fillStyle=at?"#34d399":"#047857",m.font=`500 ${Zt}px -apple-system, Inter, system-ui, sans-serif`,m.letterSpacing="3px",m.fillText(j.toUpperCase(),ut,ce+24),m.letterSpacing="0px",h&&b.labelAlpha>.4){const le=(b.labelAlpha-.4)/.6;m.font=`400 ${Te}px -apple-system, Inter, system-ui, sans-serif`,m.letterSpacing="1.5px",m.globalAlpha=le*(at?.6:1),m.fillStyle=at?"#a1a1aa":"#71717a",m.fillText(`${h.zodiac.element} · ${h.zodiac.rulingPlanet}`,ut,ce+42),m.globalAlpha=le*(at?.45:.85),m.fillStyle=at?"#a1a1aa":"#71717a",m.fillText(`${h.chineseZodiac.element} ${h.chineseZodiac.animal} · Path ${h.numerology.lifePath}`,ut,ce+58),m.letterSpacing="0px"}m.globalAlpha=1}};b.prevSign&&st(b.prevSign,b.prevAlpha,1),b.sign&&b.cAlpha>0&&st(b.sign,b.cAlpha,b.lineProgress),v.current=requestAnimationFrame(Z)},[q,$,W,c,r,s,f,h,g]);return x.useEffect(()=>(v.current=requestAnimationFrame(Z),()=>cancelAnimationFrame(v.current)),[Z]),_.jsxs("div",{className:"fixed inset-0 overflow-hidden pointer-events-none z-0","aria-hidden":"true",children:[_.jsx("canvas",{ref:A,className:"absolute inset-0 w-full h-full"}),_.jsx("div",{className:"absolute inset-x-0 bottom-0 h-1/4",style:{background:"linear-gradient(to top, var(--color-bg) 0%, transparent 100%)"}}),_.jsx("div",{className:"absolute inset-0",style:{background:"radial-gradient(ellipse 140% 90% at 50% 10%, transparent 50%, var(--color-bg) 100%)"}})]})}const Cv={date:"",intensity:.5,nebulaOpacity:.05,artifact:"nebula",cosmic:null},Mm=x.createContext(()=>{}),eb=()=>x.useContext(Mm);function zv(){const[u,c]=x.useState(Cv),r=x.useCallback(f=>c(h=>({...h,...f})),[]),{resolved:s}=sv();return _.jsx(Mm.Provider,{value:r,children:_.jsxs("div",{className:"relative min-h-screen",children:[_.jsx(Mv,{...u,darkMode:s==="dark"}),_.jsx("div",{className:"relative z-10",children:_.jsx(sp,{})})]})})}function Cm(u){const[c,r]=x.useState(()=>dt.flags.get(u));return x.useEffect(()=>dt.flags.subscribe(f=>{(!f||f===u)&&r(dt.flags.get(u))}),[u]),c}/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zm=(...u)=>u.filter((c,r,s)=>!!c&&c.trim()!==""&&s.indexOf(c)===r).join(" ").trim();/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Rv=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Dv=u=>u.replace(/^([A-Z])|[\s-_]+(\w)/g,(c,r,s)=>s?s.toUpperCase():r.toLowerCase());/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $h=u=>{const c=Dv(u);return c.charAt(0).toUpperCase()+c.slice(1)};/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var wv={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ov=u=>{for(const c in u)if(c.startsWith("aria-")||c==="role"||c==="title")return!0;return!1};/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Nv=x.forwardRef(({color:u="currentColor",size:c=24,strokeWidth:r=2,absoluteStrokeWidth:s,className:f="",children:h,iconNode:g,...A},v)=>x.createElement("svg",{ref:v,...wv,width:c,height:c,stroke:u,strokeWidth:s?Number(r)*24/Number(c):r,className:zm("lucide",f),...!h&&!Ov(A)&&{"aria-hidden":"true"},...A},[...g.map(([y,D])=>x.createElement(y,D)),...Array.isArray(h)?h:[h]]));/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ma=(u,c)=>{const r=x.forwardRef(({className:s,...f},h)=>x.createElement(Nv,{ref:h,iconNode:c,className:zm(`lucide-${Rv($h(u))}`,`lucide-${u}`,s),...f}));return r.displayName=$h(u),r};/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jv=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],Wh=Ma("bell",jv);/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Uv=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],Lv=Ma("brain",Uv);/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Hv=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Bv=Ma("chevron-down",Hv);/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qv=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Yv=Ma("download",qv);/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Vv=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Gv=Ma("mail",Vv);/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Xv=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Qv=Ma("refresh-cw",Xv);/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Zv=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],kv=Ma("shield",Zv);/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Jv=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],Kv=Ma("smartphone",Jv);/**
 * @license lucide-react v0.577.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $v=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Rm=Ma("x",$v),na=Er.forComponent("PWA");function ar(u){let c="0.81.9";ia.on("_meta/buildId",r=>{const s=r.val(),f=s==null?void 0:s.version;!f||f===c||(na.info("Deploy detected:",c,"→",f,s==null?void 0:s.sha),c=f,window.dispatchEvent(new Event("sw-update-available")),u&&u.update().catch(()=>{}))})}async function Wv(){if(!("serviceWorker"in navigator))return ar(null),null;try{const u=await navigator.serviceWorker.register("/sw.js",{scope:"/",updateViaCache:"none"});ar(u),u.addEventListener("updatefound",()=>{const s=u.installing;s&&s.addEventListener("statechange",()=>{s.state==="installed"&&navigator.serviceWorker.controller&&(na.info("New version available"),window.dispatchEvent(new Event("sw-update-available")))})});const c=!!navigator.serviceWorker.controller;let r=!1;return navigator.serviceWorker.addEventListener("controllerchange",()=>{r||!c||(r=!0,window.location.reload())}),u}catch(u){return na.error("Registration failed:",u),ar(null),null}}function sr(){return window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone===!0}function Fv(){return"BJbImCE9AHcqUcia8T2874gKINQDB4aPyNZgAg0fEuS5GrAgCOIuYeGbLGI5aBhPKmuG64SHDW-XtBJXE7B2-Xw"}async function Pv(){return"Notification"in window?Notification.permission==="granted"?"granted":Notification.requestPermission():"denied"}async function Iv(u){na.debug("subscribeToPush called, key:",(u==null?void 0:u.slice(0,20))+"...");const c=await navigator.serviceWorker.ready;if(!c.pushManager)return na.error("No pushManager on registration"),null;try{let r=await c.pushManager.getSubscription();if(na.debug("existing subscription:",r?"yes":"none"),!r){na.debug("creating new subscription...");const s=t1(u);na.debug("appServerKey length:",s.length),r=await c.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:s}),na.debug("subscribed! endpoint:",r.endpoint.slice(0,60))}return{endpoint:r.endpoint,keys:{p256dh:Fh(r.getKey("p256dh")),auth:Fh(r.getKey("auth"))}}}catch(r){return na.error("Push subscription failed:",r),null}}function t1(u){const c="=".repeat((4-u.length%4)%4),r=(u+c).replace(/-/g,"+").replace(/_/g,"/"),s=window.atob(r),f=new Uint8Array(s.length);for(let h=0;h<s.length;++h)f[h]=s.charCodeAt(h);return f}function Fh(u){const c=new Uint8Array(u);let r="";for(let s=0;s<c.byteLength;s++)r+=String.fromCharCode(c[s]);return window.btoa(r)}function e1(){const{user:u}=un(),[c,r]=x.useState(null),[s,f]=x.useState(!1);x.useEffect(()=>{if(!u||sr()||localStorage.getItem("pwa-install-dismissed")==="true"||!localStorage.getItem("para-has-returned"))return;const y=q=>{q.preventDefault(),r(q),f(!0)};window.addEventListener("beforeinstallprompt",y);const D=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent);let M;return D&&(M=setTimeout(()=>f(!0),5e3)),()=>{window.removeEventListener("beforeinstallprompt",y),clearTimeout(M)}},[u]);const h=async()=>{if(c)try{await c.prompt();const{outcome:y}=await c.userChoice;y==="accepted"&&f(!1),r(null)}catch{}},g=()=>{f(!1),localStorage.setItem("pwa-install-dismissed","true")};if(!u||!s||sr())return null;const A=/iPhone|iPad|iPod/i.test(navigator.userAgent),v=/Android/i.test(navigator.userAgent);return _.jsxs("div",{className:"fixed bottom-20 left-4 right-4 md:left-auto md:right-4 md:max-w-sm bg-surface/95 border border-border rounded-xl shadow-2xl p-4 backdrop-blur-sm z-50 animate-[slideUp_0.3s_ease-out]",children:[_.jsx("button",{onClick:g,className:"absolute top-2 right-2 text-muted hover:text-text",children:_.jsx(Rm,{className:"w-4 h-4"})}),_.jsxs("div",{className:"flex items-start gap-3",children:[_.jsx("div",{className:"p-2 rounded-lg bg-accent/20",children:_.jsx(Kv,{className:"w-5 h-5 text-accent"})}),_.jsxs("div",{className:"flex-1 space-y-2",children:[_.jsx("h3",{className:"font-semibold text-micro",children:"Install Para"}),c?_.jsxs(_.Fragment,{children:[_.jsx("p",{className:"text-micro text-muted",children:"Add Para to your home screen for quick access."}),_.jsxs("button",{onClick:h,className:"w-full mt-2 flex items-center justify-center gap-2 px-3 py-2 text-micro font-medium rounded-lg bg-accent text-white hover:bg-accent-hover transition-colors",children:[_.jsx(Yv,{className:"w-4 h-4"}),"Install App"]})]}):A?_.jsxs("div",{className:"text-micro text-muted space-y-1",children:[_.jsx("p",{children:"To install on iOS:"}),_.jsxs("ol",{className:"list-decimal list-inside space-y-0.5 pl-1",children:[_.jsx("li",{children:"Tap the Share button"}),_.jsx("li",{children:'Tap "Add to Home Screen"'}),_.jsx("li",{children:'Tap "Add"'})]})]}):v?_.jsxs("div",{className:"text-micro text-muted space-y-1",children:[_.jsx("p",{children:"To install on Android:"}),_.jsxs("ol",{className:"list-decimal list-inside space-y-0.5 pl-1",children:[_.jsx("li",{children:"Tap the menu button (⋮)"}),_.jsx("li",{children:'Tap "Install app"'})]})]}):_.jsx("p",{className:"text-micro text-muted",children:"Visit on your mobile device to install."})]})]})]})}const Pa=Er.forComponent("PushPrompt");function a1(){const{user:u}=un(),[c,r]=x.useState(!1),[s,f]=x.useState(!1);x.useEffect(()=>{if(!u||!sr()||localStorage.getItem("push-prompt-dismissed")==="true"||!("Notification"in window)||!("PushManager"in window))return;if(Notification.permission==="granted"){navigator.serviceWorker.ready.then(async v=>{await v.pushManager.getSubscription()||r(!0)});return}if(Notification.permission==="denied")return;const A=setTimeout(()=>r(!0),3e3);return()=>clearTimeout(A)},[u]);const h=async()=>{if(u){f(!0);try{Pa.debug("requesting permission...");const A=await Pv();if(Pa.debug("permission:",A),A!=="granted"){r(!1),localStorage.setItem("push-prompt-dismissed","true");return}const v=Fv();Pa.debug("VAPID key:",v?v.slice(0,20)+"...":"NOT SET"),Pa.debug("subscribing to push...");const y=await Iv(v);if(Pa.debug("subscription:",y?"ok":"null"),!y)return;Pa.debug("saving subscription to DB..."),await ia.set(`users/${u.id}/pushSubscription`,y),Pa.debug("done!"),r(!1)}catch(A){Pa.error("failed:",A)}finally{f(!1)}}},g=()=>{r(!1),localStorage.setItem("push-prompt-dismissed","true")};return c?_.jsxs("div",{className:"fixed bottom-20 left-4 right-4 md:left-auto md:right-4 md:max-w-sm bg-surface/95 border border-border rounded-xl shadow-2xl p-4 backdrop-blur-sm z-50 animate-[slideUp_0.3s_ease-out]",children:[_.jsx("button",{onClick:g,className:"absolute top-2 right-2 text-muted hover:text-text",children:_.jsx(Rm,{className:"w-4 h-4"})}),_.jsxs("div",{className:"flex items-start gap-3",children:[_.jsx("div",{className:"p-2 rounded-lg bg-accent/20",children:_.jsx(Wh,{className:"w-5 h-5 text-accent"})}),_.jsxs("div",{className:"flex-1 space-y-2",children:[_.jsx("h3",{className:"font-semibold text-micro",children:"Enable Notifications"}),_.jsx("p",{className:"text-micro text-muted",children:"Get notified when Para replies, even when the app is in the background."}),_.jsxs("button",{onClick:h,disabled:s,className:"w-full mt-2 flex items-center justify-center gap-2 px-3 py-2 text-micro font-medium rounded-lg bg-accent text-white hover:bg-accent-hover transition-colors disabled:opacity-50",children:[_.jsx(Wh,{className:"w-4 h-4"}),s?"Enabling...":"Enable Notifications"]})]})]})]}):null}function l1(){const[u,c]=x.useState(!1);return x.useEffect(()=>{var s;const r=()=>c(!0);return window.addEventListener("sw-update-available",r),(s=navigator.serviceWorker)==null||s.getRegistration().then(f=>{f!=null&&f.waiting&&r()}),()=>window.removeEventListener("sw-update-available",r)},[]),u?_.jsx("div",{className:"fixed top-4 left-4 right-4 md:left-auto md:right-4 md:max-w-sm bg-surface/95 border border-border rounded-xl shadow-2xl p-4 backdrop-blur-sm z-50 animate-[slideUp_0.3s_ease-out]",children:_.jsxs("div",{className:"flex items-center gap-3",children:[_.jsx(Qv,{className:"w-5 h-5 text-accent shrink-0"}),_.jsx("p",{className:"text-micro flex-1",children:"A new version is available."}),_.jsx("button",{onClick:async()=>{var s;const r=await((s=navigator.serviceWorker)==null?void 0:s.getRegistration());r!=null&&r.waiting?r.waiting.postMessage({type:"SKIP_WAITING"}):window.location.reload()},className:"px-3 py-1.5 text-micro font-medium rounded-lg bg-accent text-white hover:bg-accent-hover transition-colors shrink-0",children:"Reload"})]})}):null}const Ph=[{id:"A",headline:"Give out an email that fights back",subtitle:"Agent proxy email for busy founders"},{id:"B",headline:"Your inbox has a bouncer now",subtitle:"An AI that screens, qualifies, and replies for you"},{id:"C",headline:"Cold outreach is AI now. Your reply should be too.",subtitle:"Put an AI between you and your inbox"},{id:"D",headline:"Your AI finally has an email address",subtitle:"you@para.li — people email it, your Para handles the rest"},{id:"E",headline:"Never give out your real email again",subtitle:"you@para.li screens strangers so your inbox stays clean"}],n1=["para","paraai","parali","para_ai","para_li","bod","bodee","bodify","system","official","verified","staff","team","moderator","mod","assistant","bot","ai","me","you","self","everyone","everybody","anyone","someone","nobody","anon","anonymous","guest","user"],i1=["_domainkey","about","aboutus","abuse","access","account","accounts","activate","activities","activity","add","address","adm","admin","administration","administrator","ads","adstxt","adult","advertise","advertising","aes128ctr","aes128gcm","aes192ctr","aes256ctr","aes256gcm","affiliate","affiliates","ajax","alert","alerts","all","alpha","amp","analysis","analytics","android","anon","anonymous","api","app","appadstxt","apps","archive","archives","article","asc","asct","asset","assets","atom","auth","authentication","authorize","autoconfig","autodiscover","avatar","backup","balancermanager","banner","banners","bbs","beta","billing","billings","bin","blog","blogs","board","book","bookmark","bookmarks","bot","bots","broadcasthost","bug","business","buy","cache","cadastro","calendar","call","campaign","cancel","captcha","career","careers","cart","cas","categories","category","cdn","cgi","cgibin","chacha20poly1305","change","changelog","channel","channels","chart","chat","check","checking","checkout","clear","client","cliente","clients","close","cloud","cms","code","codereview","com","comercial","comment","comments","communities","community","company","compare","compose","compras","config","configuration","connect","contact","contact_us","contactus","contest","contribute","cookies","copy","copyright","corp","count","cpanel","create","crossdomainxml","css","curve25519sha256","customer","customers","customize","dashboard","data","deals","debug","default","delete","demo","desc","design","designer","destroy","dev","devel","developer","developers","diagram","diary","dict","dictionary","die","dir","direct_messages","directory","disconnect","discuss","dist","dns","dns0","dns1","dns2","dns3","dns4","doc","docs","documentation","domain","download","downloads","downvote","draft","drop","ecdhsha2nistp256","ecdhsha2nistp384","ecdhsha2nistp521","ecommerce","edit","editor","edu","education","email","employment","empty","end","enterprise","entries","entry","error","errors","eval","event","events","everyone","example","exception","exit","explore","export","extensions","false","family","faq","faqs","faviconico","favorite","favorites","feature","features","feed","feedback","feeds","file","files","filter","first","flash","fleet","fleets","flog","follow","follower","followers","following","fonts","forgot","forgotpassword","form","forms","forum","forums","founder","free","friend","friends","ftp","gadget","gadgets","game","games","get","ghost","gift","gifts","gist","git","graph","graphql","group","groups","guest","guests","guidelines","guides","head","header","help","hide","hmacsha","hmacsha1","hmacsha1etm","hmacsha2256","hmacsha2256etm","hmacsha2512","hmacsha2512etm","home","homepage","host","hosting","hostmaster","hostname","howto","hpg","htaccess","html","htpasswd","http","httpd","https","humanstxt","iamges","icon","icons","idea","ideas","image","images","imap","img","import","index","indice","info","information","inquiry","insert","intranet","investors","invitations","invite","invites","invoice","ipad","iphone","irc","isatap","issue","issues","item","items","java","javascript","job","jobs","join","json","jump","keybasetxt","knowledgebase","language","languages","last","ldapstatus","learn","legal","license","licensing","like","limit","link","links","linux","list","lists","live","load","local","localdomain","localhost","lock","log","log_in","log_out","login","logout","logs","lostpassword","mac","mail","mail0","mail1","mail2","mail3","mail4","mail5","mail6","mail7","mail8","mail9","mailer","mailerdaemon","mailing","maintenance","manager","manual","map","maps","marketing","marketplace","master","media","member","members","message","messages","messenger","metrics","microblog","microblogs","mine","mis","mob","mobile","moderator","modify","more","movie","movies","mp3","msg","msn","music","musicas","mx1","mysql","name","named","nan","navi","navigation","net","network","new","news","newsletter","newsletters","next","nick","nickname","nil","nobody","noc","none","noreply","notes","noticias","notification","notifications","notify","ns0","ns1","ns10","ns2","ns3","ns4","ns5","ns6","ns7","ns8","ns9","null","oauth","oauth2","oauth_clients","offer","offers","official","old","online","openid","operator","order","orders","organization","organizations","overview","owa","owner","owners","page","pager","pages","panel","partners","passwd","password","pay","payment","payments","perl","phone","photo","photoalbum","photos","php","phpmyadmin","phppgadmin","phpredisadmin","pic","pics","ping","pixel","plan","plans","plugin","plugins","policies","policy","pop","pop3","popular","portal","portfolio","post","postfix","postmaster","posts","poweruser","preferences","premium","press","previous","price","pricing","print","privacy","privacy_policy","privacypolicy","private","prod","product","production","products","profile","profiles","project","projects","promo","pub","public","purchase","purpose","put","python","query","quota","random","ranking","read","readme","recent","recruit","recruitment","redirect","reduce","refund","refunds","register","registration","release","remove","replies","reply","report","reports","repositories","repository","req","request","requestpassword","requests","reset","resetpassword","response","return","returns","review","reviews","robotstxt","roc","root","rootuser","rsasha22","rsasha2512","rss","ruby","rule","rules","sag","sale","sales","sample","samples","save","school","script","scripts","sdk","search","secure","security","select","self","send","server","serverinfo","serverstatus","service","services","session","sessions","setting","settings","setup","share","shift","shop","show","sign_in","sign_up","signin","signout","signup","site","sitemap","sites","smartphone","smtp","soporte","sort","source","spec","special","sql","src","ssh","sshrsa","ssl","ssladmin","ssladministrator","sslwebmaster","staff","stage","staging","start","stat","state","static","statistics","stats","status","store","stores","stories","style","styleguide","styles","stylesheet","stylesheets","subdomain","subscribe","subscriptions","sudo","super","superuser","suporte","support","survey","svn","swf","sync","sys","sysadmin","sysadministrator","system","tablet","tablets","tag","tags","talk","task","tasks","team","teams","tech","telnet","term","terms","terms_of_service","termsofservice","termsofuse","test","test1","test2","test3","teste","testimonials","testing","tests","theme","themes","thread","threads","tmp","today","todo","tool","tools","top","topic","topics","tos","tour","training","translate","translations","trending","trends","trial","true","tutorial","tux","umac128","umac128etm","umac64","umac64etm","undef","undefined","unfollow","unlike","unsubscribe","update","upgrade","upload","uploads","url","usage","usenet","user","username","users","usuario","uucp","var","vendas","ver","verify","version","video","videos","view","visitor","void","vote","vpn","watch","weather","web","webhook","webhooks","webmail","webmaster","website","websites","welcome","wellknown","widget","widgets","wiki","win","windows","word","work","works","workshop","wpad","write","wws","www","www1","www2","www3","www4","www5","www6","www7","wwwdata","wwws","wwww","xfn","xml","xmpp","xpg","xxx","yaml","year","yml","you","yourdomain","yourname","yoursite","yourusername","zlib0"],u1=["google","apple","microsoft","amazon","meta","facebook","instagram","whatsapp","messenger","threads","tiktok","twitter","youtube","snapchat","pinterest","reddit","discord","slack","zoom","linkedin","github","gitlab","bitbucket","dropbox","notion","figma","adobe","atlassian","jira","confluence","salesforce","oracle","ibm","intel","nvidia","amd","cisco","samsung","sony","lg","huawei","xiaomi","netflix","spotify","hulu","disney","disneyplus","hbo","hbomax","primevideo","twitch","vimeo","openai","chatgpt","anthropic","claude","gemini","bard","copilot","perplexity","mistral","deepmind","xai","grok","midjourney","stability","runway","huggingface","paypal","venmo","cashapp","stripe","square","wise","revolut","robinhood","coinbase","binance","kraken","bitcoin","ethereum","solana","tether","usdc","metamask","ledger","visa","mastercard","amex","americanexpress","chase","citibank","bankofamerica","wellsfargo","goldmansachs","jpmorgan","ebay","etsy","walmart","target","costco","bestbuy","ikea","homedepot","shopify","alibaba","aliexpress","wish","temu","shein","nike","adidas","puma","reebok","underarmour","lululemon","zara","hm","uniqlo","gucci","prada","louisvuitton","chanel","hermes","rolex","cocacola","pepsi","nestle","starbucks","mcdonalds","burgerking","kfc","subway","dominos","pizzahut","chipotle","tacobell","wendys","dunkin","redbull","heineken","budweiser","guinness","uber","lyft","doordash","grubhub","instacart","airbnb","booking","expedia","tripadvisor","kayak","tesla","spacex","boeing","airbus","toyota","ford","gm","chevrolet","bmw","mercedes","mercedesbenz","audi","volkswagen","porsche","honda","hyundai","kia","nissan","volvo","ferrari","lamborghini","verizon","att","tmobile","sprint","comcast","xfinity","spectrum","vodafone","orange","telefonica","cnn","bbc","nytimes","washingtonpost","wsj","reuters","ap","bloomberg","forbes","fortune","economist","wired","techcrunch","verge","arstechnica","engadget","foxnews","msnbc","aljazeera","gov","whitehouse","congress","senate","fbi","cia","nsa","dod","irs","usps","nasa","noaa","cdc","nih","fda","epa","sec","doj","dhs","ice","tsa","un","nato","who","imf","worldbank","europa","harvard","mit","stanford","yale","princeton","oxford","cambridge","berkeley","cmu","caltech","stackoverflow","npm","pypi","dockerhub","cloudflare","akamai","fastly","digitalocean","linode","heroku","vercel","netlify","render","fly","supabase","firebase","aws","gcp","azure"],c1=["afghanistan","albania","algeria","americansamoa","andorra","angola","anguilla","antarctica","antiguaandbarbuda","argentina","armenia","aruba","australia","austria","azerbaijan","bahamas","bahrain","bangladesh","barbados","belarus","belgium","belize","benin","bermuda","bhutan","bolivia","bosniaandherzegovina","botswana","bouvetisland","brazil","britishvirginislands","brunei","bulgaria","burkinafaso","burundi","cambodia","cameroon","canada","capeverde","caribbeannetherlands","caymanislands","chad","chile","china","christmasisland","cocoskeelingislands","colombia","comoros","cookislands","costarica","croatia","cuba","curaao","cyprus","czechia","czechrepublic","denmark","djibouti","dominica","dominicanrepublic","drcongo","ecuador","egypt","elsalvador","england","equatorialguinea","eritrea","estonia","eswatini","ethiopia","falklandislands","faroeislands","fiji","finland","france","frenchguiana","frenchpolynesia","gabon","gambia","georgia","germany","ghana","gibraltar","greatbritain","greece","greenland","grenada","guadeloupe","guam","guatemala","guernsey","guinea","guineabissau","guyana","haiti","holland","honduras","hongkong","hungary","iceland","india","indonesia","iran","iraq","ireland","isleofman","israel","italy","ivorycoast","jamaica","japan","jersey","jordan","kazakhstan","kenya","kiribati","kosovo","kuwait","kyrgyzstan","landislands","laos","latvia","lebanon","lesotho","liberia","libya","liechtenstein","lithuania","luxembourg","macau","macedonia","madagascar","malawi","malaysia","maldives","mali","malta","marshallislands","martinique","mauritania","mauritius","mayotte","mexico","micronesia","moldova","monaco","mongolia","montenegro","montserrat","morocco","mozambique","myanmar","namibia","nauru","nepal","netherlands","newcaledonia","newzealand","nicaragua","niger","nigeria","niue","norfolkisland","northernireland","northkorea","northmacedonia","norway","oman","pakistan","palau","palestine","panama","papuanewguinea","paraguay","peru","philippines","pitcairnislands","poland","portugal","puertorico","qatar","republicofthecongo","romania","runion","russia","rwanda","saintbarthlemy","saintkittsandnevis","saintlucia","saintmartin","samoa","sanmarino","saudiarabia","scotland","senegal","serbia","seychelles","sierraleone","singapore","sintmaarten","slovakia","slovenia","solomonislands","somalia","sotomandprncipe","southafrica","southgeorgia","southkorea","southsudan","spain","srilanka","sudan","suriname","svalbardandjanmayen","sweden","switzerland","syria","taiwan","tajikistan","tanzania","thailand","timorleste","togo","tokelau","tonga","trinidadandtobago","tunisia","turkey","turkiye","turkmenistan","tuvalu","uganda","ukraine","unitedarabemirates","unitedkingdom","unitedstates","uruguay","uzbekistan","vanuatu","vaticancity","venezuela","vietnam","wales","wallisandfutuna","westernsahara","yemen","zambia","zimbabwe","usa","u_s_a","u_s","america","uk","u_k","britain","uae","u_a_e","ussr","eu","nato","asean","european_union","statesofamerica"],s1=["liv","livshitz","elya"],r1=new Set([...n1,...i1,...u1,...c1,...s1]);function o1(u){return u.toLowerCase().replace(/\./g,"")}function f1(u){return r1.has(o1(u))}function d1({variant:u,ctaLabel:c="Claim your handle"}){const r=wu(),[s,f]=x.useState(""),[h,g]=x.useState(""),[A,v]=x.useState("idle"),[y,D]=x.useState(""),[M,q]=x.useState(!1),$=x.useRef(null),W=x.useRef({handle:!1,email:!1}),Z=x.useCallback(m=>{W.current[m]||(W.current[m]=!0,dt.event(`lp_${m}_focus`,{variant:u}))},[u]),X=m=>{const V=m.toLowerCase().replace(/[^a-z0-9_.]/g,"");f(V);const G=V.replace(/\./g,"");if($.current&&clearTimeout($.current),!G){v("idle");return}if(!/^[a-z0-9_]{3,20}$/.test(G)){v("invalid");return}if(f1(G)){v("reserved");return}v("checking"),$.current=setTimeout(async()=>{try{const at=await ia.get(`_handle_avail/${G}`)?"taken":"available";at==="taken"&&dt.event("lp_handle_taken",{handle:G,variant:u}),v(at)}catch{v("available")}},400)},L=async m=>{if(m.preventDefault(),!(A!=="available"||!h)){D(""),q(!0),dt.event("lp_claim_attempt",{handle:s,variant:u}),dt.metric("lp_claim_attempt",1,{variant:u});try{dt.leads.collect({email:h,name:s,source:`lp-${u}`,meta:{handle:s,variant:u}}).catch(()=>{});const V=s.replace(/\./g,""),G=`claim_${Date.now().toString(36)}_${Math.random().toString(36).slice(2,6)}`;await ia.set(`_handle_claims/${G}`,{handle:V,email:h,variant:u,ts:Date.now()}),r(`/claiming/${V}?claim=${G}`)}catch(V){dt.event("lp_claim_error",{handle:s,variant:u,error:V.message}),D(V.message??"Failed to claim handle")}finally{q(!1)}}};return _.jsxs("form",{onSubmit:L,className:"space-y-4",children:[_.jsxs("div",{children:[_.jsxs("div",{className:"flex items-center bg-bg border border-border rounded-lg overflow-hidden focus-within:border-accent",children:[_.jsx("input",{type:"text",placeholder:"yourname",value:s,onChange:m=>X(m.target.value),onFocus:()=>Z("handle"),maxLength:20,autoFocus:!0,className:"flex-1 px-3 py-3 bg-transparent text-text text-body text-right focus:outline-none"}),_.jsx("span",{className:"pr-3 text-muted text-body",children:"@para.li"})]}),_.jsxs("div",{className:"h-5 mt-1 text-micro text-left pl-1",children:[A==="checking"&&_.jsx("span",{className:"text-muted",children:"Checking..."}),A==="available"&&_.jsxs("span",{className:"text-green-400",children:["@",s," is yours"]}),A==="taken"&&_.jsxs("span",{className:"text-danger",children:["@",s," is taken"]}),A==="reserved"&&_.jsxs("span",{className:"text-danger",children:["@",s," is reserved"]}),A==="invalid"&&s&&_.jsx("span",{className:"text-danger",children:"3-20 chars: letters, numbers, underscore"})]})]}),_.jsx("input",{type:"email",inputMode:"email",placeholder:"Your email",value:h,onChange:m=>g(m.target.value),onFocus:()=>Z("email"),required:!0,autoComplete:"email",className:"w-full px-3 py-3 bg-bg border border-border rounded-lg text-text text-body focus:outline-none focus:border-accent"}),_.jsx("button",{type:"submit",disabled:A!=="available"||!h||M,className:"w-full py-3 bg-accent hover:bg-accent-hover text-bg font-semibold rounded-lg text-body transition-colors disabled:opacity-40",children:M?"Claiming...":c}),y&&_.jsx("p",{className:"text-danger text-micro text-center",children:y})]})}function h1(){const u=Cm("lp-variant"),c=(u==null?void 0:u.toUpperCase())??"A",r=Ph.find(s=>s.id===c)??Ph[0];return x.useEffect(()=>{dt.event("lp_view",{variant:r.id}),dt.metric("lp_load_ms",performance.now(),{unit:"ms",variant:r.id})},[r.id]),_.jsxs(_.Fragment,{children:[_.jsxs("div",{className:"relative min-h-screen flex items-center justify-center px-4",children:[_.jsxs("div",{className:"relative z-10 text-center space-y-8 w-full max-w-md",children:[_.jsxs("div",{className:"space-y-3",children:[_.jsx("h1",{className:"text-hero font-bold text-text tracking-tight text-balance",children:r.headline}),_.jsx("p",{className:"text-body text-muted",children:r.subtitle})]}),_.jsx(d1,{variant:r.id})]}),_.jsx(Sr,{to:"/chat-auth",onClick:()=>dt.event("lp_signin_click",{variant:r.id}),className:"absolute bottom-14 left-1/2 -translate-x-1/2 text-micro text-muted hover:text-text no-underline",children:"Already have an account? Sign in"}),_.jsx("button",{onClick:()=>{var s;dt.event("lp_scroll_how",{variant:r.id}),(s=document.getElementById("how-it-works"))==null||s.scrollIntoView({behavior:"smooth"})},className:"absolute bottom-4 left-1/2 -translate-x-1/2 text-muted/50 hover:text-muted animate-bounce","aria-label":"Scroll down",children:_.jsx(Bv,{size:20})}),!1]}),_.jsx("section",{id:"how-it-works",className:"relative py-24 px-4 bg-surface/80 backdrop-blur-sm border-t border-border",children:_.jsxs("div",{className:"max-w-3xl mx-auto",children:[_.jsx("p",{className:"text-micro font-medium text-accent text-center tracking-widest uppercase mb-3",children:"How it works"}),_.jsx("h2",{className:"text-title font-bold text-text text-center mb-16",children:"Three steps. No setup."}),_.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-10 sm:gap-6",children:m1.map((s,f)=>_.jsxs("div",{className:"relative bg-bg rounded-xl border border-border p-6 text-center space-y-4",children:[_.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 w-7 h-7 rounded-full bg-accent text-bg text-micro font-bold flex items-center justify-center",children:f+1}),_.jsx("div",{className:"w-12 h-12 mx-auto rounded-lg bg-accent/10 flex items-center justify-center mt-2",children:_.jsx(s.icon,{size:24,className:"text-accent"})}),_.jsx("h3",{className:"text-body font-semibold text-text",children:s.title}),_.jsx("p",{className:"text-body text-text-secondary",children:s.desc})]},s.title))})]})})]})}const m1=[{icon:Gv,title:"Claim your handle",desc:"Pick your @para.li email. It's yours — forever."},{icon:Lv,title:"Your AI learns your style",desc:"Reply once and your Para picks up your tone, priorities, and boundaries."},{icon:kv,title:"It handles the rest",desc:"Para screens strangers, replies on your behalf, and only pings you when it matters."}],y1=jt(()=>Dt(()=>import("./Auth-BPGa-hmu.js"),__vite__mapDeps([0,1])).then(u=>({default:u.ChatAuthPage}))),g1=jt(()=>Dt(()=>import("./Onboard-CGpDQ9Fj.js"),__vite__mapDeps([2,0,1,3,4,5])).then(u=>({default:u.OnboardPage}))),p1=jt(()=>Dt(()=>import("./Creating-DiZXAvmV.js"),[]).then(u=>({default:u.CreatingPage}))),v1=jt(()=>Dt(()=>import("./MainLayout-BVwFznxU.js"),__vite__mapDeps([6,7,8,9])).then(u=>({default:u.MainLayout}))),b1=jt(()=>Dt(()=>import("./ChatList-BKGpuY2W.js"),__vite__mapDeps([10,7,8,11])).then(u=>({default:u.ChatList}))),S1=jt(()=>Dt(()=>import("./ChatView-CuZuHQ4K.js"),__vite__mapDeps([12,7,13,1,14,15,16,17,18,19])).then(u=>({default:u.ChatView}))),E1=jt(()=>Dt(()=>import("./Discover-DP_5ZN_R.js"),__vite__mapDeps([20,7,21,11,22,8,15])).then(u=>({default:u.DiscoverView}))),x1=jt(()=>Dt(()=>import("./Inbox-BJnbGkye.js"),__vite__mapDeps([23,7,24,19,9,14])).then(u=>({default:u.InboxListView}))),A1=jt(()=>Dt(()=>import("./InboxDetail-DVRu4q2N.js"),__vite__mapDeps([25,7,24,19,1,14,5,26,15,18,16])).then(u=>({default:u.InboxDetailView}))),_1=jt(()=>Dt(()=>import("./TopicDetail-DP_dwjM-.js"),__vite__mapDeps([27,21,7,13,4,22])).then(u=>({default:u.TopicDetailView}))),T1=jt(()=>Dt(()=>import("./Notifications-NM5JAG-G.js"),__vite__mapDeps([28,7,13,22,8])).then(u=>({default:u.NotificationsView}))),M1=jt(()=>Dt(()=>import("./Settings-hond9OJX.js"),__vite__mapDeps([29,7,30])).then(u=>({default:u.SettingsView}))),C1=jt(()=>Dt(()=>import("./NotificationTest-aERGQQnz.js"),__vite__mapDeps([31,7,1,18,15,26])).then(u=>({default:u.NotificationTestPage}))),z1=jt(()=>Dt(()=>import("./Share-C4GMWUno.js"),[]).then(u=>({default:u.SharePage}))),R1=jt(()=>Dt(()=>import("./Claiming-DdmMRHuS.js"),__vite__mapDeps([32,7,19])).then(u=>({default:u.ClaimingPage}))),D1=jt(()=>Dt(()=>import("./Signin-4LubQ-Lo.js"),__vite__mapDeps([33,19])).then(u=>({default:u.SigninPage}))),w1=jt(()=>Dt(()=>import("./Demo-CxjWj0jM.js"),__vite__mapDeps([34,35,36,30])).then(u=>({default:u.DemoPage}))),O1=jt(()=>Dt(()=>import("./JobChannel-Z_pQISFb.js"),__vite__mapDeps([37,7,38,39,13,1,3,17,8,18,40,41,42])).then(u=>({default:u.JobChannel}))),N1=jt(()=>Dt(()=>import("./JobChannel-Z_pQISFb.js"),__vite__mapDeps([37,7,38,39,13,1,3,17,8,18,40,41,42])).then(u=>({default:u.JobLauncher}))),j1=jt(()=>Dt(()=>import("./AdminTrace-CweyuIXQ.js"),__vite__mapDeps([43,7,8,1,5])).then(u=>({default:u.AdminTraceView}))),U1=jt(()=>Dt(()=>import("./InChatFunnel-BrL-WFDt.js"),__vite__mapDeps([44,7,35,36,30,45,38,39,13,1,3,17,8,18,40,46,41,42])).then(u=>({default:u.InChatFunnelPage}))),L1=jt(()=>Dt(()=>import("./ConversationChannel-B6AcXjWv.js"),__vite__mapDeps([39,7,13,38,1,3,17,8,18])).then(u=>({default:u.ConversationChannel}))),H1=jt(()=>Dt(()=>import("./Baby-sriGeQde.js"),__vite__mapDeps([47,42])).then(u=>({default:u.BabyPage}))),B1=jt(()=>Dt(()=>import("./BabyIntake-CG4Ffk7s.js"),__vite__mapDeps([48,7,35,36,30,45,38,46,41,42])).then(u=>({default:u.BabyIntakePage}))),q1=jt(()=>Dt(()=>import("./BabyQuiz-EoFTPud-.js"),__vite__mapDeps([49,7,36,30,45,38,41,42])).then(u=>({default:u.BabyQuizPage}))),Y1=jt(()=>Dt(()=>import("./Legal-B_Wlfarf.js"),[]).then(u=>({default:u.PrivacyPage}))),V1=jt(()=>Dt(()=>import("./Legal-B_Wlfarf.js"),[]).then(u=>({default:u.TermsPage}))),G1=jt(()=>Dt(()=>import("./Legal-B_Wlfarf.js"),[]).then(u=>({default:u.DataDeletionPage})));function X1(){const{conversationId:u}=Kg(),{user:c}=un();return u!=null&&u.startsWith("conv_sleep_")?_.jsx(O1,{convId:u}):c&&(u!=null&&u.startsWith(`conv_${c.id}_`))&&!u.slice(`conv_${c.id}_`.length).includes("_")?_.jsx(L1,{convId:u,title:"Para",subtitle:"your Para",ownerName:"Para"}):_.jsx(S1,{})}function lr({children:u}){const{user:c,pendingVerification:r,loading:s}=un();return s?_.jsx(xr,{}):r||!c?_.jsx(Ou,{to:"/chat-auth",replace:!0}):_.jsx(_.Fragment,{children:u})}function nr({children:u}){return Cm("sleep-consumer-funnel")===!1?_.jsx(Ou,{to:"/",replace:!0}):_.jsx(_.Fragment,{children:u})}function xr(){return _.jsxs("div",{id:"boot-splash",children:[_.jsx("div",{className:"bs-brand",children:"Para"}),_.jsx("div",{className:"bs-spin"})]})}function Q1(){const{loading:u}=un();return x.useEffect(()=>{u||lv()},[u]),null}function Z1(){const{user:u,loading:c}=un();return c?_.jsx(xr,{}):u?_.jsx(Ou,{to:"/chat",replace:!0}):_.jsx(h1,{})}function k1(){return _.jsxs(_.Fragment,{children:[_.jsx(l1,{}),_.jsx(e1,{}),_.jsx(a1,{}),_.jsx(rv,{children:_.jsxs(x.Suspense,{fallback:_.jsx(xr,{}),children:[_.jsxs(op,{children:[_.jsxs(Mt,{element:_.jsx(zv,{}),children:[_.jsx(Mt,{index:!0,element:_.jsx(Z1,{})}),_.jsx(Mt,{path:"/claiming/:handle",element:_.jsx(R1,{})}),_.jsx(Mt,{path:"/signin",element:_.jsx(D1,{})}),_.jsx(Mt,{path:"/chat-auth",element:_.jsx(y1,{})}),_.jsx(Mt,{path:"/onboard",element:_.jsx(g1,{})}),_.jsx(Mt,{path:"/chat/:handle/:jobId",element:_.jsx(U1,{})}),_.jsx(Mt,{path:"/baby",element:_.jsx(nr,{children:_.jsx(H1,{})})}),_.jsx(Mt,{path:"/baby/intake",element:_.jsx(nr,{children:_.jsx(B1,{})})}),_.jsx(Mt,{path:"/baby/quiz",element:_.jsx(nr,{children:_.jsx(q1,{})})}),_.jsx(Mt,{path:"/privacy",element:_.jsx(Y1,{})}),_.jsx(Mt,{path:"/terms",element:_.jsx(V1,{})}),_.jsx(Mt,{path:"/data-deletion",element:_.jsx(G1,{})})]}),_.jsx(Mt,{path:"/share",element:_.jsx(lr,{children:_.jsx(z1,{})})}),_.jsx(Mt,{path:"/onboard/creating",element:_.jsx(lr,{children:_.jsx(p1,{})})}),_.jsxs(Mt,{element:_.jsx(lr,{children:_.jsx(v1,{})}),children:[_.jsx(Mt,{path:"/chat",element:_.jsx(b1,{})}),_.jsx(Mt,{path:"/chat/:conversationId",element:_.jsx(X1,{})}),_.jsx(Mt,{path:"/job/:jobId",element:_.jsx(N1,{})}),_.jsx(Mt,{path:"/discover",element:_.jsx(E1,{})}),_.jsx(Mt,{path:"/inbox",element:_.jsx(x1,{})}),_.jsx(Mt,{path:"/inbox/:emailId",element:_.jsx(A1,{})}),_.jsx(Mt,{path:"/t/:topic",element:_.jsx(_1,{})}),_.jsx(Mt,{path:"/notifications",element:_.jsx(T1,{})}),_.jsx(Mt,{path:"/settings",element:_.jsx(M1,{})}),_.jsx(Mt,{path:"/settings/notifications",element:_.jsx(C1,{})}),_.jsx(Mt,{path:"/admin/trace",element:_.jsx(j1,{})})]}),_.jsx(Mt,{path:"/demo-chat-kit",element:_.jsx(w1,{})}),_.jsx(Mt,{path:"*",element:_.jsx(Ou,{to:"/",replace:!0})})]}),_.jsx(Q1,{})]})})]})}const rr="para_attribution",J1=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","ref","fbclid","ttclid","gclid"];function ab(){try{const u=localStorage.getItem(rr);if(u){const s=JSON.parse(u);return Ih(s),s}const c=new URLSearchParams(window.location.search),r={};for(const s of J1){const f=c.get(s);f&&(r[s]=f.slice(0,120))}return r.landing=window.location.pathname,r.landed_at=Date.now(),localStorage.setItem(rr,JSON.stringify(r)),Ih(r),r}catch{return{}}}function Ih(u){try{dt.analytics.register(u)}catch{}}function K1(){try{const u=localStorage.getItem(rr);if(u)return JSON.parse(u)}catch{}return{}}let or="init",tm=!1;const em=new Set;function lb(u){or=u}function nb(u,c={}){ai(u,{kind:"stall",...c})}function $1(){try{if(window.matchMedia("(pointer: coarse)").matches||navigator.maxTouchPoints>0)return"mobile"}catch{}return"desktop"}function am(u){var c;if(u instanceof Error){const r=(c=u.stack)==null?void 0:c.split(`
`).map(s=>s.trim()).find(s=>s.startsWith("at "));return{name:u.name,message:u.message||u.name||"Error",frame:r==null?void 0:r.slice(0,160)}}if(typeof u=="string")return{message:u};if(u&&typeof u=="object"){const r=u,s=typeof r.message=="string"?r.message:(()=>{try{return JSON.stringify(r).slice(0,200)}catch{return String(u)}})();return{name:typeof r.name=="string"?r.name:void 0,message:s}}return{message:String(u)}}function ai(u,c={}){try{const r=window.location.pathname,s=`${r}|${or}|${c.name??""}|${u}|${c.at??""}`.slice(0,240);if(em.has(s))return;em.add(s),dt.event("client_error",{msg:String(u).slice(0,300),route:r,step:or,device:$1(),...c,...K1()})}catch{}}function W1(){tm||typeof window>"u"||(tm=!0,window.addEventListener("error",u=>{var s;if(!u.error&&u.target&&u.target!==window){const f=u.target,h=f.src||f.href||"";if(h){ai(`resource load failed: ${h}`.slice(0,200),{kind:"resource",name:(s=f.tagName)==null?void 0:s.toLowerCase(),src:h.slice(0,160)});return}}if(!u.error&&(!u.message||u.message==="Script error.")){ai("Script error (cross-origin — detail blocked; add crossorigin+CORS to see it)",{kind:"cross-origin",src:(u.filename||"").slice(0,160)});return}const c=am(u.error??u.message),r=u.filename?`${u.filename.split("/").pop()}:${u.lineno??0}:${u.colno??0}`:void 0;ai(c.message,{kind:"error",name:c.name,at:r,frame:c.frame,src:(u.filename||"").slice(0,160)})},!0),window.addEventListener("unhandledrejection",u=>{const c=u.reason;if((c==null?void 0:c.name)==="AbortError")return;const r=am(c);ai(r.message,{kind:"rejection",name:r.name,frame:r.frame})}))}W1();window.addEventListener("vite:preloadError",u=>{const c="chunk-reload-at";let r=0;try{r=Number(sessionStorage.getItem(c)??0)}catch{}if(!(Date.now()-r<3e4)){u.preventDefault();try{sessionStorage.setItem(c,String(Date.now()))}catch{}window.location.reload()}});Wv();"serviceWorker"in navigator&&navigator.serviceWorker.addEventListener("message",u=>{var c,r;((c=u.data)==null?void 0:c.type)==="NAVIGATE"&&u.data.url&&(window.location.href=u.data.url),((r=u.data)==null?void 0:r.type)==="MARK_READ"&&u.data.nid&&Dt(async()=>{const{client:s}=await Promise.resolve().then(()=>tv);return{client:s}},void 0).then(({client:s})=>{const f=localStorage.getItem("bodify_auth_token");if(f)try{const g=JSON.parse(atob(f.split(".")[1])).sub;if(!g)return;s.get(`users/${g}/notifications/${u.data.nid}`).then(A=>{A&&!A.read&&s.set(`users/${g}/notifications/${u.data.nid}`,{...A,read:!0})})}catch{}})});sg.createRoot(document.getElementById("root")).render(_.jsx(x.StrictMode,{children:_.jsx(Up,{children:_.jsx(cv,{children:_.jsx(nv,{children:_.jsx(k1,{})})})})}));export{dt as B,Bv as C,Sr as L,Gv as M,Ou as N,sp as O,Qv as R,Rm as X,Dt as _,wu as a,ia as b,Ma as c,P1 as d,K1 as e,Cm as f,Kg as g,eb as h,sr as i,_ as j,ab as k,tb as l,sv as m,Wh as n,Er as o,lb as p,nb as q,x as r,Iv as s,Fv as t,un as u,Lp as v,ig as w,I1 as x};