const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Auth-5BGTA2OK.js","assets/arrow-left-uDmKPBy9.js","assets/Onboard-BVaYlMt4.js","assets/sparkles-RD_qLQrS.js","assets/chevron-left-lkOItpb-.js","assets/chevron-right-CJANM7_z.js","assets/MainLayout-WmRNRF9b.js","assets/hooks-COB60m7q.js","assets/message-square-BXyc1Zia.js","assets/inbox-CWypKDcL.js","assets/ChatList-mYf0NtV_.js","assets/moon-4lh8ZR4K.js","assets/ChatView-PFeBTnud.js","assets/utils-ByjjaO5W.js","assets/arrow-down-BIXmehTu.js","assets/loader-circle-Cjrw3Z8t.js","assets/pencil-CnvqPJjP.js","assets/rotate-ccw-BPfAzvzE.js","assets/send-CMucj3Mv.js","assets/check-CKZMmonn.js","assets/Discover-DUKh6Thg.js","assets/useTopics-CElY5cp8.js","assets/radio-7Qd0_dee.js","assets/Inbox-SpTrXUsd.js","assets/OverflowMenu-B0QPN_Qj.js","assets/InboxDetail-eRabxBYg.js","assets/circle-x-CV7QMH9u.js","assets/TopicDetail-CyH6mlGz.js","assets/Notifications-D2u80pYy.js","assets/Settings-CX3DSUGu.js","assets/NotificationTest-CL5SNDWm.js","assets/Claiming-C_CN2CMJ.js","assets/Signin-CF8WyQAq.js","assets/Demo-DVmzPFuC.js","assets/ChatKit-CIDu9Cyb.js","assets/pgsl-llm-callbacks-CsDupWMr.js","assets/JobChannel-BzH8Y2X9.js","assets/PlanCard-CG5ScHZk.js","assets/AdminTrace-C1cpBlPb.js","assets/BabyIntake-CSXDQkTT.js","assets/meta-pixel-7cpybwrj.js","assets/BabyQuiz-BuM8JJoJ.js"])))=>i.map(i=>d[i]);
(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))c(f);new MutationObserver(f=>{for(const h of f)if(h.type==="childList")for(const p of h.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&c(p)}).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 c(f){if(f.ep)return;f.ep=!0;const h=r(f);fetch(f.href,h)}})();const Xy="modulepreload",Qy=function(u){return"/"+u},Eh={},jt=function(s,r,c){let f=Promise.resolve();if(r&&r.length>0){let p=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]"),b=(A==null?void 0:A.nonce)||(A==null?void 0:A.getAttribute("nonce"));f=p(r.map(y=>{if(y=Qy(y),y in Eh)return;Eh[y]=!0;const D=y.endsWith(".css"),M=D?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${M}`))return;const Y=document.createElement("link");if(Y.rel=D?"stylesheet":Xy,D||(Y.as="script"),Y.crossOrigin="",Y.href=y,b&&Y.setAttribute("nonce",b),document.head.appendChild(Y),D)return new Promise(($,W)=>{Y.addEventListener("load",$),Y.addEventListener("error",()=>W(Error(`Unable to preload CSS for ${y}`)))})}))}function h(p){const A=new Event("vite:preloadError",{cancelable:!0});if(A.payload=p,window.dispatchEvent(A),!A.defaultPrevented)throw p}return f.then(p=>{for(const A of p||[])A.status==="rejected"&&h(A.reason);return s().catch(h)})};var Zs={exports:{}},Fn={};/**
* @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 xh;function Zy(){if(xh)return Fn;xh=1;var u=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function r(c,f,h){var p=null;if(h!==void 0&&(p=""+h),f.key!==void 0&&(p=""+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:c,key:p,ref:f!==void 0?f:null,props:h}}return Fn.Fragment=s,Fn.jsx=r,Fn.jsxs=r,Fn}var Ah;function ky(){return Ah||(Ah=1,Zs.exports=Zy()),Zs.exports}var T=ky(),ks={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 _h;function Jy(){if(_h)return rt;_h=1;var u=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),p=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),M=Symbol.for("react.activity"),Y=Symbol.iterator;function $(x){return x===null||typeof x!="object"?null:(x=Y&&x[Y]||x["@@iterator"],typeof x=="function"?x:null)}var W={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Z=Object.assign,q={};function L(x,B,Q){this.props=x,this.context=B,this.refs=q,this.updater=Q||W}L.prototype.isReactComponent={},L.prototype.setState=function(x,B){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,B,"setState")},L.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function m(){}m.prototype=L.prototype;function G(x,B,Q){this.props=x,this.context=B,this.refs=q,this.updater=Q||W}var X=G.prototype=new m;X.constructor=G,Z(X,L.prototype),X.isPureReactComponent=!0;var tt=Array.isArray;function it(){}var nt={H:null,A:null,T:null,S:null},Rt=Object.prototype.hasOwnProperty;function Vt(x,B,Q){var F=Q.ref;return{$$typeof:u,type:x,key:B,ref:F!==void 0?F:null,props:Q}}function de(x,B){return Vt(x.type,B,x.props)}function Bt(x){return typeof x=="object"&&x!==null&&x.$$typeof===u}function Wt(x){var B={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(Q){return B[Q]})}var xe=/\/+/g;function ie(x,B){return typeof x=="object"&&x!==null&&x.key!=null?Wt(""+x.key):B.toString(36)}function Ut(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(it,it):(x.status="pending",x.then(function(B){x.status==="pending"&&(x.status="fulfilled",x.value=B)},function(B){x.status==="pending"&&(x.status="rejected",x.reason=B)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function v(x,B,Q,F,st){var j=typeof x;(j==="undefined"||j==="boolean")&&(x=null);var O=!1;if(x===null)O=!0;else switch(j){case"bigint":case"string":case"number":O=!0;break;case"object":switch(x.$$typeof){case u:case s:O=!0;break;case D:return O=x._init,v(O(x._payload),B,Q,F,st)}}if(O)return st=st(x),O=F===""?"."+ie(x,0):F,tt(st)?(Q="",O!=null&&(Q=O.replace(xe,"$&/")+"/"),v(st,B,Q,"",function(lt){return lt})):st!=null&&(Bt(st)&&(st=de(st,Q+(st.key==null||x&&x.key===st.key?"":(""+st.key).replace(xe,"$&/")+"/")+O)),B.push(st)),1;O=0;var P=F===""?".":F+":";if(tt(x))for(var J=0;J<x.length;J++)F=x[J],j=P+ie(F,J),O+=v(F,B,Q,j,st);else if(J=$(x),typeof J=="function")for(x=J.call(x),J=0;!(F=x.next()).done;)F=F.value,j=P+ie(F,J++),O+=v(F,B,Q,j,st);else if(j==="object"){if(typeof x.then=="function")return v(Ut(x),B,Q,F,st);throw B=String(x),Error("Objects are not valid as a React child (found: "+(B==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":B)+"). If you meant to render a collection of children, use an array instead.")}return O}function V(x,B,Q){if(x==null)return x;var F=[],st=0;return v(x,F,"","",function(j){return B.call(Q,j,st++)}),F}function k(x){if(x._status===-1){var B=x._result;B=B(),B.then(function(Q){(x._status===0||x._status===-1)&&(x._status=1,x._result=Q)},function(Q){(x._status===0||x._status===-1)&&(x._status=2,x._result=Q)}),x._status===-1&&(x._status=0,x._result=B)}if(x._status===1)return x._result.default;throw x._result}var et=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var B=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(B))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)},Tt={map:V,forEach:function(x,B,Q){V(x,function(){B.apply(this,arguments)},Q)},count:function(x){var B=0;return V(x,function(){B++}),B},toArray:function(x){return V(x,function(B){return B})||[]},only:function(x){if(!Bt(x))throw Error("React.Children.only expected to receive a single React element child.");return x}};return rt.Activity=M,rt.Children=Tt,rt.Component=L,rt.Fragment=r,rt.Profiler=f,rt.PureComponent=G,rt.StrictMode=c,rt.Suspense=b,rt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=nt,rt.__COMPILER_RUNTIME={__proto__:null,c:function(x){return nt.H.useMemoCache(x)}},rt.cache=function(x){return function(){return x.apply(null,arguments)}},rt.cacheSignal=function(){return null},rt.cloneElement=function(x,B,Q){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var F=Z({},x.props),st=x.key;if(B!=null)for(j in B.key!==void 0&&(st=""+B.key),B)!Rt.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),P=0;P<j;P++)O[P]=arguments[P+2];F.children=O}return Vt(x.type,st,F)},rt.createContext=function(x){return x={$$typeof:p,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:h,_context:x},x},rt.createElement=function(x,B,Q){var F,st={},j=null;if(B!=null)for(F in B.key!==void 0&&(j=""+B.key),B)Rt.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 P=Array(O),J=0;J<O;J++)P[J]=arguments[J+2];st.children=P}if(x&&x.defaultProps)for(F in O=x.defaultProps,O)st[F]===void 0&&(st[F]=O[F]);return Vt(x,j,st)},rt.createRef=function(){return{current:null}},rt.forwardRef=function(x){return{$$typeof:A,render:x}},rt.isValidElement=Bt,rt.lazy=function(x){return{$$typeof:D,_payload:{_status:-1,_result:x},_init:k}},rt.memo=function(x,B){return{$$typeof:y,type:x,compare:B===void 0?null:B}},rt.startTransition=function(x){var B=nt.T,Q={};nt.T=Q;try{var F=x(),st=nt.S;st!==null&&st(Q,F),typeof F=="object"&&F!==null&&typeof F.then=="function"&&F.then(it,et)}catch(j){et(j)}finally{B!==null&&Q.types!==null&&(B.types=Q.types),nt.T=B}},rt.unstable_useCacheRefresh=function(){return nt.H.useCacheRefresh()},rt.use=function(x){return nt.H.use(x)},rt.useActionState=function(x,B,Q){return nt.H.useActionState(x,B,Q)},rt.useCallback=function(x,B){return nt.H.useCallback(x,B)},rt.useContext=function(x){return nt.H.useContext(x)},rt.useDebugValue=function(){},rt.useDeferredValue=function(x,B){return nt.H.useDeferredValue(x,B)},rt.useEffect=function(x,B){return nt.H.useEffect(x,B)},rt.useEffectEvent=function(x){return nt.H.useEffectEvent(x)},rt.useId=function(){return nt.H.useId()},rt.useImperativeHandle=function(x,B,Q){return nt.H.useImperativeHandle(x,B,Q)},rt.useInsertionEffect=function(x,B){return nt.H.useInsertionEffect(x,B)},rt.useLayoutEffect=function(x,B){return nt.H.useLayoutEffect(x,B)},rt.useMemo=function(x,B){return nt.H.useMemo(x,B)},rt.useOptimistic=function(x,B){return nt.H.useOptimistic(x,B)},rt.useReducer=function(x,B,Q){return nt.H.useReducer(x,B,Q)},rt.useRef=function(x){return nt.H.useRef(x)},rt.useState=function(x){return nt.H.useState(x)},rt.useSyncExternalStore=function(x,B,Q){return nt.H.useSyncExternalStore(x,B,Q)},rt.useTransition=function(){return nt.H.useTransition()},rt.version="19.2.7",rt}var Th;function rr(){return Th||(Th=1,ks.exports=Jy()),ks.exports}var S=rr(),Js={exports:{}},Pn={},Ks={exports:{}},$s={};/**
* @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 Mh;function Ky(){return Mh||(Mh=1,(function(u){function s(v,V){var k=v.length;v.push(V);t:for(;0<k;){var et=k-1>>>1,Tt=v[et];if(0<f(Tt,V))v[et]=V,v[k]=Tt,k=et;else break t}}function r(v){return v.length===0?null:v[0]}function c(v){if(v.length===0)return null;var V=v[0],k=v.pop();if(k!==V){v[0]=k;t:for(var et=0,Tt=v.length,x=Tt>>>1;et<x;){var B=2*(et+1)-1,Q=v[B],F=B+1,st=v[F];if(0>f(Q,k))F<Tt&&0>f(st,Q)?(v[et]=st,v[F]=k,et=F):(v[et]=Q,v[B]=k,et=B);else if(F<Tt&&0>f(st,k))v[et]=st,v[F]=k,et=F;else break t}}return V}function f(v,V){var k=v.sortIndex-V.sortIndex;return k!==0?k:v.id-V.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 p=Date,A=p.now();u.unstable_now=function(){return p.now()-A}}var b=[],y=[],D=1,M=null,Y=3,$=!1,W=!1,Z=!1,q=!1,L=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,G=typeof setImmediate<"u"?setImmediate:null;function X(v){for(var V=r(y);V!==null;){if(V.callback===null)c(y);else if(V.startTime<=v)c(y),V.sortIndex=V.expirationTime,s(b,V);else break;V=r(y)}}function tt(v){if(Z=!1,X(v),!W)if(r(b)!==null)W=!0,it||(it=!0,Wt());else{var V=r(y);V!==null&&Ut(tt,V.startTime-v)}}var it=!1,nt=-1,Rt=5,Vt=-1;function de(){return q?!0:!(u.unstable_now()-Vt<Rt)}function Bt(){if(q=!1,it){var v=u.unstable_now();Vt=v;var V=!0;try{t:{W=!1,Z&&(Z=!1,m(nt),nt=-1),$=!0;var k=Y;try{e:{for(X(v),M=r(b);M!==null&&!(M.expirationTime>v&&de());){var et=M.callback;if(typeof et=="function"){M.callback=null,Y=M.priorityLevel;var Tt=et(M.expirationTime<=v);if(v=u.unstable_now(),typeof Tt=="function"){M.callback=Tt,X(v),V=!0;break e}M===r(b)&&c(b),X(v)}else c(b);M=r(b)}if(M!==null)V=!0;else{var x=r(y);x!==null&&Ut(tt,x.startTime-v),V=!1}}break t}finally{M=null,Y=k,$=!1}V=void 0}}finally{V?Wt():it=!1}}}var Wt;if(typeof G=="function")Wt=function(){G(Bt)};else if(typeof MessageChannel<"u"){var xe=new MessageChannel,ie=xe.port2;xe.port1.onmessage=Bt,Wt=function(){ie.postMessage(null)}}else Wt=function(){L(Bt,0)};function Ut(v,V){nt=L(function(){v(u.unstable_now())},V)}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(v){v.callback=null},u.unstable_forceFrameRate=function(v){0>v||125<v?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Rt=0<v?Math.floor(1e3/v):5},u.unstable_getCurrentPriorityLevel=function(){return Y},u.unstable_next=function(v){switch(Y){case 1:case 2:case 3:var V=3;break;default:V=Y}var k=Y;Y=V;try{return v()}finally{Y=k}},u.unstable_requestPaint=function(){q=!0},u.unstable_runWithPriority=function(v,V){switch(v){case 1:case 2:case 3:case 4:case 5:break;default:v=3}var k=Y;Y=v;try{return V()}finally{Y=k}},u.unstable_scheduleCallback=function(v,V,k){var et=u.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?et+k:et):k=et,v){case 1:var Tt=-1;break;case 2:Tt=250;break;case 5:Tt=1073741823;break;case 4:Tt=1e4;break;default:Tt=5e3}return Tt=k+Tt,v={id:D++,callback:V,priorityLevel:v,startTime:k,expirationTime:Tt,sortIndex:-1},k>et?(v.sortIndex=k,s(y,v),r(b)===null&&v===r(y)&&(Z?(m(nt),nt=-1):Z=!0,Ut(tt,k-et))):(v.sortIndex=Tt,s(b,v),W||$||(W=!0,it||(it=!0,Wt()))),v},u.unstable_shouldYield=de,u.unstable_wrapCallback=function(v){var V=Y;return function(){var k=Y;Y=V;try{return v.apply(this,arguments)}finally{Y=k}}}})($s)),$s}var zh;function $y(){return zh||(zh=1,Ks.exports=Ky()),Ks.exports}var Ws={exports:{}},he={};/**
* @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 Ch;function Wy(){if(Ch)return he;Ch=1;var u=rr();function s(b){var y="https://react.dev/errors/"+b;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 #"+b+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var c={d:{f:r,r:function(){throw Error(s(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(b,y,D){var M=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:M==null?null:""+M,children:b,containerInfo:y,implementation:D}}var p=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function A(b,y){if(b==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return he.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,he.createPortal=function(b,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(s(299));return h(b,y,null,D)},he.flushSync=function(b){var y=p.T,D=c.p;try{if(p.T=null,c.p=2,b)return b()}finally{p.T=y,c.p=D,c.d.f()}},he.preconnect=function(b,y){typeof b=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,c.d.C(b,y))},he.prefetchDNS=function(b){typeof b=="string"&&c.d.D(b)},he.preinit=function(b,y){if(typeof b=="string"&&y&&typeof y.as=="string"){var D=y.as,M=A(D,y.crossOrigin),Y=typeof y.integrity=="string"?y.integrity:void 0,$=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;D==="style"?c.d.S(b,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:M,integrity:Y,fetchPriority:$}):D==="script"&&c.d.X(b,{crossOrigin:M,integrity:Y,fetchPriority:$,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},he.preinitModule=function(b,y){if(typeof b=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var D=A(y.as,y.crossOrigin);c.d.M(b,{crossOrigin:D,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&c.d.M(b)},he.preload=function(b,y){if(typeof b=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var D=y.as,M=A(D,y.crossOrigin);c.d.L(b,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})}},he.preloadModule=function(b,y){if(typeof b=="string")if(y){var D=A(y.as,y.crossOrigin);c.d.m(b,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:D,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else c.d.m(b)},he.requestFormReset=function(b){c.d.r(b)},he.unstable_batchedUpdates=function(b,y){return b(y)},he.useFormState=function(b,y,D){return p.H.useFormState(b,y,D)},he.useFormStatus=function(){return p.H.useHostTransitionStatus()},he.version="19.2.7",he}var Rh;function Fy(){if(Rh)return Ws.exports;Rh=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(s){console.error(s)}}return u(),Ws.exports=Wy(),Ws.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 Dh;function Py(){if(Dh)return Pn;Dh=1;var u=$y(),s=rr(),r=Fy();function c(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 p(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 b(t){if(h(t)!==t)throw Error(c(188))}function y(t){var e=t.alternate;if(!e){if(e=h(t),e===null)throw Error(c(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 b(n),t;if(i===l)return b(n),e;i=i.sibling}throw Error(c(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(c(189))}}if(a.alternate!==l)throw Error(c(190))}if(a.tag!==3)throw Error(c(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,Y=Symbol.for("react.element"),$=Symbol.for("react.transitional.element"),W=Symbol.for("react.portal"),Z=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),G=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),tt=Symbol.for("react.suspense"),it=Symbol.for("react.suspense_list"),nt=Symbol.for("react.memo"),Rt=Symbol.for("react.lazy"),Vt=Symbol.for("react.activity"),de=Symbol.for("react.memo_cache_sentinel"),Bt=Symbol.iterator;function Wt(t){return t===null||typeof t!="object"?null:(t=Bt&&t[Bt]||t["@@iterator"],typeof t=="function"?t:null)}var xe=Symbol.for("react.client.reference");function ie(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===xe?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Z:return"Fragment";case L:return"Profiler";case q:return"StrictMode";case tt:return"Suspense";case it:return"SuspenseList";case Vt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case W:return"Portal";case G:return t.displayName||"Context";case m:return(t._context.displayName||"Context")+".Consumer";case X:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case nt:return e=t.displayName||null,e!==null?e:ie(t.type)||"Memo";case Rt:e=t._payload,t=t._init;try{return ie(t(e))}catch{}}return null}var Ut=Array.isArray,v=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k={pending:!1,data:null,method:null,action:null},et=[],Tt=-1;function x(t){return{current:t}}function B(t){0>Tt||(t.current=et[Tt],et[Tt]=null,Tt--)}function Q(t,e){Tt++,et[Tt]=t.current,t.current=e}var F=x(null),st=x(null),j=x(null),O=x(null);function P(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)?Qd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Qd(e),t=Zd(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 lt(t){t.memoizedState!==null&&Q(O,t);var e=F.current,a=Zd(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),Jn._currentValue=k)}var _t,pt;function dt(t){if(_t===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);_t=e&&e[1]||"",pt=-1<a.stack.indexOf(`
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+_t+t+pt}var Gt=!1;function xt(t,e){if(!t||Gt)return"";Gt=!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 g=o.split(`
`),C=d.split(`
`);for(n=l=0;l<g.length&&!g[l].includes("DetermineComponentFrameRoot");)l++;for(;n<C.length&&!C[n].includes("DetermineComponentFrameRoot");)n++;if(l===g.length||n===C.length)for(l=g.length-1,n=C.length-1;1<=l&&0<=n&&g[l]!==C[n];)n--;for(;1<=l&&0<=n;l--,n--)if(g[l]!==C[n]){if(l!==1||n!==1)do if(l--,n--,0>n||g[l]!==C[n]){var N=`
`+g[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{Gt=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?dt(a):""}function Xt(t,e){switch(t.tag){case 26:case 27:case 5:return dt(t.type);case 16:return dt("Lazy");case 13:return t.child!==e&&e!==null?dt("Suspense Fallback"):dt("Suspense");case 19:return dt("SuspenseList");case 0:case 15:return xt(t.type,!1);case 11:return xt(t.type.render,!1);case 1:return xt(t.type,!0);case 31:return dt("Activity");default:return""}}function Ae(t){try{var e="",a=null;do e+=Xt(t,a),a=t,t=t.return;while(t);return e}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}var Qt=Object.prototype.hasOwnProperty,_e=u.unstable_scheduleCallback,ue=u.unstable_cancelCallback,ae=u.unstable_shouldYield,Te=u.unstable_requestPaint,Zt=u.unstable_now,na=u.unstable_getCurrentPriorityLevel,Sr=u.unstable_ImmediatePriority,Er=u.unstable_UserBlockingPriority,ii=u.unstable_NormalPriority,_m=u.unstable_LowPriority,xr=u.unstable_IdlePriority,Tm=u.log,Mm=u.unstable_setDisableYieldValue,nn=null,Me=null;function Ma(t){if(typeof Tm=="function"&&Mm(t),Me&&typeof Me.setStrictMode=="function")try{Me.setStrictMode(nn,t)}catch{}}var ze=Math.clz32?Math.clz32:Rm,zm=Math.log,Cm=Math.LN2;function Rm(t){return t>>>=0,t===0?32:31-(zm(t)/Cm|0)|0}var ui=256,ci=262144,si=4194304;function Pa(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 ri(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=Pa(l):(o&=d,o!==0?n=Pa(o):a||(a=d&~t,a!==0&&(n=Pa(a))))):(d=l&~i,d!==0?n=Pa(d):o!==0?n=Pa(o):a||(a=l&~t,a!==0&&(n=Pa(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 un(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Dm(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 Ar(){var t=si;return si<<=1,(si&62914560)===0&&(si=4194304),t}function Nu(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function cn(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function wm(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,g=t.expirationTimes,C=t.hiddenUpdates;for(a=o&~a;0<a;){var N=31-ze(a),H=1<<N;d[N]=0,g[N]=-1;var R=C[N];if(R!==null)for(C[N]=null,N=0;N<R.length;N++){var w=R[N];w!==null&&(w.lane&=-536870913)}a&=~H}l!==0&&_r(t,l,0),i!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=i&~(o&~e))}function _r(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 Tr(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 Mr(t,e){var a=e&-e;return a=(a&42)!==0?1:ju(a),(a&(t.suspendedLanes|e))!==0?0:a}function ju(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 Uu(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function zr(){var t=V.p;return t!==0?t:(t=window.event,t===void 0?32:mh(t.type))}function Cr(t,e){var a=V.p;try{return V.p=t,e()}finally{V.p=a}}var za=Math.random().toString(36).slice(2),ce="__reactFiber$"+za,ye="__reactProps$"+za,gl="__reactContainer$"+za,Lu="__reactEvents$"+za,Om="__reactListeners$"+za,Nm="__reactHandles$"+za,Rr="__reactResources$"+za,sn="__reactMarker$"+za;function Hu(t){delete t[ce],delete t[ye],delete t[Lu],delete t[Om],delete t[Nm]}function vl(t){var e=t[ce];if(e)return e;for(var a=t.parentNode;a;){if(e=a[gl]||a[ce]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=Pd(t);t!==null;){if(a=t[ce])return a;t=Pd(t)}return e}t=a,a=t.parentNode}return null}function pl(t){if(t=t[ce]||t[gl]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function rn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function bl(t){var e=t[Rr];return e||(e=t[Rr]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function le(t){t[sn]=!0}var Dr=new Set,wr={};function Ia(t,e){Sl(t,e),Sl(t+"Capture",e)}function Sl(t,e){for(wr[t]=e,t=0;t<e.length;t++)Dr.add(e[t])}var jm=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]*$"),Or={},Nr={};function Um(t){return Qt.call(Nr,t)?!0:Qt.call(Or,t)?!1:jm.test(t)?Nr[t]=!0:(Or[t]=!0,!1)}function oi(t,e,a){if(Um(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 fi(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 ia(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 Le(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function jr(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Lm(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 Bu(t){if(!t._valueTracker){var e=jr(t)?"checked":"value";t._valueTracker=Lm(t,e,""+t[e])}}function Ur(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),l="";return t&&(l=jr(t)?t.checked?"true":"false":t.value),t=l,t!==a?(e.setValue(t),!0):!1}function di(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 Hm=/[\n"\\]/g;function He(t){return t.replace(Hm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function qu(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=""+Le(e)):t.value!==""+Le(e)&&(t.value=""+Le(e)):o!=="submit"&&o!=="reset"||t.removeAttribute("value"),e!=null?Yu(t,o,Le(e)):a!=null?Yu(t,o,Le(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=""+Le(d):t.removeAttribute("name")}function Lr(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)){Bu(t);return}a=a!=null?""+Le(a):"",e=e!=null?""+Le(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),Bu(t)}function Yu(t,e,a){e==="number"&&di(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function El(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=""+Le(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 Hr(t,e,a){if(e!=null&&(e=""+Le(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+Le(a):""}function Br(t,e,a,l){if(e==null){if(l!=null){if(a!=null)throw Error(c(92));if(Ut(l)){if(1<l.length)throw Error(c(93));l=l[0]}a=l}a==null&&(a=""),e=a}a=Le(e),t.defaultValue=a,l=t.textContent,l===a&&l!==""&&l!==null&&(t.value=l),Bu(t)}function xl(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}var Bm=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 qr(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||Bm.has(e)?e==="float"?t.cssFloat=a:t[e]=(""+a).trim():t[e]=a+"px"}function Yr(t,e,a){if(e!=null&&typeof e!="object")throw Error(c(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&&qr(t,n,l)}else for(var i in e)e.hasOwnProperty(i)&&qr(t,i,e[i])}function Vu(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 qm=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"]]),Ym=/^[\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 hi(t){return Ym.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function ua(){}var Gu=null;function Xu(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Al=null,_l=null;function Vr(t){var e=pl(t);if(e&&(t=e.stateNode)){var a=t[ye]||null;t:switch(t=e.stateNode,e.type){case"input":if(qu(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="'+He(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var l=a[e];if(l!==t&&l.form===t.form){var n=l[ye]||null;if(!n)throw Error(c(90));qu(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&&Ur(l)}break t;case"textarea":Hr(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&El(t,!!a.multiple,e,!1)}}}var Qu=!1;function Gr(t,e,a){if(Qu)return t(e,a);Qu=!0;try{var l=t(e);return l}finally{if(Qu=!1,(Al!==null||_l!==null)&&(tu(),Al&&(e=Al,t=_l,_l=Al=null,Vr(e),t)))for(e=0;e<t.length;e++)Vr(t[e])}}function on(t,e){var a=t.stateNode;if(a===null)return null;var l=a[ye]||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(c(231,e,typeof a));return a}var ca=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zu=!1;if(ca)try{var fn={};Object.defineProperty(fn,"passive",{get:function(){Zu=!0}}),window.addEventListener("test",fn,fn),window.removeEventListener("test",fn,fn)}catch{Zu=!1}var Ca=null,ku=null,mi=null;function Xr(){if(mi)return mi;var t,e=ku,a=e.length,l,n="value"in Ca?Ca.value:Ca.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 mi=n.slice(t,1<l?1-l:void 0)}function yi(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 gi(){return!0}function Qr(){return!1}function ge(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)?gi:Qr,this.isPropagationStopped=Qr,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=gi)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=gi)},persist:function(){},isPersistent:gi}),e}var tl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vi=ge(tl),dn=M({},tl,{view:0,detail:0}),Vm=ge(dn),Ju,Ku,hn,pi=M({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wu,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!==hn&&(hn&&t.type==="mousemove"?(Ju=t.screenX-hn.screenX,Ku=t.screenY-hn.screenY):Ku=Ju=0,hn=t),Ju)},movementY:function(t){return"movementY"in t?t.movementY:Ku}}),Zr=ge(pi),Gm=M({},pi,{dataTransfer:0}),Xm=ge(Gm),Qm=M({},dn,{relatedTarget:0}),$u=ge(Qm),Zm=M({},tl,{animationName:0,elapsedTime:0,pseudoElement:0}),km=ge(Zm),Jm=M({},tl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Km=ge(Jm),$m=M({},tl,{data:0}),kr=ge($m),Wm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fm={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"},Pm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Im(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Pm[t])?!!e[t]:!1}function Wu(){return Im}var t0=M({},dn,{key:function(t){if(t.key){var e=Wm[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=yi(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Fm[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wu,charCode:function(t){return t.type==="keypress"?yi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?yi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),e0=ge(t0),a0=M({},pi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jr=ge(a0),l0=M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wu}),n0=ge(l0),i0=M({},tl,{propertyName:0,elapsedTime:0,pseudoElement:0}),u0=ge(i0),c0=M({},pi,{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}),s0=ge(c0),r0=M({},tl,{newState:0,oldState:0}),o0=ge(r0),f0=[9,13,27,32],Fu=ca&&"CompositionEvent"in window,mn=null;ca&&"documentMode"in document&&(mn=document.documentMode);var d0=ca&&"TextEvent"in window&&!mn,Kr=ca&&(!Fu||mn&&8<mn&&11>=mn),$r=" ",Wr=!1;function Fr(t,e){switch(t){case"keyup":return f0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pr(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Tl=!1;function h0(t,e){switch(t){case"compositionend":return Pr(e);case"keypress":return e.which!==32?null:(Wr=!0,$r);case"textInput":return t=e.data,t===$r&&Wr?null:t;default:return null}}function m0(t,e){if(Tl)return t==="compositionend"||!Fu&&Fr(t,e)?(t=Xr(),mi=ku=Ca=null,Tl=!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 Kr&&e.locale!=="ko"?null:e.data;default:return null}}var y0={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 Ir(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!y0[t.type]:e==="textarea"}function to(t,e,a,l){Al?_l?_l.push(l):_l=[l]:Al=l,e=cu(e,"onChange"),0<e.length&&(a=new vi("onChange","change",null,a,l),t.push({event:a,listeners:e}))}var yn=null,gn=null;function g0(t){Bd(t,0)}function bi(t){var e=rn(t);if(Ur(e))return t}function eo(t,e){if(t==="change")return e}var ao=!1;if(ca){var Pu;if(ca){var Iu="oninput"in document;if(!Iu){var lo=document.createElement("div");lo.setAttribute("oninput","return;"),Iu=typeof lo.oninput=="function"}Pu=Iu}else Pu=!1;ao=Pu&&(!document.documentMode||9<document.documentMode)}function no(){yn&&(yn.detachEvent("onpropertychange",io),gn=yn=null)}function io(t){if(t.propertyName==="value"&&bi(gn)){var e=[];to(e,gn,t,Xu(t)),Gr(g0,e)}}function v0(t,e,a){t==="focusin"?(no(),yn=e,gn=a,yn.attachEvent("onpropertychange",io)):t==="focusout"&&no()}function p0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return bi(gn)}function b0(t,e){if(t==="click")return bi(e)}function S0(t,e){if(t==="input"||t==="change")return bi(e)}function E0(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Ce=typeof Object.is=="function"?Object.is:E0;function vn(t,e){if(Ce(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(!Qt.call(e,n)||!Ce(t[n],e[n]))return!1}return!0}function uo(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function co(t,e){var a=uo(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=uo(a)}}function so(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?so(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function ro(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=di(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=di(t.document)}return e}function tc(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 x0=ca&&"documentMode"in document&&11>=document.documentMode,Ml=null,ec=null,pn=null,ac=!1;function oo(t,e,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;ac||Ml==null||Ml!==di(l)||(l=Ml,"selectionStart"in l&&tc(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}),pn&&vn(pn,l)||(pn=l,l=cu(ec,"onSelect"),0<l.length&&(e=new vi("onSelect","select",null,e,a),t.push({event:e,listeners:l}),e.target=Ml)))}function el(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}var zl={animationend:el("Animation","AnimationEnd"),animationiteration:el("Animation","AnimationIteration"),animationstart:el("Animation","AnimationStart"),transitionrun:el("Transition","TransitionRun"),transitionstart:el("Transition","TransitionStart"),transitioncancel:el("Transition","TransitionCancel"),transitionend:el("Transition","TransitionEnd")},lc={},fo={};ca&&(fo=document.createElement("div").style,"AnimationEvent"in window||(delete zl.animationend.animation,delete zl.animationiteration.animation,delete zl.animationstart.animation),"TransitionEvent"in window||delete zl.transitionend.transition);function al(t){if(lc[t])return lc[t];if(!zl[t])return t;var e=zl[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in fo)return lc[t]=e[a];return t}var ho=al("animationend"),mo=al("animationiteration"),yo=al("animationstart"),A0=al("transitionrun"),_0=al("transitionstart"),T0=al("transitioncancel"),go=al("transitionend"),vo=new Map,nc="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(" ");nc.push("scrollEnd");function Ke(t,e){vo.set(t,e),Ia(e,[t])}var Si=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)},Be=[],Cl=0,ic=0;function Ei(){for(var t=Cl,e=ic=Cl=0;e<t;){var a=Be[e];Be[e++]=null;var l=Be[e];Be[e++]=null;var n=Be[e];Be[e++]=null;var i=Be[e];if(Be[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&&po(a,n,i)}}function xi(t,e,a,l){Be[Cl++]=t,Be[Cl++]=e,Be[Cl++]=a,Be[Cl++]=l,ic|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function uc(t,e,a,l){return xi(t,e,a,l),Ai(t)}function ll(t,e){return xi(t,null,null,e),Ai(t)}function po(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 Ai(t){if(50<Yn)throw Yn=0,ys=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Rl={};function M0(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 Re(t,e,a,l){return new M0(t,e,a,l)}function cc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function sa(t,e){var a=t.alternate;return a===null?(a=Re(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 bo(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 _i(t,e,a,l,n,i){var o=0;if(l=t,typeof t=="function")cc(t)&&(o=1);else if(typeof t=="string")o=wy(t,a,F.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Vt:return t=Re(31,a,e,n),t.elementType=Vt,t.lanes=i,t;case Z:return nl(a.children,n,i,e);case q:o=8,n|=24;break;case L:return t=Re(12,a,e,n|2),t.elementType=L,t.lanes=i,t;case tt:return t=Re(13,a,e,n),t.elementType=tt,t.lanes=i,t;case it:return t=Re(19,a,e,n),t.elementType=it,t.lanes=i,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case G:o=10;break t;case m:o=9;break t;case X:o=11;break t;case nt:o=14;break t;case Rt:o=16,l=null;break t}o=29,a=Error(c(130,t===null?"null":typeof t,"")),l=null}return e=Re(o,a,e,n),e.elementType=t,e.type=l,e.lanes=i,e}function nl(t,e,a,l){return t=Re(7,t,l,e),t.lanes=a,t}function sc(t,e,a){return t=Re(6,t,null,e),t.lanes=a,t}function So(t){var e=Re(18,null,null,0);return e.stateNode=t,e}function rc(t,e,a){return e=Re(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Eo=new WeakMap;function qe(t,e){if(typeof t=="object"&&t!==null){var a=Eo.get(t);return a!==void 0?a:(e={value:t,source:e,stack:Ae(e)},Eo.set(t,e),e)}return{value:t,source:e,stack:Ae(e)}}var Dl=[],wl=0,Ti=null,bn=0,Ye=[],Ve=0,Ra=null,Ie=1,ta="";function ra(t,e){Dl[wl++]=bn,Dl[wl++]=Ti,Ti=t,bn=e}function xo(t,e,a){Ye[Ve++]=Ie,Ye[Ve++]=ta,Ye[Ve++]=Ra,Ra=t;var l=Ie;t=ta;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,Ie=1<<32-ze(e)+n|a<<n|l,ta=i+t}else Ie=1<<i|a<<n|l,ta=t}function oc(t){t.return!==null&&(ra(t,1),xo(t,1,0))}function fc(t){for(;t===Ti;)Ti=Dl[--wl],Dl[wl]=null,bn=Dl[--wl],Dl[wl]=null;for(;t===Ra;)Ra=Ye[--Ve],Ye[Ve]=null,ta=Ye[--Ve],Ye[Ve]=null,Ie=Ye[--Ve],Ye[Ve]=null}function Ao(t,e){Ye[Ve++]=Ie,Ye[Ve++]=ta,Ye[Ve++]=Ra,Ie=e.id,ta=e.overflow,Ra=t}var se=null,Lt=null,vt=!1,Da=null,Ge=!1,dc=Error(c(519));function wa(t){var e=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Sn(qe(e,t)),dc}function _o(t){var e=t.stateNode,a=t.type,l=t.memoizedProps;switch(e[ce]=t,e[ye]=l,a){case"dialog":mt("cancel",e),mt("close",e);break;case"iframe":case"object":case"embed":mt("load",e);break;case"video":case"audio":for(a=0;a<Gn.length;a++)mt(Gn[a],e);break;case"source":mt("error",e);break;case"img":case"image":case"link":mt("error",e),mt("load",e);break;case"details":mt("toggle",e);break;case"input":mt("invalid",e),Lr(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":mt("invalid",e);break;case"textarea":mt("invalid",e),Br(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||Gd(e.textContent,a)?(l.popover!=null&&(mt("beforetoggle",e),mt("toggle",e)),l.onScroll!=null&&mt("scroll",e),l.onScrollEnd!=null&&mt("scrollend",e),l.onClick!=null&&(e.onclick=ua),e=!0):e=!1,e||wa(t,!0)}function To(t){for(se=t.return;se;)switch(se.tag){case 5:case 31:case 13:Ge=!1;return;case 27:case 3:Ge=!0;return;default:se=se.return}}function Ol(t){if(t!==se)return!1;if(!vt)return To(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")||Ds(t.type,t.memoizedProps)),a=!a),a&&Lt&&wa(t),To(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));Lt=Fd(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));Lt=Fd(t)}else e===27?(e=Lt,Za(t.type)?(t=Us,Us=null,Lt=t):Lt=e):Lt=se?Qe(t.stateNode.nextSibling):null;return!0}function il(){Lt=se=null,vt=!1}function hc(){var t=Da;return t!==null&&(Se===null?Se=t:Se.push.apply(Se,t),Da=null),t}function Sn(t){Da===null?Da=[t]:Da.push(t)}var mc=x(null),ul=null,oa=null;function Oa(t,e,a){Q(mc,e._currentValue),e._currentValue=a}function fa(t){t._currentValue=mc.current,B(mc)}function yc(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 gc(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 g=0;g<e.length;g++)if(d.context===e[g]){i.lanes|=a,d=i.alternate,d!==null&&(d.lanes|=a),yc(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(c(341));o.lanes|=a,i=o.alternate,i!==null&&(i.lanes|=a),yc(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 Nl(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(c(387));if(o=o.memoizedProps,o!==null){var d=n.type;Ce(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(c(387));o.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(Jn):t=[Jn])}n=n.return}t!==null&&gc(e,t,a,l),e.flags|=262144}function Mi(t){for(t=t.firstContext;t!==null;){if(!Ce(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function cl(t){ul=t,oa=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function re(t){return Mo(ul,t)}function zi(t,e){return ul===null&&cl(t),Mo(t,e)}function Mo(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},oa===null){if(t===null)throw Error(c(308));oa=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else oa=oa.next=e;return a}var z0=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()})}},C0=u.unstable_scheduleCallback,R0=u.unstable_NormalPriority,Ft={$$typeof:G,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vc(){return{controller:new z0,data:new Map,refCount:0}}function En(t){t.refCount--,t.refCount===0&&C0(R0,function(){t.controller.abort()})}var xn=null,pc=0,jl=0,Ul=null;function D0(t,e){if(xn===null){var a=xn=[];pc=0,jl=Es(),Ul={status:"pending",value:void 0,then:function(l){a.push(l)}}}return pc++,e.then(zo,zo),e}function zo(){if(--pc===0&&xn!==null){Ul!==null&&(Ul.status="fulfilled");var t=xn;xn=null,jl=0,Ul=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function w0(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 Co=v.S;v.S=function(t,e){dd=Zt(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&D0(t,e),Co!==null&&Co(t,e)};var sl=x(null);function bc(){var t=sl.current;return t!==null?t:Nt.pooledCache}function Ci(t,e){e===null?Q(sl,sl.current):Q(sl,e.pool)}function Ro(){var t=bc();return t===null?null:{parent:Ft._currentValue,pool:t}}var Ll=Error(c(460)),Sc=Error(c(474)),Ri=Error(c(542)),Di={then:function(){}};function Do(t){return t=t.status,t==="fulfilled"||t==="rejected"}function wo(t,e,a){switch(a=t[a],a===void 0?t.push(e):a!==e&&(e.then(ua,ua),e=a),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,No(t),t;default:if(typeof e.status=="string")e.then(ua,ua);else{if(t=Nt,t!==null&&100<t.shellSuspendCounter)throw Error(c(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,No(t),t}throw ol=e,Ll}}function rl(t){try{var e=t._init;return e(t._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(ol=a,Ll):a}}var ol=null;function Oo(){if(ol===null)throw Error(c(459));var t=ol;return ol=null,t}function No(t){if(t===Ll||t===Ri)throw Error(c(483))}var Hl=null,An=0;function wi(t){var e=An;return An+=1,Hl===null&&(Hl=[]),wo(Hl,t,e)}function _n(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Oi(t,e){throw e.$$typeof===Y?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function jo(t){function e(_,E){if(t){var z=_.deletions;z===null?(_.deletions=[E],_.flags|=16):z.push(E)}}function a(_,E){if(!t)return null;for(;E!==null;)e(_,E),E=E.sibling;return null}function l(_){for(var E=new Map;_!==null;)_.key!==null?E.set(_.key,_):E.set(_.index,_),_=_.sibling;return E}function n(_,E){return _=sa(_,E),_.index=0,_.sibling=null,_}function i(_,E,z){return _.index=z,t?(z=_.alternate,z!==null?(z=z.index,z<E?(_.flags|=67108866,E):z):(_.flags|=67108866,E)):(_.flags|=1048576,E)}function o(_){return t&&_.alternate===null&&(_.flags|=67108866),_}function d(_,E,z,U){return E===null||E.tag!==6?(E=sc(z,_.mode,U),E.return=_,E):(E=n(E,z),E.return=_,E)}function g(_,E,z,U){var at=z.type;return at===Z?N(_,E,z.props.children,U,z.key):E!==null&&(E.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===Rt&&rl(at)===E.type)?(E=n(E,z.props),_n(E,z),E.return=_,E):(E=_i(z.type,z.key,z.props,null,_.mode,U),_n(E,z),E.return=_,E)}function C(_,E,z,U){return E===null||E.tag!==4||E.stateNode.containerInfo!==z.containerInfo||E.stateNode.implementation!==z.implementation?(E=rc(z,_.mode,U),E.return=_,E):(E=n(E,z.children||[]),E.return=_,E)}function N(_,E,z,U,at){return E===null||E.tag!==7?(E=nl(z,_.mode,U,at),E.return=_,E):(E=n(E,z),E.return=_,E)}function H(_,E,z){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return E=sc(""+E,_.mode,z),E.return=_,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case $:return z=_i(E.type,E.key,E.props,null,_.mode,z),_n(z,E),z.return=_,z;case W:return E=rc(E,_.mode,z),E.return=_,E;case Rt:return E=rl(E),H(_,E,z)}if(Ut(E)||Wt(E))return E=nl(E,_.mode,z,null),E.return=_,E;if(typeof E.then=="function")return H(_,wi(E),z);if(E.$$typeof===G)return H(_,zi(_,E),z);Oi(_,E)}return null}function R(_,E,z,U){var at=E!==null?E.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return at!==null?null:d(_,E,""+z,U);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case $:return z.key===at?g(_,E,z,U):null;case W:return z.key===at?C(_,E,z,U):null;case Rt:return z=rl(z),R(_,E,z,U)}if(Ut(z)||Wt(z))return at!==null?null:N(_,E,z,U,null);if(typeof z.then=="function")return R(_,E,wi(z),U);if(z.$$typeof===G)return R(_,E,zi(_,z),U);Oi(_,z)}return null}function w(_,E,z,U,at){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return _=_.get(z)||null,d(E,_,""+U,at);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case $:return _=_.get(U.key===null?z:U.key)||null,g(E,_,U,at);case W:return _=_.get(U.key===null?z:U.key)||null,C(E,_,U,at);case Rt:return U=rl(U),w(_,E,z,U,at)}if(Ut(U)||Wt(U))return _=_.get(z)||null,N(E,_,U,at,null);if(typeof U.then=="function")return w(_,E,z,wi(U),at);if(U.$$typeof===G)return w(_,E,z,zi(E,U),at);Oi(E,U)}return null}function K(_,E,z,U){for(var at=null,bt=null,I=E,ft=E=0,gt=null;I!==null&&ft<z.length;ft++){I.index>ft?(gt=I,I=null):gt=I.sibling;var St=R(_,I,z[ft],U);if(St===null){I===null&&(I=gt);break}t&&I&&St.alternate===null&&e(_,I),E=i(St,E,ft),bt===null?at=St:bt.sibling=St,bt=St,I=gt}if(ft===z.length)return a(_,I),vt&&ra(_,ft),at;if(I===null){for(;ft<z.length;ft++)I=H(_,z[ft],U),I!==null&&(E=i(I,E,ft),bt===null?at=I:bt.sibling=I,bt=I);return vt&&ra(_,ft),at}for(I=l(I);ft<z.length;ft++)gt=w(I,_,ft,z[ft],U),gt!==null&&(t&>.alternate!==null&&I.delete(gt.key===null?ft:gt.key),E=i(gt,E,ft),bt===null?at=gt:bt.sibling=gt,bt=gt);return t&&I.forEach(function(Wa){return e(_,Wa)}),vt&&ra(_,ft),at}function ct(_,E,z,U){if(z==null)throw Error(c(151));for(var at=null,bt=null,I=E,ft=E=0,gt=null,St=z.next();I!==null&&!St.done;ft++,St=z.next()){I.index>ft?(gt=I,I=null):gt=I.sibling;var Wa=R(_,I,St.value,U);if(Wa===null){I===null&&(I=gt);break}t&&I&&Wa.alternate===null&&e(_,I),E=i(Wa,E,ft),bt===null?at=Wa:bt.sibling=Wa,bt=Wa,I=gt}if(St.done)return a(_,I),vt&&ra(_,ft),at;if(I===null){for(;!St.done;ft++,St=z.next())St=H(_,St.value,U),St!==null&&(E=i(St,E,ft),bt===null?at=St:bt.sibling=St,bt=St);return vt&&ra(_,ft),at}for(I=l(I);!St.done;ft++,St=z.next())St=w(I,_,ft,St.value,U),St!==null&&(t&&St.alternate!==null&&I.delete(St.key===null?ft:St.key),E=i(St,E,ft),bt===null?at=St:bt.sibling=St,bt=St);return t&&I.forEach(function(Gy){return e(_,Gy)}),vt&&ra(_,ft),at}function Ot(_,E,z,U){if(typeof z=="object"&&z!==null&&z.type===Z&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case $:t:{for(var at=z.key;E!==null;){if(E.key===at){if(at=z.type,at===Z){if(E.tag===7){a(_,E.sibling),U=n(E,z.props.children),U.return=_,_=U;break t}}else if(E.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===Rt&&rl(at)===E.type){a(_,E.sibling),U=n(E,z.props),_n(U,z),U.return=_,_=U;break t}a(_,E);break}else e(_,E);E=E.sibling}z.type===Z?(U=nl(z.props.children,_.mode,U,z.key),U.return=_,_=U):(U=_i(z.type,z.key,z.props,null,_.mode,U),_n(U,z),U.return=_,_=U)}return o(_);case W:t:{for(at=z.key;E!==null;){if(E.key===at)if(E.tag===4&&E.stateNode.containerInfo===z.containerInfo&&E.stateNode.implementation===z.implementation){a(_,E.sibling),U=n(E,z.children||[]),U.return=_,_=U;break t}else{a(_,E);break}else e(_,E);E=E.sibling}U=rc(z,_.mode,U),U.return=_,_=U}return o(_);case Rt:return z=rl(z),Ot(_,E,z,U)}if(Ut(z))return K(_,E,z,U);if(Wt(z)){if(at=Wt(z),typeof at!="function")throw Error(c(150));return z=at.call(z),ct(_,E,z,U)}if(typeof z.then=="function")return Ot(_,E,wi(z),U);if(z.$$typeof===G)return Ot(_,E,zi(_,z),U);Oi(_,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(z=""+z,E!==null&&E.tag===6?(a(_,E.sibling),U=n(E,z),U.return=_,_=U):(a(_,E),U=sc(z,_.mode,U),U.return=_,_=U),o(_)):a(_,E)}return function(_,E,z,U){try{An=0;var at=Ot(_,E,z,U);return Hl=null,at}catch(I){if(I===Ll||I===Ri)throw I;var bt=Re(29,I,null,_.mode);return bt.lanes=U,bt.return=_,bt}finally{}}}var fl=jo(!0),Uo=jo(!1),Na=!1;function Ec(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function xc(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 ja(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ua(t,e,a){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(At&2)!==0){var n=l.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),l.pending=e,e=Ai(t),po(t,null,a),e}return xi(t,l,e,a),Ai(t)}function Tn(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,Tr(t,a)}}function Ac(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 _c=!1;function Mn(){if(_c){var t=Ul;if(t!==null)throw t}}function zn(t,e,a,l){_c=!1;var n=t.updateQueue;Na=!1;var i=n.firstBaseUpdate,o=n.lastBaseUpdate,d=n.shared.pending;if(d!==null){n.shared.pending=null;var g=d,C=g.next;g.next=null,o===null?i=C:o.next=C,o=g;var N=t.alternate;N!==null&&(N=N.updateQueue,d=N.lastBaseUpdate,d!==o&&(d===null?N.firstBaseUpdate=C:d.next=C,N.lastBaseUpdate=g))}if(i!==null){var H=n.baseState;o=0,N=C=g=null,d=i;do{var R=d.lane&-536870913,w=R!==d.lane;if(w?(yt&R)===R:(l&R)===R){R!==0&&R===jl&&(_c=!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 Ot=a;switch(ct.tag){case 1:if(K=ct.payload,typeof K=="function"){H=K.call(Ot,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(Ot,H,R):K,R==null)break t;H=M({},H,R);break t;case 2:Na=!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?(C=N=w,g=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&&(g=H),n.baseState=g,n.firstBaseUpdate=C,n.lastBaseUpdate=N,i===null&&(n.shared.lanes=0),Ya|=o,t.lanes=o,t.memoizedState=H}}function Lo(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function Ho(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)Lo(a[t],e)}var Bl=x(null),Ni=x(0);function Bo(t,e){t=Sa,Q(Ni,t),Q(Bl,e),Sa=t|e.baseLanes}function Tc(){Q(Ni,Sa),Q(Bl,Bl.current)}function Mc(){Sa=Ni.current,B(Bl),B(Ni)}var De=x(null),Xe=null;function La(t){var e=t.alternate;Q(Kt,Kt.current&1),Q(De,t),Xe===null&&(e===null||Bl.current!==null||e.memoizedState!==null)&&(Xe=t)}function zc(t){Q(Kt,Kt.current),Q(De,t),Xe===null&&(Xe=t)}function qo(t){t.tag===22?(Q(Kt,Kt.current),Q(De,t),Xe===null&&(Xe=t)):Ha()}function Ha(){Q(Kt,Kt.current),Q(De,De.current)}function we(t){B(De),Xe===t&&(Xe=null),B(Kt)}var Kt=x(0);function ji(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Ns(a)||js(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 da=0,ot=null,Dt=null,Pt=null,Ui=!1,ql=!1,dl=!1,Li=0,Cn=0,Yl=null,O0=0;function kt(){throw Error(c(321))}function Cc(t,e){if(e===null)return!1;for(var a=0;a<e.length&&a<t.length;a++)if(!Ce(t[a],e[a]))return!1;return!0}function Rc(t,e,a,l,n,i){return da=i,ot=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,v.H=t===null||t.memoizedState===null?Af:Qc,dl=!1,i=a(l,n),dl=!1,ql&&(i=Vo(e,a,l,n)),Yo(t),i}function Yo(t){v.H=wn;var e=Dt!==null&&Dt.next!==null;if(da=0,Pt=Dt=ot=null,Ui=!1,Cn=0,Yl=null,e)throw Error(c(300));t===null||It||(t=t.dependencies,t!==null&&Mi(t)&&(It=!0))}function Vo(t,e,a,l){ot=t;var n=0;do{if(ql&&(Yl=null),Cn=0,ql=!1,25<=n)throw Error(c(301));if(n+=1,Pt=Dt=null,t.updateQueue!=null){var i=t.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}v.H=_f,i=e(a,l)}while(ql);return i}function N0(){var t=v.H,e=t.useState()[0];return e=typeof e.then=="function"?Rn(e):e,t=t.useState()[0],(Dt!==null?Dt.memoizedState:null)!==t&&(ot.flags|=1024),e}function Dc(){var t=Li!==0;return Li=0,t}function wc(t,e,a){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a}function Oc(t){if(Ui){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Ui=!1}da=0,Pt=Dt=ot=null,ql=!1,Cn=Li=0,Yl=null}function me(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pt===null?ot.memoizedState=Pt=t:Pt=Pt.next=t,Pt}function $t(){if(Dt===null){var t=ot.alternate;t=t!==null?t.memoizedState:null}else t=Dt.next;var e=Pt===null?ot.memoizedState:Pt.next;if(e!==null)Pt=e,Dt=t;else{if(t===null)throw ot.alternate===null?Error(c(467)):Error(c(310));Dt=t,t={memoizedState:Dt.memoizedState,baseState:Dt.baseState,baseQueue:Dt.baseQueue,queue:Dt.queue,next:null},Pt===null?ot.memoizedState=Pt=t:Pt=Pt.next=t}return Pt}function Hi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Rn(t){var e=Cn;return Cn+=1,Yl===null&&(Yl=[]),t=wo(Yl,t,e),e=ot,(Pt===null?e.memoizedState:Pt.next)===null&&(e=e.alternate,v.H=e===null||e.memoizedState===null?Af:Qc),t}function Bi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Rn(t);if(t.$$typeof===G)return re(t)}throw Error(c(438,String(t)))}function Nc(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=Hi(),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]=de;return e.index++,a}function ha(t,e){return typeof e=="function"?e(t):e}function qi(t){var e=$t();return jc(e,Dt,t)}function jc(t,e,a){var l=t.queue;if(l===null)throw Error(c(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,g=null,C=e,N=!1;do{var H=C.lane&-536870913;if(H!==C.lane?(yt&H)===H:(da&H)===H){var R=C.revertLane;if(R===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null}),H===jl&&(N=!0);else if((da&R)===R){C=C.next,R===jl&&(N=!0);continue}else H={lane:0,revertLane:C.revertLane,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},g===null?(d=g=H,o=i):g=g.next=H,ot.lanes|=R,Ya|=R;H=C.action,dl&&a(i,H),i=C.hasEagerState?C.eagerState:a(i,H)}else R={lane:H,revertLane:C.revertLane,gesture:C.gesture,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},g===null?(d=g=R,o=i):g=g.next=R,ot.lanes|=H,Ya|=H;C=C.next}while(C!==null&&C!==e);if(g===null?o=i:g.next=d,!Ce(i,t.memoizedState)&&(It=!0,N&&(a=Ul,a!==null)))throw a;t.memoizedState=i,t.baseState=o,t.baseQueue=g,l.lastRenderedState=i}return n===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Uc(t){var e=$t(),a=e.queue;if(a===null)throw Error(c(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);Ce(i,e.memoizedState)||(It=!0),e.memoizedState=i,e.baseQueue===null&&(e.baseState=i),a.lastRenderedState=i}return[i,l]}function Go(t,e,a){var l=ot,n=$t(),i=vt;if(i){if(a===void 0)throw Error(c(407));a=a()}else a=e();var o=!Ce((Dt||n).memoizedState,a);if(o&&(n.memoizedState=a,It=!0),n=n.queue,Bc(Zo.bind(null,l,n,t),[t]),n.getSnapshot!==e||o||Pt!==null&&Pt.memoizedState.tag&1){if(l.flags|=2048,Vl(9,{destroy:void 0},Qo.bind(null,l,n,a,e),null),Nt===null)throw Error(c(349));i||(da&127)!==0||Xo(l,e,a)}return a}function Xo(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=ot.updateQueue,e===null?(e=Hi(),ot.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function Qo(t,e,a,l){e.value=a,e.getSnapshot=l,ko(e)&&Jo(t)}function Zo(t,e,a){return a(function(){ko(e)&&Jo(t)})}function ko(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!Ce(t,a)}catch{return!0}}function Jo(t){var e=ll(t,2);e!==null&&Ee(e,t,2)}function Lc(t){var e=me();if(typeof t=="function"){var a=t;if(t=a(),dl){Ma(!0);try{a()}finally{Ma(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ha,lastRenderedState:t},e}function Ko(t,e,a,l){return t.baseState=a,jc(t,Dt,typeof l=="function"?l:ha)}function j0(t,e,a,l,n){if(Gi(t))throw Error(c(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)}};v.T!==null?a(!0):i.isTransition=!1,l(i),a=e.pending,a===null?(i.next=e.pending=i,$o(e,i)):(i.next=a.next,e.pending=a.next=i)}}function $o(t,e){var a=e.action,l=e.payload,n=t.state;if(e.isTransition){var i=v.T,o={};v.T=o;try{var d=a(n,l),g=v.S;g!==null&&g(o,d),Wo(t,e,d)}catch(C){Hc(t,e,C)}finally{i!==null&&o.types!==null&&(i.types=o.types),v.T=i}}else try{i=a(n,l),Wo(t,e,i)}catch(C){Hc(t,e,C)}}function Wo(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){Fo(t,e,l)},function(l){return Hc(t,e,l)}):Fo(t,e,a)}function Fo(t,e,a){e.status="fulfilled",e.value=a,Po(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,$o(t,a)))}function Hc(t,e,a){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=a,Po(e),e=e.next;while(e!==l)}t.action=null}function Po(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Io(t,e){return e}function tf(t,e){if(vt){var a=Nt.formState;if(a!==null){t:{var l=ot;if(vt){if(Lt){e:{for(var n=Lt,i=Ge;n.nodeType!==8;){if(!i){n=null;break e}if(n=Qe(n.nextSibling),n===null){n=null;break e}}i=n.data,n=i==="F!"||i==="F"?n:null}if(n){Lt=Qe(n.nextSibling),l=n.data==="F!";break t}}wa(l)}l=!1}l&&(e=a[0])}}return a=me(),a.memoizedState=a.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:e},a.queue=l,a=Sf.bind(null,ot,l),l.dispatch=a,l=Lc(!1),i=Xc.bind(null,ot,!1,l.queue),l=me(),n={state:e,dispatch:null,action:t,pending:null},l.queue=n,a=j0.bind(null,ot,n,i,a),n.dispatch=a,l.memoizedState=t,[e,a,!1]}function ef(t){var e=$t();return af(e,Dt,t)}function af(t,e,a){if(e=jc(t,e,Io)[0],t=qi(ha)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=Rn(e)}catch(o){throw o===Ll?Ri:o}else l=e;e=$t();var n=e.queue,i=n.dispatch;return a!==e.memoizedState&&(ot.flags|=2048,Vl(9,{destroy:void 0},U0.bind(null,n,a),null)),[l,i,t]}function U0(t,e){t.action=e}function lf(t){var e=$t(),a=Dt;if(a!==null)return af(e,a,t);$t(),e=e.memoizedState,a=$t();var l=a.queue.dispatch;return a.memoizedState=t,[e,l,!1]}function Vl(t,e,a,l){return t={tag:t,create:a,deps:l,inst:e,next:null},e=ot.updateQueue,e===null&&(e=Hi(),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 nf(){return $t().memoizedState}function Yi(t,e,a,l){var n=me();ot.flags|=t,n.memoizedState=Vl(1|e,{destroy:void 0},a,l===void 0?null:l)}function Vi(t,e,a,l){var n=$t();l=l===void 0?null:l;var i=n.memoizedState.inst;Dt!==null&&l!==null&&Cc(l,Dt.memoizedState.deps)?n.memoizedState=Vl(e,i,a,l):(ot.flags|=t,n.memoizedState=Vl(1|e,i,a,l))}function uf(t,e){Yi(8390656,8,t,e)}function Bc(t,e){Vi(2048,8,t,e)}function L0(t){ot.flags|=4;var e=ot.updateQueue;if(e===null)e=Hi(),ot.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function cf(t){var e=$t().memoizedState;return L0({ref:e,nextImpl:t}),function(){if((At&2)!==0)throw Error(c(440));return e.impl.apply(void 0,arguments)}}function sf(t,e){return Vi(4,2,t,e)}function rf(t,e){return Vi(4,4,t,e)}function of(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 ff(t,e,a){a=a!=null?a.concat([t]):null,Vi(4,4,of.bind(null,e,t),a)}function qc(){}function df(t,e){var a=$t();e=e===void 0?null:e;var l=a.memoizedState;return e!==null&&Cc(e,l[1])?l[0]:(a.memoizedState=[t,e],t)}function hf(t,e){var a=$t();e=e===void 0?null:e;var l=a.memoizedState;if(e!==null&&Cc(e,l[1]))return l[0];if(l=t(),dl){Ma(!0);try{t()}finally{Ma(!1)}}return a.memoizedState=[l,e],l}function Yc(t,e,a){return a===void 0||(da&1073741824)!==0&&(yt&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=md(),ot.lanes|=t,Ya|=t,a)}function mf(t,e,a,l){return Ce(a,e)?a:Bl.current!==null?(t=Yc(t,a,l),Ce(t,e)||(It=!0),t):(da&42)===0||(da&1073741824)!==0&&(yt&261930)===0?(It=!0,t.memoizedState=a):(t=md(),ot.lanes|=t,Ya|=t,e)}function yf(t,e,a,l,n){var i=V.p;V.p=i!==0&&8>i?i:8;var o=v.T,d={};v.T=d,Xc(t,!1,e,a);try{var g=n(),C=v.S;if(C!==null&&C(d,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var N=w0(g,l);Dn(t,e,N,je(t))}else Dn(t,e,l,je(t))}catch(H){Dn(t,e,{then:function(){},status:"rejected",reason:H},je())}finally{V.p=i,o!==null&&d.types!==null&&(o.types=d.types),v.T=o}}function H0(){}function Vc(t,e,a,l){if(t.tag!==5)throw Error(c(476));var n=gf(t).queue;yf(t,n,e,k,a===null?H0:function(){return vf(t),a(l)})}function gf(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:ha,lastRenderedState:k},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ha,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function vf(t){var e=gf(t);e.next===null&&(e=t.alternate.memoizedState),Dn(t,e.next.queue,{},je())}function Gc(){return re(Jn)}function pf(){return $t().memoizedState}function bf(){return $t().memoizedState}function B0(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=je();t=ja(a);var l=Ua(e,t,a);l!==null&&(Ee(l,e,a),Tn(l,e,a)),e={cache:vc()},t.payload=e;return}e=e.return}}function q0(t,e,a){var l=je();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Gi(t)?Ef(e,a):(a=uc(t,e,a,l),a!==null&&(Ee(a,t,l),xf(a,e,l)))}function Sf(t,e,a){var l=je();Dn(t,e,a,l)}function Dn(t,e,a,l){var n={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Gi(t))Ef(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,Ce(d,o))return xi(t,e,n,0),Nt===null&&Ei(),!1}catch{}finally{}if(a=uc(t,e,n,l),a!==null)return Ee(a,t,l),xf(a,e,l),!0}return!1}function Xc(t,e,a,l){if(l={lane:2,revertLane:Es(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Gi(t)){if(e)throw Error(c(479))}else e=uc(t,a,l,2),e!==null&&Ee(e,t,2)}function Gi(t){var e=t.alternate;return t===ot||e!==null&&e===ot}function Ef(t,e){ql=Ui=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function xf(t,e,a){if((a&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,Tr(t,a)}}var wn={readContext:re,use:Bi,useCallback:kt,useContext:kt,useEffect:kt,useImperativeHandle:kt,useLayoutEffect:kt,useInsertionEffect:kt,useMemo:kt,useReducer:kt,useRef:kt,useState:kt,useDebugValue:kt,useDeferredValue:kt,useTransition:kt,useSyncExternalStore:kt,useId:kt,useHostTransitionStatus:kt,useFormState:kt,useActionState:kt,useOptimistic:kt,useMemoCache:kt,useCacheRefresh:kt};wn.useEffectEvent=kt;var Af={readContext:re,use:Bi,useCallback:function(t,e){return me().memoizedState=[t,e===void 0?null:e],t},useContext:re,useEffect:uf,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,Yi(4194308,4,of.bind(null,e,t),a)},useLayoutEffect:function(t,e){return Yi(4194308,4,t,e)},useInsertionEffect:function(t,e){Yi(4,2,t,e)},useMemo:function(t,e){var a=me();e=e===void 0?null:e;var l=t();if(dl){Ma(!0);try{t()}finally{Ma(!1)}}return a.memoizedState=[l,e],l},useReducer:function(t,e,a){var l=me();if(a!==void 0){var n=a(e);if(dl){Ma(!0);try{a(e)}finally{Ma(!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=q0.bind(null,ot,t),[l.memoizedState,t]},useRef:function(t){var e=me();return t={current:t},e.memoizedState=t},useState:function(t){t=Lc(t);var e=t.queue,a=Sf.bind(null,ot,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:qc,useDeferredValue:function(t,e){var a=me();return Yc(a,t,e)},useTransition:function(){var t=Lc(!1);return t=yf.bind(null,ot,t.queue,!0,!1),me().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var l=ot,n=me();if(vt){if(a===void 0)throw Error(c(407));a=a()}else{if(a=e(),Nt===null)throw Error(c(349));(yt&127)!==0||Xo(l,e,a)}n.memoizedState=a;var i={value:a,getSnapshot:e};return n.queue=i,uf(Zo.bind(null,l,i,t),[t]),l.flags|=2048,Vl(9,{destroy:void 0},Qo.bind(null,l,i,a,e),null),a},useId:function(){var t=me(),e=Nt.identifierPrefix;if(vt){var a=ta,l=Ie;a=(l&~(1<<32-ze(l)-1)).toString(32)+a,e="_"+e+"R_"+a,a=Li++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=O0++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Gc,useFormState:tf,useActionState:tf,useOptimistic:function(t){var e=me();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Xc.bind(null,ot,!0,a),a.dispatch=e,[t,e]},useMemoCache:Nc,useCacheRefresh:function(){return me().memoizedState=B0.bind(null,ot)},useEffectEvent:function(t){var e=me(),a={impl:t};return e.memoizedState=a,function(){if((At&2)!==0)throw Error(c(440));return a.impl.apply(void 0,arguments)}}},Qc={readContext:re,use:Bi,useCallback:df,useContext:re,useEffect:Bc,useImperativeHandle:ff,useInsertionEffect:sf,useLayoutEffect:rf,useMemo:hf,useReducer:qi,useRef:nf,useState:function(){return qi(ha)},useDebugValue:qc,useDeferredValue:function(t,e){var a=$t();return mf(a,Dt.memoizedState,t,e)},useTransition:function(){var t=qi(ha)[0],e=$t().memoizedState;return[typeof t=="boolean"?t:Rn(t),e]},useSyncExternalStore:Go,useId:pf,useHostTransitionStatus:Gc,useFormState:ef,useActionState:ef,useOptimistic:function(t,e){var a=$t();return Ko(a,Dt,t,e)},useMemoCache:Nc,useCacheRefresh:bf};Qc.useEffectEvent=cf;var _f={readContext:re,use:Bi,useCallback:df,useContext:re,useEffect:Bc,useImperativeHandle:ff,useInsertionEffect:sf,useLayoutEffect:rf,useMemo:hf,useReducer:Uc,useRef:nf,useState:function(){return Uc(ha)},useDebugValue:qc,useDeferredValue:function(t,e){var a=$t();return Dt===null?Yc(a,t,e):mf(a,Dt.memoizedState,t,e)},useTransition:function(){var t=Uc(ha)[0],e=$t().memoizedState;return[typeof t=="boolean"?t:Rn(t),e]},useSyncExternalStore:Go,useId:pf,useHostTransitionStatus:Gc,useFormState:lf,useActionState:lf,useOptimistic:function(t,e){var a=$t();return Dt!==null?Ko(a,Dt,t,e):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:Nc,useCacheRefresh:bf};_f.useEffectEvent=cf;function Zc(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 kc={enqueueSetState:function(t,e,a){t=t._reactInternals;var l=je(),n=ja(l);n.payload=e,a!=null&&(n.callback=a),e=Ua(t,n,l),e!==null&&(Ee(e,t,l),Tn(e,t,l))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var l=je(),n=ja(l);n.tag=1,n.payload=e,a!=null&&(n.callback=a),e=Ua(t,n,l),e!==null&&(Ee(e,t,l),Tn(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=je(),l=ja(a);l.tag=2,e!=null&&(l.callback=e),e=Ua(t,l,a),e!==null&&(Ee(e,t,a),Tn(e,t,a))}};function Tf(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?!vn(a,l)||!vn(n,i):!0}function Mf(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&&kc.enqueueReplaceState(e,e.state,null)}function hl(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 zf(t){Si(t)}function Cf(t){console.error(t)}function Rf(t){Si(t)}function Xi(t,e){try{var a=t.onUncaughtError;a(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Df(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 Jc(t,e,a){return a=ja(a),a.tag=3,a.payload={element:null},a.callback=function(){Xi(t,e)},a}function wf(t){return t=ja(t),t.tag=3,t}function Of(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(){Df(e,a,l)}}var o=a.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){Df(e,a,l),typeof n!="function"&&(Va===null?Va=new Set([this]):Va.add(this));var d=l.stack;this.componentDidCatch(l.value,{componentStack:d!==null?d:""})})}function Y0(t,e,a,l,n){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=a.alternate,e!==null&&Nl(e,a,n,!0),a=De.current,a!==null){switch(a.tag){case 31:case 13:return Xe===null?eu():a.alternate===null&&Jt===0&&(Jt=3),a.flags&=-257,a.flags|=65536,a.lanes=n,l===Di?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([l]):e.add(l),ps(t,l,n)),!1;case 22:return a.flags|=65536,l===Di?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)),ps(t,l,n)),!1}throw Error(c(435,a.tag))}return ps(t,l,n),eu(),!1}if(vt)return e=De.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,l!==dc&&(t=Error(c(422),{cause:l}),Sn(qe(t,a)))):(l!==dc&&(e=Error(c(423),{cause:l}),Sn(qe(e,a))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,l=qe(l,a),n=Jc(t.stateNode,l,n),Ac(t,n),Jt!==4&&(Jt=2)),!1;var i=Error(c(520),{cause:l});if(i=qe(i,a),qn===null?qn=[i]:qn.push(i),Jt!==4&&(Jt=2),e===null)return!0;l=qe(l,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=n&-n,a.lanes|=t,t=Jc(a.stateNode,l,t),Ac(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"&&(Va===null||!Va.has(i))))return a.flags|=65536,n&=-n,a.lanes|=n,n=wf(n),Of(n,t,a,l),Ac(a,n),!1}a=a.return}while(a!==null);return!1}var Kc=Error(c(461)),It=!1;function oe(t,e,a,l){e.child=t===null?Uo(e,null,a,l):fl(e,t.child,a,l)}function Nf(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 cl(e),l=Rc(t,e,a,o,i,n),d=Dc(),t!==null&&!It?(wc(t,e,n),ma(t,e,n)):(vt&&d&&oc(e),e.flags|=1,oe(t,e,l,n),e.child)}function jf(t,e,a,l,n){if(t===null){var i=a.type;return typeof i=="function"&&!cc(i)&&i.defaultProps===void 0&&a.compare===null?(e.tag=15,e.type=i,Uf(t,e,i,l,n)):(t=_i(a.type,null,l,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!as(t,n)){var o=i.memoizedProps;if(a=a.compare,a=a!==null?a:vn,a(o,l)&&t.ref===e.ref)return ma(t,e,n)}return e.flags|=1,t=sa(i,l),t.ref=e.ref,t.return=e,e.child=t}function Uf(t,e,a,l,n){if(t!==null){var i=t.memoizedProps;if(vn(i,l)&&t.ref===e.ref)if(It=!1,e.pendingProps=l=i,as(t,n))(t.flags&131072)!==0&&(It=!0);else return e.lanes=t.lanes,ma(t,e,n)}return $c(t,e,a,l,n)}function Lf(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 Hf(t,e,i,a,l)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Ci(e,i!==null?i.cachePool:null),i!==null?Bo(e,i):Tc(),qo(e);else return l=e.lanes=536870912,Hf(t,e,i!==null?i.baseLanes|a:a,a,l)}else i!==null?(Ci(e,i.cachePool),Bo(e,i),Ha(),e.memoizedState=null):(t!==null&&Ci(e,null),Tc(),Ha());return oe(t,e,n,a),e.child}function On(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Hf(t,e,a,l,n){var i=bc();return i=i===null?null:{parent:Ft._currentValue,pool:i},e.memoizedState={baseLanes:a,cachePool:i},t!==null&&Ci(e,null),Tc(),qo(e),t!==null&&Nl(t,e,l,!0),e.childLanes=n,null}function Qi(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 Bf(t,e,a){return fl(e,t.child,null,a),t=Qi(e,e.pendingProps),t.flags|=2,we(e),e.memoizedState=null,t}function V0(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=Qi(e,l),e.lanes=536870912,On(null,t);if(zc(e),(t=Lt)?(t=Wd(t,Ge),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Ra!==null?{id:Ie,overflow:ta}:null,retryLane:536870912,hydrationErrors:null},a=So(t),a.return=e,e.child=a,se=e,Lt=null)):t=null,t===null)throw wa(e);return e.lanes=536870912,null}return Qi(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=Bf(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(c(558));else if(It||Nl(t,e,a,!1),n=(a&t.childLanes)!==0,It||n){if(l=Nt,l!==null&&(o=Mr(l,a),o!==0&&o!==i.retryLane))throw i.retryLane=o,ll(t,o),Ee(l,t,o),Kc;eu(),e=Bf(t,e,a)}else t=i.treeContext,Lt=Qe(o.nextSibling),se=e,vt=!0,Da=null,Ge=!1,t!==null&&Ao(e,t),e=Qi(e,l),e.flags|=4096;return e}return t=sa(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Zi(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(c(284));(t===null||t.ref!==a)&&(e.flags|=4194816)}}function $c(t,e,a,l,n){return cl(e),a=Rc(t,e,a,l,void 0,n),l=Dc(),t!==null&&!It?(wc(t,e,n),ma(t,e,n)):(vt&&l&&oc(e),e.flags|=1,oe(t,e,a,n),e.child)}function qf(t,e,a,l,n,i){return cl(e),e.updateQueue=null,a=Vo(e,l,a,n),Yo(t),l=Dc(),t!==null&&!It?(wc(t,e,i),ma(t,e,i)):(vt&&l&&oc(e),e.flags|=1,oe(t,e,a,i),e.child)}function Yf(t,e,a,l,n){if(cl(e),e.stateNode===null){var i=Rl,o=a.contextType;typeof o=="object"&&o!==null&&(i=re(o)),i=new a(l,i),e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=kc,e.stateNode=i,i._reactInternals=e,i=e.stateNode,i.props=l,i.state=e.memoizedState,i.refs={},Ec(e),o=a.contextType,i.context=typeof o=="object"&&o!==null?re(o):Rl,i.state=e.memoizedState,o=a.getDerivedStateFromProps,typeof o=="function"&&(Zc(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&&kc.enqueueReplaceState(i,i.state,null),zn(e,l,i,n),Mn(),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){i=e.stateNode;var d=e.memoizedProps,g=hl(a,d);i.props=g;var C=i.context,N=a.contextType;o=Rl,typeof N=="object"&&N!==null&&(o=re(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||C!==o)&&Mf(e,i,l,o),Na=!1;var R=e.memoizedState;i.state=R,zn(e,l,i,n),Mn(),C=e.memoizedState,d||R!==C||Na?(typeof H=="function"&&(Zc(e,a,H,l),C=e.memoizedState),(g=Na||Tf(e,a,g,l,R,C,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=C),i.props=l,i.state=C,i.context=o,l=g):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{i=e.stateNode,xc(t,e),o=e.memoizedProps,N=hl(a,o),i.props=N,H=e.pendingProps,R=i.context,C=a.contextType,g=Rl,typeof C=="object"&&C!==null&&(g=re(C)),d=a.getDerivedStateFromProps,(C=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==H||R!==g)&&Mf(e,i,l,g),Na=!1,R=e.memoizedState,i.state=R,zn(e,l,i,n),Mn();var w=e.memoizedState;o!==H||R!==w||Na||t!==null&&t.dependencies!==null&&Mi(t.dependencies)?(typeof d=="function"&&(Zc(e,a,d,l),w=e.memoizedState),(N=Na||Tf(e,a,N,l,R,w,g)||t!==null&&t.dependencies!==null&&Mi(t.dependencies))?(C||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(l,w,g),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(l,w,g)),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=g,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,Zi(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=fl(e,t.child,null,n),e.child=fl(e,null,a,n)):oe(t,e,a,n),e.memoizedState=i.state,t=e.child):t=ma(t,e,n),t}function Vf(t,e,a,l){return il(),e.flags|=256,oe(t,e,a,l),e.child}var Wc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Fc(t){return{baseLanes:t,cachePool:Ro()}}function Pc(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=Ne),t}function Gf(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:(Kt.current&2)!==0),o&&(n=!0,e.flags&=-129),o=(e.flags&32)!==0,e.flags&=-33,t===null){if(vt){if(n?La(e):Ha(),(t=Lt)?(t=Wd(t,Ge),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Ra!==null?{id:Ie,overflow:ta}:null,retryLane:536870912,hydrationErrors:null},a=So(t),a.return=e,e.child=a,se=e,Lt=null)):t=null,t===null)throw wa(e);return js(t)?e.lanes=32:e.lanes=536870912,null}var d=l.children;return l=l.fallback,n?(Ha(),n=e.mode,d=ki({mode:"hidden",children:d},n),l=nl(l,n,a,null),d.return=e,l.return=e,d.sibling=l,e.child=d,l=e.child,l.memoizedState=Fc(a),l.childLanes=Pc(t,o,a),e.memoizedState=Wc,On(null,l)):(La(e),Ic(e,d))}var g=t.memoizedState;if(g!==null&&(d=g.dehydrated,d!==null)){if(i)e.flags&256?(La(e),e.flags&=-257,e=ts(t,e,a)):e.memoizedState!==null?(Ha(),e.child=t.child,e.flags|=128,e=null):(Ha(),d=l.fallback,n=e.mode,l=ki({mode:"visible",children:l.children},n),d=nl(d,n,a,null),d.flags|=2,l.return=e,d.return=e,l.sibling=d,e.child=l,fl(e,t.child,null,a),l=e.child,l.memoizedState=Fc(a),l.childLanes=Pc(t,o,a),e.memoizedState=Wc,e=On(null,l));else if(La(e),js(d)){if(o=d.nextSibling&&d.nextSibling.dataset,o)var C=o.dgst;o=C,l=Error(c(419)),l.stack="",l.digest=o,Sn({value:l,source:null,stack:null}),e=ts(t,e,a)}else if(It||Nl(t,e,a,!1),o=(a&t.childLanes)!==0,It||o){if(o=Nt,o!==null&&(l=Mr(o,a),l!==0&&l!==g.retryLane))throw g.retryLane=l,ll(t,l),Ee(o,t,l),Kc;Ns(d)||eu(),e=ts(t,e,a)}else Ns(d)?(e.flags|=192,e.child=t.child,e=null):(t=g.treeContext,Lt=Qe(d.nextSibling),se=e,vt=!0,Da=null,Ge=!1,t!==null&&Ao(e,t),e=Ic(e,l.children),e.flags|=4096);return e}return n?(Ha(),d=l.fallback,n=e.mode,g=t.child,C=g.sibling,l=sa(g,{mode:"hidden",children:l.children}),l.subtreeFlags=g.subtreeFlags&65011712,C!==null?d=sa(C,d):(d=nl(d,n,a,null),d.flags|=2),d.return=e,l.return=e,l.sibling=d,e.child=l,On(null,l),l=e.child,d=t.child.memoizedState,d===null?d=Fc(a):(n=d.cachePool,n!==null?(g=Ft._currentValue,n=n.parent!==g?{parent:g,pool:g}:n):n=Ro(),d={baseLanes:d.baseLanes|a,cachePool:n}),l.memoizedState=d,l.childLanes=Pc(t,o,a),e.memoizedState=Wc,On(t.child,l)):(La(e),a=t.child,t=a.sibling,a=sa(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 Ic(t,e){return e=ki({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function ki(t,e){return t=Re(22,t,null,e),t.lanes=0,t}function ts(t,e,a){return fl(e,t.child,null,a),t=Ic(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Xf(t,e,a){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),yc(t.return,e,a)}function es(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 Qf(t,e,a){var l=e.pendingProps,n=l.revealOrder,i=l.tail;l=l.children;var o=Kt.current,d=(o&2)!==0;if(d?(o=o&1|2,e.flags|=128):o&=1,Q(Kt,o),oe(t,e,l,a),l=vt?bn:0,!d&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Xf(t,a,e);else if(t.tag===19)Xf(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&&ji(t)===null&&(n=a),a=a.sibling;a=n,a===null?(n=e.child,e.child=null):(n=a.sibling,a.sibling=null),es(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&&ji(t)===null){e.child=n;break}t=n.sibling,n.sibling=a,a=n,n=t}es(e,!0,a,null,i,l);break;case"together":es(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function ma(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),Ya|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(Nl(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,a=sa(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=sa(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function as(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Mi(t)))}function G0(t,e,a){switch(e.tag){case 3:P(e,e.stateNode.containerInfo),Oa(e,Ft,t.memoizedState.cache),il();break;case 27:case 5:lt(e);break;case 4:P(e,e.stateNode.containerInfo);break;case 10:Oa(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?(La(e),e.flags|=128,null):(a&e.child.childLanes)!==0?Gf(t,e,a):(La(e),t=ma(t,e,a),t!==null?t.sibling:null);La(e);break;case 19:var n=(t.flags&128)!==0;if(l=(a&e.childLanes)!==0,l||(Nl(t,e,a,!1),l=(a&e.childLanes)!==0),n){if(l)return Qf(t,e,a);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Q(Kt,Kt.current),l)break;return null;case 22:return e.lanes=0,Lf(t,e,a,e.pendingProps);case 24:Oa(e,Ft,t.memoizedState.cache)}return ma(t,e,a)}function Zf(t,e,a){if(t!==null)if(t.memoizedProps!==e.pendingProps)It=!0;else{if(!as(t,a)&&(e.flags&128)===0)return It=!1,G0(t,e,a);It=(t.flags&131072)!==0}else It=!1,vt&&(e.flags&1048576)!==0&&xo(e,bn,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=rl(e.elementType),e.type=t,typeof t=="function")cc(t)?(l=hl(t,l),e.tag=1,e=Yf(null,e,t,l,a)):(e.tag=0,e=$c(null,e,t,l,a));else{if(t!=null){var n=t.$$typeof;if(n===X){e.tag=11,e=Nf(null,e,t,l,a);break t}else if(n===nt){e.tag=14,e=jf(null,e,t,l,a);break t}}throw e=ie(t)||t,Error(c(306,e,""))}}return e;case 0:return $c(t,e,e.type,e.pendingProps,a);case 1:return l=e.type,n=hl(l,e.pendingProps),Yf(t,e,l,n,a);case 3:t:{if(P(e,e.stateNode.containerInfo),t===null)throw Error(c(387));l=e.pendingProps;var i=e.memoizedState;n=i.element,xc(t,e),zn(e,l,null,a);var o=e.memoizedState;if(l=o.cache,Oa(e,Ft,l),l!==i.cache&&gc(e,[Ft],a,!0),Mn(),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=Vf(t,e,l,a);break t}else if(l!==n){n=qe(Error(c(424)),e),Sn(n),e=Vf(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(Lt=Qe(t.firstChild),se=e,vt=!0,Da=null,Ge=!0,a=Uo(e,null,l,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(il(),l===n){e=ma(t,e,a);break t}oe(t,e,l,a)}e=e.child}return e;case 26:return Zi(t,e),t===null?(a=ah(e.type,null,e.pendingProps,null))?e.memoizedState=a:vt||(a=e.type,t=e.pendingProps,l=su(j.current).createElement(a),l[ce]=e,l[ye]=t,fe(l,a,t),le(l),e.stateNode=l):e.memoizedState=ah(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return lt(e),t===null&&vt&&(l=e.stateNode=Id(e.type,e.pendingProps,j.current),se=e,Ge=!0,n=Lt,Za(e.type)?(Us=n,Lt=Qe(l.firstChild)):Lt=n),oe(t,e,e.pendingProps.children,a),Zi(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&vt&&((n=l=Lt)&&(l=py(l,e.type,e.pendingProps,Ge),l!==null?(e.stateNode=l,se=e,Lt=Qe(l.firstChild),Ge=!1,n=!0):n=!1),n||wa(e)),lt(e),n=e.type,i=e.pendingProps,o=t!==null?t.memoizedProps:null,l=i.children,Ds(n,i)?l=null:o!==null&&Ds(n,o)&&(e.flags|=32),e.memoizedState!==null&&(n=Rc(t,e,N0,null,null,a),Jn._currentValue=n),Zi(t,e),oe(t,e,l,a),e.child;case 6:return t===null&&vt&&((t=a=Lt)&&(a=by(a,e.pendingProps,Ge),a!==null?(e.stateNode=a,se=e,Lt=null,t=!0):t=!1),t||wa(e)),null;case 13:return Gf(t,e,a);case 4:return P(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=fl(e,null,l,a):oe(t,e,l,a),e.child;case 11:return Nf(t,e,e.type,e.pendingProps,a);case 7:return oe(t,e,e.pendingProps,a),e.child;case 8:return oe(t,e,e.pendingProps.children,a),e.child;case 12:return oe(t,e,e.pendingProps.children,a),e.child;case 10:return l=e.pendingProps,Oa(e,e.type,l.value),oe(t,e,l.children,a),e.child;case 9:return n=e.type._context,l=e.pendingProps.children,cl(e),n=re(n),l=l(n),e.flags|=1,oe(t,e,l,a),e.child;case 14:return jf(t,e,e.type,e.pendingProps,a);case 15:return Uf(t,e,e.type,e.pendingProps,a);case 19:return Qf(t,e,a);case 31:return V0(t,e,a);case 22:return Lf(t,e,a,e.pendingProps);case 24:return cl(e),l=re(Ft),t===null?(n=bc(),n===null&&(n=Nt,i=vc(),n.pooledCache=i,i.refCount++,i!==null&&(n.pooledCacheLanes|=a),n=i),e.memoizedState={parent:l,cache:n},Ec(e),Oa(e,Ft,n)):((t.lanes&a)!==0&&(xc(t,e),zn(e,null,null,a),Mn()),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),Oa(e,Ft,l)):(l=i.cache,Oa(e,Ft,l),l!==n.cache&&gc(e,[Ft],a,!0))),oe(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function ya(t){t.flags|=4}function ls(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(pd())t.flags|=8192;else throw ol=Di,Sc}else t.flags&=-16777217}function kf(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!ch(e))if(pd())t.flags|=8192;else throw ol=Di,Sc}function Ji(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Ar():536870912,t.lanes|=e,Zl|=e)}function Nn(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 Ht(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 X0(t,e,a){var l=e.pendingProps;switch(fc(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ht(e),null;case 1:return Ht(e),null;case 3:return a=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),fa(Ft),J(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Ol(e)?ya(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,hc())),Ht(e),null;case 26:var n=e.type,i=e.memoizedState;return t===null?(ya(e),i!==null?(Ht(e),kf(e,i)):(Ht(e),ls(e,n,null,l,a))):i?i!==t.memoizedState?(ya(e),Ht(e),kf(e,i)):(Ht(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&ya(e),Ht(e),ls(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&&ya(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Ht(e),null}t=F.current,Ol(e)?_o(e):(t=Id(n,l,a),e.stateNode=t,ya(e))}return Ht(e),null;case 5:if(ut(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&ya(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Ht(e),null}if(i=F.current,Ol(e))_o(e);else{var o=su(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[ce]=e,i[ye]=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(fe(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&&ya(e)}}return Ht(e),ls(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&ya(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(c(166));if(t=j.current,Ol(e)){if(t=e.stateNode,a=e.memoizedProps,l=null,n=se,n!==null)switch(n.tag){case 27:case 5:l=n.memoizedProps}t[ce]=e,t=!!(t.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||Gd(t.nodeValue,a)),t||wa(e,!0)}else t=su(t).createTextNode(l),t[ce]=e,e.stateNode=t}return Ht(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(l=Ol(e),a!==null){if(t===null){if(!l)throw Error(c(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(557));t[ce]=e}else il(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ht(e),t=!1}else a=hc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(we(e),e):(we(e),null);if((e.flags&128)!==0)throw Error(c(558))}return Ht(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=Ol(e),l!==null&&l.dehydrated!==null){if(t===null){if(!n)throw Error(c(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));n[ce]=e}else il(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ht(e),n=!1}else n=hc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(we(e),e):(we(e),null)}return we(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),Ji(e,e.updateQueue),Ht(e),null);case 4:return J(),t===null&&Ts(e.stateNode.containerInfo),Ht(e),null;case 10:return fa(e.type),Ht(e),null;case 19:if(B(Kt),l=e.memoizedState,l===null)return Ht(e),null;if(n=(e.flags&128)!==0,i=l.rendering,i===null)if(n)Nn(l,!1);else{if(Jt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(i=ji(t),i!==null){for(e.flags|=128,Nn(l,!1),t=i.updateQueue,e.updateQueue=t,Ji(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)bo(a,t),a=a.sibling;return Q(Kt,Kt.current&1|2),vt&&ra(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&Zt()>Pi&&(e.flags|=128,n=!0,Nn(l,!1),e.lanes=4194304)}else{if(!n)if(t=ji(i),t!==null){if(e.flags|=128,n=!0,t=t.updateQueue,e.updateQueue=t,Ji(e,t),Nn(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!vt)return Ht(e),null}else 2*Zt()-l.renderingStartTime>Pi&&a!==536870912&&(e.flags|=128,n=!0,Nn(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=Zt(),t.sibling=null,a=Kt.current,Q(Kt,n?a&1|2:a&1),vt&&ra(e,l.treeForkCount),t):(Ht(e),null);case 22:case 23:return we(e),Mc(),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&&(Ht(e),e.subtreeFlags&6&&(e.flags|=8192)):Ht(e),a=e.updateQueue,a!==null&&Ji(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(sl),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),fa(Ft),Ht(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function Q0(t,e){switch(fc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return fa(Ft),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(we(e),e.alternate===null)throw Error(c(340));il()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(we(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));il()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return B(Kt),null;case 4:return J(),null;case 10:return fa(e.type),null;case 22:case 23:return we(e),Mc(),t!==null&&B(sl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return fa(Ft),null;case 25:return null;default:return null}}function Jf(t,e){switch(fc(e),e.tag){case 3:fa(Ft),J();break;case 26:case 27:case 5:ut(e);break;case 4:J();break;case 31:e.memoizedState!==null&&we(e);break;case 13:we(e);break;case 19:B(Kt);break;case 10:fa(e.type);break;case 22:case 23:we(e),Mc(),t!==null&&B(sl);break;case 24:fa(Ft)}}function jn(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){zt(e,e.return,d)}}function Ba(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 g=a,C=d;try{C()}catch(N){zt(n,g,N)}}}l=l.next}while(l!==i)}}catch(N){zt(e,e.return,N)}}function Kf(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;try{Ho(e,a)}catch(l){zt(t,t.return,l)}}}function $f(t,e,a){a.props=hl(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(l){zt(t,e,l)}}function Un(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){zt(t,e,n)}}function ea(t,e){var a=t.ref,l=t.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(n){zt(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){zt(t,e,n)}else a.current=null}function Wf(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){zt(t,t.return,n)}}function ns(t,e,a){try{var l=t.stateNode;dy(l,t.type,a,e),l[ye]=e}catch(n){zt(t,t.return,n)}}function Ff(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Za(t.type)||t.tag===4}function is(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Ff(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&&Za(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 us(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=ua));else if(l!==4&&(l===27&&Za(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(us(t,e,a),t=t.sibling;t!==null;)us(t,e,a),t=t.sibling}function Ki(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&&Za(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Ki(t,e,a),t=t.sibling;t!==null;)Ki(t,e,a),t=t.sibling}function Pf(t){var e=t.stateNode,a=t.memoizedProps;try{for(var l=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);fe(e,l,a),e[ce]=t,e[ye]=a}catch(i){zt(t,t.return,i)}}var ga=!1,te=!1,cs=!1,If=typeof WeakSet=="function"?WeakSet:Set,ne=null;function Z0(t,e){if(t=t.containerInfo,Cs=yu,t=ro(t),tc(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,g=-1,C=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||(g=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&&++C===n&&(d=o),R===i&&++N===l&&(g=o),(w=H.nextSibling)!==null)break;H=R,R=H.parentNode}H=w}a=d===-1||g===-1?null:{start:d,end:g}}else a=null}a=a||{start:0,end:0}}else a=null;for(Rs={focusedElem:t,selectionRange:a},yu=!1,ne=e;ne!==null;)if(e=ne,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ne=t;else for(;ne!==null;){switch(e=ne,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=hl(a.type,n);t=l.getSnapshotBeforeUpdate(K,i),l.__reactInternalSnapshotBeforeUpdate=t}catch(ct){zt(a,a.return,ct)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,a=t.nodeType,a===9)Os(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Os(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(c(163))}if(t=e.sibling,t!==null){t.return=e.return,ne=t;break}ne=e.return}}function td(t,e,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:pa(t,a),l&4&&jn(5,a);break;case 1:if(pa(t,a),l&4)if(t=a.stateNode,e===null)try{t.componentDidMount()}catch(o){zt(a,a.return,o)}else{var n=hl(a.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(o){zt(a,a.return,o)}}l&64&&Kf(a),l&512&&Un(a,a.return);break;case 3:if(pa(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{Ho(t,e)}catch(o){zt(a,a.return,o)}}break;case 27:e===null&&l&4&&Pf(a);case 26:case 5:pa(t,a),e===null&&l&4&&Wf(a),l&512&&Un(a,a.return);break;case 12:pa(t,a);break;case 31:pa(t,a),l&4&&ld(t,a);break;case 13:pa(t,a),l&4&&nd(t,a),l&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=ty.bind(null,a),Sy(t,a))));break;case 22:if(l=a.memoizedState!==null||ga,!l){e=e!==null&&e.memoizedState!==null||te,n=ga;var i=te;ga=l,(te=e)&&!i?ba(t,a,(a.subtreeFlags&8772)!==0):pa(t,a),ga=n,te=i}break;case 30:break;default:pa(t,a)}}function ed(t){var e=t.alternate;e!==null&&(t.alternate=null,ed(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Hu(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 qt=null,ve=!1;function va(t,e,a){for(a=a.child;a!==null;)ad(t,e,a),a=a.sibling}function ad(t,e,a){if(Me&&typeof Me.onCommitFiberUnmount=="function")try{Me.onCommitFiberUnmount(nn,a)}catch{}switch(a.tag){case 26:te||ea(a,e),va(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:te||ea(a,e);var l=qt,n=ve;Za(a.type)&&(qt=a.stateNode,ve=!1),va(t,e,a),Qn(a.stateNode),qt=l,ve=n;break;case 5:te||ea(a,e);case 6:if(l=qt,n=ve,qt=null,va(t,e,a),qt=l,ve=n,qt!==null)if(ve)try{(qt.nodeType===9?qt.body:qt.nodeName==="HTML"?qt.ownerDocument.body:qt).removeChild(a.stateNode)}catch(i){zt(a,e,i)}else try{qt.removeChild(a.stateNode)}catch(i){zt(a,e,i)}break;case 18:qt!==null&&(ve?(t=qt,Kd(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Il(t)):Kd(qt,a.stateNode));break;case 4:l=qt,n=ve,qt=a.stateNode.containerInfo,ve=!0,va(t,e,a),qt=l,ve=n;break;case 0:case 11:case 14:case 15:Ba(2,a,e),te||Ba(4,a,e),va(t,e,a);break;case 1:te||(ea(a,e),l=a.stateNode,typeof l.componentWillUnmount=="function"&&$f(a,e,l)),va(t,e,a);break;case 21:va(t,e,a);break;case 22:te=(l=te)||a.memoizedState!==null,va(t,e,a),te=l;break;default:va(t,e,a)}}function ld(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Il(t)}catch(a){zt(e,e.return,a)}}}function nd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Il(t)}catch(a){zt(e,e.return,a)}}function k0(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new If),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new If),e;default:throw Error(c(435,t.tag))}}function $i(t,e){var a=k0(t);e.forEach(function(l){if(!a.has(l)){a.add(l);var n=ey.bind(null,t,l);l.then(n,n)}})}function pe(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(Za(d.type)){qt=d.stateNode,ve=!1;break t}break;case 5:qt=d.stateNode,ve=!1;break t;case 3:case 4:qt=d.stateNode.containerInfo,ve=!0;break t}d=d.return}if(qt===null)throw Error(c(160));ad(i,o,n),qt=null,ve=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)id(e,t),e=e.sibling}var $e=null;function id(t,e){var a=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:pe(e,t),be(t),l&4&&(Ba(3,t,t.return),jn(3,t),Ba(5,t,t.return));break;case 1:pe(e,t),be(t),l&512&&(te||a===null||ea(a,a.return)),l&64&&ga&&(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=$e;if(pe(e,t),be(t),l&512&&(te||a===null||ea(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[sn]||i[ce]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=n.createElement(l),n.head.insertBefore(i,n.querySelector("head > title"))),fe(i,l,a),i[ce]=t,le(i),l=i;break t;case"link":var o=ih("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),fe(i,l,a),n.head.appendChild(i);break;case"meta":if(o=ih("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),fe(i,l,a),n.head.appendChild(i);break;default:throw Error(c(468,l))}i[ce]=t,le(i),l=i}t.stateNode=l}else uh(n,t.type,t.stateNode);else t.stateNode=nh(n,l,t.memoizedProps);else i!==l?(i===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):i.count--,l===null?uh(n,t.type,t.stateNode):nh(n,l,t.memoizedProps)):l===null&&t.stateNode!==null&&ns(t,t.memoizedProps,a.memoizedProps)}break;case 27:pe(e,t),be(t),l&512&&(te||a===null||ea(a,a.return)),a!==null&&l&4&&ns(t,t.memoizedProps,a.memoizedProps);break;case 5:if(pe(e,t),be(t),l&512&&(te||a===null||ea(a,a.return)),t.flags&32){n=t.stateNode;try{xl(n,"")}catch(K){zt(t,t.return,K)}}l&4&&t.stateNode!=null&&(n=t.memoizedProps,ns(t,n,a!==null?a.memoizedProps:n)),l&1024&&(cs=!0);break;case 6:if(pe(e,t),be(t),l&4){if(t.stateNode===null)throw Error(c(162));l=t.memoizedProps,a=t.stateNode;try{a.nodeValue=l}catch(K){zt(t,t.return,K)}}break;case 3:if(fu=null,n=$e,$e=ru(e.containerInfo),pe(e,t),$e=n,be(t),l&4&&a!==null&&a.memoizedState.isDehydrated)try{Il(e.containerInfo)}catch(K){zt(t,t.return,K)}cs&&(cs=!1,ud(t));break;case 4:l=$e,$e=ru(t.stateNode.containerInfo),pe(e,t),be(t),$e=l;break;case 12:pe(e,t),be(t);break;case 31:pe(e,t),be(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,$i(t,l)));break;case 13:pe(e,t),be(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Fi=Zt()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,$i(t,l)));break;case 22:n=t.memoizedState!==null;var g=a!==null&&a.memoizedState!==null,C=ga,N=te;if(ga=C||n,te=N||g,pe(e,t),te=N,ga=C,be(t),l&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(a===null||g||ga||te||ml(t)),a=null,e=t;;){if(e.tag===5||e.tag===26){if(a===null){g=a=e;try{if(i=g.stateNode,n)o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{d=g.stateNode;var H=g.memoizedProps.style,R=H!=null&&H.hasOwnProperty("display")?H.display:null;d.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(K){zt(g,g.return,K)}}}else if(e.tag===6){if(a===null){g=e;try{g.stateNode.nodeValue=n?"":g.memoizedProps}catch(K){zt(g,g.return,K)}}}else if(e.tag===18){if(a===null){g=e;try{var w=g.stateNode;n?$d(w,!0):$d(g.stateNode,!1)}catch(K){zt(g,g.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,$i(t,a))));break;case 19:pe(e,t),be(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,$i(t,l)));break;case 30:break;case 21:break;default:pe(e,t),be(t)}}function be(t){var e=t.flags;if(e&2){try{for(var a,l=t.return;l!==null;){if(Ff(l)){a=l;break}l=l.return}if(a==null)throw Error(c(160));switch(a.tag){case 27:var n=a.stateNode,i=is(t);Ki(t,i,n);break;case 5:var o=a.stateNode;a.flags&32&&(xl(o,""),a.flags&=-33);var d=is(t);Ki(t,d,o);break;case 3:case 4:var g=a.stateNode.containerInfo,C=is(t);us(t,C,g);break;default:throw Error(c(161))}}catch(N){zt(t,t.return,N)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function ud(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;ud(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function pa(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)td(t,e.alternate,e),e=e.sibling}function ml(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Ba(4,e,e.return),ml(e);break;case 1:ea(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount=="function"&&$f(e,e.return,a),ml(e);break;case 27:Qn(e.stateNode);case 26:case 5:ea(e,e.return),ml(e);break;case 22:e.memoizedState===null&&ml(e);break;case 30:ml(e);break;default:ml(e)}t=t.sibling}}function ba(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:ba(n,i,a),jn(4,i);break;case 1:if(ba(n,i,a),l=i,n=l.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(C){zt(l,l.return,C)}if(l=i,n=l.updateQueue,n!==null){var d=l.stateNode;try{var g=n.shared.hiddenCallbacks;if(g!==null)for(n.shared.hiddenCallbacks=null,n=0;n<g.length;n++)Lo(g[n],d)}catch(C){zt(l,l.return,C)}}a&&o&64&&Kf(i),Un(i,i.return);break;case 27:Pf(i);case 26:case 5:ba(n,i,a),a&&l===null&&o&4&&Wf(i),Un(i,i.return);break;case 12:ba(n,i,a);break;case 31:ba(n,i,a),a&&o&4&&ld(n,i);break;case 13:ba(n,i,a),a&&o&4&&nd(n,i);break;case 22:i.memoizedState===null&&ba(n,i,a),Un(i,i.return);break;case 30:break;default:ba(n,i,a)}e=e.sibling}}function ss(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&&En(a))}function rs(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&En(t))}function We(t,e,a,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)cd(t,e,a,l),e=e.sibling}function cd(t,e,a,l){var n=e.flags;switch(e.tag){case 0:case 11:case 15:We(t,e,a,l),n&2048&&jn(9,e);break;case 1:We(t,e,a,l);break;case 3:We(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&&En(t)));break;case 12:if(n&2048){We(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(g){zt(e,e.return,g)}}else We(t,e,a,l);break;case 31:We(t,e,a,l);break;case 13:We(t,e,a,l);break;case 23:break;case 22:i=e.stateNode,o=e.alternate,e.memoizedState!==null?i._visibility&2?We(t,e,a,l):Ln(t,e):i._visibility&2?We(t,e,a,l):(i._visibility|=2,Gl(t,e,a,l,(e.subtreeFlags&10256)!==0||!1)),n&2048&&ss(o,e);break;case 24:We(t,e,a,l),n&2048&&rs(e.alternate,e);break;default:We(t,e,a,l)}}function Gl(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,g=l,C=o.flags;switch(o.tag){case 0:case 11:case 15:Gl(i,o,d,g,n),jn(8,o);break;case 23:break;case 22:var N=o.stateNode;o.memoizedState!==null?N._visibility&2?Gl(i,o,d,g,n):Ln(i,o):(N._visibility|=2,Gl(i,o,d,g,n)),n&&C&2048&&ss(o.alternate,o);break;case 24:Gl(i,o,d,g,n),n&&C&2048&&rs(o.alternate,o);break;default:Gl(i,o,d,g,n)}e=e.sibling}}function Ln(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:Ln(a,l),n&2048&&ss(l.alternate,l);break;case 24:Ln(a,l),n&2048&&rs(l.alternate,l);break;default:Ln(a,l)}e=e.sibling}}var Hn=8192;function Xl(t,e,a){if(t.subtreeFlags&Hn)for(t=t.child;t!==null;)sd(t,e,a),t=t.sibling}function sd(t,e,a){switch(t.tag){case 26:Xl(t,e,a),t.flags&Hn&&t.memoizedState!==null&&Oy(a,$e,t.memoizedState,t.memoizedProps);break;case 5:Xl(t,e,a);break;case 3:case 4:var l=$e;$e=ru(t.stateNode.containerInfo),Xl(t,e,a),$e=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=Hn,Hn=16777216,Xl(t,e,a),Hn=l):Xl(t,e,a));break;default:Xl(t,e,a)}}function rd(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 Bn(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];ne=l,fd(l,t)}rd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)od(t),t=t.sibling}function od(t){switch(t.tag){case 0:case 11:case 15:Bn(t),t.flags&2048&&Ba(9,t,t.return);break;case 3:Bn(t);break;case 12:Bn(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Wi(t)):Bn(t);break;default:Bn(t)}}function Wi(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];ne=l,fd(l,t)}rd(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Ba(8,e,e.return),Wi(e);break;case 22:a=e.stateNode,a._visibility&2&&(a._visibility&=-3,Wi(e));break;default:Wi(e)}t=t.sibling}}function fd(t,e){for(;ne!==null;){var a=ne;switch(a.tag){case 0:case 11:case 15:Ba(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:En(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,ne=l;else t:for(a=t;ne!==null;){l=ne;var n=l.sibling,i=l.return;if(ed(l),l===a){ne=null;break t}if(n!==null){n.return=i,ne=n;break t}ne=i}}}var J0={getCacheForType:function(t){var e=re(Ft),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return re(Ft).controller.signal}},K0=typeof WeakMap=="function"?WeakMap:Map,At=0,Nt=null,ht=null,yt=0,Mt=0,Oe=null,qa=!1,Ql=!1,os=!1,Sa=0,Jt=0,Ya=0,yl=0,fs=0,Ne=0,Zl=0,qn=null,Se=null,ds=!1,Fi=0,dd=0,Pi=1/0,Ii=null,Va=null,ee=0,Ga=null,kl=null,Ea=0,hs=0,ms=null,hd=null,Yn=0,ys=null;function je(){return(At&2)!==0&&yt!==0?yt&-yt:v.T!==null?Es():zr()}function md(){if(Ne===0)if((yt&536870912)===0||vt){var t=ci;ci<<=1,(ci&3932160)===0&&(ci=262144),Ne=t}else Ne=536870912;return t=De.current,t!==null&&(t.flags|=32),Ne}function Ee(t,e,a){(t===Nt&&(Mt===2||Mt===9)||t.cancelPendingCommit!==null)&&(Jl(t,0),Xa(t,yt,Ne,!1)),cn(t,a),((At&2)===0||t!==Nt)&&(t===Nt&&((At&2)===0&&(yl|=a),Jt===4&&Xa(t,yt,Ne,!1)),aa(t))}function yd(t,e,a){if((At&6)!==0)throw Error(c(327));var l=!a&&(e&127)===0&&(e&t.expiredLanes)===0||un(t,e),n=l?F0(t,e):vs(t,e,!0),i=l;do{if(n===0){Ql&&!l&&Xa(t,e,0,!1);break}else{if(a=t.current.alternate,i&&!$0(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=qn;var g=d.current.memoizedState.isDehydrated;if(g&&(Jl(d,o).flags|=256),o=vs(d,o,!1),o!==2){if(os&&!g){d.errorRecoveryDisabledLanes|=i,yl|=i,n=4;break t}i=Se,Se=n,i!==null&&(Se===null?Se=i:Se.push.apply(Se,i))}n=o}if(i=!1,n!==2)continue}}if(n===1){Jl(t,0),Xa(t,e,0,!0);break}t:{switch(l=t,i=n,i){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:Xa(l,e,Ne,!qa);break t;case 2:Se=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(n=Fi+300-Zt(),10<n)){if(Xa(l,e,Ne,!qa),ri(l,0,!0)!==0)break t;Ea=e,l.timeoutHandle=kd(gd.bind(null,l,a,Se,Ii,ds,e,Ne,yl,Zl,qa,i,"Throttled",-0,0),n);break t}gd(l,a,Se,Ii,ds,e,Ne,yl,Zl,qa,i,null,-0,0)}}break}while(!0);aa(t)}function gd(t,e,a,l,n,i,o,d,g,C,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:ua},sd(e,i,H);var K=(i&62914560)===i?Fi-Zt():(i&4194048)===i?dd-Zt():0;if(K=Ny(H,K),K!==null){Ea=i,t.cancelPendingCommit=K(_d.bind(null,t,e,i,a,l,n,o,d,g,N,H,null,R,w)),Xa(t,i,o,!C);return}}_d(t,e,i,a,l,n,o,d,g)}function $0(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(!Ce(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 Xa(t,e,a,l){e&=~fs,e&=~yl,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&&_r(t,a,e)}function tu(){return(At&6)===0?(Vn(0),!1):!0}function gs(){if(ht!==null){if(Mt===0)var t=ht.return;else t=ht,oa=ul=null,Oc(t),Hl=null,An=0,t=ht;for(;t!==null;)Jf(t.alternate,t),t=t.return;ht=null}}function Jl(t,e){var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,yy(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Ea=0,gs(),Nt=t,ht=a=sa(t.current,null),yt=e,Mt=0,Oe=null,qa=!1,Ql=un(t,e),os=!1,Zl=Ne=fs=yl=Ya=Jt=0,Se=qn=null,ds=!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 Sa=e,Ei(),a}function vd(t,e){ot=null,v.H=wn,e===Ll||e===Ri?(e=Oo(),Mt=3):e===Sc?(e=Oo(),Mt=4):Mt=e===Kc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Oe=e,ht===null&&(Jt=1,Xi(t,qe(e,t.current)))}function pd(){var t=De.current;return t===null?!0:(yt&4194048)===yt?Xe===null:(yt&62914560)===yt||(yt&536870912)!==0?t===Xe:!1}function bd(){var t=v.H;return v.H=wn,t===null?wn:t}function Sd(){var t=v.A;return v.A=J0,t}function eu(){Jt=4,qa||(yt&4194048)!==yt&&De.current!==null||(Ql=!0),(Ya&134217727)===0&&(yl&134217727)===0||Nt===null||Xa(Nt,yt,Ne,!1)}function vs(t,e,a){var l=At;At|=2;var n=bd(),i=Sd();(Nt!==t||yt!==e)&&(Ii=null,Jl(t,e)),e=!1;var o=Jt;t:do try{if(Mt!==0&&ht!==null){var d=ht,g=Oe;switch(Mt){case 8:gs(),o=6;break t;case 3:case 2:case 9:case 6:De.current===null&&(e=!0);var C=Mt;if(Mt=0,Oe=null,Kl(t,d,g,C),a&&Ql){o=0;break t}break;default:C=Mt,Mt=0,Oe=null,Kl(t,d,g,C)}}W0(),o=Jt;break}catch(N){vd(t,N)}while(!0);return e&&t.shellSuspendCounter++,oa=ul=null,At=l,v.H=n,v.A=i,ht===null&&(Nt=null,yt=0,Ei()),o}function W0(){for(;ht!==null;)Ed(ht)}function F0(t,e){var a=At;At|=2;var l=bd(),n=Sd();Nt!==t||yt!==e?(Ii=null,Pi=Zt()+500,Jl(t,e)):Ql=un(t,e);t:do try{if(Mt!==0&&ht!==null){e=ht;var i=Oe;e:switch(Mt){case 1:Mt=0,Oe=null,Kl(t,e,i,1);break;case 2:case 9:if(Do(i)){Mt=0,Oe=null,xd(e);break}e=function(){Mt!==2&&Mt!==9||Nt!==t||(Mt=7),aa(t)},i.then(e,e);break t;case 3:Mt=7;break t;case 4:Mt=5;break t;case 7:Do(i)?(Mt=0,Oe=null,xd(e)):(Mt=0,Oe=null,Kl(t,e,i,7));break;case 5:var o=null;switch(ht.tag){case 26:o=ht.memoizedState;case 5:case 27:var d=ht;if(o?ch(o):d.stateNode.complete){Mt=0,Oe=null;var g=d.sibling;if(g!==null)ht=g;else{var C=d.return;C!==null?(ht=C,au(C)):ht=null}break e}}Mt=0,Oe=null,Kl(t,e,i,5);break;case 6:Mt=0,Oe=null,Kl(t,e,i,6);break;case 8:gs(),Jt=6;break t;default:throw Error(c(462))}}P0();break}catch(N){vd(t,N)}while(!0);return oa=ul=null,v.H=l,v.A=n,At=a,ht!==null?0:(Nt=null,yt=0,Ei(),Jt)}function P0(){for(;ht!==null&&!ae();)Ed(ht)}function Ed(t){var e=Zf(t.alternate,t,Sa);t.memoizedProps=t.pendingProps,e===null?au(t):ht=e}function xd(t){var e=t,a=e.alternate;switch(e.tag){case 15:case 0:e=qf(a,e,e.pendingProps,e.type,void 0,yt);break;case 11:e=qf(a,e,e.pendingProps,e.type.render,e.ref,yt);break;case 5:Oc(e);default:Jf(a,e),e=ht=bo(e,Sa),e=Zf(a,e,Sa)}t.memoizedProps=t.pendingProps,e===null?au(t):ht=e}function Kl(t,e,a,l){oa=ul=null,Oc(e),Hl=null,An=0;var n=e.return;try{if(Y0(t,n,e,a,yt)){Jt=1,Xi(t,qe(a,t.current)),ht=null;return}}catch(i){if(n!==null)throw ht=n,i;Jt=1,Xi(t,qe(a,t.current)),ht=null;return}e.flags&32768?(vt||l===1?t=!0:Ql||(yt&536870912)!==0?t=!1:(qa=t=!0,(l===2||l===9||l===3||l===6)&&(l=De.current,l!==null&&l.tag===13&&(l.flags|=16384))),Ad(e,t)):au(e)}function au(t){var e=t;do{if((e.flags&32768)!==0){Ad(e,qa);return}t=e.return;var a=X0(e.alternate,e,Sa);if(a!==null){ht=a;return}if(e=e.sibling,e!==null){ht=e;return}ht=e=t}while(e!==null);Jt===0&&(Jt=5)}function Ad(t,e){do{var a=Q0(t.alternate,t);if(a!==null){a.flags&=32767,ht=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){ht=t;return}ht=t=a}while(t!==null);Jt=6,ht=null}function _d(t,e,a,l,n,i,o,d,g){t.cancelPendingCommit=null;do lu();while(ee!==0);if((At&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(i=e.lanes|e.childLanes,i|=ic,wm(t,a,i,o,d,g),t===Nt&&(ht=Nt=null,yt=0),kl=e,Ga=t,Ea=a,hs=i,ms=n,hd=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,ay(ii,function(){return Rd(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=v.T,v.T=null,n=V.p,V.p=2,o=At,At|=4;try{Z0(t,e,a)}finally{At=o,V.p=n,v.T=l}}ee=1,Td(),Md(),zd()}}function Td(){if(ee===1){ee=0;var t=Ga,e=kl,a=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||a){a=v.T,v.T=null;var l=V.p;V.p=2;var n=At;At|=4;try{id(e,t);var i=Rs,o=ro(t.containerInfo),d=i.focusedElem,g=i.selectionRange;if(o!==d&&d&&d.ownerDocument&&so(d.ownerDocument.documentElement,d)){if(g!==null&&tc(d)){var C=g.start,N=g.end;if(N===void 0&&(N=C),"selectionStart"in d)d.selectionStart=C,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(g.start,K),Ot=g.end===void 0?ct:Math.min(g.end,K);!w.extend&&ct>Ot&&(o=Ot,Ot=ct,ct=o);var _=co(d,ct),E=co(d,Ot);if(_&&E&&(w.rangeCount!==1||w.anchorNode!==_.node||w.anchorOffset!==_.offset||w.focusNode!==E.node||w.focusOffset!==E.offset)){var z=H.createRange();z.setStart(_.node,_.offset),w.removeAllRanges(),ct>Ot?(w.addRange(z),w.extend(E.node,E.offset)):(z.setEnd(E.node,E.offset),w.addRange(z))}}}}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}}yu=!!Cs,Rs=Cs=null}finally{At=n,V.p=l,v.T=a}}t.current=e,ee=2}}function Md(){if(ee===2){ee=0;var t=Ga,e=kl,a=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||a){a=v.T,v.T=null;var l=V.p;V.p=2;var n=At;At|=4;try{td(t,e.alternate,e)}finally{At=n,V.p=l,v.T=a}}ee=3}}function zd(){if(ee===4||ee===3){ee=0,Te();var t=Ga,e=kl,a=Ea,l=hd;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ee=5:(ee=0,kl=Ga=null,Cd(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(Va=null),Uu(a),e=e.stateNode,Me&&typeof Me.onCommitFiberRoot=="function")try{Me.onCommitFiberRoot(nn,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=v.T,n=V.p,V.p=2,v.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{v.T=e,V.p=n}}(Ea&3)!==0&&lu(),aa(t),n=t.pendingLanes,(a&261930)!==0&&(n&42)!==0?t===ys?Yn++:(Yn=0,ys=t):Yn=0,Vn(0)}}function Cd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,En(e)))}function lu(){return Td(),Md(),zd(),Rd()}function Rd(){if(ee!==5)return!1;var t=Ga,e=hs;hs=0;var a=Uu(Ea),l=v.T,n=V.p;try{V.p=32>a?32:a,v.T=null,a=ms,ms=null;var i=Ga,o=Ea;if(ee=0,kl=Ga=null,Ea=0,(At&6)!==0)throw Error(c(331));var d=At;if(At|=4,od(i.current),cd(i,i.current,o,a),At=d,Vn(0,!1),Me&&typeof Me.onPostCommitFiberRoot=="function")try{Me.onPostCommitFiberRoot(nn,i)}catch{}return!0}finally{V.p=n,v.T=l,Cd(t,e)}}function Dd(t,e,a){e=qe(a,e),e=Jc(t.stateNode,e,2),t=Ua(t,e,2),t!==null&&(cn(t,2),aa(t))}function zt(t,e,a){if(t.tag===3)Dd(t,t,a);else for(;e!==null;){if(e.tag===3){Dd(e,t,a);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Va===null||!Va.has(l))){t=qe(a,t),a=wf(2),l=Ua(e,a,2),l!==null&&(Of(a,l,e,t),cn(l,2),aa(l));break}}e=e.return}}function ps(t,e,a){var l=t.pingCache;if(l===null){l=t.pingCache=new K0;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)||(os=!0,n.add(a),t=I0.bind(null,t,e,a),e.then(t,t))}function I0(t,e,a){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,Nt===t&&(yt&a)===a&&(Jt===4||Jt===3&&(yt&62914560)===yt&&300>Zt()-Fi?(At&2)===0&&Jl(t,0):fs|=a,Zl===yt&&(Zl=0)),aa(t)}function wd(t,e){e===0&&(e=Ar()),t=ll(t,e),t!==null&&(cn(t,e),aa(t))}function ty(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),wd(t,a)}function ey(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(c(314))}l!==null&&l.delete(e),wd(t,a)}function ay(t,e){return _e(t,e)}var nu=null,$l=null,bs=!1,iu=!1,Ss=!1,Qa=0;function aa(t){t!==$l&&t.next===null&&($l===null?nu=$l=t:$l=$l.next=t),iu=!0,bs||(bs=!0,ny())}function Vn(t,e){if(!Ss&&iu){Ss=!0;do for(var a=!1,l=nu;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,Ud(l,i))}else i=yt,i=ri(l,l===Nt?i:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(i&3)===0||un(l,i)||(a=!0,Ud(l,i));l=l.next}while(a);Ss=!1}}function ly(){Od()}function Od(){iu=bs=!1;var t=0;Qa!==0&&my()&&(t=Qa);for(var e=Zt(),a=null,l=nu;l!==null;){var n=l.next,i=Nd(l,e);i===0?(l.next=null,a===null?nu=n:a.next=n,n===null&&($l=a)):(a=l,(t!==0||(i&3)!==0)&&(iu=!0)),l=n}ee!==0&&ee!==5||Vn(t),Qa!==0&&(Qa=0)}function Nd(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,g=n[o];g===-1?((d&a)===0||(d&l)!==0)&&(n[o]=Dm(d,e)):g<=e&&(t.expiredLanes|=d),i&=~d}if(e=Nt,a=yt,a=ri(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,a===0||t===e&&(Mt===2||Mt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&ue(l),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||un(t,a)){if(e=a&-a,e===t.callbackPriority)return e;switch(l!==null&&ue(l),Uu(a)){case 2:case 8:a=Er;break;case 32:a=ii;break;case 268435456:a=xr;break;default:a=ii}return l=jd.bind(null,t),a=_e(a,l),t.callbackPriority=e,t.callbackNode=a,e}return l!==null&&l!==null&&ue(l),t.callbackPriority=2,t.callbackNode=null,2}function jd(t,e){if(ee!==0&&ee!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(lu()&&t.callbackNode!==a)return null;var l=yt;return l=ri(t,t===Nt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(yd(t,l,e),Nd(t,Zt()),t.callbackNode!=null&&t.callbackNode===a?jd.bind(null,t):null)}function Ud(t,e){if(lu())return null;yd(t,e,!0)}function ny(){gy(function(){(At&6)!==0?_e(Sr,ly):Od()})}function Es(){if(Qa===0){var t=jl;t===0&&(t=ui,ui<<=1,(ui&261888)===0&&(ui=256)),Qa=t}return Qa}function Ld(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:hi(""+t)}function Hd(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 iy(t,e,a,l,n){if(e==="submit"&&a&&a.stateNode===n){var i=Ld((n[ye]||null).action),o=l.submitter;o&&(e=(e=o[ye]||null)?Ld(e.formAction):o.getAttribute("formAction"),e!==null&&(i=e,o=null));var d=new vi("action","action",null,l,n);t.push({event:d,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Qa!==0){var g=o?Hd(n,o):new FormData(n);Vc(a,{pending:!0,data:g,method:n.method,action:i},null,g)}}else typeof i=="function"&&(d.preventDefault(),g=o?Hd(n,o):new FormData(n),Vc(a,{pending:!0,data:g,method:n.method,action:i},i,g))},currentTarget:n}]})}}for(var xs=0;xs<nc.length;xs++){var As=nc[xs],uy=As.toLowerCase(),cy=As[0].toUpperCase()+As.slice(1);Ke(uy,"on"+cy)}Ke(ho,"onAnimationEnd"),Ke(mo,"onAnimationIteration"),Ke(yo,"onAnimationStart"),Ke("dblclick","onDoubleClick"),Ke("focusin","onFocus"),Ke("focusout","onBlur"),Ke(A0,"onTransitionRun"),Ke(_0,"onTransitionStart"),Ke(T0,"onTransitionCancel"),Ke(go,"onTransitionEnd"),Sl("onMouseEnter",["mouseout","mouseover"]),Sl("onMouseLeave",["mouseout","mouseover"]),Sl("onPointerEnter",["pointerout","pointerover"]),Sl("onPointerLeave",["pointerout","pointerover"]),Ia("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ia("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ia("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ia("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ia("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ia("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Gn="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(" "),sy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Gn));function Bd(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],g=d.instance,C=d.currentTarget;if(d=d.listener,g!==i&&n.isPropagationStopped())break t;i=d,n.currentTarget=C;try{i(n)}catch(N){Si(N)}n.currentTarget=null,i=g}else for(o=0;o<l.length;o++){if(d=l[o],g=d.instance,C=d.currentTarget,d=d.listener,g!==i&&n.isPropagationStopped())break t;i=d,n.currentTarget=C;try{i(n)}catch(N){Si(N)}n.currentTarget=null,i=g}}}}function mt(t,e){var a=e[Lu];a===void 0&&(a=e[Lu]=new Set);var l=t+"__bubble";a.has(l)||(qd(e,t,2,!1),a.add(l))}function _s(t,e,a){var l=0;e&&(l|=4),qd(a,t,l,e)}var uu="_reactListening"+Math.random().toString(36).slice(2);function Ts(t){if(!t[uu]){t[uu]=!0,Dr.forEach(function(a){a!=="selectionchange"&&(sy.has(a)||_s(a,!1,t),_s(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[uu]||(e[uu]=!0,_s("selectionchange",!1,e))}}function qd(t,e,a,l){switch(mh(e)){case 2:var n=Ly;break;case 8:n=Hy;break;default:n=Ys}a=n.bind(null,e,a,t),n=void 0,!Zu||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 Ms(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 g=o.tag;if((g===3||g===4)&&o.stateNode.containerInfo===n)return;o=o.return}for(;d!==null;){if(o=vl(d),o===null)return;if(g=o.tag,g===5||g===6||g===26||g===27){l=i=o;continue t}d=d.parentNode}}l=l.return}Gr(function(){var C=i,N=Xu(a),H=[];t:{var R=vo.get(t);if(R!==void 0){var w=vi,K=t;switch(t){case"keypress":if(yi(a)===0)break t;case"keydown":case"keyup":w=e0;break;case"focusin":K="focus",w=$u;break;case"focusout":K="blur",w=$u;break;case"beforeblur":case"afterblur":w=$u;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=Zr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=Xm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=n0;break;case ho:case mo:case yo:w=km;break;case go:w=u0;break;case"scroll":case"scrollend":w=Vm;break;case"wheel":w=s0;break;case"copy":case"cut":case"paste":w=Km;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=Jr;break;case"toggle":case"beforetoggle":w=o0}var ct=(e&4)!==0,Ot=!ct&&(t==="scroll"||t==="scrollend"),_=ct?R!==null?R+"Capture":null:R;ct=[];for(var E=C,z;E!==null;){var U=E;if(z=U.stateNode,U=U.tag,U!==5&&U!==26&&U!==27||z===null||_===null||(U=on(E,_),U!=null&&ct.push(Xn(E,U,z))),Ot)break;E=E.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!==Gu&&(K=a.relatedTarget||a.fromElement)&&(vl(K)||K[gl]))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=C,K=K?vl(K):null,K!==null&&(Ot=h(K),ct=K.tag,K!==Ot||ct!==5&&ct!==27&&ct!==6)&&(K=null)):(w=null,K=C),w!==K)){if(ct=Zr,U="onMouseLeave",_="onMouseEnter",E="mouse",(t==="pointerout"||t==="pointerover")&&(ct=Jr,U="onPointerLeave",_="onPointerEnter",E="pointer"),Ot=w==null?R:rn(w),z=K==null?R:rn(K),R=new ct(U,E+"leave",w,a,N),R.target=Ot,R.relatedTarget=z,U=null,vl(N)===C&&(ct=new ct(_,E+"enter",K,a,N),ct.target=z,ct.relatedTarget=Ot,U=ct),Ot=U,w&&K)e:{for(ct=ry,_=w,E=K,z=0,U=_;U;U=ct(U))z++;U=0;for(var at=E;at;at=ct(at))U++;for(;0<z-U;)_=ct(_),z--;for(;0<U-z;)E=ct(E),U--;for(;z--;){if(_===E||E!==null&&_===E.alternate){ct=_;break e}_=ct(_),E=ct(E)}ct=null}else ct=null;w!==null&&Yd(H,R,w,ct,!1),K!==null&&Ot!==null&&Yd(H,Ot,K,ct,!0)}}t:{if(R=C?rn(C):window,w=R.nodeName&&R.nodeName.toLowerCase(),w==="select"||w==="input"&&R.type==="file")var bt=eo;else if(Ir(R))if(ao)bt=S0;else{bt=p0;var I=v0}else w=R.nodeName,!w||w.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?C&&Vu(C.elementType)&&(bt=eo):bt=b0;if(bt&&(bt=bt(t,C))){to(H,bt,a,N);break t}I&&I(t,R,C),t==="focusout"&&C&&R.type==="number"&&C.memoizedProps.value!=null&&Yu(R,"number",R.value)}switch(I=C?rn(C):window,t){case"focusin":(Ir(I)||I.contentEditable==="true")&&(Ml=I,ec=C,pn=null);break;case"focusout":pn=ec=Ml=null;break;case"mousedown":ac=!0;break;case"contextmenu":case"mouseup":case"dragend":ac=!1,oo(H,a,N);break;case"selectionchange":if(x0)break;case"keydown":case"keyup":oo(H,a,N)}var ft;if(Fu)t:{switch(t){case"compositionstart":var gt="onCompositionStart";break t;case"compositionend":gt="onCompositionEnd";break t;case"compositionupdate":gt="onCompositionUpdate";break t}gt=void 0}else Tl?Fr(t,a)&&(gt="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(gt="onCompositionStart");gt&&(Kr&&a.locale!=="ko"&&(Tl||gt!=="onCompositionStart"?gt==="onCompositionEnd"&&Tl&&(ft=Xr()):(Ca=N,ku="value"in Ca?Ca.value:Ca.textContent,Tl=!0)),I=cu(C,gt),0<I.length&&(gt=new kr(gt,t,null,a,N),H.push({event:gt,listeners:I}),ft?gt.data=ft:(ft=Pr(a),ft!==null&&(gt.data=ft)))),(ft=d0?h0(t,a):m0(t,a))&&(gt=cu(C,"onBeforeInput"),0<gt.length&&(I=new kr("onBeforeInput","beforeinput",null,a,N),H.push({event:I,listeners:gt}),I.data=ft)),iy(H,t,C,a,N)}Bd(H,e)})}function Xn(t,e,a){return{instance:t,listener:e,currentTarget:a}}function cu(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=on(t,a),n!=null&&l.unshift(Xn(t,n,i)),n=on(t,e),n!=null&&l.push(Xn(t,n,i))),t.tag===3)return l;t=t.return}return[]}function ry(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Yd(t,e,a,l,n){for(var i=e._reactName,o=[];a!==null&&a!==l;){var d=a,g=d.alternate,C=d.stateNode;if(d=d.tag,g!==null&&g===l)break;d!==5&&d!==26&&d!==27||C===null||(g=C,n?(C=on(a,i),C!=null&&o.unshift(Xn(a,C,g))):n||(C=on(a,i),C!=null&&o.push(Xn(a,C,g)))),a=a.return}o.length!==0&&t.push({event:e,listeners:o})}var oy=/\r\n?/g,fy=/\u0000|\uFFFD/g;function Vd(t){return(typeof t=="string"?t:""+t).replace(oy,`
`).replace(fy,"")}function Gd(t,e){return e=Vd(e),Vd(t)===e}function wt(t,e,a,l,n,i){switch(a){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||xl(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&xl(t,""+l);break;case"className":fi(t,"class",l);break;case"tabIndex":fi(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":fi(t,a,l);break;case"style":Yr(t,l,i);break;case"data":if(e!=="object"){fi(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=hi(""+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"&&wt(t,e,"name",n.name,n,null),wt(t,e,"formEncType",n.formEncType,n,null),wt(t,e,"formMethod",n.formMethod,n,null),wt(t,e,"formTarget",n.formTarget,n,null)):(wt(t,e,"encType",n.encType,n,null),wt(t,e,"method",n.method,n,null),wt(t,e,"target",n.target,n,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=hi(""+l),t.setAttribute(a,l);break;case"onClick":l!=null&&(t.onclick=ua);break;case"onScroll":l!=null&&mt("scroll",t);break;case"onScrollEnd":l!=null&&mt("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(c(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=hi(""+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":mt("beforetoggle",t),mt("toggle",t),oi(t,"popover",l);break;case"xlinkActuate":ia(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":ia(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":ia(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":ia(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":ia(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":ia(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":ia(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":ia(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":ia(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":oi(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=qm.get(a)||a,oi(t,a,l))}}function zs(t,e,a,l,n,i){switch(a){case"style":Yr(t,l,i);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(c(60));t.innerHTML=a}}break;case"children":typeof l=="string"?xl(t,l):(typeof l=="number"||typeof l=="bigint")&&xl(t,""+l);break;case"onScroll":l!=null&&mt("scroll",t);break;case"onScrollEnd":l!=null&&mt("scrollend",t);break;case"onClick":l!=null&&(t.onclick=ua);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!wr.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[ye]||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,""):oi(t,a,l)}}}function fe(t,e,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":mt("error",t),mt("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(c(137,e));default:wt(t,e,i,o,a,null)}}n&&wt(t,e,"srcSet",a.srcSet,a,null),l&&wt(t,e,"src",a.src,a,null);return;case"input":mt("invalid",t);var d=i=o=n=null,g=null,C=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":g=N;break;case"defaultChecked":C=N;break;case"value":i=N;break;case"defaultValue":d=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(c(137,e));break;default:wt(t,e,l,N,a,null)}}Lr(t,i,d,g,C,o,n,!1);return;case"select":mt("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:wt(t,e,n,d,a,null)}e=i,a=o,t.multiple=!!l,e!=null?El(t,!!l,e,!1):a!=null&&El(t,!!l,a,!0);return;case"textarea":mt("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(c(91));break;default:wt(t,e,o,d,a,null)}Br(t,l,n,i);return;case"option":for(g in a)if(a.hasOwnProperty(g)&&(l=a[g],l!=null))switch(g){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:wt(t,e,g,l,a,null)}return;case"dialog":mt("beforetoggle",t),mt("toggle",t),mt("cancel",t),mt("close",t);break;case"iframe":case"object":mt("load",t);break;case"video":case"audio":for(l=0;l<Gn.length;l++)mt(Gn[l],t);break;case"image":mt("error",t),mt("load",t);break;case"details":mt("toggle",t);break;case"embed":case"source":case"link":mt("error",t),mt("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(C in a)if(a.hasOwnProperty(C)&&(l=a[C],l!=null))switch(C){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:wt(t,e,C,l,a,null)}return;default:if(Vu(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&&wt(t,e,d,l,a,null))}function dy(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,g=null,C=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":g=H;default:l.hasOwnProperty(w)||wt(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":C=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(c(137,e));break;default:w!==H&&wt(t,e,R,w,l,H)}}qu(t,o,d,g,C,N,i,n);return;case"select":w=o=d=R=null;for(i in a)if(g=a[i],a.hasOwnProperty(i)&&g!=null)switch(i){case"value":break;case"multiple":w=g;default:l.hasOwnProperty(i)||wt(t,e,i,null,l,g)}for(n in l)if(i=l[n],g=a[n],l.hasOwnProperty(n)&&(i!=null||g!=null))switch(n){case"value":R=i;break;case"defaultValue":d=i;break;case"multiple":o=i;default:i!==g&&wt(t,e,n,i,l,g)}e=d,a=o,l=w,R!=null?El(t,!!a,R,!1):!!l!=!!a&&(e!=null?El(t,!!a,e,!0):El(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:wt(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(c(91));break;default:n!==i&&wt(t,e,o,n,l,i)}Hr(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:wt(t,e,K,null,l,R)}for(g in l)if(R=l[g],w=a[g],l.hasOwnProperty(g)&&R!==w&&(R!=null||w!=null))switch(g){case"selected":t.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:wt(t,e,g,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)&&wt(t,e,ct,null,l,R);for(C in l)if(R=l[C],w=a[C],l.hasOwnProperty(C)&&R!==w&&(R!=null||w!=null))switch(C){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(c(137,e));break;default:wt(t,e,C,R,l,w)}return;default:if(Vu(e)){for(var Ot in a)R=a[Ot],a.hasOwnProperty(Ot)&&R!==void 0&&!l.hasOwnProperty(Ot)&&zs(t,e,Ot,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 _ in a)R=a[_],a.hasOwnProperty(_)&&R!=null&&!l.hasOwnProperty(_)&&wt(t,e,_,null,l,R);for(H in l)R=l[H],w=a[H],!l.hasOwnProperty(H)||R===w||R==null&&w==null||wt(t,e,H,R,l,w)}function Xd(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function hy(){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&&Xd(o)){for(o=0,d=n.responseEnd,l+=1;l<a.length;l++){var g=a[l],C=g.startTime;if(C>d)break;var N=g.transferSize,H=g.initiatorType;N&&Xd(H)&&(g=g.responseEnd,o+=N*(g<d?1:(d-C)/(g-C)))}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 Cs=null,Rs=null;function su(t){return t.nodeType===9?t:t.ownerDocument}function Qd(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 Zd(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 Ds(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 ws=null;function my(){var t=window.event;return t&&t.type==="popstate"?t===ws?!1:(ws=t,!0):(ws=null,!1)}var kd=typeof setTimeout=="function"?setTimeout:void 0,yy=typeof clearTimeout=="function"?clearTimeout:void 0,Jd=typeof Promise=="function"?Promise:void 0,gy=typeof queueMicrotask=="function"?queueMicrotask:typeof Jd<"u"?function(t){return Jd.resolve(null).then(t).catch(vy)}:kd;function vy(t){setTimeout(function(){throw t})}function Za(t){return t==="head"}function Kd(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),Il(e);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")Qn(t.ownerDocument.documentElement);else if(a==="head"){a=t.ownerDocument.head,Qn(a);for(var i=a.firstChild;i;){var o=i.nextSibling,d=i.nodeName;i[sn]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||a.removeChild(i),i=o}}else a==="body"&&Qn(t.ownerDocument.body);a=n}while(a);Il(e)}function $d(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 Os(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":Os(a),Hu(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function py(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[sn])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=Qe(t.nextSibling),t===null)break}return null}function by(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Qe(t.nextSibling),t===null))return null;return t}function Wd(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Qe(t.nextSibling),t===null))return null;return t}function Ns(t){return t.data==="$?"||t.data==="$~"}function js(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Sy(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 Qe(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 Us=null;function Fd(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="/$"||a==="/&"){if(e===0)return Qe(t.nextSibling);e--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||e++}t=t.nextSibling}return null}function Pd(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 Id(t,e,a){switch(e=su(a),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function Qn(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Hu(t)}var Ze=new Map,th=new Set;function ru(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var xa=V.d;V.d={f:Ey,r:xy,D:Ay,C:_y,L:Ty,m:My,X:Cy,S:zy,M:Ry};function Ey(){var t=xa.f(),e=tu();return t||e}function xy(t){var e=pl(t);e!==null&&e.tag===5&&e.type==="form"?vf(e):xa.r(t)}var Wl=typeof document>"u"?null:document;function eh(t,e,a){var l=Wl;if(l&&typeof e=="string"&&e){var n=He(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof a=="string"&&(n+='[crossorigin="'+a+'"]'),th.has(n)||(th.add(n),t={rel:t,crossOrigin:a,href:e},l.querySelector(n)===null&&(e=l.createElement("link"),fe(e,"link",t),le(e),l.head.appendChild(e)))}}function Ay(t){xa.D(t),eh("dns-prefetch",t,null)}function _y(t,e){xa.C(t,e),eh("preconnect",t,e)}function Ty(t,e,a){xa.L(t,e,a);var l=Wl;if(l&&t&&e){var n='link[rel="preload"][as="'+He(e)+'"]';e==="image"&&a&&a.imageSrcSet?(n+='[imagesrcset="'+He(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(n+='[imagesizes="'+He(a.imageSizes)+'"]')):n+='[href="'+He(t)+'"]';var i=n;switch(e){case"style":i=Fl(t);break;case"script":i=Pl(t)}Ze.has(i)||(t=M({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),Ze.set(i,t),l.querySelector(n)!==null||e==="style"&&l.querySelector(Zn(i))||e==="script"&&l.querySelector(kn(i))||(e=l.createElement("link"),fe(e,"link",t),le(e),l.head.appendChild(e)))}}function My(t,e){xa.m(t,e);var a=Wl;if(a&&t){var l=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+He(l)+'"][href="'+He(t)+'"]',i=n;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Pl(t)}if(!Ze.has(i)&&(t=M({rel:"modulepreload",href:t},e),Ze.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"),fe(l,"link",t),le(l),a.head.appendChild(l)}}}function zy(t,e,a){xa.S(t,e,a);var l=Wl;if(l&&t){var n=bl(l).hoistableStyles,i=Fl(t);e=e||"default";var o=n.get(i);if(!o){var d={loading:0,preload:null};if(o=l.querySelector(Zn(i)))d.loading=5;else{t=M({rel:"stylesheet",href:t,"data-precedence":e},a),(a=Ze.get(i))&&Ls(t,a);var g=o=l.createElement("link");le(g),fe(g,"link",t),g._p=new Promise(function(C,N){g.onload=C,g.onerror=N}),g.addEventListener("load",function(){d.loading|=1}),g.addEventListener("error",function(){d.loading|=2}),d.loading|=4,ou(o,e,l)}o={type:"stylesheet",instance:o,count:1,state:d},n.set(i,o)}}}function Cy(t,e){xa.X(t,e);var a=Wl;if(a&&t){var l=bl(a).hoistableScripts,n=Pl(t),i=l.get(n);i||(i=a.querySelector(kn(n)),i||(t=M({src:t,async:!0},e),(e=Ze.get(n))&&Hs(t,e),i=a.createElement("script"),le(i),fe(i,"link",t),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},l.set(n,i))}}function Ry(t,e){xa.M(t,e);var a=Wl;if(a&&t){var l=bl(a).hoistableScripts,n=Pl(t),i=l.get(n);i||(i=a.querySelector(kn(n)),i||(t=M({src:t,async:!0,type:"module"},e),(e=Ze.get(n))&&Hs(t,e),i=a.createElement("script"),le(i),fe(i,"link",t),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},l.set(n,i))}}function ah(t,e,a,l){var n=(n=j.current)?ru(n):null;if(!n)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(e=Fl(a.href),a=bl(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=Fl(a.href);var i=bl(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(Zn(t)))&&!i._p&&(o.instance=i,o.state.loading=5),Ze.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},Ze.set(t,a),i||Dy(n,t,a,o.state))),e&&l===null)throw Error(c(528,""));return o}if(e&&l!==null)throw Error(c(529,""));return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Pl(a),a=bl(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(c(444,t))}}function Fl(t){return'href="'+He(t)+'"'}function Zn(t){return'link[rel="stylesheet"]['+t+"]"}function lh(t){return M({},t,{"data-precedence":t.precedence,precedence:null})}function Dy(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}),fe(e,"link",a),le(e),t.head.appendChild(e))}function Pl(t){return'[src="'+He(t)+'"]'}function kn(t){return"script[async]"+t}function nh(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+He(a.href)+'"]');if(l)return e.instance=l,le(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"),le(l),fe(l,"style",n),ou(l,a.precedence,t),e.instance=l;case"stylesheet":n=Fl(a.href);var i=t.querySelector(Zn(n));if(i)return e.state.loading|=4,e.instance=i,le(i),i;l=lh(a),(n=Ze.get(n))&&Ls(l,n),i=(t.ownerDocument||t).createElement("link"),le(i);var o=i;return o._p=new Promise(function(d,g){o.onload=d,o.onerror=g}),fe(i,"link",l),e.state.loading|=4,ou(i,a.precedence,t),e.instance=i;case"script":return i=Pl(a.src),(n=t.querySelector(kn(i)))?(e.instance=n,le(n),n):(l=a,(n=Ze.get(i))&&(l=M({},a),Hs(l,n)),t=t.ownerDocument||t,n=t.createElement("script"),le(n),fe(n,"link",l),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,ou(l,a.precedence,t));return e.instance}function ou(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 Ls(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Hs(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var fu=null;function ih(t,e,a){if(fu===null){var l=new Map,n=fu=new Map;n.set(a,l)}else n=fu,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[sn]||i[ce]||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 uh(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function wy(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 ch(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Oy(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=Fl(l.href),i=e.querySelector(Zn(n));if(i){e=i._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=du.bind(t),e.then(t,t)),a.state.loading|=4,a.instance=i,le(i);return}i=e.ownerDocument||e,l=lh(l),(n=Ze.get(n))&&Ls(l,n),i=i.createElement("link"),le(i);var o=i;o._p=new Promise(function(d,g){o.onload=d,o.onerror=g}),fe(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=du.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}var Bs=0;function Ny(t,e){return t.stylesheets&&t.count===0&&mu(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var l=setTimeout(function(){if(t.stylesheets&&mu(t,t.stylesheets),t.unsuspend){var i=t.unsuspend;t.unsuspend=null,i()}},6e4+e);0<t.imgBytes&&Bs===0&&(Bs=62500*hy());var n=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&mu(t,t.stylesheets),t.unsuspend)){var i=t.unsuspend;t.unsuspend=null,i()}},(t.imgBytes>Bs?50:800)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(n)}}:null}function du(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)mu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var hu=null;function mu(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,hu=new Map,e.forEach(jy,t),hu=null,du.call(t))}function jy(t,e){if(!(e.state.loading&4)){var a=hu.get(t);if(a)var l=a.get(null);else{a=new Map,hu.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=du.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 Jn={$$typeof:G,Provider:null,Consumer:null,_currentValue:k,_currentValue2:k,_threadCount:0};function Uy(t,e,a,l,n,i,o,d,g){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=Nu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nu(0),this.hiddenUpdates=Nu(null),this.identifierPrefix=l,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map}function sh(t,e,a,l,n,i,o,d,g,C,N,H){return t=new Uy(t,e,a,o,g,C,N,H,d),e=1,i===!0&&(e|=24),i=Re(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},Ec(i),t}function rh(t){return t?(t=Rl,t):Rl}function oh(t,e,a,l,n,i){n=rh(n),l.context===null?l.context=n:l.pendingContext=n,l=ja(e),l.payload={element:a},i=i===void 0?null:i,i!==null&&(l.callback=i),a=Ua(t,l,e),a!==null&&(Ee(a,t,e),Tn(a,t,e))}function fh(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function qs(t,e){fh(t,e),(t=t.alternate)&&fh(t,e)}function dh(t){if(t.tag===13||t.tag===31){var e=ll(t,67108864);e!==null&&Ee(e,t,67108864),qs(t,67108864)}}function hh(t){if(t.tag===13||t.tag===31){var e=je();e=ju(e);var a=ll(t,e);a!==null&&Ee(a,t,e),qs(t,e)}}var yu=!0;function Ly(t,e,a,l){var n=v.T;v.T=null;var i=V.p;try{V.p=2,Ys(t,e,a,l)}finally{V.p=i,v.T=n}}function Hy(t,e,a,l){var n=v.T;v.T=null;var i=V.p;try{V.p=8,Ys(t,e,a,l)}finally{V.p=i,v.T=n}}function Ys(t,e,a,l){if(yu){var n=Vs(l);if(n===null)Ms(t,e,l,gu,a),yh(t,l);else if(qy(n,t,e,a,l))l.stopPropagation();else if(yh(t,l),e&4&&-1<By.indexOf(t)){for(;n!==null;){var i=pl(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var o=Pa(i.pendingLanes);if(o!==0){var d=i;for(d.pendingLanes|=2,d.entangledLanes|=2;o;){var g=1<<31-ze(o);d.entanglements[1]|=g,o&=~g}aa(i),(At&6)===0&&(Pi=Zt()+500,Vn(0))}}break;case 31:case 13:d=ll(i,2),d!==null&&Ee(d,i,2),tu(),qs(i,2)}if(i=Vs(l),i===null&&Ms(t,e,l,gu,a),i===n)break;n=i}n!==null&&l.stopPropagation()}else Ms(t,e,l,null,a)}}function Vs(t){return t=Xu(t),Gs(t)}var gu=null;function Gs(t){if(gu=null,t=vl(t),t!==null){var e=h(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=p(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 gu=t,null}function mh(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(na()){case Sr:return 2;case Er:return 8;case ii:case _m:return 32;case xr:return 268435456;default:return 32}default:return 32}}var Xs=!1,ka=null,Ja=null,Ka=null,Kn=new Map,$n=new Map,$a=[],By="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 yh(t,e){switch(t){case"focusin":case"focusout":ka=null;break;case"dragenter":case"dragleave":Ja=null;break;case"mouseover":case"mouseout":Ka=null;break;case"pointerover":case"pointerout":Kn.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":$n.delete(e.pointerId)}}function Wn(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=pl(e),e!==null&&dh(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function qy(t,e,a,l,n){switch(e){case"focusin":return ka=Wn(ka,t,e,a,l,n),!0;case"dragenter":return Ja=Wn(Ja,t,e,a,l,n),!0;case"mouseover":return Ka=Wn(Ka,t,e,a,l,n),!0;case"pointerover":var i=n.pointerId;return Kn.set(i,Wn(Kn.get(i)||null,t,e,a,l,n)),!0;case"gotpointercapture":return i=n.pointerId,$n.set(i,Wn($n.get(i)||null,t,e,a,l,n)),!0}return!1}function gh(t){var e=vl(t.target);if(e!==null){var a=h(e);if(a!==null){if(e=a.tag,e===13){if(e=p(a),e!==null){t.blockedOn=e,Cr(t.priority,function(){hh(a)});return}}else if(e===31){if(e=A(a),e!==null){t.blockedOn=e,Cr(t.priority,function(){hh(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 vu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Vs(t.nativeEvent);if(a===null){a=t.nativeEvent;var l=new a.constructor(a.type,a);Gu=l,a.target.dispatchEvent(l),Gu=null}else return e=pl(a),e!==null&&dh(e),t.blockedOn=a,!1;e.shift()}return!0}function vh(t,e,a){vu(t)&&a.delete(e)}function Yy(){Xs=!1,ka!==null&&vu(ka)&&(ka=null),Ja!==null&&vu(Ja)&&(Ja=null),Ka!==null&&vu(Ka)&&(Ka=null),Kn.forEach(vh),$n.forEach(vh)}function pu(t,e){t.blockedOn===e&&(t.blockedOn=null,Xs||(Xs=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Yy)))}var bu=null;function ph(t){bu!==t&&(bu=t,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){bu===t&&(bu=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(Gs(l||a)===null)continue;break}var i=pl(a);i!==null&&(t.splice(e,3),e-=3,Vc(i,{pending:!0,data:n,method:a.method,action:l},l,n))}}))}function Il(t){function e(g){return pu(g,t)}ka!==null&&pu(ka,t),Ja!==null&&pu(Ja,t),Ka!==null&&pu(Ka,t),Kn.forEach(e),$n.forEach(e);for(var a=0;a<$a.length;a++){var l=$a[a];l.blockedOn===t&&(l.blockedOn=null)}for(;0<$a.length&&(a=$a[0],a.blockedOn===null);)gh(a),a.blockedOn===null&&$a.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[ye]||null;if(typeof i=="function")o||ph(a);else if(o){var d=null;if(i&&i.hasAttribute("formAction")){if(n=i,o=i[ye]||null)d=o.formAction;else if(Gs(n)!==null)continue}else d=o.action;typeof d=="function"?a[l+1]=d:(a.splice(l,3),l-=3),ph(a)}}}function bh(){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 Qs(t){this._internalRoot=t}Su.prototype.render=Qs.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var a=e.current,l=je();oh(a,l,t,e,null,null)},Su.prototype.unmount=Qs.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;oh(t.current,2,null,t,null,null),tu(),e[gl]=null}};function Su(t){this._internalRoot=t}Su.prototype.unstable_scheduleHydration=function(t){if(t){var e=zr();t={blockedOn:null,target:t,priority:e};for(var a=0;a<$a.length&&e!==0&&e<$a[a].priority;a++);$a.splice(a,0,t),a===0&&gh(t)}};var Sh=s.version;if(Sh!=="19.2.7")throw Error(c(527,Sh,"19.2.7"));V.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=y(e),t=t!==null?D(t):null,t=t===null?null:t.stateNode,t};var Vy={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:v,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Eu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Eu.isDisabled&&Eu.supportsFiber)try{nn=Eu.inject(Vy),Me=Eu}catch{}}return Pn.createRoot=function(t,e){if(!f(t))throw Error(c(299));var a=!1,l="",n=zf,i=Cf,o=Rf;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=sh(t,1,!1,null,null,a,l,null,n,i,o,bh),t[gl]=e.current,Ts(t),new Qs(e)},Pn.hydrateRoot=function(t,e,a){if(!f(t))throw Error(c(299));var l=!1,n="",i=zf,o=Cf,d=Rf,g=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&&(g=a.formState)),e=sh(t,1,!0,e,a??null,l,n,g,i,o,d,bh),e.context=rh(null),a=e.current,l=je(),l=ju(l),n=ja(l),n.callback=null,Ua(a,n,l),a=l,e.current.lanes=a,cn(e,a),aa(e),t[gl]=e.current,Ts(t),new Su(e)},Pn.version="19.2.7",Pn}var wh;function Iy(){if(wh)return Js.exports;wh=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(s){console.error(s)}}return u(),Js.exports=Py(),Js.exports}var tg=Iy();/**
* 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 Oh="popstate";function Nh(u){return typeof u=="object"&&u!=null&&"pathname"in u&&"search"in u&&"hash"in u&&"state"in u&&"key"in u}function eg(u={}){function s(c,f){var y;let h=(y=f.state)==null?void 0:y.masked,{pathname:p,search:A,hash:b}=h||c.location;return lr("",{pathname:p,search:A,hash:b},f.state&&f.state.usr||null,f.state&&f.state.key||"default",h?{pathname:c.location.pathname,search:c.location.search,hash:c.location.hash}:void 0)}function r(c,f){return typeof f=="string"?f:ei(f)}return lg(s,r,null,u)}function Yt(u,s){if(u===!1||u===null||typeof u>"u")throw new Error(s)}function ke(u,s){if(!u){typeof console<"u"&&console.warn(s);try{throw new Error(s)}catch{}}}function ag(){return Math.random().toString(36).substring(2,10)}function jh(u,s){return{usr:u.state,key:u.key,idx:s,masked:u.mask?{pathname:u.pathname,search:u.search,hash:u.hash}:void 0}}function lr(u,s,r=null,c,f){return{pathname:typeof u=="string"?u:u.pathname,search:"",hash:"",...typeof s=="string"?en(s):s,state:r,key:s&&s.key||c||ag(),mask:f}}function ei({pathname:u="/",search:s="",hash:r=""}){return s&&s!=="?"&&(u+=s.charAt(0)==="?"?s:"?"+s),r&&r!=="#"&&(u+=r.charAt(0)==="#"?r:"#"+r),u}function en(u){let s={};if(u){let r=u.indexOf("#");r>=0&&(s.hash=u.substring(r),u=u.substring(0,r));let c=u.indexOf("?");c>=0&&(s.search=u.substring(c),u=u.substring(0,c)),u&&(s.pathname=u)}return s}function lg(u,s,r,c={}){let{window:f=document.defaultView,v5Compat:h=!1}=c,p=f.history,A="POP",b=null,y=D();y==null&&(y=0,p.replaceState({...p.state,idx:y},""));function D(){return(p.state||{idx:null}).idx}function M(){A="POP";let q=D(),L=q==null?null:q-y;y=q,b&&b({action:A,location:Z.location,delta:L})}function Y(q,L){A="PUSH";let m=Nh(q)?q:lr(Z.location,q,L);y=D()+1;let G=jh(m,y),X=Z.createHref(m.mask||m);try{p.pushState(G,"",X)}catch(tt){if(tt instanceof DOMException&&tt.name==="DataCloneError")throw tt;f.location.assign(X)}h&&b&&b({action:A,location:Z.location,delta:1})}function $(q,L){A="REPLACE";let m=Nh(q)?q:lr(Z.location,q,L);y=D();let G=jh(m,y),X=Z.createHref(m.mask||m);p.replaceState(G,"",X),h&&b&&b({action:A,location:Z.location,delta:0})}function W(q){return ng(f,q)}let Z={get action(){return A},get location(){return u(f,p)},listen(q){if(b)throw new Error("A history only accepts one active listener");return f.addEventListener(Oh,M),b=q,()=>{f.removeEventListener(Oh,M),b=null}},createHref(q){return s(f,q)},createURL:W,encodeLocation(q){let L=W(q);return{pathname:L.pathname,search:L.search,hash:L.hash}},push:Y,replace:$,go(q){return p.go(q)}};return Z}function ng(u,s,r=!1){let c="http://localhost";u&&(c=u.location.origin!=="null"?u.location.origin:u.location.href),Yt(c,"No window.location.(origin|href) available to create URL");let f=typeof s=="string"?s:ei(s);return f=f.replace(/ $/,"%20"),!r&&f.startsWith("//")&&(f=c+f),new URL(f,c)}function Ih(u,s,r="/"){return ig(u,s,r,!1)}function ig(u,s,r,c,f){let h=typeof s=="string"?en(s):s,p=Aa(h.pathname||"/",r);if(p==null)return null;let A=ug(u),b=null,y=pg(p);for(let D=0;b==null&&D<A.length;++D)b=gg(A[D],y,c);return b}function ug(u){let s=tm(u);return cg(s),s}function tm(u,s=[],r=[],c="",f=!1){let h=(p,A,b=f,y)=>{let D={relativePath:y===void 0?p.path||"":y,caseSensitive:p.caseSensitive===!0,childrenIndex:A,route:p};if(D.relativePath.startsWith("/")){if(!D.relativePath.startsWith(c)&&b)return;Yt(D.relativePath.startsWith(c),`Absolute route path "${D.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),D.relativePath=D.relativePath.slice(c.length)}let M=Fe([c,D.relativePath]),Y=r.concat(D);p.children&&p.children.length>0&&(Yt(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${M}".`),tm(p.children,s,Y,M,b)),!(p.path==null&&!p.index)&&s.push({path:M,score:mg(M,p.index),routesMeta:Y})};return u.forEach((p,A)=>{var b;if(p.path===""||!((b=p.path)!=null&&b.includes("?")))h(p,A);else for(let y of em(p.path))h(p,A,!0,y)}),s}function em(u){let s=u.split("/");if(s.length===0)return[];let[r,...c]=s,f=r.endsWith("?"),h=r.replace(/\?$/,"");if(c.length===0)return f?[h,""]:[h];let p=em(c.join("/")),A=[];return A.push(...p.map(b=>b===""?h:[h,b].join("/"))),f&&A.push(...p),A.map(b=>u.startsWith("/")&&b===""?"/":b)}function cg(u){u.sort((s,r)=>s.score!==r.score?r.score-s.score:yg(s.routesMeta.map(c=>c.childrenIndex),r.routesMeta.map(c=>c.childrenIndex)))}var sg=/^:[\w-]+$/,rg=3,og=2,fg=1,dg=10,hg=-2,Uh=u=>u==="*";function mg(u,s){let r=u.split("/"),c=r.length;return r.some(Uh)&&(c+=hg),s&&(c+=og),r.filter(f=>!Uh(f)).reduce((f,h)=>f+(sg.test(h)?rg:h===""?fg:dg),c)}function yg(u,s){return u.length===s.length&&u.slice(0,-1).every((c,f)=>c===s[f])?u[u.length-1]-s[s.length-1]:0}function gg(u,s,r=!1){let{routesMeta:c}=u,f={},h="/",p=[];for(let A=0;A<c.length;++A){let b=c[A],y=A===c.length-1,D=h==="/"?s:s.slice(h.length)||"/",M=Tu({path:b.relativePath,caseSensitive:b.caseSensitive,end:y},D),Y=b.route;if(!M&&y&&r&&!c[c.length-1].route.index&&(M=Tu({path:b.relativePath,caseSensitive:b.caseSensitive,end:!1},D)),!M)return null;Object.assign(f,M.params),p.push({params:f,pathname:Fe([h,M.pathname]),pathnameBase:xg(Fe([h,M.pathnameBase])),route:Y}),M.pathnameBase!=="/"&&(h=Fe([h,M.pathnameBase]))}return p}function Tu(u,s){typeof u=="string"&&(u={path:u,caseSensitive:!1,end:!0});let[r,c]=vg(u.path,u.caseSensitive,u.end),f=s.match(r);if(!f)return null;let h=f[0],p=h.replace(/(.)\/+$/,"$1"),A=f.slice(1);return{params:c.reduce((y,{paramName:D,isOptional:M},Y)=>{if(D==="*"){let W=A[Y]||"";p=h.slice(0,h.length-W.length).replace(/(.)\/+$/,"$1")}const $=A[Y];return M&&!$?y[D]=void 0:y[D]=($||"").replace(/%2F/g,"/"),y},{}),pathname:h,pathnameBase:p,pattern:u}}function vg(u,s=!1,r=!0){ke(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 c=[],f="^"+u.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,A,b,y,D)=>{if(c.push({paramName:A,isOptional:b!=null}),b){let M=D.charAt(y+p.length);return M&&M!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return u.endsWith("*")?(c.push({paramName:"*"}),f+=u==="*"||u==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?f+="\\/*$":u!==""&&u!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,s?void 0:"i"),c]}function pg(u){try{return u.split("/").map(s=>decodeURIComponent(s).replace(/\//g,"%2F")).join("/")}catch(s){return ke(!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 (${s}).`),u}}function Aa(u,s){if(s==="/")return u;if(!u.toLowerCase().startsWith(s.toLowerCase()))return null;let r=s.endsWith("/")?s.length-1:s.length,c=u.charAt(r);return c&&c!=="/"?null:u.slice(r)||"/"}var bg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Sg(u,s="/"){let{pathname:r,search:c="",hash:f=""}=typeof u=="string"?en(u):u,h;return r?(r=am(r),r.startsWith("/")?h=Lh(r.substring(1),"/"):h=Lh(r,s)):h=s,{pathname:h,search:Ag(c),hash:_g(f)}}function Lh(u,s){let r=Mu(s).split("/");return u.split("/").forEach(f=>{f===".."?r.length>1&&r.pop():f!=="."&&r.push(f)}),r.length>1?r.join("/"):"/"}function Fs(u,s,r,c){return`Cannot include a '${u}' character in a manually specified \`to.${s}\` field [${JSON.stringify(c)}]. 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 Eg(u){return u.filter((s,r)=>r===0||s.route.path&&s.route.path.length>0)}function or(u){let s=Eg(u);return s.map((r,c)=>c===s.length-1?r.pathname:r.pathnameBase)}function zu(u,s,r,c=!1){let f;typeof u=="string"?f=en(u):(f={...u},Yt(!f.pathname||!f.pathname.includes("?"),Fs("?","pathname","search",f)),Yt(!f.pathname||!f.pathname.includes("#"),Fs("#","pathname","hash",f)),Yt(!f.search||!f.search.includes("#"),Fs("#","search","hash",f)));let h=u===""||f.pathname==="",p=h?"/":f.pathname,A;if(p==null)A=r;else{let M=s.length-1;if(!c&&p.startsWith("..")){let Y=p.split("/");for(;Y[0]==="..";)Y.shift(),M-=1;f.pathname=Y.join("/")}A=M>=0?s[M]:"/"}let b=Sg(f,A),y=p&&p!=="/"&&p.endsWith("/"),D=(h||p===".")&&r.endsWith("/");return!b.pathname.endsWith("/")&&(y||D)&&(b.pathname+="/"),b}var am=u=>u.replace(/\/\/+/g,"/"),Fe=u=>am(u.join("/")),Mu=u=>u.replace(/\/+$/,""),xg=u=>Mu(u).replace(/^\/*/,"/"),Ag=u=>!u||u==="?"?"":u.startsWith("?")?u:"?"+u,_g=u=>!u||u==="#"?"":u.startsWith("#")?u:"#"+u,Tg=class{constructor(u,s,r,c=!1){this.status=u,this.statusText=s||"",this.internal=c,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function Mg(u){return u!=null&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.internal=="boolean"&&"data"in u}function zg(u){let s=u.map(r=>r.route.path).filter(Boolean);return Fe(s)||"/"}var lm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function nm(u,s){let r=u;if(typeof r!="string"||!bg.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let c=r,f=!1;if(lm)try{let h=new URL(window.location.href),p=r.startsWith("//")?new URL(h.protocol+r):new URL(r),A=Aa(p.pathname,s);p.origin===h.origin&&A!=null?r=A+p.search+p.hash:f=!0}catch{ke(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:c,isExternal:f,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var im=["POST","PUT","PATCH","DELETE"];new Set(im);var Cg=["GET",...im];new Set(Cg);var an=S.createContext(null);an.displayName="DataRouter";var Cu=S.createContext(null);Cu.displayName="DataRouterState";var um=S.createContext(!1);function Rg(){return S.useContext(um)}var cm=S.createContext({isTransitioning:!1});cm.displayName="ViewTransition";var Dg=S.createContext(new Map);Dg.displayName="Fetchers";var wg=S.createContext(null);wg.displayName="Await";var Ue=S.createContext(null);Ue.displayName="Navigation";var li=S.createContext(null);li.displayName="Location";var Je=S.createContext({outlet:null,matches:[],isDataRoute:!1});Je.displayName="Route";var fr=S.createContext(null);fr.displayName="RouteError";var sm="REACT_ROUTER_ERROR",Og="REDIRECT",Ng="ROUTE_ERROR_RESPONSE";function jg(u){if(u.startsWith(`${sm}:${Og}:{`))try{let s=JSON.parse(u.slice(28));if(typeof s=="object"&&s&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.location=="string"&&typeof s.reloadDocument=="boolean"&&typeof s.replace=="boolean")return s}catch{}}function Ug(u){if(u.startsWith(`${sm}:${Ng}:{`))try{let s=JSON.parse(u.slice(40));if(typeof s=="object"&&s&&typeof s.status=="number"&&typeof s.statusText=="string")return new Tg(s.status,s.statusText,s.data)}catch{}}function Lg(u,{relative:s}={}){Yt(ln(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:c}=S.useContext(Ue),{hash:f,pathname:h,search:p}=ni(u,{relative:s}),A=h;return r!=="/"&&(A=h==="/"?r:Fe([r,h])),c.createHref({pathname:A,search:p,hash:f})}function ln(){return S.useContext(li)!=null}function Pe(){return Yt(ln(),"useLocation() may be used only in the context of a <Router> component."),S.useContext(li).location}var rm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function om(u){S.useContext(Ue).static||S.useLayoutEffect(u)}function Ru(){let{isDataRoute:u}=S.useContext(Je);return u?Pg():Hg()}function Hg(){Yt(ln(),"useNavigate() may be used only in the context of a <Router> component.");let u=S.useContext(an),{basename:s,navigator:r}=S.useContext(Ue),{matches:c}=S.useContext(Je),{pathname:f}=Pe(),h=JSON.stringify(or(c)),p=S.useRef(!1);return om(()=>{p.current=!0}),S.useCallback((b,y={})=>{if(ke(p.current,rm),!p.current)return;if(typeof b=="number"){r.go(b);return}let D=zu(b,JSON.parse(h),f,y.relative==="path");u==null&&s!=="/"&&(D.pathname=D.pathname==="/"?s:Fe([s,D.pathname])),(y.replace?r.replace:r.push)(D,y.state,y)},[s,r,h,f,u])}var Bg=S.createContext(null);function qg(u){let s=S.useContext(Je).outlet;return S.useMemo(()=>s&&S.createElement(Bg.Provider,{value:u},s),[s,u])}function Yg(){let{matches:u}=S.useContext(Je),s=u[u.length-1];return(s==null?void 0:s.params)??{}}function ni(u,{relative:s}={}){let{matches:r}=S.useContext(Je),{pathname:c}=Pe(),f=JSON.stringify(or(r));return S.useMemo(()=>zu(u,JSON.parse(f),c,s==="path"),[u,f,c,s])}function Vg(u,s){return fm(u,s)}function fm(u,s,r){var q;Yt(ln(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=S.useContext(Ue),{matches:f}=S.useContext(Je),h=f[f.length-1],p=h?h.params:{},A=h?h.pathname:"/",b=h?h.pathnameBase:"/",y=h&&h.route;{let L=y&&y.path||"";hm(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=Pe(),M;if(s){let L=typeof s=="string"?en(s):s;Yt(b==="/"||((q=L.pathname)==null?void 0:q.startsWith(b)),`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 "${b}" but pathname "${L.pathname}" was given in the \`location\` prop.`),M=L}else M=D;let Y=M.pathname||"/",$=Y;if(b!=="/"){let L=b.replace(/^\//,"").split("/");$="/"+Y.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})):Ih(u,{pathname:$});ke(y||W!=null,`No routes matched location "${M.pathname}${M.search}${M.hash}" `),ke(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=kg(W&&W.map(L=>Object.assign({},L,{params:Object.assign({},p,L.params),pathname:Fe([b,c.encodeLocation?c.encodeLocation(L.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathname]),pathnameBase:L.pathnameBase==="/"?b:Fe([b,c.encodeLocation?c.encodeLocation(L.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathnameBase])})),f,r);return s&&Z?S.createElement(li.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...M},navigationType:"POP"}},Z):Z}function Gg(){let u=Fg(),s=Mg(u)?`${u.status} ${u.statusText}`:u instanceof Error?u.message:JSON.stringify(u),r=u instanceof Error?u.stack:null,c="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:c},h={padding:"2px 4px",backgroundColor:c},p=null;return console.error("Error handled by React Router default ErrorBoundary:",u),p=S.createElement(S.Fragment,null,S.createElement("p",null,"💿 Hey developer 👋"),S.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",S.createElement("code",{style:h},"ErrorBoundary")," or"," ",S.createElement("code",{style:h},"errorElement")," prop on your route.")),S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},s),r?S.createElement("pre",{style:f},r):null,p)}var Xg=S.createElement(Gg,null),dm=class extends S.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,s){return s.location!==u.location||s.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:s.error,location:s.location,revalidation:u.revalidation||s.revalidation}}componentDidCatch(u,s){this.props.onError?this.props.onError(u,s):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=Ug(u.digest);r&&(u=r)}let s=u!==void 0?S.createElement(Je.Provider,{value:this.props.routeContext},S.createElement(fr.Provider,{value:u,children:this.props.component})):this.props.children;return this.context?S.createElement(Qg,{error:u},s):s}};dm.contextType=um;var Ps=new WeakMap;function Qg({children:u,error:s}){let{basename:r}=S.useContext(Ue);if(typeof s=="object"&&s&&"digest"in s&&typeof s.digest=="string"){let c=jg(s.digest);if(c){let f=Ps.get(s);if(f)throw f;let h=nm(c.location,r);if(lm&&!Ps.get(s))if(h.isExternal||c.reloadDocument)window.location.href=h.absoluteURL||h.to;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(h.to,{replace:c.replace}));throw Ps.set(s,p),p}return S.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h.absoluteURL||h.to}`})}}return u}function Zg({routeContext:u,match:s,children:r}){let c=S.useContext(an);return c&&c.static&&c.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=s.route.id),S.createElement(Je.Provider,{value:u},r)}function kg(u,s=[],r){let c=r==null?void 0:r.state;if(u==null){if(!c)return null;if(c.errors)u=c.matches;else if(s.length===0&&!c.initialized&&c.matches.length>0)u=c.matches;else return null}let f=u,h=c==null?void 0:c.errors;if(h!=null){let D=f.findIndex(M=>M.route.id&&(h==null?void 0:h[M.route.id])!==void 0);Yt(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 p=!1,A=-1;if(r&&c){p=c.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:Y,errors:$}=c,W=M.route.loader&&!Y.hasOwnProperty(M.route.id)&&(!$||$[M.route.id]===void 0);if(M.route.lazy||W){r.isStatic&&(p=!0),A>=0?f=f.slice(0,A+1):f=[f[0]];break}}}}let b=r==null?void 0:r.onError,y=c&&b?(D,M)=>{var Y,$;b(D,{location:c.location,params:(($=(Y=c.matches)==null?void 0:Y[0])==null?void 0:$.params)??{},pattern:zg(c.matches),errorInfo:M})}:void 0;return f.reduceRight((D,M,Y)=>{let $,W=!1,Z=null,q=null;c&&($=h&&M.route.id?h[M.route.id]:void 0,Z=M.route.errorElement||Xg,p&&(A<0&&Y===0?(hm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),W=!0,q=null):A===Y&&(W=!0,q=M.route.hydrateFallbackElement||null)));let L=s.concat(f.slice(0,Y+1)),m=()=>{let G;return $?G=Z:W?G=q:M.route.Component?G=S.createElement(M.route.Component,null):M.route.element?G=M.route.element:G=D,S.createElement(Zg,{match:M,routeContext:{outlet:D,matches:L,isDataRoute:c!=null},children:G})};return c&&(M.route.ErrorBoundary||M.route.errorElement||Y===0)?S.createElement(dm,{location:c.location,revalidation:c.revalidation,component:Z,error:$,children:m(),routeContext:{outlet:null,matches:L,isDataRoute:!0},onError:y}):m()},null)}function dr(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Jg(u){let s=S.useContext(an);return Yt(s,dr(u)),s}function Kg(u){let s=S.useContext(Cu);return Yt(s,dr(u)),s}function $g(u){let s=S.useContext(Je);return Yt(s,dr(u)),s}function hr(u){let s=$g(u),r=s.matches[s.matches.length-1];return Yt(r.route.id,`${u} can only be used on routes that contain a unique "id"`),r.route.id}function Wg(){return hr("useRouteId")}function Fg(){var c;let u=S.useContext(fr),s=Kg("useRouteError"),r=hr("useRouteError");return u!==void 0?u:(c=s.errors)==null?void 0:c[r]}function Pg(){let{router:u}=Jg("useNavigate"),s=hr("useNavigate"),r=S.useRef(!1);return om(()=>{r.current=!0}),S.useCallback(async(f,h={})=>{ke(r.current,rm),r.current&&(typeof f=="number"?await u.navigate(f):await u.navigate(f,{fromRouteId:s,...h}))},[u,s])}var Hh={};function hm(u,s,r){!s&&!Hh[u]&&(Hh[u]=!0,ke(!1,r))}S.memo(Ig);function Ig({routes:u,manifest:s,future:r,state:c,isStatic:f,onError:h}){return fm(u,void 0,{manifest:s,state:c,isStatic:f,onError:h})}function Du({to:u,replace:s,state:r,relative:c}){Yt(ln(),"<Navigate> may be used only in the context of a <Router> component.");let{static:f}=S.useContext(Ue);ke(!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}=S.useContext(Je),{pathname:p}=Pe(),A=Ru(),b=zu(u,or(h),p,c==="path"),y=JSON.stringify(b);return S.useEffect(()=>{A(JSON.parse(y),{replace:s,state:r,relative:c})},[A,y,c,s,r]),null}function tv(u){return qg(u.context)}function Ct(u){Yt(!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 ev({basename:u="/",children:s=null,location:r,navigationType:c="POP",navigator:f,static:h=!1,useTransitions:p}){Yt(!ln(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let A=u.replace(/^\/*/,"/"),b=S.useMemo(()=>({basename:A,navigator:f,static:h,useTransitions:p,future:{}}),[A,f,h,p]);typeof r=="string"&&(r=en(r));let{pathname:y="/",search:D="",hash:M="",state:Y=null,key:$="default",mask:W}=r,Z=S.useMemo(()=>{let q=Aa(y,A);return q==null?null:{location:{pathname:q,search:D,hash:M,state:Y,key:$,mask:W},navigationType:c}},[A,y,D,M,Y,$,c,W]);return ke(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:S.createElement(Ue.Provider,{value:b},S.createElement(li.Provider,{children:s,value:Z}))}function av({children:u,location:s}){return Vg(nr(u),s)}function nr(u,s=[]){let r=[];return S.Children.forEach(u,(c,f)=>{if(!S.isValidElement(c))return;let h=[...s,f];if(c.type===S.Fragment){r.push.apply(r,nr(c.props.children,h));return}Yt(c.type===Ct,`[${typeof c.type=="string"?c.type:c.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Yt(!c.props.index||!c.props.children,"An index route cannot have child routes.");let p={id:c.props.id||h.join("-"),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,middleware:c.props.middleware,loader:c.props.loader,action:c.props.action,hydrateFallbackElement:c.props.hydrateFallbackElement,HydrateFallback:c.props.HydrateFallback,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.hasErrorBoundary===!0||c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&&(p.children=nr(c.props.children,h)),r.push(p)}),r}var Au="get",_u="application/x-www-form-urlencoded";function wu(u){return typeof HTMLElement<"u"&&u instanceof HTMLElement}function lv(u){return wu(u)&&u.tagName.toLowerCase()==="button"}function nv(u){return wu(u)&&u.tagName.toLowerCase()==="form"}function iv(u){return wu(u)&&u.tagName.toLowerCase()==="input"}function uv(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function cv(u,s){return u.button===0&&(!s||s==="_self")&&!uv(u)}function ir(u=""){return new URLSearchParams(typeof u=="string"||Array.isArray(u)||u instanceof URLSearchParams?u:Object.keys(u).reduce((s,r)=>{let c=u[r];return s.concat(Array.isArray(c)?c.map(f=>[r,f]):[[r,c]])},[]))}function sv(u,s){let r=ir(u);return s&&s.forEach((c,f)=>{r.has(f)||s.getAll(f).forEach(h=>{r.append(f,h)})}),r}var xu=null;function rv(){if(xu===null)try{new FormData(document.createElement("form"),0),xu=!1}catch{xu=!0}return xu}var ov=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Is(u){return u!=null&&!ov.has(u)?(ke(!1,`"${u}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${_u}"`),null):u}function fv(u,s){let r,c,f,h,p;if(nv(u)){let A=u.getAttribute("action");c=A?Aa(A,s):null,r=u.getAttribute("method")||Au,f=Is(u.getAttribute("enctype"))||_u,h=new FormData(u)}else if(lv(u)||iv(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 b=u.getAttribute("formaction")||A.getAttribute("action");if(c=b?Aa(b,s):null,r=u.getAttribute("formmethod")||A.getAttribute("method")||Au,f=Is(u.getAttribute("formenctype"))||Is(A.getAttribute("enctype"))||_u,h=new FormData(A,u),!rv()){let{name:y,type:D,value:M}=u;if(D==="image"){let Y=y?`${y}.`:"";h.append(`${Y}x`,"0"),h.append(`${Y}y`,"0")}else y&&h.append(y,M)}}else{if(wu(u))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Au,c=null,f=_u,p=u}return h&&f==="text/plain"&&(p=h,h=void 0),{action:c,method:r.toLowerCase(),encType:f,formData:h,body:p}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function mr(u,s){if(u===!1||u===null||typeof u>"u")throw new Error(s)}function mm(u,s,r,c){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}_.${c}`:f.pathname=`${f.pathname}.${c}`:f.pathname==="/"?f.pathname=`_root.${c}`:s&&Aa(f.pathname,s)==="/"?f.pathname=`${Mu(s)}/_root.${c}`:f.pathname=`${Mu(f.pathname)}.${c}`,f}async function dv(u,s){if(u.id in s)return s[u.id];try{let r=await import(u.module);return s[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 hv(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 mv(u,s,r){let c=await Promise.all(u.map(async f=>{let h=s.routes[f.route.id];if(h){let p=await dv(h,r);return p.links?p.links():[]}return[]}));return pv(c.flat(1).filter(hv).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function Bh(u,s,r,c,f,h){let p=(b,y)=>r[y]?b.route.id!==r[y].route.id:!0,A=(b,y)=>{var D;return r[y].pathname!==b.pathname||((D=r[y].route.path)==null?void 0:D.endsWith("*"))&&r[y].params["*"]!==b.params["*"]};return h==="assets"?s.filter((b,y)=>p(b,y)||A(b,y)):h==="data"?s.filter((b,y)=>{var M;let D=c.routes[b.route.id];if(!D||!D.hasLoader)return!1;if(p(b,y)||A(b,y))return!0;if(b.route.shouldRevalidate){let Y=b.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:b.params,defaultShouldRevalidate:!0});if(typeof Y=="boolean")return Y}return!0}):[]}function yv(u,s,{includeHydrateFallback:r}={}){return gv(u.map(c=>{let f=s.routes[c.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 gv(u){return[...new Set(u)]}function vv(u){let s={},r=Object.keys(u).sort();for(let c of r)s[c]=u[c];return s}function pv(u,s){let r=new Set;return new Set(s),u.reduce((c,f)=>{let h=JSON.stringify(vv(f));return r.has(h)||(r.add(h),c.push({key:h,link:f})),c},[])}function yr(){let u=S.useContext(an);return mr(u,"You must render this element inside a <DataRouterContext.Provider> element"),u}function bv(){let u=S.useContext(Cu);return mr(u,"You must render this element inside a <DataRouterStateContext.Provider> element"),u}var gr=S.createContext(void 0);gr.displayName="FrameworkContext";function vr(){let u=S.useContext(gr);return mr(u,"You must render this element inside a <HydratedRouter> element"),u}function Sv(u,s){let r=S.useContext(gr),[c,f]=S.useState(!1),[h,p]=S.useState(!1),{onFocus:A,onBlur:b,onMouseEnter:y,onMouseLeave:D,onTouchStart:M}=s,Y=S.useRef(null);S.useEffect(()=>{if(u==="render"&&p(!0),u==="viewport"){let Z=L=>{L.forEach(m=>{p(m.isIntersecting)})},q=new IntersectionObserver(Z,{threshold:.5});return Y.current&&q.observe(Y.current),()=>{q.disconnect()}}},[u]),S.useEffect(()=>{if(c){let Z=setTimeout(()=>{p(!0)},100);return()=>{clearTimeout(Z)}}},[c]);let $=()=>{f(!0)},W=()=>{f(!1),p(!1)};return r?u!=="intent"?[h,Y,{}]:[h,Y,{onFocus:In(A,$),onBlur:In(b,W),onMouseEnter:In(y,$),onMouseLeave:In(D,W),onTouchStart:In(M,$)}]:[!1,Y,{}]}function In(u,s){return r=>{u&&u(r),r.defaultPrevented||s(r)}}function Ev({page:u,...s}){let r=Rg(),{router:c}=yr(),f=S.useMemo(()=>Ih(c.routes,u,c.basename),[c.routes,u,c.basename]);return f?r?S.createElement(Av,{page:u,matches:f,...s}):S.createElement(_v,{page:u,matches:f,...s}):null}function xv(u){let{manifest:s,routeModules:r}=vr(),[c,f]=S.useState([]);return S.useEffect(()=>{let h=!1;return mv(u,s,r).then(p=>{h||f(p)}),()=>{h=!0}},[u,s,r]),c}function Av({page:u,matches:s,...r}){let c=Pe(),{future:f}=vr(),{basename:h}=yr(),p=S.useMemo(()=>{if(u===c.pathname+c.search+c.hash)return[];let A=mm(u,h,f.v8_trailingSlashAwareDataRequests,"rsc"),b=!1,y=[];for(let D of s)typeof D.route.shouldRevalidate=="function"?b=!0:y.push(D.route.id);return b&&y.length>0&&A.searchParams.set("_routes",y.join(",")),[A.pathname+A.search]},[h,f.v8_trailingSlashAwareDataRequests,u,c,s]);return S.createElement(S.Fragment,null,p.map(A=>S.createElement("link",{key:A,rel:"prefetch",as:"fetch",href:A,...r})))}function _v({page:u,matches:s,...r}){let c=Pe(),{future:f,manifest:h,routeModules:p}=vr(),{basename:A}=yr(),{loaderData:b,matches:y}=bv(),D=S.useMemo(()=>Bh(u,s,y,h,c,"data"),[u,s,y,h,c]),M=S.useMemo(()=>Bh(u,s,y,h,c,"assets"),[u,s,y,h,c]),Y=S.useMemo(()=>{if(u===c.pathname+c.search+c.hash)return[];let Z=new Set,q=!1;if(s.forEach(m=>{var X;let G=h.routes[m.route.id];!G||!G.hasLoader||(!D.some(tt=>tt.route.id===m.route.id)&&m.route.id in b&&((X=p[m.route.id])!=null&&X.shouldRevalidate)||G.hasClientLoader?q=!0:Z.add(m.route.id))}),Z.size===0)return[];let L=mm(u,A,f.v8_trailingSlashAwareDataRequests,"data");return q&&Z.size>0&&L.searchParams.set("_routes",s.filter(m=>Z.has(m.route.id)).map(m=>m.route.id).join(",")),[L.pathname+L.search]},[A,f.v8_trailingSlashAwareDataRequests,b,c,h,D,s,u,p]),$=S.useMemo(()=>yv(M,h),[M,h]),W=xv(M);return S.createElement(S.Fragment,null,Y.map(Z=>S.createElement("link",{key:Z,rel:"prefetch",as:"fetch",href:Z,...r})),$.map(Z=>S.createElement("link",{key:Z,rel:"modulepreload",href:Z,...r})),W.map(({key:Z,link:q})=>S.createElement("link",{key:Z,nonce:r.nonce,...q,crossOrigin:q.crossOrigin??r.crossOrigin})))}function Tv(...u){return s=>{u.forEach(r=>{typeof r=="function"?r(s):r!=null&&(r.current=s)})}}var Mv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Mv&&(window.__reactRouterVersion="7.17.0")}catch{}function zv({basename:u,children:s,useTransitions:r,window:c}){let f=S.useRef();f.current==null&&(f.current=eg({window:c,v5Compat:!0}));let h=f.current,[p,A]=S.useState({action:h.action,location:h.location}),b=S.useCallback(y=>{r===!1?A(y):S.startTransition(()=>A(y))},[r]);return S.useLayoutEffect(()=>h.listen(b),[h,b]),S.createElement(ev,{basename:u,children:s,location:p.location,navigationType:p.action,navigator:h,useTransitions:r})}var ym=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,pr=S.forwardRef(function({onClick:s,discover:r="render",prefetch:c="none",relative:f,reloadDocument:h,replace:p,mask:A,state:b,target:y,to:D,preventScrollReset:M,viewTransition:Y,defaultShouldRevalidate:$,...W},Z){let{basename:q,navigator:L,useTransitions:m}=S.useContext(Ue),G=typeof D=="string"&&ym.test(D),X=nm(D,q);D=X.to;let tt=Lg(D,{relative:f}),it=Pe(),nt=null;if(A){let Ut=zu(A,[],it.mask?it.mask.pathname:"/",!0);q!=="/"&&(Ut.pathname=Ut.pathname==="/"?q:Fe([q,Ut.pathname])),nt=L.createHref(Ut)}let[Rt,Vt,de]=Sv(c,W),Bt=wv(D,{replace:p,mask:A,state:b,target:y,preventScrollReset:M,relative:f,viewTransition:Y,defaultShouldRevalidate:$,useTransitions:m});function Wt(Ut){s&&s(Ut),Ut.defaultPrevented||Bt(Ut)}let xe=!(X.isExternal||h),ie=S.createElement("a",{...W,...de,href:(xe?nt:void 0)||X.absoluteURL||tt,onClick:xe?Wt:s,ref:Tv(Z,Vt),target:y,"data-discover":!G&&r==="render"?"true":void 0});return Rt&&!G?S.createElement(S.Fragment,null,ie,S.createElement(Ev,{page:tt})):ie});pr.displayName="Link";var Cv=S.forwardRef(function({"aria-current":s="page",caseSensitive:r=!1,className:c="",end:f=!1,style:h,to:p,viewTransition:A,children:b,...y},D){let M=ni(p,{relative:y.relative}),Y=Pe(),$=S.useContext(Cu),{navigator:W,basename:Z}=S.useContext(Ue),q=$!=null&&Lv(M)&&A===!0,L=W.encodeLocation?W.encodeLocation(M).pathname:M.pathname,m=Y.pathname,G=$&&$.navigation&&$.navigation.location?$.navigation.location.pathname:null;r||(m=m.toLowerCase(),G=G?G.toLowerCase():null,L=L.toLowerCase()),G&&Z&&(G=Aa(G,Z)||G);const X=L!=="/"&&L.endsWith("/")?L.length-1:L.length;let tt=m===L||!f&&m.startsWith(L)&&m.charAt(X)==="/",it=G!=null&&(G===L||!f&&G.startsWith(L)&&G.charAt(L.length)==="/"),nt={isActive:tt,isPending:it,isTransitioning:q},Rt=tt?s:void 0,Vt;typeof c=="function"?Vt=c(nt):Vt=[c,tt?"active":null,it?"pending":null,q?"transitioning":null].filter(Boolean).join(" ");let de=typeof h=="function"?h(nt):h;return S.createElement(pr,{...y,"aria-current":Rt,className:Vt,ref:D,style:de,to:p,viewTransition:A},typeof b=="function"?b(nt):b)});Cv.displayName="NavLink";var Rv=S.forwardRef(({discover:u="render",fetcherKey:s,navigate:r,reloadDocument:c,replace:f,state:h,method:p=Au,action:A,onSubmit:b,relative:y,preventScrollReset:D,viewTransition:M,defaultShouldRevalidate:Y,...$},W)=>{let{useTransitions:Z}=S.useContext(Ue),q=jv(),L=Uv(A,{relative:y}),m=p.toLowerCase()==="get"?"get":"post",G=typeof A=="string"&&ym.test(A),X=tt=>{if(b&&b(tt),tt.defaultPrevented)return;tt.preventDefault();let it=tt.nativeEvent.submitter,nt=(it==null?void 0:it.getAttribute("formmethod"))||p,Rt=()=>q(it||tt.currentTarget,{fetcherKey:s,method:nt,navigate:r,replace:f,state:h,relative:y,preventScrollReset:D,viewTransition:M,defaultShouldRevalidate:Y});Z&&r!==!1?S.startTransition(()=>Rt()):Rt()};return S.createElement("form",{ref:W,method:m,action:L,onSubmit:c?b:X,...$,"data-discover":!G&&u==="render"?"true":void 0})});Rv.displayName="Form";function Dv(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function gm(u){let s=S.useContext(an);return Yt(s,Dv(u)),s}function wv(u,{target:s,replace:r,mask:c,state:f,preventScrollReset:h,relative:p,viewTransition:A,defaultShouldRevalidate:b,useTransitions:y}={}){let D=Ru(),M=Pe(),Y=ni(u,{relative:p});return S.useCallback($=>{if(cv($,s)){$.preventDefault();let W=r!==void 0?r:ei(M)===ei(Y),Z=()=>D(u,{replace:W,mask:c,state:f,preventScrollReset:h,relative:p,viewTransition:A,defaultShouldRevalidate:b});y?S.startTransition(()=>Z()):Z()}},[M,D,Y,r,c,f,s,u,h,p,A,b,y])}function H1(u){ke(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 s=S.useRef(ir(u)),r=S.useRef(!1),c=Pe(),f=S.useMemo(()=>sv(c.search,r.current?null:s.current),[c.search]),h=Ru(),p=S.useCallback((A,b)=>{const y=ir(typeof A=="function"?A(new URLSearchParams(f)):A);r.current=!0,h("?"+y,b)},[h,f]);return[f,p]}var Ov=0,Nv=()=>`__${String(++Ov)}__`;function jv(){let{router:u}=gm("useSubmit"),{basename:s}=S.useContext(Ue),r=Wg(),c=u.fetch,f=u.navigate;return S.useCallback(async(h,p={})=>{let{action:A,method:b,encType:y,formData:D,body:M}=fv(h,s);if(p.navigate===!1){let Y=p.fetcherKey||Nv();await c(Y,r,p.action||A,{defaultShouldRevalidate:p.defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:D,body:M,formMethod:p.method||b,formEncType:p.encType||y,flushSync:p.flushSync})}else await f(p.action||A,{defaultShouldRevalidate:p.defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:D,body:M,formMethod:p.method||b,formEncType:p.encType||y,replace:p.replace,state:p.state,fromRouteId:r,flushSync:p.flushSync,viewTransition:p.viewTransition})},[c,f,s,r])}function Uv(u,{relative:s}={}){let{basename:r}=S.useContext(Ue),c=S.useContext(Je);Yt(c,"useFormAction must be used inside a RouteContext");let[f]=c.matches.slice(-1),h={...ni(u||".",{relative:s})},p=Pe();if(u==null){h.search=p.search;let A=new URLSearchParams(h.search),b=A.getAll("index");if(b.some(D=>D==="")){A.delete("index"),b.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:Fe([r,h.pathname])),ei(h)}function Lv(u,{relative:s}={}){let r=S.useContext(cm);Yt(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=gm("useViewTransitionState"),f=ni(u,{relative:s});if(!r.isTransitioning)return!1;let h=Aa(r.currentLocation.pathname,c)||r.currentLocation.pathname,p=Aa(r.nextLocation.pathname,c)||r.nextLocation.pathname;return Tu(f.pathname,p)!=null||Tu(f.pathname,h)!=null}const Hv={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:()=>{}}},Bv=new Set(["auth","storage","leads","log","flags","db"]);function qv(){return new Proxy({},{get:(u,s)=>Bv.has(s)?new Proxy({},{get:(r,c)=>{var f;return((f=Hv[s])==null?void 0:f[c])??(()=>Promise.resolve(null))}}):()=>{}})}const Et=typeof window<"u"&&window.Bodify?window.Bodify:qv();function Yv(u){const s=u.split("/"),r=[];for(let c=s.length-1;c>0;c--)r.push(s.slice(0,c).join("/"));return r}class Vv{constructor(){this.maxAge=10080*60*1e3,this.maxMemoryEntries=500,this.dbName="boddb-cache",this.enabled=!0}}class Gv{constructor(s,r){this.memory=new Map,this.subscribedPaths=new Set,this.idb=null,this._vfs=null,this._vfsUnsub=null,this.options={...new Vv,...r},this.client=s}async init(){this.options.enabled&&(this.idb=await this.openIDB(),await this.sweepExpired())}openIDB(){return new Promise((s,r)=>{const c=indexedDB.open(this.options.dbName,1);c.onupgradeneeded=()=>{const f=c.result;f.objectStoreNames.contains("entries")||f.createObjectStore("entries",{keyPath:"path"})},c.onsuccess=()=>s(c.result),c.onerror=()=>r(c.error)})}async sweepExpired(){if(!this.idb)return;const s=Date.now()-this.options.maxAge,f=this.idb.transaction("entries","readwrite").objectStore("entries").openCursor();return new Promise(h=>{f.onsuccess=()=>{const p=f.result;if(!p){h();return}p.value.cachedAt<s&&p.delete(),p.continue()},f.onerror=()=>h()})}async get(s){if(!this.options.enabled)return this.client.get(s);const r=this.memory.get(s);if(r&&this.subscribedPaths.has(s))return r.data;if(r)return this.revalidate(s),r.data;const c=await this.idbGet(s);if(c&&Date.now()-c.cachedAt<this.options.maxAge)return this.memSet(s,c),this.revalidate(s),c.data;const f=await this.client.getSnapshot(s),h={path:s,data:f.val(),updatedAt:f.updatedAt??Date.now(),cachedAt:Date.now()};return this.memSet(s,h),this.idbSet(h),h.data}revalidate(s){this.client.getSnapshot(s).then(r=>{const c={path:s,data:r.val(),updatedAt:r.updatedAt??Date.now(),cachedAt:Date.now()};this.memSet(s,c),this.idbSet(c)}).catch(()=>{})}on(s,r){this.subscribedPaths.add(s);const c=this.client.on(s,f=>{const h={path:s,data:f.val(),updatedAt:f.updatedAt??Date.now(),cachedAt:Date.now()};this.memSet(s,h),this.idbSet(h),r(f)});return()=>{c(),this.subscribedPaths.delete(s)}}onChild(s,r,c){this.subscribedPaths.add(s);const f=this.client.onChild(s,h=>{const p=this.memory.get(s);if(p&&p.data&&typeof p.data=="object"&&!Array.isArray(p.data)){const A={...p.data};h.type==="removed"?delete A[h.key]:A[h.key]=h.val();const b={path:s,data:A,updatedAt:Date.now(),cachedAt:Date.now()};this.memSet(s,b),this.idbSet(b)}r(h)},c);return()=>{f(),this.subscribedPaths.delete(s)}}connect(){return this.client.connect()}disconnect(){var s,r;(r=(s=this.client).disconnect)==null||r.call(s)}get serverInfo(){return this.client.serverInfo}onWelcome(s){return this.client.onWelcome(s)}async push(s,r,c){return await this.client.push(s,r,c)}query(s){return this.client.query(s)}async set(s,r,c){await this.client.set(s,r,c),this.invalidatePath(s)}async update(s,r,c){await this.client.update(s,r,c),this.invalidatePath(s)}async updateMulti(s){await this.client.updateMulti(s);for(const r of Object.keys(s))this.invalidatePath(r)}async delete(s){await this.client.delete(s),this.invalidatePath(s)}invalidatePath(s){this.invalidate(s);for(const r of Yv(s))this.invalidate(r)}invalidate(s){this.memory.delete(s),this.idbDelete(s)}async warmup(s){if(!this.idb)return;const r=Date.now()-this.options.maxAge,f=this.idb.transaction("entries","readonly").objectStore("entries"),h=s.map(p=>new Promise(A=>{const b=f.get(p);b.onsuccess=()=>{const y=b.result;y&&y.cachedAt>=r&&this.memSet(p,y),A()},b.onerror=()=>A()}));await Promise.all(h)}vfs(){return this._vfs||(this._vfs=new Xv(this.client.vfs(),this.options.maxAge,this.idb),this._vfsUnsub=this.client.onChild("_vfs",()=>{var s;(s=this._vfs)==null||s.clear()})),this._vfs}close(){var s,r;this._vfsUnsub&&(this._vfsUnsub(),this._vfsUnsub=null),(s=this._vfs)==null||s.clear(),this._vfs=null,this.memory.clear(),this.subscribedPaths.clear(),(r=this.idb)==null||r.close(),this.idb=null}memSet(s,r){for(this.memory.delete(s),this.memory.set(s,r);this.memory.size>this.options.maxMemoryEntries;){const c=this.memory.keys().next().value;if(c!==void 0)this.memory.delete(c);else break}}idbGet(s){if(!this.idb)return Promise.resolve(null);const c=this.idb.transaction("entries","readonly").objectStore("entries").get(s);return new Promise(f=>{c.onsuccess=()=>f(c.result??null),c.onerror=()=>f(null)})}idbSet(s){if(this.idb)try{this.idb.transaction("entries","readwrite").objectStore("entries").put(s)}catch{}}idbDelete(s){if(this.idb)try{this.idb.transaction("entries","readwrite").objectStore("entries").delete(s)}catch{}}}class Xv{constructor(s,r,c=null){this.raw=s,this.maxAge=r,this.idb=c,this.listCache=new Map,this.statCache=new Map,this._stats={hits:0,misses:0,invalidations:0,pushClears:0}}async stat(s){const r=this.statCache.get(s);if(r&&Date.now()-r.cachedAt<this.maxAge)return this._stats.hits++,this.raw.stat(s).then(h=>{this.statCache.set(s,{data:h,cachedAt:Date.now()}),this.idbSetVfs(`vfs:stat:${s}`,{data:h,cachedAt:Date.now()})}).catch(()=>{}),r.data;const c=await this.idbGetVfs(`vfs:stat:${s}`);if(c&&Date.now()-c.cachedAt<this.maxAge)return this._stats.hits++,this.statCache.set(s,c),this.raw.stat(s).then(h=>{this.statCache.set(s,{data:h,cachedAt:Date.now()}),this.idbSetVfs(`vfs:stat:${s}`,{data:h,cachedAt:Date.now()})}).catch(()=>{}),c.data;this._stats.misses++;const f=await this.raw.stat(s);return this.statCache.set(s,{data:f,cachedAt:Date.now()}),this.idbSetVfs(`vfs:stat:${s}`,{data:f,cachedAt:Date.now()}),f}async list(s){const r=this.listCache.get(s);if(r&&Date.now()-r.cachedAt<this.maxAge)return this._stats.hits++,this.raw.list(s).then(h=>{this.listCache.set(s,{data:h,cachedAt:Date.now()}),this.idbSetVfs(`vfs:list:${s}`,{data:h,cachedAt:Date.now()})}).catch(()=>{}),r.data;const c=await this.idbGetVfs(`vfs:list:${s}`);if(c&&Date.now()-c.cachedAt<this.maxAge)return this._stats.hits++,this.listCache.set(s,c),this.raw.list(s).then(h=>{this.listCache.set(s,{data:h,cachedAt:Date.now()}),this.idbSetVfs(`vfs:list:${s}`,{data:h,cachedAt:Date.now()})}).catch(()=>{}),c.data;this._stats.misses++;const f=await this.raw.list(s);return this.listCache.set(s,{data:f,cachedAt:Date.now()}),this.idbSetVfs(`vfs:list:${s}`,{data:f,cachedAt:Date.now()}),f}async tree(s,r){return this.raw.tree(s,r)}async upload(s,r,c){const f=await this.raw.upload(s,r,c);return this.invalidatePath(s),f}async delete(s){await this.raw.delete(s),this.invalidatePath(s)}async mkdir(s){const r=await this.raw.mkdir(s);return this.invalidatePath(s),this.listCache.delete(s),this.idbDeleteVfs(`vfs:list:${s}`),r}async move(s,r){const c=await this.raw.move(s,r);return this.invalidatePath(s),this.invalidatePath(r),c}async download(s){return this.raw.download(s)}invalidatePath(s){this._stats.invalidations++,this.statCache.delete(s),this.idbDeleteVfs(`vfs:stat:${s}`);const r=s.includes("/")?s.slice(0,s.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 s=this._stats.hits+this._stats.misses;return{...this._stats,total:s,hitRate:s?Math.round(this._stats.hits/s*100)+"%":"n/a",listCacheSize:this.listCache.size,statCacheSize:this.statCache.size}}idbGetVfs(s){if(!this.idb)return Promise.resolve(null);try{const c=this.idb.transaction("entries","readonly").objectStore("entries").get(s);return new Promise(f=>{c.onsuccess=()=>{const h=c.result;f(h?{data:h.data,cachedAt:h.cachedAt}:null)},c.onerror=()=>f(null)})}catch{return Promise.resolve(null)}}idbSetVfs(s,r){if(this.idb)try{this.idb.transaction("entries","readwrite").objectStore("entries").put({path:s,data:r.data,cachedAt:r.cachedAt,updatedAt:Date.now()})}catch{}}idbDeleteVfs(s){if(this.idb)try{this.idb.transaction("entries","readwrite").objectStore("entries").delete(s)}catch{}}idbClearVfs(){if(this.idb)try{const c=this.idb.transaction("entries","readwrite").objectStore("entries").openCursor();c.onsuccess=()=>{const f=c.result;f&&(typeof f.key=="string"&&f.key.startsWith("vfs:")&&f.delete(),f.continue())}}catch{}}}const Qv="DEBUG";function qh(u){try{const s=localStorage.getItem(Qv)??"";return s==="*"||s.split(",").includes(u)}catch{return!1}}function Zv(u){const s=`[${u}]`;return{debug:(...r)=>{qh(u)&&console.debug(s,...r)},verbose:(...r)=>{qh(u)&&console.debug(s,...r)},info:(...r)=>console.info(s,...r),warn:(...r)=>console.warn(s,...r),error:(...r)=>console.error(s,...r)}}const br={forComponent:u=>Zv(u)},kv=br.forComponent("bod");var Ph;const _a=new Gv((Ph=window.Bodify)==null?void 0:Ph.db);_a.init();async function tn(){var r,c,f;const u=_a.client;if(!u)return;const s=((r=Et==null?void 0:Et.auth)==null?void 0:r._token)??null;try{if(!u.connected)return;s?await u._send("auth",{token:s}):((c=u.disconnect)==null||c.call(u),await((f=u.connect)==null?void 0:f.call(u)))}catch(h){kv.warn("reauthWs failed",h)}}localStorage.getItem("BOD_WS_RECORD")&&(window.bod=_a,window.bodWs=_a.client);const Jv=Object.freeze(Object.defineProperty({__proto__:null,client:_a,reauthWs:tn},Symbol.toStringTag,{value:"Module"})),vm=S.createContext(null);function Yh(){const u="para_dau_date",s=new Date,r=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`;localStorage.getItem(u)!==r&&(localStorage.setItem(u,r),Et.event("session_active"))}function Kv({children:u}){const[s,r]=S.useState(null),[c,f]=S.useState(null),[h,p]=S.useState(!0);S.useEffect(()=>{const q=window.Bodify;if(!(q!=null&&q.auth)){p(!1);return}return q.auth.getUser().then(L=>{L&&(r(L),Et.analytics.identify(L.id,{email:L.email,name:L.name}),Yh(),tn()),p(!1)}).catch(()=>p(!1)),q.auth.onAuthStateChange((L,m)=>{r(L),f(m),tn(),L&&(Et.analytics.identify(L.id,{email:L.email,name:L.name}),Yh())})},[]);const A=async(q,L,m)=>{const G=await Et.auth.signUp({email:q,password:L,name:m});G!=null&&G.emailVerificationRequired?f(G.user):G!=null&&G.user&&r(G.user)},b=async(q,L)=>{const m=await Et.auth.signIn({email:q,password:L});m!=null&&m.emailVerificationRequired?f(m.user):m!=null&&m.user&&r(m.user)},y=async q=>{const L=await Et.auth.verifyEmail(q);L!=null&&L.user&&(r(L.user),f(null))},D=async()=>{await Et.auth.resendVerification()},M=async()=>{await Et.auth.signOut(),r(null),f(null)},Y=async()=>{const q=await Et.auth.getUser().catch(()=>null);if(q)return r(q),await tn(),q;const m={id:Et.auth.adoptAnonIdentity(),isAnonymous:!0};return r(m),(async()=>{try{const G=await Et.auth.signInAnonymously();r(G.user),await tn()}catch(G){console.error("[auth] anon token sign failed:",G)}})(),m},$=async(q,L)=>{const m=await Et.auth.linkEmail(q,L);return r(m),await tn(),m},W=async q=>Et.auth.startPhoneSignIn(q),Z=async(q,L)=>{const m=await Et.auth.linkPhone(q,L);return r(m),m};return T.jsx(vm.Provider,{value:{user:s,pendingVerification:c,loading:h,signUp:A,signIn:b,verifyEmail:y,resendVerification:D,signOut:M,ensureAnonymousSession:Y,linkEmail:$,startPhoneSignIn:W,linkPhone:Z},children:u})}const Ou=()=>S.useContext(vm),pm=S.createContext({theme:"system",resolved:"dark",setTheme:()=>{}});function $v(){const u=new Date().getHours();return u<7||u>=19?"dark":"light"}function ai(){return $v()}function Vh(u){return u==="system"?ai():u}function Gh(u){document.documentElement.classList.toggle("dark",u==="dark")}function Xh(u){const s=localStorage.getItem(u);if(!s)return"system";if(s==="light"||s==="dark"||s==="system")return s==="system"?"system":(localStorage.setItem(u,JSON.stringify({theme:s,setUnder:ai()})),s);try{const r=JSON.parse(s);return!["light","dark","system"].includes(r.theme)||r.theme==="system"?"system":r.setUnder&&ai()!==r.setUnder?(localStorage.removeItem(u),"system"):r.theme}catch{return"system"}}function Wv(u,s){if(s==="system"){localStorage.removeItem(u);return}localStorage.setItem(u,JSON.stringify({theme:s,setUnder:ai()}))}function Fv({children:u,storageKey:s="theme",defaultTheme:r="system"}){const[c,f]=S.useState(()=>{const b=Xh(s);return b!=="system"?b:r}),[h,p]=S.useState(()=>Vh(c)),A=S.useCallback(b=>{Wv(s,b),f(b)},[s]);return S.useEffect(()=>{const b=Vh(c);p(b),Gh(b)},[c]),S.useEffect(()=>{const b=()=>{const D=Xh(s);if(D!==c){f(D);return}if(c==="system"){const M=ai();p(M),Gh(M)}};document.addEventListener("visibilitychange",b),window.addEventListener("focus",b);const y=setInterval(b,5*6e4);return()=>{document.removeEventListener("visibilitychange",b),window.removeEventListener("focus",b),clearInterval(y)}},[c,s]),T.jsx(pm.Provider,{value:{theme:c,resolved:h,setTheme:A},children:u})}const Pv=()=>S.useContext(pm),Iv=[{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"}],tp=["Rat","Ox","Tiger","Rabbit","Dragon","Snake","Horse","Goat","Monkey","Rooster","Dog","Pig"],ep=["Wood","Fire","Earth","Metal","Water"],ap=["Garnet","Amethyst","Aquamarine","Diamond","Emerald","Pearl","Ruby","Peridot","Sapphire","Opal","Topaz","Tanzanite"];function bm(u,s){return Iv.find(c=>c.startMonth===c.endMonth?u===c.startMonth&&s>=c.startDay&&s<=c.endDay:u===c.startMonth?s>=c.startDay:u===c.endMonth?s<=c.endDay:!1)}function lp(u,s,r){let c;return u===r.startMonth?c=s-r.startDay:u===r.endMonth?c=new Date(2e3,r.startMonth,0).getDate()-r.startDay+s:c=new Date(2e3,r.startMonth,0).getDate()-r.startDay+new Date(2e3,u-1,0).getDate()+s,c<10?1:c<20?2:3}function np(u){const s=u-1924,r=(s%12+12)%12,c=Math.floor((s%10+10)%10/2);return{animal:tp[r],element:ep[c]}}function ip(u){let r=[...u.replace(/-/g,"")].reduce((c,f)=>c+Number(f),0);for(;r>9&&r!==11&&r!==22&&r!==33;)r=[...String(r)].reduce((c,f)=>c+Number(f),0);return r}function up(u){return u>=3&&u<=5?"Spring":u>=6&&u<=8?"Summer":u>=9&&u<=11?"Autumn":"Winter"}function cp(u){if(!(u!=null&&u.trim()))return null;const s=new Date(u+"T00:00:00"),r=s.getMonth()+1,c=s.getDate();return isNaN(r)||isNaN(c)?null:bm(r,c).sign}function B1(u){if(!(u!=null&&u.trim()))return null;const s=u.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!s)return null;const r=Number(s[1]),c=Number(s[2]),f=Number(s[3]),h=new Date(r,c-1,f);if(h.getFullYear()!==r||h.getMonth()!==c-1||h.getDate()!==f)return null;const p=bm(c,f);return{zodiac:{sign:p.sign,element:p.element,modality:p.modality,rulingPlanet:p.ruler,decan:lp(c,f,p),dateRange:p.range},chineseZodiac:np(r),numerology:{lifePath:ip(u)},birthstone:ap[c-1],season:up(c)}}const sp={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 rp(u,s){let r=s;const c=()=>(r=r*16807%2147483647,r/2147483647),f=["#fff","#fff","#fff","#fff","#ccd6ff","#d4e0ff","#fff4e0","#ffe8c8","#ffd6d6"];return Array.from({length:u},()=>{const h=c()<.5?0:c()<.6?1:2,p=c()<.015,A=p||c()<.2,b=c(),y=c(),D=b-.5,M=y-.5;return{angle:Math.atan2(M,D),dist:Math.sqrt(D*D+M*M),r:p?2+c()*1:A?1.3+c()*1.2:h===0?.4+c()*.4:h===1?.6+c()*.6:1+c()*.8,phase:c()*Math.PI*2,speed:p?.1+c()*.3:.3+c()*1.2,color:f[Math.floor(c()*f.length)],layer:h,baseAlpha:A?.85+c()*.15:.45+c()*.45,shimmer:p}})}function op(u,s){let r=s;const c=()=>(r=r*16807%2147483647,r/2147483647);return Array.from({length:u},()=>({x:c(),y:c(),speed:.003+c()*.008,alpha:.3+c()*.4}))}function fp(u,s){let r=s;const c=()=>(r=r*16807%2147483647,r/2147483647);return Array.from({length:u},()=>({x:.05+c()*.9,y:.05+c()*.7,r:120+c()*220,hue:c()<.4?160+c()*40:c()<.7?270+c()*50:30+c()*20,phase:c()*Math.PI*2,speed:.1+c()*.25}))}const dp={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}},hp={Garnet:"#9b2335",Amethyst:"#9966cc",Aquamarine:"#7fffd4",Diamond:"#e8e8e8",Emerald:"#50c878",Pearl:"#eae0c8",Ruby:"#e0115f",Peridot:"#b4c424",Sapphire:"#0f52ba",Opal:"#a8c3bc",Topaz:"#ffc87c",Tanzanite:"#5a4fcf"},mp={Sun:1,Moon:.7,Mercury:.35,Venus:.5,Mars:.45,Jupiter:.85,Saturn:.75,Uranus:.55,Neptune:.55,Pluto:.3};function yp({date:u,intensity:s,nebulaOpacity:r,showConstellation:c=!1,artifact:f="none",cosmic:h=null,darkMode:p=!0}){const A=S.useRef(null),b=S.useRef(0),y=S.useRef(u),D=S.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,Y=S.useMemo(()=>rp(M?600:1200,42),[M]),$=S.useMemo(()=>fp(M?6:10,77),[M]),W=S.useMemo(()=>op(M?300:600,99),[M]);S.useEffect(()=>{const q=D.current,L=(X,tt)=>{q.tMouseX=(X/window.innerWidth-.5)*2,q.tMouseY=(tt/window.innerHeight-.5)*2},m=X=>L(X.clientX,X.clientY),G=X=>{X.touches[0]&&L(X.touches[0].clientX,X.touches[0].clientY)};return window.addEventListener("mousemove",m,{passive:!0}),window.addEventListener("touchmove",G,{passive:!0}),()=>{window.removeEventListener("mousemove",m),window.removeEventListener("touchmove",G)}},[]),S.useEffect(()=>{const q=D.current,L=y.current,m=u;if(y.current=m,m&&L!==m){const[X,tt,it]=(L||"2000-01-01").split("-").map(Number),[nt,Rt,Vt]=m.split("-").map(Number);if(!isNaN(nt)&&!isNaN(Rt)&&!isNaN(Vt)){const de=nt-(isNaN(X)?nt:X),Bt=Rt-(isNaN(tt)?Rt:tt),Wt=Vt-(isNaN(it)?Vt:it),ie=!L||L===""?.8:Wt*.12+Bt*.4+de*1.5;q.angVel+=ie,q.angVel=Math.max(-5,Math.min(5,q.angVel)),q.targetRotation+=ie*.6}}const G=cp(m);G!==q.sign&&(q.prevSign=q.sign,q.prevAlpha=q.cAlpha,q.sign=G,q.cAlpha=0,q.lineProgress=0,q.labelAlpha=0)},[u]);const Z=S.useCallback(q=>{const L=A.current;if(!L)return;const m=L.getContext("2d");if(!m)return;const G=Math.min(window.devicePixelRatio||1,2),X=L.clientWidth,tt=L.clientHeight;(L.width!==X*G||L.height!==tt*G)&&(L.width=X*G,L.height=tt*G),m.setTransform(G,0,0,G,0,0),m.clearRect(0,0,X,tt);const it=p,nt=it?"255,255,255":"0,0,0",Rt=it?"#fff":"#000",Vt=it?"220,240,255":"30,30,60",de=it?"255,240,220":"180,140,60",Bt=it?[255,250,235,255,220,180,200,170,130]:[210,170,60,190,145,50,160,120,40],Wt=it?"255,230,200":"170,130,50",xe=it?"210,255,235":"5,80,50",ie=it?{}:{"#fff":"#222","#ccd6ff":"#1a2040","#d4e0ff":"#102030","#fff4e0":"#3a2800","#ffe8c8":"#402000","#ffd6d6":"#401010"},Ut=j=>ie[j]||j,v=D.current,V=1/60;v.t+=V;const k=v.t;v.curI+=(s-v.curI)*.04;const et=v.curI,Tt=f==="none"?0:1;v.curArtifact+=(Tt-v.curArtifact)*.06,v.mouseX+=(v.tMouseX-v.mouseX)*.04,v.mouseY+=(v.tMouseY-v.mouseY)*.04,v.targetRotation+=V*.015,v.rotation+=(v.targetRotation-v.rotation)*.05;const x=Math.abs(v.angVel);v.angVel*=.95,x<5e-4&&(v.angVel=0);const B=Math.min(1,x*.8),Q=X*.5,F=tt*.5;if(v.sign&&c?(v.cAlpha=Math.min(1,v.cAlpha+V*1.5),v.lineProgress=Math.min(1,v.lineProgress+V*.8),v.labelAlpha=Math.min(1,v.labelAlpha+V*.6)):c||(v.cAlpha=Math.max(0,v.cAlpha-V*2)),v.prevSign&&(v.prevAlpha=Math.max(0,v.prevAlpha-V*2.5),v.prevAlpha<=0&&(v.prevSign=null)),v.nextShootAt-=V*1e3,v.nextShootAt<=0&&et>.15&&(v.shootingStars.push({x:Math.random()*X,y:Math.random()*tt*.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}),v.nextShootAt=3e3+Math.random()*7e3),v.curArtifact>.005&&f==="nebula"){const j=r??et*.25;for(const O of $){const P=O.x*X+Math.sin(k*O.speed+O.phase)*50,J=O.y*tt+Math.cos(k*O.speed*.7+O.phase)*35,lt=.5+.5*Math.sin(k*O.speed*.4+O.phase),ut=O.r*(.8+lt*.5),_t=v.curArtifact*j*(.5+lt*.5);m.globalAlpha=1;const pt=m.createRadialGradient(P,J,0,P,J,ut);pt.addColorStop(0,`hsla(${O.hue}, 80%, 55%, ${_t})`),pt.addColorStop(.3,`hsla(${O.hue}, 70%, 45%, ${_t*.5})`),pt.addColorStop(.7,`hsla(${O.hue}, 60%, 35%, ${_t*.15})`),pt.addColorStop(1,`hsla(${O.hue}, 50%, 30%, 0)`),m.fillStyle=pt,m.beginPath(),m.arc(P,J,ut,0,Math.PI*2),m.fill()}}if(v.curArtifact>.005&&f==="stardust"){const j=X*.5+Math.sin(k*.15)*35,O=tt*.32+Math.cos(k*.12)*25,P=.6+.4*Math.sin(k*.35),J=v.curArtifact*et,lt=180+P*80,ut=m.createRadialGradient(j,O,0,j,O,lt);ut.addColorStop(0,`rgba(16, 185, 129, ${J*.25*P})`),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,lt,0,Math.PI*2),m.fill();const _t=m.createRadialGradient(j,O,0,j,O,40);_t.addColorStop(0,it?`rgba(200, 255, 230, ${J*.4})`:`rgba(5, 80, 40, ${J*.4})`),_t.addColorStop(.5,`rgba(16, 185, 129, ${J*.15})`),_t.addColorStop(1,"rgba(16, 185, 129, 0)"),m.fillStyle=_t,m.beginPath(),m.arc(j,O,40,0,Math.PI*2),m.fill();for(let pt=0;pt<8;pt++){const dt=k*.08+pt/8*Math.PI*2,Gt=80+40*Math.sin(k*.4+pt*1.3),xt=j+Math.cos(dt)*Gt,Xt=O+Math.sin(dt)*Gt,Ae=m.createLinearGradient(j,O,xt,Xt);Ae.addColorStop(0,`rgba(16,185,129,${J*.15})`),Ae.addColorStop(1,"rgba(16,185,129,0)"),m.strokeStyle=Ae,m.lineWidth=2.5,m.globalAlpha=1,m.beginPath(),m.moveTo(j,O),m.lineTo(xt,Xt),m.stroke()}}if(et>.1){m.fillStyle=Rt;for(const j of W)j.y-=j.speed*V,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*et*.7,m.fillRect(j.x*X,j.y*tt,1,1)}if(et>.15){v.auroraPhase+=V*.08,m.save(),m.globalCompositeOperation=it?"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 P=O.y*tt;m.beginPath(),m.moveTo(0,P);for(let lt=0;lt<=X;lt+=8){const ut=P+Math.sin(lt*O.freq*.005+v.auroraPhase+O.hue)*O.amp+Math.sin(lt*.003+v.auroraPhase*1.7)*O.amp*.5;m.lineTo(lt,ut)}m.lineTo(X,0),m.lineTo(0,0),m.closePath();const J=m.createLinearGradient(0,P-60,0,P+80);J.addColorStop(0,"rgba(0,0,0,0)"),J.addColorStop(.4,`hsla(${O.hue},60%,50%,${O.alpha*et})`),J.addColorStop(.6,`hsla(${O.hue},60%,40%,${O.alpha*et*.6})`),J.addColorStop(1,"rgba(0,0,0,0)"),m.fillStyle=J,m.fill()}m.restore()}for(const j of Y){const O=j.layer===0?.3:j.layer===1?.65:1,P=j.angle+v.rotation*O,J=Math.sqrt(X*X+tt*tt)*.75,lt=Q+Math.cos(P)*j.dist*J+v.mouseX*25*O,ut=F+Math.sin(P)*j.dist*J+v.mouseY*15*O;if(lt<-60||lt>X+60||ut<-60||ut>tt+60)continue;const pt=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)))*et;if(!(pt<.008)){if(B>.02&&et>.2){const dt=v.angVel*j.dist*J*O,Gt=Math.max(-80,Math.min(80,dt));if(Math.abs(Gt)>1.5){const xt=-Math.sin(P),Xt=Math.cos(P);m.beginPath(),m.moveTo(lt-xt*Gt*.5,ut-Xt*Gt*.5),m.lineTo(lt+xt*Gt*.5,ut+Xt*Gt*.5),m.lineWidth=j.r*1.8,m.strokeStyle=Ut(j.color),m.globalAlpha=pt*.3,m.stroke()}}if(m.globalAlpha=pt,m.fillStyle=Ut(j.color),m.beginPath(),m.arc(lt,ut,j.r,0,Math.PI*2),m.fill(),j.shimmer&&pt>.1){const dt=.5+.5*Math.sin(k*j.speed*.7+j.phase),Gt=j.r*(8+dt*6),xt=m.createRadialGradient(lt,ut,0,lt,ut,Gt);xt.addColorStop(0,Ut(j.color)),xt.addColorStop(.15,Ut(j.color)),xt.addColorStop(1,"rgba(0,0,0,0)"),m.globalAlpha=pt*.25*dt,m.fillStyle=xt,m.beginPath(),m.arc(lt,ut,Gt,0,Math.PI*2),m.fill();const Xt=j.r*(4+dt*3);m.globalAlpha=pt*.4*dt,m.strokeStyle=Ut(j.color),m.lineWidth=.8,m.beginPath(),m.moveTo(lt-Xt,ut),m.lineTo(lt+Xt,ut),m.moveTo(lt,ut-Xt),m.lineTo(lt,ut+Xt),m.stroke()}}}for(let j=v.shootingStars.length-1;j>=0;j--){const O=v.shootingStars[j];if(O.life+=V,O.life>O.maxLife){v.shootingStars.splice(j,1);continue}const P=O.life/O.maxLife,J=P<.2?P/.2:1-(P-.2)/.8,lt=O.x+Math.cos(O.angle)*O.speed*O.life,ut=O.y+Math.sin(O.angle)*O.speed*O.life,_t=lt-Math.cos(O.angle)*O.len*J,pt=ut-Math.sin(O.angle)*O.len*J,dt=m.createLinearGradient(_t,pt,lt,ut);dt.addColorStop(0,`rgba(${nt},0)`),dt.addColorStop(.6,`rgba(${nt},${J*.3*et})`),dt.addColorStop(1,`rgba(${nt},${J*.9*et})`),m.strokeStyle=dt,m.lineWidth=1.8,m.globalAlpha=1,m.beginPath(),m.moveTo(_t,pt),m.lineTo(lt,ut),m.stroke(),m.fillStyle=`rgba(${nt},${J*et})`,m.beginPath(),m.arc(lt,ut,2,0,Math.PI*2),m.fill()}v.nextPulsarAt-=V*1e3,v.nextPulsarAt<=0&&et>.2&&v.pulsars.length<2&&(v.pulsars.push({x:Math.random()*X,y:Math.random()*tt,life:0,maxLife:2.5+Math.random()*1.5}),v.nextPulsarAt=6e3+Math.random()*1e4);for(let j=v.pulsars.length-1;j>=0;j--){const O=v.pulsars[j];if(O.life+=V,O.life>O.maxLife){v.pulsars.splice(j,1);continue}const P=O.life/O.maxLife,J=P*60,lt=P<.1?P/.1:1-(P-.1)/.9;if(m.strokeStyle=`rgba(${Vt},${lt*.3*et})`,m.lineWidth=1.5*(1-P),m.globalAlpha=1,m.beginPath(),m.arc(O.x,O.y,J,0,Math.PI*2),m.stroke(),P<.3){const ut=(1-P/.3)*.6*et;m.fillStyle=`rgba(${Vt},${ut})`,m.beginPath(),m.arc(O.x,O.y,2,0,Math.PI*2),m.fill()}}if(v.nextBirthAt-=V*1e3,v.nextBirthAt<=0&&et>.2&&v.births.length<1){const j=it?["#fff","#ccd6ff","#fff4e0","#ffe8c8"]:["#000","#1a2040","#3a2800","#402000"];v.births.push({x:X*.1+Math.random()*X*.8,y:tt*.1+Math.random()*tt*.6,life:0,maxLife:2+Math.random()*1,color:j[Math.floor(Math.random()*j.length)]}),v.nextBirthAt=18e3+Math.random()*15e3}for(let j=v.births.length-1;j>=0;j--){const O=v.births[j];if(O.life+=V,O.life>O.maxLife){v.births.splice(j,1);continue}const P=O.life/O.maxLife,J=P<.15?P/.15:1,lt=P<.3?1:1-(P-.3)/.7,ut=J*20,_t=m.createRadialGradient(O.x,O.y,0,O.x,O.y,ut);_t.addColorStop(0,O.color),_t.addColorStop(.3,O.color),_t.addColorStop(1,"rgba(0,0,0,0)"),m.globalAlpha=lt*.4*et,m.fillStyle=_t,m.beginPath(),m.arc(O.x,O.y,ut,0,Math.PI*2),m.fill();const pt=1+J*2*lt;if(m.globalAlpha=lt*.9*et,m.fillStyle=Rt,m.beginPath(),m.arc(O.x,O.y,pt,0,Math.PI*2),m.fill(),P<.3){const dt=J*15*lt;m.strokeStyle=O.color,m.lineWidth=.6,m.globalAlpha=lt*.5*et,m.beginPath(),m.moveTo(O.x-dt,O.y),m.lineTo(O.x+dt,O.y),m.moveTo(O.x,O.y-dt),m.lineTo(O.x,O.y+dt),m.stroke()}}if(m.globalAlpha=1,h&&c?(v.planetAlpha=Math.min(1,v.planetAlpha+V*.8),v.elementTintAlpha=Math.min(1,v.elementTintAlpha+V*.6)):(v.planetAlpha=Math.max(0,v.planetAlpha-V*1.5),v.elementTintAlpha=Math.max(0,v.elementTintAlpha-V*1.5)),h&&v.elementTintAlpha>.01){const j=dp[h.zodiac.element];if(j){const xt=v.elementTintAlpha*et*.12,Xt=m.createRadialGradient(X*.5,tt*.72,0,X*.5,tt*.72,tt*.7);Xt.addColorStop(0,`rgba(${j.r},${j.g},${j.b},${xt})`),Xt.addColorStop(.5,`rgba(${j.r},${j.g},${j.b},${xt*.3})`),Xt.addColorStop(1,"rgba(0,0,0,0)"),m.fillStyle=Xt,m.beginPath(),m.arc(X*.5,tt*.72,tt*.7,0,Math.PI*2),m.fill()}const P=5+(mp[h.zodiac.rulingPlanet]||.5)*8,J=P*5,lt=X*.73+Math.sin(k*.1)*8,ut=tt*.68+Math.cos(k*.08)*6,_t=v.planetAlpha*(it?et:Math.max(et,.7)),pt=m.createRadialGradient(lt,ut,0,lt,ut,J);pt.addColorStop(0,`rgba(${de},${_t*.08})`),pt.addColorStop(.3,`rgba(${de},${_t*.03})`),pt.addColorStop(1,`rgba(${de},0)`),m.fillStyle=pt,m.globalAlpha=1,m.beginPath(),m.arc(lt,ut,J,0,Math.PI*2),m.fill();const dt=m.createRadialGradient(lt-P*.2,ut-P*.2,0,lt,ut,P);dt.addColorStop(0,`rgba(${Bt[0]},${Bt[1]},${Bt[2]},${_t*.5})`),dt.addColorStop(.7,`rgba(${Bt[3]},${Bt[4]},${Bt[5]},${_t*.25})`),dt.addColorStop(1,`rgba(${Bt[6]},${Bt[7]},${Bt[8]},${_t*.1})`),m.fillStyle=dt,m.beginPath(),m.arc(lt,ut,P,0,Math.PI*2),m.fill(),h.zodiac.rulingPlanet==="Saturn"&&(m.strokeStyle=`rgba(${Wt},${_t*.2})`,m.lineWidth=1,m.beginPath(),m.ellipse(lt,ut,P*2.2,P*.5,-.2,0,Math.PI*2),m.stroke());const Gt=hp[h.birthstone];if(Gt)for(let xt=0;xt<8;xt++){const Xt=X*.25+xt*.07*X+Math.sin(k*.25+xt*1.1)*25,Ae=tt*.65+Math.cos(k*.2+xt*.9)*30+xt%3*15,Qt=v.elementTintAlpha*et*.3*(.4+.6*Math.sin(k*.4+xt*2));m.fillStyle=Gt,m.globalAlpha=Qt,m.beginPath(),m.arc(Xt,Ae,1.5+xt%3*.5,0,Math.PI*2),m.fill()}m.globalAlpha=1}const st=(j,O,P)=>{const J=sp[j];if(!J||O<=0)return;const lt=v.rotation*.65,ut=X*.5+v.mouseX*25*.65,_t=tt*.72+v.mouseY*15*.65,pt=Math.min(X*.45,tt*.22),dt=J.stars.map(([Qt,_e])=>{const ue=(Qt-.5)*pt,ae=(_e-.42)*pt,Te=Math.cos(lt*.15),Zt=Math.sin(lt*.15);return[ut+ue*Te-ae*Zt,_t+ue*Zt+ae*Te]}),Gt=J.lines.length,xt=Math.floor(P*Gt),Xt=P*Gt-xt,Ae=it?1:3;m.strokeStyle=`rgba(16,185,129,${O*.3*et*Ae})`,m.lineWidth=it?1:1.5,m.shadowColor=`rgba(16,185,129,${O*.5*Ae})`,m.shadowBlur=6,m.beginPath();for(let Qt=0;Qt<=xt&&Qt<Gt;Qt++){const[_e,ue]=J.lines[Qt],[ae,Te]=dt[_e],[Zt,na]=dt[ue];m.moveTo(ae,Te),m.lineTo(Qt<xt?Zt:ae+(Zt-ae)*Xt,Qt<xt?na:Te+(na-Te)*Xt)}m.stroke(),m.shadowBlur=0;for(let Qt=0;Qt<J.stars.length;Qt++){const[,,_e]=J.stars[Qt],[ue,ae]=dt[Qt],Te=O*_e*Math.min(1,P*Gt/Math.max(1,Qt))*et;if(Te<=0)continue;const Zt=5+_e*5,na=m.createRadialGradient(ue,ae,0,ue,ae,Zt);na.addColorStop(0,`rgba(16,185,129,${Te*.7*Ae})`),na.addColorStop(.4,`rgba(16,185,129,${Te*.2*Ae})`),na.addColorStop(1,"rgba(16,185,129,0)"),m.fillStyle=na,m.globalAlpha=1,m.beginPath(),m.arc(ue,ae,Zt,0,Math.PI*2),m.fill(),m.fillStyle=`rgba(${xe},${Te})`,m.beginPath(),m.arc(ue,ae,1.2+_e*1.3,0,Math.PI*2),m.fill()}if(j===v.sign&&v.labelAlpha>0){const Qt=Math.max(13,Math.min(16,X*.035)),_e=Math.max(10,Math.min(12,X*.025)),ue=Math.max(...dt.map(ae=>ae[1]));if(m.textAlign="center",m.globalAlpha=v.labelAlpha*(it?.5:1),m.fillStyle=it?"#34d399":"#047857",m.font=`500 ${Qt}px -apple-system, Inter, system-ui, sans-serif`,m.letterSpacing="3px",m.fillText(j.toUpperCase(),ut,ue+24),m.letterSpacing="0px",h&&v.labelAlpha>.4){const ae=(v.labelAlpha-.4)/.6;m.font=`400 ${_e}px -apple-system, Inter, system-ui, sans-serif`,m.letterSpacing="1.5px",m.globalAlpha=ae*(it?.6:1),m.fillStyle=it?"#a1a1aa":"#71717a",m.fillText(`${h.zodiac.element} · ${h.zodiac.rulingPlanet}`,ut,ue+42),m.globalAlpha=ae*(it?.45:.85),m.fillStyle=it?"#a1a1aa":"#71717a",m.fillText(`${h.chineseZodiac.element} ${h.chineseZodiac.animal} · Path ${h.numerology.lifePath}`,ut,ue+58),m.letterSpacing="0px"}m.globalAlpha=1}};v.prevSign&&st(v.prevSign,v.prevAlpha,1),v.sign&&v.cAlpha>0&&st(v.sign,v.cAlpha,v.lineProgress),b.current=requestAnimationFrame(Z)},[Y,$,W,s,r,c,f,h,p]);return S.useEffect(()=>(b.current=requestAnimationFrame(Z),()=>cancelAnimationFrame(b.current)),[Z]),T.jsxs("div",{className:"fixed inset-0 overflow-hidden pointer-events-none z-0","aria-hidden":"true",children:[T.jsx("canvas",{ref:A,className:"absolute inset-0 w-full h-full"}),T.jsx("div",{className:"absolute inset-x-0 bottom-0 h-1/4",style:{background:"linear-gradient(to top, var(--color-bg) 0%, transparent 100%)"}}),T.jsx("div",{className:"absolute inset-0",style:{background:"radial-gradient(ellipse 140% 90% at 50% 10%, transparent 50%, var(--color-bg) 100%)"}})]})}const gp={date:"",intensity:.5,nebulaOpacity:.05,artifact:"nebula",cosmic:null},Sm=S.createContext(()=>{}),q1=()=>S.useContext(Sm);function vp(){const[u,s]=S.useState(gp),r=S.useCallback(f=>s(h=>({...h,...f})),[]),{resolved:c}=Pv();return T.jsx(Sm.Provider,{value:r,children:T.jsxs("div",{className:"relative min-h-screen",children:[T.jsx(yp,{...u,darkMode:c==="dark"}),T.jsx(tv,{})]})})}function Em(u){const[s,r]=S.useState(()=>Et.flags.get(u));return S.useEffect(()=>Et.flags.subscribe(f=>{(!f||f===u)&&r(Et.flags.get(u))}),[u]),s}/**
* @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 xm=(...u)=>u.filter((s,r,c)=>!!s&&s.trim()!==""&&c.indexOf(s)===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 pp=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 bp=u=>u.replace(/^([A-Z])|[\s-_]+(\w)/g,(s,r,c)=>c?c.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 Qh=u=>{const s=bp(u);return s.charAt(0).toUpperCase()+s.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 Sp={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 Ep=u=>{for(const s in u)if(s.startsWith("aria-")||s==="role"||s==="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 xp=S.forwardRef(({color:u="currentColor",size:s=24,strokeWidth:r=2,absoluteStrokeWidth:c,className:f="",children:h,iconNode:p,...A},b)=>S.createElement("svg",{ref:b,...Sp,width:s,height:s,stroke:u,strokeWidth:c?Number(r)*24/Number(s):r,className:xm("lucide",f),...!h&&!Ep(A)&&{"aria-hidden":"true"},...A},[...p.map(([y,D])=>S.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 Ta=(u,s)=>{const r=S.forwardRef(({className:c,...f},h)=>S.createElement(xp,{ref:h,iconNode:s,className:xm(`lucide-${pp(Qh(u))}`,`lucide-${u}`,c),...f}));return r.displayName=Qh(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 Ap=[["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"}]],Zh=Ta("bell",Ap);/**
* @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 _p=[["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"}]],Tp=Ta("brain",_p);/**
* @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 Mp=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],zp=Ta("chevron-down",Mp);/**
* @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 Cp=[["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"}]],Rp=Ta("download",Cp);/**
* @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 Dp=[["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"}]],wp=Ta("mail",Dp);/**
* @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 Op=[["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"}]],Np=Ta("refresh-cw",Op);/**
* @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 jp=[["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"}]],Up=Ta("shield",jp);/**
* @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 Lp=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],Hp=Ta("smartphone",Lp);/**
* @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 Bp=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Am=Ta("x",Bp),la=br.forComponent("PWA");function tr(u){let s="0.76.3";_a.on("_meta/buildId",r=>{const c=r.val(),f=c==null?void 0:c.version;!f||f===s||(la.info("Deploy detected:",s,"→",f,c==null?void 0:c.sha),s=f,window.dispatchEvent(new Event("sw-update-available")),u&&u.update().catch(()=>{}))})}async function qp(){if(!("serviceWorker"in navigator))return tr(null),null;try{const u=await navigator.serviceWorker.register("/sw.js",{scope:"/",updateViaCache:"none"});tr(u),u.addEventListener("updatefound",()=>{const r=u.installing;r&&r.addEventListener("statechange",()=>{r.state==="installed"&&navigator.serviceWorker.controller&&(la.info("New version available"),window.dispatchEvent(new Event("sw-update-available")))})});let s=!1;return navigator.serviceWorker.addEventListener("controllerchange",()=>{s||(s=!0,window.location.reload())}),u}catch(u){return la.error("Registration failed:",u),tr(null),null}}function ur(){return window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone===!0}function Yp(){return"BJbImCE9AHcqUcia8T2874gKINQDB4aPyNZgAg0fEuS5GrAgCOIuYeGbLGI5aBhPKmuG64SHDW-XtBJXE7B2-Xw"}async function Vp(){return"Notification"in window?Notification.permission==="granted"?"granted":Notification.requestPermission():"denied"}async function Gp(u){la.debug("subscribeToPush called, key:",(u==null?void 0:u.slice(0,20))+"...");const s=await navigator.serviceWorker.ready;if(!s.pushManager)return la.error("No pushManager on registration"),null;try{let r=await s.pushManager.getSubscription();if(la.debug("existing subscription:",r?"yes":"none"),!r){la.debug("creating new subscription...");const c=Xp(u);la.debug("appServerKey length:",c.length),r=await s.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:c}),la.debug("subscribed! endpoint:",r.endpoint.slice(0,60))}return{endpoint:r.endpoint,keys:{p256dh:kh(r.getKey("p256dh")),auth:kh(r.getKey("auth"))}}}catch(r){return la.error("Push subscription failed:",r),null}}function Xp(u){const s="=".repeat((4-u.length%4)%4),r=(u+s).replace(/-/g,"+").replace(/_/g,"/"),c=window.atob(r),f=new Uint8Array(c.length);for(let h=0;h<c.length;++h)f[h]=c.charCodeAt(h);return f}function kh(u){const s=new Uint8Array(u);let r="";for(let c=0;c<s.byteLength;c++)r+=String.fromCharCode(s[c]);return window.btoa(r)}function Qp(){const{user:u}=Ou(),[s,r]=S.useState(null),[c,f]=S.useState(!1);S.useEffect(()=>{if(!u||ur()||localStorage.getItem("pwa-install-dismissed")==="true"||!localStorage.getItem("para-has-returned"))return;const y=Y=>{Y.preventDefault(),r(Y),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(s)try{await s.prompt();const{outcome:y}=await s.userChoice;y==="accepted"&&f(!1),r(null)}catch{}},p=()=>{f(!1),localStorage.setItem("pwa-install-dismissed","true")};if(!u||!c||ur())return null;const A=/iPhone|iPad|iPod/i.test(navigator.userAgent),b=/Android/i.test(navigator.userAgent);return T.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:[T.jsx("button",{onClick:p,className:"absolute top-2 right-2 text-muted hover:text-text",children:T.jsx(Am,{className:"w-4 h-4"})}),T.jsxs("div",{className:"flex items-start gap-3",children:[T.jsx("div",{className:"p-2 rounded-lg bg-accent/20",children:T.jsx(Hp,{className:"w-5 h-5 text-accent"})}),T.jsxs("div",{className:"flex-1 space-y-2",children:[T.jsx("h3",{className:"font-semibold text-sm",children:"Install Para"}),s?T.jsxs(T.Fragment,{children:[T.jsx("p",{className:"text-xs text-muted",children:"Add Para to your home screen for quick access."}),T.jsxs("button",{onClick:h,className:"w-full mt-2 flex items-center justify-center gap-2 px-3 py-2 text-sm font-medium rounded-lg bg-accent text-white hover:bg-accent-hover transition-colors",children:[T.jsx(Rp,{className:"w-4 h-4"}),"Install App"]})]}):A?T.jsxs("div",{className:"text-xs text-muted space-y-1",children:[T.jsx("p",{children:"To install on iOS:"}),T.jsxs("ol",{className:"list-decimal list-inside space-y-0.5 pl-1",children:[T.jsx("li",{children:"Tap the Share button"}),T.jsx("li",{children:'Tap "Add to Home Screen"'}),T.jsx("li",{children:'Tap "Add"'})]})]}):b?T.jsxs("div",{className:"text-xs text-muted space-y-1",children:[T.jsx("p",{children:"To install on Android:"}),T.jsxs("ol",{className:"list-decimal list-inside space-y-0.5 pl-1",children:[T.jsx("li",{children:"Tap the menu button (⋮)"}),T.jsx("li",{children:'Tap "Install app"'})]})]}):T.jsx("p",{className:"text-xs text-muted",children:"Visit on your mobile device to install."})]})]})]})}const Fa=br.forComponent("PushPrompt");function Zp(){const{user:u}=Ou(),[s,r]=S.useState(!1),[c,f]=S.useState(!1);S.useEffect(()=>{if(!u||!ur()||localStorage.getItem("push-prompt-dismissed")==="true"||!("Notification"in window)||!("PushManager"in window))return;if(Notification.permission==="granted"){navigator.serviceWorker.ready.then(async b=>{await b.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{Fa.debug("requesting permission...");const A=await Vp();if(Fa.debug("permission:",A),A!=="granted"){r(!1),localStorage.setItem("push-prompt-dismissed","true");return}const b=Yp();Fa.debug("VAPID key:",b?b.slice(0,20)+"...":"NOT SET"),Fa.debug("subscribing to push...");const y=await Gp(b);if(Fa.debug("subscription:",y?"ok":"null"),!y)return;Fa.debug("saving subscription to DB..."),await _a.set(`users/${u.id}/pushSubscription`,y),Fa.debug("done!"),r(!1)}catch(A){Fa.error("failed:",A)}finally{f(!1)}}},p=()=>{r(!1),localStorage.setItem("push-prompt-dismissed","true")};return s?T.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:[T.jsx("button",{onClick:p,className:"absolute top-2 right-2 text-muted hover:text-text",children:T.jsx(Am,{className:"w-4 h-4"})}),T.jsxs("div",{className:"flex items-start gap-3",children:[T.jsx("div",{className:"p-2 rounded-lg bg-accent/20",children:T.jsx(Zh,{className:"w-5 h-5 text-accent"})}),T.jsxs("div",{className:"flex-1 space-y-2",children:[T.jsx("h3",{className:"font-semibold text-sm",children:"Enable Notifications"}),T.jsx("p",{className:"text-xs text-muted",children:"Get notified when Para replies, even when the app is in the background."}),T.jsxs("button",{onClick:h,disabled:c,className:"w-full mt-2 flex items-center justify-center gap-2 px-3 py-2 text-sm font-medium rounded-lg bg-accent text-white hover:bg-accent-hover transition-colors disabled:opacity-50",children:[T.jsx(Zh,{className:"w-4 h-4"}),c?"Enabling...":"Enable Notifications"]})]})]})]}):null}function kp(){const[u,s]=S.useState(!1);return S.useEffect(()=>{var c;const r=()=>s(!0);return window.addEventListener("sw-update-available",r),(c=navigator.serviceWorker)==null||c.getRegistration().then(f=>{f!=null&&f.waiting&&r()}),()=>window.removeEventListener("sw-update-available",r)},[]),u?T.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:T.jsxs("div",{className:"flex items-center gap-3",children:[T.jsx(Np,{className:"w-5 h-5 text-accent shrink-0"}),T.jsx("p",{className:"text-sm flex-1",children:"A new version is available."}),T.jsx("button",{onClick:async()=>{var c;const r=await((c=navigator.serviceWorker)==null?void 0:c.getRegistration());r!=null&&r.waiting?r.waiting.postMessage({type:"SKIP_WAITING"}):window.location.reload()},className:"px-3 py-1.5 text-sm font-medium rounded-lg bg-accent text-white hover:bg-accent-hover transition-colors shrink-0",children:"Reload"})]})}):null}const Jh=[{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"}],Jp=["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"],Kp=["_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"],$p=["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"],Wp=["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"],Fp=["liv","livshitz","elya"],Pp=new Set([...Jp,...Kp,...$p,...Wp,...Fp]);function Ip(u){return u.toLowerCase().replace(/\./g,"")}function t1(u){return Pp.has(Ip(u))}function e1({variant:u,ctaLabel:s="Claim your handle"}){const r=Ru(),[c,f]=S.useState(""),[h,p]=S.useState(""),[A,b]=S.useState("idle"),[y,D]=S.useState(""),[M,Y]=S.useState(!1),$=S.useRef(null),W=S.useRef({handle:!1,email:!1}),Z=S.useCallback(m=>{W.current[m]||(W.current[m]=!0,Et.event(`lp_${m}_focus`,{variant:u}))},[u]),q=m=>{const G=m.toLowerCase().replace(/[^a-z0-9_.]/g,"");f(G);const X=G.replace(/\./g,"");if($.current&&clearTimeout($.current),!X){b("idle");return}if(!/^[a-z0-9_]{3,20}$/.test(X)){b("invalid");return}if(t1(X)){b("reserved");return}b("checking"),$.current=setTimeout(async()=>{try{const it=await _a.get(`_handle_avail/${X}`)?"taken":"available";it==="taken"&&Et.event("lp_handle_taken",{handle:X,variant:u}),b(it)}catch{b("available")}},400)},L=async m=>{if(m.preventDefault(),!(A!=="available"||!h)){D(""),Y(!0),Et.event("lp_claim_attempt",{handle:c,variant:u}),Et.metric("lp_claim_attempt",1,{variant:u});try{Et.leads.collect({email:h,name:c,source:`lp-${u}`,meta:{handle:c,variant:u}}).catch(()=>{});const G=c.replace(/\./g,""),X=`claim_${Date.now().toString(36)}_${Math.random().toString(36).slice(2,6)}`;await _a.set(`_handle_claims/${X}`,{handle:G,email:h,variant:u,ts:Date.now()}),r(`/claiming/${G}?claim=${X}`)}catch(G){Et.event("lp_claim_error",{handle:c,variant:u,error:G.message}),D(G.message??"Failed to claim handle")}finally{Y(!1)}}};return T.jsxs("form",{onSubmit:L,className:"space-y-4",children:[T.jsxs("div",{children:[T.jsxs("div",{className:"flex items-center bg-bg border border-border rounded-lg overflow-hidden focus-within:border-accent",children:[T.jsx("input",{type:"text",placeholder:"yourname",value:c,onChange:m=>q(m.target.value),onFocus:()=>Z("handle"),maxLength:20,autoFocus:!0,className:"flex-1 px-3 py-3 bg-transparent text-text text-base text-right focus:outline-none"}),T.jsx("span",{className:"pr-3 text-muted text-base",children:"@para.li"})]}),T.jsxs("div",{className:"h-5 mt-1 text-xs text-left pl-1",children:[A==="checking"&&T.jsx("span",{className:"text-muted",children:"Checking..."}),A==="available"&&T.jsxs("span",{className:"text-green-400",children:["@",c," is yours"]}),A==="taken"&&T.jsxs("span",{className:"text-danger",children:["@",c," is taken"]}),A==="reserved"&&T.jsxs("span",{className:"text-danger",children:["@",c," is reserved"]}),A==="invalid"&&c&&T.jsx("span",{className:"text-danger",children:"3-20 chars: letters, numbers, underscore"})]})]}),T.jsx("input",{type:"email",inputMode:"email",placeholder:"Your email",value:h,onChange:m=>p(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-base focus:outline-none focus:border-accent"}),T.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-base transition-colors disabled:opacity-40",children:M?"Claiming...":s}),y&&T.jsx("p",{className:"text-danger text-xs text-center",children:y})]})}function a1(){const u=Em("lp-variant"),s=(u==null?void 0:u.toUpperCase())??"A",r=Jh.find(c=>c.id===s)??Jh[0];return S.useEffect(()=>{Et.event("lp_view",{variant:r.id}),Et.metric("lp_load_ms",performance.now(),{unit:"ms",variant:r.id})},[r.id]),T.jsxs(T.Fragment,{children:[T.jsxs("div",{className:"relative min-h-screen flex items-center justify-center px-4",children:[T.jsxs("div",{className:"relative z-10 text-center space-y-8 w-full max-w-md",children:[T.jsxs("div",{className:"space-y-3",children:[T.jsx("h1",{className:"text-3xl sm:text-4xl font-bold text-text leading-tight",children:r.headline}),T.jsx("p",{className:"text-base text-muted",children:r.subtitle})]}),T.jsx(e1,{variant:r.id})]}),T.jsx(pr,{to:"/chat-auth",onClick:()=>Et.event("lp_signin_click",{variant:r.id}),className:"absolute bottom-14 left-1/2 -translate-x-1/2 text-xs text-muted hover:text-text no-underline",children:"Already have an account? Sign in"}),T.jsx("button",{onClick:()=>{var c;Et.event("lp_scroll_how",{variant:r.id}),(c=document.getElementById("how-it-works"))==null||c.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:T.jsx(zp,{size:20})}),!1]}),T.jsx("section",{id:"how-it-works",className:"relative py-24 px-4 bg-surface/80 backdrop-blur-sm border-t border-border",children:T.jsxs("div",{className:"max-w-3xl mx-auto",children:[T.jsx("p",{className:"text-xs font-medium text-accent text-center tracking-widest uppercase mb-3",children:"How it works"}),T.jsx("h2",{className:"text-2xl sm:text-3xl font-bold text-text text-center mb-16",children:"Three steps. No setup."}),T.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-10 sm:gap-6",children:l1.map((c,f)=>T.jsxs("div",{className:"relative bg-bg rounded-xl border border-border p-6 text-center space-y-4",children:[T.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 w-7 h-7 rounded-full bg-accent text-bg text-xs font-bold flex items-center justify-center",children:f+1}),T.jsx("div",{className:"w-12 h-12 mx-auto rounded-lg bg-accent/10 flex items-center justify-center mt-2",children:T.jsx(c.icon,{size:24,className:"text-accent"})}),T.jsx("h3",{className:"text-base font-semibold text-text",children:c.title}),T.jsx("p",{className:"text-sm text-text-secondary leading-relaxed",children:c.desc})]},c.title))})]})})]})}const l1=[{icon:wp,title:"Claim your handle",desc:"Pick your @para.li email. It's yours — forever."},{icon:Tp,title:"Your AI learns your style",desc:"Reply once and your Para picks up your tone, priorities, and boundaries."},{icon:Up,title:"It handles the rest",desc:"Para screens strangers, replies on your behalf, and only pings you when it matters."}],n1=S.lazy(()=>jt(()=>import("./Auth-5BGTA2OK.js"),__vite__mapDeps([0,1])).then(u=>({default:u.ChatAuthPage}))),i1=S.lazy(()=>jt(()=>import("./Onboard-BVaYlMt4.js"),__vite__mapDeps([2,0,1,3,4,5])).then(u=>({default:u.OnboardPage}))),u1=S.lazy(()=>jt(()=>import("./Creating-DIzL4VUd.js"),[]).then(u=>({default:u.CreatingPage}))),c1=S.lazy(()=>jt(()=>import("./MainLayout-WmRNRF9b.js"),__vite__mapDeps([6,7,8,9])).then(u=>({default:u.MainLayout}))),s1=S.lazy(()=>jt(()=>import("./ChatList-mYf0NtV_.js"),__vite__mapDeps([10,7,8,11])).then(u=>({default:u.ChatList}))),r1=S.lazy(()=>jt(()=>import("./ChatView-PFeBTnud.js"),__vite__mapDeps([12,7,13,1,14,15,16,17,18,19])).then(u=>({default:u.ChatView}))),o1=S.lazy(()=>jt(()=>import("./Discover-DUKh6Thg.js"),__vite__mapDeps([20,7,21,11,22,8,15])).then(u=>({default:u.DiscoverView}))),f1=S.lazy(()=>jt(()=>import("./Inbox-SpTrXUsd.js"),__vite__mapDeps([23,7,24,19,9,14])).then(u=>({default:u.InboxListView}))),d1=S.lazy(()=>jt(()=>import("./InboxDetail-eRabxBYg.js"),__vite__mapDeps([25,7,24,19,1,14,5,26,15,18,16])).then(u=>({default:u.InboxDetailView}))),h1=S.lazy(()=>jt(()=>import("./TopicDetail-CyH6mlGz.js"),__vite__mapDeps([27,21,7,13,4,22])).then(u=>({default:u.TopicDetailView}))),m1=S.lazy(()=>jt(()=>import("./Notifications-D2u80pYy.js"),__vite__mapDeps([28,7,13,22,8])).then(u=>({default:u.NotificationsView}))),y1=S.lazy(()=>jt(()=>import("./Settings-CX3DSUGu.js"),__vite__mapDeps([29,7])).then(u=>({default:u.SettingsView}))),g1=S.lazy(()=>jt(()=>import("./NotificationTest-CL5SNDWm.js"),__vite__mapDeps([30,7,1,18,15,26])).then(u=>({default:u.NotificationTestPage}))),v1=S.lazy(()=>jt(()=>import("./Share-DScJ170j.js"),[]).then(u=>({default:u.SharePage}))),p1=S.lazy(()=>jt(()=>import("./Claiming-C_CN2CMJ.js"),__vite__mapDeps([31,7,19])).then(u=>({default:u.ClaimingPage}))),b1=S.lazy(()=>jt(()=>import("./Signin-CF8WyQAq.js"),__vite__mapDeps([32,19])).then(u=>({default:u.SigninPage}))),S1=S.lazy(()=>jt(()=>import("./Demo-DVmzPFuC.js"),__vite__mapDeps([33,34,35])).then(u=>({default:u.DemoPage}))),E1=S.lazy(()=>jt(()=>import("./JobChannel-BzH8Y2X9.js"),__vite__mapDeps([36,7,13,37,1,3,17,8,18])).then(u=>({default:u.JobChannel}))),x1=S.lazy(()=>jt(()=>import("./JobChannel-BzH8Y2X9.js"),__vite__mapDeps([36,7,13,37,1,3,17,8,18])).then(u=>({default:u.JobLauncher}))),A1=S.lazy(()=>jt(()=>import("./AdminTrace-C1cpBlPb.js"),__vite__mapDeps([38,7,8,1,5])).then(u=>({default:u.AdminTraceView}))),_1=S.lazy(()=>jt(()=>import("./Baby-DCjbxVjK.js"),[]).then(u=>({default:u.BabyPage}))),T1=S.lazy(()=>jt(()=>import("./BabyIntake-CSXDQkTT.js"),__vite__mapDeps([39,7,34,35,40,37])).then(u=>({default:u.BabyIntakePage}))),M1=S.lazy(()=>jt(()=>import("./BabyQuiz-BuM8JJoJ.js"),__vite__mapDeps([41,7,35,40,37])).then(u=>({default:u.BabyQuizPage}))),z1=S.lazy(()=>jt(()=>import("./Legal-DD1byaMs.js"),[]).then(u=>({default:u.PrivacyPage}))),C1=S.lazy(()=>jt(()=>import("./Legal-DD1byaMs.js"),[]).then(u=>({default:u.TermsPage}))),R1=S.lazy(()=>jt(()=>import("./Legal-DD1byaMs.js"),[]).then(u=>({default:u.DataDeletionPage})));function D1(){const{conversationId:u}=Yg();return u!=null&&u.startsWith("conv_sleep_")?T.jsx(E1,{convId:u}):T.jsx(r1,{})}function er({children:u}){const{user:s,pendingVerification:r,loading:c}=Ou();return c?T.jsx("div",{className:"flex items-center justify-center h-screen text-muted",children:"Loading..."}):r||!s?T.jsx(Du,{to:"/chat-auth",replace:!0}):T.jsx(T.Fragment,{children:u})}function ar({children:u}){return Em("sleep-consumer-funnel")===!1?T.jsx(Du,{to:"/",replace:!0}):T.jsx(T.Fragment,{children:u})}function w1(){const{user:u,loading:s}=Ou();return s?T.jsx("div",{className:"flex items-center justify-center h-screen text-muted",children:"Loading..."}):u?T.jsx(Du,{to:"/chat",replace:!0}):T.jsx(a1,{})}function O1(){return T.jsxs(T.Fragment,{children:[T.jsx(kp,{}),T.jsx(Qp,{}),T.jsx(Zp,{}),T.jsx(S.Suspense,{fallback:null,children:T.jsxs(av,{children:[T.jsxs(Ct,{element:T.jsx(vp,{}),children:[T.jsx(Ct,{index:!0,element:T.jsx(w1,{})}),T.jsx(Ct,{path:"/claiming/:handle",element:T.jsx(p1,{})}),T.jsx(Ct,{path:"/signin",element:T.jsx(b1,{})}),T.jsx(Ct,{path:"/chat-auth",element:T.jsx(n1,{})}),T.jsx(Ct,{path:"/onboard",element:T.jsx(i1,{})}),T.jsx(Ct,{path:"/baby",element:T.jsx(ar,{children:T.jsx(_1,{})})}),T.jsx(Ct,{path:"/baby/intake",element:T.jsx(ar,{children:T.jsx(T1,{})})}),T.jsx(Ct,{path:"/baby/quiz",element:T.jsx(ar,{children:T.jsx(M1,{})})}),T.jsx(Ct,{path:"/privacy",element:T.jsx(z1,{})}),T.jsx(Ct,{path:"/terms",element:T.jsx(C1,{})}),T.jsx(Ct,{path:"/data-deletion",element:T.jsx(R1,{})})]}),T.jsx(Ct,{path:"/share",element:T.jsx(er,{children:T.jsx(v1,{})})}),T.jsx(Ct,{path:"/onboard/creating",element:T.jsx(er,{children:T.jsx(u1,{})})}),T.jsxs(Ct,{element:T.jsx(er,{children:T.jsx(c1,{})}),children:[T.jsx(Ct,{path:"/chat",element:T.jsx(s1,{})}),T.jsx(Ct,{path:"/chat/:conversationId",element:T.jsx(D1,{})}),T.jsx(Ct,{path:"/job/:jobId",element:T.jsx(x1,{})}),T.jsx(Ct,{path:"/discover",element:T.jsx(o1,{})}),T.jsx(Ct,{path:"/inbox",element:T.jsx(f1,{})}),T.jsx(Ct,{path:"/inbox/:emailId",element:T.jsx(d1,{})}),T.jsx(Ct,{path:"/t/:topic",element:T.jsx(h1,{})}),T.jsx(Ct,{path:"/notifications",element:T.jsx(m1,{})}),T.jsx(Ct,{path:"/settings",element:T.jsx(y1,{})}),T.jsx(Ct,{path:"/settings/notifications",element:T.jsx(g1,{})}),T.jsx(Ct,{path:"/admin/trace",element:T.jsx(A1,{})})]}),T.jsx(Ct,{path:"/demo-chat-kit",element:T.jsx(S1,{})}),T.jsx(Ct,{path:"*",element:T.jsx(Du,{to:"/",replace:!0})})]})})]})}const cr="para_attribution",N1=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","ref","fbclid","ttclid","gclid"];function Y1(){try{const u=localStorage.getItem(cr);if(u){const c=JSON.parse(u);return Kh(c),c}const s=new URLSearchParams(window.location.search),r={};for(const c of N1){const f=s.get(c);f&&(r[c]=f.slice(0,120))}return r.landing=window.location.pathname,r.landed_at=Date.now(),localStorage.setItem(cr,JSON.stringify(r)),Kh(r),r}catch{return{}}}function Kh(u){try{Et.analytics.register(u)}catch{}}function j1(){try{const u=localStorage.getItem(cr);if(u)return JSON.parse(u)}catch{}return{}}let sr="init",$h=!1;const Wh=new Set;function V1(u){sr=u}function G1(u,s={}){ti(u,{kind:"stall",...s})}function U1(){try{if(window.matchMedia("(pointer: coarse)").matches||navigator.maxTouchPoints>0)return"mobile"}catch{}return"desktop"}function Fh(u){var s;if(u instanceof Error){const r=(s=u.stack)==null?void 0:s.split(`
`).map(c=>c.trim()).find(c=>c.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,c=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:c}}return{message:String(u)}}function ti(u,s={}){try{const r=window.location.pathname,c=`${r}|${sr}|${s.name??""}|${u}|${s.at??""}`.slice(0,240);if(Wh.has(c))return;Wh.add(c),Et.event("client_error",{msg:String(u).slice(0,300),route:r,step:sr,device:U1(),...s,...j1()})}catch{}}function L1(){$h||typeof window>"u"||($h=!0,window.addEventListener("error",u=>{var c;if(!u.error&&u.target&&u.target!==window){const f=u.target,h=f.src||f.href||"";if(h){ti(`resource load failed: ${h}`.slice(0,200),{kind:"resource",name:(c=f.tagName)==null?void 0:c.toLowerCase(),src:h.slice(0,160)});return}}if(!u.error&&(!u.message||u.message==="Script error.")){ti("Script error (cross-origin — detail blocked; add crossorigin+CORS to see it)",{kind:"cross-origin",src:(u.filename||"").slice(0,160)});return}const s=Fh(u.error??u.message),r=u.filename?`${u.filename.split("/").pop()}:${u.lineno??0}:${u.colno??0}`:void 0;ti(s.message,{kind:"error",name:s.name,at:r,frame:s.frame,src:(u.filename||"").slice(0,160)})},!0),window.addEventListener("unhandledrejection",u=>{const s=u.reason;if((s==null?void 0:s.name)==="AbortError")return;const r=Fh(s);ti(r.message,{kind:"rejection",name:r.name,frame:r.frame})}))}L1();qp();"serviceWorker"in navigator&&navigator.serviceWorker.addEventListener("message",u=>{var s,r;((s=u.data)==null?void 0:s.type)==="NAVIGATE"&&u.data.url&&(window.location.href=u.data.url),((r=u.data)==null?void 0:r.type)==="MARK_READ"&&u.data.nid&&jt(async()=>{const{client:c}=await Promise.resolve().then(()=>Jv);return{client:c}},void 0).then(({client:c})=>{const f=localStorage.getItem("bodify_auth_token");if(f)try{const p=JSON.parse(atob(f.split(".")[1])).sub;if(!p)return;c.get(`users/${p}/notifications/${u.data.nid}`).then(A=>{A&&!A.read&&c.set(`users/${p}/notifications/${u.data.nid}`,{...A,read:!0})})}catch{}})});tg.createRoot(document.getElementById("root")).render(T.jsx(S.StrictMode,{children:T.jsx(zv,{children:T.jsx(Fv,{children:T.jsx(Kv,{children:T.jsx(O1,{})})})})}));export{Et as B,zp as C,pr as L,wp as M,Du as N,tv as O,Np as R,Am as X,jt as _,Ru as a,_a as b,Ta as c,Pv as d,Zh as e,H1 as f,Y1 as g,j1 as h,ur as i,T as j,q1 as k,B1 as l,Yg as m,Em as n,G1 as o,br as p,V1 as q,S as r,Gp as s,Yp as t,Ou as u,Cv as v,Fy as w};