const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Auth-Bf1BE79y.js","assets/arrow-left-DCV-3n-f.js","assets/Onboard-2HxwjpF4.js","assets/sparkles-DhjE0GjP.js","assets/chevron-left-BlJzVpk-.js","assets/chevron-right-CHDnrY56.js","assets/MainLayout-WvssNc0J.js","assets/hooks-Cb7dD6iv.js","assets/message-square-TK8KEbh-.js","assets/inbox-BAe3ZZC_.js","assets/ChatList-BbbygvV9.js","assets/moon-BBie82sk.js","assets/ChatView-B0pfGYfv.js","assets/utils-ByjjaO5W.js","assets/arrow-down-BjB9K6BN.js","assets/loader-circle-CzIpM2LA.js","assets/pencil-B1jTEYDU.js","assets/rotate-ccw-DPBXzuDr.js","assets/send-DaLH8zXi.js","assets/check-CuFUCu6G.js","assets/Discover-CnpN46lH.js","assets/useTopics-BKvwFH5h.js","assets/radio-CKZwwK4t.js","assets/Inbox-CNS28J3P.js","assets/OverflowMenu-BkrvqUXj.js","assets/InboxDetail-icGZ-7qs.js","assets/circle-x-DWMFfHdb.js","assets/TopicDetail-DwzTQQfS.js","assets/Notifications-7QIf6col.js","assets/Settings-B1enRBE-.js","assets/NotificationTest-BBtzeHgQ.js","assets/Claiming-Cify7tcy.js","assets/Signin-CEy_I9Hj.js","assets/Demo-Dv2iit6r.js","assets/ChatKit-DnSj6qsZ.js","assets/pgsl-llm-callbacks-B9wicUda.js","assets/JobChannel-DZ5NA7jG.js","assets/PlanCard-BzfLGBSL.js","assets/AdminTrace-ZIrfdgVu.js","assets/BabyIntake-CsiClm9R.js","assets/meta-pixel-7cpybwrj.js","assets/BabyQuiz-DgUWIv-Q.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 Gy="modulepreload",Xy=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=Xy(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":Gy,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 Qy(){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 Zy(){return Ah||(Ah=1,Zs.exports=Qy()),Zs.exports}var T=Zy(),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 ky(){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},Ct=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)!Ct.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)Ct.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=ky()),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 Jy(){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,Ct=5,Vt=-1;function de(){return q?!0:!(u.unstable_now()-Vt<Ct)}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"):Ct=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 Ky(){return zh||(zh=1,Ks.exports=Jy()),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 Rh;function $y(){if(Rh)return he;Rh=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 Ch;function Wy(){if(Ch)return Ws.exports;Ch=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=$y(),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 Fy(){if(Dh)return Pn;Dh=1;var u=Ky(),s=rr(),r=Wy();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"),Ct=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 Ct: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 Et(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 C=w}Reflect.construct(t,[],H)}else{try{H.call()}catch(w){C=w}t.call(H.prototype)}}else{try{throw Error()}catch(w){C=w}(H=t())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(w){if(w&&C&&typeof w.stack=="string")return[w.stack,C.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(`
`),R=d.split(`
`);for(n=l=0;l<g.length&&!g[l].includes("DetermineComponentFrameRoot");)l++;for(;n<R.length&&!R[n].includes("DetermineComponentFrameRoot");)n++;if(l===g.length||n===R.length)for(l=g.length-1,n=R.length-1;1<=l&&0<=n&&g[l]!==R[n];)n--;for(;1<=l&&0<=n;l--,n--)if(g[l]!==R[n]){if(l!==1||n!==1)do if(l--,n--,0>n||g[l]!==R[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 Et(t.type,!1);case 11:return Et(t.type.render,!1);case 1:return Et(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,ni=u.unstable_NormalPriority,Am=u.unstable_LowPriority,xr=u.unstable_IdlePriority,_m=u.log,Tm=u.unstable_setDisableYieldValue,nn=null,Me=null;function Ma(t){if(typeof _m=="function"&&Tm(t),Me&&typeof Me.setStrictMode=="function")try{Me.setStrictMode(nn,t)}catch{}}var ze=Math.clz32?Math.clz32:Rm,Mm=Math.log,zm=Math.LN2;function Rm(t){return t>>>=0,t===0?32:31-(Mm(t)/zm|0)|0}var ii=256,ui=262144,ci=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 si(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 Cm(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=ci;return ci<<=1,(ci&62914560)===0&&(ci=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 Dm(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,R=t.hiddenUpdates;for(a=o&~a;0<a;){var N=31-ze(a),H=1<<N;d[N]=0,g[N]=-1;var C=R[N];if(C!==null)for(R[N]=null,N=0;N<C.length;N++){var w=C[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 Rr(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,wm="__reactListeners$"+za,Om="__reactHandles$"+za,Cr="__reactResources$"+za,sn="__reactMarker$"+za;function Hu(t){delete t[ce],delete t[ye],delete t[Lu],delete t[wm],delete t[Om]}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[Cr];return e||(e=t[Cr]={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 Nm=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 jm(t){return Qt.call(Nr,t)?!0:Qt.call(Or,t)?!1:Nm.test(t)?Nr[t]=!0:(Or[t]=!0,!1)}function ri(t,e,a){if(jm(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 oi(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 Um(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=Um(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 fi(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 Lm=/[\n"\\]/g;function He(t){return t.replace(Lm,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"&&fi(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 Hm=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||Hm.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 Bm=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"]]),qm=/^[\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 di(t){return qm.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)&&(Ii(),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 Ra=null,ku=null,hi=null;function Xr(){if(hi)return hi;var t,e=ku,a=e.length,l,n="value"in Ra?Ra.value:Ra.textContent,i=n.length;for(t=0;t<a&&e[t]===n[t];t++);var o=a-t;for(l=1;l<=o&&e[a-l]===n[i-l];l++);return hi=n.slice(t,1<l?1-l:void 0)}function mi(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 yi(){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)?yi: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=yi)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=yi)},persist:function(){},isPersistent:yi}),e}var tl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},gi=ge(tl),dn=M({},tl,{view:0,detail:0}),Ym=ge(dn),Ju,Ku,hn,vi=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(vi),Vm=M({},vi,{dataTransfer:0}),Gm=ge(Vm),Xm=M({},dn,{relatedTarget:0}),$u=ge(Xm),Qm=M({},tl,{animationName:0,elapsedTime:0,pseudoElement:0}),Zm=ge(Qm),km=M({},tl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Jm=ge(km),Km=M({},tl,{data:0}),kr=ge(Km),$m={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Wm={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"},Fm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pm(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Fm[t])?!!e[t]:!1}function Wu(){return Pm}var Im=M({},dn,{key:function(t){if(t.key){var e=$m[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=mi(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Wm[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"?mi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?mi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),t0=ge(Im),e0=M({},vi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jr=ge(e0),a0=M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wu}),l0=ge(a0),n0=M({},tl,{propertyName:0,elapsedTime:0,pseudoElement:0}),i0=ge(n0),u0=M({},vi,{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}),c0=ge(u0),s0=M({},tl,{newState:0,oldState:0}),r0=ge(s0),o0=[9,13,27,32],Fu=ca&&"CompositionEvent"in window,mn=null;ca&&"documentMode"in document&&(mn=document.documentMode);var f0=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 o0.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 d0(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 h0(t,e){if(Tl)return t==="compositionend"||!Fu&&Fr(t,e)?(t=Xr(),hi=ku=Ra=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 m0={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"?!!m0[t.type]:e==="textarea"}function to(t,e,a,l){Al?_l?_l.push(l):_l=[l]:Al=l,e=uu(e,"onChange"),0<e.length&&(a=new gi("onChange","change",null,a,l),t.push({event:a,listeners:e}))}var yn=null,gn=null;function y0(t){Bd(t,0)}function pi(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"&&pi(gn)){var e=[];to(e,gn,t,Xu(t)),Gr(y0,e)}}function g0(t,e,a){t==="focusin"?(no(),yn=e,gn=a,yn.attachEvent("onpropertychange",io)):t==="focusout"&&no()}function v0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return pi(gn)}function p0(t,e){if(t==="click")return pi(e)}function b0(t,e){if(t==="input"||t==="change")return pi(e)}function S0(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Re=typeof Object.is=="function"?Object.is:S0;function vn(t,e){if(Re(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),l=Object.keys(e);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var n=a[l];if(!Qt.call(e,n)||!Re(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=fi(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=fi(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 E0=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!==fi(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=uu(ec,"onSelect"),0<l.length&&(e=new gi("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"),x0=al("transitionrun"),A0=al("transitionstart"),_0=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 bi=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=[],Rl=0,ic=0;function Si(){for(var t=Rl,e=ic=Rl=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 Ei(t,e,a,l){Be[Rl++]=t,Be[Rl++]=e,Be[Rl++]=a,Be[Rl++]=l,ic|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function uc(t,e,a,l){return Ei(t,e,a,l),xi(t)}function ll(t,e){return Ei(t,null,null,e),xi(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 xi(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 Cl={};function T0(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 Ce(t,e,a,l){return new T0(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=Ce(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 Ai(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=Dy(t,a,F.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Vt:return t=Ce(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=Ce(12,a,e,n|2),t.elementType=L,t.lanes=i,t;case tt:return t=Ce(13,a,e,n),t.elementType=tt,t.lanes=i,t;case it:return t=Ce(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 Ct:o=16,l=null;break t}o=29,a=Error(c(130,t===null?"null":typeof t,"")),l=null}return e=Ce(o,a,e,n),e.elementType=t,e.type=l,e.lanes=i,e}function nl(t,e,a,l){return t=Ce(7,t,l,e),t.lanes=a,t}function sc(t,e,a){return t=Ce(6,t,null,e),t.lanes=a,t}function So(t){var e=Ce(18,null,null,0);return e.stateNode=t,e}function rc(t,e,a){return e=Ce(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,_i=null,bn=0,Ye=[],Ve=0,Ca=null,Ie=1,ta="";function ra(t,e){Dl[wl++]=bn,Dl[wl++]=_i,_i=t,bn=e}function xo(t,e,a){Ye[Ve++]=Ie,Ye[Ve++]=ta,Ye[Ve++]=Ca,Ca=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===_i;)_i=Dl[--wl],Dl[wl]=null,bn=Dl[--wl],Dl[wl]=null;for(;t===Ca;)Ca=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++]=Ca,Ie=e.id,ta=e.overflow,Ca=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;Re(n.pendingProps.value,o.value)||(t!==null?t.push(d):t=[d])}}else if(n===O.current){if(o=n.alternate,o===null)throw Error(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 Ti(t){for(t=t.firstContext;t!==null;){if(!Re(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 Mi(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 M0=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()})}},z0=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 M0,data:new Map,refCount:0}}function En(t){t.refCount--,t.refCount===0&&z0(R0,function(){t.controller.abort()})}var xn=null,pc=0,jl=0,Ul=null;function C0(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 D0(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 Ro=v.S;v.S=function(t,e){dd=Zt(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&C0(t,e),Ro!==null&&Ro(t,e)};var sl=x(null);function bc(){var t=sl.current;return t!==null?t:Nt.pooledCache}function zi(t,e){e===null?Q(sl,sl.current):Q(sl,e.pool)}function Co(){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)),Ci={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 Di(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 wi(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===Ct&&rl(at)===E.type)?(E=n(E,z.props),_n(E,z),E.return=_,E):(E=Ai(z.type,z.key,z.props,null,_.mode,U),_n(E,z),E.return=_,E)}function R(_,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=Ai(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 Ct: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(_,Di(E),z);if(E.$$typeof===G)return H(_,Mi(_,E),z);wi(_,E)}return null}function C(_,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?R(_,E,z,U):null;case Ct:return z=rl(z),C(_,E,z,U)}if(Ut(z)||Wt(z))return at!==null?null:N(_,E,z,U,null);if(typeof z.then=="function")return C(_,E,Di(z),U);if(z.$$typeof===G)return C(_,E,Mi(_,z),U);wi(_,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,R(E,_,U,at);case Ct: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,Di(U),at);if(U.$$typeof===G)return w(_,E,z,Mi(E,U),at);wi(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=C(_,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=C(_,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(Vy){return e(_,Vy)}),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===Ct&&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=Ai(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 Ct: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,Di(z),U);if(z.$$typeof===G)return Ot(_,E,Mi(_,z),U);wi(_,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=Ce(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,(xt&2)!==0){var n=l.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),l.pending=e,e=xi(t),po(t,null,a),e}return Ei(t,l,e,a),xi(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,R=g.next;g.next=null,o===null?i=R:o.next=R,o=g;var N=t.alternate;N!==null&&(N=N.updateQueue,d=N.lastBaseUpdate,d!==o&&(d===null?N.firstBaseUpdate=R:d.next=R,N.lastBaseUpdate=g))}if(i!==null){var H=n.baseState;o=0,N=R=g=null,d=i;do{var C=d.lane&-536870913,w=C!==d.lane;if(w?(yt&C)===C:(l&C)===C){C!==0&&C===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;C=e;var Ot=a;switch(ct.tag){case 1:if(K=ct.payload,typeof K=="function"){H=K.call(Ot,H,C);break t}H=K;break t;case 3:K.flags=K.flags&-65537|128;case 0:if(K=ct.payload,C=typeof K=="function"?K.call(Ot,H,C):K,C==null)break t;H=M({},H,C);break t;case 2:Na=!0}}C=d.callback,C!==null&&(t.flags|=64,w&&(t.flags|=8192),w=n.callbacks,w===null?n.callbacks=[C]:w.push(C))}else w={lane:C,tag:d.tag,payload:d.payload,callback:d.callback,next:null},N===null?(R=N=w,g=H):N=N.next=w,o|=C;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=R,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),Oi=x(0);function Bo(t,e){t=Sa,Q(Oi,t),Q(Bl,e),Sa=t|e.baseLanes}function Tc(){Q(Oi,Sa),Q(Bl,Bl.current)}function Mc(){Sa=Oi.current,B(Bl),B(Oi)}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 Ni(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,ji=!1,ql=!1,dl=!1,Ui=0,Rn=0,Yl=null,w0=0;function kt(){throw Error(c(321))}function Rc(t,e){if(e===null)return!1;for(var a=0;a<e.length&&a<t.length;a++)if(!Re(t[a],e[a]))return!1;return!0}function Cc(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,ji=!1,Rn=0,Yl=null,e)throw Error(c(300));t===null||It||(t=t.dependencies,t!==null&&Ti(t)&&(It=!0))}function Vo(t,e,a,l){ot=t;var n=0;do{if(ql&&(Yl=null),Rn=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 O0(){var t=v.H,e=t.useState()[0];return e=typeof e.then=="function"?Cn(e):e,t=t.useState()[0],(Dt!==null?Dt.memoizedState:null)!==t&&(ot.flags|=1024),e}function Dc(){var t=Ui!==0;return Ui=0,t}function wc(t,e,a){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a}function Oc(t){if(ji){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}ji=!1}da=0,Pt=Dt=ot=null,ql=!1,Rn=Ui=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 Li(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Cn(t){var e=Rn;return Rn+=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 Hi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Cn(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=Li(),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 Bi(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,R=e,N=!1;do{var H=R.lane&-536870913;if(H!==R.lane?(yt&H)===H:(da&H)===H){var C=R.revertLane;if(C===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null}),H===jl&&(N=!0);else if((da&C)===C){R=R.next,C===jl&&(N=!0);continue}else H={lane:0,revertLane:R.revertLane,gesture:null,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},g===null?(d=g=H,o=i):g=g.next=H,ot.lanes|=C,Ya|=C;H=R.action,dl&&a(i,H),i=R.hasEagerState?R.eagerState:a(i,H)}else C={lane:H,revertLane:R.revertLane,gesture:R.gesture,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},g===null?(d=g=C,o=i):g=g.next=C,ot.lanes|=H,Ya|=H;R=R.next}while(R!==null&&R!==e);if(g===null?o=i:g.next=d,!Re(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);Re(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=!Re((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=Li(),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!Re(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 N0(t,e,a,l,n){if(Vi(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(R){Hc(t,e,R)}finally{i!==null&&o.types!==null&&(i.types=o.types),v.T=i}}else try{i=a(n,l),Wo(t,e,i)}catch(R){Hc(t,e,R)}}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=N0.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=Bi(ha)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=Cn(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},j0.bind(null,n,a),null)),[l,i,t]}function j0(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=Li(),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 qi(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 Yi(t,e,a,l){var n=$t();l=l===void 0?null:l;var i=n.memoizedState.inst;Dt!==null&&l!==null&&Rc(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){qi(8390656,8,t,e)}function Bc(t,e){Yi(2048,8,t,e)}function U0(t){ot.flags|=4;var e=ot.updateQueue;if(e===null)e=Li(),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 U0({ref:e,nextImpl:t}),function(){if((xt&2)!==0)throw Error(c(440));return e.impl.apply(void 0,arguments)}}function sf(t,e){return Yi(4,2,t,e)}function rf(t,e){return Yi(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,Yi(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&&Rc(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&&Rc(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 Re(a,e)?a:Bl.current!==null?(t=Yc(t,a,l),Re(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(),R=v.S;if(R!==null&&R(d,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var N=D0(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 L0(){}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?L0: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 H0(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 B0(t,e,a){var l=je();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Vi(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(Vi(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,Re(d,o))return Ei(t,e,n,0),Nt===null&&Si(),!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},Vi(t)){if(e)throw Error(c(479))}else e=uc(t,a,l,2),e!==null&&Ee(e,t,2)}function Vi(t){var e=t.alternate;return t===ot||e!==null&&e===ot}function Ef(t,e){ql=ji=!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:Hi,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:Hi,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,qi(4194308,4,of.bind(null,e,t),a)},useLayoutEffect:function(t,e){return qi(4194308,4,t,e)},useInsertionEffect:function(t,e){qi(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=B0.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=Ui++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=w0++,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=H0.bind(null,ot)},useEffectEvent:function(t){var e=me(),a={impl:t};return e.memoizedState=a,function(){if((xt&2)!==0)throw Error(c(440));return a.impl.apply(void 0,arguments)}}},Qc={readContext:re,use:Hi,useCallback:df,useContext:re,useEffect:Bc,useImperativeHandle:ff,useInsertionEffect:sf,useLayoutEffect:rf,useMemo:hf,useReducer:Bi,useRef:nf,useState:function(){return Bi(ha)},useDebugValue:qc,useDeferredValue:function(t,e){var a=$t();return mf(a,Dt.memoizedState,t,e)},useTransition:function(){var t=Bi(ha)[0],e=$t().memoizedState;return[typeof t=="boolean"?t:Cn(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:Hi,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:Cn(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){bi(t)}function Rf(t){console.error(t)}function Cf(t){bi(t)}function Gi(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(){Gi(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 q0(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?tu():a.alternate===null&&Jt===0&&(Jt=3),a.flags&=-257,a.flags|=65536,a.lanes=n,l===Ci?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===Ci?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),tu(),!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=Cc(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=Ai(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&&zi(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?(zi(e,i.cachePool),Bo(e,i),Ha(),e.memoizedState=null):(t!==null&&zi(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&&zi(e,null),Tc(),qo(e),t!==null&&Nl(t,e,l,!0),e.childLanes=n,null}function Xi(t,e){return e=Zi({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=Xi(e,e.pendingProps),t.flags|=2,we(e),e.memoizedState=null,t}function Y0(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=Xi(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:Ca!==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 Xi(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;tu(),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=Xi(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 Qi(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=Cc(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=Cl,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):Cl,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 R=i.context,N=a.contextType;o=Cl,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||R!==o)&&Mf(e,i,l,o),Na=!1;var C=e.memoizedState;i.state=C,zn(e,l,i,n),Mn(),R=e.memoizedState,d||C!==R||Na?(typeof H=="function"&&(Zc(e,a,H,l),R=e.memoizedState),(g=Na||Tf(e,a,g,l,C,R,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=R),i.props=l,i.state=R,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,C=i.context,R=a.contextType,g=Cl,typeof R=="object"&&R!==null&&(g=re(R)),d=a.getDerivedStateFromProps,(R=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==H||C!==g)&&Mf(e,i,l,g),Na=!1,C=e.memoizedState,i.state=C,zn(e,l,i,n),Mn();var w=e.memoizedState;o!==H||C!==w||Na||t!==null&&t.dependencies!==null&&Ti(t.dependencies)?(typeof d=="function"&&(Zc(e,a,d,l),w=e.memoizedState),(N=Na||Tf(e,a,N,l,C,w,g)||t!==null&&t.dependencies!==null&&Ti(t.dependencies))?(R||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&&C===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===t.memoizedProps&&C===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&&C===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===t.memoizedProps&&C===t.memoizedState||(e.flags|=1024),l=!1)}return i=l,Qi(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:Co()}}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:Ca!==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=Zi({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=Zi({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 R=o.dgst;o=R,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)||tu(),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,R=g.sibling,l=sa(g,{mode:"hidden",children:l.children}),l.subtreeFlags=g.subtreeFlags&65011712,R!==null?d=sa(R,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=Co(),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=Zi({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Zi(t,e){return t=Ce(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&&Ni(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&&Ni(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&&Ti(t)))}function V0(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,V0(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 Qi(t,e),t===null?(a=ah(e.type,null,e.pendingProps,null))?e.memoizedState=a:vt||(a=e.type,t=e.pendingProps,l=cu(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),Qi(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&vt&&((n=l=Lt)&&(l=vy(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=Cc(t,e,O0,null,null,a),Jn._currentValue=n),Qi(t,e),oe(t,e,l,a),e.child;case 6:return t===null&&vt&&((t=a=Lt)&&(a=py(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 Y0(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=Ci,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=Ci,Sc}function ki(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 G0(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=cu(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=cu(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),ki(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=Ni(t),i!==null){for(e.flags|=128,Nn(l,!1),t=i.updateQueue,e.updateQueue=t,ki(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()>Fi&&(e.flags|=128,n=!0,Nn(l,!1),e.lanes=4194304)}else{if(!n)if(t=Ni(i),t!==null){if(e.flags|=128,n=!0,t=t.updateQueue,e.updateQueue=t,ki(e,t),Nn(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!vt)return Ht(e),null}else 2*Zt()-l.renderingStartTime>Fi&&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&&ki(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 X0(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,R=d;try{R()}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;fy(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 Ji(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(Ji(t,e,a),t=t.sibling;t!==null;)Ji(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 Q0(t,e){if(t=t.containerInfo,Rs=mu,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,R=0,N=0,H=t,C=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;)C=H,H=w;for(;;){if(H===t)break e;if(C===a&&++R===n&&(d=o),C===i&&++N===l&&(g=o),(w=H.nextSibling)!==null)break;H=C,C=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(Cs={focusedElem:t,selectionRange:a},mu=!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=I0.bind(null,a),by(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 Z0(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 Ki(t,e){var a=Z0(t);e.forEach(function(l){if(!a.has(l)){a.add(l);var n=ty.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(ou=null,n=$e,$e=su(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=su(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,Ki(t,l)));break;case 13:pe(e,t),be(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Wi=Zt()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Ki(t,l)));break;case 22:n=t.memoizedState!==null;var g=a!==null&&a.memoizedState!==null,R=ga,N=te;if(ga=R||n,te=N||g,pe(e,t),te=N,ga=R,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,C=H!=null&&H.hasOwnProperty("display")?H.display:null;d.style.display=C==null||typeof C=="boolean"?"":(""+C).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,Ki(t,a))));break;case 19:pe(e,t),be(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Ki(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);Ji(t,i,n);break;case 5:var o=a.stateNode;a.flags&32&&(xl(o,""),a.flags&=-33);var d=is(t);Ji(t,d,o);break;case 3:case 4:var g=a.stateNode.containerInfo,R=is(t);us(t,R,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(R){zt(l,l.return,R)}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(R){zt(l,l.return,R)}}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,R=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&&R&2048&&ss(o.alternate,o);break;case 24:Gl(i,o,d,g,n),n&&R&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&&wy(a,$e,t.memoizedState,t.memoizedProps);break;case 5:Xl(t,e,a);break;case 3:case 4:var l=$e;$e=su(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,$i(t)):Bn(t);break;default:Bn(t)}}function $i(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),$i(e);break;case 22:a=e.stateNode,a._visibility&2&&(a._visibility&=-3,$i(e));break;default:$i(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 k0={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}},J0=typeof WeakMap=="function"?WeakMap:Map,xt=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,Wi=0,dd=0,Fi=1/0,Pi=null,Va=null,ee=0,Ga=null,kl=null,Ea=0,hs=0,ms=null,hd=null,Yn=0,ys=null;function je(){return(xt&2)!==0&&yt!==0?yt&-yt:v.T!==null?Es():zr()}function md(){if(Ne===0)if((yt&536870912)===0||vt){var t=ui;ui<<=1,(ui&3932160)===0&&(ui=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),((xt&2)===0||t!==Nt)&&(t===Nt&&((xt&2)===0&&(yl|=a),Jt===4&&Xa(t,yt,Ne,!1)),aa(t))}function yd(t,e,a){if((xt&6)!==0)throw Error(c(327));var l=!a&&(e&127)===0&&(e&t.expiredLanes)===0||un(t,e),n=l?W0(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&&!K0(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=Wi+300-Zt(),10<n)){if(Xa(l,e,Ne,!qa),si(l,0,!0)!==0)break t;Ea=e,l.timeoutHandle=kd(gd.bind(null,l,a,Se,Pi,ds,e,Ne,yl,Zl,qa,i,"Throttled",-0,0),n);break t}gd(l,a,Se,Pi,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,R,N,H,C,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?Wi-Zt():(i&4194048)===i?dd-Zt():0;if(K=Oy(H,K),K!==null){Ea=i,t.cancelPendingCommit=K(_d.bind(null,t,e,i,a,l,n,o,d,g,N,H,null,C,w)),Xa(t,i,o,!R);return}}_d(t,e,i,a,l,n,o,d,g)}function K0(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var n=a[l],i=n.getSnapshot;n=n.value;try{if(!Re(i(),n))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function 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 Ii(){return(xt&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,my(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,Si(),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,Gi(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=k0,t}function tu(){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=xt;xt|=2;var n=bd(),i=Sd();(Nt!==t||yt!==e)&&(Pi=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 R=Mt;if(Mt=0,Oe=null,Kl(t,d,g,R),a&&Ql){o=0;break t}break;default:R=Mt,Mt=0,Oe=null,Kl(t,d,g,R)}}$0(),o=Jt;break}catch(N){vd(t,N)}while(!0);return e&&t.shellSuspendCounter++,oa=ul=null,xt=l,v.H=n,v.A=i,ht===null&&(Nt=null,yt=0,Si()),o}function $0(){for(;ht!==null;)Ed(ht)}function W0(t,e){var a=xt;xt|=2;var l=bd(),n=Sd();Nt!==t||yt!==e?(Pi=null,Fi=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 R=d.return;R!==null?(ht=R,eu(R)):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))}}F0();break}catch(N){vd(t,N)}while(!0);return oa=ul=null,v.H=l,v.A=n,xt=a,ht!==null?0:(Nt=null,yt=0,Si(),Jt)}function F0(){for(;ht!==null&&!ae();)Ed(ht)}function Ed(t){var e=Zf(t.alternate,t,Sa);t.memoizedProps=t.pendingProps,e===null?eu(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?eu(t):ht=e}function Kl(t,e,a,l){oa=ul=null,Oc(e),Hl=null,An=0;var n=e.return;try{if(q0(t,n,e,a,yt)){Jt=1,Gi(t,qe(a,t.current)),ht=null;return}}catch(i){if(n!==null)throw ht=n,i;Jt=1,Gi(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)):eu(e)}function eu(t){var e=t;do{if((e.flags&32768)!==0){Ad(e,qa);return}t=e.return;var a=G0(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=X0(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 au();while(ee!==0);if((xt&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,Dm(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,ey(ni,function(){return Cd(),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=xt,xt|=4;try{Q0(t,e,a)}finally{xt=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=xt;xt|=4;try{id(e,t);var i=Cs,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 R=g.start,N=g.end;if(N===void 0&&(N=R),"selectionStart"in d)d.selectionStart=R,d.selectionEnd=Math.min(N,d.value.length);else{var H=d.ownerDocument||document,C=H&&H.defaultView||window;if(C.getSelection){var w=C.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}}mu=!!Rs,Cs=Rs=null}finally{xt=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=xt;xt|=4;try{td(t,e.alternate,e)}finally{xt=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,Rd(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&&au(),aa(t),n=t.pendingLanes,(a&261930)!==0&&(n&42)!==0?t===ys?Yn++:(Yn=0,ys=t):Yn=0,Vn(0)}}function Rd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,En(e)))}function au(){return Td(),Md(),zd(),Cd()}function Cd(){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,(xt&6)!==0)throw Error(c(331));var d=xt;if(xt|=4,od(i.current),cd(i,i.current,o,a),xt=d,Vn(0,!1),Me&&typeof Me.onPostCommitFiberRoot=="function")try{Me.onPostCommitFiberRoot(nn,i)}catch{}return!0}finally{V.p=n,v.T=l,Rd(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 J0;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=P0.bind(null,t,e,a),e.then(t,t))}function P0(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()-Wi?(xt&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 I0(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),wd(t,a)}function ty(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 ey(t,e){return _e(t,e)}var lu=null,$l=null,bs=!1,nu=!1,Ss=!1,Qa=0;function aa(t){t!==$l&&t.next===null&&($l===null?lu=$l=t:$l=$l.next=t),nu=!0,bs||(bs=!0,ly())}function Vn(t,e){if(!Ss&&nu){Ss=!0;do for(var a=!1,l=lu;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=si(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 ay(){Od()}function Od(){nu=bs=!1;var t=0;Qa!==0&&hy()&&(t=Qa);for(var e=Zt(),a=null,l=lu;l!==null;){var n=l.next,i=Nd(l,e);i===0?(l.next=null,a===null?lu=n:a.next=n,n===null&&($l=a)):(a=l,(t!==0||(i&3)!==0)&&(nu=!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]=Cm(d,e)):g<=e&&(t.expiredLanes|=d),i&=~d}if(e=Nt,a=yt,a=si(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=ni;break;case 268435456:a=xr;break;default:a=ni}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(au()&&t.callbackNode!==a)return null;var l=yt;return l=si(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(au())return null;yd(t,e,!0)}function ly(){yy(function(){(xt&6)!==0?_e(Sr,ay):Od()})}function Es(){if(Qa===0){var t=jl;t===0&&(t=ii,ii<<=1,(ii&261888)===0&&(ii=256)),Qa=t}return Qa}function Ld(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:di(""+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 ny(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 gi("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],iy=As.toLowerCase(),uy=As[0].toUpperCase()+As.slice(1);Ke(iy,"on"+uy)}Ke(ho,"onAnimationEnd"),Ke(mo,"onAnimationIteration"),Ke(yo,"onAnimationStart"),Ke("dblclick","onDoubleClick"),Ke("focusin","onFocus"),Ke("focusout","onBlur"),Ke(x0,"onTransitionRun"),Ke(A0,"onTransitionStart"),Ke(_0,"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(" "),cy=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,R=d.currentTarget;if(d=d.listener,g!==i&&n.isPropagationStopped())break t;i=d,n.currentTarget=R;try{i(n)}catch(N){bi(N)}n.currentTarget=null,i=g}else for(o=0;o<l.length;o++){if(d=l[o],g=d.instance,R=d.currentTarget,d=d.listener,g!==i&&n.isPropagationStopped())break t;i=d,n.currentTarget=R;try{i(n)}catch(N){bi(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 iu="_reactListening"+Math.random().toString(36).slice(2);function Ts(t){if(!t[iu]){t[iu]=!0,Dr.forEach(function(a){a!=="selectionchange"&&(cy.has(a)||_s(a,!1,t),_s(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[iu]||(e[iu]=!0,_s("selectionchange",!1,e))}}function qd(t,e,a,l){switch(mh(e)){case 2:var n=Uy;break;case 8:n=Ly;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 R=i,N=Xu(a),H=[];t:{var C=vo.get(t);if(C!==void 0){var w=gi,K=t;switch(t){case"keypress":if(mi(a)===0)break t;case"keydown":case"keyup":w=t0;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=Gm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=l0;break;case ho:case mo:case yo:w=Zm;break;case go:w=i0;break;case"scroll":case"scrollend":w=Ym;break;case"wheel":w=c0;break;case"copy":case"cut":case"paste":w=Jm;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=r0}var ct=(e&4)!==0,Ot=!ct&&(t==="scroll"||t==="scrollend"),_=ct?C!==null?C+"Capture":null:C;ct=[];for(var E=R,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&&(C=new w(C,K,null,a,N),H.push({event:C,listeners:ct}))}}if((e&7)===0){t:{if(C=t==="mouseover"||t==="pointerover",w=t==="mouseout"||t==="pointerout",C&&a!==Gu&&(K=a.relatedTarget||a.fromElement)&&(vl(K)||K[gl]))break t;if((w||C)&&(C=N.window===N?N:(C=N.ownerDocument)?C.defaultView||C.parentWindow:window,w?(K=a.relatedTarget||a.toElement,w=R,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=R),w!==K)){if(ct=Zr,U="onMouseLeave",_="onMouseEnter",E="mouse",(t==="pointerout"||t==="pointerover")&&(ct=Jr,U="onPointerLeave",_="onPointerEnter",E="pointer"),Ot=w==null?C:rn(w),z=K==null?C:rn(K),C=new ct(U,E+"leave",w,a,N),C.target=Ot,C.relatedTarget=z,U=null,vl(N)===R&&(ct=new ct(_,E+"enter",K,a,N),ct.target=z,ct.relatedTarget=Ot,U=ct),Ot=U,w&&K)e:{for(ct=sy,_=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,C,w,ct,!1),K!==null&&Ot!==null&&Yd(H,Ot,K,ct,!0)}}t:{if(C=R?rn(R):window,w=C.nodeName&&C.nodeName.toLowerCase(),w==="select"||w==="input"&&C.type==="file")var bt=eo;else if(Ir(C))if(ao)bt=b0;else{bt=v0;var I=g0}else w=C.nodeName,!w||w.toLowerCase()!=="input"||C.type!=="checkbox"&&C.type!=="radio"?R&&Vu(R.elementType)&&(bt=eo):bt=p0;if(bt&&(bt=bt(t,R))){to(H,bt,a,N);break t}I&&I(t,C,R),t==="focusout"&&R&&C.type==="number"&&R.memoizedProps.value!=null&&Yu(C,"number",C.value)}switch(I=R?rn(R):window,t){case"focusin":(Ir(I)||I.contentEditable==="true")&&(Ml=I,ec=R,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(E0)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()):(Ra=N,ku="value"in Ra?Ra.value:Ra.textContent,Tl=!0)),I=uu(R,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=f0?d0(t,a):h0(t,a))&&(gt=uu(R,"onBeforeInput"),0<gt.length&&(I=new kr("onBeforeInput","beforeinput",null,a,N),H.push({event:I,listeners:gt}),I.data=ft)),ny(H,t,R,a,N)}Bd(H,e)})}function Xn(t,e,a){return{instance:t,listener:e,currentTarget:a}}function uu(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 sy(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,R=d.stateNode;if(d=d.tag,g!==null&&g===l)break;d!==5&&d!==26&&d!==27||R===null||(g=R,n?(R=on(a,i),R!=null&&o.unshift(Xn(a,R,g))):n||(R=on(a,i),R!=null&&o.push(Xn(a,R,g)))),a=a.return}o.length!==0&&t.push({event:e,listeners:o})}var ry=/\r\n?/g,oy=/\u0000|\uFFFD/g;function Vd(t){return(typeof t=="string"?t:""+t).replace(ry,`
`).replace(oy,"")}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":oi(t,"class",l);break;case"tabIndex":oi(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":oi(t,a,l);break;case"style":Yr(t,l,i);break;case"data":if(e!=="object"){oi(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=di(""+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=di(""+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=di(""+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),ri(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":ri(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=Bm.get(a)||a,ri(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,""):ri(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,R=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":R=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,R,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(R in a)if(a.hasOwnProperty(R)&&(l=a[R],l!=null))switch(R){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:wt(t,e,R,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 fy(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,R=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 C in l){var w=l[C];if(H=a[C],l.hasOwnProperty(C)&&(w!=null||H!=null))switch(C){case"type":i=w;break;case"name":n=w;break;case"checked":R=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,C,w,l,H)}}qu(t,o,d,g,R,N,i,n);return;case"select":w=o=d=C=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":C=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,C!=null?El(t,!!a,C,!1):!!l!=!!a&&(e!=null?El(t,!!a,e,!0):El(t,!!a,a?[]:"",!1));return;case"textarea":w=C=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":C=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,C,w);return;case"option":for(var K in a)if(C=a[K],a.hasOwnProperty(K)&&C!=null&&!l.hasOwnProperty(K))switch(K){case"selected":t.selected=!1;break;default:wt(t,e,K,null,l,C)}for(g in l)if(C=l[g],w=a[g],l.hasOwnProperty(g)&&C!==w&&(C!=null||w!=null))switch(g){case"selected":t.selected=C&&typeof C!="function"&&typeof C!="symbol";break;default:wt(t,e,g,C,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)C=a[ct],a.hasOwnProperty(ct)&&C!=null&&!l.hasOwnProperty(ct)&&wt(t,e,ct,null,l,C);for(R in l)if(C=l[R],w=a[R],l.hasOwnProperty(R)&&C!==w&&(C!=null||w!=null))switch(R){case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(c(137,e));break;default:wt(t,e,R,C,l,w)}return;default:if(Vu(e)){for(var Ot in a)C=a[Ot],a.hasOwnProperty(Ot)&&C!==void 0&&!l.hasOwnProperty(Ot)&&zs(t,e,Ot,void 0,l,C);for(N in l)C=l[N],w=a[N],!l.hasOwnProperty(N)||C===w||C===void 0&&w===void 0||zs(t,e,N,C,l,w);return}}for(var _ in a)C=a[_],a.hasOwnProperty(_)&&C!=null&&!l.hasOwnProperty(_)&&wt(t,e,_,null,l,C);for(H in l)C=l[H],w=a[H],!l.hasOwnProperty(H)||C===w||C==null&&w==null||wt(t,e,H,C,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 dy(){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],R=g.startTime;if(R>d)break;var N=g.transferSize,H=g.initiatorType;N&&Xd(H)&&(g=g.responseEnd,o+=N*(g<d?1:(d-R)/(g-R)))}if(--l,e+=8*(i+o)/(n.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Rs=null,Cs=null;function cu(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 hy(){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,my=typeof clearTimeout=="function"?clearTimeout:void 0,Jd=typeof Promise=="function"?Promise:void 0,yy=typeof queueMicrotask=="function"?queueMicrotask:typeof Jd<"u"?function(t){return Jd.resolve(null).then(t).catch(gy)}:kd;function gy(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 vy(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 py(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 by(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=cu(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 su(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var xa=V.d;V.d={f:Sy,r:Ey,D:xy,C:Ay,L:_y,m:Ty,X:zy,S:My,M:Ry};function Sy(){var t=xa.f(),e=Ii();return t||e}function Ey(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 xy(t){xa.D(t),eh("dns-prefetch",t,null)}function Ay(t,e){xa.C(t,e),eh("preconnect",t,e)}function _y(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 Ty(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 My(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(R,N){g.onload=R,g.onerror=N}),g.addEventListener("load",function(){d.loading|=1}),g.addEventListener("error",function(){d.loading|=2}),d.loading|=4,ru(o,e,l)}o={type:"stylesheet",instance:o,count:1,state:d},n.set(i,o)}}}function zy(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)?su(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||Cy(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 Cy(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),ru(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,ru(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,ru(l,a.precedence,t));return e.instance}function ru(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 ou=null;function ih(t,e,a){if(ou===null){var l=new Map,n=ou=new Map;n.set(a,l)}else n=ou,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 Dy(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 wy(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=fu.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=fu.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}var Bs=0;function Oy(t,e){return t.stylesheets&&t.count===0&&hu(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var l=setTimeout(function(){if(t.stylesheets&&hu(t,t.stylesheets),t.unsuspend){var i=t.unsuspend;t.unsuspend=null,i()}},6e4+e);0<t.imgBytes&&Bs===0&&(Bs=62500*dy());var n=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&hu(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 fu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)hu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var du=null;function hu(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,du=new Map,e.forEach(Ny,t),du=null,fu.call(t))}function Ny(t,e){if(!(e.state.loading&4)){var a=du.get(t);if(a)var l=a.get(null);else{a=new Map,du.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=fu.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 jy(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,R,N,H){return t=new jy(t,e,a,o,g,R,N,H,d),e=1,i===!0&&(e|=24),i=Ce(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=Cl,t):Cl}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 mu=!0;function Uy(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 Ly(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(mu){var n=Vs(l);if(n===null)Ms(t,e,l,yu,a),yh(t,l);else if(By(n,t,e,a,l))l.stopPropagation();else if(yh(t,l),e&4&&-1<Hy.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),(xt&6)===0&&(Fi=Zt()+500,Vn(0))}}break;case 31:case 13:d=ll(i,2),d!==null&&Ee(d,i,2),Ii(),qs(i,2)}if(i=Vs(l),i===null&&Ms(t,e,l,yu,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 yu=null;function Gs(t){if(yu=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 yu=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 ni:case Am: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=[],Hy="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 By(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,Rr(t.priority,function(){hh(a)});return}}else if(e===31){if(e=A(a),e!==null){t.blockedOn=e,Rr(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 gu(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){gu(t)&&a.delete(e)}function qy(){Xs=!1,ka!==null&&gu(ka)&&(ka=null),Ja!==null&&gu(Ja)&&(Ja=null),Ka!==null&&gu(Ka)&&(Ka=null),Kn.forEach(vh),$n.forEach(vh)}function vu(t,e){t.blockedOn===e&&(t.blockedOn=null,Xs||(Xs=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,qy)))}var pu=null;function ph(t){pu!==t&&(pu=t,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){pu===t&&(pu=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 vu(g,t)}ka!==null&&vu(ka,t),Ja!==null&&vu(Ja,t),Ka!==null&&vu(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}bu.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)},bu.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),Ii(),e[gl]=null}};function bu(t){this._internalRoot=t}bu.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 Yy={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:v,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Su=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Su.isDisabled&&Su.supportsFiber)try{nn=Su.inject(Yy),Me=Su}catch{}}return Pn.createRoot=function(t,e){if(!f(t))throw Error(c(299));var a=!1,l="",n=zf,i=Rf,o=Cf;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=Rf,d=Cf,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 bu(e)},Pn.version="19.2.7",Pn}var wh;function Py(){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=Fy(),Js.exports}var Iy=Py();/**
* 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 tg(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:ti(f)}return ag(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 eg(){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||eg(),mask:f}}function ti({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 ag(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 lg(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 lg(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:ti(s);return f=f.replace(/ $/,"%20"),!r&&f.startsWith("//")&&(f=c+f),new URL(f,c)}function Ph(u,s,r="/"){return ng(u,s,r,!1)}function ng(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=ig(u),b=null,y=vg(p);for(let D=0;b==null&&D<A.length;++D)b=yg(A[D],y,c);return b}function ig(u){let s=Ih(u);return ug(s),s}function Ih(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}".`),Ih(p.children,s,Y,M,b)),!(p.path==null&&!p.index)&&s.push({path:M,score:hg(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 tm(p.path))h(p,A,!0,y)}),s}function tm(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=tm(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 ug(u){u.sort((s,r)=>s.score!==r.score?r.score-s.score:mg(s.routesMeta.map(c=>c.childrenIndex),r.routesMeta.map(c=>c.childrenIndex)))}var cg=/^:[\w-]+$/,sg=3,rg=2,og=1,fg=10,dg=-2,Uh=u=>u==="*";function hg(u,s){let r=u.split("/"),c=r.length;return r.some(Uh)&&(c+=dg),s&&(c+=rg),r.filter(f=>!Uh(f)).reduce((f,h)=>f+(cg.test(h)?sg:h===""?og:fg),c)}function mg(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 yg(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:Eg(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]=gg(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 gg(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 vg(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 pg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function bg(u,s="/"){let{pathname:r,search:c="",hash:f=""}=typeof u=="string"?en(u):u,h;return r?(r=em(r),r.startsWith("/")?h=Lh(r.substring(1),"/"):h=Lh(r,s)):h=s,{pathname:h,search:xg(c),hash:Ag(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 Sg(u){return u.filter((s,r)=>r===0||s.route.path&&s.route.path.length>0)}function or(u){let s=Sg(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=bg(f,A),y=p&&p!=="/"&&p.endsWith("/"),D=(h||p===".")&&r.endsWith("/");return!b.pathname.endsWith("/")&&(y||D)&&(b.pathname+="/"),b}var em=u=>u.replace(/\/\/+/g,"/"),Fe=u=>em(u.join("/")),Mu=u=>u.replace(/\/+$/,""),Eg=u=>Mu(u).replace(/^\/*/,"/"),xg=u=>!u||u==="?"?"":u.startsWith("?")?u:"?"+u,Ag=u=>!u||u==="#"?"":u.startsWith("#")?u:"#"+u,_g=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 Tg(u){return u!=null&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.internal=="boolean"&&"data"in u}function Mg(u){let s=u.map(r=>r.route.path).filter(Boolean);return Fe(s)||"/"}var am=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function lm(u,s){let r=u;if(typeof r!="string"||!pg.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let c=r,f=!1;if(am)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 nm=["POST","PUT","PATCH","DELETE"];new Set(nm);var zg=["GET",...nm];new Set(zg);var an=S.createContext(null);an.displayName="DataRouter";var Ru=S.createContext(null);Ru.displayName="DataRouterState";var im=S.createContext(!1);function Rg(){return S.useContext(im)}var um=S.createContext({isTransitioning:!1});um.displayName="ViewTransition";var Cg=S.createContext(new Map);Cg.displayName="Fetchers";var Dg=S.createContext(null);Dg.displayName="Await";var Ue=S.createContext(null);Ue.displayName="Navigation";var ai=S.createContext(null);ai.displayName="Location";var Je=S.createContext({outlet:null,matches:[],isDataRoute:!1});Je.displayName="Route";var fr=S.createContext(null);fr.displayName="RouteError";var cm="REACT_ROUTER_ERROR",wg="REDIRECT",Og="ROUTE_ERROR_RESPONSE";function Ng(u){if(u.startsWith(`${cm}:${wg}:{`))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 jg(u){if(u.startsWith(`${cm}:${Og}:{`))try{let s=JSON.parse(u.slice(40));if(typeof s=="object"&&s&&typeof s.status=="number"&&typeof s.statusText=="string")return new _g(s.status,s.statusText,s.data)}catch{}}function Ug(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}=li(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(ai)!=null}function Pe(){return Yt(ln(),"useLocation() may be used only in the context of a <Router> component."),S.useContext(ai).location}var sm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function rm(u){S.useContext(Ue).static||S.useLayoutEffect(u)}function Cu(){let{isDataRoute:u}=S.useContext(Je);return u?Fg():Lg()}function Lg(){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 rm(()=>{p.current=!0}),S.useCallback((b,y={})=>{if(ke(p.current,sm),!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 Hg=S.createContext(null);function Bg(u){let s=S.useContext(Je).outlet;return S.useMemo(()=>s&&S.createElement(Hg.Provider,{value:u},s),[s,u])}function qg(){let{matches:u}=S.useContext(Je),s=u[u.length-1];return(s==null?void 0:s.params)??{}}function li(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 Yg(u,s){return om(u,s)}function om(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||"";dm(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})):Ph(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=Zg(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(ai.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...M},navigationType:"POP"}},Z):Z}function Vg(){let u=Wg(),s=Tg(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 Gg=S.createElement(Vg,null),fm=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=jg(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(Xg,{error:u},s):s}};fm.contextType=im;var Ps=new WeakMap;function Xg({children:u,error:s}){let{basename:r}=S.useContext(Ue);if(typeof s=="object"&&s&&"digest"in s&&typeof s.digest=="string"){let c=Ng(s.digest);if(c){let f=Ps.get(s);if(f)throw f;let h=lm(c.location,r);if(am&&!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 Qg({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 Zg(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:Mg(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||Gg,p&&(A<0&&Y===0?(dm("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(Qg,{match:M,routeContext:{outlet:D,matches:L,isDataRoute:c!=null},children:G})};return c&&(M.route.ErrorBoundary||M.route.errorElement||Y===0)?S.createElement(fm,{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 kg(u){let s=S.useContext(an);return Yt(s,dr(u)),s}function Jg(u){let s=S.useContext(Ru);return Yt(s,dr(u)),s}function Kg(u){let s=S.useContext(Je);return Yt(s,dr(u)),s}function hr(u){let s=Kg(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 $g(){return hr("useRouteId")}function Wg(){var c;let u=S.useContext(fr),s=Jg("useRouteError"),r=hr("useRouteError");return u!==void 0?u:(c=s.errors)==null?void 0:c[r]}function Fg(){let{router:u}=kg("useNavigate"),s=hr("useNavigate"),r=S.useRef(!1);return rm(()=>{r.current=!0}),S.useCallback(async(f,h={})=>{ke(r.current,sm),r.current&&(typeof f=="number"?await u.navigate(f):await u.navigate(f,{fromRouteId:s,...h}))},[u,s])}var Hh={};function dm(u,s,r){!s&&!Hh[u]&&(Hh[u]=!0,ke(!1,r))}S.memo(Pg);function Pg({routes:u,manifest:s,future:r,state:c,isStatic:f,onError:h}){return om(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=Cu(),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 Ig(u){return Bg(u.context)}function Rt(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 tv({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(ai.Provider,{children:s,value:Z}))}function ev({children:u,location:s}){return Yg(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===Rt,`[${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 av(u){return wu(u)&&u.tagName.toLowerCase()==="button"}function lv(u){return wu(u)&&u.tagName.toLowerCase()==="form"}function nv(u){return wu(u)&&u.tagName.toLowerCase()==="input"}function iv(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function uv(u,s){return u.button===0&&(!s||s==="_self")&&!iv(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 cv(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 Eu=null;function sv(){if(Eu===null)try{new FormData(document.createElement("form"),0),Eu=!1}catch{Eu=!0}return Eu}var rv=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Is(u){return u!=null&&!rv.has(u)?(ke(!1,`"${u}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${_u}"`),null):u}function ov(u,s){let r,c,f,h,p;if(lv(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(av(u)||nv(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),!sv()){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 hm(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 fv(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 dv(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 hv(u,s,r){let c=await Promise.all(u.map(async f=>{let h=s.routes[f.route.id];if(h){let p=await fv(h,r);return p.links?p.links():[]}return[]}));return vv(c.flat(1).filter(dv).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 mv(u,s,{includeHydrateFallback:r}={}){return yv(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 yv(u){return[...new Set(u)]}function gv(u){let s={},r=Object.keys(u).sort();for(let c of r)s[c]=u[c];return s}function vv(u,s){let r=new Set;return new Set(s),u.reduce((c,f)=>{let h=JSON.stringify(gv(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 pv(){let u=S.useContext(Ru);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 bv(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 Sv({page:u,...s}){let r=Rg(),{router:c}=yr(),f=S.useMemo(()=>Ph(c.routes,u,c.basename),[c.routes,u,c.basename]);return f?r?S.createElement(xv,{page:u,matches:f,...s}):S.createElement(Av,{page:u,matches:f,...s}):null}function Ev(u){let{manifest:s,routeModules:r}=vr(),[c,f]=S.useState([]);return S.useEffect(()=>{let h=!1;return hv(u,s,r).then(p=>{h||f(p)}),()=>{h=!0}},[u,s,r]),c}function xv({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=hm(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 Av({page:u,matches:s,...r}){let c=Pe(),{future:f,manifest:h,routeModules:p}=vr(),{basename:A}=yr(),{loaderData:b,matches:y}=pv(),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=hm(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(()=>mv(M,h),[M,h]),W=Ev(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 _v(...u){return s=>{u.forEach(r=>{typeof r=="function"?r(s):r!=null&&(r.current=s)})}}var Tv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Tv&&(window.__reactRouterVersion="7.17.0")}catch{}function Mv({basename:u,children:s,useTransitions:r,window:c}){let f=S.useRef();f.current==null&&(f.current=tg({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(tv,{basename:u,children:s,location:p.location,navigationType:p.action,navigator:h,useTransitions:r})}var mm=/^(?:[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"&&mm.test(D),X=lm(D,q);D=X.to;let tt=Ug(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[Ct,Vt,de]=bv(c,W),Bt=Dv(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:_v(Z,Vt),target:y,"data-discover":!G&&r==="render"?"true":void 0});return Ct&&!G?S.createElement(S.Fragment,null,ie,S.createElement(Sv,{page:tt})):ie});pr.displayName="Link";var zv=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=li(p,{relative:y.relative}),Y=Pe(),$=S.useContext(Ru),{navigator:W,basename:Z}=S.useContext(Ue),q=$!=null&&Uv(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},Ct=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":Ct,className:Vt,ref:D,style:de,to:p,viewTransition:A},typeof b=="function"?b(nt):b)});zv.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=Nv(),L=jv(A,{relative:y}),m=p.toLowerCase()==="get"?"get":"post",G=typeof A=="string"&&mm.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,Ct=()=>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(()=>Ct()):Ct()};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 Cv(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ym(u){let s=S.useContext(an);return Yt(s,Cv(u)),s}function Dv(u,{target:s,replace:r,mask:c,state:f,preventScrollReset:h,relative:p,viewTransition:A,defaultShouldRevalidate:b,useTransitions:y}={}){let D=Cu(),M=Pe(),Y=li(u,{relative:p});return S.useCallback($=>{if(uv($,s)){$.preventDefault();let W=r!==void 0?r:ti(M)===ti(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 L1(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(()=>cv(c.search,r.current?null:s.current),[c.search]),h=Cu(),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 wv=0,Ov=()=>`__${String(++wv)}__`;function Nv(){let{router:u}=ym("useSubmit"),{basename:s}=S.useContext(Ue),r=$g(),c=u.fetch,f=u.navigate;return S.useCallback(async(h,p={})=>{let{action:A,method:b,encType:y,formData:D,body:M}=ov(h,s);if(p.navigate===!1){let Y=p.fetcherKey||Ov();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 jv(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={...li(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])),ti(h)}function Uv(u,{relative:s}={}){let r=S.useContext(um);Yt(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=ym("useViewTransitionState"),f=li(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 Lv={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:()=>{}}},Hv=new Set(["auth","storage","leads","log","flags","db"]);function Bv(){return new Proxy({},{get:(u,s)=>Hv.has(s)?new Proxy({},{get:(r,c)=>{var f;return((f=Lv[s])==null?void 0:f[c])??(()=>Promise.resolve(null))}}):()=>{}})}const At=typeof window<"u"&&window.Bodify?window.Bodify:Bv();function qv(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 Yv{constructor(){this.maxAge=10080*60*1e3,this.maxMemoryEntries=500,this.dbName="boddb-cache",this.enabled=!0}}class Vv{constructor(s,r){this.memory=new Map,this.subscribedPaths=new Set,this.idb=null,this._vfs=null,this._vfsUnsub=null,this.options={...new Yv,...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 qv(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 Gv(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 Gv{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 Xv="DEBUG";function qh(u){try{const s=localStorage.getItem(Xv)??"";return s==="*"||s.split(",").includes(u)}catch{return!1}}function Qv(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=>Qv(u)},Zv=br.forComponent("bod");var Fh;const _a=new Vv((Fh=window.Bodify)==null?void 0:Fh.db);_a.init();async function tn(){var r,c,f;const u=_a.client;if(!u)return;const s=((r=At==null?void 0:At.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){Zv.warn("reauthWs failed",h)}}localStorage.getItem("BOD_WS_RECORD")&&(window.bod=_a,window.bodWs=_a.client);const kv=Object.freeze(Object.defineProperty({__proto__:null,client:_a,reauthWs:tn},Symbol.toStringTag,{value:"Module"})),gm=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),At.event("session_active"))}function Jv({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),At.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&&(At.analytics.identify(L.id,{email:L.email,name:L.name}),Yh())})},[]);const A=async(q,L,m)=>{const G=await At.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 At.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 At.auth.verifyEmail(q);L!=null&&L.user&&(r(L.user),f(null))},D=async()=>{await At.auth.resendVerification()},M=async()=>{await At.auth.signOut(),r(null),f(null)},Y=async()=>{const q=await At.auth.getUser().catch(()=>null);if(q)return r(q),await tn(),q;const m={id:At.auth.adoptAnonIdentity(),isAnonymous:!0};return r(m),(async()=>{try{const G=await At.auth.signInAnonymously();r(G.user),await tn()}catch(G){console.error("[auth] anon token sign failed:",G)}})(),m},$=async(q,L)=>{const m=await At.auth.linkEmail(q,L);return r(m),await tn(),m},W=async q=>At.auth.startPhoneSignIn(q),Z=async(q,L)=>{const m=await At.auth.linkPhone(q,L);return r(m),m};return T.jsx(gm.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(gm),vm=S.createContext({theme:"system",resolved:"dark",setTheme:()=>{}});function Kv(){const u=new Date().getHours();return u<7||u>=19?"dark":"light"}function ei(){return Kv()}function Vh(u){return u==="system"?ei():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:ei()})),s);try{const r=JSON.parse(s);return!["light","dark","system"].includes(r.theme)||r.theme==="system"?"system":r.setUnder&&ei()!==r.setUnder?(localStorage.removeItem(u),"system"):r.theme}catch{return"system"}}function $v(u,s){if(s==="system"){localStorage.removeItem(u);return}localStorage.setItem(u,JSON.stringify({theme:s,setUnder:ei()}))}function Wv({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=>{$v(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=ei();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(vm.Provider,{value:{theme:c,resolved:h,setTheme:A},children:u})}const Fv=()=>S.useContext(vm),Pv=[{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"}],Iv=["Rat","Ox","Tiger","Rabbit","Dragon","Snake","Horse","Goat","Monkey","Rooster","Dog","Pig"],tp=["Wood","Fire","Earth","Metal","Water"],ep=["Garnet","Amethyst","Aquamarine","Diamond","Emerald","Pearl","Ruby","Peridot","Sapphire","Opal","Topaz","Tanzanite"];function pm(u,s){return Pv.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 ap(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 lp(u){const s=u-1924,r=(s%12+12)%12,c=Math.floor((s%10+10)%10/2);return{animal:Iv[r],element:tp[c]}}function np(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 ip(u){return u>=3&&u<=5?"Spring":u>=6&&u<=8?"Summer":u>=9&&u<=11?"Autumn":"Winter"}function up(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:pm(r,c).sign}function H1(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=pm(c,f);return{zodiac:{sign:p.sign,element:p.element,modality:p.modality,rulingPlanet:p.ruler,decan:ap(c,f,p),dateRange:p.range},chineseZodiac:lp(r),numerology:{lifePath:np(u)},birthstone:ep[c-1],season:ip(c)}}const cp={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 sp(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 rp(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 op(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 fp={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}},dp={Garnet:"#9b2335",Amethyst:"#9966cc",Aquamarine:"#7fffd4",Diamond:"#e8e8e8",Emerald:"#50c878",Pearl:"#eae0c8",Ruby:"#e0115f",Peridot:"#b4c424",Sapphire:"#0f52ba",Opal:"#a8c3bc",Topaz:"#ffc87c",Tanzanite:"#5a4fcf"},hp={Sun:1,Moon:.7,Mercury:.35,Venus:.5,Mars:.45,Jupiter:.85,Saturn:.75,Uranus:.55,Neptune:.55,Pluto:.3};function mp({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(()=>sp(M?600:1200,42),[M]),$=S.useMemo(()=>op(M?6:10,77),[M]),W=S.useMemo(()=>rp(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,Ct,Vt]=m.split("-").map(Number);if(!isNaN(nt)&&!isNaN(Ct)&&!isNaN(Vt)){const de=nt-(isNaN(X)?nt:X),Bt=Ct-(isNaN(tt)?Ct: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=up(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",Ct=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),Et=j+Math.cos(dt)*Gt,Xt=O+Math.sin(dt)*Gt,Ae=m.createLinearGradient(j,O,Et,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(Et,Xt),m.stroke()}}if(et>.1){m.fillStyle=Ct;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 Et=-Math.sin(P),Xt=Math.cos(P);m.beginPath(),m.moveTo(lt-Et*Gt*.5,ut-Xt*Gt*.5),m.lineTo(lt+Et*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),Et=m.createRadialGradient(lt,ut,0,lt,ut,Gt);Et.addColorStop(0,Ut(j.color)),Et.addColorStop(.15,Ut(j.color)),Et.addColorStop(1,"rgba(0,0,0,0)"),m.globalAlpha=pt*.25*dt,m.fillStyle=Et,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=Ct,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=fp[h.zodiac.element];if(j){const Et=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},${Et})`),Xt.addColorStop(.5,`rgba(${j.r},${j.g},${j.b},${Et*.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+(hp[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=dp[h.birthstone];if(Gt)for(let Et=0;Et<8;Et++){const Xt=X*.25+Et*.07*X+Math.sin(k*.25+Et*1.1)*25,Ae=tt*.65+Math.cos(k*.2+Et*.9)*30+Et%3*15,Qt=v.elementTintAlpha*et*.3*(.4+.6*Math.sin(k*.4+Et*2));m.fillStyle=Gt,m.globalAlpha=Qt,m.beginPath(),m.arc(Xt,Ae,1.5+Et%3*.5,0,Math.PI*2),m.fill()}m.globalAlpha=1}const st=(j,O,P)=>{const J=cp[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,Et=Math.floor(P*Gt),Xt=P*Gt-Et,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<=Et&&Qt<Gt;Qt++){const[_e,ue]=J.lines[Qt],[ae,Te]=dt[_e],[Zt,na]=dt[ue];m.moveTo(ae,Te),m.lineTo(Qt<Et?Zt:ae+(Zt-ae)*Xt,Qt<Et?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 yp={date:"",intensity:.5,nebulaOpacity:.05,artifact:"nebula",cosmic:null},bm=S.createContext(()=>{}),B1=()=>S.useContext(bm);function gp(){const[u,s]=S.useState(yp),r=S.useCallback(f=>s(h=>({...h,...f})),[]),{resolved:c}=Fv();return T.jsx(bm.Provider,{value:r,children:T.jsxs("div",{className:"relative min-h-screen",children:[T.jsx(mp,{...u,darkMode:c==="dark"}),T.jsx(Ig,{})]})})}function Sm(u){const[s,r]=S.useState(()=>At.flags.get(u));return S.useEffect(()=>At.flags.subscribe(f=>{(!f||f===u)&&r(At.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 Em=(...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 vp=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 pp=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=pp(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 bp={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 Sp=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 Ep=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,...bp,width:s,height:s,stroke:u,strokeWidth:c?Number(r)*24/Number(s):r,className:Em("lucide",f),...!h&&!Sp(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(Ep,{ref:h,iconNode:s,className:Em(`lucide-${vp(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 xp=[["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",xp);/**
* @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:"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"}]],_p=Ta("brain",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 Tp=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Mp=Ta("chevron-down",Tp);/**
* @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 zp=[["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",zp);/**
* @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:"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"}]],Dp=Ta("mail",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 wp=[["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"}]],Op=Ta("refresh-cw",wp);/**
* @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 Np=[["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"}]],jp=Ta("shield",Np);/**
* @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 Up=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],Lp=Ta("smartphone",Up);/**
* @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 Hp=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],xm=Ta("x",Hp),la=br.forComponent("PWA");function tr(u){let s="0.76.0";_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 Bp(){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 qp(){return"BJbImCE9AHcqUcia8T2874gKINQDB4aPyNZgAg0fEuS5GrAgCOIuYeGbLGI5aBhPKmuG64SHDW-XtBJXE7B2-Xw"}async function Yp(){return"Notification"in window?Notification.permission==="granted"?"granted":Notification.requestPermission():"denied"}async function Vp(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=Gp(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 Gp(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 Xp(){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(xm,{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(Lp,{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 Qp(){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 Yp();if(Fa.debug("permission:",A),A!=="granted"){r(!1),localStorage.setItem("push-prompt-dismissed","true");return}const b=qp();Fa.debug("VAPID key:",b?b.slice(0,20)+"...":"NOT SET"),Fa.debug("subscribing to push...");const y=await Vp(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(xm,{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 Zp(){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(Op,{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"}],kp=["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"],Jp=["_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"],Kp=["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"],$p=["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"],Wp=["liv","livshitz","elya"],Fp=new Set([...kp,...Jp,...Kp,...$p,...Wp]);function Pp(u){return u.toLowerCase().replace(/\./g,"")}function Ip(u){return Fp.has(Pp(u))}function t1({variant:u,ctaLabel:s="Claim your handle"}){const r=Cu(),[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,At.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(Ip(X)){b("reserved");return}b("checking"),$.current=setTimeout(async()=>{try{const it=await _a.get(`_handle_avail/${X}`)?"taken":"available";it==="taken"&&At.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),At.event("lp_claim_attempt",{handle:c,variant:u}),At.metric("lp_claim_attempt",1,{variant:u});try{At.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){At.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 e1(){const u=Sm("lp-variant"),s=(u==null?void 0:u.toUpperCase())??"A",r=Jh.find(c=>c.id===s)??Jh[0];return S.useEffect(()=>{At.event("lp_view",{variant:r.id}),At.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(t1,{variant:r.id})]}),T.jsx(pr,{to:"/chat-auth",onClick:()=>At.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;At.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(Mp,{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:a1.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 a1=[{icon:Dp,title:"Claim your handle",desc:"Pick your @para.li email. It's yours — forever."},{icon:_p,title:"Your AI learns your style",desc:"Reply once and your Para picks up your tone, priorities, and boundaries."},{icon:jp,title:"It handles the rest",desc:"Para screens strangers, replies on your behalf, and only pings you when it matters."}],l1=S.lazy(()=>jt(()=>import("./Auth-Bf1BE79y.js"),__vite__mapDeps([0,1])).then(u=>({default:u.ChatAuthPage}))),n1=S.lazy(()=>jt(()=>import("./Onboard-2HxwjpF4.js"),__vite__mapDeps([2,0,1,3,4,5])).then(u=>({default:u.OnboardPage}))),i1=S.lazy(()=>jt(()=>import("./Creating-D6Dp_brK.js"),[]).then(u=>({default:u.CreatingPage}))),u1=S.lazy(()=>jt(()=>import("./MainLayout-WvssNc0J.js"),__vite__mapDeps([6,7,8,9])).then(u=>({default:u.MainLayout}))),c1=S.lazy(()=>jt(()=>import("./ChatList-BbbygvV9.js"),__vite__mapDeps([10,7,8,11])).then(u=>({default:u.ChatList}))),s1=S.lazy(()=>jt(()=>import("./ChatView-B0pfGYfv.js"),__vite__mapDeps([12,7,13,1,14,15,16,17,18,19])).then(u=>({default:u.ChatView}))),r1=S.lazy(()=>jt(()=>import("./Discover-CnpN46lH.js"),__vite__mapDeps([20,7,21,11,22,8,15])).then(u=>({default:u.DiscoverView}))),o1=S.lazy(()=>jt(()=>import("./Inbox-CNS28J3P.js"),__vite__mapDeps([23,7,24,19,9,14])).then(u=>({default:u.InboxListView}))),f1=S.lazy(()=>jt(()=>import("./InboxDetail-icGZ-7qs.js"),__vite__mapDeps([25,7,24,19,1,14,5,26,15,18,16])).then(u=>({default:u.InboxDetailView}))),d1=S.lazy(()=>jt(()=>import("./TopicDetail-DwzTQQfS.js"),__vite__mapDeps([27,21,7,13,4,22])).then(u=>({default:u.TopicDetailView}))),h1=S.lazy(()=>jt(()=>import("./Notifications-7QIf6col.js"),__vite__mapDeps([28,7,13,22,8])).then(u=>({default:u.NotificationsView}))),m1=S.lazy(()=>jt(()=>import("./Settings-B1enRBE-.js"),__vite__mapDeps([29,7])).then(u=>({default:u.SettingsView}))),y1=S.lazy(()=>jt(()=>import("./NotificationTest-BBtzeHgQ.js"),__vite__mapDeps([30,7,1,18,15,26])).then(u=>({default:u.NotificationTestPage}))),g1=S.lazy(()=>jt(()=>import("./Share-BWI0HC8O.js"),[]).then(u=>({default:u.SharePage}))),v1=S.lazy(()=>jt(()=>import("./Claiming-Cify7tcy.js"),__vite__mapDeps([31,7,19])).then(u=>({default:u.ClaimingPage}))),p1=S.lazy(()=>jt(()=>import("./Signin-CEy_I9Hj.js"),__vite__mapDeps([32,19])).then(u=>({default:u.SigninPage}))),b1=S.lazy(()=>jt(()=>import("./Demo-Dv2iit6r.js"),__vite__mapDeps([33,34,35])).then(u=>({default:u.DemoPage}))),S1=S.lazy(()=>jt(()=>import("./JobChannel-DZ5NA7jG.js"),__vite__mapDeps([36,7,13,37,1,3,17,8,18])).then(u=>({default:u.JobChannel}))),E1=S.lazy(()=>jt(()=>import("./JobChannel-DZ5NA7jG.js"),__vite__mapDeps([36,7,13,37,1,3,17,8,18])).then(u=>({default:u.JobLauncher}))),x1=S.lazy(()=>jt(()=>import("./AdminTrace-ZIrfdgVu.js"),__vite__mapDeps([38,7,8,1,5])).then(u=>({default:u.AdminTraceView}))),A1=S.lazy(()=>jt(()=>import("./Baby-Bs6LGmr5.js"),[]).then(u=>({default:u.BabyPage}))),_1=S.lazy(()=>jt(()=>import("./BabyIntake-CsiClm9R.js"),__vite__mapDeps([39,7,34,35,40,37])).then(u=>({default:u.BabyIntakePage}))),T1=S.lazy(()=>jt(()=>import("./BabyQuiz-DgUWIv-Q.js"),__vite__mapDeps([41,7,35,40,37])).then(u=>({default:u.BabyQuizPage}))),M1=S.lazy(()=>jt(()=>import("./Legal-Ayhw2QZO.js"),[]).then(u=>({default:u.PrivacyPage}))),z1=S.lazy(()=>jt(()=>import("./Legal-Ayhw2QZO.js"),[]).then(u=>({default:u.TermsPage}))),R1=S.lazy(()=>jt(()=>import("./Legal-Ayhw2QZO.js"),[]).then(u=>({default:u.DataDeletionPage})));function C1(){const{conversationId:u}=qg();return u!=null&&u.startsWith("conv_sleep_")?T.jsx(S1,{convId:u}):T.jsx(s1,{})}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 Sm("sleep-consumer-funnel")!==!0?T.jsx(Du,{to:"/",replace:!0}):T.jsx(T.Fragment,{children:u})}function D1(){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(e1,{})}function w1(){return T.jsxs(T.Fragment,{children:[T.jsx(Zp,{}),T.jsx(Xp,{}),T.jsx(Qp,{}),T.jsx(S.Suspense,{fallback:null,children:T.jsxs(ev,{children:[T.jsxs(Rt,{element:T.jsx(gp,{}),children:[T.jsx(Rt,{index:!0,element:T.jsx(D1,{})}),T.jsx(Rt,{path:"/claiming/:handle",element:T.jsx(v1,{})}),T.jsx(Rt,{path:"/signin",element:T.jsx(p1,{})}),T.jsx(Rt,{path:"/chat-auth",element:T.jsx(l1,{})}),T.jsx(Rt,{path:"/onboard",element:T.jsx(n1,{})}),T.jsx(Rt,{path:"/baby",element:T.jsx(ar,{children:T.jsx(A1,{})})}),T.jsx(Rt,{path:"/baby/intake",element:T.jsx(ar,{children:T.jsx(_1,{})})}),T.jsx(Rt,{path:"/baby/quiz",element:T.jsx(ar,{children:T.jsx(T1,{})})}),T.jsx(Rt,{path:"/privacy",element:T.jsx(M1,{})}),T.jsx(Rt,{path:"/terms",element:T.jsx(z1,{})}),T.jsx(Rt,{path:"/data-deletion",element:T.jsx(R1,{})})]}),T.jsx(Rt,{path:"/share",element:T.jsx(er,{children:T.jsx(g1,{})})}),T.jsx(Rt,{path:"/onboard/creating",element:T.jsx(er,{children:T.jsx(i1,{})})}),T.jsxs(Rt,{element:T.jsx(er,{children:T.jsx(u1,{})}),children:[T.jsx(Rt,{path:"/chat",element:T.jsx(c1,{})}),T.jsx(Rt,{path:"/chat/:conversationId",element:T.jsx(C1,{})}),T.jsx(Rt,{path:"/job/:jobId",element:T.jsx(E1,{})}),T.jsx(Rt,{path:"/discover",element:T.jsx(r1,{})}),T.jsx(Rt,{path:"/inbox",element:T.jsx(o1,{})}),T.jsx(Rt,{path:"/inbox/:emailId",element:T.jsx(f1,{})}),T.jsx(Rt,{path:"/t/:topic",element:T.jsx(d1,{})}),T.jsx(Rt,{path:"/notifications",element:T.jsx(h1,{})}),T.jsx(Rt,{path:"/settings",element:T.jsx(m1,{})}),T.jsx(Rt,{path:"/settings/notifications",element:T.jsx(y1,{})}),T.jsx(Rt,{path:"/admin/trace",element:T.jsx(x1,{})})]}),T.jsx(Rt,{path:"/demo-chat-kit",element:T.jsx(b1,{})}),T.jsx(Rt,{path:"*",element:T.jsx(Du,{to:"/",replace:!0})})]})})]})}const cr="para_attribution",O1=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","ref","fbclid","ttclid","gclid"];function q1(){try{const u=localStorage.getItem(cr);if(u)return JSON.parse(u);const s=new URLSearchParams(window.location.search),r={};for(const c of O1){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)),r}catch{return{}}}function N1(){try{const u=localStorage.getItem(cr);if(u)return JSON.parse(u)}catch{}return{}}let sr="init",Kh=!1;const $h=new Set;function Y1(u){sr=u}function j1(){try{if(window.matchMedia("(pointer: coarse)").matches||navigator.maxTouchPoints>0)return"mobile"}catch{}return"desktop"}function Wh(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 xu(u,s={}){try{const r=window.location.pathname,c=`${r}|${sr}|${s.name??""}|${u}|${s.at??""}`.slice(0,240);if($h.has(c))return;$h.add(c),At.event("client_error",{msg:String(u).slice(0,300),route:r,step:sr,device:j1(),...s,...N1()})}catch{}}function U1(){Kh||typeof window>"u"||(Kh=!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){xu(`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.")){xu("Script error (cross-origin — detail blocked; add crossorigin+CORS to see it)",{kind:"cross-origin",src:(u.filename||"").slice(0,160)});return}const s=Wh(u.error??u.message),r=u.filename?`${u.filename.split("/").pop()}:${u.lineno??0}:${u.colno??0}`:void 0;xu(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=Wh(s);xu(r.message,{kind:"rejection",name:r.name,frame:r.frame})}))}U1();Bp();"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(()=>kv);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{}})});Iy.createRoot(document.getElementById("root")).render(T.jsx(S.StrictMode,{children:T.jsx(Mv,{children:T.jsx(Wv,{children:T.jsx(Jv,{children:T.jsx(w1,{})})})})}));export{At as B,Mp as C,pr as L,Dp as M,Du as N,Ig as O,Op as R,xm as X,jt as _,Cu as a,_a as b,Ta as c,Fv as d,Zh as e,L1 as f,q1 as g,N1 as h,ur as i,T as j,B1 as k,H1 as l,qg as m,Sm as n,br as o,Y1 as p,qp as q,S as r,Vp as s,zv as t,Ou as u,Wy as v};